/* Layout: a calm single column of woodland "bands" — pale lichen ground, deep forest anchors, soft moss accents; contours of hills at the hero. */
:root {
  /* Split-complementary scheme: green base, with red-orange (clay) and red-violet (heather) opposite it on the wheel */
  --ground: #f8f6f2;        /* warm stone */
  --surface: #e6eee1;       /* sage wash */
  --clay: #b4553a;          /* red-orange: calls to action */
  --on-clay: #fff8f4;
  --heather: #7d5a86;       /* red-violet: labels, details */
  --blush: #f6e7e1;         /* pale clay wash */
  --lilac: #eee6f0;         /* pale heather wash */
  --sun: #eba57c;           /* sunrise peach */
  --glow: #eba57c;          /* banner sun glow and water glints (moonlight in dark mode) */
  --sky-top: #f8e4d6;
  --band: #3d5c45;          /* sage: "What to expect" band */
  --band-label: #f7dccb;
  --wood: #8b5a3a;          /* boat timber */
  --wood-dark: #5e3a24;
  --ink: #1d2b22;           /* bark-dark green */
  --ink-soft: #4a5c50;
  --text: #34453a;        /* body copy, a touch softer than headings */
  --forest: #2f5a40;        /* primary green */
  --moss: #6f9a5b;          /* accent */
  --fern: #a9c79a;
  --line: #dfdcd2;
  --on-forest: #f1f6ee;
  --hill-1: #c9dcbf;
  --hill-2: #9fc08f;
  --hill-3: #5f8f5a;
  --hill-4: #2f5a40;
  --display: "Young Serif", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --gutter: 76px;
  --gutter-l: max(var(--gutter), env(safe-area-inset-left, 0px));
  --gutter-r: max(var(--gutter), env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #141716; --surface: #1a251e; --ink: #e3ece0; --text: #cbd7cb; --ink-soft: #a8b9ab;
    --clay: #e58d6e; --on-clay: #1c120e; --heather: #c8a7d1; --blush: #2b201d; --lilac: #251f29; --sun: #e89a6e; --glow: #ece3c8; --sky-top: #241c1c; --band: #6f9071; --band-label: #142019; --wood: #a8714b; --wood-dark: #6e4529;
    --forest: #8fbf86; --moss: #9cc68b; --fern: #4d7348; --line: #2e3532;
    --on-forest: #0f1712;
    --hill-1: #1f3024; --hill-2: #284030; --hill-3: #33563c; --hill-4: #456f4c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #141716; --surface: #1a251e; --ink: #e3ece0; --text: #cbd7cb; --ink-soft: #a8b9ab;
  --clay: #e58d6e; --on-clay: #1c120e; --heather: #c8a7d1; --blush: #2b201d; --lilac: #251f29; --sun: #e89a6e; --glow: #ece3c8; --sky-top: #241c1c; --band: #6f9071; --band-label: #142019; --wood: #a8714b; --wood-dark: #6e4529;
  --forest: #8fbf86; --moss: #9cc68b; --fern: #4d7348; --line: #2e3532;
  --on-forest: #0f1712;
  --hill-1: #1f3024; --hill-2: #284030; --hill-3: #33563c; --hill-4: #456f4c;
  color-scheme: dark;
}

* { box-sizing: border-box; }
@media (max-width: 600px) { :root { --gutter: 36px; } }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
html, body { margin: 0; padding: 0; }
body {
  background: var(--ground); color: var(--text);
  font-family: var(--body); font-weight: 300; font-size: 1.0625rem; line-height: 1.65;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--ground); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
a { color: var(--forest); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; border-radius: 4px; }

@media (min-width: 1600px) { :root { --wrap: 1580px; --gutter: 100px; } }
@media (min-width: 2000px) { :root { --wrap: 1800px; --gutter: 120px; } }
.wrap { max-width: var(--wrap, 1360px); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.band { padding-block: clamp(56px, 9vw, 104px); }
#help { padding-top: clamp(40px, 6vw, 72px); scroll-margin-top: 32px; } /* a little closer to the banner; extra room so the menu link still clears the header */
.eyebrow { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; color: var(--heather); }
.lede { text-wrap: pretty; font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
/* Sections without top padding need room for the fixed header when reached from the menu */
#about, #faq { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 104px); }
.section-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 62ch; }
#process .section-head, #process .lede { max-width: 1120px; } /* two lines on desktop */
#help .section-head, #help .lede { max-width: none; } #help .lede { text-wrap: wrap; } /* same width as the boxes below */

/* Header */
/* Sits inside the hero's sky at rest; becomes a fixed bar once the visitor scrolls past it */
.site-header {
  position: absolute; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 20;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .2s ease;
}
.site-header.menu-open { background: var(--blush); }
.site-header.stuck {
  position: fixed;
  background: color-mix(in srgb, var(--ground) 94%, transparent);
  backdrop-filter: blur(8px); border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -12px color-mix(in srgb, var(--ink) 35%, transparent);
  animation: drop-in .28s ease-out;
}
.site-header.stuck.menu-open { background: var(--ground); }
@keyframes drop-in { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 30px; height: 30px; flex: none; transform: rotate(8deg); transform-origin: 50% 90%; }
.brand span { font-family: var(--display); font-size: 1.2rem; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 400; font-size: 0.98rem; }
.nav-links a:hover { color: var(--forest); }
.nav-links a:not(.btn) { background: linear-gradient(currentColor, currentColor) 50% 100% / 0% 1.5px no-repeat; padding-bottom: 3px; transition: background-size .22s cubic-bezier(.2,.7,.2,1), color .22s ease; }
.nav-links a:not(.btn):hover, .nav-links a:not(.btn):focus-visible { background-size: 100% 1.5px; }
.nav-links a:not(.btn)[aria-current="page"] { color: var(--forest); background-size: 100% 1.5px; }
.site-header.compact .nav-links a:not(.btn) { background: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--clay); color: var(--on-clay); text-decoration: none;
  font: 500 1rem var(--body); padding: 13px 22px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--forest); }
