/* Ferlo — components. Every colour, size and radius comes from tokens.css.
   Order: base · type · buttons · labels · header + mega menu · mobile menu · sections (home → about → services → contact) · footer · responsive */

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
.static, .static html { scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: var(--r-sm); }
.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.band { padding-block: var(--section); }
.band--flush { padding-top: 0; }

/* ── Type roles ── */
h1, .h1 { font-family: var(--font-display); font-size: 64px; line-height: .95; letter-spacing: -2.5px; }
h2, .h2 { font-family: var(--font-display); font-size: 48px; line-height: 1; letter-spacing: -2px; }
h3, .h3 { font-family: var(--font-display); font-size: 24px; line-height: 1.15; letter-spacing: -.5px; }
.lead { font-size: 20px; line-height: 1.4; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.45; }

/* ── Label: mono caps with an ember dot (one per section head) ── */
.label { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; line-height: 1.2; letter-spacing: .75px; text-transform: uppercase; color: var(--text); }
.label::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); flex: none; }
.label--muted { color: var(--muted); }

/* Section head: label + headline, 16px apart; 72px to the content */
.head { display: grid; gap: var(--head-gap); justify-items: start; max-width: 600px; }
.head--center { justify-items: center; text-align: center; margin-inline: auto; }
.head p { color: var(--muted); max-width: 460px; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: var(--head-to-content); }
.head-gap { margin-bottom: var(--head-to-content); }

/* ── Buttons: pill, 14px medium, a hairline divider then the arrow ── */
.btn { --b-bg: var(--white); --b-fg: var(--ink); --b-div: var(--line-ink);
  display: inline-flex; align-items: center; gap: 12px; height: 41px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid transparent;
  background: var(--b-bg); color: var(--b-fg); font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.btn__go { display: inline-flex; align-items: center; gap: 12px; height: 17px; padding-left: 12px; border-left: 1px solid var(--b-div); }
.btn__go svg { width: 14px; height: 13px; transition: transform .35s var(--ease-out); }
.btn:hover .btn__go svg { transform: translateX(3px); }
.btn:hover { --b-bg: var(--paper); }
.btn--ink { --b-bg: var(--ink); --b-fg: var(--white); --b-div: rgba(255, 255, 255, .25); }
.btn--ink:hover { --b-bg: var(--ink-hover); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--text); --b-div: var(--line-2); border-color: var(--line-2); }
.btn--ghost:hover { --b-bg: rgba(255, 255, 255, .08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Round arrow button (sliders): bone circle, ember arrow; disabled = 40% */
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-brown); background: var(--paper); color: var(--accent);
  display: grid; place-items: center; transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.arrow svg { width: 14px; height: 14px; }
.arrow:hover:not(:disabled) { transform: scale(1.06); }
.arrow:disabled { opacity: .4; cursor: default; }
.arrows { display: flex; gap: 16px; align-items: center; }
.count { font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.count b { color: var(--text); font-weight: 600; }

/* ── Header: a floating white pill, centred; never moves or resizes on scroll ── */
.site-head { position: fixed; top: 24px; left: 0; right: 0; z-index: 50; pointer-events: none; }
.nav { position: relative; pointer-events: auto; width: min(var(--nav-w), 100% - 2 * var(--gutter)); margin-inline: auto; background: var(--white); color: var(--ink-2);
  border-radius: var(--r); padding: 6px 6px 6px 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; box-shadow: var(--shadow-1); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -.6px; color: var(--ink); }
.logo__mark { width: 22px; height: 22px; color: var(--accent); flex: none; }
.logo--light { color: var(--text); }
.nav__links { display: flex; align-items: center; gap: 4px; padding-left: 20px; border-left: 1px solid var(--line-ink); margin-right: auto; }
.nav__links a, .nav__more { font-size: 12px; font-weight: 500; line-height: 18px; padding: 6px 8px; border-radius: 6px; color: var(--ink-2); background: none; border: 0; display: inline-flex; align-items: center; gap: 4px; transition: color var(--dur-fast) var(--ease); }
.nav__links a:hover, .nav__more:hover, .nav__more[aria-expanded="true"], .nav__links a[aria-current="page"] { color: var(--accent-ink-light); }
.nav__more svg { width: 10px; height: 10px; transition: transform var(--dur-fast) var(--ease); }
.nav__more[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__toggle { display: none; width: 40px; height: 40px; border: 0; border-radius: 8px; background: none; color: var(--ink); place-items: center; }
.nav__toggle svg { width: 20px; height: 20px; }

/* Mega menu: white panel under the pill — two link columns, a photo and a call button */
.mega { position: absolute; top: calc(100% + 0px); left: 0; right: 0; padding-top: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .35s var(--ease-out), visibility 0s linear .25s; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__panel { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-2); padding: 24px; display: grid; grid-template-columns: 1fr 1fr 248px; gap: 24px; }
.mega__col { display: grid; gap: 12px; align-content: start; }
.mega__col p { font-family: var(--mono); font-size: 11px; letter-spacing: .75px; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 2px; }
.mega__col a { font-size: 12px; font-weight: 500; line-height: 18px; color: var(--ink-2); transition: color var(--dur-fast) var(--ease); }
.mega__col a:hover { color: var(--accent-ink-light); }
.mega__feature { display: grid; gap: 12px; align-content: start; }
.mega__feature img { width: 100%; height: 133px; object-fit: cover; border-radius: var(--r-sm); }
.mega__feature q { font-size: 13px; line-height: 1.45; color: var(--ink-soft); quotes: "\201C" "\201D"; }

/* Mobile menu (≤ 900px) */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--bg); padding: 24px var(--gutter) 32px; display: flex; flex-direction: column; gap: 32px;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s; }
.menu.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.menu__top { display: flex; align-items: center; justify-content: space-between; background: var(--white); border-radius: var(--r); padding: 6px 6px 6px 14px; }
.menu__links { display: grid; gap: 4px; }
.menu__links a { font-size: 32px; letter-spacing: -1.2px; line-height: 1.25; padding: 6px 0; border-bottom: 1px solid var(--line); }
.menu .btn { align-self: flex-start; }

/* ═══════════════ HOME ═══════════════ */

/* Hero: full-bleed photo, copy bottom-left, a photo call card bottom-right, a stats rule along the foot */
.hero { position: relative; min-height: clamp(760px, 100svh, 1015px); display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 11, .55) 0%, rgba(10, 10, 11, 0) 55%), linear-gradient(180deg, rgba(10, 10, 11, .25) 0%, rgba(10, 10, 11, 0) 28%, rgba(10, 10, 11, .5) 56%, rgba(10, 10, 11, .94) 100%); }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 32px; }
.hero__copy { display: grid; gap: var(--head-gap); max-width: 640px; }
.hero__card { position: relative; width: 371px; height: 243px; border-radius: var(--r-sm); overflow: hidden; flex: none; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; padding: 16px; isolation: isolate; }
.hero__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 11, .1) 10%, rgba(10, 10, 11, .55) 50%, rgba(10, 10, 11, .88) 100%); }
.hero__card p { font-size: 20px; font-weight: 500; line-height: 1.4; max-width: 250px; }
.hero__card .btn { align-self: flex-start; }
.hero__facts { border-top: 1px solid var(--line); }
.hero__facts ul { display: flex; justify-content: space-between; gap: 24px; padding-block: 24px 28px; }
.hero__facts li { font-family: var(--mono); font-size: 11px; letter-spacing: .75px; text-transform: uppercase; color: var(--muted); }
.hero__facts b { color: var(--text); font-weight: 400; }

