/* Skyote Moon
   Black and white, hard edges, one family (Archivo) pushed across its width axis.
   Gold and violet appear only as hairlines and glow. */

:root {
  --black: #000;
  --white: #fff;
  --ash: #a3a3a3;
  --line: rgba(255, 255, 255, 0.2);
  --gold: #c8a24a;
  --violet: #3a106e;

  --pad: clamp(18px, 2.4vw, 36px);
  --nav-h: 60px;

  --wide: 125%;
  --normal: 100%;
  --narrow: 68%;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--black);
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-stretch: var(--normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* film grain over everything, like the flash photographs */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.06;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.1 -0.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--violet); color: var(--white); }

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.skip {
  position: absolute;
  left: var(--pad);
  top: -100px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--white);
  color: var(--black);
  font-weight: 600;
}
.skip:focus { top: 10px; }

/* ---------- shared type ---------- */

.display {
  font-stretch: var(--wide);
  font-weight: 900;
  font-size: clamp(34px, 5.6vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-wrap: balance;
}

.lede {
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 34em;
}

.label {
  font-stretch: var(--narrow);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--white);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--white); color: var(--black); }
.btn--solid { background: var(--white); color: var(--black); }
.btn--solid:hover { background: var(--black); color: var(--white); border-color: var(--gold); }
.btn--ink { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--ink:hover { background: var(--white); color: var(--black); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--pad);
  background: var(--black);
  border-bottom: 1px solid var(--line);
}
.nav__name {
  font-stretch: var(--wide);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.nav nav { display: flex; gap: clamp(14px, 2.2vw, 34px); }
.nav nav a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav nav a:hover { border-bottom-color: var(--gold); }

/* ---------- hero ---------- */

.hero {
  /* measured advance widths of the two words, in em, at wdth 125 / wght 900 */
  --k-a: 5.36;
  --k-b: 4.15;
  --body-l: 0.21;  /* where her torso starts, as a fraction of the photo width */
  --body-r: 0.69;  /* where it ends */

  --hero-h: max(540px, calc(100svh - var(--nav-h)));
  --fig-h: calc(var(--hero-h) * 0.93);
  --fig-w: calc(var(--fig-h) * 0.5628);
  --fs: calc((100vw - 2 * var(--pad) - var(--fig-w) * (var(--body-r) - var(--body-l))) / (var(--k-a) + var(--k-b)));
  --fig-x: calc(var(--pad) + var(--fs) * var(--k-a) - var(--fig-w) * var(--body-l));

  position: relative;
  height: var(--hero-h);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(
      circle at calc(var(--fig-x) + var(--fig-w) * 0.425) calc(var(--hero-h) - var(--fig-h) * 0.743),
      rgba(58, 16, 110, 0.6),
      rgba(58, 16, 110, 0) min(70vh, 60vw)
    ),
    var(--black);
}

.hero__figure {
  position: absolute;
  left: var(--fig-x);
  bottom: 0;
  width: var(--fig-w);
  height: var(--fig-h);
}
.hero__photo,
.hero__cut {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}
.hero__photo { z-index: 1; }
.hero__cut { z-index: 4; pointer-events: none; }

/* concentric rings centred on her head; they invert wherever they cross the photo */
.rings {
  position: absolute;
  left: 42.5%;
  top: 25.7%;
  width: 3200px;
  height: 3200px;
  margin: -1600px 0 0 -1600px;
  z-index: 2;
  pointer-events: none;
  will-change: transform, scale, translate;
  mix-blend-mode: difference;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 0, #000 16%, transparent 50%);
          mask-image: radial-gradient(circle closest-side, #000 0, #000 16%, transparent 50%);
}
.rings circle { fill: none; stroke: #fff; stroke-width: 1; vector-effect: non-scaling-stroke; }
.rings--a { opacity: 0.8; }
.rings--b { opacity: 0.4; }

.halo {
  position: absolute;
  left: 42.5%;
  top: 25.7%;
  width: 58%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(-90deg);
  z-index: 3;
  overflow: visible;
  pointer-events: none;
}
.halo circle {
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.6;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.wordmark {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--hero-h) - var(--fig-h) * 0.5);
  height: 1em;
  z-index: 3;
  font-size: var(--fs);
  font-stretch: var(--wide);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
}
.wordmark span { position: absolute; top: 0; }
.wordmark__a { right: calc(100% - var(--fig-x) - var(--fig-w) * var(--body-l)); }
.wordmark__b { left: calc(var(--fig-x) + var(--fig-w) * var(--body-r)); }

.hero__copy {
  position: absolute;
  z-index: 5;
  left: var(--pad);
  top: clamp(28px, 7vh, 72px);
  max-width: min(30em, calc(var(--fig-x) - var(--pad) * 2));
}
.hero__line {
  font-size: clamp(24px, 2.5vw, 40px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero__role {
  margin-top: 14px;
  max-width: 26em;
  color: var(--ash);
}
.hero__actions {
  position: absolute;
  z-index: 5;
  left: var(--pad);
  bottom: clamp(20px, 5vh, 44px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* tempo control: a turntable pitch fader that sets how fast the rings pulse.
   0 at the top, 120 at the centre light, 240 at the bottom. */
.tempo {
  --inset: 15px;    /* slot panel beyond the throw at each end */
  --gap: clamp(8px, 10vh - 46px, 44px);
  /* fader throw: shortens to fit between the wordmark and the foot of the hero */
  --travel: clamp(56px, var(--fig-h) * 0.5 - var(--fs) * 0.86 - 64px - var(--gap), 96px);
  --v: 0.125;       /* fader position, 0 at the top; starts at 30 BPM */
  --print: #dcdcdc;
  --led: #4da3ff;
  position: absolute;
  z-index: 5;
  right: var(--pad);
  bottom: var(--gap);
  padding: 7px 7px 6px;
  background: linear-gradient(180deg, #101011, #070708);
  border: 1px solid var(--line);
  color: var(--print);
  -webkit-user-select: none;
          user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.tempo__deck {
  position: relative;
  display: flex;
  gap: 5px;
  height: calc(var(--travel) + var(--inset) * 2);
}

/* the readout: a small window above the centre line, with a light under it
   that blinks on the beat */
.tempo__read {
  position: absolute;
  left: 0;
  top: calc(var(--inset) + var(--travel) / 2 - 38px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 40px;
  height: 17px;
  padding: 0 3px;
  border: 1px solid #3a3a3e;
  border-radius: 2px;
  background: #0b0b0c;
  font-stretch: var(--narrow);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white);
}
.tempo__unit {
  font-weight: 700;
  font-size: 6px;
  letter-spacing: 0.06em;
  color: var(--print);
}
.tempo__read output {
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}

/* indicator lights */
.tempo__led {
  flex: none;
  width: 7px;
  height: 3px;
  border-radius: 1px;
  background: #1b2430;
}
.tempo.is-beat .tempo__led--beat,
.tempo.is-centre .tempo__led--centre {
  background: #d6ebff;
  box-shadow: 0 0 4px 1px var(--led), 0 0 9px 1px var(--led);
}
.tempo__led--beat {
  position: absolute;
  left: 16px;
  top: calc(var(--inset) + var(--travel) / 2 - 16px);
}
.tempo__led--centre {
  position: absolute;
  left: 48px;
  top: calc(var(--inset) + var(--travel) / 2 - 1.5px);
  width: 8px;
}

/* the printed scale */
.tempo__scale {
  flex: none;
  height: var(--travel);
  margin-top: var(--inset);
  overflow: visible;
  font-stretch: var(--narrow);
  font-weight: 600;
}
.tempo__scale .rule { fill: none; stroke: var(--print); stroke-width: 1; }
.tempo__scale .lead { opacity: 0.6; }
.tempo__scale .mark,
.tempo__scale text { fill: var(--print); }
.tempo__scale .mark rect { transform: translateY(-1.5px); }
.tempo__scale .num { font-size: 7.5px; text-anchor: end; font-variant-numeric: tabular-nums; }
.tempo__scale .word,
.tempo__name {
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tempo__scale .word { text-anchor: middle; }
.tempo__name {
  display: flex;
  justify-content: center;
  width: 22px;
  margin: 5px 0 0 auto;
  font-stretch: var(--narrow);
  line-height: 1;
  white-space: nowrap;
}

.tempo__reset {
  position: absolute;
  left: 1px;
  top: calc(var(--inset) + var(--travel) * 0.875 - 8px);
  width: 16px;
  height: 16px;
  padding: 0;
  border: 1px solid #000;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.22), transparent 55%),
    conic-gradient(#2c2c2f, #111112 25%, #303033 50%, #111112 75%, #2c2c2f);
  box-shadow: 0 0 0 1px #3a3a3e;
  cursor: pointer;
}
.tempo__reset:hover { box-shadow: 0 0 0 1px var(--print); }
.tempo__reset::before { content: ""; position: absolute; inset: -9px -7px -9px -9px; }
.tempo__reset:active { filter: brightness(0.7); }

/* the recessed panel, its slot and the fader cap */
.tempo__fader {
  position: relative;
  flex: none;
  width: 22px;
  background: #030303;
  box-shadow: 0 0 0 1px #2a2a2d, inset 0 0 6px #000;
  cursor: grab;
  touch-action: none;
}
.tempo__fader::before { content: ""; position: absolute; inset: -6px -8px -6px -7px; }
.tempo.is-dragging,
.tempo.is-dragging .tempo__fader { cursor: grabbing; }
.tempo__fader input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.tempo__slot {
  position: absolute;
  left: 50%;
  top: var(--inset);
  width: 3px;
  height: var(--travel);
  margin-left: -1.5px;
}
.tempo__slot::before {
  content: "";
  position: absolute;
  inset: -6px 0;
  border-radius: 2px;
  background: #000;
  box-shadow: 0 0 0 1px #1c1c1e;
}
.tempo__cap {
  position: absolute;
  left: 50%;
  top: calc(var(--v) * 100%);
  width: 20px;
  height: 24px;
  translate: -50% -50%;
  border-radius: 2px;
  background:
    linear-gradient(transparent 11px, #f4f4f4 11px, #f4f4f4 13px, transparent 13px),
    repeating-linear-gradient(transparent 0, transparent 2px, rgba(255, 255, 255, 0.07) 2px, rgba(255, 255, 255, 0.07) 3px),
    linear-gradient(#5d5d61 0, #2c2c2f 2px, #0e0e0f 7px, #262628 11px, #1b1b1d 13px, #0c0c0d 18px, #2c2c2f 22px, #050505 24px);
  box-shadow: 0 0 0 1px #000, 0 2px 5px rgba(0, 0, 0, 0.8);
}
.tempo.is-gliding .tempo__cap { transition: top 0.35s cubic-bezier(0.3, 0, 0.2, 1); }
.tempo.is-keys .tempo__cap { /* focused from the keyboard, not by grabbing it */
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* pinned at 240: the lights go red and the cap rattles in its slot */
.tempo.is-overdrive .tempo__led,
.tempo.is-blown .tempo__led--centre {
  background: #ffd9d2;
  box-shadow: 0 0 4px 1px #ff3b1f, 0 0 9px 1px #ff3b1f;
}
.tempo.is-overdrive .tempo__led { animation: flicker 0.12s steps(2, jump-none) infinite; }
.tempo.is-overdrive .tempo__cap { animation: rattle 0.1s steps(2, jump-none) infinite; }

/* blown: the centre light blinks down the line to Reset */
.tempo.is-blown .tempo__led--centre { animation: flicker 1s steps(2, jump-none) infinite; }
.tempo.is-blown .tempo__read { justify-content: center; color: var(--gold); }
.tempo.is-blown .tempo__read output { font-size: 9px; letter-spacing: 0.08em; }
.tempo.is-blown .tempo__unit { display: none; }
.tempo.is-blown .tempo__reset { box-shadow: 0 0 0 1px var(--print); }

@keyframes flicker {
  to { background: #2a1512; box-shadow: none; }
}
@keyframes rattle {
  from { transform: translate(-1px, 1px); }
  to { transform: translate(1px, -1px); }
}

/* the blast is drawn on a canvas in the same layer as the rings */
.blast {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: difference;
}
.hero.is-blown .rings { animation: none; visibility: hidden; }
.hero.is-blown .halo { animation: slip 1.1s cubic-bezier(0.3, 1.5, 0.5, 1) both; }
.hero.is-blown .halo circle {
  animation: none;
  stroke-dasharray: 0.88 0.12;
  opacity: 0.75;
}
@keyframes slip {
  to { transform: translate(-50%, -22%) rotate(-58deg); }
}

@media (prefers-reduced-motion: reduce) {
  .tempo { display: none; }
}

/* one load sequence: rings bloom, halo draws, the name widens into place */
@media (prefers-reduced-motion: no-preference) {
  .rings--a { animation: bloom 1.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .rings--b { animation: bloom 2.4s cubic-bezier(0.16, 1, 0.3, 1) both, drift 46s linear 2.4s infinite; }
  .halo circle { animation: draw 1.6s cubic-bezier(0.65, 0, 0.35, 1) 0.5s both; }
  .wordmark { animation: widen 1.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
}
@keyframes bloom {
  from { transform: scale(0.35); opacity: 0; }
}
@keyframes drift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(9px, 6px); }
  50%  { transform: translate(0, 12px); }
  75%  { transform: translate(-9px, 6px); }
  100% { transform: translate(0, 0); }
}
@keyframes draw {
  from { stroke-dashoffset: 1; }
}
@keyframes widen {
  from { font-stretch: 62%; opacity: 0; }
}

/* ---------- sections ---------- */

.section {
  border-top: 1px solid var(--line);
  padding: clamp(64px, 9vw, 132px) var(--pad);
}

/* approach */
.approach {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--pad);
  row-gap: clamp(40px, 6vw, 88px);
}
.approach .display { grid-column: 1 / span 7; }
.approach__body { grid-column: 8 / span 5; display: grid; gap: 22px; align-content: start; }
.approach__body p:not(.lede) { color: var(--ash); max-width: 32em; }

.beliefs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.beliefs li {
  padding: 26px 22px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.beliefs h3 {
  font-size: clamp(20px, 1.6vw, 25px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.015em;
  min-height: 2.3em;
}
.beliefs p { margin-top: 16px; color: var(--ash); font-size: 16px; }

/* inverted band */
.band {
  background: var(--white);
  color: var(--black);
  padding: clamp(56px, 8vw, 120px) var(--pad);
}
.band__quote {
  font-stretch: var(--wide);
  font-weight: 900;
  font-size: clamp(38px, 8.2vw, 148px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-wrap: balance;
}
.band__note {
  margin-top: clamp(24px, 3vw, 44px);
  max-width: 30em;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.35;
  font-weight: 500;
}

/* show */
.show__head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--pad);
  row-gap: 32px;
}
.show__head .display { grid-column: 1 / span 7; }
.show__intro { grid-column: 8 / span 5; display: grid; gap: 20px; align-content: start; justify-items: start; }
.show__intro p:not(.lede) { color: var(--ash); max-width: 32em; }
.show__links { display: flex; flex-wrap: wrap; gap: 12px; }

.latest {
  margin-top: clamp(44px, 6vw, 84px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  border: 1px solid var(--line);
  text-decoration: none;
}
.latest img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  transition: filter 0.35s;
}
.latest:hover img,
.latest:focus-visible img { filter: grayscale(0) contrast(1); }
.latest__text {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(22px, 2.6vw, 40px);
  border-left: 1px solid var(--line);
}
.latest .label { color: var(--gold); }
.latest h3 {
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.latest__text p:not(.label) { color: var(--ash); }
.latest__meta { font-size: 15px; }

.episodes { margin-top: clamp(28px, 4vw, 52px); border-top: 1px solid var(--line); }
.episodes a {
  display: grid;
  grid-template-columns: 3.2em minmax(0, 5fr) minmax(0, 7fr) 5em;
  column-gap: var(--pad);
  align-items: baseline;
  padding: 17px 10px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.episodes a:hover,
.episodes a:focus-visible { background: var(--white); color: var(--black); }
.episodes .ep {
  font-stretch: var(--wide);
  font-weight: 900;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.episodes .guest { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.episodes .guest i {
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0;
  opacity: 0.62;
  margin-left: 8px;
}
.episodes .topic { opacity: 0.82; }
.episodes .len { text-align: right; font-size: 15px; font-variant-numeric: tabular-nums; opacity: 0.62; }

.thumb {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: 300px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--white);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s;
  will-change: transform;
}
.thumb.is-on { opacity: 1; }

/* story */
.story {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--pad);
  row-gap: 48px;
}
.story__photo { grid-column: 1 / span 5; margin: 0; align-self: start; position: sticky; top: calc(var(--nav-h) + 24px); }
.story__photo img { width: 100%; height: auto; }
.story__text { grid-column: 7 / span 6; }
.story__text .lede { margin-top: 26px; }

.timeline { margin-top: clamp(40px, 5vw, 68px); border-top: 1px solid var(--line); }
.timeline li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 6px;
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--line);
}
.timeline .when { grid-column: 2; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.timeline li > p:last-child { grid-column: 2; color: var(--ash); max-width: 34em; }

/* the moon waxes down the timeline */
.moon {
  grid-row: 1;
  grid-column: 1;
  width: 16px;
  height: 16px;
  margin-top: 6px;
  border-radius: 50%;
  border: 1px solid var(--white);
  background: linear-gradient(270deg, var(--white) var(--lit), transparent var(--lit));
}
.moon--full { background: var(--gold); border-color: var(--gold); }

/* system */
.system { background: var(--white); color: var(--black); padding: clamp(56px, 8vw, 120px) var(--pad); }
.system__inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--pad);
  row-gap: 24px;
}
.system .label { grid-column: 1 / -1; }
.system .display { grid-column: 1 / span 7; }
.system__body { grid-column: 8 / span 5; display: grid; gap: 20px; align-content: start; justify-items: start; }

/* contact */
.contact { display: grid; gap: 26px; justify-items: start; }
.contact__mail {
  margin-top: clamp(8px, 2vw, 28px);
  font-weight: 800;
  font-size: clamp(26px, 6.6vw, 118px);
  line-height: 1;
  letter-spacing: -0.035em;
  text-decoration: underline;
  text-decoration-thickness: 0.045em;
  text-underline-offset: 0.12em;
  text-decoration-color: var(--line);
  transition: text-decoration-color 0.15s;
}
.contact__mail:hover { text-decoration-color: var(--gold); }

/* footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 26px var(--pad) 34px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ash);
}
.footer ul { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer a { color: var(--white); text-decoration: none; border-bottom: 1px solid transparent; }
.footer a:hover { border-bottom-color: var(--gold); }

/* ---------- narrow and portrait screens ---------- */

@media (max-width: 899px), (max-aspect-ratio: 1 / 1) {
  .nav nav a:not([href="#system"]):not([href="#contact"]) { display: none; }

  .hero {
    --fs: calc((100vw - 2 * var(--pad)) / var(--k-a));
    --fig-h: min(calc((100vw - var(--pad)) * 1.777), 78svh);
    --fig-w: calc(var(--fig-h) * 0.5628);
    height: auto;
    display: flex;
    flex-direction: column;
    padding-top: 22px;
    background:
      radial-gradient(circle at 70% 46%, rgba(58, 16, 110, 0.6), rgba(58, 16, 110, 0) 90vw),
      var(--black);
  }
  .rings {
    width: 1900px;
    height: 1900px;
    margin: -950px 0 0 -950px;
  }
  .wordmark {
    position: relative;
    order: 1;
    top: auto;
    height: auto;
    padding: 0 var(--pad);
    line-height: 0.86;
    margin-bottom: -0.34em;
  }
  .wordmark span { position: static; display: block; }
  .hero__figure {
    position: relative;
    order: 2;
    left: auto;
    bottom: auto;
    margin-left: auto;
    flex: none;
  }
  .hero__copy {
    position: static;
    order: 3;
    max-width: none;
    padding: 30px var(--pad) 0;
  }
  .hero__actions {
    position: static;
    order: 4;
    padding: 24px var(--pad) 40px;
  }
  /* the corner of the deck: flush with the photo, lower right */
  .tempo {
    top: calc(22px + var(--fs) * 1.38 + var(--fig-h));
    --travel: 96px;
    right: 0;
    bottom: auto;
    translate: 0 -100%;
    border-right: 0;
    border-bottom: 0;
  }

  .approach .display,
  .approach__body,
  .show__head .display,
  .show__intro,
  .system .display,
  .system__body,
  .story__photo,
  .story__text { grid-column: 1 / -1; }

  .story__photo { position: static; max-width: 420px; }

  .beliefs { grid-template-columns: repeat(2, 1fr); }
  .beliefs h3 { min-height: 0; }

  .latest { grid-template-columns: 1fr; }
  .latest__text { border-left: 0; border-top: 1px solid var(--line); }

  .episodes a {
    grid-template-columns: 2.6em minmax(0, 1fr) auto;
    row-gap: 4px;
    padding: 16px 4px;
  }
  .episodes .topic { grid-column: 2 / -1; grid-row: 2; }
  .episodes .len { grid-column: 3; grid-row: 1; }
  .episodes .guest i { display: block; margin-left: 0; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .beliefs { grid-template-columns: 1fr; }
  .btn { padding: 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
