/* Brand fonts */
@font-face {
  font-family: "URW Gothic L Demi";
  src: url("../fonts/urw_gothic_l_demi.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Italic-VariableFont_wght.ttf") format("truetype");
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
}

/* Design tokens */
:root {
  --ob-blue: #00a7e6;
  --ob-blue-soft: #33b9eb;
  --ob-blue-shade-1: #0086b8;
  --ob-blue-shade-2: #00648a;
  --ob-blue-shade-3: #00435c;
  --ob-blue-tint-4: #ccedfa;
  --ob-accent: #f59c00;
  --ob-dark: #343537;
  --ob-white: #ffffff;
  --ob-bg: #f5fbfe;
  --ob-surface: #ffffff;
  --ob-surface-soft: #e5f7fd;
  --ob-text: #343537;
  --ob-text-soft: rgba(52, 53, 55, 0.74);
  --ob-border: rgba(52, 53, 55, 0.14);
  --ob-shadow: 0 18px 40px rgba(52, 53, 55, 0.11);
  --ob-shadow-strong: 0 26px 54px rgba(15, 19, 23, 0.38);
  --ob-radius: 14px;
  --ob-radius-lg: 24px;
  --ob-font-body: "Nunito", "Segoe UI", Arial, sans-serif;
  --ob-font-heading: "Nunito", "Segoe UI", Arial, sans-serif;
  --ob-font-strong: "URW Gothic L Demi", "Nunito", "Segoe UI", Arial, sans-serif;
  --ob-content-max: 1300px;
  --ob-content-wide: 1220px;
  --ob-content-narrow: 1220px;
}

/* Global document defaults shared by frontend and editor */
body.obyte-theme,
.editor-styles-wrapper {
  margin: 0;
  background: var(--ob-bg);
  color: var(--ob-text);
  font-family: var(--ob-font-body);
  line-height: 1.58;
}

body.obyte-theme :where(*, *::before, *::after),
.editor-styles-wrapper :where(*, *::before, *::after) {
  box-sizing: border-box;
}

body.obyte-theme :where(img),
.editor-styles-wrapper :where(img) {
  max-width: 100%;
  height: auto;
}

body.obyte-theme :where(a),
.editor-styles-wrapper :where(a) {
  color: inherit;
  text-decoration: none;
}

body.obyte-theme :where(button, input, textarea, select),
.editor-styles-wrapper :where(button, input, textarea, select) {
  font: inherit;
}

body.obyte-theme :where(p, ul, ol, blockquote, figure),
.editor-styles-wrapper :where(p, ul, ol, blockquote, figure) {
  margin-top: 0;
}

body.obyte-theme :where(h1, h2, h3, h4, h5, h6),
.editor-styles-wrapper :where(h1, h2, h3, h4, h5, h6) {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--ob-text);
  font-family: var(--ob-font-heading);
  font-weight: 700;
  line-height: 1.12;
}

body.obyte-theme :where(h1),
.editor-styles-wrapper :where(h1) {
  font-family: var(--ob-font-strong);
  font-size: clamp(2.5rem, 4.8vw, 4.25rem);
  font-weight: 600;
  line-height: 1.02;
}

body.obyte-theme :where(h2),
.editor-styles-wrapper :where(h2) {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

body.obyte-theme :where(h3),
.editor-styles-wrapper :where(h3) {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

body.obyte-theme :where(ul, ol),
.editor-styles-wrapper :where(ul, ol) {
  padding-left: 1.25rem;
}

body.obyte-theme :where(li),
.editor-styles-wrapper :where(li) {
  margin-bottom: 0.4rem;
}

/* Shared button system.
   Button sizing now lives in CSS instead of theme.json so frontend and editor stay aligned. */
body.obyte-theme :where(.wp-block-button__link, .button),
.editor-styles-wrapper :where(.wp-block-button__link, .button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 14px;
  background: linear-gradient(132deg, var(--ob-blue) 0%, var(--ob-blue-soft) 100%);
  color: #ffffff;
  font-family: var(--ob-font-strong);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.obyte-theme :where(.wp-block-button__link:hover, .button:hover),
.editor-styles-wrapper :where(.wp-block-button__link:hover, .button:hover) {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 167, 230, 0.2);
}

body.obyte-theme :where(.wp-block-button.is-style-outline .wp-block-button__link),
.editor-styles-wrapper :where(.wp-block-button.is-style-outline .wp-block-button__link),
body.obyte-theme :where(.button--ghost),
.editor-styles-wrapper :where(.button--ghost) {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ob-text);
  border-color: var(--ob-border);
  box-shadow: none;
}

body.obyte-theme :where(.wp-block-button.is-style-outline .wp-block-button__link:hover),
.editor-styles-wrapper :where(.wp-block-button.is-style-outline .wp-block-button__link:hover),
body.obyte-theme :where(.button--ghost:hover),
.editor-styles-wrapper :where(.button--ghost:hover) {
  border-color: rgba(0, 167, 230, 0.45);
}

body.obyte-theme :where(.wp-block-buttons.is-style-obyte-inline-actions),
.editor-styles-wrapper :where(.wp-block-buttons.is-style-obyte-inline-actions) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Generic content shells */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  clip: auto;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  white-space: normal;
}

.skip-link {
  top: 1rem;
  left: 1rem;
  z-index: 999;
  padding: 0.7rem 0.95rem;
  border-radius: 10px;
  background: #111114;
  color: #ffffff;
}

.container {
  width: min(calc(100% - 2rem), var(--ob-content-max));
  margin: 0 auto;
}