.nav-links .btn { color: var(--on-clay); padding: 10px 18px; }
.brand, .nav-links { flex: none; }
.brand span, .nav-links a { white-space: nowrap; }
.menu-toggle { display: none; position: relative; flex: none; width: 44px; height: 44px; background: none; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease, top .2s ease; }
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle span:nth-child(3) { top: 26px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* "compact" is set by script whenever the full menu would not fit on one line */
/* Light / dark switch: sits after the menu, or beside the burger when space is tight */
.brand { order: 0; }
.nav-links { order: 1; margin-left: auto; }
.theme-toggle { order: 2; flex: none; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1.5px solid var(--line); background: none; color: var(--ink); cursor: pointer; transition: background .2s ease, color .2s ease, transform .3s cubic-bezier(.2,.7,.2,1); }
.theme-toggle:hover { background: var(--surface); color: var(--forest); transform: rotate(-15deg); }
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; } :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; } }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.menu-toggle { order: 3; }
.site-header.compact .theme-toggle { margin-left: auto; }
.site-header.compact .nav-links { order: 4; margin-left: 0; }
.theme-label { display: none; }
/* Narrow phones: no room beside the burger, so the switch moves into the open menu as a labelled button */
@media (max-width: 440px) {
  .site-header.compact .theme-toggle { display: none; }
  .site-header.compact.menu-open .theme-toggle { display: flex; order: 5; width: 100%; height: 46px; gap: 10px; justify-content: center; align-items: center; margin: 0 0 12px; border-radius: 999px; font: 500 1rem var(--body); }
  .site-header.compact.menu-open .theme-toggle:hover { transform: none; }
  .site-header.compact.menu-open .theme-label { display: inline; }
}
.site-header.compact .menu-toggle { display: inline-block; }
.site-header.compact .nav { flex-wrap: wrap; }
.site-header.compact .nav-links { display: none; width: 100%; flex: auto; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
.site-header.compact .nav-links.open { display: flex; }
.site-header.compact .nav-links li a { display: block; padding: 14px 4px; border-top: 1px solid var(--line); }
.site-header.compact .nav-links li:last-child a { margin-top: 12px; border-top: 0; text-align: center; }
@media (max-width: 380px) { .brand span { font-size: 1.05rem; } .brand svg { width: 26px; height: 26px; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-top) 0%, var(--blush) 55%, var(--lilac) 100%); }
.hero-inner { position: relative; z-index: 2; display: grid; gap: 22px; padding-block: calc(clamp(40px, 8vw, 96px) + 72px) clamp(180px, 25vw, 300px); max-width: 720px; }
.hero h1 em { font-style: normal; color: var(--clay); }
.nowrap { white-space: nowrap; }
.grow-leaf { display: inline-block; width: 0.78em; height: 0.78em; margin-left: 0.06em; vertical-align: -0.02em; transform: rotate(8deg); transform-origin: 50% 90%; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.92rem; color: var(--ink-soft); list-style: none; padding: 0; margin: 8px 0 0; }
.badges li { display: flex; align-items: center; gap: 8px; }
.badges li::before { content: ""; width: 8px; height: 8px; border-radius: 50% 0; background: var(--moss); transform: rotate(45deg); }
.badges li:nth-child(2)::before { background: var(--clay); }
.badges li:nth-child(3)::before { background: var(--heather); }
.hills { position: absolute; inset: auto 0 0 0; width: 100%; height: max(180px, 25vw); z-index: 1; display: block; overflow: visible; } /* grows with width (never cropped at the top) and rises behind the hero text on wide screens */
.hills .birds { fill: none; stroke: var(--heather); stroke-width: 1.6; stroke-linecap: round; animation: drift 24s ease-in-out infinite alternate; }
.hills .ripple { fill: none; stroke: var(--ground); stroke-width: 1.2; stroke-linecap: round; opacity: .55; }
.hills .glint { stroke: var(--glow); stroke-width: 2; stroke-linecap: round; opacity: .75; animation: shimmer 6s ease-in-out infinite alternate; }
.hills .reed { fill: none; stroke: var(--hill-4); stroke-width: 1.6; stroke-linecap: round; }
.hills .reed-head { fill: var(--clay); opacity: .85; }
/* Sun by day, crescent moon in dark mode */
.hills .moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hills .sun { display: none; } :root:not([data-theme="light"]) .hills .moon { display: inline; } :root:not([data-theme="light"]) .hills .glow { opacity: .5; } }
:root[data-theme="dark"] .hills .sun { display: none; }
:root[data-theme="dark"] .hills .moon { display: inline; }
:root[data-theme="dark"] .hills .glow { opacity: .5; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-40px, 8px); } }
.hills .boat { animation: bob 5s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(1.5px); } }
@keyframes shimmer { from { opacity: .45; } to { opacity: .85; } }

