/* =====================================================================
   SHIVA DAWOLIWALA | style.css
   Design read: cinematic artist site for fans + bookers. Film-first,
   oversized condensed type, one vermilion accent on off-black.
   Dials: variance 9 / motion 8 / density 3.

   Type:   Archivo (variable width, used condensed for display)
           Geist (body), Geist Mono (numbers, small labels)
   Radius: pills for every button / chip, 20px for media, 0 for type
   Z:      grain 90 | loader 80 | modal (dialog top layer)
           nav 60 | menu 55 | content 1
   ===================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-wdth.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/geist.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../assets/fonts/geist-mono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #0c0c0d;
  --bg-2: #131314;
  --surface: #1a1a1c;
  --line: rgb(240 237 230 / 0.12);
  --text: #f0ede6;
  --text-2: rgb(240 237 230 / 0.68);
  --text-3: rgb(240 237 230 / 0.46);
  --accent: #e5583a;
  --accent-hi: #f06a4d;
  --on-accent: #0c0c0d;

  --deva: "Nirmala UI", "Noto Sans Devanagari", "Kohinoor Devanagari", "Mangal";
  --display: "Archivo", "Arial Narrow", var(--deva), system-ui, sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", var(--deva), sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;

  --r: 20px;
  --pill: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --gutter: clamp(16px, 3.2vw, 48px);
  --wrap: 1440px;

  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* grain: fixed + pointer-events none so it never repaints with scroll */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
ul {
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
::selection {
  background: var(--accent);
  color: var(--on-accent);
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--accent);
  color: var(--on-accent);
  padding: 12px 18px;
  border-radius: var(--pill);
  font-weight: 600;
}
.skip:focus {
  top: 16px;
}
[hidden] {
  display: none !important;
}

/* ---------- type ---------- */
.big {
  font-family: var(--display);
  font-stretch: 68%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3.4rem, 9vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: -0.01em;
}
.lead {
  color: var(--text-2);
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  max-width: 46ch;
}
.label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.fit {
  white-space: nowrap;
  display: block;
  width: 100%;
}

/* ---------- pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: var(--pill);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition:
    background-color 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.pill i {
  font-size: 1.15em;
}
.pill:active {
  scale: 0.97;
}
.pill-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
}
.pill-accent {
  background: var(--accent);
  color: var(--on-accent);
}
.pill-accent:hover {
  background: var(--accent-hi);
}
.pill-glass {
  color: var(--text);
  background: rgb(12 12 13 / 0.35);
  border: 1px solid rgb(240 237 230 / 0.22);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.pill-glass:hover {
  border-color: var(--text);
}
.pill-line {
  border: 1px solid var(--line);
  color: var(--text);
}
.pill-line:hover {
  border-color: var(--text);
}

/* ================= LOADER ================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--bg);
  display: grid;
  align-content: end;
  padding: var(--gutter);
  padding-bottom: calc(var(--gutter) + 40px);
  pointer-events: none;
}
.js .loader {
  pointer-events: auto;
}
.no-js .loader {
  display: none;
}
.loader-word {
  overflow: hidden;
}
.loader-line {
  display: block;
  font-family: var(--display);
  font-stretch: 68%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3.4rem, 11vw, 11rem);
  line-height: 0.88;
  transform: translateY(105%);
}
.loader-count {
  position: absolute;
  right: var(--gutter);
  top: var(--gutter);
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.loader-count::after {
  content: "%";
}
.loader-bar {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: var(--gutter);
  height: 2px;
  background: var(--line);
  overflow: hidden;
}
.loader-bar i {
  display: block;
  height: 100%;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
}

/* ================= NAV ================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: 76px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transition: transform 0.6s var(--ease);
}
.nav.hide {
  transform: translateY(-110%);
}
.nav.solid::before {
  background: rgb(12 12 13 / 0.78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(12 12 13 / 0.7), transparent);
  pointer-events: none;
  transition: background-color 0.4s;
}
.nav-brand {
  font-family: var(--display);
  font-stretch: 80%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 0.01em;
  justify-self: start;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: var(--pill);
  background: rgb(12 12 13 / 0.35);
  border: 1px solid rgb(240 237 230 / 0.12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.nav-links a {
  padding: 8px 18px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition:
    color 0.3s,
    background-color 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgb(240 237 230 / 0.1);
}
.nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-book {
  height: 44px;
  padding: 0 20px;
  font-size: 14px;
}
.menu-btn {
  height: 44px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--pill);
  border: 1px solid rgb(240 237 230 / 0.22);
  background: rgb(12 12 13 / 0.35);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-size: 14px;
  font-weight: 500;
}
.menu-btn-lines {
  display: grid;
  gap: 5px;
  width: 18px;
}
.menu-btn-lines i {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.5s var(--ease);
}
.menu-btn[aria-expanded="true"] .menu-btn-lines i:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] .menu-btn-lines i:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* ================= MENU OVERLAY ================= */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--bg-2);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  display: grid;
}
.menu-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.menu-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: grayscale(0.4) blur(2px);
  transform: scale(1.1);
}
.menu-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg-2) 30%, rgb(19 19 20 / 0.6));
}
.menu-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  gap: 40px;
  padding: 120px var(--gutter) var(--gutter);
}
.menu-links {
  display: grid;
}
.menu-links a {
  display: block;
  overflow: hidden;
  font-family: var(--display);
  font-stretch: 68%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(4rem, 12vw, 11rem);
  line-height: 0.9;
}
.menu-links a span {
  display: inline-block;
  transition: color 0.3s;
}
.menu-links a:hover span {
  color: var(--accent);
}
.menu-aside {
  display: grid;
  gap: 28px;
  justify-items: start;
  padding-bottom: 12px;
}
.menu-mail {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}
.menu-mail:hover {
  border-color: var(--accent);
}
.menu-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: var(--text-2);
}
.menu-socials a:hover {
  color: var(--text);
}

