/* ============================================================
   DREAM EXPERIENCES — Site theme
   Built on the brand tokens (tokens.css). "The moment the
   lights come up." Warm-cream + night-navy stage rhythm,
   coral spotlight, line-art hands motif.
   ============================================================ */

/* ---------- Accent theming (tweakable) ---------- */
:root {
  --accent: var(--coral-500);
  --accent-strong: var(--coral-600);
  --accent-soft: var(--coral-100);
  --accent-glow: var(--shadow-glow-coral);
  --accent-on: #fff;

  --radius-card: var(--radius-lg);
  --radius-btn: var(--radius-pill);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 128px);

  scroll-behavior: smooth;
}
:root[data-accent="gold"] {
  --accent: var(--gold-500);
  --accent-strong: var(--gold-600);
  --accent-soft: var(--gold-100);
  --accent-glow: 0 12px 36px rgba(255,177,60,0.36);
  --accent-on: var(--night-900);
}
:root[data-accent="blue"] {
  --accent: var(--blue-500);
  --accent-strong: var(--blue-700);
  --accent-soft: var(--blue-100);
  --accent-glow: var(--shadow-glow-blue);
  --accent-on: #fff;
}
:root[data-radius="sharp"] { --radius-card: var(--radius-sm); --radius-btn: 10px; }
:root[data-radius="round"] { --radius-card: var(--radius-xl); --radius-btn: var(--radius-pill); }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--canvas);
  color: var(--fg);
  font-family: var(--body-font, var(--font-sans));
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent-soft); color: var(--night-900); }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }

.eyebrow {
  font-weight: var(--weight-bold);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--eyebrow-color, var(--accent));
  margin: 0 0 var(--space-4);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--eyebrow-color, var(--accent)); border-radius: 2px;
}
.eyebrow--center { justify-content: center; }