/* Inner-page banner (About, Contact): the home page sky with a soft hill curve at its foot */
.page-hero { padding-block: calc(clamp(40px, 7vw, 88px) + 72px) clamp(72px, 9vw, 120px); }
.page-hero::after {
  content: ""; position: absolute; left: -15%; right: -15%; bottom: calc(-1 * clamp(40px, 6vw, 90px));
  height: clamp(80px, 12vw, 180px); background: var(--ground); border-radius: 50%;
}
.page-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.page-hero-text { display: grid; gap: 22px; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
.page-hero h1 em { font-style: normal; color: var(--clay); }
.page-hero + .band { padding-top: clamp(24px, 4vw, 48px); }
/* One large faint leaf in the inner-page banners, the same shape as the leaves in the About page cards */
.page-hero::before {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  top: clamp(40px, 6vw, 90px); right: clamp(-140px, -6vw, -50px);
  width: clamp(220px, 30vw, 460px); aspect-ratio: 1;
  background: var(--forest); opacity: .07; border-radius: 0 100% 0 100%; transform: rotate(-12deg);
}
.page-hero-inner.solo { grid-template-columns: minmax(0, 1fr); }
.solo .page-hero-text { max-width: 760px; }
@media (max-width: 860px) { .page-hero-inner { grid-template-columns: 1fr; } }

/* Help areas */
/* Six cards: 1, 2, 3 or 6 per row only, so every row is always full */
.areas { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 600px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1400px) { .areas { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
/* Each card takes its own hue, 60° apart round the colour wheel (a hexadic set), starting from the site's clay.
   OKLCH keeps every tint equally light and soft, so no one card shouts louder than the others. */
/* --k scales the colour strength: blues and violets read brighter than warm hues at the same setting, so they use --k: .55 */
.area { --h: 150; --tint: oklch(95.5% calc(0.028 * var(--k, 1)) var(--h)); --mark: oklch(55% calc(0.11 * var(--k, 1)) var(--h));
  background: var(--tint); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; }
.area svg { width: 28px; height: 28px; color: var(--mark); }
.area p { color: var(--ink-soft); font-size: 0.98rem; }
.area:nth-child(1) { --h: 30; }   /* clay rose */
.area:nth-child(2) { --h: 90; }   /* warm ochre */
.area:nth-child(3) { --h: 150; }  /* sage green */
.area:nth-child(4) { --h: 210; --k: .55; }  /* lake teal */
.area:nth-child(5) { --h: 270; --k: .55; }  /* periwinkle */
.area:nth-child(6) { --h: 330; }  /* heather plum */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .area { --tint: oklch(26% calc(0.03 * var(--k, 1)) var(--h)); --mark: oklch(78% calc(0.1 * var(--k, 1)) var(--h)); }
}
:root[data-theme="dark"] .area { --tint: oklch(26% calc(0.03 * var(--k, 1)) var(--h)); --mark: oklch(78% calc(0.1 * var(--k, 1)) var(--h)); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 72px); align-items: start; }
.portrait {
  aspect-ratio: 1 / 1; max-width: 100%; border-radius: 50%;  background: linear-gradient(180deg, var(--heather), var(--sun) 70%); position: relative; overflow: hidden;
  display: block;
}
.portrait { outline: 1px solid var(--moss); outline-offset: 8px; } /* thin ring with a small air gap */
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; display: block; }
.portrait-fig { margin: 0; padding: 16px; display: grid; gap: 28px; width: 100%; max-width: 480px; min-width: 0; justify-self: center; }
.portrait-fig figcaption { font-size: 0.8rem; color: var(--ink-soft); text-align: center; }
.portrait svg { width: 100%; height: auto; display: block; }
.portrait small { position: absolute; top: 16px; left: 0; right: 0; text-align: center; font-size: 0.8rem; color: var(--on-forest); opacity: .85; letter-spacing: .06em; }
.about-text { display: grid; gap: 16px; min-width: 0; }
.about-text p { color: var(--ink-soft); max-width: 62ch; }
.about-text .about-more { margin-top: 8px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .portrait-fig { width: 340px; max-width: 100%; padding: 12px; justify-self: center; } }

