/* ==========================================================================
   Aria & Onyx — Steven LaBrie
   A design system for a baritone: onyx stage, gold leaf, ivory type.
   Sharp corners throughout. Depth comes from tonal layering, never shadow.
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */

:root {
  /* Surface */
  --onyx: #0f1113;
  --slate: #1a1d21;
  --slate-high: #22262b;

  /* Ink */
  --ivory: #fdfdfd;
  --silver: #a2a2a2;

  /* Accent */
  --gold: #d4af37;
  --gold-bright: #f2ca50;

  /* Hairlines — the only structural device on the page */
  --line: rgba(162, 162, 162, 0.2);
  --line-strong: rgba(162, 162, 162, 0.38);

  /* Type */
  --serif: "Libre Caslon Text", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --fs-display: clamp(2.375rem, 7.4vw, 5.25rem);
  --fs-h1: clamp(2.25rem, 5vw, 3.75rem);
  --fs-h2: clamp(1.875rem, 3.9vw, 3rem);
  --fs-h3: clamp(1.375rem, 2.3vw, 2rem);
  --fs-lede: clamp(1.0625rem, 1.35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-label: 0.75rem;

  /* Space — 8px scale, with "breatheability" as the defining rhythm */
  --unit: 8px;
  --gutter: 24px;
  --pad: clamp(24px, 5.2vw, 64px);
  --section: clamp(72px, 11vw, 128px);
  --max: 1440px;

  /* Motion */
  --ease-curtain: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset ---------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--onyx);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: var(--onyx);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; }

button,
input {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, p, figure, blockquote {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--gold);
  color: var(--onyx);
  padding: 12px 20px;
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- Type ----------------------------------------------------------------- */

.display,
.h1, .h2, .h3 {
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}

.display {
  font-size: var(--fs-display);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.h1 { font-size: var(--fs-h1); line-height: 1.14; letter-spacing: -0.01em; }
.h2 { font-size: var(--fs-h2); line-height: 1.16; letter-spacing: -0.01em; }
.h3 { font-size: var(--fs-h3); line-height: 1.25; }

.gold { color: var(--gold); }
.ivory { color: var(--ivory); }

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow--quiet { color: var(--silver); }

.lede {
  font-size: var(--fs-lede);
  font-weight: 300;
  line-height: 1.6;
  color: var(--silver);
  text-wrap: pretty;
}

.prose p {
  color: var(--silver);
  text-wrap: pretty;
}
.prose p + p { margin-top: 1.25em; }
.prose strong { color: var(--ivory); font-weight: 500; }

.meta {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
}

/* --- Layout --------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--slate { background: var(--slate); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gutter);
  padding-bottom: calc(var(--unit) * 3);
  border-bottom: 1px solid var(--line);
  margin-bottom: calc(var(--unit) * 7);
}

.section__head p { max-width: 34ch; }

.grid {
  display: grid;
  gap: var(--gutter);
}

@media (min-width: 900px) {
  .grid--split { grid-template-columns: repeat(12, 1fr); align-items: center; }
  .col-5 { grid-column: span 5; }
  .col-6 { grid-column: span 6; }
  .col-7 { grid-column: span 7; }
  .grid--thirds { grid-template-columns: repeat(3, 1fr); }
  .grid--halves { grid-template-columns: repeat(2, 1fr); }
}

.stack-lg > * + * { margin-top: calc(var(--unit) * 4); }
.pull { padding-inline-start: clamp(0px, 4vw, 48px); }

/* --- Navigation ----------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 96px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, height 0.4s ease;
}

.nav.is-scrolled {
  height: 76px;
  background: rgba(15, 17, 19, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gutter);
  height: 100%;
}

.nav__brand {
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 1.9vw, 1.375rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.nav__brand:hover { color: var(--ivory); }

.nav__links {
  display: none;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
}

.nav__link {
  position: relative;
  padding-block: 6px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(253, 253, 253, 0.66);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.nav__link:hover { color: var(--ivory); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__link.is-active { color: var(--gold); }
.nav__link.is-active::after { transform: scaleX(1); }

.nav__end {
  display: flex;
  align-items: center;
  gap: var(--unit);
  min-width: 0;
}

/* Below the desktop breakpoint the bar's Tickets button no longer fits beside
   the wordmark, and the mobile menu carries it instead. */
.nav__end .btn { display: none; }

.nav__brand { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  height: 1px;
  background: var(--ivory);
  transition: transform 0.4s var(--ease-out), opacity 0.2s ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
  .nav__end .btn { display: inline-flex; }
}

/* Mobile menu — the curtain */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: calc(var(--unit) * 3);
  padding: 120px var(--pad) var(--pad);
  background: rgba(15, 17, 19, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: translateY(-100%);
  transition: transform 0.62s var(--ease-curtain);
}

.menu.is-open { transform: translateY(0); }

.menu a {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 8vw, 2.5rem);
  line-height: 1.2;
  color: rgba(253, 253, 253, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}
.menu a:hover,
.menu a.is-active { color: var(--gold); }

.menu .btn { align-self: flex-start; margin-top: calc(var(--unit) * 3); }

@media (min-width: 1024px) {
  .menu { display: none; }
}

/* --- Buttons -------------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: 0;
  background: none;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}

.btn > * { position: relative; z-index: 1; }

/* Gold fill wipes in from the left — the same gesture as the curtain */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ivory);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-curtain);
}
.btn:hover::before { transform: scaleX(1); }

