:root {
  --navy: #082b49;
  --navy-deep: #061f36;
  --blue: #1d5575;
  --red: #b6303b;
  --red-dark: #8f2530;
  --gold: #c9a76a;
  --gold-pale: #ead9b7;
  --cream: #f6f1e8;
  --paper: #fffdf8;
  --ink: #183244;
  --muted: #667884;
  --line: #d9e0df;
  --soft-blue: #eaf2f3;
  --font-display: 'Crimson Pro', serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --shadow: 0 1.25rem 3.5rem rgba(8, 43, 73, .1);
  --shell: min(92vw, 1180px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; }
button, input { font: inherit; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 5; background: var(--red); color: white; padding: .65rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { background: var(--navy); color: white; position: relative; z-index: 2; }
.header-inner { width: var(--shell); min-height: 6.25rem; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; min-width: 0; }
.brand-mark { width: 3rem; height: 3rem; flex: 0 0 3rem; }
.brand-text { display: grid; line-height: 1; gap: .28rem; }
.brand-name { font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; letter-spacing: -.02em; }
.brand-subtitle { color: var(--gold-pale); font-family: var(--font-mono); font-size: .59rem; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 1.35rem; }
.primary-nav a { color: #eef5f4; text-decoration: none; font-size: .84rem; font-weight: 700; letter-spacing: .02em; padding: .5rem 0; border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--gold-pale); border-color: var(--red); }
.menu-toggle { display: none; border: 1px solid rgba(255,255,255,.35); background: transparent; color: white; padding: .55rem .7rem; }

.page-shell { width: var(--shell); margin: 0 auto; }
.rail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 11.5rem; gap: 3rem; align-items: start; padding: 3rem 0 5rem; }
.rail-layout:has([data-side-links][hidden]) { grid-template-columns: minmax(0, 1fr); }
[data-side-links][hidden] { display: none; }
.side-links { border-left: 1px solid var(--gold); padding: .2rem 0 0 1.1rem; position: sticky; top: 1.5rem; }
.side-links h2 { color: var(--red); font-family: var(--font-mono); font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1rem; }
.side-links ol { list-style: none; margin: 0; padding: 0; }
.side-links li { border-top: 1px solid var(--line); padding: .75rem 0; }
.side-links a { color: var(--blue); font-size: .78rem; font-weight: 700; text-decoration: none; }
.side-links a:hover { color: var(--red); }

.eyebrow { color: var(--red); font-family: var(--font-mono); font-size: .68rem; font-weight: 700; letter-spacing: .15em; line-height: 1.3; text-transform: uppercase; }
.display-title { color: var(--navy); font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 5.6rem); font-weight: 600; letter-spacing: -.045em; line-height: .96; margin: .9rem 0 1.2rem; max-width: 11ch; }
.lede { color: #456070; font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.5; max-width: 40rem; }
.button { align-items: center; background: var(--red); color: white; display: inline-flex; font-size: .78rem; font-weight: 800; gap: .55rem; justify-content: center; letter-spacing: .04em; padding: .85rem 1.15rem; text-decoration: none; transition: background .2s, transform .2s; }
.button:hover { background: var(--red-dark); transform: translateY(-2px); }
.button.secondary { background: transparent; border: 1px solid var(--navy); color: var(--navy); }
.button.secondary:hover { background: var(--navy); color: white; }
.link-arrow { color: var(--red); font-weight: 800; text-decoration: none; }
.link-arrow::after { content: '  →'; }

.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .93fr) minmax(21rem, 1.07fr); min-height: 37rem; }
.hero-copy { align-self: center; padding: 4.5rem clamp(1rem, 5vw, 5rem) 4.5rem 0; }
.hero-copy .lede { margin: 0 0 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-art { min-height: 30rem; overflow: hidden; position: relative; }
.hero-art::after { background: linear-gradient(135deg, rgba(8,43,73,.08), rgba(182,48,59,.2)); content: ''; inset: 0; mix-blend-mode: multiply; position: absolute; }
.hero-art img { display: block; height: 100%; object-fit: cover; object-position: 54% center; width: 100%; }
.hero-ribbon { background: var(--navy); bottom: 1.2rem; color: white; left: -1px; padding: 1rem 1.2rem 1rem 1.4rem; position: absolute; width: min(78%, 19rem); z-index: 1; }
.hero-ribbon strong { display: block; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.05; }
.hero-ribbon span { color: var(--gold-pale); display: block; font-size: .72rem; margin-top: .35rem; }

.section { padding: 4rem 0 0; }
.section-heading { align-items: end; display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; }
.section-heading h2 { color: var(--navy); font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 600; letter-spacing: -.035em; line-height: 1; margin: .45rem 0 0; }
.section-heading p { color: var(--muted); font-size: .82rem; margin: 0; max-width: 18rem; text-align: right; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); align-items: start; gap: 1.4rem; }
.story-card { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.story-card:hover { box-shadow: var(--shadow); }
.story-image { aspect-ratio: 1.55; background: var(--soft-blue); display: block; overflow: hidden; position: relative; }
.story-image img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.story-card > :not(.story-image) { margin-left: 1.15rem; margin-right: 1.15rem; }
.story-meta { align-items: center; display: flex; flex-wrap: wrap; gap: .5rem .75rem; margin-top: 1rem; }
.category-label { color: var(--red); font-family: var(--font-mono); font-size: .61rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.story-date { color: var(--muted); font-size: .68rem; }
.story-card h3 { color: var(--navy); font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.05; margin-bottom: .55rem; margin-top: .65rem; }
.story-card h3 a { text-decoration: none; }
.story-card h3 a:hover { color: var(--red); }
.story-card p { color: var(--muted); font-size: .82rem; line-height: 1.55; margin-bottom: 1.35rem; }
.story-author { align-items: center; display: flex; gap: .5rem; margin-bottom: 1.1rem; }
.story-author-avatar { border-radius: 50%; height: 1.5rem; object-fit: cover; width: 1.5rem; }
.story-author-name { color: var(--blue); font-size: .7rem; font-weight: 700; }
.empty-state { color: var(--muted); font-size: .9rem; margin: 0; padding: 1.25rem; }

.feature-band { background: var(--navy); color: white; margin-top: 4.5rem; padding: 3.3rem 0; }
.feature-band .section-heading h2, .feature-band .eyebrow { color: white; }
.feature-band .section-heading p { color: #b7c9d0; }
.feature-band .news-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.feature-band .story-card { background: transparent; border-color: rgba(255,255,255,.2); }
.feature-band .story-image { aspect-ratio: 1.75; }
.feature-band .story-card h3 { color: white; }
.feature-band .story-card p { color: #b7c9d0; }
.feature-band .category-label { color: var(--gold-pale); }

.invite { background: var(--gold-pale); margin-top: 4.5rem; padding: 3.4rem clamp(1.3rem, 4vw, 4rem); }
.invite-grid { align-items: center; display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr) auto; }
.invite h2 { color: var(--navy); font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1; margin: .4rem 0 .7rem; max-width: 14ch; }
.invite p { color: #4a5b5f; margin: 0; max-width: 38rem; }

.page-intro { background: var(--paper); border-bottom: 1px solid var(--line); padding: 4rem 0 3.2rem; }
.page-intro h1 { color: var(--navy); font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); font-weight: 600; letter-spacing: -.05em; line-height: .95; margin: .7rem 0 1rem; max-width: 12ch; }
.page-intro p { color: var(--muted); font-size: 1.1rem; max-width: 40rem; }
.content-section { padding: 3.5rem 0 0; }
.content-section h2 { color: var(--navy); font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; margin: 0 0 1rem; }
.content-section h3 { color: var(--navy); font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; margin: 0 0 .5rem; }
.content-section p { color: #4e626d; max-width: 45rem; }
.split-section { align-items: center; display: grid; gap: clamp(2rem, 6vw, 6rem); grid-template-columns: minmax(0, 1fr) minmax(18rem, .85fr); }
.split-section.reverse { grid-template-columns: minmax(18rem, .85fr) minmax(0, 1fr); }
.section-image { aspect-ratio: 1.12; background: var(--soft-blue); overflow: hidden; }
.section-image img { display: block; height: 100%; object-fit: cover; width: 100%; }
.pull-quote { border-left: 4px solid var(--red); color: var(--navy); font-family: var(--font-display); font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.13; margin: 1.7rem 0; padding-left: 1.3rem; }
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.principle { background: var(--paper); padding: 1.5rem; }
.principle-number { color: var(--red); font-family: var(--font-mono); font-size: .75rem; }
.principle h3 { margin-top: .8rem; }
.principle p { font-size: .84rem; margin: 0; }

.membership-card { background: var(--navy); color: white; display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, .7fr); overflow: hidden; }
.membership-card .card-copy { padding: clamp(1.5rem, 4vw, 3rem); }
.membership-card h2 { color: white; margin-top: .6rem; }
.membership-card p { color: #c3d2d4; }
.membership-card .section-image { aspect-ratio: auto; min-height: 20rem; }
.membership-card .section-image img { object-position: 58% center; }
.benefit-list { border-top: 1px solid rgba(255,255,255,.22); list-style: none; margin: 1.8rem 0 0; padding: 0; }
.benefit-list li { border-bottom: 1px solid rgba(255,255,255,.22); padding: .7rem 0 .7rem 1.7rem; position: relative; }
.benefit-list li::before { color: var(--gold-pale); content: '✦'; left: 0; position: absolute; }
.faq-list { border-top: 1px solid var(--line); margin: 1.5rem 0 0; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-list summary { color: var(--navy); cursor: pointer; font-weight: 800; }
.faq-list p { font-size: .9rem; margin: .7rem 0 0; }

.archive-tools { background: var(--paper); border: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; margin-bottom: 2rem; padding: 1rem; }
.archive-tools input { background: var(--cream); border: 1px solid var(--line); color: var(--ink); min-width: min(100%, 20rem); padding: .75rem 1rem; }
.filter-list { align-items: center; display: flex; flex-wrap: wrap; gap: .45rem; }
.filter-list a, .filter-list button { background: var(--soft-blue); border: 0; color: var(--blue); cursor: pointer; font-size: .7rem; font-weight: 800; padding: .55rem .75rem; text-decoration: none; }
.archive-results { display: grid; gap: 1rem; }
.archive-results .story-card { display: grid; grid-template-columns: minmax(9rem, .3fr) minmax(0, 1fr); }
.archive-results .story-image { aspect-ratio: 1.4; grid-row: span 2; }
.archive-results .story-card > :not(.story-image) { margin-left: 1.25rem; margin-right: 1.25rem; }
.archive-results .story-card h3 { font-size: 1.8rem; }

.article-layout { padding-top: 3rem; }
.byline { align-items: center; background: var(--paper); border: 1px solid var(--line); display: flex; gap: .8rem; margin: 0 0 1.5rem; max-width: 47rem; padding: .7rem 1rem; }
.byline[hidden] { display: none; }
.byline img { border-radius: 50%; height: 2.8rem; object-fit: cover; width: 2.8rem; }
.byline strong { color: var(--navy); display: block; font-size: .8rem; }
.byline p { color: var(--muted); font-size: .73rem; margin: .15rem 0 0; }
#article-content { max-width: 47rem; }
.article-header h1 { color: var(--navy); font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 5.4rem); font-weight: 600; letter-spacing: -.05em; line-height: .95; margin: .75rem 0 1rem; }
.article-deck { color: var(--muted); font-size: 1.15rem; line-height: 1.5; }
.article-cover { margin: 2rem 0; }
.article-cover img { display: block; max-height: 34rem; object-fit: cover; width: 100%; }
.prose { background: var(--paper); padding: clamp(1.2rem, 4vw, 3rem); }
.prose p, .prose li { color: #304b5a; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.8; }
.prose p { margin: 0 0 1.45rem; }
.prose h2, .prose h3 { color: var(--navy); font-family: var(--font-display); line-height: 1.1; }
.prose h2 { font-size: 2.2rem; margin: 2.2rem 0 .8rem; }
.prose h3 { font-size: 1.55rem; margin: 1.7rem 0 .65rem; }
.prose a { color: var(--red-dark); text-decoration: underline; text-decoration-thickness: .12em; text-underline-offset: .18em; }
.prose a:hover { color: var(--blue); }
.prose blockquote { border-left: 4px solid var(--gold); color: var(--navy); font-family: var(--font-display); font-size: 1.6rem; line-height: 1.25; margin: 2rem 0; padding-left: 1rem; }
.prose img.article-inline { display: block; margin: 2rem 0; width: 100%; }

.not-found { align-items: start; min-height: 55vh; padding-top: 5rem; }
.not-found h1 { color: var(--navy); font-family: var(--font-display); font-size: clamp(4rem, 11vw, 8rem); line-height: .8; margin: .8rem 0 1.4rem; }
.not-found p { color: var(--muted); max-width: 31rem; }

.site-footer { background: var(--navy-deep); color: white; margin-top: 5rem; padding: 3.2rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 2rem; }
.site-footer .brand-name { color: white; }
.site-footer p { color: #afc2c7; font-size: .78rem; max-width: 18rem; }
.site-footer h2 { color: var(--gold-pale); font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: .4rem 0; }
.footer-links a { color: #eaf2f0; font-size: .78rem; text-decoration: none; }
.footer-links a:hover { color: var(--gold-pale); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); color: #8ea8ae; display: flex; font-size: .68rem; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.1rem; }

@media (max-width: 820px) {
  .header-inner { min-height: 5.5rem; }
  .menu-toggle { display: block; }
  .primary-nav { background: var(--navy); display: none; flex-direction: column; align-items: stretch; gap: 0; left: 0; padding: .6rem var(--shell) 1.2rem; position: absolute; right: 0; top: 100%; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { border-bottom: 1px solid rgba(255,255,255,.14); padding: .9rem 0; }
  .rail-layout, .rail-layout:has([data-side-links][hidden]) { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .side-links { position: static; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 3.5rem 0 3rem; }
  .hero-art { min-height: 23rem; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-heading p { text-align: left; }
  .invite-grid, .split-section, .split-section.reverse { grid-template-columns: 1fr; }
  .split-section .section-image, .split-section.reverse .section-image { grid-row: 1; }
  .membership-card { grid-template-columns: 1fr; }
  .membership-card .section-image { min-height: 18rem; }
  .archive-results .story-card { grid-template-columns: minmax(7rem, .45fr) minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .brand-mark { height: 2.65rem; width: 2.65rem; flex-basis: 2.65rem; }
  .brand-name { font-size: 1.3rem; }
  .brand-subtitle { font-size: .5rem; }
  .display-title { font-size: 3.4rem; }
  .hero-art { min-height: 18rem; }
  .hero-ribbon { bottom: .7rem; width: 86%; }
  .archive-results .story-card { display: block; }
  .archive-results .story-image { aspect-ratio: 1.65; }
  .archive-results .story-card > :not(.story-image) { margin-left: 1rem; margin-right: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
