/* ==========================================================================
   EconomiaX — cinematic editorial design system
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --ink-950: #06080b;
  --ink-900: #090c11;
  --ink-850: #0c1016;
  --ink-800: #11161e;
  --ink-750: #161c26;
  --ink-700: #1d242f;
  --ink-650: #232b38;
  --ink-600: #2b3442;

  --text: #ebe6dd;
  --text-strong: #fbf8f3;
  --text-dim: #ada79d;
  --text-faint: #837d74;

  --gold-200: #f8ecc9;
  --gold-300: #f0d9a2;
  --gold-400: #e0bd76;
  --gold-500: #c9a15a;
  --gold-600: #a37c39;
  --gold-700: #6f5223;

  --red-300: #f0a49c;
  --red-400: #e2705f;
  --red-500: #c8392c;
  --red-600: #9a2419;
  --red-700: #5d150f;

  --teal-400: #6fb3a8;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --line-gold: rgba(224, 189, 118, 0.32);

  --surface: linear-gradient(168deg, rgba(30, 37, 48, 0.92), rgba(12, 16, 22, 0.94));
  --surface-raised: linear-gradient(168deg, rgba(38, 46, 59, 0.94), rgba(15, 20, 27, 0.96));
  --glass: rgba(15, 20, 27, 0.72);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 14px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.45), 0 18px 44px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 4px 10px rgba(0, 0, 0, 0.5), 0 40px 90px rgba(0, 0, 0, 0.55);
  --highlight: inset 0 1px 0 rgba(255, 255, 255, 0.07);

  --font-display: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', 'Hoefler Text',
    Georgia, 'Times New Roman', serif;
  --font-serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', 'Cascadia Mono', 'Segoe UI Mono', Menlo,
    Consolas, monospace;

  --measure: 40rem;
  --shell: 78rem;
  --shell-wide: 88rem;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.15rem, 1.09rem + 0.3vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.28rem + 0.6vw, 1.75rem);
  --step-3: clamp(1.7rem, 1.48rem + 1.1vw, 2.4rem);
  --step-4: clamp(2.05rem, 1.65rem + 2vw, 3.2rem);
  --step-5: clamp(2.4rem, 1.7rem + 3.4vw, 4.3rem);

  --radius-sm: 3px;
  --radius: 6px;
  --radius-lg: 12px;

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

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background-color: var(--ink-950);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  min-height: 100%;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold-300);
  text-decoration-color: rgba(224, 189, 118, 0.4);
  text-underline-offset: 0.18em;
  transition: color 0.18s var(--ease), text-decoration-color 0.18s var(--ease);
}

a:hover {
  color: var(--gold-200);
  text-decoration-color: var(--gold-300);
}

:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
  border-radius: 2px;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--text-strong);
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

::selection {
  background: rgba(201, 161, 90, 0.3);
  color: var(--text-strong);
}

@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;
  }
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.shell--wide {
  max-width: var(--shell-wide);
}

.shell--narrow {
  max-width: 54rem;
}

.stack > * + * {
  margin-top: var(--stack-gap, 1.15rem);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--gold-300);
  color: var(--ink-950);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
  color: var(--ink-950);
}

/* Atmospheric page backdrop ------------------------------------------------ */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 70% at 12% -8%, rgba(163, 124, 57, 0.16), transparent 58%),
    radial-gradient(90% 60% at 92% 4%, rgba(122, 36, 25, 0.14), transparent 62%),
    radial-gradient(140% 90% at 50% 120%, rgba(24, 32, 44, 0.9), transparent 70%),
    linear-gradient(180deg, var(--ink-900), var(--ink-950) 62%);
}

.atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.5;
  mix-blend-mode: overlay;
}

