@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  --paper: #F8F5EE;
  --sand: #ECEAE2;
  --ink: #333333;
  --olive: #6B8E23;
  --clay: #C16A4D;
  --cookie-white: #ffffff;
  --cookie-ink: #2c3e50;
  --radius: 6px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img { width: 100%; height: 280px; max-height: 60vh; object-fit: cover; display: block; }
figure { margin: 0; }
address { font-style: normal; }
a { color: var(--olive); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--clay); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

.container { width: min(100% - 2rem, 1200px); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 3000;
  padding: 0.65rem 0.9rem;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--sand);
  background: var(--paper);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { display: inline-flex; align-items: baseline; gap: 0.65rem; color: var(--ink); text-decoration: none; }
.wordmark-name { font-size: 1.65rem; font-weight: 700; letter-spacing: -0.06em; }
.wordmark-caption { max-width: 10rem; font-size: 0.875rem; line-height: 1.3; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.main-nav a { color: var(--ink); font-size: 0.95rem; font-weight: 600; text-decoration: none; }
.main-nav a:hover { color: var(--olive); }
.menu-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--olive); border-radius: var(--radius); background: transparent; color: var(--ink); cursor: pointer; }
.menu-icon { display: grid; gap: 5px; width: 21px; }
.menu-icon span { height: 2px; width: 100%; background: currentColor; transition: transform 180ms ease; }

