/* =========================================================
   HIDDEN YIDDEN — style.css
   Palette built from the "gas" palette + the logo accents.
   ========================================================= */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Big Shoulders";
  src: url("../fonts/big-shoulders.woff2") format("woff2");
  font-weight: 700 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  /* core ("gas") */
  --ink: #031818;        /* logo background, near-black teal */
  --ink-2: #082224;
  --deep: #163c3d;
  --teal: #2f6e6b;
  --sky: #8fb3c9;
  --mist: #b0bcc6;
  --sand: #e6cdb8;
  --khaki: #7d7766;
  /* logo accents (use sparingly) */
  --cream: #f6eed9;
  --teal-hi: #0e9aae;
  --peach: #f0a88f;
  --peri: #93a9d8;
  --gold: #d9b56a;

  --text: var(--cream);
  --text-dim: color-mix(in srgb, var(--cream) 68%, var(--ink));

  --f-display: "Fraunces", "Georgia", serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 clamp(16px, 1.05vw + 10px, 19px)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 4px; border-radius: 4px; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--sand); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- type helpers ---------- */
.kicker {
  font: 600 12px/1.2 var(--f-body);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--sky);
}
.display {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  font-size: clamp(48px, 9vw, 132px);
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--cream);
}
/* stacked 3D lettering — echoes the logo */
.stacked {
  text-shadow:
    1px 1px 0 var(--peach),
    2px 2px 0 var(--teal-hi), 3px 3px 0 var(--teal-hi), 4px 4px 0 var(--teal-hi),
    5px 5px 0 var(--teal), 6px 6px 0 var(--teal), 7px 7px 0 var(--teal),
    8px 8px 0 var(--deep), 9px 9px 0 var(--deep), 10px 10px 0 var(--deep);
}
@media (max-width: 700px) {
  .stacked {
    text-shadow: 1px 1px 0 var(--peach), 2px 2px 0 var(--teal-hi), 3px 3px 0 var(--teal-hi),
      4px 4px 0 var(--teal), 5px 5px 0 var(--teal), 6px 6px 0 var(--deep);
  }
}

.section-head { padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto; }
.section-head .kicker { margin-bottom: 18px; }
.section-head__lede {
  margin-top: 22px;
  font: italic 400 clamp(20px, 2.2vw, 30px)/1.3 var(--f-display);
  color: var(--sand);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-color: color-mix(in srgb, var(--sky) 14%, transparent);
}
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__mark {
  width: 22px; height: 30px;
  border-radius: 11px 11px 4px 4px;
  background:
    radial-gradient(ellipse at 50% 70%, var(--ink) 0 22%, transparent 23%),
    var(--teal);
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--sand), 0 0 0 6px var(--ink), 0 0 0 8px var(--peri);
  transform: scale(.82);
}
.nav__name {
  font: 700 17px/1 var(--f-display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  letter-spacing: .01em;
}
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav__links a {
  text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .04em;
  color: var(--text-dim); transition: color .25s;
}
.nav__links a:hover { color: var(--cream); }
.nav__links .nav__cta {
  color: var(--ink); background: var(--sand);
  padding: 9px 18px; border-radius: 999px; font-weight: 600;
  transition: background .25s, transform .25s var(--ease);
}
.nav__links .nav__cta:hover { color: var(--ink); background: var(--cream); transform: translateY(-1px); }
.nav__toggle { display: none; }

@media (max-width: 760px) {
  .nav__toggle {
    display: grid; place-items: center;
    width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; color: var(--cream); cursor: pointer;
  }
  .nav__toggle-bars, .nav__toggle-bars::before {
    display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .3s var(--ease);
  }
  .nav__toggle-bars { position: relative; transform: translateY(-4px); }
  .nav__toggle-bars::before { content: ""; position: absolute; top: 8px; }
  .nav.is-open .nav__toggle-bars { transform: translateY(0) rotate(45deg); }
  .nav.is-open .nav__toggle-bars::before { transform: translateY(-8px) rotate(-90deg); }

  .nav__links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 22px;
    background: var(--ink);
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav__links a { font: 700 38px/1.1 var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--cream); letter-spacing: 0; }
  .nav__links .nav__cta { font-size: 24px; padding: 14px 30px; margin-top: 12px; }
}

