/*
 * pages/home.css — Keyser Soze homepage, light rework (redesign branch).
 *
 * Loaded ONLY by the redesigned EN homepage (src/en/index.html). Does NOT load
 * the legacy dark components.css; it rebuilds the shared chrome (header + mobile
 * drawer, footer, consent banner, buttons, lang switcher, skip-link) in the light
 * system so the page is self-contained. FR/NL homepages still ride hub.css.
 *
 * Direction (2026-06-23, Geoff's review): pull the ORIGINAL homepage components
 * (proof strip, service cards, how-I-intervene, what-I-don't-do) into a light
 * theme; keep the genuinely new pieces (the shift + the 10-project portfolio).
 * Headings are sentence-case (original treatment), not the Swiss all-caps. Only
 * mono labels/kickers stay uppercase.
 *
 * Tokens: tokens.css (--paper --ink --ink-2 --muted --line-soft --ember,
 * --disp Space Grotesk / --body Inter / --mono JetBrains Mono).
 * JS hooks reused: motion.js (.reveal→.is-visible, .counter, header[data-hidden]),
 * nav.js (header[data-nav-open], [data-nav-toggle], #site-nav),
 * i18n.js ([data-lang-switcher]/[data-lang]), consent.js ([data-consent-*]).
 */

:root {
  --gut: 6vw; --maxw: 1280px;

  /* —— Premium-light overrides (EN homepage only; tokens.css stays flat #FAFAFA
   *    for the hub.css pages). Depth comes from a warm paper + floating white
   *    cards on soft layered shadows, NOT from hard ink boxes. —— */
  --paper:      #F6F4EE;   /* warm off-white, not the flat #FAFAFA */
  --card:       #FFFFFF;   /* card surface floats above the paper */
  --line-soft:  #E7E2D6;   /* warm hairline, used sparingly */
  --radius:     16px;
  --radius-sm:  12px;
  --shadow-sm:  0 1px 2px rgba(28,24,16,.04), 0 3px 10px rgba(28,24,16,.05);
  --shadow-md:  0 6px 18px rgba(28,24,16,.06), 0 18px 44px rgba(28,24,16,.09);
  --shadow-lg:  0 12px 30px rgba(28,24,16,.09), 0 34px 80px rgba(28,24,16,.14);
  --e-out:      cubic-bezier(.2,.8,.2,1);
}

/* ====================================================================
 * Page base
 * ================================================================== */
html { background: var(--paper); }
body { background: transparent; color: var(--ink); font-family: var(--body); line-height: 1.5; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; position: relative; }
body[data-nav-open="true"] { overflow: hidden; }
::selection { background: var(--ember); color: #fff; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

/* Ambient drifting background — soft warm/ember orbs behind the light sections.
 * Fixed, very low opacity, sits under all content; gives quiet motion without
 * scroll-jank. Disabled under prefers-reduced-motion. */
.bg-ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-ambient span { position: absolute; display: block; border-radius: 50%; filter: blur(60px); opacity: .5; will-change: transform; }
.bg-ambient span:nth-child(1) { width: 46vw; height: 46vw; top: 28%; left: -8vw; background: radial-gradient(circle at 30% 30%, rgba(255,107,0,.10), transparent 70%); animation: drift-a 34s ease-in-out infinite; }
.bg-ambient span:nth-child(2) { width: 40vw; height: 40vw; top: 58%; right: -10vw; background: radial-gradient(circle at 70% 40%, rgba(216,182,120,.16), transparent 70%); animation: drift-b 44s ease-in-out infinite; }
.bg-ambient span:nth-child(3) { width: 34vw; height: 34vw; top: 6%; right: 14vw; background: radial-gradient(circle at 50% 50%, rgba(120,140,170,.12), transparent 70%); animation: drift-c 52s ease-in-out infinite; }
@keyframes drift-a { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(6vw,-4vh) scale(1.12); } }
@keyframes drift-b { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-5vw,5vh) scale(1.08); } }
@keyframes drift-c { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-4vw,6vh) scale(1.15); } }

