/* Brand Electrify component stylesheet.
   Load after tokens.css. Every colour, space, radius and duration comes from a token.
   Source: DESIGN.md v1.3. */

:root {
  /* Composed from tokens */
  --be-gutter: clamp(var(--gutter-mobile), 4.5vw, var(--gutter-desktop));
  --be-corner: var(--radius-editorial-corner) var(--radius-none) var(--radius-none) var(--radius-none);
  --be-sans: "Space Grotesk", Arial, sans-serif;
  --be-serif: "Source Serif 4", Georgia, serif;
  /* Asset hook: point this at your deployed copy of the canonical Gamosa SVG */
  --be-gamosa-url: url("/_blob/1692edcc3daf70cc850cd42ec839db43");
}

/* ---------- Base ---------- */
.be-page, .be-page *, .be-page *::before, .be-page *::after { box-sizing: border-box; }
.be-page { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--be-sans); overflow-x: clip; -webkit-tap-highlight-color: transparent; }
.be-page a { color: inherit; text-decoration: none; }
.be-page button { font: inherit; color: inherit; }
.be-page button.button, .be-page button.text-link { font-size: 12px; font-weight: 700; line-height: 1; }
.be-page img, .be-page svg { display: block; max-width: 100%; }
.be-page [hidden] { display: none !important; }
.be-page :focus-visible { outline: var(--focus-ring-width) solid var(--primary); outline-offset: var(--focus-ring-offset); }
.be-on-coral :focus-visible { outline-color: var(--ink); }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 16px; background: var(--surface); border: 1px solid var(--ink); border-radius: var(--be-corner); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transform: translateY(-180%); transition: transform var(--duration-button) var(--ease-standard); }
.skip-link:focus { transform: none; background: var(--primary); color: var(--ink); }

/* ---------- Icons ---------- */
.ui-arrow { display: inline-block; vertical-align: middle; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; pointer-events: none; transition: transform .25s var(--ease-standard); }
.ui-arrow path { vector-effect: non-scaling-stroke; }
/* UI icons: hairline outline SVGs only (1px stroke, currentColor, round caps). Never text glyphs such as × or →. */
.ui-icon { display: inline-block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; pointer-events: none; }
.ui-icon path { vector-effect: non-scaling-stroke; }
.hairline-icon { display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1px; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; flex-shrink: 0; }

/* ---------- Type helpers ---------- */
.eyebrow { margin: 0 0 16px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.support { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.42; letter-spacing: -.025em; }
.editorial-aside { font: italic clamp(21px, 2.25vw, 34px)/1.18 var(--be-serif); }

/* ---------- Button (DESIGN.md: label-caps, padding 14px, editorial corner) ---------- */
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 26px; padding: var(--button-padding); border: 1px solid var(--ink); border-radius: var(--be-corner); font-family: var(--be-sans); font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform var(--duration-button) var(--ease-standard), background var(--duration-button) var(--ease-standard), color var(--duration-button) var(--ease-standard), border-color var(--duration-button) var(--ease-standard); }
.button.primary { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.button.secondary { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.button:active { transform: scale(.98); background: var(--primary); color: var(--ink); border-color: var(--ink); }
/* Primary on ink surfaces: coral with ink text (5.58:1), hovering to white. */
.section.dark .button.primary, .mobile-menu .button.primary, .footer .button.primary, .on-dark .button.primary { background: var(--primary); color: var(--ink); border-color: var(--primary); }
.section.dark .button.primary:active, .mobile-menu .button.primary:active, .footer .button.primary:active, .on-dark .button.primary:active { background: var(--surface); color: var(--ink); border-color: var(--surface); }
.button[disabled], .button.is-disabled { opacity: .45; pointer-events: none; cursor: not-allowed; }
.header-cta { justify-self: end; white-space: nowrap; }
@media (hover: hover) {
  .button:hover { transform: translateY(calc(-1 * var(--distance-button-lift))); background: var(--primary); color: var(--ink); border-color: var(--ink); }
  .button:hover .ui-arrow:not(.ui-arrow-down):not(.ui-arrow-left) { transform: translateX(5px); }
  .button:hover .ui-arrow-down { transform: translateY(5px); }
  .section.dark .button.primary:hover, .mobile-menu .button.primary:hover, .footer .button.primary:hover, .on-dark .button.primary:hover { background: var(--surface); color: var(--ink); border-color: var(--surface); }
}

/* Text link with arrow (minimal header, quiz back, review answers) */
.text-link { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0 8px 4px; background: transparent; border: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); cursor: pointer; transition: color var(--duration-button) var(--ease-standard); }
.text-link { position: relative; }
.text-link::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; bottom: -6px; } /* 44px tap area, no layout change */
.text-link > span { position: relative; }
.text-link > span::after { content: ""; position: absolute; left: 0; right: .08em; bottom: -6px; height: 1px; background: var(--primary); transform: scaleX(0); transform-origin: right center; transition: transform var(--duration-underline) var(--ease-in-out); pointer-events: none; }
.text-link:focus-visible > span::after { transform: scaleX(1); transform-origin: left center; }
.text-link.is-coral .ui-arrow { color: var(--primary); }
.text-link[disabled] { opacity: .3; pointer-events: none; }
@media (hover: hover) {
  .text-link:hover > span::after { transform: scaleX(1); transform-origin: left center; }
  .text-link:hover .ui-arrow-left { transform: translateX(-4px); }
  .text-link:hover .ui-arrow:not(.ui-arrow-left) { transform: translateX(4px); }
}

/* ---------- Small signals ---------- */
.divider { display: block; height: var(--rule-weight); border: 0; margin: 0; background: var(--rule); }
/* Status icons: tick, low charge, alert. Hairline, coral, two sizes only (standard 26px, compact 18px). */
.status-icon { display: inline-block; width: var(--icon-size); height: var(--icon-size); fill: none; stroke: var(--primary); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: middle; pointer-events: none; }
.status-icon.compact { width: var(--icon-size-compact); height: var(--icon-size-compact); }
.status-icon * { vector-effect: non-scaling-stroke; }
.si-demo { display: grid; grid-template-columns: auto auto 1fr; gap: 56px; align-items: start; padding: 40px; }
.si-set { display: grid; gap: 18px; }
.si-row { display: flex; gap: 22px; align-items: center; }
.si-cap { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.si-context { gap: 22px; }
@media (max-width: 760px) { .si-demo { grid-template-columns: 1fr; gap: 36px; padding: 28px 20px; } }
.gamosa { height: var(--gamosa-strip-height); margin: 0 0 clamp(44px, 6vw, 82px); background: var(--be-gamosa-url) repeat-x left top / auto var(--gamosa-strip-height); }
@media (max-width: 760px) { .gamosa { height: 25px; background-size: auto 25px; } }

/* ---------- Section shell and metadata ---------- */
.section { padding: var(--space-section) var(--be-gutter); }
.section.paper { background: var(--paper); color: var(--ink); }
.section.white { background: var(--surface); color: var(--ink); }
.section.dark { background: var(--ink); color: var(--surface); }
.section-meta { display: flex; justify-content: space-between; gap: 18px; margin: 0; padding-top: 14px; border-top: 1px solid var(--ink); font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.section.dark .section-meta { border-top-color: var(--rule-on-dark); color: var(--paper); }
.section-title { margin: 0; font-size: clamp(56px, 7.3vw, 105px); font-weight: 700; line-height: .89; letter-spacing: -.075em; }
.section-title .accent, .section-title em { color: var(--primary); font-style: normal; white-space: nowrap; }
.section-action { margin-top: 38px; }
.simple-intro, .work-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 5vw, 80px); align-items: end; margin: clamp(52px, 7vw, 96px) 0; }
.simple-intro p, .work-head p { max-width: 440px; margin: 0; font: clamp(21px, 2.25vw, 34px)/1.18 var(--be-serif); }
.simple-intro:not(:has(p)) h2 { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .section-meta span:nth-child(2) { display: none; }
  .section-title { font-size: clamp(42px, 13vw, 82px); }
  .simple-intro, .work-head { grid-template-columns: 1fr; gap: 28px; margin-block: 48px; }
}

/* Hero meta row (first section only: three items) */
.meta-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.meta-row h1 { margin: 0; font: inherit; letter-spacing: inherit; }
.meta-row > :nth-child(2) { text-align: center; }
.meta-row > :last-child { text-align: right; }
@media (max-width: 760px) {
  .meta-row { grid-template-columns: 1fr; line-height: 1.35; }
  .meta-row > :nth-child(2), .meta-row > :last-child { display: none; }
}

/* ---------- Site header (full) ---------- */
/* Sticky header height, and the clearance an in-page jump leaves below it. */
:root { --be-header-h: 86px; }
html { scroll-padding-top: calc(var(--be-header-h) + var(--space-lg)); }
.site-header { position: sticky; top: 0; z-index: 60; display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; gap: clamp(24px, 3vw, 44px); min-height: 86px; padding: 0 var(--be-gutter); border-bottom: 1px solid var(--rule); background: var(--surface); }
.site-header .brand { width: 150px; }
.site-nav { display: flex; align-self: stretch; align-items: center; gap: clamp(18px, 2.4vw, 38px); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
/* Nav underline: one 1px coral line, exactly the width of the word, 6px below it. On hover it draws in from the left and leaves to the right. */
.site-nav > a, .nav-trigger > span, .nav-dropdown a > span { position: relative; }
.site-nav > a::after, .nav-trigger > span::after, .nav-dropdown a > span::after { content: ""; position: absolute; left: 0; right: .08em; bottom: -6px; height: 1px; background: var(--primary); transform: scaleX(0); transform-origin: right center; transition: transform var(--duration-underline) var(--ease-in-out); pointer-events: none; }
.site-nav > a[aria-current="page"]::after, .nav-item:has([aria-current="page"]) .nav-trigger > span::after, .nav-item.is-open .nav-trigger > span::after, .nav-dropdown a[aria-current="page"] > span::after, .nav-dropdown a:focus-visible > span::after { transform: scaleX(1); transform-origin: left center; }
.nav-item { position: relative; display: inline-flex; align-items: center; height: 100%; }
.nav-trigger { display: inline-flex; align-items: center; gap: 6px; padding: 0; background: transparent; border: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; cursor: pointer; }
.nav-chevron { width: 10px; height: 10px; transition: transform .25s var(--ease-standard); }
.nav-item.is-open .nav-chevron { transform: rotate(180deg); }
.nav-dropdown { position: absolute; top: calc(100% + 8px); left: 0; z-index: 70; display: flex; flex-direction: column; min-width: 230px; padding: 8px 0; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--be-corner); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px); transition: opacity var(--duration-button) var(--ease-standard), transform var(--duration-button) var(--ease-standard), visibility var(--duration-button) var(--ease-standard); }
.nav-dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-item.is-open .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.nav-dropdown a { position: relative; display: block; padding: 10px 18px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

.menu-button { display: none; width: 48px; height: 48px; padding: 12px; border: 1px solid var(--ink); border-radius: var(--be-corner); background: transparent; cursor: pointer; }
.menu-button span { display: block; height: 1px; background: currentColor; }
.menu-button span + span { margin-top: 6px; }
@media (hover: hover) {
  .site-nav > a:hover::after, .nav-trigger:hover > span::after, .nav-dropdown a:hover > span::after { transform: scaleX(1); transform-origin: left center; }
  .menu-button:hover { background: var(--primary); }
}
@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav, .site-header .header-cta { display: none; }
  .menu-button { display: block; }
}
@media (max-width: 760px) { :root { --be-header-h: 70px; } .site-header { min-height: 70px; } .site-header .brand { width: 126px; } }

/* Minimal flow header: logo + Back to site only */
.site-header.minimal { display: flex; justify-content: space-between; }
.site-header .header-actions { display: flex; align-items: center; margin-left: auto; }

/* ---------- Mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-rows: auto 1fr auto; gap: clamp(28px, 7vh, 68px); padding: max(20px, env(safe-area-inset-top)) var(--be-gutter) max(24px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; background: var(--ink); color: var(--surface); }
.mobile-menu.is-inline { position: absolute; inset: 0; min-height: 100%; }
/* Opening: the panel slides down, then links drop in one by one. Closing: links fade, panel slides up. */
.js .mobile-menu { transform: translateY(-100%); transition: transform var(--duration-menu) var(--ease-in-out); }
.js .mobile-menu.is-open { transform: none; }
.js .mobile-menu .mobile-links > *, .js .mobile-menu .mobile-footer { opacity: 0; transform: translateY(-16px); transition: opacity .15s var(--ease-in-out), transform .15s var(--ease-in-out); }
.js .mobile-menu.is-open .mobile-links > *, .js .mobile-menu.is-open .mobile-footer { opacity: 1; transform: none; transition: opacity .4s var(--ease-standard), transform .4s var(--ease-standard); transition-delay: calc(.2s + var(--i, 0) * .05s); }
.js .mobile-menu.is-closing { transition-delay: .1s; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mobile-menu-brand { margin: 0; max-width: 280px; font-size: 12px; font-weight: 700; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; }
.menu-close { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; flex-shrink: 0; border: 1px solid var(--surface); border-radius: var(--be-corner); background: transparent; color: var(--surface); cursor: pointer; transition: background var(--duration-button) var(--ease-standard), color var(--duration-button), border-color var(--duration-button); }
.mobile-links { display: grid; align-content: center; }
.mobile-links > * + * { border-top: 1px solid var(--rule-on-dark); }
body.menu-open { overflow: hidden; }
.mobile-links a[aria-current="page"], .mobile-sublinks a[aria-current="page"] { color: var(--primary); }
/* Mobile menu lines: the grey divider below a link turns coral. On hover it draws in from the left and leaves to the right; for the current page it stays drawn. */
.mobile-links > *, .mobile-sublinks a { position: relative; }
.mobile-links > a::after, .mobile-sublinks a::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--primary); transform: scaleX(0); transform-origin: right center; transition: transform var(--duration-underline) var(--ease-in-out); pointer-events: none; }
.mobile-links > a[aria-current="page"]::after, .mobile-sublinks a[aria-current="page"]::after, .mobile-links > a:focus-visible::after, .mobile-sublinks a:focus-visible::after { transform: scaleX(1); transform-origin: left center; }
.mobile-sublinks a + a { border-top: 1px solid var(--rule-on-dark); }
.mobile-links a, .mobile-menu .mobile-accordion-trigger { display: block; padding: clamp(12px, 2vh, 20px) 0; font-size: clamp(34px, 8.5vw, 62px); font-weight: 700; line-height: 1.15; letter-spacing: -.045em; }
.mobile-menu .mobile-accordion-trigger { font-family: var(--be-sans); width: 100%; display: flex; align-items: center; justify-content: space-between; background: transparent; border: 0; color: var(--surface); text-align: left; cursor: pointer; }
.mobile-chevron { width: clamp(20px, 4.5vw, 30px); height: clamp(20px, 4.5vw, 30px); transition: transform .25s var(--ease-standard); }
.mobile-accordion.is-open .mobile-chevron { transform: rotate(180deg); }
.mobile-sublinks { display: grid; padding: 0 0 clamp(10px, 1.8vh, 18px) clamp(20px, 4.5vw, 34px); }
.mobile-sublinks a { padding: clamp(8px, 1.4vh, 13px) 0; font-size: clamp(19px, 4.8vw, 30px); font-weight: 600; line-height: 1.25; letter-spacing: -.025em; color: var(--paper); }
.mobile-footer { display: grid; gap: 14px; }
.mobile-footer small { color: var(--paper); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
@media (hover: hover) {
  .mobile-links a:hover, .mobile-accordion-trigger:hover, .mobile-accordion.is-open .mobile-accordion-trigger, .mobile-sublinks a:hover { color: var(--primary); }
  .mobile-links > a:hover::after, .mobile-sublinks a:hover::after { transform: scaleX(1); transform-origin: left center; }
  .menu-close:hover { background: var(--primary); color: var(--ink); border-color: var(--primary); }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--surface); }
.footer-main { padding: 68px var(--be-gutter) 60px; }
/* Columns size to their content and the free space is shared equally between them,
   so the visible gap between every pair of blocks is the same. */