/* --------------------------------------------------------------------------
   4. Header and navigation
   -------------------------------------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(14px) saturate(140%);
  background: linear-gradient(180deg, rgba(6, 8, 11, 0.94), rgba(6, 8, 11, 0.72));
  border-bottom: 1px solid var(--line);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.32rem;
  text-decoration: none;
  color: var(--text-strong);
  margin-right: auto;
}

.brand__logo {
  display: block;
  width: auto;
  height: 1.7rem;
  transition: opacity 0.2s var(--ease);
}

.brand:hover .brand__logo {
  opacity: 0.82;
}

.brand__tagline {
  font-size: 0.62rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav__link {
  display: inline-block;
  padding: 0.55rem 0.7rem;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  text-decoration: none;
  border-radius: var(--radius-sm);
  position: relative;
}

.nav__link:hover {
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.04);
}

.nav__link[aria-current='page'] {
  color: var(--gold-300);
}

.nav__link[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.24rem;
  height: 1px;
  background: var(--gold-500);
}

.masthead__actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
    background 0.18s var(--ease);
}

.icon-btn:hover {
  color: var(--gold-300);
  border-color: var(--line-gold);
  background: rgba(201, 161, 90, 0.08);
}

.nav-toggle {
  display: none;
}

@media (max-width: 63.999em) {
  .nav {
    position: fixed;
    inset: 4.25rem 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.5rem;
    background: rgba(8, 11, 15, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }

  .nav[data-open='true'] {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    padding: 0.85rem 0.25rem;
    font-size: 0.98rem;
    border-bottom: 1px solid var(--line);
  }

  .nav__link[aria-current='page']::after {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }
}

/* --------------------------------------------------------------------------
   5. Shared typography and section furniture
   -------------------------------------------------------------------------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.kicker::before {
  content: '';
  width: 1.6rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-600), transparent);
  flex: none;
}

.kicker--plain::before {
  display: none;
}

.kicker--red {
  color: var(--red-400);
}

.kicker--red::before {
  background: linear-gradient(90deg, var(--red-500), transparent);
}

.section {
  padding-block: clamp(3rem, 6vw, 5.5rem);
  position: relative;
}

.section--tight {
  padding-block: clamp(2rem, 4vw, 3.25rem);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.section-head__title {
  font-size: var(--step-3);
  margin-top: 0.55rem;
}

.section-head__lede {
  max-width: 42ch;
  color: var(--text-dim);
  font-family: var(--font-serif);
  font-size: 1rem;
}

.lede {
  font-family: var(--font-serif);
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 58ch;
}

.text-link {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-300);
  white-space: nowrap;
}

.text-link::after {
  content: ' \2192';
  transition: transform 0.18s var(--ease);
  display: inline-block;
}

.text-link:hover::after {
  transform: translateX(3px);
}

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.16s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn--primary {
  background: linear-gradient(168deg, var(--gold-300), var(--gold-500) 55%, var(--gold-600));
  color: #191206;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 12px 30px rgba(163, 124, 57, 0.28);
}

.btn--primary:hover {
  color: #120d04;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.36) inset, 0 16px 40px rgba(201, 161, 90, 0.4);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn--ghost:hover {
  border-color: var(--line-gold);
  color: var(--gold-200);
  background: rgba(201, 161, 90, 0.08);
}

.btn--danger {
  background: linear-gradient(168deg, var(--red-400), var(--red-500) 60%, var(--red-600));
  color: #fff5f3;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 12px 30px rgba(154, 36, 25, 0.32);
}

.btn--danger:hover {
  color: #fff;
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.58rem 1rem;
  font-size: 0.72rem;
}

/* Chips and badges --------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
}

a.chip:hover {
  color: var(--gold-200);
  border-color: var(--line-gold);
  background: rgba(201, 161, 90, 0.1);
}

.chip--gold {
  color: var(--gold-300);
  border-color: var(--line-gold);
  background: rgba(201, 161, 90, 0.09);
}

.chip--red {
  color: var(--red-300);
  border-color: rgba(226, 112, 95, 0.36);
  background: rgba(200, 57, 44, 0.12);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.meta-row > * + *::before {
  content: '\00b7';
  margin-right: 0.9rem;
  color: var(--ink-600);
}

/* --------------------------------------------------------------------------
   6. Breadcrumbs
   -------------------------------------------------------------------------- */
.crumbs {
  padding-block: 1.1rem 0;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

.crumbs li + li::before {
  content: '/';
  margin-right: 0.4rem;
  color: var(--ink-600);
}

.crumbs a {
  color: var(--text-dim);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--gold-300);
}

.crumbs [aria-current='page'] {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   7. Homepage hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__beam,
.hero__glow {
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.hero__beam {
  top: -28%;
  left: -6%;
  width: 78%;
  height: 150%;
  background: linear-gradient(
    104deg,
    transparent 34%,
    rgba(240, 217, 162, 0.09) 44%,
    rgba(240, 217, 162, 0.16) 50%,
    rgba(240, 217, 162, 0.06) 56%,
    transparent 66%
  );
  filter: blur(22px);
  transform: rotate(-6deg);
}

.hero__glow {
  right: -14%;
  top: 6%;
  width: 46rem;
  height: 46rem;
  max-width: 90vw;
  background: radial-gradient(circle, rgba(154, 36, 25, 0.2), transparent 62%);
  filter: blur(12px);
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 60em) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 3.5rem;
  }
}

