/* =========================================================
   ARADHYA CHAUDHARY — PORTFOLIO
   Dark, kinetic, acid-lime accent.
   ========================================================= */

:root {
  --bg: #050506;
  --bg-2: #0d0d0f;
  --ink: #ffffff;
  --ink-dim: rgba(241, 240, 234, 0.55);
  --ink-faint: rgba(241, 240, 234, 0.14);
  --line: rgba(241, 240, 234, 0.12);
  --acc: #e3132b;
  --acc-deep: #7a0b18;
  --acc-glow: 227,19,43;
  --acc-ink: #fff7f5;
  --hue: 355;

  --font-display: 'Syne', 'Syne Fallback', system-ui, sans-serif;
  --font-body: 'Inter', 'Inter Fallback', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html.js-ok body { cursor: none; }
body.loading { overflow: hidden; }
/* If scripts never run (blocked CDN, JS error), the preloader and the hidden intro states release themselves. */
@keyframes bail { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@keyframes unhide { to { opacity: 1; transform: none; } }
html:not(.js-ok) .loader { animation: bail .4s 9s forwards; }
html:not(.js-ok) .nav, html:not(.js-ok) .hero__cta, html:not(.js-ok) .hero__social, html:not(.js-ok) .hero__scroll { animation: unhide .4s 9.2s forwards; }
html:not(.js-ok) .hero__block { transform: none; }
@media (prefers-reduced-motion: reduce) { html:not(.js-ok) .loader { display: none; } html:not(.js-ok) .nav, html:not(.js-ok) .hero__cta, html:not(.js-ok) .hero__social, html:not(.js-ok) .hero__scroll { opacity: 1; transform: none; } }
@media (hover: none), (pointer: coarse) { .rail-hint, .testi__hint, .ring-hint { display: none; } body { cursor: auto; } .cursor { display: none !important; } }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: none; }
ul { list-style: none; }
::selection { background: var(--acc); color: var(--acc-ink); }

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.link-ul { position: relative; }
.link-ul::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.link-ul:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- grain + progress ---------- */
.grain { opacity: .07; }
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%; pointer-events: none; z-index: 9000;
  opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.6s steps(4) infinite; will-change: transform;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(4%, -8%); }
  60% { transform: translate(-3%, 7%); } 80% { transform: translate(7%, -3%); } 100% { transform: translate(0, 0); }
}
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 8000;
  background: var(--acc); transform-origin: left; transform: scaleX(0);
}

/* ---------- preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 10000; background: var(--bg);
  display: grid; place-items: center; padding: var(--gutter);
}
.loader__meta { position: absolute; top: var(--gutter); left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; }
.loader__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 9vw, 120px); line-height: .9; display: flex; gap: .15em; flex-wrap: wrap; justify-content: center; overflow: hidden; }
.loader__word { display: inline-block; transform: translateY(110%); letter-spacing: -.04em; }
.loader__word--it { font-weight: 500; font-style: italic; color: var(--acc); }
.loader__count { position: absolute; right: var(--gutter); bottom: var(--gutter); font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 6vw, 80px); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.loader__bar { position: absolute; left: var(--gutter); bottom: calc(var(--gutter) + 8px); width: 120px; height: 1px; background: var(--line); }
.loader__bar span { display: block; height: 100%; width: 0%; background: var(--acc); }

/* ---------- cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; }
.cursor__dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); transition: transform .25s var(--ease-out), opacity .25s; }
.cursor__ring { position: absolute; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); transform: translate(-50%, -50%) scale(1); transition: transform .35s var(--ease-out), opacity .35s, background .35s; }
.cursor__label { position: absolute; transform: translate(-50%, -50%); font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: #000; opacity: 0; transition: opacity .25s; white-space: nowrap; }
.cursor.is-hover .cursor__dot { transform: translate(-50%, -50%) scale(0); }
.cursor.is-hover .cursor__ring { transform: translate(-50%, -50%) scale(1.8); background: rgba(255,255,255,.15); }
.cursor.is-label .cursor__dot { transform: translate(-50%, -50%) scale(0); }
.cursor.is-label .cursor__ring { transform: translate(-50%, -50%) scale(2.4); background: #fff; border-color: #fff; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-down .cursor__ring { transform: translate(-50%, -50%) scale(.8); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter);
  transform: translateY(-100%); opacity: 0;
  transition: background .4s;
}
.nav.is-scrolled { background: rgba(10,10,11,.92); }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -.02em; width: max-content; }
.nav__logo-mark { width: 28px; height: 28px; border-radius: 7px; background: var(--acc); color: var(--acc-ink); display: grid; place-items: center; font-size: 15px; transition: transform .5s var(--ease); }
.nav__logo:hover .nav__logo-mark { transform: rotate(90deg); }
.nav__logo-text em { color: var(--acc); font-style: normal; }
.nav__links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.nav__links a { position: relative; overflow: hidden; display: inline-block; height: 1.3em; line-height: 1.3em; }
.nav__links a::before { content: attr(data-text); }
.nav__right { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.nav__time { display: inline-flex; align-items: center; gap: 8px; }
.nav__time .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); animation: blink 2s infinite; }
@keyframes blink { 0%, 100% { opacity: 1 } 50% { opacity: .2 } }
.nav__burger { display: none; width: 40px; height: 40px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger span:nth-child(1) { top: 15px; } .nav__burger span:nth-child(2) { top: 24px; }
.nav__burger.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

/* hover text swap */
[data-hover] { position: relative; display: inline-block; overflow: hidden; }
[data-hover] .sw { display: block; transition: transform .5s var(--ease); }
[data-hover] .sw + .sw { position: absolute; left: 0; top: 0; transform: translateY(110%); color: var(--acc); }
[data-hover]:hover .sw { transform: translateY(-110%); }
[data-hover]:hover .sw + .sw { transform: translateY(0); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 500; font-size: 14px;
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s;
  will-change: transform;
}
.btn::before { content: ''; position: absolute; inset: 0; background: var(--acc); border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--acc-ink); border-color: var(--acc); }
.btn--primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--primary:hover { border-color: var(--acc); }
.btn--ghost { background: transparent; }
.btn--sm { padding: 10px 16px; font-size: 13px; }
.btn--lg { padding: 20px 30px; font-size: 16px; }
.btn__arrow { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px) rotate(-45deg); }

