/* ravitarpada.com — shared styles
   Palette: ink navy base + off-white panels + "link blue" brand + lime reserved for CTAs. */
:root {
  --ink: #070a12;
  --ink-2: #0e1424;
  --ink-3: #161e33;
  --paper: #f2f3ee;
  --paper-2: #e5e7df;
  --text: #0b0f19;
  --muted: #565c68;
  --muted-d: #9aa3b5;
  --blue: #3358ff;
  --blue-l: #8ea2ff;
  --lime: #cfff3a;
  --line-d: rgba(255, 255, 255, .1);
  --line-l: rgba(11, 15, 25, .12);
  --display: "General Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "General Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: #fff;
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  -webkit-user-select: none;
  user-select: none;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 10px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 10px; }

.wrap { max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.035em; margin: 0; }
.tag { display: inline-block; font: 500 13px/1 var(--mono); letter-spacing: .04em; color: var(--blue); margin-bottom: 22px; }
.dark .tag { color: var(--blue-l); }
.h2 { font-size: clamp(40px, 6.4vw, 92px); line-height: .95; }
.hl { color: var(--lime); }
.light .hl { color: var(--blue); }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 26px;
  border-radius: 999px;
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { transform: translateY(-2px); box-shadow: 0 10px 34px -8px rgba(207, 255, 58, .55); }
.btn-line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.light .btn-line { color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-l); }
.light .btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.btn-sm { padding: 12px 18px; font-size: 14px; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--pad);
  background: rgba(7, 10, 18, .9);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-d);
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; font: 600 19px/1 var(--display); letter-spacing: -.03em; }
.brand svg { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted-d); transition: color .2s; }
.nav-links a:hover { color: #fff; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.curtain { position: relative; }
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px 0 70px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
@media (min-width: 980px) and (min-height: 680px) {
  .curtain > .hero { position: sticky; top: 0; z-index: 0; }
}
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(48% 52% at 72% 46%, rgba(51, 88, 255, .34), transparent 70%),
    radial-gradient(26% 30% at 84% 74%, rgba(207, 255, 58, .10), transparent 70%),
    radial-gradient(40% 40% at 10% 10%, rgba(51, 88, 255, .12), transparent 70%);
}
.hero-floor {
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: -38%;
  height: 80%;
  pointer-events: none;
  transform: perspective(700px) rotateX(68deg);
  transform-origin: 50% 0;
  background-image:
    linear-gradient(rgba(142, 162, 255, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 162, 255, .16) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 60%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 60%, transparent);
}
.hero-wrap {
  position: relative;
  width: 100%;
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 980px) { .hero-wrap { grid-template-columns: 1.15fr .85fr; gap: 24px; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--line-d);
  border-radius: 999px;
  font: 500 13px/1 var(--mono);
  color: var(--muted-d);
  background: rgba(255, 255, 255, .03);
  animation: rise .9s var(--ease) both;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: pulse 2s ease-in-out infinite; }
.hero-title { font-size: clamp(40px, 4.4vw, 72px); line-height: .94; letter-spacing: -.04em; margin-bottom: 28px; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .ln > span { display: inline-block; animation: lineUp 1s var(--ease) both; }
.hero-title .ln:nth-child(2) > span { animation-delay: .08s; }
.hero-title .ln:nth-child(3) > span { animation-delay: .16s; }
.hero-lede { max-width: 30em; margin: 0 0 36px; font-size: 19px; color: var(--muted-d); animation: rise .9s var(--ease) .3s both; }
.hero-copy .actions { animation: rise .9s var(--ease) .4s both; }

/* 3D search scene */
.scene-wrap { position: relative; margin: 0; padding-top: 540px; }
.scene {
  position: absolute;
  top: 0;
  left: 50%;
  width: 540px;
  height: 540px;
  margin-left: -270px;
  perspective: 1500px;
  transform-origin: 50% 0;
}
.tilt, .rig { position: absolute; inset: 0; transform-style: preserve-3d; }
.rig { transform: rotate(7deg) rotateY(-24deg) rotateX(26deg); }
.plate {
  position: absolute;
  inset: 40px -10px -20px -10px;
  border-radius: 34px;
  background: linear-gradient(160deg, rgba(51, 88, 255, .22), rgba(14, 20, 36, .4));
  border: 1px solid rgba(142, 162, 255, .22);
  transform: translateZ(-70px);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .8);
}
.plate::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(rgba(142, 162, 255, .35) 1px, transparent 1.4px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
}
.sbar {
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 12px 0 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font: 500 17px/1 var(--mono);
  transform: translateZ(60px);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .7), 0 0 0 6px rgba(255, 255, 255, .06);
}
.sbar .mag { width: 20px; height: 20px; color: var(--blue); flex: none; }
.sbar .q { white-space: nowrap; overflow: hidden; }
.sbar .caret { width: 2px; height: 22px; background: var(--blue); margin-left: -12px; flex: none; animation: blink 1s step-end infinite; }
.sbar .enter {
  margin-left: auto;
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}
.sbar .enter svg { width: 18px; height: 18px; }