.footer-top { display: grid; grid-template-columns: minmax(0, 380px) auto auto auto; justify-content: space-between; column-gap: clamp(40px, 5vw, 96px); row-gap: 48px; align-items: start; }
.footer .brand { display: inline-block; width: 240px; }
.footer-message { max-width: 380px; margin: 28px 0 0; font: 400 clamp(19px, 1.6vw, 22px)/1.35 var(--be-serif); color: var(--paper); }
.footer-location { max-width: 380px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--rule-on-dark); font-size: 14px; line-height: 1.5; color: var(--paper); }
.footer-social { justify-self: start; }
@media (max-width: 1100px) and (min-width: 761px) {
  .footer-top { grid-template-columns: auto auto auto; }
  .footer-brand { grid-column: 1 / -1; }
}
.footer-column { display: grid; align-content: start; gap: 11px; }
.footer-column strong { margin-bottom: 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.footer-column > a, .legal a { position: relative; justify-self: start; font-size: 14px; color: var(--paper); }
/* Footer link hover: the header's line. Text stays paper; a 1px coral line the width of the words draws in from the left and leaves to the right. */
.footer-column > a::after, .legal a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--primary); transform: scaleX(0); transform-origin: right center; transition: transform var(--duration-underline) var(--ease-in-out); pointer-events: none; }
/* The footer logo is a link but not a text link: no underline (fixed 2026-10-14) */
.footer .footer-brand > a.brand::after { content: none; }
.footer-column > a:focus-visible::after, .legal a:focus-visible::after, .footer-column > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left center; }
.social-links { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.social-link { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--surface); border-radius: var(--be-corner); color: var(--surface); transition: transform var(--duration-button) var(--ease-standard), background var(--duration-button), color var(--duration-button), border-color var(--duration-button); }
.social-link svg { width: 19px; height: 19px; fill: currentColor; }
.footer-bottom { display: flex; justify-content: space-between; gap: 28px; padding: 22px var(--be-gutter); border-top: 1px solid var(--rule-on-dark); color: var(--paper); font-size: 14px; }
.legal { display: flex; flex-wrap: wrap; gap: 12px 18px; }
@media (hover: hover) {
  .footer-column > a:hover::after, .legal a:hover::after { transform: scaleX(1); transform-origin: left center; }
  /* Scoped to .footer .footer-column so it outranks the footer link hover (coral text), which hid the icon on the coral fill. */
  .footer .footer-column .social-link:hover { transform: translateY(-2px); background: var(--primary); color: var(--ink); border-color: var(--primary); }
}
@media (max-width: 760px) {
  .footer-main { padding: 48px var(--be-gutter) 36px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer .brand { width: 200px; }
  .footer-social { justify-self: start; }
  .footer-bottom { display: grid; gap: 12px; }
}

/* ---------- Homepage hero ---------- */
.hero { position: relative; min-height: min(860px, calc(100svh - 86px)); padding: 30px var(--be-gutter) 0; overflow: hidden; }
.hero-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 29%); gap: 20px; padding-top: clamp(44px, 6vw, 88px); }
.hero .hero-title { margin: 0; font-size: clamp(72px, 8.3vw, 152px); font-weight: 700; line-height: .91; letter-spacing: -.077em; }
.headline-sentence { display: block; overflow: hidden; }
.headline-sentence + .headline-sentence { margin-top: .04em; }
.headline-inner { display: block; }
.hero .hero-title em { color: var(--primary); font-style: normal; }
.motion-capable .headline-inner { animation: be-headline-in var(--duration-headline-beat) var(--ease-standard) both; }
.motion-capable .headline-sentence:nth-child(2) .headline-inner { animation-delay: var(--delay-headline-second-beat); }
.hero-aside { display: flex; min-height: 510px; flex-direction: column; justify-content: space-between; padding: 6px 0 30px 25px; }
.aside-caption { max-width: 240px; margin: 0 0 0 auto; font: italic clamp(18px, 1.6vw, 25px)/1.18 var(--be-serif); }
.hero-bottom { display: grid; grid-template-columns: 1.15fr .85fr; gap: 7vw; align-items: end; margin-top: 56px; padding: 25px 0 52px; border-top: 1px solid var(--rule); }
.hero-bottom p { max-width: 570px; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
@media (max-width: 1050px) {
  .hero-main { grid-template-columns: minmax(0, 1fr) minmax(180px, 25%); }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
}
/* The promise never leaves one word alone on a line. */
.hero .headline-inner { text-wrap: balance; }
/* Tablet: the headline takes the full width; monogram and caption sit in a row beneath it; the meta row shows only the H1 keyword. */
@media (min-width: 761px) and (max-width: 1100px) {
  .meta-row { grid-template-columns: 1fr; }
  .meta-row > :nth-child(2), .meta-row > :last-child { display: none; }
  .hero-main { display: block; }
  .hero-aside { min-height: 0; display: grid; grid-template-columns: 1fr 200px; align-items: end; gap: 24px; padding: 44px 0 0; }
  .hero-aside .monogram { grid-column: 2; width: 200px; }
  .aside-caption { grid-column: 1; grid-row: 1; margin: 0; }
}
@media (max-width: 760px) {
  .hero { min-height: 0; padding-top: 20px; }
  .hero-main { display: block; padding-top: 48px; }
  .hero .hero-title { font-size: clamp(42px, 13.4vw, 78px); line-height: .93; }
  .hero-aside { min-height: 0; display: grid; grid-template-columns: 1fr 140px; align-items: end; gap: 18px; padding: 34px 0 0; }
  .hero-aside .monogram { grid-column: 2; width: 140px; }
  .aside-caption { grid-column: 1; grid-row: 1; margin: 0; font-size: 18px; }
  .hero-bottom { margin-top: 35px; padding-bottom: 34px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
}

/* ---------- Monogram loop ---------- */
.monogram { width: min(21vw, 290px); align-self: flex-end; overflow: visible; }
.monogram path, .monogram circle { fill: none; stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 0; }
.monogram .ink { stroke: var(--ink); }
.monogram .red { stroke: var(--primary); }
.motion-capable .monogram .bolt { animation: be-draw-bolt var(--cycle-monogram-loop) .2s linear infinite both; }
.motion-capable .monogram .top { animation: be-draw-top var(--cycle-monogram-loop) .2s linear infinite both; }
.motion-capable .monogram .circle { animation: be-draw-circle var(--cycle-monogram-loop) .2s linear infinite both; }
.motion-capable .monogram .lower { animation: be-draw-lower var(--cycle-monogram-loop) .2s linear infinite both; }
.motion-capable [data-loop-zone]:not(.is-visible) .monogram *, .motion-capable [data-loop-zone]:not(.is-visible) .spark-fill { animation-play-state: paused; }

/* ---------- Spark and signature band ---------- */
.spark { overflow: visible; }
.spark polygon { stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.spark .spark-outline { fill: none; stroke: var(--primary); }
.spark .spark-fill { fill: var(--primary); stroke: var(--primary); }
.spark.on-coral .spark-outline, .spark.on-dark .spark-outline { stroke: var(--surface); }
.spark.on-coral .spark-fill, .spark.on-dark .spark-fill { fill: var(--surface); stroke: var(--surface); }
.motion-capable .spark .spark-fill { animation: be-spark-charge var(--cycle-spark-loop) 1.55s linear infinite both; }
.signature { --signature-type: clamp(42px, 6.4vw, 82px); display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; min-height: 190px; padding: 48px var(--be-gutter); background: var(--primary); color: var(--surface); }
.signature .spark { height: calc(var(--signature-type) * 1.82); width: auto; }
.signature-copy { font-size: var(--signature-type); font-weight: 700; line-height: .96; letter-spacing: -.065em; text-transform: uppercase; }
@media (max-width: 760px) { .signature { --signature-type: clamp(30px, 7vw, 48px); gap: 17px; min-height: 115px; padding-block: 32px; } .signature-copy { letter-spacing: -.04em; } }

/* ---------- Point of view + regional chorus ---------- */
.point-grid { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: clamp(55px, 8vw, 130px); align-items: center; }
.point-copy h2 { margin: 0 0 28px; font-size: clamp(45px, 5vw, 78px); line-height: .96; letter-spacing: -.06em; }
.point-copy p { margin: 0; }
.regional-stage { position: relative; min-height: clamp(190px, 20vw, 300px); display: grid; align-items: center; border-block: 1px solid var(--ink); overflow: hidden; touch-action: pan-y; }
.regional-line { grid-area: 1 / 1; display: grid; visibility: hidden; opacity: 0; transform: translateY(70%); pointer-events: none; }
.regional-line.is-active { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
.regional-line.is-leaving { visibility: visible; animation: be-language-out var(--duration-regional) var(--ease-standard) both; }
.regional-line.is-entering { visibility: visible; animation: be-language-in var(--duration-regional) var(--ease-standard) both; }
.regional-line p { margin: 0; font-size: clamp(39px, 5vw, 74px); font-weight: 600; line-height: 1.22; letter-spacing: -.035em; }
.regional-line p span:last-child { color: var(--primary); }
.regional-line p span { white-space: nowrap; }
.regional-line[lang="en"] p { font-family: var(--be-sans); }
.regional-line[lang="hi"] p, .regional-line[lang="mr"] p { font-family: "Anek Devanagari", sans-serif; }
.regional-line[lang="as"] p { font-family: "Anek Bangla", sans-serif; }
.visually-hidden, .regional-accessible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html:not(.js) .regional-stage { gap: 20px; padding: 24px 0; overflow: visible; }
html:not(.js) .regional-line { visibility: visible; opacity: 1; transform: none; grid-area: auto; }
@media (max-width: 1050px) { .point-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .point-copy h2 { font-size: clamp(43px, 12vw, 62px); }
  .regional-stage { min-height: 158px; }
  .regional-line p { font-size: clamp(31px, 9vw, 48px); line-height: 1.45; }
  .regional-line p span { display: block; white-space: normal; }
}

/* ---------- Approach: capability list ---------- */
.approach-head { display: grid; grid-template-columns: 1fr auto; gap: clamp(36px, 5vw, 80px); align-items: center; margin: clamp(52px, 7vw, 96px) 0; }
.approach-graphic { justify-self: end; width: clamp(220px, 26vw, 360px); }
.approach-graphic img { width: 100%; height: auto; }
.capability-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid currentColor; }
.capability { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(260px, .87fr); gap: clamp(32px, 5vw, 64px); align-items: center; min-height: 140px; border-bottom: 1px solid currentColor; }
.capability h3 { margin: 0; font-size: clamp(31px, 3.5vw, 54px); line-height: .98; letter-spacing: -.06em; }
.capability p { margin: 0; max-width: clamp(360px, 32vw, 480px); font-size: clamp(17px, 1.4vw, 21px); line-height: 1.45; }
@media (max-width: 760px) {
  .approach-head { grid-template-columns: 1fr; gap: 28px; margin-block: 48px; }
  .approach-head .section-title { font-size: clamp(40px, 11vw, 72px); }
  .approach-graphic { justify-self: start; width: min(240px, 65vw); }
  .capability { grid-template-columns: 1fr; gap: 12px; min-height: 145px; padding: 22px 0; }
}

/* ---------- Carousels (shared) ---------- */
.carousel-nav { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 28px; }
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls button { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--ink); border-radius: var(--be-corner); background: transparent; color: var(--ink); cursor: pointer; transition: transform var(--duration-button) var(--ease-standard), background var(--duration-button), color var(--duration-button); }
.carousel-controls button:active { transform: scale(.95); background: var(--primary); }
.carousel-dots { display: flex; align-items: flex-end; margin-right: -10px; }
.carousel-dot { position: relative; width: 28px; height: 48px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.carousel-dot::after { position: absolute; content: ""; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--rule); bottom: 0; left: 10px; transition: background var(--duration-button), transform var(--duration-button); }
.carousel-dot[aria-current="true"]::after { background: var(--ink); transform: scale(1.15); }
@media (hover: hover) {
  .carousel-controls button:hover { transform: translateY(-2px); background: var(--primary); color: var(--ink); }
  .carousel-controls button:hover .ui-arrow-left { transform: translateX(-4px); }
  .carousel-controls button:hover .ui-arrow:not(.ui-arrow-left) { transform: translateX(4px); }
  .carousel-dot:hover::after { background: var(--primary); transform: scale(1.2); }
  .project-panel h3 a:hover { color: var(--primary); }
}

/* Selected work */
.work-shell { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); column-gap: clamp(36px, 5vw, 80px); align-items: stretch; }
.project-stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); touch-action: pan-y; }
.project-slide { position: absolute; inset: 0; display: grid; place-items: center; visibility: hidden; opacity: 0; transform: translateX(calc(var(--from, 1) * 6%)); transition: opacity var(--duration-project) var(--ease-in-out), transform var(--duration-project) var(--ease-in-out), visibility 0s linear var(--duration-project); }
.project-slide.is-leaving { transform: translateX(calc(var(--to, -1) * 6%)); }
.project-slide.is-active { visibility: visible; opacity: 1; transform: none; transition: opacity var(--duration-project) var(--ease-in-out), transform var(--duration-project) var(--ease-in-out), visibility 0s; }
.project-slide img { width: 100%; height: 100%; object-fit: contain; }
.project-slide { cursor: pointer; }
.project-panel h3 a { color: inherit; transition: color var(--duration-button) var(--ease-standard); }
.placeholder-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.project-panel { display: flex; flex-direction: column; padding: 30px 0; border-block: 1px solid var(--ink); }
.project-panel h3 { margin: 0; font-size: clamp(50px, 5vw, 78px); line-height: .92; letter-spacing: -.07em; }
.project-location { margin: 12px 0 34px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.project-copy { margin: 0; padding: 22px 0; border-top: 1px solid var(--rule); font-size: clamp(17px, 1.5vw, 22px); line-height: 1.4; }
/* Every project's words share one space, as the testimonial quotes do, so the panel
   is always as tall as the tallest project and the section never changes height. */
.project-info { display: grid; }
.project-text { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translateY(8px); }
.project-text.is-active { visibility: visible; opacity: 1; transform: none; transition: opacity var(--duration-testimonial) var(--ease-standard), transform var(--duration-testimonial) var(--ease-standard); }
@media (prefers-reduced-motion: reduce) { .project-text.is-active { transition: none; } }
@media (max-width: 1050px) { .work-shell { grid-template-columns: 1fr; } .project-panel { border-top: 0; } }

/* Testimonials */
.testimonial-stage { display: grid; padding: clamp(48px, 6vw, 84px) 0; border-block: 1px solid var(--ink); touch-action: pan-y; }
.testimonial-slide { margin: 0; grid-area: 1 / 1; display: grid; gap: clamp(30px, 4vw, 52px); align-content: start; visibility: hidden; opacity: 0; transform: translateY(var(--distance-testimonial)); transition: opacity .3s var(--ease-in-out), transform .3s var(--ease-in-out), visibility 0s linear .3s; }
.testimonial-slide.is-active { visibility: visible; opacity: 1; transform: none; transition: opacity var(--duration-testimonial) var(--ease-standard) .25s, transform var(--duration-testimonial) var(--ease-standard) .25s, visibility 0s; }
.testimonial-slide blockquote { margin: 0; font: clamp(31px, 4.2vw, 61px)/1.12 var(--be-serif); letter-spacing: -.035em; }
.client-identity { display: grid; gap: 10px; }
.client-logo { width: 180px; height: 64px; display: flex; align-items: center; }
.client-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; object-position: left center; }
.client-identity p { margin: 0; }
html:not(.js) .testimonial-slide { grid-area: auto; visibility: visible; opacity: 1; transform: none; gap: 32px; padding-block: 30px; border-bottom: 1px solid var(--rule); }
@media (max-width: 760px) { .client-logo { width: 150px; height: 56px; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr); gap: clamp(50px, 8vw, 120px); margin-top: clamp(50px, 7vw, 94px); }
.about-artwork img { width: 100%; height: auto; object-fit: contain; }
.about-copy { display: flex; flex-direction: column; justify-content: space-between; }
.about-copy h2 { margin: 0 0 34px; font-size: clamp(52px, 6.4vw, 101px); line-height: .91; letter-spacing: -.07em; }
.about-bottom { display: grid; justify-items: start; gap: 24px; }
.market-row { margin: 0; padding-top: 20px; border-top: 1px solid var(--ink); color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } .about-copy { gap: 48px; } }

/* ---------- Audience list ---------- */
.audience-list { margin-top: clamp(48px, 7vw, 90px); border-top: 1px solid currentColor; }
.audience-row { display: grid; grid-template-columns: 1fr 28px; align-items: center; min-height: 134px; border-bottom: 1px solid currentColor; transition: color var(--duration-button), padding .25s var(--ease-standard); }
.audience-row strong { padding-right: 30px; font-size: clamp(33px, 4vw, 61px); letter-spacing: -.055em; }
.audience-row .ui-arrow { width: 18px; height: 18px; justify-self: end; }
.audience-note { max-width: 980px; margin: 55px 0 0; font-size: 17px; line-height: 1.5; }
.section.dark .audience-note { color: var(--paper); }
@media (hover: hover) { .audience-row:hover { padding-inline: 12px; color: var(--primary); } .audience-row:hover .ui-arrow { transform: translateX(6px); } }
@media (max-width: 760px) { .audience-row { min-height: 112px; } }

/* ---------- Closing CTA + contact options ---------- */
.closing-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 5vw, 80px); align-items: end; margin-top: clamp(50px, 7vw, 90px); }
.closing-grid h2 { margin: 0; font-size: clamp(60px, 7.2vw, 105px); line-height: .9; letter-spacing: -.075em; }
.closing-grid p { margin: 24px 0 0; }
.closing-actions { display: grid; gap: 20px; }
.contact-options { display: grid; grid-template-columns: 1fr; border: 1px solid var(--ink); }
.contact-option { display: flex; align-items: center; gap: 13px; min-height: 70px; padding: 12px; transition: background var(--duration-button) var(--ease-standard); }
.contact-email { border-bottom: 1px solid var(--ink); }
.contact-icon { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--ink); border-radius: var(--be-corner); transition: background var(--duration-button), color var(--duration-button); }
.contact-option > span:last-child { min-width: 0; overflow-wrap: anywhere; font-size: 14px; font-weight: 700; }
@media (hover: hover) { .contact-option:hover { background: var(--paper); } .contact-option:hover .contact-icon { background: var(--primary); color: var(--ink); } }
@media (max-width: 760px) { .closing-grid { grid-template-columns: 1fr; gap: 28px; margin: 48px 0 0; } .closing-grid h2 { font-size: clamp(54px, 13vw, 78px); } }
/* The closing headline never grows past what its longest word can take, so no page scrolls sideways
   on a small phone. Same mechanism as .fit-title below: the clamp sets the size, the min() caps it at
   the column width divided by the word's measure. --word is the character count of the longest word;
   the default, 13, covers every approved closing headline ("conversation."). A page whose headline has
   a longer word sets --word on its own h2. The cap only bites under about 390px. */
@media (max-width: 760px) { .closing-grid h2 { font-size: min(clamp(54px, 13vw, 78px), calc((100vw - 2 * var(--be-gutter)) / (var(--word, 13) * .48))); } }

/* ---------- Fit assessment: flow hero ---------- */
.flow-hero { display: flex; flex-direction: column; justify-content: space-between; padding: 30px var(--be-gutter) 0; }
.flow-hero .hero-main { grid-template-columns: minmax(0, 1.35fr) minmax(280px, auto); gap: clamp(40px, 6vw, 90px); padding-top: clamp(44px, 5.5vw, 84px); align-items: start; }
.flow-hero .hero-title { margin: 0; font-size: clamp(52px, 7.6vw, 126px); font-weight: 700; line-height: .91; letter-spacing: -.076em; }
.spark-card { display: flex; flex-direction: column; justify-content: space-between; width: 100%; max-width: 320px; margin-left: auto; }
.spark-card .spark { width: clamp(74px, 8.2vw, 112px); height: auto; aspect-ratio: 90.05 / 146.13; flex-shrink: 0; }
.aside-note { margin: 28px 0 0; font-family: var(--be-serif); font-style: italic; font-size: clamp(19px, 1.8vw, 27px); line-height: 1.22; }
.aside-note span { display: block; }
.flow-hero .hero-bottom { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: clamp(32px, 5vw, 68px); margin-top: clamp(48px, 6vw, 76px); padding: 30px 0 clamp(36px, 5vw, 56px); }
.currents { display: grid; gap: 16px; }
.flow-hero .currents-lead { margin: 0; font-size: clamp(17px, 1.5vw, 22px); font-weight: 500; line-height: 1.35; letter-spacing: -.02em; }
.flow-hero .journey-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px clamp(8px, 1.2vw, 16px); margin: 0; font-size: clamp(12px, 1.1vw, 15px); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.journey-flow .flow-step { display: inline-flex; align-items: center; gap: clamp(8px, 1.2vw, 16px); white-space: nowrap; }
.journey-flow .flow-arrow { color: var(--primary); width: 1.1em; height: 1.1em; }
@media (max-width: 1120px) { .flow-hero .hero-main, .flow-hero .hero-bottom { grid-template-columns: 1fr; } .flow-hero .hero-main { display: grid; row-gap: 40px; } .spark-card { max-width: none; margin-left: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 32px; } .aside-note { margin: 0; } .flow-hero .hero-bottom { align-items: start; } .flow-hero .hero-actions { justify-content: flex-start; } }
@media (max-width: 760px) { .flow-hero .hero-title { font-size: clamp(44px, 12.8vw, 72px); line-height: .93; } .flow-hero .hero-main { display: grid; row-gap: 32px; padding-top: 32px; } .spark-card { flex-direction: column; align-items: flex-start; gap: 18px; } .spark-card .spark { width: 60px; } .aside-note { font-size: 18px; } }

