/* ==========================================================================
   OLB 2027 design system
   Ported from the Figma build in old-new-design/ (OLB 2027 Site / OLB Home,
   node 2068:8870). Tokens are 1:1 with the Figma variables.

   This is the theme's only stylesheet. The previous ("Harvest Moon") system
   that shipped with the first build has been retired — every template and
   pattern is now 2027, so there is no scope class and no second cascade to
   fight. Selectors match the static build in old-new-design/ one for one,
   which also means `add_editor_style()` can load this file straight into the
   block editor canvas.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens  (mapped 1:1 from the Figma variables)
   -------------------------------------------------------------------------- */
:root {
  /* Colour ---------------------------------------------------------------- */
  --olb-black:        #1E1E1E;  /* OLB Primary Black    — nav, footer        */
  --olb-ink:          #151515;  /* Cod Gray             — card hairlines     */
  --olb-charcoal:     #303030;  /* OLB Charcoal         — dark bands         */
  --olb-red:          #CB2E32;  /* OLB                  — primary accent     */
  --olb-yellow:       #F2C94C;  /* OLB Accent           — CTA / stat figures */
  --olb-gray-mid:     #A3A3A0;  /* OLB Medium Gray      — display type       */
  --olb-gray-dark:    #555553;  /* OLB Dark Gray        — card headings      */
  --olb-gray-light:   #EFF0ED;  /* OLB Light Gray                            */
  --olb-off-white:    #F5F5F3;  /* OLB Very Light Gray  — page background    */
  --olb-white:        #FFFFFF;  /* OLB White                                 */
  --olb-rule:         rgba(255, 255, 255, 0.35);

  /* Platform card fills. #006BA1 is exact; the other two are sampled from
     the Figma render — replace if the design team publishes tokens. */
  --olb-blue:         #006BA1;
  --olb-blue-deep:    #1F4E9C;
  --olb-red-bright:   #E5333A;

  /* Type ------------------------------------------------------------------ */
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Fluid scale. Upper bound = the Figma value at 1920px. */
  --fs-display-xl:  clamp(2.75rem, 5vw,    6rem);      /* 96 / 99  Oswald 700 */
  --lh-display-xl:  1.03;
  --fs-display-lg:  clamp(2.25rem, 3.75vw, 4.5rem);    /* 72 / 78  Oswald 700 */
  --lh-display-lg:  1.083;
  --fs-heading-md:  clamp(1.75rem, 2.08vw, 2.5rem);    /* 40 / 48  Oswald 600 */
  --lh-heading-md:  1.2;
  --fs-body-lg:     clamp(1.0625rem, 1.25vw, 1.5rem);  /* 24 / 36  Manrope    */
  --lh-body-lg:     1.5;
  --fs-body-md:     clamp(1rem, 0.94vw, 1.125rem);     /* 18 / 28  Manrope    */
  --lh-body-md:     1.556;
  --fs-body-sm:     1rem;                              /* 16 / 24  Manrope    */
  --fs-label:       0.875rem;                          /* 14 / 21  Manrope 800*/
  --fs-label-sm:    0.75rem;                           /* 12 / 16  Manrope 800*/

  /* Layout ---------------------------------------------------------------- */
  --container:  1620px;   /* 1920 frame − 150px gutters                      */
  --gutter:     clamp(20px, 7.8125vw, 150px);
  --radius:     8px;
  --radius-lg:  24px;

  --header-h:   125px;    /* sticky header — see scroll-padding-top          */

  --space-section: clamp(48px, 6.25vw, 120px);
  --space-md:      clamp(16px, 1.25vw, 24px);
  --space-lg:      clamp(24px, 1.875vw, 36px);
}

/* --------------------------------------------------------------------------
   2. Global base — chrome-level only; page-level resets live in §4
   -------------------------------------------------------------------------- */
html {
  -webkit-text-size-adjust: 100%;
  /* The header is sticky — keep in-page anchors from landing under it. */
  scroll-padding-top: calc(var(--header-h) + 10px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 3px solid var(--olb-yellow);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--olb-yellow); color: var(--olb-black);
  padding: 12px 20px; font-weight: 800; font-family: var(--font-body);
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--space-section); }
.section--flush { padding-block: 0; }
/* Closes out a section whose last block is a bare grid, so the next band
   doesn't butt straight up against the cards. */