.kick { font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: .7ch; }
.kick::before { content: ""; width: 30px; height: 2px; background: var(--ember); display: inline-block; }
.acc { color: var(--ember); }

/* ====================================================================
 * Reveal (motion.js)
 * ================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,.84,.3,1), transform .7s cubic-bezier(.16,.84,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .06s; } .reveal-delay-2 { transition-delay: .14s; }
.reveal-delay-3 { transition-delay: .22s; } .reveal-delay-4 { transition-delay: .30s; }

/* ====================================================================
 * Skip link
 * ================================================================== */
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 60; padding: 12px 16px; background: var(--ink); color: var(--paper); border: 2px solid var(--ember); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; transform: translateY(calc(-100% - 16px)); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); outline: none; }

/* ====================================================================
 * Buttons
 * ================================================================== */
.btn { font-family: var(--mono); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .9ch; background: var(--ink); color: var(--paper); padding: 14px 22px; border: 2px solid var(--ink); transition: .15s ease; cursor: pointer; }
.btn .arr { font-family: var(--disp); font-size: 1rem; }
.btn:hover { background: var(--ember); border-color: var(--ember); color: #0A0A0A; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ====================================================================
 * Header / top bar
 * ================================================================== */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px; background: var(--paper); border-bottom: 2px solid var(--ink); transition: transform .3s ease; }
