/* ============================================================
   EmpowerHer Voices — shared styles
   Governing docs: KICKOFF.md (composition) + EMPOWERHER-CONTEXT.md (content/brand)
   Type: Cormorant Garamond (display) + Mulish (body), self-hosted.
   Palette §15. One structural move per page.
   ============================================================ */

/* ---------- Self-hosted fonts (no third-party requests) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-400.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic; font-weight: 400; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-400italic.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-500.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-600.woff2") format("woff2");
}
@font-face {
  font-family: "Mulish";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/mulish-400.woff2") format("woff2");
}
@font-face {
  font-family: "Mulish";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("assets/fonts/mulish-500.woff2") format("woff2");
}
@font-face {
  font-family: "Mulish";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("assets/fonts/mulish-600.woff2") format("woff2");
}
@font-face {
  font-family: "Mulish";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/mulish-700.woff2") format("woff2");
}

/* ---------- Design tokens (§15 palette) ---------- */
:root {
  --pink-50:  #ffe9eb;
  --pink-100: #fcd9dc;
  --pink-200: #f5c1c5;
  --pink-300: #efb0b7;
  --pink-500: #db7c87;   /* deepest — accents / hover, not body text on white */
  --rose-700: #a84a56;   /* darker pink for accessible small text on light bg */
  --white:    #ffffff;
  --cream:    #fffafa;   /* barely-warm off-white for alt section bands */
  --ink:      #241f20;   /* near-black for body copy */
  --ink-soft: #5b5254;   /* muted body / captions */

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* spacing scale (shared rhythm — KICKOFF PART 1 #5) */
  --sp-1: 0.5rem;  --sp-2: 1rem;   --sp-3: 1.5rem;  --sp-4: 2rem;
  --sp-5: 3rem;    --sp-6: 4rem;   --sp-7: 6rem;     --sp-8: 8rem;

  --container: 1200px;
  --radius: 14px;
  --shadow-soft: 0 18px 50px -24px rgba(168, 74, 86, 0.35);
  --section-y: clamp(3.25rem, 5.5vw, 5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);   /* strong ease-out (emil) for entrances */
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;              /* smooth glide for same-page anchor links */
  scroll-padding-top: 5rem;             /* keep anchor targets clear of the sticky header */
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 var(--sp-3);
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.8rem, 6.5vw, 5rem); font-weight: 600; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
p  { margin: 0 0 var(--sp-3); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose-700);
  margin: 0 0 var(--sp-3);
}
.lead { font-size: clamp(1.15rem, 1.7vw, 1.4rem); color: var(--ink-soft); }
.script-accent { font-style: italic; color: var(--pink-500); }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--cream { background: var(--cream); }
.section--pink { background: linear-gradient(180deg, var(--pink-50), var(--white)); }
.center { text-align: center; }
.stack > * + * { margin-top: var(--sp-3); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.95rem; letter-spacing: 0.02em;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn--primary { background: var(--pink-500); color: var(--white); box-shadow: var(--shadow-soft); }
.btn--ghost { background: transparent; color: var(--rose-700); border-color: var(--pink-300); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--rose-700); transform: translateY(-2px); }
  .btn--ghost:hover { background: var(--pink-50); border-color: var(--pink-500); transform: translateY(-2px); }
}
.btn:active { transform: scale(0.97); }   /* press feedback (emil) */
.btn:focus-visible { outline: 3px solid var(--pink-500); outline-offset: 3px; }

.textlink {
  color: var(--rose-700); text-decoration: none;
  border-bottom: 1.5px solid var(--pink-300);
  padding-bottom: 1px; transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.textlink:hover { color: var(--pink-500); border-color: var(--pink-500); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid rgba(245, 193, 197, 0.5);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3); padding-block: 0.85rem;
}
.nav__brand { display: inline-flex; align-items: center; }
.nav__brand img { height: 34px; width: auto; }   /* trimmed wordmark (transp1-mark) */
.nav__links { display: flex; align-items: center; gap: var(--sp-4); list-style: none; margin: 0; padding: 0; }
.nav__links a {
  text-decoration: none; color: var(--ink); font-weight: 500;
  font-size: 0.95rem; letter-spacing: 0.04em;
  padding-bottom: 3px; border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--rose-700); }
.nav__links a[aria-current="page"] { color: var(--rose-700); border-color: var(--pink-500); }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 0.5rem; color: var(--ink);
}
.nav__toggle svg { display: block; }

