:root {
  --ink: #0a0812;
  --stage: #050509;
  --raise: #12101d;
  --panel: #0a0e18;
  --text: #f2eeff;
  --muted: #b6aed2;
  --line: rgba(196, 181, 253, 0.22);
  --line-strong: rgba(196, 181, 253, 0.42);
  --amber: #ffc24b;
  --amber-lift: #ffd27a;
  --amber-deep: #e0a63a;
  --cyan: #00e5ff;
  --purple: #a855f7;
  --lavender: #c4b5fd;
  --blue: #60a5fa;
  --serif: ui-serif, "New York", Georgia, Cambria, "Times New Roman", serif;
  --sans:
    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  --shell: min(100% - 2.5rem, 70rem);
  --small: 0.875rem;
  --sp-1: 0.5rem;
  --sp-2: 0.75rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 2rem;
  --sp-6: 3rem;
  --sp-7: 4rem;
  --section: clamp(3rem, 5.5vw, 4.5rem);
}

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

html {
  background: var(--stage);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 1.0625rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: var(--cyan);
}

a:hover {
  color: var(--lavender);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
  border-radius: 1px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 30;
  padding: 0.65rem 1rem;
  background: var(--amber);
  color: #1a1204;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(calc(-100% - 2rem));
}

.skip:focus,
.skip:focus-visible {
  transform: translateY(0);
}

/* Masthead */
.masthead {
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: baseline;
  gap: var(--sp-4);
  padding: 1.1rem 0 0.7rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--text);
  white-space: nowrap;
}

.wordmark span {
  color: var(--lavender);
  font-weight: 500;
}

.kicker {
  flex: 1;
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
  text-align: center;
}

.channel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--small);
  letter-spacing: 0.1em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
  text-decoration-color: var(--line-strong);
  color: var(--text);
  white-space: nowrap;
}

.channel:hover {
  color: var(--amber);
  text-decoration-color: var(--amber);
}

/* Cover: the work is the first screen */
.cover {
  padding-top: var(--sp-4);
}

.cover-plate {
  --plate-w: min(100%, 70rem, calc(49vh * 16 / 9));
  margin: 0;
}

@supports (height: 1svh) {
  .cover-plate {
    --plate-w: min(100%, 70rem, calc(49svh * 16 / 9));
  }
}

.cover-media {
  position: relative;
  width: var(--plate-w);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--raise);
}

.cover-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  box-shadow: inset 0 0 0 1px var(--line);
  pointer-events: none;
}

.cover-still,
.cover-clip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--raise);
}

.cover-still {
  display: block;
  z-index: 0;
}

.cover-clip {
  opacity: 0;
}

.cover-clip--1 {
  z-index: 1;
  opacity: 1;
}

.cover-clip--2 {
  z-index: 2;
}

.cover-clip--3 {
  z-index: 3;
}

.cover-clip--4 {
  z-index: 4;
}

.cover-caption {
  display: grid;
  width: min(var(--shell), var(--plate-w));
  margin-inline: auto;
  padding-top: var(--sp-2);
}

.cover-cap {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
}

.cover-cap--1 {
  opacity: 1;
  visibility: visible;
}

.cover-cap-style {
  display: block;
  font-size: var(--small);
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--amber);
}

.cover-cap-style::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.55rem;
  background: var(--amber);
  vertical-align: 0.08em;
}

.cover-cap-ep {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--muted);
}

.cover-copy {
  padding-top: var(--sp-5);
}

.cover-copy h1 {
  margin: 0;
  max-width: 17ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.7rem, 7.6vw, 4.75rem);
  line-height: 0.99;
  letter-spacing: -0.012em;
}

.cover-deck {
  display: grid;
  gap: var(--sp-4);
  margin-top: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
}

.cover-deck p {
  margin: 0;
}

.cover-deck > p:first-child {
  max-width: 38ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.cover-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
}

/* Buttons: one family, two ranks */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  font: 700 var(--small) / 1 var(--sans);
  letter-spacing: 0.09em;
  text-decoration: none;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.12s ease;
}

.button--primary {
  background: var(--amber);
  border-color: var(--amber);
  color: #1a1204;
}

.button--primary:hover {
  background: var(--amber-lift);
  border-color: var(--amber-lift);
  color: #1a1204;
}

.button--primary:active {
  background: var(--amber-deep);
  border-color: var(--amber-deep);
  color: #1a1204;
  transform: translateY(1px);
}

.button--secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.button--secondary:hover {
  background: rgba(255, 194, 75, 0.06);
  border-color: var(--amber);
  color: var(--amber);
}

.button--secondary:active {
  background: rgba(255, 194, 75, 0.12);
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(1px);
}

.button:focus-visible {
  outline-offset: 3px;
}

.textlink {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-size: 0.9rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  text-decoration-color: var(--line-strong);
}