/* ---------- Quiz step ---------- */
.progress-hairline { position: relative; width: 100%; height: 1px; background: var(--rule); overflow: hidden; }
.progress-hairline-fill { position: absolute; top: 0; left: 0; height: 100%; background: var(--primary); transition: width .35s var(--ease-standard); }
.quiz-meta { padding-top: 16px; margin-bottom: clamp(32px, 4.5vw, 60px); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.quiz-meta b { color: var(--ink); }
.quiz-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 1.25fr); gap: clamp(48px, 7vw, 110px); align-items: start; }
.signal-lead { display: flex; flex-direction: column; gap: clamp(20px, 2.5vw, 32px); }
.big-step-lockup { display: flex; align-items: baseline; gap: clamp(12px, 1.5vw, 20px); }
.big-step-num { font-size: clamp(68px, 8.8vw, 128px); font-weight: 700; line-height: .86; letter-spacing: -.08em; }
.big-step-name { font-size: clamp(20px, 2.6vw, 36px); font-weight: 700; line-height: 1; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.metaphor-headline { margin: 0; font: italic clamp(26px, 3.2vw, 44px)/1.12 var(--be-serif); letter-spacing: -.03em; }
.signal-triad { margin: 0; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.signal-summary { margin: 0; font: italic 17px/1.38 var(--be-serif); color: var(--muted); }
.real-question { margin: 0 0 clamp(28px, 3.5vw, 42px); font-size: clamp(24px, 2.7vw, 32px); font-weight: 700; line-height: 1.1; letter-spacing: -.04em; }
.quiz-options { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.quiz-option { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 18px; align-items: start; min-height: 68px; padding: clamp(18px, 2.2vw, 24px) 8px; border-bottom: 1px solid var(--rule); cursor: pointer; transition: border-color var(--duration-button) var(--ease-standard); }
.quiz-option input, .check input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.radio-marker { width: 20px; height: 20px; margin-top: 2px; border: 1.5px solid var(--ink); border-radius: var(--radius-full); display: grid; place-items: center; flex-shrink: 0; transition: border-color var(--duration-button); }
.radio-marker::after { content: ""; width: 10px; height: 10px; border-radius: var(--radius-full); background: var(--primary); opacity: 0; transform: scale(.5); transition: opacity var(--duration-button), transform var(--duration-button); }
.quiz-option-text { font-size: clamp(15px, 1.35vw, 18px); line-height: 1.42; }
.quiz-option:has(input:checked) { border-bottom-color: var(--primary); }
.quiz-option:has(input:checked) .radio-marker { border-color: var(--primary); }
@media (hover: hover) { .quiz-option:hover { border-bottom-color: var(--primary); } .quiz-option:hover .radio-marker { border-color: var(--primary); } }
.quiz-option:has(input:checked) .radio-marker::after { opacity: 1; transform: scale(1); }
.quiz-option:has(input:focus-visible) .radio-marker { outline: var(--focus-ring-width) solid var(--primary); outline-offset: 3px; }
.quiz-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 1120px) { .quiz-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ---------- Charge result and Spark meter ---------- */
.result-billboard { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 24px; padding: clamp(24px, 3.5vw, 44px) 0 clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--rule); }
.result-level-title { margin: 0; font-size: clamp(52px, 8.5vw, 105px); font-weight: 700; line-height: .88; letter-spacing: -.06em; text-transform: uppercase; color: var(--primary); }
.result-score { display: flex; align-items: baseline; gap: 8px; margin: 0; font-weight: 700; }
.result-score-val { font-size: clamp(48px, 7.5vw, 104px); line-height: .88; letter-spacing: -.06em; }
.result-score-total { font-size: clamp(18px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.02em; color: var(--muted); }
.result-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 1.2fr); gap: clamp(48px, 7vw, 110px); padding-top: clamp(36px, 5vw, 64px); align-items: start; }
.vessel-lockup { display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); padding-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--rule); }
.spark-meter { width: clamp(74px, 7.5vw, 108px); aspect-ratio: 90.05 / 146.13; flex-shrink: 0; }
.spark-meter.is-small { width: 34px; }
.spark-meter svg { width: 100%; height: 100%; overflow: visible; }
.spark-meter .meter-outline { fill: none; stroke: var(--primary); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.spark-meter .meter-fill { fill: var(--primary); clip-path: inset(calc(100% - var(--charge, 0%)) 0 0 0); transition: clip-path 1.2s var(--ease-standard); }
.result-level-copy { margin: 0; font: italic clamp(17px, 1.5vw, 22px)/1.32 var(--be-serif); }
.readings-lead { margin: clamp(24px, 3.5vw, 38px) 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.reading-row { display: grid; grid-template-columns: 110px 1fr 65px 80px; gap: 16px; align-items: center; min-height: 48px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.reading-bar { height: 4px; background: var(--soft); overflow: hidden; }
.reading-bar-fill { height: 100%; background: var(--primary); transition: width 1s var(--ease-standard); }
.reading-score { text-align: right; font-variant-numeric: tabular-nums; }
.reading-tag { text-align: right; }
.leak-badge { display: inline-block; padding: 2px 6px; border: 1px solid var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--ink); white-space: nowrap; }
.diagnosis-eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.diagnosis-headline { margin: 0 0 20px; font: italic clamp(26px, 3.2vw, 44px)/1.12 var(--be-serif); letter-spacing: -.03em; }
.diagnosis-prescription { margin: 0 0 24px; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.42; }
.result-transition { margin: clamp(28px, 4vw, 44px) 0 0; padding: 20px 0; border-block: 1px solid var(--rule); font-size: clamp(14px, 1.2vw, 16px); line-height: 1.45; color: var(--muted); }
.result-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(28px, 4vw, 44px); }
@media (max-width: 1120px) { .result-grid { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 760px) {
  .reading-row { grid-template-columns: 1fr auto auto; grid-template-areas: "name score tag" "bar bar bar"; gap: 10px 12px; letter-spacing: .08em; }
  .reading-row > span:first-child { grid-area: name; }
  .reading-row .reading-bar { grid-area: bar; }
  .reading-row .reading-score { grid-area: score; }
  .reading-row .reading-tag { grid-area: tag; }
  .result-actions { flex-direction: column; align-items: stretch; }
  .result-actions .text-link { align-self: flex-start; }
}

/* Scorecard ticket (form) */
.scorecard-ticket { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--be-corner); }
.ticket-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ticket-level { padding: 3px 8px; background: var(--ink); color: var(--surface); }
.ticket-body { display: flex; align-items: center; gap: 20px; }
.ticket-score { display: flex; align-items: baseline; gap: 6px; margin: 0; }
.ticket-score b { font-size: clamp(32px, 3.8vw, 44px); line-height: 1; letter-spacing: -.06em; }
.ticket-score span { font-size: 14px; font-weight: 600; color: var(--muted); }
.ticket-summary { margin: 4px 0 0; font: italic 14px/1.35 var(--be-serif); color: var(--muted); }

/* ---------- Criteria list ---------- */
.criteria-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 84px); align-items: start; padding-top: clamp(48px, 6vw, 84px); }
.criteria-headline-col { display: flex; flex-direction: column; justify-content: space-between; align-self: stretch; gap: clamp(36px, 5vw, 64px); }
.criteria-title { margin: 0; font-size: clamp(42px, 5.2vw, 76px); font-weight: 700; line-height: .95; letter-spacing: -.055em; text-wrap: balance; }
.criteria-graphic { width: clamp(190px, 19vw, 250px); }
.criteria-graphic img { width: 100%; height: auto; }
.nobreak { white-space: nowrap; }
.criteria-list { list-style: none; margin: 0; padding: 0; }
.criteria-item { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 2vw, 26px); align-items: flex-start; padding: clamp(26px, 3.2vw, 42px) 0; border-bottom: 1px solid var(--rule-on-dark); }
.criteria-item .status-icon { margin-top: calc((clamp(20px, 2.2vw, 29px) * 1.35 - var(--icon-size)) / 2); }
.criteria-text { font: 400 clamp(20px, 2.2vw, 29px)/1.35 var(--be-serif); letter-spacing: -.015em; color: var(--paper); }
@media (max-width: 1120px) { .criteria-grid { grid-template-columns: 1fr; gap: 40px; } .criteria-list { border-top: 1px solid var(--rule-on-dark); } }

/* ---------- Form (four steps) ---------- */
.fit-top { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 28px; }
.fit-title { margin: 0; font-size: clamp(36px, 3.75vw, 54px); font-weight: 700; line-height: .98; letter-spacing: -.06em; } /* headline-lg */
.fit-req { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.fit-section:not(.is-stepped) .fit-progress { display: none; }
.fit-form { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 96px); }
.fit-section.is-stepped .fit-form { gap: 0; }
.fit-section.is-stepped .fit-step:not(.is-current) { display: none; }
.fit-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 1.25fr); gap: clamp(48px, 7vw, 110px); align-items: start; }
.fit-rail { display: flex; flex-direction: column; gap: 28px; }
.fit-rail .big-step-name { margin: 0; }
.fit-rail .big-step-name:focus { outline: none; }
.fit-rail .scorecard-ticket { max-width: 420px; }
.fit-body { display: flex; flex-direction: column; gap: 28px; }
.fit-body .form-input, .fit-body .form-select { font-size: 18px; }
/* Every question and field label in the form uses the same serif style */
.fit-body .field-label, .step-legend { font-family: var(--be-serif); font-size: clamp(21px, 1.9vw, 26px); font-weight: 400; line-height: 1.25; letter-spacing: -.015em; }
.fit-body .field-label { margin-bottom: 6px; }
.fit-body .field-label.is-question { margin-bottom: 12px; }
.fit-body .required-star, .fit-body .optional-label { font-family: var(--be-sans); }
.step-group { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.step-group + .step-group { margin-top: 28px; }
.step-legend { padding: 0; margin-bottom: 18px; }
.step-options { border-top: 1px solid var(--ink); }
.step-option { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 16px; align-items: center; min-height: 58px; padding: 14px 6px; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.35; cursor: pointer; transition: border-color var(--duration-button) var(--ease-standard); }
.step-option input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.step-option .radio-marker { margin-top: 0; }
.step-option:has(input:checked) { border-bottom-color: var(--primary); }
.step-option:has(input:checked) .radio-marker { border-color: var(--primary); }
.step-option:has(input:checked) .radio-marker::after { opacity: 1; transform: scale(1); }
.step-option:has(input:focus-visible) .radio-marker { outline: var(--focus-ring-width) solid var(--primary); outline-offset: 3px; }
.step-group.has-error .step-options { border-top-color: var(--primary); }
.fit-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 12px; }
.fit-section:not(.is-stepped) .fit-step:not(:last-of-type) .fit-actions { display: none; }
.fit-protect { display: flex; align-items: center; gap: 12px; margin: 0; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
.fit-section.is-stepped .fit-protect { margin-top: 28px; }
.fit-shield { width: 22px; height: 22px; color: var(--primary); }
.field { display: flex; flex-direction: column; }
.field-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.required-star { margin-left: 3px; font-family: var(--be-sans); font-size: 15px; font-weight: 700; color: var(--primary); }
.optional-label { margin-left: 6px; font-size: 12px; font-weight: 500; color: var(--muted); }
.form-input, .form-select, .form-textarea { width: 100%; padding: 12px 0 10px; border: 0; border-bottom: 1px solid var(--muted); border-radius: var(--radius-none); background: transparent; font-family: var(--be-sans); font-size: 16px; color: var(--ink); transition: border-color .25s var(--ease-standard); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-bottom: 2px solid var(--primary); }
.form-textarea { resize: vertical; min-height: 80px; }
.select-wrap { position: relative; display: flex; align-items: center; }
.form-select { appearance: none; -webkit-appearance: none; padding-right: 32px; cursor: pointer; }
.select-wrap .hairline-icon { position: absolute; right: 4px; width: 14px; height: 14px; pointer-events: none; }
.form-select:invalid { color: var(--muted); }
.form-select option { padding: 10px; color: var(--ink); }
/* Styled open menu where the browser supports it (Chrome, Edge). Others keep the native menu; phones keep the system picker. */
@supports (appearance: base-select) {
  .form-select, .form-select::picker(select) { appearance: base-select; }
  .form-select { display: flex; align-items: center; }
  .form-select::picker-icon { display: none; }
  .form-select::picker(select) { margin-top: 4px; padding: 6px 0; border: 1px solid var(--ink); border-radius: var(--radius-none); font-size: 16px; background: var(--paper); box-shadow: 0 12px 28px rgba(10, 10, 12, .10); }
  .form-select option { min-height: 44px; padding: 10px; font-family: var(--be-sans); font-size: inherit; color: var(--ink); border-bottom: 1px solid var(--rule); }
  .form-select option:last-of-type { border-bottom: 0; }
  .form-select option::checkmark { display: none; }
  .form-select option:disabled { color: var(--muted); }
  .form-select option:not(:disabled):hover, .form-select option:not(:disabled):focus-visible { background: var(--ink); color: var(--paper); outline: none; }
  .form-select option:checked:not(:disabled) { box-shadow: inset 3px 0 0 var(--primary); }
}
.field.has-error .form-input, .field.has-error .form-select, .field.has-error .form-textarea { border-bottom: 2px solid var(--primary); }
.field-error { margin: 6px 0 0; font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.check { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 16px; align-items: start; cursor: pointer; }
.check-box { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 2px; background: var(--surface); border: 1px solid var(--ink); border-radius: var(--radius-none); transition: border-color var(--duration-button); }
.check-box .hairline-icon { width: 14px; height: 14px; color: var(--primary); opacity: 0; transform: scale(.6); transition: opacity var(--duration-button), transform var(--duration-button); }
.check input:checked + .check-box { border-color: var(--primary); }
.check input:checked + .check-box .hairline-icon { opacity: 1; transform: none; }
.check-text { font-size: 14px; line-height: 1.45; }
.form-alert { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--primary); border-radius: var(--be-corner); font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--ink); }
@media (hover: hover) { .step-option:hover { border-bottom-color: var(--primary); } .step-option:hover .radio-marker, .check:hover .check-box { border-color: var(--ink); } }
@media (max-width: 1120px) {
  .fit-step { grid-template-columns: 1fr; gap: 32px; }
  .fit-rail .scorecard-ticket { max-width: none; }
  .fit-rail .scorecard-ticket { flex-direction: row; align-items: center; gap: 12px; padding: 12px 16px; }
  .fit-rail .ticket-header, .fit-rail .ticket-body, .fit-rail .ticket-body > div:not(.spark-meter) { display: contents; }
  .fit-rail .ticket-header > span:first-child { order: 1; margin-right: auto; }
  .fit-rail .ticket-score { order: 2; white-space: nowrap; }
  .fit-rail .ticket-score b { font-size: 28px; }
  .fit-rail .ticket-level { order: 3; }
  .fit-rail .spark-meter, .fit-rail .ticket-summary { display: none; }
}
@media (max-width: 760px) {
  .fit-top { flex-direction: column; gap: 8px; margin-bottom: 22px; }
  .fit-rail { gap: 18px; }
  .fit-rail .big-step-num { font-size: 56px; }
  .fit-step { gap: 28px; }
  .fit-actions { flex-direction: column-reverse; align-items: stretch; }
  .fit-actions .text-link { align-self: flex-start; }
  .fit-actions > span:empty { display: none; }
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: clamp(36px, 4.5vw, 64px); border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); transition: border-color var(--duration-accordion) var(--ease-in-out); }
.faq-item.is-expanded, html:not(.js) .faq-item[open] { border-bottom-color: var(--ink); }
.faq-summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; user-select: none; }
.faq-summary::-webkit-details-marker { display: none; }
.faq-question { font-family: var(--be-serif); font-size: clamp(24px, 1.9vw, 26px); font-weight: 400; line-height: 1.25; letter-spacing: -.015em; transition: color var(--duration-button) var(--ease-standard); }
.faq-item.is-expanded .faq-question, html:not(.js) .faq-item[open] .faq-question { color: var(--primary); } /* 24px minimum keeps coral at large-text contrast (3.34:1) */
.faq-toggle { position: relative; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border: 1px solid var(--ink); border-radius: var(--be-corner); background: var(--surface); transition: background var(--duration-button); }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; background: currentColor; }
.faq-toggle::before { width: 14px; height: 1px; }
.faq-toggle::after { width: 1px; height: 14px; transition: opacity var(--duration-accordion) var(--ease-in-out), transform var(--duration-accordion) var(--ease-in-out); }
.faq-item.is-expanded .faq-toggle::after, html:not(.js) .faq-item[open] .faq-toggle::after { opacity: 0; transform: rotate(90deg); }
.faq-body { padding-bottom: 24px; }
.faq-body p { margin: 0; max-width: 640px; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.55; color: var(--muted); }
@media (hover: hover) { .faq-summary:hover .faq-question { color: var(--primary); } .faq-summary:hover .faq-toggle { background: var(--primary); } }

/* ---------- Receipt: next steps ---------- */
.receipt-hero { padding-top: 30px; }
.receipt-result { padding: 16px 0 clamp(32px, 4vw, 56px); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.receipt-result-label { margin: 0 0 clamp(16px, 2.5vw, 28px); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.receipt-result-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.receipt-result .result-level-title { font-size: clamp(44px, 6vw, 80px); }
.receipt-score { display: flex; align-items: center; gap: 24px; }
.receipt-score .result-score-val { font-size: clamp(40px, 5vw, 72px); }
.receipt-intro { max-width: 900px; padding: clamp(36px, 4.5vw, 64px) 0 clamp(28px, 3.5vw, 48px); }
.receipt-intro h1 { margin: 0 0 16px; font-size: clamp(52px, 7.5vw, 105px); font-weight: 700; line-height: .91; letter-spacing: -.07em; }
.receipt-intro h1 em { font-style: normal; color: var(--primary); }
.receipt-intro .support { margin: 0; color: var(--muted); }
.receipt-intro .support strong { color: var(--ink); }
.split-grid { display: grid; grid-template-columns: minmax(280px, .95fr) minmax(0, 1.05fr); gap: clamp(48px, 7vw, 110px); padding-top: clamp(36px, 4.5vw, 64px); align-items: start; }
.split-grid h2 { margin: 0; font-size: clamp(42px, 5.5vw, 78px); font-weight: 700; line-height: .95; letter-spacing: -.065em; }
.next-steps { list-style: none; margin: 0; padding: 0; }
.next-step { display: grid; grid-template-columns: 56px 1fr; gap: clamp(16px, 2.5vw, 32px); align-items: baseline; padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--rule); }
.next-step-num { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--ink); }
.next-step p { margin: 0; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.35; letter-spacing: -.02em; }
.email-note { margin: 28px 0 0; font: italic clamp(15px, 1.3vw, 18px)/1.45 var(--be-serif); color: var(--muted); }
.wait-lead { margin: 0 0 20px; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.35; letter-spacing: -.02em; }
.wait-body .contact-options { max-width: 520px; }
.wait-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
@media (max-width: 960px) { .split-grid { grid-template-columns: 1fr; gap: 40px; } .next-steps { border-top: 1px solid var(--rule); } }
@media (max-width: 560px) { .wait-body .contact-options { max-width: none; } .wait-actions { flex-direction: column; } .wait-actions .button { width: 100%; } }

