/* ============================================================
 FORTION S.A.S. — soluciones tecnológicas (Lyvek demo)
 Base: idea-to-site scaffold (Halvorn lineage) re-tokenized to the Fortion brand.
 Fonts: Poppins (display, the brand face) · Figtree (body) · JetBrains Mono (labels)
 Palette: ink #161514 · warm paper #FAF7F0 · brand yellow #FBBF07 · coral #FE506C
 ============================================================ */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../font/poppins-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../font/poppins-700-latin.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../font/figtree-latin.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../font/jetbrains-mono-500-latin.woff2') format('woff2'); }

:root {
 /* palette — token names kept from the base template; values are Fortion's */
 --green: #FBBF07;         /* brand yellow: buttons, highlights (always with ink text) */
 --green-ink: #7A5800;     /* yellow-family text on paper (5.6:1 on --paper) */
 --green-bright: #FBBF07;  /* accent on dark surfaces */
 --green-soft: #FFF0BF;
 --coral: #FE506C;
 --coral-ink: #B0213A;     /* coral-family text on paper (5.7:1) */
 --ink: #161514;
 --ink-2: #211F1D;
 --ink-3: #2E2B28;
 --paper: #FAF7F0;
 --paper-2: #F2EDE2;
 --card: #ffffff;
 --line: rgba(22, 21, 20, 0.12);
 --line-2: rgba(22, 21, 20, 0.07);
 --line-dark: rgba(255, 255, 255, 0.14);
 --muted: #5A5651;
 --muted-2: #9A958E;

 --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
 --font-body: "Figtree", -apple-system, system-ui, sans-serif;
 --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

 --text-hero: clamp(2.3rem, 1.1rem + 4.4vw, 4.6rem);
 --text-h2: clamp(1.9rem, 1.15rem + 2.7vw, 3.3rem);
 --text-h3: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
 --text-lead: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);

 --container: 1240px;
 --gutter: clamp(1rem, 0.6rem + 2.4vw, 2.75rem);
 --space-section: clamp(3.5rem, 2.4rem + 3.6vw, 6rem);
 --radius: 16px;
 --radius-sm: 10px;
 --radius-lg: 26px;

 --dur: 320ms;
 --dur-fast: 160ms;
 --ease: cubic-bezier(0.16, 1, 0.3, 1);
 --shadow: 0 24px 60px -34px rgba(22, 21, 20, 0.55);
 --shadow-sm: 0 14px 34px -24px rgba(22, 21, 20, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
 font-family: var(--font-body);
 background: var(--paper);
 color: var(--ink);
 line-height: 1.6;
 font-size: 1.02rem;
 -webkit-font-smoothing: antialiased;
 text-rendering: optimizeLegibility;
 overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 {
 font-family: var(--font-display);
 font-weight: 700;
 line-height: 1.08;
 letter-spacing: -0.015em;
 font-weight: 700;
}
::selection { background: var(--green); color: var(--ink); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.7rem 1.1rem; border-radius: 0 0 10px 0; z-index: 200; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* ---------- helpers ---------- */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); }
.eyebrow {
 font-family: var(--font-mono);
 font-size: 0.73rem;
 letter-spacing: 0.2em;
 text-transform: uppercase;
 color: var(--green-ink);
 display: inline-flex;
 align-items: center;
 gap: 0.65rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--green); }
.eyebrow.on-dark { color: var(--green-bright); }
.eyebrow.on-dark::before { background: var(--green-bright); }
.section-head { display: grid; gap: 1.1rem; max-width: 660px; margin-bottom: clamp(2.2rem, 1rem + 4vw, 3.6rem); }
.section-head h2 { font-size: var(--text-h2); }
.section-head p { color: var(--muted); font-size: var(--text-lead); }

/* ---------- buttons ---------- */
.btn {
 display: inline-flex; align-items: center; gap: 0.55rem;
 font-family: var(--font-body); font-weight: 600; font-size: 0.97rem;
 padding: 0.9rem 1.5rem; border-radius: 8px;
 transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast), border-color var(--dur-fast);
 white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform var(--dur) var(--ease); }
.btn-primary { background: var(--green); color: var(--ink); }
.btn-primary:hover { background: #FFD03D; transform: translateY(-2px); }
.btn-primary:hover svg { transform: translate(3px, -3px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost.on-dark { border-color: var(--line-dark); color: #fff; }
.btn-ghost.on-dark:hover { border-color: #fff; }
.btn-lg { padding: 1.05rem 1.8rem; font-size: 1.02rem; }

/* ---------- header ---------- */
.site-header {
 position: sticky; top: 0; z-index: 100;
 background: color-mix(in srgb, var(--paper) 84%, transparent);
 backdrop-filter: blur(14px);
 border-bottom: 1px solid transparent;
 transition: border-color var(--dur) var(--ease);
}
.site-header.scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; line-height: 1; }
.brand .mono { font-size: 1.75rem; letter-spacing: -0.06em; color: var(--green); font-variation-settings: "opsz" 144, "SOFT" 0; }
.brand .mono .g { color: var(--muted-2); }
.brand .word { display: grid; gap: 0.18rem; font-family: var(--font-body); }
.brand .word .w1 { font-weight: 600; font-size: 0.86rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); }
.brand .word .w2 { font-family: var(--font-mono); font-weight: 500; font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.site-footer .brand .word .w1 { color: #fff; }
.site-footer .brand .word .w2 { color: var(--muted-2); }
.site-footer .brand .mono { color: var(--green-bright); }
.lang { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; padding: 0.55rem 0.7rem; border: 1.5px solid var(--line); border-radius: 8px; color: var(--muted); transition: color var(--dur-fast), border-color var(--dur-fast); }
.lang:hover { color: var(--ink); border-color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 2rem; font-weight: 500; font-size: 0.95rem; }
.nav-mobile-cta { display: none; }
@media (max-width: 760px) { .nav-mobile-cta { display: block; } }
.nav-links a { color: var(--muted); transition: color var(--dur-fast); position: relative; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--green); }
.header-cta { display: flex; align-items: center; gap: 0.9rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px auto; transition: transform var(--dur); }

/* ---------- hero (full-width statement) ---------- */
.hero { padding-top: clamp(3rem, 2rem + 4vw, 6rem); padding-bottom: 0; }
.hero-top { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: end; }
.hero h1 { font-size: var(--text-hero); letter-spacing: -0.025em; margin-top: 1.5rem; font-weight: 700; }
.hero h1 .accent { color: var(--green); }
.hero-aside { display: flex; flex-direction: column; gap: 1.5rem; padding-bottom: 0.4rem; }
.hero-aside p { color: var(--muted); font-size: var(--text-lead); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-metrics {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 1.5rem;
 margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
 padding-top: 1.8rem;
 border-top: 1px solid var(--line);
}
.hero-metric .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem); letter-spacing: -0.03em; }
.hero-metric .lbl { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 0.3rem; }
.hero-metric .num .u { color: var(--green); }

/* hero image band */
.hero-band { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); position: relative; }
.hero-band-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 8; background: var(--paper-2); }
.hero-band-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-band .cred {
 position: absolute; left: clamp(1rem, 0.5rem + 2vw, 2.4rem); bottom: -26px;
 background: var(--card); border-radius: var(--radius-sm); padding: 1rem 1.3rem;
 box-shadow: var(--shadow); display: flex; align-items: center; gap: 1.1rem;
}
.hero-band .cred .c-num { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--green); white-space: nowrap; }
.hero-band .cred .c-txt { font-size: 0.85rem; color: var(--muted); max-width: 22ch; }

