/* phones draw a blue flash on every tap; the site's own hover and focus styles replace it */
a, button, [role="button"] { -webkit-tap-highlight-color: transparent; }

/* ==========================================================================
   SCA v2 — media.css  (Media · Press room)
   Page-only styles. Every class is prefixed `md-`. Loads after base.css.
   Sections: hero · outlets marquee · press wall (signature) · the film ·
             fact sheet · press kit + contact
   ========================================================================== */

/* ---------- Shared bits ---------- */
.md-eyebrow { display: flex; align-items: center; gap: 1.1rem; }
.md-head-stack { display: grid; gap: 1.4rem; }
#press-contact { scroll-margin-top: 6rem; }

/* ==========================================================================
   1. HERO — typographic front page
   ========================================================================== */
.md-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 88vh;
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: clamp(6rem, 9vw, 7.5rem) clamp(3.5rem, 6vw, 5.5rem);
}
/* stage light from the top right, a faint gold floor glow bottom left */
.md-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55% 60% at 84% -6%, rgb(200 31 44 / 0.26), transparent 70%),
    radial-gradient(40% 45% at 6% 108%, rgb(240 215 140 / 0.07), transparent 70%);
}

/* the press line: camera flashes popping down a receding press pen, up into the stage light.
   Each flash = soft halo (the span) + anamorphic streak (::before) + hot core and glint (::after).
   Positions/sizes/timing come from inline custom props: --x --y --s --t (period) --o (offset) --r */
.md-hero__flashes {
  --md-fs: clamp(6rem, 12vw, 13rem);
  position: absolute;
  z-index: -1;
  top: clamp(5rem, 8vw, 6.5rem);
  right: 0;
  width: 60%;
  height: 40%;
  pointer-events: none;
}
@media (min-width: 900px) { .md-hero__flashes { width: 48%; height: 50%; } }
@media (max-width: 699px) {
  /* a shorter press line on phones */
  .md-hero__flash:nth-child(3),
  .md-hero__flash:nth-child(5),
  .md-hero__flash:nth-child(8) { display: none; }
}
.md-hero__flash {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: calc(var(--s, 1) * var(--md-fs));
  aspect-ratio: 1;
  translate: -50% -50%;
  rotate: var(--r, 0deg);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 234 184 / 0.34), rgb(240 215 140 / 0.1) 40%, transparent);
  opacity: 0.16; /* static "ghost" glints when motion is reduced */
  transform: scale(0.6);
}
.md-hero__flash::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -45%;
  right: -45%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(255 234 184 / 0.85) 50%, transparent);
}
.md-hero__flash::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgb(255 255 255) 0 2.5%, rgb(255 234 184 / 0.9) 5%, transparent 15%),
    linear-gradient(transparent, rgb(255 234 184 / 0.7), transparent) 50% 50% / 1px 56% no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  .md-hero__flash {
    opacity: 0;
    animation: md-flash var(--t, 7s) ease-out var(--o, 0s) infinite;
    will-change: opacity, transform;
  }
  .md-hero__flash--burst { animation-name: md-flash-burst; }
}
/* a flash: near-instant pop, ~half-second decay, then dark for the rest of the period */
@keyframes md-flash {
  0% { opacity: 0; transform: scale(0.5); }
  1% { opacity: 1; transform: scale(1); }
  18%, 100% { opacity: 0; transform: scale(1.08); }
}
/* a double tap, like a photographer firing twice */
@keyframes md-flash-burst {
  0% { opacity: 0; transform: scale(0.5); }
  1% { opacity: 1; transform: scale(1); }
  8% { opacity: 0.08; transform: scale(0.92); }
  10% { opacity: 0.9; transform: scale(1); }
  23%, 100% { opacity: 0; transform: scale(1.08); }
}

.md-masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 2rem;
  padding-bottom: 1.3rem;
}
.md-hero-rule { background: var(--hair); margin-bottom: clamp(2.4rem, 6vw, 4.8rem); }

.md-hero-title { margin-bottom: clamp(2.6rem, 6vw, 5rem); }
@media (min-width: 700px) {
  /* art direction: the italic half steps in, like a second deck of a headline */
  .md-hero-title em { display: inline-block; padding-left: 0.95em; }
}

