/* Self-hosted variable fonts (subset, woff2). */
@font-face { font-family: "Big Shoulders Display"; src: url("/assets/fonts/BigShouldersDisplay.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/Figtree.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
/* ==========================================================================
   All In Pool — main stylesheet
   Palette sampled from the AIM logo: true black, chrome (#fdfdfe → #979bb3),
   and the logo's blue (#1479bd).
   Type:    Big Shoulders Display (display) + Figtree (body).
   ========================================================================== */

:root {
  --black: #000000;
  --ink-900: #07080b;
  --ink-800: #0e1015;
  --ink-700: #161a22;
  --chrome-1: #fdfdfe;
  --chrome-2: #d3d5df;
  --chrome-3: #979bb3;
  --chrome: linear-gradient(180deg, var(--chrome-1) 0%, var(--chrome-2) 48%, var(--chrome-3) 100%);
  --white: #f2f3f7;
  --white-70: rgba(242, 243, 247, 0.7);
  --white-40: rgba(242, 243, 247, 0.4);
  --white-12: rgba(242, 243, 247, 0.12);
  --white-06: rgba(242, 243, 247, 0.06);
  --blue: #1479bd;
  --blue-bright: #2b95de;
  --blue-deep: #0d5d93;
  --blue-soft: rgba(20, 121, 189, 0.18);

  --bg: var(--black);
  --fg: var(--white);
  --muted: #9a9fb4;
  --line: var(--white-12);

  --font-display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", Impact, sans-serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: max(clamp(1.25rem, 5vw, 3.5rem), env(safe-area-inset-left), env(safe-area-inset-right));
  --section: clamp(4.5rem, 9vw, 8rem);
  --radius: 6px;
  --pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* The brand is dark-first: black in both color schemes. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: var(--black); --fg: var(--white); }
}
:root[data-theme="dark"] { --bg: var(--black); --fg: var(--white); }

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 5.5rem; } /* anchors land below the fixed header */
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: clip; }
@supports not (overflow-x: clip) { html, body { overflow-x: hidden; } }
/* Felt grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  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 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; background: var(--blue); color: #fff; border-radius: var(--pill); font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   Type scale (ratio ≈ 1.25, base 17px)
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); text-transform: uppercase; line-height: 0.92; letter-spacing: 0.005em; }
h1 { font-size: clamp(3rem, 7.2vw, 7rem); font-weight: 900; }
h2 { font-size: clamp(2.75rem, 5.5vw, 4.75rem); font-weight: 800; text-wrap: balance; }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: 0.02em; }
/* Chrome lettering, like the logo: gradient repeats per line so every line gets the full sheen. */
.chrome { background: var(--chrome) 0 0 / 100% 0.92em repeat-y; -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.25rem; line-height: 1.5; color: var(--white-70); max-width: 34em; }
.small { font-size: 0.9rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; position: relative; z-index: 1; }
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--line); }
.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem 4rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section__head .lede { margin: 0; justify-self: end; }
@media (max-width: 860px) {
  .section__head { grid-template-columns: 1fr; }
  .section__head .lede { justify-self: start; }
}