.eyebrow,
.ob-kicker {
  margin-bottom: 0.6rem;
  color: var(--ob-text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.entry-header {
  padding-top: clamp(2.25rem, 5vw, 4rem);
  padding-bottom: 1.5rem;
}

.entry-title {
  max-width: 16ch;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  color: var(--ob-text-soft);
  font-size: 0.95rem;
}

.entry-summary,
.archive-shell__description,
.post-card__excerpt,
.ob-lead {
  color: var(--ob-text-soft);
  font-size: clamp(1.14rem, 1.9vw, 1.38rem);
}

.entry-content {
  padding-bottom: 4rem;
}

.entry-content > * {
  max-width: var(--ob-content-wide);
  margin-right: auto;
  margin-left: auto;
  padding-right: min(5vw, 1.2rem);
  padding-left: min(5vw, 1.2rem);
}

.entry-content > .alignwide {
  max-width: var(--ob-content-wide);
}

.entry-content > .alignfull {
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.entry-content > :where(.alignwide, .alignfull) > :where(.wp-block-group__inner-container, .wp-block-cover__inner-container) {
  width: min(calc(100% - 2rem), var(--ob-content-wide));
  margin-right: auto;
  margin-left: auto;
}

.ob-section {
  padding: clamp(2.75rem, 5vw, 4.5rem) min(5vw, 1.2rem);
}

.ob-section--flush {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.ob-section__inner {
  width: min(100%, var(--ob-content-wide));
  margin: 0 auto;
}

/* Generic surfaces */
.ob-card,
.wp-block-group.is-style-obyte-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ob-border);
  border-radius: 20px;
  background: var(--ob-surface);
  box-shadow: var(--ob-shadow);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* Hero component.
   Shared hero structure lives here so frontend and editor render from the same rules.
   Only editor-canvas constraints should live in editor.css. */
.ob-card--hero,
.wp-block-group.is-style-obyte-hero-surface {
  --ob-hero-card-max-width: 100%;
  --ob-hero-layout-max-width: 100%;
  --ob-hero-copy-max-width: none;
  --ob-hero-copy-min-height: auto;
  --ob-hero-copy-gap: 0.9rem;
  --ob-hero-body-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  --ob-hero-body-gap: clamp(0.95rem, 1.4vw, 1.3rem);
  --ob-hero-body-offset: 0;
  --ob-hero-layout-gap: clamp(0.95rem, 1.6vw, 1.35rem);
  --ob-hero-kicker-size: 0.78rem;
  --ob-hero-kicker-margin: 0.6rem;
  --ob-hero-kicker-padding-bottom: 0;
  --ob-hero-kicker-spacing: 0.14em;
  --ob-hero-title-size: clamp(2rem, 2.45vw, 3.05rem);
  --ob-hero-title-line-height: 1;
  --ob-hero-title-padding-bottom: 0;
  --ob-hero-lead-size: inherit;
  --ob-hero-lead-line-height: inherit;
  --ob-hero-actions-gap: 0.8rem;
  --ob-hero-actions-top-gap: 0.75rem;
  --ob-hero-button-min-height: 48px;
  --ob-hero-button-padding-y: 0.85rem;
  --ob-hero-button-padding-x: 1.2rem;
  --ob-hero-button-font-size: 1rem;
  --ob-hero-button-radius: 14px;
  --ob-hero-visual-size: 100%;
  --ob-hero-visual-height: auto;
  --ob-hero-visual-ratio: 1 / 1;
  width: min(100%, var(--ob-hero-card-max-width));
  margin-inline: auto;
  border-color: rgba(245, 251, 254, 0.14);
  background: linear-gradient(135deg, #343537 0%, #22262a 48%, #203745 100%);
  color: #ffffff;
  box-shadow: var(--ob-shadow-strong);
  isolation: isolate;
}

.ob-card--hero::before,
.wp-block-group.is-style-obyte-hero-surface::before {
  content: "";
  position: absolute;
  top: -88px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(51, 185, 235, 0.48) 0%, rgba(0, 167, 230, 0) 70%);
  z-index: 0;
}

.ob-card--hero::after,
.wp-block-group.is-style-obyte-hero-surface::after {
  content: "";
  position: absolute;
  bottom: -70px;
  left: -56px;
  width: 260px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 156, 0, 0.25) 0%, rgba(245, 156, 0, 0) 70%);
  z-index: 0;
}

.ob-card--hero > *,
.wp-block-group.is-style-obyte-hero-surface > * {
  position: relative;
  z-index: 1;
}

.ob-card--hero :where(h1, h2, h3, p, li, a),
.wp-block-group.is-style-obyte-hero-surface :where(h1, h2, h3, p, li, a) {
  color: inherit;
}

.ob-card--hero :where(h1, h2, h3),
.wp-block-group.is-style-obyte-hero-surface :where(h1, h2, h3) {
  color: #ffffff !important;
}

.ob-card--hero .ob-kicker,
.wp-block-group.is-style-obyte-hero-surface .ob-kicker {
  margin-bottom: 0;
  padding-bottom: var(--ob-hero-kicker-padding-bottom);
  color: rgba(245, 251, 254, 0.78);
  font-size: var(--ob-hero-kicker-size);
  letter-spacing: var(--ob-hero-kicker-spacing);
}

.ob-card--hero .ob-lead,
.wp-block-group.is-style-obyte-hero-surface .ob-lead {
  color: rgba(245, 251, 254, 0.88);
  font-size: var(--ob-hero-lead-size);
  line-height: var(--ob-hero-lead-line-height);
}

.ob-grid {
  display: grid;
  gap: clamp(1.4rem, 2.8vw, 2.4rem);
}

/* Reusable grid variants */
.ob-grid--hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

/* WordPress columns are turned into an explicit grid here so hero layout
   behaves the same in the editor canvas and on the frontend. */
.ob-grid--hero-body,
.wp-block-columns.ob-grid--hero-body {
  display: grid !important;
  grid-template-columns: var(--ob-hero-body-columns) !important;
  align-items: stretch !important;
  gap: var(--ob-hero-body-gap) !important;
  margin-top: var(--ob-hero-body-offset);
}

.wp-block-columns.ob-grid--hero-body > .wp-block-column {
  display: flex;
  align-self: stretch !important;
  min-width: 0;
  margin: 0 !important;
}

/* The hero columns are identified by their actual content instead of child order.
   That keeps right/left hero variants working without additional overrides. */
.wp-block-columns.ob-grid--hero-body > .wp-block-column:has(> .ob-hero-copy) {
  align-self: stretch !important;
}

.wp-block-columns.ob-grid--hero-body > .wp-block-column:has(> .ob-hero-visual) {
  align-items: stretch;
}

.wp-block-columns.ob-grid--hero-body > .wp-block-column > .ob-hero-copy,
.wp-block-columns.ob-grid--hero-body > .wp-block-column > .ob-hero-visual {
  width: 100%;
}

.wp-block-columns.ob-grid--hero-body > .wp-block-column > .ob-hero-copy {
  height: 100%;
}

.ob-grid--cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ob-grid--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ob-grid--metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ob-grid--hero-text {
  grid-template-columns: minmax(0, 1fr);
}

.ob-hero-copy {
  display: flex;
  flex-direction: column;
  gap: var(--ob-hero-copy-gap);
  width: 100%;
  max-width: var(--ob-hero-copy-max-width);
  min-height: 0;
  height: 100%;
}

.wp-block-columns.ob-grid--hero-body > .wp-block-column:has(> .ob-hero-copy) > .ob-hero-copy {
  min-height: var(--ob-hero-copy-min-height);
}

.ob-hero-copy > .wp-block-buttons {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: var(--ob-hero-actions-top-gap);
}

/* WordPress flow spacing is flattened inside the hero so the component spacing
   is controlled by hero variables instead of block-editor defaults. */
.ob-hero-layout.is-layout-flow > *,
.ob-hero-copy.is-layout-flow > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.ob-hero-layout {
  display: grid;
  width: 100%;
  max-width: var(--ob-hero-layout-max-width);
  margin-right: auto;
  margin-left: auto;
  gap: var(--ob-hero-layout-gap);
}

.ob-hero-layout > .ob-kicker,
.ob-hero-layout > h1,
.ob-hero-layout > .wp-block-heading {
  max-width: var(--ob-hero-copy-max-width);
}

.ob-hero-layout > .wp-block-heading,
.ob-hero-layout > h1 {
  padding-bottom: var(--ob-hero-title-padding-bottom);
}

.ob-card--hero h1,
.wp-block-group.is-style-obyte-hero-surface h1 {
  max-width: none;
  margin-bottom: 0;
  font-size: var(--ob-hero-title-size);
  line-height: var(--ob-hero-title-line-height);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: pretty;
}

.ob-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ob-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(245, 251, 254, 0.22);
  border-radius: 999px;
  background: rgba(245, 251, 254, 0.08);
  color: rgba(245, 251, 254, 0.88);
  font-size: 0.85rem;
}

