/* =========================================================================
   OptimityFX v2 — "Heaven" · cinematic, visual-first
   ========================================================================= */
:root {
  --bg: #050507;
  --bg-2: #0b0b10;
  --bg-3: #13131b;
  --ink: #f5f0e6;
  --ink-2: rgba(245, 240, 230, .7);
  --ink-3: rgba(245, 240, 230, .42);
  --line: rgba(245, 240, 230, .09);
  --line-2: rgba(245, 240, 230, .16);
  --gold: #f3c47e;
  --gold-2: #ffdca6;
  --ember: #ff8a5b;
  --halo: #b9b0ff;
  --sky: #9fd9ff;
  --heaven: linear-gradient(100deg, #fff6e3 0%, #f3c47e 24%, #ff9a72 48%, #c3a8ff 74%, #9fd9ff 100%);
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --sans: "Inter Tight", system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --r: 24px;
  --ease: cubic-bezier(.16, .84, .24, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --g: clamp(16px, 4vw, 56px);
  --max: 1440px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, iframe, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--gold); color: #120d05; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--g); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); } .dim { color: var(--ink-3); }

/* ---------- Display type ---------- */
.d, .h1, .h2, .h-display { font-family: var(--display); font-weight: 800; font-stretch: 68%; text-transform: uppercase; letter-spacing: -.012em; line-height: .86; margin: 0; }
.h-display { font-size: clamp(64px, 13.2vw, 230px); }
.h1 { font-size: clamp(54px, 9vw, 150px); }
.h2 { font-size: clamp(44px, 6.6vw, 110px); }
.h1 i, .h2 i, .h-display i, .d i, .grad { font-style: normal; background: var(--heaven); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h1 em, .h2 em, .h-display em, .ghost { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px rgba(245,240,230,.55); }
.glow-text { background: var(--heaven); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.tag b { color: var(--gold); font-weight: 500; }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 460px; margin: 0; line-height: 1.5; }

/* ---------- Grain / curtain / cursor ---------- */
.grain { pointer-events: none; position: fixed; inset: -50%; z-index: 90; width: 200%; height: 200%; opacity: .05; animation: grain 1.2s steps(6) infinite;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
.curtain { position: fixed; inset: 0; z-index: 200; pointer-events: none; background: radial-gradient(120% 80% at 50% 0%, #2a1d10, #0a0a0e 55%, #050507); transition: transform 1s var(--ease-io); }
.curtain__mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--display); font-weight: 800; font-stretch: 68%; text-transform: uppercase; font-size: clamp(40px, 6vw, 80px); white-space: nowrap; }
.curtain__bar { position: absolute; left: 50%; top: calc(50% + 54px); width: 160px; height: 2px; transform: translateX(-50%); background: var(--line-2); overflow: hidden; border-radius: 2px; }
.curtain__bar::after { content: ""; position: absolute; inset: 0; background: var(--heaven); transform-origin: left; animation: load 1s var(--ease) forwards; }
@keyframes load { from { transform: scaleX(0); } }
body.is-ready .curtain { transform: translateY(-100%); }
body.is-leaving .curtain { transform: translateY(0); transition-duration: .65s; }
body.is-leaving .curtain__bar::after { animation: none; }
.cursor, .cursor-dot { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; border-radius: 50%; mix-blend-mode: difference; }
.cursor { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255,255,255,.6); display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s, border-color .3s; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.cursor__label { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .2s; }
.cursor.is-big { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: #fff; border-color: #fff; }
.cursor.is-big .cursor__label { opacity: 1; }
.cursor.is-link { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-color: #fff; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; border-bottom: 1px solid transparent; transition: transform .6s var(--ease), padding .5s var(--ease), background .5s, border-color .5s; }
.header.is-scrolled { padding: 10px 0; background: rgba(6,6,9,.6); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: var(--line); }
.header.is-hidden { transform: translateY(-110%); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: 24px; text-transform: uppercase; letter-spacing: .01em; }
.logo__mark { width: 34px; height: 34px; border-radius: 10px; position: relative; flex: none; background: conic-gradient(from 210deg, #fff6e3, #f3c47e, #ff9a72, #c3a8ff, #9fd9ff, #fff6e3); box-shadow: 0 0 24px rgba(243,196,126,.35); }
.logo__mark::after { content: "FX"; position: absolute; inset: 2px; border-radius: 8px; background: #08080b; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--gold-2); }
.logo__word span { background: var(--heaven); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 2px; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.025); backdrop-filter: blur(10px); }
.nav a { position: relative; padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: color .3s, background .3s; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: #0b0906; background: var(--ink); }
.tag-ai { font-family: var(--mono); font-size: 9px; padding: 2px 5px; margin-left: 6px; border-radius: 5px; background: var(--heaven); color: #140e06; font-weight: 700; vertical-align: 2px; }
.header__cta { display: flex; align-items: center; gap: 10px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: #5ff0a8; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95,240,168,.55); } 70% { box-shadow: 0 0 0 9px rgba(95,240,168,0); } 100% { box-shadow: 0 0 0 0 rgba(95,240,168,0); } }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 19px; } .burger span:nth-child(2) { top: 26px; }
body.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 95; padding: 110px var(--g) 40px; display: flex; flex-direction: column; justify-content: space-between; visibility: hidden; clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .9s var(--ease-io), visibility .9s;
  background: radial-gradient(120% 70% at 80% 0%, rgba(243,196,126,.2), transparent 60%), radial-gradient(90% 60% at 0% 100%, rgba(185,176,255,.18), transparent 60%), #060609; }
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.mobile-menu nav a { display: block; font-family: var(--display); font-weight: 800; font-stretch: 68%; text-transform: uppercase; font-size: clamp(54px, 15vw, 90px); line-height: .95; opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--n, 0) * 50ms + .15s); }
body.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.mobile-menu__foot { display: flex; flex-wrap: wrap; gap: 12px 22px; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 28px; border-radius: 999px; font-weight: 500; font-size: 15.5px; white-space: nowrap; isolation: isolate; overflow: hidden; transition: transform .5s var(--ease), background .3s, color .3s, box-shadow .4s, border-color .3s; }
.btn svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--light { background: var(--ink); color: #0b0906; }
.btn--light::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--heaven); opacity: 0; transition: opacity .5s; }
.btn--light:hover::before { opacity: 1; }
.btn--light:hover { box-shadow: 0 10px 50px -8px rgba(243,196,126,.55); }
.btn--ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,.03); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(243,196,126,.6); background: rgba(243,196,126,.07); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }
.play-ico { width: 32px; height: 32px; margin-left: -14px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #000; }
.play-ico svg { width: 11px !important; height: 11px !important; margin-left: 2px; }
.btn:hover .play-ico svg { transform: none; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(90px, 11vw, 170px) 0; }
.section--tight { padding: clamp(50px, 7vw, 100px) 0; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 70px); }
.head .tag { margin-bottom: 18px; }

[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .05em 0 .02em; margin: -.05em 0 -.02em; }
.split .w > span { display: inline-block; transform: translateY(112%) rotate(5deg); transform-origin: left bottom; transition: transform 1.3s var(--ease); transition-delay: calc(var(--i) * 60ms + var(--d, 0s)); }
.split.is-in .w > span { transform: none; }
.split i, .split .grad { background: none; }
.split i .w > span, .split .grad .w > span { background: var(--heaven); -webkit-background-clip: text; background-clip: text; color: transparent; }
.split em .w > span { -webkit-text-stroke: 1.5px rgba(245,240,230,.55); color: transparent; }
@media (prefers-reduced-motion: reduce) { [data-reveal], .split .w > span { opacity: 1 !important; transform: none !important; transition: none !important; } .grain, .marquee__track, .strip__track { animation: none !important; } }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 130px 0 40px; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero__fallback { position: absolute; inset: 0; z-index: -3; background: radial-gradient(70% 60% at 70% 10%, rgba(255,200,130,.45), transparent 60%), radial-gradient(50% 50% at 20% 30%, rgba(185,176,255,.3), transparent 60%), #060608; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; z-index: -1; background: linear-gradient(180deg, transparent, var(--bg)); pointer-events: none; }
.hero__title { text-align: center; }
.hero__title .l { display: block; }
.hero__sub { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: clamp(28px, 3.5vw, 44px); }
.hero__trust { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; font-size: 13.5px; color: var(--ink-2); }
.hero__trust .sep { width: 1px; height: 16px; background: var(--line-2); }

/* Film strip */
.strip { position: relative; margin-top: clamp(50px, 6vw, 80px); padding: 18px 0; background: #0a0a0d; border-block: 1px solid var(--line); overflow: hidden; transform: rotate(-2deg) scale(1.05); }
.strip::before, .strip::after { content: ""; position: absolute; left: 0; right: 0; height: 7px; z-index: 2; background: repeating-linear-gradient(90deg, transparent 0 14px, rgba(245,240,230,.18) 14px 24px); }
.strip::before { top: 5px; } .strip::after { bottom: 5px; }
.strip__track { display: flex; gap: 10px; width: max-content; animation: marquee 70s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip__f { width: clamp(220px, 22vw, 340px); aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; flex: none; position: relative; }
.strip__f img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.85); transition: filter .5s, transform 1s var(--ease); }
.strip__f:hover img { filter: none; transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Logos ---------- */
.logos { position: relative; overflow: hidden; padding: 36px 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos .marquee__track { display: flex; align-items: center; gap: clamp(56px, 7vw, 110px); width: max-content; animation: marquee 40s linear infinite; }
.logo-item { flex: none; height: 44px; display: flex; align-items: center; opacity: .6; transition: opacity .4s, transform .5s var(--ease); }
.logo-item:hover { opacity: 1; transform: scale(1.06); }
.logo-item img { height: 100%; width: auto; filter: brightness(0) invert(1); }
.logo-item--tall { height: 64px; }
.logo-item--word { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 30px; text-transform: uppercase; line-height: 1; letter-spacing: .02em; display: block; height: auto; }
.logo-item--word small { display: block; font-family: var(--sans); font-weight: 500; font-size: 9.5px; letter-spacing: .28em; margin-top: 3px; }

/* ---------- Numbers ---------- */
.nums { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.num { position: relative; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); padding: clamp(22px, 2.4vw, 34px); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 320px; isolation: isolate; }
.num--a { grid-column: span 7; } .num--b { grid-column: span 5; } .num--c { grid-column: span 5; } .num--d { grid-column: span 7; }
.num__n { font-family: var(--display); font-weight: 800; font-stretch: 68%; font-size: clamp(96px, 12vw, 200px); line-height: .8; letter-spacing: -.02em; }
.num__n sup { font-size: .38em; vertical-align: top; position: relative; top: .1em; margin-left: 4px; background: var(--heaven); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num__l { font-size: 15px; color: var(--ink-2); }
.mosaic { position: absolute; right: -30px; top: -40px; bottom: -40px; width: 60%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; transform: rotate(8deg); z-index: -1; opacity: .75; align-content: center; }
.mosaic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.mosaic::after { content: ""; position: absolute; inset: -40px; background: linear-gradient(90deg, var(--bg-2) 5%, transparent 60%); }
.flag-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 22px 0; }
.flag { aspect-ratio: 4 / 3; border-radius: 6px; position: relative; box-shadow: 0 0 0 1px rgba(255,255,255,.08); transition: transform .5s var(--ease); }
.flag img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.flag:hover { transform: translateY(-4px) scale(1.08); z-index: 2; }
.flag::after { content: attr(data-name); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); font-size: 11px; white-space: nowrap; padding: 4px 8px; border-radius: 6px; background: var(--ink); color: #000; opacity: 0; pointer-events: none; transition: opacity .2s; }
.flag:hover::after { opacity: 1; }
.dial { position: absolute; right: clamp(20px, 3vw, 44px); top: 50%; width: clamp(140px, 17vw, 230px); aspect-ratio: 1; transform: translateY(-50%); }
.dial svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.dial circle { fill: none; stroke-width: 6; }
.dial .trk { stroke: rgba(255,255,255,.08); }
.dial .val { stroke: url(#hv); stroke-linecap: round; stroke-dasharray: 597; stroke-dashoffset: 597; transition: stroke-dashoffset 2.4s var(--ease) .3s; }
.num.is-in .dial .val { stroke-dashoffset: 12; }
.dial__c { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--display); font-weight: 800; font-stretch: 70%; font-size: clamp(30px, 3vw, 44px); line-height: .9; text-transform: uppercase; }
.dial__c small { display: block; font-family: var(--sans); font-weight: 400; font-size: 12px; text-transform: none; color: var(--ink-3); margin-top: 6px; }
.logo-pile { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0; max-width: 420px; }
.logo-pile span { height: 64px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); display: grid; place-items: center; padding: 12px; }
.logo-pile img { max-height: 100%; max-width: 100%; filter: brightness(0) invert(1); opacity: .8; }
@media (max-width: 900px) { .num--a, .num--b, .num--c, .num--d { grid-column: span 12; } .dial { width: 130px; } .mosaic { width: 70%; opacity: .45; } }

/* ---------- Horizontal work rail ---------- */
.rail { position: relative; }
.rail__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.rail__head { padding: 0 var(--g); margin-bottom: clamp(24px, 3vw, 40px); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.rail__track { display: flex; gap: clamp(14px, 1.6vw, 24px); padding: 0 var(--g); will-change: transform; width: max-content; }
.rcard { flex: none; width: clamp(300px, 42vw, 680px); position: relative; text-align: left; display: block; }
.rcard__media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--bg-3); }
.rcard__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); }
.rcard:hover .rcard__media img { transform: scale(1.2); }
.rcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.78)); }
.rcard__cap { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.rcard__t { font-family: var(--display); font-weight: 800; font-stretch: 68%; text-transform: uppercase; font-size: clamp(36px, 4vw, 66px); line-height: .86; }
.rcard__t small { display: block; font-family: var(--sans); font-weight: 400; text-transform: none; font-size: 13px; color: rgba(255,255,255,.72); margin-top: 8px; letter-spacing: 0; }
.rcard__play { width: 60px; height: 60px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.3); transition: transform .6s var(--ease), background .4s, color .4s; }
.rcard__play svg { width: 14px; margin-left: 3px; }
.rcard:hover .rcard__play { transform: scale(1.15); background: #fff; color: #000; }
.rcard__badge { position: absolute; top: 18px; left: 18px; z-index: 2; display: flex; gap: 6px; }
.rcard--end { width: clamp(260px, 26vw, 400px); display: grid; place-items: center; border-radius: var(--r); border: 1px dashed var(--line-2); text-align: center; padding: 30px; transition: background .4s, border-color .4s; }
.rcard--end:hover { background: rgba(243,196,126,.06); border-color: var(--gold); }
.rail__bar { margin: clamp(24px, 3vw, 40px) var(--g) 0; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rail__bar i { display: block; height: 100%; background: var(--heaven); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (max-width: 760px) {
  .rail { height: auto !important; }
  .rail__sticky { position: static; height: auto; }
  .rail__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 6px; scrollbar-width: none; }
  .rail__track::-webkit-scrollbar { display: none; }
  .rcard { width: 84vw; scroll-snap-align: center; }
  .rcard--end { width: 60vw; }
  .rail__bar { display: none; }
}

/* ---------- Pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); white-space: nowrap; background: rgba(8,8,12,.5); backdrop-filter: blur(10px); }
.pill--ai { border: 1px solid transparent; background: linear-gradient(#0b0b10, #0b0b10) padding-box, var(--heaven) border-box; color: var(--gold-2); }
.pill--ai::before { content: "✦"; font-size: 9px; }

/* ---------- Services grid ---------- */
.sgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.scard { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; background: var(--bg-3); }
.scard > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); filter: brightness(.62) saturate(.9); transition: transform 1.4s var(--ease), filter .8s; }
.scard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,5,7,.25), transparent 30%, rgba(5,5,7,.85)); }
.scard:hover > img { transform: scale(1.14); filter: brightness(.9) saturate(1.1); }
.scard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--heaven); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .5s; z-index: 2; pointer-events: none; }
.scard:hover::before { opacity: 1; }
.scard__top { display: flex; justify-content: space-between; align-items: center; }
.scard__n { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.75); }
.scard__t { font-family: var(--display); font-weight: 800; font-stretch: 68%; text-transform: uppercase; font-size: clamp(38px, 3.6vw, 58px); line-height: .86; }
.scard__bot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.scard__go { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); transition: transform .6s var(--ease), background .3s, color .3s; }
.scard__go svg { width: 15px; }
.scard:hover .scard__go { transform: rotate(-45deg); background: #fff; color: #000; }
@media (max-width: 960px) { .sgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sgrid { grid-template-columns: 1fr; } .scard { aspect-ratio: 16 / 12; } }

/* ---------- Showreel ---------- */
.reel { position: relative; width: 100%; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; background: #000; isolation: isolate; box-shadow: 0 60px 140px -40px rgba(243,196,126,.28), 0 0 0 1px var(--line); display: block; }
.reel iframe { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); pointer-events: none; border: 0; }
.reel__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.55)); z-index: 1; }
.reel__play { position: absolute; z-index: 2; left: 50%; top: 50%; width: clamp(90px, 11vw, 150px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.3); transition: transform .6s var(--ease), background .4s, color .4s; }
.reel__play svg { width: 26%; margin-left: 6%; }
.reel:hover .reel__play { transform: translate(-50%, -50%) scale(1.1); background: #fff; color: #000; }
.reel__tc { position: absolute; z-index: 2; left: 22px; top: 18px; right: 22px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.8); text-transform: uppercase; }
.rec::before { content: "●"; color: #ff5d5d; margin-right: 6px; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Panels / tiles ---------- */
.panel { border-radius: var(--r); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); border: 1px solid var(--line); padding: clamp(22px, 2.6vw, 34px); }
.tile { position: relative; overflow: hidden; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); padding: clamp(22px, 2.4vw, 32px); min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; transition: border-color .4s; }
.tile:hover { border-color: var(--line-2); }
.tile__glow { position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; left: var(--mx, 50%); top: var(--my, 50%); transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(243,196,126,.16), transparent 65%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.tile:hover .tile__glow { opacity: 1; }
.tile__img { position: absolute; inset: 0; z-index: -2; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform 1.4s var(--ease), opacity .6s; }
.tile:hover .tile__img img { transform: scale(1.06); opacity: .75; }
.tile__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,6,9,.1), rgba(6,6,9,.9)); }
.tile h3 { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: clamp(30px, 2.8vw, 44px); line-height: .9; }
.tile p { margin: 10px 0 0; color: var(--ink-2); font-size: 15px; }
.big { font-family: var(--display); font-weight: 800; font-stretch: 68%; font-size: clamp(70px, 8vw, 130px); line-height: .82; letter-spacing: -.02em; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.bento > * { grid-column: span 2; }
.bento .b-wide { grid-column: span 4; } .bento .b-half { grid-column: span 3; } .bento .b-full { grid-column: span 6; }
@media (max-width: 960px) { .bento > *, .bento .b-wide, .bento .b-half { grid-column: span 6; } }

.orb { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; margin: 0 auto; }
.orb__core { position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff8ea, #f3c47e 28%, #ff8a5b 52%, #6d4cff 78%, #0b0b10 100%); box-shadow: 0 0 120px rgba(243,196,126,.45), inset -20px -30px 80px rgba(0,0,0,.5); animation: orb 10s ease-in-out infinite alternate; }
@keyframes orb { 50% { border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; } 100% { transform: scale(1.04) rotate(30deg); border-radius: 52% 48% 46% 54% / 48% 54% 46% 52%; } }
.orb__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-2); animation: spin 30s linear infinite; }
.orb__ring::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px var(--gold); }
.orb__ring--2 { inset: 8%; animation-duration: 22s; animation-direction: reverse; border-style: dashed; border-color: rgba(185,176,255,.25); }
.orb__ring--2::before { background: var(--halo); box-shadow: 0 0 16px var(--halo); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Grade Lab ---------- */
.lab { display: grid; grid-template-columns: 1.7fr 1fr; gap: 14px; }
.lab__stage { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: #111; user-select: none; touch-action: pan-y; box-shadow: 0 0 0 1px var(--line); cursor: ew-resize; }
.lab__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lab__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--split, 50%)); }
.lab__tint { position: absolute; inset: 0; mix-blend-mode: soft-light; pointer-events: none; }
.lab__vig { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,var(--vig, .35)) 100%); }
.lab__handle { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 2px; margin-left: -1px; background: #fff; z-index: 3; }
.lab__handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; font-size: 18px; box-shadow: 0 6px 30px rgba(0,0,0,.4); }
.lab__tag { position: absolute; top: 16px; z-index: 2; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; background: rgba(0,0,0,.55); backdrop-filter: blur(8px); }
.lab__tag--l { left: 16px; } .lab__tag--r { right: 16px; color: var(--gold-2); }
.lab__scope { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: flex; gap: 2px; align-items: flex-end; height: 40px; padding: 6px 8px; border-radius: 8px; background: rgba(0,0,0,.5); backdrop-filter: blur(8px); }
.lab__scope i { width: 3px; background: linear-gradient(var(--gold), var(--halo)); border-radius: 2px; transition: height .5s var(--ease); }
.lab__panel { display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.look { position: relative; aspect-ratio: 1.25; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; text-align: left; display: flex; align-items: flex-end; padding: 8px 10px; isolation: isolate; text-shadow: 0 1px 6px rgba(0,0,0,.6); transition: border-color .3s, transform .4s var(--ease); }
.look i { position: absolute; inset: 0; z-index: -1; opacity: .8; transition: opacity .3s; }
.look:hover { transform: translateY(-2px); } .look:hover i { opacity: 1; }
.look.is-on { border-color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.25); }
.slider { display: grid; grid-template-columns: 24px 1fr 38px; align-items: center; gap: 12px; font-size: 16px; color: var(--ink-2); }
.slider output { font-family: var(--mono); font-size: 12px; text-align: right; color: var(--ink); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--p, 50%), rgba(255,255,255,.14) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); }
input[type="range"]::-moz-range-progress { height: 3px; background: var(--gold); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(243,196,126,.25); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #fff; }
@media (max-width: 960px) { .lab { grid-template-columns: 1fr; } }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1.15fr; gap: 14px; }
.calc__budget { display: flex; flex-direction: column; justify-content: space-between; gap: 26px; min-height: 380px; }
.calc__big { font-family: var(--display); font-weight: 800; font-stretch: 68%; font-size: clamp(96px, 11vw, 190px); line-height: .8; letter-spacing: -.02em; }
.calc__vs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc__card { position: relative; border-radius: var(--r); padding: 24px; border: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; overflow: hidden; }
.calc__card--ai { background: linear-gradient(160deg, rgba(243,196,126,.2), rgba(185,176,255,.1) 60%, rgba(6,6,9,.6)), var(--bg-2); border-color: rgba(243,196,126,.4); }
.calc__card .tag { color: var(--ink-2); }
.film-strip { display: flex; gap: 5px; flex-wrap: wrap; align-content: flex-start; min-height: 90px; }
.film-strip i { width: 26px; height: 36px; border-radius: 5px; border: 1px solid var(--line-2); background: repeating-linear-gradient(180deg, transparent 0 5px, rgba(255,255,255,.07) 5px 7px); transition: background .4s, transform .5s var(--ease), box-shadow .4s; }
.film-strip i.on { background: var(--heaven); border-color: transparent; transform: translateY(-3px); box-shadow: 0 6px 20px -6px rgba(243,196,126,.6); }
.film-strip--trad i.on { background: rgba(255,255,255,.8); box-shadow: none; }
.calc__save { display: inline-flex; align-self: flex-start; padding: 9px 16px; border-radius: 999px; background: var(--heaven); color: #140e06; font-weight: 700; font-size: 14px; }
.calc__scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; } .calc__budget { min-height: 0; } }
@media (max-width: 480px) { .calc__vs { grid-template-columns: 1fr; } }

