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

:root {
  --night: #0b1115;
  --deep: #111b22;
  --blue: #162832;
  --paper: #f7f1e8;
  --paper-2: #ebe1d4;
  --ink: #171615;
  --muted: #817469;
  --gold: #bc9555;
  --gold-soft: #d7bc83;
  --sage: #8ea899;
  --line-dark: rgba(247, 241, 232, 0.15);
  --line-paper: rgba(23, 22, 21, 0.14);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--night);
  color: var(--paper);
  font-family: 'Libre Baskerville', Georgia, serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.masthead {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 58px;
  background: linear-gradient(to bottom, rgba(11, 17, 21, 0.92), rgba(11, 17, 21, 0));
  pointer-events: none;
}

.mast-logo,
.mast-state,
.kicker,
.meta-label,
.eyebrow,
.aside-title,
.button,
.footer,
.series-mark {
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.mast-logo {
  font-size: 10px;
  font-weight: 300;
  color: rgba(247, 241, 232, 0.84);
  pointer-events: auto;
  text-decoration: none;
}

.mast-logo span { color: var(--gold-soft); font-weight: 700; }

.mast-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.45;
}

.mast-rule { width: 34px; height: 1px; background: var(--gold); }
.mast-mark { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }

.mast-state {
  font-size: 8px;
  color: rgba(247, 241, 232, 0.48);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 18%, rgba(215, 188, 131, 0.18), transparent 28%),
    radial-gradient(circle at 15% 20%, rgba(142, 168, 153, 0.11), transparent 30%),
    linear-gradient(132deg, #071014 0%, #0b1115 45%, #152731 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(11, 17, 21, 0.08), rgba(11, 17, 21, 0.82) 76%, var(--night)),
    linear-gradient(105deg, rgba(11, 17, 21, 0.92), rgba(11, 17, 21, 0.5) 52%, rgba(11, 17, 21, 0.14));
}

.hero-lines {
  position: absolute;
  inset: auto 0 16vh;
  z-index: 1;
  height: 112px;
  opacity: 0.26;
  background:
    linear-gradient(to right, transparent, rgba(215, 188, 131, 0.74), transparent) 0 12px / 100% 1px no-repeat,
    linear-gradient(to right, transparent, rgba(215, 188, 131, 0.48), transparent) 0 38px / 100% 1px no-repeat,
    linear-gradient(to right, transparent, rgba(215, 188, 131, 0.28), transparent) 0 64px / 100% 1px no-repeat,
    linear-gradient(to right, transparent, rgba(215, 188, 131, 0.16), transparent) 0 90px / 100% 1px no-repeat;
}

.hero-figure {
  position: absolute;
  right: min(8vw, 110px);
  top: 18vh;
  z-index: 1;
  width: min(34vw, 420px);
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(215, 188, 131, 0.24);
  background:
    linear-gradient(135deg, rgba(247, 241, 232, 0.08), rgba(247, 241, 232, 0)),
    repeating-linear-gradient(90deg, rgba(215, 188, 131, 0.12) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(247, 241, 232, 0.07) 0 1px, transparent 1px 44px);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.28);
  opacity: 0.58;
}

.hero-figure::before,
.hero-figure::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(215, 188, 131, 0.32);
}

.hero-figure::before { inset: 12%; }
.hero-figure::after { inset: 28% 18%; border-color: rgba(247, 241, 232, 0.18); }

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 116px));
  margin: 0 auto;
  padding: 148px 0 78px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  color: var(--gold-soft);
  font-size: 9px;
  font-weight: 600;
}

.kicker::before {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  max-width: 990px;
  margin: 0;
  color: var(--paper);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(54px, 9vw, 126px);
  font-weight: 300;
  line-height: 0.89;
  letter-spacing: -1.5px;
}

.hero-dek {
  max-width: 720px;
  margin: 30px 0 0;
  color: rgba(247, 241, 232, 0.78);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(21px, 2.2vw, 31px);
  font-style: italic;
  line-height: 1.42;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(850px, 100%);
  margin-top: 42px;
  border: 1px solid rgba(247, 241, 232, 0.16);
  background: rgba(247, 241, 232, 0.08);
  backdrop-filter: blur(12px);
}

.meta-item { padding: 18px 20px; }
.meta-item + .meta-item { border-left: 1px solid rgba(247, 241, 232, 0.12); }

.meta-label {
  display: block;
  margin-bottom: 8px;
  color: rgba(215, 188, 131, 0.8);
  font-size: 8px;
  font-weight: 700;
}

.meta-value {
  display: block;
  color: rgba(247, 241, 232, 0.86);
  font-size: 14px;
  line-height: 1.35;
}