.hero__title {
  font-size: var(--step-5);
  margin-top: 1rem;
  letter-spacing: -0.022em;
}

.hero__title em {
  font-style: italic;
  color: var(--gold-300);
}

.hero__lede {
  margin-top: 1.4rem;
  font-family: var(--font-serif);
  font-size: var(--step-1);
  line-height: 1.58;
  color: var(--text-dim);
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  list-style: none;
  padding-inline: 0;
}

.hero__stats dt {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hero__stats dd {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--gold-300);
}

/* Featured guide plate ----------------------------------------------------- */
.hero__feature {
  position: relative;
}

.plate {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-raised);
  box-shadow: var(--shadow-lg), var(--highlight);
  transition: transform 0.35s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.35s var(--ease);
}

.plate:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
}

.plate__art {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.plate__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.7s var(--ease);
}

.plate:hover .plate__art img {
  transform: scale(1.08);
}

.plate__art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 11, 0.1) 20%, rgba(6, 8, 11, 0.94) 96%);
}

.plate__body {
  position: relative;
  padding: 1.4rem 1.6rem 1.7rem;
  margin-top: -4.5rem;
}

.plate__title {
  font-size: var(--step-2);
  margin-top: 0.7rem;
}

.plate__excerpt {
  margin-top: 0.8rem;
  font-family: var(--font-serif);
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.6;
}

.plate__foot {
  margin-top: 1.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.plate__ribbon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  background: rgba(6, 8, 11, 0.78);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-gold);
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
}

/* --------------------------------------------------------------------------
   8. Guide cards
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
}

.card-grid--two {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm), var(--highlight);
  overflow: hidden;
  transition: transform 0.28s var(--ease), border-color 0.24s var(--ease),
    box-shadow 0.28s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-gold);
  box-shadow: var(--shadow-md), var(--highlight);
}

.card__art {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink-800);
}

.card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}

.card:hover .card__art img {
  transform: scale(1.05);
}

.card__art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 11, 0) 45%, rgba(6, 8, 11, 0.82));
}

.card__cat {
  position: absolute;
  bottom: 0.7rem;
  left: 0.85rem;
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
  text-decoration: none;
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.15rem 1.25rem;
}

.card__title {
  font-size: 1.16rem;
  line-height: 1.24;
}

.card__title a {
  color: inherit;
  text-decoration: none;
}

.card__title a:hover {
  color: var(--gold-200);
}

.card__excerpt {
  margin-top: 0.6rem;
  font-family: var(--font-serif);
  font-size: 0.94rem;
  line-height: 1.58;
  color: var(--text-dim);
}

.card__foot {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.card__film {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.card--spoiler .card__body::before {
  content: 'Spoilers discussed';
  align-self: flex-start;
  margin-bottom: 0.7rem;
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(226, 112, 95, 0.34);
  border-radius: 999px;
  background: rgba(200, 57, 44, 0.12);
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-300);
}

/* Wide list row ------------------------------------------------------------ */
.row-list {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--highlight);
  transition: border-color 0.24s var(--ease), transform 0.24s var(--ease);
}

.row:hover {
  border-color: var(--line-gold);
  transform: translateX(2px);
}

@media (min-width: 40em) {
  .row {
    grid-template-columns: 11rem minmax(0, 1fr);
    align-items: start;
    gap: 1.4rem;
  }
}

.row__art {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--ink-800);
}

.row__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.row__title {
  font-size: 1.15rem;
  line-height: 1.26;
  margin-top: 0.5rem;
}

.row__title a {
  color: inherit;
  text-decoration: none;
}

.row__title a:hover {
  color: var(--gold-200);
}

.row__excerpt {
  margin-top: 0.55rem;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.58;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   9. Category tiles
   -------------------------------------------------------------------------- */
.cat-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}

.cat-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 10.5rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  box-shadow: var(--highlight);
  transition: transform 0.26s var(--ease), border-color 0.26s var(--ease);
}

.cat-tile:hover {
  transform: translateY(-3px);
  border-color: var(--line-gold);
}

.cat-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease);
}

.cat-tile:hover img {
  opacity: 0.58;
  transform: scale(1.04);
}

.cat-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, rgba(6, 8, 11, 0.42) 10%, rgba(6, 8, 11, 0.93));
}