/* ---------- Standard scroll-reveal ----------
   Fill mode is backwards, not both: once finished the animation lets go of the element,
   so no leftover transform layer makes hover effects inside it (such as the button lift) flicker. */
.motion-capable.reveal-ready [data-reveal]:not(.is-revealed) > *, .motion-capable.reveal-ready [data-reveal].reveal-self:not(.is-revealed) { opacity: 0; transform: translateY(var(--distance-reveal)); }
.motion-capable.reveal-ready [data-reveal].is-revealed > * { animation: be-section-in var(--duration-reveal) var(--ease-standard) backwards; animation-delay: calc(var(--delay, 0s) + var(--i, 0) * var(--reveal-stagger)); }
.motion-capable.reveal-ready [data-reveal].reveal-self.is-revealed { animation: be-section-in var(--duration-reveal) var(--ease-standard) var(--delay, 0s) backwards; }
@media print { .motion-capable.reveal-ready [data-reveal] > *, .motion-capable.reveal-ready [data-reveal].reveal-self { opacity: 1 !important; transform: none !important; animation: none !important; } }

/* ---------- Keyframes ---------- */
@keyframes be-headline-in { from { opacity: 0; transform: translateY(110%); } to { opacity: 1; transform: none; } }
@keyframes be-section-in { from { opacity: 0; transform: translateY(var(--distance-reveal)); } to { opacity: 1; transform: none; } }
@keyframes be-language-out { to { opacity: 0; transform: translateY(-70%); } }
@keyframes be-language-in { from { opacity: 0; transform: translateY(70%); } to { opacity: 1; transform: none; } }
@keyframes be-draw-bolt { 0% { stroke-dashoffset: 1; } 7%, 85% { stroke-dashoffset: 0; opacity: 1; } 88%, 100% { opacity: 0; stroke-dashoffset: 1; } }
@keyframes be-draw-top { 0%, 5% { stroke-dashoffset: 1; } 11%, 85% { stroke-dashoffset: 0; opacity: 1; } 88%, 100% { opacity: 0; stroke-dashoffset: 1; } }
@keyframes be-draw-circle { 0%, 9% { stroke-dashoffset: 1; } 15%, 85% { stroke-dashoffset: 0; opacity: 1; } 88%, 100% { opacity: 0; stroke-dashoffset: 1; } }
@keyframes be-draw-lower { 0%, 12% { stroke-dashoffset: -1; } 18%, 85% { stroke-dashoffset: 0; opacity: 1; } 88%, 100% { opacity: 0; stroke-dashoffset: -1; } }
@keyframes be-spark-charge { 0% { clip-path: inset(100% 0 0 0); } 21.4%, 78.6% { clip-path: inset(0); opacity: 1; } 82.9% { opacity: 0; } 83%, 100% { clip-path: inset(100% 0 0 0); opacity: 0; } }

/* ---------- Floating WhatsApp ---------- */
.be-page .wa-float { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 75; display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--overlay-edge); border-radius: var(--radius-full); background: var(--overlay-ink); color: var(--surface); animation: be-fade-in .4s var(--ease-standard) .6s both; transition: color var(--duration-button) var(--ease-standard), opacity var(--duration-button) var(--ease-standard), visibility var(--duration-button); }
.be-page .wa-float svg { width: 32px; height: 32px; fill: currentColor; }
.be-page .wa-float:focus-visible { color: var(--primary); }
@media (hover: hover) { .be-page .wa-float:hover { color: var(--primary); } }
@media (min-width: 761px) { .be-page .wa-float { right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); width: 60px; height: 60px; } .be-page .wa-float svg { width: 34px; height: 34px; } }
/* Page end: let the last footer line scroll clear of the button */
.be-page:has(.wa-float) .footer-bottom { padding-bottom: 104px; }
body.menu-open .wa-float { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes be-fade-in { from { opacity: 0; } }
@media print { .be-page .wa-float { display: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .site-nav > a::after, .nav-trigger > span::after, .nav-dropdown a > span::after, .text-link > span::after, .mobile-links > a::after, .mobile-sublinks a::after, .footer-column > a::after, .legal a::after { transition: none; }
  html { scroll-behavior: auto; }
  .be-page *, .be-page *::before, .be-page *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .headline-inner, .monogram *, .spark .spark-fill { animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .regional-stage { gap: 20px; padding: 24px 0; overflow: visible; }
  .regional-line { visibility: visible; opacity: 1; transform: none; grid-area: auto; }
  .spark-meter .meter-fill, .reading-bar-fill { transition: none !important; }
  .js .mobile-menu, .js .mobile-menu .mobile-links > *, .js .mobile-menu .mobile-footer { transform: none; opacity: 1; }
}


/* =====================================================================
   Industry landing page template (Clinics, Real Estate, Restaurants and Cafes)
   Added 2026-10-14. Components: IndustryHero, StakesChat, ServiceGrid,
   JourneyLine, ProofBlock, StartSteps. Reuses SiteHeader, MetaRow,
   GamosaStrip, FAQ, ClosingCTA, SiteFooter and FloatingWhatsApp.
   ===================================================================== */

/* Hero headlines: room for descenders (g, p, y) inside the reveal mask, on every hero */
.hero .headline-sentence { padding-bottom: .14em; margin-bottom: -.14em; }

/* ---------- IndustryHero ---------- */
.hero.industry-hero { min-height: 0; }
.hero.industry-hero .hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 36%);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  padding-top: clamp(44px, 5.5vw, 84px);
}
.hero.industry-hero .hero-title { font-size: clamp(56px, 6.6vw, 112px); }
.hero.industry-hero .hero-title em { color: var(--primary); font-style: normal; }


.hero-media {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--soft);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-media .ph {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-media .ph small { font-weight: 400; letter-spacing: .08em; }
.hero-media::before, .hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top right, transparent calc(50% - .5px), var(--rule) 50%, transparent calc(50% + .5px));
  pointer-events: none;
}
.hero-media::after { transform: scaleX(-1); }
.hero-media .ph { position: relative; z-index: 1; background: var(--soft); padding: 12px 16px; }

/* Image fades in softly once the headline beat has landed */
.motion-capable .hero-media { animation: be-media-in 1s var(--ease-standard) .6s both; }
@keyframes be-media-in { from { opacity: 0; } to { opacity: 1; } }

.hero.industry-hero .hero-bottom { margin-top: clamp(40px, 5vw, 64px); }

/* Tablet: headline full width, image beneath it (homepage order) */
@media (min-width: 761px) and (max-width: 1100px) {
  .hero.industry-hero .hero-main { display: block; }
  .hero.industry-hero .hero-media { width: 100%; margin: 44px 0 0; }
}
/* Phone: meta row, headline, image, support text, buttons */
@media (max-width: 760px) {
  .hero.industry-hero .hero-main { display: block; padding-top: 40px; }
  .hero.industry-hero .hero-title { font-size: clamp(40px, 11.6vw, 72px); }
  .hero.industry-hero .hero-media { margin-top: 32px; }
}

/* ---------- StakesChat ---------- */
.stakes-title { margin-top: clamp(40px, 5vw, 72px); }
/* The payoff always starts its own line, at every width */
.stakes-title .accent { display: block; }
.stakes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  margin-top: clamp(48px, 6vw, 96px);
}
.stakes-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule-on-dark); }
.stakes-list li {
  min-width: 0;
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--rule-on-dark);
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: clamp(18px, 2vw, 32px);
  align-items: center;
  font-size: clamp(19px, 2vw, 30px);
  line-height: 1.28;
  letter-spacing: -.02em;
  color: var(--surface);
  text-wrap: pretty;
}

.stake-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border: 1px solid var(--muted);
  border-radius: var(--radius-full);
  color: var(--primary);
}
.stake-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.stake-text { min-width: 0; }
@media (max-width: 760px) { .stakes-list li { grid-template-columns: 48px minmax(0, 1fr); align-items: start; } .stake-icon { width: 48px; height: 48px; } }

/* ---------- Phone frame: one frame for every chat demo (StakesChat, WhatsAppFeature, WhatsAppHero) ---------- */
/* The screen carries a modern phone's 9 / 19.5 ratio, as .phone-screen does in the device mockup, so
   the frame always reads as a phone and never as a tablet. It is never wider than a phone (390px),
   is centred in its column, and shrinks on narrow screens while keeping the shape. The chat fills the
   screen: header at the top, message field at the bottom, the conversation flexing between them. */
.chat-phone, .wa-live {
  /* One number sizes the whole device. 312px on desktop and tablet; about 72% of the width on a
     phone, never past 280px, so there is always space either side; and never taller than 80% of
     the screen it sits on, at which point it shrinks and keeps its shape. */
  --pw: min(312px, 72vw, 39svh);
  --bezel: calc(var(--pw) * .026);
  --dev-radius: calc(var(--pw) * .13);
  --dev-line: color-mix(in srgb, var(--paper) 26%, var(--ink));
  position: relative;
  margin: 0 auto;
  justify-self: center;
  width: var(--pw);
  aspect-ratio: 1 / 2.05;
  min-height: 0;
  padding: var(--bezel);
  border: 1px solid var(--dev-line);
  border-radius: var(--dev-radius);
  background: var(--ink);
  display: flex;
  flex-direction: column;
}
/* The pill, as on a modern phone: it sits on the screen and the chat header clears it. */
.chat-phone > .phone-slot, .wa-live > .phone-slot {
  position: absolute; z-index: 2;
  top: calc(var(--bezel) + var(--pw) * .022);
  left: 50%; translate: -50% 0;
  width: calc(var(--pw) * .2); height: calc(var(--pw) * .052);
  border: 0; border-radius: var(--radius-full);
  background: var(--ink);
}
.chat-screen, .wa-screen {
  flex: 1 1 auto; min-height: 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  border-radius: calc(var(--dev-radius) - var(--bezel));
  background: var(--paper);
  color: var(--ink);
}
.chat-head, .wa-head { flex: none; }
.chat-input, .wa-input { flex: none; }
.chat-body, .wa-body { flex: 1 1 auto; min-height: 0; overflow: hidden; }

/* The conversation: customer's view of an unanswered WhatsApp message */
.chat-head {
  display: flex; align-items: center; gap: 12px;
  /* Top padding clears the pill: it ends at 7.4% of the phone's width, so the row starts at 11.5%. */
  padding: calc(var(--pw) * .115) 16px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}
.chat-back { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 1.4; }
.chat-avatar {
  width: calc(var(--pw) * .115); height: calc(var(--pw) * .115); flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: var(--radius-full);
  background: var(--soft);
  font-size: 14px; font-weight: 700;
}
.chat-who { display: grid; gap: 2px; line-height: 1.2; }
.chat-who strong { font-size: 15px; letter-spacing: -.01em; }
.chat-who small { font-size: 12px; color: var(--muted); }
.chat-body {
  display: flex; flex-direction: column; align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 12px 14px;
}
.chat-day {
  align-self: center;
  padding: 5px 10px;
  background: var(--surface);
  border: 1px solid var(--rule);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.bubble {
  max-width: 92%;
  margin: 0;
  padding: 10px 12px 8px;
  background: var(--soft);
  border-radius: var(--be-corner);
  font-size: 14px; line-height: 1.38;
}
.bubble.in { align-self: flex-start; background: var(--surface); border: 1px solid var(--rule); }
.bubble .meta {
  display: flex; justify-content: flex-end; align-items: center; gap: 5px;
  margin-top: 4px;
  font-size: 12px; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.ticks { width: 17px; height: 10px; fill: none; stroke: var(--muted); stroke-width: 1.3; }
.chat-gap {
  align-self: center;
  margin-block: 14px;
  font: italic 14px/1.3 var(--be-serif);
  color: var(--muted);
}
.chat-input {
  margin: 0 10px 10px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--rule);
  font-size: 14px; color: var(--muted);
}

/* Plays once when the phone scrolls into view; complete and still without script or with reduced motion */
.motion-capable .chat-phone.chat-armed [data-step] { opacity: 0; transform: translateY(12px); }
.motion-capable .chat-phone.chat-play [data-step] { animation: be-chat-in .5s var(--ease-standard) both; }
.motion-capable .chat-phone.chat-play [data-step="2"] { animation-duration: .9s; animation-delay: 1.3s; }
.motion-capable .chat-phone.chat-play [data-step="3"] { animation-delay: 2.7s; }
.motion-capable .chat-phone.chat-play [data-step="4"] { animation-delay: 3.1s; }
@keyframes be-chat-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .stakes-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .stakes-title { font-size: clamp(40px, 11.6vw, 72px); }
  .stakes-title .accent { white-space: normal; }
}

/* ---------- ServiceGrid ---------- */
.services-title { margin-top: clamp(40px, 5vw, 72px); max-width: 15ch; text-wrap: balance; }
.services-title .accent { display: block; }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(48px, 6vw, 96px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.svc {
  position: relative;
  display: flex; flex-direction: column;
  min-width: 0;
  padding: clamp(28px, 3vw, 44px) clamp(22px, 2.6vw, 40px) clamp(32px, 3.4vw, 52px);
  border-bottom: 1px solid var(--rule);
}
.svc:not(:nth-child(3n)) { border-right: 1px solid var(--rule); }
/* A short last row (5 items) ends cleanly, with no open right edge */
@media (min-width: 1101px) { .svc:last-child { border-right: 0; } }
.svc:nth-child(3n + 1) { padding-left: 0; }
.svc-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  margin-bottom: clamp(28px, 3vw, 48px);
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
  color: var(--primary);
  transition: background var(--duration-button) var(--ease-standard), color var(--duration-button) var(--ease-standard), border-color var(--duration-button) var(--ease-standard);
}
.svc-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { margin: 0 0 12px; font-size: clamp(22px, 2vw, 28px); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; }
.svc p { margin: 0; max-width: 30ch; font-size: 17px; line-height: 1.4; color: var(--muted); }


@media (hover: hover) {
  .svc:hover .svc-icon { background: var(--primary); border-color: var(--primary); color: var(--ink); }
}

/* Tablet: two columns */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc:not(:nth-child(3n)) { border-right: 0; }
  .svc:nth-child(3n + 1) { padding-left: clamp(22px, 2.6vw, 40px); }
  .svc:nth-child(odd) { border-right: 1px solid var(--rule); padding-left: 0; }
}
/* Phone: one column, icon beside the text */
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-grid .svc:nth-child(n) { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; padding: 24px 0; border-right: 0; }
  .svc-icon { grid-row: 1 / span 2; margin: 0; }
  .svc h3 { margin: 4px 0 8px; }
  .services-title { font-size: clamp(40px, 11.6vw, 72px); }
}

/* ---------- JourneyLine ---------- */
.connect-title { margin-top: clamp(40px, 5vw, 72px); text-wrap: balance; }
.connect-title .accent { display: block; }
@media (max-width: 760px) {
  .connect-title { font-size: clamp(40px, 11.6vw, 72px); }
  .section-title .accent { white-space: normal; }
}
.journey {
  --j-gap: clamp(24px, 3vw, 48px);
  --node: 56px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--j-gap);
  margin: clamp(56px, 7vw, 112px) 0 0;
  padding: 0;
  list-style: none;
}
.stage { position: relative; min-width: 0; padding-top: calc(var(--node) + 36px); }
/* Each stage's node is its icon, sitting on the line */
.node {
  position: absolute; top: 0; left: 0; z-index: 1;
  display: grid; place-items: center;
  width: var(--node); height: var(--node);
  border: 1px solid var(--primary);
  border-radius: var(--radius-full);
  background: var(--paper);
  color: var(--primary);
}
.node svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
/* The destination: Handled ends filled */
.stage:last-child .node { background: var(--primary); color: var(--ink); }
/* Track (rule) and the coral line drawn over it, one segment between each pair of nodes */
.stage:not(:last-child)::before, .stage:not(:last-child)::after {
  content: ""; position: absolute;
  top: calc(var(--node) / 2); left: var(--node);
  width: calc(100% + var(--j-gap) - var(--node)); height: 1px;
}
.stage:not(:last-child)::before { background: var(--rule); }
.stage:not(:last-child)::after { background: var(--primary); transform-origin: left center; }
.stage h3 { margin: 0 0 14px; font-size: clamp(34px, 3.6vw, 54px); font-weight: 700; line-height: .98; letter-spacing: -.06em; }
.stage p { margin: 0; max-width: 26ch; font-size: 17px; line-height: 1.4; color: var(--muted); text-wrap: pretty; }

/* Plays once, Seen to Handled: each node lights, then the line draws on to the next */
.motion-capable .journey.j-armed .stage::after { transform: scaleX(0); }
.motion-capable .journey.j-armed .node { border-color: var(--rule); color: var(--muted); background: var(--paper); }
.motion-capable .journey.j-armed .stage h3, .motion-capable .journey.j-armed .stage p { opacity: 0; transform: translateY(16px); }
.motion-capable .journey.j-play .stage::after { animation: be-line-x .55s var(--ease-in-out) both; animation-delay: calc(var(--s) * .6s + .3s); }
.motion-capable .journey.j-play .node { animation: be-node-on .35s var(--ease-standard) both; animation-delay: calc(var(--s) * .6s); }
.motion-capable .journey.j-play .stage:last-child .node { animation-name: be-node-end; }
.motion-capable .journey.j-play .stage h3, .motion-capable .journey.j-play .stage p { animation: be-chat-in .6s var(--ease-standard) both; animation-delay: calc(var(--s) * .6s + .05s); }
.motion-capable .journey.j-play .stage p { animation-delay: calc(var(--s) * .6s + .15s); }
.stage:nth-child(1) { --s: 0; } .stage:nth-child(2) { --s: 1; } .stage:nth-child(3) { --s: 2; } .stage:nth-child(4) { --s: 3; }
@keyframes be-line-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes be-line-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes be-node-on { from { border-color: var(--rule); color: var(--muted); transform: scale(.92); } to { border-color: var(--primary); color: var(--primary); transform: none; } }
@keyframes be-node-end { from { border-color: var(--rule); color: var(--muted); background: var(--paper); transform: scale(.92); } to { border-color: var(--primary); color: var(--ink); background: var(--primary); transform: none; } }

/* Narrow screens: the line runs down the left edge, icons beside each stage */
@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; --j-gap: 44px; --node: 52px; }
  .stage { padding: 0 0 0 calc(var(--node) + 24px); min-height: var(--node); }
  .stage h3 { font-size: clamp(34px, 9vw, 48px); margin: 6px 0 10px; }
  .stage:not(:last-child)::before, .stage:not(:last-child)::after {
    top: var(--node); left: calc(var(--node) / 2);
    width: 1px; height: calc(100% + var(--j-gap) - var(--node));
  }
  .stage:not(:last-child)::after { transform-origin: center top; }
  .motion-capable .journey.j-armed .stage::after { transform: scaleY(0); }
  .motion-capable .journey.j-play .stage::after { animation-name: be-line-y; }
}