h1, h2, h3, h4 { margin: 0; }
.display {
  font-family: var(--font-display);
  font-weight: var(--weight-extra);
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}
.h1 { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: clamp(2.1rem, 4.6vw, 3.25rem); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
.h2 { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: var(--leading-snug); letter-spacing: var(--tracking-tight); }
.h3 { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: var(--leading-snug); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: var(--leading-relaxed); color: var(--fg-muted); }
.body { font-size: var(--text-base); line-height: var(--leading-relaxed); color: var(--fg-muted); }
.section-head { max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.hl { color: var(--accent); }
.hl-grad {
  background: var(--grad-sunrise);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans); font-weight: var(--weight-bold);
  font-size: var(--text-base); line-height: 1;
  padding: 16px 28px; border-radius: var(--radius-btn);
  border: 2px solid transparent; cursor: pointer;
  background: var(--btn-bg); color: var(--accent-on);
  transition: transform .18s var(--ease-out), box-shadow .25s var(--ease-out), border-color .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn--primary { box-shadow: var(--accent-glow); }
.btn--primary:hover { background: var(--accent-strong); transform: translateY(-2px); }
.btn--primary:active { transform: scale(.97); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--night-800); transform: translateY(-2px); }
.btn--onDark { background: #fff; color: var(--night-900); box-shadow: var(--shadow-md); }
.btn--onDark:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--outlineDark { background: transparent; color: #fff; border-color: rgba(255,255,255,.32); }
.btn--outlineDark:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn--lg { padding: 18px 34px; font-size: var(--text-lg); }
.btn--block { width: 100%; }

/* ---------- Dark "stage" sections ---------- */
.stage {
  background: var(--night-800);
  color: var(--fg-onDark);
  position: relative;
  overflow: hidden;
}
.stage .lead, .stage .body { color: var(--fg-onDark-muted); }
.stage .eyebrow { color: var(--eyebrow-color, var(--accent)); }
.stage-glow::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-spotlight); pointer-events: none;
}

/* Hands watermark motif */
.handmark {
  position: absolute; pointer-events: none; user-select: none;
  opacity: .06; width: min(60vw, 760px); z-index: 0;
}
.handmark--tr { top: -4%; right: -6%; }
.handmark--bl { bottom: -8%; left: -8%; transform: scaleX(-1); }
.stage .handmark { opacity: .10; }

/* ---------- Wave dividers ---------- */
.wave { position: relative; display: block; width: 100%; height: clamp(40px, 6vw, 90px); line-height: 0; }
.wave svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.wave .fill-navy { fill: var(--night-800); }
.wave .fill-canvas { fill: var(--canvas); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 80;
  transition: background .3s var(--ease-out), box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: color-mix(in srgb, var(--canvas) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-xs);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: auto; }
.brand .brand-mark { height: var(--brand-logo-h, 34px); }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
/* When a real WP menu is assigned, it renders <ul class="nav-menu"> inside .nav-links */
.nav-links .nav-menu {
  display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px);
  list-style: none; margin: 0; padding: 0;
}
.nav-links .nav-menu li { margin: 0; position: relative; }
.nav-links .nav-menu .sub-menu { display: none; }
.nav-links a {
  font-family: var(--nav-font, var(--font-sans));
  font-weight: var(--weight-semibold); font-size: var(--text-base);
  color: var(--fg); position: relative; padding: 6px 2px;
}
.nav-actions .btn, .nav-actions .wp-block-button__link { font-family: var(--nav-font, var(--font-sans)); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent); transition: width .22s var(--ease-out);
}
.nav-links a:hover { color: var(--brand-strong); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; margin: 0; }
.nav-actions.wp-block-buttons { flex-wrap: nowrap; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--fg); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav-links, .nav-actions .btn, .nav-actions .wp-block-button { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 18px var(--gutter) 26px; box-shadow: var(--shadow-md);
  }
  .mobile-open .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mobile-open .nav-links .nav-menu { flex-direction: column; align-items: flex-start; width: 100%; gap: 0; }
  .mobile-open .nav-links .nav-menu li { width: 100%; }
  .mobile-open .nav-actions .btn, .mobile-open .nav-actions .wp-block-button { display: inline-flex; }
  .mobile-open .nav-actions { position: absolute; top: calc(100% + 1px); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--grad-dusk); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media image-slot, .hero-media .media-fallback, .hero-media .media-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Hero placeholder stays dark so the hero reads correctly with or without a photo */
.hero-media .media-slot {
  border: 0; border-radius: 0;
  background: transparent; color: rgba(255,255,255,.5);
}
.hero-media .media-slot span { color: rgba(255,255,255,.4); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(70% 70% at 50% 14%, rgba(255,177,60,.34), rgba(255,107,125,.14) 44%, transparent 72%),
    linear-gradient(180deg, rgba(15,23,48,.74) 0%, rgba(15,23,48,.6) 42%, rgba(15,23,48,.92) 100%);
}
.hero > .wrap { position: relative; z-index: 2; }
.hero-inner {
  min-height: clamp(560px, 84vh, 860px);
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(110px, 16vh, 200px) clamp(70px, 10vh, 130px);
  max-width: 920px;
}
.hero .eyebrow { color: var(--eyebrow-color, var(--gold-400)); }
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero .lead { color: rgba(255,255,255,.88); max-width: 620px; margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,.7); display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: var(--text-xs); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
}
.hero-scroll svg { width: 22px; height: 22px; animation: nudge 1.8s var(--ease-in-out) infinite; }
@keyframes nudge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(7px)} }

/* Hero variants (CSS-only, driven by data-hero on .hero) */
.hero[data-hero="centered"] .hero-inner,
body.de-hero-centered .hero-inner { align-items: center; text-align: center; max-width: 860px; margin-inline: auto; }
.hero[data-hero="centered"] .hero-cta,
body.de-hero-centered .hero-cta { justify-content: center; }
.hero[data-hero="centered"] .hero .lead,
body.de-hero-centered .hero .lead { margin-inline: auto; }