.md-hero-foot { display: grid; gap: 2.8rem; }
@media (min-width: 900px) {
  .md-hero-foot {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: end;
  }
  .md-hero-lead { grid-column: 1 / span 5; }
  .md-toc { grid-column: 7 / -1; }
}

/* "In this room" — anchor index */
.md-toc-title { margin-bottom: 1rem; }
.md-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 600px) { .md-toc ol { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.md-toc a {
  position: relative;
  display: grid;
  gap: 0.7rem;
  padding: 1.1rem 0 1rem;
  border-top: 1px solid var(--line);
  color: var(--fg);
  text-decoration: none;
}
.md-toc a::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease);
}
.md-toc a:hover::before,
.md-toc a:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.md-toc-name {
  font: 340 var(--fs-h4)/1.2 var(--f-display);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}
.md-toc a:hover .md-toc-name,
.md-toc a:focus-visible .md-toc-name { color: var(--accent); font-style: italic; }

/* ==========================================================================
   2. OUTLETS MARQUEE — crimson band
   ========================================================================== */
.md-outlets {
  overflow: hidden;
  padding-block: clamp(1.8rem, 3.6vw, 3.2rem) clamp(1.4rem, 3vw, 2.6rem);
}
.md-outlets-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  margin-bottom: clamp(0.6rem, 1.6vw, 1.4rem);
}
.md-outlets-title { color: var(--accent); }

.md-marquee {
  --marquee-gap: clamp(1.4rem, 3.2vw, 3.4rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
/* base resets ul[role=list] padding; restore the seam padding the marquee relies on */
.md-marquee .marquee-group { margin: 0; padding: 0 var(--marquee-gap) 0 0; list-style: none; }
.md-outlet {
  display: flex;
  align-items: center;
  gap: var(--marquee-gap);
  font: italic 300 clamp(2.5rem, 6.6vw, 6.8rem)/1.15 var(--f-display);
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--fg);
  padding-bottom: 0.06em;
}
.md-outlet:nth-child(even) { color: var(--accent); }
.md-outlet::after {
  content: '◆';
  content: '◆' / '';
  font: normal 400 0.2em/1 var(--f-body);
  color: var(--muted);
}

/* ==========================================================================
   3. PRESS WALL — the signature pinboard
   ========================================================================== */
.md-wall {
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(75% 40% at 50% 0%, rgb(61 10 16 / 0.85), transparent 75%),
    var(--bg);
}
/* pinboard texture: faint pinholes that fade toward the edges */
.md-wall::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: radial-gradient(rgb(240 215 140 / 0.09) 1px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 58%, #000 25%, transparent 100%);
  mask-image: radial-gradient(80% 70% at 50% 58%, #000 25%, transparent 100%);
}
/* desk lamp: a warm pool of light that follows the pointer (media.js, fine pointers only) */
.md-lamp {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 60rem;
  height: 60rem;
  margin: -30rem 0 0 -30rem;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgb(255 234 184 / 0.13), rgb(240 215 140 / 0.05) 50%, transparent);
  opacity: 0;
  transition: opacity 0.9s ease;
  will-change: transform;
}
.md-lamp.is-lit { opacity: 1; }

/* --- board grid: 2 cols (phone) → 6 cols (tablet) → 12 cols (desktop) --- */
.md-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.8rem 1.1rem;
  align-items: start;
  margin: 0;
  padding: 1rem 0 0;
  list-style: none;
}
.md-board > li { position: relative; z-index: 0; grid-column: 1 / -1; }
.md-board > .md-clip--jaras,
.md-board > .md-clip--mawed { grid-column: auto; }
.md-board > .md-clip--mawed { margin-top: 2.2rem; --md-d: 140ms; }
.md-board > .md-clip--page { --ml: auto; --mr: 0; }