.btn--gold {
  background: var(--gold);
  color: var(--onyx);
}
.btn--gold:hover { color: var(--onyx); }

.btn--ghost {
  border-color: rgba(253, 253, 253, 0.55);
  color: var(--ivory);
}
.btn--ghost:hover { color: var(--onyx); border-color: var(--ivory); }

.btn--quiet {
  border-color: var(--line-strong);
  color: var(--ivory);
  background: var(--slate);
}
.btn--quiet:hover { color: var(--onyx); }

.btn[disabled] {
  border-color: var(--line);
  color: var(--silver);
  cursor: not-allowed;
}
.btn[disabled]::before { display: none; }

/* Text link with a gold rule that draws itself */
.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 0.45s var(--ease-out), color 0.3s ease;
}
.link:hover {
  color: var(--ivory);
  background-image: linear-gradient(var(--ivory), var(--ivory));
  background-size: 100% 1px;
}
.link svg { transition: transform 0.4s var(--ease-out); }
.link:hover svg { transform: translateX(5px); }

/* --- Signature: the resonance rule ---------------------------------------- */
/* A hairline divider that sounds a note when it scrolls into view: the flat
   line deforms into a damped standing wave, then settles flat again. */

.rule {
  position: relative;
  width: 100%;
  height: 48px;
  overflow: hidden;
}

.rule svg {
  display: block;
  width: 100%;
  height: 100%;
}

.rule path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  opacity: 0.5;
  transition: opacity 0.6s ease;
}

.rule.is-sounding path { opacity: 0.95; }

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

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(92vh, 900px);
  padding-block: calc(var(--section) * 0.9) var(--section);
  overflow: hidden;
}

.hero--center { align-items: center; text-align: center; }
.hero--center .hero__inner { margin-inline: auto; }
.hero--center .actions { justify-content: center; }
.hero--short { min-height: min(66vh, 640px); }

.hero__media {
  position: absolute;
  inset: -8% 0 0 0;
  z-index: 0;
  will-change: transform;
}

.hero__media img {
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: 50% 22%;
  opacity: 0.5;
  filter: grayscale(1) contrast(1.06);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, var(--onyx) 1%, rgba(15, 17, 19, 0.4) 42%, rgba(15, 17, 19, 0.78) 100%),
    radial-gradient(120% 80% at 50% 45%, rgba(15, 17, 19, 0.55) 0%, transparent 72%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: min(100%, 1060px);
}

.hero .lede { margin-top: calc(var(--unit) * 5); max-width: min(100%, 620px); }
.hero--center .lede { margin-inline: auto; }
.hero .eyebrow { margin-bottom: calc(var(--unit) * 3); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--unit);
  margin-top: calc(var(--unit) * 5);
}