/* ---------- ProofBlock ---------- */
/* Homepage testimonial layout; the section label's rule already sits above, so no second top rule */
.proof-stage { margin-top: clamp(16px, 2vw, 28px); border-top: 0; }
.proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); margin-top: clamp(48px, 6vw, 84px); }
.proof-item { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.proof-media { position: relative; width: 100%; max-width: 100%; aspect-ratio: 4 / 3; margin: 0 0 28px; background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.proof-media::before, .proof-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - .5px), var(--rule) 50%, transparent calc(50% + .5px)); pointer-events: none; }
.proof-media::after { transform: scaleX(-1); }
.proof-media .ph { position: relative; z-index: 1; display: grid; gap: 10px; justify-items: center; max-width: 80%; padding: 12px 16px; background: var(--soft); text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.proof-media .ph small { font-weight: 400; letter-spacing: .02em; text-transform: none; font-size: 13px; }
.demo-tag { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 7px 10px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: .08em; text-transform: uppercase; }
.proof-item h3 { margin: 0 0 12px; font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.proof-item p { margin: 0 0 22px; max-width: 44ch; font-size: 17px; line-height: 1.45; color: var(--muted); }
.proof-item .text-link { margin-top: auto; padding-left: 0; }
@media (max-width: 760px) {
  .proof-grid { grid-template-columns: 1fr; gap: 56px; }
}

.proof-text { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.proof-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: auto; }
.proof-links .text-link { padding-left: 0; }
/* One proof item: image and words side by side */
.proof-grid.proof-single { grid-template-columns: 1fr; }
.proof-single .proof-item { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.proof-single .proof-media { margin: 0; }
/* No testimonial: the trust line takes the quote's place */
.trust-line { margin: 0; max-width: none; font: clamp(31px, 4.2vw, 61px)/1.12 var(--be-serif); letter-spacing: -.035em; text-wrap: balance; }
@media (max-width: 760px) {
  .proof-single .proof-item { grid-template-columns: 1fr; gap: 28px; }
}
/* ---------- StartSteps: enclosed boxes ---------- */
.start-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(24px, 3vw, 40px) 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--rule);
}
.start-steps li { display: flex; flex-direction: column; min-width: 0; }
.start-steps li:not(:last-child) { border-right: 1px solid var(--rule); }
.start-num {
  display: block;
  padding: clamp(28px, 3vw, 44px) clamp(24px, 2.6vw, 40px) clamp(24px, 2.6vw, 36px);
  border-bottom: 1px solid var(--rule);
  font-size: clamp(88px, 9.5vw, 148px);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.08em;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.start-body { padding: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 40px) clamp(32px, 3.6vw, 52px); }
.start-steps h3 { margin: 0 0 12px; font-size: clamp(22px, 2.1vw, 30px); font-weight: 700; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.start-steps p { margin: 0; max-width: 30ch; font-size: 17px; line-height: 1.45; color: var(--muted); }
.start-action { margin-top: clamp(32px, 4vw, 56px); }

/* Tablet: numbers a little smaller, boxes stay side by side */
@media (max-width: 1000px) and (min-width: 761px) {
  .start-num { font-size: clamp(72px, 10vw, 100px); }
}
/* Phone: one box per step, number beside the words */
@media (max-width: 760px) {
  .start-steps { grid-template-columns: 1fr; }
  .start-steps li { display: grid; grid-template-columns: 96px minmax(0, 1fr); }
  .start-steps li:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--rule); }
  .start-num { display: flex; align-items: flex-start; justify-content: center; padding: 26px 0 0; border-bottom: 0; border-right: 1px solid var(--rule); font-size: 52px; }
  .start-body { padding: 24px 20px 28px; }
  .start-steps h3 { font-size: 22px; }
  .start-action .button { width: 100%; }
}

/* ==========================================================================
   Case study template (CaseStudy, approved 2026-10-14): CaseHero, CaseBrief, CaseIdea,
   CaseSystem, CaseBuilt, CaseWorld, NextProject. The quote reuses TestimonialCarousel.
   ========================================================================== */
/* ---------- CaseHero: IndustryHero with the client name and a facts row ---------- */
/* --len (characters in the name) caps the size so long names like KrazyGreen never overflow */
.hero.case-hero .hero-title { font-size: min(clamp(72px, 10.5vw, 160px), calc((100vw - 2 * var(--be-gutter)) / (var(--len, 6) * .55))); letter-spacing: -.077em; }
.case-facts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 0; margin: 0; padding: 0; list-style: none; font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.case-facts li { white-space: nowrap; }
/* Separator trails each item, so a wrapped line never starts with a dot */
.case-facts li:not(:last-child)::after { content: "·"; padding: 0 .7em; color: var(--muted); }
@media (max-width: 1050px) { .case-facts { justify-content: flex-start; } }
/* Case hero: widen the facts column so long tag lists fit on one line at desktop */
@media (min-width: 1051px) { .hero.case-hero .hero-bottom { grid-template-columns: .9fr 1.1fr; } }
@media (max-width: 760px) { .hero.case-hero .hero-title { font-size: min(clamp(64px, 20vw, 110px), calc((100vw - 2 * var(--be-gutter)) / (var(--len, 6) * .55))); } }

/* ---------- CaseBrief ---------- */
.brief-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: clamp(40px, 7vw, 120px); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.brief-text { margin: 0; max-width: 24ch; font-size: clamp(28px, 3.3vw, 48px); font-weight: 500; line-height: 1.12; letter-spacing: -.04em; text-wrap: pretty; }
.brief-label { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.brief-lead { margin: 0 0 18px; font: italic clamp(19px, 1.6vw, 24px)/1.25 var(--be-serif); color: var(--ink); }
.market-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.market-list li { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; line-height: 1.1; letter-spacing: -.035em; }
@media (max-width: 900px) { .brief-grid { grid-template-columns: 1fr; } .brief-text { max-width: none; } }
/* Narrow screens: markets in a compact grid instead of a tall list */
@media (max-width: 900px) { .market-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 20px; } }
@media (max-width: 480px) { .market-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- CaseIdea + ProcessStrip ---------- */
.idea-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 110px); align-items: center; margin-top: clamp(40px, 5vw, 72px); }
.idea-text { margin: 0; max-width: 22ch; font-size: clamp(28px, 3.3vw, 48px); font-weight: 500; line-height: 1.12; letter-spacing: -.04em; text-wrap: pretty; }
.idea-media { position: relative; margin: 0; width: 100%; max-width: 100%; aspect-ratio: 1 / 1; background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.idea-media::before, .idea-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - .5px), var(--rule) 50%, transparent calc(50% + .5px)); }
.idea-media::after { transform: scaleX(-1); }
.idea-media .ph { position: relative; z-index: 1; display: grid; gap: 10px; justify-items: center; padding: 12px 16px; background: var(--soft); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }
.idea-media .ph small { font-weight: 400; }
/* Process slider: large frames that swipe or scroll sideways, with the next one peeking in */
.process { margin-top: clamp(56px, 7vw, 104px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--ink); }
.process-track { display: grid; grid-auto-flow: column; --pgap: clamp(14px, 1.6vw, 24px); grid-auto-columns: calc((100% - 3 * var(--pgap)) / 4); gap: var(--pgap); margin: 0 calc(var(--be-gutter) * -1) 0 0; padding: 0 var(--be-gutter) 4px 0; scroll-padding-left: 0; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.process-track::-webkit-scrollbar { display: none; }
.process-track:focus-visible { outline: var(--focus-ring-width) solid var(--primary); outline-offset: var(--focus-ring-offset); }
.pslide { scroll-snap-align: start; min-width: 0; }
.pslide-media { position: relative; margin: 0; aspect-ratio: 4 / 3; background: var(--soft); border: 1px solid var(--rule); display: grid; place-items: center; overflow: hidden; }
.pslide-media .ph { display: grid; gap: 8px; justify-items: center; padding: 12px 16px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }
.pslide-media .ph small { font-weight: 400; }
.pslide-cap { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 0; }
.step-num { font-size: 13px; font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.step-label { font-size: clamp(15px, 1.25vw, 18px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.process-nav { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(16px, 3vw, 40px); margin-top: clamp(24px, 3vw, 40px); }
.process-count { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-variant-numeric: tabular-nums; white-space: nowrap; }
.process-count [data-pcur] { color: var(--primary); }
.process-bar { height: 1px; background: var(--rule); position: relative; }
.process-bar span { position: absolute; left: 0; top: 0; height: 1px; width: 16.66%; background: var(--ink); transition: width var(--duration-underline) var(--ease-in-out); }
@media (max-width: 1000px) and (min-width: 761px) { .process-track { grid-auto-columns: calc((100% - 2 * var(--pgap)) / 2.5); } }
@media (max-width: 760px) {
  .process-track { grid-auto-columns: 68vw; }
  .process-nav { grid-template-columns: minmax(0, 1fr) auto; }
  /* The step name moves under the counter, so it never runs into the buttons */
  .process-count { min-width: 0; white-space: normal; display: grid; gap: 6px; line-height: 1.3; }
  .process-count .pc-sep { display: none; }
  .process-bar { grid-column: 1 / -1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) { .process-bar span { transition: none; } }
@media (max-width: 900px) { .idea-grid { grid-template-columns: 1fr; } .idea-text { max-width: none; } .idea-media { max-width: 520px; } }
@media (max-width: 560px) { .process-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- CaseSystem: same frames as the process slider ---------- */
.process.system { margin-top: clamp(40px, 5vw, 72px); padding-top: 0; border-top: 0; }
.sys-title { margin: 16px 0 6px; font-size: clamp(18px, 1.5vw, 22px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.sys-text { margin: 0; max-width: 34ch; font-size: 15px; line-height: 1.4; color: var(--muted); }
/* Navigation shows only when there is more to see */
.process.is-static .process-nav { display: none; }
/* Captions stop well short of the next frame, so slides never run into each other */
.sys-title, .sys-text, .pslide-cap { max-width: 86%; }
@media (max-width: 760px) { .process-track { --pgap: 22px; } .sys-text { font-size: 14px; } }

/* ---------- CaseWorld: text left, images right, one row per group ---------- */
.case-world {
  --qw: calc((min(100vw - 2 * var(--be-gutter), 1440px) - 3 * clamp(14px, 1.6vw, 24px)) / 4);
  --h: calc(var(--qw) * .75);
}
.world-row { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2.2fr); gap: clamp(28px, 4vw, 64px); padding: clamp(36px, 4.5vw, 64px) 0; border-top: 1px solid var(--rule-on-dark); align-items: start; }
.world-row.process { margin-top: 0; }
.world-row:first-of-type { margin-top: clamp(40px, 5vw, 72px); padding-top: 0; border-top: 0; }
.world-row:last-of-type { padding-bottom: 0; }
.world-text h3 { margin: 0 0 12px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; color: var(--surface); }
.world-text p { margin: 0; max-width: 34ch; font-size: 16px; line-height: 1.45; color: var(--paper); opacity: .78; }
.world-text .process-nav { grid-template-columns: minmax(0, 1fr) auto; margin-top: 28px; }
.world-text .process-bar { grid-column: 1 / -1; grid-row: 2; }
.world-text .process-count { font-size: 12px; max-width: none; opacity: 1; color: var(--paper); white-space: normal; display: grid; gap: 6px; line-height: 1.3; }
.world-text .process-count .pc-sep { display: none; }
.case-world .process-bar { background: var(--rule-on-dark); }
.case-world .process-bar span { background: var(--paper); }
.case-world .carousel-controls button { border-color: var(--paper); color: var(--paper); }
.case-world .carousel-controls button:focus-visible { outline: var(--focus-ring-width) solid var(--primary); outline-offset: var(--focus-ring-offset); }
.case-world .text-link { color: var(--paper); margin-top: 18px; padding-left: 0; }
.world-track { grid-auto-columns: max-content; --pgap: clamp(14px, 1.6vw, 24px); }
.w-video { --rowh: calc(var(--h) * 1.55); }
.w-office { --rowh: calc(var(--h) * 1.25); }
.world-row { --rowh: var(--h); }
.wslide { width: calc(var(--rowh) * var(--r)); }
/* Office items keep their true shape; the caption gets room even beside a tall, narrow artwork */
.woffice { width: max(calc(var(--rowh) * var(--r)), 240px); }
.woffice .wmedia { width: calc(var(--rowh) * var(--r)); }
/* Placeholder wording sits at the foot of a frame that has a play button, never under it */
.wmedia:has(.play) .ph { align-self: end; padding-bottom: 14px; }
.w-video .wmedia .ph small { display: none; }
/* Large screens: the six video thumbnails share the full row width, edge to edge */
@media (min-width: 901px) {
  .w-video .world-track { grid-auto-columns: calc((100% - 5 * var(--pgap)) / 6); margin-right: 0; padding-right: 0; }
  .w-video .wslide { width: auto; }
  .w-video .wmedia { height: auto; aspect-ratio: 9 / 16; }
}
.wmedia { position: relative; margin: 0; height: var(--rowh); width: 100%; background: var(--rule-on-dark); display: grid; place-items: center; overflow: hidden; }
.wmedia img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wmedia .ph { display: grid; gap: 8px; justify-items: center; padding: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); opacity: .7; text-align: center; }
.wmedia .ph small { font-weight: 400; }
.case-world .pslide-cap { margin-top: 12px; }
.case-world .step-label { color: var(--surface); }
.woffice h4 { margin: 14px 0 6px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--surface); }
.woffice p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--paper); opacity: .78; max-width: 40ch; }
.wdim { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: 1; color: var(--paper); }
.play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 56px; height: 56px; display: grid; place-items: center; border-radius: var(--radius-full); background: var(--overlay-ink); border: 1px solid var(--overlay-edge); color: var(--surface); transition: background var(--duration-button) var(--ease-standard), color var(--duration-button) var(--ease-standard), scale var(--duration-button) var(--ease-standard); }
.play svg { width: 22px; height: 22px; fill: currentColor; }
.play:focus-visible { outline: var(--focus-ring-width) solid var(--primary); outline-offset: var(--focus-ring-offset); }
@media (hover: hover) { .play:hover { background: var(--primary); color: var(--ink); scale: 1.06; } }
.pslide { position: relative; }
@media (max-width: 900px) {
  .world-row { grid-template-columns: 1fr; gap: 24px; }
  .case-world { --h: 34vw; }
}
@media (max-width: 560px) {
  .case-world { --h: 48vw; }
  .w-video { --rowh: calc(var(--h) * 1.5); }
}

/* ---------- Office branding: a diptych; both artworks at one height, true shapes, full width ---------- */
.office-block { padding: clamp(36px, 4.5vw, 64px) 0; border-top: 1px solid var(--rule-on-dark); }
.office-title { margin: 0 0 clamp(24px, 3vw, 40px); font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; color: var(--surface); }
.office-pair { display: flex; gap: clamp(14px, 1.6vw, 24px); align-items: flex-start; }
.office-item { flex: var(--r) 1 0; min-width: 0; margin: 0; }
.office-media { position: relative; aspect-ratio: var(--r); background: var(--rule-on-dark); display: grid; place-items: center; overflow: hidden; }
.office-media .ph { display: grid; gap: 8px; justify-items: center; padding: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); opacity: .7; text-align: center; }
.office-media .ph small { font-weight: 400; }
.office-play { left: auto; top: auto; right: 16px; bottom: 16px; translate: none; }
.office-item figcaption { padding-top: 16px; padding-right: 8px; }
.office-item h4 { margin: 0 0 6px; font-size: clamp(17px, 1.4vw, 20px); font-weight: 700; letter-spacing: -.02em; color: var(--surface); }
.office-item p { margin: 0; max-width: 46ch; font-size: 14px; line-height: 1.45; color: var(--paper); opacity: .78; }
@media (max-width: 760px) {
  .office-pair { flex-direction: column; gap: 36px; }
  .office-item { flex: none; width: 100%; }
  .office-item:last-child .office-media { width: min(100%, calc(62vh * .5556)); }
}

/* ---------- Website: laptop and phone wireframes, one page per slide ---------- */
.case-world, .w-web { --dev-line: color-mix(in srgb, var(--paper) 26%, var(--ink)); }
.dev-track { grid-auto-columns: 100%; margin-right: 0; padding-right: 0; }
.devslide { width: auto; }
.devpair { position: relative; padding: 0 0 5% 0; }
.laptop { width: 82%; margin-left: 3%; }
.laptop-screen { position: relative; aspect-ratio: 16 / 10; padding: 2.2%; border: 1px solid var(--dev-line); border-bottom: 0; border-radius: 12px 12px 0 0; background: var(--ink); }
.laptop-screen > .ph-wrap, .laptop-screen .ph { width: 100%; height: 100%; }
.laptop-screen .ph { background: var(--rule-on-dark); align-content: center; box-sizing: border-box; }
.laptop-base { position: relative; height: 12px; margin: 0 -3.6%; border: 1px solid var(--dev-line); border-radius: 0 0 10px 10px; background: var(--ink); }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: -1px; width: 14%; height: 5px; translate: -50% 0; border: 1px solid var(--dev-line); border-top: 0; border-radius: 0 0 5px 5px; }
.phone { position: absolute; right: 0; bottom: 0; width: 19%; padding: 20px 6px 8px; border: 1px solid var(--dev-line); border-radius: 20px; background: var(--ink); box-shadow: -10px 0 0 var(--ink); }
.phone-slot { position: absolute; top: 8px; left: 50%; width: 24%; height: 4px; translate: -50% 0; border: 1px solid var(--dev-line); border-radius: 4px; }
.phone-screen { aspect-ratio: 9 / 19.5; background: var(--rule-on-dark); border-radius: 0 0 12px 12px; display: grid; place-items: center; overflow: hidden; }
.devpair .ph { display: grid; gap: 8px; justify-items: center; padding: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); opacity: .7; text-align: center; }
.devpair .ph small { font-weight: 400; }
.phone .ph { display: none; }
@media (max-width: 560px) { .laptop { width: 80%; margin-left: 2.5%; } .laptop-screen { border-radius: 8px 8px 0 0; } .laptop-base { height: 8px; } .phone { width: 24%; padding: 14px 4px 5px; border-radius: 12px; box-shadow: -6px 0 0 var(--ink); } .phone-screen { border-radius: 0 0 8px 8px; } .phone-slot { top: 6px; } .phone .ph { display: none; } }

