:root {
  color-scheme: light;
  --bg: #f2eee3;
  --surface: #fbf9f3;
  --text: #222b22;
  --accent: #3d6a3a;
  --accent2: #c4672e;
  --muted: #555d50;
  --rule: #c9cebd;
  --serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --gutter: clamp(1.25rem, 4.5vw, 5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: clamp(1rem, .95rem + .2vw, 1.125rem); line-height: 1.7; overflow-wrap: break-word; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
::selection { background: #d6dfc8; color: var(--text); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color 180ms ease, background-color 180ms ease; }
a:hover { color: #83401c; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; box-shadow: 0 0 0 3px var(--surface); }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
p, ul, ol, dl, blockquote { margin: 0 0 1.35em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .65em; font-family: var(--serif); font-weight: 400; line-height: 1.13; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 2rem + 2.8vw, 5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.9rem, 1.45rem + 1.6vw, 3.25rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.8rem); }
h4, h5, h6 { font-size: 1.2rem; }
ul, ol { padding-left: 1.4em; }
li + li { margin-top: .35em; }
strong, b { font-weight: 650; }
small { font-size: .85em; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2rem 0; }
blockquote { padding: 1rem 1.5rem; border-left: 3px solid var(--accent2); font-family: var(--serif); font-size: 1.25em; }
code, pre { font-family: ui-monospace, monospace; font-size: .9em; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 1rem; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .95em; }
th, td { padding: .65em; border-bottom: 1px solid var(--rule); text-align: left; }
button, input, select, textarea { max-width: 100%; font: inherit; color: inherit; }
figcaption { margin-top: .7rem; color: var(--muted); font-size: .85rem; }
.wrap { width: min(100% - var(--gutter) * 2, 1280px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 1rem; left: 1rem; padding: .8rem 1.2rem; background: var(--surface); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

.site-header { border-top: 5px solid var(--accent); background: var(--surface); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 105px; border-bottom: 1px solid var(--text); }
.brand { color: var(--text); font: 400 clamp(1.65rem, 1.25rem + 1.2vw, 2.5rem)/1.1 var(--serif); letter-spacing: -.055em; text-decoration: none; }
.site-nav ul, .footer-nav ul { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; list-style: none; padding: 0; margin: 0; }
.site-nav li, .footer-nav li { margin: 0; }
.site-nav a { display: inline-block; padding-block: .7rem; color: var(--text); font-size: .82rem; font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-color: var(--accent2); color: var(--accent); }

.page-home main { isolation: isolate; }
.hero { padding-block: clamp(1.5rem, 3vw, 3rem) clamp(2rem, 4vw, 4rem); }
.hero-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.hero-text { grid-column: 1 / 7; grid-row: 1; z-index: 1; padding: clamp(1.5rem, 3vw, 3rem); padding-left: 0; margin-block: 3rem; background: var(--bg); border-top: 3px solid var(--accent2); box-shadow: 12px 12px 0 rgba(34, 43, 34, .04); }
.eyebrow { margin-bottom: 1.5rem; color: var(--accent); font-size: .73rem; font-weight: 650; font-variant-caps: all-small-caps; text-transform: uppercase; letter-spacing: .13em; }
.hero h1 { max-width: 11ch; }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.35rem); line-height: 1.65; color: var(--muted); }
.hero .lead { font-size: clamp(1rem, .94rem + .25vw, 1.15rem); max-width: 45ch; }
.hero-actions { margin-top: 1.8rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 1.5rem; min-height: 48px; padding: .8rem 1.25rem; border: 1px solid var(--accent); font-size: .88rem; font-weight: 600; text-decoration: none; }
.btn::after { content: '\2197'; font-size: 1.2em; }
.btn-primary { background: var(--accent); color: var(--surface); }
.btn-primary:hover { background: #2e512c; color: var(--surface); }
.hero-media { grid-column: 5 / -1; grid-row: 1; align-self: stretch; min-height: 620px; }
.hero-media img { width: 100%; height: 100%; object-position: 60% center; }

.section { padding-block: clamp(3rem, 5.5vw, 6rem); }
.section-title { max-width: 24ch; }
.section-intro { max-width: 62ch; margin-bottom: 2.8rem; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); row-gap: 2.6rem; counter-reset: guides; }
.card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 1.2rem 0 .5rem; border-top: 1px solid var(--accent); counter-increment: guides; }
.card::before { content: 'FIELD GUIDE / ' counter(guides, decimal-leading-zero); margin-bottom: 1.4rem; color: var(--accent); font-size: .72rem; letter-spacing: .12em; font-weight: 600; font-variant-caps: small-caps; }
.card-title { font-size: clamp(1.5rem, 1.3rem + .5vw, 1.85rem); line-height: 1.2; }
.card-text { font-size: .96rem; color: var(--muted); }
.card-link { margin-top: auto; padding-block: .45rem; font-size: .85rem; font-weight: 650; }
.card-link::after { content: ' \2192'; display: inline-block; margin-left: .7rem; transition: transform 180ms ease; }
.card-link:hover::after { transform: translateX(4px); }
.card:last-child:nth-child(3n + 1) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr auto; gap: .25rem 2rem; align-items: center; }
.card:last-child:nth-child(3n + 1)::before { grid-column: 1 / -1; }
.card:last-child:nth-child(3n + 1) .card-link { margin: 0; }

.section-feature { background: var(--surface); border-block: 1px solid var(--rule); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.split-text { max-width: 31rem; padding-block: 1rem; }
.split-text::before { content: ''; display: block; width: 3rem; border-top: 3px solid var(--accent2); margin-bottom: 2rem; }
.split-text p:last-child { margin-bottom: 0; }
.split-media { padding: .65rem; border: 1px solid var(--rule); background: var(--bg); }
.split-media img { width: 100%; height: clamp(360px, 42vw, 570px); }
.section-feature + .section-feature { border-top: 0; background: var(--bg); }
.section-feature + .section-feature .split-text { order: 2; }
.section-feature + .section-feature .split-media { order: 1; background: var(--surface); }
.section-feature + .section-feature .split-media img { height: clamp(320px, 33vw, 440px); }
.fact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: facts; }
.fact { margin: 0; padding: 1.5rem; border-top: 1px solid var(--accent); border-right: 1px solid var(--rule); font-size: .96rem; counter-increment: facts; }
.fact:first-child { padding-left: 0; }
.fact:last-child { border-right: 0; }
.fact::before { content: counter(facts, decimal-leading-zero); display: block; color: var(--accent); font: italic 2rem var(--serif); margin-bottom: 1rem; }

.section-partners { background: #e8e8dc; border-top: 1px solid var(--rule); }
.partner-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.partner { min-width: 0; margin: 0; padding: clamp(1.2rem, 2.5vw, 2rem); background: var(--surface); border: 1px solid #c8cbbb; }
.partner-link { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font-size: .82rem; line-height: 1.6; }
.partner-phrase { margin-block: 1rem .7rem; font: 400 clamp(1.25rem, 1.1rem + .4vw, 1.5rem)/1.3 var(--serif); }
.partner-phrase::first-letter { text-transform: uppercase; }
.partner-desc { margin-bottom: 0; color: var(--muted); font-size: .9rem; line-height: 1.75; }

.page-sub { background: var(--surface); }
.article { padding-block: clamp(2rem, 4vw, 4rem) clamp(4rem, 7vw, 7rem); }
.article > .wrap { max-width: 760px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.8rem; color: var(--muted); font-size: .78rem; }
.page-header { padding-bottom: 2rem; border-bottom: 1px solid var(--rule); margin-bottom: 2.5rem; }
.page-header::before { content: ''; display: block; width: 2.75rem; border-top: 3px solid var(--accent2); margin-bottom: 1.5rem; }
.page-header h1 { font-size: clamp(2.25rem, 1.65rem + 2.4vw, 4rem); line-height: 1.1; }
.page-header .lead { margin-bottom: 0; }
.prose { font-size: clamp(1.04rem, 1rem + .2vw, 1.18rem); line-height: 1.9; }
.prose > p:first-child::first-letter { float: left; font: 400 4.6em/.8 var(--serif); color: var(--accent); padding: .12em .12em 0 0; }
.prose > p:first-child::after { content: ''; display: table; clear: both; }
.prose h2 { margin-top: 1.65em; font-size: clamp(1.65rem, 1.4rem + .9vw, 2.25rem); line-height: 1.2; }
.prose h3 { margin-top: 1.8em; }
.prose li::marker { color: var(--accent); }
.note { margin-block: 2.7rem 0; padding: clamp(1.2rem, 3vw, 2rem); border-left: 4px solid var(--accent2); background: var(--bg); font-size: 1rem; line-height: 1.8; }
.note p:last-child { margin: 0; }
.site-footer { padding-block: 2.8rem; background: var(--text); color: var(--bg); border-top: 5px solid var(--accent); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.footer-note { max-width: 48ch; margin: 0; font-size: .82rem; line-height: 1.8; }
.footer-nav ul { gap: .5rem 1.3rem; }
.footer-nav a { display: inline-block; padding-block: .35rem; color: var(--bg); font-size: .8rem; }
.footer-nav a:hover { color: #fff; }

@media (min-width: 1500px) {
  .hero-text { padding-block: 3.5rem; }
  .hero-media { min-height: 690px; }
}
@media (max-width: 1000px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: .6rem; padding-block: 1.4rem .6rem; }
  .hero-text { grid-column: 1 / 8; }
  .hero-media { grid-column: 6 / -1; }
  .hero h1 { font-size: clamp(2.7rem, 5.5vw, 4rem); }
  .fact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(3) { padding-left: 0; }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .hero-media { grid-column: 1 / -1; grid-row: 1; min-height: 0; height: clamp(270px, 57vw, 420px); }
  .hero-text { grid-column: 1 / 12; grid-row: 2; margin: -3.5rem 0 0; padding: 1.6rem 1.5rem 1.5rem 0; }
  .hero h1 { max-width: 14ch; }
  .eyebrow { font-size: .7rem; margin-bottom: 1rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card:last-child:nth-child(3n + 1) { display: flex; }
  .card:last-child:nth-child(3n + 1) .card-link { margin-top: auto; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split-text { max-width: none; }
  .split-media { max-width: 33rem; width: 100%; }
  .split-media img { height: auto; aspect-ratio: 4 / 5; }
  .section-feature + .section-feature .split-text { order: 0; }
  .section-feature + .section-feature .split-media img { height: auto; aspect-ratio: 4 / 3; }
  .partner-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .site-nav ul { column-gap: 1.1rem; row-gap: 0; }
  .site-nav a { font-size: .77rem; }
  .hero-text { grid-column: 1 / -1; margin-right: .75rem; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3rem); }
  .card-grid { grid-template-columns: 1fr; row-gap: 1.8rem; }
  .card-title { max-width: 27ch; }
  .fact { padding: 1.2rem .8rem; font-size: .88rem; }
  .breadcrumb { margin-bottom: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  body, .page-sub { background: white; color: black; }
  .site-nav, .skip-link, .hero-actions, .footer-nav { display: none; }
  .wrap { width: 100%; }
  .article { padding: 1rem 0; }
  .site-footer { background: white; color: black; }
  .note, .partner, figure { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
  a { color: inherit; }
}
