/* =====================================================================
   World Water Solutions — styles.css
   Mobile-first, responsive, no build step.
   Sections: Tokens · Reset · Base · Layout · Header/Nav · Buttons ·
             Hero · Sections & Components · Footer · Utilities · Motion
   ===================================================================== */

/* ----------------------------- Tokens ----------------------------- */
:root {
  /* Water palette */
  --ocean:      #0a4d68;   /* deep ocean blue */
  --ocean-dark: #073748;
  --teal:       #088395;
  --aqua:       #05bfdb;
  --aqua-soft:  #7fd8e6;

  /* Earth / grounding */
  --sand:       #e9dcc9;
  --sand-soft:  #f3ebdd;
  --charcoal:   #14201f;   /* volcanic charcoal — text */
  --charcoal-2: #2c3a39;

  /* Surfaces */
  --bg:         #f7f9fa;
  --surface:    #ffffff;
  --line:       #e2e8ea;

  /* Functional */
  --ink:        var(--charcoal);
  --muted:      #5a6b6b;
  --on-dark:    #eef6f8;
  --on-dark-mut:#b9d2d9;

  /* Type scale (fluid) */
  --step--1: clamp(0.84rem, 0.79rem + 0.2vw, 0.95rem);
  --step-0:  clamp(1rem, 0.95rem + 0.3vw, 1.13rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2:  clamp(1.45rem, 1.25rem + 1vw, 1.95rem);
  --step-3:  clamp(1.85rem, 1.5rem + 1.8vw, 2.8rem);
  --step-4:  clamp(2.3rem, 1.7rem + 3vw, 4rem);

  /* Fonts */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Space + shape */
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --maxw: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(10, 77, 104, 0.06);
  --shadow: 0 14px 40px rgba(10, 77, 104, 0.12);
  --shadow-lg: 0 24px 60px rgba(10, 77, 104, 0.18);

  --header-h: 76px;
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--ocean); }
ul[class], ol[class] { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: 4px; }

/* ----------------------------- Base type ----------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ocean-dark);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { color: var(--charcoal-2); }
.lead { font-size: var(--step-1); color: var(--charcoal-2); line-height: 1.55; }

/* ----------------------------- Layout ----------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
section { padding-block: clamp(3rem, 7vw, 6rem); }
.section-head { max-width: 720px; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.7rem;
}
.eyebrow.on-dark { color: var(--aqua-soft); }

/* ----------------------------- Skip link ----------------------------- */
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--ocean); color: #fff; padding: 10px 16px;
  border-radius: 8px; z-index: 1000; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ----------------------------- Header / Nav ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s, background .25s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.brand:hover { color: inherit; }
.brand__mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem;
  color: var(--ocean-dark); letter-spacing: -0.01em;
}
.brand__tag { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin-top: 3px; }
.brand__logo { height: 52px; width: auto; border-radius: 6px; }

.nav__links { display: flex; align-items: center; gap: 0.35rem; }
.nav__links a {
  display: block; padding: 0.55rem 0.8rem; border-radius: 999px;
  color: var(--charcoal); font-weight: 500; font-size: 0.97rem;
  transition: background .18s, color .18s;
}
.nav__links a:hover { background: var(--sand-soft); color: var(--ocean); }
.nav__links a[aria-current="page"] { color: var(--ocean); background: var(--sand-soft); }
.nav__actions { display: flex; align-items: center; gap: 0.6rem; }

/* Desktop: links + Donate sit on one row (right-aligned next to the brand) */
.nav__menu { display: flex; align-items: center; gap: clamp(0.5rem, 1.5vw, 1.5rem); }

/* Hamburger */
.nav__toggle {
  display: none; border: 0; background: transparent; padding: 8px;
  width: 44px; height: 44px; border-radius: 10px;
}
.nav__toggle:hover { background: var(--sand-soft); }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 24px; height: 2.4px; border-radius: 3px;
  background: var(--ocean-dark); transition: transform .25s, opacity .2s;
}
.nav__toggle span { position: relative; margin-inline: auto; }
.nav__toggle span::before { position: absolute; top: -7px; }
.nav__toggle span::after  { position: absolute; top: 7px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.6rem var(--gutter) 1.4rem;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav__menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .nav__links a { padding: 0.85rem 0.6rem; border-radius: var(--radius-sm); font-size: 1.05rem; }
  .nav__actions { padding-top: 0.9rem; }
  .nav__actions .btn { width: 100%; }
}

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 0.97rem; line-height: 1;
  border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--aqua); color: var(--ocean-dark); box-shadow: 0 6px 18px rgba(5, 191, 219, 0.35); }