.ob-logo-panel {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid rgba(245, 251, 254, 0.18);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(245, 251, 254, 0.15), rgba(245, 251, 254, 0.06));
}

.ob-hero-visual {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: min(100%, var(--ob-hero-visual-size));
  max-width: var(--ob-hero-visual-size);
  height: var(--ob-hero-visual-height);
  aspect-ratio: var(--ob-hero-visual-ratio);
  flex: 0 0 auto;
  min-height: 0;
  overflow: hidden;
  padding: 0.65rem;
  border: 1px solid rgba(245, 251, 254, 0.18);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(245, 251, 254, 0.15), rgba(245, 251, 254, 0.06));
}

.ob-hero-visual .wp-block-image {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: var(--ob-hero-visual-ratio);
  margin: 0;
}

.ob-hero-visual img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: var(--ob-hero-visual-ratio);
  border-radius: 10px;
  object-fit: cover;
}

/* Content components */
.ob-logo-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 1rem;
  border: 1px solid rgba(245, 251, 254, 0.18);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(28, 31, 34, 0.88), rgba(43, 48, 53, 0.84));
}

.ob-logo-stage img {
  width: min(100%, 200px);
}

.ob-stat {
  padding: 0.9rem;
  border: 1px solid rgba(245, 251, 254, 0.2);
  border-radius: 14px;
  background: rgba(16, 20, 24, 0.46);
}

.ob-stat strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #ffffff;
  font-size: 1rem;
}

.ob-stat span {
  color: rgba(245, 251, 254, 0.74);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Split media layouts */
.wp-block-media-text.is-style-obyte-split-card,
.ob-media-frame {
  align-items: stretch;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.25rem, 2.6vw, 1.75rem);
  border: 1px solid var(--ob-border);
  border-radius: 20px;
  background: var(--ob-surface);
  box-shadow: var(--ob-shadow);
}

