/* ==========================================================================
   PASSD DOWN — styles
   1. Tokens & base      5. Wheel            9. Impact + mountain
   2. Navigation         6. Closet + cards   10. Donate, FAQ, social, footer
   3. Shared pieces      7. About            11. Cursor, motion, reduced-motion
   4. Hero story         8. Journey
   ========================================================================== */

/* ---------- 1. Tokens & base ---------- */
:root {
  --paper: #f6f3ec;
  --paper-2: #efeadf;
  --ink: #0a2a5e;
  --blue: #1557b0;
  --blue-mid: #4d9fff;
  --blue-pale: #eaf4ff;
  --blue-soft: #b9d3f2;
  --muted: #4a5a75;
  --line: rgba(10, 42, 94, 0.14);
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --pad: clamp(20px, 5vw, 72px);
  --nav-h: 76px;
  --font: Inter, "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }

h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
svg { display: block; }
img { max-width: 100%; height: auto; display: block; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 2px; }

[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sprite symbol { fill: currentColor; }
svg use { fill: currentColor; }

.skip-link {
  position: fixed; left: 16px; top: -70px; z-index: 1000;
  padding: 10px 16px; background: var(--ink); color: #fff; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(96px, 14vw, 200px) 0; }

/* ---------- 2. Navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.site-header.scrolled {
  background: rgba(246, 243, 236, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-color: var(--line);
}
.nav {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); padding: 0 var(--pad);
  transition: height 0.3s var(--ease);
}
.site-header.scrolled .nav { height: 58px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.brand svg { width: 26px; height: 26px; color: var(--blue); }

.nav-links { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav-links a { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.nav-cta { padding: 9px 18px; border: 1px solid var(--ink); border-radius: 99px; transition: background 0.25s, color 0.25s; }
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--ink); color: var(--paper); }

.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px;
  background: none; border: 0; padding: 0;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 1;
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  padding: 90px var(--pad) 40px;
  background: var(--paper);
  clip-path: circle(0 at calc(100% - 40px) 38px);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease), visibility 0s 0.7s;
}
.menu a {
  font-size: clamp(2.4rem, 12vw, 4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.15;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s, transform 0.6s var(--ease);
}
.menu .menu-small { font-size: 1rem; letter-spacing: 0; font-weight: 500; margin-top: 20px; color: var(--muted); }
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; transition: clip-path 0.8s var(--ease), visibility 0s; }
.menu-open .menu a { opacity: 1; transform: none; }
.menu-open .menu a:nth-child(1) { transition-delay: 0.15s; }
.menu-open .menu a:nth-child(2) { transition-delay: 0.2s; }
.menu-open .menu a:nth-child(3) { transition-delay: 0.25s; }
.menu-open .menu a:nth-child(4) { transition-delay: 0.3s; }
.menu-open .menu a:nth-child(5) { transition-delay: 0.35s; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .menu { display: flex; }
}

/* ---------- 3. Shared pieces ---------- */
.eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 22px;
}
.display {
  font-size: clamp(1.9rem, 4.6vw, 4.5rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.04;
  max-width: 14em;
}
.display-sm { font-size: clamp(1.65rem, 3.4vw, 3rem); }
.display, .display-sm, .mega, .statement, .q-title, .res-title { text-wrap: balance; }
.mega { font-size: clamp(2.5rem, 8vw, 7rem); font-weight: 800; letter-spacing: -0.055em; line-height: 0.96; max-width: 11em; margin-bottom: 28px; }
.lead { font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.45; letter-spacing: -0.015em; max-width: 30em; }

/* Animated underline links */
.link { position: relative; }
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease);
}
.link:hover::after, .link:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px; overflow: hidden;
  padding: 18px 30px; border: 1px solid var(--ink); border-radius: 99px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  isolation: isolate; transition: color 0.35s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); transition: transform 0.5s var(--ease);
}
.btn:hover, .btn:focus-visible { color: var(--paper); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.arrow { display: inline-block; font-style: normal; transition: transform 0.4s var(--ease); }
.btn:hover .arrow, .cta-big:hover .arrow, .path:hover .arrow { transform: translateX(6px); }

/* Reveal on scroll (only when JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js [data-split].in .w > span { transform: none; }

/* ---------- 4. Hero story ---------- */
.hero { position: relative; }
.js .hero { height: 620vh; }

.hero-stage {
  position: relative; min-height: 100vh; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 24px;
  padding: calc(var(--nav-h) + 20px) var(--pad) 60px;
}
.js .hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }

.hero-label {
  position: absolute; left: var(--pad); bottom: 28px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
}
.hero-label span { color: var(--muted); font-weight: 500; }