.hero[data-hero="panel"] .hero-inner,
body.de-hero-panel .hero-inner { align-items: flex-start; }
.hero[data-hero="panel"] .hero-panel,
body.de-hero-panel .hero-panel {
  background: rgba(15,23,48,.42); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-xl); padding: clamp(28px,4vw,52px);
  max-width: 660px;
}
.hero:not([data-hero="panel"]) .hero-panel { background: none; border: 0; padding: 0; backdrop-filter: none; }
body:not(.de-hero-panel) .hero-panel { background: none; border: 0; padding: 0; backdrop-filter: none; }

/* ============================================================
   MEDIA / IMAGE SLOTS
   ============================================================ */
.media-fallback {
  display: grid; place-items: center; text-align: center;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-200));
  color: var(--blue-700); font-weight: var(--weight-semibold); font-size: var(--text-sm);
  padding: 16px; gap: 6px;
}
image-slot { border-radius: var(--radius-card); overflow: hidden; }

/* WordPress editable image placeholder ("labelled slot" the user fills) */
.media-slot {
  width: 100%; height: 100%; min-height: 220px;
  display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center;
  background:
    radial-gradient(120% 120% at 50% 0%, var(--blue-100), var(--blue-50));
  border: 1.5px dashed var(--blue-300); border-radius: var(--radius-card);
  color: var(--blue-700); padding: 24px;
}
.media-slot svg { width: 34px; height: 34px; opacity: .8; }
.media-slot b { font-weight: var(--weight-bold); font-size: var(--text-base); }
.media-slot span { font-size: var(--text-sm); color: var(--slate-500); max-width: 30ch; }
.stage .media-slot { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.3); color: #fff; }
.stage .media-slot span { color: var(--fg-onDark-muted); }

/* ============================================================
   SPLIT (text + media) sections
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split--media-right { grid-template-columns: 0.92fr 1.08fr; }
.split .media { aspect-ratio: 5/4; }
.split .media image-slot { width: 100%; height: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split-text { order: 2; } }

/* ============================================================
   EXPERIENCE CARDS
   ============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 36px); }
@media (max-width: 860px) { .card-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.xcard {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out);
  display: flex; flex-direction: column;
}
.xcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.xcard .media { aspect-ratio: 4/3; position: relative; }
.xcard .media image-slot { width: 100%; height: 100%; border-radius: 0; }
.xcard-body { padding: 24px 24px 28px; }
.xcard .xcard-tag {
  font-size: var(--text-xs); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  font-weight: var(--weight-bold); color: var(--eyebrow-color, var(--accent)); margin-bottom: 10px;
}
.xcard h3 { margin-bottom: 10px; }
.xcard p { color: var(--fg-muted); font-size: var(--text-base); line-height: var(--leading-relaxed); margin: 0; }

/* ============================================================
   IMPACT (dark, bulleted)
   ============================================================ */
.impact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px){ .impact-grid { grid-template-columns: 1fr; } }
.impact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.impact-list li {
  display: flex; gap: 16px; align-items: flex-start;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: var(--leading-snug);
  color: #fff;
}
.impact-list .ic {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: var(--radius-pill);
  display: grid; place-items: center; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16); color: var(--gold-400);
}
.impact-list .ic svg { width: 20px; height: 20px; }

/* ============================================================
   WHY IT MATTERS (quote)
   ============================================================ */
.quote-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); box-shadow: var(--shadow-md);
  padding: clamp(28px, 4vw, 52px);
}
.quote-card .src { color: var(--brand-strong); font-weight: var(--weight-bold); font-size: var(--text-sm); letter-spacing: .02em; margin-bottom: 16px; }
.quote-card blockquote {
  margin: 0; font-family: var(--font-display); font-weight: var(--weight-medium);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: var(--leading-snug);
  color: var(--fg); letter-spacing: var(--tracking-tight);
}
.quote-card .mark { color: var(--accent); font-size: 1.4em; line-height: 0; vertical-align: -0.2em; }