.wp-block-media-text.is-style-obyte-split-card .wp-block-media-text__media,
.ob-media-frame__media {
  aspect-ratio: 1 / 1;
  min-height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, #d8f1fb 0%, #f5fbfe 100%);
}

.wp-block-media-text.is-style-obyte-split-card img,
.ob-media-frame__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ob-feature-list {
  padding-left: 0;
  list-style: none;
}

.ob-feature-list li {
  position: relative;
  padding-left: 1.5rem;
}

.ob-feature-list li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--ob-blue);
}

/* Contact form split */
.ob-contact-form-split {
  padding: clamp(1.25rem, 2.6vw, 1.75rem);
  border: 1px solid var(--ob-border);
  border-radius: 20px;
  background: var(--ob-surface);
  box-shadow: var(--ob-shadow);
}

.ob-grid--contact-form,
.wp-block-columns.ob-grid--contact-form {
  display: grid !important;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) !important;
  align-items: stretch !important;
  gap: clamp(1.25rem, 3vw, 2rem) !important;
}

.ob-contact-form-copy {
  max-width: 34rem;
}

.ob-contact-form-meta {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.ob-contact-form-meta__item,
.ob-contact-form-copy > p:nth-last-of-type(-n + 2) {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0;
  font-size: clamp(1.02rem, 1.15vw, 1.14rem);
  line-height: 1.45;
}

.ob-contact-form-meta__item strong,
.ob-contact-form-copy > p:nth-last-of-type(-n + 2) strong {
  font-family: var(--ob-font-strong);
  font-weight: 700;
}

.ob-contact-form-meta__item a,
.ob-contact-form-copy > p:nth-last-of-type(-n + 2) a {
  color: var(--ob-blue-shade-2);
}

/* Font Awesome Free icons (envelope, phone) - CC BY 4.0
   Sources: fontawesome.com and github.com/FortAwesome/Font-Awesome */
.ob-contact-form-meta__item::before,
.ob-contact-form-copy > p:nth-last-of-type(-n + 2)::before {
  content: "";
  flex: 0 0 1.15rem;
  width: 1.15rem;
  height: 1.15rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.ob-contact-form-meta__item--mail::before,
.ob-contact-form-copy > p:nth-last-of-type(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%230077b3' d='M502.3 190.8L327.4 338c-42.8 35.1-100.9 35.1-143.8 0L9.7 190.8C3.9 186.2 0 179.1 0 171.7V400c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V171.7c0 7.4-3.9 14.5-9.7 19.1zM48 64C21.5 64 0 85.5 0 112v13.6c0 14.7 6.7 28.6 18.3 37.7l195.7 152.2c24.7 19.2 59.3 19.2 84 0l195.7-152.2c11.6-9.1 18.3-23 18.3-37.7V112c0-26.5-21.5-48-48-48H48z'/%3E%3C/svg%3E");
}

.ob-contact-form-meta__item--phone::before,
.ob-contact-form-copy > p:nth-last-of-type(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%230077b3' d='M497.4 361.8l-112-48c-17.6-7.5-38.4-2.3-50.3 12.5l-49.6 60.4c-57.4-27.1-106.5-76.2-133.6-133.6l60.4-49.6c14.8-11.9 20-32.7 12.5-50.3l-48-112C168.1 20.8 148.5 8 127.4 8H24C10.7 8 0 18.7 0 32c0 257.1 222.9 480 480 480c13.3 0 24-10.7 24-24V384.6c0-21.1-12.8-40.7-32.6-48.8z'/%3E%3C/svg%3E");
}

.ob-contact-form-panel {
  height: 100%;
  padding: clamp(1rem, 2.2vw, 1.35rem);
  border: 1px solid rgba(0, 167, 230, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(52, 53, 55, 0.08);
}

.ob-contact-form-panel .wpcf7-form,
.ob-contact-form-panel form {
  display: grid;
  gap: 0.95rem;
}

.ob-contact-form-panel--editor .components-base-control {
  margin-bottom: 1rem;
}

.ob-contact-form-panel--editor .components-base-control__field,
.ob-contact-form-panel--editor .components-select-control__input,
.ob-contact-form-panel--editor .components-notice {
  margin-bottom: 0;
}

.ob-contact-form-panel p {
  margin-bottom: 0;
}

.ob-contact-form-panel label {
  display: grid;
  gap: 0.35rem;
  color: var(--ob-text);
  font-family: var(--ob-font-strong);
  font-size: 0.94rem;
  font-weight: 600;
}

.ob-contact-form-panel :is(input, textarea, select) {
  width: 100%;
  padding: 0.82rem 0.95rem;
  border: 1px solid rgba(52, 53, 55, 0.16);
  border-radius: 12px;
  background: #fff;
  color: var(--ob-text);
  font: inherit;
}

.ob-contact-form-panel textarea {
  min-height: 9rem;
  resize: vertical;
}

.ob-contact-form-panel :is(input, textarea, select):focus {
  outline: none;
  border-color: rgba(0, 167, 230, 0.45);
  box-shadow: 0 0 0 4px rgba(0, 167, 230, 0.12);
}

.ob-contact-form-panel input[type="submit"],
.ob-contact-form-panel .wpcf7-submit {
  width: auto;
  min-width: 10rem;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 14px;
  background: linear-gradient(132deg, var(--ob-blue) 0%, var(--ob-blue-soft) 100%);
  color: #ffffff;
  font-family: var(--ob-font-strong);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  align-self: start;
}

.ob-contact-form-panel input[type="submit"]:hover,
.ob-contact-form-panel .wpcf7-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 167, 230, 0.2);
}

.ob-contact-form-panel .wpcf7-spinner {
  margin: 0 0 0 0.65rem;
}

.ob-contact-form-panel .wpcf7-not-valid-tip {
  color: #b13636;
  font-size: 0.85rem;
}

.ob-contact-form-panel .wpcf7-response-output {
  margin: 0.4rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
}

/* Logo carousel */
.ob-logo-carousel-shell {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
}

.ob-logo-carousel-shell::before,
.ob-logo-carousel-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 5rem;
  z-index: 2;
  pointer-events: none;
}

