/* Vested Impact website. One stylesheet for every page.
   Every value here comes from DESIGN.md v0.6. Change DESIGN.md first, then this file. */

/* ---------- Fonts (self-hosted, DESIGN.md section 4) ---------- */
@font-face { font-family: 'Libre Baskerville'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/libre-baskerville-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Libre Baskerville'; font-style: italic; font-weight: 700; font-display: swap; src: url('../fonts/libre-baskerville-latin-700-italic.woff2') format('woff2'); }
@font-face { font-family: 'Libre Baskerville'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/libre-baskerville-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Almarai'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/almarai-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Almarai'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/almarai-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Almarai'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/almarai-latin-700-normal.woff2') format('woff2'); }

/* ---------- Tokens (DESIGN.md section 10) ---------- */
:root {
  --emerald: #023020;
  --berry: #910C43;
  --off-white: #FAFAF8;
  --cream: #F4EFE6;
  --sage: #688D7D;
  --forest: #3A624B;
  --salmon: #FF7E70;
  --gold: #C9963A;
  --lilac: #B09CC8;
  --blush: #F2B8CC;
  --ink: #2C2C2C;
  --grey: #4A4A4A;
  --rule: rgba(2, 48, 32, 0.14);

  --font-heading: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Almarai', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --page-max: 1200px;
  --text-max: 680px;
  --measure: 36.5rem;
  --heading-max: 720px;
  --gutter: 24px;
  --side: 24px;
  --section-gap: 64px;
  --nav-height: 72px;
  --radius: 4px;
  --transition: 150ms;

  /* Hero arcs. Brand pages swap this for their marker colour (D-014). */
  --arc: var(--cream);
  --marker: transparent;
}
@media (min-width: 960px) {
  :root { --side: 40px; --section-gap: 96px; }
}
.is-first-cheque { --arc: var(--lilac); --marker: var(--lilac); --block: var(--lilac); --block-arc: var(--off-white); }
.is-vested-angels { --arc: var(--gold); --marker: var(--gold); --block: var(--gold); --block-arc: var(--off-white); }
/* Photo-led heroes (D-015): each page's colour block, and the arcs drawn on it. */
.is-home { --block: var(--berry); --block-arc: var(--blush); }
.is-investors { --block: var(--blush); --block-arc: var(--off-white); }
.is-founders { --block: var(--salmon); --block-arc: var(--off-white); }
.is-partners { --block: var(--emerald); --block-arc: var(--forest); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 24px); }
body {
  margin: 0;
  background: var(--off-white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 2px; }
.on-emerald :focus-visible { outline-color: var(--off-white); }

.wrap { width: 100%; max-width: var(--page-max); margin-inline: auto; padding-inline: var(--side); }
.skip { position: absolute; left: var(--side); top: -100px; z-index: 100; background: var(--emerald); color: var(--off-white); padding: 12px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type (DESIGN.md 4.2) ---------- */
.display, .h1, .h2, .h3, .card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--emerald);
  text-wrap: balance;
}
.display { font-size: 2.25rem; line-height: 1.08; }
.h1 { font-size: 2rem; line-height: 1.12; }
.h2 { font-size: 1.625rem; line-height: 1.2; }
.h3 { font-size: 1.25rem; line-height: 1.3; }
.card-title { font-size: 1.125rem; line-height: 1.3; }
.display em, .h1 em, .h2 em { font-style: italic; font-weight: 700; color: var(--berry); }
.eyebrow { font-weight: 700; font-size: 0.8125rem; line-height: 1.4; letter-spacing: 0.22em; text-transform: uppercase; color: var(--berry); }
.lede { font-weight: 300; font-size: 1.125rem; line-height: 1.5; max-width: var(--measure); }
.br-d { display: none; }
@media (min-width: 960px) { .br-d { display: inline; } }
.small { font-size: 0.9375rem; line-height: 1.55; }
.caption, .source { font-size: 0.8125rem; line-height: 1.5; color: var(--grey); }
@media (min-width: 640px) {
  .display { font-size: 2.875rem; letter-spacing: -0.01em; }
}
@media (min-width: 960px) {
  .display { font-size: 3.5rem; }
  .h1 { font-size: 2.75rem; letter-spacing: -0.01em; }
  .h2 { font-size: 2rem; }
  .h3 { font-size: 1.375rem; }
  .card-title { font-size: 1.25rem; }
  .lede { font-size: 1.25rem; }
}

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1em; }
.prose > .source { margin-top: 8px; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--sage); }
.prose strong { font-weight: 700; }
.prose .h2 { margin-top: 56px; }
.prose .h2 + * { margin-top: 20px; }
.link, .prose a { color: var(--berry); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--transition); }
.link:hover, .prose a:hover { color: var(--emerald); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 24px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 700; font-size: 0.9375rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}
.btn--primary { background: var(--berry); border-color: var(--berry); color: var(--off-white); }
.btn--primary:hover { background: var(--emerald); border-color: var(--emerald); }
.btn--ghost { background: transparent; border-color: var(--berry); color: var(--berry); }
.btn--ghost:hover { border-color: var(--emerald); color: var(--emerald); }
.btn[disabled] { background: var(--cream); border-color: var(--cream); color: var(--grey); cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.textlink {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  color: var(--berry); font-weight: 700; font-size: 0.9375rem; line-height: 1.2; text-decoration: none;
  transition: color var(--transition);
}
.textlink:hover { color: var(--emerald); }
.textlink .icon { width: 14px; height: 14px; }

/* ---------- Notice bar ---------- */
.notice { background: var(--emerald); color: var(--off-white); font-size: 0.875rem; line-height: 1.45; }
.notice .wrap { padding-block: 10px; }
.notice a { color: var(--off-white); text-underline-offset: 3px; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--off-white); border-bottom: 1px solid var(--rule); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-height); }
.nav__logo { display: inline-flex; align-items: center; min-height: 44px; }
.nav__logo img { height: 40px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; height: var(--nav-height);
  border-block: 2px solid transparent;
  font-size: 0.9375rem; line-height: 1.2; color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}