/* ---------- World ---------- */
.world { position: relative; border-radius: clamp(24px, 3vw, 36px); border: 1px solid var(--line); overflow: hidden; min-height: 640px; background: radial-gradient(60% 80% at 70% 110%, rgba(243,196,126,.2), transparent 70%), var(--bg-2); }
.world canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.world__ui { position: relative; z-index: 2; padding: clamp(24px, 3.4vw, 48px); min-height: 640px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; pointer-events: none; max-width: 540px; }
.world__ui > * { pointer-events: auto; }
.world__list { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px 16px; }
.world__list span { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.world__list img { width: 26px; height: 19px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
@media (max-width: 760px) { .world, .world__ui { min-height: 760px; } .world__ui { justify-content: flex-start; } .world__list { grid-template-columns: 1fr 1fr; } }

/* ---------- Reviews ---------- */
.reviews { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.reviews + .reviews { margin-top: 14px; }
.reviews .marquee__track { gap: 14px; animation-duration: 80s; padding: 4px 0; }
.reviews--rev .marquee__track { animation-direction: reverse; animation-duration: 95s; }
.reviews:hover .marquee__track { animation-play-state: paused; }
.rv { flex: none; width: clamp(280px, 26vw, 360px); padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; gap: 16px; }
.rv__top { display: flex; justify-content: space-between; align-items: center; }
.rv__stars { color: var(--gold); letter-spacing: 2px; font-size: 13px; }
.rv__flag { width: 28px; height: 20px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.rv q { font-size: 18px; line-height: 1.35; font-weight: 500; letter-spacing: -.01em; }
.rv__who { font-size: 13px; color: var(--ink-3); }
.rv__who b { color: var(--ink); font-weight: 500; }

/* ---------- Marquees ---------- */
.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.mega { padding: 6px 0; }
.mega .marquee__track { gap: 50px; animation-duration: 45s; }
.mega span { font-family: var(--display); font-weight: 800; font-stretch: 68%; text-transform: uppercase; font-size: clamp(80px, 13vw, 220px); line-height: .9; white-space: nowrap; display: inline-flex; align-items: center; gap: 50px; }
.mega span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px rgba(245,240,230,.35); }
.mega span::after { content: "✦"; font-size: .3em; color: var(--gold); -webkit-text-stroke: 0; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: clamp(24px, 3vw, 40px); padding: clamp(70px, 10vw, 150px) clamp(20px, 5vw, 80px); text-align: center; isolation: isolate; border: 1px solid var(--line); }
.cta__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 50% 115%, rgba(255,154,114,.55), transparent 70%), radial-gradient(50% 60% at 12% 0%, rgba(185,176,255,.32), transparent 70%), radial-gradient(50% 60% at 88% 0%, rgba(243,196,126,.32), transparent 70%), #0a0a0f; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.cta .h1, .cta .h-display { margin: 18px auto 0; }
.cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

/* ---------- Footer ---------- */
.footer { position: relative; padding: clamp(60px, 8vw, 110px) 0 28px; overflow: hidden; border-top: 1px solid var(--line); margin-top: clamp(50px, 7vw, 100px); }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer__links { display: flex; gap: clamp(30px, 6vw, 90px); flex-wrap: wrap; }
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer ul a { color: var(--ink-2); transition: color .3s; }
.footer ul a:hover { color: var(--ink); }
.newsletter { display: flex; gap: 8px; max-width: 420px; padding: 6px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); margin-top: 22px; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 0 16px; outline: none; }
.newsletter input::placeholder { color: var(--ink-3); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, color .3s, transform .5s var(--ease); }
.socials a:hover { background: var(--ink); color: #000; transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }
.footer__word { margin-top: clamp(50px, 7vw, 90px); font-family: var(--display); font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(90px, 22.5vw, 400px); line-height: .78; letter-spacing: -.02em; text-align: center; white-space: nowrap; background: linear-gradient(180deg, rgba(245,240,230,.95), rgba(245,240,230,.04) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer__word i { font-style: normal; background: var(--heaven); -webkit-background-clip: text; background-clip: text; }
.footer__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.footer__bar a:hover { color: var(--ink); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 20px; background: rgba(3,3,5,.88); backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { position: relative; width: min(1200px, 100%); aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; transform: scale(.94); transition: transform .7s var(--ease); box-shadow: 0 0 0 1px var(--line-2), 0 60px 160px -30px rgba(243,196,126,.3); }
.modal.is-open .modal__box { transform: none; }
.modal__box iframe { width: 100%; height: 100%; border: 0; }
.modal__close { position: absolute; top: 18px; right: 18px; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 22px; z-index: 2; transition: background .3s, transform .5s var(--ease); }
.modal__close:hover { background: #fff; color: #000; transform: rotate(90deg); }
.modal__cap { position: absolute; left: 24px; bottom: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; padding: clamp(140px, 17vw, 210px) 0 clamp(40px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.page-hero__glow { position: absolute; z-index: -1; inset: -20% -10% auto; height: 120%; background: radial-gradient(45% 55% at 72% 18%, rgba(255,196,128,.3), transparent 70%), radial-gradient(40% 50% at 18% 40%, rgba(185,176,255,.2), transparent 70%), radial-gradient(30% 35% at 90% 70%, rgba(159,217,255,.12), transparent 70%); filter: blur(10px); animation: breathe 12s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: translate3d(-3%, 2%, 0) scale(1.06); } }
.page-hero__rays { position: absolute; z-index: -1; top: -30%; right: 10%; width: 60vw; height: 140%; background: repeating-conic-gradient(from 200deg at 60% 0%, rgba(255,230,190,.06) 0deg 2deg, transparent 2deg 9deg); mask-image: radial-gradient(60% 60% at 60% 0%, #000, transparent 75%); -webkit-mask-image: radial-gradient(60% 60% at 60% 0%, #000, transparent 75%); animation: rays 40s linear infinite; }
@keyframes rays { to { transform: rotate(8deg); } }
.page-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.stat-row { display: flex; gap: clamp(20px, 4vw, 60px); flex-wrap: wrap; margin-top: clamp(30px, 4vw, 50px); }
.stat-row div { font-family: var(--display); font-weight: 800; font-stretch: 68%; font-size: clamp(48px, 5vw, 80px); line-height: .85; }
.stat-row small { display: block; font-family: var(--sans); font-weight: 400; font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.stat-row sup { font-size: .45em; vertical-align: top; background: var(--heaven); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Work grid / filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter { height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); transition: all .35s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.filter sup { font-family: var(--mono); font-size: 10px; color: var(--ink-3); }
.filter:hover { color: var(--ink); border-color: rgba(243,196,126,.5); }
.filter.is-on { background: var(--ink); color: #000; border-color: var(--ink); }
.filter.is-on sup { color: #6b5a3c; }
.is-filtered-out { display: none !important; }
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.4vw, 20px); grid-auto-flow: dense; }
.wcard { position: relative; grid-column: span 4; display: block; text-align: left; width: 100%; }
.wcard--wide { grid-column: span 8; grid-row: span 2; }
.wcard__media { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 16 / 10; background: var(--bg-3); isolation: isolate; height: 100%; }
.wcard--wide .wcard__media { aspect-ratio: auto; }
.wcard__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease), filter 1s; filter: saturate(.95) brightness(.9); }
.wcard:hover .wcard__media img { transform: scale(1.1); filter: saturate(1.1) brightness(1); }
.wcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.78)); pointer-events: none; }
.wcard__badge { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; gap: 6px; }
.wcard__cap { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.wcard__title { font-family: var(--display); font-weight: 800; font-stretch: 68%; text-transform: uppercase; font-size: clamp(28px, 2.4vw, 40px); line-height: .88; }
.wcard--wide .wcard__title { font-size: clamp(40px, 5vw, 84px); }
.wcard__sub { display: block; font-size: 12.5px; color: rgba(255,255,255,.72); margin-top: 6px; font-family: var(--sans); font-weight: 400; text-transform: none; }
.wcard__play { width: 50px; height: 50px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.25); transition: transform .6s var(--ease), background .4s, color .4s; }
.wcard__play svg { width: 13px; margin-left: 3px; }
.wcard:hover .wcard__play { transform: scale(1.12); background: #fff; color: #000; }
.wcard__loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.wcard:hover .wcard__loop { opacity: 1; }
@media (max-width: 960px) { .wcard { grid-column: span 6; } .wcard--wide { grid-column: span 12; grid-row: auto; } .wcard--wide .wcard__media { aspect-ratio: 16 / 10; } }
@media (max-width: 600px) { .wcard { grid-column: span 12; } }

/* ---------- Services detail ---------- */
.svc-index { position: sticky; top: 74px; z-index: 20; padding: 10px 0; background: rgba(5,5,7,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block: 1px solid var(--line); transition: top .6s var(--ease); }
body:has(.header.is-hidden) .svc-index { top: 0; }
.svc-index__in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.svc-index__in::-webkit-scrollbar { display: none; }
.svc-index a { flex: none; font-size: 13.5px; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); transition: all .3s; }
.svc-index a.is-on { background: var(--ink); color: #000; }
.svc { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 70px); align-items: center; padding: clamp(46px, 6vw, 90px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.svc:nth-child(even) .svc__media { order: 2; }
.svc__media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 11; background: var(--bg-3); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.14); }
.svc__media .pill { position: absolute; top: 16px; left: 16px; z-index: 2; }
.svc__n { font-family: var(--display); font-weight: 800; font-stretch: 68%; font-size: clamp(60px, 7vw, 110px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(243,196,126,.6); }
.svc h2 { font-family: var(--display); font-weight: 800; font-stretch: 68%; text-transform: uppercase; font-size: clamp(48px, 5.6vw, 96px); line-height: .86; margin: 14px 0 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip-s { padding: 9px 15px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 14px; }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } .svc:nth-child(even) .svc__media { order: 0; } }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan { position: relative; padding: 30px 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; gap: 20px; overflow: hidden; }
.plan--hot { background: linear-gradient(180deg, rgba(243,196,126,.12), rgba(185,176,255,.05)), var(--bg-2); }
.plan--hot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--heaven); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan__flag { position: absolute; top: 22px; right: 22px; }
.plan h3 { font-family: var(--display); font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: 46px; line-height: .9; margin: 0; }
.plan__price { font-family: var(--display); font-weight: 700; font-stretch: 75%; font-size: 30px; }
.plan__price small { font-family: var(--sans); font-size: 13px; color: var(--ink-3); margin-left: 6px; font-weight: 400; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; flex: 1; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.ticks li::before { content: "✓"; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: rgba(243,196,126,.14); color: var(--gold); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Pipeline ---------- */
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pipe { position: relative; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); padding: 24px; overflow: hidden; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; }
.pipe__n { font-family: var(--display); font-weight: 800; font-stretch: 68%; font-size: 96px; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(243,196,126,.6); }
.pipe h3 { font-size: 20px; font-weight: 600; margin: 0; letter-spacing: -.01em; }
.pipe__ok { margin-top: 10px; display: inline-flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #8cf0be; }
.pipe__ok::before { content: "✓"; }
.pipe__bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--heaven); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); transition-delay: var(--d, 0s); }
.pipe.is-in .pipe__bar { transform: scaleX(1); }
.pay { display: grid; grid-template-columns: 3fr 4fr 3fr; height: 60px; border-radius: 16px; overflow: hidden; margin-top: 14px; font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: 24px; }
.pay span { display: flex; align-items: center; justify-content: space-between; padding: 0 18px; color: #140e06; }
.pay small { font-family: var(--sans); font-weight: 500; font-size: 12px; }
@media (max-width: 960px) { .pipeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pipeline { grid-template-columns: 1fr; } .pay small { display: none; } }

/* Cert */
.cert { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
.cert__img { border-radius: var(--r); overflow: hidden; box-shadow: 0 50px 120px -30px rgba(243,196,126,.35), 0 0 0 1px var(--line-2); transform: perspective(1200px) rotateY(-8deg) rotateX(3deg); transition: transform 1s var(--ease); }
.cert__img:hover { transform: none; }
.cert__badges { display: grid; gap: 10px; margin: 26px 0; }
.cert__b { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); }
.cert__b i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-style: normal; background: var(--heaven); color: #140e06; font-weight: 800; flex: none; }
.cert__b small { display: block; color: var(--ink-3); font-size: 12.5px; }
@media (max-width: 900px) { .cert { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.founder { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.founder__photo { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-3); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,5,7,.85)), linear-gradient(120deg, rgba(243,196,126,.2), transparent 40%); }
.founder__cap { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
.cred { padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg-2); }
.cred b { display: block; font-family: var(--display); font-weight: 800; font-stretch: 70%; font-size: 42px; line-height: .9; text-transform: uppercase; }
.cred span { font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; } }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.member { display: block; }
.member__ph { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-3); position: relative; }
.member__ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.9); transition: filter .8s, transform 1.2s var(--ease); }
.member:hover .member__ph img { filter: none; transform: scale(1.04); }
.member__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.85)); }
.member__ph--open { display: grid; place-items: center; border: 1px dashed var(--line-2); background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(255,255,255,.02) 12px 24px); }
.member__ph--open::after { display: none; }
.member__ph--open > span { font-family: var(--display); font-size: 80px; font-weight: 800; color: var(--ink-3); }
.member__cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; }
.member h3 { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: 28px; line-height: .92; }
.member .role { font-size: 12.5px; color: var(--gold-2); }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(2, 1fr); } }