.section--end { padding-block-end: var(--space-section); }
.section--dark  { background: var(--olb-charcoal); color: var(--olb-gray-mid); }
.section--black { background: var(--olb-black);    color: var(--olb-gray-light); }
.section--light { background: var(--olb-off-white); color: var(--olb-charcoal); }
.section--red   { background: var(--olb-red); color: var(--olb-white); }
.section--gray  { background: var(--olb-gray-light); color: var(--olb-charcoal); }

/* Two-column "big headline left / body right" block used by most sections */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 3vw, 64px);
  align-items: center;
}
.split--top { align-items: start; }

/* --------------------------------------------------------------------------
   4. Base — document defaults and element resets
   -------------------------------------------------------------------------- */
body {
  margin: 0;
  background: var(--olb-off-white);
  color: var(--olb-charcoal);
  font-family: var(--font-body);
  font-size: var(--fs-body-md);
  line-height: var(--lh-body-md);
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-display-xl);
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
/* <em> is the pattern convention for the accent word — not italic. */
h1 em, h2 em, h3 em { font-style: normal; color: var(--olb-red); }

/* --------------------------------------------------------------------------
   5. Components
   -------------------------------------------------------------------------- */

/* 5.1 Section eyebrow — 150px rule + uppercase label ---------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-block: 38px 10px;
  font-size: var(--fs-body-md);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: uppercase;
  color: var(--olb-gray-mid);
  line-height: 1.556;
}
.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: clamp(40px, 7.8vw, 150px);
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--on-red { color: var(--olb-off-white); }
/* #A3A3A0 on #F5F5F3 is ~2:1 — too faint for a label on light bands. */
.section--light .eyebrow,
.section--gray .eyebrow,
.hero .eyebrow { color: var(--olb-gray-dark); }
.eyebrow--note {
  padding-block: 38px 34px;
  font-size: var(--fs-label-sm);
  text-transform: none;
}
.eyebrow--note::before { display: none; }

/* 5.2 Display headings ---------------------------------------------------- */
.display {
  font-size: var(--fs-display-xl);
  line-height: var(--lh-display-xl);
  color: var(--olb-gray-mid);
  text-wrap: balance;
}
.display--on-light { color: var(--olb-charcoal); }
.display--center   { text-align: center; }
.display .accent,
.display em        { color: var(--olb-red); font-style: normal; }

.lede {
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body-lg);
  max-width: 46ch;
}
.lede--wide { max-width: 70ch; }
/* Pattern helpers — the static build set these three with inline styles. */
.lede--spaced    { margin-block-start: var(--space-md); }
.lede--spaced-lg { margin-block-start: var(--space-lg); }
.buttons--spaced { margin-block-start: var(--space-lg); }

/* 5.3 Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  padding: 11px 25px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 800;
  line-height: 21px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn--primary { background: var(--olb-red);    color: var(--olb-gray-light); }
.btn--primary:hover { background: #b32629; }
.btn--accent  { background: var(--olb-yellow); color: #121212; }
.btn--accent:hover  { background: #e0b93c; }
.btn--ghost   { background: transparent; color: var(--olb-charcoal); border-color: transparent; }
.btn--ghost:hover   { border-color: currentColor; }
.btn--link    { background: none; padding-inline: 0; color: var(--olb-yellow); min-height: 0; }
.btn--link:hover { text-decoration: underline; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-md); }

/* 5.4 Bordered feature card ---------------------------------------------- */
/* 1px gap + an ink backdrop draws one shared hairline between cards at any
   column count — a real border on each card doubles up where they meet. */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--olb-ink);
  border: 1px solid var(--olb-ink);
}
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 340px;
  padding: 20px;
  background: var(--olb-off-white);
}
.feature-card__index {
  font-size: 0.625rem;
  font-weight: 800;
  color: var(--olb-ink);
}
.feature-card__title {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  font-size: var(--fs-heading-md);
  line-height: var(--lh-heading-md);
  font-weight: 600;
  color: var(--olb-gray-dark);
}
.feature-card__index { display: block; }
.feature-card__body {
  margin-block-start: auto; /* body to the floor so titles share a baseline */
  font-size: var(--fs-body-md);
  line-height: var(--lh-body-md);
  color: var(--olb-black);
}

