:root {
  color-scheme: light;
  --paper: #f5f0e8;
  --card: #fffaf2;
  --ink: #242c37;
  --muted: #555e6a;
  --slate: #212833;
  --dark: #171d26;
  --soft: #c5cad2;
  --gold: #e4c88f;
  --line: #dad0c2;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img { display: block; width: 100%; height: auto; }
figure, h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.wrap { width: min(100% - clamp(2rem, 7.4vw, 8.5rem), 1250px); margin-inline: auto; }
.skip { position: fixed; top: .7rem; left: .7rem; z-index: 9; padding: .7rem 1rem; color: var(--dark); background: var(--paper); transform: translateY(-180%); }
.skip:focus { transform: none; }

.masthead { background: var(--dark); color: var(--paper); border-bottom: 1px solid #ffffff20; }
.masthead-inner { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.wordmark { display: inline-flex; gap: .65rem; align-items: center; white-space: nowrap; font: 1.14rem/1.2 var(--serif); text-decoration: none; }
.mark { color: var(--gold); font: 1.18rem/1 var(--sans); }
.nav, .languages { display: flex; align-items: center; flex-wrap: wrap; }
.nav { gap: clamp(.75rem, 2.5vw, 2rem); }
.nav a, .languages a { text-decoration: none; font-size: .82rem; font-weight: 550; }
.nav a { padding-block: .6rem; color: #e4e5e9; }
.nav a:hover, .nav a[aria-current] { color: var(--gold); text-decoration: underline; }
.languages { gap: .25rem; }
.languages a { padding: .36rem .46rem; border-radius: 4px; color: #d1d6de; }
.languages a:hover, .languages a[aria-current] { background: var(--gold); color: var(--dark); }

.hero { background: radial-gradient(ellipse at 78% 70%, #343d4b 0, var(--slate) 61%, var(--dark) 100%); color: var(--paper); }
.hero-grid { display: grid; grid-template-columns: .95fr 1.1fr; align-items: center; gap: clamp(1.3rem, 4vw, 4rem); padding-block: clamp(3.1rem, 6.5vw, 7rem); }
.hero-copy { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 740; }
.hero .eyebrow { color: var(--gold); }
.hero .eyebrow > span { width: 28px; height: 1px; background: currentColor; }
.hero h1 { margin: 1.1rem 0 1.35rem; font: 400 clamp(3.15rem, 6.2vw, 6.4rem)/.92 var(--serif); letter-spacing: -.062em; }
.hero h1 span { display: block; margin-top: .6em; color: var(--gold); font-size: .49em; font-style: italic; letter-spacing: -.038em; line-height: 1.02; }
.hero-intro { max-width: 40ch; color: #dce0e6; font-size: clamp(1rem, 1.45vw, 1.125rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 1.6rem; }
.hero-figure { position: relative; padding: .55rem; border: 1px solid #e4c88f64; }
.hero-figure img { aspect-ratio: 1.36; object-fit: cover; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 44px; padding: .65rem .94rem; border: 1px solid transparent; border-radius: 3px; font-size: .87rem; line-height: 1.3; font-weight: 650; text-decoration: none; text-align: center; }
.button-gold { background: var(--gold); color: var(--dark); }
.button-gold:hover { background: #f5dfab; }
.button-outline { border-color: #f5f0e869; color: var(--paper); }
.button-outline:hover { border-color: var(--gold); color: var(--gold); }
.button-dark { background: var(--slate); color: var(--paper); }
.button-dark:hover { background: #394555; }

.section-heading { margin-bottom: clamp(1.2rem, 2.7vw, 2.1rem); }
.section-heading h2 { font: 400 clamp(2rem, 4.1vw, 3.65rem)/1.05 var(--serif); letter-spacing: -.045em; }
.section-heading p { color: var(--muted); max-width: 66ch; margin-top: .55rem; }
.stages { padding-block: clamp(2.5rem, 5vw, 4rem); }
.stage-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.stage { display: block; padding: clamp(1rem, 2.2vw, 2rem); text-decoration: none; }
.stage + .stage { border-left: 1px solid var(--line); }
.stage:hover { background: var(--card); }
.stage h3 { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; font: 400 clamp(1.32rem, 2.4vw, 2rem)/1.14 var(--serif); }
.stage h3 span { color: #4b5c72; font: .95rem/1 var(--sans); }
.stage p { max-width: 33ch; margin-top: .55rem; color: var(--muted); font-size: .9rem; }

.notes-section { padding-block: clamp(2rem, 4.4vw, 4.3rem); }
#field-notes { scroll-margin-top: 1rem; }
.stages + .notes-section { border-top: 1px solid var(--line); }
.notes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.7rem); }
.note { display: flex; flex-direction: column; min-width: 0; background: var(--card); border: 1px solid var(--line); }
.note-image { display: block; overflow: hidden; }
.note-image img { aspect-ratio: 3/2; object-fit: cover; }
.note-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(1rem, 2vw, 1.65rem); }
.note-copy .eyebrow { color: #4a5b71; }
.note-copy h3 { margin-top: .48rem; font: 400 clamp(1.35rem, 2.15vw, 1.88rem)/1.12 var(--serif); letter-spacing: -.022em; }
.note-copy h3 a { text-decoration: none; }
.note-copy h3 a:hover { text-decoration: underline; }
.note-copy p { color: var(--muted); margin-top: .64rem; margin-bottom: 1rem; font-size: .91rem; }
.text-link { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; color: #344762; font-size: .82rem; font-weight: 650; }
.lead-note { grid-column: 1/-1; display: grid; grid-template-columns: 1.08fr .92fr; align-items: stretch; }
.lead-note .note-image img { height: 100%; }
.lead-note .note-copy { justify-content: center; padding: clamp(1.25rem, 4.25vw, 4.5rem); }
.lead-note .note-copy h3 { font-size: clamp(1.8rem, 3.15vw, 3.1rem); line-height: 1.07; }
.lead-note .text-link { margin-top: 0; }

.category-strip { background: var(--slate); color: var(--paper); }
.category-inner { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(1.35rem, 5vw, 5.7rem); padding-block: clamp(2.4rem, 5.7vw, 5rem); }
.category-inner .section-heading { margin: 0; }
.category-inner .section-heading p { color: #d8dce4; }
.category-controls { min-width: 0; }
.category-menu { width: 100%; margin-bottom: 1rem; color: var(--paper); }
.category-menu summary { display: flex; list-style: none; align-items: center; justify-content: space-between; gap: 1rem; padding: .72rem .85rem; border: 1px solid #f5f0e87f; border-radius: 3px; cursor: pointer; }
.category-menu summary::-webkit-details-marker { display: none; }
.category-menu[open] summary span { transform: rotate(180deg); }
.category-menu ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; padding: .75rem; gap: .4rem 1rem; background: #303a4a; border: 1px solid #f5f0e82c; }
.category-menu li a { display: block; padding: .28rem 0; font-size: .88rem; }
.category-links { display: flex; flex-wrap: wrap; gap: .45rem; }
.category-link { min-height: 42px; display: inline-flex; align-items: center; gap: .5em; padding: .46rem .7rem; font-size: .84rem; border: 1px solid #f5f0e866; border-radius: 3px; text-decoration: none; }
.category-link:hover { border-color: var(--gold); color: var(--gold); }

.section-pad, .home-guides, .related { padding-block: clamp(2.35rem, 5.4vw, 5.3rem); }
.guide-list { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.guide-list li { border-bottom: 1px solid var(--line); }
.guide-list a { display: flex; gap: 1rem; justify-content: space-between; padding: 1rem .15rem; text-decoration: none; }
.guide-list a:hover strong { text-decoration: underline; }
.guide-list strong { display: block; font: 400 clamp(1.19rem, 2vw, 1.55rem)/1.2 var(--serif); }
.guide-summary { display: block; margin-top: .38rem; color: var(--muted); font-size: .9rem; }
.guide-list + .button { margin-top: 1.3rem; }
.guide-index { display: grid; gap: clamp(2.2rem, 5vw, 4.3rem); }
.guide-index + .notes-section { border-top: 1px solid var(--line); }

.page-intro { background: var(--slate); color: var(--paper); padding-block: clamp(1.8rem, 4.5vw, 4rem); }
.crumbs { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .62rem; color: #d8dde6; margin-bottom: 1.35rem; font-size: .82rem; }
.crumbs a:hover { color: var(--gold); }
.page-intro .eyebrow { color: var(--gold); margin-bottom: .55rem; }
.page-intro h1 { max-width: 23ch; margin-bottom: .85rem; overflow-wrap: anywhere; font: 400 clamp(2.25rem, 5.8vw, 5.3rem)/1.01 var(--serif); letter-spacing: -.048em; }
.page-description { max-width: 67ch; color: #dce0e6; font-size: clamp(.98rem, 1.8vw, 1.14rem); }
.editorial-body { padding-top: clamp(1.65rem, 4.2vw, 3.7rem); }
.editorial-photo { max-width: 880px; margin-inline: auto; margin-bottom: clamp(1.4rem, 3vw, 2.7rem); border: 1px solid var(--line); }
.prose { max-width: 68ch; margin-inline: auto; overflow-wrap: anywhere; }
.prose .standfirst { font: 400 clamp(1.25rem, 2.3vw, 1.65rem)/1.48 var(--serif); }
.prose section { margin-top: 1.95rem; }
.prose section:first-child { margin-top: 0; }
.prose h2 { margin-bottom: .52rem; font: 400 clamp(1.45rem, 2.65vw, 2.1rem)/1.14 var(--serif); }
.prose p + p { margin-top: .9rem; }
.related { max-width: 850px; }
.faq-list details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font: 400 clamp(1.13rem, 2.3vw, 1.6rem)/1.25 var(--serif); }
.faq-list p { margin-top: .65rem; }

.footer { background: var(--dark); color: var(--paper); }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 1.3rem 2.2rem; align-items: center; padding-block: 2.25rem; }
.footer p { max-width: 38ch; margin-top: .45rem; color: #d1d6de; font-size: .83rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .45rem 1rem; font-size: .83rem; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { text-decoration: underline; }
.footer .button { justify-self: start; }

@media (max-width: 840px) {
  .masthead-inner { display: grid; grid-template-columns: 1fr auto; gap: .27rem 1rem; padding-block: .75rem .55rem; }
  .nav { grid-row: 2; grid-column: 1/-1; }
  .languages { grid-row: 1; grid-column: 2; }
  .hero-grid { gap: 1.45rem; }
  .notes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hero-grid, .category-inner { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 2.7rem 1.8rem; }
  .hero h1 { font-size: clamp(3.12rem, 11vw, 5.1rem); }
  .hero-figure img { aspect-ratio: 1.58; }
  .stage-grid { grid-template-columns: 1fr; }
  .stage + .stage { border-left: 0; border-top: 1px solid var(--line); }
  .lead-note { grid-template-columns: 1fr; }
  .lead-note .note-image img { aspect-ratio: 1.65; }
  .footer-inner { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 470px) {
  .notes-grid { grid-template-columns: 1fr; }
  .wordmark { font-size: 1.02rem; }
  .nav { gap: .5rem 1.05rem; }
  .nav a { font-size: .78rem; }
  .languages a { padding-inline: .36rem; }
}
@media print {
  body { background: #fff; color: #222; }
  .masthead, .footer, .related, .skip, .crumbs { display: none; }
  .page-intro { background: #fff; color: #222; }
  .page-intro .eyebrow, .page-description { color: #333; }
  .page-intro h1 { font-size: 2.25rem; }
  .prose section { break-inside: avoid; }
}