/* Curtain rise for display lines */
.line {
  display: block;
  overflow: hidden;
  /* Room for descenders inside the clipping box, without changing the rhythm. */
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
}
.line > span {
  display: block;
  transform: translateY(112%);
}
.js .line > span {
  animation: rise 1.15s var(--ease-out) forwards;
  animation-delay: var(--d, 0ms);
}
.no-js .line > span { transform: none; }

@keyframes rise {
  to { transform: translateY(0); }
}

/* Scroll cue */
.cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
}
.cue i {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--gold), transparent);
  animation: cue 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.35); opacity: 0.4; }
  50%      { transform: scaleY(1);    opacity: 1; }
}

/* --- Figures: images reveal by curtain ------------------------------------ */

.figure {
  position: relative;
  overflow: hidden;
  background: var(--slate);
}

.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transform: scale(1.06);
  transition: transform 1.2s var(--ease-out), filter 0.7s ease, opacity 0.7s ease;
}

.figure.is-in img { transform: scale(1); }
.figure:hover img { filter: grayscale(0); transform: scale(1.04); }

.figure__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--onyx);
  transform-origin: top;
  transition: transform 1.05s var(--ease-curtain);
}
.figure.is-in .figure__veil { transform: scaleY(0); }
.no-js .figure__veil { display: none; }

.figure__caption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 3;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* As a direct grid item the figure would be stretched to the row height, and a
   definite height silently defeats aspect-ratio. */
.grid > .figure { align-self: start; }

.figure--square { aspect-ratio: 1; }
.figure--portrait { aspect-ratio: 3 / 4; }
.figure--wide { aspect-ratio: 16 / 9; }

.figure--framed::after {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 3;
  border: 1px solid rgba(253, 253, 253, 0.22);
  pointer-events: none;
}

/* --- Reveal on scroll ----------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* --- Cards ---------------------------------------------------------------- */

.card { display: block; text-decoration: none; }
.card .figure { margin-bottom: calc(var(--unit) * 2.5); }
.card h3 { transition: color 0.3s ease; }
.card:hover h3 { color: var(--gold); }
.card p { color: var(--silver); margin-top: 4px; }
.card .link { margin-top: calc(var(--unit) * 2); }

/* --- Listing rows (tour, credits) ----------------------------------------- */

.rows { border-top: 1px solid var(--line); }

.row {
  position: relative;
  display: grid;
  gap: var(--unit);
  padding: calc(var(--unit) * 4) 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.4s ease;
}

.row::before {
  content: "";
  position: absolute;
  left: calc(var(--pad) * -0.5);
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.45s var(--ease-out);
}

.row:hover::before { transform: scaleY(1); }
.row:hover { background-color: rgba(26, 29, 33, 0.55); }

.row__when { display: flex; flex-direction: column; gap: 2px; }
.row__where h3 { transition: transform 0.4s var(--ease-out); }
.row:hover .row__where h3 { transform: translateX(6px); }
.row__note { color: var(--silver); font-size: 0.9375rem; }
.row__action { display: flex; align-items: center; }

.row--past { opacity: 0.55; }
.row--past:hover { background-color: transparent; }
.row--past::before { display: none; }

@media (min-width: 900px) {
  .row {
    grid-template-columns: 0.9fr 1.4fr 1fr auto;
    align-items: center;
    gap: var(--gutter);
    padding-inline: calc(var(--unit) * 2);
  }
  /* Two columns of prose and a trailing action, for credits and contacts. */
  .row--wide { grid-template-columns: 1fr 2fr auto; }
  .row__action { justify-content: flex-end; }
}

/* Email addresses and other unbreakable strings must not widen the page. */
.row__action .link,
.prose a { overflow-wrap: anywhere; }

/* --- Tracklist ------------------------------------------------------------ */

.tracks { border-top: 1px solid var(--line); }

.track {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gutter);
  width: 100%;
  padding: calc(var(--unit) * 2.25) var(--unit);
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: left;
  cursor: default;
  transition: border-color 0.35s ease, padding-inline-start 0.4s var(--ease-out), background-color 0.35s ease;
}

