/* =========================================================
   Keep Dreaming Foundation — iOS-style single page
   ========================================================= */

:root {
  /* Apple-like neutral palette */
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #fafafb;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --hair: rgba(0, 0, 0, 0.10);
  --hair-2: rgba(0, 0, 0, 0.06);

  /* Brand accents (from the real KDF logo) */
  --pink: #FB2056;
  --pink-600: #e01049;
  --pink-tint: #ffe9ee;
  --yellow: #FFB400;
  --teal: #1FB6A1;
  --blue: #2D8CFF;

  /* Semantic */
  --success: #1F9E70;
  --success-tint: #e6f6ef;
  --danger: #DC2626;
  --danger-tint: #fde8e8;
  --focus: #2D8CFF;
  --focus-ring: 0 0 0 4px color-mix(in srgb, var(--focus) 28%, transparent);

  /* Type */
  --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Radii */
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --r-xl: 36px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.05);
  --shadow: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-md: 0 14px 38px -12px rgba(0,0,0,0.14);
  --shadow-lg: 0 24px 60px -20px rgba(0,0,0,0.22);

  /* Layout */
  --maxw: 1120px;
  --nav-h: 56px;

  /* Motion */
  --dur-1: 120ms;
  --dur-2: 200ms;
  --dur-3: 320ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #0a0a0c;
    --surface: #1c1c1e;
    --surface-2: #232326;
    --ink: #f5f5f7;
    --ink-2: #d2d2d7;
    --ink-3: #98989d;
    --hair: rgba(255,255,255,0.14);
    --hair-2: rgba(255,255,255,0.08);
    --pink-tint: rgba(251, 32, 86, 0.16);
    --success-tint: rgba(31, 158, 112, 0.18);
    --danger-tint: rgba(220, 38, 38, 0.20);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.4), 0 4px 12px rgba(0,0,0,0.5);
    --shadow: 0 8px 30px rgba(0,0,0,0.55);
    --shadow-md: 0 14px 38px -12px rgba(0,0,0,0.6);
    --shadow-lg: 0 24px 60px -20px rgba(0,0,0,0.8);
  }
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea { font: inherit; color: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--bg); padding: .7rem 1.1rem;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600; font-size: 0.9rem;
}
.skip-link:focus { left: 8px; top: 8px; box-shadow: var(--shadow); }

/* Universal focus ring — visible only via keyboard */
:focus { outline: none; }
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 8px;
}
.pill:focus-visible, .seg button:focus-visible {
  box-shadow: var(--focus-ring), 0 8px 24px -6px color-mix(in srgb, var(--focus) 30%, transparent);
}
input:focus-visible, textarea:focus-visible { box-shadow: none; /* inputs use their own ring */ }

/* Selection */
::selection { background: color-mix(in srgb, var(--pink) 22%, transparent); color: var(--ink); }

/* -------- Bilingual visibility -------- */
html[data-lang="en"] [lang="es"] { display: none; }
html[data-lang="es"] [lang="en"] { display: none; }

/* -------- Layout helpers -------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.section { padding-block: clamp(72px, 12vw, 140px); }
.section-alt { background: var(--bg-alt); }

/* -------- Typography -------- */
.eyebrow {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--pink); margin-bottom: 0.9rem;
}

/* Verified trust badge (used in hero) — replaces dim kicker */
.trust-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 600; letter-spacing: -0.005em;
  padding: 0.45rem 0.95rem 0.45rem 0.55rem;
  border-radius: 999px;
  background: var(--surface); color: var(--ink-2);
  border: 1px solid var(--hair-2);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.4rem;
}
.trust-badge .check {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--success); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.trust-badge .check svg { width: 11px; height: 11px; }
.trust-badge .sep { width: 1px; height: 14px; background: var(--hair); margin-inline: 0.15rem; }
.trust-badge strong { color: var(--ink); font-weight: 600; }

/* Legacy kicker kept for fallback */
.kicker {
  display: inline-block;
  font-size: 0.85rem; font-weight: 600; color: var(--ink-3);
  padding: 0.45rem 0.9rem; border: 1px solid var(--hair);
  border-radius: 999px; margin-bottom: 1.5rem;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.display {
  font-size: clamp(1.9rem, 1.2rem + 3vw, 3.4rem);
  line-height: 1.06; font-weight: 700; letter-spacing: -0.03em;
  max-width: 16ch;
}
.display-sm {
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem);
  line-height: 1.1; font-weight: 700; letter-spacing: -0.025em;
}
.lede {
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.28rem);
  line-height: 1.55; color: var(--ink-2); max-width: 62ch; margin-top: 1.2rem;
}
.display + .lede { margin-top: 1.4rem; }

