/* THHYE redesign — clean nonprofit system */

:root {
  --ink: #14213d;
  --ink-2: #46526b;
  --ink-3: #66718a;
  --line: #dde3ee;
  --paper: #ffffff;
  --mist: #f3f6fb;
  --blue: #1b5fd6;
  --blue-deep: #12449f;
  --blue-soft: #d9e7ff;
  --green: #137a52;
  --green-soft: #d3f1e2;
  --sun: #ffc83d;
  --sun-soft: #fff1c7;
  --night: #0f1a33;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 10px 30px -12px rgba(20, 33, 61, .18);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--blue-deep); }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.022em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 1.375rem; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-2); }

.icon { width: 56px; height: 56px; flex: none; color: var(--ink); --ic-soft: #b9d2ff; --ic-accent: var(--sun); }
.icon.sm { width: 44px; height: 44px; }
.icon.lg { width: 76px; height: 76px; }
.icon.green { --ic-soft: #a9e3c6; }
.icon.sunny { --ic-soft: var(--sun-soft); --ic-accent: var(--blue-soft); }
.ui { width: 20px; height: 20px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  min-height: 52px; padding: 0 1.4em;
  border-radius: 12px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1.05rem; text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn .ui { transition: transform .25s var(--ease); }
.btn:hover .ui { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #ffd666; color: var(--ink); }
.btn-light { background: #fff; color: var(--blue-deep); }
.btn-light:hover { background: var(--sun-soft); color: var(--ink); }

.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.text-link:hover .ui { transform: translateX(3px); }
.text-link .ui { width: 18px; height: 18px; transition: transform .25s var(--ease); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand strong { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; display: block; line-height: 1; }
.brand small { display: block; font-size: .78rem; color: var(--ink-3); font-weight: 500; line-height: 1.3; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; white-space: nowrap; padding: 10px 12px; border-radius: 10px; font-size: 1rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--ink); background: var(--mist); }
.nav a[aria-current="page"] { color: var(--blue); }
.nav .btn { min-height: 44px; padding: 0 1.1em; margin-left: 8px; font-size: 1rem; color: #fff; }
.nav .btn:hover { background: var(--blue-deep); color: #fff; }
.menu-btn { display: none; }

@media (max-width: 1140px) {
  .brand small { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 0 14px; border-radius: 10px;
    border: 2px solid var(--line); background: #fff; color: var(--ink);
    font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  }
  .menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
  .menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
  .menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 20px;
    box-shadow: 0 20px 30px -20px rgba(20, 33, 61, .25);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1.1rem; }
  .nav .btn { margin: 8px 0 0; justify-content: center; min-height: 52px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section.tint { background: var(--mist); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 + p { margin-top: 18px; }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px); }
.page-head h1 { max-width: 16ch; }
.page-head .lede { margin-top: 22px; }
.page-head.with-art .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.page-head .head-art { width: clamp(120px, 16vw, 180px); height: auto; aspect-ratio: 1; }
@media (max-width: 720px) { .page-head.with-art .wrap { grid-template-columns: 1fr; } .page-head .head-art { display: none; } }

/* ---------- Home hero ---------- */
.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 13ch; }
.mark { position: relative; white-space: nowrap; z-index: 0; }
.mark svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .42em; z-index: -1; overflow: visible; }
.mark path { fill: none; stroke: var(--sun); stroke-width: 12; stroke-linecap: round; }
.hero .lede { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; font-size: 1rem; font-weight: 600; color: var(--ink-2); }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof .ui { color: var(--green); width: 20px; height: 20px; }

.hero-photos { position: relative; aspect-ratio: 1 / .92; }
.hero-photos figure { margin: 0; position: absolute; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--mist); }
.hero-photos img { width: 100%; height: 100%; object-fit: cover; }
.hero-photos .p1 img { object-position: center 80%; }
.hero-photos .p1 { inset: 0 0 22% 10%; }
.hero-photos .p2 { left: 0; bottom: 0; width: 50%; aspect-ratio: 4 / 3; border: 6px solid #fff; }
.hero-photos figcaption {
  position: absolute; right: 0; bottom: 4%;
  width: 44%;
  font-size: .95rem; line-height: 1.4; color: var(--ink-2);
}
.hero-photos figcaption strong { color: var(--ink); display: block; font-size: 1rem; }
.hero-note { position: absolute; right: 0; bottom: 0; width: 45%; font-size: .95rem; line-height: 1.45; color: var(--ink-2); }
.hero-note strong { display: block; color: var(--ink); }
.hero-note svg.scribble { width: 80px; height: 50px; color: var(--ink); margin-bottom: 4px; margin-left: -6px; overflow: visible; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photos { max-width: 620px; }
}

/* Draw-on motion: the hero highlight and the photo-note scribble */
@media (prefers-reduced-motion: no-preference) {
  .draw path { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); animation: draw 1s var(--ease) forwards; animation-delay: var(--delay, .35s); }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  .hero-photos .p1 { animation: settle .9s var(--ease) both; }
  .hero-photos .p2 { animation: settle .9s .12s var(--ease) both; }
  @keyframes settle { from { transform: translateY(14px) scale(.985); opacity: 0; } }
}

/* ---------- Partner strip ---------- */
.partners-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.partners-strip .wrap { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap; }
.partners-strip p { font-weight: 600; color: var(--ink-2); font-size: 1rem; max-width: 22ch; line-height: 1.4; }
.partners-strip ul { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.partners-strip img { height: 48px; width: auto; object-fit: contain; }
.partners-strip img.round { height: 60px; }
.partners-strip .lib { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .98rem; line-height: 1.25; color: var(--ink); }

/* ---------- Programs ---------- */
.programs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.program { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.program-photo { aspect-ratio: 16 / 9; overflow: hidden; }
.program-photo img { width: 100%; height: 100%; object-fit: cover; }
.program-body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; flex: 1; }
.program-tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.program.kids .program-tag { background: var(--blue-soft); color: var(--blue-deep); }
.program.adults .program-tag { background: var(--green-soft); color: var(--green); }
.program h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); }
.program > .program-body > p { margin-top: 10px; color: var(--ink-2); }
.topics { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 4px; }
.topics li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.topics li:first-child { border-top: 0; }
.topics strong { display: block; font-size: 1.08rem; }
.topics span { display: block; font-size: 1rem; color: var(--ink-2); line-height: 1.45; }
.program .text-link { margin-top: auto; }
.program.adults .text-link { color: var(--green); }
@media (max-width: 860px) { .programs { grid-template-columns: 1fr; } }

/* ---------- Custom workshop route ---------- */
.custom { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.custom .section-head { margin-bottom: 0; position: sticky; top: 120px; }
.custom .section-head .btn { margin-top: 30px; }
.route { list-style: none; margin: 0; padding: 0; position: relative; }
.route::before { content: ''; position: absolute; left: 37px; top: 40px; bottom: 40px; border-left: 2.5px dashed #b9c6dc; }
.route li { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 24px; padding: 18px 0; }
.route .icon { background: #fff; border-radius: 50%; position: relative; }
.route .step { font-size: .9rem; font-weight: 700; color: var(--blue); }
.route h3 { margin: 2px 0 8px; }
.route p { color: var(--ink-2); }
.route .examples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 0; list-style: none; }
.route .examples li { display: block; padding: 6px 12px; border-radius: 999px; background: var(--mist); font-size: .95rem; font-weight: 600; color: var(--ink-2); }
@media (max-width: 900px) { .custom { grid-template-columns: 1fr; } .custom .section-head { position: static; } }

/* ---------- Voices ---------- */
.voices { background: var(--night); color: #fff; }
.voices h2 { color: #fff; }
.voices .lede { color: #c3cce0; }
.voices-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.big-quote { margin: 0; }
.big-quote p { font-size: clamp(1.35rem, 2.3vw, 1.75rem); line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; }
.big-quote p::before { content: '\201C'; display: block; font-size: 4.5rem; line-height: .6; color: var(--sun); font-weight: 800; margin-bottom: 18px; }
.big-quote footer { margin-top: 22px; color: #c3cce0; font-size: 1rem; }
.big-quote footer strong { color: #fff; }
.small-quotes { display: grid; gap: 14px; }
.small-quotes blockquote { margin: 0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 20px 22px; }
.small-quotes p { font-size: 1.08rem; line-height: 1.5; }
.small-quotes footer { margin-top: 10px; font-size: .93rem; color: #c3cce0; }
.small-quotes footer strong { color: #fff; font-weight: 700; }
.voices-more { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .voices-grid { grid-template-columns: 1fr; } .voices-more { grid-template-columns: 1fr; } }

/* ---------- Where ---------- */
.where { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.where > div { padding: 32px 32px 32px 0; display: grid; gap: 12px; align-content: start; }
.where > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.where p { color: var(--ink-2); }
@media (max-width: 860px) {
  .where { grid-template-columns: 1fr; }
  .where > div, .where > div + div { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .where > div:first-child { border-top: 0; }
}

/* ---------- Community band ---------- */
.community { background: var(--blue); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.community h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.community p { color: #dfe9ff; margin-top: 12px; max-width: 52ch; }
.community .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.community .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.community .btn-ghost:hover { border-color: #fff; color: #fff; }
.community .btn .wa { width: 22px; height: 22px; color: #128c7e; }
@media (max-width: 820px) { .community { grid-template-columns: 1fr; } }

/* ---------- Photo strip ---------- */
.photo-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.photo-row img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.photo-row.even { grid-template-columns: 1fr 1fr; }
.photo-row.four { grid-template-columns: repeat(4, 1fr); }
.photo-row.trio { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .photo-row, .photo-row.four, .photo-row.trio { grid-template-columns: 1fr 1fr; } .photo-row > :first-child:not(:only-child) { grid-column: 1 / -1; } }

/* ---------- Split (text + aside) ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split .prose p + p { margin-top: 18px; }
.prose p { color: var(--ink-2); max-width: 64ch; }
.prose h2 + p, .prose h3 + p { margin-top: 16px; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.panel { background: var(--mist); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.panel h3 { margin-bottom: 18px; }

.numbered { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; gap: 18px; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.numbered li::before { content: counter(n); width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue); font-weight: 800; display: grid; place-items: center; }
.numbered strong { display: block; }
.numbered span { color: var(--ink-2); font-size: 1rem; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.facts li { padding: 28px 28px 0 0; }
.facts li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.facts h3 { font-size: 1.2rem; margin-bottom: 8px; }
.facts p { color: var(--ink-2); font-size: 1.02rem; }
@media (max-width: 820px) { .facts { grid-template-columns: 1fr; } .facts li, .facts li + li { padding: 24px 0 0; border-left: 0; } }

/* ---------- Safety ---------- */
.habits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 72px); }
.habits li { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.habits h3 { font-size: 1.25rem; margin-bottom: 6px; }
.habits p { color: var(--ink-2); }
@media (max-width: 780px) { .habits { grid-template-columns: 1fr; } }

.resources { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.resources a { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); height: 100%; transition: border-color .2s, box-shadow .2s; }
.resources a:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--ink); }
.resources strong { font-size: 1.15rem; }
.resources .ui { color: var(--blue); grid-row: 1; grid-column: 2; }
.resources p { grid-column: 1 / -1; color: var(--ink-2); font-size: 1rem; }
.resources small { grid-column: 1 / -1; color: var(--blue); font-weight: 600; font-size: .92rem; }
@media (max-width: 760px) { .resources { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--radius-lg); background: var(--mist); }
.person h3 { margin-top: 18px; }
.person .role { color: var(--blue); font-weight: 700; font-size: 1rem; margin-top: 4px; }
.person p { color: var(--ink-2); font-size: 1rem; margin-top: 12px; }
.person .text-link { margin-top: 14px; font-size: 1rem; }
.person .text-link .ui { width: 18px; height: 18px; }
@media (max-width: 900px) { .people { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .people { grid-template-columns: 1fr; } }

/* ---------- Partners page ---------- */
.partner { padding: clamp(56px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.partner-top { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.partner-logo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: grid; place-items: center; aspect-ratio: 1; }
.partner-logo img { max-height: 120px; width: auto; object-fit: contain; }
.partner h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.partner .since { color: var(--ink-3); font-weight: 600; font-size: 1rem; margin-top: 8px; }
.partner .prose { margin-top: 18px; }
.partner .did { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.partner .did li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink-2); }
.partner .did .ui { color: var(--green); margin-top: 4px; }
.partner .did strong { color: var(--ink); }
.partner .photo-row { margin-top: 40px; }
@media (max-width: 760px) { .partner-top { grid-template-columns: 1fr; } .partner-logo { width: 160px; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.contact-list small { display: block; font-size: .92rem; color: var(--ink-3); font-weight: 600; }
.contact-list a, .contact-list span { font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.form { background: var(--mist); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-weight: 700; font-size: 1rem; }
.form label .opt { font-weight: 500; color: var(--ink-3); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 1.05rem; color: var(--ink);
  min-height: 52px; padding: 12px 14px;
  border: 2px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #6f7a90; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.form [aria-invalid="true"] { border-color: #c62f2f; }
.form .error { color: #b42323; font-size: .95rem; font-weight: 600; display: none; }
.form .error.show { display: block; }
.form .done { display: none; background: var(--green-soft); color: #0d5e3e; border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.form .done.show { display: block; }
.form .note { font-size: .95rem; color: var(--ink-3); }
.form .btn { justify-self: start; }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }

/* ---------- Closing CTA + footer ---------- */
.closing { text-align: left; }
.closing .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.closing h2 { max-width: 18ch; }
.closing p { margin-top: 16px; }
.closing .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 820px) { .closing .wrap { grid-template-columns: 1fr; } }

.site-footer { background: var(--night); color: #c3cce0; padding: 64px 0 40px; font-size: 1rem; }
.site-footer .top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #9aa6c0; display: block; }
.site-footer p { margin-top: 16px; max-width: 36ch; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #c3cce0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .92rem; color: #9aa6c0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .site-footer .top { grid-template-columns: 1fr 1fr; } .site-footer .top > :first-child { grid-column: 1 / -1; } }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  display: none; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 900px; margin: 0 auto; padding: 20px 22px;
  background: var(--night); color: #c3cce0;
  border-radius: var(--radius-lg); box-shadow: 0 20px 60px -10px rgba(15, 26, 51, .45);
}
.cookie-banner.active { display: flex; }
.cookie-copy { font-size: .98rem; line-height: 1.5; }
.cookie-copy strong { display: block; color: #fff; font-size: 1.05rem; margin-bottom: 2px; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.cookie-btn { font: inherit; font-weight: 700; font-size: 1rem; min-height: 46px; padding: 0 18px; border-radius: 10px; border: 0; cursor: pointer; transition: background-color .2s; }
.cookie-btn.accept { background: var(--sun); color: var(--ink); }
.cookie-btn.accept:hover { background: #ffd666; }
.cookie-btn.decline { background: rgba(255, 255, 255, .1); color: #fff; }
.cookie-btn.decline:hover { background: rgba(255, 255, 255, .18); }
@media (max-width: 640px) { .cookie-banner { flex-direction: column; align-items: stretch; } .cookie-actions > * { flex: 1; } }

/* ---------- Press release ---------- */
.release-actions { margin-top: 28px; }
.release { max-width: 720px; }
.release figure { margin: 0 0 40px; }
.release figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.release figcaption { margin-top: 12px; font-size: .95rem; color: var(--ink-3); }
.release p { color: var(--ink-2); font-size: 1.15rem; line-height: 1.75; }
.release p + p { margin-top: 20px; }
.release p strong { color: var(--ink); }
.release h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 52px 0 16px; }
.release blockquote { margin: 40px 0; padding: 0; font-size: 1.35rem; line-height: 1.55; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.release blockquote::before { content: ''; display: block; width: 48px; height: 4px; border-radius: 4px; background: var(--sun); margin-bottom: 18px; }
.release .media-contact { margin-top: 56px; padding: 28px; background: var(--mist); border-radius: var(--radius-lg); }
.release .media-contact h3 { margin-bottom: 8px; }
.release .media-contact p { font-size: 1.05rem; }