/* ============================================================
   PROCESS (accordion)
   ============================================================ */
.accordion { max-width: 940px; margin-inline: auto; border-top: 1px solid rgba(255,255,255,.16); }
.acc-item { border-bottom: 1px solid rgba(255,255,255,.16); }
.acc-trigger {
  width: 100%; background: none; border: 0; cursor: pointer; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 8px; text-align: left;
  font-family: var(--font-display); font-weight: var(--weight-semibold);
  font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: var(--tracking-tight);
  transition: color .2s;
}
.acc-trigger:hover { color: var(--gold-400); }
.acc-sign { flex: 0 0 auto; width: 34px; height: 34px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.28); display: grid; place-items: center; position: relative; transition: background .2s, border-color .2s; }
.acc-sign::before, .acc-sign::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.acc-sign::before { width: 14px; height: 2px; }
.acc-sign::after { width: 2px; height: 14px; transition: transform .25s var(--ease-out), opacity .2s; }
.acc-item.open .acc-sign { background: var(--accent); border-color: var(--accent); color: var(--accent-on); }
.acc-item.open .acc-sign::after { transform: rotate(90deg); opacity: 0; }
.acc-panel { overflow: hidden; max-height: 0; transition: max-height .35s var(--ease-out); }
.acc-panel-inner { padding: 0 8px 28px; max-width: 760px; color: var(--fg-onDark-muted); font-size: clamp(1rem,1.4vw,1.15rem); line-height: var(--leading-relaxed); }
.acc-num { color: var(--accent); font-variant-numeric: tabular-nums; margin-right: 16px; opacity: .9; }
.process-cta { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-top: clamp(40px,6vw,64px); }

/* ============================================================
   DONATE
   ============================================================ */
.donate-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px,5vw,72px); align-items: center; }
@media (max-width: 900px){ .donate-grid { grid-template-columns: 1fr; } }
.donate-media { aspect-ratio: 4/5; }
.donate-media image-slot { width: 100%; height: 100%; }
.donate-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  padding: clamp(24px, 3vw, 36px);
}
.donate-card .dc-head { display: flex; align-items: center; gap: 10px; font-weight: var(--weight-bold); color: var(--fg); margin-bottom: 20px; }
.donate-card .dc-head svg { width: 22px; height: 22px; color: var(--success); }
.seg { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; background: var(--mist); border-radius: var(--radius-pill); padding: 5px; margin-bottom: 18px; }
.seg button {
  border: 0; background: none; cursor: pointer; padding: 11px 8px; border-radius: var(--radius-pill);
  font-family: var(--font-sans); font-weight: var(--weight-semibold); font-size: var(--text-sm); color: var(--fg-muted);
  transition: background .2s, color .2s, box-shadow .2s;
}
.seg button[aria-selected="true"] { background: #fff; color: var(--night-800); box-shadow: var(--shadow-xs); }
.amount-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 12px; }
.amount-grid button {
  border: 1.5px solid var(--line); background: var(--surface); cursor: pointer;
  padding: 16px 8px; border-radius: var(--radius-md); font-weight: var(--weight-bold);
  font-size: var(--text-lg); color: var(--fg); font-family: var(--font-sans);
  transition: border-color .18s, background .18s, color .18s, transform .12s;
}
.amount-grid button:hover { border-color: var(--accent); }
.amount-grid button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-on); }
.amount-grid button:active { transform: scale(.96); }
.amount-other { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 4px 16px; margin-bottom: 18px; }
.amount-other input { flex: 1; border: 0; outline: 0; padding: 14px 0; font-size: var(--text-lg); font-family: var(--font-sans); background: none; color: var(--fg); }
.amount-other .cur { color: var(--fg-subtle); font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.donate-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: var(--text-xs); color: var(--fg-subtle); }
.donate-meta .secure { display: inline-flex; align-items: center; gap: 6px; }
.donate-meta svg { width: 14px; height: 14px; }