/* -------- Buttons / pills -------- */
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.3rem; border-radius: 999px;
  font-size: 0.95rem; font-weight: 600; white-space: nowrap;
  transition: transform var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease), box-shadow var(--dur-3) var(--ease), opacity var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
  will-change: transform;
  user-select: none;
}
.pill:active { transform: scale(0.97); transition-duration: var(--dur-1); }
.pill[disabled], .pill[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; pointer-events: none; }
.pill-lg { padding: 0.95rem 1.7rem; font-size: 1rem; }
.pill-block { width: 100%; justify-content: center; }
.pill-primary {
  background: var(--pink); color: #fff;
  box-shadow: 0 6px 18px -4px color-mix(in srgb, var(--pink) 50%, transparent);
}
.pill-primary:hover { background: var(--pink-600); box-shadow: 0 12px 26px -6px color-mix(in srgb, var(--pink) 55%, transparent); transform: translateY(-1px); }
.pill-dark { background: var(--ink); color: var(--bg); }
.pill-dark:hover { transform: translateY(-1px); opacity: 0.92; }
.pill-glass {
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  color: var(--ink); border: 1px solid var(--hair);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.pill-glass:hover { background: var(--surface); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

/* -------- Segmented control (iOS) -------- */
.seg {
  display: inline-flex; padding: 3px; gap: 2px;
  background: var(--hair-2); border-radius: 999px;
}
.seg button {
  padding: 0.4rem 0.85rem; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; color: var(--ink-3);
  transition: color .2s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.seg button[aria-pressed="true"] {
  background: var(--surface); color: var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.seg-wide { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
.seg-wide button { padding: 0.65rem 0.5rem; text-align: center; }

/* -------- NAV -------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--hair); }
.nav-inner {
  max-width: var(--maxw); margin-inline: auto; height: 100%;
  padding-inline: clamp(16px, 5vw, 40px);
  display: flex; align-items: center; gap: 1.2rem;
}
.brand { display: flex; align-items: center; gap: 0.55rem; flex-shrink: 0; }
.brand-logo { width: 34px; height: 34px; border-radius: 9px; object-fit: contain; background: #fff; padding: 2px; box-shadow: var(--shadow-sm); }
.brand-name { display: flex; flex-direction: column; font-weight: 700; font-size: 0.95rem; line-height: 1.05; letter-spacing: -0.02em; }
.brand-sub { font-size: 0.68rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0.01em; }

.nav-links { display: flex; gap: 0.3rem; margin-inline: auto; }
.nav-links a {
  padding: 0.45rem 0.8rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500; color: var(--ink-2);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-links a:hover { background: var(--hair-2); color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.nav-actions .pill { padding: 0.5rem 1rem; font-size: 0.88rem; }

/* -------- HERO -------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 20px 80px;
}
#bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-content::before {
  content: "";
  position: absolute; inset: -10% -8%;
  background: radial-gradient(60% 65% at 50% 55%, color-mix(in srgb, var(--bg) 70%, transparent) 0%, transparent 70%);
  z-index: -1; pointer-events: none;
}
.hero h1 {
  font-size: clamp(2.6rem, 1.3rem + 6vw, 6rem);
  line-height: 0.98; font-weight: 700; letter-spacing: -0.04em;
  margin-bottom: 1.4rem;
  background: linear-gradient(180deg, var(--ink), color-mix(in srgb, var(--ink) 70%, var(--pink)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead {
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem);
  color: var(--ink-2); max-width: 56ch; margin-inline: auto; line-height: 1.5;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 2.2rem; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 24px; height: 38px; border: 2px solid var(--hair); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 7px;
}
.hero-scroll span { width: 4px; height: 8px; border-radius: 4px; background: var(--ink-3); animation: scrolldot 1.6s var(--ease) infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translateY(8px); } }

/* -------- STATS -------- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.stat {
  background: var(--surface); border: 1px solid var(--hair-2);
  border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-sm);
}
.stat strong { display: block; font-size: clamp(2rem, 1.3rem + 2.5vw, 3.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.stat span { display: block; margin-top: 0.5rem; font-size: 0.92rem; color: var(--ink-3); }

/* -------- PROOF BAR (under hero) -------- */
.proof-bar {
  position: relative; z-index: 3;
  margin: calc(-2rem - 4vw) auto 0;
  max-width: calc(var(--maxw) - 80px);
  background: var(--surface);
  border: 1px solid var(--hair-2);
  border-radius: var(--r-lg);
  padding: 1rem 1.4rem;
  box-shadow: var(--shadow);
  display: grid; gap: 0.6rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: center;
}
.proof-item {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.85rem; color: var(--ink-2);
  border-right: 1px solid var(--hair-2);
  padding-right: 1rem; padding-block: 0.4rem;
}
.proof-item:last-child { border-right: 0; }
.proof-item svg { width: 18px; height: 18px; color: var(--ink-3); flex-shrink: 0; }
.proof-item strong { color: var(--ink); font-weight: 600; }
.proof-item .em { color: var(--success); }
@media (max-width: 720px) {
  .proof-bar { margin-inline: 16px; padding: 0.9rem 1.1rem; }
  .proof-item { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--hair-2); padding-block: 0.55rem; }
  .proof-item:last-child { border-bottom: 0; }
}

/* -------- CARDS -------- */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem; margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.card {
  background: var(--surface); border: 1px solid var(--hair-2);
  border-radius: var(--r-lg); padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-3) var(--ease-out), border-color var(--dur-2) var(--ease), transform var(--dur-3) var(--ease-out);
  will-change: transform;
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--hair);
  transform: translateY(-2px);
}
.card:active { transform: translateY(0); transition-duration: var(--dur-1); }
.card-ico {
  width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  color: #fff; background: var(--ico, var(--pink));
  box-shadow: 0 8px 20px -8px var(--ico, var(--pink));
}
.card-ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; color: var(--ink-3); line-height: 1.5; }

/* -------- GALLERY -------- */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.gallery figure {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: var(--bg-alt); box-shadow: var(--shadow-sm);
  aspect-ratio: 3 / 4;
  transition: box-shadow var(--dur-3) var(--ease-out);
}
.gallery .g-wide { grid-column: span 2; aspect-ratio: 4 / 3; }
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease-out), opacity var(--dur-3) var(--ease);
}
.gallery figure:hover { box-shadow: var(--shadow-md); }
.gallery figure:hover img { transform: scale(1.045); }