/* Intro: tall photo left; right column = photo, head, then a quote slider pinned to the bottom */
.intro__grid { display: grid; grid-template-columns: minmax(0, 591fr) minmax(0, 544fr); column-gap: clamp(40px, 16.5vw, 260px); }
.intro__photo { position: relative; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 591 / 1097; }
.intro__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro__side { display: flex; flex-direction: column; gap: 56px; }
.intro__side > img { width: 100%; aspect-ratio: 544 / 368; object-fit: cover; border-radius: var(--r-sm); }
.intro__side .head { margin-bottom: auto; }
.quotes { display: grid; gap: 24px; max-width: 512px; }
.quotes__stage { display: grid; }
.quote { grid-area: 1 / 1; display: grid; gap: 24px; align-content: start; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s; }
.quote.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.quote p { font-size: 20px; line-height: 1.4; }
.quote cite { font-style: normal; display: grid; gap: 8px; }
.quote cite b { font-size: 14px; font-weight: 500; }
.quote cite span { font-size: 14px; color: var(--muted); }

/* Client logos: two brick rows of hairline cells that run past both edges */
.logos { border-top: 1px solid var(--line); overflow: hidden; }
.logos__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100%, 1600px); margin-inline: auto; }
.logos__row + .logos__row { grid-template-columns: repeat(4, minmax(0, 1fr)); width: calc(min(100%, 1600px) * 4 / 3); margin-left: 50%; transform: translateX(-50%); border-top: 1px solid var(--line); }
.logos__cell { height: 305px; display: grid; place-items: center; border-left: 1px solid var(--line); }
.logos__row .logos__cell:first-child { border-left: 0; }
.logos__cell img { max-height: 64px; width: auto; opacity: .92; }

/* Capabilities: sticky photo left, titles scroll by on the right (active = white, others dim) */
.caps__grid { display: grid; grid-template-columns: minmax(0, 622fr) minmax(0, 758fr); gap: 0; }
.caps__media { position: sticky; top: 0; height: min(900px, 100svh); padding-block: 24px; }
.caps__frame { position: relative; height: 100%; border-radius: var(--r-sm); overflow: hidden; }
.caps__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.caps__frame img.is-on { opacity: 1; }
.caps__list { padding-left: clamp(40px, 14vw, 200px); }
.cap { min-height: 455px; display: flex; flex-direction: column; justify-content: center; gap: 16px; max-width: 400px; }
.cap:first-child { min-height: 600px; }
.cap:last-child { min-height: 600px; }
.cap h3 { color: var(--dim); transition: color .4s var(--ease); }
.cap p { color: var(--muted); font-size: 14px; opacity: .0; transition: opacity .4s var(--ease); max-width: 360px; }
.cap.is-on h3 { color: var(--text); }
.cap.is-on p { opacity: 1; }
.cap img { display: none; }
.static .cap h3 { color: var(--text); }
.static .cap p { opacity: 1; }

/* Numbers band: full-bleed photo, four counters on a dark foot */
.numbers { position: relative; min-height: 900px; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.numbers > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.numbers::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 11, 0) 35%, rgba(10, 10, 11, .72) 66%, var(--bg) 100%); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-bottom: 120px; width: min(100% - 2 * var(--gutter), 1040px); margin-inline: auto; }
.stat { display: grid; gap: 8px; }
.stat b { font-family: var(--font-display); font-size: 48px; line-height: 1; letter-spacing: -2px; font-weight: 400; }
.stat span { font-family: var(--mono); font-size: 11px; line-height: 1.2; letter-spacing: .75px; text-transform: uppercase; color: var(--muted); max-width: 170px; }

/* Case studies: two tall photo cards, client chip top-left, title + button on a dark foot */
.cases__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.case { position: relative; aspect-ratio: 675 / 682; border-radius: var(--r-sm); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 40px; isolation: isolate; }
.case > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.case::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 11, 0) 45%, rgba(10, 10, 11, .5) 70%, rgba(10, 10, 11, .9) 100%); }
.case:hover > img { transform: scale(1.04); }
.chip { align-self: flex-start; background: var(--white); border-radius: var(--r-xs); padding: 6px 10px; display: inline-flex; }
.chip img { height: 20px; width: auto; }
.case__foot { display: grid; gap: 24px; justify-items: start; }
.case__foot h3 { max-width: 560px; }

/* Process: a dark card — step tabs + text left, photo right */
.process__card { display: grid; grid-template-columns: minmax(0, 636fr) minmax(0, 888fr); background: var(--surface); border-radius: var(--r-lg); overflow: hidden; min-height: 613px; }
.process__text { padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { display: inline-flex; align-items: center; gap: 12px; height: 33px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: none; font-size: 14px; font-weight: 500; color: var(--text);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.tab::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .9; }
.tab:hover { border-color: var(--line-2); }
.tab[aria-selected="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.tab[aria-selected="true"]::before { background: var(--accent); }
.panes { display: grid; }
.pane { grid-area: 1 / 1; max-width: 551px; color: var(--muted); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s linear .45s; }
.pane.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.pane b { color: var(--text); font-weight: 500; }
.process__media { position: relative; min-height: 420px; }
.process__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.process__media img.is-on { opacity: 1; }

/* Reviews: tall photo cards in a track that runs off the right edge */
.reviews { overflow: hidden; }
.track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gutter), (100% - var(--container)) / 2); scroll-padding-inline: max(var(--gutter), (100% - var(--container)) / 2); }
.track::-webkit-scrollbar { display: none; }
.review { position: relative; flex: none; width: min(678px, 86vw); aspect-ratio: 678 / 762; border-radius: var(--r-sm); overflow: hidden; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: flex-end; gap: 24px; padding: 40px; isolation: isolate; }
.review > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.review::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 11, 0) 30%, rgba(10, 10, 11, .6) 62%, rgba(10, 10, 11, .94) 100%); }
.review--dim::after { background: linear-gradient(180deg, rgba(10, 10, 11, .55) 0%, rgba(10, 10, 11, .92) 100%); }
.who { display: flex; align-items: center; gap: 12px; }
.who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.who b { display: block; font-size: 14px; font-weight: 500; color: var(--text); }
.who span span { display: block; font-size: 14px; color: var(--muted); }
.review p { font-size: 20px; line-height: 1.4; max-width: 598px; }

