/* ==========================================================================
   Amal Manoj — portfolio
   ========================================================================== */

:root {
  --bg: #080506;
  --bg-2: #0f0809;
  --ink: #f6efee;
  --ink-2: rgba(246, 236, 234, 0.7);
  --ink-3: rgba(246, 236, 234, 0.44);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-2: rgba(255, 255, 255, 0.08);
  --accent: #f0443a;
  --accent-2: #ff7b6e;
  --accent-3: #ffb8ad;
  --accent-deep: #b3141c;
  --accent-rgb: 240, 68, 58;
  --accent-2-rgb: 255, 123, 110;
  --accent-3-rgb: 255, 184, 173;
  --surface: #150c0e;

  --radius: 22px;
  --radius-lg: 30px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 40px);

  --font-sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; background: var(--bg); overscroll-behavior-y: none; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.lb-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, video, svg { 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; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #fff; }

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

svg[viewBox="0 0 24 24"] { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: #fff; color: #000; padding: 10px 16px; border-radius: 999px; font-weight: 500;
  transition: top 0.2s;
}
.skip:focus { top: 16px; }

/* ---------- Background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg__blob { position: absolute; width: 80vmax; height: 80vmax; border-radius: 50%; opacity: 0.55; will-change: transform; }
.bg__blob--1 {
  top: -38vmax; left: -28vmax;
  background: radial-gradient(circle at center, rgba(190, 24, 32, 0.42) 0%, rgba(190, 24, 32, 0) 62%);
  animation: drift-1 30s ease-in-out infinite alternate;
}
.bg__blob--2 {
  bottom: -45vmax; right: -30vmax;
  background: radial-gradient(circle at center, rgba(122, 20, 54, 0.32) 0%, rgba(122, 20, 54, 0) 62%);
  animation: drift-2 36s ease-in-out infinite alternate;
}
.bg__grain {
  position: absolute; inset: 0; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift-1 { to { transform: translate3d(18vmax, 22vmax, 0) scale(1.1); } }
@keyframes drift-2 { to { transform: translate3d(-20vmax, -16vmax, 0) scale(1.15); } }

/* ---------- Glass & shared surfaces ---------- */
.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 24px 60px -30px rgba(0, 0, 0, 0.7);
}

/* Spotlight: a soft glow + glowing border that follows the pointer */
.spot { position: relative; isolation: isolate; --mx: 50%; --my: 50%; }
.spot::before,
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.spot::before {
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(var(--accent-2-rgb), 0.14), transparent 45%);
}
.spot::after {
  z-index: 2;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(var(--accent-3-rgb), 0.75), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.spot:hover::before, .spot:hover::after,
.spot:focus-within::before, .spot:focus-within::after { opacity: 1; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}

.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); flex: none;
  box-shadow: 0 0 0 0 rgba(var(--accent-2-rgb), 0.6);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--accent-2-rgb), 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(var(--accent-2-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--accent-2-rgb), 0); }
}

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: var(--h); padding: 0 6px 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn__icon {
  display: grid; place-items: center; flex: none;
  width: calc(var(--h) - 12px); height: calc(var(--h) - 12px); border-radius: 50%;
  background: #fff; color: #0b0607;
  transition: transform 0.5s var(--ease-out);
}
.btn__icon svg { width: 18px; height: 18px; stroke-width: 2; }
.btn:hover { background: rgba(255, 255, 255, 0.11); border-color: rgba(255, 255, 255, 0.24); }
.btn:hover .btn__icon { transform: rotate(45deg); }
.btn:active { transform: scale(0.98); }
.btn--solid {
  background: linear-gradient(135deg, #ff5a4e 0%, #b3141c 100%);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 40px -12px rgba(var(--accent-rgb), 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--solid:hover { background: linear-gradient(135deg, #ff6e62 0%, #c81a22 100%); box-shadow: 0 16px 48px -10px rgba(var(--accent-rgb), 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn--sm { --h: 42px; padding-left: 18px; font-size: 14px; gap: 10px; }
.btn--sm .btn__icon svg { width: 15px; height: 15px; }
[data-open="find"].btn:hover .btn__icon, #reels-more:hover .btn__icon { transform: scale(1.08); }

.text-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 22px;
  color: var(--ink-2); font-size: 14px;
  border-bottom: 1px solid var(--line-2); padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.text-link svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease-out); }
.text-link:hover { color: var(--ink); border-color: var(--ink); }
.text-link:hover svg { transform: translate(2px, -2px); }

.play-btn {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  display: grid; place-items: center;
  width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform 0.5s var(--ease-out), background 0.3s, opacity 0.4s;
}
.play-btn svg { width: 22px; height: 22px; fill: #fff; stroke: none; margin-left: 3px; }
.play-btn--lg { width: 88px; height: 88px; margin: -44px 0 0 -44px; }
.play-btn--lg svg { width: 28px; height: 28px; }

/* ---------- Labels & headings ---------- */
.label {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}
.label::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(var(--accent-2-rgb), 0.14), 0 0 18px rgba(var(--accent-2-rgb), 0.9);
}
.label .idx { color: var(--ink-2); }
.label .idx::after { content: " —"; color: var(--ink-3); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}