@media (max-width: 720px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--white); padding: var(--sp-2) 1.25rem var(--sp-3);
    border-bottom: 1px solid var(--pink-200);
    box-shadow: var(--shadow-soft);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
  }
  .nav__links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; width: 100%; padding: 0.85rem 0; border-bottom: 1px solid var(--pink-50); }
}

/* ============================================================
   HOME
   ============================================================ */

/* --- Split hero (one move: asymmetric ~58/42) --- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--pink-50) 0%, var(--white) 62%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.32fr 1fr; /* weighted to photo side */
  align-items: start;                /* top-align the columns so neither floats with
                                        centered slack (the shorter column just ends
                                        naturally rather than being vertically centered) */
  gap: clamp(2rem, 5vw, 4rem);       /* 64px (--sp-6) at desktop, matching every other Home section */
  padding-block: clamp(3rem, 7vw, 6rem);
}
.hero__media { position: relative; }
/* Cap the portrait in an aspect-ratio box (natural 0.7) so it doesn't free-run to
   ~917px and leave the copy floating in a much taller track. ~640px brings it close
   to the copy height while keeping intentional editorial breathing room. */
.hero__media img {
  width: 100%; aspect-ratio: 980 / 1400; max-height: 640px;
  object-fit: cover; object-position: center top;
  border-radius: 220px 220px 24px 24px; box-shadow: var(--shadow-soft);
}
.hero__copy { max-width: 34ch; }
.hero__wordmark { width: min(360px, 80%); margin-bottom: var(--sp-4); }
.hero__mission {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1.32; color: var(--ink); font-weight: 500;
  margin-bottom: var(--sp-5);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

@media (max-width: 860px) {
  /* Stacked single-column hero: center the whole block so nothing floats
     left against the centered layout (wordmark, copy, CTA, and image all centered). */
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__media { order: -1; max-width: 460px; margin-inline: auto; }
  /* restore natural sizing on mobile — no cap/crop, stacked layout unchanged */
  .hero__media img { border-radius: 180px 180px 20px 20px; aspect-ratio: auto; max-height: none; }
  .hero__copy { max-width: 46ch; margin-inline: auto; }
  .hero__wordmark { margin-inline: auto; }
  .hero__cta { justify-content: center; }
}

/* Responsive line break: hidden by default (desktop reads as one flowing line),
   shown only on narrow widths where the heading would otherwise wrap mid-phrase. */
.br-mobile { display: none; }
@media (max-width: 600px) { .br-mobile { display: inline; } }

/* --- Feelings grid (plain grid, strong type) --- */
.feelings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--pink-100);
  border: 1px solid var(--pink-100); border-radius: var(--radius); overflow: hidden; }