.cat-tile__body {
  position: relative;
  z-index: 1;
}

.cat-tile__name {
  font-size: 1.14rem;
  margin-top: 0.45rem;
}

.cat-tile__count {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.cat-tile--red::after {
  background: linear-gradient(175deg, rgba(30, 8, 6, 0.4) 10%, rgba(6, 8, 11, 0.93));
}

/* --------------------------------------------------------------------------
   10. Filters and search
   -------------------------------------------------------------------------- */
.finder {
  position: relative;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(10px);
  box-shadow: var(--highlight);
}

.finder__search {
  position: relative;
  display: flex;
  align-items: center;
}

.finder__search svg {
  position: absolute;
  left: 0.85rem;
  color: var(--text-faint);
  pointer-events: none;
}

.field {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(6, 8, 11, 0.7);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field::placeholder {
  color: var(--text-faint);
}

.field:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 161, 90, 0.16);
}

.finder__search .field {
  padding-left: 2.6rem;
}

.finder__filters {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
}

.filter-label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

select.field {
  appearance: none;
  padding-right: 2.2rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%),
    linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
  background-position: calc(100% - 1.05rem) 55%, calc(100% - 0.72rem) 55%;
  background-size: 0.33rem 0.33rem, 0.33rem 0.33rem;
  background-repeat: no-repeat;
}

.finder__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.result-count {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.result-count strong {
  color: var(--gold-300);
}

.empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--text-dim);
  font-family: var(--font-serif);
}

.empty-state h2,
.empty-state h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

/* --------------------------------------------------------------------------
   11. Article layout
   -------------------------------------------------------------------------- */
.article-head {
  position: relative;
  padding-block: 1.75rem 2.25rem;
  border-bottom: 1px solid var(--line);
}

.article-head__title {
  font-size: var(--step-4);
  margin-top: 0.9rem;
  max-width: 34ch;
}

.article-head__lede {
  margin-top: 1.2rem;
  font-family: var(--font-serif);
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 62ch;
}

.article-head__meta {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.8rem;
}

.metablock dt {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.metablock dd {
  margin: 0.3rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text);
}

.metablock dd a {
  text-decoration: none;
}

.article-hero {
  margin-block: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.article-hero img {
  width: 100%;
}

.figure-note {
  padding: 0.7rem 0.9rem;
  background: rgba(6, 8, 11, 0.7);
  border-top: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--text-faint);
}

.article-layout {
  display: grid;
  gap: 2.5rem;
  padding-block: 2.5rem 4rem;
}

@media (min-width: 64em) {
  .article-layout {
    grid-template-columns: 16.5rem minmax(0, 1fr);
    gap: 3.5rem;
  }
}

.article-aside {
  position: relative;
}

@media (min-width: 64em) {
  .article-aside {
    position: sticky;
    top: 5.5rem;
    align-self: start;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    padding-right: 0.5rem;
  }
}

/* Table of contents -------------------------------------------------------- */
.toc {
  border-left: 1px solid var(--line);
  padding-left: 1.1rem;
}

.toc__title {
  font-family: var(--font-sans);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 0.9rem;
}

.toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
}

.toc a {
  display: block;
  padding: 0.38rem 0;
  font-family: var(--font-sans);
  font-size: 0.83rem;
  line-height: 1.42;
  color: var(--text-dim);
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -1.15rem;
  padding-left: 1.1rem;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.toc a::before {
  content: counter(toc, decimal-leading-zero);
  margin-right: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-600);
}

.toc a:hover {
  color: var(--text-strong);
}

.toc a.is-active {
  color: var(--gold-300);
  border-left-color: var(--gold-500);
}

.toc a.is-active::before {
  color: var(--gold-600);
}

.aside-panel {
  margin-top: 1.8rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--highlight);
}

.aside-panel__title {
  font-family: var(--font-sans);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.7rem;
}

.aside-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.aside-panel a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-decoration: none;
  line-height: 1.4;
  display: block;
}

/* --------------------------------------------------------------------------
   12. Prose
   -------------------------------------------------------------------------- */
.prose {
  font-family: var(--font-serif);
  font-size: 1.09rem;
  line-height: 1.72;
  color: #ded9d0;
  max-width: var(--measure);
}

.prose--wide {
  max-width: 46rem;
}

.prose > * + * {
  margin-top: 1.35rem;
}

.prose h2 {
  font-size: var(--step-2);
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 5.5rem;
}

.prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose h3 {
  font-size: 1.28rem;
  margin-top: 2.2rem;
  color: var(--gold-200);
  scroll-margin-top: 5.5rem;
}

.prose h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 1.8rem;
  color: var(--text-strong);
}

.prose strong {
  color: var(--text-strong);
  font-weight: 700;
}

.prose em {
  font-style: italic;
}

.prose a {
  text-decoration: underline;
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

.prose li + li {
  margin-top: 0.55rem;
}

.prose li::marker {
  color: var(--gold-600);
}

.prose blockquote {
  margin: 2rem 0;
  padding: 0.4rem 0 0.4rem 1.4rem;
  border-left: 2px solid var(--gold-600);
  font-size: 1.14rem;
  font-style: italic;
  color: var(--gold-200);
}

.prose blockquote cite {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.prose figure {
  margin: 2.2rem 0;
}

.prose figure img {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.prose figcaption {
  margin-top: 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-faint);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 0.88rem;
}

.prose th,
.prose td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.table-scroll {
  overflow-x: auto;
}

/* --------------------------------------------------------------------------
   13. Spoiler gate
   -------------------------------------------------------------------------- */
.spoiler-notice {
  position: relative;
  margin-block: 2rem;
  padding: 1.15rem 1.3rem;
  border: 1px solid rgba(226, 112, 95, 0.4);
  border-left: 3px solid var(--red-500);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(200, 57, 44, 0.07) 0 10px,
      rgba(200, 57, 44, 0.02) 10px 20px
    ),
    linear-gradient(168deg, rgba(45, 14, 11, 0.72), rgba(12, 16, 22, 0.86));
  box-shadow: var(--highlight);
}

.spoiler-notice__title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-300);
}

.spoiler-notice p {
  margin-top: 0.6rem;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.spoiler-gate {
  position: relative;
  margin-block: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--highlight);
  overflow: hidden;
}

.spoiler-gate__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.9rem 1.1rem;
  background: linear-gradient(90deg, rgba(200, 57, 44, 0.14), transparent 70%);
  border-bottom: 1px solid var(--line);
}

.spoiler-gate__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-300);
}

.spoiler-gate__body {
  padding: 1.2rem 1.1rem 1.4rem;
}

.spoiler-gate__body > .prose {
  max-width: none;
}

.spoiler-gate[data-locked='true'] .spoiler-gate__body {
  display: none;
}

.spoiler-gate[data-locked='true'] .spoiler-gate__veil {
  display: block;
}

.spoiler-gate__veil {
  display: none;
  padding: 1.6rem 1.2rem 1.8rem;
  text-align: center;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.02) 0 12px,
    transparent 12px 24px
  );
}

.spoiler-gate__veil p {
  max-width: 46ch;
  margin: 0 auto 1.1rem;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  color: var(--text-dim);
}

/* Findings ----------------------------------------------------------------- */
.finding {
  position: relative;
  margin-top: 1.6rem;
  padding: 1.15rem 1.25rem 1.3rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-600);
  border-radius: var(--radius);
  background: linear-gradient(168deg, rgba(32, 39, 50, 0.7), rgba(11, 15, 21, 0.85));
  box-shadow: var(--highlight);
}

.finding--interpretation {
  border-left-color: var(--teal-400);
}

.finding__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.9rem;
  margin-bottom: 0.7rem;
}

.finding__title {
  font-size: 1.12rem;
  width: 100%;
  order: 3;
}

.finding__stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.finding__stamp--confirmed {
  color: var(--gold-200);
  background: rgba(201, 161, 90, 0.14);
  border: 1px solid var(--line-gold);
}

.finding__stamp--interpretation {
  color: #9fd4c9;
  background: rgba(111, 179, 168, 0.12);
  border: 1px solid rgba(111, 179, 168, 0.34);
}

.finding__time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}

.finding__time::before {
  content: '\25B8 ';
  color: var(--gold-600);
}

.finding__body {
  font-family: var(--font-serif);
  font-size: 1.03rem;
  line-height: 1.68;
  color: #ded9d0;
}

.finding__body > * + * {
  margin-top: 1rem;
}

.finding__source {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--text-faint);
}

.finding__source strong {
  color: var(--text-dim);
  font-weight: 600;
}

/* Callouts ----------------------------------------------------------------- */
.callout {
  margin-block: 2rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-600);
  border-radius: var(--radius);
  background: linear-gradient(168deg, rgba(32, 39, 50, 0.6), rgba(11, 15, 21, 0.8));
}

