/* ==========================================================================
   GLDKV — gldkv.com
   Cinematic portfolio for videographer Gladkov
   Design tokens → see design-system/MASTER.md
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* color — dark (brand default) */
  --bg: #0b0b0c;
  --bg-2: #101012;
  --surface: #141416;
  --text: #f2efe9;
  --muted: #a09a8e;
  --accent: #d9a13b;
  --accent-strong: #e5b355;
  --accent-ink: #141005;
  --line: rgba(242, 239, 233, 0.14);
  --line-strong: rgba(242, 239, 233, 0.28);
  --scrim: rgba(5, 5, 6, 0.72);
  --shadow: 0 24px 64px -24px rgba(0, 0, 0, 0.55);
  --grain-opacity: 0.055;
  --grain-blend: overlay;

  /* type */
  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* rhythm */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --section-pad: clamp(96px, 14vh, 168px);
  --container: min(1200px, 92vw);
  --header-h: 76px;
  --radius: 20px;
  --radius-sm: 12px;

  /* motion */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0.06, 0.68, 0.19);
  --dur-fast: 180ms;
  --dur-med: 300ms;
  --dur-slow: 650ms;

  /* z-scale */
  --z-header: 80;
  --z-menu: 70;
  --z-modal: 95;
  --z-grain: 110;
  --z-cursor: 120;

  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f5f2ec;
  --bg-2: #ede9e1;
  --surface: #fffdf8;
  --text: #171512;
  --muted: #6e6759;
  --accent: #b07914;
  --accent-strong: #8f6108;
  --accent-ink: #141005;
  --line: rgba(23, 21, 18, 0.14);
  --line-strong: rgba(23, 21, 18, 0.3);
  --scrim: rgba(20, 18, 14, 0.55);
  --shadow: 0 24px 56px -28px rgba(30, 25, 15, 0.35);
  --grain-opacity: 0.05;
  --grain-blend: multiply;
  color-scheme: light;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

html.lenis {
  height: auto;
  scroll-behavior: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100dvh;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  transition: background-color var(--dur-med) var(--ease-out),
    color var(--dur-med) var(--ease-out);
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (min-width: 768px) {
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: var(--bg);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--line-strong);
    border-radius: 8px;
    border: 3px solid var(--bg);
  }
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: calc(var(--z-cursor) + 1);
  padding: 10px 18px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform var(--dur-fast) var(--ease-out);
}
.skip-link:focus-visible {
  transform: translateY(0);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-pad);
  position: relative;
  overflow: hidden;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-strong);
  margin-bottom: var(--space-3);
}
.section-label::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
  flex: none;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 22ch;
  text-wrap: balance;
}
.section-title em {
  font-style: normal;
  color: var(--accent-strong);
}

/* ghost display word floating behind a section */
.section-display {
  position: absolute;
  top: clamp(24px, 6vh, 72px);
  right: -2vw;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4.5rem, 13vw, 11rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  height: var(--header-h);
  padding-inline: max(4vw, 20px);
  transition: transform 0.45s var(--ease-out), background-color var(--dur-med) var(--ease-out),
    border-color var(--dur-med) var(--ease-out), height var(--dur-med) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  height: 62px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header.header-hidden {
  transform: translateY(-100%);
}
/* while sitting over the dark hero video (not yet scrolled) the header always
   uses light-on-dark colours, whatever the theme — except when the mobile
   menu overlay (theme-coloured) is open */
body:not(.menu-open) .site-header:not(.scrolled) {
  --text: #f2efe9;
  --muted: rgba(242, 239, 233, 0.72);
  --line: rgba(242, 239, 233, 0.16);
  --line-strong: rgba(242, 239, 233, 0.3);
  --surface: #141416;
  color: #f2efe9;
}

.brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  align-self: center;
  margin-left: 4px;
}