/* ---------- mobile menu ---------- */
.menu { position: fixed; inset: 0; z-index: 850; background: linear-gradient(160deg, var(--acc) 0%, var(--acc-deep) 100%); color: var(--acc-ink); display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--gutter) var(--gutter); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); }
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__inner { display: flex; flex-direction: column; gap: 6px; }
.menu__link { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 11vw, 92px); line-height: 1; letter-spacing: -.04em; display: flex; align-items: baseline; gap: 14px; transform: translateY(30px); opacity: 0; transition: transform .7s var(--ease), opacity .7s; }
.menu.is-open .menu__link { transform: none; opacity: 1; }
.menu.is-open .menu__link:nth-child(1) { transition-delay: .25s } .menu.is-open .menu__link:nth-child(2) { transition-delay: .3s } .menu.is-open .menu__link:nth-child(3) { transition-delay: .35s } .menu.is-open .menu__link:nth-child(4) { transition-delay: .4s } .menu.is-open .menu__link:nth-child(5) { transition-delay: .45s }
.menu__link .mono { color: rgba(255,255,255,.55); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 18px; color: rgba(255,255,255,.75); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 110px var(--gutter) var(--gutter); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid { display: none; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 80px 80px; opacity: .35; mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%); }
.hero__orb { position: absolute; border-radius: 50%; opacity: .35; will-change: transform; }
.hero__orb--1 { width: 55vw; height: 55vw; background: radial-gradient(circle, rgba(227,19,43,.85) 0%, rgba(227,19,43,.35) 25%, transparent 62%); top: -18%; right: -12%; opacity: .42; }
.hero__orb--2 { width: 35vw; height: 35vw; background: radial-gradient(circle, rgba(244,241,236,.9) 0%, rgba(244,241,236,.3) 25%, transparent 62%); bottom: -10%; left: -8%; opacity: .09; }
.hero__meta { position: relative; display: flex; justify-content: space-between; opacity: 0; }
.hero__title { position: relative; text-shadow: 0 2px 0 rgba(255,255,255,.06), 0 24px 60px rgba(0,0,0,.95); font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, (100vw - 2 * var(--gutter)) * .125, 320px); line-height: .86; letter-spacing: -.045em; margin: 4vh 0; }
.hero__line { display: block; overflow: hidden; padding-bottom: .05em; white-space: nowrap; }
.hero__line--2 { display: flex; align-items: center; gap: .08em; }
.hero__word { display: inline-block; }
.hero__word--it { font-weight: 500; font-style: italic; }
.hero__word .ch { display: inline-block; transform: translateY(110%); will-change: transform; }
.hero__block { display: inline-block; width: .62em; height: .8em; background: var(--acc); border-radius: .06em; transform: scaleY(0); transform-origin: bottom; will-change: transform; }
.hero__bottom { position: relative; display: grid; grid-template-columns: minmax(0, 560px) auto; align-items: end; gap: 32px; }
.hero__intro { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.45; color: var(--ink-dim); max-width: 560px; }
.hero__intro em { font-style: normal; color: var(--ink); }
.hero__intro .w { display: inline-block; opacity: 0; transform: translateY(12px); }
.hero__cta { display: flex; gap: 12px; justify-self: end; opacity: 0; }
.hero__scroll { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; opacity: 0; }
.hero__scroll-arrow { display: inline-block; animation: bob 1.6s var(--ease) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(-3px) } 50% { transform: translateY(3px) } }

/* ---------- hero social: gloss glass buttons ---------- */
.hero__social { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 3vh auto 4vh; opacity: 0; }
.gbtn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 999px; color: #0a0a0b; font-size: 14px; font-weight: 600;
  background: linear-gradient(180deg, #ffffff 0%, #ececec 55%, #d9d9d9 100%);
  border: 1px solid rgba(255,255,255,.9); box-shadow: inset 0 1px 0 rgba(255,255,255,1), inset 0 -2px 0 rgba(0,0,0,.12), 0 14px 34px rgba(0,0,0,.7);
  overflow: hidden; transition: transform .5s var(--ease), box-shadow .4s, border-color .4s, background .4s; will-change: transform; }