.h2 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  font-weight: 400; line-height: 0.95; letter-spacing: -0.045em;
}
.h2 em { letter-spacing: -0.02em; padding-right: 0.04em; color: #fff; }
.h2--sm { font-size: clamp(2.4rem, 4.8vw, 4.2rem); }

.section { position: relative; padding-block: clamp(72px, 10vw, 136px); }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(20px, 4vw, 56px); align-items: end;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head__side { display: grid; gap: 22px; justify-items: start; }
.section-head__side p { color: var(--ink-2); max-width: 46ch; font-size: 1.05rem; }

/* ---------- Navigation: edit-suite toolbar + scroll timeline ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background 0.5s var(--ease), -webkit-backdrop-filter 0.5s, backdrop-filter 0.5s;
}
.nav.is-scrolled, html.menu-open .nav {
  background: linear-gradient(180deg, rgba(8, 5, 6, 0.86), rgba(8, 5, 6, 0.7));
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
}
.nav__bar {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px;
  height: 64px; padding-inline: var(--gutter);
}

.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.brand__mark {
  width: 38px; height: 38px; flex: none; overflow: visible;
  filter: drop-shadow(0 6px 16px rgba(var(--accent-rgb), 0.28));
}
/* Hover: the playhead scrubs in from the left, slicing through the A, and parks in the M */
.brand__playhead { transform-box: view-box; }
.brand:hover .brand__playhead, .brand:focus-visible .brand__playhead { animation: brand-scrub 1.3s cubic-bezier(0.45, 0, 0.2, 1); }
@keyframes brand-scrub {
  0% { transform: translateX(-36px); }
  78% { transform: translateX(3px); }
  100% { transform: translateX(0); }
}
.brand__text { display: grid; line-height: 1.15; }
.brand__name { font-size: 15px; font-weight: 500; letter-spacing: -0.02em; }
.brand__role { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }

.nav__links { display: flex; align-items: center; }
.nav__links a {
  position: relative; display: inline-flex; align-items: baseline; gap: 6px;
  padding: 10px 11px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2); transition: color 0.3s;
}
.nav__links i { font-style: normal; font-size: 10px; color: var(--accent-2); opacity: 0.6; transition: opacity 0.3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover i, .nav__links a.is-active i { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(0.4); }
.nav__links a.is-active::after { transform: scaleX(1); }

.nav__end { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.nav__tc { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.nav__tc b { font-weight: 400; color: var(--ink-3); font-size: 10px; letter-spacing: 0.12em; }
.nav__rec { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: blink 1.4s steps(2, start) infinite; }
.nav__cta, .nav__toggle {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; border-radius: 8px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.nav__cta { background: var(--ink); color: #0b0607; }
.nav__cta svg { width: 14px; height: 14px; stroke-width: 2; transition: transform 0.45s var(--ease-out); }
.nav__cta:hover { background: var(--accent); color: #fff; }
.nav__cta:hover svg { transform: rotate(45deg); }
.nav__toggle { display: none; border: 1px solid var(--line-2); color: var(--ink); }
.nav__toggle:hover { border-color: rgba(255, 255, 255, 0.35); }
.nav__toggle-icon { position: relative; width: 16px; height: 10px; }
.nav__toggle-icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out); }
.nav__toggle-icon i:first-child { top: 1px; }
.nav__toggle-icon i:last-child { top: 7.5px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon i:first-child { top: 4.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon i:last-child { top: 4.5px; transform: rotate(-45deg); }

/* The page as a timeline: ticks, section markers, and a playhead that follows the scroll */
.nav__ruler { position: relative; height: 14px; cursor: ew-resize; touch-action: none; }
.nav__ticks {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.26) 1px, transparent 1px) 0 100% / 80px 9px repeat-x,
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px) 0 100% / 10px 4px repeat-x;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.nav__fill {
  position: absolute; inset: 0; pointer-events: none; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0), rgba(var(--accent-rgb), 0.22));
}
.nav__marker {
  position: absolute; top: 2px; width: 6px; height: 6px; margin-left: -3px; pointer-events: none;
  background: var(--accent-2); opacity: 0.55; transform: rotate(45deg); transition: opacity 0.3s, background 0.3s;
}
.nav__marker.is-active { opacity: 1; background: var(--accent-3); box-shadow: 0 0 10px var(--accent-2); }
.nav__playhead { position: absolute; top: 0; left: 0; bottom: -1px; width: 2px; margin-left: -1px; background: var(--accent); box-shadow: 0 0 12px var(--accent); pointer-events: none; will-change: transform; }
.nav__playhead::before { content: ""; position: absolute; top: 0; left: -4px; width: 10px; height: 6px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 50% 100%); }

/* Full-screen menu (tablet & phone) */
html.menu-open { overflow: hidden; }
.menu {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 104px var(--gutter) 28px; overflow-y: auto;
  background: radial-gradient(80% 60% at 100% 0%, rgba(var(--accent-rgb), 0.22), transparent 60%), rgba(8, 5, 6, 0.96);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  animation: fade-in 0.35s ease;
}
.menu__links { display: grid; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(2rem, 8.5vw, 3.6rem); letter-spacing: -0.045em; line-height: 1.05;
  animation: menu-item 0.7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms + 60ms);
  transition: color 0.3s, padding 0.4s var(--ease-out);
}
.menu__links i { font-family: var(--font-mono); font-style: normal; font-size: 12px; letter-spacing: 0.1em; color: var(--accent-2); }
.menu__links a:hover, .menu__links a:focus-visible { color: var(--accent-3); padding-left: 8px; }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; color: var(--ink-3); }
.menu__foot a { color: var(--ink); }
@keyframes menu-item { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 120px 0 clamp(28px, 4vw, 44px);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s var(--ease);
}
.hero__video.is-ready { opacity: 1; }
.hero__glow {
  position: absolute; inset: -10%;
  background:
    radial-gradient(55% 65% at 80% 20%, rgba(var(--accent-rgb), 0.42), transparent 62%),
    radial-gradient(45% 55% at 10% 95%, rgba(122, 20, 54, 0.5), transparent 65%),
    radial-gradient(35% 35% at 45% 45%, rgba(var(--accent-2-rgb), 0.08), transparent 70%);
  animation: hero-glow 16s ease-in-out infinite alternate;
  transition: opacity 1.4s var(--ease);
}
.hero__bg.has-video .hero__glow { opacity: 0.35; }
@keyframes hero-glow { to { transform: translate3d(-5%, 4%, 0) scale(1.08); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(55% 55% at 72% 35%, rgba(var(--accent-rgb), 0.22), transparent 70%),
    linear-gradient(90deg, rgba(8, 5, 6, 0.7) 0%, rgba(8, 5, 6, 0.1) 55%, rgba(8, 5, 6, 0.35) 100%),
    linear-gradient(180deg, rgba(8, 5, 6, 0.6) 0%, rgba(8, 5, 6, 0) 26%, rgba(8, 5, 6, 0.5) 58%, rgba(8, 5, 6, 0.94) 86%, var(--bg) 100%);
}

@keyframes fade-in { from { opacity: 0; } }

.hero__frame { position: absolute; inset: 118px var(--gutter) 18px; z-index: -1; pointer-events: none; }
.hero__frame i { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(255, 255, 255, 0.32); animation: fade-in 1s ease 1.2s both; }
.hero__frame i:nth-child(1) { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.hero__frame i:nth-child(2) { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.hero__frame i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.hero__frame i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.hero__inner { position: relative; }
.hero__top {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  animation: fade-up 1s var(--ease-out) 0.2s both;
}
.hero__loc { color: var(--ink-2); }
.hero__loc .sep { color: var(--ink-3); margin-inline: 4px; }

.hero__title {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.16em;
  margin: clamp(10px, 2vw, 24px) 0 0 -0.05em;
  font-size: clamp(4.6rem, 17vw, 17rem);
  font-weight: 500; line-height: 0.84; letter-spacing: -0.065em;
}
.hero__title .w { display: inline-block; }
.hero__title .w > span {
  display: inline-block; padding: 0.06em 0.12em 0.32em 0.04em; margin: -0.06em -0.12em -0.32em -0.04em;
  opacity: 0; transform: translateY(0.3em); filter: blur(12px);
  animation: rise 1.4s var(--ease-out) forwards; animation-delay: calc(var(--i) * 160ms + 200ms);
}
.hero__title .w--serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.1em; letter-spacing: -0.03em; }
.hero__title .w--serif > span {
  background: linear-gradient(180deg, #ffffff 25%, var(--accent-3) 60%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes rise { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } }

.hero__foot {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.8fr) minmax(0, 0.95fr);
  gap: clamp(20px, 3vw, 44px); align-items: end;
  margin-top: clamp(24px, 3.5vw, 44px);
}
.hero__intro { animation: fade-up 1s var(--ease-out) 0.7s both; }
.hero__intro p { max-width: 36ch; font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.5; color: var(--ink-2); }
.hero__intro p em { color: var(--ink); font-size: 1.12em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.hero__index { display: grid; gap: 2px; align-self: end; animation: fade-up 1s var(--ease-out) 0.85s both; }
.hero__index button, .hero__index a {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: baseline; gap: 8px;
  width: 100%; padding: 9px 4px; text-align: left;
  font-size: clamp(1rem, 1.3vw, 1.2rem); letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
  transition: padding 0.4s var(--ease-out), color 0.3s, border-color 0.3s;
}
.hero__index .n { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.hero__index .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.hero__index button:hover, .hero__index a:hover { padding-left: 12px; border-color: rgba(var(--accent-3-rgb), 0.5); }
.hero__index button:hover .n, .hero__index a:hover .n { color: var(--accent-3); }

.showing {
  display: grid; gap: 10px; width: 100%; padding: 10px 10px 14px; border-radius: var(--radius); text-align: left;
  animation: fade-up 1s var(--ease-out) 1s both;
  transition: transform 0.5s var(--ease-out);
}
.showing:hover { transform: translateY(-4px); }
.showing__media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--surface); }
.showing__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.showing:hover .showing__media img { transform: scale(1.06); }
.showing .play-btn { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
.showing .play-btn svg { width: 18px; height: 18px; }
.showing:hover .play-btn { transform: scale(1.1); background: rgba(255, 255, 255, 0.24); }
.showing__meta { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 0; }
.rec { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.rec i { width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 10px #ff4d4d; animation: blink 1.4s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.tc { color: var(--accent-3); font-variant-numeric: tabular-nums; }
.showing__title { padding: 0 4px; font-size: 1.05rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.showing__sub { padding: 0 4px; margin-top: -8px; font-size: 13px; color: var(--ink-3); }

/* ---------- Brands marquee ---------- */
.brands { padding-top: clamp(40px, 6vw, 72px); }
.marquee {
  margin-top: 22px; padding-block: 22px;
  border-block: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__group li {
  display: flex; align-items: center; white-space: nowrap;
  font-size: clamp(1.6rem, 3.2vw, 2.8rem); letter-spacing: -0.035em; color: var(--ink-3);
  transition: color 0.4s;
}
.marquee__group li:nth-child(even) { font-family: var(--font-serif); font-style: italic; letter-spacing: -0.01em; }
.marquee__group li::after {
  content: ""; width: 10px; height: 10px; margin-inline: clamp(22px, 3vw, 44px);
  background: var(--accent-2); opacity: 0.6;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.marquee__group li:hover { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Feature films ---------- */
.feature {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 72px); align-items: start;
}
.feature + .feature { margin-top: clamp(56px, 8vw, 104px); padding-top: clamp(56px, 8vw, 104px); border-top: 1px solid var(--line); }
/* Alternate sides once there's more than one film */
@media (min-width: 901px) {
  .feature:nth-child(even) { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr); }
  .feature:nth-child(even) .feature__media { order: -1; }
}
.feature__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 18px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2);
}
.feature__num { color: var(--accent-2); }
.feature__meta span + span::before { content: "/"; margin-right: 14px; color: var(--ink-3); }
.feature__status { color: var(--accent-3); }
.feature__links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.feature__title {
  display: flex; align-items: flex-start; gap: 14px;
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(5.5rem, 13vw, 11.5rem); line-height: 0.82; letter-spacing: -0.03em;
}
.feature__title { background: linear-gradient(180deg, #fff 35%, var(--accent-3) 110%); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 0.05em 0.16em 0; margin-bottom: -0.16em; }
.feature__year {
  font-family: var(--font-mono); font-style: normal; font-size: 12px; letter-spacing: 0.1em;
  -webkit-text-fill-color: var(--ink-2); color: var(--ink-2);
  padding: 6px 10px; margin-top: 0.6em; border: 1px solid var(--line-2); border-radius: 999px;
}
.feature__lede { margin-top: 26px; font-size: clamp(1.05rem, 1.3vw, 1.18rem); color: var(--ink-2); max-width: 44ch; }
.feature__credits { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.feature__credits div { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.feature__credits div:nth-child(odd) { padding-right: 18px; }
.feature__credits dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.feature__credits dd { margin-top: 4px; font-size: 15px; line-height: 1.4; }

.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; padding: 8px; }
.player__poster, .player iframe { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); border-radius: 15px; overflow: hidden; border: 0; background: #000; }
.player__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), opacity 0.4s; }
.player__poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8, 5, 6, 0.5)); }
.player:hover .player__poster img { transform: scale(1.04); }
.player:hover .play-btn { transform: scale(1.1); background: rgba(255, 255, 255, 0.24); }

.player--soon { display: grid; place-items: center; background: radial-gradient(70% 90% at 70% 20%, rgba(var(--accent-rgb), 0.3), transparent 65%), rgba(255, 255, 255, 0.03); }
.player--soon > img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: cover; border-radius: 15px; opacity: 0.55; }
.player__soon { position: relative; display: grid; justify-items: center; gap: 14px; text-align: center; padding: 24px; }
.player__soon .chip { border: 1px solid rgba(var(--accent-3-rgb), 0.5); color: var(--accent-3); background: rgba(8, 5, 6, 0.5); }
.player__soon p { font-family: var(--font-serif); font-style: italic; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tabs button {
  padding: 10px 16px; border-radius: 999px; font-size: 14px; color: var(--ink-2);
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s var(--ease);
}
.tabs button:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.3); }
.tabs button[aria-selected="true"] { background: #fff; color: #0b0607; border-color: #fff; }

/* Credits list */
.credits { margin-top: clamp(64px, 9vw, 120px); }
.credits__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.credits__head h3 { font-size: 1.1rem; font-weight: 500; letter-spacing: -0.01em; }
.credits__head .mono { color: var(--ink-3); text-transform: uppercase; font-size: 11px; letter-spacing: 0.12em; }
.credit { border-bottom: 1px solid var(--line); }
.credit__row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, 0.8fr) 40px;
  align-items: center; gap: 16px; width: 100%; padding: 20px 6px; text-align: left;
  transition: padding 0.5s var(--ease-out), background 0.4s;
}
.credit__title { font-size: clamp(1.35rem, 2.4vw, 2.1rem); letter-spacing: -0.035em; line-height: 1.1; }
.credit__title small { font-size: 0.5em; letter-spacing: 0; color: var(--ink-3); margin-left: 8px; vertical-align: 0.5em; font-family: var(--font-mono); }
.credit__format { color: var(--ink-2); font-size: 15px; }
.credit__role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.credit__status { display: inline-block; margin-left: 10px; padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(var(--accent-2-rgb), 0.4); color: var(--accent-2); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; vertical-align: middle; }
.credit__go {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-2); justify-self: end;
  transition: background 0.3s, transform 0.5s var(--ease-out), border-color 0.3s;
}
.credit__go svg { width: 14px; height: 14px; fill: currentColor; stroke: none; margin-left: 2px; }
button.credit__row:hover { padding-left: 22px; background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.14), rgba(var(--accent-rgb), 0) 70%); }
button.credit__row:hover .credit__go { background: #fff; color: #0b0607; border-color: #fff; transform: scale(1.06); }
.credit__row:not(button) .credit__go { visibility: hidden; }

/* ---------- Work grid ---------- */
.filters { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; }
.filter {
  padding: 9px 16px; border-radius: 999px; font-size: 14px; color: var(--ink-2);
  transition: background 0.35s var(--ease), color 0.35s;
}
.filter sup { font-family: var(--font-mono); font-size: 10px; margin-left: 2px; color: var(--ink-3); vertical-align: 0.6em; }
.filter:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.filter[aria-pressed="true"] { background: #fff; color: #0b0607; }
.filter[aria-pressed="true"] sup { color: rgba(11, 6, 7, 0.55); }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.card {
  padding: 8px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  transition: transform 0.6s var(--ease-out), border-color 0.4s, box-shadow 0.6s var(--ease-out);
}
.card:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.14); box-shadow: 0 30px 60px -30px rgba(var(--accent-rgb), 0.55); }
.card__media { position: relative; aspect-ratio: 16 / 9; border-radius: 15px; overflow: hidden; background: var(--surface); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter 0.6s; }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 5, 6, 0) 45%, rgba(8, 5, 6, 0.55)); transition: opacity 0.5s; }
.card:hover .card__media img { transform: scale(1.07); }
.card .play-btn { opacity: 0; transform: scale(0.7); }
.card:hover .play-btn, .card:focus-within .play-btn { opacity: 1; transform: scale(1); }
.card__count { position: absolute; z-index: 1; top: 10px; left: 10px; background: rgba(8, 5, 6, 0.5); border: 1px solid rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.card__views { position: absolute; z-index: 1; top: 10px; right: 10px; background: rgba(8, 5, 6, 0.5); border: 1px solid rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); gap: 6px; }
.card__views svg { width: 11px; height: 11px; fill: var(--accent-2); stroke: none; }
.card__dur { position: absolute; z-index: 1; right: 10px; bottom: 10px; padding: 3px 7px; border-radius: 6px; background: rgba(8, 5, 6, 0.75); font-family: var(--font-mono); font-size: 11px; color: var(--ink); }
.card__body { padding: 16px 10px 10px; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.card__meta span + span::before { content: "/"; margin-right: 14px; color: var(--line-2); }
.card__title { margin-top: 8px; font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.15; }
.card__link { text-align: left; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.card__blurb { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.card--cta {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: clamp(22px, 2.4vw, 30px); min-height: 100%;
  background: radial-gradient(120% 90% at 100% 0%, rgba(var(--accent-rgb), 0.35), rgba(var(--accent-rgb), 0) 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
}
.card--cta h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 400; letter-spacing: -0.045em; line-height: 1; }
.card--cta p { margin-top: 12px; color: var(--ink-2); font-size: 15px; max-width: 30ch; }
.card--cta .btn { align-self: flex-start; }
.card--cta .btn::after { content: ""; position: absolute; inset: -400px; }
.card--cta { overflow: hidden; }
@media (min-width: 641px) {
  .card--cta { grid-column: span 2; flex-direction: row; align-items: flex-end; }
  .card--cta .btn { align-self: flex-end; }
}
.noscript { color: var(--ink-2); }
.noscript a { text-decoration: underline; }

/* ---------- Social reels ---------- */
.reels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); }
.reel {
  position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.6s var(--ease-out), border-color 0.4s, box-shadow 0.6s var(--ease-out);
}
.reel:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.18); box-shadow: 0 30px 60px -28px rgba(var(--accent-rgb), 0.6); }
.reel__btn { position: absolute; inset: 0; width: 100%; text-align: left; border-radius: inherit; }
.reel img, .reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel img { transition: transform 1.2s var(--ease-out); }
.reel:hover img { transform: scale(1.05); }
.reel video { opacity: 0; transition: opacity 0.5s var(--ease); }
.reel.is-playing video { opacity: 1; }
.reel__ratio {
  position: absolute; z-index: 1; top: 10px; right: 10px; padding: 4px 8px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--ink-2);
  background: rgba(8, 5, 6, 0.45); border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.reel__info {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 0;
  display: grid; gap: 2px; padding: 48px 14px 14px;
  background: linear-gradient(180deg, transparent, rgba(8, 5, 6, 0.88));
}
.reel__brand { font-size: 1.05rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.reel__note { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.reel .play-btn { width: 48px; height: 48px; margin: -24px 0 0 -24px; opacity: 0; transform: scale(0.7); }
.reel .play-btn svg { width: 16px; height: 16px; }
.reel:hover .play-btn, .reel:focus-within .play-btn { opacity: 1; transform: scale(1); }
.reel.is-extra { display: none; }
.reels.is-expanded .reel.is-extra { display: block; }
.reels__more { display: flex; justify-content: center; margin-top: clamp(24px, 3vw, 40px); }
.touch-only { display: none; }
@media (hover: none) { .hover-only { display: none; } .touch-only { display: inline; } }

/* ---------- YouTube ---------- */
.yt__top {
  display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.4fr);
  gap: clamp(14px, 1.8vw, 22px); margin-bottom: clamp(14px, 1.8vw, 22px);
}
.yt__channel {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius);
  background: radial-gradient(120% 80% at 0% 0%, rgba(var(--accent-rgb), 0.28), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
}
.yt__id { display: flex; align-items: center; gap: 14px; }
.yt__avatar { width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.18); flex: none; }
.yt__name { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.yt__handle { margin-top: 2px; color: var(--ink-3); }
.yt__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.yt__stats div { padding: 14px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); display: flex; flex-direction: column-reverse; gap: 4px; }
.yt__stats dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.yt__stats dd { font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -0.045em; line-height: 1; }
.yt__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.yt__featured .card { height: 100%; display: flex; flex-direction: column; }
.yt__featured .card__media { flex: 1; min-height: 0; aspect-ratio: 16 / 9; }
.yt__featured .card__title { font-size: clamp(1.4rem, 2.2vw, 2rem); }
.yt__flag { position: absolute; z-index: 1; left: 10px; top: 10px; background: linear-gradient(135deg, #ff5a4e, #b3141c); border: 1px solid rgba(255, 255, 255, 0.25); }
.yt__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.yt__grid .card__title { font-size: 1.12rem; letter-spacing: -0.02em; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Direction ---------- */
.direction__frame {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  min-height: clamp(560px, 72vh, 760px);
  display: flex; align-items: flex-end; justify-content: flex-end;
  border: 1px solid var(--line);
}
.direction__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 40%; }
.direction__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(270deg, rgba(8, 5, 6, 0.85) 0%, rgba(8, 5, 6, 0.2) 55%, rgba(8, 5, 6, 0) 100%), linear-gradient(0deg, rgba(8, 5, 6, 0.6), transparent 40%);
}
.direction__card {
  position: relative; z-index: 1; max-width: 520px; margin: clamp(14px, 3vw, 32px);
  padding: clamp(24px, 3vw, 36px); border-radius: 24px;
  background: linear-gradient(180deg, rgba(24, 12, 14, 0.55), rgba(24, 12, 14, 0.35));
}
.direction__card p:not(.label) { margin: 18px 0 26px; color: var(--ink-2); font-size: 1.05rem; }
.direction__card strong { color: var(--ink); font-weight: 500; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .direction__frame > img { animation: parallax linear both; animation-timeline: view(); scale: 1.15; }
    @keyframes parallax { from { transform: translateY(-6%); } to { transform: translateY(6%); } }
  }
}

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 18px); }
.service {
  display: flex; flex-direction: column; min-height: 320px; padding: 26px; border-radius: var(--radius);
  transition: transform 0.6s var(--ease-out), border-color 0.4s;
}
.service:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.16); }
.service__top { display: flex; justify-content: space-between; align-items: center; }
.service__icon {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2);
  transition: background 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s, transform 0.6s var(--ease-out);
}
.service__icon svg { width: 22px; height: 22px; }
.service:hover .service__icon { background: linear-gradient(135deg, #ff5a4e, #b3141c); border-color: rgba(255, 255, 255, 0.25); box-shadow: 0 10px 30px -8px rgba(var(--accent-rgb), 0.9); transform: rotate(-6deg); }
.service__num { color: var(--ink-3); }
.service h3 { padding-top: 56px; font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.15; }
.service p { margin-top: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 22px; }
.tags li { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; color: var(--ink-2); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.about__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.about__photo:hover img { transform: scale(1.04); }
.about__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(8, 5, 6, 0.55)); pointer-events: none; }
.about__chip { position: absolute; z-index: 1; left: 16px; bottom: 16px; color: var(--ink); }
.about__bio { margin-top: 28px; display: grid; gap: 16px; max-width: 60ch; }
.about__bio p { color: var(--ink-2); font-size: clamp(1rem, 1.2vw, 1.1rem); }
.about__bio .lead { color: var(--ink); font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.45; letter-spacing: -0.015em; }
.about__bio em { color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 34px; }
.stat { display: flex; flex-direction: column-reverse; gap: 4px; padding: 18px; border-radius: 18px; }
.stat dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.stat dd { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 400; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }

/* ---------- Contact ---------- */
.contact__panel {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(28px, 6vw, 80px); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
}
.contact__glow {
  position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -20%; top: -40%; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.5), rgba(var(--accent-rgb), 0) 65%);
  animation: glow 12s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(-12%, 18%) scale(1.15); } }