/* 5.5 Industry tiles ------------------------------------------------------ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 21px;
}
.industry-tile {
  display: flex;
  align-items: flex-end;
  min-height: 197px;
  padding: 20px;
  border: 1px solid var(--olb-ink);
  font-family: var(--font-display);
  font-size: var(--fs-heading-md);
  line-height: var(--lh-heading-md);
  font-weight: 600;
  color: var(--olb-gray-dark);
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.industry-tile:hover { background: var(--olb-charcoal); color: var(--olb-off-white); }

/* 5.6 Platform cards ------------------------------------------------------ */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.platform-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 483px;
  padding: 28px;
  overflow: hidden;
  color: var(--olb-white);
  text-decoration: none;
}
.platform-card--1 { background: var(--olb-blue); }
.platform-card--2 { background: var(--olb-blue-deep); }
.platform-card--3 { background: var(--olb-red-bright); }

.platform-card__watermark {
  position: absolute;
  right: -7px;
  bottom: -38px;
  font-family: var(--font-display);
  font-size: clamp(9rem, 12.5vw, 15rem);
  line-height: 1;
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
}
.platform-card__kicker {
  font-size: var(--fs-label);
  font-weight: 800;
  line-height: 21px;
  text-transform: uppercase;
}
.platform-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-block: clamp(40px, 4vw, 79px) 0;
  font-size: var(--fs-display-lg);
  line-height: var(--lh-display-lg);
}
.platform-card__body {
  margin-block-start: var(--space-md);
  max-width: 30ch;
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body-lg);
}
.platform-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-block-start: auto;
  padding-block-end: 9px;
  border-bottom: 1px solid currentColor;
  font-size: var(--fs-label);
  font-weight: 800;
  line-height: 21px;
  text-transform: uppercase;
}

/* 5.7 Numbered process list ---------------------------------------------- */
.process-list { display: grid; }
.process-item:first-child { border-top: 1px solid var(--olb-rule); }
.process-item {
  display: grid;
  grid-template-columns: 0.4fr 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding-block: 27px;
  border-bottom: 1px solid var(--olb-rule);
}
.process-item__index {
  font-size: var(--fs-body-md);
  color: var(--olb-red);
}
.process-item__title {
  font-size: var(--fs-display-lg);
  line-height: var(--lh-display-lg);
  color: var(--olb-gray-mid);
}
.process-item__body {
  max-width: 310px;
  font-size: var(--fs-body-sm);
  line-height: 21px;
  color: var(--olb-gray-mid);
}

/* 5.8 Stats --------------------------------------------------------------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.stat {
  padding-block-start: 19px;
  border-top: 1px solid var(--olb-rule);
}
.stat__figure {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-display-lg);
  line-height: var(--lh-display-lg);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--olb-yellow);
}
.stat__label {
  display: block;
  margin-block-start: 12px;
  max-width: 24ch;
  font-size: var(--fs-label-sm);
  font-weight: 800;
  line-height: 16px;
  letter-spacing: 0.6px;
  color: var(--olb-gray-light);
}

/* 5.9 News cards ---------------------------------------------------------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.news-card {
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-height: 380px;
  padding: 58px 20px 20px;
  border: 1px solid var(--olb-gray-light);
}
.news-card__meta {
  font-size: var(--fs-label);
  font-weight: 800;
  line-height: 21px;
  text-transform: uppercase;
  color: var(--olb-gray-light);
}
.news-card__title {
  font-size: var(--fs-heading-md);
  line-height: var(--lh-heading-md);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--olb-white);
}
.news-card__body {
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body-lg);
  color: var(--olb-gray-mid);
}
.news-card .btn--link { margin-block-start: auto; align-self: flex-start; }
/* core/buttons stand in for .btn--link when the card is built from blocks. */
.news-card .wp-block-buttons { margin-block-start: auto; align-self: flex-start; }

/* --------------------------------------------------------------------------
   6. Sections
   -------------------------------------------------------------------------- */

/* 6.1 Site header --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--olb-black);
  color: var(--olb-white);
  font-family: var(--font-body);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.site-header__logo { flex: 1 0 auto; display: block; }
.site-header__logo img { width: 90px; height: 90px; object-fit: contain; display: block; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  color: inherit;
  font-size: var(--fs-label);
  font-weight: 700;
  line-height: 20px;
  text-decoration: none;
  text-transform: capitalize;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--olb-yellow); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  background: none;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: inherit;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px; height: 2px;
  margin-inline: auto;
  background: currentColor;
  content: "";
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(4px); }
.nav-toggle .visually-hidden { position: absolute; }

/* 6.2 Hero ---------------------------------------------------------------- */
.hero {
  position: static;
  display: block;
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: var(--olb-off-white);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: clamp(32px, 3vw, 64px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 156px);
}
.hero__title { max-width: 14ch; }
.hero__lede {
  margin-block-start: var(--space-md);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body-lg);
  color: var(--olb-charcoal);
  max-width: 52ch;
}
.hero__actions { margin-block-start: var(--space-lg); }

