:root {
  --ink: #10243f;
  --ink-soft: #31445b;
  --paper: #fffaf2;
  --paper-deep: #f3eadc;
  --line: #d8cbb9;
  --terracotta: #c75b3c;
  --terracotta-dark: #9f432d;
  --sage: #dce7de;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(16, 36, 63, .08);
  --radius: 18px;
  --shell: 1180px;
  --space-1: .45rem;
  --space-2: .75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 5rem;
  --space-8: 7rem;
  --body-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --display-font: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body-font); font-size: 16px; line-height: 1.7; overflow-x: hidden; }
::selection { background: var(--terracotta); color: var(--white); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(var(--shell), calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: fixed; top: -4rem; left: 1rem; z-index: 20; padding: .65rem 1rem; background: var(--ink); color: var(--white); border-radius: 0 0 8px 8px; text-decoration: none; transition: top .2s ease; }
.skip-link:focus { top: 0; }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(216, 203, 185, .85); background: rgba(255, 250, 242, .94); backdrop-filter: blur(16px); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.brand-link { display: inline-flex; align-items: center; width: 168px; flex: 0 0 auto; }
.brand-link img { width: 100%; height: auto; }
.primary-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(1rem, 2vw, 2rem); font-size: .88rem; letter-spacing: .01em; }
.primary-nav a, .footer-links a { text-decoration: none; transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a:focus-visible, .footer-links a:hover, .footer-links a:focus-visible { color: var(--terracotta-dark); }
.menu-toggle { display: none; align-items: center; gap: .6rem; border: 1px solid var(--line); border-radius: 999px; padding: .55rem .85rem; background: transparent; color: var(--ink); cursor: pointer; }
.menu-icon { display: grid; gap: 3px; }
.menu-icon span { display: block; width: 18px; height: 2px; background: var(--ink); }
.menu-label { font-size: .8rem; }

.hero-section { padding: clamp(3rem, 7vw, 6.25rem) 0 0; background: radial-gradient(circle at 90% 8%, rgba(220, 231, 222, .72), transparent 35%), var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy { padding-bottom: var(--space-5); }
.kicker, .section-index { margin: 0 0 var(--space-3); color: var(--terracotta-dark); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.15; }
h1, h2 { font-family: var(--display-font); letter-spacing: -.025em; }
h1 { max-width: 15ch; font-size: clamp(2.8rem, 5.5vw, 5.25rem); }
h2 { max-width: 18ch; font-size: clamp(2rem, 4.2vw, 3.7rem); }
h3 { font-size: clamp(1.12rem, 1.8vw, 1.45rem); }
h4 { font-size: clamp(1.4rem, 2.5vw, 2.1rem); }
h5 { font-size: 1.2rem; }
p { margin: 0 0 var(--space-4); }
.hero-lead { max-width: 43rem; margin-top: var(--space-5); color: var(--ink-soft); font-size: clamp(1.15rem, 2vw, 1.42rem); line-height: 1.55; }
.hero-note { max-width: 36rem; color: var(--ink-soft); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: var(--space-5); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; padding: .7rem 1.2rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--terracotta); color: var(--white); }
.button-primary:hover, .button-primary:focus-visible { background: var(--terracotta-dark); }
.button-dark { width: 100%; background: var(--ink); color: var(--white); }
.button-dark:hover, .button-dark:focus-visible { background: #19385e; }
.text-link, .inline-cta { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink); font-weight: 700; text-underline-offset: .25em; }
.text-link:hover, .text-link:focus-visible, .inline-cta:hover, .inline-cta:focus-visible { color: var(--terracotta-dark); }
.media-frame { position: relative; overflow: hidden; background: var(--paper-deep); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media { min-height: 560px; border-radius: 48% 48% 20px 20px / 25% 25% 20px 20px; box-shadow: var(--shadow); }
.hero-media img { position: absolute; inset: 0; object-position: 65% center; }
.image-watermark { position: absolute; right: .9rem; bottom: .7rem; color: rgba(255, 250, 242, .86); font-size: .68rem; letter-spacing: .08em; text-shadow: 0 1px 4px rgba(16, 36, 63, .55); }
.hero-form-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 7rem); margin-top: clamp(3rem, 8vw, 7rem); padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line); border-bottom: 0; background: var(--white); }
.form-intro h2 { margin-bottom: var(--space-4); }
.form-intro p:last-child { color: var(--ink-soft); }
.contact-form { display: grid; gap: .55rem; align-content: start; }
.contact-form label { margin-top: .35rem; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); padding: .72rem .85rem; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid rgba(199, 91, 60, .28); border-color: var(--terracotta); }
.form-disclosure { margin: .1rem 0 0; color: var(--ink-soft); font-size: .83rem; line-height: 1.5; }

.content-section { padding: var(--space-8) 0; }
.split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.split-grid-reverse .section-copy { order: 2; }
.split-grid-reverse .article-media { order: 1; }
.section-copy > p:not(.section-index) { max-width: 39rem; color: var(--ink-soft); }
.section-copy h3 { margin: var(--space-5) 0 var(--space-2); }
.section-copy h3 + p { max-width: 35rem; }
.article-media { min-height: 420px; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-media figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 3.1rem 1.1rem .85rem; color: var(--white); background: linear-gradient(transparent, rgba(16, 36, 63, .82)); font-size: .84rem; }
.card-grid { display: grid; gap: 1rem; margin-top: var(--space-7); }
.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.note-card { padding: 1.25rem; border-top: 3px solid var(--ink); background: var(--white); box-shadow: 0 10px 28px rgba(16, 36, 63, .05); }
.note-card img { aspect-ratio: 1.45; margin: -1.25rem -1.25rem 1.25rem; width: calc(100% + 2.5rem); object-fit: cover; }
.note-card h3 { margin-bottom: .55rem; }
.note-card p { color: var(--ink-soft); font-size: .95rem; }
.note-card-accent { border-top-color: var(--terracotta); background: var(--sage); }
.image-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: var(--space-6); }
.image-pair .article-media { min-height: 320px; }
.callout-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: var(--space-6); }
.callout-block { padding: 1.3rem 0 0; border-top: 1px solid var(--line); }
.callout-mark { display: inline-grid; width: 28px; height: 28px; place-items: center; margin-bottom: .7rem; border-radius: 50%; background: var(--terracotta); color: var(--white); font-size: .75rem; font-weight: 700; }
.callout-block h3 { margin-bottom: .5rem; }
.callout-block p { color: var(--ink-soft); font-size: .94rem; }