/* ---------- In their words: homepage testimonial layout, single quote ---------- */
.case-words .testimonial-stage { margin-top: clamp(40px, 5vw, 72px); padding-block: 0; border-block: 0; }
.logo-slot { border: 1px dashed var(--rule); justify-content: center; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
/* ---------- Next: next-project band plus fit assessment ---------- */
.next-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px clamp(32px, 5vw, 80px); align-items: end; padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--ink); }
.next-link { display: grid; gap: 16px; min-width: 0; color: var(--ink); text-decoration: none; }
.next-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.next-name .nw { white-space: nowrap; }
.next-name { font-size: clamp(44px, 8.4vw, 128px); font-weight: 700; line-height: .92; letter-spacing: -.065em; }
.next-name .ui-arrow { display: inline-block; width: .5em; height: .5em; margin-left: .12em; vertical-align: .04em; stroke: currentColor; stroke-width: 1.4; fill: none; transition: transform var(--duration-button) var(--ease-standard), color var(--duration-button) var(--ease-standard); }
.next-link:hover .ui-arrow, .next-link:focus-visible .ui-arrow { transform: translateX(.14em); color: var(--primary); }
/* The project name turns coral with the arrow */
.next-name { transition: color var(--duration-button) var(--ease-standard); }
.next-link:hover .next-name, .next-link:focus-visible .next-name { color: var(--primary); }
.next-link:focus-visible { outline: 2px solid var(--primary); outline-offset: 6px; }
.next-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 18px 32px; padding-bottom: .4em; }
@media (max-width: 1024px) { .next-grid { grid-template-columns: 1fr; gap: 36px; } .next-actions { justify-content: flex-start; padding-bottom: 0; } }
.variation-note { margin: 0; padding: 0 var(--be-gutter) 14px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
/* Brief: audience as one sentence (when there is no list of markets) */
.audience-text { margin: 0; padding: 14px 0 16px; border-block: 1px solid var(--ink); border-bottom-color: var(--rule); font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; line-height: 1.15; letter-spacing: -.035em; text-wrap: pretty; }
/* Idea: text-only steps as a ruled list beside the idea text (no image) */
.idea-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.idea-steps li { display: grid; grid-template-columns: 2.4em minmax(0, 1fr); align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.idea-steps .step-num { font-size: 13px; }
.idea-steps .step-text { font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; line-height: 1.15; letter-spacing: -.035em; }
.client-identity .related-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 18px; }
.client-identity .related-links .text-link { padding-left: 0; }
/* How it's built: headline full width; paragraph left, workflow image right. The image opens full screen to zoom (no sideways scrolling anywhere) */
.built-title { margin-top: clamp(40px, 5vw, 72px); }
.built-title .accent { display: block; white-space: normal; }
.built-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(32px, 4vw, 56px); }
.built-text { margin: 0; max-width: 40ch; font-size: 17px; line-height: 1.5; color: var(--muted); }
.built-media { margin: 0; }
.zoom-open { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--ink); background: var(--ink); cursor: zoom-in; }
.zoom-open img { display: block; width: 100%; height: auto; }
.zoom-badge { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-full); background: var(--overlay-ink); border: 1px solid var(--overlay-edge); color: var(--surface); transition: background var(--duration-button) var(--ease-standard), color var(--duration-button) var(--ease-standard), scale var(--duration-button) var(--ease-standard); }
.zoom-badge svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .zoom-open:hover .zoom-badge { background: var(--primary); color: var(--ink); scale: 1.06; } }
.zoom-open:focus-visible { outline: var(--focus-ring-width) solid var(--primary); outline-offset: var(--focus-ring-offset); }
@media (max-width: 900px) { .built-grid { grid-template-columns: 1fr; gap: 28px; } }
/* Full-screen viewer: the image fits the screen; zoom with the buttons, a double click or a pinch, and drag to look around */
.zoom-dialog { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ink); color: var(--surface); overflow: hidden; }
.zoom-dialog::backdrop { background: var(--ink); }
.zoom-stage { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; touch-action: none; cursor: grab; }
.zoom-stage.is-dragging { cursor: grabbing; }
.zoom-stage img { max-width: calc(100vw - 2 * var(--be-gutter)); max-height: calc(100dvh - 140px); transform-origin: center; transition: transform .25s var(--ease-standard); user-select: none; -webkit-user-drag: none; }
.zoom-stage.is-dragging img { transition: none; }
.zoom-bar { position: absolute; left: 50%; bottom: 24px; translate: -50% 0; display: flex; gap: 8px; }
.zoom-close { position: absolute; top: 20px; right: var(--be-gutter); }
.zoom-dialog button.zbtn, .video-dialog button.zbtn { width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 1px solid var(--paper); border-radius: var(--be-corner); background: var(--ink); color: var(--paper); cursor: pointer; }
.zoom-dialog button.zbtn svg, .video-dialog button.zbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
@media (hover: hover) { .zoom-dialog button.zbtn:hover, .video-dialog button.zbtn:hover { background: var(--primary); border-color: var(--primary); color: var(--ink); } }
.zoom-dialog button.zbtn:focus-visible, .video-dialog button.zbtn:focus-visible { outline: var(--focus-ring-width) solid var(--primary); outline-offset: var(--focus-ring-offset); }
/* Real screenshots inside the phone outline: three to a view on large screens */
.world-text .world-lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.35; color: var(--surface); opacity: 1; max-width: 26ch; }
.wa-track { grid-auto-columns: calc((100% - 2 * var(--pgap)) / 3); }
.wa-phone { position: relative; padding: 32px 7px 7px; border: 1px solid color-mix(in srgb, var(--paper) 26%, var(--ink)); border-radius: 22px; background: var(--ink); }
.wa-phone .phone-slot { top: 14px; border: 1px solid color-mix(in srgb, var(--paper) 26%, var(--ink)); }
.wa-phone img { display: block; width: 100%; height: auto; border-radius: 0 0 16px 16px; }
@media (max-width: 1000px) and (min-width: 761px) { .wa-track { grid-auto-columns: calc((100% - var(--pgap)) / 2.3); } }
@media (max-width: 760px) { .wa-track { grid-auto-columns: 68vw; } }
@media (prefers-reduced-motion: reduce) { .zoom-stage img { transition: none; } }

/* ---------- VideoViewer: a demo video opens full screen over the page ---------- */
/* Any link carrying data-video opens here, whether it is the thumbnail, its play button or a
   "Play the video" text link, and the video starts at once. The ground is see-through, so the page
   stays faintly visible behind it. Same ✕ button as the zoom viewer above, in the same place, and
   no animation either way. Its own classes, so the zoom viewer is untouched. */
.video-dialog { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--overlay-ink); color: var(--surface); overflow: hidden; }
.video-dialog::backdrop { background: transparent; }
.video-stage { position: absolute; inset: 0; display: grid; place-items: center; }
/* As large as the screen allows without cropping, within the zoom viewer's limits: the page gutters
   either side and 140px of clear height. --vr is the video's width divided by its height, so the
   frame fits an upright 9:16 walkthrough as readily as a wide 16:9 film. */
.video-frame { --vr: 1.7778; width: min(calc(100vw - 2 * var(--be-gutter)), calc((100dvh - 140px) * var(--vr))); aspect-ratio: var(--vr); background: var(--ink); border: 1px solid var(--overlay-edge); }
.video-frame iframe, .video-frame img { display: block; width: 100%; height: 100%; border: 0; }
.video-close { position: absolute; top: 20px; right: var(--be-gutter); }

/* ==========================================================================
   Work page (WorkPage, approved 2026-10-14): work hero, WorkProjects (filter tabs and ruled
   project rows) and DemoFeature (the Demos section on ink).
   ========================================================================== */

.work-hero .hero-main { display: block; }
.work-hero .hero-title { font-size: min(clamp(72px, 12vw, 176px), calc((100vw - 2 * var(--be-gutter)) / (var(--len, 6) * .55))); letter-spacing: -.077em; }
.work-hero .hero-bottom { margin-top: clamp(32px, 4vw, 56px); }
@media (max-width: 760px) { .work-hero .hero-main { padding-top: 40px; } }

.work-filter { display: flex; flex-wrap: wrap; column-gap: clamp(18px, 3vw, 36px); padding-top: 10px; border-top: 1px solid var(--ink); }
/* Text tabs, the header-link language: muted words, the selected one in ink with the coral underline */
.work-filter button { position: relative; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--muted); font-family: var(--be-sans); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: color var(--duration-button) var(--ease-standard); }
.work-filter button::after { content: ""; position: absolute; left: 0; right: .08em; bottom: 8px; height: 1px; background: var(--primary); transform: scaleX(0); transform-origin: right center; transition: transform var(--duration-underline) var(--ease-in-out); }
.work-filter button[aria-pressed="true"] { color: var(--ink); }
.work-filter button[aria-pressed="true"]::after { transform: scaleX(1); transform-origin: left center; }
@media (hover: hover) { .work-filter button:hover { color: var(--ink); } .work-filter button:hover::after { transform: scaleX(1); transform-origin: left center; } }
@media (max-width: 480px) { .work-filter { justify-content: space-between; column-gap: 10px; } }
@media (max-width: 360px) { .work-filter button { font-size: 12px; letter-spacing: .04em; } }
@media (prefers-reduced-motion: reduce) { .work-filter button::after { transition: none; } }
.work-filter button:focus-visible { outline: var(--focus-ring-width) solid var(--primary); outline-offset: var(--focus-ring-offset); }

.work-list { margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; list-style: none; }
.work-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; padding: clamp(36px, 4.5vw, 64px) 0; border-top: 1px solid var(--rule); transition: opacity .3s var(--ease-in-out); }
.work-row:first-child { padding-top: 0; border-top: 0; }
.work-row:last-child { padding-bottom: 0; }
.work-row.is-flipped { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.work-row.is-flipped .work-media { order: 2; }
.work-row.is-leaving { opacity: 0; }
.work-row[hidden] { display: none; }
.work-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.work-media::before, .work-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - .5px), var(--rule) 50%, transparent calc(50% + .5px)); }
.work-media::after { transform: scaleX(-1); }
.work-media .ph { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 1; display: grid; gap: 10px; justify-items: center; max-width: 80%; padding: 12px 16px; background: var(--soft); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }
.work-media .ph small { font-weight: 400; letter-spacing: .02em; text-transform: none; font-size: 13px; }
.work-text { min-width: 0; }
.work-name { margin: 0; font-size: clamp(40px, 5.2vw, 76px); font-weight: 700; line-height: .95; letter-spacing: -.065em; }
.work-name a { color: var(--ink); text-decoration: none; }
.work-name .nw { white-space: nowrap; }
.work-name .ui-arrow { display: inline-block; width: .45em; height: .45em; margin-left: .12em; vertical-align: .05em; stroke-width: 1.4; transition: transform var(--duration-button) var(--ease-standard), color var(--duration-button) var(--ease-standard); }
@media (hover: hover) { .work-row:has(a:hover) .work-name a, .work-row:has(a:hover) .work-name .ui-arrow { color: var(--primary); } .work-row:has(a:hover) .work-name .ui-arrow { transform: translateX(.14em); } }
.work-name a:focus-visible, .work-media:focus-visible { outline: var(--focus-ring-width) solid var(--primary); outline-offset: var(--focus-ring-offset); }
.work-meta { margin: 18px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.work-line { margin: 16px 0 0; max-width: 34ch; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.35; color: var(--ink); text-wrap: pretty; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 22px 0 0; padding: 0; list-style: none; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.work-tags li:not(:last-child)::after { content: "·"; margin: 0 .7em; color: var(--muted); }
@media (max-width: 900px) {
  .work-row { grid-template-columns: 1fr; gap: 24px; }
  .work-row.is-flipped { grid-template-columns: 1fr; }
  .work-row.is-flipped .work-media { order: 0; }
}
@media (prefers-reduced-motion: reduce) { .work-row { transition: none; } }
/* ---------- Demos (ink): the featured 3D demo, then the WhatsApp demos ---------- */
.work-demos .section-title { margin-top: clamp(40px, 5vw, 72px); }
.demo-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.demo-tags li { padding: 6px 10px; border: 1px solid color-mix(in srgb, var(--paper) 35%, var(--ink)); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); }
.demo-tags li:first-child { border-color: var(--primary); color: var(--primary); }
.demo-text h3 { margin: 0; font-size: clamp(32px, 3.6vw, 52px); font-weight: 700; line-height: .95; letter-spacing: -.055em; color: var(--surface); }
.demo-text p { margin: 16px 0 0; max-width: 34ch; font-size: 17px; line-height: 1.45; color: var(--paper); opacity: .8; }
.demo-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 26px; }
.demo-links .text-link { color: var(--paper); padding-left: 0; }
.dmedia { position: relative; display: block; margin: 0; overflow: hidden; background: var(--rule-on-dark); }
.dmedia img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dvideo { aspect-ratio: 9 / 16; }
.dbrochure { aspect-ratio: 595 / 842; transition: transform var(--duration-button) var(--ease-standard); }
@media (hover: hover) { a.dbrochure:hover { transform: translateY(-4px); } }
.dbrochure:focus-visible { outline: var(--focus-ring-width) solid var(--primary); outline-offset: var(--focus-ring-offset); }
.dcap { display: block; margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); opacity: .7; }

/* Real estate 3D: words left; on the right three pieces side by side, nothing overlapping, stepping up in height
   from left to right and aligned on their bottom edge: floor plan (input, 1:1) → brochure cover (A4) → walkthrough video (9:16).
   H = the video's height: floor plan 0.56H square, brochure 0.78H tall (0.5511H wide), video H (0.5625H wide).
   Each piece's flex weight is its width in H, so the heights follow from the widths at any size. */
.demo-b { --gap: clamp(28px, 4vw, 64px); --cg: clamp(10px, 1.1vw, 16px); --dh: min(760px, 52vw, calc(((100vw - 2 * var(--be-gutter) - var(--gap)) * .66 - 2 * var(--cg)) / 1.6736)); display: grid; grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr); gap: var(--gap); align-items: center; margin-top: clamp(48px, 6vw, 88px); }
.demo-b .demo-text h3 { font-size: clamp(36px, 4.2vw, 80px); }
.demo-b .demo-text p { font-size: clamp(17px, 1.35vw, 22px); max-width: 28ch; }
.demo-cascade { display: flex; align-items: flex-end; gap: var(--cg); justify-self: end; width: calc(var(--dh) * 1.6736 + 2 * var(--cg)); }
.demo-cascade .dplan { flex: .56 1 0; min-width: 0; }
.demo-pair { display: flex; align-items: flex-end; gap: var(--cg); flex: 1.1136 1 0; min-width: 0; }
.demo-pair .dbrochure { flex: .5511 1 0; min-width: 0; }
.demo-pair .dvideo { flex: .5625 1 0; min-width: 0; }
/* Floor plan: the whole 1:1 drawing, white on ink; opens full screen to read the dimensions */
.dplan { position: relative; display: block; padding: 0; border: 0; aspect-ratio: 1 / 1; background: var(--surface); cursor: zoom-in; }
.dplan img { width: 100%; height: 100%; object-fit: contain; }
.dplan .zoom-badge { left: auto; right: 10px; bottom: 10px; width: 36px; height: 36px; }
.dplan:focus-visible { outline: var(--focus-ring-width) solid var(--primary); outline-offset: var(--focus-ring-offset); }
@media (hover: hover) { .dplan:hover .zoom-badge { background: var(--primary); color: var(--ink); } }
/* Tablet: words above, the three pieces centred beneath */
@media (max-width: 900px) {
  .demo-b { grid-template-columns: 1fr; margin-top: 40px; }
  .demo-cascade { justify-self: center; width: 100%; max-width: 900px; }
}
/* Phones: the floor plan takes its own full-width row; the brochure and video sit side by side beneath it */
@media (max-width: 600px) {
  .demo-cascade { display: block; }
  .demo-cascade .dplan { width: 100%; margin-bottom: var(--cg); }
}
/* WhatsApp demos: the clinics proof layout on ink */
.demo-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); margin-top: clamp(56px, 7vw, 104px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--rule-on-dark); }
.demo-item .dph { aspect-ratio: 4 / 3; margin-bottom: 26px; display: grid; place-items: center; }
.demo-item .dph .ph { display: grid; gap: 8px; justify-items: center; padding: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); opacity: .7; text-align: center; max-width: 80%; }
.demo-item .dph .ph small { font-weight: 400; letter-spacing: .02em; text-transform: none; font-size: 13px; }
.demo-item h3 { font-size: clamp(26px, 2.4vw, 34px); }
@media (max-width: 760px) { .demo-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   ProofBlock demo-feature variant (Real estate, approved 2026-10-14): the Work page 3D demo on white,
   then the WhatsApp demo in its own mirrored row. Reuses the play button and zoom viewer above.
   ========================================================================== */
.re-demo { --gap: clamp(28px, 4vw, 64px); --cg: clamp(10px, 1.1vw, 16px); --dh: min(720px, 50vw, calc(((100vw - 2 * var(--be-gutter) - var(--gap)) * .66 - 2 * var(--cg)) / 1.6736)); display: grid; grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr); gap: var(--gap); align-items: center; margin-top: clamp(48px, 6vw, 88px); }
.re-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.re-tags li { padding: 6px 10px; border: 1px solid var(--rule); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.re-tags li:first-child { border-color: var(--primary); color: var(--primary); }
.re-text h3 { margin: 0; font-size: clamp(36px, 4.2vw, 72px); font-weight: 700; line-height: .95; letter-spacing: -.055em; }
.re-text p { margin: 16px 0 0; max-width: 30ch; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.45; color: var(--muted); }
.re-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 26px; }
.re-links .text-link { padding-left: 0; }
.re-cascade { display: flex; align-items: flex-end; gap: var(--cg); justify-self: end; width: calc(var(--dh) * 1.6736 + 2 * var(--cg)); }
.re-cascade .dplan { flex: .56 1 0; min-width: 0; }
.re-pair { display: flex; align-items: flex-end; gap: var(--cg); flex: 1.1136 1 0; min-width: 0; }
.re-pair .dbrochure { flex: .5511 1 0; min-width: 0; }
.re-pair .dvideo { flex: .5625 1 0; min-width: 0; }
.proof .dmedia { position: relative; display: block; margin: 0; overflow: hidden; background: var(--soft); }
.proof .dmedia img { display: block; width: 100%; height: 100%; object-fit: cover; }
.proof .dvideo { aspect-ratio: 9 / 16; }
.proof .dbrochure { aspect-ratio: 595 / 842; transition: transform var(--duration-button) var(--ease-standard); }
@media (hover: hover) { .proof a.dbrochure:hover { transform: translateY(-4px); } }
.proof .dbrochure:focus-visible { outline: var(--focus-ring-width) solid var(--primary); outline-offset: var(--focus-ring-offset); }
/* On white the floor plan (a white drawing) gets a rule hairline so its edge stays visible */
.proof .dplan { padding: 0; border: 1px solid var(--rule); aspect-ratio: 1 / 1; background: var(--surface); cursor: zoom-in; }
.proof .dplan img { object-fit: contain; }
.proof .dplan .zoom-badge { right: 10px; bottom: 10px; width: 36px; height: 36px; }
.proof .dplan:focus-visible { outline: var(--focus-ring-width) solid var(--primary); outline-offset: var(--focus-ring-offset); }
@media (hover: hover) { .proof .dplan:hover .zoom-badge { background: var(--primary); color: var(--ink); } }
/* WhatsApp demo: image left, words right, mirroring the 3D row */
.re-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; margin-top: clamp(48px, 6vw, 88px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--rule); }
.re-row .re-media { aspect-ratio: 4 / 3; display: grid; place-items: center; }
.re-row .re-media::before, .re-row .re-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - .5px), var(--rule) 50%, transparent calc(50% + .5px)); }
.re-row .re-media::after { transform: scaleX(-1); }
.re-row .re-media .ph { position: relative; z-index: 1; display: grid; gap: 10px; justify-items: center; max-width: 80%; padding: 12px 16px; background: var(--soft); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }
.re-row .re-media .ph small { font-weight: 400; letter-spacing: .02em; text-transform: none; font-size: 13px; }
/* The section's logo images blend with multiply; demo media must show true colour */
/* The proof section colours its links ink; the play icon stays white */
.re-demo .dvideo .play { color: var(--surface); }
@media (hover: hover) { .re-demo .dvideo .play:hover { color: var(--ink); } }
.re-demo img, .re-row img { mix-blend-mode: normal; }
.re-cascade .dplan { background: var(--surface); }
@media (max-width: 900px) {
  .re-demo { grid-template-columns: 1fr; margin-top: 40px; }
  .re-cascade { justify-self: center; width: 100%; }
  .re-row { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .re-cascade { display: block; }
  .re-cascade .dplan { width: 100%; margin-bottom: var(--cg); }
}

/* ========== Services page (2026-10-14) ========== */
/* ---------- Services hero: the Work page hero, two-line headline with the coral payoff ---------- */
.hero.industry-hero.page-hero .hero-main { display: block; }
.page-hero .hero-title { font-size: min(clamp(64px, 9.4vw, 150px), calc((100vw - 2 * var(--be-gutter)) / (var(--len, 6) * .5))); letter-spacing: -.07em; }
.page-hero .hero-title em { display: block; }
/* Two set lines on larger screens (the size is capped so the first line always fits); free wrapping on phones */
.page-hero .headline-inner { text-wrap: wrap; }
@media (min-width: 761px) { .page-hero .hl-line { white-space: nowrap; } .hero.industry-hero.page-hero .hero-title { font-size: min(clamp(64px, 9.4vw, 150px), calc((100vw - 2 * var(--be-gutter)) / (var(--len, 6) * .52))); } }
.page-hero .hero-bottom { margin-top: clamp(32px, 4vw, 56px); }
@media (max-width: 760px) { .page-hero .hero-main { padding-top: 40px; } }
/* ---------- PillarBlock: one service area. Icon, headline and support left; Included list right ---------- */
.pillar-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 7vw, 120px); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.pillar-head { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(24px, 2.6vw, 36px); }
.pillar-head .section-title { white-space: nowrap; }
@media (max-width: 560px) { .pillar-head .section-title { white-space: normal; } }
.pillar-icon { flex: none; display: grid; place-items: center; width: clamp(72px, 7vw, 104px); height: clamp(72px, 7vw, 104px); border: 1px solid var(--primary); border-radius: var(--radius-full); color: var(--primary); }
.pillar-icon svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.pillar-head .section-title { margin: 0; }
.pillar-support { margin: clamp(24px, 3vw, 36px) 0 0; max-width: 38ch; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.35; color: var(--ink); text-wrap: pretty; }
.included-label { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.included-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.included-list li { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; line-height: 1.1; letter-spacing: -.035em; }
/* WhatsApp callout: a full-width ruled strip pointing to the dedicated page */
.pillar-callout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; margin-top: clamp(48px, 6vw, 88px); padding: clamp(24px, 3vw, 36px) 0; border-block: 1px solid var(--ink); }
.pillar-callout p { margin: 0; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.35; }
.pillar-callout strong { font-weight: 700; }
.pillar-callout .text-link { padding-left: 0; }
@media (max-width: 900px) {
  .pillar-grid { grid-template-columns: 1fr; gap: 0; }
  .pillar-included { margin-top: 40px; }
  .pillar-callout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) { .pillar-main { display: contents; } .pillar-grid > * { min-width: 0; } }
