:root {
  --ink: #1f3329;
  --ink-soft: #53665a;
  --paper: #f4f0e6;
  --paper-deep: #e9e2d3;
  --green: #1f5b43;
  --green-dark: #123d2e;
  --green-light: #d8e5d4;
  --accent: #d68745;
  --accent-deep: #a85b2b;
  --line: rgba(31, 51, 41, .18);
  --white: #fffdf8;
  --measure: 76rem;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-mono: 'Source Code Pro', ui-monospace, monospace;
  color-scheme: light;
}

html[data-theme="dark"], html.dark {
  --ink: #edf0e5;
  --ink-soft: #b6c3b6;
  --paper: #15231d;
  --paper-deep: #203228;
  --green: #8ab894;
  --green-dark: #0e2118;
  --green-light: #2a4735;
  --accent: #e5a264;
  --accent-deep: #f0b67d;
  --line: rgba(237, 240, 229, .2);
  --white: #21352a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.06rem;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 20; background: var(--accent); padding: .6rem 1rem; color: #20170e; }
.skip-link:focus { top: 1rem; }
.site-header {
  width: min(calc(100% - 3rem), var(--measure));
  margin: 0 auto;
  min-height: 5.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; min-width: max-content; }
.brand-mark { width: 2.75rem; height: 2.75rem; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.42rem; font-weight: 700; letter-spacing: -.025em; line-height: 1; }
.brand-name small { display: block; margin-top: .27rem; color: var(--accent-deep); font-family: var(--font-body); font-size: .63rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 1.35rem; }
.main-nav a { color: var(--ink-soft); font-size: .94rem; font-weight: 600; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent-deep); }
.header-controls { display: flex; align-items: center; gap: .65rem; }
[data-jaspera1], .quartz-f4a5 { border: 1px solid var(--line); background: transparent; color: var(--ink); width: 2.4rem; height: 2.4rem; border-radius: 50%; }
[data-jaspera1] { font-size: 1rem; }
.quartz-f4a5 { display: none; padding: .45rem; }
.quartz-f4a5 span { display: block; border-top: 2px solid currentColor; margin: .26rem .15rem; }

