/* Planet Hum Mastering — brand tokens + site styles */

/* Archivo, self-hosted (no Google Fonts request, so visitors' IPs aren't sent to Google — GDPR).
   Variable font: weight 100–900, width 62–125%. latin-ext covers Turkish/Swedish characters. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand palette (docs/brief.md) */
  --ink: #030706;
  --bg: #1a2829;
  --bg-deep: #142021;
  --panel: #2a2c27;
  --green: #2f6833;
  --teal: #289099;
  --teal-bright: #4fc3cc; /* small text/links on dark — #289099 is too low-contrast at body size */
  --white: #fefeff;

  --text: var(--white);
  --text-muted: rgba(254, 254, 255, 0.66);
  --rule: rgba(254, 254, 255, 0.12);
  --rule-strong: rgba(254, 254, 255, 0.28);

  --font: "Archivo", system-ui, sans-serif;
  --wide: "wdth" 125;

  --radius: 10px;

  --max: 1080px;
  --gutter: 24px;
  --section: clamp(72px, 10vw, 128px);
  --header-h: 72px;
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-bright); }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.display {
  font-weight: 800;
  font-variation-settings: var(--wide);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.accent { color: var(--teal); }
.muted { color: var(--text-muted); }

.eyebrow {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.lede {
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.55;
  color: var(--text-muted);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--teal);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius);
}
.skip-link:focus { left: 8px; }

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

/* Placeholder marker — remove all .tbd before launch */
.tbd {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-bright);
  border: 1px dashed var(--teal-bright);
  border-radius: 4px;
  padding: 1px 6px;
  vertical-align: middle;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn:hover { background: var(--teal-bright); color: var(--ink); }
.btn--small { padding: 10px 18px; font-size: 15px; }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--rule-strong); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

.link-underline {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--teal);
  padding-bottom: 2px;
}
.link-underline:hover { color: var(--teal-bright); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.arrow-link span { border-bottom: 2px solid var(--teal); padding-bottom: 1px; }
.arrow-link::after { content: "→"; transition: transform 0.15s; }
.arrow-link:hover::after { transform: translateX(3px); }
.arrow-link:hover { color: var(--teal-bright); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }

/* ---------- Brand image treatment ----------
   Subtle teal colour wash + soft shade.
   --tint: 0 = original photo, 1 = full brand colour. Default is subtle.
   --shade: darkening gradient so text on top stays readable. */
.media {
  --tint: 0.3;
  --shade: 0.35;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(calc(1 - var(--tint) * 1.4));
}
.media::before,
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1; /* the img filter creates a stacking context — keep overlays above it */
  pointer-events: none;
}
.media::before {
  background: var(--teal);
  mix-blend-mode: color;
  opacity: calc(var(--tint) * 1.5);
}
.media::after {
  background: linear-gradient(180deg, rgba(26, 40, 41, 0.15) 0%, rgba(26, 40, 41, 0.9) 100%);
  opacity: var(--shade);
}
.media > :not(img) { position: relative; z-index: 2; }
.media--hero { --shade: 0.85; }
.media--clean { --tint: 0; --shade: 0; }
.media--person { --tint: 0.08; --shade: 0; } /* keep skin tones natural */
/* Dark brand fade behind the header: near-black green at the top, easing into the image.
   The second layer repeats the normal bottom shade so headline text stays readable. */
.media--fade-top::after {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(3, 7, 6, 0.82) 0%, rgba(3, 7, 6, 0.6) var(--header-h), rgba(3, 7, 6, 0.25) 160px, rgba(3, 7, 6, 0) 280px),
    linear-gradient(180deg, rgba(26, 40, 41, 0.13) 0%, rgba(26, 40, 41, 0.77) 100%);
}
.media--rounded { border-radius: var(--radius); }

/* Image used as a section background */
.media--bg > img { position: absolute; inset: 0; }

/* Full-width image strip between sections, for texture */
.band { height: clamp(180px, 28vw, 380px); --shade: 0.5; }
.band::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(26, 40, 41, 0.2) 30%, rgba(26, 40, 41, 0.2) 70%, var(--bg) 100%); opacity: 1; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.25s, box-shadow 0.25s;
}
.site-header.is-solid,
.site-header.is-open {
  background: rgba(20, 32, 33, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--rule);
}
.site-header .wrap {
  max-width: 1240px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 3px; text-decoration: none; }