/* ---------- WhatsApp feature band: the one ink band in the page body, so it is not missed ---------- */
.wa-feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
.wa-feature h2 { margin: 0; font-size: clamp(56px, 7.3vw, 112px); font-weight: 700; line-height: .9; letter-spacing: -.07em; color: var(--surface); }
.wa-feature h2 em { display: block; font-style: normal; color: var(--primary); }
.wa-feature-text p { margin: clamp(24px, 3vw, 36px) 0 0; max-width: 30ch; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; color: var(--paper); }
.wa-feature-text .button { margin-top: clamp(28px, 3.4vw, 44px); }
.wa-feature-copy { min-width: 0; }
/* Live demo: one phone plays a sample conversation, then the captured request is handed to the team */
.wa-stage { min-width: 0; display: grid; grid-template-columns: auto clamp(40px, 3vw, 64px) minmax(260px, 330px); justify-content: center; }
.wa-stage-bar, .wa-flow { grid-column: 1 / -1; }
.wa-stage-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(14px, 1.4vw, 20px); }
.wa-tag { padding: 6px 10px; border: 1px solid var(--rule-on-dark); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); }
.wa-replay { display: inline-flex; padding-inline: 12px !important; border: 1px solid var(--rule) !important; min-height: 40px !important; border-radius: var(--be-corner); align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font-family: var(--be-sans); font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; font-size: 12px !important; visibility: hidden; opacity: 0; transition: opacity .3s var(--ease-standard), color var(--duration-button); }
.wa-replay svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.wa-replay.is-on { visibility: visible; opacity: 1; }
@media (hover: hover) { .wa-replay:hover { color: var(--primary); } }
.wa-replay:focus-visible { outline: var(--focus-ring-width) solid var(--primary); outline-offset: var(--focus-ring-offset); }
.wa-feature-grid:has(.wa-stage) { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 5vw, 96px); }
.wa-flow { display: grid; grid-template-columns: subgrid; align-items: center; }
.wa-flow .d { white-space: nowrap; }
/* The phone uses the shared frame above */
.wa-head { display: flex; align-items: center; gap: 10px; padding: calc(var(--pw) * .115) 14px 12px; background: var(--surface); border-bottom: 1px solid var(--rule); }
.wa-head .back { flex: none; width: 15px; height: 15px; fill: none; stroke: var(--ink); stroke-width: 1.4; }
.wa-avatar { flex: none; display: grid; place-items: center; width: calc(var(--pw) * .11); height: calc(var(--pw) * .11); border-radius: var(--radius-full); background: var(--soft); font-size: 13px; font-weight: 700; }
.wa-head strong { min-width: 0; font-size: 13.5px !important; overflow: hidden; font-size: 14px; letter-spacing: -.01em; white-space: nowrap; text-overflow: ellipsis; }
/* Newest message sits at the bottom; earlier ones are pushed up and clipped, as in a real chat */
.wa-body { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 14px 12px 12px; }
.wa-body > * { flex: none; }
.wa-day { align-self: center; padding: 4px 9px; background: var(--surface); border: 1px solid var(--rule); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wa-bubble { max-width: 84%; margin: 0; padding: 8px 11px 6px; border-radius: var(--be-corner); font-size: 14px; line-height: 1.36; }
.wa-bubble.in { align-self: flex-start; background: var(--surface); border: 1px solid var(--rule); }
.wa-bubble.out { align-self: flex-end; background: var(--soft); }
.wa-bubble .meta { display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin-top: 3px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.wa-bubble .ticks { width: 16px; height: 9px; fill: none; stroke: var(--muted); stroke-width: 1.3; }
.wa-bubble.in.has-qr { padding-bottom: 0; }
.wa-qr { display: grid; margin: 8px -11px 0; padding: 0; list-style: none; }
.wa-qr li { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 8px; border-top: 1px solid var(--rule); font-size: 13.5px; font-weight: 700; color: var(--ink); transition: color .25s var(--ease-standard), background .25s var(--ease-standard); }
.wa-qr li svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wa-qr li.is-tap { color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, var(--surface)); }
.wa-typing { align-self: flex-start; display: flex; gap: 4px; padding: 11px 13px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--be-corner); }
.wa-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: wa-dot 1s infinite ease-in-out; }
.wa-typing i:nth-child(2) { animation-delay: .15s; } .wa-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes wa-dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.wa-input { margin: 0 10px 10px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--rule); font-size: 13px; color: var(--muted); }
/* The handover line: a red track from the phone to the card. While the demo plays the dashes flow towards
   the card, and each answer travels across as a glowing packet before it lands in the card */
.wa-link { --tk: 2px; position: relative; align-self: center; height: var(--tk); background: repeating-linear-gradient(90deg, var(--primary) 0 8px, transparent 8px 14px); opacity: .9; }
.wa-flow.is-live .wa-link { animation: wa-march .6s linear infinite; }
@keyframes wa-march { to { background-position: 14px 0; } }
/* start node on the phone edge */
.wa-link > i { position: absolute; left: 0; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); translate: -50% -50%; box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px color-mix(in srgb, var(--primary) 60%, transparent); }
.wa-flow.is-live .wa-link > i { animation: wa-beacon 1.4s var(--ease-standard) infinite; }
@keyframes wa-beacon { 0%, 100% { box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px color-mix(in srgb, var(--primary) 60%, transparent); } 50% { box-shadow: 0 0 0 4px var(--ink), 0 0 0 10px color-mix(in srgb, var(--primary) 0%, transparent); } }
/* the travelling packet */
.wa-link::before { content: ""; position: absolute; z-index: 2; left: 0; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); translate: -50% -50%; opacity: 0; box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary) 30%, transparent), 0 0 22px 4px color-mix(in srgb, var(--primary) 55%, transparent); }
.wa-link.is-pulse::before { animation: wa-pulse .75s cubic-bezier(.5, 0, .3, 1) both; }
@keyframes wa-pulse { 0% { left: 0; opacity: 0; scale: .4; } 15% { opacity: 1; scale: 1; } 80% { opacity: 1; scale: 1; } 100% { left: 100%; opacity: 0; scale: 1.8; } }
/* arrowhead at the card */
.wa-link::after { content: ""; position: absolute; right: 1px; top: 50%; width: 12px; height: 12px; border-top: var(--tk) solid var(--primary); border-right: var(--tk) solid var(--primary); transform: translateY(-50%) rotate(45deg); }
/* the card answers each arrival with a red ring */
.wa-card { position: relative; }
.wa-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2px var(--primary); opacity: 0; pointer-events: none; }
.wa-card.is-hit::after { animation: wa-hit .7s var(--ease-standard) both; }
@keyframes wa-hit { 0% { opacity: 1; box-shadow: 0 0 0 2px var(--primary); } 100% { opacity: 0; box-shadow: 0 0 0 14px color-mix(in srgb, var(--primary) 0%, transparent); } }
/* The request card: what the team receives */
.wa-card { margin: 0; padding: clamp(20px, 2vw, 28px); background: var(--surface); color: var(--ink); border-radius: var(--be-corner); }
.wa-card-label { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wa-card-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.wa-card dl { margin: 0; border-top: 1px solid var(--ink); }
.wa-card dl div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.wa-card dt { font-size: 13px; color: var(--muted); }
.wa-card dd { margin: 0; text-align: right; white-space: nowrap; font-size: 15px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.wa-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin-top: 10px; }
.wa-card-status { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.wa-card-status svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
/* Playing: the script hides each chat step until its turn, and the card fills as each detail is given
   (no script or reduced motion shows the finished state) */
.wa-flow.is-armed [data-s]:not(.is-shown) { display: none; }
.wa-flow [data-s].is-shown { animation: wa-in .4s var(--ease-standard) both; }
@keyframes wa-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wa-card dd { transition: color .3s var(--ease-standard); }
.wa-flow.is-armed .wa-card dd:not(.is-shown) { color: transparent; background: linear-gradient(var(--soft), var(--soft)) right center / 64% 10px no-repeat; }
.wa-card dl div { transition: background .6s var(--ease-standard); }
.wa-card dl div.is-new { background: color-mix(in srgb, var(--primary) 8%, var(--surface)); transition: none; }
.wa-flow.is-armed .wa-card-status:not(.is-shown) { opacity: 0; }
.wa-card-status { transition: opacity .4s var(--ease-standard); }
/* Text above, the demo across the full width */
@media (max-width: 1300px) {
  .wa-feature-grid { grid-template-columns: 1fr; gap: clamp(40px, 6vw, 64px); }
  .wa-feature-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(32px, 5vw, 64px); align-items: end; }
  .wa-feature-text p { margin-top: 0; }
  .wa-feature-grid:has(.wa-stage) { grid-template-columns: 1fr; }
  .wa-stage { grid-template-columns: auto minmax(32px, 160px) minmax(260px, 330px); justify-content: center; }
}
/* Phones: phone, a short vertical handover line, then the card */
@media (max-width: 720px) {
  .wa-feature-text { display: block; }
  .wa-feature-copy p { margin-top: 24px; }
  .wa-stage { grid-template-columns: minmax(0, 360px); justify-content: center; }
  .wa-card { max-width: 360px; }
  .wa-link { justify-self: center; width: var(--tk); height: 64px; margin: 0; background: repeating-linear-gradient(180deg, var(--primary) 0 8px, transparent 8px 14px); }
  @keyframes wa-march { to { background-position: 0 14px; } }
  .wa-link > i { left: 50%; top: 0; }
  .wa-link::before { left: 50%; top: 0; }
  .wa-link.is-pulse::before { animation-name: wa-pulse-v; }
  @keyframes wa-pulse-v { 0% { top: 0; opacity: 0; scale: .4; } 15% { opacity: 1; scale: 1; } 80% { opacity: 1; scale: 1; } 100% { top: 100%; opacity: 0; scale: 1.8; } }
  .wa-link::after { top: auto; bottom: 1px; right: 50%; transform: translateX(50%) rotate(135deg); }
  .wa-body { height: clamp(400px, 112vw, 480px); }
}
/* ---------- How we work: JourneyLine (as on the industry pages) ---------- */
.process-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px clamp(32px, 5vw, 80px); align-items: end; margin-top: clamp(40px, 5vw, 72px); }
.process-head .section-title { margin: 0; }
.process-head .editorial-aside { margin: 0 0 .4em; color: var(--muted); }
@media (max-width: 760px) { .process-head { grid-template-columns: 1fr; } }