/* Flow diagram — semantic rebuild of the Figma illustration (2157:6754).
   Drop the exported SVG into .flow__art if pixel-exact art is required. */
.flow { display: grid; gap: 40px; }
.flow__step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: start;
}
/* The step body and its parts are spans — blockify them or title, sub and
   detail run together as one line of inline text. */
.flow__step > span:last-child { display: block; }
.flow__title, .flow__sub, .flow__detail { display: block; }
.flow__num {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--olb-red);
  color: var(--olb-white);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
}
.flow__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--olb-red);
}
.flow__sub {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--olb-black);
}
.flow__detail {
  margin-block-start: 4px;
  font-size: 0.8125rem;
  color: var(--olb-gray-dark);
}

/* 6.3 Media band ---------------------------------------------------------- */
.media-band {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--olb-charcoal);
  aspect-ratio: 1620 / 517;
}
.media-band img { width: 100%; height: 100%; object-fit: cover; }

/* 6.4 Platform hero image + overlay --------------------------------------- */
.platform-band {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(280px, 35vw, 670px);
  background: var(--olb-black) center / cover no-repeat;
  color: var(--olb-white);
}
.platform-band__title {
  padding: var(--gutter);
  font-size: var(--fs-display-xl);
  line-height: var(--lh-display-xl);
  color: var(--olb-white);
}

/* 6.5 Payment brand strip -------------------------------------------------- */
.brand-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 48px);
  padding-block: 39px;
}
.brand-strip img { max-height: 40px; width: auto; object-fit: contain; }

/* 6.6 Horizontal card scroller (Frame 136) --------------------------------
   In Figma the third card sits outside the 1920 frame — treated as a
   horizontally scrollable rail. See old-new-design/README.md, question #2. */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(804px, 80vw);
  gap: 24px;
  padding-block-start: 50px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.rail__card {
  aspect-ratio: 804 / 522;
  border-radius: var(--radius-lg);
  background: var(--olb-gray-light);
  scroll-snap-align: start;
  overflow: hidden;
}
.rail__card img { width: 100%; height: 100%; object-fit: cover; }

/* 6.7 About band ---------------------------------------------------------- */
/* The band sits on light gray inside a red section — reset the inherited
   white or the body copy is invisible. */
.about-band {
  color: var(--olb-charcoal);
  display: grid;
  gap: var(--space-lg);
  justify-items: start;
  padding-block: clamp(56px, 6.25vw, 120px);
}
.about-band__head {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.about-band__mark { width: clamp(90px, 10vw, 198px); height: auto; }
.about-band__body { max-width: 70ch; font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); }

/* 6.8 Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--olb-black);
  color: var(--olb-gray-light);
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  padding: 24px 0;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1fr 297px minmax(0, 544px);
  gap: clamp(32px, 8vw, 166px);
  align-items: center;
  min-height: 176px;
}
.site-footer__logo { display: block; }
.site-footer__logo img { width: 90px; height: 90px; object-fit: contain; display: block; }
.site-footer__blurb { margin: 0; font-size: var(--fs-body-sm); line-height: 24px; }
.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.site-footer__links a {
  font-size: var(--fs-body-sm);
  line-height: 36px;
  color: var(--olb-white);
  text-decoration: none;
}
.site-footer__links a:hover,
.site-footer__links a[aria-current="page"] { color: var(--olb-yellow); }
.site-footer__rule {
  height: 1px;
  margin-block: 24px;
  background: rgba(255, 255, 255, 0.2);
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(24px, 15vw, 285px);
  font-size: var(--fs-label-sm);
  line-height: 24px;
  color: var(--olb-gray-mid);
}
.site-footer__legal a { color: inherit; text-decoration: none; }
.site-footer__legal a:hover { color: var(--olb-yellow); }

/* --------------------------------------------------------------------------
   6b. Inner-page components
   The 2027 vocabulary extended to cover the inner pages. Card and list
   components read their band from the section they sit in (.section--dark /
   --light / --gray), so the same pattern markup works on either.
   -------------------------------------------------------------------------- */