.press { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.press__card { position: relative; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 230px; overflow: hidden; transition: border-color .4s, transform .6s var(--ease); }
.press__card:hover { border-color: rgba(243,196,126,.45); transform: translateY(-4px); }
.press__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.press__src { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.press__date { font-family: var(--display); font-weight: 800; font-stretch: 70%; font-size: 36px; line-height: 1; text-transform: uppercase; background: var(--heaven); -webkit-background-clip: text; background-clip: text; color: transparent; }
.press__t { font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.press__arrow { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, color .3s, transform .5s var(--ease); }
.press__arrow svg { width: 14px; }
.press__card:hover .press__arrow { background: #fff; color: #000; transform: rotate(-45deg); }
@media (max-width: 960px) { .press { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .press { grid-template-columns: 1fr; } }

/* ---------- Journal ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.post { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; isolation: isolate; background: linear-gradient(135deg, #1a140c, #120f1e); }
.post img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.post::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(5,5,7,.94)); }
.post:hover img { transform: scale(1.07); }
.post__meta { display: flex; gap: 10px; margin-bottom: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.post__meta b { color: var(--gold); font-weight: 400; }
.post h3 { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: clamp(28px, 2.3vw, 36px); line-height: .92; }
.post--feature { grid-column: span 2; aspect-ratio: auto; min-height: 520px; }
.post--feature h3 { font-size: clamp(44px, 5vw, 84px); line-height: .86; max-width: 900px; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } .post--feature { grid-column: span 1; min-height: 440px; } }

/* ---------- Contact / brief ---------- */
.contact { display: grid; grid-template-columns: .8fr 1.25fr; gap: clamp(16px, 3vw, 40px); align-items: start; }
.contact__side { position: sticky; top: 100px; display: grid; gap: 10px; }
.cline { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg-2); transition: border-color .3s, transform .5s var(--ease); }
a.cline:hover { border-color: rgba(243,196,126,.5); transform: translateX(4px); }
.cline__ico { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(243,196,126,.12); color: var(--gold-2); }
.cline__ico svg { width: 21px; height: 21px; }
.cline small { display: block; font-size: 12px; color: var(--ink-3); }
.cline b { font-size: 17px; font-weight: 600; }
.brief__progress { display: flex; gap: 6px; margin-bottom: 26px; }
.brief__progress i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; position: relative; }
.brief__progress i::after { content: ""; position: absolute; inset: 0; background: var(--heaven); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.brief__progress i.on::after { transform: scaleX(1); }
.brief__step { display: none; animation: stepIn .7s var(--ease); border: 0; padding: 0; margin: 0; min-width: 0; }
.brief__step.is-on { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(16px); } }
.brief h3 { font-family: var(--display); font-weight: 800; font-stretch: 68%; text-transform: uppercase; font-size: clamp(42px, 4.4vw, 66px); line-height: .88; margin: 6px 0 22px; }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.opts--4 { grid-template-columns: repeat(4, 1fr); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 14px; border-radius: 16px; border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 500; cursor: pointer; transition: all .3s; height: 100%; min-height: 96px; position: relative; overflow: hidden; }
.opt span em { font-style: normal; font-size: 24px; line-height: 1; }
.opt span:hover { border-color: rgba(243,196,126,.5); }
.opt input:checked + span { border-color: var(--gold); background: rgba(243,196,126,.1); }
.opt input:checked + span::after { content: "✓"; position: absolute; top: 10px; right: 12px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #140e06; font-size: 11px; }
.opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 700px) { .opts, .opts--4 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; margin-bottom: 14px; }
.field label { font-size: 13px; color: var(--ink-3); }
.field input, .field textarea { width: 100%; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); outline: none; transition: border-color .3s, background .3s; font-size: 16px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--gold); background: rgba(243,196,126,.04); }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 560px) { .fields-2 { grid-template-columns: 1fr; } }
.brief__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.brief__out { padding: 22px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(0,0,0,.3); font-family: var(--mono); font-size: 13px; line-height: 1.75; white-space: pre-wrap; color: var(--ink-2); max-height: 340px; overflow: auto; }
.typing::after { content: "▍"; color: var(--gold); animation: blink 1s steps(2) infinite; margin-left: 2px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact__side { position: static; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; cursor: pointer; font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.faq details[open] summary i { background: var(--ink); color: #000; }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 760px; }

.toast { position: fixed; left: 50%; bottom: 30px; z-index: 260; transform: translate(-50%, 140%); padding: 14px 22px; border-radius: 999px; background: var(--ink); color: #000; font-size: 14.5px; font-weight: 500; transition: transform .6s var(--ease); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.toast.on { transform: translate(-50%, 0); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } }
[data-parallax] { will-change: transform; }

@media (max-width: 1080px) { .nav, .status-pill { display: none; } .burger { display: block; } }
@media (max-width: 520px) { .header__cta .btn { display: none; } .btn { height: 52px; padding: 0 22px; } }
.flag-row { display: inline-flex; gap: 6px; align-items: center; }
.flag-row img { width: 24px; height: 17px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.is-raw img { filter: none !important; opacity: 1 !important; border-radius: 4px; }

/* =========================================================================
   v2.1 — 3D + motion layer
   ========================================================================= */
/* Circular page transition (opens/closes around the click point) */
.curtain { transform: none !important; clip-path: circle(150% at var(--cx, 50%) var(--cy, 50%)); transition: clip-path 1.1s var(--ease-io);
  background: radial-gradient(60% 60% at var(--cx, 50%) var(--cy, 50%), #3a2614 0%, #120d14 45%, #050507 80%); }
body.is-ready .curtain { clip-path: circle(0% at var(--cx, 50%) var(--cy, 50%)); }
body.is-leaving .curtain { clip-path: circle(150% at var(--cx, 50%) var(--cy, 50%)); transition-duration: .75s; }

/* Scroll progress */
.progress { position: fixed; left: 0; top: 0; right: 0; height: 2px; z-index: 120; background: var(--heaven); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* 3D title */
.hero__title { --ex: 0; --ey: 1; will-change: transform; transition: transform .2s linear; }
.hero__title .l:first-child { text-shadow:
  calc(var(--ex) * 1px) calc(var(--ey) * 1px) 0 #d9cfbd, calc(var(--ex) * 2px) calc(var(--ey) * 2px) 0 #bfb39f,
  calc(var(--ex) * 3px) calc(var(--ey) * 3px) 0 #a29580, calc(var(--ex) * 4px) calc(var(--ey) * 4px) 0 #847762,
  calc(var(--ex) * 5px) calc(var(--ey) * 5px) 0 #665a47, calc(var(--ex) * 6px) calc(var(--ey) * 6px) 0 #4a3f2f,
  calc(var(--ex) * 14px) calc(var(--ey) * 18px) 34px rgba(0,0,0,.65); }
.hero__title .l:last-child { filter: drop-shadow(calc(var(--ex) * 2px) calc(var(--ey) * 2px) 0 rgba(140,80,50,.95)) drop-shadow(calc(var(--ex) * 2px) calc(var(--ey) * 2px) 0 rgba(90,50,80,.9)) drop-shadow(calc(var(--ex) * 2px) calc(var(--ey) * 2px) 0 rgba(50,30,60,.9)) drop-shadow(calc(var(--ex) * 10px) calc(var(--ey) * 14px) 22px rgba(0,0,0,.55)); }

/* Tilt + glare */
.glare { position: absolute; inset: 0; z-index: 4; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s; mix-blend-mode: soft-light;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.55), rgba(255,255,255,0) 50%); }
.is-tilting .glare { opacity: 1; }
.is-tilting { z-index: 5; }

/* Clip-wipe image reveal */
[data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--r)); transition: clip-path 1.4s var(--ease); }
[data-reveal="clip"] img { scale: 1.25; transition: scale 1.8s var(--ease), transform 1.6s var(--ease); }
[data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--r)); }
[data-reveal="clip"].is-in img { scale: 1; }

/* 3D entry stages */
[data-enter3d] { transform-origin: 50% 100%; will-change: transform; }
.persp { perspective: 1600px; }

/* JS-driven marquees */
.is-velo { animation: none !important; will-change: transform; }

/* Rail coverflow */
.rail__track { perspective: 1600px; }
.rcard { transform-origin: 50% 50%; will-change: transform; }

/* Button ripple */
.btn .ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.45); transform: scale(0); animation: ripple .8s var(--ease) forwards; pointer-events: none; z-index: -1; }
.btn--light .ripple { background: rgba(255,255,255,.7); }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* Flag cards flip in 3D */
.flag-grid { perspective: 600px; }
.flag { transform-style: preserve-3d; }
.num.is-in .flag { animation: flipIn 1s var(--ease) backwards; animation-delay: calc(var(--fi, 0) * 60ms + .2s); }
@keyframes flipIn { from { transform: rotateY(-100deg) translateZ(20px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) { .hero__title { transform: none !important; } [data-reveal="clip"] { clip-path: none !important; } }

/* 3D film floor (hero) */
.wall { position: relative; height: clamp(220px, 25vw, 360px); margin-top: clamp(18px, 3vw, 36px); perspective: 1000px; perspective-origin: 50% -10%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 38%, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 38%, #000 82%, transparent 100%); }
.wall__plane { --tilt: 60deg; position: absolute; left: 50%; bottom: -6%; width: min(1640px, 150vw); display: grid; grid-template-columns: repeat(var(--cols, 7), 1fr); gap: clamp(8px, 1vw, 16px);
  transform: translateX(-50%) rotateX(var(--tilt)); transform-origin: 50% 100%; transform-style: preserve-3d; }
.wall__tile { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; padding: 0; background: #111; will-change: transform;
  filter: brightness(var(--b, .4)) saturate(calc(.55 + var(--b, .4) * .5)); box-shadow: 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .4s; }
.wall__tile img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.wall__tile span { position: absolute; left: 10px; bottom: 8px; font-family: var(--display); font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: clamp(13px, 1.2vw, 18px); line-height: 1; text-shadow: 0 2px 10px #000; opacity: 0; transition: opacity .3s; }
.wall__tile:hover { box-shadow: 0 0 0 1.5px var(--gold), 0 0 46px -4px rgba(243,196,126,.6); }
.wall__tile:hover span { opacity: 1; }
.wall__glow { position: absolute; left: 15%; right: 15%; bottom: 0; height: 60%; pointer-events: none; background: radial-gradient(50% 60% at 50% 100%, rgba(243,196,126,.22), rgba(195,168,255,.08) 50%, transparent 75%); filter: blur(10px); }

/* Trusted-by logos inside the hero */
.trusted { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: clamp(10px, 2vw, 24px); padding: 0 var(--g); position: relative; z-index: 2; }
.trusted__label { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 14px; }
.trusted__label::before, .trusted__label::after { content: ""; width: 40px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.trusted__label::after { transform: scaleX(-1); }
.trusted__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px clamp(26px, 3.6vw, 60px); max-width: 1280px; }
.trusted .logo-item { height: 32px; opacity: .82; }
.trusted .logo-item img { max-width: 130px; object-fit: contain; }
.trusted .logo-item--tall { height: 52px; }
.trusted .logo-item--word { height: auto; font-size: 25px; }
.trusted .logo-item:hover { opacity: 1; }
@media (max-width: 760px) { .wall { height: 200px; } .trusted .logo-item { height: 26px; } .trusted .logo-item img { max-width: 96px; } .trusted .logo-item--tall { height: 40px; } .trusted .logo-item--word { font-size: 20px; } .trusted__row { gap: 16px 28px; } }
