:root {
  color-scheme: light;
  --ink: #142e26;
  --forest: #142f27;
  --paper: #f8f7f0;
  --white: #fffefa;
  --muted: #4c6259;
  --line: #dadfd1;
  --lime: #daf971;
  --radius: 10px;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid #357d56; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { max-width: 1264px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 56px); }
.skip, .sr-only, .trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { clip-path: none; width: auto; height: auto; z-index: 5; top: 12px; left: 12px; padding: 12px; background: var(--lime); }

.site-header { position: relative; z-index: 1; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 26px; letter-spacing: -.075em; font-weight: 850; text-decoration: none; width: max-content; }
.brand span span { font-weight: 600; }
.nav { display: flex; gap: clamp(16px, 2.25vw, 32px); align-items: center; }
.nav a, .mobile-nav a { font-size: .9rem; font-weight: 700; text-decoration: none; }
.nav a:hover, .mobile-nav a:hover, [aria-current="page"]:is(a) { text-decoration: underline; }
.header-actions { display: flex; gap: 6px; }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 1px solid transparent; border-radius: 50%; }
.icon-button:hover { background: #edf0e6; border-color: var(--line); }
.icon-button svg { stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; fill: none; }
.menu-toggle, .mobile-nav, .no-js-nav { display: none; }

.hero { background: var(--forest); color: var(--white); padding-block: clamp(32px, 6vw, 84px); }
.hero-grid { display: grid; grid-template-columns: .85fr 1fr; align-items: center; gap: clamp(24px, 5vw, 72px); }
.hero-copy { padding-block: 14px; }
.eyebrow { display: inline-block; margin: 0; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; text-decoration: none; }
a.eyebrow:hover, .eyebrow a:hover { text-decoration: underline; }
.hero-copy .eyebrow { color: var(--lime); }
h1, h2, h3 { margin: 0; letter-spacing: -.052em; line-height: 1.04; }
h1 { font-size: clamp(2.65rem, 6.5vw, 5.1rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.65rem); }
h3 { font-size: clamp(1.24rem, 2vw, 1.58rem); }
.hero h1 { line-height: .97; margin: 18px 0 22px; letter-spacing: -.082em; }
.hero h1 span { color: var(--lime); }
.hero-copy > p:not(.eyebrow) { max-width: 31ch; color: #e0e9df; font-size: clamp(1.04rem, 2vw, 1.22rem); line-height: 1.55; margin: 0 0 27px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid transparent; border-radius: 5px; background: var(--lime); color: var(--ink); font-weight: 800; text-decoration: none; }
.button:hover { background: #eaff9e; border-color: #80a83e; }
.hero .button:focus-visible, footer a:focus-visible { outline-color: var(--lime); }
.hero-image { display: grid; position: relative; align-items: end; isolation: isolate; border-radius: var(--radius); overflow: hidden; min-height: 340px; aspect-ratio: 1.4; text-decoration: none; }
.hero-image:focus-visible { outline-color: var(--lime); }
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-image::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(13, 26, 21, .9)); pointer-events: none; }
.hero-image span { z-index: 1; color: var(--white); padding: 22px; font-size: .77rem; text-transform: uppercase; letter-spacing: .095em; font-weight: 800; }
.hero-image b { display: block; margin-top: 6px; font-size: 1.3rem; text-transform: none; letter-spacing: -.025em; }
.hero-image:hover b { text-decoration: underline; }

.topics { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border: solid var(--line); border-width: 0 0 1px; }
.topics a { display: grid; align-content: center; gap: 7px; text-decoration: none; padding: 19px 12px; min-height: 90px; }
.topics a + a { border-left: 1px solid var(--line); padding-left: clamp(12px, 2vw, 24px); }
.topics a:hover { background: #edf0e6; }
.topics span { color: var(--muted); font-size: .83rem; }
.home-section { margin-block: clamp(37px, 6vw, 75px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 22px; }
.section-head a { color: var(--muted); font-size: .91rem; font-weight: 750; }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(15px, 2.2vw, 27px); }
.card { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card-photo { display: block; aspect-ratio: 1.6; overflow: hidden; background: #d9dfce; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease-out; }
.card:hover img { transform: scale(1.03); }
.card-content { padding: clamp(14px, 1.9vw, 22px); }
.card h3 { margin-top: 8px; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card p { color: var(--muted); line-height: 1.45; margin: 9px 0 0; }
.guide-list { border-top: 1px solid var(--line); }
.guide-list a { display: grid; grid-template-columns: minmax(110px, .55fr) 1fr 1.2fr; gap: 16px; align-items: center; padding: 15px 8px; border-bottom: 1px solid var(--line); text-decoration: none; }
.guide-list a:hover { background: #edf0e6; }
.guide-list a span { color: var(--muted); font-size: .9rem; }

.archive { padding-block: 30px 66px; }
.archive h1 { margin: 28px 0 12px; }
.lede { color: var(--muted); font-size: clamp(1.08rem, 2.5vw, 1.32rem); line-height: 1.44; margin: 0 0 22px; }
.archive > .grid { margin-top: 31px; }
.archive > :last-child { margin-bottom: 0; }
.crumb { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 10px; font-size: .87rem; color: var(--muted); }
.crumb a { font-weight: 700; }
.article-shell { padding-top: 25px; }
.story { max-width: 875px; margin: 0 auto; }
.story-header { padding: 35px 0 21px; }
.story-header h1, .info h1 { font-size: clamp(2.35rem, 6vw, 4.2rem); margin: 12px 0; letter-spacing: -.068em; }
.story-header .eyebrow a { text-decoration: none; }
.byline { color: var(--muted); font-size: .88rem; margin-bottom: 0; }
.story-image { margin: 0; }
.story-image img { width: 100%; aspect-ratio: 2; object-fit: cover; border-radius: var(--radius); }
figcaption { color: var(--muted); font-size: .8rem; margin: 8px 0 0; }
.prose { max-width: 700px; margin-inline: auto; font-size: 1.05rem; line-height: 1.65; }
.story .prose { padding-top: 14px; }
.prose h2 { font-size: clamp(1.38rem, 3vw, 2rem); margin: 30px 0 10px; }
.prose p { margin: 0 0 14px; }
.prose .intro { font-size: 1.2rem; margin-top: 14px; }
.prose a:not(.button) { font-weight: 700; }
.shop { border: 1px solid var(--line); background: #eef3e5; border-radius: var(--radius); padding: 20px; margin-top: 28px; }
.shop h2 { margin-top: 0; }
.info { padding-block: 34px 66px; min-height: 430px; }
.info h1 { margin-top: 26px; }
#contact-form { max-width: 540px; display: grid; gap: 7px; margin-top: 25px; }
#contact-form label { font-weight: 750; }
input, select, textarea { width: 100%; border: 1px solid #8b9c91; border-radius: 5px; background: var(--white); padding: 10px; color: var(--ink); }
#contact-form :is(input,select,textarea) { margin-bottom: 9px; }
#contact-form .button { justify-self: start; }
#contact-tip, #contact-status { font-size: .94rem; color: var(--muted); }

footer { background: var(--forest); color: #f4f7ee; padding-block: 36px 18px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding-bottom: 25px; }
.footer-inner p { color: #d7e4d7; margin: 12px 0 0; line-height: 1.45; }
.footer-inner nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-content: center; gap: 10px; }
.footer-inner nav a { color: #e2ece2; font-size: .92rem; width: fit-content; }
.footer-base { font-size: .84rem; color: #d7e4d7; }
#search-dialog { max-height: min(80vh, 650px); width: min(560px, calc(100% - 28px)); background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
#search-dialog::backdrop { background: rgba(10, 26, 20, .68); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.dialog-head h2 { font-size: 1.5rem; }
.dialog-head button { font-size: 1.6rem; }
.search-status { color: var(--muted); }
.search-results { list-style: none; padding: 0; }
.search-results li { border-top: 1px solid var(--line); }
.search-results a { display: block; padding: 9px 5px; font-weight: 800; text-decoration: none; }
.search-results a:hover { text-decoration: underline; }
.search-results small { display: block; color: var(--muted); margin-top: 4px; }

@media (max-width: 860px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .mobile-nav, .no-js-nav { display: flex; flex-wrap: wrap; padding: 12px 20px 19px; gap: 12px 22px; }
  .header-inner { min-height: 64px; }
  .hero-image { min-height: 280px; }
  .guide-list a { grid-template-columns: .55fr 1fr; }
  .guide-list a span:last-child { display: none; }
}
@media (max-width: 645px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { min-height: 0; aspect-ratio: 1.5; }
  .hero-copy { padding-block: 0; }
  .topics { display: flex; flex-wrap: wrap; gap: 8px; padding: 15px 0; }
  .topics a, .topics a + a { padding: 8px 10px; min-height: 40px; border: 1px solid var(--line); border-radius: 5px; font-size: .85rem; }
  .topics span { display: none; }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-inner { grid-template-columns: 1fr; }
  .story-image img { aspect-ratio: 1.4; }
}
@media (max-width: 390px) {
  .grid { grid-template-columns: 1fr; }
  .card-photo { aspect-ratio: 1.65; }
}
@media (prefers-reduced-motion: reduce) {
  .card img { transition: none; }
}