.gbtn::before { content: ''; position: absolute; left: 6px; right: 6px; top: 2px; height: 45%; border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,0)); pointer-events: none; }
.gbtn::after { content: ''; position: absolute; top: -60%; left: -40%; width: 40%; height: 220%; background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%); transform: translateX(-120%) rotate(12deg); transition: transform .9s var(--ease); pointer-events: none; }
.gbtn:hover::after { transform: translateX(420%) rotate(12deg); }
.gbtn:hover { border-color: #fff; box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(0,0,0,.12), 0 18px 44px rgba(0,0,0,.75), 0 0 30px rgba(255,255,255,.25); background: linear-gradient(180deg, #ffffff 0%, #f6f6f6 60%, #e6e6e6 100%); }
.gbtn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.gbtn__txt { white-space: nowrap; color: rgba(10,10,11,.75); }
.gbtn__txt b { color: #0a0a0b; font-weight: 800; }
.gbtn--icon { width: 52px; padding: 0; justify-content: center; }
@media (max-width: 600px) { .gbtn { height: 46px; padding: 0 16px 0 14px; font-size: 13px; } .gbtn--icon { width: 46px; } .hero__social { gap: 8px; } }

/* ---------- wipe ---------- */
.wipe { position: relative; height: 240svh; }
.wipe__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.wipe__block { position: absolute; left: 50%; top: 50%; width: 24vw; height: 32vh; margin: -16vh 0 0 -12vw; background: var(--acc); will-change: transform; border-radius: 6px; }
.wipe__block { display: grid; place-items: center; overflow: hidden; }
.wipe__note { display: flex; flex-direction: column; align-items: center; gap: .3em; text-align: center; color: #0a0a0b; padding: 0 1em; animation: squeeze 2.4s var(--ease) infinite; transform-origin: center; }
.wipe__note-big { font-family: 'Creepster', 'Bangers', Impact, sans-serif; font-weight: 400; font-size: clamp(26px, 4.2vw, 64px); letter-spacing: .02em; line-height: 1; white-space: nowrap; text-shadow: 0 2px 0 rgba(255,255,255,.25); }
.wipe__note-small { font-family: 'Bangers', Impact, sans-serif; font-weight: 400; font-size: clamp(24px, 2vw, 30px); letter-spacing: .04em; color: #0a0a0b; }
.wipe__note-small em { font-style: normal; color: #fff7f5; text-decoration: underline wavy; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.wipe__note-tiny { color: #fff; font-size: 10px; margin-top: .6em; }
@keyframes squeeze { 0%, 100% { transform: scale(1, 1); } 40% { transform: scale(1.06, .9); } 55% { transform: scale(.96, 1.06); } 70% { transform: scale(1.02, .98); } }
body.motion-off .wipe__note { display: flex; flex-direction: column; align-items: center; gap: .3em; text-align: center; color: #0a0a0b; padding: 0 1em; animation: squeeze 2.4s var(--ease) infinite; transform-origin: center; }
.wipe__text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .3em; font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 7vw, 110px); letter-spacing: -.04em; color: var(--acc-ink); opacity: 0; }
.wipe__text span { display: inline-block; }

/* ---------- marquee ---------- */
.marquee-sec { background: linear-gradient(100deg, var(--acc) 0%, #b30f22 60%, var(--acc-deep) 100%); color: var(--acc-ink); padding: 48px 0; overflow: hidden; }
.marquee { overflow: hidden; white-space: nowrap; }
.marquee + .marquee { margin-top: 10px; }
.marquee__track { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 6vw, 88px); letter-spacing: -.03em; line-height: 1; will-change: transform;
  color: transparent; background: linear-gradient(110deg, #0a0a0b 0%, #0a0a0b 42%, #3a1216 48%, #fff2f0 50%, #3a1216 52%, #0a0a0b 58%, #0a0a0b 100%);
  background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; animation: shimmer 3.2s linear infinite; }
@keyframes shimmer { from { background-position: 130% 0; } to { background-position: -130% 0; } }
.marquee__track i { font-style: normal; font-size: .4em; opacity: .6; }
.marquee--rev .marquee__track { font-weight: 500; font-style: italic; opacity: .85; animation-delay: -1.4s; animation-duration: 4s; }

/* ---------- section head ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0,0,0,.9); margin-bottom: 8px; }
.sec-head__title { font-weight: 500; color: var(--ink); }
.sec-head__title span { color: var(--ink-dim); }
.sec-head__title--poster { font-family: 'Anton', Impact, 'Arial Narrow Bold', sans-serif; font-weight: 400; font-size: clamp(40px, 6vw, 88px); line-height: .95; letter-spacing: .01em; text-transform: uppercase; color: #fff; display: flex; align-items: baseline; gap: 14px; }
.sec-head__title--poster { text-shadow: 0 2px 0 rgba(255,255,255,.05), 0 18px 40px rgba(0,0,0,.9); }
.sec-head__title--poster span { color: var(--ink-dim); text-shadow: none; }
.sec-head--about { margin-bottom: 48px; }
.sec-head--contact { border-color: rgba(0,0,0,.3); margin-bottom: 10vh; }
.sec-head--contact .sec-head__title--poster { color: #0a0a0b; }
.sec-head__toggle { color: var(--ink-dim); transition: color .3s; }
.sec-head__toggle:hover { color: var(--acc); }
.sec-head__right { white-space: nowrap; }

/* ---------- work: 3D ring ---------- */
.work { position: relative; padding: 14vh var(--gutter) 10vh; overflow: hidden; }
.ring-stage { position: relative; height: clamp(420px, 68vh, 620px); margin-top: 24px; perspective: 2200px; perspective-origin: 50% 35%; user-select: none; touch-action: pan-y; cursor: grab; --cw: 210px; --ch: 290px; }
.ring-stage.is-drag { cursor: grabbing; }
.ring-light { position: absolute; left: 50%; top: -30%; width: 70%; height: 90%; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.16) 0%, rgba(227,19,43,.10) 35%, transparent 70%); pointer-events: none; }
.ring-floor { position: absolute; left: 50%; bottom: 4%; width: 120%; height: 38%; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 50%, rgba(227,19,43,.22) 0%, rgba(227,19,43,.06) 40%, transparent 70%); pointer-events: none; }
.ring-tilt { position: absolute; left: 50%; top: 48%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-10deg); }
.ring { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.rcard { position: absolute; left: 0; top: 0; width: var(--cw, 240px); height: var(--ch, 340px); margin: calc(var(--ch, 340px) / -2) 0 0 calc(var(--cw, 240px) / -2); border-radius: 18px; overflow: hidden; transform-style: preserve-3d; backface-visibility: hidden; background: #111; box-shadow: 0 30px 60px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08); cursor: pointer; will-change: transform; }
.rcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(1.04); transition: transform .8s var(--ease), filter .5s; }
.rcard::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.88) 100%); z-index: 1; }
.rcard::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,.08) 18%, transparent 42%); opacity: var(--spec, .5); }
.rcard__dim { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: #000; opacity: var(--dim, 0); }
.rcard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; z-index: 3; display: flex; flex-direction: column; gap: 6px; }
.rcard__idx { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: rgba(255,255,255,.6); }
.rcard__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.03em; line-height: 1; color: #fff; }
.rcard__kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--acc); }
.rcard__open { position: absolute; top: 14px; right: 14px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; color: #fff; font-size: 16px; transform: scale(0); transition: transform .4s var(--ease), background .3s; }
.rcard:hover .rcard__open { transform: scale(1); }
.rcard:hover .rcard__open { background: var(--acc); }
.rcard:hover .rcard__img { transform: scale(1.1); }
.ring-hint { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); pointer-events: none; transition: opacity .4s; }
.ring-stage.is-flat .ring-hint { opacity: 0; }
body.motion-off .ring-stage { cursor: default; }
@media (max-width: 760px) { .ring-stage { height: 400px; --cw: 150px; --ch: 215px; perspective: 1300px; }  .sec-head__right { display: none; } }