.intro-band {
  background: var(--night);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.intro-inner {
  width: min(1060px, calc(100% - 52px));
  margin: 0 auto;
  padding: 72px 0;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 54px;
  align-items: start;
}

.intro-small {
  margin: 0;
  color: rgba(247, 241, 232, 0.54);
  font-size: 14px;
  line-height: 1.8;
}

.intro-statement {
  margin: 0;
  color: var(--paper);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(34px, 4.3vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.5px;
}

.intro-statement em { color: var(--gold-soft); }

.paper {
  background:
    radial-gradient(circle at 12% 0%, rgba(215, 188, 131, 0.18), transparent 28%),
    linear-gradient(180deg, #fbf7ef, var(--paper));
  color: var(--ink);
}

.article-shell {
  width: min(1130px, calc(100% - 52px));
  margin: 0 auto;
  padding: 86px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  gap: 78px;
  align-items: start;
}

.article-body {
  color: #1f1d1a;
  font-size: 19px;
  line-height: 1.82;
}

.article-body > h1:first-child,
.article-body > h1:first-child + h2,
.article-body > h1:first-child + h2 + p,
.article-body > h1:first-child + h2 + p + hr {
  display: none;
}

.article-body h2 {
  margin: 72px 0 22px;
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(40px, 4.5vw, 68px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.8px;
}

.article-body h3 {
  margin: 44px 0 14px;
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
}

.article-body p { margin: 0 0 1.24em; }
.article-body ul, .article-body ol { margin: 0 0 1.4em; padding-left: 1.25em; }
.article-body li { margin: 0 0 0.55em; padding-left: 0.2em; }

.article-body strong { color: #0e0f10; }

.article-body p:nth-of-type(1) {
  color: var(--gold);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(31px, 3.7vw, 55px);
  line-height: 1.02;
  letter-spacing: -0.4px;
}

.article-body p:nth-of-type(2) {
  color: #302923;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 3.3vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.3px;
}

.article-body p:has(strong):not(:has(a)) {
  margin: 42px 0;
  padding: 34px 38px;
  border-left: 3px solid var(--gold);
  background: #efe5d7;
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.08;
}

.article-body a { color: #755326; }

.article-body h2[id*="source-notes"] {
  margin-top: 88px;
  padding-top: 38px;
  border-top: 1px solid var(--line-paper);
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.article-body h2[id*="source-notes"] ~ ul,
.article-body h2[id*="source-notes"] ~ p {
  color: #62594f;
  font-size: 14px;
  line-height: 1.7;
}

.aside {
  position: sticky;
  top: 94px;
  padding: 26px;
  border: 1px solid var(--line-paper);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 20px 70px rgba(23, 22, 21, 0.08);
}

.aside-title {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
}

.aside-line {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px;
  line-height: 1.06;
}

.aside-note {
  margin: 0;
  color: #62594f;
  font-size: 13px;
  line-height: 1.7;
}

.closing {
  background: var(--night);
  color: var(--paper);
  border-top: 1px solid var(--line-dark);
}

.closing-inner {
  width: min(940px, calc(100% - 52px));
  margin: 0 auto;
  padding: 78px 0 84px;
}

.closing h2 {
  margin: 0 0 18px;
  color: var(--paper);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(42px, 5.5vw, 82px);
  font-weight: 300;
  line-height: 0.95;
}

.closing p {
  max-width: 720px;
  color: rgba(247, 241, 232, 0.68);
  font-size: 16px;
  line-height: 1.85;
}

.signature {
  margin-top: 40px;
  color: var(--gold-soft);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 42px;
  font-style: italic;
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(215, 188, 131, 0.55);
  color: var(--paper);
  text-decoration: none;
  font-size: 9px;
  font-weight: 700;
}

.button:hover { background: rgba(215, 188, 131, 0.12); }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 58px;
  background: #070c10;
  color: rgba(247, 241, 232, 0.44);
  font-size: 8px;
}

.series-cover .hero { min-height: 92svh; }
.series-cover .hero h1 { max-width: 1040px; }

.feature-grid {
  width: min(1120px, calc(100% - 52px));
  margin: 0 auto;
  padding: 78px 0 92px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  min-height: 420px;
  padding: 34px;
  border: 1px solid var(--line-paper);
  background: rgba(255, 255, 255, 0.44);
  display: flex;
  flex-direction: column;
}

.feature-card h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(38px, 4.2vw, 62px);
  font-weight: 300;
  line-height: 0.96;
}

.feature-card p {
  color: #4f463f;
  font-size: 16px;
  line-height: 1.75;
}

.feature-card .button {
  margin-top: auto;
  width: max-content;
  color: var(--ink);
  border-color: rgba(188, 149, 85, 0.55);
}

.quote-band {
  background: var(--night);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.quote-grid {
  width: min(1120px, calc(100% - 52px));
  margin: 0 auto;
  padding: 76px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.quote-card {
  padding: 24px;
  border: 1px solid var(--line-dark);
  color: rgba(247, 241, 232, 0.82);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  line-height: 1.08;
}

@media (max-width: 980px) {
  .masthead { padding: 18px 24px; }
  .mast-center, .mast-state { display: none; }
  .hero-content { width: min(100% - 42px, 1120px); padding-top: 126px; }
  .hero-figure { opacity: 0.22; right: -80px; width: 54vw; }
  .hero-meta, .intro-inner, .article-shell, .feature-grid, .quote-grid { grid-template-columns: 1fr; }
  .meta-item + .meta-item { border-left: 0; border-top: 1px solid rgba(247, 241, 232, 0.12); }
  .article-shell { gap: 42px; }
  .aside { position: static; order: -1; }
  .footer { padding: 26px 24px; flex-direction: column; }
}

@media (max-width: 620px) {
  .hero { min-height: 88svh; }
  .hero h1 { font-size: clamp(52px, 16vw, 82px); }
  .hero-dek { font-size: 21px; }
  .intro-inner, .article-shell, .feature-grid, .quote-grid, .closing-inner { width: min(100% - 32px, 1120px); }
  .intro-statement { font-size: 34px; }
  .article-body { font-size: 16px; line-height: 1.82; }
  .article-body h2 { margin-top: 52px; }
  .article-body p:has(strong):not(:has(a)) { padding: 26px 24px; }
  .feature-card { min-height: auto; padding: 26px; }
}