/* ================= HERO ================= */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
}
.hero-frame {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
  will-change: clip-path;
}
.hero-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 78% 30%, rgb(229 88 58 / 0.35), transparent 70%),
    radial-gradient(50% 60% at 15% 80%, rgb(120 60 40 / 0.35), transparent 70%),
    var(--bg);
}
.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.2s var(--ease),
    transform 2.4s var(--ease);
}
.hero-poster.loaded {
  opacity: 1;
  transform: scale(1.02);
}
/* The film sits UNDER the poster and stays fully visible: YouTube will not
   autoplay an embed that is hidden with opacity. The poster fades away once
   the film is actually playing. */
.hero-video {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-poster {
  z-index: 1;
}
.hero-grade {
  z-index: 2;
}
.is-playing .hero-poster {
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
/* cover-fit a 16:9 iframe and push YouTube chrome out of view */
.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78dvh);
  height: max(56.25vw, 100dvh);
  transform: translate(-50%, -50%) scale(1.3);
  border: 0;
}
.hero-grade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(12 12 13 / 0.6) 0%, rgb(12 12 13 / 0.22) 30%, rgb(12 12 13 / 0.32) 58%, rgb(12 12 13 / 0.94) 100%),
    linear-gradient(90deg, rgb(12 12 13 / 0.55), transparent 65%);
}
.hero-content {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto auto;
  padding: 100px var(--gutter) calc(var(--gutter) * 0.9);
}
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.hero-kicker {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
}
.hero-sub {
  max-width: 26ch;
  text-align: right;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  color: var(--text);
  text-wrap: balance;
}
.hero-title {
  font-family: var(--display);
  font-stretch: 66%;
  font-weight: 850;
  text-transform: uppercase;
  line-height: 0.8;
  letter-spacing: -0.005em;
  font-size: 12vw; /* refined by fitText() in main.js */
  white-space: nowrap;
  margin: 0 0 clamp(18px, 2vw, 28px) -0.02em;
  padding-top: 0.06em;
}
.hero-title .char {
  will-change: transform;
}
.ht-line {
  display: inline-block;
}
.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgb(240 237 230 / 0.18);
  padding-top: 18px;
}
.now {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  text-align: left;
}
.now-eq {
  flex: none;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 22px;
  height: 18px;
}
.now-eq i {
  flex: 1;
  background: var(--accent);
  height: 30%;
  border-radius: 1px;
}
.is-playing .now-eq i {
  animation: eq 0.9s ease-in-out infinite alternate;
}
.now-eq i:nth-child(2) {
  animation-delay: -0.3s;
}
.now-eq i:nth-child(3) {
  animation-delay: -0.6s;
}
.now-eq i:nth-child(4) {
  animation-delay: -0.15s;
}
.now-text {
  display: grid;
  min-width: 0;
}
.now-text small {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.now-text strong {
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 44ch;
}
.now:hover strong {
  color: var(--accent);
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex: none;
}

/* ================= INTRO ================= */
.intro {
  padding: clamp(110px, 16vw, 220px) 0 clamp(90px, 12vw, 160px);
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: end;
}
.feature {
  display: grid;
  gap: 16px;
  text-align: left;
  width: 100%;
}
.feature-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  opacity: 0;
  transition:
    opacity 0.9s var(--ease),
    scale 1.2s var(--ease);
}
.feature-media img.loaded {
  opacity: 1;
}
.feature:hover .feature-media img {
  scale: 1.05;
}
.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(12 12 13 / 0.55), transparent 50%);
}
.feature-play {
  position: absolute;
  z-index: 1;
  left: 20px;
  bottom: 20px;
  width: 64px;
  height: 64px;
  border-radius: var(--pill);
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  font-size: 22px;
  transition: scale 0.5s var(--ease);
}
.feature:hover .feature-play {
  scale: 1.12;
}
.feature-cap {
  display: grid;
  gap: 4px;
}
.feature-cap small {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.feature-cap strong {
  font-family: var(--display);
  font-stretch: 75%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
  line-height: 0.95;
}
.feature-cap em {
  font-style: normal;
  color: var(--text-3);
  font-size: 14px;
}
/* 4:3 letterboxed thumbnails: zoom past the black bars */
.lb img {
  transform: scale(1.34);
}
.manifesto {
  font-family: var(--display);
  font-stretch: 88%;
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 21ch;
  text-wrap: pretty;
}
.inline-face {
  display: inline-block;
  vertical-align: middle;
  width: 1.9em;
  height: 0.95em;
  margin: -0.1em 0.12em 0;
  border-radius: var(--pill);
  overflow: hidden;
  background: var(--surface);
}
.inline-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.inline-face img.loaded {
  opacity: 1;
}
.stats {
  margin-top: clamp(64px, 9vw, 130px);
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  border-top: 1px solid var(--line);
}
.stat {
  padding-top: 26px;
  display: grid;
  gap: 8px;
}
.stat b {
  font-family: var(--display);
  font-stretch: 68%;
  font-weight: 800;
  font-size: clamp(3.6rem, 9vw, 9rem);
  line-height: 0.85;
  font-variant-numeric: tabular-nums;
}
.stat:first-child b {
  color: var(--accent);
}
.stat span {
  color: var(--text-3);
  font-size: 14px;
}
.stat b.sk {
  color: var(--surface);
}

/* ================= WATCH ================= */
.watch {
  position: relative;
  background: var(--bg);
}
.watch-pin {
  position: relative;
  height: 100dvh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.watch-track {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  padding: 0 var(--gutter);
  will-change: transform;
}
.watch-head {
  flex: none;
  width: min(30vw, 440px);
  display: grid;
  gap: 24px;
}
.watch-head p {
  color: var(--text-2);
  max-width: 28ch;
}
.watch-cards {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 3vw, 48px);
}
.vcard {
  flex: none;
  width: clamp(300px, 44vw, 760px);
  text-align: left;
  display: grid;
  align-content: start;
  gap: 18px;
}
.vcard:nth-child(even) {
  width: clamp(260px, 31vw, 540px);
  margin-top: 16vh;
}
.vcard-media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
}

