/* =========================================================
   DBN Foundation — Dr Baldwin Nwachukwu Foundation  (v2)
   Layout concept: bright, photography-led pages on a 12-column
   grid; wide expanded headlines; one dark "give" band per page.
   ========================================================= */

:root {
  --white: #ffffff;
  --paper: #f3f5f1;        /* light grey-green band */
  --ink: #0f2219;          /* text, footer, give band */
  --ink-2: #44524a;        /* secondary text */
  --ink-3: #6b7870;        /* captions */
  --line: #e1e5df;
  --orange: #e0653a;       /* logo hands — the one action colour */
  --orange-dark: #b84a22;  /* orange for text on white */
  --green: #3f8a3a;        /* logo green — small marks */
  --on-ink: #f2f5f1;
  --on-ink-2: #a9b7ae;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  --fs-xl: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  --fs-2xl: clamp(2.6rem, 1.2rem + 5.4vw, 6rem);

  --max: 1320px;
  --gx: max(20px, env(safe-area-inset-left, 0px));
  --gx-r: max(20px, env(safe-area-inset-right, 0px));
  --r: 4px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: var(--fs-base); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--orange); color: var(--white); padding: 10px 16px; }
.skip:focus { left: 16px; }

.wrap { max-width: calc(var(--max) + 40px); margin-inline: auto; padding-left: var(--gx); padding-right: var(--gx-r); }

/* ---------- Type ---------- */
.headline {
  font-family: var(--sans); font-stretch: 112%; font-weight: 640;
  letter-spacing: -0.03em; line-height: 0.98;
}
.h-2xl { font-size: var(--fs-2xl); }
.h-xl { font-size: var(--fs-xl); line-height: 1.02; }
.h-lg { font-size: var(--fs-lg); line-height: 1.15; letter-spacing: -0.015em; }
.label { font-size: var(--fs-sm); font-weight: 600; color: var(--green); display: block; margin-bottom: 18px; }
.intro { font-size: var(--fs-md); line-height: 1.55; color: var(--ink-2); max-width: 58ch; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.005em; }
.muted { color: var(--ink-2); }
.caption { font-size: var(--fs-xs); color: var(--ink-3); margin-top: 10px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: 600 var(--fs-sm)/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s;
}
.btn-give { background: var(--orange); color: var(--white); }
.btn-give:hover { background: var(--orange-dark); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #22392d; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.on-ink .btn-line { border-color: var(--on-ink); color: var(--on-ink); }
.on-ink .btn-line:hover { background: var(--on-ink); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 22px; }

.more {
  font-weight: 600; font-size: var(--fs-sm); color: var(--orange-dark); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.more svg { width: 16px; height: 16px; transition: transform .18s; }
.more:hover svg { transform: translateX(3px); }

/* ---------- Utility bar + header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
.utility { background: var(--ink); color: var(--on-ink-2); font-size: var(--fs-xs); }
.utility .wrap { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-block: 9px; }
.utility a { text-decoration: none; color: var(--on-ink); }
.utility a:hover { color: var(--orange); }
.utility .contact-links { display: flex; gap: 22px; }
@media (max-width: 640px) { .utility .where { display: none; } }

.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 32px; min-height: 92px; }
.brand { display: block; flex-shrink: 0; text-decoration: none; }

/* Logo files carry wide transparent margins; the frame shows just the logo. */
.logo { --w: 84px; display: block; position: relative; overflow: hidden; width: var(--w); height: calc(var(--w) * .961); }
.logo img { position: absolute; max-width: none; width: calc(var(--w) * 1.742); left: calc(var(--w) * -0.371); top: calc(var(--w) * -0.397); }

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a { display: block; padding: 10px 16px; font-weight: 500; font-size: var(--fs-sm); text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--orange); }
.nav .nav-give { display: none; }
.menu-btn {
  display: none; margin-left: auto; min-height: 44px; padding: 0 18px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: transparent;
  font: 600 var(--fs-sm) var(--sans); color: var(--ink); cursor: pointer;
}
@media (max-width: 960px) {
  .header-row { min-height: 76px; }
  .logo { --w: 66px; }
  .menu-btn { display: inline-flex; align-items: center; }
  .header-give { display: none; }
  .nav { position: absolute; inset: 100% 0 auto; background: var(--white); border-bottom: 1px solid var(--line);
         padding: 8px var(--gx-r) 24px var(--gx); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 16px 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--orange-dark); }
  .nav .nav-give { display: block; padding-top: 18px; }
  .nav .nav-give a { border: 0; color: var(--white); padding: 0; }
  .nav .nav-give .btn { width: 100%; }
}

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px) 0; }
.hero-top { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.hero-top h1 { grid-column: 1 / span 8; }
.hero-side { grid-column: 9 / span 4; display: grid; gap: 28px; padding-bottom: 6px; min-width: 0; }
.hero-side p { color: var(--ink-2); font-size: var(--fs-md); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 72px); }
.hero-media figure { min-width: 0; }
.hero-media .main { grid-column: 1 / span 8; }
.hero-media .side { grid-column: 9 / span 4; }
.hero-media .frame { border-radius: var(--r); overflow: hidden; background: var(--paper); }
.hero-media .main .frame { aspect-ratio: 16 / 10; }
.hero-media .side .frame { aspect-ratio: 4 / 5; height: calc(100% - 32px); width: 100%; }
.hero-media .side { display: flex; flex-direction: column; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) {
  .hero-top h1, .hero-side { grid-column: 1 / -1; }
  .hero-media .main { grid-column: 1 / -1; }
  .hero-media .side { display: none; }
}