.textlink:hover {
  color: var(--amber);
  text-decoration-color: var(--amber);
}

/* Ticker */
.ticker {
  margin-top: var(--sp-6);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 0.65rem 0 0.8rem;
  background: var(--ink);
}

.ticker-track {
  display: flex;
  width: max-content;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--lavender);
  white-space: nowrap;
}

.ticker-track span {
  padding-right: 0.6rem;
}

.ticker-track b {
  color: var(--amber);
  font-weight: 400;
  padding: 0 0.4rem;
}

/* Section furniture */
.make,
.plates {
  padding-top: var(--section);
}

.plates {
  padding-bottom: var(--sp-6);
}

.label {
  margin: 0 0 var(--sp-3);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--amber);
}

.label::before {
  content: "✳";
  font-style: normal;
  font-size: 0.9em;
  padding-right: 0.5rem;
}

.label--stage {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--cyan);
}

.label--stage::before {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  padding: 0;
  background: var(--cyan);
}

h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: -0.01em;
}

/* What we make */
.make-grid {
  display: grid;
  gap: var(--sp-5);
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}

.make-lede {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.5;
  max-width: 36ch;
}

.make-list {
  margin: 0;
}

.make-list > div {
  padding: var(--sp-3) 0 var(--sp-4);
  border-top: 1px solid var(--line);
}

.make-list > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.make-list dt {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.make-list dd {
  margin: 0;
  max-width: 44ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

/* Styles */
.section-head {
  margin-bottom: var(--sp-5);
}

.plate {
  display: grid;
  gap: var(--sp-4);
  align-items: center;
  margin: 0;
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--line);
}

.plate-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--raise);
}

.plate-media img,
.plate-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plate-still {
  display: block;
  z-index: 0;
}

.plate-clip {
  display: block;
  z-index: 1;
}

.plate figcaption {
  min-width: 0;
}

.plate-no {
  display: block;
  margin-bottom: var(--sp-1);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--amber);
}

.plate h3 {
  margin: 0 0 var(--sp-1);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.plate p {
  margin: 0;
  max-width: 30ch;
  color: var(--muted);
}

/* Handover from the journal to the stage: the one big breath */
.handover {
  position: relative;
  height: clamp(6rem, 12vw, 9rem);
  margin-top: var(--sp-6);
  background:
    radial-gradient(
      ellipse at 50% 118%,
      rgba(168, 85, 247, 0.2),
      transparent 58%
    ),
    linear-gradient(180deg, var(--ink) 0%, #08070f 52%, var(--stage) 100%);
  overflow: hidden;
}

.handover::before {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -8rem;
  height: 22rem;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(0, 229, 255, 0.22) 0 1px,
      transparent 1px 64px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(168, 85, 247, 0.16) 0 1px,
      transparent 1px 64px
    );
  transform: perspective(420px) rotateX(66deg);
  transform-origin: bottom center;
  -webkit-mask-image: linear-gradient(to top, #000 12%, transparent 82%);
  mask-image: linear-gradient(to top, #000 12%, transparent 82%);
  opacity: 0.9;
}

.handover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--amber) 0%,
    rgba(168, 85, 247, 0.9) 48%,
    var(--cyan) 100%
  );
  box-shadow:
    0 0 18px rgba(0, 229, 255, 0.25),
    0 0 30px rgba(255, 194, 75, 0.12);
  opacity: 0.85;
}

/* Episodes on the stage */
.episodes {
  background: var(--stage);
  padding: var(--section) 0;
}

.ep-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-size: 0.95rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: var(--line-strong);
}

.ghost-link:hover {
  color: var(--cyan);
  text-decoration-color: var(--cyan);
}

.reel {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-4);
}

.frame {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.25s ease;
}

.frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--stage);
  border-bottom: 1px solid var(--line);
}

.frame-title {
  display: block;
  padding: var(--sp-3) var(--sp-3) var(--sp-3);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.005em;
  transition: color 0.25s ease;
}

.frame:hover {
  border-color: var(--line-strong);
}

.frame:hover .frame-title {
  color: var(--cyan);
}

.reel-more a {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--sp-1);
  height: 100%;
  min-height: 11rem;
  padding: var(--sp-4);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(168, 85, 247, 0.35),
      transparent 55%
    ),
    radial-gradient(
      circle at 10% 90%,
      rgba(0, 229, 255, 0.18),
      transparent 60%
    ),
    var(--panel);
  text-decoration: none;
  color: var(--text);
}