@media (min-width: 700px) {
  .md-board { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3.6rem var(--gap); }
  .md-board > .md-note { grid-column: 1 / span 2; margin-top: 3rem; }
  .md-board > .md-clip--okaz { grid-column: 3 / span 4; --md-d: 140ms; }
  .md-board > .md-clip--jaras { grid-column: 1 / span 3; }
  .md-board > .md-clip--mawed { grid-column: 4 / span 3; margin-top: 4rem; }
  .md-board > .md-clip--star { grid-column: 2 / span 5; }
  .md-board > .md-clip--page { grid-column: 1 / span 2; margin-top: 3rem; --ml: 0; --mr: auto; }
  .md-board > .md-clip--spread { grid-column: 3 / span 4; --md-d: 140ms; }
  .md-board > .md-clip--bekra { grid-column: 1 / span 3; }
  .md-board > .md-clip--digital { grid-column: 4 / span 3; margin-top: 4.5rem; --md-d: 140ms; }
}

@media (min-width: 1100px) {
  .md-board { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem var(--gap); }
  .md-board > .md-note { grid-area: 1 / 1 / auto / span 3; margin-top: 5rem; }
  .md-board > .md-clip--okaz { grid-area: 1 / 4 / auto / span 5; --md-d: 120ms; }
  .md-board > .md-clip--jaras { grid-area: 1 / 10 / auto / span 3; margin-top: 6rem; --md-d: 240ms; }
  .md-board > .md-clip--mawed { grid-area: 2 / 2 / auto / span 3; margin-top: 1.5rem; --md-d: 0ms; }
  .md-board > .md-clip--star { grid-area: 2 / 6 / auto / span 7; margin-top: 3rem; --md-d: 140ms; }
  .md-board > .md-clip--page { grid-area: 3 / 9 / auto / span 3; margin-top: 3.5rem; --md-d: 160ms; }
  .md-board > .md-clip--spread { grid-area: 3 / 1 / auto / span 7; --md-d: 0ms; }
  .md-board > .md-clip--bekra { grid-area: 4 / 2 / auto / span 5; }
  .md-board > .md-clip--digital { grid-area: 4 / 8 / auto / span 5; margin-top: 6rem; --md-d: 160ms; }
}

/* --- a clipping: capped at its native width (--w) so low-res scans never upscale --- */
.md-clip-link {
  display: block;
  max-width: calc(var(--w, 800) * 1px + 1.1rem);
  margin-inline: var(--ml, 0) var(--mr, auto);
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.md-clip-link:focus-visible { outline: none; }

.md-print {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding-bottom: 0.95rem;
  transition: rotate 0.8s var(--ease), translate 0.8s var(--ease);
}
.md-print picture { display: block; }
.md-print img { width: 100%; height: auto; background: var(--paper); }

/* strip of tape holding the clipping to the board */
.md-print::before {
  content: '';
  position: absolute;
  z-index: 2;
  top: -0.8rem;
  left: 50%;
  width: clamp(3.4rem, 24%, 6.2rem);
  height: 1.55rem;
  translate: -50% 0;
  rotate: -4deg;
  background: linear-gradient(180deg, rgb(255 250 238 / 0.64), rgb(236 228 211 / 0.5));
  clip-path: polygon(2% 0, 98% 0, 100% 25%, 97% 50%, 100% 75%, 98% 100%, 2% 100%, 0 75%, 3% 50%, 0 25%);
  pointer-events: none;
}
.md-clip:nth-child(odd) .md-print::before { rotate: 3.5deg; left: 40%; }
.md-clip:nth-child(3n) .md-print::before { rotate: -2deg; left: 62%; }

/* lifted shadow, faded in (opacity only) */
.md-print::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  box-shadow: 0 60px 90px -30px rgb(0 0 0 / 0.85), 0 18px 30px -12px rgb(0 0 0 / 0.5);
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}

.md-print figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.8rem;
  margin-top: 0.75rem;
}
.md-clip-outlet { color: var(--red); }
.md-clip-head {
  font: italic 400 0.82rem/1.3 var(--f-display);
  letter-spacing: 0;
  text-transform: none;
  color: var(--red-ink);
}
@media (min-width: 700px) { .md-clip-head { font-size: 0.95rem; } }

/* straighten + lift on hover / keyboard focus */
@media (hover: hover) {
  .md-board > .md-clip:hover { z-index: 3; }
  .md-clip-link:hover .md-print { rotate: 0deg; translate: 0 -12px; }
  .md-clip-link:hover .md-print::after { opacity: 1; }
}
.md-board > .md-clip:focus-within { z-index: 3; }
.md-clip-link:focus-visible .md-print {
  rotate: 0deg;
  translate: 0 -12px;
  outline: 1px solid var(--gold);
  outline-offset: 6px;
}
.md-clip-link:focus-visible .md-print::after { opacity: 1; }
.md-clip-link:active .md-print { rotate: 0deg; translate: 0 -4px; }