/* 6b.1 Inner-page hero ---------------------------------------------------- */
.page-hero { background: var(--olb-off-white); color: var(--olb-charcoal); }
.page-hero--dark { background: var(--olb-charcoal); color: var(--olb-gray-mid); }
.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: clamp(32px, 3vw, 64px);
  align-items: center;
  padding-block: clamp(24px, 2vw, 40px) clamp(56px, 7vw, 120px);
}
.page-hero--wide .page-hero__inner { grid-template-columns: minmax(0, 1fr); }
.page-hero__title { max-width: 16ch; }
.page-hero--wide .page-hero__title { max-width: 20ch; }
.page-hero__lede {
  margin-block-start: var(--space-md);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body-lg);
  max-width: 62ch;
}
.page-hero__actions { margin-block-start: var(--space-lg); }
/* Breadcrumb sits in the eyebrow slot. */
.page-hero .eyebrow { color: var(--olb-gray-dark); }
.page-hero--dark .eyebrow { color: var(--olb-gray-mid); }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { color: var(--olb-red); }
.page-hero--dark .eyebrow a:hover { color: var(--olb-yellow); }

/* 6b.2 Hero orbit — the AI pages' abstract art ---------------------------- */
.orbit {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(240px, 26vw, 420px);
}
.orbit__ring {
  position: absolute;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.28;
  pointer-events: none;
}
.orbit__ring--outer { width: min(100%, 420px); aspect-ratio: 1; }
.orbit__ring--inner { width: min(70%, 292px); aspect-ratio: 1; border-style: dashed; }
.orbit__mark {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  width: min(46%, 190px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--olb-red);
  color: var(--olb-white);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.5rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}
.orbit__mark small {
  font-family: var(--font-body);
  font-size: var(--fs-label-sm);
  font-weight: 800;
  letter-spacing: 0.6px;
}
.orbit__index {
  position: absolute;
  top: 6%;
  right: 8%;
  display: grid;
  place-items: center;
  width: 56px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--olb-yellow);
  color: #121212;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}
.orbit__label {
  position: absolute;
  left: 0;
  bottom: 0;
  font-size: var(--fs-label-sm);
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--olb-gray-mid);
}

/* 6b.3 Section tab bar ---------------------------------------------------- */
.page-tabs { display: flex; flex-wrap: wrap; }
.page-tabs a {
  padding: 20px 26px;
  border-block: 1px solid var(--olb-rule);
  border-inline-end: 1px solid var(--olb-rule);
  font-size: var(--fs-label);
  font-weight: 800;
  line-height: 21px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--olb-gray-mid);
  transition: background-color 0.18s ease, color 0.18s ease;
}
.page-tabs a:first-child { border-inline-start: 1px solid var(--olb-rule); }
.page-tabs a:hover { color: var(--olb-yellow); }
.page-tabs a[aria-current="page"] { background: var(--olb-red); color: var(--olb-white); }

/* 6b.4 Feature grid — column counts, dark band, link cards ---------------- */
.feature-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.section--dark .feature-grid,
.section--black .feature-grid {
  background: var(--olb-rule);
  border-color: var(--olb-rule);
}
.section--dark .feature-card { background: var(--olb-charcoal); }
.section--black .feature-card { background: var(--olb-black); }
.section--dark .feature-card__index,
.section--black .feature-card__index { color: var(--olb-red); }
.section--dark .feature-card__title,
.section--black .feature-card__title { color: var(--olb-gray-light); }
.section--dark .feature-card__body,
.section--black .feature-card__body { color: var(--olb-gray-mid); }
.section--gray .feature-card { background: var(--olb-gray-light); }