/* Insights: two posts — photo, mono date, title */
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.post { display: grid; gap: 16px; align-content: start; }
.post__img { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 675 / 598; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post:hover .post__img img { transform: scale(1.04); }
.post time { font-family: var(--mono); font-size: 11px; letter-spacing: .75px; text-transform: uppercase; color: var(--muted); }
.post h3 { max-width: 640px; transition: color var(--dur-fast) var(--ease); }
.post:hover h3 { color: var(--muted); }

/* CTA + footer: one photo runs behind both; the footer is a dark card inset on it */
.closing { position: relative; isolation: isolate; overflow: hidden; }
.closing__bg { position: absolute; inset: 0; z-index: -2; }
.closing__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(14px) saturate(.9); transform: scale(1.08); }
.closing::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 10, 11, .55); }
.cta { padding-block: 140px 120px; }
.cta .head { max-width: 520px; }
.cta .head p { color: var(--text-2); font-size: 16px; }
.cta .btn-row { margin-top: 40px; }
.foot { padding: 0 var(--gutter) var(--gutter); }
.foot__card { width: min(100%, var(--container)); margin-inline: auto; background: var(--bg); border-radius: var(--r-sm); padding: 56px 30px 30px; display: grid; gap: 72px; }
.foot__top { display: grid; grid-template-columns: 280px minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.foot__brand { display: grid; gap: 20px; align-content: start; justify-items: start; }
.foot__brand p { font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 250px; }
.foot__news { display: grid; gap: 16px; align-content: start; max-width: 380px; }
.foot__news h2 { font-size: 24px; line-height: 1.15; letter-spacing: -.5px; }
.field-pill { display: flex; align-items: center; gap: 8px; height: 48px; padding: 4px 4px 4px 18px; border-radius: var(--r-pill); background: var(--surface-2); }
.field-pill input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); font: inherit; font-size: 14px; }
.field-pill input::placeholder { color: var(--muted); }
.field-pill input:focus { outline: none; }
.field-pill:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.foot__note { font-size: 12px; line-height: 1.5; color: var(--muted); max-width: 340px; }
.foot__cols { display: grid; grid-template-columns: auto auto; gap: 24px 72px; justify-content: start; align-content: start; }
.foot__col { display: grid; gap: 14px; align-content: start; }
.foot__h { font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 8px; }
.foot__col a, .foot__col address { font-size: 12px; font-weight: 500; line-height: 1.5; color: var(--muted); font-style: normal; transition: color var(--dur-fast) var(--ease); }
.foot__col a:hover { color: var(--text); }
.foot__col--wide { grid-column: 1 / -1; }
.certs { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding-left: calc(280px + 40px); }
.cert { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); font-family: var(--mono); font-size: 11px; letter-spacing: .75px; text-transform: uppercase; color: var(--muted); }
.cert svg { width: 18px; height: 18px; color: var(--text); }
.foot__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.foot__legal { display: flex; align-items: center; gap: 20px; }
.foot__legal a { color: var(--muted); }
.foot__legal a + a { padding-left: 20px; border-left: 1px solid var(--line); }
.foot__legal a:hover, .social a:hover { color: var(--text); }
.social { display: flex; gap: 10px; }
.social a { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.social a:hover { border-color: var(--line-2); }
.social svg { width: 12px; height: 12px; }

/* FAQ: centred list of dark rows; the open row shows its answer and an ember minus */
.faq { display: grid; gap: 8px; max-width: 790px; margin-inline: auto; }
.faq__item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); transition: background var(--dur-fast) var(--ease); }
.faq__item:has([aria-expanded="true"]) { background: var(--surface); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 22px; background: none; border: 0; text-align: left; font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--text); }
.faq__q i { position: relative; width: 14px; height: 14px; flex: none; }
.faq__q i::before, .faq__q i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), background .3s var(--ease); }
.faq__q i::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] i::before { background: var(--accent); }
.faq__q[aria-expanded="true"] i::after { transform: rotate(0deg); opacity: 0; }
.faq__a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .4s var(--ease), visibility 0s linear .4s; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 22px 22px; color: var(--muted); max-width: 34em; font-size: 16px; }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }

/* ═══════════════ ABOUT ═══════════════ */
.page-head { padding-top: 188px; padding-bottom: 76px; }
.page-head .head { max-width: 700px; }
.page-head .wide-photo { margin-top: 76px; }
.page-head h1 { font-size: 64px; }
.page-head p { font-size: 16px; }
.wide-photo { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1524 / 909; }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-text { display: grid; grid-template-columns: minmax(0, 554fr) minmax(0, 705fr); justify-content: space-between; gap: 40px; }
.split-text__body { display: grid; gap: 20px; color: var(--muted); max-width: 620px; justify-self: end; }
.mission { display: grid; grid-template-columns: minmax(0, 510fr) minmax(0, 697fr); justify-content: space-between; gap: 48px; align-items: center; }
.mission__copy { display: grid; gap: 48px; }
.ticks { display: grid; gap: 8px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; font-weight: 500; }
.ticks li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-1px); }
.mission__end { display: grid; gap: 40px; justify-items: start; }
.mission__end p { color: var(--muted); max-width: 492px; }
.mission__photo { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 697 / 688; }
.mission__photo img { width: 100%; height: 100%; object-fit: cover; }
.team { display: grid; gap: 72px; }
.team__group { display: grid; gap: 40px; }
.team__group h3 { font-size: 24px; }
.team__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.person { position: relative; aspect-ratio: 497 / 552; border-radius: var(--r-sm); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; isolation: isolate; }
.person > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.person::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 11, 0) 50%, rgba(10, 10, 11, .6) 74%, rgba(10, 10, 11, .9) 100%); }
.person b { font-size: 18px; font-weight: 500; }
.person span { font-size: 14px; color: var(--muted); }