/* ---------- case study panel ---------- */
.case { position: fixed; inset: 0; z-index: 940; background: var(--bg); display: flex; flex-direction: column; clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); pointer-events: none; }
.case.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.case__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px var(--gutter); border-bottom: 1px solid var(--line); background: rgba(10,10,11,.96); }
.case__back { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; padding: 10px 16px 10px 10px; border: 1px solid var(--line); border-radius: 999px; transition: background .3s, color .3s, border-color .3s; }
.case__back:hover { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.case__back-arrow { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 14px; transition: transform .4s var(--ease); }
.case__back:hover .case__back-arrow { transform: translateX(-4px); }
.case__nav { display: flex; gap: 22px; }
.case__nav a { color: var(--ink-dim); transition: color .3s; }
.case__nav a:hover { color: var(--acc); }
.case__switch { display: flex; align-items: center; gap: 12px; }
.case__arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 16px; transition: background .3s, color .3s, border-color .3s; }
.case__arrow:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.case__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.case__inner { max-width: 1240px; margin: 0 auto; padding: 8vh var(--gutter) 12vh; display: flex; flex-direction: column; gap: 48px; }
.case__head { display: flex; flex-direction: column; gap: 16px; max-width: 900px; }
.case__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 8vw, 120px); letter-spacing: -.05em; line-height: .9; }
.case__tagline { font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 2.2vw, 30px); letter-spacing: -.02em; line-height: 1.2; color: var(--ink-dim); }
.case__cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.case__cover { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); aspect-ratio: 16/10; box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.case__cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.case__metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metric { padding: 26px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); position: relative; overflow: hidden; }
.metric::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.metric.on::before { transform: scaleX(1); }
.metric__v { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4vw, 56px); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.metric__v small { font-size: .55em; color: var(--acc); margin-left: 2px; }
.metric__l { margin-top: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); }
.case__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; }
.case__col h4 { margin: 0 0 12px; }
.case__col p { color: var(--ink); font-size: 17px; line-height: 1.6; margin-bottom: 28px; max-width: 60ch; }
.case__col .tags { padding-bottom: 0; }
.case__features { display: flex; flex-direction: column; gap: 0; counter-reset: f; }
.case__features li { counter-increment: f; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--ink); }
.case__features li::before { content: counter(f, decimal-leading-zero); font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--acc); padding-top: 4px; }
.case__shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.case__shots figure { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); aspect-ratio: 16/10; }
.case__shots img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .8s var(--ease); }
.case__shots figure:hover img { transform: scale(1.04); }
.case__foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid var(--line); }
body.case-open { overflow: hidden; }
@media (max-width: 900px) { .case__nav { display: none; } .case__metrics { grid-template-columns: 1fr 1fr; } .case__grid { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 520px) { .case__metrics { grid-template-columns: 1fr; } .case__back span:last-child { display: none; } .case__back { padding-right: 10px; } }

/* ---------- about ---------- */
.about { padding: 18vh var(--gutter); }
.about__label { display: block; margin-bottom: 28px; }
.about__text { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 4.2vw, 64px); line-height: 1.12; letter-spacing: -.03em; max-width: 1200px; }
.about__text .w { display: inline-block; color: rgba(241,240,234,.42); transition: color .2s; }
.about__text .w.on { color: var(--ink); }
.about__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 12vh; }
.fact { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); transform-style: preserve-3d; transition: border-color .4s; overflow: hidden; }
.fact::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--acc-glow),.14), transparent 45%); opacity: 0; transition: opacity .4s; }
.fact:hover::before { opacity: 1; }
.fact:hover { border-color: rgba(var(--acc-glow),.5); }
.fact__k { display: block; margin-bottom: 16px; color: var(--acc); }
.fact p { color: var(--ink-dim); font-size: 15px; }
.stack { margin-top: 8vh; }
.stack__head { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.stack__stage { position: relative; height: clamp(420px, 60vh, 560px); margin-top: 24px; perspective: 1400px; perspective-origin: 40% 40%; overflow: hidden; }
.stack__fan { position: absolute; left: 44%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: translate3d(-50%, -50%, 0) rotateX(10deg) rotateY(-24deg); animation: fanDrift 22s ease-in-out infinite alternate; }
@keyframes fanDrift { from { transform: translate3d(-50%, -50%, 0) rotateX(10deg) rotateY(-24deg) translateX(60px); } to { transform: translate3d(-50%, -50%, 0) rotateX(10deg) rotateY(-24deg) translateX(-60px); } }
.deck { position: absolute; left: 0; top: 0; width: 230px; height: 400px; margin: -200px 0 0 -115px; border-radius: 26px; background: linear-gradient(170deg, #1a1a1d 0%, #0f0f11 60%, #141416 100%); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 80px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08); padding: 22px 18px; display: flex; flex-direction: column; gap: 12px; transform: translate3d(var(--dx), var(--dy), var(--dz)) rotateY(var(--ry)); animation: deckFloat 6s ease-in-out infinite; animation-delay: var(--delay); will-change: transform; }
@keyframes deckFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.deck::before { content: ''; position: absolute; left: 50%; top: 10px; width: 54px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.14); transform: translateX(-50%); }
.deck::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, rgba(255,255,255,.14) 0%, transparent 35%); pointer-events: none; }
.deck--hot { background: linear-gradient(170deg, #2a0c11 0%, #140a0c 60%, #1b0d10 100%); border-color: rgba(227,19,43,.5); }
.deck__head { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.deck__cat { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -.02em; color: #fff; }
.deck__count { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: var(--acc); }
.deck__list { display: flex; flex-direction: column; gap: 6px; }
.deck__list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.05); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; color: rgba(255,255,255,.85); }
.deck__list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); flex: 0 0 auto; }
.deck__bar { margin-top: auto; height: 4px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.deck__bar i { display: block; height: 100%; width: var(--w, 70%); background: var(--acc); border-radius: 2px; }
.deck__foot { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; color: rgba(255,255,255,.45); }
@media (max-width: 760px) { .stack__stage { height: 420px; perspective: 900px; perspective-origin: 50% 40%; } .deck { width: 190px; height: 340px; margin: -170px 0 0 -95px; padding: 18px 14px; } .deck__list li { font-size: 10.5px; padding: 6px 8px; } }
@media (prefers-reduced-motion: reduce) { .stack__fan, .deck { animation: none; } }

/* ---------- services: 3D carousel ---------- */
.services { padding: 10vh var(--gutter) 16vh; overflow: hidden; }
.svc3d { margin-top: 20px; }
.svc3d__stage { position: relative; height: 500px; perspective: 1400px; perspective-origin: 50% 50%; }
.svc3d__ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.scard { position: absolute; left: -150px; top: -220px; width: 300px; height: 440px; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; background: rgba(16,16,18,.96); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 8px 32px rgba(0,0,0,.45); backface-visibility: hidden; cursor: pointer; transition: transform .5s cubic-bezier(.23,1,.32,1), box-shadow .4s, border-color .4s; }
.scard__media { position: relative; height: 56%; overflow: hidden; }
.scard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform .8s var(--ease); }
.scard__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(14,14,16,.95) 100%); }
.scard__tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; padding: 5px 10px; border-radius: 6px; background: rgba(227,19,43,.9); color: #fff; }
.scard__body { position: relative; z-index: 3; padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.scard__title { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; line-height: 1.15; color: #fff; }
.scard__desc { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.6); }
.scard__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--acc); opacity: .7; transition: opacity .35s ease .1s, transform .35s ease .1s; }
.scard:hover, .scard.is-active:hover { border: 2px solid var(--acc); box-shadow: 0 10px 40px rgba(0,0,0,.6), 0 0 20px 2px rgba(227,19,43,.5), 0 0 50px 5px rgba(227,19,43,.3); }
.scard.is-active { border-color: rgba(227,19,43,.5); box-shadow: 0 12px 40px rgba(0,0,0,.55), 0 0 28px 2px rgba(227,19,43,.25); }
.scard:hover .scard__cta { opacity: 1; transform: translateX(4px); }
.scard:hover .scard__media img { transform: scale(1.1); }
.scard::after { content: ''; position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; transition: opacity .5s; z-index: 4; }
.scard:not(.is-active)::after { opacity: .45; }
.svc3d__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(14,14,16,.85); color: var(--ink); font-size: 18px; display: grid; place-items: center; z-index: 5; transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.svc3d__arrow--l { left: 0; } .svc3d__arrow--r { right: 0; }
.svc3d__arrow:hover { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); transform: translateY(-50%) scale(1.08); }
.svc3d__dots { display: flex; justify-content: center; gap: 2px; margin-top: 10px; }
.svc3d__dots button { position: relative; width: 24px; height: 24px; background: none; }
.svc3d__dots button::after { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--ink-faint); transition: width .4s var(--ease), margin .4s var(--ease), background .3s; }
.svc3d__dots button.is-on { width: 44px; }
.svc3d__dots button.is-on::after { width: 28px; margin-left: -14px; border-radius: 4px; background: var(--acc); }
/* service plans panel + arc-flow carousel */
.splan { position: fixed; inset: 0; z-index: 945; background: var(--bg); display: flex; flex-direction: column; clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); pointer-events: none; }
.splan.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.splan__body { flex: 1; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.splan__head { padding: 3vh var(--gutter) 0; display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'tag tag' 'title desc' 'meta meta'; column-gap: 40px; row-gap: 8px; align-items: end; }
.splan__head > .mono:first-child { grid-area: tag; } .splan__title { grid-area: title; } .splan__desc { grid-area: desc; max-width: 46ch; } .splan__meta { grid-area: meta; }
@media (max-width: 900px) { .splan__head { grid-template-areas: 'tag' 'title' 'desc' 'meta'; grid-template-columns: 1fr; } }
.splan__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4.2vw, 58px); letter-spacing: -.04em; line-height: .95; }
.splan__desc { font-size: 15px; color: var(--ink-dim); line-height: 1.5; }
.splan__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.arc { position: relative; flex: 1; min-height: 420px; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; }
.arc.is-drag { cursor: grabbing; }
.arc__disc { position: absolute; left: 50%; border-radius: 50%; transform: translateX(-50%); pointer-events: none; background: radial-gradient(circle at 50% 0%, rgba(227,19,43,.18), rgba(227,19,43,.03) 40%, transparent 65%); border: 1px solid rgba(255,255,255,.06); }
.arc__cards { position: absolute; inset: 0; }
.pcard { position: absolute; top: 0; left: 0; will-change: transform; }
.pcard__in { position: relative; width: 100%; height: 100%; border-radius: 22px; background: #141416; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 70px rgba(0,0,0,.55); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px; font-family: var(--font-body); color: #fff; overflow: hidden; transition: border-color .3s, box-shadow .3s, transform .5s var(--ease); }
.pcard:hover .pcard__in { border-color: rgba(227,19,43,.7); box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 40px rgba(227,19,43,.25); transform: translateY(-6px); }
.pcard--hot .pcard__in { background: linear-gradient(180deg, #1c0b0e, #141416 60%); border-color: rgba(227,19,43,.6); }
.pcard__badge { position: absolute; top: 18px; right: 18px; font-family: var(--font-body); font-weight: 700; font-size: 11px; letter-spacing: .08em; padding: 6px 10px; border-radius: 999px; background: var(--acc); color: #fff; }
.pcard__name { font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.pcard__price { font-weight: 800; font-size: clamp(34px, 3.2vw, 46px); letter-spacing: -.03em; line-height: 1; color: #fff; }
.pcard__scope { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.78); font-weight: 500; }
.pcard__delivery { font-weight: 700; font-size: 13px; color: var(--acc); }
.pcard__actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.pcard__actions .btn { justify-content: center; font-weight: 700; font-size: 14px; padding: 12px 16px; }
.pcard__actions .btn--primary { background: var(--acc); color: #fff; border-color: var(--acc); }
.pcard__actions .btn--primary::before { background: var(--ink); }
.pcard__actions .btn--primary:hover { color: var(--bg); border-color: var(--ink); }
.pcard__actions .btn--ghost { border-color: rgba(255,255,255,.25); }
body.splan-open { overflow: hidden; }
@media (max-width: 900px) { .splan__head { padding-top: 3vh; } .pcard__in { padding: 20px; } }

@media (max-width: 760px) {
  .svc3d__stage { height: 480px; perspective: 900px; }
  .scard { width: 260px; height: 400px; left: -130px; top: -200px; }
  .svc3d__arrow { width: 44px; height: 44px; }
}

.engage { margin-top: 12vh; }
.engage__head { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.engage__chart { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; align-items: center; gap: clamp(24px, 6vw, 90px); }
.pie { position: relative; aspect-ratio: 1; }
.pie svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.pie__track { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 40; }
.pie__seg { fill: none; stroke-width: 40; stroke-dasharray: 0 1000; transition: stroke-width .4s var(--ease); }
.pie__seg--a { stroke: var(--acc); }
.pie__seg--b { stroke: var(--ink); }
.pie:hover .pie__seg { stroke-width: 46; }
.pie__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; pointer-events: none; }
.pie__center b { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 5vw, 64px); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.pie__legend { display: flex; flex-direction: column; gap: 14px; }
.pie__legend li { display: grid; grid-template-columns: 14px auto 1fr; align-items: center; gap: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); transition: transform .5s var(--ease), border-color .4s; }
.pie__legend li:hover { transform: translateX(8px); border-color: rgba(241,240,234,.35); }
.pie__legend b { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4vw, 52px); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.pie__legend b em { font-style: normal; font-size: .5em; color: var(--ink-dim); margin-left: 2px; }
.pie__dot { width: 14px; height: 14px; border-radius: 50%; }
.pie__dot--a { background: var(--acc); }
.pie__dot--b { background: var(--ink); }
@media (max-width: 700px) { .engage__chart { grid-template-columns: 1fr; } .pie { max-width: 260px; margin: 0 auto; } }

/* ---------- writing: curved fabric rail ---------- */
.writing { padding: 0 0 14vh; overflow: hidden; }
.writing .sec-head { margin: 0 var(--gutter); }
.rail-stage { position: relative; height: clamp(460px, 72vh, 680px); margin-top: 10px; perspective: 1600px; perspective-origin: 50% 45%; user-select: none; touch-action: pan-y; cursor: grab; --ww: clamp(240px, 23vw, 330px); --wh: calc(var(--ww) * 1.32); }
.rail-stage.is-drag { cursor: grabbing; }
.rail-glow { position: absolute; left: 50%; top: 50%; width: 80%; height: 70%; transform: translate(-50%, -50%); background: radial-gradient(ellipse at 50% 50%, rgba(227,19,43,.16) 0%, rgba(255,255,255,.04) 35%, transparent 70%); pointer-events: none; }
.rail { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.wcard { position: absolute; left: 0; top: 0; width: var(--ww); height: var(--wh); margin: calc(var(--wh) / -2) 0 0 calc(var(--ww) / -2); border-radius: 20px; overflow: hidden; background: #141415; box-shadow: 0 30px 70px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08); will-change: transform; transform-style: preserve-3d; backface-visibility: hidden; display: block; color: #fff; }
.wcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform .9s var(--ease); }
.wcard:hover .wcard__img { transform: scale(1.14); }
.wcard::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.05) 35%, rgba(0,0,0,.9) 100%); }
.wcard__glare { position: absolute; inset: -40%; z-index: 2; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.35) 0%, rgba(255,255,255,.08) 22%, transparent 48%); opacity: var(--glare, .35); }
.wcard__dim { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: #000; opacity: var(--dim, 0); }
.wcard__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.wcard__num { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--acc); }
.wcard__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 1.5vw, 22px); letter-spacing: -.02em; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wcard__meta { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: rgba(255,255,255,.6); }
.wcard__read { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: 14px; transition: background .3s, transform .4s var(--ease); }
.wcard:hover .wcard__read { background: var(--acc); transform: rotate(-45deg); }
.rail-hint { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); pointer-events: none; white-space: nowrap; }
body.motion-off .rail-stage { cursor: default; }
@media (max-width: 760px) { .rail-stage { height: 460px; --ww: 200px; perspective: 1000px; } .rail-hint { font-size: 9px; } .writing .sec-head { flex-wrap: wrap; } }