.main-nav {
  display: none;
  gap: clamp(20px, 3vw, 40px);
}
.nav-link {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 2px;
  color: var(--muted);
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-med) var(--ease-out);
}
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
}
.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (min-width: 900px) {
  .main-nav {
    display: flex;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  transition: border-color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.icon-btn:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}
.icon-btn:active {
  transform: scale(0.95);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* language switch */
.lang-switch {
  position: relative;
}
.lang-current {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 176px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 6px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.lang-switch.open .lang-menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background-color var(--dur-fast) var(--ease-out);
}
.lang-option:hover,
.lang-option:focus-visible {
  background: color-mix(in srgb, var(--text) 7%, transparent);
}
.lang-option .check {
  width: 15px;
  height: 15px;
  color: var(--accent);
  opacity: 0;
}
.lang-option[aria-current="true"] .check {
  opacity: 1;
}
.lang-option code {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  margin-left: 12px;
  letter-spacing: 0.08em;
}

/* theme toggle */
.theme-toggle {
  position: relative;
  width: 44px;
}
.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg);
}
[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}
[data-theme="light"] .theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}
[data-theme="light"] .theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg);
}

/* burger */
.menu-toggle {
  width: 44px;
}
.menu-lines {
  position: relative;
  width: 18px;
  height: 12px;
  display: block;
}
.menu-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur-med) var(--ease-out), top var(--dur-med) var(--ease-out),
    opacity var(--dur-fast) var(--ease-out);
}
.menu-lines span:nth-child(1) {
  top: 0;
}
.menu-lines span:nth-child(2) {
  top: 5.2px;
}
.menu-lines span:nth-child(3) {
  top: 10.4px;
}
.menu-open .menu-lines span:nth-child(1) {
  top: 5.2px;
  transform: rotate(45deg);
}
.menu-open .menu-lines span:nth-child(2) {
  opacity: 0;
}
.menu-open .menu-lines span:nth-child(3) {
  top: 5.2px;
  transform: rotate(-45deg);
}
@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   4. Mobile menu
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 20px) max(6vw, 24px) max(6vh, 40px);
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out), visibility 0s linear var(--dur-med);
}
.menu-open .mobile-menu {
  visibility: visible;
  opacity: 1;
  transition: opacity var(--dur-med) var(--ease-out);
}
.mobile-nav {
  display: grid;
  gap: 6px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 9vw, 3.2rem);
  line-height: 1.25;
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  padding-block: 6px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.mobile-nav a .idx {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-strong);
}
.menu-open .mobile-nav a {
  opacity: 1;
  transform: none;
}
.menu-open .mobile-nav a:nth-child(1) {
  transition-delay: 0.08s;
}
.menu-open .mobile-nav a:nth-child(2) {
  transition-delay: 0.15s;
}
.menu-open .mobile-nav a:nth-child(3) {
  transition-delay: 0.22s;
}
.menu-open .mobile-nav a:nth-child(4) {
  transition-delay: 0.29s;
}
.menu-open .mobile-nav a:nth-child(5) {
  transition-delay: 0.36s;
}
.mobile-menu-footer {
  margin-top: clamp(32px, 8vh, 72px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  color: var(--muted);
}
@media (min-width: 900px) {
  .mobile-menu {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   5. Hero — GLDKV → GLADKOV PRODUCTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  contain: paint;
  clip-path: inset(0);
  /* always a dark cinema frame — even in light theme — so the background
     video and light title stay legible in both modes */
  background: radial-gradient(120% 90% at 50% 10%, #101012 0%, #0b0b0c 62%);
  color: #f2efe9;
}
.hero .hero-eyebrow,
.hero .hero-location,
.hero .hero-scroll {
  color: rgba(242, 239, 233, 0.72);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(5, 5, 6, 0.66) 0%, rgba(5, 5, 6, 0.3) 42%, rgba(5, 5, 6, 0.7) 100%),
    radial-gradient(110% 80% at 50% 50%, transparent 42%, rgba(5, 5, 6, 0.6) 100%);
}

.hero-glow {
  position: absolute;
  width: 62vmax;
  height: 62vmax;
  top: -18vmax;
  left: 50%;
  translate: -50% 0;
  z-index: 1;
  opacity: 0.8;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--accent) 13%, transparent) 0%,
    transparent 62%
  );
  filter: blur(10px);
  pointer-events: none;
  animation: glow-drift 14s var(--ease-out) infinite alternate;
}
@keyframes glow-drift {
  from {
    transform: translateX(-6%) scale(1);
  }
  to {
    transform: translateX(6%) scale(1.08);
  }
}

