/* ── Rohan Raj Kulkarni's portfolio in the Vaksy design system ──
   Editorial × Tactile × Restrained Indian Modernism.
   White paper, ink scale, saffron used only as punctuation.
   Tokens mirror vaksy/01-prototypes-html + src/theme/tokens.ts.  */

:root {
  --bg:          #FFFFFF;
  --soft:        #FAFAFA;
  --ink:         #0A0B0F;
  --ink-80:      rgba(10,11,15,0.80);
  --ink-60:      rgba(10,11,15,0.55);
  --ink-40:      rgba(10,11,15,0.40);
  --line:        rgba(10,11,15,0.06);
  --line-strong: rgba(10,11,15,0.14);

  --saffron:      #EA580C;
  --saffron-deep: #C2410C;

  --shadow-md: 0 4px 24px rgba(10,11,15,0.05), 0 1px 4px rgba(10,11,15,0.04);
  --shadow-lg: 0 20px 60px rgba(10,11,15,0.10), 0 4px 12px rgba(10,11,15,0.06);

  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --sans:  "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --radius:    18px;
  --radius-sm: 14px;
  --pad: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ── shared type idioms ─────────────────────────────────────── */
.display {
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.display em, .cta em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.04em;
  letter-spacing: -0.01em;
}
.serif { font-family: var(--serif); font-size: 1.08em; color: var(--ink); }
.flow-eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--saffron);
  margin-bottom: 18px;
}
.arr { color: var(--saffron); transition: transform 0.15s ease; display: inline-block; }
a:hover .arr, button:hover .arr { transform: translate(2px, -1px); }

.live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 8px rgba(234,88,12,0.45);
  display: inline-block;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.45; } }

/* ── topbar ─────────────────────────────────────────────────── */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.3s ease;
}
body.scrolled-down .topbar { transform: translateY(-100%); }
.mark {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; letter-spacing: 0.02em; font-size: 15px;
}
.mark .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--saffron);
}
.topbar nav { display: flex; gap: 26px; }
.topbar nav a { font-size: 14px; font-weight: 500; color: var(--ink-60); transition: color 0.15s; }
.topbar nav a:hover { color: var(--ink); }
.ig { font-family: var(--mono); font-size: 12px; color: var(--ink-80); }

/* ── hero ───────────────────────────────────────────────────── */
.hero {
  /* fill the first screen exactly, leaving room for the ticker below */
  min-height: calc(100svh - 52px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 118px var(--pad) 56px;
  position: relative;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 0%, rgba(234,88,12,0.08), transparent 70%);
  z-index: -1;
}
.hero > * { animation: heroReveal 0.7s var(--ease-out-expo) both; }
.hero .eyebrow { animation-delay: 80ms; }
.hero h1 { animation-delay: 150ms; }
.hero .hero-sub { animation-delay: 230ms; }
.hero .cta-row { animation-delay: 300ms; }
.hero .cta-meta { animation-delay: 360ms; }
.hero .hero-creds { animation-delay: 420ms; }
@keyframes heroReveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-creds { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hero-creds span {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-40);
  padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px;
}
.avatar {
  width: 112px; height: 112px; border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
  animation: heroReveal 0.7s var(--ease-out-expo) both, floatY 4.5s ease-in-out infinite 0.7s;
}
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }

/* ── hero backdrop: Shivaji Maharaj (left) and Netaji Bose (right)
   as independent halves so each figure is framed on its own; the
   halves overlap and cross-fade at center, and the whole layer
   fades out at the bottom edge. */
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  opacity: 0.55;
  pointer-events: none;
  mask-image: linear-gradient(#000 62%, transparent 98%);
  -webkit-mask-image: linear-gradient(#000 62%, transparent 98%);
  animation: none;
}
.hero-bg i {
  position: absolute; top: 0; bottom: 0;
  display: block;
}
.hb-l {
  left: 0; width: 52%;
  background: url("assets/hero-legacy-l.jpg") center 28% / cover no-repeat;
  mask-image: linear-gradient(to right, #000 78%, transparent);
  -webkit-mask-image: linear-gradient(to right, #000 78%, transparent);
}
.hb-r {
  right: 0; width: 44%;
  background: url("assets/hero-legacy-r.jpg") right 0% / cover no-repeat;
  mask-image: radial-gradient(130% 110% at 96% 55%, #000 50%, transparent 82%);
  -webkit-mask-image: radial-gradient(130% 110% at 96% 55%, #000 50%, transparent 82%);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  font-size: 13.5px; font-weight: 500;
  color: var(--ink-80);
}
.eyebrow .serif { font-size: 15px; }
.hero h1 {
  font-size: clamp(42px, 7.2vw, 90px);
  margin-bottom: 26px;
  max-width: 16ch;
}
.hero-sub {
  font-size: clamp(17px, 1.5vw, 19.5px);
  color: var(--ink-60);
  max-width: 48ch;
  text-wrap: pretty;
  margin-bottom: 40px;
}
.cta-row { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn {
  padding: 14px 26px; min-height: 44px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary .arr { color: #fff; opacity: 0.8; }
.btn-primary:hover { transform: translateY(-1px); background: #050505; box-shadow: 0 8px 24px rgba(10,11,15,0.18); }
.btn-secondary { background: #fff; border: 1px solid var(--line-strong); }
.btn-secondary:hover { background: var(--soft); }
.cta-meta { margin-top: 18px; font-size: 13px; color: var(--ink-40); letter-spacing: 0.01em; }
.cta-meta a { text-decoration: underline; text-underline-offset: 2px; color: var(--ink-80); }

/* ── marquee ────────────────────────────────────────────────── */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 13px 0;
  background: var(--soft);
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 28px;
  width: max-content;
  animation: slide 46s linear infinite;
  font-family: var(--mono);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-40);
  white-space: nowrap;
}
.marquee-track b { color: var(--saffron); font-weight: 500; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── featured film ──────────────────────────────────────────── */
.feature {
  position: relative;
  isolation: isolate;
  display: grid; grid-template-columns: minmax(280px, 400px) 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(40px, 5vw, 64px) var(--pad);
  max-width: 1160px; margin: 0 auto;
}
.feature::before {
  content: "";
  position: absolute; inset: -8% -4%;
  background: radial-gradient(50% 60% at 25% 30%, rgba(234,88,12,0.10), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.feature .frame {
  width: 100%;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s var(--ease-out-expo);
  padding: 0;
}
.feature .frame:hover { --lift: -5px; box-shadow: 0 28px 70px rgba(10,11,15,0.16); }
.feature .tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono);
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--saffron);
  margin-bottom: 16px;
}
.feature h3 {
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 400; letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 14px;
  max-width: 22ch;
}
.feature .sub { color: var(--ink-60); font-size: 16.5px; max-width: 46ch; margin-bottom: 30px; }

/* ── section heads ──────────────────────────────────────────── */
.work, .stills, .impact { padding: clamp(64px, 9vw, 120px) var(--pad); max-width: 1160px; margin: 0 auto; }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(34px, 4.8vw, 56px); margin-bottom: 16px; }
.section-sub { color: var(--ink-60); font-size: 16.5px; text-wrap: pretty; }

/* filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.filters button {
  padding: 9px 16px; min-height: 38px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  background: #fff;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.filters button:hover { background: var(--soft); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── reel cards ─────────────────────────────────────────────── */
.reel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}
.card {
  text-align: left;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: 0;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.shot { position: relative; overflow: hidden; background: var(--soft); }
.shot img { width: 100%; height: auto; }
.shot video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.25s ease;
}
.card.playing video { opacity: 1; }
.idx, .badge {
  position: absolute; top: 10px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  color: var(--ink-80);
}
.idx { left: 10px; }
.badge { right: 10px; }
.shot .cap {
  position: absolute; inset: auto 0 0;
  padding: 44px 16px 14px;
  background: linear-gradient(transparent, rgba(10,11,15,0.72));
  color: #fff;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  line-height: 1.3;
}
.card .foot {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-40);
}
.card .foot .rule { flex: 1; border-top: 1px solid var(--line); }

/* ── stills ─────────────────────────────────────────────────── */
.still-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
  align-items: start;
}
.still { text-align: left; padding: 0; }
.still .shot {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.still:hover .shot { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.still .cap { margin-top: 12px; font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em; }
.still .foot {
  margin-top: 4px;
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-40);
}

/* ── series + experience + camera + press ───────────────────── */
.series, .xp, .camera, .press { padding: clamp(64px, 9vw, 120px) var(--pad); max-width: 1160px; margin: 0 auto; }
.series {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 460px);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  padding-block: clamp(40px, 5vw, 64px);
}
.series-poster { order: 2; }

/* cross slide-in: media glides from its side, text from the other */
.feature .frame,
.series-poster {
  transition:
    translate 0.9s var(--ease-out-expo),
    opacity 0.9s var(--ease-out-expo),
    transform 0.25s var(--ease-out-expo),
    box-shadow 0.25s var(--ease-out-expo);
}
.feature.reveal:not(.in-view) .frame { translate: -56px 0; opacity: 0; }
.series.reveal:not(.in-view) .series-poster { translate: 56px 0; opacity: 0; }
.feature > div:last-child,
.series-body {
  transition:
    translate 0.9s var(--ease-out-expo) 0.1s,
    opacity 0.9s var(--ease-out-expo) 0.1s;
}
.feature.reveal:not(.in-view) > div:last-child { translate: 48px 0; opacity: 0; }
.series.reveal:not(.in-view) .series-body { translate: -48px 0; opacity: 0; }
.series-poster {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  background: var(--soft);
}
.series-poster img { width: 100%; height: 100%; object-fit: contain; }
.series-poster::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(234,88,12,0.16), transparent 55%);
  pointer-events: none;
}
.series .cta-meta:first-of-type { margin-top: 20px; }
.series .cta-row { margin-top: 22px; }
.xp-list {
  list-style: none;
  display: flex;
  max-width: 100%;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  position: relative;
  padding: 26px 4px 20px 4px;
  mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
}
.xp-list::before {
  content: "";
  position: absolute;
  left: 4px; right: 4px; top: 5px;
  height: 2px;
  background: var(--line-strong);
}
.xp-list li {
  flex: 0 0 clamp(190px, 20vw, 240px);
  scroll-snap-align: start;
  padding: 26px 24px 0 0;
  position: relative;
}
.xp-list li::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 4px #fff, 0 0 8px rgba(234,88,12,0.4);
}
.xp-list .when {
  display: block;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--saffron-deep);
  margin-bottom: 12px;
}
.xp-list h3 { font-size: 16.5px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.xp-list p { font-size: 13.5px; color: var(--ink-60); margin-top: 4px; }

/* camera cards */
.yt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.yt-card {
  display: block;
  text-align: left;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.yt-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.yt-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.yt-body { padding: 14px 16px 16px; }
.yt-src {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--saffron-deep);
  margin-bottom: 7px;
}
.yt-body h3 { font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; }
.yt-more { margin-top: 34px; }

/* press cards */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.press-card {
  position: relative;
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  padding: 26px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.press-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.press-card h3 {
  font-size: 19px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3;
  margin-bottom: 10px;
  max-width: 30ch;
}
.press-sub { font-size: 14px; color: var(--ink-60); max-width: 52ch; }
.press-card .arr { position: absolute; top: 24px; right: 26px; font-size: 17px; }
.press-card-link { display: block; }
.press-also { margin-top: 14px; font-size: 12.5px; color: var(--ink-40); }
.press-also a { text-decoration: underline; text-underline-offset: 2px; color: var(--ink-80); }

/* ── on the ground (impact) ──────────────────────────────────── */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.impact-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  padding: 28px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.impact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.impact-num {
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 400; letter-spacing: -0.03em; line-height: 1;
  margin-bottom: 18px;
}
.impact-num small {
  display: block;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--saffron-deep);
  margin-top: 8px;
}
.impact-card h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 10px; }
.impact-card p { font-size: 14px; color: var(--ink-60); text-wrap: pretty; }