.site-header[data-hidden="true"] { transform: translateY(-100%); }
.site-header[data-nav-open="true"] { transform: none; }
.site-header__inner { height: 100%; padding: 0 var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__brand { display: flex; align-items: center; gap: .9ch; flex: none; }
.site-header__mark { width: 26px; height: 26px; flex: none; color: var(--ink); }
.site-header__mark svg { width: 100%; height: 100%; display: block; }
.site-header__wordmark { font-family: var(--disp); font-weight: 400; font-size: 1.02rem; letter-spacing: .10em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.site-header__wordmark-dot { color: var(--ember); font-weight: 700; margin: 0 .12em; }
.site-header__caption { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-left: .6ch; }
@media (max-width: 720px) { .site-header__caption { display: none; } }
.site-header__nav { display: flex; align-items: center; gap: 26px; }
.site-header__nav > a { font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); border-bottom: 2px solid transparent; padding-bottom: 2px; transition: color .2s, border-color .2s; }
.site-header__nav > a:hover, .site-header__nav > a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ember); }
.site-header__right { display: flex; align-items: center; gap: 18px; }
.lang-switcher { display: flex; align-items: center; gap: .5ch; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; }
.lang-switcher a { color: var(--muted); text-transform: uppercase; transition: color .2s ease; }
.lang-switcher a:hover, .lang-switcher a[aria-current="page"] { color: var(--ink); }
.lang-switcher a[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.lang-switcher__separator { color: var(--line-soft); }
.site-header__toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; border: 2px solid var(--ink); background: var(--paper); flex: none; }
.site-header__toggle-bar { display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; transition: transform .2s, opacity .2s; }
.site-header[data-nav-open="true"] .site-header__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header[data-nav-open="true"] .site-header__toggle-bar:nth-child(2) { opacity: 0; }
.site-header[data-nav-open="true"] .site-header__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-header__nav-footer { display: none; }
@media (max-width: 1023px) {
  .site-header__toggle { display: flex; }
  .site-header__right { display: none; }
  .site-header__nav { position: fixed; inset: 64px 0 0 0; z-index: 49; flex-direction: column; align-items: flex-start; gap: 4px; justify-content: flex-start; background: var(--paper); border-top: 2px solid var(--ink); padding: 28px var(--gut); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
  .site-header[data-nav-open="true"] .site-header__nav { transform: none; visibility: visible; }
  .site-header__nav > a { font-size: 1.1rem; width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
  .site-header__nav > a:hover, .site-header__nav > a[aria-current="page"] { border-bottom-color: var(--line-soft); color: var(--ember); }
  .site-header__nav-footer { display: block; margin-top: 28px; }
  .lang-switcher--drawer { gap: 18px; font-size: .85rem; }
  .lang-switcher--drawer a { color: var(--ink-2); }
}

/* ====================================================================
 * HERO (dark band + canvas; original copy, sentence-case, strike + caret)
 * ================================================================== */
.hero { padding-top: 64px; position: relative; overflow: hidden; background: #050505; color: var(--paper); }
#hero-gl { position: absolute; inset: 64px 0 0 0; width: 100%; height: calc(100% - 64px); z-index: 0; display: block; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; padding: clamp(96px,16vh,170px) 0 clamp(64px,11vh,110px); }
.hero h1 { font-family: var(--disp); font-weight: 500; color: #fff; font-size: clamp(2.9rem,7vw,7rem); line-height: .96; letter-spacing: -.045em; text-transform: none; max-width: 17ch; }
.hero__strike { position: relative; white-space: nowrap; }
.hero__strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 54%; height: .07em; background: var(--ember); }
/* thin HORIZONTAL underscore caret (not a vertical bar) */
.hero__caret { display: inline-block; width: .58em; height: .085em; min-height: 3px; background: var(--ember); margin-left: .14ch; vertical-align: baseline; animation: caret-blink 1.05s steps(1) infinite; }
@keyframes caret-blink { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }
.hero__sub { font-family: var(--body); font-size: clamp(1.1rem,1.7vw,1.35rem); max-width: 54ch; color: rgba(255,255,255,.86); font-weight: 400; line-height: 1.6; margin-top: clamp(30px,5vh,48px); }
.hero__status { margin-top: clamp(34px,6vh,58px); font-family: var(--mono); font-size: .9rem; line-height: 1.65; color: #9F9C95; max-width: 58ch; display: flex; flex-direction: column; }
.hero__status .st { display: inline-flex; align-items: center; gap: .85ch; color: var(--ember); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .7rem; }
.hero__status .st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px rgba(255,107,0,.16); animation: status-pulse 2.4s ease-in-out infinite; }
.hero__status b { color: rgba(255,255,255,.92); font-weight: 400; }
@keyframes status-pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(255,107,0,.16); } 50% { box-shadow: 0 0 0 7px rgba(255,107,0,.04); } }
.hero ::selection { background: var(--ember); color: #000; }

/* ====================================================================
 * Generic section (sentence-case)
 * ================================================================== */
.section { padding: clamp(72px,12vh,140px) 0; position: relative; }
.rule-top { border-top: none; }
.h2 { font-family: var(--disp); font-weight: 500; font-size: clamp(2.3rem,5.4vw,4.4rem); line-height: 1.0; letter-spacing: -.03em; text-transform: none; max-width: 22ch; color: var(--ink); }
.h2 em { font-style: italic; font-weight: 400; color: var(--ember); }
.lead { font-family: var(--body); font-size: clamp(1.05rem,1.5vw,1.25rem); max-width: 54ch; margin-top: 1.6rem; color: var(--ink-2); line-height: 1.55; }
.bignum { font-family: var(--mono); font-weight: 700; font-size: clamp(2.4rem,6vw,4rem); line-height: 1; color: var(--ember); }
.section-head__lead { font-family: var(--body); font-size: clamp(1.02rem,1.4vw,1.18rem); max-width: 52ch; margin-top: 1.4rem; color: var(--ink-2); line-height: 1.55; }

/* ====================================================================
 * EXPERIENCE MATRIX (proof strip; original tiles, light, counters)
 * ================================================================== */
/* One integrated floating panel — the four metrics read as a single object,
 * divided by soft inner hairlines, not four separate boxes. */
.proof__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 0; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; }
.proof__tile { position: relative; padding: clamp(30px,2.8vw,46px); display: flex; flex-direction: column; gap: 1.4rem; min-height: 252px; justify-content: space-between; transition: background .4s var(--e-out); }
.proof__tile + .proof__tile { box-shadow: inset 1px 0 0 var(--line-soft); }
.proof__tile:not(.proof__tile--accent):hover { background: #FBFAF5; }
.proof__caption { font-family: var(--mono); font-size: .66rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.proof__value { font-family: var(--disp); font-weight: 600; font-size: clamp(3.4rem,5.6vw,5rem); line-height: .92; letter-spacing: -.03em; color: var(--ink); }
.proof__value--text { font-size: clamp(2rem,3.2vw,2.7rem); line-height: 1.02; color: var(--ember); }
.proof__label { font-family: var(--mono); font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); display: block; margin-top: .55rem; }
.proof__tile--accent { background: linear-gradient(140deg, rgba(255,107,0,.11), rgba(255,107,0,.025)); }
.proof__tile--accent .proof__caption { color: #B06A2E; }
.proof__tile--accent .proof__value { color: var(--ember); }
.proof__tile--accent .proof__label { color: var(--ink-2); }

/* ====================================================================
 * SERVICES — three verticals (original card design, light)
 * ================================================================== */
.svc-head .h2 { margin-top: 1rem; }
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,1.6vw,26px); margin-top: 44px; }
.service-card { position: relative; overflow: hidden; border-radius: var(--radius); padding: clamp(30px,2.6vw,44px); display: flex; flex-direction: column; background: var(--card); box-shadow: var(--shadow-sm); transition: transform .4s var(--e-out), box-shadow .4s var(--e-out); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--ember); transition: width .5s var(--e-out); }
.service-card:hover::after { width: 100%; }
.service-card__icon { width: 36px; height: 36px; color: var(--ink); margin-bottom: 1.3rem; }
.service-card__vertical { font-family: var(--mono); font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ember); }
.service-card__title { font-family: var(--disp); font-weight: 600; font-size: clamp(1.5rem,2.3vw,1.95rem); line-height: 1.08; letter-spacing: -.015em; text-transform: none; color: var(--ink); margin: .6rem 0 1rem; }
.service-card__desc { font-family: var(--body); font-size: 1rem; color: var(--ink-2); line-height: 1.6; }
.service-card__list { margin: 1.4rem 0 0; display: flex; flex-direction: column; gap: .7rem; }
.service-card__list li { font-family: var(--body); font-size: .9rem; color: var(--ink-2); display: flex; gap: .8ch; align-items: flex-start; line-height: 1.4; }
.service-card__check { width: 18px; height: 18px; color: var(--ember); flex: none; margin-top: 2px; }
.service-card__cta { margin-top: 1.7rem; padding-top: 1.2rem; border-top: 1px solid var(--line-soft); font-family: var(--mono); font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); transition: color .25s ease; display: inline-flex; align-items: center; gap: .6ch; }
.service-card:hover .service-card__cta { color: var(--ember); }