/* ---------- logo wall ---------- */
.logos { border-block: 1px solid var(--line); }
.logos-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-block: 2rem; }
.logos .lead { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); flex: 0 0 auto; }
.logos .row { display: flex; align-items: center; gap: clamp(1.4rem, 0.5rem + 2.5vw, 3rem); flex-wrap: wrap; }
.logos .row span { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--muted-2); transition: color var(--dur-fast); }
.logos .row span:hover { color: var(--ink); }

/* ---------- capabilities index (rows) ---------- */
.idx { border-top: 1px solid var(--line); }
.idx-row {
 display: grid;
 grid-template-columns: 68px 1.1fr 1.4fr auto;
 gap: 1.5rem;
 align-items: center;
 padding: clamp(1.5rem, 1rem + 1.5vw, 2.3rem) 0.5rem;
 border-bottom: 1px solid var(--line);
 position: relative;
 transition: background var(--dur) var(--ease), padding-inline var(--dur) var(--ease);
}
.idx-row::before {
 content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
 background: var(--green); transform: scaleY(0); transform-origin: top; transition: transform var(--dur) var(--ease);
}
.idx-row:hover { background: var(--card); padding-inline: 1.4rem; }
.idx-row:hover::before { transform: scaleY(1); }
.idx-num { font-family: var(--font-mono); font-size: 0.85rem; color: var(--green-ink); }
.idx-title { font-family: var(--font-display); font-weight: 700; font-size: var(--text-h3); letter-spacing: -0.02em; }
.idx-desc { color: var(--muted); font-size: 0.98rem; max-width: 46ch; }
.idx-go { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background var(--dur), color var(--dur), border-color var(--dur); }
.idx-go svg { width: 18px; height: 18px; transition: transform var(--dur); }
.idx-row:hover .idx-go { background: var(--green); border-color: var(--green); color: #fff; }
.idx-row:hover .idx-go svg { transform: translate(2px, -2px); }

/* ---------- method (sticky editorial) ---------- */
.method { background: var(--paper-2); }
.method-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.method-head { position: sticky; top: 100px; }
.method-head h2 { font-size: var(--text-h2); margin-top: 1rem; }
.method-head p { color: var(--muted); margin-top: 1.1rem; font-size: var(--text-lead); }
.method-list { display: grid; gap: 0; }
.method-item { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.method-item:last-child { border-bottom: 1px solid var(--line); }
.method-item .mn { font-family: var(--font-mono); font-size: 0.82rem; color: var(--green-ink); padding-top: 0.35rem; white-space: nowrap; min-width: 11ch; }
.method-item h3 { font-size: 1.4rem; }
.method-item p { color: var(--muted); margin-top: 0.5rem; font-size: 0.98rem; }

/* ---------- case studies / results ---------- */
.cases-grid { display: grid; gap: 1.3rem; }
.case {
 display: grid;
 grid-template-columns: 1fr 1.1fr;
 gap: clamp(1.5rem, 1rem + 2vw, 3rem);
 align-items: center;
 background: var(--card);
 border: 1px solid var(--line-2);
 border-radius: var(--radius);
 overflow: hidden;
 transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.case:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.case:nth-child(even) .case-media { order: 2; }
.case-media { aspect-ratio: 5 / 4; overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: clamp(1.6rem, 1rem + 2vw, 2.6rem); }
.case-tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.case-metric { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); letter-spacing: -0.03em; color: var(--green); margin: 0.7rem 0 0.2rem; }
.case h3 { font-size: 1.4rem; margin: 0.8rem 0 0.6rem; }
.case p { color: var(--muted); font-size: 0.98rem; }
.case .who { margin-top: 1.3rem; font-size: 0.88rem; font-weight: 600; }

/* ---------- stat band ---------- */
.stats { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.4rem, 1.5rem + 3vw, 4rem); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-cell { border-left: 2px solid var(--green-bright); padding-left: 1.2rem; }
.stat-cell .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.3rem, 1.4rem + 3vw, 3.6rem); letter-spacing: -0.03em; }
.stat-cell .lbl { color: rgba(255, 255, 255, 0.68); font-size: 0.92rem; margin-top: 0.3rem; }