/* --------------------------------------------------------------------------
   Buttons & chips
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.6rem;
  border-radius: var(--pill);
  font-weight: 600; font-size: 1rem; line-height: 1;
  border: 1px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--chrome { background: var(--chrome); color: var(--black); box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(0,0,0,.6); }
@media (hover: hover) { .btn--chrome:hover { filter: brightness(1.06); } }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-bright); }
.btn--ghost { border-color: var(--white-40); color: var(--white); }
.btn--ghost:hover { background: var(--white-06); border-color: var(--white-70); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--ink-700); }

.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .3rem .7rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-size: .8rem; font-weight: 600; letter-spacing: .01em;
  color: var(--white-70);
  white-space: nowrap;
}
.chip--blue { border-color: var(--blue); color: #7cc0ee; background: var(--blue-soft); }
.chip__dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--blue); }
.chip--blue .chip__dot { background: var(--blue-bright); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-block: 1.1rem;
  transition: background-color .3s var(--ease), padding .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding-block: .7rem;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 900; font-size: 1.75rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.brand__name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .62rem; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-top: .15rem; }
.brand img.custom-logo, .brand__logo { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { display: flex; gap: 1.75rem; }
.nav a:not(.btn) { font-weight: 600; font-size: .95rem; color: var(--white-70); position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.35rem; height: 2px; background: var(--blue); transition: right .25s var(--ease); }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { color: var(--white); }
.nav a:not(.btn):hover::after { right: 0; }

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; z-index: 60; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; align-items: flex-start;
    padding: var(--gutter);
    background: var(--black);
    padding-top: calc(var(--gutter) + env(safe-area-inset-top));
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform .45s var(--ease), opacity .3s, visibility 0s .45s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .45s var(--ease), opacity .3s, visibility 0s; }
  .nav ul { flex-direction: column; gap: .5rem; }
  .nav a:not(.btn) { font-family: var(--font-display); font-size: 3rem; font-weight: 800; text-transform: uppercase; color: var(--white); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1.5rem; font-size: 1.1rem; padding: 1.1rem 1.9rem; }
  body.nav-open { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(6.5rem, 12vw, 9rem); padding-bottom: clamp(3rem, 6vw, 5rem); min-height: 100svh; display: flex; align-items: center; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: center; }
.hero__kicker { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--blue); margin-bottom: 1.5rem; }
.hero__kicker::before { content: ""; width: 2rem; height: 1px; background: var(--blue); }
.hero h1 .line { display: block; overflow: hidden; white-space: nowrap; }
.hero h1 .line > span { display: inline-block; }
.hero .lede { margin: 1.75rem 0 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 420px) { .hero__actions .btn, .join__actions .btn { flex: 1 1 100%; justify-content: center; } }
.hero__facts { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 2.5rem; font-size: .95rem; color: var(--muted); }
.hero__facts li { display: flex; align-items: center; gap: .55rem; }
.hero__facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.hero--salsa h1 { font-size: clamp(2.75rem, 5.6vw, 5.5rem); text-wrap: balance; }
.hero--salsa h1.chrome { background-size: 100% 0.92em; }

/* The record. Height comes from a padding-top pseudo-element (works everywhere, no aspect-ratio dependency).
   Overflow is hidden because the spinning disc is a rotating square; the wrapper keeps the shadow and rim light. */
.emblem { position: relative; justify-self: center; width: min(100%, 500px); border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 30px 90px rgba(20,121,189,.22), 0 40px 80px rgba(0,0,0,.7); }
.emblem::before { content: ""; display: block; padding-top: 100%; }
.emblem::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 32% 24%, rgba(255,255,255,.14), rgba(255,255,255,0) 55%); }
/* The vinyl: base sheen, grooves, track bands, and a rotating light reflection. */
.vinyl {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    conic-gradient(from 15deg, rgba(255,255,255,0) 0deg, rgba(255,255,255,.18) 26deg, rgba(255,255,255,0) 54deg, rgba(255,255,255,0) 196deg, rgba(255,255,255,.12) 222deg, rgba(255,255,255,0) 248deg),
    radial-gradient(circle at 50% 50%, transparent 0 19%, rgba(0,0,0,.55) 19% 20.5%, transparent 20.5% 43%, rgba(0,0,0,.5) 43% 43.8%, transparent 43.8% 66%, rgba(0,0,0,.5) 66% 66.8%, transparent 66.8% 84%, rgba(0,0,0,.5) 84% 84.8%, transparent 84.8% 96%, rgba(0,0,0,.6) 96% 100%),
    repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,.085) 0 1px, rgba(255,255,255,0) 1px 2.7px),
    radial-gradient(circle at 50% 50%, #2c2e36 0%, #1a1b21 42%, #0f1014 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), inset 0 0 0 4px rgba(0,0,0,.85), inset 0 0 50px rgba(0,0,0,.5);
  animation: spin 24s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}
.vinyl__label {
  position: absolute; inset: 29.5%; border-radius: 50%; overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 2px #000, 0 0 0 3px rgba(255,255,255,.18), 0 0 0 5px #000;
}
.vinyl__label img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero load sequence (the single orchestrated moment). Start states live in the keyframes,
   so if animations are blocked or stripped the content is still visible. */