/* ---------- testimonials ---------- */
.testi { padding: 0 0 16vh; }
.testi .sec-head, .testi__intro, .testi__hint { margin-left: var(--gutter); margin-right: var(--gutter); }
.testi__intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 28px 0 40px; flex-wrap: wrap; }
.testi__lead { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.6vw, 38px); letter-spacing: -.02em; max-width: 640px; line-height: 1.15; }
.testi__rows { display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.testi__empty { margin: 0 var(--gutter) 24px; padding: 28px; border: 1px dashed rgba(255,255,255,.18); border-radius: 16px; color: var(--ink-dim); text-align: center; }
.testi__row { overflow: hidden; cursor: grab; }
.testi__row.is-drag { cursor: grabbing; }
.testi__track { display: flex; gap: 16px; width: max-content; will-change: transform; padding: 4px 0; }
.testi__hint { margin-top: 24px; text-align: center; }
.tcard { flex: 0 0 auto; width: clamp(280px, 26vw, 380px); padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); display: flex; flex-direction: column; gap: 16px; user-select: none; transition: border-color .4s, transform .5s var(--ease), background .4s; position: relative; overflow: hidden; }
.tcard::after { content: '\201C'; position: absolute; right: 18px; top: -14px; font-family: var(--font-display); font-weight: 800; font-size: 110px; line-height: 1; color: var(--ink-faint); pointer-events: none; }
.tcard:hover { border-color: rgba(var(--acc-glow),.5); transform: translateY(-4px); background: #171717; }
.stars { font-size: 15px; letter-spacing: 2px; color: var(--ink-faint); position: relative; display: inline-block; line-height: 1; }
.stars::before { content: '★★★★★'; position: absolute; left: 0; top: 0; color: var(--acc); width: calc(var(--r, 5) / 5 * 100%); overflow: hidden; white-space: nowrap; letter-spacing: 2px; }
.tcard__text { font-size: 15px; line-height: 1.55; color: var(--ink); flex: 1; }
.tcard__who { display: flex; align-items: center; gap: 12px; }
.tcard__who b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.tcard__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--acc-ink); background: hsl(var(--hue, 355) 72% 42%); color: #fff; flex: 0 0 auto; }