.nav__link:hover { color: var(--berry); }
.nav__link[aria-current="page"] { color: var(--emerald); border-bottom-color: var(--emerald); }
.nav__link .icon { width: 12px; height: 12px; }
.nav__toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; background: none; border: 0; font-weight: 700; font-size: 0.9375rem; color: var(--emerald); cursor: pointer; }
.nav__toggle .icon { width: 20px; height: 20px; }
.nav__toggle .icon--close { display: none; }
@media (min-width: 960px) and (max-width: 1139px) {
  .nav__menu, .nav__links { gap: 20px; }
  .nav__link { font-size: 0.875rem; }
}
@media (max-width: 959px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu { display: none; }
  .nav.is-open .nav__toggle .icon--open { display: none; }
  .nav.is-open .nav__toggle .icon--close { display: block; }
  .nav.is-open .nav__menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    height: var(--menu-height, calc(100vh - var(--nav-height)));
    overflow-y: auto; background: var(--off-white); padding: 8px var(--side) 32px;
  }
  .nav.is-open .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav.is-open .nav__link { height: 56px; font-size: 1.125rem; border-block: 0; border-bottom: 1px solid var(--rule); justify-content: space-between; }
  .nav.is-open .nav__link .icon { width: 16px; height: 16px; }
  .nav.is-open .nav__cta { margin-top: 24px; }
  html.menu-open { overflow: hidden; }
}

/* ---------- Hero, type-led ---------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; padding-block: 48px 64px; }
.hero__text { max-width: var(--heading-max); }
.hero__eyebrow { max-width: calc(100% - 116px); min-height: 44px; }
.hero__logo { height: 56px; width: auto; margin-bottom: 24px; }
.hero__logo + .hero__eyebrow { min-height: 0; max-width: none; }
.hero .display, .hero .h1 { margin-top: 16px; }
.hero .lede { margin-top: 24px; }
.hero .source { margin-top: 12px; }
.hero .actions { margin-top: 32px; }
.hero__note { margin-top: 16px; max-width: var(--text-max); }
.hero .compliance { margin-top: 40px; }
.hero__arcs { position: absolute; top: 0; right: 0; height: 240px; width: auto; max-width: none; transform: translateY(-50%); pointer-events: none; }
.hero__arcs circle { fill: none; stroke: var(--arc); stroke-width: 32; }
.hero--logo .hero__arcs { height: 200px; }
/* Brand pages: the same arcs drawn as fine lines, so the marker colour stays quiet (D-011, D-014). */
.is-first-cheque .hero__arcs circle, .is-vested-angels .hero__arcs circle { stroke-width: 6; }
@media (min-width: 960px) {
  .hero .wrap { padding-block: 96px; }
  .hero__text { width: 58.333%; }
  .hero__eyebrow { max-width: none; min-height: 0; }
  .hero__arcs, .hero--logo .hero__arcs { top: 50%; height: 720px; }
  .hero__logo { height: 72px; margin-bottom: 32px; }
}
@media (min-width: 1200px) {
  .hero__arcs, .hero--logo .hero__arcs { height: 840px; }
}
.hero--plain .hero__eyebrow { min-height: 0; max-width: none; }
@media (min-width: 960px) { .hero.hero--plain .hero__arcs { top: 0; height: 560px; } }
@media (max-width: 959px) { .hero--plain .hero__arcs { display: none; } }
.hero--centred { text-align: center; }
.hero--centred .hero__text { margin-inline: auto; width: auto; }
.hero--centred .lede { margin-inline: auto; }
.hero--centred .actions { justify-content: center; }
.hero--centred .hero__eyebrow { max-width: none; min-height: 0; }