.brand img { height: 48px; width: auto; }
/* "MASTERING" set beside the logo, lined up with the HUM line (which sits ~61% down the logo) */
.brand-word {
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  font-variation-settings: var(--wide);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  /* HUM is centred under PLANET, leaving ~12px of empty logo to its right — pull the word into that space */
  margin-left: -10px;
  /* stretched vertically so the caps match the height of HUM in the logo, without getting wider */
  transform: translateY(5.1px) scaleY(1.17);
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.site-nav a:not(.btn) {
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  opacity: 0.85;
}
.site-nav a:not(.btn):hover,
.site-nav a:not(.btn)[aria-current="page"] { opacity: 1; color: var(--teal-bright); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  padding: 8px;
  cursor: pointer;
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: rgba(20, 32, 33, 0.98);
    border-bottom: 1px solid var(--rule);
    display: none;
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li a:not(.btn) { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--rule); }
  .site-nav .btn { margin-top: 20px; justify-content: center; }
}

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; border-top: 1px solid var(--rule); }
.section--deep { background: var(--bg-deep); }
.section--flush { border-top: 0; }

.section-title { font-size: clamp(32px, 4.6vw, 48px); margin-bottom: 20px; }

/* Left heading column + right content column, like the reference */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px 64px;
}
.split > .split-head .lede { max-width: 30ch; }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Hero ---------- */

.hero {
  min-height: min(100svh, 980px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 64px) 0 clamp(56px, 8vw, 96px);
}
.hero h1 {
  font-size: clamp(44px, 8.4vw, 112px);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero .lede { color: rgba(254, 254, 255, 0.86); max-width: 40ch; margin-bottom: 36px; }

.page-hero {
  min-height: clamp(380px, 52vh, 560px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 48px) 0 clamp(48px, 6vw, 72px);
}
.page-hero h1 { font-size: clamp(32px, 6.4vw, 76px); margin-bottom: 20px; }
.page-hero .lede { color: rgba(254, 254, 255, 0.86); max-width: 52ch; }

/* ---------- Price strip ---------- */

.prices { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.prices li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.prices .amount { font-size: clamp(44px, 6vw, 64px); line-height: 1; }
.prices .what { font-size: 18px; color: var(--text-muted); }
.prices .tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-bright);
}
.split--center { align-items: center; }

/* ---------- Credits ---------- */

/* Credits wall — fills the full content width like a box on the page grid.
   Justified on wider screens so both edges line up; left-aligned on phones. */
.credits {
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  line-height: 1.2;
  max-width: none;
  text-wrap: pretty;
}
@media (min-width: 700px) {
  .credits { text-align: justify; text-align-last: left; }
}
.credits .rel { white-space: nowrap; } /* keep a release title and its cover square together */
.credits strong { color: var(--teal); font-weight: inherit; }

/* ---------- Tiles (feature grids) ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 40px;
}
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { border-top: 2px solid var(--rule-strong); padding-top: 24px; }
.tile h3 { font-size: 20px; font-weight: 700; line-height: 1.25; margin-bottom: 10px; font-variation-settings: "wdth" 110; }
.tile p { font-size: 15px; color: var(--text-muted); }
.tile .arrow-link { margin-top: 16px; }
.tile--featured { border-top-color: var(--teal); }
.tile--featured h3::after { content: " ★"; color: var(--teal-bright); font-size: 0.8em; }
@media (max-width: 860px) { .tiles--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles, .tiles--3 { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* ---------- Steps ---------- */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  position: relative;
  padding: 0 0 40px 64px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.steps li::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 48px;
  bottom: 8px;
  width: 2px;
  background: var(--rule);
}
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 19px; font-weight: 700; margin: 6px 0 6px; }
.steps p { color: var(--text-muted); font-size: 16px; }

/* ---------- Room feature ---------- */

.room-feature { padding: clamp(120px, 18vw, 220px) 0 var(--section); }
.room-feature h2 { font-size: clamp(38px, 6vw, 72px); max-width: 14ch; margin-bottom: 48px; }
.specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule-strong);
}
.specs li { padding: 24px 24px 0 0; }
.specs .big { display: block; font-size: clamp(24px, 3vw, 40px); line-height: 1.05; white-space: nowrap; }
.specs .small { display: block; margin-top: 8px; color: rgba(254, 254, 255, 0.78); font-size: 15px; }
@media (max-width: 760px) { .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; } }
.specs-note { margin-top: 20px; font-size: 14px; color: rgba(254, 254, 255, 0.72); }

.prose p { color: rgba(254, 254, 255, 0.86); }
.prose h3 { font-size: 22px; font-weight: 800; font-variation-settings: "wdth" 112; margin: 0 0 16px; }
.prose h3:not(:first-child) { margin-top: 40px; }

.media-stack { display: grid; gap: 12px; }
.media-stack .media { aspect-ratio: 4 / 3; }
.media-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.media-pair .media { aspect-ratio: 4 / 5; }

/* ---------- Build strip ---------- */

