/* ==========================================================================
   GIGI BOX — Landing page styles
   Art direction modelled on trionn.com: light-weight grotesk at -0.06em,
   dark ↔ light stripe transitions, pinned scroll scenes. Type sizes are fluid
   between 390px and 1440px viewports. Mobile-first; breakpoints 640 / 900 / 1100.
   ========================================================================== */

@font-face {
  font-family: 'Familjen Grotesk';
  src: url('../fonts/FamiljenGrotesk-var.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Martian Mono';
  src: url('../fonts/MartianMono-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --gold: #E5A800;
  --gold-soft: #f3c94d;
  --ink: #0b0b0b;
  --charcoal: #121212;
  --white: #FFFFFF;
  --surface: #F8F9FA;
  --navy: #0F172A;
  --gray-1: #ececee;
  --gray-2: #d4d5d8;
  --gray-3: #a9abb0;
  --text-dark: #d8d8d8;       /* headline colour on dark */
  --text-light: #434343;      /* headline colour on light */
  --muted: #6b6e74;
  --muted-dark: rgba(216, 216, 216, .6);
  --line: rgba(18, 18, 18, .14);
  --line-dark: rgba(255, 255, 255, .14);
  --error: #e5484d;

  --display: 'Familjen Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'Martian Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* Fluid type: values measured on trionn.com at 390px and 1440px */
  --fs-hero: clamp(2.6rem, calc(4.22vw + 29px), 6.6rem);
  --fs-display: clamp(1.9rem, calc(5.24vw + 10px), 6.4rem);
  --fs-giant: clamp(3.4rem, calc(6.76vw + 34.6px), 10rem);
  --fs-footer: clamp(2.4rem, calc(4.16vw + 26.5px), 6.2rem);
  --fs-num: clamp(2.4rem, calc(.733vw + 39.8px), 3.6rem);
  --fs-h3: clamp(1.3rem, calc(1.057vw + 17.2px), 2.4rem);
  --fs-caps: clamp(12.5px, calc(.152vw + 13.1px), 16px);
  --fs-body: 16px;

  --gutter: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text-dark);
  font-family: var(--display);
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--gold); color: var(--charcoal); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.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;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 600;
  background: var(--gold); color: var(--charcoal); padding: 10px 16px; border-radius: 6px;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }
