:root {
  color-scheme: dark;
  --bg: #241a2b;
  --surface: #32253b;
  --text: #efe8ee;
  --accent: #e6c07b;
  --accent2: #a9b8e8;
  --muted: #c6bacb;
  --line: #514258;
  --serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Helvetica, 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: 400 clamp(1rem, .95rem + .2vw, 1.125rem)/1.8 var(--sans); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
.page { min-height: 100vh; }
main { display: block; }
::selection { background: var(--accent); color: var(--bg); }
a { color: var(--accent2); text-decoration-thickness: 1px; text-underline-offset: .24em; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 1rem; color: var(--text); font-family: var(--serif); font-weight: 400; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.6rem + 3.4vw, 5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 1.5rem + 1.5vw, 3.25rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.4rem, 1.2rem + .65vw, 1.9rem); }
h4, h5, h6 { font-size: 1.25rem; }
p { margin: 0 0 1.35rem; }
ul, ol { padding-inline-start: 1.4rem; }
li { padding-inline-start: .2rem; }
li::marker { color: var(--accent); }
strong, b { font-weight: 650; color: var(--text); }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
figcaption, small { color: var(--muted); font-size: .875rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
blockquote { margin: 2rem 0; padding: 1rem 1.5rem; border-left: 2px solid var(--accent); font-family: var(--serif); font-size: 1.35rem; }
.wrap { width: calc(100% - 3rem); max-width: 1120px; margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 1rem; left: 1rem; padding: .65rem 1rem; background: var(--accent); color: var(--bg); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.6rem; }
.brand { color: var(--accent); font: 400 1.8rem/1.2 var(--serif); letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.site-nav ul, .footer-nav ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav li, .footer-nav li { padding: 0; }
.site-nav a, .footer-nav a { display: inline-block; padding-block: .5rem; color: var(--muted); font-size: .82rem; text-decoration: none; }
.site-nav a:hover, .footer-nav a:hover { color: var(--accent); text-decoration: underline; }
.page-home .hero { padding-block: clamp(4rem, 7vw, 7.5rem) 0; }
.hero-inner { display: grid; gap: clamp(2.75rem, 5vw, 4.5rem); }
.hero-text { max-width: 850px; margin-inline: auto; text-align: center; }
.eyebrow { margin-bottom: 1.65rem; color: var(--accent); font-size: .72rem; font-weight: 550; text-transform: uppercase; letter-spacing: .2em; }
.hero h1 { max-width: 820px; margin: 0 auto 1.6rem; }
.lead { color: var(--muted); font-size: clamp(1.08rem, 1rem + .4vw, 1.35rem); line-height: 1.85; }
.hero .lead { max-width: 660px; margin-inline: auto; }
.hero-actions { margin-top: 2rem; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; max-width: 100%; padding: .85rem 1.65rem; border: 1px solid var(--accent); border-radius: 100px; font-size: .9rem; font-weight: 600; line-height: 1.5; text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: #f0d29b; color: var(--bg); border-color: #f0d29b; }
.hero-media { overflow: hidden; border-radius: 24px; border: 1px solid var(--line); }
.hero-media img { width: 100%; aspect-ratio: 2.2; object-position: center 55%; }
.section { padding-block: clamp(3.75rem, 7vw, 7rem); }
.section-title { text-align: center; margin-bottom: 1.2rem; }
.section-intro { max-width: 640px; margin: 0 auto 3rem; text-align: center; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.card { display: flex; flex-direction: column; min-width: 0; padding: clamp(1.5rem, 2.4vw, 2.25rem); border: 1px solid var(--line); border-radius: 3px; background: var(--surface); transition: border-color .25s ease; }
.card:hover, .card:focus-within { border-color: var(--accent); }
.card-title { font-size: clamp(1.45rem, 1.2rem + .5vw, 1.75rem); line-height: 1.3; text-wrap: pretty; }
.card-text { font-size: .95rem; color: var(--muted); line-height: 1.8; }
.card-link { align-self: flex-start; margin-top: auto; padding-top: .7rem; color: var(--accent); font-size: .85rem; }
.section-feature { padding-block: clamp(3rem, 6vw, 6rem); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 7vw, 6rem); }
.split-text { min-width: 0; }
.split-text .section-title { text-align: left; }
.split-text p { color: var(--muted); }
.split-media { min-width: 0; padding: .6rem; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 0 65px rgba(230, 192, 123, .07); }
.split-media img { width: 100%; aspect-ratio: 1 / 1.08; border-radius: 12px; }
.section-feature + .section-feature .split-media { grid-column: 1; grid-row: 1; box-shadow: 0 0 65px rgba(169, 184, 232, .08); }
.section-feature + .section-feature .split-text { grid-column: 2; grid-row: 1; }
.fact-list { max-width: 800px; list-style: none; margin: 2.5rem auto 0; padding: 0; border-top: 1px solid var(--line); }
.fact { position: relative; padding: 1.35rem 1rem 1.35rem 2.25rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.fact::before { content: ''; position: absolute; top: 2rem; left: .5rem; width: .35rem; height: .35rem; border-radius: 50%; background: var(--accent); }
.section-partners { border-top: 1px solid var(--line); }
.partner-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4rem; margin: 0; padding: 0; list-style: none; }
.partner { min-width: 0; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.partner-link { overflow-wrap: anywhere; font-size: .83rem; }
.partner-phrase { margin: .7rem 0 .5rem; font: 400 1.5rem/1.4 var(--serif); color: var(--text); }
.partner-desc { margin: 0; font-size: .9rem; line-height: 1.85; color: var(--muted); }
.article { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(4rem, 8vw, 8rem); }
.page-sub .article > .wrap { max-width: 740px; }
.breadcrumb { margin-bottom: clamp(2.5rem, 5vw, 4rem); color: var(--muted); font-size: .8rem; text-align: center; }
.breadcrumb a { margin-right: .45rem; }
.breadcrumb span { margin-left: .45rem; }
.page-header { text-align: center; padding-bottom: 2.5rem; margin-bottom: 3rem; border-bottom: 1px solid var(--line); }
.page-header h1 { font-size: clamp(2.4rem, 1.8rem + 2.2vw, 4rem); line-height: 1.16; }
.page-header .lead { margin: 1.5rem 0 0; }
.prose { font-size: clamp(1.05rem, 1rem + .25vw, 1.18rem); line-height: 1.95; color: #d9cedd; }
.prose h2 { margin-top: 2.7rem; margin-bottom: 1.1rem; font-size: clamp(1.7rem, 1.4rem + 1vw, 2.35rem); line-height: 1.3; }
.prose h3 { margin-top: 2rem; }
.prose li { margin-bottom: .8rem; }
.prose p { margin-bottom: 1.5rem; }
.note { margin-top: 3rem; padding: clamp(1.25rem, 3vw, 2rem); border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 10px 10px 0; color: var(--text); }
.note p:last-child { margin-bottom: 0; }
.site-footer { border-top: 1px solid var(--line); padding-block: 3rem; }
.footer-inner { text-align: center; }
.footer-note { max-width: 620px; margin: 0 auto 1.3rem; color: var(--muted); font-size: .82rem; line-height: 1.85; }
.footer-nav ul { gap: .2rem 1.75rem; }

@media (max-width: 900px) {
  .header-inner { flex-direction: column; gap: .65rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-list { column-gap: 2rem; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 2.5rem); }
  .site-nav ul { gap: .15rem 1rem; }
  .site-nav a { font-size: .78rem; }
  .hero { padding-top: 3.5rem; }
  .eyebrow { font-size: .65rem; letter-spacing: .15em; }
  .hero-media { border-radius: 16px; }
  .hero-media img { aspect-ratio: 1.25; }
  .card-grid, .split, .partner-list { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 1.75rem; }
  .card-link { padding-block: .65rem .2rem; }
  .section-feature + .section-feature .split-text,
  .section-feature + .section-feature .split-media { grid-column: auto; grid-row: auto; }
  .split-media img { aspect-ratio: 1.15; }
  .section-intro { margin-bottom: 2rem; }
  .page-header { padding-bottom: 2rem; margin-bottom: 2rem; }
  .footer-nav ul { gap: .25rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