/* 16:9 movie-crop system — bars close in until a widescreen cinema frame
   remains. Sizes come from --crop-x/--crop-y/--win-w/--win-h set by JS; CSS
   keeps the bars parked offscreen so no-JS / reduced-motion never sees them. */
.crop-bar {
  position: absolute;
  background: #050506;
  z-index: 3;
  pointer-events: none;
}
.crop-top {
  top: 0;
  left: 0;
  width: 100%;
  height: var(--crop-y, 12vh);
  transform: scaleY(0);
  transform-origin: top;
}
.crop-bottom {
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--crop-y, 12vh);
  transform: scaleY(0);
  transform-origin: bottom;
}
.crop-left {
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--crop-x, 20vw);
  transform: scaleX(0);
  transform-origin: left;
}
.crop-right {
  top: 0;
  bottom: 0;
  right: 0;
  width: var(--crop-x, 20vw);
  transform: scaleX(0);
  transform-origin: right;
}
.crop-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--win-w, 84vw);
  height: var(--win-h, 47vw);
  transform: translate(-50%, -50%);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.crop-label {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 0.62rem;
  color: var(--accent-strong);
  opacity: 0.85;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: var(--container);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(20px, 4vh, 40px);
  padding-block: calc(var(--header-h) + 8px) 32px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.rec-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e5484d;
  box-shadow: 0 0 0 0 rgba(229, 72, 77, 0.5);
  animation: rec-pulse 2s ease-out infinite;
}
@keyframes rec-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 72, 77, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(229, 72, 77, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(229, 72, 77, 0);
  }
}

/* the wordmark */
.wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 10.6vw, 9.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-align: center;
}
.wm-letter {
  display: inline-block;
  vertical-align: top; /* uniform glyph tops — immune to overflow-hidden baseline quirks */
}
.wm-hidden {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  color: var(--accent);
  will-change: max-width, opacity;
}
.wm-tld {
  font-size: 0.26em;
  font-weight: 700;
  letter-spacing: 0.06em;
  vertical-align: baseline;
  margin-left: 0.18em;
  transform: translateY(-0.14em);
}
.wm-sub {
  display: block;
  width: fit-content;
  margin-inline: auto;
  font-size: 0.36em;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-top: 0.15em;
}
/* hidden until the scroll-driven GLDKV → GLADKOV reveal completes */
html.js .wm-sub {
  opacity: 0;
}
.wm-static .wm-sub {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  html.js .wm-sub {
    opacity: 1;
  }
}
/* final state when motion is off / JS unavailable-expanded */
.wm-static .wm-hidden {
  max-width: none;
  opacity: 1;
}