.contact__title { margin-top: 22px; font-size: clamp(3rem, 8.4vw, 7.6rem); font-weight: 400; line-height: 0.92; letter-spacing: -0.055em; }
.contact__title em { letter-spacing: -0.025em; background: linear-gradient(90deg, #fff, var(--accent-3)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }
.contact__lede { margin-top: 22px; color: var(--ink-2); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 44ch; }
.email { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: clamp(32px, 4vw, 52px); }
.email__link {
  position: relative; font-size: clamp(1.3rem, 4vw, 3.2rem); letter-spacing: -0.04em; line-height: 1.1; word-break: break-all;
  background: linear-gradient(90deg, var(--accent-3), var(--accent-3)) 0 100% / 0 1px no-repeat, linear-gradient(90deg, var(--line-2), var(--line-2)) 0 100% / 100% 1px no-repeat;
  padding-bottom: 6px; transition: background-size 0.7s var(--ease-out), color 0.3s;
}
.email__link:hover { background-size: 100% 1px, 100% 1px; color: #fff; }
.email__copy {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.email__copy svg { width: 15px; height: 15px; }
.email__copy:hover { background: rgba(255, 255, 255, 0.08); color: var(--ink); }
.email__copy.is-done { border-color: rgba(var(--accent-2-rgb), 0.5); color: var(--accent-2); }
.contact__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: clamp(32px, 4vw, 52px); }
.contact__item {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px;
  padding: 18px 18px 16px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease-out), background 0.3s, border-color 0.3s;
}
.contact__item:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); }
.contact__k { color: var(--ink-3); text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.12em; }
.contact__v { grid-row: 2; font-size: 1.1rem; letter-spacing: -0.02em; margin-top: 4px; }
.contact__i { grid-row: 1 / span 2; grid-column: 2; align-self: center; width: 18px; height: 18px; color: var(--ink-3); transition: transform 0.5s var(--ease-out), color 0.3s; }
.contact__item:hover .contact__i { transform: translate(2px, -2px); color: var(--accent-3); }