/* ═══════════════ SERVICES ═══════════════ */
.sols-band { padding-bottom: 40px; }
.sols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px var(--gap); }
.sol { display: grid; gap: 16px; justify-items: start; align-content: start; }
.sol__img { width: 100%; aspect-ratio: 449 / 480; border-radius: var(--r-sm); overflow: hidden; }
.sol__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.sol:hover .sol__img img { transform: scale(1.04); }
.sol h2 { font-size: 24px; line-height: 1.15; letter-spacing: -.5px; }
.sol p { color: var(--muted); font-size: 14px; max-width: 400px; min-height: 2.9em; }
.sol .btn { margin-top: 8px; }

/* ═══════════════ CONTACT ═══════════════ */
.contact { padding-top: 208px; padding-bottom: 130px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 531fr) minmax(0, 616fr); justify-content: space-between; gap: 64px; width: min(100% - 2 * var(--gutter), 1266px); margin-inline: auto; }
.contact__info { display: flex; flex-direction: column; justify-content: space-between; gap: 64px; padding-block: 40px; }
.contact__info .head { max-width: 531px; }
.reach { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.reach__item { display: grid; gap: 24px; }
.reach__item svg { width: 28px; height: 28px; color: var(--text); }
.reach__item p { font-family: var(--mono); font-size: 11px; letter-spacing: .75px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.reach__item a { font-size: 20px; line-height: 1.4; }
.follow { display: grid; gap: 16px; margin-top: 24px; }
.follow > p { font-family: var(--mono); font-size: 11px; letter-spacing: .75px; text-transform: uppercase; color: var(--muted); }
.form-card { background: var(--surface); border-radius: var(--r); padding: 40px; display: grid; gap: 40px; align-content: start; }
.form-card h2 { font-size: 20px; line-height: 1.4; letter-spacing: 0; }
.form { display: grid; gap: 24px; }
.form .btn { justify-self: start; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 16px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; height: 48px; padding: 0 16px; background: var(--surface-2); border: 1px solid transparent; border-radius: var(--r-sm); color: var(--text); font: inherit; font-size: 16px; transition: border-color var(--dur-fast) var(--ease); }
.field textarea { height: 110px; padding: 12px 16px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%23C9C5C1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 14px; height: 14px; margin: 3px 0 0; accent-color: var(--accent); }
.check a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1200px) {
  .caps__list { padding-left: 64px; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .certs { padding-left: 0; }
}
@media (max-width: 1024px) {
  :root { --section: 104px; --head-to-content: 56px; }
  h1, .h1, .page-head h1 { font-size: 52px; letter-spacing: -2px; }
  h2, .h2 { font-size: 40px; letter-spacing: -1.5px; }
  .hero__row { flex-direction: column; align-items: flex-start; }
  .intro__grid { grid-template-columns: 1fr 1fr; }
  .process__card { grid-template-columns: 1fr; }
  .process__media { min-height: 420px; order: -1; }
  .numbers { min-height: 720px; }
  .numbers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .sols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mission { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__info { padding-block: 0; }
}
@media (max-width: 900px) {
  .nav__links, .nav > .btn { display: none; }
  .nav__toggle { display: grid; }
  .nav { padding-right: 4px; }
  .site-head { top: 16px; }
  .mega { display: none; }
  .intro__grid { grid-template-columns: 1fr; row-gap: 48px; }
  .intro__photo { min-height: 0; aspect-ratio: 4 / 5; }
  .intro__side > img { display: none; }
  .caps__grid { grid-template-columns: 1fr; }
  .caps__media { display: none; }
  .caps__list { padding-left: 0; display: grid; gap: 48px; }
  .cap, .cap:first-child, .cap:last-child { min-height: 0; max-width: none; }
  .cap img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); order: -1; }
  .cap h3 { color: var(--text); }
  .cap p { opacity: 1; }
  .cases__grid, .posts { grid-template-columns: 1fr; }
  .logos__cell { height: 200px; }
  .split-text, .mission { grid-template-columns: 1fr; }
  .mission__photo { order: -1; }
  .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__top { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; --section: 88px; --head-to-content: 40px; }
  h1, .h1, .page-head h1 { font-size: 42px; letter-spacing: -1.6px; line-height: 1; }
  h2, .h2 { font-size: 34px; letter-spacing: -1.2px; line-height: 1.05; }
  h3, .h3 { font-size: 21px; }
  .lead, .quote p, .review p { font-size: 18px; }
  .hero { min-height: clamp(640px, 100svh, 820px); }
  .hero::after { background: linear-gradient(180deg, rgba(10, 10, 11, .3) 0%, rgba(10, 10, 11, .15) 22%, rgba(10, 10, 11, .7) 45%, rgba(10, 10, 11, .95) 100%); }
  .review::after, .review--dim::after { background: linear-gradient(180deg, rgba(10, 10, 11, .1) 10%, rgba(10, 10, 11, .78) 45%, rgba(10, 10, 11, .96) 100%); }
  .hero__card { width: 100%; height: 220px; }
  .hero__facts ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .head-row { flex-direction: column; align-items: flex-start; }
  .logos__row, .logos__row + .logos__row { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin-left: 0; transform: none; }
  .logos__row + .logos__row .logos__cell:nth-child(n+3) { display: none; }
  .logos__row .logos__cell:nth-child(3) { display: none; }
  .logos__cell { height: 150px; }
  .logos__cell img { max-height: 44px; max-width: 70%; }
  .numbers { min-height: 640px; }
  .numbers__grid { padding-bottom: 72px; column-gap: 24px; }
  .stat b { font-size: 40px; }
  .case, .review, .person { padding: 24px; }
  .case { aspect-ratio: 4 / 5; }
  .process__text { padding: 24px; }
  .process__media { min-height: 260px; }
  .sols, .team__grid { grid-template-columns: 1fr; }
  .faq__q { font-size: 16px; padding: 18px; }
  .faq__a p { padding: 0 18px 18px; }
  .page-head { padding-top: 140px; padding-bottom: 48px; }
  .page-head .wide-photo { margin-top: 48px; }
  .contact { padding-top: 140px; }
  .form-card { padding: 24px; }
  .form__row, .reach { grid-template-columns: 1fr; }
  .foot__card { padding: 40px 20px 24px; gap: 48px; }
  .foot__cols { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .menu__links a { font-size: 28px; }
}

/* ───────── Style Guide ───────── */
/* Ferlo · design system page (pages/style-guide.html). Every class is prefixed sg-. Tokens only, no new colours or fonts. */

/* ── Overview: title + bento (the first 1440 × 990 becomes the store image) ── */
.sg-top { padding: 140px 0 72px; }
.sg-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 40px; }
.sg-title .head { max-width: 760px; }
.sg-title > p { max-width: 440px; color: var(--muted); }
.sg-bento { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); grid-template-rows: repeat(2, minmax(330px, auto)); gap: var(--gap); }
.sg-tile { background: var(--surface); border-radius: var(--r-sm); padding: 28px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.sg-k { font-family: var(--mono); font-size: 12px; line-height: 1.4; letter-spacing: .75px; text-transform: uppercase; color: var(--muted); }
.sg-bento__photo { grid-row: 1 / span 2; aspect-ratio: auto; padding: 28px; }
.sg-bento__type .sg-type { flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sg-aa { font-family: var(--font-display); font-size: 210px; line-height: .78; letter-spacing: -10px; margin-left: -8px; }
.sg-fams { display: grid; gap: 14px; padding-bottom: 6px; }
.sg-fams li { display: grid; gap: 2px; }
.sg-fams b { font-size: 20px; font-weight: 500; letter-spacing: -.4px; }
.sg-fams span { font-size: 14px; color: var(--muted); }
.sg-mono { font-family: var(--mono); font-weight: 400 !important; letter-spacing: 0 !important; }
.sg-chips { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; }
.sg-chips li { border-radius: var(--r-sm); border: 1px solid var(--line); padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; color: var(--text); }
.sg-chips b { font-size: 14px; font-weight: 500; }
.sg-chips code { font-family: var(--mono); font-size: 12px; opacity: .8; }
.sg-chips .sg-chips__light { color: var(--ink); border-color: transparent; }
.sg-bento__tabs .panes { flex: 1; }
.sg-bento__tabs .pane { max-width: 460px; }
.sg-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.sg-bento__btns { justify-content: space-between; }
.sg-stack { display: grid; gap: 8px; justify-items: start; }

/* ── Sections ── */
.sg-sec { padding-block: 104px 0; }
.sg-sec:last-child { padding-bottom: var(--section); }
.sg-sec .head p { max-width: 560px; }
.sg-group { font-family: var(--mono); font-size: 12px; line-height: 1.4; letter-spacing: .75px; text-transform: uppercase; color: var(--muted); margin: 48px 0 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.sg-sec .head-gap + .sg-group { margin-top: 0; }
.sg-top code, .sg-sec code { font-family: var(--mono); }

/* Colour swatches */
.sg-sws { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px var(--gap); }
.sg-sw { display: grid; gap: 4px; align-content: start; }
.sg-sw i { display: block; height: 88px; border-radius: var(--r-sm); border: 1px solid var(--line); margin-bottom: 10px; }
.sg-sw b { font-size: 14px; font-weight: 500; }
.sg-sw code { font-size: 12px; color: var(--text); }
.sg-sw span { font-size: 14px; color: var(--muted); }

/* Type specimens */
.sg-specs { border-bottom: 1px solid var(--line); }
.sg-spec { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; align-items: baseline; padding-block: 28px; border-top: 1px solid var(--line); }
.sg-spec code { font-size: 12px; line-height: 1.6; color: var(--muted); }
.sg-spec > p { max-width: 900px; text-wrap: balance; }

/* Radii, spacing, shadows, easing */
.sg-radii { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); }
.sg-radii li, .sg-shadows li { display: grid; gap: 4px; align-content: start; }
.sg-radii i { display: block; height: 96px; background: var(--surface); border: 1px solid var(--line-2); margin-bottom: 10px; }
.sg-radii code, .sg-shadows code, .sg-space code, .sg-ease code { font-size: 12px; color: var(--text); }
.sg-radii span, .sg-shadows span, .sg-space span, .sg-ease span { font-size: 14px; color: var(--muted); }
.sg-space { display: grid; }
.sg-space li { display: grid; grid-template-columns: 240px 300px minmax(0, 1fr); gap: 24px; align-items: center; padding-block: 14px; border-top: 1px solid var(--line); }
.sg-space i { display: block; height: 10px; border-radius: 2px; background: var(--dim); }
.sg-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.sg-shadows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.sg-shadows i { display: block; height: 96px; border-radius: var(--r); background: var(--white); margin-bottom: 10px; }
.sg-ease { display: grid; gap: 12px; }
.sg-ease li { position: relative; display: grid; gap: 4px; padding: 16px 16px 44px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.sg-ease i { position: absolute; left: 16px; bottom: 16px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); transition: transform var(--d) var(--e); }
.sg-ease li:hover i { transform: translateX(calc(min(560px, 70vw) - 48px)); }

/* Components */
.sg-comp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.sg-box { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-width: 0; }
.sg-box--2 { grid-column: span 2; }
.sg-box--3 { grid-column: 1 / -1; }
.sg-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.sg-meta { font-size: 14px; line-height: 1.6; color: var(--muted); }
.sg-meta code { font-size: 12px; color: var(--text); padding: 2px 6px; border-radius: var(--r-xs); background: var(--surface-2); white-space: nowrap; }
.sg-onwhite { background: var(--white); border-radius: var(--r-pill); padding: 8px; display: inline-flex; }
.sg-box .faq { margin: 0; max-width: none; }
.sg-box .case { aspect-ratio: 4 / 4.4; padding: 28px; }
.sg-box .review { width: 100%; aspect-ratio: 4 / 4.4; padding: 28px; }
.sg-box .person { aspect-ratio: 4 / 4.4; }
.sg-box .quote { gap: 20px; }
.sg-box .sol p { min-height: 0; }
.sg-pill { max-width: 420px; }
.sg-herocard { width: 100%; max-width: 371px; }
.sg-stats--box { padding-top: 0; border-top: 0; }
.sg-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.sg-logos .sg-onwhite { padding: 10px 16px; border-radius: var(--r); }
.sg-mega { display: grid; grid-template-columns: minmax(0, 673px) minmax(0, 1fr); gap: 48px; align-items: center; }
.sg-mega .sg-meta { max-width: 420px; }
.sg-mega .mega { position: static; display: block; padding-top: 0; transform: none; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1200px) {
  .sg-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .sg-bento__photo { grid-row: span 2; }
  .sg-radii { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sg-space li { grid-template-columns: 220px 260px minmax(0, 1fr); }
}
@media (max-width: 1024px) {
  .sg-title { flex-direction: column; align-items: flex-start; gap: 20px; }
  .sg-comp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-box--2 { grid-column: 1 / -1; }
  .sg-pair { grid-template-columns: minmax(0, 1fr); }
  .sg-mega { grid-template-columns: minmax(0, 1fr); }
  .sg-spec { grid-template-columns: 260px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .sg-bento { grid-template-columns: minmax(0, 1fr); }
  .sg-bento__photo { grid-row: auto; min-height: 420px; }
  .sg-comp { grid-template-columns: minmax(0, 1fr); }
  .sg-spec { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sg-space li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 8px; }
  .sg-space i { grid-column: 1 / -1; }
  .sg-mega .mega__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sg-mega .mega__feature { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .sg-top { padding-top: 120px; }
  .sg-sec { padding-top: 88px; }
  .sg-tile, .sg-box { padding: 20px; }
  .sg-aa { font-size: 120px; letter-spacing: -5px; }
  .sg-bento__type .sg-type { flex-direction: column; align-items: flex-start; }
  .sg-radii { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-sws { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-sw code { word-break: break-all; }
  .sg-shadows { grid-template-columns: minmax(0, 1fr); }
  .sg-meta code { white-space: normal; }
  .sg-box .case, .sg-box .review, .sg-box .person { aspect-ratio: 4 / 5; padding: 24px; }
}

/* ───────── Variants ───────── */
/* Ferlo · section library (pages/variants.html). Every class is prefixed v-. Tokens only, no new colours or fonts.
   Library chrome first (intro, jump list, label bar), then the new compositions in page order, then responsive. */

/* ── Library chrome ── */
.v-intro { padding: 188px 0 24px; }
.v-intro .head { max-width: 760px; }
.v-jump { margin: 48px auto 0; max-width: 1180px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 32px; }
.v-jump li { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.v-jump span { font-size: 14px; color: var(--muted); margin-right: 4px; }
.v-jump a { font-family: var(--mono); font-size: 12px; line-height: 1; padding: 8px 11px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--text);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.v-jump a:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.v-var { padding-top: 112px; }
main > .v-var:last-child { padding-bottom: var(--section); }
.v-label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 14px 0; margin-bottom: 56px; border-block: 1px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--muted); }
.v-id { font-family: var(--mono); font-size: 12px; line-height: 1; padding: 6px 10px; border-radius: var(--r-pill); background: var(--white); color: var(--ink); }
.v-name { color: var(--text); font-weight: 500; }
.v-use { flex: 1 1 320px; }
.v-cls { font-family: var(--mono); font-size: 12px; color: var(--muted); }
/* a hero opening a real page needs 150px under the floating header; inside the library the label bar sits there instead */
.v-hero-b, .v-hero-c, .v-hero-d { padding-top: 150px; }
.v-var > .v-hero-b, .v-var > .v-hero-c, .v-var > .v-hero-d { padding-top: 0; }

/* ── hero-b · split: copy left, tall photo + stat card right ── */
.v-hero-b__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
.v-hero-b__copy { display: flex; flex-direction: column; justify-content: space-between; gap: 56px; }
.v-hero-b__top { display: grid; gap: var(--head-gap); justify-items: start; }
.v-hero-b__top .lead { color: var(--muted); max-width: 520px; margin-top: 8px; }
.v-hero-b__top .btn-row { margin-top: 24px; }
.v-hero-b__media { position: relative; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 27 / 25; }
.v-hero-b__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v-hero-b__facts ul { padding-bottom: 0; }
.v-hero-b__stat { position: absolute; left: 24px; bottom: 24px; background: var(--surface); border-radius: var(--r-sm); padding: 20px 24px; max-width: 270px; }

/* ── hero-c · centred head, wide photo, facts rule ── */
.v-hero-c .head { max-width: 780px; }
.v-hero-c .head p:not(.label) { font-size: 20px; line-height: 1.4; max-width: 580px; }
.v-hero-c .btn-row { justify-content: center; margin-top: 40px; }
.v-hero-c__photo { margin-top: 72px; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1524 / 700; }
.v-hero-c__photo img { width: 100%; height: 100%; object-fit: cover; }
.v-hero-c__facts { margin-top: 24px; }
.v-hero-c__facts ul { padding-bottom: 0; }

/* ── hero-d · quote-led: photo 7/12, RFQ card 5/12 ── */
.v-hero-d__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); }
.v-hero-d__media { position: relative; border-radius: var(--r-sm); overflow: hidden; min-height: 640px; }
.v-hero-d__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v-hero-d__card { background: var(--surface); border-radius: var(--r); padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.v-hero-d__card .head p { max-width: 400px; }

/* ── hero-e · full-bleed photo, centred headline low, capability cards ── */
.v-hero-e { position: relative; min-height: clamp(760px, 100svh, 960px); display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 30px; isolation: isolate; overflow: hidden; }
.v-hero-e > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.v-hero-e::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 11, .3) 0%, rgba(10, 10, 11, 0) 26%, rgba(10, 10, 11, .55) 52%, rgba(10, 10, 11, .94) 100%); }
.v-hero-e .head { max-width: 820px; }
.v-hero-e .btn-row { justify-content: center; margin-top: 40px; }
.v-hero-e__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 96px; }
.v-capcard { background: var(--surface); border-radius: var(--r-sm); padding: 24px; display: grid; gap: 8px; align-content: start; }
.v-capcard p { font-size: 14px; color: var(--muted); }

/* ── intro-b · promises + stats left, tall photo right ── */
.v-intro-b { display: grid; grid-template-columns: minmax(0, 544fr) minmax(0, 591fr); column-gap: clamp(40px, 12vw, 200px); }
.v-intro-b__side { display: flex; flex-direction: column; justify-content: space-between; gap: 56px; }
.v-intro-b__body { display: grid; gap: 40px; justify-items: start; }
.v-intro-b__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.v-intro-b__photo { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 20 / 19; }
.v-intro-b__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ── logos-b · one hairline row of five ── */
.v-logos-b__cap { text-align: center; margin-bottom: 32px; font-family: var(--mono); font-size: 12px; line-height: 1.4; letter-spacing: .75px; text-transform: uppercase; color: var(--muted); }
.v-logos-b__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.v-logos-b__row li { background: var(--bg); height: 168px; display: grid; place-items: center; padding: 0 16px; }
.v-logos-b__row img { max-height: 44px; max-width: 80%; width: auto; opacity: .92; }

/* ── services-b · numbered hairline rows ── */
.v-rows { border-bottom: 1px solid var(--line); }
.v-row { display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 4fr) 120px; gap: 32px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.v-row__n { font-family: var(--mono); font-size: 12px; letter-spacing: .75px; color: var(--muted); }
.v-row h3 { transition: color var(--dur-fast) var(--ease); }
.v-row p { color: var(--muted); }
.v-row__img { width: 120px; height: 90px; object-fit: cover; border-radius: var(--r-sm); }
.v-row:hover h3 { color: var(--muted); }

/* ── services-c · bento ── */
.v-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(272px, auto); gap: var(--gap); }
.v-bento__big { grid-column: span 2; grid-row: span 2; position: relative; border-radius: var(--r-sm); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 16px; padding: 40px; isolation: isolate; }
.v-bento__big > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.v-bento__big::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 11, 0) 30%, rgba(10, 10, 11, .62) 60%, rgba(10, 10, 11, .94) 100%); }
.v-bento__big p { color: var(--text-2); max-width: 440px; }
.v-bento__big .btn { margin-top: 8px; }
.v-tile { background: var(--surface); border-radius: var(--r-sm); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.v-tile__k { font-family: var(--mono); font-size: 12px; line-height: 1.4; letter-spacing: .75px; text-transform: uppercase; color: var(--muted); }
.v-tile div { display: grid; gap: 8px; }
.v-tile div p { font-size: 14px; color: var(--muted); }

/* ── stats-b · numbers card ── */
.v-stats-b { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); background: var(--surface); border-radius: var(--r-lg); overflow: hidden; }
.v-stats-b__media { position: relative; min-height: 420px; }
.v-stats-b__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v-stats-b__body { padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 56px; }
.v-stats-b__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v-stats-b__grid .stat { padding: 0 24px; border-left: 1px solid var(--line); }
.v-stats-b__grid .stat:first-child { padding-left: 0; border-left: 0; }

