:root {
  color-scheme: light;
  --bg: #eef0e6;
  --surface: #fffbf3;
  --text: #2b2420;
  --accent: #2f5d46;
  --gold: #c9a24a;
  --muted: #59594d;
  --line: #9ca68e;
  --heading: 'Didot', 'Bodoni 72', 'Playfair Display', Georgia, serif;
  --body: 'Avenir Next', '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: 400 clamp(1rem, .94rem + .2vw, 1.125rem)/1.75 var(--body); }
body::before { content: ''; display: block; height: 6px; background: var(--accent); border-bottom: 2px solid var(--gold); }
::selection { background: var(--accent); color: var(--surface); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .25em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
p { margin: 0 0 1.25em; }
h1, h2, h3, h4, h5, h6 { font-family: var(--heading); font-weight: 400; line-height: 1.15; text-wrap: balance; margin: 0 0 .65em; color: var(--accent); }
h1 { font-size: clamp(2.5rem, 1.6rem + 3vw, 5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 1.5rem + 1.6vw, 3.5rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.5rem, 1.25rem + .7vw, 2rem); }
h4, h5, h6 { font-size: 1.35rem; }
ul, ol { padding-left: 1.5em; }
li + li { margin-top: .4em; }
strong, b { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--gold); margin: 2rem 0; }
blockquote { margin: 2rem 0; padding: 1rem 1.5rem; border-left: 4px solid var(--gold); background: var(--bg); }
code, pre { font-family: ui-monospace, monospace; overflow-wrap: anywhere; }
pre { white-space: pre-wrap; padding: 1rem; background: var(--bg); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .7rem; border: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; }
button, input, select, textarea { font: inherit; max-width: 100%; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 10; padding: .7rem 1rem; background: var(--surface); border: 2px solid var(--accent); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding-block: 1.75rem 1.15rem; }
.brand { font: 400 clamp(1.9rem, 1.5rem + 1vw, 2.6rem)/1.15 var(--heading); text-decoration: none; letter-spacing: -.025em; text-align: center; }
.brand::before, .brand::after { content: ''; display: inline-block; width: .45rem; height: .45rem; border: 1px solid var(--gold); transform: rotate(45deg); margin: 0 .8rem; vertical-align: middle; }
.site-nav ul, .footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1.8rem; padding: 0; margin: 0; }
.site-nav li, .footer-nav li { margin: 0; }
.site-nav a { display: block; padding: .35rem 0; font-size: .85rem; letter-spacing: .055em; text-decoration: none; }
.site-nav a:hover, .footer-nav a:hover { text-decoration: underline; }
.hero { padding-block: clamp(1.5rem, 4vw, 4rem); }
.hero-inner, .section > .wrap, .article > .wrap { position: relative; border: 4px double var(--line); background: var(--surface); padding: clamp(1.5rem, 4vw, 4rem); }
.hero-inner::before, .section > .wrap::before, .article > .wrap::before,
.hero-inner::after, .section > .wrap::after, .article > .wrap::after { content: ''; position: absolute; width: 18px; height: 18px; pointer-events: none; border-color: var(--gold); border-style: solid; }
.hero-inner::before, .section > .wrap::before, .article > .wrap::before { top: 9px; left: 9px; border-width: 2px 0 0 2px; }
.hero-inner::after, .section > .wrap::after, .article > .wrap::after { bottom: 9px; right: 9px; border-width: 0 2px 2px 0; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(2rem, 4vw, 4rem); }
.hero-text { text-align: center; min-width: 0; }
.eyebrow { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--accent); margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 3vw, 4.6rem); }
.lead { font-size: clamp(1.05rem, .95rem + .35vw, 1.25rem); color: var(--muted); line-height: 1.8; }
.hero-actions { margin-top: 1.8rem; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .8rem 1.5rem; text-decoration: none; font-size: .9rem; border: 1px solid var(--accent); transition: background-color .2s ease, box-shadow .2s ease; }
.btn-primary { background: var(--accent); color: var(--surface); outline: 1px solid var(--accent); outline-offset: 3px; }
.btn-primary:hover { background: #244a37; box-shadow: 0 4px 0 #c9a24a; }
.hero-media { padding: 9px; border: 4px double var(--gold); border-radius: 50% 50% 0 0; background: var(--bg); }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; border-radius: 50% 50% 0 0; }
.section { padding-block: 0 clamp(1.5rem, 3vw, 3rem); }
.section-title { text-align: center; position: relative; padding-bottom: 1.25rem; margin-bottom: 1rem; }
.section-title::before, .page-header h1::before { content: ''; position: absolute; bottom: 4px; left: calc(50% - 58px); width: 116px; height: 1px; background: var(--gold); }
.section-title::after, .page-header h1::after { content: ''; position: absolute; bottom: 0; left: calc(50% - 4px); width: 9px; height: 9px; background: var(--gold); border: 2px solid var(--surface); transform: rotate(45deg); box-shadow: 0 0 0 3px var(--surface); }
.section-intro { max-width: 660px; margin: 0 auto 2.5rem; text-align: center; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: guides; margin-top: 2rem; }
.card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.8rem 1.4rem; border: 4px double var(--line); background: var(--surface); counter-increment: guides; transition: border-color .2s ease, transform .2s ease; }
.card::before { content: '0' counter(guides); font: 1rem var(--heading); color: var(--accent); border-bottom: 1px solid var(--gold); padding: 0 .8rem .7rem; margin-bottom: 1.25rem; }
.card-title { font-size: clamp(1.5rem, 1.2rem + .6vw, 1.85rem); }
.card-text { font-size: .95rem; color: var(--muted); }
.card-link { margin-top: auto; font-size: .85rem; font-weight: 600; padding: .5rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.split-text { min-width: 0; }
.split-text p:last-child { margin-bottom: 0; }
.split-media { padding: 8px; border: 1px solid var(--gold); outline: 1px solid var(--line); outline-offset: 4px; }
.split-media img { width: 100%; aspect-ratio: 5 / 4; }
.section-feature:nth-of-type(4) .split-media { grid-column: 1; grid-row: 1; }
.section-feature:nth-of-type(4) .split-text { grid-column: 2; grid-row: 1; }
.fact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 2rem 0 0; padding: 0; gap: 0 2.5rem; }
.fact { position: relative; padding: 1.25rem 0 1.25rem 1.5rem; border-bottom: 1px solid var(--line); margin: 0; font-size: .95rem; }
.fact::before { content: ''; position: absolute; left: 0; top: 1.9rem; width: 6px; height: 6px; border: 1px solid var(--accent); transform: rotate(45deg); }
.section-partners > .wrap { background: transparent; }
.partner-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.partner { min-width: 0; margin: 0; padding: clamp(1.2rem, 2.2vw, 2rem); border: 4px double var(--line); background: var(--surface); }
.partner-link { display: block; overflow-wrap: anywhere; word-break: normal; font-size: .8rem; font-weight: 600; line-height: 1.6; }
.partner-phrase { font: 400 clamp(1.4rem, 1.15rem + .5vw, 1.7rem)/1.25 var(--heading); color: var(--accent); margin: 1rem 0 .7rem; }
.partner-phrase::first-letter { text-transform: uppercase; }
.partner-desc { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.8; }
.article { padding-block: clamp(1.5rem, 4vw, 4rem); }
.article > .wrap { max-width: 900px; padding: clamp(1.5rem, 5vw, 5rem); }
.breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: 2.5rem; }
.page-header { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.page-header h1 { position: relative; font-size: clamp(2.3rem, 1.5rem + 2.6vw, 4rem); padding-bottom: 1.7rem; margin-bottom: 1.25rem; }
.page-header .lead { margin-bottom: 0; }
.prose { max-width: 66ch; margin-inline: auto; overflow-wrap: anywhere; }
.prose > p:first-child::first-letter { float: left; font: 400 4.5em/.8 var(--heading); color: var(--accent); padding: .09em .12em 0 0; }
.prose h2 { font-size: clamp(1.65rem, 1.35rem + 1vw, 2.35rem); margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--gold); }
.prose h3 { margin-top: 1.8rem; }
.note { margin-top: 2.5rem; padding: 1.5rem; border: 1px solid var(--line); border-left: 5px solid var(--gold); background: var(--bg); font-size: .95rem; }
.note p:last-child { margin-bottom: 0; }
.site-footer { background: var(--accent); color: var(--surface); border-top: 5px double var(--gold); padding-block: 2.5rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-note { max-width: 560px; margin: 0; font-size: .85rem; }
.footer-nav a { display: block; color: var(--surface); padding-block: .5rem; font-size: .85rem; }
.site-footer :focus-visible { outline-color: var(--surface); }

@media (hover: hover) {
  .card:hover { border-color: var(--accent); transform: translateY(-3px); }
}
@media (max-width: 900px) {
  .hero-inner { gap: 1.8rem; }
  .card-grid { grid-template-columns: 1fr; }
  .card { padding: 1.75rem; }
  .card-title { max-width: 32ch; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 28px); }
  .header-inner { padding-block: 1.3rem .8rem; }
  .site-nav ul { gap: .1rem 1rem; }
  .site-nav a { font-size: .78rem; padding-block: .5rem; }
  .hero-inner, .split { grid-template-columns: minmax(0, 1fr); }
  .hero-media { width: min(100%, 370px); margin: .5rem auto 0; }
  .hero-media img { aspect-ratio: 1 / 1; }
  .hero-text .lead { font-size: 1rem; }
  .hero-actions { margin-bottom: .5rem; }
  .section-feature:nth-of-type(4) .split-media,
  .section-feature:nth-of-type(4) .split-text { grid-column: auto; grid-row: auto; }
  .partner-list, .fact-list { grid-template-columns: minmax(0, 1fr); }
  .section-intro { margin-bottom: 1.5rem; }
  .article > .wrap { padding-inline: 1.3rem; }
  .breadcrumb { margin-bottom: 1.5rem; }
  .prose > p:first-child::first-letter { font-size: 3.8em; }
  .footer-nav ul { gap: .2rem 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card:hover { transform: none; }
}
@media print {
  body, .site-footer { background: white; color: black; }
  .site-header, .site-nav, .skip-link, .footer-nav, .hero-actions { display: none; }
  .wrap { width: 100%; }
  .article > .wrap { max-width: none; border: 0; padding: 0; }
  .site-footer { border-top: 1px solid; padding: 1rem 0; }
  .note, .card, figure { break-inside: avoid; }
}

.page { min-height: 100vh; display: flex; flex-direction: column; }
.page > main { flex: 1; min-width: 0; }
.page-home main { padding-bottom: 1rem; }
.page-sub main { width: 100%; }
