:root {
  --bg: #f1f2f0;
  --surface: #ffffff;
  --text: #13203a;
  --accent: #a67c2e;
  --accent2: #14284b;
  --brass-ink: #79591e;
  --brass-light: #d4b575;
  --muted: #505b6b;
  --rule: #d2d5d5;
  --heading: Baskerville, 'Baskerville Old Face', 'Libre Baskerville', 'Palatino Linotype', 'Times New Roman', serif;
  --body: 'Avenir Next', 'Helvetica Neue', 'Segoe UI', Arial, 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.75; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 1rem; font-family: var(--heading); font-weight: 400; line-height: 1.14; text-wrap: balance; overflow-wrap: normal; word-break: normal; hyphens: auto; }
h1 { font-size: clamp(2.4rem, 1.6rem + 2.7vw, 4.75rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.95rem, 1.55rem + 1.3vw, 3rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.5rem, 1.25rem + .8vw, 2.2rem); }
h4, h5, h6 { font-size: 1.35rem; }
p { margin: 0 0 1.3rem; }
a { color: var(--brass-ink); text-underline-offset: .24em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a, button { -webkit-tap-highlight-color: #d4b57555; }
:focus-visible { outline: 3px solid var(--brass-ink); outline-offset: 5px; }
::selection { background: var(--accent2); color: white; }
ul, ol { padding-left: 1.4rem; }
li { padding-left: .2rem; }
strong, b { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--accent); margin: 2.5rem 0; }
blockquote { margin: 2rem 0; padding: 1rem 1.5rem; border-left: 2px solid var(--accent); font-family: var(--heading); font-size: 1.4rem; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { border-bottom: 1px solid var(--rule); padding: .75rem; text-align: left; overflow-wrap: anywhere; }
th { background: var(--accent2); color: white; }
code, pre { font-family: monospace; overflow-wrap: anywhere; }
pre { white-space: pre-wrap; padding: 1.5rem; background: var(--surface); border: 1px solid var(--rule); }
button, input, textarea, select { font: inherit; max-width: 100%; border-radius: 0; }
.wrap { width: min(100% - clamp(2rem, 6vw, 7rem), 80rem); margin-inline: auto; }
.wrap > *, .split > *, .card-grid > *, .hero-inner > *, .header-inner > *, .footer-inner > *, .card > * { min-width: 0; max-width: 100%; }
p, a { overflow-wrap: break-word; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 100; padding: .7rem 1.2rem; background: white; color: var(--text); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { color: white; background: linear-gradient(110deg, #14284b, #101d35); border-bottom: 1px solid var(--accent); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; min-height: 7rem; padding-block: 1.3rem; }
.brand { max-width: 20rem; color: white; font-family: var(--heading); font-size: clamp(1.4rem, 1.15rem + .6vw, 1.85rem); line-height: 1.15; text-decoration: none; padding-left: 1rem; border-left: 2px solid var(--accent); }
.site-nav ul, .footer-nav ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: .45rem 1.5rem; }
.site-nav li, .footer-nav li { padding: 0; }
.site-nav a { display: block; padding-block: .5rem; color: #f1f2f0; font-size: .82rem; letter-spacing: .04em; text-decoration: none; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brass-light); border-color: var(--accent); }
.site-header :focus-visible, .site-footer :focus-visible, .section-partners :focus-visible { outline-color: var(--brass-light); }

.hero { padding-block: clamp(2rem, 5vw, 5rem) clamp(3rem, 6vw, 6rem); }
.hero-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 5rem auto 3rem; align-items: start; }
.hero-media { grid-column: 4 / -1; grid-row: 1 / 3; padding: clamp(.7rem, 1.5vw, 1.5rem); background: white; border: 1px solid var(--accent); box-shadow: 0 12px 30px #13203a10; }
.hero-media img { width: 100%; height: clamp(30rem, 45vw, 43rem); object-position: 58% center; }
.hero-text { grid-column: 1 / 7; grid-row: 2 / 4; position: relative; z-index: 1; padding: clamp(1.5rem, 3.2vw, 3.25rem); background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--accent); box-shadow: 0 14px 35px #13203a0d; }
.hero h1 { font-size: clamp(2.5rem, 1.8rem + 2.25vw, 4.1rem); }
.eyebrow { color: var(--brass-ink); font-size: .75rem; font-weight: 650; text-transform: uppercase; letter-spacing: .18em; line-height: 1.65; margin-bottom: 1.5rem; }
.lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.3rem); color: var(--muted); line-height: 1.8; }
.hero .lead { font-size: clamp(1rem, .92rem + .2vw, 1.125rem); }
.hero-actions { margin-top: 1.75rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.3rem; border: 1px solid var(--accent); font-size: .85rem; font-weight: 600; letter-spacing: .025em; text-decoration: none; text-align: center; transition: background-color .2s, color .2s; }
.btn-primary { color: white; background: var(--accent2); }
.btn:hover { color: var(--text); background: #eee5d3; text-decoration: none; }

.section { padding-block: clamp(3.5rem, 6vw, 6.5rem); border-top: 1px solid var(--rule); }
.section-title { max-width: 24ch; }
.section-title::after, .prose h2::after { content: ''; display: block; width: 3rem; height: 1px; background: var(--accent); margin-top: 1.2rem; }
.section-intro { max-width: 76ch; margin-block: 1.5rem 2.75rem; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2.5rem); align-items: start; counter-reset: gallery; }
.card { grid-column: span 7; display: flex; flex-direction: column; align-items: flex-start; position: relative; padding: clamp(1.75rem, 3.5vw, 3.5rem); border: 1px solid var(--accent); outline: 1px solid #d8c8a6; outline-offset: -9px; background: var(--surface); counter-increment: gallery; box-shadow: 0 5px 12px #13203a06; transition: transform .25s, box-shadow .25s; }
.card::before { content: counter(gallery, decimal-leading-zero); display: block; color: var(--brass-ink); font-family: var(--heading); font-size: 2.5rem; line-height: 1; margin-bottom: 2rem; }
.card:nth-child(2), .card:nth-child(3) { grid-column: span 5; }
.card:nth-child(2) { margin-top: 3rem; }
.card:nth-child(4) { margin-top: 2rem; }
.card-title { max-width: 19ch; }
.card-text { max-width: 46ch; color: var(--muted); font-size: 1rem; }
.card-link { display: inline-block; margin-top: .75rem; padding-block: .5rem; font-size: .78rem; font-weight: 650; text-transform: uppercase; letter-spacing: .1em; }
.card-link::after { content: ' →'; padding-left: .5rem; }
.section-more { max-width: 76ch; margin: 3rem 0 0 auto; padding-left: 1.5rem; border-left: 1px solid var(--accent); color: var(--muted); }
.section-more p { margin: 0; }
.section-feature { background: #e7e9e6; }
.split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split-text { grid-column: 2; grid-row: 1; font-size: .97rem; }
.split-text .section-title { font-size: clamp(1.9rem, 1.4rem + 1vw, 2.6rem); }
.split-text p:last-child { margin-bottom: 0; }
.split-media { grid-column: 1; grid-row: 1; padding: clamp(.85rem, 2.5vw, 2.5rem); background: white; border: 1px solid var(--accent); box-shadow: 0 12px 28px #13203a10; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; }
.fact-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-block: 2rem; }
.fact { padding: 1.5rem; background: white; border-top: 1px solid var(--accent); }
.fact strong { display: block; color: var(--brass-ink); font-family: var(--heading); font-size: 2rem; }

.section-partners { background: var(--accent2); color: white; border-top: 1px solid var(--accent); }
.section-partners .section-intro { color: #d0d5df; }
.partner-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; }
.partner { padding: 1.65rem 1.8rem; border: 1px solid #627087; border-left: 2px solid var(--accent); background: #192e50; min-width: 0; }
.partner-link { color: var(--brass-light); font-size: .86rem; overflow-wrap: anywhere; }
.partner-phrase { font-family: var(--heading); font-size: 1.5rem; margin: .8rem 0 .5rem; }
.partner-desc { color: #d0d5df; font-size: .92rem; line-height: 1.75; margin: 0; }

.article { padding-block: clamp(1.75rem, 4vw, 4rem) clamp(4rem, 7vw, 7rem); }
.article > .wrap { max-width: 56rem; }
.breadcrumb { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.9; color: var(--muted); margin-bottom: clamp(2.5rem, 5vw, 4.5rem); overflow-wrap: anywhere; }
.breadcrumb a { color: var(--brass-ink); }
.page-header { padding-bottom: 2rem; border-bottom: 1px solid var(--accent); margin-bottom: 3rem; }
.page-header h1 { font-size: clamp(2.35rem, 1.4rem + 3vw, 4.4rem); hyphens: auto; }
.page-header .lead { margin: 1.75rem 0 0; }
.prose { max-width: 44rem; margin-inline: auto; }
.prose h2 { font-size: clamp(1.8rem, 1.35rem + 1.2vw, 2.55rem); margin-top: 3rem; margin-bottom: 1.5rem; }
.prose h3 { margin-top: 2rem; }
.prose p, .prose li { hyphens: auto; }
.prose li { margin-bottom: .65rem; }
.article-figure { margin-block: 0 3.5rem; padding: clamp(.8rem, 2vw, 1.5rem); border: 1px solid var(--accent); background: white; box-shadow: 0 7px 20px #13203a08; }
.article-figure img { width: 100%; max-height: 35rem; object-fit: contain; background: var(--bg); }
figcaption { max-width: 62ch; font-size: .78rem; line-height: 1.65; color: var(--muted); padding-top: 1rem; margin-top: 1rem; border-top: 1px solid var(--rule); }
.note { margin-top: 3rem; padding: 1.5rem 1.75rem; border: 1px solid var(--rule); border-left: 3px solid var(--accent); background: white; font-size: .96rem; }
.note p:last-child { margin-bottom: 0; }
.site-footer { background: #101d35; color: #d0d5df; padding-block: clamp(2.5rem, 4vw, 4rem); border-top: 1px solid var(--accent); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 5rem; }
.footer-note { max-width: 48ch; margin: 0; font-size: .85rem; }
.footer-nav ul { gap: .6rem 1.5rem; }
.footer-nav a { color: #e9e3d7; font-size: .82rem; display: inline-block; padding-block: .25rem; }
.footer-nav a:hover { color: var(--brass-light); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-5px); box-shadow: 0 15px 28px #13203a12; }
}
@media (min-width: 1400px) {
  .hero-text { grid-column: 1 / 6; }
  .hero-media { grid-column: 3 / -1; }
}
@media (max-width: 1050px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .brand { max-width: none; }
  .hero-text { grid-column: 1 / 9; }
  .hero-media { grid-column: 3 / -1; }
  .hero-inner { grid-template-rows: 12rem auto 0; }
  .split { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 700px) {
  .site-nav ul { gap: .2rem 1rem; }
  .site-nav a { font-size: .76rem; }
  .header-inner { padding-block: 1.3rem; }
  .hero-inner { display: flex; flex-direction: column; }
  .hero-media { order: -1; width: 100%; padding: .6rem; }
  .hero-media img { height: auto; aspect-ratio: 4 / 3; }
  .hero-text { width: calc(100% - 1rem); margin: -2rem auto 0; padding: 1.5rem; }
  .hero h1 { font-size: clamp(2.25rem, 8vw, 3.5rem); }
  .eyebrow { letter-spacing: .13em; }
  .card-grid, .partner-list, .fact-list, .footer-inner, .split { grid-template-columns: minmax(0, 1fr); }
  .card, .card:nth-child(n) { grid-column: auto; margin-top: 0; }
  .card { padding: 2rem; }
  .card::before { margin-bottom: 1.25rem; }
  .split-text, .split-media { grid-column: auto; grid-row: auto; }
  .split-media { order: -1; }
  .split-media img { aspect-ratio: 4 / 3; }
  .section-intro { margin-bottom: 2rem; }
  .partner { padding: 1.3rem; }
  .page-header { margin-bottom: 2rem; }
  .prose { font-size: 1rem; }
  .footer-inner { gap: 1.75rem; }
}
@media (max-width: 480px) {
  h1, .hero h1, .page-header h1 { font-size: clamp(1.2rem, 6.5vw, 1.75rem); }
  h2, .prose h2, .split-text .section-title { font-size: clamp(1.2rem, 5.5vw, 1.5rem); }
  h3 { font-size: clamp(1.2rem, 5.2vw, 1.4rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  body, .section, .site-footer { background: white; color: black; }
  .site-header, .site-footer, .skip-link, .hero-actions { display: none; }
  .wrap, .article > .wrap, .prose { width: 100%; max-width: none; }
  .article { padding: 0; }
  .card, .hero-text, .article-figure, .split-media { box-shadow: none; }
  a { color: black; }
  .article-figure { break-inside: avoid; }
}

.page-home main { isolation: isolate; }
.page-sub main { background: var(--bg); }