/* ── cases-b · wide case + results panel ── */
.v-case-b { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--gap); }
.v-case-b__media { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 16 / 7; }
.v-case-b__media img { width: 100%; height: 100%; object-fit: cover; }
.v-case-b__panel { background: var(--surface); border-radius: var(--r-sm); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 24px; }
.v-results { align-self: stretch; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding-block: 20px; border-block: 1px solid var(--line); }
.v-results .stat b { font-size: 32px; letter-spacing: -1px; }

/* ── process-b · four columns split by hairlines ── */
.v-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 48px; }
.v-step { position: relative; display: grid; gap: 12px; align-content: start; }
.v-step + .v-step::before { content: ""; position: absolute; left: -24px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.v-step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); margin-bottom: 12px; }
.v-step__n { font-family: var(--mono); font-size: 12px; line-height: 1.4; letter-spacing: .75px; text-transform: uppercase; color: var(--muted); }
.v-step p { font-size: 14px; color: var(--muted); max-width: 320px; }

/* ── reviews-b · one big quote beside a tall portrait (portrait and quote swap together) ── */
.v-rb { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 8vw, 128px); }
.v-rb .quotes__stage { grid-column: 1 / -1; grid-row: 1; grid-template-columns: subgrid; }
.v-rb .quote { grid-area: 1 / 1 / 2 / -1; grid-template-columns: subgrid; row-gap: 0; column-gap: normal; align-items: stretch; }
.v-rb__photo { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1 / 1; }
.v-rb__photo img { width: 100%; height: 100%; object-fit: cover; }
.v-rb__body { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-bottom: 92px; }
.v-rb__say { display: grid; gap: 32px; }
.v-rb .quote .v-rb__say p { font-size: 32px; line-height: 1.2; letter-spacing: -.8px; max-width: 760px; text-wrap: balance; }
.v-rb .arrows { grid-column: 2; grid-row: 1; align-self: end; z-index: 1; }