.hero-captions { display: grid; align-items: center; }
.cap { grid-area: 1 / 1; font-size: clamp(2.4rem, 6.4vw, 6.4rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; margin: 0; }
.cap-0 { font-size: clamp(2.1rem, 5vw, 5rem); line-height: 1.04; max-width: 11em; }
.cap-5 { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.path-or { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.path {
  position: relative; display: flex; flex-direction: column; gap: 4px; width: min(100%, 520px);
  padding: 22px 28px; border: 1px solid var(--ink); overflow: hidden; isolation: isolate;
  transition: color 0.4s;
}
.path::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.55s var(--ease); }
.path:hover, .path:focus-visible { color: var(--paper); }
.path:hover::before, .path:focus-visible::before { transform: none; }
.path small { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; opacity: 0.7; }
.path strong { font-size: clamp(1.8rem, 3.6vw, 3.2rem); letter-spacing: -0.04em; line-height: 1.05; }
.path .arrow { position: absolute; right: 28px; top: 50%; margin-top: -0.6em; font-size: 1.6rem; }
.path-recycle { border-style: dashed; }

.js .cap { opacity: 0; transform: translateY(40px); pointer-events: none; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.hero[data-stage="0"] .cap-0, .hero[data-stage="1"] .cap-1, .hero[data-stage="2"] .cap-2,
.hero[data-stage="3"] .cap-3, .hero[data-stage="4"] .cap-4, .hero[data-stage="5"] .cap-5 { opacity: 1; transform: none; pointer-events: auto; }

.hero-garment { justify-self: center; width: min(100%, 58vh, 560px); aspect-ratio: 1; }
.hero-garment svg { width: 100%; height: 100%; }
.hero-garment .half { transition: transform 1s var(--ease); color: var(--blue); }
.hero-garment .half use { transition: color 0.8s; }
.hero-garment .shirt { transform-box: fill-box; transform-origin: center; transition: transform 1s var(--ease), opacity 0.8s; }
.hero-garment .stitch { stroke: var(--ink); stroke-width: 0.6; stroke-dasharray: 2 2; fill: none; opacity: 0; transition: opacity 0.6s; }
.hero-garment .outgrown { fill: none; stroke: var(--ink); stroke-width: 0.5; stroke-dasharray: 2 2; opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity 0.6s, transform 1.1s var(--ease); }
.hero-garment .question { font-size: 46px; font-weight: 800; fill: var(--ink); opacity: 0; transition: opacity 0.6s; font-family: var(--font); }

.js .hero-garment .half-l, .js .hero-garment .half-r { color: var(--blue); }
.hero[data-stage="1"] .half { color: var(--ink); }
.hero[data-stage="2"] .shirt { transform: scale(0.82); }
.hero[data-stage="2"] .outgrown { opacity: 1; transform: scale(1.3); }
.hero[data-stage="3"] .half { color: var(--blue-soft); }
.hero[data-stage="3"] .shirt { transform: translateY(6%) rotate(-4deg); opacity: 0.9; }
.hero[data-stage="4"] .half { color: var(--blue-soft); }
.hero[data-stage="4"] .shirt { transform: scale(0.9); opacity: 0.55; }
.hero[data-stage="4"] .question { opacity: 1; }
.hero[data-stage="5"] .shirt { transform: scale(0.86); }
.hero[data-stage="5"] .half-l { color: var(--ink); transform: translateX(-8px) rotate(-4deg); }
.hero[data-stage="5"] .half-r { color: var(--blue-soft); transform: translateX(10px) rotate(4deg); }
.hero[data-stage="5"] .stitch { opacity: 1; transform: translateX(10px); }
.hero-garment .half-l { transform-origin: 30px 60px; }
.hero-garment .half-r { transform-origin: 70px 60px; }

.hero-progress { position: absolute; right: var(--pad); bottom: 30px; display: flex; gap: 8px; }
.hero-progress i { width: 28px; height: 2px; background: var(--line); transition: background 0.4s; }
.hero[data-stage="0"] .hero-progress i:nth-child(-n+1), .hero[data-stage="1"] .hero-progress i:nth-child(-n+1),
.hero[data-stage="2"] .hero-progress i:nth-child(-n+2), .hero[data-stage="3"] .hero-progress i:nth-child(-n+3),
.hero[data-stage="4"] .hero-progress i:nth-child(-n+4), .hero[data-stage="5"] .hero-progress i { background: var(--ink); }
.hero-scroll {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  transition: opacity 0.4s;
}
.hero-scroll span { width: 1px; height: 28px; background: var(--ink); transform-origin: top; animation: scrollhint 2s var(--ease) infinite; }
@keyframes scrollhint { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero:not([data-stage="0"]) .hero-scroll { opacity: 0; }

/* No-JS: static, readable hero */
.no-js .hero-captions { gap: 16px; }
.no-js .cap { grid-area: auto; }
.no-js .hero-scroll, .no-js .hero-progress { display: none; }

@media (max-width: 820px) {
  .hero-stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; gap: 8px; padding-top: calc(var(--nav-h) + 8px); }
  .hero-garment { grid-row: 1; width: min(62vw, 36vh); margin-top: 6px; }
  .hero-captions { grid-row: 2; align-items: start; padding-top: 12px; }
  .cap { font-size: clamp(2.4rem, 12.5vw, 4rem); }
  .cap-0 { font-size: clamp(1.9rem, 8.4vw, 3rem); }
  .path { padding: 16px 20px; }
  .path strong { font-size: 1.7rem; }
  .hero-label { display: none; }
  .hero-progress { left: var(--pad); right: auto; }
  .hero-scroll { left: auto; right: var(--pad); transform: none; }
}

/* ---------- 5. Wheel ---------- */
.wheel-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 6vw, 80px); }
.wheel-box {
  position: relative; width: min(100%, 640px); aspect-ratio: 1; margin-inline: auto; border-radius: 50%;
  cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none; outline-offset: 10px;
}
.wheel-box.dragging { cursor: grabbing; }
.wheel-glow {
  position: absolute; inset: -4%; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(77, 159, 255, 0.35), transparent 100%);
  transition: opacity 0.5s;
}
.wheel-box.live .wheel-glow { opacity: 1; }
.wheel-rot { position: absolute; inset: 0; border-radius: 50%; will-change: transform; box-shadow: 0 18px 40px -18px rgba(10, 42, 94, 0.45); }
.wheel-rot svg { width: 100%; height: 100%; }
.wheel-rot .seg { transition: fill 0.4s; }
.wheel-rot .seg.on { fill: var(--blue-pale) !important; }
.wheel-rot .seg-label { fill: #fff; font-weight: 700; font-size: 13.5px; letter-spacing: 0.14em; text-transform: uppercase; transition: fill 0.4s; font-family: var(--font); }
.wheel-rot .seg-num { fill: rgba(255, 255, 255, 0.5); font-size: 8px; letter-spacing: 0.2em; font-family: var(--font); }
.wheel-rot .seg.on ~ .labels .x { fill: var(--ink); }
.wheel-rot .lab.on .seg-label { fill: var(--ink); }
.wheel-rot .lab.on .seg-num { fill: var(--blue); }
.wheel-rot .ring { fill: none; stroke: var(--ink); stroke-opacity: 0.35; }

.wheel-pointer {
  position: absolute; left: 50%; top: -2.5%; z-index: 3; width: 28px; height: 38px; margin-left: -14px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 4px 4px 14px 14px / 4px 4px 20px 20px;
  clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%);
  transform-origin: 50% 20%;
}
.wheel-pointer::before { content: ""; position: absolute; inset: 0; background: var(--ink); clip-path: polygon(8% 0, 92% 0, 92% 52%, 50% 94%, 8% 52%); }