/* ---------- Photo-led hero (D-015): a colour block, the arcs, and one photo ---------- */
.hero__stage { position: relative; height: 360px; overflow: hidden; background: var(--block, var(--cream)); }
.stage__arcs { position: absolute; right: 0; top: 50%; height: 150%; width: auto; max-width: none; transform: translateY(-50%); pointer-events: none; }
.stage__arcs circle { fill: none; stroke: var(--block-arc, var(--off-white)); stroke-width: 6; }
.is-partners .stage__arcs circle, .is-investors .stage__arcs circle { stroke-width: 32; }
.stage__cut { position: absolute; bottom: 0; left: 50%; height: 94%; width: auto; max-width: none; transform: translateX(-50%); }
.stage__cut--wide { height: auto; width: min(100%, 520px); }
/* Photo treatments (D-017): boxed, popped out of a box, or in an instant-photo frame. No shadows. */
.stage__box { position: absolute; left: 50%; top: 50%; height: 76%; aspect-ratio: 2 / 3; transform: translate(-50%, -50%); }
.stage__box::before { content: ''; position: absolute; inset: 0; border: 1px solid var(--off-white); border-radius: var(--radius); transform: translate(14px, 14px); }
.stage__box img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.stage__box-square { height: auto; width: min(58%, 340px); aspect-ratio: 1; }
.stage__polaroid { position: absolute; left: 50%; top: 50%; width: min(56%, 340px); padding: 12px 12px 48px; background: var(--off-white); border-radius: var(--radius); transform: translate(-50%, -50%) rotate(-3deg); }
.stage__polaroid-wide { width: min(84%, 520px); transform: translate(-50%, -50%) rotate(2deg); }
.polaroid__photo { background: var(--cream); aspect-ratio: 1; overflow: hidden; }
.stage__polaroid-wide .polaroid__photo { aspect-ratio: 3 / 2; }
.polaroid__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; mix-blend-mode: multiply; }
.stage__polaroid-wide .polaroid__photo img { object-position: 50% 50%; }
/* First Cheque: a full photograph, so no blend, its own 4:3 shape, and tilted the other way to Partners. */
.is-first-cheque .stage__polaroid-wide { transform: translate(-50%, -50%) rotate(-2deg); }
.is-first-cheque .polaroid__photo { aspect-ratio: 4 / 3; }
.is-first-cheque .polaroid__photo img { mix-blend-mode: normal; }
.stage__pop { position: absolute; left: 50%; bottom: 9%; width: min(62%, 380px); height: 52%; transform: translateX(-50%); background: var(--off-white); border-radius: var(--radius); }
.stage__pop-img { position: absolute; left: 50%; bottom: 0; height: 165%; width: auto; max-width: none; transform: translateX(-50%); }
.hero--photo .hero__eyebrow { min-height: 0; max-width: none; }
.hero--photo .wrap { padding-bottom: 48px; }
.hero--photo + .section--flush { padding-top: 48px; }
@media (min-width: 960px) {
  .hero--photo .wrap { display: flex; align-items: center; min-height: 640px; padding-bottom: 96px; }
  .hero--photo .hero__text { flex: none; }
  .hero__stage { position: absolute; top: 0; bottom: 0; left: 60vw; right: 0; height: auto; }
  .stage__cut { height: 88%; }
  .stage__cut--wide { height: auto; width: 100%; }
  .stage__box { height: 68%; }
  .stage__box-square { height: auto; }
  .stage__polaroid { padding: 16px 16px 64px; }
  .hero--photo + .section--flush { padding-top: 64px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-gap); border-top: 1px solid var(--rule); }