/* Single orchestrated entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero-top h1 { animation: up .9s cubic-bezier(.2,.7,.1,1) both; }
  .hero-side { animation: up .9s .15s cubic-bezier(.2,.7,.1,1) both; }
  .hero-media .main .frame img { animation: settle 1.6s cubic-bezier(.2,.7,.1,1) both; }
}
@keyframes up { from { opacity: .001; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }

/* ---------- Page hero (inner) ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 104px) clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero .grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.page-hero h1 { grid-column: 1 / span 7; }
.page-hero .intro { grid-column: 8 / span 5; }
.crumbs { display: flex; gap: 8px; font-size: var(--fs-xs); color: var(--ink-3); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--orange-dark); }
.page-banner { margin-top: clamp(32px, 4vw, 56px); border-radius: var(--r); overflow: hidden; aspect-ratio: 21 / 8; background: var(--paper); }
.page-banner img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) { .page-hero h1, .page-hero .intro { grid-column: 1 / -1; } .page-banner { aspect-ratio: 16 / 10; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 144px); }
.section.paper { background: var(--paper); }
.section.ink { background: var(--ink); color: var(--on-ink); }
.section.tight { padding-block: clamp(48px, 6vw, 88px); }
.head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.head h2 { grid-column: 1 / span 7; }
.head .intro, .head .side { grid-column: 9 / span 4; }
@media (max-width: 960px) { .head h2, .head .intro, .head .side { grid-column: 1 / -1; } }

/* Mission statement */
.mission { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.mission .label { grid-column: 1 / span 3; }
.mission-body { grid-column: 4 / span 9; min-width: 0; }
.mission blockquote p { font-family: var(--serif); font-size: var(--fs-xl); line-height: 1.18; letter-spacing: -0.015em; }
.mission-foot { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.mission-foot p { color: var(--ink-2); max-width: 52ch; }
@media (max-width: 960px) { .mission .label, .mission-body { grid-column: 1 / -1; } }

/* Focus areas: sticky photo + rows */
.focus { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.focus-media { grid-column: 1 / span 5; position: sticky; top: 120px; min-width: 0; }
.focus-media .frame { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--line); }
.focus-media img { width: 100%; height: 100%; object-fit: cover; }
.focus-list { grid-column: 7 / span 6; min-width: 0; border-top: 1px solid var(--line); }
.focus-row { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.focus-row > svg { width: 32px; height: 32px; color: var(--green); margin-top: 2px; }
.focus-row h3 { font-size: var(--fs-md); font-weight: 650; letter-spacing: -0.01em; margin-bottom: 6px; }
.focus-row p { color: var(--ink-2); }
.focus-row .more { margin-top: 12px; }
@media (max-width: 960px) {
  .focus-media { grid-column: 1 / -1; position: static; }
  .focus-media .frame { aspect-ratio: 16 / 10; }
  .focus-list { grid-column: 1 / -1; }
}

/* Campaigns */
.campaigns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.campaign { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; min-width: 0; }
.paper .campaign { border-color: transparent; }
.campaign .frame { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.campaign .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.campaign:hover .frame img { transform: scale(1.035); }
.campaign-body { display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 28px; flex: 1; }
.campaign .tag { font-size: var(--fs-xs); font-weight: 600; color: var(--green); }
.campaign h3 { font-size: var(--fs-md); font-weight: 650; line-height: 1.25; letter-spacing: -0.01em; }
.campaign p { color: var(--ink-2); font-size: var(--fs-sm); }
.campaign .goal { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.goal div span { display: block; font-size: var(--fs-xs); color: var(--ink-3); }
.goal div strong { font-stretch: 112%; font-size: 1.5rem; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
@media (max-width: 1000px) { .campaigns { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .campaigns { grid-template-columns: 1fr; } }

/* Story band */
.story { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.story-media { grid-column: 1 / span 6; min-width: 0; }
.story-media .frame { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-body { grid-column: 8 / span 5; min-width: 0; }
.story-body blockquote p { font-family: var(--serif); font-size: var(--fs-lg); line-height: 1.3; }
.story-body .follow { margin-top: 28px; display: grid; gap: 16px; color: var(--ink-2); }
.story-body .follow h3 { color: var(--ink); font-size: var(--fs-base); font-weight: 650; margin-bottom: 4px; }
.story.reverse .story-media { grid-column: 7 / span 6; order: 2; }
.story.reverse .story-body { grid-column: 1 / span 5; }
@media (max-width: 960px) {
  .story-media, .story-body, .story.reverse .story-media, .story.reverse .story-body { grid-column: 1 / -1; order: 0; }
}

/* Give panel (the signature element) */
.give { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.give-copy { grid-column: 1 / span 5; min-width: 0; }
.give-copy p { color: var(--on-ink-2); margin-top: 22px; max-width: 46ch; }
.give-copy ul { margin-top: 28px; display: grid; gap: 12px; }
.give-copy li { display: flex; gap: 12px; align-items: baseline; color: var(--on-ink); }
.give-copy li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex-shrink: 0; transform: translateY(-2px); }
.give-card {
  grid-column: 7 / span 6; min-width: 0; background: var(--white); color: var(--ink);
  border-radius: 10px; padding: clamp(24px, 3.5vw, 44px);
}
.give-card h3 { font-size: var(--fs-md); font-weight: 650; margin-bottom: 22px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: 999px; padding: 4px; margin-bottom: 22px; }
.seg label { position: relative; text-align: center; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 11px 10px; border-radius: 999px; font-weight: 600; font-size: var(--fs-sm); color: var(--ink-2); }
.seg input:checked + span { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(15,34,25,.15); }
.seg input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.amounts label { position: relative; cursor: pointer; }
.amounts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.amounts span {
  display: grid; place-items: center; min-height: 56px; border: 1.5px solid var(--line); border-radius: var(--r);
  font-stretch: 112%; font-weight: 650; font-size: 1.125rem; font-variant-numeric: tabular-nums;
}
.amounts input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.amounts input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.give-field { display: grid; gap: 8px; margin-bottom: 16px; }
.give-field label { font-size: var(--fs-sm); font-weight: 600; }
.give-field input, .give-field select {
  width: 100%; min-height: 52px; font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--r); padding: 0 14px;
}
.money { position: relative; }
.money::before { content: "R"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--ink-3); }
.money input { padding-left: 32px; }
.give-impact { font-size: var(--fs-sm); color: var(--ink-2); min-height: 3em; margin: 6px 0 20px; }
.give-card .btn { width: 100%; }
.give-note { font-size: var(--fs-xs); color: var(--ink-3); margin-top: 14px; text-align: center; }
@media (max-width: 960px) { .give-copy, .give-card { grid-column: 1 / -1; } }
@media (max-width: 460px) { .amounts { grid-template-columns: 1fr 1fr; } }

/* Where we work */
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.place { border-top: 2px solid var(--ink); padding-top: 24px; min-width: 0; }
.place h3 { font-size: var(--fs-xl); font-stretch: 112%; font-weight: 640; letter-spacing: -0.03em; line-height: 1; margin-bottom: 16px; }
.place p { color: var(--ink-2); max-width: 44ch; }
.place dl { margin: 22px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-size: var(--fs-sm); }
.place dt { color: var(--ink-3); }
.place dd { margin: 0; font-weight: 500; }
@media (max-width: 760px) { .places { grid-template-columns: 1fr; gap: 48px; } }

/* Join strip */
.join { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.join a { background: var(--white); padding: clamp(28px, 4vw, 48px); text-decoration: none; display: grid; gap: 12px; min-width: 0; transition: background-color .18s; }
.join a:hover { background: var(--paper); }
.join h3 { font-size: var(--fs-lg); font-weight: 650; letter-spacing: -0.015em; }
.join p { color: var(--ink-2); }
@media (max-width: 760px) { .join { grid-template-columns: 1fr; } }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { border-top: 2px solid var(--ink); padding-top: 22px; min-width: 0; }
.value h3 { font-size: var(--fs-lg); font-stretch: 112%; font-weight: 640; letter-spacing: -0.02em; margin-bottom: 10px; }
.value p { color: var(--ink-2); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; gap: 36px; } }

/* Steps (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; min-width: 0; }
.steps li::before { content: "Step " counter(s); display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--orange); margin-bottom: 14px; }
.steps h3 { font-size: var(--fs-md); font-weight: 650; margin-bottom: 8px; }
.steps p { color: var(--on-ink-2); }
.paper .steps li { border-color: var(--line); }
.paper .steps p { color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; font-weight: 600; font-size: var(--fs-md); 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.5rem; font-weight: 400; color: var(--orange-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 24px; color: var(--ink-2); max-width: 68ch; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery figure { min-width: 0; }
.gallery .frame { aspect-ratio: 1; overflow: hidden; border-radius: var(--r); background: var(--paper); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.contact-aside { grid-column: 1 / span 4; display: grid; gap: 28px; min-width: 0; }
.contact-aside h3 { font-size: var(--fs-xs); font-weight: 600; color: var(--green); margin-bottom: 6px; }
.contact-aside p, .contact-aside a { font-size: var(--fs-md); line-height: 1.45; text-decoration: none; }
.contact-aside a:hover { color: var(--orange-dark); }
.form-wrap { grid-column: 6 / span 7; min-width: 0; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: var(--fs-sm); }
.field label span { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--r); padding: 13px 14px; min-height: 52px;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus,
.give-field input:focus, .give-field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(224,101,58,.25); }
.hp { position: absolute; left: -9999px; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-status { font-weight: 500; font-size: var(--fs-sm); }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--orange-dark); }
@media (max-width: 960px) { .contact-aside, .form-wrap { grid-column: 1 / -1; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-2); font-size: var(--fs-sm); }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cta h2 { color: var(--on-ink); max-width: 18ch; }
.footer-cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 56px; }
.footer-grid > * { min-width: 0; }
.footer-brand .logo { --w: 104px; margin-bottom: 20px; }
.footer-brand p { max-width: 38ch; }
.site-footer h3 { color: var(--on-ink); font-size: var(--fs-sm); font-weight: 600; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); display: grid; place-items: center; color: var(--on-ink); }
.social a:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.social svg { width: 18px; height: 18px; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: var(--fs-xs); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Legal */
.legal { max-width: 72ch; }
.legal h2 { font-size: var(--fs-md); font-weight: 650; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; }

.actions-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

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