/* --- archive note: an index card with a gold pin --- */
.md-note-card {
  position: relative;
  max-width: 19rem;
  padding: 2.3rem 1.5rem 1.5rem;
  background: var(--ivory);
  color: var(--red-ink);
  rotate: var(--rot, 0deg);
  box-shadow: 0 30px 60px -25px rgb(0 0 0 / 0.65), 0 2px 6px rgb(0 0 0 / 0.25);
}
.md-note-card::before {
  content: '';
  position: absolute;
  top: 0.75rem;
  left: 50%;
  width: 0.8rem;
  height: 0.8rem;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold-hot), var(--gold-deep) 72%);
  box-shadow: 2px 3px 4px rgb(0 0 0 / 0.4);
}
.md-note-label {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgb(200 31 44 / 0.45);
  font: 500 0.62rem/1.2 var(--f-label);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
}
.md-note-text {
  margin-top: 1rem;
  font: 340 clamp(1.35rem, 1.9vw, 1.7rem)/1.15 var(--f-display);
  letter-spacing: -0.015em;
}
.md-note-text em { font-style: italic; font-weight: 300; color: var(--red); }
.md-note-hint { margin-top: 1rem; font-size: 0.8rem; line-height: 1.5; color: rgb(36 5 10 / 0.72); }

/* --- board reveal: each clipping is set down onto the board and settles into its tilt --- */
@media (prefers-reduced-motion: no-preference) {
  .js .md-board > [data-reveal] { transition-duration: 1.3s; transition-delay: var(--md-d, 0ms); }
  .js .md-board > [data-reveal]:not(.is-in) {
    opacity: 0;
    transform: translate3d(0, -1.8rem, 0) rotate(calc(var(--rot, 0deg) * 2.5));
  }
}

/* ==========================================================================
   4. THE FILM — vertical reel, loads on demand
   ========================================================================== */
.md-film { overflow: hidden; isolation: isolate; }
.md-film::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(45% 40% at 50% 70%, rgb(200 31 44 / 0.22), transparent 72%);
}
@media (min-width: 900px) {
  .md-film::before { background: radial-gradient(34% 60% at 73% 50%, rgb(200 31 44 / 0.24), transparent 72%); }
}

.md-film-grid { display: grid; gap: clamp(3.5rem, 8vw, 5rem); align-items: center; }
@media (min-width: 900px) {
  .md-film-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .md-film-copy { grid-column: 1 / span 5; }
  .md-film-stage { grid-column: 7 / span 6; }
}
.md-film-copy { display: grid; gap: 1.6rem; justify-items: start; }

.md-spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 2rem;
  width: 100%;
  margin: 0.4rem 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.md-spec > div:first-child { grid-column: 1 / -1; }
@media (min-width: 600px) {
  .md-spec { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 2.6rem; }
  .md-spec > div:first-child { grid-column: auto; }
}
.md-spec dt {
  margin-bottom: 0.45rem;
  font: 500 var(--fs-label)/1.3 var(--f-label);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}
.md-spec dd { margin: 0; font-size: var(--fs-small); color: var(--fg); }

.md-film-stage { display: grid; justify-items: center; gap: 1.8rem; margin: 0; }
.md-reel {
  position: relative;
  width: clamp(14rem, calc((100vh - 11rem) * 0.5625), min(100%, 20rem));
  width: clamp(14rem, calc((100svh - 11rem) * 0.5625), min(100%, 20rem));
  aspect-ratio: 9 / 16;
  padding: 0.5rem;
  border: 1px solid var(--hair);
  background: var(--red-ink);
  box-shadow: 0 50px 100px -40px rgb(0 0 0 / 0.8);
}
@media (min-width: 900px) {
  .md-reel {
    width: clamp(14rem, calc((100vh - 11rem) * 0.5625), min(100%, 22.5rem));
    width: clamp(14rem, calc((100svh - 11rem) * 0.5625), min(100%, 22.5rem));
  }
}
/* viewfinder crop marks */
.md-reel::after {
  --c: var(--gold);
  --l: 1.1rem;
  content: '';
  position: absolute;
  inset: -0.9rem;
  pointer-events: none;
  opacity: 0.7;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 1px var(--l) no-repeat;
}
.md-reel-screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--night); }
.md-reel-video { width: 100%; height: 100%; object-fit: cover; background: var(--night); }