.section--band { background: var(--cream); border-top: 0; }
.section--band + .section { border-top: 0; }
.section--blush { background: var(--blush); border-top: 0; }
.section--blush + .section { border-top: 0; }
.section--blush .source { color: var(--ink); }
.section--blush .stats--3 .stat { border-color: rgba(2, 48, 32, 0.28); }
.section--blush .stat__num--key { color: var(--emerald); }
.section--flush { border-top: 0; padding-top: 0; }
.head { max-width: var(--heading-max); margin-bottom: 48px; }
.head .eyebrow + .h2 { margin-top: 12px; }
.head .lede { margin-top: 16px; }
.head:last-child { margin-bottom: 0; }
.split { display: grid; gap: 48px var(--gutter); }
.split > * { min-width: 0; }
@media (min-width: 960px) {
  .split { grid-template-columns: repeat(12, 1fr); }
  .split > .split__main { grid-column: 1 / span 7; }
  .split > .split__side { grid-column: 9 / span 4; }
  .split > .split__half { grid-column: span 6; }
}
.stack > * + * { margin-top: 24px; }
.after { margin-top: 32px; max-width: var(--text-max); }
.after-lg { margin-top: 48px; }
.measure { max-width: var(--text-max); }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; }
.mt-48 { margin-top: 48px; } .mt-72 { margin-top: 72px; }
.statement + .section { border-top: 0; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: var(--gutter); }
@media (min-width: 640px) { .cards--2, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--off-white); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 32px; transition: border-color var(--transition);
}
.card > * + * { margin-top: 12px; }
.card .eyebrow + .card-title { margin-top: 16px; }
@media (min-width: 960px) { .cards--4 .card .eyebrow { min-height: 2.8em; } }
.card__foot { margin-top: auto; padding-top: 20px; }
.card__foot > * + * { margin-top: 12px; }
.card--link:hover { border-color: var(--emerald); }
.card--link .textlink::after, .card-link::after { content: ''; position: absolute; inset: 0; }
.card-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; transition: color var(--transition); }
.card-link .icon { color: var(--berry); }
.card--link:hover .card-link { color: var(--berry); }
.card ul { list-style: disc; padding-left: 1.2em; }
.card li + li { margin-top: 6px; }
.card li::marker { color: var(--sage); }
.card .btn { width: 100%; }
.card .compliance { margin-top: 20px; }
.card__out { font-size: 0.8125rem; line-height: 1.5; color: var(--grey); }
.numeral { font-family: var(--font-heading); font-style: italic; font-weight: 700; font-size: 2.5rem; line-height: 1; color: var(--berry); }
.numeral + .card-title { margin-top: 16px; }

/* Brand marker: a 4px top edge in the marker colour (D-014). */
.is-first-cheque .card, .is-vested-angels .card, .is-first-cheque .step, .is-vested-angels .step { border-top: 4px solid var(--marker); }

/* Numbered step card */
.steps { display: grid; gap: var(--gutter); counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--cream); border-radius: var(--radius); padding: 40px 32px; }
.step > * + * { margin-top: 12px; }
.section--band .step { background: var(--off-white); }

/* ---------- Stat block ---------- */
.stats { display: grid; gap: 40px 0; }
.stat__num { font-family: var(--font-heading); font-weight: 700; font-size: 2.5rem; line-height: 1; color: var(--emerald); }
.stat__num--key { color: var(--berry); }
.stat__label { margin-top: 12px; font-size: 0.9375rem; line-height: 1.55; max-width: 28ch; }
.stat .source { margin-top: 8px; max-width: 36ch; }
@media (min-width: 720px) {
  .stats--3 { grid-template-columns: repeat(3, 1fr); }
  .stats--3 .stat { padding-inline: 32px; border-left: 1px solid var(--rule); }
  .stats--3 .stat:first-child { padding-left: 0; border-left: 0; }
}
@media (min-width: 960px) { .stat__num { font-size: 3.5rem; } }

/* ---------- Beliefs and plain ruled lists ---------- */
.ruled > li { padding-block: 20px; border-top: 1px solid var(--rule); }
.ruled > li:last-child { border-bottom: 1px solid var(--rule); }
.ruled--lede > li { font-weight: 300; font-size: 1.125rem; line-height: 1.5; }
@media (min-width: 960px) { .ruled--lede > li { font-size: 1.25rem; } }