/* Approach — forest band */
.forest { background: var(--band); color: var(--on-forest); }
.forest h2, .forest h3 { color: var(--on-forest); }
.forest .eyebrow { color: var(--band-label); }
.forest .lede { color: color-mix(in srgb, var(--on-forest) 82%, transparent); }
.forest a { color: var(--on-forest); text-decoration-color: color-mix(in srgb, var(--on-forest) 55%, transparent); }
.forest a:hover { text-decoration-color: currentColor; }
/* Four steps: 1, 2 or 4 per row only, so rows are always full */
@media (min-width: 600px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
.steps { display: grid; grid-template-columns: 1fr; gap: 28px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--on-forest) 30%, transparent); counter-increment: step; }
.steps li::before { content: "Step " counter(step); font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--band-label); font-weight: 500; }
.steps p { color: color-mix(in srgb, var(--on-forest) 82%, transparent); font-size: 0.98rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .forest .eyebrow, :root:not([data-theme="light"]) .steps li::before { color: var(--on-forest); } }
:root[data-theme="dark"] .forest .eyebrow, :root[data-theme="dark"] .steps li::before { color: var(--on-forest); }

/* Fees */
/* Three fee boxes: 1 or 3 per row only */
.fees { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 860px) { .fees { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fee { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; align-content: start; background: var(--ground); }
.fee.feature { background: var(--blush); border-color: var(--clay); }
.fee.feature .price { color: var(--clay); }
.price { font-family: var(--body); font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: lining-nums tabular-nums; font-size: 2.2rem; color: var(--forest); font-variant-numeric: tabular-nums; line-height: 1; }
.price small { font-family: var(--body); font-size: 0.95rem; color: var(--ink-soft); }
.fee p { color: var(--ink-soft); font-size: 0.98rem; }
.fee-note { margin-top: 22px; color: var(--ink-soft); font-size: 0.95rem; max-width: 70ch; }
.formats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; list-style: none; padding: 0; }
/* Four ways to attend: four hues 90° apart round the wheel (a square set), same soft tints as the help cards */
.formats li { --h: 30; background: oklch(95.5% calc(0.028 * var(--k, 1)) var(--h)); border-radius: 999px; padding: 8px 16px; font-size: 0.95rem; font-weight: 400; }
.formats li:nth-child(2) { --h: 120; }  /* fresh green */
.formats li:nth-child(3) { --h: 210; --k: .55; }  /* lake teal */
.formats li:nth-child(4) { --h: 300; --k: .55; }  /* soft violet */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .formats li { background: oklch(26% calc(0.03 * var(--k, 1)) var(--h)); }
}
:root[data-theme="dark"] .formats li { background: oklch(26% calc(0.03 * var(--k, 1)) var(--h)); }

