:root {
  --ink: #1d2b29;
  --ink-soft: #4a5a57;
  --forest: #1f4a45;
  --forest-deep: #15332f;
  --sand: #f6efe4;
  --sand-deep: #ece0cd;
  --cream: #fffaf2;
  --terracotta: #c4622d;
  --terracotta-deep: #a24d1f;
  --gold: #e3b062;
  --line: #e2d6c3;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(31, 74, 69, .08);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--forest); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--forest-deep); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -.01em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--forest); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--terracotta); color: #fff; text-decoration: none; font-weight: 600;
  padding: .9em 1.6em; border-radius: 999px; border: 2px solid var(--terracotta);
  font-size: 1rem; cursor: pointer; transition: background .2s, transform .2s, border-color .2s;
  font-family: var(--sans);
}
.btn:hover { background: var(--terracotta-deep); border-color: var(--terracotta-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.btn-light { background: var(--sand); color: var(--forest-deep); border-color: var(--sand); }
.btn-light:hover { background: #fff; border-color: #fff; }
.btn-small { padding: .55em 1.2em; font-size: .95rem; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; color: var(--terracotta); margin-bottom: .8em; }
.eyebrow-light { color: var(--gold); }
.accent { color: var(--terracotta); font-style: italic; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 242, .92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(0,0,0,.04); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; }
.brand-mark rect { fill: var(--forest); }
.brand-mark path { fill: none; stroke: var(--sand); stroke-width: 5; stroke-linejoin: round; }
.brand-text { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--forest-deep); }
.brand-text em { font-style: normal; font-weight: 400; color: var(--terracotta); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav-links a:not(.btn):hover { color: var(--terracotta); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--forest-deep); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { padding: 72px 0 88px; background: radial-gradient(ellipse at 85% 10%, var(--sand) 0%, transparent 55%), var(--cream); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 28px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--ink-soft); font-size: .95rem; }
.hero-points li::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; margin-right: 9px; vertical-align: middle; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }
.art-sun { fill: var(--sand-deep); }
.art-ring { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 4 10; }
.art-hill { fill: #2f6a62; }
.art-hill2 { fill: var(--forest); }
.art-path { fill: none; stroke: var(--gold); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 2 14; }
.art-figures circle { fill: var(--terracotta); }
.art-figures path { fill: none; stroke: var(--terracotta); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.art-figures .art-cane { stroke: var(--forest-deep); stroke-width: 4; }
.hero-badge { position: absolute; left: 0; bottom: 8%; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; }
.hero-badge strong { font-family: var(--serif); font-size: 2rem; color: var(--terracotta); line-height: 1; }
.hero-badge span { font-size: .85rem; line-height: 1.35; color: var(--ink-soft); }

/* Band / stats */
.band { background: var(--forest); color: var(--sand); padding: 52px 0 36px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stat { border-left: 2px solid var(--gold); padding-left: 20px; }
.stat-num { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; color: #fff; line-height: 1.1; }
.stat-label { display: block; font-size: 1rem; color: #d6e2dd; margin-top: 6px; }
.source { margin: 28px 0 0; font-size: .85rem; color: #a9c0b9; }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--sand); }
.section-dark { background: var(--forest-deep); color: var(--sand); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-sub { color: var(--ink-soft); font-size: 1.1rem; }
.two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.prose p { color: var(--ink-soft); font-size: 1.1rem; }
.prose strong { color: var(--ink); }

/* Partners */
.section-partners { padding-top: 0; }
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.person { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.person-photo { width: 180px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--sand); border: 4px solid var(--sand-deep); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-initials { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--serif); font-size: 3.2rem; font-weight: 600; color: var(--forest); }
.person h3 { font-size: 1.6rem; margin-bottom: .1em; }
.person-role { color: var(--terracotta); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .8em; }
.person-body > p:last-child { color: var(--ink-soft); font-size: 1rem; margin: 0; }
@media (max-width: 1020px) { .people { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .person { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 26px 22px; }
  .person-photo { width: 150px; }
}

/* Cards */
.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border: 1px solid rgba(226, 214, 195, .6); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(31, 74, 69, .12); }
.card p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sand); display: grid; place-items: center; margin-bottom: 18px; }
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--terracotta); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-lined { border-top: 4px solid var(--terracotta); }
.card-num { font-family: var(--serif); font-size: 1rem; color: var(--terracotta); font-weight: 600; display: block; margin-bottom: 10px; }
.model .card p { margin-bottom: 16px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 28px; margin: 8px 0; font-size: .98rem; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 2.5px solid var(--terracotta); border-bottom: 2.5px solid var(--terracotta); transform: rotate(-45deg); }

/* Process */
.process { margin-top: 72px; }
.process-title { font-size: 1.6rem; margin-bottom: 28px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps span { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.steps h4 { margin: 6px 0 4px; }
.steps p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* Portfolio */
.portfolio { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
.pcard { border-radius: var(--radius); padding: 36px; }
.pcard-feature { background: linear-gradient(140deg, #24554f, #1a3f3a); border: 1px solid rgba(227, 176, 98, .35); }
.pcard-open { background: transparent; border: 2px dashed rgba(246, 239, 228, .35); display: flex; flex-direction: column; align-items: flex-start; }
.pcard-open p { color: #c9d8d3; flex: 1; }
.pcard-tag { display: inline-block; background: rgba(227, 176, 98, .16); color: var(--gold); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.pcard h3 { font-size: 1.9rem; }
.pcard-feature p { color: #d6e2dd; }
.pcard-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 0; padding-top: 22px; border-top: 1px solid rgba(246, 239, 228, .18); }
.pcard-meta dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.pcard-meta dd { margin: 4px 0 0; color: #fff; font-size: .98rem; }

/* Partner split */
.split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.split-col { padding: 36px 32px; display: flex; flex-direction: column; }
.split-col + .split-col { border-left: 1px solid var(--line); }
.split-col > p { color: var(--ink-soft); font-size: 1rem; }
.split-col .ticks { flex: 1; margin-bottom: 24px; }
.text-link { font-weight: 600; color: var(--terracotta); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.principles div { border-top: 2px solid var(--forest); padding-top: 20px; }
.principles p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--forest-deep); padding: 18px 40px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--terracotta); font-family: var(--sans); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-right: 40px; }

/* Contact */
.section-contact { background: var(--sand); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-info > p { color: var(--ink-soft); font-size: 1.1rem; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.contact-list li { background: #fff; border-radius: 14px; padding: 16px 20px; border: 1px solid var(--line); }
.ci-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--terracotta); font-weight: 600; }
.ci-value { display: block; font-size: 1.1rem; color: var(--forest-deep); text-decoration: none; font-weight: 500; }
.ci-value small { color: var(--ink-soft); font-weight: 400; font-size: .85rem; }
.contact-form { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-size: .92rem; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--cream); width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--forest); background: #fff; }
.contact-form .invalid { border-color: #b3261e; }
.contact-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink-soft); }
.contact-form .check input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 3px; accent-color: var(--forest); }
.contact-form .btn { justify-self: start; }
.form-status { margin: 0; font-size: .98rem; min-height: 1.4em; }
.form-status.ok { color: var(--forest); }
.form-status.err { color: #b3261e; }

/* Footer */
.site-footer { background: var(--forest-deep); color: #c9d8d3; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.site-footer nav a, .footer-grid > div > a:not(.brand) { display: block; color: #c9d8d3; text-decoration: none; margin: 6px 0; font-size: .98rem; }
.site-footer a:hover { color: #fff; }
.brand-light .brand-text { color: #fff; }
.brand-light .brand-mark rect { fill: var(--terracotta); }
.footer-tag { margin-top: 16px; max-width: 22em; font-size: .98rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid rgba(246, 239, 228, .14); margin-top: 48px; padding-top: 22px; font-size: .85rem; color: #93aca5; }
.footer-base p { margin: 0; }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal .updated { font-size: .9rem; color: var(--ink-soft); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
}

/* Responsive */
@media (max-width: 1020px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-col + .split-col { border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.06); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; }
  .hero-grid, .two-col, .contact-grid, .portfolio { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 64px; }
  .hero-art { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .section { padding: 68px 0; }
  .cards-3, .steps, .principles, .stats, .field-row, .pcard-meta { grid-template-columns: 1fr; }
  .stats { gap: 22px; }
  .pcard, .contact-form, .split-col, .card { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge { position: static; margin-top: -10px; }
}