.ob-logo-carousel-shell::before {
  left: 0;
  background: linear-gradient(90deg, var(--ob-bg) 0%, rgba(245, 251, 254, 0) 100%);
}

.ob-logo-carousel-shell::after {
  right: 0;
  background: linear-gradient(270deg, var(--ob-bg) 0%, rgba(245, 251, 254, 0) 100%);
}

.wp-block-gallery.is-style-obyte-logo-carousel {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 1rem !important;
  width: max-content;
  margin: 0;
  animation: ob-logo-marquee 28s linear infinite;
}

.wp-block-gallery.is-style-obyte-logo-carousel:hover {
  animation-play-state: paused;
}

.wp-block-gallery.is-style-obyte-logo-carousel .wp-block-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(150px, 16vw, 220px);
  padding: 1.1rem 1.35rem;
  margin: 0 !important;
  border: 1px solid var(--ob-border);
  border-radius: 18px;
  background: var(--ob-surface);
  box-shadow: var(--ob-shadow);
}

.wp-block-gallery.is-style-obyte-logo-carousel .wp-block-image img {
  max-width: 100%;
  max-height: 58px;
  object-fit: contain;
}

/* Statement rotator */
.ob-statement-rotator {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--ob-border);
  border-radius: 24px;
  background: var(--ob-surface);
  box-shadow: var(--ob-shadow);
}

.ob-statement-rotator__track {
  display: grid;
  gap: 1rem;
}

.ob-statement-rotator__track.is-layout-flow > *,
.ob-statement-rotator__item.is-layout-flow > *,
.ob-statement-rotator__meta.is-layout-flow > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.ob-statement-rotator__item {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.3rem, 2.4vw, 1.85rem);
  border: 1px solid rgba(0, 167, 230, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 36px rgba(52, 53, 55, 0.08);
}

.ob-statement-rotator__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 167, 230, 0.1);
  color: var(--ob-blue-shade-2);
  font-family: var(--ob-font-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ob-statement-rotator__quote {
  margin: 0;
  color: var(--ob-text);
  font-family: var(--ob-font-strong);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.4;
  text-wrap: balance;
}

.ob-statement-rotator__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  align-items: baseline;
}

.ob-statement-rotator__name {
  font-family: var(--ob-font-strong);
  font-weight: 700;
}

.ob-statement-rotator__role {
  color: var(--ob-text-soft);
}

.ob-statement-rotator__name,
.ob-statement-rotator__role {
  margin-bottom: 0;
}

.ob-statement-rotator__controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.ob-statement-rotator__dot {
  width: 0.8rem;
  height: 0.8rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(52, 53, 55, 0.18);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, width 180ms ease;
}

.ob-statement-rotator__dot.is-active {
  width: 2rem;
  background: var(--ob-blue-shade-2);
}

.ob-statement-rotator.is-enhanced .ob-statement-rotator__track {
  display: grid;
}

.ob-statement-rotator.is-enhanced .ob-statement-rotator__item {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 320ms ease, transform 320ms ease, visibility 0s linear 320ms;
}

.ob-statement-rotator.is-enhanced .ob-statement-rotator__item.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

/* Award badges */
.ob-awards-band {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--ob-border);
  border-radius: 24px;
  background: var(--ob-surface);
  box-shadow: var(--ob-shadow);
}

.ob-grid--awards,
.wp-block-columns.ob-grid--awards {
  display: grid !important;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr) !important;
  align-items: start !important;
  gap: clamp(1.2rem, 2vw, 1.9rem) !important;
}

.ob-awards-copy {
  max-width: 32rem;
}

.ob-awards-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 1rem;
}

.ob-awards-grid:has(> :only-child) {
  justify-content: flex-end;
}

.ob-awards-grid.is-layout-flow > *,
.ob-award-card.is-layout-flow > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.ob-award-card {
  display: flex;
  flex-direction: column;
  flex: 0 1 12rem;
  width: min(100%, 12rem);
  padding: 0.45rem;
  border: 1px solid rgba(0, 167, 230, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 24px rgba(52, 53, 55, 0.05);
}

.ob-award-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  max-height: 11.5rem;
  padding: 0.65rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
}

.ob-award-card__image,
.ob-award-card__media .wp-block-image {
  width: 100%;
  margin: 0;
}

.ob-award-card__image img,
.ob-award-card__media .wp-block-image img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 10rem;
  margin: 0 auto;
  object-fit: contain;
}

/* CTA band */
.ob-cta-band {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(0, 167, 230, 0.22);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 167, 230, 0.12) 0%, rgba(245, 156, 0, 0.09) 100%);
}

/* Team contact band */
.ob-team-band {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--ob-border);
  border-radius: 24px;
  background: var(--ob-surface);
  box-shadow: var(--ob-shadow);
}

.ob-grid--team-band,
.wp-block-columns.ob-grid--team-band {
  display: grid !important;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr) !important;
  align-items: start !important;
  gap: clamp(1.2rem, 2vw, 1.9rem) !important;
}