/* ============================================================
   FORMS
   ============================================================ */
.form-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px,5vw,72px); align-items: center; }
@media (max-width: 900px){ .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px){ .field-row { grid-template-columns: 1fr; } }
.field label { font-weight: var(--weight-semibold); font-size: var(--text-sm); }
.field label .req { color: var(--accent); font-weight: var(--weight-regular); font-size: var(--text-xs); margin-left: 4px; }
.field input, .field select, .field textarea {
  font-family: var(--font-sans); font-size: var(--text-base); color: inherit;
  padding: 14px 16px; border-radius: var(--radius-md);
  border: 1.5px solid var(--line); background: var(--surface);
  transition: border-color .18s, box-shadow .18s; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }
/* on dark */
.stage .field input, .stage .field select, .stage .field textarea {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: #fff;
}
.stage .field input::placeholder, .stage .field textarea::placeholder { color: rgba(255,255,255,.45); }
.stage .field label .req { color: var(--gold-400); }
.stage .field input:focus, .stage .field select:focus, .stage .field textarea:focus { border-color: var(--gold-400); box-shadow: 0 0 0 3px rgba(255,177,60,.22); }
.stage select option { color: #111; }

/* ============================================================
   TEAM
   ============================================================ */
.team-card {
  background: var(--blue-50); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: clamp(28px,4vw,48px);
}
.team-card h3 { margin-bottom: 4px; }
.team-card .role { color: var(--brand-strong); font-weight: var(--weight-semibold); margin-bottom: 20px; }
.team-card p { color: var(--fg-muted); line-height: var(--leading-relaxed); }
.team-media { aspect-ratio: 4/5; }
.team-media image-slot { width: 100%; height: 100%; }

/* ============================================================
   SOCIAL / SPREAD
   ============================================================ */
.social-row { display: flex; flex-wrap: wrap; gap: 16px; }
.social-pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--night-800); color: #fff; padding: 16px 30px;
  border-radius: var(--radius-card); font-weight: var(--weight-bold);
  letter-spacing: .04em; text-transform: uppercase; font-size: var(--text-sm);
  transition: transform .18s var(--ease-out), box-shadow .25s;
}
.social-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.social-pill svg { width: 22px; height: 22px; }
.share-icons { display: flex; gap: 14px; justify-content: center; }
.share-icons a {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--night-800); color: #fff; display: grid; place-items: center;
  transition: transform .18s var(--ease-out), background .2s;
}
.share-icons a:hover { transform: translateY(-3px); background: var(--accent); color: var(--accent-on); }
.share-icons svg { width: 24px; height: 24px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--night-900); color: var(--fg-onDark); padding-block: clamp(56px,7vw,88px) 36px; position: relative; overflow: hidden; font-family: var(--footer-font, var(--font-sans)); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px,4vw,56px); }
/* When the footer columns are core Group blocks, neutralize any inner-container wrapper
   so the grid/flex sees the real children. */