/* A whole-card link. The arrow is pushed to the floor beside the body. */
.feature-card--link {
  color: inherit;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.feature-card--link:hover { background: var(--olb-charcoal); color: var(--olb-off-white); }
.feature-card--link:hover .feature-card__title { color: var(--olb-off-white); }
.feature-card--link:hover .feature-card__body { color: var(--olb-gray-light); }
.feature-card--link:hover .feature-card__index { color: var(--olb-yellow); }
.section--dark .feature-card--link:hover,
.section--black .feature-card--link:hover { background: var(--olb-red); color: var(--olb-white); }
.section--dark .feature-card--link:hover .feature-card__title { color: var(--olb-white); }
.section--dark .feature-card--link:hover .feature-card__body { color: var(--olb-gray-light); }
.section--dark .feature-card--link:hover .feature-card__index { color: var(--olb-white); }
.feature-card__cue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-block-start: auto;
  padding-block-end: 9px;
  border-bottom: 1px solid currentColor;
  font-size: var(--fs-label);
  font-weight: 800;
  line-height: 21px;
  text-transform: uppercase;
}
/* The cue takes the auto margin instead of the body, so link cards read
   index / title / body from the top with the cue on the floor. Use
   .feature-card--top on a plain card sitting in the same grid so its body
   lines up with its neighbours' rather than dropping to the floor. */
.feature-card--link .feature-card__body,
.feature-card--top .feature-card__body { margin-block-start: 0; }
.feature-card--link .feature-card__body { display: block; }

/* 6b.5 Process list — compact rows and light bands ------------------------ */
.process-list--compact .process-item__title {
  font-size: var(--fs-heading-md);
  line-height: var(--lh-heading-md);
  font-weight: 600;
  letter-spacing: 0;
}
.section--light .process-item,
.section--gray .process-item,
.section--light .process-item:first-child,
.section--gray .process-item:first-child { border-color: rgba(21, 21, 21, 0.18); }
.section--light .process-item__title,
.section--gray .process-item__title { color: var(--olb-charcoal); }
.section--light .process-item__body,
.section--gray .process-item__body { color: var(--olb-gray-dark); }

/* 6b.6 Stats — column counts and light bands ------------------------------ */
.stat-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section--light .stat,
.section--gray .stat { border-top-color: rgba(21, 21, 21, 0.25); }
.section--light .stat__figure,
.section--gray .stat__figure { color: var(--olb-red); }
.section--light .stat__label,
.section--gray .stat__label { color: var(--olb-gray-dark); }

/* 6b.7 Photography -------------------------------------------------------- */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.photo-strip--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo-strip--1 { grid-template-columns: minmax(0, 1fr); }
.photo-strip figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--olb-gray-light);
  aspect-ratio: 4 / 3;
}
.photo-strip--1 figure { aspect-ratio: 1620 / 640; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.photo-strip figcaption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: var(--olb-white);
  font-size: var(--fs-label);
  font-weight: 800;
  line-height: 21px;
  text-transform: uppercase;
  text-align: left;
}
.photo-strip figcaption strong { color: var(--olb-yellow); font-weight: 800; }

/* 6b.8 Pull quote --------------------------------------------------------- */
.pull-quote blockquote { margin: 0; padding: 0; border: 0; }
.pull-quote blockquote p {
  font-family: var(--font-display);
  font-size: var(--fs-display-lg);
  line-height: var(--lh-display-lg);
  font-weight: 700;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--olb-gray-mid);
}
.pull-quote blockquote p em { color: var(--olb-red); font-style: normal; }
.pull-quote cite {
  display: block;
  margin-block-start: var(--space-lg);
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--olb-gray-dark);
}
.section--dark .pull-quote cite { color: var(--olb-gray-mid); }

/* 6b.9 Source / confirmation note ----------------------------------------- */
.note {
  margin-block-start: var(--space-lg);
  max-width: 78ch;
  padding-inline-start: 16px;
  border-inline-start: 2px solid var(--olb-red);
  font-size: var(--fs-label-sm);
  line-height: 1.7;
  color: var(--olb-gray-dark);
}
.section--dark .note, .section--black .note { color: var(--olb-gray-mid); }
.note a { font-weight: 700; border-bottom: 1px solid currentColor; }

/* 6b.10 Contact layout and form ------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 4vw, 88px);
  align-items: start;
}
/* The left column is narrower than a full split, so the display heading
   steps down a size to stop single words wrapping. */