/* load-in: visible letters rise; hidden letters stay GSAP-owned */
html.js .wordmark .wm-letter:not(.wm-hidden) {
  translate: 0 110%;
  opacity: 0;
}
html.js body.loaded .wordmark .wm-letter:not(.wm-hidden) {
  translate: 0 0;
  opacity: 1;
  transition: translate 0.9s var(--ease-out), opacity 0.7s var(--ease-out);
}
html.js body.loaded .wordmark .wm-letter:nth-child(2) {
  transition-delay: 0.06s;
}
html.js body.loaded .wordmark .wm-letter:nth-child(4) {
  transition-delay: 0.12s;
}
html.js body.loaded .wordmark .wm-letter:nth-child(5) {
  transition-delay: 0.18s;
}
html.js body.loaded .wordmark .wm-letter:nth-child(7) {
  transition-delay: 0.24s;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.hero-role {
  font-size: clamp(1.02rem, 2.2vw, 1.3rem);
  font-weight: 600;
}
.hero-location {
  color: var(--muted);
}

.hero-scroll {
  position: absolute;
  bottom: max(4.5vh, 28px);
  left: 50%;
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 4;
}
.hero-scroll svg {
  width: 14px;
  height: 14px;
  animation: scroll-nudge 1.8s var(--ease-out) infinite;
}
@keyframes scroll-nudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* --------------------------------------------------------------------------
   6. Showreel
   -------------------------------------------------------------------------- */
.reel-player {
  position: relative;
  margin-top: var(--space-5);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  box-shadow: var(--shadow);
  outline-offset: 6px;
}
.reel-poster {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 130% at 82% 0%, rgba(217, 161, 59, 0.28) 0%, transparent 52%),
    radial-gradient(80% 120% at 12% 100%, rgba(38, 108, 122, 0.55) 0%, transparent 58%),
    linear-gradient(152deg, #101418 0%, #0c1d24 46%, #06090c 100%);
  transform: scale(1.04);
  transition: transform 0.8s var(--ease-out);
}
.reel-player:hover .reel-poster {
  transform: scale(1);
}
.reel-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}
.reel-corner {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 239, 233, 0.85);
  z-index: 2;
}
.reel-corner.tl {
  top: 18px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.reel-corner.tl .rec-dot {
  width: 7px;
  height: 7px;
}
.reel-corner.tr {
  top: 18px;
  right: 20px;
}
.reel-corner.bl {
  bottom: 18px;
  left: 20px;
}
.reel-corner.br {
  bottom: 18px;
  right: 20px;
}

.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(72px, 10vw, 104px);
  height: clamp(72px, 10vw, 104px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #f2efe9;
  border: 1px solid rgba(242, 239, 233, 0.4);
  background: rgba(10, 10, 12, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform var(--dur-med) var(--ease-out), background-color var(--dur-med) var(--ease-out),
    color var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
  z-index: 2;
}
.play-btn svg {
  width: 26%;
  height: 26%;
  translate: 6% 0;
}
.reel-player:hover .play-btn,
.reel-player:focus-visible .play-btn {
  transform: scale(1.09);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.reel-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: rgba(242, 239, 233, 0.18);
  z-index: 2;
}
.reel-progress-fill {
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

/* --------------------------------------------------------------------------
   7. Marquee
   -------------------------------------------------------------------------- */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 20px;
  overflow: hidden;
  background: var(--bg-2);
  contain: paint;
  clip-path: inset(0);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-group {
  display: flex;
  align-items: center;
  flex: none;
}
.marquee-item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.3vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-inline: clamp(20px, 3vw, 40px);
  display: inline-flex;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  white-space: nowrap;
}
.marquee-item::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   8. Work
   -------------------------------------------------------------------------- */
.work-grid {
  margin-top: var(--space-5);
  display: grid;
  gap: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px);
}
@media (min-width: 900px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: clamp(12px, 2vw, 28px); /* offset margin below adds the rest */
  }
  /* editorial offset — margin (not transform) so GSAP tweens don't override it */
  .work-card:nth-child(even) {
    margin-top: clamp(40px, 7vw, 88px);
  }
}