.sponsor-section { padding-top: var(--space-7); background: var(--ink); color: var(--paper); }
.sponsor-inner { display: grid; grid-template-columns: minmax(210px, .35fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); }
.sponsor-label { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem; color: #f7c3a8; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.info-symbol { display: inline-grid; width: 22px; height: 22px; place-items: center; border: 1px solid #f7c3a8; border-radius: 50%; font-family: Georgia, serif; font-size: .9rem; }
.sponsor-logo { width: min(100%, 260px); height: auto; }
.sponsor-copy h4, .sponsor-copy h5 { color: var(--paper); }
.sponsor-copy h4 { max-width: 38rem; margin-bottom: 1.2rem; }
.sponsor-copy h5 { margin: 2rem 0 .55rem; color: #f7c3a8; }
.sponsor-copy p { max-width: 48rem; color: #dbe4ef; }
.sponsor-backlink { color: #ffd2bd; text-underline-offset: .25em; }
.sponsor-backlink:hover, .sponsor-backlink:focus-visible { color: var(--white); }
.sponsor-disclosure { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255, 250, 242, .25); font-size: .86rem; }

.partner-section { background: var(--paper-deep); }
.partner-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem; align-items: end; margin-bottom: var(--space-6); }
.partner-lead { max-width: 39rem; color: var(--ink-soft); }
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 2.5rem; }
.partner-entry { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.partner-entry h5 { margin-bottom: .85rem; }
.partner-entry p { color: var(--ink-soft); font-size: .95rem; }
.partner-backlink { color: var(--terracotta-dark); text-underline-offset: .25em; }
.partner-backlink:hover, .partner-backlink:focus-visible { color: var(--ink); }
.partner-map { min-height: 360px; margin-top: var(--space-7); border-radius: var(--radius); box-shadow: var(--shadow); }

.faq-section { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.faq-intro { max-width: 29rem; color: var(--ink-soft); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--terracotta-dark); font-size: 1.5rem; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { max-width: 45rem; padding: 0 2rem 1.2rem 0; color: var(--ink-soft); }
.faq-images { margin-top: var(--space-7); }

.site-footer { padding: var(--space-7) 0 2rem; background: var(--ink); color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .7fr .8fr 1.15fr; gap: 2rem; }
.footer-intro img { width: 150px; margin-bottom: 1rem; }
.footer-intro p, .footer-tool p { color: #dbe4ef; font-size: .91rem; }
.copyright { margin-top: 2rem; font-size: .78rem !important; }
.footer-links, .footer-tool { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.footer-links h2, .footer-tool h2 { margin-bottom: .35rem; color: var(--paper); font-family: var(--body-font); font-size: 1rem; letter-spacing: 0; }
.footer-links a { color: #dbe4ef; font-size: .9rem; }
.footer-tool p { margin-bottom: 0; }
.tool-backlink { color: #f7c3a8; text-underline-offset: .25em; }
.tool-backlink:hover, .tool-backlink:focus-visible { color: var(--white); }

:focus-visible { outline: 3px solid rgba(199, 91, 60, .48); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media (max-width: 1100px) {
  .primary-nav { gap: 1rem; font-size: .82rem; }
  .hero-media { min-height: 500px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .shell { width: min(var(--shell), calc(100% - 2rem)); }
  .site-header { position: relative; }
  .header-inner { min-height: 76px; }
  .brand-link { width: 140px; }
  .menu-toggle { display: inline-flex; }
  .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .6rem 1rem 1rem; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 30px rgba(16, 36, 63, .08); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .75rem .5rem; border-bottom: 1px solid rgba(216, 203, 185, .65); }
  .hero-section { padding-top: 3rem; }
  .hero-grid, .hero-form-wrap, .split-grid, .partner-intro, .faq-grid, .sponsor-inner { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  h1 { max-width: 14ch; font-size: clamp(2.7rem, 12vw, 4.6rem); }
  h2 { max-width: 17ch; }
  .hero-media { min-height: 360px; border-radius: 38% 38% 16px 16px / 18% 18% 16px 16px; }
  .hero-form-wrap { margin-top: 3rem; padding: 1.5rem; }
  .content-section { padding: 4.6rem 0; }
  .split-grid-reverse .section-copy, .split-grid-reverse .article-media { order: initial; }
  .article-media { min-height: 300px; }
  .three-up, .callout-grid, .partner-grid { grid-template-columns: 1fr; }
  .image-pair { grid-template-columns: 1fr; }
  .image-pair .article-media { min-height: 280px; }
  .sponsor-inner { gap: 2rem; }
  .sponsor-logo { width: 220px; }
  .partner-map { min-height: 280px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .text-link { justify-content: center; }
  .hero-media { min-height: 280px; }
  .article-media { min-height: 250px; }
  .note-card img { aspect-ratio: 1.35; }
}