/* ---------- HERO / PORTAL ----------
   One progress value, --p (0 → 1 across the portal section), drives one scale factor, --k.
   The film's opening is ONE fixed arch shape (a mask) and the tunnel rings are scaled by the
   same --k around the same anchor point, so the opening is always exactly the rings' arch hole:
   scrolling back up pulls you into the tunnel (the arch grows uniformly, its top curve leaves
   the screen and the film ends full screen). Where the browser supports scroll-driven animations
   (Safari 26+, Chrome 115+) --p follows the scroll itself; elsewhere main.js sets --p on scroll.
   --k0 (the scale at which the arch covers the whole screen) is set by main.js on load/resize. */
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
@keyframes portal-progress { from { --p: 0; } to { --p: 1; } }
.portal { position: relative; height: 210vh; height: 210svh; }
@supports (animation-timeline: view()) {
  .portal {
    view-timeline: --portal block;
    view-timeline-inset: 0;            /* ignore the nav scroll-padding */
    animation: portal-progress linear both;
    animation-timeline: --portal;
    animation-range: contain 0% contain 100%;
  }
}
.portal__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: grid; place-items: center;
  container-type: size;                                      /* film can use cqw/cqh */
  --S: min(78vmin, 860px);                                   /* stage (logo square) size */
  --t: clamp(0, (var(--p) - .04) / .68, 1);
  --e: calc(var(--t) * var(--t) * (3 - 2 * var(--t)));      /* smoothstep */
  --k0: 4.5;                                                 /* overwritten by main.js */
  --k: calc(1 + (var(--k0) - 1) * (1 - var(--e)));          /* arch scale: k0 → 1 */
}
.portal__film {
  position: absolute; inset: 0; z-index: 1;
  overflow: hidden;
  background: radial-gradient(80% 70% at 50% 40%, #12393c, var(--ink) 75%);
  --arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 960 1377' preserveAspectRatio='none'%3E%3Cpath d='M0 480A480 480 0 0 1 960 480V1287Q960 1377 870 1377H90Q0 1377 0 1287Z'/%3E%3C/svg%3E");
  --aw: calc(.48 * var(--S) * var(--k));
  --ah: calc(.6885 * var(--S) * var(--k));
  --ax: calc(50cqw - .24 * var(--S) * var(--k));
  --ay: calc(50cqh + .01 * var(--S) - .385 * var(--S) * var(--k));
  -webkit-mask-image: var(--arch); mask-image: var(--arch);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: var(--aw) var(--ah); mask-size: var(--aw) var(--ah);
  -webkit-mask-position: var(--ax) var(--ay); mask-position: var(--ax) var(--ay);
}
.portal__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 45%;
  animation: film-in 1.6s var(--ease) backwards;
}
@keyframes film-in { from { opacity: 0; transform: scale(1.06); } }
.portal__film::after { /* legibility: soft top + bottom shade */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(3,24,24,.55) 0%, transparent 22%, transparent 60%, rgba(3,24,24,.88) 100%);
}
.portal__stage {
  position: absolute; left: 50%; top: 50%;
  width: var(--S);
  aspect-ratio: 1;
  translate: -50% -53%;
  pointer-events: none;
}
.portal__rings-wrap {
  position: absolute; inset: 0; transform-origin: 50% 54%;
  transform: scale(var(--k));                                /* same scale + anchor as the film's arch */
}
.portal__rings {
  position: absolute; left: -150%; top: -150%; width: 400%; height: 400%;
  overflow: hidden;
}
.portal__logo {
  position: absolute; left: 50%; top: max(calc(var(--nav-h) - 18px), 1vh);
  width: min(27vh, 36vw); height: auto;
  translate: -50% 0;
  z-index: 2;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.45));
  animation: logo-in 1.6s .35s var(--ease) backwards;
  will-change: opacity, transform;
  opacity: clamp(0, 1 - (var(--p) - .02) / .2, 1);
  transform: translateY(calc(var(--p) * -80px)) scale(calc(1 - var(--p) * .2));
}
@keyframes logo-in { from { opacity: 0; transform: translateY(-14px) scale(.96); filter: blur(6px); } }
.portal__pause {
  position: absolute; right: max(var(--gutter), 16px); bottom: 22px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid color-mix(in srgb, var(--cream) 35%, transparent);
  background: color-mix(in srgb, var(--ink) 50%, transparent);
  color: var(--cream); cursor: pointer;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.portal__pause svg { width: 16px; height: 16px; }
.portal__pause .i-play, .portal__pause[aria-pressed="true"] .i-pause { display: none; }
.portal__pause[aria-pressed="true"] .i-play { display: block; }

.portal__copy {
  z-index: 2;
  position: absolute; left: 0; right: 0; bottom: max(9vh, 64px);
  text-align: center; padding: 0 var(--gutter);
  will-change: opacity, transform;
  opacity: clamp(0, 1 - var(--p) / .2, 1);
  transform: translateY(calc(var(--p) * -60px));
}
.portal__tagline {
  font: italic 400 clamp(20px, 2.6vw, 32px)/1.2 var(--f-display);
  color: var(--sand);
  animation: rise 1s 1s var(--ease) both;
}
.portal__words {
  margin-top: 10px;
  font: 600 clamp(12px, 1.2vw, 14px)/1 var(--f-body);
  letter-spacing: .32em; text-transform: uppercase;
}
.portal__words span { display: inline-block; animation: rise .9s var(--ease) both; }
.portal__words span:nth-child(1) { color: var(--sky);   animation-delay: 1.25s; }
.portal__words span:nth-child(2) { color: var(--sand);  animation-delay: 1.4s; }
.portal__words span:nth-child(3) { color: var(--mist);  animation-delay: 1.55s; }
.portal__words span:nth-child(4) { color: var(--peach); animation-delay: 1.7s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.portal__cue {
  z-index: 2;
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase; text-decoration: none;
  color: var(--text-dim);
  animation: rise 1s 2s var(--ease) backwards;
  opacity: clamp(0, 1 - var(--p) / .12, 1);
}
.portal__cue svg { width: 20px; height: 20px; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

@media (max-width: 700px) {
  .portal { height: 190vh; height: 190svh; }
  .portal__sticky { --S: 96vw; }
  .portal__copy { bottom: 92px; }
  .portal__logo { width: 68vw; top: calc(var(--nav-h) + 2px); }
}
/* portrait screens: show the full trio as a wide band instead of cropping to one face */
@media (max-aspect-ratio: 1/1) {
  .portal__video {
    inset: auto; left: 50%; top: 59%;
    width: 175vw; height: auto; aspect-ratio: 2206 / 946;
    translate: -50% -50%;
    -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
            mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
  }
}

/* ---------- TICKER ---------- */
.ticker {
  position: relative; z-index: 2;
  background: var(--sand); color: var(--ink);
  overflow: hidden; white-space: nowrap;
  border-block: 6px solid var(--ink);
  box-shadow: 0 -10px 0 var(--teal), 0 10px 0 var(--sky);
  margin-block: 10px;
}
.ticker__track {
  display: inline-flex; align-items: center; gap: 28px;
  padding: 16px 0;
  animation: ticker 38s linear infinite;
  font: 800 clamp(22px, 3vw, 38px)/1 var(--f-display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  text-transform: uppercase; letter-spacing: .02em;
}
.ticker__track i { font-style: normal; color: var(--teal); font-size: .6em; }
.ticker__ep { font-style: italic; text-transform: none; color: var(--teal); }
@keyframes ticker { to { transform: translateX(-50%); } }


.spread {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  padding: clamp(60px, 10vw, 120px) var(--gutter);
  overflow: hidden;
  isolation: isolate;
}
/* each spread gets its own light, pulled from the gas palette */
.spread--1 { background: radial-gradient(120% 90% at 30% 50%, #233b37 0%, var(--ink) 62%); }
.spread--2 { background: radial-gradient(120% 90% at 70% 50%, #1b3d48 0%, var(--ink) 62%); }
.spread--3 { background: radial-gradient(120% 90% at 30% 50%, #2e3533 0%, var(--ink) 62%); }


.spread__figure { margin: 0; grid-column: 2 / span 5; }
.spread__meta  { grid-column: 8 / span 4; }
.spread--2 .spread__figure { grid-column: 7 / span 5; grid-row: 1; }
.spread--2 .spread__meta  { grid-column: 2 / span 4; grid-row: 1; text-align: right; }

/* arch window with the logo's ring frame */
.spread__frame {
  --r: 999px;
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--r) var(--r) 22px 22px;
  box-shadow:
    0 0 0 3px var(--ink),
    0 0 0 9px var(--sand),
    0 0 0 11px var(--ink),
    0 0 0 17px var(--teal),
    0 0 0 19px var(--ink),
    0 0 0 25px var(--sky),
    0 0 0 27px var(--ink),
    0 40px 80px -20px rgba(0,0,0,.6);
  background: var(--deep);
}
.spread--2 .spread__frame {
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 9px var(--sky), 0 0 0 11px var(--ink), 0 0 0 17px var(--sand),
    0 0 0 19px var(--ink), 0 0 0 25px var(--teal), 0 0 0 27px var(--ink), 0 40px 80px -20px rgba(0,0,0,.6);
}
.spread--3 .spread__frame {
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 9px var(--mist), 0 0 0 11px var(--ink), 0 0 0 17px var(--khaki),
    0 0 0 19px var(--ink), 0 0 0 25px var(--sand), 0 0 0 27px var(--ink), 0 40px 80px -20px rgba(0,0,0,.6);
}
.spread__frame > .spread__film {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; background: var(--deep);
}
.spread__frame > img {
  position: absolute; inset: -6% 0; width: 100%; height: 112%;
  object-fit: cover;
  will-change: transform;
}
.spread__frame--soft { box-shadow: 0 0 0 3px var(--ink), 0 0 0 9px var(--khaki), 0 0 0 11px var(--ink), 0 0 0 17px var(--sky), 0 40px 80px -20px rgba(0,0,0,.6); }

.spread__meta { position: relative; z-index: 2; text-shadow: 0 2px 24px rgba(3,24,24,.95), 0 0 6px rgba(3,24,24,.8); }
.spread__meta .kicker { display: inline-block; padding: 6px 10px; border-radius: 999px; background: rgba(3,24,24,.72); text-shadow: none; }
.spread__num {
  font: 300 clamp(110px, 16vw, 230px)/.8 var(--f-display);
  font-variation-settings: "SOFT" 0, "opsz" 144;
  font-style: italic;
  color: var(--sand);
  margin-bottom: 26px;
}
.spread--2 .spread__num { color: var(--sky); }
.spread--3 .spread__num { color: var(--mist); }
.spread__name:empty { display: none; }
.spread__name {
  margin-top: 12px;
  font: 800 clamp(34px, 4.4vw, 64px)/1 var(--f-display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

@media (max-width: 800px) {
  .spread { grid-template-columns: 1fr; gap: 40px; min-height: auto; padding-block: 80px 96px; }
  .spread__figure, .spread--2 .spread__figure { grid-column: 1; grid-row: 1; width: min(84vw, 460px); justify-self: center; }
  .spread__meta, .spread--2 .spread__meta { grid-column: 1; grid-row: 2; text-align: center; }
  .spread__num { margin-bottom: 14px; }
}

/* ---------- WINDOW TYPE (YIDDEN) ---------- */
.window { position: relative; padding-top: clamp(80px, 12vw, 160px); }
.window__word {
  position: relative;
  display: grid; place-items: center;
  font: 900 clamp(120px, 31vw, 560px)/.78 "Big Shoulders", "Impact", sans-serif;
  letter-spacing: -.01em;
  text-transform: uppercase;
  padding-block: .06em;
  user-select: none;
}
.window__word > span { grid-area: 1 / 1; white-space: nowrap; }
.window__letters { display: inline-flex; position: relative; z-index: 2; }
.window__letters > span {
  display: inline-block;
  color: transparent;
  background-size: cover;
  background-position: var(--x, 50%) calc(var(--y, 50%) + var(--shift, 0%));
  -webkit-background-clip: text; background-clip: text;
  filter: saturate(1.05) contrast(1.05);
}
/* fallback if background-clip:text is unsupported */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .window__letters > span { color: var(--sand); background: none; }
}
.window__echo {
  color: transparent;
  -webkit-text-stroke: 2px var(--sky);
  translate: var(--ex, 0) var(--ey, 0);
  transition: translate .2s linear;
  pointer-events: none;
}
.window__echo--1 { --ex: -2.4vw; --ey: -1.6vw; -webkit-text-stroke-color: color-mix(in srgb, var(--sky) 80%, transparent); }
.window__echo--2 { --ex:  2.2vw; --ey:  1.4vw; -webkit-text-stroke-color: color-mix(in srgb, var(--sand) 70%, transparent); }
.window__echo--3 { --ex: -4.6vw; --ey:  3vw;  -webkit-text-stroke-color: color-mix(in srgb, var(--peach) 45%, transparent); }
.window__script { position: relative; z-index: 3; width: min(46vw, 620px); height: auto; pointer-events: none; }
.window__script--top { margin: 0 0 calc(-1 * clamp(40px, 9vw, 150px)) clamp(16px, 8vw, 140px); rotate: -6deg; }
.window__script--bottom { margin: calc(-1 * clamp(36px, 8vw, 130px)) clamp(16px, 7vw, 120px) 0 auto; rotate: -4deg; width: min(40vw, 520px); }
.window .spread:first-of-type { margin-top: clamp(40px, 8vw, 120px); }
@media (max-width: 700px) {
  .window__echo { -webkit-text-stroke-width: 1.2px; }
  .window__script { width: 66vw; }
  .window__script--bottom { width: 58vw; }
}

/* Recraft wordmark behind each spread */
.spread__type {
  position: absolute; z-index: -1;
  top: clamp(24px, 6vw, 80px);
  width: min(78vw, 1100px); height: auto;
  pointer-events: none;
  will-change: transform;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.45));
}
.spread--1 .spread__type, .spread--3 .spread__type { right: -4vw; }
.spread--2 .spread__type { left: -2vw; }

/* close-up portrait inset over the editorial arch */
.spread__figure { position: relative; }
.spread__inset {
  position: absolute; z-index: 2;
  width: 34%; aspect-ratio: 3 / 4;
  right: -14%; bottom: 8%;
  border-radius: 999px 999px 14px 14px;
  overflow: hidden;
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 8px var(--sand), 0 0 0 10px var(--ink), 0 24px 50px -10px rgba(0,0,0,.7);
}
.spread--2 .spread__inset { right: auto; left: -14%; box-shadow: 0 0 0 3px var(--ink), 0 0 0 8px var(--sky), 0 0 0 10px var(--ink), 0 24px 50px -10px rgba(0,0,0,.7); }
.spread__inset img { width: 100%; height: 100%; object-fit: cover; }
.js .reveal-arch .spread__inset { opacity: 0; translate: 0 40px; transition: opacity 1s .6s var(--ease), translate 1.2s .6s var(--ease); }
.js .reveal-arch.is-in .spread__inset { opacity: 1; translate: 0 0; }
@media (max-width: 800px) {
  .spread__type, .spread--2 .spread__type { position: relative; grid-row: 1; grid-column: 1; justify-self: center; width: 96vw; left: auto; right: auto; top: auto; z-index: 3; margin-bottom: -16vw; }
  .spread--1 .spread__type, .spread--3 .spread__type { right: auto; }
  .spread__figure, .spread--2 .spread__figure { grid-row: 2; }
  .spread__meta, .spread--2 .spread__meta { grid-row: 3; }
  .window .spread:first-of-type { margin-top: 24px; }
  .spread__inset { width: 38%; right: -6%; bottom: -6%; }
  .spread--2 .spread__inset { left: -6%; }
}

/* ---------- EMUNAH BAND ---------- */
.band {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding-top: clamp(60px, 9vw, 140px);
  overflow: hidden;
}
.band__type {
  position: relative; z-index: 2;
  width: min(66vw, 880px); height: auto;
  margin-bottom: calc(-1 * clamp(30px, 7vw, 120px));
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.45));
}
.band__media { position: relative; width: 100%; overflow: hidden; aspect-ratio: 2400 / 1030; }
.band__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(var(--ink) 0%, transparent 24%, transparent 82%, var(--ink) 100%);
}
.band__img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
@media (max-width: 700px) {
  .band__type { width: 88vw; margin-bottom: -8vw; }
  .band__media { aspect-ratio: 4 / 3; }
  .band__img { object-position: 50% 60%; }
}

/* ---------- VIDEO ---------- */
.video { padding: clamp(96px, 12vw, 160px) 0 clamp(60px, 8vw, 100px); }
.video .section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.video__frame {
  width: min(100% - 2 * var(--gutter), 1040px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 8px var(--teal), 0 0 0 10px var(--ink), 0 0 0 15px var(--sand),
    0 50px 120px -30px rgba(0,0,0,.8);
}
.video__facade, .video__frame iframe { display: block; position: relative; width: 100%; height: 100%; border: 0; }
.video__facade img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9) brightness(.82); }
.video__facade:hover img { transform: scale(1.03); filter: saturate(1) brightness(.92); }
.video__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: clamp(72px, 10vw, 112px); aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--sand);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--sand) 30%, transparent), 0 0 0 14px color-mix(in srgb, var(--sand) 12%, transparent);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.video__play svg { width: 46%; margin-left: 6%; }
.video__facade:hover .video__play { transform: scale(1.08); box-shadow: 0 0 0 10px color-mix(in srgb, var(--sand) 30%, transparent), 0 0 0 24px color-mix(in srgb, var(--sand) 10%, transparent); }
.video__more { text-align: center; margin-top: 36px; }
.link-arrow { font-weight: 600; letter-spacing: .04em; text-decoration: none; border-bottom: 1px solid var(--sky); padding-bottom: 3px; color: var(--sky); transition: color .25s, border-color .25s; }
.link-arrow:hover { color: var(--cream); border-color: var(--cream); }

/* ---------- EP ---------- */
.ep {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.ep__art { position: relative; width: 82%; }
.ep__sleeve {
  position: relative; z-index: 2;
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.06);
}
.ep__disc {
  position: absolute; z-index: 1; top: 3%; left: 3%;
  width: 94%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 17%, rgba(255,255,255,.07) 17.4%, transparent 18%),
    repeating-radial-gradient(circle, #0b0d0d 0 2px, #151818 2px 3px),
    #0b0d0d;
  box-shadow: inset 0 0 0 6px #050606, 0 20px 50px rgba(0,0,0,.6);
  transition: transform 1.4s var(--ease);
}
.ep__disc::after { /* light sheen */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 30deg, transparent 0 10%, rgba(176,188,198,.16) 14%, transparent 20% 60%, rgba(143,179,201,.12) 64%, transparent 70%);
}
.ep__label {
  position: absolute; inset: 33%; border-radius: 50%;
  background: url("../img/ep-esa-cover-700.webp") 50% 12% / 260% auto;
  box-shadow: 0 0 0 3px var(--ink);
}
.ep__label::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9%; aspect-ratio: 1; translate: -50% -50%; background: var(--ink); border-radius: 50%; }
.ep__art.is-in .ep__disc { transform: translateX(42%); }
.ep__art.is-in .ep__disc .ep__label, .ep__art.is-in .ep__disc::after { animation: spin 4.5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.ep__title {
  font: 900 clamp(90px, 13vw, 190px)/.85 var(--f-display);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  letter-spacing: -.035em;
  margin: 10px 0 34px;
  background: linear-gradient(100deg, var(--sky) 0 34%, var(--sand) 34% 67%, var(--teal-hi) 67%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.tracks { list-style: none; margin: 0 0 40px; padding: 0; border-top: 1px solid color-mix(in srgb, var(--sky) 22%, transparent); }
.tracks li {
  display: flex; align-items: baseline; gap: 22px;
  padding: 16px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--sky) 22%, transparent);
  transition: padding .4s var(--ease), color .3s;
}
.tracks li:hover { padding-left: 12px; }
.tracks li:hover .tracks__t { color: var(--sand); }
.tracks__n { font: 600 12px/1 var(--f-body); letter-spacing: .2em; color: var(--sky); }
.tracks__t {
  font: 600 clamp(24px, 2.6vw, 34px)/1.1 var(--f-display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  transition: color .3s;
}

.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 28px;
  border-radius: 999px;
  border: 1.5px solid var(--sand);
  color: var(--sand);
  font-weight: 600; letter-spacing: .03em; text-decoration: none;
  transition: background .25s, color .25s, transform .3s var(--ease);
}
.btn:hover { background: var(--sand); color: var(--ink); transform: translateY(-2px); }
.btn--solid { background: var(--sand); color: var(--ink); }
.btn--solid:hover { background: var(--cream); border-color: var(--cream); }

@media (max-width: 900px) {
  .ep { grid-template-columns: 1fr; }
  .ep__art { width: 72%; margin-right: auto; }
}

/* ---------- COMING SOON ---------- */
.soon {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 56vw;
  display: grid; align-items: start; justify-items: center;
  text-align: center;
}
.soon__bg { position: absolute; inset: 0; z-index: -1; }
.soon__bg img {
  position: absolute; inset: -4% 0; width: 100%; height: 108%;
  object-fit: cover; object-position: 50% 55%;
  will-change: transform;
}
.soon::after { /* blend into the page above and below */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(var(--ink) 0%, rgba(3,24,24,.25) 14%, transparent 30%, transparent 84%, var(--ink) 100%);
}
.soon__copy { padding: clamp(56px, 6vw, 110px) var(--gutter) 0; }
.soon__copy .kicker { color: var(--sand); }
.soon__copy .kicker em { font-style: italic; text-transform: none; letter-spacing: .04em; font-family: var(--f-display); font-size: 1.15em; }
.soon__title { margin: 14px 0 0; }
.soon__title img { width: min(66vw, 980px); height: auto; filter: drop-shadow(0 26px 50px rgba(0,0,0,.5)); }
.soon__when {
  margin-top: 6px;
  font: italic 400 clamp(20px, 2.4vw, 32px)/1.2 var(--f-display);
  color: var(--cream);
  letter-spacing: .01em;
  text-shadow: 0 2px 18px rgba(3,24,24,.8);
}
@media (max-aspect-ratio: 1/1) {
  .soon { min-height: 133vw; }
  .soon__bg img { object-position: 50% 100%; }
  .soon__copy { padding-top: clamp(60px, 16vw, 120px); }
  .soon__title img { width: 92vw; }
}

/* ---------- ABOUT ---------- */
.about {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(48px, 8vw, 120px); align-items: center;
}
.about__img { margin: 0; padding: 27px; }
.about__img .spread__frame > img { object-position: 52% 50%; }
.about__copy .kicker { margin-bottom: 18px; }
.about__copy .display { font-size: clamp(44px, 6.4vw, 96px); margin-bottom: 36px; }
.about__copy p:not(.kicker):not(.display) { max-width: 36em; color: var(--text-dim); }
.about__copy p + p { margin-top: 18px; }
.about__lead { font: 400 clamp(21px, 2vw, 27px)/1.45 var(--f-display) !important; color: var(--cream) !important; }
.about em { color: var(--sand); }
@media (max-width: 800px) {
  .about { grid-template-columns: 1fr; }
  .about__img { width: min(72vw, 380px); justify-self: center; }
}

/* ---------- LISTEN ---------- */
.listen__title { margin: 0; }
.listen__title img { width: min(80vw, 760px); height: auto; margin-top: 8px; }
.listen { padding: clamp(80px, 12vw, 150px) 0 clamp(80px, 10vw, 130px); }
.listen .section-head { margin-bottom: clamp(30px, 5vw, 60px); }
.listen__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid color-mix(in srgb, var(--sky) 22%, transparent); }
.listen__list li { border-bottom: 1px solid color-mix(in srgb, var(--sky) 22%, transparent); }
.listen__row {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 24px;
  padding: clamp(22px, 3.4vw, 40px) var(--gutter);
  text-decoration: none;
  transition: color .4s var(--ease);
}
.listen__row::before { /* striped arch fill on hover, like the logo bands */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(180deg, var(--sand) 0 14px, var(--ink) 14px 16px, var(--sky) 16px 30px, var(--ink) 30px 32px, var(--teal) 32px 46px, var(--ink) 46px 48px);
  clip-path: inset(100% 0 0 0);
  transition: clip-path .55s var(--ease);
}
.listen__row:hover::before, .listen__row:focus-visible::before { clip-path: inset(0 0 0 0); }
.listen__name {
  font: 800 clamp(40px, 7.5vw, 110px)/1 var(--f-display);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  letter-spacing: -.02em;
  transition: transform .5s var(--ease), color .3s;
}
.listen__row:hover .listen__name { transform: translateX(14px); color: var(--ink); text-shadow: 0 0 24px var(--cream); }
.listen__verb { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-dim); transition: color .3s; }
.listen__row:hover .listen__verb { color: var(--ink); font-weight: 700; }
.listen__arrow { font-size: clamp(28px, 4vw, 52px); color: var(--sky); transition: transform .5s var(--ease), color .3s; }
.listen__row:hover .listen__arrow { transform: translate(6px, -6px) rotate(0); color: var(--ink); }
@media (max-width: 600px) {
  .listen__row { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .listen__verb { grid-row: 2; }
  .listen__arrow { grid-row: 1 / span 2; grid-column: 2; }
}

/* ---------- FOOTER ---------- */
.footer {
  text-align: center;
  padding: clamp(60px, 8vw, 100px) var(--gutter) calc(48px + env(safe-area-inset-bottom));
  background: radial-gradient(60% 70% at 50% 30%, #0c2a2b, var(--ink) 70%);
}
.footer__logo { width: min(340px, 70vw); margin: 0 auto 14px; }
.footer__tag { font: italic 400 clamp(18px, 2vw, 24px)/1.3 var(--f-display); color: var(--sand); }
.footer__small { margin-top: 24px; font-size: 13px; color: var(--text-dim); letter-spacing: .04em; }
.footer__top { display: inline-block; margin-top: 18px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); text-decoration: none; }
.footer__top:hover { color: var(--cream); }

/* ---------- FILM GRAIN ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none;
  opacity: .085;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}

/* ---------- SCROLL REVEALS (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .tracks li.reveal:nth-child(2) { transition-delay: .06s; }
.js .tracks li.reveal:nth-child(3) { transition-delay: .12s; }
.js .tracks li.reveal:nth-child(4) { transition-delay: .18s; }
.js .tracks li.reveal:nth-child(5) { transition-delay: .24s; }
.js .listen__list li.reveal:nth-child(2) { transition-delay: .08s; }
.js .listen__list li.reveal:nth-child(3) { transition-delay: .16s; }

/* the arch "opens" from the bottom up */
.js .reveal-arch .spread__frame { clip-path: inset(100% -40px -40px -40px round 999px 999px 22px 22px); transition: clip-path 1.5s var(--ease); }
.js .reveal-arch.is-in .spread__frame { clip-path: inset(-40px -40px -40px -40px round 999px 999px 22px 22px); }
.js .reveal-arch .spread__frame > img, .js .reveal-arch .spread__frame > video { scale: 1.18; transition: scale 2s var(--ease); }
.js .reveal-arch.is-in .spread__frame > img, .js .reveal-arch.is-in .spread__frame > video { scale: 1; }

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { animation: none; }
  .portal { height: auto; }
  .portal__sticky { position: relative; }
  .portal__rings-wrap { opacity: 0 !important; }
  .portal { animation: none !important; --p: 0; }
  .portal__film { -webkit-mask-image: none; mask-image: none; }
  .ep__art.is-in .ep__disc { transform: translateX(30%); }
}

/* Looping films: never show the browser's own play overlay or controls
   (iOS Safari shows one when autoplay is held back, e.g. Low Power Mode) */
video::-webkit-media-controls,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-overlay-play-button,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-enclosure {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.portal__video, .spread__film { pointer-events: none; }