/* -------- SPLIT (story) -------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1.05fr 1fr; } }
.split-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-body p { color: var(--ink-2); margin-top: 1.1rem; line-height: 1.6; max-width: 52ch; }
.split-body em { color: var(--pink); font-style: italic; }

/* -------- HELP / FORM -------- */
.help-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .help-grid { grid-template-columns: 1fr 1fr; } }
.help-contact { list-style: none; margin-top: 1.8rem; display: grid; gap: 0.9rem; }
.help-contact li { display: flex; align-items: center; gap: 0.7rem; color: var(--ink-2); font-size: 0.97rem; }
.help-contact svg { width: 20px; height: 20px; color: var(--ink-3); flex-shrink: 0; }
.help-contact a:hover { color: var(--pink); }

.help-form {
  background: var(--surface); border: 1px solid var(--hair-2);
  border-radius: var(--r-xl); padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.2rem; }
.field label {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 0.5rem;
}
.field label .req { color: var(--pink); font-weight: 700; }
.field-help { display: block; font-size: 0.78rem; color: var(--ink-3); margin-top: 0.4rem; line-height: 1.45; }
.field-error {
  display: none;
  font-size: 0.82rem; color: var(--danger); margin-top: 0.45rem; font-weight: 500;
  align-items: center; gap: 0.35rem;
}
.field-error svg { width: 14px; height: 14px; flex-shrink: 0; }
.field[data-error="true"] .field-error { display: flex; }
.field input, .field textarea {
  width: 100%; padding: 0.85rem 1rem;
  background: var(--bg-alt); border: 1px solid transparent;
  border-radius: var(--r-sm); font-size: 1rem; resize: vertical;
  color: var(--ink);
  transition: border-color var(--dur-2) var(--ease), background var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
  min-height: 44px; /* touch target */
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: 0.7; }
.field input:hover, .field textarea:hover { border-color: var(--hair); }
.field input:focus, .field textarea:focus {
  outline: none; background: var(--surface);
  border-color: var(--pink);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--pink) 18%, transparent);
}
.field[data-error="true"] input, .field[data-error="true"] textarea {
  border-color: var(--danger);
  background: var(--danger-tint);
}
.field[data-error="true"] input:focus, .field[data-error="true"] textarea:focus {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 22%, transparent);
}
#amount-field { transition: opacity var(--dur-3) var(--ease), max-height var(--dur-3) var(--ease), margin var(--dur-3) var(--ease); overflow: hidden; }
#amount-field[hidden] { display: block; opacity: 0; max-height: 0; margin: 0; pointer-events: none; }
.form-note { margin-top: 0.9rem; font-size: 0.82rem; color: var(--ink-3); text-align: center; }
.form-error { margin-top: 0.9rem; font-size: 0.88rem; color: var(--pink); text-align: center; }
.form-error a { font-weight: 600; text-decoration: underline; }