.footer-top > .wp-block-group__inner-container,
.footer-legal > .wp-block-group__inner-container { display: contents; }
@media (max-width: 820px){ .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand-col { grid-column: 1 / -1; } }
@media (max-width: 520px){ .footer-top { grid-template-columns: 1fr; } }
.footer-brand-col img { height: 46px; margin-bottom: 20px; }
.footer-brand-col p { color: var(--fg-onDark-muted); max-width: 38ch; line-height: var(--leading-relaxed); }
.footer-col h4 { font-family: var(--footer-font, var(--font-sans)); font-size: var(--text-xs); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--footer-head-color, var(--gold-400)); margin: 0 0 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col ul li { margin: 0; }
.footer-col a { color: var(--fg-onDark-muted); transition: color .18s; }
.footer-col a:hover { color: #fff; }
.footer-legal { margin-top: clamp(40px,5vw,64px); padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer-legal .legal-text { color: var(--fg-onDark-muted); font-size: var(--text-sm); line-height: var(--leading-relaxed); max-width: 62ch; margin: 0; }
.candid-badge {
  background: #fff; border: 3px solid var(--gold-500); border-radius: 6px;
  padding: 12px 14px; width: 116px; text-align: left; color: var(--night-900); flex: 0 0 auto;
}
.candid-badge .ct { font-weight: var(--weight-bold); font-size: 12px; line-height: 1.2; }
.candid-badge .cy { font-weight: var(--weight-extra); font-size: 20px; line-height: 1.1; margin: 2px 0 8px; }
.candid-badge .cb { font-weight: var(--weight-extra); font-size: 14px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"]{ transition-delay: .08s; }
.reveal[data-delay="2"]{ transition-delay: .16s; }
.reveal[data-delay="3"]{ transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll svg { animation: none; }
  :root { scroll-behavior: auto; }
}

/* ============================================================
   SECTION RHYTHM (tweakable via data-rhythm on <body>)
   "warm" gives alternating light sections a soft blue wash,
   echoing the original site's lavender bands.
   ============================================================ */
body[data-rhythm="warm"] .section--alt,
body.de-rhythm-warm .section--alt { background: var(--blue-50); }
body[data-rhythm="warm"] .section--alt + .section--alt,
body.de-rhythm-warm .section--alt + .section--alt { background: var(--canvas); }

/* ============================================================
   NATIVE-BLOCK COMPATIBILITY
   The WordPress patterns are built from core blocks (Group,
   Columns, Image, Button, List, Quote, Details) so non-technical
   editors can click any text/photo and edit it inline. These
   rules give those core blocks the brand look — keyed on helper
   classNames set in the patterns.
   ============================================================ */

/* Core Group used as a full-bleed section keeps .section/.stage via className. */
.de-section { position: relative; }

/* Image "shots" — editors replace via the block toolbar's Replace button */
.de-shot { overflow: hidden; border-radius: var(--radius-card); margin: 0; }
.de-shot img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.de-shot.size-full, .de-shot > img { width: 100%; }
.de-shot--wide { aspect-ratio: 5 / 4; }
.de-shot--tall { aspect-ratio: 4 / 5; }
.de-shot--card { aspect-ratio: 4 / 3; border-radius: 0; }

/* Core Columns acting as our split layout (self-sufficient, doesn't rely on
   core block library CSS being present) */
.de-split.wp-block-columns {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(28px, 5vw, 80px);
}
.de-split.wp-block-columns > .wp-block-column { flex: 1 1 320px; min-width: 0; }
@media (max-width: 781px) { .de-split.wp-block-columns { gap: 32px; } }

/* Card grid from core Columns (experiences) */
.de-cards.wp-block-columns {
  display: flex; flex-wrap: wrap; align-items: stretch;
  gap: clamp(20px, 2.6vw, 36px);
}
.de-cards.wp-block-columns > .wp-block-column { flex: 1 1 280px; display: flex; }
.de-cards .xcard { width: 100%; }

/* Core Buttons rendered as brand buttons (editors edit label + link in the UI) */
.wp-block-button.de-btn { margin: 0; }
.wp-block-button.de-btn .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-weight: var(--weight-bold);
  font-size: var(--text-base); line-height: 1;
  padding: 16px 28px; border-radius: var(--radius-btn);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .18s var(--ease-out), box-shadow .25s var(--ease-out), border-color .2s, color .2s;
}
.wp-block-button.de-btn.de-btn--lg .wp-block-button__link { padding: 18px 34px; font-size: var(--text-lg); }
.wp-block-button.de-btn.de-btn--block { width: 100%; }
.wp-block-button.de-btn.de-btn--block .wp-block-button__link { width: 100%; justify-content: center; }
.wp-block-button.de-primary .wp-block-button__link { background: var(--accent); color: var(--accent-on); box-shadow: var(--accent-glow); }
.wp-block-button.de-primary .wp-block-button__link:hover { background: var(--accent-strong); transform: translateY(-2px); }
.wp-block-button.de-outline .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255,255,255,.32); }
.wp-block-button.de-outline .wp-block-button__link:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }
.wp-block-buttons.de-btns { gap: 16px; }