.reel-kicker {
  font-size: var(--small);
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.reel-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.reel-more a:hover {
  border-color: var(--cyan);
}

.reel-more a:hover .reel-title {
  color: var(--cyan);
}

/* Work with us */
.work {
  background: var(--stage);
  padding: var(--section) 0;
}

.work h2 {
  max-width: 16ch;
}

.commission {
  display: grid;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}

.commission-lede {
  margin: 0;
  max-width: 44ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.commission-quote p {
  margin: 0 0 var(--sp-4);
  max-width: 28ch;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.18;
}

/* The free-product showcase: the largest panel in this section */
.showcase {
  margin-top: var(--sp-6);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(140deg, rgba(0, 229, 255, 0.055), transparent 42%),
    var(--panel);
}

.showcase-visual {
  margin: 0;
  padding: 8px 8px 0;
}

.showcase-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #000;
}

.showcase-visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: 0.6rem 0.15rem 0.1rem;
  font-size: var(--small);
  letter-spacing: 0.06em;
  color: var(--muted);
}

.showcase-tag {
  color: var(--cyan);
}

.showcase-copy {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}

.showcase-intro .label {
  margin-bottom: var(--sp-2);
}

.showcase h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.showcase-intro > p:last-child {
  margin: var(--sp-3) 0 0;
  max-width: 38ch;
  color: var(--muted);
}

.gets {
  list-style: none;
  margin: var(--sp-5) 0 0;
  padding: 0;
}

.gets li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: var(--sp-2);
  padding: var(--sp-3) 0;
  border-top: 1px solid var(--line);
}

.get-mark {
  width: 7px;
  height: 7px;
  margin-top: 0.45rem;
  background: var(--cyan);
}

.gets strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.gets div span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.disclosure {
  margin: var(--sp-4) 0 0;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line-strong);
  color: var(--lavender);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* We also build: a second service, smaller than the showcase */
.build {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-strong);
}

.build h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.build-copy {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.build-copy a {
  white-space: nowrap;
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  text-decoration-color: var(--amber);
}

.build-copy a:hover {
  color: var(--amber);
  text-decoration-color: var(--amber);
}

/* Contact */
.endcard {
  position: relative;
  overflow: hidden;
  background: var(--stage);
  border-top: 1px solid var(--line);
  padding: var(--section) 0;
}

.endcard::before {
  content: "";
  position: absolute;
  top: -14rem;
  right: -12rem;
  width: 45rem;
  height: 45rem;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2), transparent 66%);
  pointer-events: none;
}

.endcard .shell {
  position: relative;
  z-index: 1;
}

.endcard h2 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  line-height: 0.92;
}

.endcard-lede {
  margin: var(--sp-4) 0 var(--sp-5);
  max-width: 60ch;
  color: var(--muted);
}

.mail {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.mail:hover {
  color: var(--lavender);
}

.mail--small {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
}

.mail-list {
  margin: 0;
  display: grid;
  gap: var(--sp-4);
}

.mail-list dt {
  font-size: 0.875rem;
  color: var(--muted);
}

.mail-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.endcard-channel {
  margin: var(--sp-5) 0 0;
  font-size: 0.95rem;
}

.endcard-channel a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: var(--line-strong);
}

.endcard-channel a:hover {
  color: var(--text);
  text-decoration-color: var(--line-strong);
}

/* Footer */
.foot {
  background: var(--stage);
  border-top: 1px solid var(--line);
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-1) var(--sp-5);
  padding: 1.4rem 0 2.8rem;
  color: var(--muted);
  font-size: var(--small);
  letter-spacing: 0.03em;
}

.foot p {
  margin: 0;
}