/* Submit success panel */
.form-done {
  background: var(--surface); border: 1px solid var(--hair-2);
  border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--shadow); text-align: center;
}
.form-done-mark {
  width: 64px; height: 64px; margin: 0 auto 1.3rem;
  border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: var(--success);
  box-shadow: 0 12px 28px -10px var(--success);
  animation: pop .5s var(--spring) both;
}
.form-done-mark svg { width: 32px; height: 32px; }
.form-done h3 { font-size: 1.3rem; font-weight: 650; letter-spacing: -0.02em; }
.form-done p { color: var(--ink-3); margin-top: 0.7rem; line-height: 1.55; }
.form-done .pill { margin-top: 1.4rem; }
@keyframes pop { 0% { transform: scale(0.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .form-done-mark { animation: none; } }

/* Visually hidden but accessible (for sr-only live updates) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* -------- TRUST / TRANSPARENCY -------- */
.trust-card {
  background: var(--surface); border: 1px solid var(--hair-2);
  border-radius: var(--r-xl); padding: clamp(1.6rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-sm);
}
.badge-501 {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 600;
  color: var(--success);
  background: var(--success-tint);
  padding: 0.45rem 0.95rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.badge-501 svg { width: 15px; height: 15px; }
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.4rem 2rem; margin-top: 1.6rem;
  border-top: 1px solid var(--hair-2); padding-top: 1.8rem;
}
.trust-grid > div { display: grid; gap: 0.25rem; }
.trust-grid dt {
  font-size: 0.74rem; font-weight: 600; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.trust-grid dd {
  font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink);
}
.trust-grid dd a { border-bottom: 1px solid var(--hair); transition: color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease); }
.trust-grid dd a:hover { color: var(--pink); border-color: var(--pink); }
.trust-note {
  margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--hair-2);
  font-size: 0.9rem; color: var(--ink-3); line-height: 1.6;
}

/* -------- FOOTER -------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--hair); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer-top { display: grid; gap: clamp(2.2rem, 5vw, 4rem); grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.1fr 1.9fr; } }

.footer-brand { max-width: 34ch; }
.footer-brand img { width: 52px; height: 52px; border-radius: 14px; object-fit: contain; background: #fff; padding: 4px; box-shadow: var(--shadow-sm); }
.footer-brand strong { display: block; margin-top: 1rem; font-size: 1.05rem; letter-spacing: -0.02em; }
.footer-tag { font-size: 0.92rem; color: var(--ink-3); margin-top: 0.4rem; line-height: 1.55; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.3rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--hair-2);
  transition: transform .25s var(--spring), color .2s var(--ease), border-color .2s var(--ease);
}
.footer-social a:hover { color: var(--pink); border-color: color-mix(in srgb, var(--pink) 40%, transparent); transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; }

.footer-cols { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.footer-col h4 { font-size: 0.76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); margin-bottom: 1rem; }
.footer-col nav { display: grid; gap: 0.6rem; }
.footer-col nav a { font-size: 0.93rem; color: var(--ink-2); width: max-content; transition: color .2s var(--ease); }
.footer-col ul { list-style: none; display: grid; gap: 0.6rem; }
.footer-col ul a { font-size: 0.93rem; color: var(--ink-2); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--pink); }
.footer-col address { font-style: normal; font-size: 0.92rem; color: var(--ink-3); line-height: 1.55; }

.footer-legal {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; justify-content: space-between;
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--hair-2);
  font-size: 0.8rem; color: var(--ink-3);
}

/* -------- Reveal on scroll -------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.cards .reveal.in { transition-delay: calc(var(--i, 0) * .07s); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* -------- Responsive nav -------- */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .brand-sub { display: none; }
  .nav-actions .pill span { display: inline; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .g-wide { grid-column: span 2; }
  .nav-actions { gap: 0.4rem; }
  .nav-actions .pill { padding: 0.45rem 0.85rem; font-size: 0.82rem; }
}