.track:hover {
  border-bottom-color: var(--gold);
  background-color: rgba(26, 29, 33, 0.5);
  padding-inline-start: calc(var(--unit) * 2.5);
}

.track__no {
  font-family: var(--serif);
  color: var(--gold);
  min-width: 2.25em;
}

.track__title {
  font-family: var(--serif);
  font-size: clamp(1.125rem, 1.9vw, 1.5rem);
  flex: 1;
  transition: color 0.3s ease;
}
.track:hover .track__title { color: var(--gold); }

.track__time {
  font-size: 0.875rem;
  color: var(--silver);
  font-variant-numeric: tabular-nums;
}

/* --- Quote ---------------------------------------------------------------- */

.quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: calc(var(--unit) * 3);
  padding: calc(var(--unit) * 5);
  background: var(--onyx);
  border: 1px solid var(--line);
}

.quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  line-height: 1.4;
  font-style: italic;
}

/* --- Feature panel (glass over image) ------------------------------------- */

.feature {
  position: relative;
  overflow: hidden;
  background: var(--slate);
}

.feature__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}

.feature__body {
  position: relative;
  z-index: 1;
  padding: clamp(32px, 6vw, 72px);
  background: rgba(15, 17, 19, 0.62);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-right: 1px solid rgba(162, 162, 162, 0.14);
}

@media (min-width: 900px) {
  .feature__body { width: 60%; }
}

/* --- Newsletter ----------------------------------------------------------- */

.signup {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--gutter);
  margin-top: calc(var(--unit) * 5);
}

.field {
  position: relative;
  flex: 1 1 280px;
  padding-top: 22px;
}

.field label {
  position: absolute;
  left: 0;
  top: 24px;
  font-size: var(--fs-body);
  color: var(--silver);
  pointer-events: none;
  transition: transform 0.35s var(--ease-out), font-size 0.35s var(--ease-out),
              letter-spacing 0.35s var(--ease-out), color 0.35s ease;
}

.field input {
  width: 100%;
  padding: 0 0 12px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  transition: border-color 0.35s ease;
}

.field input:focus { outline: none; border-bottom-color: var(--gold); }

.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  transform: translateY(-26px);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-note {
  margin-top: calc(var(--unit) * 2);
  font-size: 0.875rem;
  color: var(--silver);
}

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

.footer {
  padding-block: var(--section);
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer__brand {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer__brand:hover { color: var(--gold); }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: calc(var(--unit) * 4);
  margin-block: calc(var(--unit) * 5);
}

.footer__links a {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer__links a:hover { color: var(--gold); }

.footer__legal {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: rgba(162, 162, 162, 0.62);
}

/* --- Page shell ----------------------------------------------------------- */

.page { padding-top: 96px; }
.page--flush { padding-top: 0; }

/* --- Reduced motion ------------------------------------------------------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal { opacity: 1; transform: none; }
  .js .line > span { transform: none; animation: none; }
  .figure__veil { display: none; }
  .figure img { transform: none; }
  .hero__media { transform: none !important; }
}

/* --- Year filter ---------------------------------------------------------- */

.filters {
  display: flex;
  gap: calc(var(--unit) * 3);
}

.filter {
  padding: 0 0 6px;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.filter:hover { color: var(--ivory); }
.filter.is-active { color: var(--gold); border-bottom-color: var(--gold); }

/* --- Empty state ---------------------------------------------------------- */

.empty {
  padding: calc(var(--unit) * 8) 0;
  border-bottom: 1px solid var(--line);
}
.empty .lede { max-width: 46ch; }

/* --- Inline code ---------------------------------------------------------- */

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.875em;
  color: var(--gold);
}

/* --- Long-form pages ------------------------------------------------------ */

.prose a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.prose a:hover { color: var(--ivory); border-bottom-color: var(--ivory); }

cite { font-style: normal; }

/* `hidden` must win over the layout display values above (e.g. .row). */
[hidden] { display: none !important; }