.vcard-media img {
  position: absolute;
  top: 0;
  left: -5%;
  width: 110%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition:
    opacity 0.8s var(--ease),
    scale 1s var(--ease);
}
.vcard-media img.loaded {
  opacity: 1;
}
.vcard:hover .vcard-media img {
  scale: 1.05;
}
.vcard-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(12 12 13 / 0.5), transparent 45%);
  pointer-events: none;
}
.vcard-play {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border-radius: var(--pill);
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 28px;
  scale: 0.6;
  opacity: 0;
  transition:
    scale 0.5s var(--ease),
    opacity 0.4s var(--ease);
}
.vcard:hover .vcard-play,
.vcard:focus-visible .vcard-play {
  scale: 1;
  opacity: 1;
}
.vcard-dur {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 14px;
  font-family: var(--mono);
  font-size: 12px;
  padding: 3px 9px;
  border-radius: var(--pill);
  background: rgb(12 12 13 / 0.7);
}
.vcard-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}
.vcard-title {
  font-family: var(--display);
  font-stretch: 75%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  line-height: 0.98;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vcard-meta {
  flex: none;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
  line-height: 1.6;
}
.vcard.sk .vcard-media {
  animation: pulse 1.6s ease-in-out infinite;
}
.vcard.sk .vcard-title {
  height: 1.2em;
  width: 70%;
  border-radius: 6px;
  background: var(--surface);
}
.watch-msg {
  flex: none;
  width: min(80vw, 520px);
  padding: 32px;
  border-radius: var(--r);
  background: var(--surface);
  color: var(--text-2);
}
.watch-msg a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.watch-end {
  flex: none;
  display: grid;
  justify-items: start;
  gap: 22px;
  padding-right: 6vw;
}
.watch-end-circle {
  width: clamp(120px, 12vw, 180px);
  aspect-ratio: 1;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 36px;
  transition:
    background-color 0.4s var(--ease),
    color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.watch-end:hover .watch-end-circle {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.watch-end-text {
  font-family: var(--display);
  font-stretch: 75%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 0.95;
}
.watch-progress {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: calc(var(--gutter) * 0.8);
  height: 2px;
  overflow: hidden;
}
.watch-progress i {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

/* ================= LISTEN ================= */
.listen {
  padding: clamp(110px, 14vw, 200px) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.listen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.record-stage {
  position: sticky;
  top: 14vh;
  aspect-ratio: 1;
  width: 78%;
}
.sleeve {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
  box-shadow:
    0 50px 90px -40px rgb(0 0 0 / 0.9),
    inset 0 0 0 1px rgb(255 255 255 / 0.06);
}
.sleeve img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.sleeve img.loaded {
  opacity: 1;
}
.sleeve::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgb(12 12 13 / 0.35));
}
.record {
  position: absolute;
  z-index: 1;
  top: 3%;
  left: 3%;
  width: 94%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 31%, rgb(255 255 255 / 0.05) 31.3%, transparent 32%),
    repeating-radial-gradient(circle, #111 0 1px, #161617 1.5px 3px),
    #111;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.8);
}
.record-grooves {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 30deg, transparent 0 20%, rgb(255 255 255 / 0.09) 25%, transparent 32% 68%, rgb(255 255 255 / 0.07) 74%, transparent 80%);
}
.record-label {
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent);
  display: grid;
  place-items: center;
}
.record-label img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.record-label img.loaded {
  opacity: 1;
}
.record-label span {
  font-family: var(--display);
  font-stretch: 70%;
  font-weight: 800;
  color: var(--on-accent);
  font-size: clamp(1rem, 2.4vw, 2rem);
}
.record-label::after {
  content: "";
  position: absolute;
  inset: 45%;
  border-radius: 50%;
  background: var(--bg-2);
}
.listen-copy {
  display: grid;
  gap: 28px;
  padding-top: 4vh;
}
.platforms {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
.platform {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-stretch: 80%;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  text-transform: uppercase;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.45s var(--ease);
}
.platform::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease);
}
.platform:hover {
  color: var(--on-accent);
}
.platform:hover::before {
  transform: scaleY(1);
}
.platform > i:first-child {
  font-size: 0.9em;
}
.platform .go {
  margin-left: auto;
  transition: transform 0.45s var(--ease);
}
.platform:hover .go {
  transform: rotate(45deg);
}
.spotify {
  margin-top: 12px;
  border-radius: var(--r);
  overflow: hidden;
  min-height: 352px;
  background: var(--surface);
}
.spotify iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* ================= MARQUEE ================= */
.marquee {
  overflow: hidden;
  padding: clamp(28px, 4vw, 56px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee-track {
  display: flex;
  width: max-content;
}
.marquee-set {
  display: flex;
  align-items: center;
  flex: none;
}
.marquee-set span {
  font-family: var(--display);
  font-stretch: 68%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 1;
  white-space: nowrap;
  padding: 0 0.3em;
}
.marquee-set .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}
.marquee-set i {
  color: var(--accent);
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  padding: 0 0.3em;
}

/* ================= CONNECT ================= */
.connect {
  padding: clamp(110px, 14vw, 200px) 0 clamp(80px, 10vw, 140px);
}
.mega-link {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4vw;
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(20px, 3vw, 40px);
}
.mega-text {
  font-family: var(--display);
  font-stretch: 66%;
  font-weight: 850;
  text-transform: uppercase;
  font-size: clamp(4.6rem, 17vw, 17rem);
  line-height: 0.82;
  display: inline-flex;
  overflow: hidden;
  padding-top: 0.04em;
}
/* rolling letters: each char has a copy stacked underneath */
.roll-char {
  position: relative;
  display: inline-block;
  transition: transform 0.7s var(--ease);
  transition-delay: calc(var(--i) * 22ms);
}
.roll-char::after {
  content: attr(data-c);
  position: absolute;
  left: 0;
  top: 100%;
  color: var(--accent);
}
.mega-link:hover .roll-char {
  transform: translateY(-100%);
}
.mega-arrow {
  flex: none;
  width: clamp(72px, 10vw, 150px);
  aspect-ratio: 1;
  border-radius: var(--pill);
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  font-size: clamp(28px, 4vw, 56px);
  transition: transform 0.6s var(--ease);
}
.mega-link:hover .mega-arrow {
  transform: rotate(45deg);
}
.connect-grid {
  margin-top: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 100px);
}
.connect-mail {
  display: grid;
  gap: 24px;
  align-content: start;
}
.connect-mail p {
  color: var(--text-2);
  max-width: 34ch;
  font-size: 1.1rem;
}
.mail-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.mail-row a {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  overflow-wrap: anywhere;
}
.mail-row a:hover {
  border-color: var(--accent);
}
.socials {
  border-top: 1px solid var(--line);
}
.socials a {
  display: grid;
  grid-template-columns: 1fr auto 28px;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition:
    padding 0.5s var(--ease),
    color 0.3s;
}
.s-name {
  font-family: var(--display);
  font-stretch: 80%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1;
}
.s-handle {
  color: var(--text-3);
  font-size: 14px;
}
.socials i {
  font-size: 22px;
  justify-self: end;
  transition: transform 0.45s var(--ease);
}
.socials a:hover {
  padding-left: 14px;
  color: var(--accent);
}
.socials a:hover i {
  transform: rotate(45deg);
}

