:root {
  --ink: #182536;
  --ink-soft: #536072;
  --paper: #f5f0e8;
  --paper-deep: #ebe1d2;
  --surface: #fffaf2;
  --line: rgba(24, 37, 54, 0.16);
  --gold: #b88745;
  --gold-bright: #d7a963;
  --copper: #a6573a;
  --night: #102033;
  --night-soft: #1b3049;
  --link: #8d4d32;
  --measure: min(1180px, calc(100% - 3rem));
  --font-display: 'Playfair Display', serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-mono: 'Source Code Pro', ui-monospace, monospace;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
}

html[data-theme="dark"], html.dark {
  --ink: #f5f0e8;
  --ink-soft: #c4c6c5;
  --paper: #102033;
  --paper-deep: #172b43;
  --surface: #19314a;
  --line: rgba(245, 240, 232, 0.18);
  --link: #e0b36d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  background: var(--night);
  color: #fffaf2;
  border-bottom: 1px solid rgba(215, 169, 99, 0.3);
}
.header-inner { width: var(--measure); margin: auto; min-height: 5.5rem; display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; flex: 0 0 auto; }
.brand-mark { width: 2.7rem; height: 2.7rem; border: 1px solid var(--gold-bright); border-radius: 50%; display: grid; place-items: center; position: relative; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; width: .35rem; height: 1.4rem; background: var(--gold-bright); border-radius: 999px; transform-origin: 50% 100%; }
.brand-mark::before { transform: rotate(-25deg) translateY(-.1rem); }
.brand-mark::after { transform: rotate(25deg) translateY(-.1rem); }
.brand-mark span { width: .24rem; height: .24rem; background: #fffaf2; border-radius: 50%; position: relative; z-index: 1; }
.wordmark { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: -.03em; line-height: 1; }
.wordmark em { font-style: normal; font-weight: 500; opacity: .82; }
.wordmark strong { font-weight: 700; display: block; }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 1.35rem; }
.primary-nav a { font-size: .86rem; font-weight: 600; letter-spacing: .04em; text-decoration: none; color: #fffaf2; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--gold-bright); }
.header-actions { display: flex; align-items: center; gap: .55rem; margin-left: .65rem; }
[data-theme-toggle], .menu-toggle { width: 2.55rem; height: 2.55rem; border: 1px solid rgba(215, 169, 99, .55); background: transparent; color: #fffaf2; display: grid; place-items: center; cursor: pointer; }
[data-theme-toggle] { border-radius: 50%; }
[data-theme-toggle]::before { content: "☼"; font-size: 1.25rem; }
.menu-toggle { display: none; border-radius: .3rem; }
.menu-toggle::before { content: "☰"; font-size: 1.15rem; }

.page-wrap { width: var(--measure); margin: 0 auto; }
.rail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 11rem; gap: 2.5rem; align-items: start; }
.rail-layout:has([data-side-links][hidden]), .rail-layout:not(:has([data-side-links])) { grid-template-columns: minmax(0, 1fr); }
[data-side-links][hidden] { display: none; }
.side-links { border-left: 1px solid var(--line); padding: 1rem 0 1rem 1rem; position: sticky; top: 1.5rem; }
.side-links h2 { font: 600 .8rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--copper); margin: 0 0 .8rem; }
.side-links ol { list-style: none; padding: 0; margin: 0; }
.side-links li + li { margin-top: .55rem; }
.side-links a { font-size: .82rem; text-decoration: none; color: var(--ink-soft); }
.side-links a:hover { color: var(--link); }