/* ====================================================================
 * HOW I INTERVENE (original 3-step, light hairline rows)
 * ================================================================== */
.intervene__head { display: flex; flex-direction: column; gap: .8rem; }
.intervene__kicker { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ember); }
.intervene__list { margin-top: 44px; display: flex; flex-direction: column; gap: clamp(14px,1.5vw,22px); }
.intervene__step { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: clamp(20px,3vw,48px); padding: clamp(28px,3vw,46px); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .4s var(--e-out), box-shadow .4s var(--e-out); }
.intervene__step::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ember); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--e-out); }
.intervene__step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.intervene__step:hover::before { transform: scaleY(1); }
.intervene__step--emphasis { background: linear-gradient(140deg, rgba(255,107,0,.06), var(--card) 60%); }
.intervene__badge { font-family: var(--mono); font-weight: 700; font-size: clamp(2.2rem,4.4vw,3.4rem); color: var(--ember); line-height: 1; transition: transform .4s var(--e-out); }
.intervene__step:hover .intervene__badge { transform: translateX(4px); }
.intervene__title { font-family: var(--disp); font-weight: 600; font-size: clamp(1.5rem,2.3vw,1.95rem); line-height: 1.08; letter-spacing: -.015em; text-transform: none; color: var(--ink); margin-bottom: .6rem; }
.intervene__summary { font-family: var(--body); font-size: 1.05rem; color: var(--ink-2); line-height: 1.55; margin-bottom: 1.3rem; max-width: 60ch; }
.intervene__bullets { display: flex; flex-direction: column; gap: .6rem; }
.intervene__bullets li { font-family: var(--body); font-size: .95rem; color: var(--ink-2); line-height: 1.5; padding-left: 1.4ch; position: relative; }
.intervene__bullets li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 1px; background: var(--ember); }