.callout__title {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 0.6rem;
}

.callout p {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dim);
}

.callout p + p {
  margin-top: 0.8rem;
}

.callout--teal {
  border-left-color: var(--teal-400);
}

.callout--teal .callout__title {
  color: #9fd4c9;
}

/* Sources ------------------------------------------------------------------ */
.sources {
  margin-top: 1.4rem;
  list-style: none;
  padding: 0;
  counter-reset: src;
}

.sources li {
  counter-increment: src;
  position: relative;
  padding: 0.85rem 0 0.85rem 2.4rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.sources li::before {
  content: counter(src, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.95rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-600);
}

.sources strong {
  display: block;
  color: var(--text);
  font-weight: 600;
}

.sources em {
  font-style: italic;
}

/* --------------------------------------------------------------------------
   14. Glossary
   -------------------------------------------------------------------------- */
.alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-block: 1.5rem 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  list-style: none;
  padding-inline: 0;
}

.alpha-nav a {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-dim);
}

.alpha-nav a:hover {
  border-color: var(--line-gold);
  color: var(--gold-200);
  background: rgba(201, 161, 90, 0.08);
}

.glossary-group {
  margin-top: 3rem;
  scroll-margin-top: 5.5rem;
}

.glossary-group__letter {
  font-size: var(--step-3);
  color: var(--gold-500);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}

.terms {
  margin-top: 1.5rem;
}

.terms dt {
  font-family: var(--font-display);
  font-size: 1.16rem;
  color: var(--text-strong);
  margin-top: 1.6rem;
}

.terms dd {
  margin: 0.5rem 0 0;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--text-dim);
  max-width: 62ch;
}

.terms dd a {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  margin-top: 4rem;
  padding-block: 3rem 2rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 12, 17, 0.6), rgba(6, 8, 11, 0.95));
}

.footer__top {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 56em) {
  .footer__top {
    grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

.footer__blurb {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 34ch;
  margin-top: 1rem;
}

.footer__group h2 {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 0.9rem;
}

.footer__group ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer__group a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: none;
}

.footer__group a:hover {
  color: var(--gold-200);
}

.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--text-faint);
}

.footer__bottom p {
  max-width: 68ch;
}

/* --------------------------------------------------------------------------
   16. Utility and page-specific
   -------------------------------------------------------------------------- */
.page-head {
  position: relative;
  padding-block: 2.5rem 2rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-head__title {
  font-size: var(--step-4);
  margin-top: 0.9rem;
  max-width: 30ch;
}

.page-head__lede {
  margin-top: 1.2rem;
  font-family: var(--font-serif);
  font-size: var(--step-1);
  line-height: 1.56;
  color: var(--text-dim);
  max-width: 60ch;
}

.page-head::after {
  content: '';
  position: absolute;
  right: -8%;
  top: -60%;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163, 124, 57, 0.13), transparent 62%);
  pointer-events: none;
}

.error-page {
  display: grid;
  place-items: center;
  min-height: 68vh;
  text-align: center;
  padding-block: 4rem;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 11rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-600);
  letter-spacing: 0.02em;
}

.error-page h1 {
  font-size: var(--step-3);
  margin-top: 1rem;
}

.error-page p {
  margin: 1.1rem auto 0;
  max-width: 48ch;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-dim);
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  margin-top: 2rem;
}

.info-card {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--highlight);
}

.info-card h2,
.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.info-card p {
  font-family: var(--font-serif);
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--text-dim);
}

.info-card p + p {
  margin-top: 0.7rem;
}

.info-card a {
  word-break: break-word;
}

.person {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--highlight);
}

.person__role {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.person__name {
  font-size: 1.24rem;
  margin-top: 0.4rem;
}

.person__bio {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-dim);
}

.person__bio p + p {
  margin-top: 0.7rem;
}

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

.divider-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--gold-700), transparent 70%);
  border: 0;
  margin-block: 2.5rem;
}

.to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 80;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  background: rgba(9, 12, 17, 0.9);
  backdrop-filter: blur(8px);
  color: var(--gold-300);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
}

.to-top[data-visible='true'] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reading-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300));
  transition: width 0.1s linear;
}

@media print {
  .masthead,
  .footer,
  .article-aside,
  .to-top,
  .reading-bar,
  .atmosphere {
    display: none !important;
  }
  body {
    background: #fff;
    color: #111;
  }
  .prose,
  .finding__body {
    color: #111;
  }
}