.contact-layout .display {
  font-size: var(--fs-display-lg);
  line-height: var(--lh-display-lg);
}
.contact-details { display: grid; margin-block-start: var(--space-lg); }
.contact-details a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid rgba(21, 21, 21, 0.18);
  font-size: var(--fs-body-sm);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.18s ease;
}
.contact-details a:hover { color: var(--olb-red); }
.contact-details address {
  margin-block-start: var(--space-md);
  font-style: normal;
  font-size: var(--fs-body-sm);
  line-height: 1.7;
  color: var(--olb-gray-dark);
}
.contact-form { display: grid; gap: 18px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label {
  display: grid;
  gap: 8px;
  font-size: var(--fs-label-sm);
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--olb-gray-dark);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  padding: 14px 16px;
  border: 1px solid rgba(21, 21, 21, 0.3);
  border-radius: var(--radius);
  background: var(--olb-white);
  color: var(--olb-charcoal);
}
.contact-form textarea { resize: vertical; }
.contact-form label.check {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  font-size: var(--fs-body-sm);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--olb-charcoal);
}
.contact-form label.check input { padding: 0; width: 18px; height: 18px; margin-block-start: 3px; }
.contact-form button { align-self: flex-start; justify-self: start; }
.form-status:not(:empty) {
  padding: 14px 16px;
  border-radius: var(--radius);
  border-inline-start: 3px solid var(--olb-gray-dark);
  background: var(--olb-gray-light);
  font-size: var(--fs-body-sm);
  font-weight: 700;
  line-height: 1.5;
}
.form-status--ok:not(:empty) { border-inline-start-color: #2f7d3b; }
.form-status--error:not(:empty) { border-inline-start-color: var(--olb-red); }
.contact-form button[disabled] { opacity: 0.7; cursor: progress; }
/* Native validation feedback, in the brand palette. */
.contact-form input:user-invalid,
.contact-form select:user-invalid,
.contact-form textarea:user-invalid { border-color: var(--olb-red); }
.form-note { font-size: var(--fs-label-sm); line-height: 1.6; color: var(--olb-gray-dark); }

/* 6b.12 Post body and listing pagination --------------------------------- */
.entry-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 1.6fr);
  gap: clamp(24px, 4vw, 80px);
  align-items: start;
}
.entry-content { max-width: 72ch; }
.entry-content > * + * { margin-block-start: var(--space-md); }
.entry-content p,
.entry-content li {
  font-size: var(--fs-body-md);
  line-height: 1.75;
}
.entry-content h2 {
  margin-block-start: var(--space-section);
  font-size: var(--fs-heading-md);
  line-height: var(--lh-heading-md);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--olb-charcoal);
}
.entry-content h3 {
  margin-block-start: var(--space-lg);
  font-size: 1.375rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--olb-gray-dark);
}
.entry-content ul,
.entry-content ol { padding-inline-start: 22px; list-style: revert; }
.entry-content a { font-weight: 700; border-bottom: 1px solid currentColor; }
.entry-content a:hover { color: var(--olb-red); }
.entry-content blockquote {
  margin: 0;
  padding-inline-start: 20px;
  border-inline-start: 2px solid var(--olb-red);
}
.entry-content img { border-radius: var(--radius-lg); }

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: var(--space-lg);
}
.pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 10px;
  border: 1px solid rgba(21, 21, 21, 0.25);
  border-radius: var(--radius);
  font-size: var(--fs-label);
  font-weight: 800;
  text-decoration: none;
}
.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
  background: var(--olb-red);
  border-color: var(--olb-red);
  color: var(--olb-gray-light);
}
.pagination .screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   7. WordPress block adapter
   Core block markup mapped onto the selectors above, so a 2027 page composed
   in the editor renders identically to the static build.
   -------------------------------------------------------------------------- */

/* core/heading and core/paragraph carry their own classes — neutralise them. */
.wp-block-heading { margin: 0; }
.wp-block-group { margin: 0; }
.wp-block-image { margin: 0; }
figure.media-band img { display: block; }

/* core/buttons → .btn. Double-classed so it outranks both core's
   .wp-element-button globals and the previous system's blocks.css rules. */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; }
.wp-block-buttons .wp-block-button { margin: 0; }
.wp-block-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 55px;
  padding: 11px 25px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 800;
  line-height: 21px;
  letter-spacing: normal;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--olb-red);
  color: var(--olb-gray-light);
  transform: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.wp-block-button .wp-block-button__link:hover { transform: none; }