/* custom play button (JS only; without JS the native controls are used) */
.md-play { display: none; }
.js .md-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.1rem;
  background: linear-gradient(180deg, rgb(20 3 6 / 0.05) 30%, rgb(20 3 6 / 0.6));
  transition: opacity 0.6s var(--ease), visibility 0s linear 0s;
}
.md-play-disc {
  position: relative;
  display: grid;
  place-items: center;
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--red-ink);
  box-shadow: 0 16px 40px -10px rgb(0 0 0 / 0.6);
  transition: transform 0.6s var(--ease), background-color 0.3s ease;
}
.md-play-disc svg { width: 1.7rem; height: 1.7rem; margin-left: 0.2rem; }
.md-play-disc::before {
  content: '';
  position: absolute;
  inset: -0.75rem;
  border-radius: 50%;
  border: 1px solid rgb(240 215 140 / 0.55);
  animation: md-pulse 2.6s var(--ease) infinite;
}
.md-play-label {
  font: 500 var(--fs-label)/1 var(--f-label);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory);
}
.md-play:hover .md-play-disc { transform: scale(1.08); background: var(--gold-hot); }
.md-play:focus-visible { outline: none; }
.md-play:focus-visible .md-play-disc { outline: 1px solid var(--gold); outline-offset: 8px; }
.md-reel.is-playing .md-play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}
.md-reel-cap { text-align: center; }

@keyframes md-pulse {
  from { transform: scale(0.9); opacity: 0.9; }
  to { transform: scale(1.5); opacity: 0; }
}

/* ==========================================================================
   5. FACT SHEET — printed programme (ivory)
   ========================================================================== */
.md-facts-grid { display: grid; gap: clamp(3rem, 6vw, 4rem); }
.md-facts-head { display: grid; gap: 1.5rem; justify-items: start; }
@media (min-width: 900px) {
  .md-facts-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: start;
  }
  .md-facts-head { grid-column: 1 / span 4; position: sticky; top: 7rem; }
  .md-sheet { grid-column: 6 / -1; }
}

.md-sheet { border-block: 3px double var(--fg); }
.md-sheet-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
  font: 500 var(--fs-label)/1.3 var(--f-label);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.md-sheet-orn { color: var(--accent); letter-spacing: 0; font-size: 0.8em; }

.md-sheet-list { margin: 0; }
.md-row {
  display: grid;
  gap: 0.5rem 2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}
.md-row:last-child { border-bottom: 0; }
@media (min-width: 600px) {
  .md-row { grid-template-columns: minmax(8.5rem, 13rem) minmax(0, 1fr); align-items: baseline; }
  .md-row--stats { align-items: start; }
  .md-row--stats dt { padding-top: 0.6rem; }
}
.md-row dt {
  font: 500 var(--fs-label)/1.4 var(--f-label);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}
.md-row dd { margin: 0; display: grid; gap: 0.35rem; }
.md-row-main {
  font: 340 clamp(1.3rem, 2vw, 1.75rem)/1.2 var(--f-display);
  letter-spacing: -0.015em;
  color: var(--fg);
  text-wrap: balance;
}
.md-row-main em { font-style: italic; font-weight: 300; color: var(--accent); }
.md-row-note {
  max-width: 52ch;
  font-size: var(--fs-small);
  font-weight: 300;
  line-height: 1.55;
  color: var(--muted);
}