.build { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.build figure { margin: 0; }
.build .media { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.build figcaption { margin-top: 14px; }
.build figcaption strong { display: block; font-size: 18px; font-variation-settings: "wdth" 112; }
.build figcaption strong span { color: var(--teal-bright); margin-right: 8px; }
.build figcaption p { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
@media (max-width: 860px) { .build { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } }

/* ---------- Engineers ---------- */

.engineer {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-top: 24px;
  border-top: 2px solid var(--rule-strong);
}
.engineer + .engineer { margin-top: 40px; }
.engineer h3 { font-size: 22px; font-weight: 800; font-variation-settings: "wdth" 112; }
.engineer .role { color: var(--teal-bright); font-weight: 600; font-size: 15px; margin: 4px 0 12px; }
.engineer p { color: var(--text-muted); font-size: 16px; }
.portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--panel);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.portrait--empty { border: 1px dashed var(--rule-strong); background: transparent; color: var(--text-muted); font-size: 13px; text-align: center; padding: 16px; }
@media (max-width: 560px) { .engineer { grid-template-columns: minmax(0, 1fr); } .portrait { max-width: 220px; } }

/* ---------- Comparison table ---------- */

.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; padding: 16px 14px; border-bottom: 1px solid var(--rule); }
.compare-table thead th { font-weight: 700; color: var(--text-muted); border-bottom-color: var(--rule-strong); }
.compare-table thead th.us { color: var(--teal-bright); }
.compare-table tbody th { font-weight: 700; width: 30%; padding-left: 0; }
.compare-table td.us { background: rgba(40, 144, 153, 0.1); color: var(--white); }
.compare-table td.us::before { content: "✓ "; color: var(--teal-bright); font-weight: 700; }
.compare-table td.them { color: var(--text-muted); }
@media (max-width: 560px) {
  .compare-table { font-size: 14px; }
  .compare-table th, .compare-table td { padding: 12px 8px; }
}

/* ---------- Cards (guides, pricing) ---------- */

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--rule-strong);
  padding-top: 20px;
  color: inherit;
  text-decoration: none;
}
a.card:hover h3 { color: var(--teal-bright); }
.card .media { aspect-ratio: 16 / 10; border-radius: var(--radius); margin-bottom: 20px; }
.card .meta { font-size: 13px; font-weight: 600; color: var(--teal-bright); margin-bottom: 8px; }
.card .meta span { color: var(--text-muted); margin-left: 10px; font-weight: 500; }
.card h3 { font-size: 22px; font-weight: 800; font-variation-settings: "wdth" 112; line-height: 1.15; margin-bottom: 10px; transition: color 0.15s; }
.card p { font-size: 15px; color: var(--text-muted); }
@media (max-width: 860px) { .cards { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

.price-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-deep);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.price-card--featured { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); position: relative; }
.price-card .badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--teal);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
}
.price-card h3 { font-size: 22px; font-weight: 800; font-variation-settings: "wdth" 112; }
.price-card .amount { font-size: 52px; line-height: 1; margin: 18px 0 4px; }
.price-card .per { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }
.price-card ul { list-style: none; margin: 0 0 28px; padding: 0; font-size: 15px; flex: 1; }
.price-card li { padding: 8px 0 8px 26px; border-top: 1px solid var(--rule); position: relative; color: rgba(254, 254, 255, 0.86); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-bright); font-weight: 700; }
.price-card .btn { justify-content: center; }
.price-card .card-note { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--text-muted); text-align: center; }
@media (max-width: 900px) { .price-cards { grid-template-columns: minmax(0, 1fr); max-width: 480px; } }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 460px; }
.data-table th, .data-table td { padding: 14px 12px; border-bottom: 1px solid var(--rule); text-align: left; }
.data-table thead th { color: var(--text-muted); font-weight: 600; font-size: 14px; border-bottom-color: var(--rule-strong); }
.data-table td.num, .data-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table tbody th { font-weight: 700; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { padding: 12px 0 12px 32px; border-bottom: 1px solid var(--rule); position: relative; color: rgba(254, 254, 255, 0.86); font-size: 16px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 12px; color: var(--teal-bright); font-weight: 800; }

/* ---------- FAQ accordion ---------- */

.faq { max-width: 760px; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { font-size: 24px; font-weight: 800; font-variation-settings: "wdth" 112; margin-bottom: 12px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 700;
  font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal-bright); font-size: 24px; line-height: 1; font-weight: 400; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--teal-bright); }
.faq .answer { padding: 0 0 24px; color: var(--text-muted); max-width: 64ch; }
.faq .answer p { margin-bottom: 0.8em; }

/* ---------- Closing CTA ---------- */