/* ---------- Footer ---------- */
.footer { padding: clamp(40px, 6vw, 80px) 0 28px; overflow: hidden; }
.footer__word {
  font-size: clamp(4rem, 17vw, 17rem); font-weight: 500; line-height: 0.85; letter-spacing: -0.065em; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-left: -0.04em; padding-bottom: 0.14em; margin-bottom: -0.14em; user-select: none;
}
.footer__word em { font-size: 1.1em; letter-spacing: -0.03em; padding-right: 0.06em; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-3); }
.footer__top { transition: color 0.3s; }
.footer__top:hover { color: var(--ink); }

/* ---------- Lightbox ---------- */
.lb {
  width: min(1240px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px);
  padding: 0; margin: auto; border: 0; background: transparent; color: var(--ink); overflow: visible;
}
.lb::backdrop { background: rgba(6, 3, 4, 0.8); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.lb[open] { animation: lb-in 0.5s var(--ease-out); }
.lb[open]::backdrop { animation: fade-in 0.4s ease; }
@keyframes lb-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.lb__panel {
  padding: 12px; border-radius: 26px;
  background: linear-gradient(180deg, rgba(34, 15, 18, 0.82), rgba(16, 8, 10, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.lb__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 4px 4px 12px 10px; }
.lb__eyebrow { color: var(--ink-3); text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.12em; }
.lb__title { margin-top: 2px; font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.lb__actions { display: flex; align-items: center; gap: 6px; flex: none; }
.lb__count { color: var(--ink-3); margin-right: 8px; font-variant-numeric: tabular-nums; }
.lb__btn {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04);
  transition: background 0.3s, border-color 0.3s, opacity 0.3s;
}
.lb__btn svg { width: 18px; height: 18px; }
.lb__btn:hover { background: rgba(255, 255, 255, 0.12); }
.lb__btn:disabled { opacity: 0.3; cursor: default; }
.lb__close { background: #fff; color: #0b0607; border-color: #fff; }
.lb__close:hover { background: #f3e3e1; }
.lb__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.lb__panel.has-list .lb__body { grid-template-columns: minmax(0, 1fr) 290px; }
.lb__stage { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; margin-inline: auto; max-height: calc(100dvh - 120px); }
.lb.is-portrait, .lb.is-square { width: fit-content; max-width: calc(100vw - 24px); }
.lb__stage.is-portrait { aspect-ratio: 9 / 16; width: min(calc((100dvh - 130px) * 9 / 16), calc(100vw - 48px)); }
.lb__stage.is-square { aspect-ratio: 1 / 1; width: min(calc(100dvh - 130px), calc(100vw - 48px)); }
.lb__stage iframe, .lb__stage video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.lb__list { display: flex; flex-direction: column; gap: 6px; overflow-y: auto; max-height: min(calc((min(1240px, 100vw - 24px) - 326px) * 9 / 16), calc(100dvh - 120px)); padding-right: 2px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.2) transparent; }
.lb__list button {
  display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 12px;
  width: 100%; padding: 6px; border-radius: 12px; text-align: left; border: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.lb__list button:hover { background: rgba(255, 255, 255, 0.05); }
.lb__list button[aria-current="true"] { background: rgba(var(--accent-rgb), 0.16); border-color: rgba(var(--accent-2-rgb), 0.45); }
.lb__list img { width: 104px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: var(--surface); }
.lb__list span { font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.lb__list button[aria-current="true"] span { color: var(--ink); }

/* ---------- Cursor follower ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; will-change: transform; }
.cursor__pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 11px; border-radius: 999px;
  background: #fff; color: #0b0607; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  transform: translate(14px, 14px) scale(0); transform-origin: top left; opacity: 0;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}
.cursor__pill svg { width: 12px; height: 12px; fill: currentColor; }
.cursor.is-active .cursor__pill { transform: translate(14px, 14px) scale(1); opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.card[data-reveal].is-in { transition: opacity 1s var(--ease-out), transform 0.6s var(--ease-out), border-color 0.4s, box-shadow 0.6s var(--ease-out); transition-delay: var(--d, 0ms), 0ms, 0ms, 0ms; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav__bar { grid-template-columns: minmax(0, 1fr) auto; }
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
}

@media (max-width: 1100px) {
  .hero__foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero__index { display: none; }
  .reels { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .feature { grid-template-columns: 1fr; }
  .feature__media { order: -1; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .yt__top { grid-template-columns: 1fr; }
  .yt__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 520px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credit__row { grid-template-columns: minmax(0, 1fr) 40px; gap: 4px 12px; }
  .credit__title { grid-column: 1; }
  .credit__format { grid-column: 1; grid-row: 2; font-size: 14px; }
  .credit__role { grid-column: 1; grid-row: 3; margin-top: 4px; }
  .credit__go { grid-column: 2; grid-row: 1 / span 3; }
  .lb__panel.has-list .lb__body { grid-template-columns: 1fr; }
  .lb__list { flex-direction: row; overflow-x: auto; overflow-y: hidden; max-height: none; padding-bottom: 4px; }
  .lb__list li { flex: 0 0 210px; }
  .lb__list button { grid-template-columns: 1fr; gap: 6px; }
  .lb__list img { width: 100%; }
  .lb__stage.is-portrait { width: min(calc((100dvh - 150px) * 9 / 16), calc(100vw - 48px)); }
  .direction__frame { align-items: flex-end; justify-content: stretch; min-height: 0; padding-top: 52vw; }
  .direction__frame > img { height: 70%; object-position: 30% 30%; }
  .direction__frame::after { background: linear-gradient(0deg, rgba(8, 5, 6, 0.95) 30%, rgba(8, 5, 6, 0) 70%); }
  .direction__card { max-width: none; }
}

@media (max-width: 640px) {
  .nav__bar { height: 58px; gap: 12px; }
  .nav__tc, .nav__cta { display: none; }
  .brand__mark { width: 34px; height: 34px; }
  .hero { padding-top: 100px; }
  .hero__title { flex-direction: column; row-gap: 0; font-size: clamp(4.4rem, 25vw, 9rem); }
  .hero__title .w--serif { margin-top: -0.12em; }
  .hero__foot { grid-template-columns: 1fr; }
  .hero__loc { display: none; }
  .showing { grid-template-columns: 120px 1fr; grid-template-rows: auto auto auto; column-gap: 14px; row-gap: 4px; align-items: center; }
  .showing__media { grid-row: 1 / span 3; }
  .showing__meta, .showing__title, .showing__sub { grid-column: 2; padding: 0; margin: 0; }
  .showing .play-btn { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
  .btn { --h: 48px; font-size: 14px; }
  .grid { grid-template-columns: 1fr; }
  .card .play-btn { opacity: 1; transform: scale(0.85); }
  .yt__grid { grid-template-columns: 1fr; }
  .reels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel .play-btn { display: none; }
  .services__grid { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service h3 { padding-top: 36px; }
  .contact__grid { grid-template-columns: 1fr; }
  .feature__credits { grid-template-columns: 1fr; }
  .feature__credits div:nth-child(odd) { padding-right: 0; }
  .filters { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .lb__head { padding-left: 6px; }
  .lb__count { display: none; }
  .footer__row { flex-direction: column; }
}

@media (hover: none) {
  .card .play-btn { opacity: 1; transform: scale(0.85); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; transition-delay: 0ms !important;
  }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee__group { flex-wrap: wrap; row-gap: 10px; padding-inline: var(--gutter); }
  .bg__blob, .contact__glow { animation: none; }
}