/* Motion: the rotating hero, one page-load rule, the ticker, the work itself */
@media (prefers-reduced-motion: no-preference) {
  .cover-clip--1 {
    animation: hero-1 20s linear infinite;
  }

  .cover-clip--2 {
    animation: hero-2 20s linear infinite;
  }

  .cover-clip--3 {
    animation: hero-3 20s linear infinite;
  }

  .cover-clip--4 {
    animation: hero-4 20s linear infinite;
  }

  .cover-cap--1 {
    animation: cap-1 20s linear infinite;
  }

  .cover-cap--2 {
    animation: cap-2 20s linear infinite;
  }

  .cover-cap--3 {
    animation: cap-3 20s linear infinite;
  }

  .cover-cap--4 {
    animation: cap-4 20s linear infinite;
  }

  .masthead {
    position: relative;
  }

  .masthead::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: linear-gradient(
      90deg,
      var(--amber),
      var(--purple),
      transparent
    );
    transform-origin: left;
    animation: rule-in 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .ticker-track {
    animation: ticker 52s linear infinite;
  }

  .plate-media img,
  .plate-media video {
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .plate:hover .plate-media img,
  .plate:hover .plate-media video {
    transform: scale(1.025);
  }
}

@keyframes hero-1 {
  0%,
  25% {
    opacity: 1;
  }
  25.01%,
  97.99% {
    opacity: 0;
  }
  98%,
  100% {
    opacity: 1;
  }
}

@keyframes hero-2 {
  0%,
  23% {
    opacity: 0;
  }
  25%,
  50% {
    opacity: 1;
  }
  50.01%,
  100% {
    opacity: 0;
  }
}

@keyframes hero-3 {
  0%,
  48% {
    opacity: 0;
  }
  50%,
  75% {
    opacity: 1;
  }
  75.01%,
  100% {
    opacity: 0;
  }
}

@keyframes hero-4 {
  0%,
  73% {
    opacity: 0;
  }
  75%,
  98% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes cap-1 {
  0%,
  23% {
    opacity: 1;
    visibility: visible;
  }
  25%,
  98% {
    opacity: 0;
    visibility: hidden;
  }
  100% {
    opacity: 1;
    visibility: visible;
  }
}

@keyframes cap-2 {
  0%,
  23% {
    opacity: 0;
    visibility: hidden;
  }
  25%,
  48% {
    opacity: 1;
    visibility: visible;
  }
  50%,
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes cap-3 {
  0%,
  48% {
    opacity: 0;
    visibility: hidden;
  }
  50%,
  73% {
    opacity: 1;
    visibility: visible;
  }
  75%,
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes cap-4 {
  0%,
  73% {
    opacity: 0;
    visibility: hidden;
  }
  75%,
  98% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes rule-in {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker-track {
    animation: none;
  }

  .cover-clip,
  .plate-clip {
    display: none;
    animation: none;
  }

  .cover-still,
  .plate-still {
    display: block;
  }

  .cover-cap {
    display: none;
    visibility: hidden;
    animation: none;
    opacity: 1;
  }

  .cover-cap--1 {
    display: block;
    visibility: visible;
  }

  .plate-media img,
  .plate-media video {
    transition: none;
  }

  .plate:hover .plate-media img,
  .plate:hover .plate-media video {
    transform: none;
  }
}

/* Wider layouts */
@media (min-width: 720px) {
  .cover-deck {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: var(--sp-5);
  }

  .cover-actions {
    justify-content: flex-end;
  }

  .make-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .plate {
    grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
  }

  .plate:nth-of-type(even) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.42fr);
  }

  .plate:nth-of-type(even) .plate-media {
    order: 2;
  }

  .plate:nth-of-type(even) figcaption {
    order: 1;
  }

  .reel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .commission {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .showcase-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: var(--sp-4) var(--sp-6);
    align-items: start;
  }

  .showcase-intro {
    grid-column: 1;
  }

  .gets {
    grid-column: 2;
    margin-top: 0;
  }

  .gets li:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .disclosure {
    grid-column: 1 / -1;
    margin-top: var(--sp-3);
  }

  .build {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
    align-items: start;
    gap: var(--sp-4) var(--sp-6);
  }
}

@media (min-width: 1000px) {
  .cover-copy {
    padding-top: var(--sp-4);
  }
}

/* Phone */
@media (max-width: 639px) {
  .masthead {
    flex-wrap: wrap;
    gap: var(--sp-1) var(--sp-3);
    padding-top: var(--sp-3);
  }

  .kicker {
    order: 3;
    flex-basis: 100%;
    text-align: left;
    font-size: 1rem;
  }

  .channel {
    margin-left: auto;
    letter-spacing: 0.06em;
  }

  .cover {
    padding-top: var(--sp-3);
  }

  .cover-cap-ep {
    font-size: 1rem;
  }

  .cover-copy {
    padding-top: var(--sp-4);
  }

  .cover-deck > p:first-child {
    font-size: 1.0625rem;
  }

  .cover-actions {
    gap: var(--sp-3);
  }

  .ticker {
    margin-top: var(--sp-5);
  }

  .ticker-track {
    font-size: 1rem;
  }

  .handover::before {
    opacity: 0.75;
  }

  .label {
    font-size: 1.05rem;
  }

  .make-lede {
    font-size: 1.2rem;
  }

  .make-list dt {
    font-size: 1.5rem;
  }

  .make-list dd {
    font-size: 1rem;
  }

  .plate p {
    font-size: 1rem;
  }

  .ghost-link {
    font-size: var(--small);
  }

  .reel-kicker {
    font-size: var(--small);
  }

  .showcase {
    border-color: var(--line);
  }

  .showcase-visual {
    padding: 5px 5px 0;
  }

  .showcase-visual figcaption {
    letter-spacing: 0.03em;
  }

  .showcase-intro > p:last-child {
    font-size: 1rem;
  }

  .gets strong {
    font-size: 1.05rem;
  }

  .gets div span {
    font-size: 0.95rem;
  }

  .disclosure {
    font-size: 0.95rem;
  }

  .build h3 {
    font-size: 1.7rem;
  }

  .build-copy {
    font-size: 1rem;
  }

  .endcard-channel {
    font-size: var(--small);
  }

  .foot-inner {
    font-size: var(--small);
  }
}