.ob-team-copy {
  max-width: 34rem;
}

.ob-team-band:has(.ob-team-grid > :nth-child(4)) .ob-grid--team-band,
.wp-block-group.ob-team-band:has(.ob-team-grid > :nth-child(4)) .wp-block-columns.ob-grid--team-band {
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr) !important;
}

.ob-team-band:has(.ob-team-grid > :nth-child(4)) .ob-team-copy,
.wp-block-group.ob-team-band:has(.ob-team-grid > :nth-child(4)) .ob-team-copy {
  max-width: 28rem;
}

.ob-team-contact-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.ob-team-contact-list p,
.ob-team-card__role,
.ob-team-card__meta {
  margin-bottom: 0;
}

.ob-team-contact-list strong {
  font-family: var(--ob-font-strong);
  font-weight: 600;
}

.ob-team-contact-list a,
.ob-team-card__meta a {
  color: var(--ob-blue-shade-2);
}

.ob-team-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  grid-template-rows: 1fr;
  align-items: stretch;
  gap: 1rem;
}

.ob-team-grid.is-layout-flow > *,
.ob-team-card.is-layout-flow > *,
.ob-team-card__visual.is-layout-flow > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.ob-team-grid > .ob-team-card,
.ob-team-grid > .wp-block-group.ob-team-card {
  height: 100%;
  align-self: stretch;
}

.ob-team-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  padding: 0.9rem;
  border: 1px solid rgba(0, 167, 230, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(52, 53, 55, 0.08);
}

.ob-team-card__visual {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  min-height: 220px;
  padding: 0;
  margin-bottom: 0.8rem;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, #343537 0%, #2b2f33 48%, #203745 100%);
}

.ob-team-card__photo,
.ob-team-card__visual .wp-block-image {
  width: 100%;
  height: 100%;
  margin: 0;
}

.ob-team-card__photo img,
.ob-team-card__visual .wp-block-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ob-team-card h3 {
  margin-bottom: 0.3rem;
  font-size: clamp(0.88rem, 0.9vw, 1rem);
  line-height: 1.25;
}

.ob-team-card__role {
  color: var(--ob-text-soft);
  line-height: 1.45;
}

.ob-team-card__meta {
  margin-top: auto;
  padding-top: 0.8rem;
  font-size: 0.94rem;
  line-height: 1.45;
}

/* Archive and pagination */
.post-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card {
  height: 100%;
}

.post-card__title {
  margin-bottom: 0.75rem;
}

.post-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ob-blue);
  font-family: var(--ob-font-strong);
  font-weight: 600;
}

.archive-shell,
.not-found-shell,
.empty-state {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.archive-shell__header,
.not-found-card,
.empty-state .ob-card {
  max-width: var(--ob-content-wide);
}

.pagination-shell {
  margin-top: 2rem;
}

.pagination-shell .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pagination-shell .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--ob-border);
  border-radius: 12px;
  background: var(--ob-surface);
}

.pagination-shell .page-numbers.current {
  border-color: rgba(0, 167, 230, 0.36);
  background: rgba(0, 167, 230, 0.12);
}

@keyframes ob-logo-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Responsive layout tuning */
@media (min-width: 961px) {
  .ob-section--flush {
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
  }

  .ob-card--hero,
  .wp-block-group.is-style-obyte-hero-surface {
    --ob-hero-card-max-width: 100%;
    --ob-hero-layout-max-width: 100%;
    --ob-hero-copy-max-width: 500px;
    --ob-hero-copy-min-height: clamp(390px, 31vw, 430px);
    --ob-hero-copy-gap: 0.92rem;
    --ob-hero-body-columns: minmax(0, 1fr) minmax(0, 1fr);
    --ob-hero-body-gap: 1rem;
    --ob-hero-body-offset: 1.05rem;
    --ob-hero-layout-gap: 0.28rem;
    --ob-hero-kicker-size: 0.66rem;
    --ob-hero-kicker-margin: 0;
    --ob-hero-kicker-padding-bottom: var(--ob-hero-title-padding-bottom);
    --ob-hero-kicker-spacing: 0.17em;
    --ob-hero-title-size: clamp(1.62rem, 1.56vw, 2.02rem);
    --ob-hero-title-line-height: 0.98;
    --ob-hero-title-padding-bottom: 1.2rem;
    --ob-hero-lead-size: 1.1rem;
    --ob-hero-lead-line-height: 1.42;
    --ob-hero-actions-gap: 0.58rem;
    --ob-hero-actions-top-gap: 0.72rem;
    --ob-hero-button-min-height: 42px;
    --ob-hero-button-padding-y: 0.56rem;
    --ob-hero-button-padding-x: 1rem;
    --ob-hero-button-font-size: 0.86rem;
    --ob-hero-button-radius: 11px;
    --ob-hero-visual-size: 100%;
    --ob-hero-visual-height: auto;
    --ob-hero-visual-ratio: 4 / 3;
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
  }

  .ob-card--hero::before,
  .wp-block-group.is-style-obyte-hero-surface::before {
    top: -66px;
    right: -58px;
    width: 210px;
    height: 210px;
  }

  .ob-card--hero::after,
  .wp-block-group.is-style-obyte-hero-surface::after {
    bottom: -46px;
    left: -38px;
    width: 170px;
    height: 145px;
  }

  .wp-block-columns.ob-grid--hero-body > .wp-block-column:has(> .ob-hero-visual) > .ob-hero-visual {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-left: auto;
  }

  body.obyte-theme .ob-card--hero .wp-block-buttons.is-style-obyte-inline-actions,
  body.obyte-theme .wp-block-group.is-style-obyte-hero-surface .wp-block-buttons.is-style-obyte-inline-actions,
  .editor-styles-wrapper .ob-card--hero .wp-block-buttons.is-style-obyte-inline-actions,
  .editor-styles-wrapper .wp-block-group.is-style-obyte-hero-surface .wp-block-buttons.is-style-obyte-inline-actions {
    gap: var(--ob-hero-actions-gap);
  }

  body.obyte-theme .ob-card--hero .wp-block-button__link.wp-element-button,
  body.obyte-theme .wp-block-group.is-style-obyte-hero-surface .wp-block-button__link.wp-element-button,
  .editor-styles-wrapper .ob-card--hero .wp-block-button__link.wp-element-button,
  .editor-styles-wrapper .wp-block-group.is-style-obyte-hero-surface .wp-block-button__link.wp-element-button {
    min-height: var(--ob-hero-button-min-height) !important;
    padding: var(--ob-hero-button-padding-y) var(--ob-hero-button-padding-x) !important;
    font-size: var(--ob-hero-button-font-size) !important;
    border-radius: var(--ob-hero-button-radius) !important;
    line-height: 1.1 !important;
  }
}