.feelings__cell { position: relative; overflow: hidden;
  background: linear-gradient(158deg, var(--pink-50) 0%, var(--white) 68%);
  padding: clamp(1.7rem, 3vw, 2.7rem);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
/* faint mother-and-child silhouette motif, low opacity — brand texture, not decoration */
.feelings__cell::after { content: ""; position: absolute; right: -16px; bottom: -20px;
  width: 118px; height: 118px; background: url("assets/images/transp5.png") center / contain no-repeat;
  opacity: 0.08; pointer-events: none; }
.feelings__word, .feelings__note { position: relative; z-index: 1; }
.feelings__word { font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  color: var(--rose-700); font-weight: 600; margin-bottom: 0.35rem; }
.feelings__note { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }
@media (hover: hover) and (pointer: fine) {
  .feelings__cell:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -30px rgba(168, 74, 86, 0.55); z-index: 2; }
}
@media (max-width: 760px) { .feelings { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .feelings { grid-template-columns: 1fr; } }

/* --- Who this is for --- */
.audience { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.audience__list { list-style: none; margin: 0; padding: 0; }
.audience__list li { padding: var(--sp-3) 0; border-top: 1px solid var(--pink-100); }
.audience__list li:last-child { border-bottom: 1px solid var(--pink-100); }
.audience__tier { font-family: var(--font-body); font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 0.72rem; color: var(--pink-500); display: block; margin-bottom: 0.3rem; }
.audience__who { font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--ink); }
@media (max-width: 760px) { .audience { grid-template-columns: 1fr; } }

/* --- Community glimpse (photography-led) --- */
.glimpse { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
/* Cap the image in an aspect-ratio box (natural ~0.703) with a max-height so it
   relates to the text column height instead of free-running and dictating an
   over-tall section. On mobile the column is full-width and shorter than the cap,
   so the natural ratio shows uncropped (mobile layout unchanged). */
.glimpse__media img { width: 100%; aspect-ratio: 1242 / 1766; max-height: 500px;
  object-fit: cover; object-position: center top;   /* bias crop to the top so Huda's head stays in frame */
  border-radius: var(--radius); box-shadow: var(--shadow-soft); }
@media (max-width: 760px) { .glimpse { grid-template-columns: 1fr; } .glimpse__media { order: -1; } }

/* --- Silhouette accent (texture only, bleeds off one edge) --- */
.silhouette-accent { position: relative; overflow: hidden; }
.silhouette-accent::after {
  content: ""; position: absolute; right: -60px; bottom: -40px;
  width: min(340px, 40vw); aspect-ratio: 1;
  background: url("assets/images/transp5.png") right bottom / contain no-repeat;
  opacity: 0.32; pointer-events: none; z-index: 0;
}
.silhouette-accent > * { position: relative; z-index: 1; }
@media (max-width: 760px) { .silhouette-accent::after { display: none; } }

/* --- CTA band --- */
.cta-band { background: linear-gradient(135deg, var(--pink-200), var(--pink-100)); }
.cta-band__inner { text-align: center; padding-block: clamp(3rem, 6vw, 5rem); }
.cta-band h2 { margin-bottom: var(--sp-4); }
.cta-band .hero__cta { justify-content: center; }

/* ============================================================
   BIO — Pinned Narrative (one move)
   ============================================================ */
.bio-opening { border-bottom: 1px solid var(--pink-100); }
.bio-opening .lead { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.4; color: var(--ink); }

/* pinned two-column: left sticky, right scrolls */
.pinned { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: start; }
.pinned__anchor { position: sticky; top: 92px; align-self: start; }
.pinned__portrait {
  width: 100%; aspect-ratio: 4 / 5; height: auto;
  object-fit: cover; object-position: center 18%;   /* editorial crop, keeps face; no stretch */
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
  filter: grayscale(1) contrast(1.03); /* editorial B/W treatment (Bio only) */
}
.pinned__name { font-family: var(--font-display); font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 600; margin: var(--sp-3) 0 0.25rem; }
.pinned__role { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.72rem; color: var(--pink-500); font-weight: 700; }
/* === Founder-story pull-quotes (§12) — four distinct treatments, not one component === */

/* 1. Pinned pull-quote — smallest + most persistent, in the sticky left column.
   Left accent rule, small italic rose serif. */
.pullquote-slot {
  margin: var(--sp-4) 0 0; padding: var(--sp-1) 0 var(--sp-1) var(--sp-3);
  border-left: 3px solid var(--pink-300);
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.4; color: var(--rose-700);
}

.pinned__story > * + * { margin-top: var(--sp-5); }
.bio-chapter h3 { color: var(--ink); margin-bottom: var(--sp-2); }
.bio-chapter p { color: var(--ink); font-size: 1.08rem; }

/* 2. Mid-story breakout — heaviest treatment: oversized italic + an oversized
   decorative quote mark. In the story flow; keeps the story's --sp-5 rhythm. */
.story-breakout { position: relative; margin: var(--sp-5) 0 0; padding-top: var(--sp-4); }
.story-breakout p {
  margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.24; color: var(--ink);
}
.story-breakout::before {
  content: "\201C"; position: absolute; left: -0.06em; top: -0.16em;
  font-family: var(--font-display); font-style: normal; line-height: 1;
  font-size: clamp(3.5rem, 7vw, 5.5rem); color: var(--pink-200); pointer-events: none;
}

/* 3. Connective emphasis — bridges story -> credentials; lighter than the breakout.
   Top hairline + medium italic rose. */
.cred-emphasis {
  margin: var(--sp-3) 0 0; padding-top: var(--sp-3); border-top: 1px solid var(--pink-200);
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.4; color: var(--rose-700);
}

/* 4. Closing statement — centered, standalone, transitional button on the story
   arc. Extra breathing room (--sp-7) before the testimonials eyebrow. */
.closing-quote {
  margin: 0 auto var(--sp-7); max-width: 24ch; text-align: center;
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem); line-height: 1.3; color: var(--rose-700);
}

@media (max-width: 900px) {
  /* disable pin below breakpoint — plain stacked order */
  .pinned { grid-template-columns: 1fr; }
  .pinned__anchor { position: static; max-width: 420px; }
  .pinned__story { margin-top: var(--sp-5); }
}

/* --- Podcast breakout (breaks OUT of pinned flow, full-width band) --- */
.podcast {
  background: linear-gradient(165deg, var(--ink) 0%, #3a2f31 100%);
  color: var(--white);
}
.podcast .eyebrow { color: var(--pink-300); }
.podcast h2, .podcast h3 { color: var(--white); }
/* Single column throughout: the text block and the stacked embeds share one
   centered, readable column (760px, same width as the opening bridge) so every
   edge lines up. No side-by-side grids to reconcile. */
.podcast__intro, .podcast__embeds { max-width: 760px; margin-inline: auto; }
.podcast__intro { margin-bottom: var(--sp-6); }
.podcast__desc { color: rgba(255, 255, 255, 0.82); }
.podcast__desc ul { margin: 0; padding-left: 1.1rem; }  /* gap comes from the preceding <p> margin-bottom */
.podcast__desc li { margin-bottom: 0.4rem; }
/* Two "Watch" embeds stacked vertically; vertical gap on the shared --sp scale. */
.podcast__embeds { display: grid; gap: var(--sp-5); }
.embed-card__label { font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 0.72rem; color: var(--pink-300); margin-bottom: var(--sp-2); }
.embed-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  background: rgba(255,255,255,0.06); }
.embed-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- Credentials (pinned resumes; prose/cards not a resume list) --- */
.creds__cards { display: grid; gap: var(--sp-3); }
.cred-card { background: var(--white); border: 1px solid var(--pink-100); border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 2rem); box-shadow: 0 12px 40px -30px rgba(168,74,86,0.5); }
.cred-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--rose-700); }
.cred-card p { margin: 0; color: var(--ink); }