/* ── posts-b · three compact posts ── */
.v-posts-b { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.v-posts-b .post__img { aspect-ratio: 4 / 3; }

/* ── faq-b · head + engineer card left, accordion right ── */
.v-faq-b { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 8vw, 128px); align-items: start; }
.v-faq-b__side { display: grid; gap: 40px; }
.v-faq-b .faq { max-width: none; margin: 0; }
.v-help { background: var(--surface); border-radius: var(--r-sm); padding: 32px; display: grid; gap: 20px; justify-items: start; max-width: 460px; }
.v-help__phone { font-size: 20px; line-height: 1.4; }
.v-help > p { font-size: 14px; color: var(--muted); }
.v-help .btn { margin-top: 8px; }

/* ── engage-a · three engagement cards ── */
.v-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.v-plan { background: var(--surface); border-radius: var(--r-sm); padding: 32px; display: flex; flex-direction: column; gap: 32px; }
.v-plan__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.v-plan__tag { font-family: var(--mono); font-size: 12px; line-height: 1.4; letter-spacing: .75px; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.v-plan__time { padding-block: 28px; border-block: 1px solid var(--line); }
.v-plan__time { gap: 12px; }
.v-plan .ticks li { font-size: 14px; }
.v-plan .btn { margin-top: auto; align-self: flex-start; }
.v-plan--white { background: var(--white); color: var(--ink); }
.v-plan--white .v-plan__tag, .v-plan--white .stat span { color: var(--ink-muted); }
.v-plan--white .v-plan__time { border-color: var(--line-ink); }

/* ── engage-b · comparison table ── */
.v-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.v-table th, .v-table td { padding: 20px 24px 20px 0; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.4; font-weight: 400; }
.v-table thead th { font-family: var(--font-display); font-size: 24px; line-height: 1.15; letter-spacing: -.5px; padding-bottom: 24px; border-bottom-color: var(--line-2); }
.v-table thead th:first-child { width: 28%; }
.v-table tbody th { color: var(--muted); }
.v-table td, .v-table thead th:not(:first-child) { text-align: center; padding-inline: 12px; }
.v-yes, .v-no { display: inline-block; position: relative; width: 16px; height: 16px; vertical-align: middle; }
.v-yes::before { content: ""; position: absolute; top: 1px; width: 6px; height: 11px; border: solid var(--text); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); transform-origin: 50% 50%; left: 5px; }
.v-no::before { content: ""; position: absolute; left: 2px; right: 2px; top: 7px; height: 1.6px; background: var(--dim); border-radius: 2px; }