.ic { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Type system ---------- */
.mono { font-family: var(--mono); }
.mono-caps {
  font-size: var(--fs-caps); font-weight: 400; line-height: 1;
  text-transform: uppercase; letter-spacing: -.02em;
}
.display-lg {
  font-weight: 400; letter-spacing: -.06em; line-height: .95;
  font-size: var(--fs-display);
}
.lead { font-family: var(--body); font-size: 15px; line-height: 1.3; color: var(--muted); max-width: 30ch; }
.lead-lg { font-size: var(--fs-h3); letter-spacing: -.04em; line-height: 1; max-width: 16ch; color: var(--text-light); }
[data-theme="dark"] .lead { color: var(--muted-dark); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
[data-blur-letters] .char { display: inline-block; }

/* Mono underline link */
.line-link {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 32px;
  min-width: 180px; padding: 12px 0 9px;
  font-family: var(--mono); font-size: 12.4px; text-transform: uppercase; letter-spacing: -.06em; line-height: 1;
  position: relative;
}
.line-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: right; transition: transform .6s var(--ease);
}
.line-link:hover::after { animation: line-swipe .8s var(--ease); }
.line-link span { transition: transform .4s var(--ease); }
.line-link:hover span { transform: translateX(5px); }
@keyframes line-swipe { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }

.text-link { display: block; width: fit-content; padding: 3px 0; font-size: 15px; position: relative; }
.text-link::after { content: ''; position: absolute; left: 0; bottom: 1px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.text-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* Pills */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 34px; padding: 8px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 400; text-transform: uppercase; letter-spacing: -.02em; white-space: nowrap; line-height: 1;
  border: 1px solid transparent;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.pill-solid { background: var(--text-dark); color: var(--charcoal); }
.pill-outline { border-color: currentColor; }
.pill-gold { background: var(--gold); color: var(--charcoal); }
.pill-gold:hover { background: var(--gold-soft); }
.pill-ghost { border-color: rgba(216, 216, 216, .35); color: var(--text-dark); }
.pill-ghost:hover { background: var(--text-dark); color: var(--charcoal); }
.pill-lg { min-height: 48px; padding: 13px 24px; }
.pill-block { width: 100%; }

/* ---------- Preloader: framed mark on light grey, a dark panel expands out of the frame ---------- */
.preloader { position: fixed; inset: 0; z-index: 500; background: #cfd0d3; color: var(--text-light); pointer-events: none; animation: preloader-failsafe .01s 6s forwards; }
html:not(.js) .preloader { display: none; }
/* The frame sits at the exact centre of the screen; the tagline hangs below it */
.preloader-inner { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; }
.preloader-frame { position: relative; width: 96px; height: 96px; display: grid; place-items: center; border: 1px solid rgba(67, 67, 67, .35); color: var(--text-light); }
.preloader-frame img { width: 52px; }
.preloader-frame i { position: absolute; width: 9px; height: 9px; }
.preloader-frame i::before, .preloader-frame i::after { content: ''; position: absolute; background: currentColor; }
.preloader-frame i::before { left: 4px; top: 0; width: 1px; height: 9px; }
.preloader-frame i::after { top: 4px; left: 0; height: 1px; width: 9px; }
.preloader-frame i:nth-child(1) { left: -5px; top: -5px; }
.preloader-frame i:nth-child(2) { right: -5px; top: -5px; }
.preloader-frame i:nth-child(3) { left: -5px; bottom: -5px; }
.preloader-frame i:nth-child(4) { right: -5px; bottom: -5px; }
.preloader-tag { position: absolute; left: 50%; top: calc(50% + 64px); transform: translateX(-50%); white-space: nowrap; font-size: 10px; text-transform: uppercase; letter-spacing: -.02em; }
.preloader-tag span { opacity: .5; margin: 0 4px; }
.preloader-count { position: absolute; left: 50%; bottom: 7vh; transform: translateX(-50%); font-size: 10px; letter-spacing: .04em; }
.preloader-panel { position: absolute; inset: 0; z-index: 0; background: var(--ink); clip-path: inset(calc(50% - 48px) calc(50% - 48px)); opacity: 0; }
@keyframes preloader-failsafe { to { visibility: hidden; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
  color: var(--text-dark);
  transition: color .4s var(--ease);
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
/* Soft scrim so content scrolling underneath never collides with the logo and pills */
.site-header::before, .site-header::after {
  content: ''; position: absolute; inset: 0 0 -28px; z-index: -1; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.site-header::before { background: linear-gradient(180deg, rgba(11, 11, 11, .88) 0%, rgba(11, 11, 11, .55) 55%, rgba(11, 11, 11, 0) 100%); }
.site-header::after { background: linear-gradient(180deg, rgba(244, 244, 245, .92) 0%, rgba(244, 244, 245, .6) 55%, rgba(244, 244, 245, 0) 100%); opacity: 0; }
.site-header.on-light::before { opacity: 0; }
.site-header.on-light::after { opacity: 1; }
.menu-open .site-header::before, .menu-open .site-header::after { opacity: 0; }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand img { width: 30px; }
.brand-text { font-weight: 500; font-size: 18px; letter-spacing: -.04em; }
.brand-text sup { font-size: .45em; margin-left: 1px; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.menu-icon { display: inline-grid; gap: 3px; width: 12px; }
.menu-icon i { height: 1px; background: currentColor; transition: transform .45s var(--ease); }
.menu-open .menu-icon i:first-child { transform: translateY(2px) rotate(45deg); }
.menu-open .menu-icon i:last-child { transform: translateY(-2px) rotate(-45deg); }

.sound-toggle {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 2px;
  background: rgba(216, 216, 216, .12); transition: background-color .3s;
}
.sound-toggle i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; transition: height .3s; }
.sound-toggle.is-on i { animation: eq 1s ease-in-out infinite; }
.sound-toggle.is-on i:nth-child(2) { animation-delay: -.3s; }
.sound-toggle.is-on i:nth-child(3) { animation-delay: -.6s; }
.sound-toggle.is-on i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }

.site-header.on-light { color: var(--charcoal); }
.site-header.on-light .pill-solid { background: var(--charcoal); color: var(--white); }
.site-header.on-light .sound-toggle { background: rgba(18, 18, 18, .07); }
.menu-open .site-header { color: var(--text-dark); }
.menu-open .site-header .pill-solid { background: var(--text-dark); color: var(--charcoal); }

/* ---------- Menu overlay ---------- */
.menu { position: fixed; inset: 0; z-index: 90; color: var(--text-dark); }
.menu[hidden] { display: none; }
.menu-bars { position: absolute; inset: 0; display: flex; flex-direction: column; }
.menu-bars i { flex: 1; background: var(--ink); margin-bottom: -1px; transform-origin: top; }
.menu-inner {
  position: relative; height: 100%; overflow-y: auto;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 110px var(--gutter) 40px;
}
.menu-links a {
  display: flex; align-items: baseline; gap: 14px;
  font-size: clamp(2.2rem, min(11vw, 8.6vh), 6.4rem); font-weight: 400; letter-spacing: -.06em; line-height: 1;
  transition: color .3s, transform .5s var(--ease);
}
.menu-links a .mono { font-size: 11px; letter-spacing: 0; color: var(--gold); transform: translateY(-1.4em); }
.menu-links a:hover { color: var(--gold); transform: translateX(10px); }
.menu-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.menu-foot .mono-caps { color: var(--muted-dark); margin-bottom: 10px; }
.menu-foot .line-link { min-width: 0; width: 100%; max-width: 240px; gap: 14px; white-space: nowrap; }

/* ---------- Dark stage (hero + about + marquee over one fixed 3D scene) ---------- */
.dark-stage { position: relative; background: var(--ink); }
.hero-canvas {
  position: sticky; top: 0; z-index: 0; display: block;
  width: 100%; height: 100vh; height: 100svh;
  margin-bottom: -100vh; margin-bottom: -100svh;
  pointer-events: none;
}
.dark-stage > section { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero { height: 100vh; height: 100svh; min-height: 620px; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.hero { cursor: grab; -webkit-touch-callout: none; }
.hero.is-dragging { cursor: grabbing; }
.hero a, .hero button { cursor: pointer; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 11, 11, .5) 0%, transparent 34%, transparent 60%, rgba(11, 11, 11, .85) 100%);
}
.hero-copy { padding: 100px var(--gutter) 0; }
.hero-kicker { color: var(--muted-dark); margin-bottom: 18px; }
.hero-title {
  font-weight: 400; letter-spacing: -.06em; line-height: .93;
  font-size: var(--fs-hero); color: var(--text-dark); max-width: 11em;
}
/* SplitText line masks: room for descenders without changing line spacing */
.line-mask { padding-bottom: .16em; margin-bottom: -.16em; }
.rotator { display: inline-block; white-space: nowrap; }
.rotator .rc { display: inline-block; white-space: pre; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-ctas .pill { flex: 1 1 200px; }

.hero-bottom {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 var(--gutter) calc(22px + env(safe-area-inset-bottom));
  display: grid; gap: 22px; pointer-events: none;
}
.hero-bottom > * { pointer-events: auto; }
.scroll-dot { display: none; }
.hero-hint { display: none; text-align: center; color: var(--text-dark); pointer-events: none !important; }
.hint-fine { display: none; }
@media (hover: hover) and (pointer: fine) { .hint-fine { display: inline; } .hint-touch { display: none; } }
.hero-meta { display: grid; gap: 16px; }
.hero-badge { display: none; }
.hero-sub { font-family: var(--body); color: var(--muted-dark); font-size: 15px; line-height: 1.3; max-width: 34ch; padding-right: 64px; }

/* ---------- About ---------- */
.about { padding: 110px var(--gutter) 90px; }
.about-grid { display: grid; gap: 32px; max-width: 1400px; margin-inline: auto; }
.about-tag { color: var(--text-dark); }
.statement { font-weight: 400; letter-spacing: -.06em; line-height: .95; font-size: var(--fs-display); color: var(--text-dark); }
.statement .word { display: inline-block; text-indent: 0; will-change: opacity, filter; }
.about-rule { height: 1px; background: var(--line-dark); }
.about-motto { color: var(--text-dark); }
.about-body { display: grid; gap: 26px; justify-items: start; }
.about-body p { font-family: var(--body); color: var(--muted-dark); font-size: 16px; line-height: 1.35; max-width: 50ch; }

/* ---------- Marquee ---------- */
.marquee { position: relative; padding: 60px 0 90px; overflow: hidden; min-height: 100vh; min-height: 100svh; display: grid; align-content: center; }
/* Marquee copy inverts over the stripes as they fill the screen */
.marquee-track, .marquee-foot { position: relative; z-index: 2; mix-blend-mode: difference; }
.marquee-stripes { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; pointer-events: none; }
.marquee-stripes i { flex: 1; margin-bottom: -1px; background: var(--gray-2); transform: scaleY(0); transform-origin: bottom; }
.marquee-track { display: flex; align-items: center; width: max-content; will-change: transform; }
.marquee-track span {
  font-weight: 400; text-transform: uppercase; letter-spacing: -.07em; line-height: 1;
  font-size: var(--fs-giant); color: var(--text-dark); padding: 0 .3em;
}
.cross { position: relative; width: 34px; height: 34px; flex: none; }
.cross::before, .cross::after { content: ''; position: absolute; background: rgba(216, 216, 216, .6); }
.cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.marquee-foot { text-align: center; margin-top: 40px; color: var(--text-dark); }

/* ---------- Stripe transition light → dark (before contact) ---------- */
.stripes { height: 46vh; display: flex; flex-direction: column; }
.stripes i { flex: 1; transform-origin: bottom; margin-bottom: -1px; }
.stripes-dark { background: #e3e4e6; }
.stripes-dark i { background: var(--ink); transform-origin: top; }

[data-theme="light"] { color: var(--text-light); }

/* ---------- Key facts ---------- */
.facts { position: relative; z-index: 2; background: linear-gradient(180deg, var(--gray-2) 0%, var(--gray-1) 35%, var(--surface) 100%); padding: 40px var(--gutter) 0; }
.facts .section-intro { display: grid; gap: 16px; margin-bottom: 52px; }
.facts-grid { display: grid; gap: 14px; max-width: 1180px; margin-inline: auto; perspective: 1400px; }
.fact {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  min-height: 360px; padding: 24px; border-radius: 3px;
  transform-style: preserve-3d; will-change: transform;
}
.fact .mono-caps { position: relative; z-index: 1; }
.fact-dark { background: #262628; color: var(--text-dark); }
.fact-light { background: #e7e7e9; color: var(--text-light); align-items: center; text-align: center; }
.fact-gold { background: var(--gold); color: var(--charcoal); }
.fact-visual { position: absolute; inset: 0; opacity: .38; transition: opacity .6s var(--ease); }
.fact-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38, 38, 40, .6), rgba(38, 38, 40, .2) 40%, rgba(38, 38, 40, .95)); }
.fact-visual img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.fact:hover .fact-visual { opacity: .7; }
.fact:hover .fact-visual img { filter: grayscale(0); transform: scale(1.06); }
.fact-foot { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: auto; }
.fact-foot p { font-family: var(--body); font-size: 14px; line-height: 1.25; max-width: 17ch; opacity: .8; }
.fact strong { font-weight: 400; letter-spacing: -.06em; line-height: .9; font-size: var(--fs-num); text-align: right; }
.fact strong sup { font-size: .45em; vertical-align: top; position: relative; top: .1em; }
.fact-gold strong { text-transform: uppercase; }
.fact-circle { width: 180px; height: 180px; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.fact-circle strong { font-size: 1.8rem; text-align: center; text-transform: uppercase; line-height: .95; }
.fact-note { font-family: var(--body); font-size: 14px; line-height: 1.25; color: var(--muted); max-width: 24ch; }

.platforms { margin: 72px auto 0; text-align: center; max-width: 1100px; }
.platforms .mono-caps { margin-bottom: 22px; }
.platforms ul { display: flex; flex-wrap: wrap; justify-content: center; }
.platforms li {
  padding: 6px 20px; font-size: clamp(1.1rem, 1.7vw, 1.5rem); font-weight: 500; letter-spacing: -.04em; color: #7a7d83;
  border-right: 1px solid var(--line); transition: color .3s;
}
.platforms li:last-child { border-right: 0; }
.platforms li:hover { color: var(--charcoal); }

/* guide line + crosshair leading into the work split */
.guide { position: relative; height: 110px; margin-top: 70px; }
.guide::before { content: ''; position: absolute; left: 50%; bottom: 0; height: 60px; width: 1px; background: var(--line); }
.guide-cross { position: absolute; left: 50%; bottom: 60px; width: 13px; height: 13px; transform: translate(-50%, 50%); }
.guide-cross::before, .guide-cross::after { content: ''; position: absolute; background: var(--text-light); }
.guide-cross::before { left: 6px; top: 0; width: 1px; height: 13px; }
.guide-cross::after { top: 6px; left: 0; width: 13px; height: 1px; }

/* ---------- Results (real campaign data) ---------- */
.results { position: relative; z-index: 2; background: var(--surface); padding: 110px var(--gutter) 0; color: var(--text-light); }
.results-head { display: grid; gap: 18px; max-width: 1180px; margin: 0 auto 56px; }
.results-head > .mono-caps { color: var(--muted); }
.results-head .display-lg { color: var(--text-light); }

.results-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 1180px; margin: 0 auto; border-top: 1px solid var(--line); }
.rstat { display: grid; gap: 10px; align-content: start; padding: 22px 14px 26px 0; border-bottom: 1px solid var(--line); margin: 0; }
.rstat:nth-child(odd) { border-right: 1px solid var(--line); }
.rstat:nth-child(even) { padding-left: 14px; }
.rstat dt { color: var(--muted); }
.rstat dd { margin: 0; }
.rstat-num { font-weight: 400; letter-spacing: -.06em; line-height: .9; font-size: clamp(2.3rem, 4.6vw, 4.6rem); color: #222; font-variant-numeric: proportional-nums; }
.rstat-note { font-family: var(--body); font-size: 13px; line-height: 1.3; color: var(--muted); max-width: 26ch; }

.results-chart-card {
  position: relative; max-width: 1180px; margin: 44px auto 0; padding: 26px 20px 18px;
  background: #19191b; color: var(--text-dark); border-radius: 3px;
}
.chart-head { display: grid; gap: 18px; margin-bottom: 18px; }
.chart-title { font-size: var(--fs-h3); letter-spacing: -.04em; line-height: 1; }
.chart-sub { color: var(--muted-dark); margin-top: 10px; font-size: 11px; }
.chart-callout { display: grid; gap: 6px; max-width: 30ch; }
.chart-callout strong { font-weight: 400; letter-spacing: -.06em; line-height: .9; font-size: clamp(2.6rem, 5vw, 4.2rem); color: #f2f2f2; display: inline-flex; align-items: baseline; gap: .12em; }
.chart-callout-arrow { color: var(--gold); font-size: .85em; }
.chart-callout span:last-child { font-family: var(--body); font-size: 14px; line-height: 1.3; color: var(--muted-dark); }

.chart-plot { position: relative; }
.results-chart { width: 100%; }
.results-chart svg { display: block; overflow: visible; }
.results-chart .grid { stroke: rgba(216, 216, 216, .1); stroke-width: 1; shape-rendering: crispEdges; }
.results-chart .grid.base { stroke: rgba(216, 216, 216, .28); }
.results-chart text { pointer-events: none; }
.results-chart .tick, .results-chart .xlabel { fill: rgba(216, 216, 216, .55); font-family: var(--mono); font-size: 10px; }
.results-chart .vlabel { fill: #e9e9e9; font-family: var(--mono); font-size: 11px; }
.results-chart .vlabel.best { fill: #fff; font-weight: 500; }
.results-chart .col { outline: none; cursor: default; }
.results-chart .bar { fill: var(--gold); transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform 1s var(--ease), opacity .25s; }
.results-chart .col .vlabel { opacity: 0; transition: opacity .4s .7s; }
.results-chart .col.in .bar { transform: scaleY(1); }
.results-chart .col.in .vlabel { opacity: 1; }
.results-chart .hit { fill: transparent; }
.results-chart svg.hovering .col:not(.on) .bar { opacity: .4; }
.results-chart .col:focus-visible .bar { outline: none; stroke: #fff; stroke-width: 2; }
.chart-tip {
  position: absolute; z-index: 3; pointer-events: none; display: grid; gap: 3px;
  padding: 10px 12px; border-radius: 3px; background: #f2f2f2; color: #161616; white-space: nowrap;
  font-size: 13px; line-height: 1.25; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6);
}
.chart-tip[hidden] { display: none; }
.chart-tip b { font-weight: 600; }
.chart-tip span:last-child { color: #555; font-size: 12px; }
.chart-table { margin-top: 14px; border-top: 1px solid var(--line-dark); padding-top: 12px; }
.chart-table summary { cursor: pointer; color: var(--muted-dark); font-size: 11px; list-style: none; }
.chart-table summary::-webkit-details-marker { display: none; }
.chart-table summary::before { content: '+ '; color: var(--gold); }
.chart-table[open] summary::before { content: '− '; }
.chart-table table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 13px; font-variant-numeric: tabular-nums; }
.chart-table th, .chart-table td { text-align: right; padding: 7px 4px; border-bottom: 1px solid var(--line-dark); }
.chart-table th:first-child, .chart-table td:first-child { text-align: left; }
.chart-table th { font-family: var(--mono); font-size: 10px; text-transform: uppercase; font-weight: 400; color: var(--muted-dark); }

.results-cases { display: grid; gap: 14px; max-width: 1180px; margin: 14px auto 0; }
.rcase { display: grid; gap: 14px; align-content: start; padding: 24px; border-radius: 3px; background: #e7e7e9; }
.rcase .mono-caps { color: var(--muted); }
.rcase-num { font-weight: 400; letter-spacing: -.06em; line-height: .9; font-size: clamp(2.6rem, 4vw, 3.8rem); color: #222; }
.rcase-text { font-family: var(--body); font-size: 14px; line-height: 1.3; color: #555; max-width: 34ch; }
.rcase-gold { background: var(--gold); }
.rcase-gold .mono-caps, .rcase-gold .rcase-text { color: rgba(18, 18, 18, .75); }
.rcase-gold .rcase-num { color: var(--charcoal); }

.results-source { max-width: 1180px; margin: 22px auto 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.results-cta { display: flex; width: fit-content; margin: 22px auto 0; }
@media (min-width: 640px) {
  .results-cases { grid-template-columns: repeat(3, 1fr); }
  .results-chart-card { padding: 30px 30px 20px; }
}
@media (min-width: 900px) {
  .results { padding-top: 140px; }
  .results-head { grid-template-columns: 1fr auto; align-items: end; column-gap: 40px; }
  .results-head > .mono-caps { grid-column: 1 / -1; }
  .results-stats { grid-template-columns: repeat(4, 1fr); }
  .rstat, .rstat:nth-child(odd), .rstat:nth-child(even) { padding: 28px 22px 32px; border-right: 1px solid var(--line); }
  .rstat:first-child { padding-left: 0; }
  .rstat:last-child { border-right: 0; }
  .chart-head { grid-template-columns: 1fr auto; align-items: end; }
  .chart-callout { justify-items: end; text-align: right; }
}

/* ---------- Work ---------- */
.work { background: linear-gradient(180deg, var(--surface), #ececee); position: relative; }
.work-pin { position: relative; padding: 60px 0 100px; overflow: hidden; }
.work-intro { padding: 0 var(--gutter); display: grid; gap: 22px; justify-items: start; margin-bottom: 40px; }
.work-title { color: var(--text-light); font-weight: 500; }
.work-rail { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
.work-rail::-webkit-scrollbar { display: none; }
.work-track { display: flex; width: max-content; padding: 0 calc(var(--gutter) - 9px); }
.work-slot { flex: none; width: 86vw; padding: 0 9px; scroll-snap-align: center; }
.work-card { width: 100%; }
.work-media { position: relative; display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 3 / 2; background: var(--gray-2); }
.work-media img, .work-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-media:hover img, .work-media:hover video { transform: scale(1.045); }
.chip {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, .88); color: var(--charcoal);
  font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0;
  backdrop-filter: blur(6px);
}
.work-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px 24px; padding-top: 18px; }
.work-meta h3 { font-size: var(--fs-h3); font-weight: 400; letter-spacing: -.04em; line-height: 1; color: var(--text-light); }
.work-meta p { font-family: var(--body); color: var(--text-light); font-size: 15px; line-height: 1.25; margin-top: 10px; max-width: 30ch; }
.work-meta .line-link { min-width: 160px; }
.work-end { display: grid; align-content: center; justify-items: start; gap: 26px; }
.work-cross, .work-wipe { display: none; }

/* ---------- Services ---------- */
.services { background: var(--white); position: relative; }
.services-pin { padding: 100px var(--gutter) 90px; display: grid; gap: 30px; background: var(--white); transform-origin: 50% 0; }
.services-tag { color: var(--text-light); }
.services-stage { position: relative; display: grid; }
.svc { border-bottom: 1px solid var(--line); }
.svc-word button {
  display: block; width: 100%; text-align: left; padding: 8px 0 0;
  font-weight: 400; text-transform: uppercase; letter-spacing: -.08em; line-height: .82;
  font-size: var(--fs-giant); color: #d3d4d7; transition: color .5s var(--ease);
}
.svc-word button:hover { color: #a3a5aa; }
.svc.is-active .svc-word button { color: #222; }
.svc-detail { display: grid; gap: 14px; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .7s var(--ease), opacity .5s var(--ease), padding .5s var(--ease); }
.svc.is-active .svc-detail { max-height: 900px; opacity: 1; padding: 14px 0 28px; }
.svc-detail .mono-caps { color: var(--muted); }
.svc-detail .mono-caps b { color: var(--gold); font-weight: 400; }
.svc-detail h4 { font-size: 22px; font-weight: 400; letter-spacing: -.04em; line-height: 1.05; color: #222; }
.svc-detail ul { display: grid; gap: 8px; }
.svc-detail li { font-family: var(--body); position: relative; padding-left: 18px; font-size: 14px; line-height: 1.3; color: var(--muted); }
.svc-detail li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 1px; background: var(--gold); }
.svc-detail li b { color: #222; font-weight: 500; }
.svc-detail img { border-radius: 3px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; max-width: 480px; }
.services-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; color: var(--text-light); }

/* ---------- Why ---------- */
.why { position: relative; z-index: 2; background: linear-gradient(180deg, var(--white), #e6e7e9); padding: 100px var(--gutter) 110px; }
.why-head { display: grid; gap: 20px; max-width: 1300px; margin-inline: auto; }
.why-head .display-lg { color: var(--text-light); }
.why-rule { position: relative; height: 1px; background: var(--line); margin: 50px auto; max-width: 1300px; }
.why-rule span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); font-weight: 300; font-size: 22px; color: var(--muted); }
.why-body { display: grid; gap: 40px; max-width: 1300px; margin-inline: auto; }
.why-list { display: grid; gap: 4px; justify-items: start; align-content: start; }
.why-list button { display: inline-flex; gap: 10px; align-items: center; padding: 4px 0; font-size: var(--fs-caps); text-transform: uppercase; letter-spacing: -.02em; color: var(--gray-3); transition: color .3s; }
.why-list button span { opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--ease); }
.why-list button[aria-selected="true"], .why-list button:hover { color: #222; }
.why-list button[aria-selected="true"] span { opacity: 1; transform: none; }
.why-panel { display: grid; gap: 16px; min-height: 5.5em; align-content: start; }
.why-panel[hidden] { display: none; }
.why-num { color: var(--gold); font-size: 12px; }
.why-text { font-weight: 400; letter-spacing: -.04em; line-height: 1.02; font-size: var(--fs-h3); color: var(--text-light); max-width: 26ch; }
.why-nav { display: flex; flex-wrap: wrap; align-items: center; margin-top: 36px; color: var(--text-light); }
.why-arrow { width: 52px; height: 52px; border: 1px solid var(--line); font-size: 18px; transition: background-color .3s, color .3s; }
.why-arrow + .why-arrow { border-left: 0; }
.why-arrow:hover { background: #222; color: var(--white); }
.why-progress { flex: 1 1 80px; height: 1px; background: var(--line); margin: 0 24px; position: relative; overflow: hidden; min-width: 60px; }
.why-progress i { position: absolute; inset: 0; background: #222; transform: scaleX(0); transform-origin: left; }

/* ---------- In motion (ribbon → grid) ---------- */
.motion { background: linear-gradient(180deg, #e6e7e9, #cbccce 30%, #cbccce 70%, #e3e4e6); overflow: hidden; }
.motion-pin { position: relative; height: 100vh; height: 100svh; min-height: 620px; }
.motion-word {
  position: absolute; z-index: 1; white-space: nowrap; pointer-events: none;
  font-weight: 400; text-transform: uppercase; letter-spacing: -.08em; line-height: .8;
  font-size: var(--fs-giant); color: var(--text-light);
}
.motion-word-1 { top: 36%; left: 6%; }
.motion-word-2 { top: 50%; right: 8%; z-index: 3; }
.motion-center { position: absolute; z-index: 4; left: 50%; top: 47%; transform: translate(-50%, -50%); text-align: center; color: var(--text-light); font-size: 11px; }
.ribbon-scene { position: absolute; inset: 0; z-index: 2; perspective: 1500px; perspective-origin: 50% 40%; pointer-events: none; }
.ribbon { position: absolute; left: 50%; top: 52%; width: 0; height: 0; transform-style: preserve-3d; }
.ribbon figure {
  position: absolute; left: 0; top: 0;
  width: var(--card-w, 46vw); aspect-ratio: 4 / 3;
  margin: calc(var(--card-w, 46vw) * -.375) 0 0 calc(var(--card-w, 46vw) * -.5);
  border-radius: 3px; overflow: hidden; background: var(--gray-2);
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .45);
}
.ribbon img, .motion-grid img { width: 100%; height: 100%; object-fit: cover; }
.motion-grid {
  position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -52%);
  width: 90vw; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
  perspective: 1200px; pointer-events: none;
}
.motion-grid figure { aspect-ratio: 3 / 2; border-radius: 3px; overflow: hidden; opacity: 0; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .4); }
.motion-foot {
  position: absolute; z-index: 5; left: var(--gutter); right: var(--gutter); bottom: calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 30px; color: var(--text-light);
}
.motion-foot p { font-family: var(--body); font-size: 14px; max-width: 30ch; line-height: 1.25; }
.motion-foot > div { display: flex; flex-wrap: wrap; gap: 0 24px; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); padding: 90px var(--gutter) 110px; }
.contact-grid { display: grid; gap: 56px; max-width: 1300px; margin-inline: auto; }
.contact-intro { display: grid; gap: 22px; justify-items: start; align-content: start; }
.contact-intro > .mono-caps { color: var(--muted-dark); }
.contact .display-lg { color: var(--text-dark); }
.contact-points { display: grid; gap: 10px; }
.contact-points li { font-family: var(--body); display: flex; align-items: center; gap: 12px; font-size: 15px; }
.contact-points svg { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--gold); color: var(--charcoal); flex: none; }
.contact-intro .line-link { min-width: 0; justify-content: flex-start; gap: 10px; }
.contact-intro .line-link > span:last-child { margin-left: 18px; }

.lead-form { display: grid; gap: 26px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: -.02em; color: var(--muted-dark); padding: 0; }
.field > label > span, .field > legend > span { color: var(--gold); }
.field em { font-style: normal; opacity: .7; }
.field legend { margin-bottom: 12px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 0;
  background: transparent; border: 0; border-bottom: 1px solid rgba(216, 216, 216, .22); border-radius: 0;
  font-size: 18px; color: var(--text-dark); letter-spacing: -.02em;
  transition: border-color .3s; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(216, 216, 216, .3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field select option { color: var(--charcoal); }
.field.invalid input { border-color: var(--error); }
.field.invalid .chips { outline: 1px solid var(--error); outline-offset: 6px; border-radius: 6px; }
.field-error { color: var(--error); font-size: 13px; }
.field-error:empty { display: none; }
.field-row { display: grid; gap: 26px; }
.select-wrap { position: relative; }
.select-wrap::after { content: ''; position: absolute; right: 4px; top: 50%; width: 7px; height: 7px; border-right: 1px solid var(--text-dark); border-bottom: 1px solid var(--text-dark); transform: translateY(-75%) rotate(45deg); pointer-events: none; }
.select-wrap select { cursor: pointer; padding-right: 26px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .chip { position: relative; top: auto; left: auto; padding: 0; background: none; backdrop-filter: none; font-family: var(--display); font-size: inherit; text-transform: none; letter-spacing: 0; cursor: pointer; }
.chips .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips .chip span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(216, 216, 216, .25); font-size: 14px; line-height: 1.2; color: var(--text-dark);
  transition: background-color .25s, border-color .25s, color .25s;
}
.chips .chip:hover span { border-color: var(--text-dark); }
.chips .chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.chips .chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form button[disabled] { opacity: .7; cursor: progress; }
.form-status { font-size: 15px; text-align: center; }
.form-status:empty { display: none; }
.form-status.err { color: var(--error); }
.form-success { display: grid; gap: 16px; justify-items: start; padding: 20px 0; }
.form-success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; }
.form-success .tick svg { width: 30px; height: 30px; color: var(--charcoal); }
.form-success h3 { font-size: var(--fs-display); font-weight: 400; letter-spacing: -.06em; line-height: .95; }
.form-success p { font-family: var(--body); color: var(--muted-dark); max-width: 40ch; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: var(--text-dark); padding: 20px var(--gutter) 0; overflow: hidden; }
.site-footer::before {
  content: ''; position: absolute; inset: auto -20% -30% -20%; height: 70%;
  background: radial-gradient(ellipse at 30% 60%, rgba(229, 168, 0, .12), transparent 55%), radial-gradient(ellipse at 75% 70%, rgba(150, 160, 190, .12), transparent 55%);
  filter: blur(30px); pointer-events: none;
}
.footer-top { position: relative; display: grid; gap: 40px; padding-top: 50px; border-top: 1px solid var(--line-dark); }
.footer-top .mono-caps { color: var(--muted-dark); margin-bottom: 12px; }
.footer-cta { display: block; font-weight: 400; letter-spacing: -.06em; line-height: .93; font-size: var(--fs-footer); color: var(--text-dark); max-width: 10em; transition: color .3s; }
.footer-cta:hover { color: var(--gold); }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-meta { position: relative; display: flex; justify-content: space-between; padding: 40px 0 10px; color: var(--muted-dark); }
.footer-lines { position: relative; width: 100%; height: 28vw; min-height: 110px; margin-bottom: 10px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 80;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: var(--white);
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .4s var(--ease);
}
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.4s var(--ease) infinite; }
.wa-float svg { width: 27px; height: 27px; }
.wa-float:hover { transform: scale(1.08); }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Cursor ---------- */
.cursor { display: none; }
.has-cursor .cursor {
  --c: var(--text-dark);
  position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none;
  display: grid; place-items: center;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--c); border: 1px solid var(--c);
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .3s, border-color .3s, opacity .3s;
}
.theme-light .cursor { --c: #222; }
.menu-open .cursor { --c: var(--text-dark); }
.has-cursor .cursor.is-hidden { opacity: 0; }
.has-cursor .cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: transparent; }
.has-cursor .cursor.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--gold); border-color: var(--gold); }
.cursor-label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; color: var(--charcoal); opacity: 0; transition: opacity .2s; }
.cursor.is-label .cursor-label { opacity: 1; }

/* ---------- Interactions ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 120; height: 2px; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }

/* Text roll on hover */
.roll { display: inline-block; overflow: hidden; vertical-align: top; height: 1.15em; line-height: 1.15; }
.roll-in { display: inline-block; position: relative; white-space: nowrap; transition: transform .55s var(--ease); }
.roll-in::after { content: attr(data-t); position: absolute; left: 0; top: calc(100% + .3em); }
a:hover .roll-in, button:hover .roll-in { transform: translateY(calc(-100% - .3em)); }
.menu-links .roll { height: 1.08em; line-height: 1.08; }

/* Tilt glare */
.glare {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .32), rgba(255, 255, 255, 0) 46%);
  opacity: 0; transition: opacity .45s var(--ease); mix-blend-mode: soft-light;
}
.fact:hover .glare, .work-media:hover .glare { opacity: 1; }
.fact, .work-media { transform-style: preserve-3d; }

/* Gold button ripple */
.pill { position: relative; }
.pill-gold { overflow: hidden; isolation: isolate; }
.ripple { position: absolute; z-index: -1; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: rgba(255, 255, 255, .5); pointer-events: none; animation: ripple .75s var(--ease) forwards; }
@keyframes ripple { from { transform: scale(0); opacity: 1; } to { transform: scale(36); opacity: 0; } }

/* Small hover delights */
.brand img { transition: transform 1s var(--ease); }
.brand:hover img { transform: perspective(200px) rotateY(360deg); }
.statement .word { transition: color .35s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .statement .word:hover { color: var(--gold); }
  .platforms li { transition: color .3s, transform .4s var(--ease); }
  .platforms li:hover { color: var(--gold); transform: translateY(-4px); }
  .contact-points li { transition: transform .4s var(--ease); }
  .contact-points li:hover { transform: translateX(6px); }
}
[data-hover-wave] .char { display: inline-block; }

/* Form: gold line draws across the focused field; labels light up; chips pop */
.field input, .field select, .field textarea {
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1px;
  transition: border-color .3s, background-size .6s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(216, 216, 216, .22); background-size: 100% 1px; }
.field label, .field legend { transition: color .3s; }
.field:focus-within > label { color: var(--gold); }
.chips .chip input:checked + span { animation: chip-pop .4s var(--ease); }
@keyframes chip-pop { 45% { transform: scale(1.07); } }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .hero-ctas .pill { flex: 0 0 auto; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .work-slot { width: 62vw; }
  .motion-grid { width: 82vw; grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  :root { --gutter: 36px; }
  .site-header { padding: 30px var(--gutter); }
  .brand img { width: 34px; }
  .brand-text { font-size: 20px; }

  .menu-inner { flex-direction: row; align-items: flex-end; align-items: safe flex-end; padding: 120px var(--gutter) 48px; }
  .menu-foot { grid-template-columns: auto auto; gap: 60px; }

  /* Hero: headline + CTAs top-left; scroll dot / hint / meta along the bottom */
  .hero-copy { padding-top: 116px; }
  .hero-title { max-width: 10.5em; }
  .hero-ctas { margin-top: 34px; }
  .hero-bottom { grid-template-columns: 1fr auto 1fr; align-items: end; padding-bottom: 32px; }
  .scroll-dot { display: block; justify-self: start; width: 20px; height: 20px; color: var(--text-dark); }
  .scroll-dot svg { width: 100%; height: 100%; overflow: visible; }
  .scroll-arrow { transform-box: fill-box; transform-origin: center; }
  .hero-hint { display: block; align-self: end; }
  .hero-meta { justify-items: end; margin-right: 70px; }
  .hero-badge { display: grid; grid-template-columns: auto auto; border: 1px solid var(--line-dark); background: rgba(11, 11, 11, .35); backdrop-filter: blur(8px); }
  .hero-badge > div { padding: 14px 16px; display: grid; gap: 6px; align-content: center; }
  .hero-badge > div + div { border-left: 1px solid var(--line-dark); max-width: 160px; }
  .hero-badge strong { font-size: 26px; font-weight: 400; letter-spacing: -.05em; line-height: 1; }
  .hero-badge .mono-caps { font-size: 11px; }
  .hero-sub { max-width: 32ch; width: 100%; padding-right: 0; }

  /* About */
  .about { padding: 120px var(--gutter) 110px; }
  .about-grid { grid-template-columns: repeat(12, 1fr); row-gap: 70px; column-gap: 20px; }
  .about-tag { grid-column: 1 / 2; grid-row: 1; padding-top: .6em; white-space: nowrap; }
  .statement { grid-column: 2 / 13; grid-row: 1; text-indent: 1.6em; }
  .about-rule { grid-column: 2 / 7; grid-row: 2; align-self: start; }
  .about-motto { grid-column: 2 / 6; grid-row: 3; }
  .about-body { grid-column: 8 / 13; grid-row: 2 / 4; }

  /* Facts */
  .facts { padding-top: 40px; }
  .facts-grid { grid-template-columns: repeat(4, 1fr); }
  .fact { min-height: 430px; }

  /* Work: 50/50 split, one card per half, centre divider with crosshair */
  .work-pin { display: grid; grid-template-columns: 50% 50%; align-items: center; height: 100vh; min-height: 640px; padding: 0; }
  .work-intro { justify-items: center; text-align: center; padding: 0 6vw; margin: 0; }
  .work-intro .lead { max-width: 28ch; }
  .work-rail { position: relative; height: 100%; display: flex; align-items: center; overflow: hidden; scroll-snap-type: none; }
  .work-track { padding: 0; height: 100%; }
  .work-slot { width: 50vw; height: 100%; padding: 0 5vw; display: grid; align-content: center; border-left: 1px solid var(--line); }
  .work-end { justify-items: center; text-align: center; }
  .work-end .lead-lg { max-width: 14ch; }
  .work-cross { display: block; position: absolute; left: 50%; top: 94px; width: 13px; height: 13px; transform: translate(-50%, -50%); z-index: 2; }
  .work-cross::before, .work-cross::after { content: ''; position: absolute; background: var(--text-light); }
  .work-cross::before { left: 6px; top: 0; width: 1px; height: 13px; }
  .work-cross::after { top: 6px; left: 0; width: 13px; height: 1px; }
  .work-wipe { display: block; position: absolute; inset: 0; z-index: 5; background: var(--white); clip-path: inset(0 0 0 100%); }

  /* Services: pinned list with side detail (900–1099 left-aligned) */
  .services-pin { height: 100vh; min-height: 680px; grid-template-rows: auto 1fr auto; padding: 116px var(--gutter) 36px; }
  .services-stage { align-content: center; }
  .svc { border: 0; }
  .svc-word button { line-height: .78; padding: 0; width: auto; }
  .svc-detail {
    position: absolute; right: 0; top: 50%; width: min(340px, 30vw);
    max-height: none; padding: 0 !important; transform: translateY(-46%);
    pointer-events: none; transition: opacity .5s var(--ease), transform .7s var(--ease);
  }
  .svc.is-active .svc-detail { transform: translateY(-50%); pointer-events: auto; }
  .svc-detail img { order: -1; }
  .stack-services .why { margin-top: -100vh; box-shadow: 0 -40px 80px -40px rgba(0, 0, 0, .25); }

  /* Why */
  .why { padding: 130px var(--gutter); }
  .why-head { grid-template-columns: 1fr auto; align-items: end; }
  .why-body { grid-template-columns: 1fr 1.6fr; }

  /* Motion */
  .ribbon figure { --card-w: 21vw; }
  .motion-grid { width: min(1120px, 78vw, (100vh - 260px) * 2.25); gap: 12px; transform: translate(-50%, -54%); }

  /* Contact */
  .contact { padding: 120px var(--gutter) 140px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .contact-intro { position: sticky; top: 120px; }

  /* Footer */
  .footer-top { grid-template-columns: 1.4fr 1fr; padding-top: 70px; }
  .footer-cols { gap: 40px; }
}

/* Services centred like trionn.com once there is room for side columns */
@media (min-width: 1100px) {
  .services-stage { justify-items: center; }
  .svc-word button { text-align: center; font-size: min(var(--fs-giant), calc((100vw - 2 * var(--gutter) - 2 * 272px) / 6)); }
  .svc-detail {
    inset: 0; width: auto; top: 0; transform: translateY(12px) !important;
    display: grid; grid-template-columns: 240px 1fr 240px;
    grid-template-rows: 1fr auto auto auto 1fr; column-gap: 32px; row-gap: 14px;
  }
  .svc.is-active .svc-detail { transform: none !important; pointer-events: none; }
  .svc.is-active .svc-detail > * { pointer-events: auto; }
  .svc-detail img { grid-column: 1; grid-row: 1 / -1; align-self: center; order: 0; }
  .svc-detail > .mono-caps { grid-column: 3; grid-row: 2; }
  .svc-detail h4 { grid-column: 3; grid-row: 3; }
  .svc-detail ul { grid-column: 3; grid-row: 4; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .preloader { display: none; }
  .motion-grid { display: none; }
}