.eyebrow { color: var(--copper); font: 600 .77rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1rem; }
.display-title { font: 600 clamp(2.8rem, 6vw, 5.6rem)/.98 var(--font-display); letter-spacing: -.045em; margin: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.4rem; }
.section-heading h2 { font: 600 clamp(1.9rem, 3vw, 3rem)/1.05 var(--font-display); letter-spacing: -.035em; margin: 0; }
.section-heading a { color: var(--link); font-size: .84rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.section-heading a::after { content: "  ↗"; }

.hero { position: relative; margin: 0 calc((var(--measure) - 100vw) / 2); min-height: 43rem; color: #fffaf2; overflow: hidden; background: var(--night); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; filter: saturate(.85); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 22, 37, .94) 0%, rgba(10, 22, 37, .73) 42%, rgba(10, 22, 37, .12) 100%); }
.hero-copy { position: relative; z-index: 1; width: var(--measure); margin: auto; padding: 8.5rem 0 6rem; }
.hero-copy .eyebrow { color: var(--gold-bright); }
.hero-copy h1 { max-width: 10ch; }
.hero-copy p { max-width: 34rem; color: #e7e0d5; font-size: 1.12rem; margin: 1.6rem 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .65rem 1.15rem; border: 1px solid var(--gold); background: var(--gold); color: var(--night); text-decoration: none; font-weight: 700; font-size: .87rem; letter-spacing: .02em; cursor: pointer; }
.button:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.button.ghost { background: transparent; color: #fffaf2; border-color: rgba(255,250,242,.5); }
.button.ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

main { min-width: 0; }
.section { padding: 5.5rem 0; }
.section.compact { padding: 3.5rem 0; }
.section-intro { max-width: 42rem; color: var(--ink-soft); font-size: 1.08rem; }
.agenda-strip { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.agenda-item { background: var(--surface); padding: 1.5rem; min-height: 12rem; }
.agenda-date { color: var(--copper); font: 600 .75rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.agenda-item h3 { font: 600 1.55rem/1.05 var(--font-display); margin: 1.1rem 0 .45rem; }
.agenda-item p { color: var(--ink-soft); margin: 0; font-size: .94rem; }
.agenda-item a { display: inline-block; color: var(--link); text-decoration: none; font-size: .86rem; font-weight: 600; margin-top: 1.1rem; }

.news-grid, .archive-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.5rem; align-items: start; }
.story-card { background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.story-image { display: block; position: relative; aspect-ratio: 1.35 / 1; overflow: hidden; background: var(--night-soft); }
.story-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-card-content { padding: 1.25rem 1.3rem 1.4rem; }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .7rem; color: var(--ink-soft); font: 600 .7rem var(--font-mono); text-transform: uppercase; letter-spacing: .05em; }
.category-label { color: var(--copper); }
.story-card h3 { font: 600 1.45rem/1.1 var(--font-display); margin: .75rem 0 .65rem; }
.story-card p { color: var(--ink-soft); margin: 0; font-size: .94rem; }
.story-card a:not(.story-image) { text-decoration: none; }
.story-card .read-more { display: inline-block; color: var(--link); font-size: .84rem; font-weight: 700; margin-top: 1rem; }
.empty-state { padding: 1.5rem; border: 1px dashed var(--line); color: var(--ink-soft); grid-column: 1 / -1; }

.feature-band { display: grid; grid-template-columns: .92fr 1.08fr; gap: 3rem; align-items: center; background: var(--night); color: #fffaf2; padding: 1.25rem; }
.feature-band img { width: 100%; aspect-ratio: 1.2 / 1; object-fit: cover; }
.feature-band-copy { padding: 1.5rem 2rem 1.5rem .5rem; }
.feature-band-copy h2 { font: 600 clamp(2rem, 4vw, 3.7rem)/1 var(--font-display); margin: 0 0 1rem; letter-spacing: -.04em; }
.feature-band-copy p { color: #d9d5cf; max-width: 32rem; }
.feature-band .eyebrow { color: var(--gold-bright); }

.newsletter { background: var(--paper-deep); padding: 3.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.newsletter h2 { font: 600 clamp(2rem, 4vw, 3.1rem)/1 var(--font-display); margin: 0 0 .7rem; }
.newsletter p { color: var(--ink-soft); margin: 0; }
.newsletter-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.newsletter-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.newsletter-form input, .search-input, .filter-select { background: var(--surface); color: var(--ink); border: 1px solid var(--line); padding: .75rem .85rem; min-height: 3rem; flex: 1 1 13rem; }
.form-note { width: 100%; margin: .3rem 0 0; color: var(--copper); font-size: .86rem; }

.page-hero { padding: 5.5rem 0 3.5rem; border-bottom: 1px solid var(--line); }
.page-hero p { max-width: 40rem; color: var(--ink-soft); font-size: 1.1rem; margin: 1.25rem 0 0; }
.filter-bar { display: flex; gap: .8rem; flex-wrap: wrap; margin: 2rem 0; }
.search-input { flex: 1 1 20rem; }
.filter-select { flex: 0 1 12rem; }
.archive-results { margin-bottom: 5rem; }

.agenda-tools { background: var(--surface); padding: 1.4rem; border: 1px solid var(--line); margin-bottom: 2rem; }
.agenda-tools form { display: flex; gap: .8rem; flex-wrap: wrap; }
.agenda-tools label { color: var(--ink-soft); font-size: .82rem; font-weight: 600; display: flex; flex-direction: column; gap: .3rem; flex: 1 1 12rem; }
.agenda-tools select { width: 100%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: .65rem; }
.agenda-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; }
.show-card { background: var(--surface); border-top: 3px solid var(--gold); padding: 1.35rem; }
.show-card[hidden] { display: none; }
.show-card h2 { font: 600 1.65rem/1.1 var(--font-display); margin: .7rem 0 .55rem; }
.show-card p { color: var(--ink-soft); margin: .3rem 0; }
.show-card .show-city { color: var(--copper); font: 600 .76rem var(--font-mono); letter-spacing: .07em; text-transform: uppercase; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.about-grid h2 { font: 600 2.4rem/1.05 var(--font-display); margin: 0 0 1rem; }
.about-grid p { color: var(--ink-soft); }
.pull-quote { border-left: 3px solid var(--gold); margin: 0; padding: 1.25rem 0 1.25rem 1.4rem; font: 500 1.65rem/1.2 var(--font-display); }
.principles { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.principle { background: var(--surface); padding: 1.2rem 1.3rem; }
.principle strong { display: block; font: 600 1.2rem var(--font-display); margin-bottom: .35rem; }
.principle span { color: var(--ink-soft); font-size: .95rem; }

.article-shell { padding: 4rem 0 6rem; }
.byline { display: flex; gap: .9rem; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1rem 0; margin: 0 0 2.5rem; }
.byline img { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; }
.byline p { margin: .15rem 0 0; color: var(--ink-soft); font-size: .88rem; }
.article-reader { max-width: 52rem; }
.article-header h1 { font: 600 clamp(2.7rem, 6vw, 5rem)/1 var(--font-display); letter-spacing: -.04em; margin: .7rem 0 1rem; }
.article-deck { color: var(--ink-soft); font-size: 1.2rem; max-width: 40rem; }
.article-cover { margin: 2rem 0 2.5rem; }
.article-cover img { width: 100%; max-height: 35rem; object-fit: cover; }
.prose { max-width: 42rem; }
.prose p { font: 400 1.12rem/1.7 var(--font-body); margin: 0 0 1.35rem; }
.prose h2, .prose h3 { font-family: var(--font-display); line-height: 1.1; margin: 2.3rem 0 .8rem; }
.prose a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .15em; }
.prose li { margin: .45rem 0; }

.site-footer { background: var(--night); color: #fffaf2; padding: 3rem 0 1.2rem; }
.footer-grid { width: var(--measure); margin: auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; padding-bottom: 2.4rem; }
.site-footer h2 { font: 600 1.25rem var(--font-display); margin: 0 0 .7rem; }
.site-footer p, .site-footer a { color: #c9c7c2; font-size: .9rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); }
.footer-links { display: grid; gap: .35rem; }
.footer-bottom { width: var(--measure); margin: auto; padding-top: 1rem; border-top: 1px solid rgba(255,250,242,.17); color: #a9aaa8; font: .72rem var(--font-mono); }

@media (max-width: 860px) {
  :root { --measure: min(100% - 2rem, 700px); }
  .header-inner { min-height: 4.8rem; gap: 1rem; }
  .primary-nav { display: none; position: absolute; top: 4.8rem; left: 0; right: 0; background: var(--night); padding: 1rem var(--measure); border-top: 1px solid rgba(215,169,99,.25); z-index: 10; }
  .primary-nav.is-open { display: grid; gap: .85rem; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: grid; }
  .hero { min-height: 37rem; margin: 0 -1rem; }
  .hero-copy { width: var(--measure); padding-top: 7rem; }
  .rail-layout { grid-template-columns: minmax(0, 1fr); }
  .side-links { position: static; border-left: 0; border-top: 1px solid var(--line); padding: 1.2rem 0 0; }
  .feature-band, .newsletter, .about-grid { grid-template-columns: 1fr; }
  .feature-band-copy { padding: 1rem .5rem 1.5rem; }
  .agenda-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  :root { font-size: 17px; }
  .display-title { font-size: 3rem; }
  .section { padding: 4rem 0; }
  .hero-copy p { font-size: 1rem; }
  .newsletter { padding: 2rem 1.3rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
