:root {
  color-scheme: light;
  --bg: #efe7d6;
  --surface: #faf6ec;
  --text: #2a2a24;
  --accent: #1f5a4a;
  --accent2: #b8862b;
  --muted: #5e5b50;
  --rule: #c9bfaa;
  --heading: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', serif;
  --body: 'Gill Sans', 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: clamp(1rem, .95rem + .2vw, 1.125rem); line-height: 1.65; }
.page { min-width: 0; }
.page-home main { min-width: 0; }
::selection { background: var(--accent); color: var(--surface); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .22em; overflow-wrap: anywhere; transition: color .18s ease, background-color .18s ease; }
a:hover { color: #714e12; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; box-shadow: 0 0 0 2px var(--surface); }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-family: var(--heading); font-weight: 600; line-height: 1.16; text-wrap: balance; overflow-wrap: break-word; }
h1, h2, h3, p, ul, ol, dl, blockquote { margin: 0 0 1.1rem; }
h1 { font-size: clamp(2.45rem, 1.5rem + 3vw, 4.8rem); letter-spacing: -.035em; color: var(--accent); }
h2 { font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.65rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.35rem, 1.15rem + .5vw, 1.7rem); }
h4, h5, h6 { font-size: 1.2rem; }
ul, ol { padding-left: 1.5rem; }
li { padding-left: .2rem; }
strong, b { font-weight: 700; }
small { font-size: .85em; }
hr { border: 0; border-top: 3px double var(--rule); margin: 2rem 0; }
blockquote { padding: 1rem 1.5rem; border-left: 3px solid var(--accent2); background: var(--surface); }
code, pre { font-family: ui-monospace, monospace; font-size: .9em; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 1rem; background: var(--bg); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .75rem; border-bottom: 1px solid var(--rule); text-align: left; overflow-wrap: anywhere; }
input, button, textarea, select { max-width: 100%; font: inherit; color: inherit; }
.wrap { width: min(1240px, calc(100% - clamp(2rem, 7vw, 7rem))); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 1rem; left: 1rem; padding: .8rem 1.2rem; background: var(--surface); border: 2px solid var(--accent); transform: translateY(-180%); }
.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: 1rem 2rem; padding-block: 1.4rem; border-bottom: 3px double var(--accent); }
.brand { flex-shrink: 0; font-family: var(--heading); font-size: clamp(1.65rem, 1.35rem + .7vw, 2.1rem); font-weight: 700; letter-spacing: -.04em; text-decoration: none; }
.site-nav ul, .footer-nav ul { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; align-items: center; padding: 0; margin: 0; list-style: none; }
.site-nav li, .footer-nav li { padding: 0; }
.site-nav a { display: inline-block; padding-block: .6rem; font-size: .94rem; color: var(--text); text-decoration: none; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--accent); border-bottom-color: var(--accent2); }
.hero { padding-block: clamp(2.5rem, 6vw, 6rem); background: var(--surface); border-bottom: 1px solid var(--rule); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero-text, .split-text, .partner, .card { min-width: 0; }
.eyebrow { font-variant-caps: small-caps; letter-spacing: .13em; font-weight: 700; color: var(--accent); font-size: .9rem; margin-bottom: 1.4rem; padding-left: 1rem; border-left: 3px solid var(--accent2); }
.hero h1 { max-width: 12ch; }
.lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.35rem); line-height: 1.6; color: #4f5045; }
.hero .lead { max-width: 43ch; margin-block: 1.5rem 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .85rem 1.5rem; border: 1px solid var(--accent2); border-radius: 0; text-decoration: none; font-size: 1rem; font-weight: 700; box-shadow: 3px 3px 0 var(--accent2); transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease; }
.btn-primary { background: var(--accent); color: var(--surface); }
.btn-primary:hover { background: #163f35; color: var(--surface); box-shadow: 1px 1px 0 var(--accent2); transform: translate(1px, 1px); }
.hero-media { padding: clamp(.7rem, 1.6vw, 1.4rem); border: 1px solid #8e8269; background: var(--bg); outline: 1px solid var(--rule); outline-offset: -7px; box-shadow: 7px 9px 0 #e1d7c2, 0 15px 26px #2a2a2414; transform: rotate(1deg); }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-position: 48% center; border: 1px solid #988b71; }
.section { padding-block: clamp(2.8rem, 5vw, 5rem); }
.section-title { border-bottom: 4px double var(--accent); padding-bottom: 1rem; margin-bottom: 1.35rem; color: var(--accent); }
.section-intro { max-width: 65ch; color: var(--muted); margin-bottom: 2rem; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem; counter-reset: guide; }
.card { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.4rem, 2.6vw, 2.3rem); background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--accent2); border-bottom: 2px dashed #bfb39a; box-shadow: 1px 3px 0 var(--surface), 2px 5px 0 #c9bfaa, 0 10px 18px #2a2a2408; counter-increment: guide; }
.card::before { content: '0' counter(guide); font-family: var(--heading); font-size: 1rem; color: var(--muted); border-bottom: 1px solid var(--rule); width: 100%; padding-bottom: .6rem; margin-bottom: 1rem; letter-spacing: .12em; }
.card-title { color: var(--accent); max-width: 32ch; }
.card-text { color: var(--muted); margin-bottom: 1.5rem; }
.card-link { margin-top: auto; font-size: .95rem; font-weight: 700; padding-block: .3rem; }
.section-feature { border-top: 1px solid var(--rule); background: var(--surface); }
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split-text p { max-width: 54ch; }
.split-text p:last-child { margin-bottom: 0; }
.split-media { padding: .6rem; border: 1px solid var(--rule); box-shadow: 4px 4px 0 var(--bg); }
.split-media img { width: 100%; height: clamp(230px, 28vw, 360px); object-position: center 53%; }
.section-feature + .section-feature .split { grid-template-columns: 1fr 1.15fr; }
.section-feature + .section-feature .split-media { grid-column: 1; grid-row: 1; }
.section-feature + .section-feature .split-text { grid-column: 2; grid-row: 1; }
.fact-list { list-style: none; padding: 0; margin: 1.8rem 0 0; counter-reset: fact; border-top: 1px solid var(--rule); }
.fact { counter-increment: fact; display: grid; grid-template-columns: 3rem 1fr; align-items: baseline; gap: 1rem; padding: 1rem .5rem; border-bottom: 1px solid var(--rule); }
.fact::before { content: counter(fact, decimal-leading-zero); font-family: var(--heading); font-size: 1.35rem; color: var(--accent); border-right: 1px solid var(--accent2); }
.section-partners { background: var(--surface); border-top: 1px solid var(--rule); }
.partner-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--rule); }
.partner { padding: 1.8rem 2rem 1.8rem 0; border-bottom: 1px solid var(--rule); }
.partner:nth-child(even) { padding-left: 2rem; padding-right: 0; border-left: 1px solid var(--rule); }
.partner-link { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font-size: .94rem; line-height: 1.55; }
.partner-phrase { font-family: var(--heading); font-size: 1.35rem; font-weight: 600; margin-block: .8rem .5rem; }
.partner-phrase::first-letter { text-transform: uppercase; }
.partner-desc { font-size: 1rem; line-height: 1.7; color: var(--muted); margin: 0; }
.page-sub { background: var(--bg); }
.article { padding-block: clamp(1.5rem, 4vw, 4rem) clamp(3rem, 6vw, 6rem); }
.article > .wrap { max-width: 880px; padding: clamp(1.25rem, 5vw, 4.5rem); background: var(--surface); border: 1px solid var(--rule); border-top: 4px double var(--accent2); box-shadow: 4px 5px 0 #e0d7c4; }
.breadcrumb { font-size: .88rem; color: var(--muted); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: anywhere; }
.breadcrumb a { margin-right: .4rem; }
.breadcrumb span { margin-left: .4rem; }
.page-header { padding-bottom: 1.6rem; margin-bottom: 2rem; border-bottom: 4px double var(--accent); }
.page-header h1 { font-size: clamp(2.1rem, 1.35rem + 2.3vw, 3.6rem); line-height: 1.13; margin-bottom: 1.4rem; }
.page-header .lead { margin-bottom: 0; }
.prose { font-size: clamp(1.05rem, 1rem + .2vw, 1.18rem); line-height: 1.85; overflow-wrap: anywhere; }
.prose > p:first-child::first-letter { float: left; font-family: var(--heading); font-size: 4.4em; line-height: .85; padding: .12em .12em 0 0; color: var(--accent); }
.prose h2 { font-size: clamp(1.55rem, 1.3rem + .9vw, 2rem); line-height: 1.25; margin-top: 2.5rem; padding-bottom: .6rem; border-bottom: 3px double var(--rule); color: var(--accent); }
.prose h3 { margin-top: 2rem; }
.prose p { margin-bottom: 1.35rem; }
.prose li { margin-bottom: .5rem; }
.note { margin-top: 2rem; padding: 1.3rem 1.5rem; border: 1px solid var(--rule); border-left: 5px solid var(--accent2); background: var(--bg); font-size: 1rem; line-height: 1.7; }
.note p:last-child { margin-bottom: 0; }
.site-footer { padding-block: 2.5rem; background: var(--accent); color: var(--surface); border-top: 5px double var(--accent2); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem 4rem; }
.footer-note { max-width: 60ch; margin: 0; font-size: .9rem; line-height: 1.75; }
.footer-nav { max-width: 25rem; }
.footer-nav ul { gap: .3rem 1.5rem; }
.footer-nav a { display: inline-block; padding-block: .4rem; color: var(--surface); font-size: .9rem; }
.footer-nav a:hover { text-decoration-thickness: 2px; }
.site-footer a:focus-visible { outline-color: var(--surface); box-shadow: none; }
@media (min-width: 1440px) {
  .hero h1 { font-size: 4.9rem; }
}
@media (max-width: 1000px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .hero-inner { gap: 2rem; }
  .hero h1 { font-size: clamp(2.7rem, 5vw, 4rem); }
  .footer-inner { flex-direction: column; gap: 1.4rem; }
  .footer-nav { max-width: none; }
}
@media (max-width: 700px) {
  .hero-inner, .split, .section-feature + .section-feature .split { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 16ch; font-size: clamp(2.6rem, 7.5vw, 3.6rem); }
  .hero-media { margin: .5rem .3rem; transform: none; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .card-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .section-feature + .section-feature .split-text, .section-feature + .section-feature .split-media { grid-column: auto; grid-row: auto; }
  .split-media img { height: auto; aspect-ratio: 4 / 3; }
  .partner-list { grid-template-columns: minmax(0, 1fr); }
  .partner, .partner:nth-child(even) { padding: 1.5rem 0; border-left: 0; }
  .site-nav ul { column-gap: 1.1rem; }
  .site-nav a { font-size: .9rem; }
  .article > .wrap { width: calc(100% - 2rem); }
  .note { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover { transform: none; }
}
@media print {
  body, .page-sub, .hero, .section-feature, .section-partners { background: white; color: black; }
  .site-header, .site-footer, .skip-link, .hero-actions { display: none; }
  .wrap, .article > .wrap { width: 100%; max-width: none; padding: 0; border: 0; box-shadow: none; }
  .article, .section { padding-block: 1rem; }
  .card, .note, figure { break-inside: avoid; box-shadow: none; }
  h1, h2, h3 { break-after: avoid; }
}