.cta h2 {
  font-size: clamp(40px, 9vw, 112px);
  text-transform: uppercase;
  line-height: 0.98;
  margin-bottom: 28px;
}
.cta .lede { max-width: 40ch; }
/* Headline spans the full width; actions/contact sit underneath */
.cta .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; font-size: 15px; }
.contact-list li { display: grid; grid-template-columns: 90px minmax(0, 1fr); overflow-wrap: anywhere; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.contact-list li:last-child { border-bottom: 1px solid var(--rule); }
.contact-list .k { color: var(--text-muted); font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); padding: 72px 0 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid h4 { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--text-muted); text-decoration: none; }
.footer-grid a:hover { color: var(--teal-bright); }
.footer-about .brand { margin-bottom: 20px; }
.footer-about img { height: 40px; width: auto; }
.brand--footer .brand-word { margin-left: -8px; font-size: 9px; transform: translateY(4.1px) scaleY(1.17); }
.footer-about p { color: var(--text-muted); max-width: 34ch; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  color: var(--text-muted);
  font-size: 14px;
}
.footer-bottom a { color: var(--text-muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Guide page ---------- */

.guide-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: 14px; }
.toc p { font-weight: 700; margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.toc a { display: block; padding: 6px 0 6px 16px; color: var(--text-muted); text-decoration: none; margin-left: -1px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--teal-bright); border-left-color: var(--teal); }
.guide-body { max-width: 720px; }
.guide-body > section + section { margin-top: 72px; }
.guide-body h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 20px; }
.guide-body h3 { font-size: 19px; font-weight: 700; margin: 32px 0 10px; }
.guide-body p, .guide-body li { color: rgba(254, 254, 255, 0.82); }
.guide-body ul, .guide-body ol { padding-left: 20px; }
.guide-body li { margin-bottom: 10px; }
.guide-body li strong { color: var(--white); }
.callout {
  border-left: 3px solid var(--teal);
  background: rgba(40, 144, 153, 0.08);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.callout p { color: var(--white); }
.preflight { background: var(--bg-deep); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; }
.preflight h2 { font-size: 24px; margin-bottom: 8px; }
.preflight label { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--rule); cursor: pointer; font-size: 15px; color: rgba(254, 254, 255, 0.86); }
.preflight input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--teal); flex-shrink: 0; }
.preflight label strong { color: var(--white); }
.preflight input:checked + span { opacity: 0.55; }
@media (max-width: 900px) { .guide-layout { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } }

/* ---------- Gear list ---------- */

.gear-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
.gear-groups h3 { font-size: 16px; font-weight: 700; color: var(--teal-bright); margin-bottom: 12px; }
.gear-groups ul { list-style: none; margin: 0; padding: 0; }
.gear-groups li { padding: 9px 0; border-top: 1px solid var(--rule); font-size: 15px; }
@media (max-width: 700px) { .gear-groups { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Utilities ---------- */

.mt-0 { margin-top: 0; }
.mt-l { margin-top: 48px; }
.mt-xl { margin-top: 72px; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Credits page ---------- */

.covers { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 28px 20px; }
.cover { margin: 0; }
.cover .art {
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(3, 7, 6, 0.45);
}
.cover .art img { width: 100%; height: 100%; object-fit: cover; }
.cover .art--empty {
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px dashed var(--rule-strong);
  box-shadow: none;
  color: var(--text-muted);
  font-size: 13px;
}
.cover figcaption { margin-top: 12px; font-size: 14px; line-height: 1.4; }
.cover figcaption strong { display: block; font-size: 15px; }
.cover figcaption span { color: var(--text-muted); }
.cover .role { color: var(--teal-bright); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-top: 4px; }
@media (max-width: 520px) { .covers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; } } /* two across on phones, not one */

.release-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 48px; }
.release-list li { break-inside: avoid; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 15px; }
.release-list li strong { font-weight: 700; }
.release-list li span { color: var(--text-muted); }
@media (max-width: 700px) { .release-list { columns: 1; } }

.dot-list { color: var(--text-muted); font-size: 16px; line-height: 1.9; }
.dot-list strong { color: var(--white); font-weight: 600; }

.sub-title { font-size: 18px; font-weight: 700; margin: 56px 0 20px; }
.sub-title .count { color: var(--text-muted); font-weight: 500; }

.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.quote { margin: 0; border-top: 2px solid var(--rule-strong); padding-top: 24px; }
.quote blockquote { margin: 0 0 20px; font-size: 18px; font-weight: 600; line-height: 1.45; }
.quote figcaption strong { display: block; color: var(--teal-bright); font-size: 15px; }
.quote figcaption span { color: var(--text-muted); font-size: 14px; }
@media (max-width: 860px) { .quotes { grid-template-columns: minmax(0, 1fr); } }

/* Cover chip — a tiny square cover thumbnail inline after a release title.
   Sized to the capital-letter height and sat on the text baseline, so it lines up with the lettering. */
.cover-chip {
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  margin-left: 0.14em;
  vertical-align: baseline;
  border-radius: 3px;
  overflow: hidden;
  border: 1px dashed var(--rule-strong);
}
.cover-chip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-chip:has(img) { border: 0; box-shadow: 0 2px 10px rgba(3, 7, 6, 0.5); }