/* --- Testimonials (plain grid, placeholder) --- */
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.testimonial { background: var(--cream); border: 1px solid var(--pink-100); border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem); }
.testimonial__quote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem;
  line-height: 1.4; color: var(--ink); margin-bottom: var(--sp-3); }
.testimonial__by { font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; letter-spacing: 0.02em; }
.testimonial--placeholder { border-style: dashed; opacity: 0.85; }
@media (max-width: 860px) { .testimonials__grid { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT — clean grid, no structural move
   ============================================================ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__intro .lead { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.35; color: var(--ink); }
.contact__methods { list-style: none; margin: 0; padding: 0; }
.contact__method { padding: var(--sp-4) 0; border-top: 1px solid var(--pink-100); }
.contact__method:last-child { border-bottom: 1px solid var(--pink-100); }
.contact__label { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem;
  font-weight: 700; color: var(--pink-500); margin-bottom: 0.4rem; }
.contact__value { font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.8rem); word-break: break-word; }
.contact__value a { text-decoration: none; color: var(--rose-700); }
.contact__value a:hover { color: var(--pink-500); }
.contact__hint { color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.35rem; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }

/* ============================================================
   Footer (shared)
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.78); padding-block: var(--sp-7) var(--sp-5); }
.site-footer a { color: var(--white); }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--sp-5); margin-bottom: var(--sp-6); }
.footer__brand img { width: 168px; margin-bottom: var(--sp-3); }   /* trimmed wordmark (transp2-mark) */
.footer__disclaimer { font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,0.7); max-width: 42ch; }
.footer__col h4 { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--pink-300); margin-bottom: var(--sp-3); font-weight: 700; }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: var(--sp-2); }
.footer__list a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.25); padding-bottom: 1px; }
.footer__list a:hover { border-color: var(--pink-300); }
.footer__pending { color: rgba(255,255,255,0.5); font-size: 0.88rem; }
.footer__pending::after { content: " · coming soon"; font-style: italic; color: var(--pink-300); }
.footer__urgent { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: var(--sp-3); margin-bottom: var(--sp-5); }
.footer__urgent strong { color: var(--white); }
.footer__urgent p { font-size: 0.9rem; color: rgba(255,255,255,0.72); margin: 0.35rem 0 0; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: var(--sp-4);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-2);
  font-size: 0.85rem; color: rgba(255,255,255,0.55); }
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Page transition: fade-in on load ----------
   Restrained + quick (emil): the incoming page fades in on load. There is NO
   fade-out-before-navigate, so every click navigates immediately (real multi-page
   navigation, where a pre-nav delay would add genuine latency). Opacity only (no
   transform) so the sticky header is never given a transformed containing block.
   Disabled under reduced-motion via the media query below. */
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
body { animation: page-in 150ms var(--ease-out) backwards; }

/* ---------- Reveal-on-scroll (progressive; no-JS shows everything) ----------
   emil: only transform + opacity, strong ease-out, translateY (never scale(0)),
   short durations, subtle stagger for grouped items. */
.reveal { opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Staggered children (grids / lists) — each item trails the previous slightly */
.reveal-stagger > * { opacity: 0; transform: translateY(14px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 60ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 120ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 180ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}
/* Failsafe: if JS is disabled, never hide content */
.no-js .reveal, .no-js .reveal-stagger > * { opacity: 1; transform: none; }