/* ================= FOOTER ================= */
.footer {
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 28px;
  padding-bottom: 28px;
  color: var(--text-3);
  font-size: 14px;
}
.footer-row a:hover {
  color: var(--accent);
}
.footer-row p a {
  color: var(--text-2);
}
.footer-top {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.footer-mark {
  font-family: var(--display);
  font-stretch: 66%;
  font-weight: 850;
  text-transform: uppercase;
  line-height: 0.78;
  font-size: 12vw;
  padding: 0 var(--gutter);
  margin-bottom: -0.1em;
  color: var(--surface);
  user-select: none;
}

/* ================= MODAL ================= */
.modal {
  width: min(1200px, 94vw);
  max-width: none;
  max-height: none;
  margin: auto;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: visible;
}
.modal::backdrop {
  background: rgb(8 8 9 / 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.modal-inner {
  display: grid;
  gap: 16px;
}
.modal-player {
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  background: #000;
}
.modal-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.modal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.modal-bar p {
  font-family: var(--display);
  font-stretch: 85%;
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  min-width: 0;
}
.modal-actions {
  display: flex;
  gap: 8px;
  flex: none;
}
.modal[open] {
  animation: modalIn 0.6s var(--ease);
}

/* ================= keyframes / motion ================= */
@keyframes pulse {
  50% {
    opacity: 0.45;
  }
}
@keyframes eq {
  from {
    height: 20%;
  }
  to {
    height: 100%;
  }
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
}

@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;
  }
  .loader {
    display: none;
  }
}

/* ================= responsive ================= */
@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }
  .nav {
    grid-template-columns: 1fr auto;
  }
}