.res {
  position: absolute;
  top: 92px;
  left: 30px;
  right: 30px;
  height: 92px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(22, 30, 51, .92);
  border: 1px solid rgba(255, 255, 255, .08);
  transform: translate3d(0, calc(var(--slot) * 112px), 20px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
}
.res.ghost i, .res.ghost b, .res.ghost em { display: block; border-radius: 6px; background: rgba(255, 255, 255, .1); }
.res.ghost i { width: 38%; height: 9px; margin-bottom: 10px; }
.res.ghost b { width: 72%; height: 15px; margin-bottom: 10px; background: rgba(142, 162, 255, .28); }
.res.ghost em { width: 90%; height: 8px; }
.res.me {
  --slot: 0;
  height: 134px;
  top: 78px;
  left: 14px;
  right: 14px;
  padding: 18px 76px 18px 22px;
  background: #fff;
  color: var(--text);
  border: 0;
  transform: translate3d(0, 0, 90px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75), 0 0 0 1px rgba(51, 88, 255, .25), 0 0 60px -6px rgba(51, 88, 255, .55);
  overflow: hidden;
}
.r-url { display: flex; align-items: center; gap: 9px; font: 13px/1.2 var(--sans); color: var(--muted); white-space: nowrap; }
.r-url svg { width: 22px; height: 22px; flex: none; }
.r-title { display: block; margin: 8px 0 5px; font: 600 21px/1.12 var(--display); letter-spacing: -.02em; color: var(--blue); }
.r-snip { display: block; font-size: 14px; color: var(--muted); }
.badge {
  position: absolute;
  top: 50%;
  right: 16px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font: 500 16px/1 var(--display);
  box-shadow: 0 0 24px rgba(207, 255, 58, .6);
}
.shine {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -40%;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(51, 88, 255, .18), transparent);
  transform: translateX(-120%) skewX(-12deg);
  pointer-events: none;
}
.ripple { position: absolute; left: 60%; top: 55%; width: 40px; height: 40px; margin: -20px; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; pointer-events: none; }
.pointer { position: absolute; top: 0; left: 0; width: 34px; height: 34px; opacity: 0; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.scene-cap { position: relative; margin-top: 6px; text-align: center; font-size: 14px; color: var(--muted-d); }
.scene-cap a { color: #fff; font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--lime); }
.replay { margin-left: 6px; padding: 5px 10px; border: 1px solid var(--line-d); border-radius: 999px; background: none; color: var(--muted-d); font: 500 12px/1 var(--mono); cursor: pointer; vertical-align: 1px; }
.replay:hover { color: #fff; border-color: #fff; }

@media (max-width: 979px) {
  .hero { padding-top: 110px; }
  .scene-wrap { padding-top: 470px; }
  .scene { transform: scale(.86); }
}
@media (max-width: 560px) {
  .hero-title { font-size: 9.6vw; }
  .scene-wrap { padding-top: 372px; }
  .scene { transform: scale(.64); }
}
@media (max-width: 370px) {
  .scene-wrap { padding-top: 336px; }
  .scene { transform: scale(.57); }
}

/* ---------- panels ---------- */
.panel { position: relative; z-index: 1; padding: clamp(90px, 12vw, 150px) 0; }
.light { background: var(--paper); color: var(--text); }
.dark { background: var(--ink); color: #fff; }
.slide-over { border-radius: 36px 36px 0 0; box-shadow: 0 -30px 60px -20px rgba(0, 0, 0, .5); }

.sec-head { display: grid; gap: 22px; margin-bottom: clamp(50px, 7vw, 90px); }
@media (min-width: 900px) { .sec-head { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.sec-head p { margin: 0; max-width: 28em; font-size: 18px; color: var(--muted); }
.dark .sec-head p { color: var(--muted-d); }

/* services: pinned number */
.pin-list { display: grid; gap: 40px; }
@media (min-width: 900px) { .pin-list { grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; } }
.pin-num { display: none; }
@media (min-width: 900px) {
  .pin-num {
    --h: clamp(150px, 17vw, 240px);
    display: block;
    position: sticky;
    top: 22vh;
    height: var(--h);
    overflow: hidden;
    font: 500 var(--h)/1 var(--display);
    letter-spacing: -.04em;
    color: transparent;
    -webkit-text-stroke: 2px var(--text);
  }
  .pn-track { display: flex; flex-direction: column; transition: transform .9s cubic-bezier(.65, 0, .35, 1); }
  .pn-track span { display: block; height: var(--h); line-height: var(--h); }
}
.svc { list-style: none; margin: 0; padding: 0; }
.svc > li { padding: 40px 0 46px; border-top: 1px solid var(--line-l); }
.svc > li:last-child { border-bottom: 1px solid var(--line-l); }
.svc-n { display: block; font: 500 13px/1 var(--mono); color: var(--blue); margin-bottom: 18px; }
/* desktop: pinned stage, one service at a time */
.svc-progress { display: none; }
@media (min-width: 900px) {
  .staged .pin-num { position: relative; top: 0; }
  .svc.stage { position: relative; }
  .svc.stage > li {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-bottom: 1px solid var(--line-l);
    opacity: 0;
    transform: translateY(46px);
    transition: opacity .55s var(--ease), transform .75s var(--ease);
    pointer-events: none;
  }
  .svc.stage > li.past { transform: translateY(-46px); }
  .svc.stage > li.active { opacity: 1; transform: none; pointer-events: auto; }
  .staged .svc-progress { display: flex; gap: 8px; margin-top: 28px; }
  .svc-progress i { position: relative; flex: 1; height: 3px; border-radius: 3px; background: var(--line-l); overflow: hidden; }
  .svc-progress i::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
}
.svc h3 { font-weight: 500; font-size: clamp(32px, 4vw, 52px); line-height: 1; margin-bottom: 16px; }
.svc p { margin: 0 0 22px; max-width: 32em; font-size: 18px; color: var(--muted); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--paper-2); font-size: 14px; font-weight: 500; }

/* statement */
.statement { padding: 0; }
.stmt-sticky { padding: 140px 0; }
.js .stmt-track { height: 210vh; }
.js .stmt-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding: 0; }
.stmt { margin: 0; font: 500 clamp(36px, 5.6vw, 84px)/1.02 var(--display); letter-spacing: -.04em; max-width: 15em; }
.stmt .w { opacity: .14; transition: opacity .2s linear; }
.stmt .w.on { opacity: 1; }
.stmt em { font-style: normal; color: var(--lime); }

.story-after { padding-top: 10px; padding-bottom: clamp(100px, 12vw, 160px); }
.story-big { margin: 0 0 22px; max-width: 21em; font: 500 clamp(28px, 3.4vw, 50px)/1.14 var(--display); letter-spacing: -.03em; }
.story-big a { text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.story-sub { margin: 0; max-width: 32em; font-size: 19px; color: var(--muted-d); }

/* marquee */
.marquee { position: relative; z-index: 1; overflow: hidden; background: var(--lime); color: var(--ink); padding: 22px 0; }
.mq-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.mq-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 500 clamp(26px, 3vw, 40px)/1 var(--display); letter-spacing: -.03em; white-space: nowrap; }
.mq-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.marquee.out { background: transparent; color: var(--text); padding: 10px 0 0; }
.marquee.out .mq-track { animation-duration: 44s; animation-direction: reverse; }
.marquee.out span { font-size: clamp(54px, 8vw, 120px); color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.marquee.out span::after { background: var(--blue); width: 12px; height: 12px; }

/* proof */
.proof-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .proof-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.proof-grid .big { margin: 26px 0 14px; font: 500 clamp(22px, 2.4vw, 30px)/1.25 var(--display); letter-spacing: -.02em; max-width: 18em; }
.proof-grid .hint { margin: 0; color: var(--muted); font: 500 14px/1 var(--mono); }

.flip {
  appearance: none;
  display: block;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 5 / 4;
  justify-self: center;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  perspective: 1400px;
}
.flip-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.flip[aria-pressed="true"] .flip-inner { transform: rotateY(180deg); }
.face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 28px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
}
.face.front { background: var(--ink); color: #fff; box-shadow: 0 40px 80px -40px rgba(7, 10, 18, .6); }
.face.front::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 70% at 80% 20%, rgba(51, 88, 255, .5), transparent 70%);
}
.face.back { background: var(--blue); color: #fff; transform: rotateY(180deg); box-shadow: 0 40px 80px -40px rgba(51, 88, 255, .7); }
.f-kicker { position: relative; display: block; font: 500 13px/1 var(--mono); letter-spacing: .04em; opacity: .75; }
.f-big { position: relative; display: block; font: 500 clamp(38px, 5vw, 68px)/.95 var(--display); letter-spacing: -.04em; }
.f-big mark { background: none; color: var(--lime); }
.f-small { position: relative; display: block; font-size: 15px; line-height: 1.45; opacity: .92; max-width: 26em; }
.f-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tap {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  flex: none;
  animation: nudge 2.4s var(--ease) infinite;
  transition: transform .3s var(--ease);
}
.tap svg { width: 26px; height: 26px; }
.flip:hover .tap { animation: none; transform: rotate(-40deg) scale(1.06); }
.burst { position: fixed; z-index: 70; width: 10px; height: 10px; border-radius: 50%; pointer-events: none; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(70px, 9vw, 110px); background: var(--line-l); border: 1px solid var(--line-l); border-radius: 22px; overflow: hidden; }
.stat { background: var(--paper); padding: clamp(22px, 3vw, 34px); }
.stat b { display: block; font: 500 clamp(40px, 6vw, 80px)/1 var(--display); letter-spacing: -.04em; }
.stat span { display: block; margin-top: 10px; font-size: 15px; color: var(--muted); }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }

/* how */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); border-radius: 24px; overflow: hidden; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; background: var(--ink); padding: 34px 28px 40px; min-height: 300px; display: flex; flex-direction: column; transition: background .35s; }
.steps li:hover { background: var(--ink-2); }
.steps .n { font: 500 64px/1 var(--display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--blue-l); margin-bottom: auto; padding-bottom: 40px; transition: color .35s; }
.steps li:hover .n { color: var(--blue-l); }
.steps h3 { font-size: 26px; font-weight: 600; line-height: 1.05; margin-bottom: 12px; }
.steps p { margin: 0; color: var(--muted-d); font-size: 16px; }

/* guarantee */
.guarantee {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: center;
  margin-top: 56px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(51, 88, 255, .28), rgba(14, 20, 36, .9) 60%);
  border: 1px solid rgba(207, 255, 58, .35);
  overflow: hidden;
}
@media (min-width: 900px) { .guarantee { grid-template-columns: auto 1fr auto; gap: 40px; } }
.g-seal { width: 150px; height: 150px; flex: none; }
.g-spin { transform-origin: 80px 80px; animation: spin 18s linear infinite; }
.g-spin text { font: 500 11.5px var(--mono); letter-spacing: .16em; fill: var(--lime); }
.g-num { font: 600 46px var(--display); fill: #fff; letter-spacing: -.04em; }
.g-days { font: 500 11px var(--mono); letter-spacing: .2em; fill: var(--muted-d); }
.g-kicker { margin: 0 0 10px; font: 500 13px/1 var(--mono); color: var(--lime); letter-spacing: .04em; }
.g-title { margin: 0 0 12px; font-size: clamp(28px, 3vw, 42px); line-height: 1.05; }
.g-text { margin: 0; max-width: 36em; font-size: 17px; color: var(--muted-d); }
@keyframes spin { to { transform: rotate(360deg); } }

/* where */
.where { padding-bottom: 60px; overflow: hidden; }
.where-big { font-size: clamp(40px, 6vw, 86px); line-height: .98; max-width: 13em; }
@media (min-width: 980px) and (min-height: 680px) {
  .curtain > .where { position: sticky; top: 0; z-index: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  .curtain > .where > .wrap { width: 100%; }
}

/* contact */
.contact { overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(50% 60% at 85% 30%, rgba(51, 88, 255, .35), transparent 70%);
}
.contact .wrap { position: relative; }
.contact-big { font-size: clamp(50px, 8.4vw, 128px); line-height: .92; letter-spacing: -.04em; max-width: 9.5em; margin-bottom: 30px; }
.contact p { margin: 0 0 40px; max-width: 32em; font-size: 19px; color: var(--muted-d); }

/* footer */
.foot { position: relative; z-index: 1; background: var(--ink); color: var(--muted-d); border-top: 1px solid var(--line-d); overflow: hidden; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; padding-top: 34px; padding-bottom: 10px; font-size: 14px; }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot-row a { text-decoration: none; color: #fff; }
.foot-row a:hover { color: var(--lime); }
.giant {
  display: block;
  padding: 0 var(--pad);
  margin-bottom: -.2em;
  font: 500 18.4vw/1 var(--display);
  letter-spacing: -.04em;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(142, 162, 255, .15) 78%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}

/* ---------- article page ---------- */
.page-head { position: relative; padding: 130px 0 70px; overflow: hidden; }
.page-head .hero-wrap { align-items: center; }
@media (min-width: 980px) { .page-head .page-title { font-size: clamp(48px, 5.6vw, 92px); } }
.crumb { position: relative; margin: 0 0 26px; font: 500 13px/1.4 var(--mono); color: var(--muted-d); }
.crumb a { color: #fff; }
.page-title { position: relative; font-size: clamp(50px, 8.6vw, 128px); line-height: .92; letter-spacing: -.04em; max-width: 9em; }
.article { padding: clamp(70px, 9vw, 110px) 0 clamp(90px, 10vw, 130px); }
.prose { max-width: 720px; margin: 0 auto; }
.prose p, .prose li { font-size: 19px; line-height: 1.7; color: #23283a; }
.prose p { margin: 0 0 22px; }
.prose .first { font: 500 clamp(24px, 2.6vw, 32px)/1.3 var(--display); letter-spacing: -.02em; color: var(--text); }
.prose h2 { margin: 70px 0 18px; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.02; }
.prose ul { padding-left: 1.2em; margin: 0 0 24px; }
.prose li { margin-bottom: 10px; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue); text-underline-offset: 3px; }
.prose img { width: 100%; height: auto; border-radius: 24px; margin: 0 0 54px; background: var(--paper-2); }
.prose .flip { margin: 44px auto 60px; }

/* ---------- JS-driven initial states (undone by .no-anim fallback) ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.steps li:nth-child(2) { transition-delay: .08s; }
.steps li:nth-child(3) { transition-delay: .16s; }
.steps li:nth-child(4) { transition-delay: .24s; }
.js .scene .sbar, .js .scene .res, .js .scene .rig { opacity: 0; }

/* ---------- motion ---------- */
@keyframes lineUp { from { transform: translateY(105%); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 50% { opacity: .45; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes nudge { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-24deg); } 90% { transform: rotate(8deg); } }

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