.hero h1 .line > span { animation: rise .9s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .08s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .16s; }
.hero__kicker, .hero .lede, .hero__actions, .hero__facts { animation: fade .8s var(--ease) both; }
.hero__kicker { animation-delay: .05s; }
.hero .lede { animation-delay: .35s; }
.hero__actions { animation-delay: .45s; }
.hero__facts { animation-delay: .55s; }
.emblem { animation: land 1.2s var(--ease) .2s both; }
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes land { from { opacity: 0; transform: scale(.92) rotate(-8deg); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .hero { min-height: 0; padding-top: 6.5rem; }
  .hero .wrap { grid-template-columns: 1fr; }
  .emblem { width: min(70vw, 360px); order: -1; margin-bottom: 1rem; }
}

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */
.ticker { position: relative; z-index: 1; overflow: hidden; border-block: 1px solid var(--line); padding-block: .9rem; background: var(--ink-900); }
.ticker__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
@media (hover: hover) { .ticker:hover .ticker__track { animation-play-state: paused; } }
.ticker__group { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; }
.ticker__item { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; color: var(--white); }
.ticker__item::after { content: "\25C6"; margin-left: 2rem; color: var(--blue); font-size: .85rem; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   What you get
   -------------------------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
.feature { border-left: 1px solid var(--blue); padding-left: 1.25rem; }
.feature h3 { margin-bottom: .75rem; }
.feature p { color: var(--white-70); margin: 0; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Crates (genre rows)
   -------------------------------------------------------------------------- */
.crates { border-top: 1px solid var(--line); }
.crate {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(0, 2fr) auto;
  gap: 1.5rem 2.5rem;
  align-items: center;
  padding: 1.5rem 1rem;
  margin-inline: -1rem;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background-color .25s var(--ease);
}
@media (hover: hover) { .crate:hover { background: var(--white-06); } }
.crate__name { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; line-height: 1; letter-spacing: 0; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.crate__name a { color: inherit; }
@media (hover: hover) { .crate__name a:hover { background: none; color: var(--blue-bright); } }
.crate--text { grid-template-columns: minmax(12rem, 1fr) minmax(0, 2fr); }
.crate--text p { margin: 0; color: var(--white-70); max-width: 42em; }
@media (max-width: 760px) { .crate--text { grid-template-columns: 1fr; } }
.crate__tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.crate__in { justify-self: end; }
@media (max-width: 760px) {
  .crate { grid-template-columns: 1fr; gap: .9rem; }
  .crate__in { justify-self: start; }
}
.crates__note { margin-top: 1.5rem; color: var(--muted); display: flex; align-items: center; gap: .6rem; }

/* --------------------------------------------------------------------------
   How it works (a real sequence — numbered)
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.step { position: relative; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  font-family: var(--font-display); font-weight: 900; font-size: 4.5rem; line-height: 1;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: .6rem; }
.step p { color: var(--white-70); margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Packages (asymmetric: Club contains Latin)
   -------------------------------------------------------------------------- */
.packages { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.5rem; align-items: stretch; }
.package {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-800);
}
.package--club { border-color: var(--blue); background: linear-gradient(160deg, var(--ink-700), var(--ink-800) 55%); box-shadow: 0 0 0 1px var(--blue-soft), 0 30px 60px rgba(0,0,0,.5); }
.package__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.75rem; }
.package__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.75rem); text-transform: uppercase; line-height: 1; }
.package__price { display: flex; align-items: baseline; gap: .4rem; margin-bottom: .35rem; }
.package__amount { font-family: var(--font-display); font-weight: 900; font-size: clamp(4rem, 7vw, 6rem); line-height: .9; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.package--latin .package__amount { background: none; color: var(--white-70); }
.package__per { color: var(--muted); font-weight: 600; }
.package__tracks { font-size: 1.15rem; font-weight: 600; margin-bottom: 1.5rem; }
.package__genres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem 1.5rem; margin-bottom: 2rem; color: var(--white-70); font-size: .95rem; }
.package__genres li { padding-left: 1rem; position: relative; }
.package__genres li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.package--latin .package__genres { grid-template-columns: 1fr; }
.package .btn { margin-top: auto; align-self: flex-start; }
.packages--single { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.package--upsell { justify-content: center; }
.package--upsell .package__name { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .75rem; }
.package--upsell .package__tracks { margin-bottom: .5rem; }
.package--upsell p { color: var(--white-70); }
.package--upsell .btn { margin-top: 1.5rem; }
.entry-content--inline { padding-block: 0; max-width: 48rem; }
.packages__notes { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; color: var(--white-70); }
.packages__notes p { display: flex; gap: .75rem; margin: 0; }
.packages__notes svg { flex: none; width: 22px; height: 22px; margin-top: .15rem; }
@media (max-width: 860px) {
  .packages, .packages--single { grid-template-columns: minmax(0, 1fr); }
  .package__genres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .packages__notes { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .package__top { flex-wrap: wrap; }
  .package__genres, .package--latin .package__genres { grid-template-columns: minmax(0, 1fr); }
  .package .btn { align-self: stretch; justify-content: center; }
}

/* --------------------------------------------------------------------------
   Archive years
   -------------------------------------------------------------------------- */
.years { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.year { padding: 1.5rem 1rem 1.5rem 0; background: var(--bg); }
.year:not(:first-child) { padding-left: 1rem; }
@media (max-width: 1100px) { .years { grid-template-columns: repeat(4, minmax(0, 1fr)); } .year:nth-child(5) { padding-left: 0; } }
@media (max-width: 480px)  { .years { grid-template-columns: repeat(2, minmax(0, 1fr)); } .year:nth-child(odd) { padding-left: 0; } .year:nth-child(even) { padding-left: 1rem; } }
.year b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.year span { display: block; margin-top: .4rem; color: var(--muted); font-size: .9rem; }
.year--now b { background: none; color: var(--blue-bright); }
.archive__note { margin-top: 1.5rem; color: var(--white-70); max-width: 44em; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.quote { margin: 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.quote:nth-child(2) { margin-top: 3rem; }
.quote::before { content: "\201C"; display: block; font-family: Georgia, "Times New Roman", serif; font-size: 5.5rem; line-height: .55; color: var(--blue); margin-bottom: .75rem; }
.quote blockquote { margin: 0 0 1.25rem; font-size: 1.2rem; line-height: 1.5; }
.quote figcaption { color: var(--muted); font-size: .95rem; }
.quote figcaption b { color: var(--white); font-weight: 600; display: block; }
@media (max-width: 860px) {
  .quotes { grid-template-columns: 1fr; gap: 1.5rem; }
  .quote:nth-child(2) { margin-top: 0; }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 52rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0;
  font-weight: 600; font-size: 1.15rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 1.25rem; height: 1.25rem;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 100% 2px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 2px 100% no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__body { padding: 0 0 1.5rem; color: var(--white-70); max-width: 42em; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Join (the one inverted band)
   -------------------------------------------------------------------------- */
.join { position: relative; z-index: 1; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; padding-block: var(--section); }
.join h2 { color: #fff; }
.join .lede { color: rgba(255, 255, 255, 0.8); margin-top: 1rem; }
.join__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.join__single .join__email { display: block; width: fit-content; }
.join__email {
  display: inline-block;
  font-family: var(--font-display); font-weight: 900; text-transform: none;
  font-size: clamp(2rem, 5.2vw, 4.5rem); line-height: 1;
  letter-spacing: -.01em;
  margin: 1.5rem 0 2rem;
  padding-top: .25rem;
  word-break: break-all;
  border-bottom: 3px solid rgba(255, 255, 255, 0.35);
  padding-bottom: .35rem;
  max-width: 100%;
  color: #fff;
  transition: border-color .2s var(--ease);
}
.join__email:hover { border-color: #fff; }
.join__alt { margin-top: 1.5rem; color: rgba(255, 255, 255, 0.8); }
.join__email--small { font-size: clamp(1.4rem, 2.6vw, 2.1rem); margin: .35rem 0 0; display: block; padding-top: .15rem; border-bottom-width: 2px; }
.join__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.join__actions--solo { margin-top: .5rem; }
.join .btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.join .btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

/* Built-in contact form */
.join__form { display: grid; gap: 1rem; padding: clamp(1.25rem, 2.5vw, 2rem); background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius); }
.join__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.join__field { display: grid; gap: .4rem; }
.join__field span { font-size: .85rem; font-weight: 600; letter-spacing: .01em; color: rgba(255, 255, 255, 0.85); }
.join__field em { font-style: normal; font-weight: 400; color: rgba(255, 255, 255, 0.55); }
.join__form input, .join__form select, .join__form textarea {
  width: 100%; font: inherit; color: #fff;
  padding: .85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3); border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.35);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.join__form input::placeholder, .join__form textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.join__form select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.join__form select option { color: #111; }
.join__form input:focus, .join__form select:focus, .join__form textarea:focus { outline: none; border-color: #fff; background: rgba(0, 0, 0, 0.5); }
.join__form input:user-invalid, .join__form select:user-invalid { border-color: #ffd166; }
.join__form textarea { resize: vertical; min-height: 5.5rem; }
.join__honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.join__status { font-weight: 600; color: #fff; }
.join__status.is-error { color: #ffd166; }
.join__form.is-sending .btn { opacity: .6; pointer-events: none; }
.join__form.is-sent .join__row, .join__form.is-sent .join__field, .join__form.is-sent .btn { display: none; }
.join__form.is-sent .join__status { font-size: 1.25rem; }
@media (max-width: 860px) {
  .join__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .join__row { grid-template-columns: minmax(0, 1fr); }
  .join__actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { position: relative; z-index: 1; background: var(--ink-900); padding: clamp(3rem, 6vw, 5rem) 0 2rem; border-top: 1px solid var(--line); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; margin-bottom: 3rem; }
.site-footer p { color: var(--muted); max-width: 30em; }
.site-footer h4 { font-family: var(--font-body); font-weight: 600; font-size: .85rem; text-transform: none; letter-spacing: 0; color: var(--white-70); margin-bottom: 1rem; }
.site-footer ul li { margin: 0; }
.site-footer ul a { display: inline-block; padding: .55rem 0; color: var(--white); font-weight: 500; }
.site-footer ul a:hover { color: var(--blue); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.social { display: flex; gap: .75rem; }
.social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--white); transition: border-color .2s, color .2s; }
.social a:hover { border-color: var(--blue); color: var(--blue); }
.social svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; } }

/* --------------------------------------------------------------------------
   Inner pages (page.php, single.php, archive, 404)
   -------------------------------------------------------------------------- */
.page-hero { padding-top: clamp(8rem, 16vw, 12rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(3rem, 7vw, 6rem); }
.page-hero .lede { margin-top: 1rem; }
.entry-content { max-width: 44rem; padding-block: var(--section); font-size: 1.125rem; }
.entry-content h2, .entry-content h3 { margin: 2em 0 .6em; }
.entry-content h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
.entry-content a { color: var(--blue); border-bottom: 1px solid var(--blue-deep); }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote { margin: 2em 0; padding-left: 1.25rem; border-left: 2px solid var(--blue); color: var(--white-70); font-size: 1.2rem; }
.entry-content ul, .entry-content ol { padding-left: 1.25rem; margin: 0 0 1.25em; }
.entry-content ul { list-style: disc; }
.entry-content .alignwide { max-width: none; width: min(var(--wrap), 100% - var(--gutter) * 2); }
.entry-meta { color: var(--muted); font-size: .9rem; margin-top: 1rem; }
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 2rem; padding-block: var(--section); }
.post-card { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.post-card h2 { font-size: 1.9rem; margin-bottom: .5rem; }
.post-card h2 a:hover { color: var(--blue); }
.post-card p { color: var(--white-70); }
.pagination { display: flex; gap: .5rem; flex-wrap: wrap; padding-bottom: var(--section); }
.pagination .page-numbers { padding: .55rem .9rem; border: 1px solid var(--line); border-radius: var(--pill); color: var(--white-70); }
.pagination .page-numbers.current { background: var(--blue); color: #fff; border-color: var(--blue); }
.not-found { padding-block: var(--section); }
.search-form { display: flex; gap: .5rem; max-width: 28rem; margin-top: 1.5rem; }
.search-form input[type="search"] { flex: 1; font: inherit; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--pill); background: var(--ink-800); color: var(--white); }
.wp-block-image img { height: auto; }

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vinyl, .ticker__track { animation: none; }
  .hero h1 .line > span, .hero__kicker, .hero .lede, .hero__actions, .hero__facts, .emblem { animation: none; }
  .ticker__track { flex-wrap: wrap; width: auto; }
  .ticker__group:last-child { display: none; }
  * { transition-duration: .01ms !important; }
}