/* ---------- featured testimonial ---------- */
.quote-feat { display: grid; grid-template-columns: 0.4fr 1fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.quote-feat .q-media img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.quote-feat blockquote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem); line-height: 1.28; letter-spacing: -0.02em; }
.quote-feat .q-mark { color: var(--green); font-size: 3rem; font-family: var(--font-display); line-height: 0.5; }
.quote-feat .q-who { margin-top: 1.6rem; display: flex; align-items: center; gap: 0.9rem; }
.quote-feat .q-who .n { font-weight: 600; }
.quote-feat .q-who .r { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.6rem, 1.5rem + 4vw, 5rem); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 88% -20%, rgba(255,255,255,0.18), transparent 55%); pointer-events: none; }
.cta-band h2 { font-size: var(--text-h2); max-width: 18ch; position: relative; }
.cta-band p { max-width: 46ch; margin-top: 1rem; color: rgba(255,255,255,0.9); font-size: var(--text-lead); position: relative; }
.cta-band .actions { margin-top: 2rem; display: flex; gap: 0.8rem; flex-wrap: wrap; position: relative; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; right: -12vw; top: -10rem; width: 52vw; height: 52vw; max-width: 720px; max-height: 720px; border-radius: 50%; border: 1px solid var(--line-dark); pointer-events: none; }
.site-footer::after { content: ""; position: absolute; right: -4vw; top: -4rem; width: 32vw; height: 32vw; max-width: 460px; max-height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(251,191,7,0.10), transparent 70%); pointer-events: none; }
/* signature marquee — transform only, duplicated groups, hidden from AT */
.marquee { border-bottom: 1px solid var(--line-dark); overflow: hidden; padding-block: 1.05rem; position: relative; z-index: 1; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-2); white-space: nowrap; }
.marquee-group i { width: 5px; height: 5px; border-radius: 50%; background: var(--green-bright); opacity: 0.8; }
@keyframes marquee { to { transform: translateX(-50%); } }
.site-footer .wrap { position: relative; z-index: 1; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-top: clamp(3.5rem, 2rem + 4vw, 5.5rem); padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand { color: #fff; margin-bottom: 1.1rem; }
.footer-brand p { max-width: 34ch; font-size: 0.95rem; }
.footer-col .footer-h { font-family: var(--font-mono); font-weight: 500; font-size: 0.73rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1.1rem; }
.footer-col a { display: block; padding: 0.35rem 0; color: rgba(255,255,255,0.72); transition: color var(--dur-fast); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.8rem; font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.03em; color: var(--muted-2); }
.footer-tag { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0; color: rgba(255,255,255,0.82); }
/* signature badge — slow-spinning circular wordmark, transform only */
.footer-badge { position: absolute; right: clamp(1rem, 2vw, 3rem); top: 4.6rem; width: 132px; height: 132px; z-index: 1; pointer-events: none; }
.footer-badge svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.footer-badge text { font-family: var(--font-mono); font-size: 9.6px; letter-spacing: 0.22em; text-transform: uppercase; fill: var(--muted-2); }
.footer-badge .badge-core { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; letter-spacing: -0.06em; color: var(--green-bright); }
.footer-badge .badge-core .g { color: var(--muted-2); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
 .footer-badge { position: relative; right: auto; top: auto; width: 112px; height: 112px; margin: 2.4rem auto 0; }
 .footer-top { padding-top: 2.2rem; }
 .footer-bottom { justify-content: flex-start; gap: 0.9rem; }
 .footer-tag { width: 100%; }
}
/* signature credit — typed in when the footer enters view; plain text without JS */
.credit { position: relative; padding-right: 0.72em; white-space: nowrap; letter-spacing: 0.1em; }
.credit a { display: inline-block; padding: 0.35rem 0; margin: -0.35rem 0; color: var(--green-bright); text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1px; text-decoration-color: rgba(251,191,7,0.55); transition: text-decoration-color var(--dur-fast); }
.credit a:hover, .credit a:focus-visible { text-decoration-color: currentColor; }
.credit .ch { transition: opacity 90ms linear; }
.credit.is-armed .ch { opacity: 0; }
.credit .caret { position: absolute; right: 0; top: 50%; width: 0.5em; height: 1.02em; margin-top: -0.51em; background: var(--green-bright); opacity: 0; pointer-events: none; }
.credit.is-armed .caret { opacity: 0.85; }
.credit.is-done .caret { animation: caret-blink 0.6s ease-in-out infinite alternate; }
@keyframes caret-blink { to { opacity: 0.1; } }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line-dark); display: grid; place-items: center; color: #fff; transition: background var(--dur-fast), border-color var(--dur-fast); }
.footer-social a:hover { background: var(--green-bright); border-color: var(--green-bright); color: var(--ink); }
.footer-social svg { width: 16px; height: 16px; }

/* ---------- page hero ---------- */
.page-hero { padding-top: clamp(3rem, 2rem + 3vw, 5rem); padding-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.page-hero .crumb { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.page-hero h1 { font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.8rem); letter-spacing: -0.025em; max-width: 17ch; font-weight: 700; }
.page-hero p { color: var(--muted); font-size: var(--text-lead); max-width: 54ch; margin-top: 1.3rem; }

/* ---------- values / feature cards ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feat { padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.feat .fi { width: 48px; height: 48px; border-radius: 11px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; margin-bottom: 1.3rem; }
.feat .fi svg { width: 24px; height: 24px; }
.feat h3 { font-size: 1.2rem; }
.feat p { color: var(--muted); margin-top: 0.5rem; font-size: 0.96rem; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.split-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.split h2 { font-size: var(--text-h2); margin-top: 1rem; }
.split p { color: var(--muted); margin-top: 1rem; font-size: var(--text-lead); }
.check-list { display: grid; gap: 1rem; margin-top: 1.8rem; }
.check-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.check-list .ci { width: 24px; height: 24px; border-radius: 6px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; flex: 0 0 auto; margin-top: 3px; }
.check-list .ci svg { width: 14px; height: 14px; }
.check-list strong { font-weight: 600; }
.check-list span.t { color: var(--muted); font-size: 0.94rem; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.4rem; }
.chips span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; padding: 0.45rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--card); }
.member img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: grayscale(0.2); }
.member h4 { font-family: var(--font-display); font-size: 1.1rem; margin-top: 1rem; }
.member p { font-family: var(--font-mono); font-size: 0.75rem; color: var(--green-ink); letter-spacing: 0.03em; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.contact-info .info-item { display: flex; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.contact-info .info-item:first-child { padding-top: 0; }
.contact-info .ii-ico { width: 44px; height: 44px; border-radius: 10px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; flex: 0 0 auto; }
.contact-info .ii-ico svg { width: 21px; height: 21px; }
.contact-info h2 { font-family: var(--font-display); font-size: 1.05rem; }
.contact-info p, .contact-info a { color: var(--muted); font-size: 0.96rem; }
.contact-info a { display: inline-block; padding: 0.3rem 0; margin: -0.3rem 0; }
.contact-info a:hover { color: var(--green-ink); }
.form-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.4rem); box-shadow: var(--shadow-sm); }
.field { display: grid; gap: 0.45rem; margin-bottom: 1.1rem; }
.field label { font-size: 0.82rem; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: 0.96rem; padding: 0.82rem 1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); transition: border-color var(--dur-fast), background var(--dur-fast); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 0.4rem; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.9rem; text-align: center; }

/* faq */
.faq { display: grid; gap: 1rem; max-width: 820px; }
.faq details { padding: 1.3rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.faq summary { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { color: var(--muted); margin-top: 0.7rem; }

/* reveal */
/* transform only: unread content is never held at opacity 0 (frontend.md) */
.js [data-reveal] { transform: translateY(26px); transition: transform 0.8s var(--ease); }
.js [data-reveal].in { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
 .hero-top { grid-template-columns: 1fr; align-items: start; }
 .hero-aside { padding-bottom: 0; }
 .method-grid { grid-template-columns: 1fr; }
 .method-head { position: static; }
 .case, .case:nth-child(even) .case-media { grid-template-columns: 1fr; }
 .case-media, .case:nth-child(even) .case-media { order: 0; aspect-ratio: 16 / 9; }
 .split { grid-template-columns: 1fr; }
 .split-media { max-width: 480px; }
 .quote-feat { grid-template-columns: 1fr; }
 .quote-feat .q-media { max-width: 260px; }
 .contact-grid { grid-template-columns: 1fr; }
 .team-grid { grid-template-columns: repeat(2, 1fr); }
 .feat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
 .eyebrow, .hero-metric .lbl, .case-tag, .footer-col .footer-h, .page-hero .crumb { font-size: 0.76rem; }
 .brand .word .w2 { font-size: 0.62rem; }
 .field input, .field select, .field textarea { font-size: 1rem; }
 .nav-links, .header-cta .btn-primary { display: none; }
 .brand .word .w2 { white-space: nowrap; letter-spacing: 0.2em; }
 .brand .mono { font-size: 1.55rem; }
 .nav-toggle { display: block; }
 .hero-metrics { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
 .hero-band-img { aspect-ratio: 16 / 11; }
 .idx-row { grid-template-columns: 44px 1fr; gap: 0.4rem 1rem; }
 .idx-desc { grid-column: 2; }
 .idx-go { display: none; }
 .stats { grid-template-columns: 1fr 1fr; }
 .footer-top { grid-template-columns: 1fr 1fr; }
 .footer-bottom { justify-content: flex-start; }
 .field-row { grid-template-columns: 1fr; }
 .logos-inner { justify-content: flex-start; }

 .nav-links.open { display: flex; position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.5rem; z-index: 99; }
 .nav-links.open li { width: 100%; }
 .nav-links.open a { display: block; padding: 0.9rem 0; width: 100%; border-bottom: 1px solid var(--line-2); font-size: 1.05rem; }
 .nav-links.open .nav-mobile-cta { width: 100%; padding-top: 1rem; }
 .nav-links.open .nav-mobile-cta { border: 0; }
 .nav-links.open .nav-mobile-cta a { display: inline-flex; width: auto; border: 0; padding: 0.9rem 1.4rem; color: #fff; font-size: 0.97rem; }
}
@media (max-width: 480px) {
 .hero-metrics { grid-template-columns: 1fr 1fr; }
 .stats { grid-template-columns: 1fr; }
 .footer-top { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1.6rem 1.2rem; }
 .footer-brand { grid-column: 1 / -1; }
 .team-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
 .js [data-reveal] { opacity: 1; transform: none; }
 .marquee-track { animation: none; }
 .footer-badge svg { animation: none; }
 .credit.is-armed .ch { opacity: 1; }
 .credit .caret { display: none; }
}

/* ============================================================
 SIGNATURE FOOTER MOTIFS — one kinetic + one ornament + one reveal per client
 (see ~/.claude/skills/idea-to-site/references/signature-footers.md)
 Rules: transform/opacity only, honours prefers-reduced-motion, readable with JS off.
 ============================================================ */

/* --- kinetic: giant wordmark (rise / draw / roll / scramble) --- */
.fm-giant { position: relative; z-index: 1; overflow: hidden; padding: clamp(2rem, 1rem + 4vw, 4.5rem) var(--gutter) 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(3.4rem, 1rem + 15vw, 13rem); line-height: 0.9; letter-spacing: -0.05em; color: #fff; white-space: nowrap; user-select: none; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.fm-giant .ch { display: inline-block; }
.js .fm-giant-rise .ch, .js .fm-giant-roll .ch { opacity: 0; transform: translateY(0.45em); transition: transform 1s var(--ease) calc(var(--d) * 85ms), opacity 0.7s ease-out calc(var(--d) * 85ms); }
.js .fm-giant-roll .fm-giant-word { display: inline-block; overflow: hidden; }
.js .fm-giant-roll .ch { transform: translateY(1.05em); opacity: 1; }
.js .fm-giant-rise.is-in .ch, .js .fm-giant-roll.is-in .ch { opacity: 1; transform: none; }
.js .fm-giant-draw .ch { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.85); transition: color 0.9s ease-out calc(0.6s + var(--d) * 110ms), -webkit-text-stroke-color 0.9s ease-out calc(0.6s + var(--d) * 110ms), transform 0.9s var(--ease) calc(var(--d) * 90ms); transform: translateY(0.25em); }
.js .fm-giant-draw.is-in .ch { color: #fff; -webkit-text-stroke-color: transparent; transform: none; }
.fm-scramble .ch { font-variant-numeric: tabular-nums; }
.js .fm-scramble:not(.is-in) .ch { opacity: 0.25; }
.js .fm-scramble.is-in .ch { transition: opacity 0.4s; opacity: 1; }

/* --- kinetic: rotating tagline word --- */
.fm-rotator { position: relative; z-index: 1; padding: clamp(2rem, 1rem + 3vw, 3.5rem) var(--gutter) 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 1rem + 4vw, 4.2rem); letter-spacing: -0.02em; color: #fff; line-height: 1.1; }
.fm-rotator .rslot { display: inline-grid; vertical-align: top; overflow: hidden; color: var(--green-bright); }
.fm-rotator .rw { grid-area: 1 / 1; opacity: 0; transform: translateY(110%); transition: transform 0.7s var(--ease), opacity 0.5s; }
.fm-rotator .rw.is-on { opacity: 1; transform: none; }
.fm-rotator .rw.is-off { opacity: 0; transform: translateY(-110%); }

/* --- ornament: orbiting dots around the monogram --- */
.fm-orbit { position: absolute; right: clamp(1rem, 3vw, 4rem); top: 4.2rem; width: 150px; height: 150px; z-index: 1; pointer-events: none; }
.fm-orbit .orbit-core { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.06em; color: var(--green-bright); }
.fm-orbit .orbit-core .g { color: var(--muted-2); }
.fm-orbit .orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-dark); animation: spin 18s linear infinite; }
.fm-orbit .orbit-ring.r2 { inset: 18px; animation-duration: 12s; animation-direction: reverse; }
.fm-orbit .orbit-ring.r3 { inset: 36px; animation-duration: 8s; }
.fm-orbit .orbit-ring i { position: absolute; top: -4px; left: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 12px var(--green-bright); }

/* --- ornament: breathing rings --- */
.fm-rings { position: absolute; right: -6vw; bottom: -6vw; width: 40vw; height: 40vw; max-width: 520px; max-height: 520px; pointer-events: none; }
.fm-rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--green-bright); opacity: 0; animation: ring-breathe 7s ease-out infinite; }
.fm-rings i:nth-child(2) { animation-delay: 2.3s; }
.fm-rings i:nth-child(3) { animation-delay: 4.6s; }
@keyframes ring-breathe { 0% { transform: scale(0.55); opacity: 0.35; } 100% { transform: scale(1.15); opacity: 0; } }

/* --- ornament: drifting brand silhouette --- */
.fm-silhouette { position: absolute; right: -0.15em; bottom: -0.32em; font-family: var(--font-display); font-weight: 700; font-size: clamp(14rem, 40vw, 34rem); line-height: 1; letter-spacing: -0.08em; color: #fff; opacity: 0.045; pointer-events: none; user-select: none; animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-3%, -4%) rotate(-2deg); } }

/* --- ornament: aurora glow --- */
.fm-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.fm-aurora i { position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; filter: blur(60px); opacity: 0.16; background: radial-gradient(circle, var(--green-bright), transparent 65%); animation: aurora 22s ease-in-out infinite alternate; }
.fm-aurora .a1 { right: -20vw; top: -30vw; }
.fm-aurora .a2 { left: -25vw; bottom: -35vw; animation-delay: -11s; background: radial-gradient(circle, var(--green), transparent 65%); opacity: 0.28; }
@keyframes aurora { to { transform: translate(8%, 10%) scale(1.15); } }

/* --- ornament: constellation --- */
.fm-constellation { position: absolute; right: clamp(1rem, 4vw, 5rem); top: 3.5rem; width: min(42vw, 420px); height: auto; pointer-events: none; stroke: var(--line-dark); stroke-width: 0.35; fill: var(--green-bright); }
.fm-constellation circle { animation: twinkle 3.6s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -0.7s); transform-box: fill-box; transform-origin: center; }
@keyframes twinkle { from { opacity: 0.35; transform: scale(0.7); } to { opacity: 1; transform: scale(1.4); } }

/* --- ornament: grain (static texture, no motion) --- */
.fm-grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* --- reveal: line draw / mask wipe (rise is the default data-reveal) --- */
.js .reveal-line .footer-top { border-bottom-color: transparent; position: relative; }
.js .reveal-line .footer-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--green-bright); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) 0.2s; }
.js .reveal-line.is-in .footer-top::after { transform: scaleX(1); }
.js .reveal-line .footer-col { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease-out, transform 0.7s var(--ease); }
.js .reveal-line.is-in .footer-col { opacity: 1; transform: none; }
.js .reveal-line.is-in .footer-col:nth-child(3) { transition-delay: 0.12s; }
.js .reveal-line.is-in .footer-col:nth-child(4) { transition-delay: 0.24s; }
.js .reveal-wipe .footer-top { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease); }
.js .reveal-wipe.is-in .footer-top { clip-path: inset(0 0 0 0); }

