:root {
  --indigo: #2C3A6B;
  --brass: #B8956A;
  --ash: #E8E6E1;
  --ink: #1A1F2E;
  --mute: #4E5568;
  --edge: #3D4F8C;
  --foam: #F5F4F1;
  --display: "DM Serif Display", "Times New Roman", serif;
  --body: "Outfit", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); font-family: var(--body); line-height: 1.65;
  background:
    radial-gradient(85% 65% at 94% 10%, rgba(184, 149, 106, 0.18), transparent 52%),
    radial-gradient(70% 55% at 6% 88%, rgba(44, 58, 107, 0.12), transparent 50%),
    linear-gradient(172deg, var(--ash) 0%, #ddd9d2 42%, var(--ash) 100%);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--edge); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--brass); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.skip {
  position: absolute; left: 0.75rem; top: -3rem; background: var(--indigo); color: var(--ash);
  padding: 0.4rem 0.7rem; z-index: 5; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.skip:focus { top: 0.75rem; }
.mast {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid rgba(44, 58, 107, 0.14);
  background: rgba(232, 230, 225, 0.9); backdrop-filter: blur(7px);
  position: sticky; top: 0; z-index: 3;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.65rem; color: var(--indigo);
  text-decoration: none; font-family: var(--display); font-size: 1.25rem;
}
.brand-mark { width: 1.55rem; height: 1.55rem; flex-shrink: 0; }
.nav { display: flex; flex-wrap: wrap; gap: 0.85rem 1.15rem; font-size: 0.78rem; letter-spacing: 0.07em; text-transform: uppercase; font-weight: 500; }
.nav a { color: var(--indigo); text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: 0.1rem; }
.nav a[aria-current="page"], .nav a:hover { border-bottom-color: var(--brass); color: var(--ink); }

.hero {
  position: relative; min-height: min(92vh, 54rem);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(14rem, 0.7fr);
  align-items: end; gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4rem);
  overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(232, 230, 225, 0.95) 0%, rgba(232, 230, 225, 0.45) 46%, rgba(44, 58, 107, 0.22) 100%),
    repeating-linear-gradient(0deg, transparent 0, transparent 31px, rgba(44, 58, 107, 0.035) 31px, rgba(44, 58, 107, 0.035) 32px);
}
.hero-copy { max-width: 34rem; padding-bottom: 0.5rem; }
.hero-brand {
  margin: 0 0 1rem; font-family: var(--display); font-size: clamp(2.6rem, 7vw, 4.5rem);
  line-height: 1.02; letter-spacing: -0.015em; color: var(--indigo);
}
.hero-brand span {
  display: block; font-family: var(--body); font-size: 0.26em; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); margin-bottom: 0.5rem;
}
.hero h1 {
  margin: 0 0 0.85rem; font-family: var(--display); font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 400; line-height: 1.25; color: var(--ink); max-width: 22ch;
}
.hero-lede { margin: 0 0 1.5rem; max-width: 38ch; color: var(--mute); font-size: 1.02rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }
.cta {
  display: inline-flex; align-items: center; padding: 0.7rem 1.15rem;
  background: var(--indigo); color: var(--ash); text-decoration: none;
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--indigo); transition: transform 0.28s ease, background-color 0.28s ease;
}
.cta:hover { background: var(--edge); border-color: var(--edge); color: var(--foam); transform: translateY(-2px); }
.cta-ghost { background: transparent; color: var(--indigo); }
.cta-ghost:hover { background: rgba(44, 58, 107, 0.07); color: var(--indigo); border-color: var(--indigo); }

.plane-stage { align-self: stretch; display: flex; align-items: flex-end; justify-content: center; min-height: 20rem; }
.plane-svg { width: min(100%, 18rem); height: auto; filter: drop-shadow(0 18px 28px rgba(26, 31, 46, 0.18)); }
.shaving { animation: shave-slide 6.2s ease-in-out infinite; transform-origin: left center; }
.mouth-glow { animation: mouth-pulse 6.2s ease-in-out infinite; }
@keyframes shave-slide {
  0%, 100% { transform: translateX(0) rotate(-8deg); opacity: 0.55; }
  50% { transform: translateX(10px) rotate(-4deg); opacity: 1; }
}
@keyframes mouth-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .shaving, .mouth-glow { animation: none; }
  html { scroll-behavior: auto; }
}

.board { width: min(46rem, calc(100% - 2rem)); margin: 0 auto; padding: clamp(2rem, 5vw, 3.25rem) 0 1rem; }
.section { margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section h2 { margin: 0 0 0.65rem; font-family: var(--display); font-size: clamp(1.35rem, 2.4vw, 1.75rem); color: var(--indigo); }
.section > p { margin: 0 0 1.25rem; color: var(--mute); max-width: 42rem; }
.trim-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(44, 58, 107, 0.16); }
.trim-list li {
  display: grid; grid-template-columns: 4.8rem minmax(0, 1fr); gap: 1rem;
  padding: 1.15rem 0; border-bottom: 1px solid rgba(44, 58, 107, 0.16);
}
.trim-list .trim-num {
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brass); padding-top: 0.35rem; font-weight: 600;
}
.trim-list a {
  font-family: var(--display); font-size: 1.15rem; color: var(--indigo); text-decoration: none;
}
.trim-list a:hover { color: var(--brass); }
.trim-list p { margin: 0.35rem 0 0; color: var(--mute); font-size: 0.95rem; }
.rules { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.85rem; }
.rules li { position: relative; padding-left: 1.4rem; color: var(--mute); }
.rules li::before {
  content: ""; position: absolute; left: 0; top: 0.55rem; width: 0.65rem; height: 2px; background: var(--brass);
}
.article-head { margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(44, 58, 107, 0.14); }
.kicker { margin: 0 0 0.45rem; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.article-head h1 { margin: 0 0 0.55rem; font-family: var(--display); font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.2; color: var(--indigo); }
.meta { margin: 0; font-size: 0.72rem; letter-spacing: 0.05em; color: var(--mute); }
.prose { max-width: 40rem; }
.prose p, .prose li { color: var(--mute); }
.prose h2 { margin: 1.75rem 0 0.55rem; font-family: var(--display); font-size: 1.25rem; color: var(--indigo); }
.prose ul { padding-left: 1.15rem; }
.back {
  display: inline-block; margin-top: 1.5rem; font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; color: var(--indigo); font-weight: 600;
}
.miss { padding: 3rem 0 2rem; max-width: 28rem; }
.miss h1 { margin: 0 0 0.75rem; font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2rem); color: var(--indigo); }
.miss p { color: var(--mute); }
.foot {
  margin-top: 2rem; padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 2.25rem;
  border-top: 1px solid rgba(44, 58, 107, 0.14); background: rgba(44, 58, 107, 0.05);
}
.foot nav {
  display: flex; flex-wrap: wrap; gap: 0.65rem 1.1rem; margin-bottom: 0.85rem;
  font-size: 0.7rem; letter-spacing: 0.07em; text-transform: uppercase; font-weight: 500;
}
.foot a { color: var(--indigo); text-decoration: none; }
.foot a:hover { color: var(--brass); }
.foot .note { margin: 0; font-size: 0.88rem; color: var(--mute); }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; min-height: auto; align-items: start; }
  .plane-stage { order: -1; min-height: 14rem; max-height: 20rem; }
  .plane-svg { width: min(100%, 14rem); }
  .trim-list li { grid-template-columns: 3.6rem minmax(0, 1fr); gap: 0.75rem; }
}