.wheel-hub {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%);
  display: grid; place-content: center; justify-items: center; gap: 2px;
  background: var(--paper); border: 1px solid var(--ink); border-radius: 50%; padding: 0;
  box-shadow: 0 0 0 8px rgba(246, 243, 236, 0.35);
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.wheel-hub svg { width: 38%; color: var(--blue); transition: color 0.3s; }
.wheel-hub span { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.wheel-hub:hover { background: var(--ink); color: var(--paper); transform: translate(-50%, -50%) scale(1.06); }
.wheel-hub:hover svg { color: #fff; }

.wheel-result { min-height: 280px; }
.wheel-result h3 { font-size: clamp(1.9rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin-bottom: 18px; text-transform: uppercase; }
.wheel-result p:not(.eyebrow) { font-size: 1.15rem; max-width: 26em; color: var(--muted); margin-bottom: 28px; }
.wheel-result.pop > * { animation: pop 0.6s var(--ease) both; }
.wheel-result.pop > *:nth-child(2) { animation-delay: 0.05s; }
.wheel-result.pop > *:nth-child(3) { animation-delay: 0.1s; }
.wheel-result.pop > *:nth-child(4) { animation-delay: 0.15s; }
@keyframes pop { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.wheel-fallback { display: none; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.no-js .wheel-fallback { display: flex; }
.no-js .wheel-box, .no-js .wheel-result { display: none; }

@media (max-width: 820px) {
  .wheel-layout { grid-template-columns: 1fr; }
  .wheel-box { width: min(100%, 86vw); }
  .wheel-result { min-height: 240px; text-align: left; }
}

/* ---------- 6. Closet + cards ---------- */
.closet { background: var(--paper-2); }
.rail {
  position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(8px, 2vw, 28px);
  margin-top: clamp(48px, 7vw, 96px); padding-top: 36px;
}
.rail::before { content: ""; position: absolute; left: -2%; right: -2%; top: 14px; height: 2px; background: var(--ink); opacity: 0.8; }
.item {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px;
  background: none; border: 0; padding: 0 0 12px; color: var(--c);
  transition: transform 0.6s var(--ease), opacity 0.4s;
}
.item::before { content: ""; position: absolute; top: -26px; left: 50%; width: 1.5px; height: 26px; background: var(--ink); opacity: 0.8; }
.item svg { width: 100%; max-width: 150px; aspect-ratio: 1; transform-origin: 50% 0; transition: transform 0.7s var(--ease); }
.item-tag {
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
  opacity: 0; transform: translateY(-6px); transition: opacity 0.35s, transform 0.5s var(--ease); white-space: nowrap;
}
.item:hover svg, .item:focus-visible svg, .item.active svg { transform: translateY(-6px) scale(1.14) rotate(-2deg); }
.item:hover .item-tag, .item:focus-visible .item-tag, .item.active .item-tag { opacity: 1; transform: none; }
.rail:hover .item:not(:hover):not(.active) { opacity: 0.45; }
.rail.show-unworn .item[data-state="Favourite"] { opacity: 0.18; }
.rail.show-unworn .item .item-tag { opacity: 1; transform: none; }

.closet-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.closet-info { font-size: 1.1rem; font-weight: 500; min-height: 1.6em; }
.toggle {
  background: none; border: 1px solid var(--ink); border-radius: 99px; padding: 10px 18px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; transition: background 0.3s, color 0.3s;
}
.toggle:hover, .toggle[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.closet-cta { margin-top: clamp(64px, 9vw, 130px); display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.statement { font-size: clamp(1.6rem, 3.6vw, 3.2rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.08; max-width: 14em; }

@media (max-width: 820px) {
  .rail { grid-template-columns: repeat(3, 1fr); row-gap: 56px; }
  .item-tag { opacity: 1; transform: none; font-size: 0.58rem; }
  .rail::before { display: none; }
  .item::before { top: -22px; height: 22px; }
}

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(40px, 6vw, 80px); }
.card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: clamp(360px, 36vw, 520px); padding: 28px; overflow: hidden; isolation: isolate;
  background: var(--paper-2); border-radius: 6px; transition: transform 0.7s var(--ease), background 0.6s, color 0.6s;
}
.card svg { width: 72%; margin: 0 auto; color: var(--c); transition: transform 0.9s var(--ease), color 0.6s; }
.card-text small { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.65; }
.card-text h3 { font-size: clamp(1.8rem, 2.8vw, 2.7rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.05; transition: transform 0.6s var(--ease); }
.card-text p { max-height: 0; opacity: 0; overflow: hidden; font-size: 0.95rem; line-height: 1.45; transition: max-height 0.6s var(--ease), opacity 0.5s, margin 0.6s var(--ease); }
.card:hover, .card:focus-visible { transform: translateY(-8px); background: var(--ink); color: var(--paper); }
.card:hover svg, .card:focus-visible svg { transform: rotate(-6deg) scale(1.08); color: var(--blue-mid); }
.card:hover h3, .card:focus-visible h3 { transform: translateX(6px); }
.card:hover p, .card:focus-visible p { max-height: 6em; opacity: 0.85; margin-top: 10px; }

@media (hover: none) { .card-text p { max-height: 6em; opacity: 0.75; margin-top: 8px; } }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { padding: 18px; min-height: 340px; gap: 20px; }
  .card-text h3 { font-size: 1.5rem; }
  .card-text p { font-size: 0.82rem; }
}

/* ---------- 7. About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 6vw, 80px); align-items: start; }
.pathways { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pathway { padding: 28px; border-top: 1px solid var(--ink); }
.pathway svg { width: 64px; margin-bottom: 40px; color: var(--blue); }
.pathway-alt svg { color: var(--blue-mid); }
.pathway h3 { font-size: 1.5rem; letter-spacing: -0.03em; margin-bottom: 8px; }
.pathway p { color: var(--muted); font-size: 0.98rem; }
.tag { margin-top: 56px; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.tag b { background: var(--blue); color: #fff; padding: 4px 10px; margin-right: 10px; border-radius: 99px; font-size: 0.66rem; }
@media (max-width: 820px) { .about-grid, .pathways { grid-template-columns: 1fr; } .pathway { padding: 22px 0; } }

/* ---------- 8. Journey ---------- */
.js .journey { height: 480vh; }
.journey-stage { padding: calc(var(--nav-h) + 10px) 0 24px; }
.js .journey-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 18px; overflow: hidden; padding: 70px 0 20px; }
.journey-map { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); flex: 1; min-height: 0; }
.journey-map svg { width: 100%; height: 100%; }
.journey-caption { max-width: 1440px; width: 100%; margin: 0 auto; padding: 0 var(--pad); font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; min-height: 2.4em; transition: opacity 0.3s; }
.j-base { fill: none; stroke: var(--ink); stroke-opacity: 0.2; stroke-width: 1.5; stroke-dasharray: 3 7; }
.j-draw { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; }
.j-draw.alt { stroke: var(--blue-mid); }
.j-node { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; transition: fill 0.4s; }
.j-node.on { fill: var(--ink); }
.j-label { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; fill: var(--ink); opacity: 0.35; transition: opacity 0.4s; font-family: var(--font); }
.j-label.on { opacity: 1; }
.j-garment { color: var(--blue); }

.journey-legend { display: flex; gap: 48px; padding: 0 var(--pad); flex-wrap: wrap; }
.journey-legend h3 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.journey-legend ol { list-style: decimal inside; color: var(--muted); }
.js .journey-legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; }
.no-js .journey-map, .no-js .journey-caption { display: none; }
.no-js .journey-stage { padding-bottom: 80px; }

/* ---------- 9. Impact + mountain ---------- */
.stats { margin-top: clamp(48px, 7vw, 100px); border-top: 1px solid var(--ink); }
.stat { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: clamp(18px, 3vw, 36px) 0; border-bottom: 1px solid var(--line); }
.stat dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; max-width: 10em; order: 2; text-align: right; }
.stat dd { font-size: clamp(3.5rem, 11vw, 9rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; color: var(--ink); font-variant-numeric: tabular-nums; order: 1; }
.stat .plus { color: var(--blue-mid); }

.js .mountain { height: 520vh; }
.mountain { background: var(--ink); color: var(--paper); }
.mountain-stage { position: relative; min-height: 100vh; padding: 120px var(--pad) 80px; }
.js .mountain-stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; overflow: hidden; }
.mountain canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mountain-copy { position: relative; z-index: 2; max-width: 1440px; margin: 0 auto; pointer-events: none; }
.mountain .eyebrow { color: var(--blue-mid); }
.mountain-title { font-size: clamp(1rem, 1.5vw, 1.3rem); font-weight: 500; letter-spacing: -0.01em; max-width: 22em; opacity: 0.8; line-height: 1.4; }
.mountain-count { margin-top: clamp(12px, 3vh, 32px); font-size: clamp(3.2rem, 10vw, 9rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.mountain-sub { margin-top: 14px; }
.mountain-count #mountain-unit { display: inline-block; font-size: clamp(1rem, 2vw, 1.8rem); letter-spacing: 0; font-weight: 600; }
.mountain-ticks { position: absolute; z-index: 2; right: var(--pad); top: 120px; display: flex; flex-direction: column; gap: 10px; text-align: right; }
.mountain-ticks li { font-size: 0.7rem; letter-spacing: 0.14em; opacity: 0.3; transition: opacity 0.3s; font-variant-numeric: tabular-nums; }
.mountain-ticks li.on { opacity: 1; }
.mountain-note { position: absolute; z-index: 2; left: var(--pad); bottom: 22px; font-size: 0.7rem; letter-spacing: 0.1em; opacity: 0.85; padding: 2px 8px; margin-left: -8px; background: rgba(10, 42, 94, 0.78); }
.no-js .mountain { display: none; }
@media (max-width: 820px) { .mountain-ticks { padding: 3px 8px; margin-right: -8px; background: rgba(10, 42, 94, 0.78); } }
@media (max-width: 820px) { .mountain-ticks { top: auto; bottom: 60px; flex-direction: row; right: var(--pad); gap: 8px; } .mountain-ticks li { font-size: 0.6rem; } .stat { flex-direction: column; gap: 8px; } .stat dd { order: 2; } .stat dt { order: 1; text-align: left; } }

/* ---------- 10. Donate, FAQ, social, footer ---------- */
.donate-cta { display: flex; align-items: center; gap: clamp(28px, 6vw, 80px); flex-wrap: wrap; margin-top: clamp(40px, 6vw, 80px); }
.cta-big {
  position: relative; display: inline-flex; align-items: center; gap: 24px; overflow: hidden; isolation: isolate;
  padding: clamp(22px, 3.2vw, 44px) clamp(28px, 4.4vw, 64px); border: 1.5px solid var(--ink); border-radius: 99px;
  font-size: clamp(1.1rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em;
  transition: color 0.4s, transform 0.5s var(--ease), padding 0.5s var(--ease);
}
.cta-big::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: translateX(-101%); transition: transform 0.6s var(--ease); }
.cta-big:hover, .cta-big:focus-visible { color: #fff; border-color: var(--blue); }
.cta-big:hover::before, .cta-big:focus-visible::before { transform: none; }
.cta-big .arrow { font-size: 1.4em; line-height: 1; }
.qr { display: flex; align-items: center; gap: 16px; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.qr img { width: 96px; height: 96px; background: #fff; padding: 6px; border: 1px solid var(--line); }

.lists { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(64px, 9vw, 140px); }
.lists h3 { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; padding-bottom: 14px; border-bottom: 1px solid var(--ink); margin-bottom: 8px; }
.lists li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
.lists .no li { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(10, 42, 94, 0.3); }
@media (max-width: 700px) { .lists { grid-template-columns: 1fr; } .qr { display: none; } }

/* Compact accepted / not-accepted block (scoped to the donate section only) */
.donate { padding-bottom: clamp(48px, 6vw, 88px); }
.donate .lists { margin-top: clamp(40px, 5vw, 72px); }
.donate .lists li { padding: 6px 0; line-height: 1.4; }
@media (max-width: 700px) { .donate .lists { row-gap: 24px; } }

.faq { background: var(--paper-2); }
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); }
.acc details { border-bottom: 1px solid var(--line); }
.acc details:first-child { border-top: 1px solid var(--ink); }
.acc summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; cursor: pointer; list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-weight: 400; font-size: 1.8rem; line-height: 1; transition: transform 0.4s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details p { padding: 0 0 24px; color: var(--muted); max-width: 36em; animation: pop 0.5s var(--ease); }
@media (max-width: 820px) { .faq-wrap { grid-template-columns: 1fr; } }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: clamp(32px, 5vw, 64px) 0 40px; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1; padding: 22px;
  overflow: hidden; isolation: isolate; background: var(--bg); color: var(--fg);
}
.tile svg { position: absolute; width: 56%; right: -6%; bottom: -6%; color: var(--fg); opacity: 0.9; transition: transform 0.9s var(--ease); }
.tile b { position: relative; max-width: 7em; font-size: clamp(1.2rem, 2.4vw, 2rem); letter-spacing: -0.04em; line-height: 1.05; }
.tile p { position: relative; max-width: 15em; margin-top: 8px; font-size: clamp(0.72rem, 1.1vw, 0.9rem); line-height: 1.35; opacity: 0.85; }
.tile-over {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  background: var(--ink); color: var(--paper);
  transform: translateY(101%); transition: transform 0.6s var(--ease);
}
.tile:hover svg, .tile:focus svg { transform: scale(1.12) rotate(-4deg); }
.tile:hover .tile-over, .tile:focus .tile-over { transform: none; }
.t1 { --bg: var(--blue); --fg: #fff; } .t2 { --bg: var(--paper-2); --fg: var(--ink); } .t3 { --bg: var(--blue-pale); --fg: var(--blue); }
.t4 { --bg: var(--ink); --fg: var(--blue-mid); } .t5 { --bg: var(--blue-soft); --fg: var(--ink); } .t6 { --bg: #fff; --fg: var(--blue); }
.t4 b { color: #fff; }
@media (max-width: 700px) { .tiles { grid-template-columns: 1fr 1fr; } .tile { padding: 16px; } .tile-over { padding: 16px; } }

.contact-links { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 8px; font-size: clamp(1.3rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -0.03em; }
.contact { padding-bottom: clamp(64px, 8vw, 110px); }

.footer { background: var(--ink); color: var(--paper); padding: clamp(56px, 8vw, 110px) 0 36px; }
.footer-brand { font-size: clamp(3rem, 12vw, 11rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; text-transform: uppercase; }
.footer-tag { margin-top: 18px; opacity: 0.75; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 40px 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.footer-small { font-size: 0.8rem; opacity: 0.6; padding-top: 22px; border-top: 1px solid rgba(246, 243, 236, 0.18); }
.footer :focus-visible { outline-color: var(--blue-mid); }

/* ---------- 11. Cursor & motion ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js .cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: 500; pointer-events: none;
    width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
    border: 1px solid var(--ink); background: transparent; opacity: 0;
    transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background 0.3s, opacity 0.3s;
    mix-blend-mode: normal; will-change: transform;
  }
  .cursor.vis { opacity: 1; }
  .cursor span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity 0.2s; }
  .cursor.label { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: var(--blue); border-color: var(--blue); }
  .cursor.label span { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-split] .w > span { opacity: 1; transform: none; }
  .hero-scroll span { animation: none; }
}

/* ==========================================================================
   12. DEPTH LAYER — "more depth, not more decoration"
   Pure CSS, low-alpha blues only. Nothing here changes layout or behaviour:
   every glow is a non-interactive pseudo-element behind the content.
   ========================================================================== */

/* Sections that carry an atmosphere: contain it, keep it behind the content */
.wheel-sec, .closet, .impact, .donate, .footer { position: relative; isolation: isolate; overflow: clip; }
.hero-stage, .journey-stage { isolation: isolate; }
.journey-stage { position: relative; }

.hero-stage::before, .wheel-sec::before, .impact::before, .donate::before,
.footer::before, .journey-stage::before, .mountain-stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
.mountain-stage::before { z-index: auto; }

/* Hero: a pale corner glow low-right, a whisper of light top-left, and a soft halo behind the garment */
.hero-stage::before {
  background:
    radial-gradient(72% 68% at 100% 100%, rgba(77, 159, 255, 0.32), transparent 72%),
    radial-gradient(55% 50% at 0% 0%, rgba(185, 211, 242, 0.8), transparent 72%);
}
.hero-garment { position: relative; isolation: isolate; }
.hero-garment::before {
  content: ""; position: absolute; inset: -14%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(77, 159, 255, 0.3), rgba(77, 159, 255, 0) 100%);
}

/* Wheel: atmosphere behind the wheel, then lighting on top of it */
.wheel-sec::before {
  background:
    radial-gradient(55% 70% at 28% 62%, rgba(77, 159, 255, 0.26), transparent 74%),
    radial-gradient(48% 48% at 100% 0%, rgba(185, 211, 242, 0.7), transparent 72%),
    radial-gradient(40% 40% at 0% 100%, rgba(185, 211, 242, 0.5), transparent 72%);
}
.wheel-box { isolation: isolate; }
.wheel-box::before {
  content: ""; position: absolute; inset: -8%; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(77, 159, 255, 0.34), rgba(77, 159, 255, 0) 100%);
}
.wheel-box::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 52%),
              radial-gradient(circle at 70% 85%, rgba(10, 42, 94, 0.14), rgba(10, 42, 94, 0) 55%);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.28), inset 0 0 0 6px rgba(10, 42, 94, 0.07);
}
.wheel-rot { box-shadow: 0 34px 60px -34px rgba(10, 42, 94, 0.45), 0 10px 20px -12px rgba(10, 42, 94, 0.22); }
.wheel-rot .seg.on { filter: drop-shadow(0 0 5px rgba(77, 159, 255, 0.5)); }
.wheel-pointer::before { background: linear-gradient(180deg, #16407f, var(--ink)); }
.wheel-hub {
  background: linear-gradient(180deg, #fff, var(--paper));
  box-shadow: 0 0 0 8px rgba(246, 243, 236, 0.35), 0 8px 16px -8px rgba(10, 42, 94, 0.35), inset 0 1px 0 #fff;
}
.wheel-hub:hover { background: linear-gradient(180deg, #123a7a, var(--ink)); }

/* Closet: fade in from the page colour so the section edge is felt, not seen */
.closet { background: linear-gradient(180deg, var(--paper) 0, var(--paper-2) 240px); }
.closet::before {
  content: ""; position: absolute; inset: auto 0 0 auto; width: 70%; height: 60%; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 100% 100%, rgba(143, 184, 234, 0.5), transparent 72%);
}
.item svg { filter: drop-shadow(0 8px 10px rgba(10, 42, 94, 0.1)); }

/* Cards: tonal sheen at rest, blue light on hover (both are fading pseudo layers) */
.card {
  border: 1px solid rgba(10, 42, 94, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 14px 26px -22px rgba(10, 42, 94, 0.35);
  transition: transform 0.7s var(--ease), background 0.6s, color 0.6s, box-shadow 0.6s var(--ease), border-color 0.6s;
}
.card::before, .card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transition: opacity 0.6s var(--ease);
}
.card::before { background: linear-gradient(155deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 60%); }
.card::after { opacity: 0; background: radial-gradient(90% 70% at 100% 0%, rgba(77, 159, 255, 0.32), transparent 70%); }
.card:hover, .card:focus-visible {
  border-color: rgba(77, 159, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 28px 40px -26px rgba(10, 42, 94, 0.6);
}
.card:hover::before, .card:focus-visible::before { opacity: 0; }
.card:hover::after, .card:focus-visible::after { opacity: 1; }
.card svg { filter: drop-shadow(0 12px 14px rgba(10, 42, 94, 0.14)); }

/* Buttons, toggles, tiles: refined borders and a soft lift on hover */
.btn:hover, .btn:focus-visible { box-shadow: 0 14px 26px -16px rgba(10, 42, 94, 0.6); }
.btn::before { background: linear-gradient(180deg, #123a7a, var(--ink)); }
.toggle { background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0)); }
.path:hover, .path:focus-visible { box-shadow: 0 18px 30px -22px rgba(10, 42, 94, 0.6); }
.tile { box-shadow: inset 0 0 0 1px rgba(10, 42, 94, 0.06); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(155deg, rgba(255, 255, 255, 0.25), transparent 55%); pointer-events: none; }
.qr img { box-shadow: 0 12px 22px -16px rgba(10, 42, 94, 0.4); }

/* Journey + stats: barely-there light */
.journey-stage::before { background: radial-gradient(55% 60% at 22% 48%, rgba(77, 159, 255, 0.2), transparent 74%), radial-gradient(45% 45% at 100% 100%, rgba(185, 211, 242, 0.65), transparent 72%); }
.impact::before { background: radial-gradient(60% 65% at 90% 60%, rgba(77, 159, 255, 0.24), transparent 74%), radial-gradient(45% 45% at 0% 0%, rgba(185, 211, 242, 0.7), transparent 72%); }

/* Donation: the one place the glow is allowed to be a little stronger */
.donate::before {
  background:
    radial-gradient(80% 90% at 100% 100%, rgba(77, 159, 255, 0.46), transparent 74%),
    radial-gradient(60% 55% at 0% 0%, rgba(185, 211, 242, 0.85), transparent 74%),
    linear-gradient(180deg, transparent 45%, rgba(185, 211, 242, 0.4));
}
.cta-big::before { background: linear-gradient(120deg, var(--blue), #0e3c7d); }
.cta-big { box-shadow: 0 18px 34px -26px rgba(21, 87, 176, 0.55); }
.cta-big:hover, .cta-big:focus-visible { box-shadow: 0 24px 40px -22px rgba(21, 87, 176, 0.7); }

/* Dark surfaces: a little blue depth so the ink never reads as flat */
.mountain-stage::before { background: radial-gradient(75% 65% at 50% 100%, rgba(77, 159, 255, 0.3), transparent 72%), radial-gradient(55% 50% at 0% 0%, rgba(77, 159, 255, 0.2), transparent 72%); }
.footer::before { background: radial-gradient(60% 85% at 100% 0%, rgba(77, 159, 255, 0.3), transparent 72%), radial-gradient(55% 75% at 0% 100%, rgba(21, 87, 176, 0.55), transparent 74%); }

/* Phones: keep the same glows, re-anchored to where the content sits */
@media (max-width: 820px) {
  .wheel-sec::before { background: radial-gradient(85% 38% at 50% 52%, rgba(77, 159, 255, 0.26), transparent 74%), radial-gradient(70% 28% at 100% 0%, rgba(185, 211, 242, 0.7), transparent 72%); }
  .hero-stage::before { background: radial-gradient(100% 44% at 100% 100%, rgba(77, 159, 255, 0.32), transparent 72%), radial-gradient(80% 34% at 0% 0%, rgba(185, 211, 242, 0.8), transparent 72%); }
  .donate::before { background: radial-gradient(100% 46% at 100% 100%, rgba(77, 159, 255, 0.46), transparent 74%), radial-gradient(90% 30% at 0% 0%, rgba(185, 211, 242, 0.85), transparent 74%), linear-gradient(180deg, transparent 50%, rgba(185, 211, 242, 0.4)); }
  .impact::before { background: radial-gradient(100% 40% at 90% 60%, rgba(77, 159, 255, 0.24), transparent 74%); }
}

/* ==========================================================================
   13. THE CLOSET GAME + QUIZ
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid::before { background: var(--blue); }
.btn-solid:hover, .btn-solid:focus-visible { color: #fff; }

/* ---- Game ---- */
.game, .quiz { position: relative; isolation: isolate; overflow: clip; }
.game::before, .quiz::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.game::before {
  background:
    radial-gradient(60% 65% at 0% 100%, rgba(77, 159, 255, 0.26), transparent 74%),
    radial-gradient(50% 50% at 100% 0%, rgba(185, 211, 242, 0.7), transparent 72%);
}
.game-wrap { margin-top: clamp(32px, 5vw, 72px); }
.game-nojs, .quiz-nojs { display: none; color: var(--muted); }
.no-js .game-wrap { display: none; }
.no-js .game-nojs, .no-js .quiz-nojs { display: block; }

.hud { display: flex; align-items: flex-end; gap: clamp(20px, 5vw, 64px); margin-bottom: 14px; }
.hud p { display: flex; flex-direction: column; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.hud b { font-size: clamp(1.7rem, 3.6vw, 2.8rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; transition: color 0.3s; }
.hud .hit { color: var(--blue-mid); }
.hud-combo { margin-left: auto; align-self: center; padding: 4px 12px; border: 1px solid var(--ink); border-radius: 99px; color: var(--ink) !important; opacity: 0; transition: opacity 0.3s; }
.hud-combo.on { opacity: 1; }

.game-box {
  position: relative; width: 100%; height: clamp(500px, 66vh, 660px); overflow: hidden; border-radius: 6px;
  border: 1px solid rgba(10, 42, 94, 0.14);
  background: radial-gradient(70% 60% at 50% 0%, rgba(255, 255, 255, 0.9), transparent 70%), linear-gradient(165deg, #faf8f3, var(--paper-2));
  box-shadow: inset 0 1px 0 #fff, 0 30px 50px -36px rgba(10, 42, 94, 0.5);
  user-select: none; -webkit-user-select: none;
}
.game-box[data-state="play"] { cursor: none; touch-action: none; border-color: rgba(21, 87, 176, 0.45); }
body.playing .cursor { opacity: 0 !important; }
.game-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.ov {
  position: absolute; inset: 0; display: grid; place-items: center; padding: clamp(18px, 4vw, 48px); overflow: auto;
  background: rgba(246, 243, 236, 0.88); opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0s 0.5s;
}
.game-box[data-state="intro"] .ov-intro, .game-box[data-state="pause"] .ov-pause, .game-box[data-state="over"] .ov-over {
  opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease), visibility 0s;
}
.ov-panel { width: 100%; max-width: 560px; margin: auto; }
.ov-title { font-size: clamp(1.8rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.98; text-transform: uppercase; }
.ov-over .ov-title { text-transform: none; font-size: clamp(1.5rem, 3.6vw, 2.6rem); margin-bottom: 26px; }
.ov-quote { margin: 14px 0 22px; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.4; letter-spacing: -0.015em; }
.ov-how { padding-top: 16px; border-top: 1px solid var(--ink); margin-bottom: 18px; font-size: 0.98rem; color: var(--muted); }
.ov-how p + p { margin-top: 8px; }
.ov-label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.ov-touch { display: none; font-size: 0.9rem; }
@media (hover: none) { .ov-touch { display: block; } }
.ov-legend { display: flex; gap: 28px; margin-bottom: 24px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.ov-legend li { display: flex; align-items: center; gap: 10px; }
.ov-legend svg { width: 30px; height: 30px; }
.ov-legend .crumple path { fill: #c9ced9; stroke: #5b6880; stroke-width: 3; stroke-dasharray: 6 5; }
.ov-big { font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; letter-spacing: -0.07em; line-height: 0.9; font-variant-numeric: tabular-nums; margin: 4px 0 10px; }
.ov-stats { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ov-over .ov-quote { margin-top: 18px; }
.ov-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.game-box[data-state="intro"] .ov-intro .ov-panel > *, .game-box[data-state="pause"] .ov-pause .ov-panel > *, .game-box[data-state="over"] .ov-over .ov-panel > * { animation: pop 0.7s var(--ease) both; }
.game-box .ov-panel > *:nth-child(2) { animation-delay: 0.06s !important; }
.game-box .ov-panel > *:nth-child(3) { animation-delay: 0.12s !important; }
.game-box .ov-panel > *:nth-child(4) { animation-delay: 0.18s !important; }
.game-box .ov-panel > *:nth-child(5) { animation-delay: 0.24s !important; }
.game-box .ov-panel > *:nth-child(6) { animation-delay: 0.3s !important; }
@media (max-width: 620px) {
  .game-box { height: clamp(520px, 74svh, 640px); }
  .hud { gap: 18px; }
  .hud-combo { display: none; }
  .ov-panel .btn { padding: 15px 22px; }
}

/* ---- Quiz ---- */
.quiz { background: linear-gradient(180deg, var(--paper) 0, var(--paper-2) 260px); }
.quiz::before {
  background:
    radial-gradient(55% 60% at 100% 100%, rgba(77, 159, 255, 0.24), transparent 74%),
    radial-gradient(45% 45% at 0% 20%, rgba(185, 211, 242, 0.55), transparent 72%);
}
.quiz .lead { margin-top: 22px; }
.quiz-card {
  position: relative; margin-top: clamp(32px, 5vw, 64px); min-height: 440px; padding: clamp(22px, 4vw, 56px);
  border: 1px solid rgba(10, 42, 94, 0.12); border-radius: 6px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.35));
  box-shadow: inset 0 1px 0 #fff, 0 30px 50px -38px rgba(10, 42, 94, 0.5);
}
.q { animation: pop 0.6s var(--ease) both; }
.q-top { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(22px, 3.4vw, 40px); }
.q-count { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; font-variant-numeric: tabular-nums; }
.q-bar { flex: 1; max-width: 240px; height: 2px; background: var(--line); overflow: hidden; }
.q-bar i { display: block; height: 100%; width: 100%; background: var(--blue); transform: scaleX(var(--p)); transform-origin: left; transition: transform 0.7s var(--ease); }
.q-title { font-size: clamp(1.45rem, 3.2vw, 2.7rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.05; max-width: 16em; margin-bottom: clamp(24px, 3.6vw, 44px); outline: none; }
.q-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ans {
  position: relative; display: flex; align-items: center; gap: 16px; text-align: left; overflow: hidden; isolation: isolate;
  padding: 20px 22px; background: rgba(255, 255, 255, 0.65); border: 1px solid rgba(10, 42, 94, 0.16); border-radius: 6px;
  font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3;
  box-shadow: 0 12px 22px -20px rgba(10, 42, 94, 0.4);
  transition: transform 0.5s var(--ease), border-color 0.4s, color 0.4s, box-shadow 0.5s var(--ease);
}
.ans::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.55s var(--ease); }
.ans b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid currentColor; border-radius: 50%; font-size: 0.7rem; letter-spacing: 0.06em; }
.ans:hover, .ans:focus-visible { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 20px 28px -22px rgba(21, 87, 176, 0.6); }
.ans:hover::before, .ans:focus-visible::before, .ans.picked::before { transform: none; }
.ans:hover, .ans:focus-visible, .ans.picked { color: var(--paper); }
@media (hover: none) { .ans:hover:not(.picked) { color: inherit; } .ans:hover:not(.picked)::before { transform: scaleX(0); } }
@media (max-width: 620px) { .q-answers { grid-template-columns: 1fr; } .ans { padding: 16px 18px; } .quiz-card { min-height: 0; } }

.res { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 5vw, 72px); align-items: center; animation: pop 0.7s var(--ease) both; }
.res-visual {
  aspect-ratio: 3 / 2; border-radius: 6px; display: grid; place-items: center;
  background: radial-gradient(80% 80% at 70% 20%, rgba(255, 255, 255, 0.7), transparent 70%), linear-gradient(150deg, var(--blue-pale), var(--blue-soft));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.res-visual svg { width: 86%; height: auto; overflow: visible; }
.res-title { font-size: clamp(1.9rem, 4.6vw, 3.8rem); font-weight: 800; letter-spacing: -0.055em; line-height: 0.96; text-transform: uppercase; margin-bottom: 18px; outline: none; }
.res-desc { font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.45; letter-spacing: -0.015em; max-width: 24em; margin-bottom: 28px; }
.res-note { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
@media (max-width: 820px) { .res { grid-template-columns: 1fr; } .res-visual { aspect-ratio: 16 / 9; } }

/* ---- Soft edges: atmosphere fades out before it meets the next section, so no glow is ever cut by a hard line ---- */
.wheel-sec::before, .impact::before, .donate::before, .game::before, .quiz::before, .closet::before, .journey-stage::before {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
}
.hero-stage::before {
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 80%, transparent 100%);
}

/* ==========================================================================
   14. PREMIUM PASS — one refined visual system layered over everything above.
   Tokens → type → nav → buttons → sections → components → small screens.
   Structure, IDs, classes and all JavaScript behaviour are untouched.
   ========================================================================== */

/* ---------- 14.1 Tokens ---------- */
:root {
  --paper: #f5f2ea;
  --paper-2: #eeeadf;
  --ink-deep: #061a3d;
  --line: rgba(10, 42, 94, 0.12);
  --hair: rgba(10, 42, 94, 0.1);
  --hair-2: rgba(10, 42, 94, 0.2);
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --lift: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 1px 2px rgba(10, 42, 94, 0.06), 0 14px 28px -20px rgba(10, 42, 94, 0.35);
}

body { text-rendering: optimizeLegibility; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }

/* Sections: tighter, fluid rhythm (donate/contact keep their own bottoms, restated below) */
.section { padding-top: clamp(64px, 10vw, 156px); padding-bottom: clamp(64px, 10vw, 156px); }
.donate { padding-bottom: clamp(48px, 6vw, 88px); }
.contact { padding-bottom: clamp(56px, 8vw, 110px); }

/* ---------- 14.2 Typography ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em;
  margin-bottom: clamp(18px, 2.4vw, 28px);
}
.eyebrow::before { content: ""; flex: none; width: 28px; height: 1px; background: currentColor; opacity: 0.55; }
.display { font-weight: 600; letter-spacing: -0.042em; line-height: 1.03; }
.mega { font-weight: 700; letter-spacing: -0.05em; }
.lead { color: var(--muted); font-weight: 450; }
.statement { font-weight: 600; }
.cap { font-weight: 600; letter-spacing: -0.045em; }
.q-title { font-weight: 600; }
.stat dd { font-weight: 600; letter-spacing: -0.055em; font-size: clamp(3.5rem, 9.5vw, 8rem); }
.stat dt { font-weight: 600; letter-spacing: 0.2em; font-size: 0.7rem; color: var(--muted); }
.stat .plus { font-weight: 400; }
.hud b, .ov-title, .res-title, .wheel-result h3 { font-weight: 700; }

/* ---------- 14.3 Navigation ---------- */
.site-header.scrolled {
  background: rgba(245, 242, 234, 0.76);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-color: var(--hair);
}
.brand { font-weight: 700; font-size: 0.76rem; letter-spacing: 0.2em; }
.nav-links { gap: clamp(22px, 3vw, 40px); }
.nav-links a { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; color: rgba(10, 42, 94, 0.78); transition: color 0.3s; }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta, .nav-links .nav-cta:hover {
  color: var(--paper); background: var(--ink); border: 1px solid var(--ink); border-radius: var(--r-sm);
  padding: 10px 18px; font-weight: 600;
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav-links .nav-cta:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-1px); box-shadow: 0 12px 20px -12px rgba(21, 87, 176, 0.7); }

.nav-toggle { width: 48px; height: 48px; margin-right: -8px; }
.nav-toggle span { left: 13px; right: 13px; }
.nav-toggle span:first-child { top: 20px; }
.nav-toggle span:last-child { top: 27px; }
.nav-toggle[aria-expanded="true"] span:first-child, .nav-toggle[aria-expanded="true"] span:last-child { top: 23.5px; }

.menu {
  gap: 0; padding: 92px var(--pad) 32px;
  background:
    radial-gradient(80% 40% at 100% 0%, rgba(77, 159, 255, 0.24), transparent 70%),
    linear-gradient(180deg, var(--paper), var(--paper-2));
}
.menu a { display: flex; justify-content: space-between; align-items: center; font-size: clamp(1.9rem, 9vw, 2.8rem); font-weight: 600; letter-spacing: -0.035em; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.menu a::after { content: "\2192"; font-size: 0.55em; font-weight: 400; opacity: 0.35; }
.menu .menu-small { font-size: 1rem; font-weight: 500; letter-spacing: 0; margin-top: 8px; padding: 18px 0 0; border-bottom: 0; }
.menu .menu-small::after { display: none; }

/* ---------- 14.4 Buttons (one hierarchy: outlined secondary, solid primary) ---------- */
.btn {
  justify-content: center; min-height: 48px; max-width: 100%; padding: 14px 26px;
  border: 1px solid rgba(10, 42, 94, 0.36); border-radius: var(--r);
  font-size: 0.72rem; font-weight: 650; letter-spacing: 0.13em;
  background: rgba(255, 255, 255, 0.5); box-shadow: var(--lift);
  transition: color 0.4s, border-color 0.4s, transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.btn:hover, .btn:focus-visible {
  transform: translateY(-2px); border-color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 30px -18px rgba(10, 42, 94, 0.6);
}
.btn:active { transform: translateY(0); box-shadow: 0 6px 12px -8px rgba(10, 42, 94, 0.5); transition-duration: 0.12s; }
.btn-solid {
  background: linear-gradient(180deg, #12397a, var(--ink)); border-color: var(--ink); color: var(--paper);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 14px 24px -16px rgba(10, 42, 94, 0.75);
}
.btn-solid::before { background: linear-gradient(180deg, #1d5bb8, var(--blue)); }
.toggle { border-radius: var(--r-sm); padding: 12px 18px; min-height: 44px; border-color: rgba(10, 42, 94, 0.36); }

.cta-big {
  border-radius: var(--r-lg); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff;
  background: linear-gradient(180deg, #14418a, var(--ink) 75%);
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 28px 44px -28px rgba(10, 42, 94, 0.8);
  transition: color 0.4s, border-color 0.4s, transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.cta-big::before { background: linear-gradient(120deg, #1d5bb8, #2f78d6); }
.cta-big:hover, .cta-big:focus-visible { border-color: rgba(255, 255, 255, 0.2); transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 34px 50px -26px rgba(21, 87, 176, 0.85); }
.cta-big:active { transform: translateY(-1px); }

/* ---------- 14.5 Hero ---------- */
.hero-stage::before {
  background:
    radial-gradient(70% 62% at 100% 100%, rgba(77, 159, 255, 0.34), transparent 72%),
    radial-gradient(52% 48% at 0% 0%, rgba(185, 211, 242, 0.85), transparent 72%),
    radial-gradient(40% 40% at 78% 40%, rgba(255, 255, 255, 0.55), transparent 70%);
}
.hero-garment svg { filter: drop-shadow(0 26px 30px rgba(10, 42, 94, 0.16)); }
.path {
  border: 1px solid rgba(10, 42, 94, 0.38); border-radius: var(--r);
  background: rgba(255, 255, 255, 0.5); box-shadow: var(--lift);
  transition: color 0.4s, transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.path:hover, .path:focus-visible { transform: translateY(-2px); }
.path small { font-weight: 600; letter-spacing: 0.22em; }
.path strong { font-weight: 600; }
.hero-progress i { height: 2px; border-radius: 2px; }

/* ---------- 14.6 Continuous page: bands fade in AND out instead of ending on hard edges ---------- */
.closet { background: linear-gradient(180deg, var(--paper) 0, var(--paper-2) 16%, var(--paper-2) 84%, var(--paper) 100%); }
.quiz { background: linear-gradient(180deg, var(--paper) 0, var(--paper-2) 18%, var(--paper-2) 82%, var(--paper) 100%); }
.faq { background: linear-gradient(180deg, var(--paper) 0, var(--paper-2) 14%, var(--paper-2) 86%, var(--paper) 100%); }

/* ---------- 14.7 About, wheel, closet, journey ---------- */
.pathway { position: relative; border-top: 1px solid var(--hair-2); }
.pathway::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--blue); }
.pathway-alt::before { background: var(--blue-mid); }
.tag b { border-radius: 4px; }
.rail::before { height: 1px; background: linear-gradient(90deg, transparent, var(--ink) 6%, var(--ink) 94%, transparent); opacity: 0.7; }
.closet-foot { border-top-color: var(--hair-2); }
.wheel-result p:not(.eyebrow) { color: var(--muted); }
.journey-caption { font-weight: 500; }
.j-draw { stroke-width: 2.5; }

/* ---------- 14.8 Cards and fact tiles ---------- */
.card { border-radius: var(--r); border-color: var(--hair); box-shadow: var(--lift); transition-duration: 0.8s, 0.6s, 0.6s, 0.7s, 0.6s; }
.card:hover, .card:focus-visible { transform: translateY(-6px); }
.card-text small { font-weight: 600; letter-spacing: 0.22em; }
.card-text h3 { font-weight: 600; }

.tiles { gap: 12px; counter-reset: fact; }
.tile { counter-increment: fact; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--hair), 0 18px 30px -26px rgba(10, 42, 94, 0.45); transition: box-shadow 0.6s var(--ease); }
.tile:hover, .tile:focus { box-shadow: inset 0 0 0 1px var(--hair), 0 28px 40px -26px rgba(10, 42, 94, 0.6); }
.tile::after {
  content: counter(fact, decimal-leading-zero) " / 06";
  content: counter(fact, decimal-leading-zero) " / 06" / "";
  position: absolute; left: 22px; top: 20px; z-index: 1;
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.2em; color: var(--fg); opacity: 0.7;
}
.tile-over {
  z-index: 2; border-radius: inherit;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(77, 159, 255, 0.3), transparent 70%),
    linear-gradient(165deg, #0e3470, var(--ink-deep));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.8s var(--ease);
}
.tile-over b { font-weight: 600; letter-spacing: -0.04em; }
.tile-over p { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.22); opacity: 0.85; }
.tile svg { transition-duration: 1s; }

/* ---------- 14.9 Impact + mountain ---------- */
.stat { position: relative; padding: clamp(18px, 3.2vw, 40px) 0; }
.stat::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent 65%);
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease);
}
.stat:hover::after { transform: scaleX(1); }
.stat dd { transition: color 0.5s; }
.stat:hover dd { color: var(--blue); }

.mountain { background: var(--ink-deep); }
.mountain-stage::before {
  background:
    radial-gradient(80% 60% at 50% 100%, rgba(77, 159, 255, 0.34), transparent 72%),
    radial-gradient(60% 50% at 0% 0%, rgba(77, 159, 255, 0.16), transparent 72%),
    linear-gradient(180deg, #08204d, var(--ink-deep));
}
.mountain-count { font-weight: 700; letter-spacing: -0.055em; }
.mountain-count #mountain-unit { font-size: clamp(0.78rem, 1.2vw, 1rem); font-weight: 600; letter-spacing: 0.2em; opacity: 0.85; }
.mountain-sub { max-width: 30em; opacity: 0.68; }
.mountain-ticks li { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.16em; }
.mountain-ticks li.on { color: var(--blue-mid); }
.mountain-note { font-size: 0.66rem; letter-spacing: 0.12em; background: rgba(6, 26, 61, 0.72); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 4px; padding: 5px 10px; margin-left: 0; }

/* ---------- 14.10 Game + quiz ---------- */
.game-box {
  border-radius: var(--r); border-color: var(--hair-2);
  box-shadow: inset 0 1px 0 #fff, 0 40px 60px -44px rgba(10, 42, 94, 0.55);
}
.ov { background: rgba(245, 242, 234, 0.9); }
.hud-combo { border-radius: var(--r-sm); }
.quiz-card { border-radius: var(--r-lg); border-color: var(--hair-2); box-shadow: inset 0 1px 0 #fff, 0 40px 60px -44px rgba(10, 42, 94, 0.5); }
.q-bar { height: 3px; border-radius: 3px; }
.q-bar i { border-radius: 3px; }
.ans { border-radius: var(--r); min-height: 60px; border-color: var(--hair-2); }
.res-visual { border-radius: var(--r); }

/* ---------- 14.11 Donate, FAQ, social, contact, footer ---------- */
.qr img { border-radius: var(--r-sm); border-color: var(--hair-2); }
.lists h3 { font-weight: 600; letter-spacing: 0.2em; }

.acc summary { min-height: 64px; padding: 20px 0; font-weight: 550; transition: color 0.3s; }
.acc summary:hover { color: var(--blue); }
.acc summary::after {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid var(--hair-2); border-radius: 50%; font-size: 1.15rem; line-height: 1;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.acc summary:hover::after { border-color: var(--blue); }
.acc details[open] summary::after { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.contact-links { padding-top: 22px; border-top: 1px solid var(--hair); }

.footer { background: linear-gradient(180deg, var(--ink), var(--ink-deep)); }
.footer-brand { font-weight: 700; letter-spacing: -0.055em; }
.footer-links a { opacity: 0.88; }
.footer-small { border-top-color: rgba(245, 242, 234, 0.14); }

/* ---------- 14.12 Small screens: designed for the phone, not scaled down ---------- */
@media (max-width: 820px) {
  .mountain-stage { padding-top: 92px; }
  .mountain-ticks {
    left: var(--pad); right: var(--pad); margin: 0; gap: 4px; justify-content: space-between;
    padding: 6px 10px; border-radius: 4px; background: rgba(6, 26, 61, 0.72); border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .mountain-note { right: var(--pad); }
  .closet-cta { margin-top: clamp(48px, 9vw, 130px); }
  /* Hero: centre the garment + caption as one group instead of leaving a void under the text */
  .hero-stage { grid-template-rows: auto auto; align-content: center; gap: 20px; padding-bottom: 72px; }
  .hero-captions { padding-top: 0; }
  .pathway svg { margin-bottom: 22px; }
}
@media (max-width: 560px) {
  .cta-big { width: 100%; justify-content: space-between; padding: 20px 22px; font-size: 1.15rem; }
  .ov-actions .btn, .res .btn { width: 100%; }
  .ov-actions { flex-direction: column; }
  .hud b { font-size: 1.6rem; }
  .tile::after { left: 16px; top: 14px; }
}
@media (max-width: 380px) {
  .mountain-ticks { bottom: 84px; }
  .card { padding: 14px; }
  .card-text h3 { font-size: 1.2rem; }
  .tile { aspect-ratio: 4 / 5; }
  .tile-over b { font-size: 1.1rem; }
  .tile-over p { font-size: 0.72rem; }
  .mountain-ticks li { font-size: 0.56rem; letter-spacing: 0.06em; }
  .btn { padding: 14px 18px; letter-spacing: 0.1em; }
  .hud { gap: 14px; }
  .hud p { font-size: 0.6rem; letter-spacing: 0.12em; }
}

/* ==========================================================================
   15. REFINEMENT PASS — quieter, more precise. Rhythm, type, surfaces, light.
   Nothing here adds decoration; it removes weight and tightens relationships.
   ========================================================================== */

/* ---------- 15.1 Rhythm: one spacing relationship from heading to content ---------- */
:root {
  --s-head: clamp(32px, 4.4vw, 60px);
  --lift: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 1px rgba(10, 42, 94, 0.04), 0 10px 22px -18px rgba(10, 42, 94, 0.26);
}
.wheel-layout, .about-grid, .rail, .cards, .stats, .game-wrap, .quiz-card, .tiles, .donate-cta { margin-top: var(--s-head); }
.closet-cta { margin-top: clamp(48px, 7vw, 96px); gap: 28px; }

/* ---------- 15.2 Light: atmosphere turned down so it reads as light, not as gradient ---------- */
.hero-stage::before { opacity: 0.88; }
.wheel-sec::before, .impact::before, .journey-stage::before, .donate::before,
.game::before, .quiz::before, .closet::before { opacity: 0.78; }

/* ---------- 15.3 Type ---------- */
.eyebrow { font-size: 0.68rem; letter-spacing: 0.24em; margin-bottom: clamp(16px, 2vw, 22px); }
.eyebrow::before { width: 24px; opacity: 0.5; }
.display { letter-spacing: -0.04em; line-height: 1.05; }
.display-sm { line-height: 1.08; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.55; letter-spacing: -0.01em; max-width: 32em; }

/* Statistics read as editorial figures: light-ish weight, tight tracking; units quiet */
.stat dd { font-weight: 500; letter-spacing: -0.06em; font-size: clamp(3.5rem, 9vw, 7.5rem); }
.stat .plus { font-weight: 400; }
.stat dt { font-size: 0.68rem; letter-spacing: 0.24em; }
.mountain-count { font-weight: 600; letter-spacing: -0.06em; }
.mountain-count #mountain-unit { font-size: clamp(0.7rem, 1vw, 0.85rem); font-weight: 500; letter-spacing: 0.28em; opacity: 0.7; }

/* ---------- 15.4 Hero: calm, one clear primary ---------- */
.hero-garment::after {
  content: ""; position: absolute; left: 18%; right: 18%; bottom: 4%; height: 6%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(10, 42, 94, 0.14), transparent);
}
.path-pass {
  background: linear-gradient(180deg, #12397a, var(--ink)); color: var(--paper); border-color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 14px 26px -18px rgba(10, 42, 94, 0.7);
}
.path-pass::before { background: linear-gradient(180deg, #1d5bb8, var(--blue)); }
.path-pass:hover, .path-pass:focus-visible { color: #fff; }
.path-recycle { background: rgba(255, 255, 255, 0.3); box-shadow: none; border-color: rgba(10, 42, 94, 0.32); }
.path:hover, .path:focus-visible { transform: translateY(-1px); }

/* ---------- 15.5 Buttons: secondary recedes, primary carries; lift never exceeds 2px ---------- */
.btn { background: rgba(255, 255, 255, 0.3); border-color: rgba(10, 42, 94, 0.3); box-shadow: none; font-weight: 600; }
.btn:hover, .btn:focus-visible { transform: translateY(-1px); box-shadow: 0 12px 22px -16px rgba(10, 42, 94, 0.5); }
.btn:active { transform: none; }
.btn.btn-solid {
  background: linear-gradient(180deg, #12397a, var(--ink)); border-color: var(--ink); color: var(--paper);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 20px -14px rgba(10, 42, 94, 0.7);
}
.btn.btn-solid:hover, .btn.btn-solid:focus-visible { color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 16px 26px -16px rgba(10, 42, 94, 0.75); }
.toggle { background: rgba(255, 255, 255, 0.3); }
.cta-big {
  border-radius: 12px; font-size: clamp(1.05rem, 1.9vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em;
  padding: clamp(18px, 2.2vw, 28px) clamp(26px, 3.2vw, 44px);
}
.cta-big:hover, .cta-big:focus-visible { transform: translateY(-2px); }
.card:hover, .card:focus-visible { transform: translateY(-4px); }
.ans:hover, .ans:focus-visible { transform: translateY(-2px); }
@media (max-width: 560px) { .cta-big { padding: 18px 22px; font-size: 1.1rem; } }

/* ---------- 15.6 Surfaces: flatter, hairline-led ---------- */
.quiz-card { box-shadow: inset 0 1px 0 #fff, 0 28px 48px -40px rgba(10, 42, 94, 0.36); }
.game-box { box-shadow: inset 0 1px 0 #fff, 0 28px 48px -40px rgba(10, 42, 94, 0.4); }
.ans { box-shadow: none; background: rgba(255, 255, 255, 0.55); }
.ans:hover, .ans:focus-visible { box-shadow: 0 14px 24px -20px rgba(21, 87, 176, 0.5); }

/* ---------- 15.7 Fact panels: museum-label restraint ---------- */
.tile { border-radius: 8px; }
.tile::after { letter-spacing: 0.22em; opacity: 0.62; }
.tile-over { transition-duration: 0.9s; }
.tile-over b { font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.08; }
.tile-over p { font-size: clamp(0.78rem, 1vw, 0.88rem); line-height: 1.5; max-width: 18em; }
@media (min-width: 701px) { .tile-over { padding: 24px; } }

/* ---------- 15.8 FAQ, contact, footer ---------- */
.acc summary { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 500; letter-spacing: -0.015em; }
.acc summary::after { width: 30px; height: 30px; font-size: 1rem; }
.acc details p { line-height: 1.6; }
.contact-links { font-size: clamp(1.15rem, 2.2vw, 1.7rem); font-weight: 500; gap: 12px 36px; padding-top: 24px; }
.footer-brand { font-weight: 600; font-size: clamp(2.8rem, 11vw, 9.5rem); letter-spacing: -0.06em; }
.footer-tag { opacity: 0.7; }
.footer-links { margin: 32px 0 36px; }


/* ==========================================================================
   16. FINAL MICRO-POLISH
   ========================================================================== */

/* Hero: land on a stage without animating through intermediate ones */
.hero.no-anim *, .hero.no-anim *::before, .hero.no-anim *::after { transition: none !important; }

/* Mountain (phones/tablets): the scale bar and note get their own band under the pile */
@media (max-width: 820px) {
  .mountain canvas { height: calc(100% - 84px); }
  .mountain-ticks { bottom: 46px; }
  .mountain-note { bottom: 12px; }
}
@media (max-width: 420px) {
  .mountain-note { font-size: 0.6rem; letter-spacing: 0.06em; padding: 4px 9px; white-space: nowrap; overflow: hidden; }
}
@media (max-width: 340px) {
  .mountain-note { font-size: 0.56rem; letter-spacing: 0.03em; padding: 4px 8px; }
}
@media (max-width: 380px) {
  .mountain-ticks { bottom: 46px; }
  .mountain-stage { padding-top: 80px; }
}