/* tablet + mobile: horizontal gallery becomes a native swipe rail */
@media (max-width: 1023px), (prefers-reduced-motion: reduce) {
  .watch-pin {
    height: auto;
    min-height: 0;
    display: block;
    padding: clamp(90px, 14vw, 140px) 0 60px;
  }
  .watch-track {
    display: block;
    padding: 0;
  }
  .watch-head {
    width: auto;
    padding: 0 var(--gutter);
    margin-bottom: 36px;
  }
  .watch-cards {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 var(--gutter) 10px;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .watch-cards::-webkit-scrollbar {
    display: none;
  }
  .vcard,
  .vcard:nth-child(even) {
    width: min(82vw, 520px);
    margin-top: 0;
    scroll-snap-align: start;
  }

  .vcard-info {
    display: grid;
    gap: 6px;
  }
  .vcard-play {
    scale: 0.8;
    opacity: 1;
    width: 72px;
    height: 72px;
    margin: -36px 0 0 -36px;
    font-size: 22px;
  }
  .watch-end {
    margin: 40px var(--gutter) 0;
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 0;
  }
  .watch-end-circle {
    width: 88px;
    font-size: 26px;
  }
  .watch-progress {
    display: none;
  }
}

/* tablet portrait */
@media (min-width: 768px) and (max-width: 1023px) {
  .intro-grid {
    grid-template-columns: 1fr 0.8fr;
    gap: 40px;
  }
  .listen-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .record-stage {
    position: relative;
    top: 0;
    width: 62%;
  }
  .connect-grid {
    grid-template-columns: 1fr;
  }
}

/* phones */
@media (max-width: 767px) {
  .nav {
    height: 64px;
  }
  .nav-book {
    display: none;
  }
  .nav-brand {
    font-size: 16px;
  }
  .menu-btn {
    height: 42px;
  }

  .menu-inner {
    grid-template-columns: 1fr;
    align-content: end;
    gap: 36px;
    padding: 100px var(--gutter) calc(var(--gutter) + env(safe-area-inset-bottom));
  }
  .menu-links a {
    font-size: 21vw;
  }

  .hero {
    min-height: 580px;
  }
  .hero-content {
    padding: 80px var(--gutter) calc(18px + env(safe-area-inset-bottom));
  }
  .hero-top {
    flex-direction: column;
    gap: 14px;
  }
  .hero-sub {
    text-align: left;
    max-width: 30ch;
    font-size: 15px;
    color: var(--text-2);
  }
  .hero-title {
    line-height: 0.84;
    margin-bottom: 20px;
  }
  .ht-line {
    display: block;
  }
  .ht-space {
    display: none;
  }
  .hero-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding-top: 16px;
  }
  .now-text strong {
    max-width: none;
  }
  .hero-actions .pill {
    flex: 1;
    padding: 0 16px;
  }
  .hero-grade {
    background:
      linear-gradient(180deg, rgb(12 12 13 / 0.72) 0%, rgb(12 12 13 / 0.38) 30%, rgb(12 12 13 / 0.5) 55%, rgb(12 12 13 / 0.96) 100%);
  }

  .intro {
    padding: 96px 0 88px;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .feature-media {
    aspect-ratio: 4 / 3;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .stat:first-child {
    grid-column: 1 / -1;
    padding-bottom: 20px;
  }
  .stat b {
    font-size: clamp(3.4rem, 17vw, 5rem);
  }
  .stat:first-child b {
    font-size: clamp(4.4rem, 26vw, 7rem);
  }

  .listen {
    padding: 96px 0;
  }
  .listen-grid,
  .connect-grid {
    grid-template-columns: 1fr;
  }
  .listen-grid {
    gap: 48px;
  }
  .record-stage {
    position: relative;
    top: 0;
    width: 70%;
  }
  .platform {
    padding: 18px 4px;
  }

  .connect {
    padding: 96px 0 72px;
  }
  .socials a {
    grid-template-columns: 1fr 28px;
    padding: 18px 0;
  }
  .s-handle {
    display: none;
  }
  .mega-link {
    gap: 12px;
  }
  .mega-text {
    flex: none;
    font-size: 15.5vw;
  }
  .mega-arrow {
    width: 52px;
    font-size: 22px;
  }

  .footer-row {
    flex-direction: column;
    gap: 8px;
    padding-bottom: 20px;
  }

  .modal {
    width: 100vw;
  }
  .modal-player {
    border-radius: 0;
  }
  .modal-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 0 var(--gutter);
  }
  .modal-actions .pill {
    flex: 1;
  }
}