.site-shell { width: min(calc(100% - 3rem), var(--measure)); margin: 0 auto; }
.onyx-ae9c { display: grid; grid-template-columns: minmax(0, 1fr) 11rem; gap: 3.5rem; align-items: start; }
.onyx-ae9c:has([data-groveaf][hidden]), .onyx-ae9c:has([data-groveaf]:empty) { grid-template-columns: minmax(0, 1fr); }
[data-groveaf][hidden] { display: none; }
.frost-f2ee { position: sticky; top: 1.5rem; border-top: 3px solid var(--accent); padding-top: .85rem; color: var(--ink-soft); }
.frost-f2ee h2 { margin: 0 0 .7rem; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.frost-f2ee ol { margin: 0; padding-left: 1.2rem; }
.frost-f2ee li { margin: .5rem 0; font-size: .88rem; }
.frost-f2ee a { text-decoration: none; }
.frost-f2ee a:hover { color: var(--accent-deep); }

main { min-width: 0; }
.eyebrow { margin: 0 0 .75rem; color: var(--accent-deep); font-family: var(--font-mono); font-size: .73rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(2.75rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2rem, 3.4vw, 3.15rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1rem; }
.lede { max-width: 39rem; color: var(--ink-soft); font-size: 1.24rem; line-height: 1.45; }
.text-link { color: var(--green); font-weight: 700; text-decoration-thickness: .12em; text-underline-offset: .2em; }
.text-link:hover { color: var(--accent-deep); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1.15rem; border: 1px solid transparent; border-radius: 999px; background: var(--accent); color: #21180f; font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--accent-deep); color: #fffaf0; }
.button--quiet { border-color: var(--line); background: transparent; color: var(--ink); }
.button--quiet:hover { background: var(--green-light); color: var(--ink); }

.hero { position: relative; margin: 2.25rem 0 5.5rem; min-height: 34rem; display: grid; align-items: end; overflow: hidden; border-radius: 1.2rem; background: var(--green-dark); color: #fffdf8; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.hero::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, rgba(10, 34, 24, .88) 0%, rgba(10, 34, 24, .55) 45%, rgba(10, 34, 24, .18) 100%); }
.hero-copy { position: relative; z-index: 1; max-width: 43rem; padding: clamp(2rem, 6vw, 5rem); }
.hero h1 { max-width: 10ch; color: #fffdf8; }
.hero .eyebrow { color: #f2bb80; }
.hero p { max-width: 32rem; margin-top: 1.4rem; color: #f1f0e7; font-size: 1.28rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.section { padding: 0 0 6rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-heading > div { max-width: 42rem; }
.section-heading h2 { margin-top: .25rem; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(15rem, .9fr); gap: 4rem; align-items: end; }
.intro-note { border-left: 3px solid var(--accent); padding: .3rem 0 .3rem 1.5rem; color: var(--ink-soft); }

.event-feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(14rem, .8fr); gap: 2rem; padding: 2rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--green-light); }
.event-date { color: var(--accent-deep); font-family: var(--font-mono); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.event-feature h3 { margin: .6rem 0 .8rem; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.event-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 1.4rem 0; color: var(--ink-soft); font-size: .94rem; }
.event-meta span::before { margin-right: .4rem; color: var(--accent-deep); content: '•'; }
.event-aside { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; padding: 1rem 0 0 1.3rem; border-left: 1px solid var(--line); }
.event-aside strong { font-family: var(--font-display); font-size: 1.5rem; }

.news-grid, .frost-5818 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.5rem; align-items: start; }
.atlas-1ae8 { min-width: 0; }
.sage-f53f { position: relative; display: block; aspect-ratio: 1.18 / 1; overflow: hidden; background: var(--green-light); }
.sage-f53f img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.atlas-1ae8:hover .sage-f53f img { transform: scale(1.04); }
.velvet-6435 { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-top: 1rem; color: var(--accent-deep); font-family: var(--font-mono); font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.lantern-20ba { color: var(--green); }
.atlas-1ae8 h3 { margin: .5rem 0 .55rem; }
.atlas-1ae8 h3 a { text-decoration: none; }
.atlas-1ae8 h3 a:hover { color: var(--accent-deep); }
.atlas-1ae8 p { color: var(--ink-soft); }

.impact-band { margin: 0 calc((100vw - min(100vw - 3rem, var(--measure))) / -2) 6rem; padding: 3rem max(1.5rem, calc((100vw - var(--measure)) / 2)); background: var(--green-dark); color: #eef3e8; }
.impact-band h2 { color: #fffdf8; font-size: 2rem; }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.impact-number { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.4rem); color: #f2bb80; line-height: 1; }
.impact-label { display: block; margin-top: .5rem; color: #d6e3d4; }

.partner-strip { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; padding: 2rem 0 0; border-top: 1px solid var(--line); }
.partner-list { display: flex; flex-wrap: wrap; align-content: start; gap: .7rem; }
.partner-list span { padding: .6rem .85rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: .9rem; }
.newsletter { margin: 1rem 0 5.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2rem; border-radius: 1rem; background: var(--paper-deep); }
.newsletter form { display: flex; align-items: start; gap: .6rem; }
.field, .filter-form input, .filter-form select, textarea { width: 100%; border: 1px solid var(--line); border-radius: .45rem; background: var(--paper); color: var(--ink); padding: .78rem .85rem; }
.newsletter .field { min-width: 0; }

.page-intro { padding: 5rem 0 3.5rem; max-width: 48rem; }
.page-intro h1 { max-width: 15ch; }
.page-intro .lede { margin-top: 1.35rem; }
.filter-form { display: grid; grid-template-columns: 1fr 13rem auto; gap: .7rem; margin-bottom: 2.5rem; }
.filter-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mercury-b590 { padding: 1.5rem; border: 1px dashed var(--line); color: var(--ink-soft); }
.frost-5818 { margin-bottom: 5rem; }

.action-list { display: grid; gap: 1rem; margin-bottom: 5rem; }
.action-row { display: grid; grid-template-columns: 8rem 1fr auto; gap: 1.5rem; align-items: center; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.action-row:last-child { border-bottom: 1px solid var(--line); }
.action-date strong { display: block; font-family: var(--font-display); font-size: 2.1rem; line-height: 1; }
.action-date span { color: var(--accent-deep); font-family: var(--font-mono); font-size: .73rem; text-transform: uppercase; }
.action-row h3 { font-size: 1.35rem; }
.action-row p { margin: .35rem 0 0; color: var(--ink-soft); }
.action-place { color: var(--ink-soft); font-size: .94rem; }
.map-card { display: grid; grid-template-columns: 1fr 1fr; min-height: 21rem; margin-bottom: 6rem; background: var(--green-light); }
.map-visual { position: relative; overflow: hidden; min-height: 18rem; background: linear-gradient(135deg, #1d553f, #8eb792); }
.map-visual::before, .map-visual::after { position: absolute; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; content: ''; }
.map-visual::before { width: 17rem; height: 17rem; left: 12%; top: 8%; }
.map-visual::after { width: 8rem; height: 8rem; right: 13%; bottom: 12%; }
.map-pin { position: absolute; z-index: 1; width: .95rem; height: .95rem; border: 3px solid #fff9ee; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 .4rem rgba(216,135,69,.25); }
.map-pin.one { left: 32%; top: 35%; } .map-pin.two { left: 61%; top: 54%; } .map-pin.three { left: 45%; top: 72%; }
.map-copy { padding: 2rem; }
.map-copy h2 { font-size: 2rem; }
.map-copy p { margin-top: 1rem; color: var(--ink-soft); }

.split-section { display: grid; grid-template-columns: minmax(14rem, .8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; padding: 2rem 0 6rem; }
.split-section + .split-section { border-top: 1px solid var(--line); padding-top: 5rem; }
.list-checks { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.list-checks li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .7rem; }
.list-checks li::before { color: var(--accent-deep); content: '↗'; font-weight: 700; }
.form-card { padding: 1.5rem; border: 1px solid var(--line); background: var(--paper-deep); }
.form-card h3 { margin-bottom: 1rem; }
.form-grid { display: grid; gap: .8rem; }
.form-grid label { display: grid; gap: .3rem; color: var(--ink-soft); font-size: .9rem; font-weight: 600; }
textarea { min-height: 7rem; resize: vertical; }

.article-layout { padding: 3.5rem 0 6rem; }
.byline { display: flex; gap: .8rem; align-items: center; max-width: 42rem; margin: 0 auto 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.byline img { width: 2.8rem; height: 2.8rem; border-radius: 50%; object-fit: cover; }
.byline p { margin: .1rem 0 0; color: var(--ink-soft); font-size: .9rem; }
.article-reader { max-width: 53rem; margin: 0 auto; }
.bloom-29ed h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
.cipher-1848 { margin-top: 1rem; color: var(--ink-soft); font-size: 1.25rem; }
.lantern-1162 { width: 100%; max-height: 31rem; margin: 2rem 0 2.5rem; object-fit: cover; }
.prose { max-width: 43rem; margin: 0 auto; font-family: var(--font-body); font-size: 1.16rem; line-height: 1.75; }
.prose h2, .prose h3 { margin: 2.5rem 0 1rem; }
.prose p { margin-bottom: 1.3rem; }
.prose a { color: var(--accent-deep); text-decoration-thickness: .1em; text-underline-offset: .18em; }
.prose ul { padding-left: 1.3rem; }

.site-footer { margin-top: 2rem; padding: 3.5rem 0 2rem; background: var(--green-dark); color: #dbe8da; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { color: #fffdf8; font-size: 1.35rem; }
.site-footer p { max-width: 20rem; }
.site-footer a { color: #dbe8da; text-decoration-color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.2); color: #b6c8b7; font-size: .86rem; }

@media (max-width: 800px) {
  .site-header { width: min(calc(100% - 2rem), var(--measure)); min-height: 5.2rem; gap: .8rem; }
  .brand-name { font-size: 1.2rem; }
  .brand-mark { width: 2.4rem; height: 2.4rem; }
  .main-nav { position: absolute; z-index: 10; top: 5.2rem; left: 1rem; right: 1rem; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--paper); box-shadow: 0 1rem 2rem rgba(11, 33, 23, .14); }
  .main-nav.silver-3b28 { display: flex; }
  .main-nav a { padding: .75rem; }
  .quartz-f4a5 { display: block; }
  .site-shell { width: min(calc(100% - 2rem), var(--measure)); }
  .onyx-ae9c { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .frost-f2ee { position: static; order: 2; }
  .hero { margin-top: 1rem; min-height: 34rem; }
  .intro-grid, .event-feature, .partner-strip, .newsletter, .map-card, .split-section { grid-template-columns: 1fr; gap: 1.5rem; }
  .event-aside { padding: 1.2rem 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .newsletter form { flex-direction: column; }
  .filter-form { grid-template-columns: 1fr; }
  .action-row { grid-template-columns: 5.5rem 1fr; }
  .action-row .button { grid-column: 2; justify-self: start; }
  .impact-band { margin-right: -1rem; margin-left: -1rem; padding-right: 1rem; padding-left: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  h1 { font-size: 2.8rem; }
  .hero-copy { padding: 1.5rem; }
  .impact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-heading { display: block; }
  .section-heading .text-link { display: inline-block; margin-top: 1rem; }
  .footer-bottom { display: block; }
  .footer-bottom p + p { margin-top: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
