/* ==========================================================================
   SAIZEN GENESIS · the Saizen Acuity podcast (coming soon)
   Pitch black studio, ivory type, gold as the brand metal and one red: the
   on-air light. Crisp: hairlines, 2 to 4px corners, no glows or blur.
   ========================================================================== */
:root {
  --bg:      #000000;
  --bg-2:    #050505;
  --panel:   #0A0A0A;
  --panel-2: #111111;
  --ink:     #F2F0EB;
  --ink-2:   #BAB5AC;
  --muted:   #86817A;
  --dim:     #3A3733;
  --line:    rgba(255, 255, 255, 0.09);
  --line-2:  rgba(255, 255, 255, 0.15);
  --line-3:  rgba(255, 255, 255, 0.26);
  --gold:    #E2AE36;
  --gold-d:  #B8892B;
  --gold-l:  #F3D488;
  --air:     #E5484D;

  --f-sc:      'Playfair Display SC', 'Playfair Display', Georgia, serif;
  --f-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --f-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --f-mono:    'DM Mono', ui-monospace, 'SFMono-Regular', monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io:  cubic-bezier(0.65, 0, 0.35, 1);
  --spring:   cubic-bezier(0.34, 1.4, 0.64, 1);

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(84px, 10vw, 150px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.62 var(--f-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p, dl, dd { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--f-sc); font-weight: 400; letter-spacing: 0.004em; line-height: 1.06; }
h3 { font-family: var(--f-display); }
em { font-style: normal; color: var(--gold); }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); }
.wm { font-family: var(--f-sc); letter-spacing: 0.02em; }
.wm b { font-weight: 700; color: var(--gold); }

/* reveals, headline words, text that inks in */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }
.wd { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .1em 0; margin: 0 -.04em -.1em 0; }
.wd > span { display: inline-block; will-change: transform; }
.js [data-fill] .fw { opacity: .2; transition: opacity .25s linear; }