/* ── footer ─────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); margin-top: clamp(32px, 6vw, 64px); }
footer .cta {
  display: block;
  text-align: center;
  font-size: clamp(38px, 6.4vw, 76px);
  padding: clamp(64px, 9vw, 120px) var(--pad);
}
footer .cta:hover em { color: var(--saffron); }
.foot-row {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 24px;
  border-top: 1px solid var(--line);
  padding: 20px var(--pad);
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-40);
}
.foot-row a:hover { color: var(--ink); }

/* ── lightbox ───────────────────────────────────────────────── */
dialog {
  border: 0; padding: 0;
  background: transparent;
  max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh;
  display: grid; place-items: center;
  color: #fff;
}
dialog:not([open]) { display: none; }
dialog::backdrop { background: rgba(10,11,15,0.88); backdrop-filter: blur(10px); }
.stage { display: grid; place-items: center; max-width: min(92vw, 900px); }
.stage video, .stage img {
  max-height: 76vh; max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
dialog .meta { margin-top: 18px; text-align: center; padding: 0 16px; }
dialog .meta h3 { font-weight: 500; font-size: 17px; letter-spacing: -0.01em; margin-bottom: 6px; }
dialog .meta .m {
  font-family: var(--mono); font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  margin: 0 8px;
}
dialog .meta a {
  display: inline-block; margin-top: 12px;
  font-size: 13.5px; font-weight: 500;
  padding: 9px 18px;
  border: 1px solid rgba(255,255,255,0.3); border-radius: 999px;
  transition: background 0.15s;
}
dialog .meta a:hover { background: rgba(255,255,255,0.12); }
dialog .close, dialog .nav {
  position: fixed; z-index: 2;
  font-family: var(--mono); font-size: 12.5px;
  padding: 10px 16px; min-height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.25);
  transition: background 0.15s;
}
dialog .close:hover, dialog .nav:hover { background: rgba(255,255,255,0.22); }
dialog .close { top: 20px; right: 20px; }
dialog .nav { top: 50%; transform: translateY(-50%); }
dialog .nav.prev { left: 16px; }
dialog .nav.next { right: 16px; }
dialog.single .nav { display: none; }
.stage iframe.yt-embed {
  width: min(92vw, 900px);
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ── custom cursor chip ─────────────────────────────────────── */
.cursor {
  position: fixed; left: var(--x, -100px); top: var(--y, -100px);
  z-index: 30; pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  transition: transform 0.18s ease;
}
body.cursor-hot .cursor { transform: translate(-50%, -50%) scale(1); }

/* ── scroll reveal ──────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo); }
.reveal.in-view { opacity: 1; transform: none; }

/* staggered item reveals (cards, list rows) */
.stagger-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease-out-expo), transform 0.55s var(--ease-out-expo);
  transition-delay: var(--d, 0ms);
}
.stagger-item.in { opacity: 1; transform: none; }
.stagger-item.done { transition: transform 0.2s ease, box-shadow 0.2s ease; transition-delay: 0ms; }