/* Crisis support box (contact and terms pages) */
.support { background: var(--lilac); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 8px; margin-top: 8px; }
.support h3 { font-size: 1.1rem; color: var(--heather); }
.support p { font-size: 0.95rem; color: var(--ink-soft); }

/* FAQ */
.faq { display: grid; gap: 0; max-width: none; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 500; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--clay); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details.closing summary::after { transform: translateY(-50%); }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); max-width: none; }

/* Contact */
form { align-self: start; align-content: start; background: var(--surface); border-radius: var(--radius); padding: clamp(20px, 4vw, 34px); display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; align-content: start; line-height: 1.35; font-weight: 400; font-size: 0.95rem; }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--ground);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px color-mix(in srgb, var(--moss) 30%, transparent); }
textarea { min-height: 130px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--ink-soft); opacity: .7; }
select:invalid, select:has(option[value=""]:checked) { color: color-mix(in srgb, var(--ink-soft) 70%, transparent); }
select option { color: var(--ink); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.92rem; color: var(--ink-soft); }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--clay); }
.form-msg { font-size: 0.95rem; color: var(--forest); font-weight: 400; }


/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 36px; font-size: 0.92rem; color: var(--ink-soft); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; }
.foot-id { display: grid; gap: 12px; min-width: 0; }
.foot .bacp-logo { margin-left: auto; }
/* White tile keeps the official logo on its intended background in dark mode too */
.bacp-logo { width: 190px; max-width: 100%; height: auto; background: #fff; padding: 8px 10px; border-radius: 8px; display: block; }
.foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; }
.foot a { color: var(--ink-soft); }
.ig-link { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); text-decoration: none; font-weight: 400; user-select: auto; }
.ig-link:hover { text-decoration: underline; }
.ig-icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ig-icon .dot { fill: currentColor; stroke: none; }
.foot .ig-link { color: var(--ink-soft); }
.portrait-ig { justify-self: center; margin-top: -12px; }
.foot .ig-icon { width: 18px; height: 18px; }

/* Cookie consent: a small card in the bottom corner that never blocks the page */
.cookie-banner {
  position: fixed; z-index: 40; left: max(16px, env(safe-area-inset-left, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
  width: min(400px, calc(100vw - 32px)); display: grid; gap: 10px;
  padding: 20px 22px; border-radius: var(--radius); background: var(--ground); color: var(--ink-soft);
  border: 1px solid var(--line); box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--ink) 45%, transparent);
  font-size: 0.92rem; line-height: 1.5;
  opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .3s cubic-bezier(.2,.7,.2,1);
}
.cookie-banner.show { opacity: 1; transform: none; }
.cookie-banner[hidden] { display: none; }
.cookie-title { font-family: var(--display); font-size: 1.1rem; color: var(--ink); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
/* Accept and Reject are deliberately identical, so neither is nudged */
.cookie-btn { flex: 1 1 140px; padding: 10px 16px; font-size: 0.92rem; background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--forest); }
.cookie-btn:hover { background: var(--surface); }
.link-btn { font: inherit; color: var(--ink-soft); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