.work-link {
  display: block;
}
.work-media {
  display: block; /* spans inside <a> — must be block for aspect-ratio */
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}
.poster-art {
  display: block;
}
.poster-art {
  position: absolute;
  inset: -8% 0;
  transition: transform 0.9s var(--ease-out);
  will-change: transform;
}
.work-link:hover .poster-art,
.work-link:focus-visible .poster-art {
  transform: scale(1.05);
}
/* duotone film-still placeholders — stay dark in both themes */
.poster-1 .poster-art {
  background:
    radial-gradient(90% 110% at 85% 10%, rgba(255, 61, 129, 0.5) 0%, transparent 55%),
    radial-gradient(70% 100% at 10% 90%, rgba(64, 41, 143, 0.75) 0%, transparent 60%),
    linear-gradient(150deg, #170b2e 0%, #241041 55%, #0b0616 100%);
}
.poster-2 .poster-art {
  background:
    radial-gradient(80% 100% at 80% 0%, rgba(233, 178, 86, 0.5) 0%, transparent 55%),
    radial-gradient(90% 110% at 15% 95%, rgba(14, 84, 92, 0.8) 0%, transparent 62%),
    linear-gradient(150deg, #0d2226 0%, #14343a 52%, #060d0f 100%);
}
.poster-3 .poster-art {
  background:
    radial-gradient(90% 120% at 82% 12%, rgba(46, 108, 246, 0.55) 0%, transparent 56%),
    radial-gradient(70% 110% at 12% 92%, rgba(18, 42, 84, 0.9) 0%, transparent 62%),
    linear-gradient(150deg, #0a111c 0%, #0f1e33 55%, #05080d 100%);
}
.poster-4 .poster-art {
  background:
    radial-gradient(90% 120% at 80% 8%, rgba(154, 168, 184, 0.4) 0%, transparent 55%),
    radial-gradient(80% 110% at 15% 95%, rgba(52, 62, 74, 0.8) 0%, transparent 60%),
    linear-gradient(150deg, #14171b 0%, #1d2329 55%, #0a0c0f 100%);
}
.poster-5 .poster-art {
  background:
    radial-gradient(90% 120% at 82% 10%, rgba(55, 211, 160, 0.45) 0%, transparent 55%),
    radial-gradient(80% 100% at 12% 92%, rgba(8, 68, 54, 0.85) 0%, transparent 60%),
    linear-gradient(150deg, #06231c 0%, #0a3a2d 55%, #04110d 100%);
}
.poster-6 .poster-art {
  background:
    radial-gradient(90% 120% at 84% 8%, rgba(224, 53, 63, 0.5) 0%, transparent 55%),
    radial-gradient(80% 110% at 10% 95%, rgba(84, 16, 26, 0.85) 0%, transparent 62%),
    linear-gradient(150deg, #180a0d 0%, #2a1015 55%, #0a0507 100%);
}
.work-media::before {
  /* light streak */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.06) 50%, transparent 58%);
  z-index: 1;
}
.work-media::after {
  /* vignette */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(130% 100% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
}
.work-index {
  position: absolute;
  right: 16px;
  bottom: 4px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 8vw, 6.5rem);
  line-height: 1;
  color: rgba(242, 239, 233, 0.1);
  z-index: 2;
  pointer-events: none;
}
.work-duration {
  position: absolute;
  top: 16px;
  left: 18px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: rgba(242, 239, 233, 0.85);
  z-index: 2;
}
.work-view {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1.25;
  padding: 10px;
  z-index: 3;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.work-link:hover .work-view,
.work-link:focus-visible .work-view {
  opacity: 1;
  transform: scale(1);
}
@media (hover: none) {
  .work-view {
    display: none;
  }
}

.work-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: 18px;
}
.work-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  letter-spacing: 0.01em;
}
.work-meta {
  color: var(--muted);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   9. About
   -------------------------------------------------------------------------- */
.about {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.about-grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 5fr 6fr;
    gap: clamp(48px, 7vw, 96px);
  }
}

.about-media {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 460px;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(110% 90% at 22% 8%, rgba(217, 161, 59, 0.4) 0%, transparent 55%),
    radial-gradient(120% 120% at 85% 100%, rgba(26, 34, 44, 0.9) 0%, transparent 70%),
    linear-gradient(160deg, #1a1c20 0%, #101114 60%, #070708 100%);
}
.about-media img {
  position: absolute;
  left: 0;
  top: -6%; /* oversized so the parallax drift never reveals edges */
  width: 100%;
  height: 112%;
  object-fit: cover;
  z-index: 0;
}
.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 50% 40%, transparent 58%, rgba(0, 0, 0, 0.45) 100%);
  z-index: 1;
}
.viewfinder {
  position: absolute;
  inset: 18px;
  z-index: 2;
  pointer-events: none;
}
.viewfinder i {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(242, 239, 233, 0.55);
}
.viewfinder i:nth-child(1) {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
}
.viewfinder i:nth-child(2) {
  top: 0;
  right: 0;
  border-left: 0;
  border-bottom: 0;
}
.viewfinder i:nth-child(3) {
  bottom: 0;
  left: 0;
  border-right: 0;
  border-top: 0;
}
.viewfinder i:nth-child(4) {
  bottom: 0;
  right: 0;
  border-left: 0;
  border-top: 0;
}
.about-media .cam-label {
  position: absolute;
  bottom: 26px;
  left: 30px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: rgba(242, 239, 233, 0.8);
  z-index: 2;
}
.about-media .work-duration {
  top: 26px;
  right: 30px;
  left: auto;
}

.about-copy p {
  color: var(--muted);
  max-width: 56ch;
}
.about-copy p + p {
  margin-top: var(--space-2);
}
.about-copy .section-title {
  margin-bottom: var(--space-3);
}

.stats {
  margin-top: var(--space-4);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3) var(--space-2);
  border-top: 1px solid var(--line);
  padding-top: var(--space-4);
}
@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat-num sup {
  color: var(--accent-strong);
  font-size: 0.55em;
  margin-left: 2px;
}
.stat-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   10. Services
   -------------------------------------------------------------------------- */
.service-list {
  margin-top: var(--space-5);
  border-top: 1px solid var(--line);
  counter-reset: service;
}
.service-item {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.service-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease-out);
}
.service-item:hover::before {
  transform: scaleY(1);
}
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(22px, 4vw, 36px) clamp(4px, 1vw, 12px);
}
.service-idx {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--accent-strong);
  align-self: start;
  padding-top: 0.5em;
}
.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 3.2vw, 1.9rem);
  line-height: 1.2;
  transition: transform 0.45s var(--ease-out);
}
.service-item:hover .service-title {
  transform: translateX(10px);
}
.service-desc {
  grid-column: 2;
  color: var(--muted);
  max-width: 62ch;
  margin-top: 6px;
  font-size: 0.95rem;
}
.service-arrow {
  grid-row: 1 / span 2;
  grid-column: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--text);
  transition: background-color var(--dur-med) var(--ease-out),
    color var(--dur-med) var(--ease-out), transform 0.45s var(--ease-out),
    border-color var(--dur-med) var(--ease-out);
}
.service-arrow svg {
  width: 15px;
  height: 15px;
}
.service-item:hover .service-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   10b. VFX — before/after wipe + capability chips
   -------------------------------------------------------------------------- */