/* ── scroll progress bar ────────────────────────────────────── */
.progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 21;
  height: 2px;
  background: var(--saffron);
  transform: scaleX(var(--sp, 0));
  transform-origin: left;
  pointer-events: none;
}

/* ── hero interactivity ─────────────────────────────────────── */
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(360px circle at var(--hx, 50%) var(--hy, 28%), rgba(234,88,12,0.07), transparent 70%);
}
.hero h1 { animation: none; }
.hero h1 .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  filter: blur(6px);
  animation: wordUp 0.8s var(--ease-out-expo) forwards;
}
.hero h1 .w:nth-child(1) { animation-delay: 0.12s; }
.hero h1 .w:nth-child(2) { animation-delay: 0.20s; }
.hero h1 .w:nth-child(3) { animation-delay: 0.28s; }
.hero h1 .w:nth-child(4) { animation-delay: 0.40s; }
@keyframes wordUp { to { opacity: 1; transform: none; filter: none; } }

/* ── stacked-deck scroll: press, career, impact pin and overlay ─ */
.stack { position: relative; }
.stack > section {
  position: sticky;
  width: min(1160px, 94%);
  margin-inline: auto;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.stack > section:nth-child(1) { top: 70px; z-index: 1; }
.stack > section:nth-child(2) { top: 82px; z-index: 2; margin-block: 48px; }
.stack > section:nth-child(3) { top: 94px; z-index: 3; }

/* ── tilt + sheen on the big frames ─────────────────────────── */
[data-tilt] {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(calc(var(--lift, 0px) + var(--parallax, 0px)));
  will-change: transform;
}
.feature .frame { position: relative; }
.feature .frame::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--px, 50%) var(--py, 50%), rgba(255,255,255,0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.feature .frame:hover::after { opacity: 1; }
.series-poster { transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s var(--ease-out-expo); }
.series-poster:hover { --lift: -4px; }
.series-poster::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(380px circle at var(--px, 50%) var(--py, 50%), rgba(255,255,255,0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.series-poster:hover::before { opacity: 1; }

/* ── scrollspy: current section in the topbar ───────────────── */
.topbar nav a[aria-current="true"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--saffron);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.btn:active { transform: translateY(0) scale(0.98); }

/* ── typewriter role line (Vaksy tw-caret pattern) ───────────── */
.hero-role { display: grid; margin-bottom: 6px; animation: none; }
.hero-role .tw-sizer,
.hero-role .tw-live-wrap { grid-area: 1 / 1; }
.hero-role .tw-sizer { visibility: hidden; }
@keyframes caretBlink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
@keyframes caretFade { from { opacity: 1; } to { opacity: 0; } }
.tw-caret {
  display: inline-block;
  width: 2px; height: 0.95em;
  margin-left: 3px;
  vertical-align: -0.1em;
  background: var(--saffron);
  animation: caretBlink 0.9s steps(1) infinite;
}
.tw-caret.done { animation: caretFade 1.2s ease forwards; }

/* ── section eyebrows blink in like a record being entered ───── */
.flow-eyebrow::after {
  content: "";
  display: inline-block;
  width: 0.55em; height: 0.95em;
  margin-left: 0.35em;
  vertical-align: -0.12em;
  background: var(--saffron);
  opacity: 0;
}
.in-view .flow-eyebrow::after {
  opacity: 1;
  animation:
    caretBlink 0.9s steps(1) 3,
    caretFade 0.5s ease 2.7s forwards;
}

/* ── saffron drift field canvas ──────────────────────────────── */
.hero-particles {
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease 0.5s;
  animation: none;
}
.hero-particles.is-live { opacity: 1; }

/* ── career flowPulse dot (Vaksy step-flow motif) ────────────── */
.career-flow {
  position: absolute;
  top: 6px; left: 4px;
  width: 7px; height: 7px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: var(--saffron);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  animation: flowPulseX 6.5s linear infinite;
  animation-play-state: paused;
}
.xp.flow-live .career-flow { animation-play-state: running; }
@keyframes flowPulseX {
  0%   { transform: translate3d(0, 0, 0); opacity: 0; }
  6%   { opacity: 1; }
  94%  { opacity: 1; }
  100% { transform: translate3d(var(--flow-dist, 320px), 0, 0); opacity: 0; }
}

/* ── camera grid entrance: deblur cascade, antigravity easing ── */
.yt-grid .stagger-item {
  transform: translate3d(0, 18px, 0) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
    filter 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition-delay: var(--d, 0ms);
}
.yt-grid .stagger-item.in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .live, .hero > *, .hero h1 .w, .avatar { animation: none; }
  .reveal, .stagger-item, .hero h1 .w { opacity: 1; transform: none; filter: none; }
  .tw-caret, .hero-particles, .career-flow, .flow-eyebrow::after { display: none; }
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

/* ── responsive ─────────────────────────────────────────────── */
/* short laptop screens: compact the hero internals so the whole
   hero plus the ticker still fit the first viewport */
@media (max-height: 860px) {
  .hero { padding: 96px var(--pad) 36px; }
  .avatar { width: 88px; height: 88px; margin-bottom: 18px; }
  .eyebrow { margin-bottom: 18px; }
  .hero h1 { font-size: clamp(38px, 6vw, 70px); margin-bottom: 18px; }
  .hero-sub { margin-bottom: 26px; }
  .cta-meta { margin-top: 12px; }
  .hero-creds { margin-top: 14px; }
}
@media (max-width: 960px) {
  .topbar .ig { display: none; }
}
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature .frame { max-width: 420px; }
  .series { grid-template-columns: 1fr; }
  .series-poster { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .topbar nav { display: none; }
  .topbar .ig { display: block; }
  .hero { padding-top: 118px; }
  dialog .nav { top: auto; bottom: 18px; transform: none; }
}