/* ---------- Checklist ---------- */
.checklist { max-width: var(--text-max); }
.checklist > li { display: flex; gap: 12px; align-items: flex-start; }
.checklist > li + li { margin-top: 12px; }
.checklist .icon { width: 20px; height: 20px; margin-top: 4px; color: var(--berry); }
@media (min-width: 960px) {
  .checklist--2 { max-width: none; columns: 2; column-gap: var(--gutter); }
  .checklist--2 > li { break-inside: avoid; }
}

/* ---------- The house diagram (Home) ---------- */
.house { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.house__pillar { display: flex; align-items: flex-end; min-height: 152px; padding: 12px; background: var(--off-white); border: 1px solid var(--rule); border-radius: var(--radius); font-family: var(--font-heading); font-weight: 700; font-size: 0.8125rem; line-height: 1.3; color: var(--emerald); }
.house__base { grid-column: 1 / -1; padding: 14px 16px; background: var(--emerald); border-radius: var(--radius); color: var(--off-white); font-weight: 700; font-size: 0.9375rem; line-height: 1.2; }
@media (min-width: 400px) { .house__pillar { font-size: 1rem; padding: 16px; } }
@media (min-width: 640px) { .house__pillar { font-size: 1.125rem; padding: 20px; } .house__base { padding: 16px 20px; } }

/* ---------- Statement band ---------- */
.statement { position: relative; overflow: hidden; background: var(--berry); color: var(--off-white); }
.statement .wrap { position: relative; padding-block: var(--section-gap); }
.statement__quote { max-width: 760px; font-family: var(--font-heading); font-style: italic; font-weight: 400; font-size: 1.375rem; line-height: 1.3; }
.statement__by { margin-top: 24px; font-weight: 700; font-size: 0.875rem; line-height: 1.4; color: var(--blush); }
.statement__arcs { position: absolute; right: 0; top: 50%; height: 520px; width: auto; max-width: none; transform: translate(35%, -50%); pointer-events: none; }
.statement__arcs circle { fill: none; stroke: var(--blush); stroke-width: 6; }
@media (min-width: 960px) {
  .statement__quote { font-size: 1.875rem; }
  .statement__arcs { transform: translateY(-50%); height: 620px; }
}

/* ---------- Compliance block ---------- */
.compliance { max-width: var(--text-max); padding-top: 16px; border-top: 1px solid var(--rule); font-size: 0.8125rem; line-height: 1.55; color: var(--grey); }
@media (min-width: 960px) { .compliance { font-size: 0.875rem; } }

/* ---------- Subscribe pair ---------- */
.subscribe { display: grid; gap: 12px; }
@media (min-width: 480px) { .subscribe { grid-template-columns: 1fr 1fr; max-width: 520px; } }
.card .subscribe, .split__side .subscribe { grid-template-columns: 1fr; max-width: none; }
.nowrap { white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq-group + .faq-group { margin-top: 72px; }
.faq-group > .h2 { margin-bottom: 24px; }
.faq { border-bottom: 1px solid var(--rule); max-width: 880px; }
.faq__item { border-top: 1px solid var(--rule); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; min-height: 64px; padding: 16px 0;
  background: none; border: 0; text-align: left; font-family: var(--font-body); font-weight: 700; font-size: 1.0625rem; line-height: 1.4; color: var(--ink); cursor: pointer;
  transition: color var(--transition);
}
.faq__q:hover { color: var(--berry); }
.faq__q .icon { width: 20px; height: 20px; color: var(--berry); }
.faq__q[aria-expanded="true"] .icon--plus, .faq__q[aria-expanded="false"] .icon--minus { display: none; }
.faq__a { max-width: var(--text-max); padding-bottom: 24px; }
.faq__a > * + * { margin-top: 1em; }
.panel { background: var(--cream); border-radius: var(--radius); padding: 32px; }
.panel > * + * { margin-top: 1em; }
.panel .h3 + * { margin-top: 16px; }
.important { max-width: 880px; }
.important p { max-width: var(--text-max); }

/* ---------- Forms ---------- */
.form { max-width: var(--text-max); }
.form-panel { background: var(--cream); border-radius: var(--radius); padding: 24px; max-width: calc(var(--text-max) + 48px); }
@media (min-width: 640px) { .form-panel { padding: 32px; max-width: calc(var(--text-max) + 64px); } }
.field { display: block; border: 0; padding: 0; margin: 0; min-width: 0; }
.field + .field { margin-top: 24px; }
.label { display: block; padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 0.875rem; line-height: 1.4; color: var(--ink); }
.label__req { font-weight: 400; color: var(--grey); }
.input {
  display: block; width: 100%; min-height: 48px; padding: 12px 16px;
  background: var(--off-white); border: 1px solid var(--grey); border-radius: var(--radius);
  font-size: 1.0625rem; line-height: 1.4; color: var(--ink);
  transition: border-color var(--transition);
}
textarea.input { min-height: 136px; resize: vertical; }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23910C43' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px;
}
.input:focus, .input:focus-visible { outline: none; border-color: var(--berry); box-shadow: inset 0 0 0 1px var(--berry); }
.choices { display: flex; flex-wrap: wrap; gap: 12px; }
.choice { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 16px; background: var(--off-white); border: 1px solid var(--grey); border-radius: var(--radius); cursor: pointer; }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--berry); }
.choice:has(input:checked) { border-color: var(--berry); box-shadow: inset 0 0 0 1px var(--berry); }
.choice:has(input:focus-visible) { outline: 2px solid var(--emerald); outline-offset: 2px; }
.field__error { display: flex; gap: 6px; align-items: flex-start; margin-top: 8px; font-size: 0.8125rem; line-height: 1.5; color: var(--berry); }
.field__error .icon { margin-top: 2px; }
.field.has-error .input, .field.has-error .choice { border-color: var(--berry); box-shadow: inset 0 0 0 1px var(--berry); }
.form__submit { margin-top: 32px; }
.form__note { margin-top: 12px; font-size: 0.8125rem; line-height: 1.5; color: var(--grey); }
.form__note a { color: var(--berry); text-underline-offset: 3px; }
.form__note a:hover { color: var(--emerald); }
.form__fail { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; font-size: 0.9375rem; line-height: 1.5; color: var(--berry); }
.form__fail .icon { margin-top: 4px; }
.form__fail a { color: inherit; }
.form-success { display: flex; gap: 16px; align-items: flex-start; max-width: var(--text-max); }
.form-success .icon { width: 28px; height: 28px; margin-top: 2px; color: var(--forest); }
.form-success__msg { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; line-height: 1.4; color: var(--emerald); }
.form-success__preview { margin-top: 8px; font-size: 0.8125rem; color: var(--grey); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Contact details ---------- */
.details > div { padding-block: 16px; border-top: 1px solid var(--rule); }
.details > div:last-child { border-bottom: 1px solid var(--rule); }
.details dt { font-weight: 700; font-size: 0.875rem; line-height: 1.4; }
.details dd { margin-top: 2px; overflow-wrap: anywhere; }
.linkrow { display: flex; flex-direction: column; align-items: flex-start; }

/* ---------- Footer ---------- */
.footer { background: var(--emerald); color: var(--off-white); }
.footer .wrap { padding-block: 64px 40px; }
.footer__top { display: grid; gap: 40px var(--gutter); }
.footer__logo { display: inline-flex; }
.footer__logo img { height: 56px; width: auto; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gutter); }
.footer__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 0.9375rem; line-height: 1.2; color: var(--off-white); text-decoration: none; }
.footer__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__link .icon { width: 12px; height: 12px; }
.footer__ack { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(250, 250, 248, 0.22); }
.footer__ack-title { font-weight: 700; font-size: 0.9375rem; line-height: 1.55; }
.footer__ack p { max-width: var(--text-max); font-size: 0.9375rem; line-height: 1.55; }
.footer__legal { margin-top: 32px; }
.footer__legal p { max-width: 760px; font-size: 0.8125rem; line-height: 1.55; }
.footer__legal p + p { margin-top: 10px; }
.footer__legal-title { font-weight: 700; }
.footer__copy { margin-top: 32px; font-size: 0.8125rem; line-height: 1.5; }
.footer__credit { margin-top: 4px; }
@media (min-width: 960px) {
  .footer .wrap { padding-block: 80px 48px; }
  .footer__top { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .footer__brand { grid-column: 1 / span 5; }
  .footer__cols { grid-column: 8 / span 5; }
}

/* ---------- Preview router (private review build only) ---------- */
html[data-preview] .page { display: none; }
html[data-preview] .page.is-current { display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