/* modal */
.tmodal { position: fixed; inset: 0; z-index: 950; display: grid; place-items: center; padding: 20px; pointer-events: none; }
.tmodal__backdrop { position: absolute; inset: 0; background: rgba(5,5,6,.88); opacity: 0; transition: opacity .4s; }
.tmodal__panel { position: relative; width: min(1040px, 100%); max-height: calc(100svh - 40px); overflow: auto; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; display: grid; grid-template-columns: 1.15fr .85fr; transform: translateY(40px) scale(.97); opacity: 0; transition: transform .7s var(--ease), opacity .5s; }
.tmodal.is-open { pointer-events: auto; }
.tmodal.is-open .tmodal__backdrop { opacity: 1; }
.tmodal.is-open .tmodal__panel { transform: none; opacity: 1; }
.tmodal__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); z-index: 2; background: var(--bg); transition: background .3s, transform .5s var(--ease); }
.tmodal__close span { position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%) rotate(45deg); }
.tmodal__close span + span { transform: translate(-50%, -50%) rotate(-45deg); }
.tmodal__close:hover { background: var(--acc); transform: rotate(90deg); }
.tmodal__close:hover span { background: var(--acc-ink); }
.tmodal__form { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.tmodal__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4vw, 52px); letter-spacing: -.04em; line-height: .95; margin-bottom: 8px; }
.tmodal__title em { font-weight: 500; font-style: italic; color: var(--acc); }
#testiForm { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.photo { display: flex; align-items: center; gap: 12px; }
.photo__thumb { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-dim); font-family: var(--font-display); font-weight: 800; overflow: hidden; flex: 0 0 auto; }
.photo__thumb img, .tcard__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo__btn { cursor: pointer; }
.photo__clear { color: var(--ink-dim); font-size: 11px; letter-spacing: .08em; }
.photo__clear:hover { color: var(--acc); }
.field > .mono { display: flex; justify-content: space-between; }
.field > .mono i { font-style: normal; }
.field input, .field textarea { font: inherit; font-size: 15px; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; outline: none; transition: border-color .3s, box-shadow .3s; cursor: text; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(var(--acc-glow),.15); }
.field input::placeholder, .field textarea::placeholder { color: rgba(241,240,234,.3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.stars--pick { display: flex; gap: 4px; }
.stars--pick::before { display: none; }
.stars--pick button { font-size: 30px; line-height: 1; color: var(--ink-faint); transition: color .2s, transform .3s var(--ease); }
.stars--pick button.is-on { color: var(--acc); }
.stars--pick button:hover { transform: scale(1.2) rotate(-8deg); }
.tmodal__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.tmodal__note { font-size: 10px; }
.tmodal__err { color: #ff7a7a; min-height: 1em; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.tmodal__preview { padding: clamp(24px, 4vw, 48px); background: var(--bg-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.tcard--preview { width: 100%; background: var(--bg); }
.tcard--preview:hover { transform: none; }
.tmodal__thanks { line-height: 1.6; }
.tmodal__done { display: flex; flex-direction: column; gap: 14px; padding: 20px 0; animation: faqIn .6s var(--ease-out); }
.tmodal__done h4 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.5vw, 44px); letter-spacing: -.04em; line-height: 1; }
.tmodal__done p { color: var(--ink-dim); max-width: 420px; }
.tmodal__done .btn { align-self: flex-start; margin-top: 8px; }
.btn:disabled { opacity: .6; pointer-events: none; }
body.modal-open { overflow: hidden; }
@media (max-width: 860px) { .tmodal__panel { grid-template-columns: 1fr; } .tmodal__preview { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- faq: 3D fan ---------- */
.faq { padding: 0 var(--gutter) 16vh; overflow: hidden; }
.faqfan { display: grid; grid-template-columns: minmax(280px, .85fr) 1.15fr; gap: 32px; align-items: center; margin-top: 24px; }
.faqfan__answer { display: flex; flex-direction: column; gap: 16px; min-height: 320px; justify-content: center; }
.faqfan__q { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -.03em; line-height: 1.05; }
.faqfan__a { font-size: 17px; line-height: 1.6; color: var(--ink-dim); max-width: 52ch; }
.faqfan__nav { display: flex; gap: 10px; margin-top: 8px; }
.faqfan__scene { position: relative; height: clamp(440px, 62vh, 600px); perspective: 1500px; perspective-origin: 50% 45%; cursor: grab; user-select: none; touch-action: pan-y; }
.faqfan__scene.is-drag { cursor: grabbing; }
.faqfan__group { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.fcard { position: absolute; left: 0; top: 0; width: var(--fw, 250px); height: var(--fh, 340px); margin-top: calc(var(--fh, 340px) / -2); transform-origin: 0 50%; transform-style: preserve-3d; backface-visibility: hidden; border-radius: 0 22px 22px 0; padding: 22px 22px 22px 26px; text-align: left; display: flex; flex-direction: column; gap: 10px; color: #fff; background: linear-gradient(135deg, #1b1b1e 0%, #111113 55%, #19191c 100%); border: 1px solid rgba(255,255,255,.12); border-left: 3px solid rgba(255,255,255,.18); box-shadow: 0 30px 60px rgba(0,0,0,.6); cursor: pointer; transition: box-shadow .4s, border-color .4s, background .4s; will-change: transform; }
.fcard::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(100deg, rgba(255,255,255,.14) 0%, transparent 40%); pointer-events: none; opacity: var(--spec, .5); }
.fcard__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--acc); }
.fcard__q { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.02em; line-height: 1.15; }
.fcard__cta { margin-top: auto; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.55); transition: color .3s; }
.fcard:hover { border-color: rgba(227,19,43,.6); box-shadow: 0 30px 60px rgba(0,0,0,.6), 0 0 36px rgba(227,19,43,.25); }
.fcard:hover .fcard__cta { color: var(--acc); }
.fcard.is-active { background: linear-gradient(135deg, #2a0b10 0%, #160a0c 55%, #1f0c10 100%); border-color: rgba(227,19,43,.8); border-left-color: var(--acc); box-shadow: 0 30px 70px rgba(0,0,0,.65), 0 0 50px rgba(227,19,43,.35); }
.fcard.is-active .fcard__cta { color: var(--acc); }
.fcard:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.fcard--l { transform-origin: 100% 50%; border-radius: 22px 0 0 22px; border-left: 1px solid rgba(255,255,255,.12); border-right: 3px solid rgba(255,255,255,.18); padding: 22px 26px 22px 22px; }
.fcard--l.is-active { border-right-color: var(--acc); }
.faq__plain dt { font-weight: 700; margin-top: 16px; } .faq__plain dd { color: var(--ink-dim); margin: 6px 0 0; }
@media (max-width: 900px) { .faqfan { grid-template-columns: 1fr; } .faqfan__scene { height: 400px; perspective: 1000px; --fw: 165px; --fh: 240px; order: -1; } .fcard { padding: 16px; } .fcard__q { font-size: 15px; } .faqfan__answer { min-height: 0; } }
.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; }

/* ---------- contact ---------- */
.contact { position: relative; background: radial-gradient(120% 90% at 85% 0%, #b3121f 0%, #7a0b18 40%, #3f0710 100%); color: #0a0a0b; padding: 16vh var(--gutter) var(--gutter); overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; }
.contact .mono { color: rgba(0,0,0,.6); }
.contact__label { display: block; margin-bottom: 22px; }
.contact__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, (100vw - 2 * var(--gutter)) * .2297, 320px); width: 100%; line-height: .86; letter-spacing: -.05em; }
.contact__line { display: block; overflow: hidden; padding-bottom: .05em; white-space: nowrap; }
.contact__it { font-weight: 500; font-style: italic; }
.contact__title .ch { display: inline-block; transform: translateY(110%); }
.contact__sub { margin-top: 36px; max-width: 520px; font-size: 18px; color: rgba(0,0,0,.8); }
.contact__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.contact .btn { border-color: rgba(0,0,0,.45); color: #0a0a0b; }
.contact .btn--primary { background: #0a0a0b; color: #fff; border-color: #0a0a0b; }
.contact .btn::before { background: #fff; }
.contact .btn:hover { color: #0a0a0b; border-color: #fff; }
.contact__links { margin-top: 60px; display: flex; flex-wrap: wrap; gap: 28px; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.contact [data-hover] .sw + .sw { color: #fff; }
.contact__foot { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 40px; margin-top: 10vh; border-top: 1px solid rgba(0,0,0,.3); }
.contact__foot button { color: inherit; }
.contact__ghost::before { content: attr(data-text); }
.contact__ghost { position: absolute; left: 50%; bottom: -.1em; transform: translateX(-50%); font-family: var(--font-display); font-weight: 800; font-size: 28vw; line-height: 1; letter-spacing: -.06em; color: rgba(0,0,0,.12); pointer-events: none; white-space: nowrap; }

/* ---------- reveal helpers ---------- */
[data-reveal-up] { opacity: 0; transform: translateY(40px); }

/* ---------- motion off ---------- */
body.motion-off .marquee__track, body.motion-off .grain, body.motion-off .hero__scroll-arrow { animation-play-state: paused !important; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .nav__time { display: none; }
  .nav__burger { display: block; }
  .nav .btn--sm { display: none; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__cta { justify-self: start; }
  .about__grid { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr 1fr; margin-left: 0; }
  .svc__body p { margin-left: 0; }
  .svc__row { grid-template-columns: 44px 1fr 44px; }
  .svc__from { display: none; }
  .posts a { grid-template-columns: 44px 1fr; }
  .posts a .mono:last-child { grid-column: 2; }
}
@media (max-width: 600px) {
  .about__grid { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .sec-head__toggle { display: none; }
  .contact__foot { flex-direction: column; }
  .loader__meta span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}