/* Eyebrow / lead / body when set on core paragraphs (className) — already styled
   by .eyebrow/.lead/.body; just reset core paragraph margins where stacked. */
.de-section .eyebrow { margin-bottom: var(--space-4); }

/* Impact list as a core List block on the dark section */
ul.impact-list.wp-block-list {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 18px;
}
ul.impact-list.wp-block-list li {
  position: relative; padding-left: 46px; color: #fff;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: var(--leading-snug);
}
ul.impact-list.wp-block-list li::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: var(--radius-pill);
  background-color: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFB13C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 16px;
}

/* Quote as a core Quote block */
.quote-card.wp-block-quote {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); box-shadow: var(--shadow-md);
  padding: clamp(28px, 4vw, 52px); margin: 0;
}
.quote-card.wp-block-quote p {
  font-family: var(--font-display); font-weight: var(--weight-medium);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: var(--leading-snug);
  color: var(--fg); letter-spacing: var(--tracking-tight); margin: 0;
}
.quote-card.wp-block-quote cite {
  color: var(--brand-strong); font-weight: var(--weight-bold);
  font-size: var(--text-sm); font-style: normal; display: block; margin-top: 18px;
}

/* Native accordion via core Details block, styled to match the dark stage */
.de-acc { max-width: 940px; margin-inline: auto; }
.de-acc .wp-block-details {
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
  margin-top: -1px;
}
.de-acc .wp-block-details > summary {
  list-style: none; cursor: pointer; color: #fff;
  padding: 26px 8px; position: relative;
  font-family: var(--font-display); font-weight: var(--weight-semibold);
  font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: var(--tracking-tight);
  transition: color .2s; padding-right: 56px;
}
.de-acc .wp-block-details > summary::-webkit-details-marker { display: none; }
.de-acc .wp-block-details > summary:hover { color: var(--gold-400); }
.de-acc .wp-block-details > summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.28); display: grid; place-items: center;
  font-weight: 400; font-family: var(--font-sans); font-size: 1.4rem; line-height: 1;
}
.de-acc .wp-block-details[open] > summary::after { content: "–"; background: var(--accent); border-color: var(--accent); color: var(--accent-on); }
.de-acc .wp-block-details > *:not(summary) { color: var(--fg-onDark-muted); font-size: clamp(1rem,1.4vw,1.15rem); line-height: var(--leading-relaxed); max-width: 760px; padding: 0 8px 28px; margin: 0; }

/* Handmark watermark via CSS so it isn't a stray editable block */
.de-section.handmark-tr::before,
.de-section.handmark-bl::before {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  width: min(60vw, 760px); aspect-ratio: 1; background-repeat: no-repeat;
  background-size: contain; opacity: .08;
}
.de-section.stage.handmark-tr::before, .de-section.stage.handmark-bl::before { opacity: .10; }
.de-section.handmark-tr::before { top: -4%; right: -6%; background-image: url("../img/logo-hands.svg"); }
.de-section.stage.handmark-tr::before { background-image: url("../img/logo-hands-white.png"); }
.de-section.handmark-bl::before { bottom: -8%; left: -8%; transform: scaleX(-1); background-image: url("../img/logo-hands-white.png"); }
.de-section > .wrap, .de-section > * { position: relative; z-index: 1; }

/* Keep core blocks from injecting unwanted text color on dark sections */
.stage h1, .stage h2, .stage h3 { color: #fff; }