.vfx-text {
  color: var(--muted);
  max-width: 60ch;
}
.vfx-wipe {
  --wipe: 78%;
  position: relative;
  margin-top: var(--space-5);
  aspect-ratio: 21 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow);
}
@media (max-width: 767px) {
  .vfx-wipe {
    aspect-ratio: 16 / 10;
  }
}
.vfx-before,
.vfx-after {
  position: absolute;
  inset: 0;
}
/* raw plate — flat slate with a tracking grid (stays dark in both themes) */
.vfx-before {
  background:
    repeating-linear-gradient(0deg, rgba(242, 239, 233, 0.05) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(242, 239, 233, 0.05) 0 1px, transparent 1px 44px),
    linear-gradient(150deg, #191c21 0%, #121418 55%, #0b0c0f 100%);
}
.vfx-marker {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: color-mix(in srgb, var(--accent) 75%, transparent);
}
.vfx-marker.m1 {
  top: 22%;
  left: 18%;
}
.vfx-marker.m2 {
  top: 58%;
  left: 44%;
}
.vfx-marker.m3 {
  top: 30%;
  right: 20%;
}
/* final comp — rich cinematic grade, revealed right of the divider */
.vfx-after {
  background:
    radial-gradient(80% 110% at 82% 6%, rgba(233, 178, 86, 0.55) 0%, transparent 55%),
    radial-gradient(90% 120% at 12% 96%, rgba(14, 84, 92, 0.85) 0%, transparent 60%),
    linear-gradient(150deg, #123036 0%, #0c1d24 55%, #05090c 100%);
  clip-path: inset(0 0 0 var(--wipe));
}
.vfx-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--wipe);
  width: 2px;
  margin-left: -1px;
  background: var(--accent);
  z-index: 2;
  pointer-events: none;
}
.vfx-divider i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
}
.vfx-divider i::before,
.vfx-divider i::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--accent-ink);
  border-left: 2px solid var(--accent-ink);
}
.vfx-divider i::before {
  left: 7px;
  transform: translateY(-50%) rotate(-45deg);
}
.vfx-divider i::after {
  right: 7px;
  transform: translateY(-50%) rotate(135deg);
}
.vfx-tag {
  position: absolute;
  top: 16px;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: rgba(242, 239, 233, 0.9);
  background: rgba(5, 5, 6, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: 6px;
  z-index: 3;
}
.vfx-tag.tag-before {
  left: 18px;
}
.vfx-tag.tag-after {
  right: 18px;
}
.vfx-chips {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.vfx-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.vfx-chip:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

/* --------------------------------------------------------------------------
   11. Contact
   -------------------------------------------------------------------------- */
.contact {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.contact .section-display {
  top: auto;
  bottom: clamp(16px, 5vh, 56px);
  right: auto;
  left: -2vw;
  opacity: 0.35;
}
.contact-head {
  max-width: 760px;
}
.contact-title {
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  max-width: none;
}
.contact-title em {
  font-style: normal;
  color: var(--accent-strong);
}
.contact-text {
  margin-top: var(--space-3);
  color: var(--muted);
  max-width: 52ch;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: var(--space-4);
  min-height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 1rem;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out),
    background-color var(--dur-med) var(--ease-out);
  box-shadow: 0 12px 32px -14px color-mix(in srgb, var(--accent) 65%, transparent);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--accent-strong);
}
.btn-primary:active {
  transform: scale(0.98);
}
.btn-primary svg {
  width: 17px;
  height: 17px;
}

.contact-grid {
  margin-top: clamp(48px, 9vh, 96px);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  display: grid;
  gap: var(--space-4) var(--space-3);
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
  }
}
.contact-cell .mono {
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}
.contact-link {
  font-weight: 600;
  font-size: 1.02rem;
  position: relative;
}
.contact-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-med) var(--ease-out);
}
.contact-link:hover::after,
.contact-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}
.socials {
  display: flex;
  gap: 10px;
}
.socials .icon-btn {
  min-width: 44px;
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 28px 0 max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--text);
  font-size: 0.95rem;
}
.to-top {
  width: 44px;
  height: 44px;
}
.to-top svg {
  transition: transform var(--dur-med) var(--ease-out);
}
.to-top:hover svg {
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   13. Modal (showreel)
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out), visibility 0s linear var(--dur-med);
}
.modal.open {
  visibility: visible;
  opacity: 1;
  transition: opacity var(--dur-med) var(--ease-out);
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--scrim);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.modal-panel {
  position: relative;
  width: min(1080px, 96vw);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--dur-med) var(--ease-out);
}
.modal.open .modal-panel {
  transform: none;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.modal-video {
  aspect-ratio: 16 / 9;
  width: 100%;
}
.modal-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.modal-empty {
  aspect-ratio: 16 / 9;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: 32px;
}
.modal-empty svg {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 6px;
}
.modal-empty h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
}
.modal-empty p {
  color: var(--muted);
  max-width: 40ch;
}

/* --------------------------------------------------------------------------
   14. Grain + cursor
   -------------------------------------------------------------------------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: var(--grain-opacity);
  mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-2%, 1.4%);
  }
  50% {
    transform: translate(1.6%, -1.2%);
  }
  75% {
    transform: translate(-1.2%, -1.8%);
  }
  100% {
    transform: translate(0, 0);
  }
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-cursor);
  pointer-events: none;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1.5px solid color-mix(in srgb, var(--accent) 80%, transparent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out);
  will-change: transform;
}
.cursor::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}
body.cursor-on .cursor {
  opacity: 1;
}
body.motion-off .cursor {
  display: none;
}
.cursor.is-active {
  /* scale handled in JS for smooth lerp */
}
@media (pointer: coarse) {
  .cursor {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   15. Reveal defaults (progressive enhancement)
   -------------------------------------------------------------------------- */
/* Content stays visible without JS; GSAP sets initial states itself. */

/* --------------------------------------------------------------------------
   16. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .grain {
    animation: none;
  }
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
  }
  .wm-hidden {
    max-width: none;
    opacity: 1;
  }
  html.js .wordmark .wm-letter {
    translate: 0 0;
    opacity: 1;
  }
  .cursor {
    display: none;
  }
}