/* labels and buttons (shared language with the casebook) */
.label { display: inline-flex; align-items: baseline; gap: 8px; margin-bottom: 22px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.label b { font-weight: 500; color: var(--gold); }
.sec-h { font-size: clamp(38px, 5vw, 80px); }
.btn { display: inline-flex; align-items: center; gap: 14px; height: 52px; padding: 0 7px 0 20px; border: 0; border-radius: 3px; cursor: pointer; text-decoration: none; white-space: nowrap; font: 500 14.5px/1 var(--f-body); transition: background .3s, color .3s, box-shadow .3s; }
.btn i { width: 38px; height: 38px; border-radius: 2px; display: grid; place-items: center; }
.btn i svg { width: 14px; height: 14px; transition: transform .5s var(--spring); }
.btn:hover i svg:has(path[d^="M3 13"]) { transform: rotate(45deg); }
.btn:hover i svg:has(path[d^="M8 3v10"]) { transform: translateY(2px); }
.btn--gold { background: var(--gold); color: #000; }
.btn--gold i { background: #000; color: var(--gold); }
.btn--gold:hover { background: var(--gold-l); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost i { background: rgba(255, 255, 255, .08); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.cue { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink-2); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; }
.cue i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); animation: bob 2.4s var(--ease-io) infinite; }
.cue i svg { width: 13px; height: 13px; }
@keyframes bob { 50% { transform: translateY(5px); } }
.vbtn { width: 36px; height: 36px; border-radius: 2px; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(0, 0, 0, .5); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); }
.vbtn svg { width: 11px; height: 11px; }
.vbtn .vbtn__play { display: none; }
.vbtn[aria-pressed="true"] .vbtn__play { display: block; }
.vbtn[aria-pressed="true"] .vbtn__pause { display: none; }
img[data-optional] { opacity: 0; transition: opacity 1.1s ease; }
img[data-optional].is-in { opacity: 1; }

/* the on-air light: the only red on the page */
.onair { display: inline-flex; align-items: center; gap: 9px; height: 28px; padding: 0 12px 0 10px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(229, 72, 77, .5); font: 500 10.5px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.onair i { width: 7px; height: 7px; border-radius: 50%; background: var(--air); animation: tally 2.4s steps(1) infinite; }
.onair--sm { height: 24px; padding: 0 10px 0 8px; font-size: 10px; }
@keyframes tally { 0%, 62% { opacity: 1; } 63%, 100% { opacity: .25; } }

/* ==========================================================================
   00 · HERO
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.hero__media { position: absolute; inset: 0; z-index: -1; background: #000; }
.hero__cv, .hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1.4s ease; }
.hero.has-video .hero__video { opacity: 1; }
.hero.has-poster .hero__cv, .hero.has-video .hero__cv { opacity: 0; transition: opacity 1s; }
.hero__veil { position: absolute; inset: 0; background:
  radial-gradient(ellipse 62% 48% at 50% 52%, rgba(0, 0, 0, .74) 0%, rgba(0, 0, 0, .46) 52%, rgba(0, 0, 0, 0) 90%),
  linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 70%, #000 100%); }
.hero__center { position: relative; padding-top: 56px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: clamp(22px, 3.4vh, 38px); }
.hero__show { display: inline-flex; align-items: center; gap: 14px; }
.hero__show .wm { font-size: 18px; }
.hero__show .mono { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); padding-left: 14px; border-left: 1px solid var(--line-2); }
.hero__title { font-size: clamp(42px, min(7.4vw, 12.4vh), 124px); line-height: .96; letter-spacing: -.015em; }
.hero__title .hl { display: block; overflow: hidden; padding: 0 .04em .07em; }
.hero__title .hl > span { display: inline-block; }
.hero__lede { max-width: 38em; margin: clamp(20px, 3vh, 32px) auto 0; font-size: clamp(16px, 1.25vw, 19px); color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(26px, 4vh, 40px); }
.hero__foot { position: absolute; left: 0; right: 0; bottom: 24px; display: flex; justify-content: space-between; align-items: center; }

/* ticker: the five frequencies */
.ticker { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.ticker__track { display: flex; width: max-content; will-change: transform; }
.ticker__track span { display: inline-flex; align-items: baseline; gap: 14px; padding: 20px clamp(28px, 4vw, 56px); font: 400 clamp(18px, 1.8vw, 26px)/1 var(--f-sc); color: var(--ink-2); white-space: nowrap; border-right: 1px solid var(--line); }
.ticker__track b { font: 400 11px/1 var(--f-mono); letter-spacing: .14em; color: var(--gold); }

/* ==========================================================================
   01 · THE PREMISE
   ========================================================================== */
.premise { padding: var(--section) 0; }
.premise__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.premise__fill { font: 400 clamp(21px, 2.1vw, 31px)/1.36 var(--f-display); color: var(--ink); text-wrap: pretty; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.pillar__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 22px; }
.pillar__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 50%) 50%; transform: scale(1.06); transition: opacity 1.1s ease, transform 1.4s var(--ease-out); }
.pillar:hover .pillar__img img { transform: scale(1.0); }
.js .pillar__img { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-io); transition-delay: var(--d, 0s); }
.js .pillar.is-in .pillar__img { clip-path: inset(0 0 0 0); }
/* fallback until the image exists: a quiet studio grille with the number */
.pillar__art { position: absolute; inset: 0; background:
  repeating-linear-gradient(90deg, transparent 0 7px, rgba(255, 255, 255, .045) 7px 8px),
  linear-gradient(180deg, #0B0B0B, #000); }
.pillar__art::after { content: ''; position: absolute; left: 12%; right: 12%; top: 50%; height: 1px; background: var(--line-2); }
.pillar__art span { position: absolute; left: 22px; bottom: 6px; font: 400 clamp(90px, 11vw, 160px)/.8 var(--f-sc); color: transparent; -webkit-text-stroke: 1px rgba(226, 174, 54, .45); }
.pillar__img.has-poster .pillar__art { opacity: 0; transition: opacity 1s; }
.pillar__k { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.pillar__h { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; margin-bottom: 10px; }
.pillar__p { color: var(--ink-2); max-width: 34ch; }

.spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 84px); border-top: 1px solid var(--line-2); }
.spec > div { padding: 22px 24px 0 0; display: grid; gap: 8px; }
.spec > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.spec dt { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.spec dd { font: 400 19px/1.3 var(--f-display); }

/* ==========================================================================
   02 · TUNE IN (the simulation)
   ========================================================================== */
.tune { padding: var(--section) 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.tune__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 60px); }
.tune__p { max-width: 440px; justify-self: end; color: var(--ink-2); }

.radio { position: relative; border-radius: 4px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; }
.radio::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold); transform: scaleX(var(--lock, 0)); transform-origin: left; transition: transform .5s var(--ease-out); }
.radio__top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }

.scope { position: relative; min-height: 300px; border-right: 1px solid var(--line); background:
  repeating-linear-gradient(0deg, transparent 0 29px, rgba(255, 255, 255, .045) 29px 30px),
  repeating-linear-gradient(90deg, transparent 0 29px, rgba(255, 255, 255, .045) 29px 30px); }
.scope__cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.scope__k { position: absolute; left: 18px; top: 16px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.scope__meter { position: absolute; right: 18px; top: 14px; display: flex; align-items: flex-end; gap: 3px; height: 16px; }
.scope__meter i { width: 4px; background: var(--dim); transition: background .2s; }
.scope__meter i:nth-child(1) { height: 30%; } .scope__meter i:nth-child(2) { height: 45%; } .scope__meter i:nth-child(3) { height: 62%; } .scope__meter i:nth-child(4) { height: 80%; } .scope__meter i:nth-child(5) { height: 100%; }
.scope__meter i.is-on { background: var(--gold); }

.readout { padding: clamp(22px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 14px; min-height: 300px; }
.readout__k { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }
.readout__k span:last-child { color: var(--gold); }
.readout__name { font: 400 clamp(30px, 3vw, 44px)/1.02 var(--f-sc); min-height: 1.04em; }
.readout__q { flex: 1; font: 400 clamp(19px, 1.65vw, 24px)/1.38 var(--f-display); color: var(--ink); min-height: 4.2em; }
.radio:not(.is-locked) .readout__q { color: var(--ink-2); }
.readout__who { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.readout__who .mono { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.readout__who b { font-weight: 400; color: var(--ink-2); min-height: 1.6em; }
.scramble { color: var(--gold-d); }

/* the band: an FM scale with a needle */
.band { position: relative; height: 112px; margin: 0 clamp(18px, 2.4vw, 34px); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.band.is-drag { cursor: grabbing; }
.band__scale { position: absolute; inset: 0; }
.band__tick { position: absolute; bottom: 38px; width: 1px; height: 10px; background: var(--line-2); transform: translateX(-50%); }
.band__tick.is-mid { height: 16px; background: var(--line-3); }
.band__tick.is-major { height: 24px; background: var(--ink-2); }
.band__num { position: absolute; bottom: 14px; transform: translateX(-50%); font: 400 11px/1 var(--f-mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.band__st { position: absolute; top: 14px; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; font: 400 10px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: color .3s; }
.band__st::after { content: ''; width: 7px; height: 7px; background: var(--dim); transform: rotate(45deg); transition: background .3s; }
.band__st.is-on { color: var(--gold); }
.band__st.is-on::after { background: var(--gold); }
.band__needle { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; pointer-events: none; will-change: transform; }
.band__needle i { position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--air); }
.band__needle i::before { content: ''; position: absolute; left: -5px; top: -2px; width: 12px; height: 6px; background: var(--air); border-radius: 1px; }
.band__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; } /* keyboard only; the band handles pointers */
.band:has(.band__input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

.radio__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px clamp(18px, 2.4vw, 34px); border-top: 1px solid var(--line); }
.radio__seek { display: flex; align-items: center; gap: 8px; }
.seek { width: 38px; height: 38px; border: 0; border-radius: 3px; display: grid; place-items: center; cursor: pointer; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .3s, background .3s; }
.seek:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.seek svg { width: 14px; height: 14px; }
.radio__hint { margin-left: 8px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.radio__stations { display: flex; gap: 6px; flex-wrap: wrap; }
.preset { height: 34px; padding: 0 12px; border: 0; border-radius: 2px; cursor: pointer; background: transparent; box-shadow: inset 0 0 0 1px var(--line); font: 400 11px/1 var(--f-mono); letter-spacing: .08em; color: var(--ink-2); font-variant-numeric: tabular-nums; transition: box-shadow .3s, color .3s, background .3s; }
.preset:hover { box-shadow: inset 0 0 0 1px var(--line-3); color: var(--ink); }
.preset.is-on { background: var(--gold); color: #000; box-shadow: none; }
.sound { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; border: 0; border-radius: 2px; cursor: pointer; background: transparent; box-shadow: inset 0 0 0 1px var(--line); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.sound i { width: 14px; height: 10px; background:
  linear-gradient(var(--muted), var(--muted)) 0 100% / 2px 40% no-repeat,
  linear-gradient(var(--muted), var(--muted)) 4px 100% / 2px 100% no-repeat,
  linear-gradient(var(--muted), var(--muted)) 8px 100% / 2px 60% no-repeat,
  linear-gradient(var(--muted), var(--muted)) 12px 100% / 2px 80% no-repeat; }
.sound[aria-pressed="true"] { color: var(--ink); box-shadow: inset 0 0 0 1px var(--gold); }
.sound[aria-pressed="true"] i { filter: none; animation: eq .8s steps(4) infinite; }
@keyframes eq { 50% { transform: scaleY(.6); } }

/* ==========================================================================
   03 · ON AIR SOON
   ========================================================================== */
.close { padding: var(--section) 0 calc(var(--section) * 1.1); border-top: 1px solid var(--line); text-align: center; }
.close__in { display: flex; flex-direction: column; align-items: center; }
.sign { display: inline-flex; gap: .32em; margin-bottom: clamp(36px, 5vw, 64px); padding: 14px 26px 12px; border-radius: 3px; background: #140707; box-shadow: inset 0 0 0 1px rgba(229, 72, 77, .28); font: 700 clamp(28px, 3.4vw, 46px)/1 var(--f-sc); letter-spacing: .14em; color: #3A1A1B; transition: background .2s, color .2s, box-shadow .2s; }
.sign.is-lit { background: var(--air); color: #FFF5F2; box-shadow: none; }
.close__h { font-size: clamp(40px, 5.6vw, 92px); max-width: 14ch; }
.close__p { max-width: 36em; margin-top: 26px; color: var(--ink-2); font-size: 17.5px; }
.close__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.close__note { margin-top: 22px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 34px 0 30px; }
.foot__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.foot__brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.foot__brand img { border-radius: 50%; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px rgba(23, 19, 14, 0.18); }
.foot__brand .wm { font-size: 19px; letter-spacing: .04em; text-transform: none; color: var(--ink); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot__nav a { text-decoration: none; font: 400 14.5px/1 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--ink-2); transition: color .3s; }
.foot__nav a:hover { color: var(--gold-l); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1000px) {
  .premise__top, .tune__head { grid-template-columns: 1fr; gap: 24px; }
  .tune__p { justify-self: start; }
  .radio__top { grid-template-columns: 1fr; }
  .scope { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
  .readout { min-height: 0; }
}
@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; gap: 40px; }
  .pillar__img { aspect-ratio: 4 / 3; }
  .spec { grid-template-columns: 1fr; }
  .spec > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 18px; }
  .hero__show .mono { display: none; }
  .hero__ctas .btn, .close__ctas .btn { width: 100%; justify-content: space-between; }
  .band { height: 104px; margin: 0 14px; }
  .band__st { font-size: 0; gap: 0; }
  .band__num:nth-of-type(even) { display: none; }
  .radio__hint { display: none; }
  .radio__stations { order: 3; width: 100%; }
  .preset { flex: 1; padding: 0 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .pillar__img { transition: none; opacity: 1; transform: none; clip-path: none; }
  .cue i, .onair i { animation: none; }
}