/* ---------- AudienceList icons: an outline circle before each name (homepage on ink, Services on paper) ---------- */
.audience-row:has(.aud-icon) { grid-template-columns: auto minmax(0, 1fr) 28px; column-gap: clamp(18px, 2.4vw, 32px); }
.audience-row:has(.aud-icon) strong { padding-right: 0; }
.aud-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: var(--radius-full); color: var(--primary); transition: background var(--duration-button) var(--ease-standard), border-color var(--duration-button) var(--ease-standard), color var(--duration-button) var(--ease-standard); }
.section.dark .aud-icon { border-color: var(--muted); }
.aud-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .audience-row:hover .aud-icon { background: var(--primary); border-color: var(--primary); color: var(--ink); } }
@media (max-width: 760px) { .aud-icon { width: 40px; height: 40px; } .aud-icon svg { width: 20px; height: 20px; } }
/* Services: the list on paper */
.industries .audience-row { color: var(--ink); text-decoration: none; border-bottom-color: var(--rule); }
.industries .audience-list { border-top-color: var(--ink); }
.industries .audience-note { color: var(--muted); }
.industries .section-title em { font-style: normal; color: var(--primary); }
.industries .audience-row:focus-visible { outline: var(--focus-ring-width) solid var(--primary); outline-offset: var(--focus-ring-offset); }
/* Tablets: the vertical line stays, each step's words sit beside its heading so the width is used */
@media (min-width: 561px) and (max-width: 900px) {
  .how-we-work .stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 48px); align-items: center; min-height: var(--node); }
  .how-we-work .stage h3 { margin: 0; }
  .how-we-work .stage p { max-width: 34ch; }
}
/* ---------- Ways to work: ServiceGrid, one row of three options, terms aligned at the foot ---------- */
.ways-grid .svc { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0; }
.ways-grid { grid-template-rows: repeat(4, auto); }
.ways-grid .svc h3 { font-size: clamp(24px, 2.2vw, 34px); }
.ways-grid .svc p { max-width: 34ch; }
.svc-term { align-self: end; margin-top: clamp(24px, 2.6vw, 36px); padding-top: 14px; border-top: 1px solid var(--rule); font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.svc:last-child { border-right: 0; }
/* Below 900px: one option per row, icon beside the words */
@media (max-width: 900px) {
  .ways-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .ways-grid .svc:nth-child(n) { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: none; grid-row: auto; column-gap: clamp(18px, 3vw, 32px); padding: 28px 0; border-right: 0; }
  .ways-grid .svc-icon { grid-row: 1 / span 3; margin: 0; }
  .ways-grid .svc h3 { margin: 6px 0 10px; }
  .ways-grid .svc-term { grid-column: 2; margin-top: 16px; }
}
/* Closing line: the question leads, the button is unmissable */
.ways-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px clamp(32px, 5vw, 80px); align-items: center; padding: clamp(32px, 3.6vw, 52px) 0; border-bottom: 1px solid var(--ink); }
.ways-cta h3 { margin: 0 0 10px; font-size: clamp(26px, 2.6vw, 40px); font-weight: 700; line-height: 1; letter-spacing: -.05em; }
.ways-cta p { margin: 0; max-width: 62ch; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.45; color: var(--muted); }
.ways-cta .button { white-space: nowrap; }
@media (max-width: 640px) { .ways-cta { grid-template-columns: 1fr; } .ways-cta .button { justify-self: start; } }
/* Tablets: the vertical line stays, each step's words sit beside its heading so the width is used */
@media (min-width: 561px) and (max-width: 900px) {
  .how-we-work .stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 48px); align-items: center; min-height: var(--node); }
  .how-we-work .stage h3 { margin: 0; }
  .how-we-work .stage p { max-width: 34ch; }
}
/* ---------- Ways to work: OptionRows, three ruled rows with the terms lined up for comparison ---------- */
.options { margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.option { display: grid; grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1.25fr) minmax(170px, .5fr); gap: 12px clamp(20px, 3vw, 48px); align-items: baseline; padding: clamp(24px, 2.8vw, 40px) 0; border-bottom: 1px solid var(--rule); }
.option-n { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--primary); font-variant-numeric: tabular-nums; }
.option h3 { margin: 0; font-size: clamp(28px, 2.8vw, 44px); font-weight: 700; line-height: 1; letter-spacing: -.05em; text-wrap: balance; }
.option p { margin: 0; max-width: 54ch; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.option-term { font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-align: right; }
.option:last-child { border-bottom: 0; }
.ways .pillar-callout { margin-top: 0; }
@media (max-width: 1100px) {
  .option { grid-template-columns: 40px minmax(0, 1fr) minmax(140px, 22ch); grid-template-areas: "n name term" "n desc term"; }
  .option-n { grid-area: n; } .option h3 { grid-area: name; } .option p { grid-area: desc; } .option-term { grid-area: term; }
}
@media (max-width: 640px) {
  .option { grid-template-columns: 36px minmax(0, 1fr); grid-template-areas: "n name" "n desc" "n term"; }
  .option-term { text-align: left; padding-top: 4px; }
}

/* ========== WhatsApp Automation page (2026-10-14) ========== */
/* ---------- WhatsApp hero: headline, line and button left; the live sample chat right ---------- */
/* Clear space under the demo before the gamosa strip */
.hero.industry-hero.wa-hero { padding-bottom: clamp(56px, 6vw, 104px); }
.hero.industry-hero.wa-hero .hero-main { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 5vw, 96px); align-items: center; }
.hero.industry-hero.wa-hero .hero-title { font-size: clamp(48px, 4.4vw, 96px); text-wrap: balance; }
.wa-hero .hero-title em { display: block; }
.wa-hero .support { margin: clamp(28px, 3vw, 40px) 0 0; max-width: 34ch; }
.wa-hero .hero-actions { display: flex; justify-content: flex-start; margin-top: clamp(28px, 3vw, 40px); }
.wa-hero .wa-stage { grid-template-columns: auto clamp(40px, 3vw, 64px) minmax(260px, 330px); justify-content: center; }
/* The demo on paper: rules and rings in the light-surface tones */
.wa-hero .wa-tag { border-color: var(--rule); color: var(--muted); }
.wa-hero .wa-card { border: 1px solid var(--rule); }
.wa-hero .wa-link > i { box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px color-mix(in srgb, var(--primary) 60%, transparent); }
.wa-hero .wa-flow.is-live .wa-link > i { animation-name: wa-beacon-light; }
@keyframes wa-beacon-light { 0%, 100% { box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px color-mix(in srgb, var(--primary) 60%, transparent); } 50% { box-shadow: 0 0 0 4px var(--paper), 0 0 0 10px color-mix(in srgb, var(--primary) 0%, transparent); } }
.wa-hero .wa-live { border-color: var(--ink); }
/* Narrower screens: words first, the demo full width beneath */
@media (max-width: 1240px) {
  .hero.industry-hero.wa-hero .hero-main { grid-template-columns: 1fr; }
  .hero.industry-hero.wa-hero .hero-title { font-size: clamp(48px, 8vw, 96px); }
  .wa-hero .wa-stage { grid-template-columns: auto minmax(32px, 160px) minmax(260px, 330px); justify-content: center; margin-top: clamp(16px, 3vw, 32px); }
}
@media (max-width: 720px) {
  .wa-hero .wa-stage { grid-template-columns: minmax(0, 360px); }
  .hero.industry-hero.wa-hero .hero-title { font-size: clamp(40px, 11.6vw, 72px); }
}
/* Two-sentence titles: each sentence on its own line above 760px; the size steps down so the first line fits */
@media (min-width: 761px) {
  .section-title.fit-title { font-size: min(clamp(56px, 7.3vw, 105px), calc((100vw - 2 * var(--be-gutter)) / (var(--len, 20) * .5))); }
  .fit-title .hl-line { white-space: nowrap; }
}
/* ---------- Guided or AI-enabled: ServiceGrid, two columns ---------- */
.svc-grid.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-grid.two-up .svc:nth-child(2) { border-right: 0; }
.svc-grid.two-up .svc p { max-width: 40ch; }
.svc-tag { align-self: flex-start; justify-self: start; margin: 18px 0 0; padding: 6px 10px; border: 1px solid var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.levels-line { margin: clamp(32px, 4vw, 56px) 0 0; max-width: 46ch; color: var(--muted); }
@media (max-width: 640px) { .svc-grid.two-up { grid-template-columns: 1fr; } .svc-grid.two-up .svc > :not(.svc-icon) { grid-column: 2; } .svc-grid.two-up .svc-icon { grid-row: 1 / span 3; } }
/* ---------- By industry: "a clearer path". Industry tabs switch a JourneyLine-style path:
   three numbered steps on a coral line, ending at a filled tick with the confirmation ---------- */
.ipath { margin-top: clamp(48px, 6vw, 88px); }
.ipath-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.ipath-tab { position: relative; display: flex; align-items: center; gap: clamp(12px, 1.4vw, 18px); min-height: 44px; padding: clamp(20px, 2.2vw, 30px) clamp(12px, 1.6vw, 24px) clamp(20px, 2.2vw, 30px) 0; border: 0; border-bottom: 1px solid var(--rule); background: none; color: var(--muted); font: inherit; text-align: left; cursor: pointer; transition: color var(--duration-button) var(--ease-standard); }
.ipath-tab + .ipath-tab { padding-left: clamp(12px, 1.6vw, 24px); border-left: 1px solid var(--rule); }
.ipath-tab-name { font-size: clamp(18px, 1.9vw, 30px); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; }
.ipath-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-in-out); }
.ipath-tab[aria-selected="true"] { color: var(--ink); }
.ipath-tab[aria-selected="true"]::after { transform: scaleX(1); }
.ipath-tab[aria-selected="true"] .aud-icon { background: var(--primary); border-color: var(--primary); color: var(--ink); }
@media (hover: hover) { .ipath-tab:hover { color: var(--ink); } .ipath-tab:hover .aud-icon { border-color: var(--primary); } }
.ipath-tab:focus-visible { outline: var(--focus-ring-width) solid var(--primary); outline-offset: calc(var(--focus-ring-width) * -1); }
.ipath-panel[hidden] { display: none; }
.ipath-title { display: none; }
.ipath .journey { margin-top: clamp(48px, 5.6vw, 80px); }
.ipath .stage p { max-width: 24ch; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.4; color: var(--ink); }
.ipath .node b { font-size: 15px; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.ipath .stage-confirm strong { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.ipath .stage-confirm p { color: var(--muted); }
.ipath-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: clamp(40px, 4.4vw, 64px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--rule); }
.ipath-actions .text-link { padding-left: 0; }
/* Without script: every path shows, each with its own title */
html:not(.js) .ipath-tabs { display: none; }
html:not(.js) .ipath-panel[hidden] { display: block; }
html:not(.js) .ipath-title { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 28px; font-weight: 700; }
html:not(.js) .ipath-panel + .ipath-panel { margin-top: 72px; }
/* Phones: icon-only tabs, the industry named above its path, the path running down the left */
@media (max-width: 640px) {
  .ipath-tab { justify-content: center; padding: 18px 0; }
  .ipath-tab + .ipath-tab { padding-left: 0; }
  .ipath-tab-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ipath-title { display: flex; align-items: center; gap: 14px; margin: 28px 0 0; font-size: clamp(24px, 7vw, 30px); font-weight: 700; line-height: 1.05; letter-spacing: -.045em; }
  .ipath .journey { margin-top: 32px; }
  .ipath .stage p { max-width: none; }
  .ipath-actions { flex-direction: column; align-items: flex-start; }
}
/* A 2px path so the line reads clearly as coral */
.ipath .stage:not(:last-child)::before, .ipath .stage:not(:last-child)::after { height: 2px; margin-top: -.5px; }
@media (max-width: 900px) { .ipath .stage:not(:last-child)::before, .ipath .stage:not(:last-child)::after { width: 2px; height: calc(100% + var(--j-gap) - var(--node)); margin: 0 0 0 -.5px; } }
/* ---------- The problem: StakesChat without the phone, four points in a 2 x 2 grid ---------- */
.stakes-list.wa-stakes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 88px); margin-top: clamp(48px, 6vw, 96px); }
@media (max-width: 760px) { .stakes-list.wa-stakes { grid-template-columns: 1fr; } }

/* ========== About page (2026-10-14) ========== */
/* ---------- About hero: the industry hero with the Northeast illustration ---------- */
.hero.industry-hero.about-hero .hero-main { grid-template-columns: minmax(0, 1fr) minmax(320px, 48%); gap: clamp(32px, 4vw, 72px); }
.about-hero .support { margin: clamp(28px, 3vw, 40px) 0 0; max-width: 40ch; }
.hero.industry-hero.about-hero .hero-title { font-size: clamp(52px, 5.6vw, 100px); text-wrap: balance; }
.about-hero .hero-title em { display: block; }
.about-hero .hero-media { aspect-ratio: auto; background: none; overflow: visible; }
.about-hero .hero-media::before, .about-hero .hero-media::after { content: none; }
.about-hero .hero-media img { display: block; width: 100%; height: auto; }
.hero.industry-hero.about-hero { padding-bottom: clamp(40px, 5vw, 72px); }
@media (min-width: 761px) and (max-width: 1100px) {
  .hero.industry-hero.about-hero .hero-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 42%); align-items: center; }
  .hero.industry-hero.about-hero .hero-title { font-size: clamp(44px, 6.4vw, 64px); }
  .hero.industry-hero.about-hero .hero-media { width: 100%; margin: 0; }
}
@media (max-width: 760px) { .hero.industry-hero.about-hero .hero-media { width: min(100%, 520px); margin: 36px 0 0; } }
/* ---------- Our story: headline beside the story, then Mission and Vision in two icon columns ---------- */
.story-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px clamp(40px, 6vw, 112px); align-items: center; margin-top: clamp(40px, 5vw, 72px); }
.story-head .section-title { margin: 0; }
.story-head p { margin: 0 0 .3em; max-width: 36ch; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.38; color: var(--ink); text-wrap: pretty; }
.story .svc-grid { margin-top: clamp(48px, 6vw, 88px); }
.story .svc p { max-width: 36ch; font-size: clamp(18px, 1.5vw, 22px); color: var(--ink); }
@media (min-width: 901px) { .story-head .section-title { white-space: nowrap; } }
@media (max-width: 900px) { .story-head { grid-template-columns: 1fr; } }
/* ---------- What we're not: StakesChat 2 x 2 on ink, struck-through icons, then the answer ---------- */
.stance-close { margin: clamp(48px, 6vw, 88px) 0 0; max-width: 40ch; font-size: clamp(28px, 3.7vw, 64px); font-weight: 700; line-height: 1.08; letter-spacing: -.045em; color: var(--surface); text-wrap: balance; }
.stance .stake-icon svg .strike { stroke-width: 1.4; }
/* ---------- What guides us: JourneyLine with five principles ---------- */
.principles .journey { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.principles .stage:nth-child(5) { --s: 4; }
.principles .stage h3 { font-size: clamp(26px, 2.3vw, 40px); text-wrap: balance; }
.principles .stage p { max-width: 24ch; }
.principles .section-title { margin-top: clamp(40px, 5vw, 72px); }
@media (max-width: 900px) { .principles .journey { grid-template-columns: 1fr; } .principles .stage h3 { font-size: clamp(28px, 7vw, 40px); } .principles .stage p { max-width: 40ch; } }
/* ---------- The team: four portrait columns; initials stand in until the photos arrive ---------- */
.team-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 30%); gap: 24px clamp(40px, 6vw, 112px); align-items: end; margin-top: clamp(40px, 5vw, 72px); }
.team-head .section-title { margin: 0; }
.team-head .section-title em { display: block; font-style: normal; color: var(--primary); }
.team-head .editorial-aside { margin: 0 0 .35em; max-width: 30ch; color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 2.6vw, 44px); margin: clamp(48px, 6vw, 88px) 0 0; padding: clamp(32px, 3.4vw, 48px) 0 0; list-style: none; border-top: 1px solid var(--ink); }
.member { min-width: 0; }
.member-photo { position: relative; display: grid; place-items: center; margin: 0 0 clamp(20px, 2vw, 28px); aspect-ratio: 4 / 5; background: var(--paper); overflow: hidden; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-initials { font-size: clamp(64px, 7vw, 120px); font-weight: 700; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px var(--rule); }
.member h3 { margin: 0; font-size: clamp(22px, 1.9vw, 30px); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; }
.member-role { margin: 10px 0 0; font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.member-line { margin: 14px 0 0; max-width: 34ch; font-size: 16px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
@media (max-width: 900px) { .team-head { grid-template-columns: 1fr; } }
.team-nav, .team-bar { display: none; }
/* Below 900px: a swipe carousel, two profiles visible on small tablets, one on phones */
@media (max-width: 900px) {
  .team .team-head { padding-bottom: clamp(36px, 6vw, 56px); border-bottom: 1px solid var(--ink); }
  .team .team-grid { border-top: 0; margin-top: clamp(28px, 5vw, 40px); padding-top: 0; }
  .team-grid { display: flex; gap: 28px; margin-right: calc(var(--be-gutter) * -1); padding-right: var(--be-gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .team-grid::-webkit-scrollbar { display: none; }
  .member { flex: 0 0 46%; scroll-snap-align: start; }
  .member h3, .member-role, .member-line { padding-right: 12px; }
  .member-initials { font-size: 88px; }
  .team-nav { display: flex; margin-top: 8px; }
  .team-nav .carousel-dots { margin: 0 0 0 -10px; }
  .team-bar { display: block; margin-top: 20px; }
  .team-nav button:disabled { opacity: .35; cursor: default; }
}
@media (max-width: 640px) { .member { flex-basis: 82%; } .member-initials { font-size: 96px; } }

/* ========== Contact page (2026-10-14) ========== */
/* ---------- Hero: the page hero, payoff on its own line, the support line as the serif aside ---------- */
.hero.industry-hero.page-hero.contact-hero .hero-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 34%); gap: 32px clamp(40px, 6vw, 112px); align-items: end; }
.contact-hero .hero-title em { display: block; }
.contact-hero .editorial-aside { margin: 0 0 .5em; max-width: 26ch; color: var(--muted); }
.hero.industry-hero.contact-hero { padding-bottom: clamp(48px, 6vw, 96px); }
@media (max-width: 760px) { .hero.industry-hero.page-hero.contact-hero .hero-title { font-size: clamp(64px, 21vw, 120px); } .hero.industry-hero.page-hero.contact-hero .hero-main { grid-template-columns: 1fr; } .contact-hero .editorial-aside { margin: 0; } }
/* ---------- One working section: New project and direct contact on the left, the form on the right ---------- */
.contact-main .section-meta { margin-bottom: clamp(32px, 4vw, 56px); }
.contact-grid { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.contact-rail { position: sticky; top: 112px; display: flex; flex-direction: column; gap: clamp(40px, 4.4vw, 64px); }
.route-new { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; }
.route-new h3, .form-head h3 { margin: 0 0 12px; font-size: clamp(28px, 2.6vw, 40px); font-weight: 700; line-height: 1.02; letter-spacing: -.05em; }
.route-new p, .form-head p { margin: 0; max-width: 34ch; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.45; color: var(--muted); }
.route-new .button { justify-self: start; margin-top: 28px; }
.contact-direct { display: flex; flex-direction: column; gap: 20px; }
.contact-direct .section-meta { margin: 0; }
.contact-direct .contact-options { background: var(--surface); }
.contact-direct .contact-option { align-items: flex-start; gap: 16px; min-height: 0; padding: 16px 18px; color: var(--ink); text-decoration: none; }
.contact-direct .contact-option + .contact-option { border-top: 1px solid var(--rule); }
.contact-direct .contact-option > span:last-child { display: flex; flex-direction: column; gap: 4px; font-size: 16px; line-height: 1.4; }
.contact-kind { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-direct .is-static { cursor: default; }
@media (hover: hover) { .contact-direct .is-static:hover { background: var(--surface); } .contact-direct .is-static:hover .contact-icon { background: transparent; color: inherit; } }
.form-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: start; padding-bottom: clamp(24px, 2.6vw, 32px); border-bottom: 1px solid var(--ink); }
.form-head .fit-req { grid-column: 2; grid-row: 1; margin: 14px 0 0; font-size: 12px; color: var(--muted); white-space: nowrap; }
.form-head p { grid-column: 1 / -1; }
.contact-form { margin-top: clamp(28px, 3vw, 40px); }
.contact-form .fit-body { gap: clamp(24px, 2.6vw, 34px); }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 2.6vw, 34px) clamp(24px, 3vw, 48px); }
.field-help { margin: 10px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
/* Which services: compact checkboxes */
.check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px clamp(16px, 2vw, 28px); padding-top: 18px; border-top: 1px solid var(--ink); }
.check-grid .check { grid-template-columns: 22px 1fr; gap: 12px; align-items: center; }
.check-grid .check-box { margin-top: 0; }
.check-grid .check-text { font-size: 16px; }
/* Which demo: the same compact grid, round markers for a single choice */
.check.is-radio .radio-marker { margin-top: 0; }
.check.is-radio:has(input:checked) .radio-marker { border-color: var(--primary); }
.check.is-radio:has(input:checked) .radio-marker::after { opacity: 1; transform: scale(1); }
.check.is-radio:has(input:focus-visible) .radio-marker { outline: var(--focus-ring-width) solid var(--primary); outline-offset: 3px; }
@media (hover: hover) { .check.is-radio:hover .radio-marker { border-color: var(--primary); } }
/* The prompt shows in the closed field only, never as a row in the open list */
.form-select option[value=""] { display: none; }
.check input:focus-visible + .check-box { outline: var(--focus-ring-width) solid var(--primary); outline-offset: 3px; }
.cond:not([hidden]) { animation: be-cond-in .35s var(--ease-standard) both; }
@keyframes be-cond-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.contact-form .step-group { margin: 0; }
.contact-form .step-legend { margin-bottom: 14px; }
.step-group .field-error { margin-top: 10px; }
.contact-form .fit-actions { justify-content: flex-start; margin-top: 4px; }
.contact-form .form-alert[hidden], .contact-success[hidden] { display: none; }
/* Sent: the form gives way to the confirmation */
.contact-success { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; padding: clamp(28px, 3vw, 40px) 0; border-top: 1px solid var(--primary); animation: be-cond-in .4s var(--ease-standard) both; }
.contact-success .status-icon { margin-top: .3em; }
.contact-success h3 { margin: 0; font-size: clamp(28px, 2.8vw, 44px); font-weight: 700; line-height: 1.05; letter-spacing: -.05em; }
.contact-success p { margin: 14px 0 0; max-width: 46ch; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.45; color: var(--muted); }
.contact-success:focus { outline: none; }
/* Tablet and phone: one column. New project, then the form, then direct contact */
@media (max-width: 1120px) {
  .contact-grid { grid-template-columns: 1fr; gap: clamp(48px, 7vw, 72px); }
  .contact-rail { display: contents; }
  .route-new { order: 1; padding-bottom: clamp(40px, 6vw, 56px); border-bottom: 1px solid var(--rule); }
  .contact-form-wrap { order: 2; }
  .contact-direct { order: 3; }
  .contact-direct .contact-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-direct .contact-option + .contact-option { border-top: 0; border-left: 1px solid var(--rule); }
}
@media (max-width: 900px) {
  .contact-direct .contact-options { grid-template-columns: 1fr; }
  .contact-direct .contact-option + .contact-option { border-left: 0; border-top: 1px solid var(--rule); }
  .check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .field-pair { grid-template-columns: 1fr; }
  .form-head { grid-template-columns: minmax(0, 1fr); }
  .route-new .button { justify-self: stretch; }
  .form-head .fit-req { grid-column: 1; grid-row: 3; margin: 14px 0 0; }
  .form-head p { grid-column: 1; }
  .contact-form .fit-actions .button { width: 100%; }
  .contact-direct .contact-option { padding: 16px 14px; }
}
@media (max-width: 380px) { .check-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .demo-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cond:not([hidden]), .contact-success { animation: none; } }