.wp-block-button.is-style-olb-primary .wp-block-button__link { background: var(--olb-red); color: var(--olb-gray-light); }
.wp-block-button.is-style-olb-primary .wp-block-button__link:hover { background: #b32629; }
.wp-block-button.is-style-olb-accent .wp-block-button__link { background: var(--olb-yellow); color: #121212; }
.wp-block-button.is-style-olb-accent .wp-block-button__link:hover { background: #e0b93c; }
.wp-block-button.is-style-olb-ghost .wp-block-button__link {
  background: transparent; color: currentColor; border-color: transparent;
}
.wp-block-button.is-style-olb-ghost .wp-block-button__link:hover { border-color: currentColor; }
.wp-block-button.is-style-olb-textlink .wp-block-button__link {
  background: none; border: 0; border-radius: 0; padding-inline: 0;
  min-height: 0; color: var(--olb-yellow);
}
.wp-block-button.is-style-olb-textlink .wp-block-button__link:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   8. Responsive — 1440 / 1024 / 768 / 480
   -------------------------------------------------------------------------- */

/* 8.1 ≤1440 — tighten the widest grids ------------------------------------ */
@media (max-width: 1440px) {
  .platform-card { min-height: 420px; }
  .process-item { grid-template-columns: 0.3fr 1fr 1fr; gap: 24px; }
}

/* 8.2 ≤1024 — tablet: drop to two columns --------------------------------- */
@media (max-width: 1024px) {
  :root { --header-h: 88px; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__title { max-width: none; }

  .split { grid-template-columns: 1fr; align-items: start; }

  .feature-grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid     { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-grid     { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

  .page-hero__inner { grid-template-columns: 1fr; align-items: start; }
  .page-hero__title { max-width: none; }
  .feature-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: 1fr; }
  .entry-layout { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__logo { grid-column: 1 / -1; }

  /* Nav collapses into a disclosure panel */
  .nav-toggle { display: grid; place-items: center; order: 3; }
  .site-header__cta { order: 2; margin-inline-start: auto; }
  .site-header__logo img { width: 64px; height: 64px; }
  /* Positioned against .site-header (sticky, so it is the containing block) —
     the panel spans the full viewport and the <ul> supplies the gutter. */
  .site-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    display: none;
    background: var(--olb-black);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  .site-nav[data-open="true"] { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
  }
  .site-nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .site-nav a { display: block; padding-block: 16px; font-size: 1rem; }
}

/* 8.3 ≤768 — single column, cards stack ----------------------------------- */
@media (max-width: 768px) {
  .feature-grid,
  .platform-grid,
  .news-grid { grid-template-columns: 1fr; }

  .feature-card { min-height: 0; }
  .platform-card { min-height: 0; padding: 24px; }
  .platform-card__title { margin-block-start: 32px; }
  .platform-card__link { margin-block-start: 48px; }

  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-tile { min-height: 140px; }

  .feature-grid--3, .feature-grid--2 { grid-template-columns: 1fr; }
  .stat-grid--4 { grid-template-columns: 1fr; }
  .photo-strip, .photo-strip--2 { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .page-tabs a { flex: 1 1 auto; padding: 16px 18px; text-align: center; font-size: var(--fs-label-sm); }
  .orbit { min-height: 260px; }
  .orbit__label { position: static; margin-block-start: 16px; }

  .stat-grid { grid-template-columns: 1fr; gap: 24px; }
  .stat__label { max-width: none; }

  /* Process rows become stacked blocks with the number as a marker */
  .process-item {
    grid-template-columns: 40px 1fr;
    grid-template-areas: "index title" ".     body";
    gap: 8px 16px;
    align-items: start;
  }
  .process-item__index { grid-area: index; padding-block-start: 6px; }
  .process-item__title { grid-area: title; }
  .process-item__body  { grid-area: body; max-width: none; }

  .site-footer__top { grid-template-columns: 1fr; gap: 32px; text-align: left; }
  .site-footer__legal { flex-direction: column; align-items: center; gap: 8px; text-align: center; }

  .brand-strip { justify-content: center; gap: 28px; }
  .brand-strip img { max-height: 28px; }

  .eyebrow { padding-block: 24px 8px; }
  .eyebrow--note { padding-inline-start: 0; }
}

/* 8.4 ≤480 — phone -------------------------------------------------------- */
@media (max-width: 480px) {
  .industry-grid { grid-template-columns: 1fr; gap: 12px; }
  .rail { grid-auto-columns: 88vw; }
  .flow__step { grid-template-columns: 32px 1fr; gap: 12px; }
  .flow__num { width: 32px; height: 32px; }
  .about-band__head { gap: 16px; }
  .platform-card__watermark { font-size: 8rem; }
}