@media (min-width: 961px) and (max-height: 1100px) {
  .ob-section--flush {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
  }

  .ob-card--hero,
  .wp-block-group.is-style-obyte-hero-surface {
    --ob-hero-kicker-size: 0.63rem;
    --ob-hero-kicker-margin: 0;
    --ob-hero-kicker-padding-bottom: var(--ob-hero-title-padding-bottom);
    --ob-hero-copy-max-width: 480px;
    --ob-hero-copy-min-height: clamp(360px, 29vw, 400px);
    --ob-hero-title-size: clamp(1.5rem, 1.36vw, 1.86rem);
    --ob-hero-lead-size: 1.05rem;
    --ob-hero-lead-line-height: 1.38;
    --ob-hero-title-padding-bottom: 1rem;
    --ob-hero-layout-gap: 0.24rem;
    --ob-hero-body-offset: 0.92rem;
    --ob-hero-button-min-height: 39px;
    --ob-hero-button-padding-y: 0.5rem;
    --ob-hero-button-padding-x: 0.9rem;
    --ob-hero-button-font-size: 0.82rem;
    padding: 0.9rem;
  }

  .wp-block-columns.ob-grid--hero-body > .wp-block-column:has(> .ob-hero-visual) > .ob-hero-visual {
    max-width: 100%;
  }
}