.btn--primary:hover { background: #19cfeb; color: var(--ocean-dark); box-shadow: 0 10px 26px rgba(5, 191, 219, 0.45); transform: translateY(-2px); }
.btn--solid { background: var(--ocean); color: #fff; }
.btn--solid:hover { background: var(--ocean-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ocean); border-color: var(--ocean); }
.btn--ghost:hover { background: var(--ocean); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn--ghost-light:hover { background: #fff; color: var(--ocean-dark); border-color: #fff; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.btn-row.center { justify-content: center; }

/* ----------------------------- Hero ----------------------------- */
.hero {
  position: relative; color: var(--on-dark);
  background: linear-gradient(135deg, var(--ocean-dark) 0%, var(--ocean) 45%, var(--teal) 100%);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,55,72,0.55) 0%, rgba(7,55,72,0.78) 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  padding-block: clamp(4rem, 12vw, 8.5rem);
  max-width: 760px;
}
.hero h1 { color: #fff; }
.hero h1 em { color: var(--aqua-soft); font-style: normal; }
.hero .lead { color: var(--on-dark-mut); margin-top: 1.2rem; }
.hero .btn-row { margin-top: 2rem; }
.hero__wave { position: relative; z-index: 1; display: block; width: 100%; margin-bottom: -1px; color: var(--bg); }

/* page hero (interior pages) */
.pagehero {
  position: relative; color: var(--on-dark); text-align: center;
  background: linear-gradient(135deg, var(--ocean-dark), var(--teal));
  padding-block: clamp(3rem, 9vw, 6rem);
  overflow: hidden;
}
.pagehero__media { position: absolute; inset: 0; z-index: 0; }
.pagehero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.pagehero__media::after { content:""; position:absolute; inset:0; background: rgba(7,55,72,0.55); }
.pagehero__inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.pagehero h1 { color: #fff; }
.pagehero p { color: var(--on-dark-mut); margin-top: 0.9rem; font-size: var(--step-1); }
.breadcrumb { font-size: var(--step--1); color: var(--aqua-soft); margin-bottom: 0.8rem; letter-spacing: 0.04em; }
.breadcrumb a { color: var(--aqua-soft); }

/* ----------------------------- Stats ----------------------------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.2rem; text-align: center; box-shadow: var(--shadow-sm);
}
.stat__num { font-family: var(--font-head); font-size: var(--step-3); color: var(--teal); font-weight: 600; line-height: 1; }
.stat__label { font-size: var(--step--1); color: var(--muted); margin-top: 0.5rem; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ----------------------------- Split / media feature ----------------------------- */
.split { display: grid; gap: clamp(1.6rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-right .split__media { order: 2; }
}
.split__media img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; object-fit: cover;
}
.split__media.tall img { aspect-ratio: 3 / 4; }
.split p + p { margin-top: 1rem; }

/* band (tinted full-width feature) */
.band { background: linear-gradient(135deg, var(--ocean-dark), var(--ocean)); color: var(--on-dark); }
.band h2, .band h3 { color: #fff; }
.band p { color: var(--on-dark-mut); }
.band--sand { background: var(--sand-soft); color: var(--charcoal); }
.band--sand h2, .band--sand h3 { color: var(--ocean-dark); }
.band--sand p { color: var(--charcoal-2); }

/* ----------------------------- Cards ----------------------------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm); height: 100%;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--aqua-soft); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--aqua), var(--teal)); color: #fff; margin-bottom: 1rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.card p { font-size: var(--step-0); color: var(--charcoal-2); }

/* Program card with image */
.pcard { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.pcard__img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.pcard__body { padding: 1.6rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.pcard__body h3 { font-size: var(--step-1); }
.pcard__tag {
  align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal); background: var(--sand-soft);
  padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 0.8rem;
}
.pcard__body p { margin-bottom: 1rem; }
.pcard__body .btn { margin-top: auto; align-self: flex-start; }

/* Team cards */
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-card__photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; background: var(--sand); }
.team-card__body { padding: 1.2rem 1.3rem 1.5rem; }
.team-card__name { font-family: var(--font-head); font-size: var(--step-1); color: var(--ocean-dark); }
.team-card__role { color: var(--teal); font-weight: 600; font-size: 0.95rem; margin-top: 0.2rem; }

/* ----------------------------- FAQ accordion ----------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 0.8rem; overflow: hidden; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.3rem; background: none; border: 0; text-align: left;
  font-family: var(--font-head); font-size: var(--step-1); color: var(--ocean-dark);
}
.faq__q:hover { color: var(--teal); }
.faq__icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--teal); border-radius: 2px; transition: transform .25s; }
.faq__icon::before { top: 10px; left: 0; width: 22px; height: 2.4px; }
.faq__icon::after  { left: 10px; top: 0; width: 2.4px; height: 22px; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a-inner { padding: 0 1.3rem 1.25rem; color: var(--charcoal-2); }

/* ----------------------------- CTA band ----------------------------- */
.cta {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, var(--teal), var(--ocean));
  color: #fff;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% -10%, rgba(5,191,219,0.5), transparent 55%);
}
.cta__inner { position: relative; z-index: 1; max-width: 700px; margin-inline: auto; }
.cta h2 { color: #fff; }
.cta p { color: var(--on-dark-mut); margin-top: 0.8rem; }
.cta .btn-row { margin-top: 1.8rem; }

/* ----------------------------- Quote / memorial ----------------------------- */
.pullquote {
  font-family: var(--font-head); font-size: var(--step-2); line-height: 1.35;
  color: var(--ocean-dark); border-left: 4px solid var(--aqua);
  padding: 0.4rem 0 0.4rem 1.5rem; margin-block: 1.5rem;
}
.pullquote cite { display: block; font-family: var(--font-body); font-size: var(--step--1); font-style: normal; color: var(--muted); margin-top: 0.8rem; }
.prose p { margin-bottom: 1.1rem; }
.prose h3 { margin-top: 2rem; margin-bottom: 0.6rem; }
.prose ul { margin: 0 0 1.1rem 1.2rem; }
.prose ul li { margin-bottom: 0.4rem; }

/* ----------------------------- Contact ----------------------------- */
.contact-grid { display: grid; gap: clamp(1.6rem, 4vw, 3rem); }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; } }
.info-list { display: grid; gap: 1.1rem; margin-top: 1.4rem; }
.info-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-item__icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sand-soft); color: var(--teal); }
.info-item__icon svg { width: 22px; height: 22px; }
.info-item strong { display: block; color: var(--ocean-dark); font-family: var(--font-head); }
.info-item a, .info-item span { color: var(--charcoal-2); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; color: var(--ocean-dark); margin-bottom: 0.4rem; }
.field input, .field textarea {
  width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: var(--bg); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(5,191,219,0.18); }
.field textarea { resize: vertical; min-height: 130px; }

/* newsletter inline */
.subscribe { display: flex; gap: 0.6rem; flex-wrap: wrap; max-width: 460px; }
.subscribe input { flex: 1 1 220px; padding: 0.8rem 1rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.12); color: #fff; }
.subscribe input::placeholder { color: rgba(255,255,255,0.7); }
.subscribe input:focus { outline: none; border-color: #fff; background: rgba(255,255,255,0.2); }

/* ----------------------------- Donation consent gate ----------------------------- */
.consent { background: var(--sand-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; margin: 1.6rem 0; }
.consent__check { display: flex; gap: 0.85rem; align-items: flex-start; cursor: pointer; font-size: 0.98rem; color: var(--charcoal-2); line-height: 1.55; }
.consent__check input { margin-top: 0.28rem; width: 22px; height: 22px; flex: 0 0 auto; accent-color: var(--teal); cursor: pointer; }
.donate-method { margin-top: 2rem; }
.donate-method h3 { font-size: var(--step-1); margin-bottom: 0.8rem; }
.is-locked { opacity: 0.45; pointer-events: none; }
a.is-locked { cursor: not-allowed; }
.donate-crypto.is-locked { display: none; }
.donate-crypto iframe { width: 100%; max-width: 346px; }
.lock-note { font-size: 0.92rem; color: var(--muted); margin-top: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.lock-note::before { content: "🔒"; }

/* ----------------------------- Footer ----------------------------- */
.site-footer { background: var(--charcoal); color: var(--on-dark-mut); padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.footer-grid { display: grid; gap: 2.2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.6fr; } }
.footer-brand .brand__name { color: #fff; }
.footer-brand p { color: var(--on-dark-mut); margin-top: 0.9rem; font-size: 0.95rem; max-width: 34ch; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.footer-links { display: grid; gap: 0.55rem; }
.footer-links a { color: var(--on-dark-mut); font-size: 0.95rem; }
.footer-links a:hover { color: var(--aqua); }
.footer .info-item__icon { background: rgba(255,255,255,0.08); color: var(--aqua-soft); }
.footer .info-item strong { color: #fff; }
.footer .info-item a, .footer .info-item span { color: var(--on-dark-mut); }
.socials { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.3rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.08); color: #fff; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--teal); transform: translateY(-2px); color: #fff; }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.1); padding-block: 1.4rem; font-size: 0.85rem; color: var(--on-dark-mut); display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; justify-content: space-between; align-items: center; }

/* ----------------------------- Utilities ----------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.text-balance { text-wrap: balance; }
.hide { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ----------------------------- Motion / reveal ----------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