/* ── cta-a pointer ── */
.v-pointer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.v-pointer p { color: var(--muted); }

/* ── cta-b · surface card split ── */
.v-cta-b { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--surface); border-radius: var(--r-lg); overflow: hidden; }
.v-cta-b__media { position: relative; min-height: 480px; }
.v-cta-b__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v-cta-b__body { padding: 56px; display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.v-cta-b__form { display: grid; gap: 14px; max-width: 500px; }
.v-cta-b__form .field-pill input { width: 0; }
.v-cta-b__note { font-size: 14px; line-height: 1.45; color: var(--muted); }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1200px) {
  .v-case-b { grid-template-columns: minmax(0, 1fr); }
  .v-case-b__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; column-gap: 40px; }
  .v-case-b__panel .chip, .v-case-b__panel h3 { grid-column: 1; }
  .v-case-b__panel .v-results { grid-column: 2; grid-row: 1 / span 3; }
  .v-case-b__panel .btn { grid-column: 1; }
}
@media (max-width: 1024px) {
  .v-var { padding-top: 96px; }
  .v-hero-d__grid { grid-template-columns: minmax(0, 1fr); }
  .v-hero-d__media { min-height: 0; aspect-ratio: 16 / 9; }
  .v-intro-b { grid-template-columns: 1fr 1fr; }
  .v-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-bento__big { grid-row: span 1; min-height: 440px; }
  .v-stats-b { grid-template-columns: minmax(0, 1fr); }
  .v-stats-b__media { min-height: 0; aspect-ratio: 16 / 7; }
  .v-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .v-step:nth-child(odd)::before { display: none; }
  .v-row { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr) 120px; gap: 24px; }
}
@media (max-width: 900px) {
  .v-hero-b__grid, .v-intro-b, .v-rb, .v-faq-b, .v-cta-b { grid-template-columns: minmax(0, 1fr); }
  .v-hero-b__media { aspect-ratio: 4 / 5; }
  .v-intro-b { row-gap: 48px; }
  .v-intro-b__photo { aspect-ratio: 4 / 5; }
  .v-rb .quote { row-gap: 40px; }
  .v-rb__body { padding-bottom: 0; }
  .v-rb .arrows { grid-column: 1; grid-row: 2; margin-top: 32px; }
  .v-plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .v-posts-b { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-posts-b .post:last-child { display: none; }
  .v-cta-b__media { min-height: 0; aspect-ratio: 16 / 9; }
  .v-cta-b__body { padding: 40px; }
  .v-case-b__panel { display: flex; }
  .v-row { grid-template-columns: 48px minmax(0, 1fr) 120px; grid-template-areas: "n t img" "n p img"; row-gap: 6px; }
  .v-row__n { grid-area: n; align-self: start; padding-top: 6px; }
  .v-row h3 { grid-area: t; align-self: end; }
  .v-row p { grid-area: p; align-self: start; }
  .v-row__img { grid-area: img; }
}
@media (max-width: 600px) {
  .v-intro { padding-top: 140px; }
  .v-jump { gap: 12px 20px; }
  .v-var { padding-top: 80px; }
  .v-label { margin-bottom: 40px; font-size: 13px; }
  .v-hero-b, .v-hero-c, .v-hero-d { padding-top: 120px; }
  .v-hero-c__photo { margin-top: 48px; aspect-ratio: 4 / 3; }
  .v-hero-d__card { padding: 24px; }
  .v-hero-e { min-height: 0; padding-top: 220px; }
  .v-hero-e::after { background: linear-gradient(180deg, rgba(10, 10, 11, .2) 0%, rgba(10, 10, 11, .55) 18%, rgba(10, 10, 11, .86) 34%, rgba(10, 10, 11, .96) 100%); }
  .v-hero-e__cards { grid-template-columns: 1fr; margin-top: 56px; gap: 8px; }
  .v-hero-e__cards .v-capcard { padding: 20px; }
  .v-intro-b__stats { gap: 24px; }
  .v-logos-b__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-logos-b__row li { height: 120px; }
  .v-logos-b__row li:last-child { grid-column: 1 / -1; }
  .v-logos-b__row img { max-height: 36px; max-width: 70%; }
  .v-row { grid-template-columns: minmax(0, 1fr) 96px; grid-template-areas: "n img" "t img" "p img"; column-gap: 16px; row-gap: 4px; }
  .v-row__n { padding-top: 0; }
  .v-row__img { width: 96px; height: 72px; align-self: center; }
  .v-row p { font-size: 14px; }
  .v-bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .v-bento__big { grid-column: auto; min-height: 420px; padding: 24px; }
  .v-bento__big::after { background: linear-gradient(180deg, rgba(10, 10, 11, 0) 8%, rgba(10, 10, 11, .72) 42%, rgba(10, 10, 11, .95) 100%); }
  .v-tile { padding: 24px; }
  .v-stats-b__body { padding: 24px; gap: 40px; }
  .v-stats-b__media { aspect-ratio: 4 / 3; }
  .v-stats-b__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .v-stats-b__grid .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .v-stats-b__grid .stat:nth-child(even) { padding-right: 0; }
  .v-case-b__media { aspect-ratio: 4 / 3; }
  .v-case-b__panel { padding: 24px; }
  .v-results .stat b { font-size: 24px; letter-spacing: -.5px; }
  .v-steps { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .v-step + .v-step::before { display: none; }
  .v-rb .quote .v-rb__say p { font-size: 24px; letter-spacing: -.5px; }
  .v-posts-b { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .v-posts-b .post:last-child { display: grid; }
  .v-help { padding: 24px; }
  .v-plan { padding: 24px; }
  .v-table th, .v-table td { padding: 14px 8px 14px 0; font-size: 13px; }
  .v-table td, .v-table thead th:not(:first-child) { padding-inline: 4px; }
  .v-table thead th { font-size: 15px; line-height: 1.35; letter-spacing: -.2px; }
  .v-table thead th:first-child { width: 31%; }
  .v-cta-b__body { padding: 24px; }
  .v-cta-b__form .field-pill { flex-wrap: wrap; height: auto; padding: 4px; border-radius: 24px; }
  .v-cta-b__form .field-pill input { flex: 1 1 100%; width: auto; height: 44px; padding: 0 14px; }
  .v-cta-b__form .field-pill .btn { width: 100%; justify-content: space-between; }
}