.md-stats { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem 1.6rem; }
.md-stat { display: grid; gap: 0.55rem; }
.md-stat-num {
  font: 300 clamp(2.8rem, 5vw, 4.4rem)/1 var(--f-display);
  letter-spacing: -0.04em;
  color: var(--accent);
}
.md-stat-plus { font: 300 clamp(1.8rem, 3vw, 2.6rem)/1.4 var(--f-display); color: var(--muted); }
.md-stat-label {
  font: 500 var(--fs-label)/1.3 var(--f-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
}

/* ==========================================================================
   6. PRESS KIT + CONTACT (velvet red)
   ========================================================================== */
.md-kit-grid { display: grid; gap: clamp(3.5rem, 7vw, 5rem); }
.md-kit-head { display: grid; gap: 1.6rem; justify-items: start; }
@media (min-width: 900px) {
  .md-kit-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: start;
  }
  .md-kit-head { grid-column: 1 / span 5; }
  .md-kit-files { grid-column: 7 / -1; padding-top: 0.4rem; }
}

.md-files-title { margin-bottom: 1.2rem; color: var(--accent); }
.md-files { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }

.md-file {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  text-decoration: none;
}
@media (min-width: 600px) { .md-file { gap: 1.4rem; } }
a.md-file::before {
  content: '';
  position: absolute;
  inset: 0 -0.6rem;
  z-index: -1;
  background: rgb(240 215 140 / 0.07);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
a.md-file:hover::before,
a.md-file:focus-visible::before { transform: none; }
a.md-file:focus-visible { outline-offset: 2px; }

.md-file-thumb,
.md-file-tag { width: 3.6rem; height: 2.45rem; border-radius: var(--radius); flex: none; }
@media (min-width: 600px) {
  .md-file-thumb,
  .md-file-tag { width: 4.6rem; height: 3.13rem; }
}
.md-file-thumb { overflow: hidden; background: var(--red); }
.md-file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.md-file-tag {
  display: grid;
  place-items: center;
  padding-left: 0.22em;
  border: 1px solid var(--line);
  font: 500 var(--fs-label)/1 var(--f-label);
  letter-spacing: 0.22em;
  color: var(--accent);
}
.md-file-body { display: grid; gap: 0.3rem; min-width: 0; }
.md-file-name {
  font: 340 var(--fs-h4)/1.2 var(--f-display);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}
.md-file-meta { font-size: var(--fs-small); font-weight: 300; line-height: 1.45; color: var(--muted); }
.md-file-act {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s ease;
}
.md-file-act svg { width: 1.15rem; height: 1.15rem; }
a.md-file:hover .md-file-name,
a.md-file:focus-visible .md-file-name { color: var(--accent); }
a.md-file:hover .md-file-act,
a.md-file:focus-visible .md-file-act { background: var(--gold); border-color: var(--gold); color: var(--red-ink); }

.md-file.is-soon .md-file-name { color: var(--muted); }
.md-file.is-soon .md-file-tag { border-style: dashed; color: var(--muted); }
.md-file-soon {
  padding: 0.55rem 0.75rem;
  border: 1px dashed var(--hair);
  border-radius: 999px;
  font: 500 var(--fs-label)/1 var(--f-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--accent);
}
.md-credit { margin-top: 1.6rem; }

/* press office card */
.md-contact {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
  width: 100%;
  margin-top: 1.4rem;
  padding: clamp(1.3rem, 3vw, 2.2rem);
  border: 1px solid var(--hair);
  background: rgb(36 5 10 / 0.35);
}
.md-contact-title { color: var(--accent); }
.md-contact-mail {
  max-width: 100%;
  font: italic 300 clamp(1.35rem, 2.8vw, 2.4rem)/1.15 var(--f-display);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.md-tbc {
  color: var(--gold);
  text-decoration: underline dashed rgb(240 215 140 / 0.6);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.md-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.8rem;
  border: 1px dashed var(--hair);
  border-radius: 999px;
  font: 500 var(--fs-label)/1 var(--f-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.md-flag::before { content: ''; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; }

/* ==========================================================================
   Reduced motion: static marquee that wraps, no pulse, no drop-in
   (the lamp is never started by media.js under reduced motion)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .md-marquee { -webkit-mask-image: none; mask-image: none; }
  .md-marquee .marquee-track { width: 100%; }
  .md-marquee .marquee-group {
    flex: 1 1 auto;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.3rem;
    padding: 0 var(--pad);
  }
  .md-marquee .marquee-group[aria-hidden="true"] { display: none; }
  .md-outlet { font-size: clamp(1.8rem, 4.6vw, 4.2rem); }
  .md-play-disc::before { animation: none; opacity: 0.5; }
  .md-print, .md-print::after { transition: none; }
}