section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.cover { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--paper); }
.cover-topline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.8rem; border-top: 1px solid var(--ink); color: var(--ink); font-size: 0.9rem; }
.cover-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr); align-items: end; gap: clamp(2rem, 7vw, 7rem); padding-block: clamp(2.5rem, 6vw, 5rem) 2rem; }
.cover-title { max-width: 850px; margin: 0; font-family: Georgia, serif; font-size: clamp(3rem, 6.6vw, 5.5rem); font-weight: 400; line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; }
.cover-epigram { margin: 0; padding-left: 1.25rem; border-left: 3px solid var(--clay); color: var(--ink); font-size: 1.08rem; font-style: italic; line-height: 1.65; }
.cover-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.cover-actions .btn { min-width: 170px; }
.page-heading { padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.page-heading h1 { max-width: 900px; margin: 0.4rem 0 1rem; font-size: 2.375rem; font-weight: 700; line-height: 1.12; letter-spacing: -0.04em; text-wrap: balance; }
.page-heading p { max-width: 780px; margin: 0; font-size: 1.12rem; }
.eyebrow { margin: 0; color: var(--olive); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }
.update-note { margin-top: 1rem; color: var(--ink); font-size: 0.9rem; }
h2 { margin: 0 0 1.1rem; font-size: 1.625rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.025em; text-wrap: balance; }
h3 { margin: 0 0 0.65rem; font-size: 1.2rem; font-weight: 700; line-height: 1.35; }
p { margin: 0 0 1rem; }
.lead { max-width: 850px; font-size: 1.13rem; line-height: 1.7; }
.section-intro { max-width: 760px; margin-bottom: 2rem; }
.section-intro p:last-child { margin-bottom: 0; }
.soft { background: var(--sand); }
.paper-surface { background: var(--paper); }
.section-label { margin: 0 0 0.6rem; color: var(--olive); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

.grid-3, .grid-2, .stats, .split, .timeline, .article-list, .gallery, .quote-grid, .glossary-grid, .faq-grid, .team-grid, .checklist-grid, .footer-grid, .contact-grid, .resource-grid {
  display: grid;
  gap: 1.25rem;
}
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.split { grid-template-columns: 1fr 1fr; align-items: stretch; gap: clamp(1.5rem, 4vw, 4rem); }
.timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.article-list { grid-template-columns: 1fr 1fr; align-items: stretch; }
.gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quote-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.glossary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.checklist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-grid { grid-template-columns: 1.2fr 0.8fr 1fr 1.15fr; gap: 2rem; }
.contact-grid { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
.resource-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card { min-width: 0; padding: 1.35rem; border: 1px solid rgba(51, 51, 51, 0.1); border-radius: var(--radius); background: var(--paper); box-shadow: 0 5px 18px rgba(51, 51, 51, 0.07); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card h2, .card h3 { color: var(--ink); }
.card img { height: 230px; margin: -1.35rem -1.35rem 1.15rem; width: calc(100% + 2.7rem); max-width: none; border-radius: var(--radius) var(--radius) 0 0; }
.card-kicker { margin-bottom: 0.45rem; color: var(--olive); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.card-link { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.35rem; font-weight: 700; text-decoration-thickness: 1px; }
.card-link::after { content: '→'; }
.story-photo img { height: 340px; }
.photo-followup { margin-top: 1.5rem; }
.split img { height: 100%; min-height: 320px; max-height: 60vh; }
.gallery img { height: 220px; }
.home-feature img { height: 230px; }
.person-photo img { height: 260px; }
figcaption { padding-top: 0.6rem; color: var(--ink); font-size: 0.9rem; }
.photo-frame { overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.split-copy { align-self: center; }

.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.7rem 1.15rem; border: 1px solid var(--olive); border-radius: var(--radius); font-size: 0.95rem; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.btn-primary { background: var(--olive); color: var(--paper); }
.btn-primary:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--olive); color: var(--paper); }
.inline-link { font-weight: 700; }

.stats-item { padding: 1.5rem clamp(0.75rem, 2.5vw, 2rem); border-right: 1px solid rgba(248, 245, 238, 0.35); text-align: center; }
.stats-item:last-child { border-right: 0; }
.stats-value { display: block; margin-bottom: 0.4rem; font-family: Georgia, serif; font-size: clamp(2.2rem, 4vw, 3.3rem); line-height: 1; }
.stats-label { display: block; font-size: 0.95rem; }
.dark { background: var(--ink); color: #fff; }
.band { background: var(--ink); color: #fff; }
.sage-band { background: var(--olive); color: #fff; }
.callout { background: var(--clay); color: #fff; }
.hero { background: var(--ink); color: #fff; }
.cta { background: var(--olive); color: #fff; }
.accent { background: var(--clay); color: #fff; }
.dark h2, .dark h3, .dark p, .dark li { color: #fff; }
.dark .card, .dark .card * { color: #2c3e50; }
.dark table th, .dark table td { color: #2c3e50; }
.dark blockquote { color: #2c3e50; }
.band h2, .band h3, .band p, .band li { color: #fff; }
.band .card, .band .card * { color: #2c3e50; }
.band table th, .band table td { color: #2c3e50; }
.band blockquote { color: #2c3e50; }
.sage-band h2, .sage-band h3, .sage-band p, .sage-band li { color: #fff; }
.sage-band .card, .sage-band .card * { color: #2c3e50; }
.sage-band table th, .sage-band table td { color: #2c3e50; }
.sage-band blockquote { color: #2c3e50; }
.callout h2, .callout h3, .callout p, .callout li { color: #fff; }
.callout .card, .callout .card * { color: #2c3e50; }
.callout table th, .callout table td { color: #2c3e50; }
.callout blockquote { color: #2c3e50; }
.hero h2, .hero h3, .hero p, .hero li { color: #fff; }
.hero .card, .hero .card * { color: #2c3e50; }
.hero table th, .hero table td { color: #2c3e50; }
.hero blockquote { color: #2c3e50; }
.cta h2, .cta h3, .cta p, .cta li { color: #fff; }
.cta .card, .cta .card * { color: #2c3e50; }
.cta table th, .cta table td { color: #2c3e50; }
.cta blockquote { color: #2c3e50; }
.accent h2, .accent h3, .accent p, .accent li { color: #fff; }
.accent .card, .accent .card * { color: #2c3e50; }
.accent table th, .accent table td { color: #2c3e50; }
.accent blockquote { color: #2c3e50; }
.dark .btn-ghost, .band .btn-ghost, .sage-band .btn-ghost, .callout .btn-ghost, .hero .btn-ghost, .cta .btn-ghost, .accent .btn-ghost { border-color: #fff; color: #fff; }

blockquote { margin: 1.5rem 0; padding: 1.1rem 1.35rem; border-left: 3px solid var(--clay); border-radius: 0 var(--radius) var(--radius) 0; background: var(--sand); color: var(--ink); font-family: Georgia, serif; font-size: 1.15rem; line-height: 1.55; }
blockquote cite { display: block; margin-top: 0.7rem; font-family: 'Open Sans', sans-serif; font-size: 0.9rem; font-style: normal; font-weight: 600; }
.editorial-note { margin-block: 1.5rem; padding: 1.25rem 1.5rem; border-left: 4px solid var(--clay); border-radius: 0 var(--radius) var(--radius) 0; background: var(--sand); }
.editorial-note > :last-child { margin-bottom: 0; }
.accent-panel { background: var(--olive); }
.accent-panel-inner { padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius); background: var(--paper); }
.accent-panel-inner h2, .accent-panel-inner h3, .accent-panel-inner p { color: var(--ink); }

.table-wrap { overflow-x: auto; border: 1px solid rgba(51, 51, 51, 0.15); border-radius: var(--radius); background: var(--paper); }
table { width: 100%; border-collapse: collapse; color: var(--ink); text-align: left; }
th, td { min-width: 130px; padding: 0.85rem 1rem; border-bottom: 1px solid var(--sand); vertical-align: top; }
th { background: var(--sand); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: 0.5rem; }
.check-list { padding-left: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.8rem; }
.check-list li::before { position: absolute; left: 0; color: var(--olive); content: '✓'; font-weight: 700; }
.timeline-item { padding: 1.25rem; border-top: 2px solid var(--olive); background: var(--paper); }
.timeline-date { display: block; margin-bottom: 0.45rem; color: var(--olive); font-size: 0.9rem; font-weight: 700; }
.glossary-item { padding: 1.2rem 0; border-top: 1px solid rgba(51, 51, 51, 0.2); }
.glossary-item dt { margin-bottom: 0.4rem; font-weight: 700; }
.glossary-item dd { margin: 0; }
.article-list-item { display: grid; grid-template-columns: minmax(130px, 0.55fr) 1fr; gap: 1rem; align-items: center; padding: 1rem 0; border-top: 1px solid rgba(51, 51, 51, 0.2); }
.article-list-item img { height: 170px; }
.article-list-item h3 { margin-bottom: 0.35rem; }
.article-list-item p { margin-bottom: 0.35rem; }
.quote-card { padding: 1.4rem; border-top: 2px solid var(--clay); background: var(--sand); }
.quote-card blockquote { margin: 0; padding: 0; border: 0; background: transparent; font-size: 1.08rem; }
.faq-item { padding: 1.2rem 1.35rem; border: 1px solid rgba(51, 51, 51, 0.12); border-radius: var(--radius); background: var(--paper); }
.faq-item h3 { margin-bottom: 0.55rem; }
.faq-item p:last-child { margin-bottom: 0; }
.policy-meta { margin-block: 1.5rem 2rem; padding: 1rem 1.2rem; border: 1px solid var(--sand); border-radius: var(--radius); background: var(--sand); }
.policy-meta p { margin: 0; }
.policy-section { padding-block: 1.8rem; border-top: 1px solid rgba(51, 51, 51, 0.16); }
.policy-section h2 { margin-bottom: 0.75rem; }
.policy-section p:last-child, .policy-section ul:last-child { margin-bottom: 0; }
.policy-index { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1rem 0 2rem; padding: 0; list-style: none; }
.policy-index a { display: inline-flex; padding: 0.45rem 0.65rem; border: 1px solid var(--olive); border-radius: var(--radius); color: var(--ink); font-size: 0.9rem; text-decoration: none; }
.policy-index a:hover { background: var(--olive); color: var(--paper); }

.site-footer { padding-block: 3.5rem 1.25rem; background: #4A4A4A; color: var(--paper); }
.site-footer h2 { margin-bottom: 0.9rem; color: var(--paper); font-size: 1rem; letter-spacing: 0; }
.site-footer p, .site-footer address, .site-footer li { color: var(--paper); font-size: 0.9rem; }
.site-footer a { color: var(--paper); text-decoration-color: var(--olive); }
.site-footer a:hover { color: var(--paper); text-decoration-color: var(--clay); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 0.35rem; }
.footer-wordmark { font-size: 1.8rem !important; letter-spacing: -0.04em !important; }
.footer-about address { margin-bottom: 0.55rem; line-height: 1.55; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid rgba(248, 245, 238, 0.28); }
.footer-bottom p { margin: 0; }

.cookie-banner {
  display: none;
  position: fixed !important;
  bottom: 1.25rem;
  right: 1.25rem;
  left: auto;
  z-index: 9999;
  max-width: 380px;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: #2c3e50;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  font-size: 0.9rem;
}
.cookie-banner p { margin: 0 0 0.75rem 0; color: #2c3e50; }
.cookie-banner a { color: #2c3e50; font-weight: 700; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  padding: 0.5rem 1rem;
  border: 1px solid #2c3e50;
  border-radius: 4px;
  background: #2c3e50;
  color: #ffffff;
  font: inherit;
  margin-right: 0.5rem;
  cursor: pointer;
}
.cookie-banner button[data-cookie-reject] { background: transparent; color: #2c3e50; }
.cookie-banner.is-visible { display: block; }
.cookie-banner.hidden { display: none !important; }
.cookie-banner.is-visible.hidden { display: block !important; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid, .gallery, .quote-grid, .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-inner { min-height: 74px; }
  .wordmark-caption { display: none; }
}
@media (max-width: 680px) {
  .menu-toggle { display: inline-flex; flex: 0 0 auto; }
  .header-inner { position: relative; flex-wrap: wrap; padding-block: 0.7rem; }
  .main-nav { display: none; flex: 1 0 100%; align-items: stretch; gap: 0; padding: 0.5rem 0 0.8rem; }
  .site-header.menu-open .main-nav { display: grid; }
  .main-nav a { padding: 0.7rem 0; border-top: 1px solid var(--sand); }
  .site-header.menu-open .menu-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.menu-open .menu-icon span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .menu-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .cover-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .cover-grid { align-items: start; }
  .cover-title { font-size: clamp(2.7rem, 13vw, 4rem); }
  .grid-3, .grid-2, .article-list, .gallery, .quote-grid, .glossary-grid, .faq-grid, .team-grid, .checklist-grid, .resource-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-item:nth-child(2) { border-right: 0; }
  .stats-item:last-child { grid-column: 1 / -1; border-top: 1px solid rgba(248, 245, 238, 0.35); }
  .timeline { grid-template-columns: 1fr 1fr; }
  .split img { height: 320px; min-height: 0; }
  .article-list-item { grid-template-columns: 120px 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 600px) {
  .cookie-banner {
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    border-radius: 0;
  }
}
@media (max-width: 420px) {
  .container { width: min(100% - 1.25rem, 1200px); }
  .footer-grid, .timeline { grid-template-columns: 1fr; }
  .stats-item { padding-inline: 0.5rem; }
  .article-list-item { grid-template-columns: 1fr; }
  .article-list-item img { height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