@media (max-width: 960px) {
  .ob-grid--hero,
  .ob-grid--hero-body,
  .ob-grid--awards,
  .ob-grid--cards,
  .ob-grid--contact-form,
  .ob-grid--team-band,
  .ob-grid--split,
  .ob-grid--metrics,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .wp-block-columns.ob-grid--hero-body,
  .wp-block-columns.ob-grid--contact-form,
  .wp-block-columns.ob-grid--team-band,
  .wp-block-columns.ob-grid--awards {
    grid-template-columns: 1fr !important;
  }

  .ob-grid,
  .wp-block-columns.ob-grid--hero-body,
  .wp-block-columns.ob-grid--contact-form,
  .wp-block-columns.ob-grid--team-band,
  .wp-block-columns.ob-grid--awards {
    gap: clamp(1rem, 4vw, 1.35rem) !important;
  }

  .wp-block-columns.ob-grid--hero-body > .wp-block-column,
  .wp-block-columns.ob-grid--contact-form > .wp-block-column,
  .wp-block-columns.ob-grid--team-band > .wp-block-column,
  .wp-block-columns.ob-grid--awards > .wp-block-column {
    width: 100% !important;
    flex-basis: auto !important;
    margin: 0 !important;
  }

  .ob-card--hero,
  .wp-block-group.is-style-obyte-hero-surface {
    --ob-hero-copy-max-width: none;
    --ob-hero-copy-min-height: 0;
    --ob-hero-copy-gap: 0.8rem;
    --ob-hero-body-gap: clamp(0.9rem, 4vw, 1.2rem);
    --ob-hero-body-offset: 0;
    --ob-hero-layout-gap: 0.85rem;
    --ob-hero-kicker-size: 0.74rem;
    --ob-hero-kicker-spacing: 0.16em;
    --ob-hero-title-size: clamp(1.9rem, 6.8vw, 2.6rem);
    --ob-hero-title-line-height: 1.02;
    --ob-hero-lead-size: clamp(1rem, 3.9vw, 1.12rem);
    --ob-hero-lead-line-height: 1.5;
    --ob-hero-actions-gap: 0.7rem;
    --ob-hero-actions-top-gap: 0.55rem;
    --ob-hero-button-min-height: 46px;
    --ob-hero-button-padding-y: 0.72rem;
    --ob-hero-button-padding-x: 1.05rem;
    --ob-hero-button-font-size: 0.95rem;
    --ob-hero-button-radius: 12px;
    --ob-hero-visual-size: 100%;
    --ob-hero-visual-height: auto;
    --ob-hero-visual-ratio: 16 / 11;
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
  }

  .ob-card--hero::before,
  .wp-block-group.is-style-obyte-hero-surface::before {
    top: -72px;
    right: -64px;
    width: 210px;
    height: 210px;
  }

  .ob-card--hero::after,
  .wp-block-group.is-style-obyte-hero-surface::after {
    bottom: -56px;
    left: -42px;
    width: 160px;
    height: 145px;
  }

  .ob-hero-layout,
  .ob-hero-copy {
    max-width: none;
  }

  .wp-block-columns.ob-grid--hero-body {
    margin-top: 0;
  }

  .wp-block-columns.ob-grid--hero-body > .wp-block-column:has(> .ob-hero-copy),
  .wp-block-columns.ob-grid--hero-body > .wp-block-column:has(> .ob-hero-visual) {
    align-items: stretch;
  }

  .ob-hero-copy > .wp-block-buttons {
    margin-top: 0.25rem;
  }

  .ob-hero-visual {
    width: 100%;
    max-width: none;
    min-height: clamp(220px, 52vw, 320px);
    padding: 0.55rem;
  }

  .ob-grid--team-band,
  .wp-block-columns.ob-grid--team-band {
    gap: clamp(1rem, 4vw, 1.25rem) !important;
  }

  .ob-team-band:has(.ob-team-grid > :nth-child(4)) .ob-grid--team-band,
  .wp-block-group.ob-team-band:has(.ob-team-grid > :nth-child(4)) .wp-block-columns.ob-grid--team-band {
    grid-template-columns: 1fr !important;
  }

  .ob-team-copy {
    max-width: none;
  }

  .ob-team-band:has(.ob-team-grid > :nth-child(4)) .ob-team-copy,
  .wp-block-group.ob-team-band:has(.ob-team-grid > :nth-child(4)) .ob-team-copy {
    max-width: none;
  }

  .ob-team-grid {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 0.85rem;
  }

  .ob-team-card {
    gap: 0.45rem;
    min-width: 0;
    padding: 1rem;
  }

  .ob-team-card__visual {
    min-height: clamp(190px, 30vw, 240px);
    margin-bottom: 0.65rem;
  }

  .ob-team-card h3 {
    font-size: clamp(1rem, 2.2vw, 1.12rem);
  }

  .ob-team-card__meta {
    padding-top: 0.65rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 781px) {
  .entry-content > * {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .ob-section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .ob-card--hero,
  .wp-block-group.is-style-obyte-hero-surface {
    --ob-hero-title-size: clamp(1.76rem, 8vw, 2.2rem);
    --ob-hero-lead-size: clamp(0.98rem, 4.6vw, 1.08rem);
    --ob-hero-button-min-height: 44px;
    --ob-hero-button-padding-y: 0.68rem;
    --ob-hero-button-padding-x: 0.96rem;
    --ob-hero-button-font-size: 0.92rem;
    --ob-hero-button-radius: 11px;
    --ob-hero-visual-ratio: 4 / 3;
  }

  .wp-block-gallery.is-style-obyte-logo-carousel {
    animation-duration: 20s;
  }

  .ob-statement-rotator__quote {
    font-size: clamp(1.05rem, 5vw, 1.35rem);
    text-wrap: pretty;
  }

  .ob-team-card__visual {
    min-height: 180px;
  }
}

@media (max-width: 640px) {
  .ob-card--hero,
  .wp-block-group.is-style-obyte-hero-surface {
    --ob-hero-title-size: clamp(1.64rem, 8.6vw, 2rem);
    --ob-hero-lead-size: 1rem;
    --ob-hero-actions-gap: 0.6rem;
    --ob-hero-button-min-height: 44px;
    --ob-hero-button-padding-y: 0.66rem;
    --ob-hero-button-padding-x: 0.9rem;
    --ob-hero-button-font-size: 0.9rem;
    --ob-hero-button-radius: 10px;
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
  }

  body.obyte-theme .ob-card--hero .wp-block-buttons.is-style-obyte-inline-actions,
  body.obyte-theme .wp-block-group.is-style-obyte-hero-surface .wp-block-buttons.is-style-obyte-inline-actions,
  .editor-styles-wrapper .ob-card--hero .wp-block-buttons.is-style-obyte-inline-actions,
  .editor-styles-wrapper .wp-block-group.is-style-obyte-hero-surface .wp-block-buttons.is-style-obyte-inline-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  body.obyte-theme .ob-card--hero .wp-block-button,
  body.obyte-theme .wp-block-group.is-style-obyte-hero-surface .wp-block-button,
  .editor-styles-wrapper .ob-card--hero .wp-block-button,
  .editor-styles-wrapper .wp-block-group.is-style-obyte-hero-surface .wp-block-button {
    width: 100%;
  }

  body.obyte-theme .ob-card--hero .wp-block-button__link.wp-element-button,
  body.obyte-theme .wp-block-group.is-style-obyte-hero-surface .wp-block-button__link.wp-element-button,
  .editor-styles-wrapper .ob-card--hero .wp-block-button__link.wp-element-button,
  .editor-styles-wrapper .wp-block-group.is-style-obyte-hero-surface .wp-block-button__link.wp-element-button {
    width: 100%;
    justify-content: center;
  }

  .ob-hero-visual {
    min-height: clamp(210px, 62vw, 280px);
    padding: 0.5rem;
  }

  .ob-team-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .ob-team-card {
    padding: 0.95rem;
  }

  .ob-team-card__visual {
    min-height: clamp(220px, 68vw, 320px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.obyte-theme :where(.wp-block-button__link, .button),
  .editor-styles-wrapper :where(.wp-block-button__link, .button),
  .wp-block-gallery.is-style-obyte-logo-carousel {
    transition: none;
    animation: none;
  }
}