/* ====================================================================
 * WHAT I DON'T DO (original 4 items, light 2-col grid)
 * ================================================================== */
/* Open dashed list — no boxes. Soft dashed rule above each item. */
.dontdo__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(30px,3.4vw,56px) clamp(44px,6vw,100px); margin-top: 46px; }
.dontdo__item { position: relative; padding-top: clamp(22px,2.4vw,34px); border-top: 1px dashed var(--line-soft); }
.dontdo__title { font-family: var(--disp); font-weight: 600; font-size: clamp(1.5rem,2.3vw,2rem); line-height: 1.1; letter-spacing: -.015em; color: var(--ink); display: flex; gap: .7ch; }
.dontdo__dash { color: var(--ember); }
.dontdo__body { font-family: var(--body); font-size: 1rem; color: var(--ink-2); line-height: 1.6; margin-top: .9rem; max-width: 46ch; }

/* ====================================================================
 * THE SHIFT
 * ================================================================== */
.shift { padding: clamp(40px,7vh,90px) var(--gut); }
.shift__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; align-items: stretch; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; }
.shift__grid > div { padding: clamp(32px,4vw,64px); }
.shift__grid .shift__left { background: linear-gradient(150deg, rgba(255,107,0,.10), rgba(255,107,0,.02)); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.shift__grid .shift__right { display: flex; align-items: center; }
.shift .bignum { color: var(--ember); }
.shift h2 { font-family: var(--disp); font-weight: 500; font-size: clamp(1.7rem,3.6vw,3rem); line-height: 1.08; letter-spacing: -.025em; text-transform: none; color: var(--ink); }
.shift h2 em { font-style: italic; font-weight: 400; color: var(--ember); }

/* ====================================================================
 * PROJECTS — 10-project portfolio (sentence-case)
 * ================================================================== */
.proj__head { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; padding-bottom: 26px; border-bottom: 1px solid var(--line-soft); }
.proj__head .h2 { margin-top: 1rem; }
.proj__intro { font-family: var(--mono); font-size: .82rem; color: var(--muted); max-width: 38ch; line-height: 1.6; margin-top: 18px; }
.proj__count { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: right; }
.proj__count b { color: var(--ember); font-size: 2rem; display: block; line-height: 1; }
.feature { display: grid; grid-template-columns: 1.15fr 1fr; margin-top: 40px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; transition: transform .4s var(--e-out), box-shadow .4s var(--e-out); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature__txt { padding: clamp(32px,3.5vw,52px); display: flex; flex-direction: column; }
.feature__ix { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.4rem; }
.feature__ix .n { font-family: var(--mono); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--ember); }
.feature__tag { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--ink); padding: 5px 9px; }
.feature h3 { font-family: var(--disp); font-weight: 600; font-size: clamp(1.7rem,3.2vw,2.5rem); line-height: 1.05; letter-spacing: -.02em; text-transform: none; margin: 0 0 1rem; color: var(--ink); }
.feature p { font-family: var(--body); font-size: 1.02rem; color: var(--ink-2); max-width: 48ch; line-height: 1.55; }
.feature p em { font-style: italic; color: var(--ember); }
.feature__meta { display: flex; gap: 0; margin-top: auto; padding-top: 1.8rem; border-top: 1px solid var(--line-soft); }
.feature__meta > div { flex: 1; border-left: 1px solid var(--line-soft); padding-left: 16px; }
.feature__meta > div:first-child { border-left: none; padding-left: 0; }
.feature__meta b { font-family: var(--mono); font-weight: 700; font-size: 1.6rem; color: var(--ink); display: block; line-height: 1; }
.feature__meta span { font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 6px; }
.feature__shot { position: relative; background: var(--ink); overflow: hidden; min-height: 320px; filter: grayscale(1) contrast(1.05); transition: filter .5s ease; }
.feature:hover .feature__shot { filter: grayscale(0) contrast(1); }
.feature__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.feature:hover .feature__shot img { transform: scale(1.04); }
.cards { margin-top: clamp(16px,1.6vw,26px); display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,1.6vw,26px); }
.card { position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .4s var(--e-out), box-shadow .4s var(--e-out); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--ember); transition: width .5s var(--e-out); z-index: 4; }
.card:hover::after { width: 100%; }
.card__art { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--ink); filter: grayscale(1) contrast(1.05); transition: filter .5s ease; }
.card:hover .card__art { filter: grayscale(0) contrast(1); }
.card__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__art img { transform: scale(1.06); }
.card__b { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card__ix { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.card__ix .n { font-family: var(--mono); font-weight: 700; font-size: 1.5rem; color: var(--ember); line-height: 1; }
.card__tag { font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card h4 { font-family: var(--disp); font-weight: 600; font-size: 1.3rem; line-height: 1.1; letter-spacing: -.01em; text-transform: none; color: var(--ink); margin-bottom: .7rem; }
.card p { font-family: var(--body); font-size: .92rem; color: var(--ink-2); flex: 1; line-height: 1.5; }
.card__pin { margin-top: 1.1rem; font-family: var(--mono); font-weight: 700; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); transition: color .25s ease; }
.card:hover .card__pin { color: var(--ember); }
.card__pin::after { content: ""; display: block; height: 2px; background: var(--ember); width: 34px; margin-top: 8px; transition: width .4s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__pin::after { width: 64px; }
.proj__more { margin-top: clamp(28px,3.4vw,44px); display: flex; align-items: center; gap: clamp(16px,2vw,28px); flex-wrap: wrap; }
.proj__more-note { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--muted); line-height: 1.5; max-width: 40ch; }

/* ====================================================================
 * OPERATOR (bio + certifications; proof numbers live in the matrix)
 * ================================================================== */
.op__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; margin-top: 44px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; }
.op__grid > div { padding: clamp(32px,3.5vw,52px); }
.op__grid .op__left { box-shadow: inset -1px 0 0 var(--line-soft); }
.op__names { font-family: var(--body); font-weight: 400; font-size: clamp(1.1rem,2vw,1.5rem); line-height: 1.5; letter-spacing: -.01em; color: var(--ink); }
.op__names b { font-weight: 700; }
.op__cert-label { font-family: var(--mono); font-size: .74rem; color: var(--ink-2); line-height: 1.6; }
.op__certrow { display: flex; flex-direction: column; margin-top: 18px; border-top: 1px solid var(--line-soft); }
.op__pill { font-family: var(--mono); font-weight: 400; font-size: .72rem; letter-spacing: .04em; padding: 10px 0; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; gap: .8ch; transition: color .2s ease, padding-left .25s ease, background .2s ease; }
.op__pill:hover { color: var(--ember); padding-left: 10px; background: #F4F2EB; }
.op__pill .num { color: var(--ember); font-weight: 700; }
.op__link { display: inline-block; margin-top: 26px; font-family: var(--mono); font-weight: 700; font-size: .78rem; letter-spacing: .04em; border-bottom: 2px solid var(--ember); padding-bottom: 2px; transition: color .2s ease; }
.op__link:hover { color: var(--ember); }

/* ====================================================================
 * FINAL CTA (dark band)
 * ================================================================== */
.final { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; padding: clamp(90px,16vh,180px) 0; margin-top: clamp(40px,7vh,90px); border-radius: clamp(20px,2.5vw,34px) clamp(20px,2.5vw,34px) 0 0; }
.final ::selection { background: var(--ember); color: #fff; }
.final .kick { color: var(--paper); }
.final h2 { font-family: var(--disp); font-weight: 500; font-size: clamp(2.4rem,8vw,6rem); line-height: .98; letter-spacing: -.035em; text-transform: none; color: var(--paper); margin-top: 1.4rem; }
.final h2 b { font-weight: 700; color: var(--ember); }
.final__sub { font-family: var(--mono); font-size: .92rem; letter-spacing: .04em; color: #B5B5B5; margin: 1.8rem 0 2.6rem; text-transform: uppercase; }
.final .btn { background: var(--ember); border-color: var(--ember); color: #fff; }
.final .btn:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.final__sig { font-family: var(--disp); font-style: italic; font-weight: 400; font-size: clamp(1.1rem,2vw,1.5rem); color: var(--paper); margin-top: clamp(48px,8vh,90px); max-width: 30ch; line-height: 1.4; border-top: 1px solid rgba(255,255,255,.18); padding-top: 2rem; }
.final__sig small { display: block; font-style: normal; font-family: var(--mono); font-weight: 700; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #9A9A9A; margin-top: 1.1rem; }

/* ====================================================================
 * FOOTER (dark; production markup)
 * ================================================================== */
.site-footer { background: var(--ink); color: #9A9A9A; padding: 44px var(--gut) 30px; border-top: 1px solid rgba(255,255,255,.16); font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; }
.site-footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.6rem; align-items: center; }
.site-footer__brand { display: flex; align-items: center; gap: .85ch; color: var(--paper); }
.site-footer__mark { width: 24px; height: 24px; flex: none; color: var(--paper); }
.site-footer__mark svg { width: 100%; height: 100%; }
.site-footer__wordmark { font-family: var(--disp); font-weight: 400; letter-spacing: .10em; text-transform: uppercase; font-size: .95rem; color: var(--paper); }
.site-footer__wordmark-dot { color: var(--ember); font-weight: 700; margin: 0 .12em; }
.site-footer__nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer__nav a { color: var(--paper); border-bottom: 2px solid var(--ember); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.site-footer__nav a:hover { color: var(--ember); }
.site-footer__utility { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.site-footer__utility-links a { color: var(--paper); border-bottom: 2px solid var(--ember); padding-bottom: 1px; transition: color .2s; }
.site-footer__utility-links a:hover { color: var(--ember); }

/* ====================================================================
 * CONSENT banner (light)
 * ================================================================== */
.consent-banner { position: fixed; inset: auto 0 0 0; z-index: 55; background: var(--paper); border-top: 2px solid var(--ink); }
.consent-banner[hidden] { display: none; }
.consent-banner__inner { max-width: var(--maxw); margin: 0 auto; padding: 22px var(--gut); display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.consent-banner__kicker { font-family: var(--mono); font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ember); }
.consent-banner__heading { font-family: var(--disp); font-weight: 600; font-size: 1.1rem; text-transform: none; letter-spacing: -.01em; color: var(--ink); margin: .4rem 0; }
.consent-banner__body { font-family: var(--body); font-size: .85rem; color: var(--ink-2); line-height: 1.5; max-width: 60ch; }
.consent-banner__body a { border-bottom: 2px solid var(--ember); }
.consent-banner__toggles { display: flex; gap: 20px; margin-top: 14px; }
.consent-banner__toggle { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); display: flex; align-items: center; gap: .6ch; }
.consent-banner__actions { display: flex; gap: 12px; flex: none; }
.consent-banner__btn { font-family: var(--mono); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 12px 18px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; transition: .15s ease; }
.consent-banner__btn:hover { background: var(--ink); color: var(--paper); }
.consent-banner__btn[data-consent-action="accept-all"] { background: var(--ink); color: var(--paper); }
.consent-banner__btn[data-consent-action="accept-all"]:hover { background: var(--ember); border-color: var(--ember); color: #0A0A0A; }

/* ====================================================================
 * Repositioning (2026-06-24) — AI-led homepage
 * Hero ember emphasis · primary AI offer + secondary rescue lane ·
 * AML flagship proof block · dual final CTA (free + paid diagnostic).
 * ================================================================== */
.hero h1 em { font-style: normal; color: var(--ember); }

/* Services: AI is the lead card (emphasised), with two secondary lanes */
.svc-head .section-head__lead { margin-top: 1.1rem; }
.service-card--primary { box-shadow: var(--shadow-md); }
.service-card--primary::after { width: 100%; }
.service-card--primary .service-card__title { font-size: clamp(1.7rem,2.7vw,2.3rem); }
.service-card--primary .service-card__vertical { color: var(--ember); }

/* Final CTA — free conversation + paid diagnostic */
.final__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.final .btn--ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.final .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.final__entry { font-family: var(--mono); font-size: .82rem; line-height: 1.7; letter-spacing: .02em; color: #B5B5B5; max-width: 60ch; margin-top: 1.8rem; text-transform: none; }
.final__entry b { color: var(--paper); font-weight: 700; }

/* ====================================================================
 * Responsive
 * ================================================================== */
@media (max-width: 980px) {
  .proof__grid { grid-template-columns: repeat(2,1fr); }
  .proof__tile + .proof__tile { box-shadow: none; }
  .proof__tile { box-shadow: inset 0 -1px 0 var(--line-soft); }
  .proof__tile:nth-child(2n) { box-shadow: none; }
  .proof__tile:nth-last-child(-n+2) { box-shadow: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .dontdo__grid { grid-template-columns: 1fr; }
  .shift__grid { grid-template-columns: 1fr; }
  .shift__grid .shift__left { gap: 1.4rem; }
  .feature { grid-template-columns: 1fr; }
  .feature__shot { min-height: 240px; order: 2; }
  .cards { grid-template-columns: repeat(2,1fr); }
  .op__grid { grid-template-columns: 1fr; }
  .op__grid .op__left { box-shadow: inset 0 -1px 0 var(--line-soft); }
  .intervene__step { grid-template-columns: 1fr; gap: 10px; }
  .proj__head { grid-template-columns: 1fr; }
  .proj__count { text-align: left; }
}
@media (max-width: 640px) {
  .proof__grid { grid-template-columns: 1fr; }
  .proof__tile { min-height: 0; box-shadow: inset 0 -1px 0 var(--line-soft); }
  .proof__tile:last-child { box-shadow: none; }
  .cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.2rem,9vw,3.4rem); }
  .feature__meta { flex-wrap: wrap; }
  .feature__meta > div { flex: 1 1 50%; border-left: none; padding-left: 0; padding-top: 14px; }
}

/* ====================================================================
 * Reduced motion + print
 * ================================================================== */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__caret { animation: none !important; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, #hero-gl, .consent-banner { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .final, .site-footer { background: #fff !important; color: #000 !important; border-color: #000 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .hero h1, .hero__sub, .final h2, .final__sig, .site-footer__brand, .site-footer a { color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .card, .feature, .service-card, .intervene__step, .dontdo__item, .proof__tile { break-inside: avoid; }
  .section { padding: 36px 0; }
}