/* --- kinetic: road — asphalt lane, centre dashes run toward the rider (motorcycle / automotive / travel) --- */
.fm-road { position: relative; z-index: 1; height: 76px; background: #262B27; border-block: 3px solid rgba(255,255,255,0.85); overflow: hidden; display: flex; align-items: center; }
.fm-road .lane { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; width: calc(100% + 120px); background: repeating-linear-gradient(90deg, #F2C200 0 64px, transparent 64px 120px); animation: lane 0.7s linear infinite; }
.fm-road .post { position: relative; z-index: 1; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; background: #262B27; padding: 0.35rem 0.8rem; margin-inline: var(--gutter); border: 1px solid rgba(255,255,255,0.4); border-radius: 2px; white-space: nowrap; }
.fm-road .post + .post { margin-left: auto; }
@keyframes lane { to { transform: translateX(-120px); } }

/* --- ornament: tach — rev counter; needle sweeps to the redline when the footer enters, then idles --- */
.fm-tach { position: absolute; right: clamp(1rem, 3vw, 4rem); top: 6.5rem; z-index: 1; width: clamp(170px, 14vw + 80px, 250px); pointer-events: none; }
.fm-tach svg { width: 100%; height: auto; overflow: visible; }
.fm-tach .dial { fill: none; stroke: var(--line-dark); stroke-width: 1.5; }
.fm-tach .red { fill: none; stroke: var(--green-bright); stroke-width: 5; }
.fm-tach .tick { stroke: rgba(255,255,255,0.5); stroke-width: 1.2; }
.fm-tach .tick.major { stroke: #fff; stroke-width: 2.2; }
.fm-tach .num { font-family: var(--font-display); font-weight: 700; font-size: 13px; fill: #fff; text-anchor: middle; dominant-baseline: middle; }
.fm-tach .unit { font-family: var(--font-mono); font-size: 7px; letter-spacing: 0.18em; fill: var(--muted-2); text-anchor: middle; }
.fm-tach .needle { transform-box: view-box; transform-origin: 100px 100px; transform: rotate(-94deg); }
.js .fm-tach .needle { transform: rotate(-120deg); }
.fm-tach .needle line { stroke: var(--green-bright); stroke-width: 3; stroke-linecap: round; }
.fm-tach .hub { fill: var(--ink); stroke: var(--green-bright); stroke-width: 3; }
.site-footer.is-in .fm-tach .needle { animation: tach-rev 2.4s cubic-bezier(0.3, 0, 0.2, 1) forwards, tach-idle 1.6s ease-in-out 2.4s infinite alternate; }
.site-footer .fm-tach.revving .needle { animation: none; transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes tach-rev { 0% { transform: rotate(-120deg); } 45% { transform: rotate(96deg); } 58% { transform: rotate(84deg); } 100% { transform: rotate(-94deg); } }
@keyframes tach-idle { from { transform: rotate(-94deg); } to { transform: rotate(-88deg); } }

/* --- reveal: throttle — columns launch in with a speed skew, staggered by --i (set in markup or by nth-child) --- */
.js .reveal-throttle .footer-top > * { opacity: 0; transform: translateX(-56px) skewX(-14deg); transition: opacity 0.5s ease-out, transform 0.9s var(--ease); }
.js .reveal-throttle .footer-top > :nth-child(2) { transition-delay: 90ms; }
.js .reveal-throttle .footer-top > :nth-child(3) { transition-delay: 180ms; }
.js .reveal-throttle .footer-top > :nth-child(4) { transition-delay: 270ms; }
.js .reveal-throttle.is-in .footer-top > * { opacity: 1; transform: none; }
@media (max-width: 760px) {
 .fm-tach { position: relative; right: auto; top: auto; margin: 2.2rem auto 0; }
 .fm-road .post:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
 .fm-road .lane { animation: none; }
 .site-footer.is-in .fm-tach .needle, .js .fm-tach .needle { animation: none; transform: rotate(-94deg); }
 .js .reveal-throttle .footer-top > * { opacity: 1; transform: none; }
}

/* --- interaction: cursor glow (pointer devices only) / magnetic brand --- */
@media (hover: hover) and (pointer: fine) {
 .fm-i-glow::before { content: ""; position: absolute; width: 520px; height: 520px; left: 0; top: 0; border-radius: 50%; pointer-events: none; opacity: 0; background: radial-gradient(circle, rgba(251,191,7,0.14), transparent 62%); transform: translate(var(--gx, -50%), var(--gy, -50%)); transition: opacity 0.5s; }
 .fm-i-glow:hover::before { opacity: 1; }
 .fm-i-magnet .footer-brand .brand { transition: transform 0.35s var(--ease); will-change: transform; }
}

@media (max-width: 760px) {
 .fm-orbit { position: relative; right: auto; top: auto; width: 120px; height: 120px; margin: 2.2rem auto 0; }
 .fm-constellation { position: relative; right: auto; top: auto; width: 70%; margin: 2rem auto 0; display: block; }
 .fm-rings { right: -30vw; bottom: -30vw; width: 80vw; height: 80vw; }
 .fm-silhouette { font-size: 11rem; }
}
@media (prefers-reduced-motion: reduce) {
 .fm-orbit .orbit-ring, .fm-rings i, .fm-silhouette, .fm-aurora i, .fm-constellation circle { animation: none; }
 .fm-rings i { opacity: 0.18; transform: scale(0.85); }
 .js .fm-giant .ch, .js .reveal-line .footer-col, .js .reveal-line .footer-top::after, .js .reveal-wipe .footer-top { opacity: 1; transform: none; clip-path: none; color: #fff; -webkit-text-stroke-color: transparent; transition: none; }
 .fm-rotator .rw { transition: none; }
}

/* ============================================================
 FORTION LAYER — dark chrome, section layouts. Transform/opacity motion only.
 ============================================================ */
h1, h2, h3, h4 { letter-spacing: -0.02em; line-height: 1.1; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.eyebrow::before { background: var(--green-ink); }
.section-head.on-dark h2 { color: #fff; }
.section-head.on-dark .eyebrow { color: var(--green-bright); }
.section-head.on-dark .eyebrow::before { background: var(--green-bright); }
.section-head.on-dark p { color: rgba(255,255,255,0.72); }

/* dark chrome header — reads over the film and over paper alike */
.site-header { background: rgba(22, 21, 20, 0.94); color: #fff; }
.site-header.scrolled { border-color: var(--line-dark); }
.site-header :focus-visible, .site-footer :focus-visible, .fx-scrub :focus-visible, .clients :focus-visible, .steps-band :focus-visible, .page-hero :focus-visible, .note :focus-visible { outline-color: var(--green-bright); }
.brand { gap: 0.7rem; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 auto; }
.brand .word { gap: 0.22rem; }
.brand .word .w1 { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: 0.12em; color: #fff; }
.brand .word .w1 b { color: var(--green-bright); font-weight: 700; }
.brand .word .w2 { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: none; color: var(--muted-2); }
.nav-links a { color: rgba(255,255,255,0.7); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after { background: var(--green-bright); }
.nav-toggle { border-color: var(--line-dark); }
.nav-toggle span { background: #fff; }
.btn-ghost.on-dark { border-color: rgba(255,255,255,0.35); }
.btn-line { border: 1.5px solid rgba(22,21,20,0.55); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-coral { background: var(--coral); color: var(--ink); }
.btn-coral:hover { background: #FF6B83; transform: translateY(-2px); }

/* ---------- hero: scrubbed film (poster paints first, film follows scroll) ---------- */
.fx-scrub-stage { background: #0E0D0C url('../world/film-poster.webp') center / cover no-repeat; }
/* scrim only behind the copy column: the film's subject stays clear on the right */
.fx-scrub-stage::after { background: linear-gradient(90deg, rgba(14,13,12,0.8) 0%, rgba(14,13,12,0.3) 38%, rgba(14,13,12,0) 58%), linear-gradient(180deg, rgba(14,13,12,0) 72%, rgba(14,13,12,0.6)); }
/* first-view motion: the stage settles from a slow push-in while the intro seconds play */
/* --shift moves the film's centred subject out from under the copy column (desktop only);
   the film's own background is near-black, so the exposed edge reads as the same void */
.fx-scrub-stage video { --shift: 0%; transform: translateX(var(--shift)); transform-origin: 62% 50%; animation: stage-in 2.6s var(--ease) both; }
@keyframes stage-in { from { transform: translateX(var(--shift)) scale(1.14); } to { transform: translateX(var(--shift)); } }
@media (min-width: 1021px) { .fx-scrub-stage video { --shift: 17%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%); mask-image: linear-gradient(90deg, transparent, #000 14%); } }
.fx-scrub-chapter .scroll-cue { display: inline-flex; align-items: center; gap: 0.8rem; margin-top: 2.4rem; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.78); }
.scroll-cue i { position: relative; width: 1.5px; height: 42px; background: rgba(255,255,255,0.22); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--green-bright); transform: translateY(-100%); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 60%, 100% { transform: translateY(100%); } }
.fx-scrub-chapter > .wrap > * { max-width: 40rem; }
.fx-scrub-chapter h1 { font-size: clamp(2.2rem, 1rem + 3.1vw, 3.9rem); line-height: 1.06; letter-spacing: -0.03em; color: #fff; }
.fx-scrub-chapter h2 { font-size: var(--text-h2); }
.fx-scrub-chapter p { font-size: var(--text-lead); margin-top: 1.2rem; max-width: 32rem; }
.hero-actions { margin-top: 2rem; }

/* ---------- statement ---------- */
.statement-grid { display: grid; grid-template-columns: 1.55fr 0.75fr; gap: 1.6rem clamp(2rem, 1rem + 4vw, 5rem); align-items: end; }
.statement-grid .eyebrow { grid-column: 1 / -1; }
.statement-h { font-size: clamp(1.9rem, 1rem + 3.4vw, 4rem); line-height: 1.12; letter-spacing: -0.03em; }
.statement-h mark { color: inherit; background: linear-gradient(transparent 58%, var(--green) 58% 92%, transparent 92%) no-repeat 0 0 / 0% 100%; transition: background-size 1.1s var(--ease) 0.35s; padding-inline: 0.06em; }
.statement-h.in mark, html:not(.js) .statement-h mark { background-size: 100% 100%; }
.statement-p { color: var(--muted); font-size: var(--text-lead); border-left: 3px solid var(--green); padding-left: 1.2rem; }

/* ---------- services carousel ---------- */
.services-band { background: var(--paper-2); }
.fx-car-track:focus-visible, .fx-car-ui button:focus-visible { outline-color: var(--ink); }
.fx-card-body h3 { font-size: 1.22rem; }
.fx-card-body p { color: var(--muted); font-size: 0.96rem; margin-top: 0.5rem; }
.fx-car-ui button { color: var(--ink); }
.fx-car-progress span { background: var(--ink); }
.band-link { margin-top: 2rem; }
/* first card lines up with the container edge; the track still bleeds to the viewport */
.fx-car-track { --edge: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); padding-inline: var(--edge); scroll-padding-inline: var(--edge); }

/* ---------- ONG ---------- */
.ong-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.ong-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ong-head { display: grid; gap: 1rem; }
.ong-head .eyebrow { color: var(--coral-ink); }
.ong-head .eyebrow::before { background: var(--coral); }
.ong-head h2 { font-size: clamp(1.7rem, 1.1rem + 1.9vw, 2.6rem); }
.ong-head p { color: var(--muted); font-size: var(--text-lead); }
.beats { list-style: none; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.beats li { display: flex; gap: 0.9rem; align-items: baseline; padding: 1.1rem 0.4rem 1.1rem 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.beats .n { font-family: var(--font-mono); font-weight: 500; font-size: 0.78rem; color: var(--coral-ink); }

/* ---------- clients: two counter-running name rows ---------- */
.clients { background: var(--ink); color: #fff; padding-block: var(--space-section); overflow: hidden; }
.names { display: grid; gap: 1.1rem; }
.names-row { display: flex; width: max-content; }
.names-track { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; animation: names 60s linear infinite; }
.names-row.rev .names-track { animation-direction: reverse; animation-duration: 70s; }
.names:hover .names-track { animation-play-state: paused; }
.names-track span { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 0.9rem + 1.6vw, 2.3rem); letter-spacing: -0.02em; white-space: nowrap; color: rgba(255,255,255,0.9); }
.names-row.rev .names-track span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.6); }
.names-track i { width: 9px; height: 9px; border-radius: 2px; background: var(--green-bright); transform: rotate(45deg); flex: 0 0 auto; }
.names-row.rev .names-track i { background: var(--coral); }
@keyframes names { to { transform: translateX(-100%); } }

/* ---------- proof: reviews + partners ---------- */
.proof-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.proof-score h2 { font-size: clamp(2.6rem, 1.6rem + 3vw, 4rem); margin-top: 1rem; }
.stars { display: inline-flex; gap: 2px; color: var(--green-ink); }
.stars svg { width: 18px; height: 18px; }
.stars.big { color: var(--green); margin-top: 0.6rem; }
.stars.big svg { width: 28px; height: 28px; }
.proof-score > p { color: var(--muted); margin-top: 0.4rem; }
.proof-score .partners-label { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 2.4rem; }
.reviews { display: grid; gap: 1.2rem; }
.review { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); box-shadow: var(--shadow-sm); }
.review blockquote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1rem + 0.9vw, 1.6rem); line-height: 1.3; margin-top: 0.9rem; }
.review figcaption { font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted); margin-top: 1rem; letter-spacing: 0.05em; }

/* ---------- blog ---------- */
.blog { background: var(--paper-2); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.post { display: flex; flex-direction: column; gap: 0.7rem; background: var(--card); border-radius: var(--radius); padding: 1.7rem; border: 1px solid var(--line-2); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.post-tag { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-ink); }
.post h3 { font-size: 1.2rem; }
.post p { color: var(--muted); font-size: 0.96rem; }
.post-go { margin-top: auto; padding-top: 0.6rem; display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.92rem; }
.post-go svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.post:hover .post-go svg { transform: translate(2px, -2px); }

/* ---------- CTA band: brand yellow, coral glow ---------- */
.cta-band { background: var(--green); color: var(--ink); }
.cta-band::after { background: radial-gradient(circle at 92% -10%, rgba(254,80,108,0.38), transparent 50%); }
.cta-band .eyebrow { color: var(--ink); }
.cta-band .eyebrow::before { background: var(--ink); }
.cta-band h2 { margin-top: 1rem; max-width: 22ch; }
.cta-band p { color: rgba(22,21,20,0.82); }
.cta-band :focus-visible { outline-color: var(--ink); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: #fff; padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -10vw; bottom: -30vw; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; border-radius: 50%; border: 1px solid rgba(251,191,7,0.35); box-shadow: inset 0 0 0 60px rgba(251,191,7,0.03); pointer-events: none; }
.page-hero .crumb { color: var(--muted-2); }
.page-hero .crumb a { display: inline-block; padding: 0.45rem 0; margin: -0.45rem 0; color: rgba(255,255,255,0.8); text-decoration: underline; text-underline-offset: 0.2em; }
.page-hero h1 { max-width: 20ch; font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4.3rem); }
.page-hero .lead { color: rgba(255,255,255,0.74); }

/* ---------- services index ---------- */
.svc-index { border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 70px 1.1fr 1fr; gap: 1.2rem 2rem; padding: clamp(1.6rem, 1rem + 1.5vw, 2.4rem) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.svc-n { font-family: var(--font-mono); font-size: 0.86rem; color: var(--green-ink); padding-top: 0.45rem; }
.svc-main h2 { font-size: var(--text-h3); }
.svc-main p { color: var(--muted); margin-top: 0.5rem; max-width: 52ch; }
.svc-list { display: grid; gap: 0.65rem; align-content: start; padding-top: 0.3rem; }
.svc-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.97rem; }
.ci { width: 22px; height: 22px; border-radius: 6px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; flex: 0 0 auto; margin-top: 2px; }
.ci svg { width: 13px; height: 13px; }
.steps-band { background: var(--ink); color: #fff; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.step { padding: 1.8rem 1.6rem 2rem 0; border-bottom: 1px solid var(--line-dark); }
.step-n { font-family: var(--font-mono); font-size: 0.8rem; color: var(--green-bright); }
.step h3 { font-size: 1.25rem; margin-top: 0.8rem; color: #fff; }
.step p { color: rgba(255,255,255,0.72); margin-top: 0.45rem; font-size: 0.97rem; }

/* ---------- nonprofits ---------- */
.np-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.np-media { position: sticky; top: 100px; }
.np-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.beat { padding: 2rem 0; border-top: 1px solid var(--line); }
.beat:last-child { border-bottom: 1px solid var(--line); }
.beat-n { font-family: var(--font-mono); font-size: 0.8rem; color: var(--coral-ink); }
.beat h2 { font-size: var(--text-h3); margin-top: 0.6rem; }
.beat p { color: var(--muted); margin-top: 0.6rem; font-size: 1.04rem; }
.lic-band { background: var(--paper-2); }
.lic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.lic { background: var(--card); border-radius: var(--radius); padding: 1.8rem; border: 1px solid var(--line-2); }
.lic h3 { font-size: 1.2rem; }
.chips span { color: var(--ink); }
.note { margin-top: 1.4rem; border-radius: var(--radius); padding: 1.6rem 1.8rem; background: var(--ink); color: rgba(255,255,255,0.8); display: grid; gap: 0.5rem; }
.note h3 { color: var(--green-bright); font-size: 1.1rem; }
.note-link { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; justify-self: start; padding: 0.3rem 0; }

/* ---------- about ---------- */
.split-media img { aspect-ratio: 4 / 3; }
.story h2 { font-size: var(--text-h2); margin-top: 1rem; }
.story p { color: var(--muted); margin-top: 1rem; font-size: 1.04rem; }
.values-band { background: var(--paper-2); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.values li { background: var(--card); border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line-2); }
.v-n { font-family: var(--font-mono); font-size: 0.78rem; color: var(--green-ink); }
.values h3 { font-size: 1.35rem; margin-top: 0.8rem; }
.values p { color: var(--muted); margin-top: 0.4rem; font-size: 0.96rem; }
.quality { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); max-width: 60rem; }
.quality p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1rem + 1.3vw, 2rem); line-height: 1.32; letter-spacing: -0.02em; margin-top: 1rem; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.member { display: flex; gap: 1rem; align-items: center; padding: 1.3rem 1rem 1.3rem 0; border-bottom: 1px solid var(--line); }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: var(--ink); color: var(--green-bright); font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.04em; }
.member:nth-child(3n+2) .avatar { background: var(--green); color: var(--ink); }
.member:nth-child(3n) .avatar { background: var(--coral); color: var(--ink); }
.member h3 { font-size: 1.04rem; }
.member p { font-family: var(--font-body); font-size: 0.9rem; letter-spacing: 0; color: var(--muted); margin-top: 0.15rem; }

/* ---------- contact ---------- */
.contact-info a strong { color: var(--ink); text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
.contact-info .ii-ico { background: var(--ink); color: var(--green-bright); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--green); }

/* ---------- footer: orbit around the client's circuit mark ---------- */
.fm-orbit .orbit-core img { width: 64px; height: 64px; }
.fm-rotator { padding-left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); padding-right: 220px; }
.blog .band-link { margin-top: 1.6rem; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
 .ong-grid, .proof-grid, .np-grid, .statement-grid { grid-template-columns: 1fr; }
 .ong-media, .np-media { max-width: 460px; position: static; }
 .posts { grid-template-columns: 1fr; }
 .svc { grid-template-columns: 52px 1fr; }
 .svc-list { grid-column: 2; }
 .steps, .values, .team { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
 .site-header .brand .word .w2 { display: none; }
 .nav-links.open { background: var(--ink); border-color: var(--line-dark); }
 .nav-links.open a { border-color: var(--line-dark); }
 .nav-links.open .nav-mobile-cta a { color: var(--ink); }
 .fx-scrub-stage { background-image: url('../world/film-mobile-poster.webp'); }
 .fx-scrub-stage::after { background: linear-gradient(180deg, rgba(14,13,12,0.2) 0%, rgba(14,13,12,0.78) 58%, rgba(14,13,12,0.94)); }
 .fx-scrub-chapter { align-items: flex-end; padding-bottom: 10svh; }
 .beats, .steps, .lic-grid, .values, .team { grid-template-columns: 1fr; }
 .svc { grid-template-columns: 1fr; gap: 0.8rem; }
 .svc-list { grid-column: auto; }
 .fm-rotator { padding-right: var(--gutter); }
 .fx-scrub-chapter h1 { font-size: 2rem; }
 .fx-scrub-chapter h2 { font-size: 1.75rem; }
 .fx-scrub-chapter p { font-size: 1rem; margin-top: 0.9rem; }
 .hero-actions { margin-top: 1.4rem; gap: 0.6rem; }
 .hero-actions .btn-lg { padding: 0.85rem 1.1rem; font-size: 0.95rem; }
 .fx-scrub-chapter .scroll-cue { margin-top: 1.4rem; }
 .fx-scrub-chapter .scroll-cue i { height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
 .names-track { animation: none; }
 .names-row { width: auto; }
 .names-row .names-track { flex-wrap: wrap; padding-inline: var(--gutter); row-gap: 0.6rem; }
 .names-track[aria-hidden="true"] { display: none; }
 .statement-h mark { background-size: 100% 100%; transition: none; }
 .fx-scrub-stage video, .scroll-cue i::after { animation: none; }
}

/* ============================================================
 SIGNATURE FOOTER — TI encendido: giant outline wordmark fills; TI lights in brand yellow; circuit traces wipe in
 ============================================================ */
.ft-b .fb-giant { text-align: center; font-size: min(15rem, 19vw); letter-spacing: -0.05em; padding-top: clamp(3rem, 2rem + 4vw, 5.5rem); }
.fb-giant .ch.ti { color: var(--green-bright); }
.js .ft-b .fm-giant-draw .ch.ti { transition-delay: calc(1.5s + var(--d) * 110ms); }
.js .ft-b .fm-giant-draw.is-in .ch.ti { color: var(--green-bright); text-shadow: 0 0 48px rgba(251,191,7,0.5); }
.fb-line { position: relative; z-index: 1; text-align: center; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); margin-top: 0.6rem; }
.ft-b .fb-giant { -webkit-mask-image: none; mask-image: none; }
.fb-traces { position: absolute; left: 0; bottom: 5.5rem; width: 100%; height: 200px; fill: none; stroke: rgba(251,191,7,0.24); stroke-width: 1.5; stroke-linecap: round; pointer-events: none; z-index: 0; }
.fb-traces path { vector-effect: non-scaling-stroke; }
.fb-traces .node { stroke: var(--green-bright); stroke-width: 9; }
.js .ft-b .fb-traces { clip-path: inset(0 100% 0 0); transition: clip-path 2s var(--ease) 0.4s; }
.js .ft-b.is-in .fb-traces { clip-path: inset(0 0 0 0); }

@media (max-width: 760px) {
 .fb-traces { bottom: 9rem; height: 140px; }
}
@media (prefers-reduced-motion: reduce) {
 .js .ft-b .fb-traces { clip-path: none; transition: none; }
 .js .ft-b .fm-giant-draw .ch.ti { color: var(--green-bright); }
}
