/* ==========================================================================
   YouMatterWalk — site styles
   Palette from the "you ; matter" logo: turquoise → purple, warm dawn accent.
   ========================================================================== */

:root {
  --plum: #24123b;
  --plum-2: #3a1d5c;
  --purple: #7d3c98;
  --purple-soft: #f1e8f7;
  --teal: #1fafc0;
  --teal-deep: #0a7d8a;
  --teal-soft: #e3f6f8;
  --sun: #ffb547;
  --sun-deep: #f0961c;
  --cream: #fbf7f1;
  --paper: #ffffff;
  --ink: #24123b;
  --muted: #625873;
  --line: #e9e2ef;
  --grad: linear-gradient(120deg, var(--teal) 0%, #5a74b8 48%, var(--purple) 100%);
  --dawn: linear-gradient(160deg, #24123b 0%, #4a2170 45%, #0f6f7d 100%);

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Caveat", "Segoe Print", cursive;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgb(36 18 59 / .06), 0 12px 40px -12px rgb(36 18 59 / .22);
  --shadow-lg: 0 30px 80px -24px rgb(36 18 59 / .45);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal-deep); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--purple); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--teal); color: #fff; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sun); color: var(--plum); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display); font-weight: 650; letter-spacing: -.02em;
  font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem); line-height: 1.04;
  font-variation-settings: "opsz" 120, "SOFT" 50;
}
.display em { font-style: italic; color: var(--purple); }
.lead { font-size: clamp(1.12rem, 1rem + .5vw, 1.32rem); line-height: 1.55; color: var(--plum-2); }
.kicker {
  display: inline-flex; align-items: center; gap: .6em; margin: 0 0 1rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep);
}
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.kicker--light { color: #9fe7ef; }
.pill { display: inline-block; white-space: nowrap; padding: .3em .8em; border-radius: 99px; font-size: .74rem; letter-spacing: .1em; background: var(--teal-soft); color: var(--teal-deep); }
.pill--sun { background: var(--sun); color: var(--plum); }
.kicker:has(.pill)::before { display: none; }
.semi { color: var(--teal); font-style: normal; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.text-link .ico { transition: transform .3s var(--ease); }
.text-link:hover .ico { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--plum); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.35em; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 800; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgb(36 18 59 / .55); }
.btn:active { transform: translateY(0); }
.btn--sun { --bg: var(--sun); --fg: var(--plum); }
.btn--sun:hover { --bg: #ffc56b; }
.btn--teal { --bg: var(--teal-deep); }
.btn--glass { --bg: rgb(255 255 255 / .14); border-color: rgb(255 255 255 / .45); backdrop-filter: blur(8px); }
.btn--glass:hover { --bg: rgb(255 255 255 / .24); }
.btn--outline { --bg: transparent; --fg: var(--plum); border-color: var(--plum); }
.btn--outline:hover { --bg: var(--plum); --fg: #fff; }
.btn--ghost { --bg: transparent; --fg: var(--plum); border-color: var(--line); }
.btn--sm { padding: .62em 1em; font-size: .92rem; }
.btn--lg { padding: 1.05em 1.6em; font-size: 1.06rem; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(36 18 59 / .06); cursor: pointer; transition: background .2s; }
.icon-btn:hover { background: rgb(36 18 59 / .12); }
.icon-btn .ico { width: 22px; height: 22px; }

/* ---------- Crisis help bar ---------- */
.helpbar { background: var(--plum); color: #e9defa; font-size: .86rem; }
.helpbar__in { display: flex; align-items: center; justify-content: center; gap: .55em; flex-wrap: wrap; padding: .45rem 0; text-align: center; }
.helpbar__dot { width: 8px; height: 8px; border-radius: 50%; background: #58e0a0; box-shadow: 0 0 0 0 rgb(88 224 160 / .7); animation: pulse 2.2s infinite; }
.helpbar__num { color: #fff; font-weight: 800; text-decoration: none; border-bottom: 1px dashed rgb(255 255 255 / .5); }
.helpbar__more { background: none; border: 0; color: #9fe7ef; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; padding: 0; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgb(88 224 160 / 0); } 100% { box-shadow: 0 0 0 0 rgb(88 224 160 / 0); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgb(251 247 241 / .82); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgb(36 18 59 / .4); }
.site-header__in { height: 100%; display: flex; align-items: center; gap: 1.2rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--plum); margin-right: auto; }
.brand img { width: 62px; height: auto; }
.brand__word { font-family: var(--f-display); font-weight: 750; font-size: 1.28rem; letter-spacing: -.02em; }
.brand__word em { font-family: var(--f-hand); font-weight: 700; font-style: normal; color: var(--purple); font-size: 1.35em; margin: 0 .04em; }
.nav ul { list-style: none; display: flex; gap: .2rem; margin: 0; padding: 0; }
.nav a { display: block; padding: .5em .72em; border-radius: 99px; color: var(--plum); text-decoration: none; font-weight: 700; font-size: .93rem; transition: background .2s, color .2s; }
.nav a:hover { background: rgb(36 18 59 / .06); color: var(--plum); }
.nav a[aria-current="page"] { background: var(--plum); color: #fff; }
.nav__mobile-extra { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--plum); cursor: pointer; place-items: center; }
.nav-toggle__bars { display: grid; gap: 5px; width: 20px; }
.nav-toggle__bars i { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--cream);
    padding: 1.5rem var(--gutter) 2rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; gap: .1rem; }
  .nav a { font-family: var(--f-display); font-size: 1.7rem; font-weight: 600; padding: .35em .2em; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { background: none; color: var(--purple); }
  .nav__mobile-extra { display: grid; gap: .7rem; margin-top: 1.5rem; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 520px) {
  .header-cta span { display: none; }
  .header-cta { padding: .62em; }
  .brand__word { font-size: 1.08rem; }
  .brand img { width: 50px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  min-height: min(92svh, 860px); display: grid; align-items: center;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(6rem, 11vw, 9rem);
  background: var(--plum);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 70% at 85% 0%, rgb(31 175 192 / .45), transparent 60%),
    linear-gradient(100deg, rgb(36 18 59 / .96) 0%, rgb(58 29 92 / .86) 42%, rgb(36 18 59 / .35) 75%, rgb(10 125 138 / .35) 100%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__in { position: relative; max-width: var(--wrap); }
.hero__title {
  font-family: var(--f-display); font-weight: 700; letter-spacing: -.035em;
  font-size: clamp(3.6rem, 1.6rem + 9vw, 8.6rem); line-height: .92; margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  background: linear-gradient(90deg, #fff 0%, #fff 55%, #bdf3f8 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__title .semi { color: var(--teal); -webkit-text-fill-color: var(--teal); display: inline-block; animation: wink 4s 1.5s infinite; }
@keyframes wink { 0%, 92%, 100% { transform: none; } 95% { transform: translateY(-8px) rotate(-6deg); } }
.hero__script { font-family: var(--f-hand); font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem); color: var(--sun); margin: .1em 0 .55em; transform: rotate(-2deg); transform-origin: left; }
.hero__lead { max-width: 40ch; font-size: clamp(1.08rem, .95rem + .55vw, 1.32rem); color: #ece4f7; }
.hero__lead strong { color: #fff; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 2.2rem; }
.hero__route { position: absolute; left: 0; right: 0; bottom: 4%; width: 100%; height: 26%; z-index: -1; opacity: .9; }
.hero__route path { fill: none; stroke: var(--sun); stroke-width: 3; stroke-dasharray: .006 .014; stroke-dashoffset: 1; animation: walkLine 5s .6s var(--ease) forwards; vector-effect: non-scaling-stroke; }
@keyframes walkLine { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.hero__scroll { position: absolute; left: 50%; bottom: 1.4rem; translate: -50% 0; color: #fff; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgb(255 255 255 / .35); animation: bob 2.4s infinite; }
.hero__scroll:hover { color: var(--sun); }
@keyframes bob { 50% { transform: translateY(6px); } }

.countdown { display: flex; gap: .6rem; }
.countdown div { min-width: 78px; padding: .7rem .5rem .55rem; text-align: center; border-radius: 16px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .2); backdrop-filter: blur(10px); }
.countdown b { display: block; font-family: var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .countdown div { flex: 1; min-width: 0; } }
.countdown span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #cfc3e3; }

/* ---------- Ticker ---------- */
.ticker { background: var(--grad); color: #fff; overflow: hidden; padding: .95rem 0; }
.ticker__track { display: flex; width: max-content; gap: 1.6rem; align-items: center; animation: marquee 38s linear infinite; }
.ticker span { font-family: var(--f-display); font-style: italic; font-size: clamp(1.2rem, 1rem + .9vw, 1.7rem); white-space: nowrap; }
.ticker i { font-style: normal; font-family: var(--f-display); font-weight: 800; color: var(--sun); font-size: 1.6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }
.section-head--light p:last-child { color: #d9cfe9; }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.section-head--row .display { margin: 0; max-width: 18ch; }

.facts { margin-top: clamp(-4rem, -6vw, -3rem); z-index: 2; padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-home .facts { margin-top: 0; padding-top: clamp(2.5rem, 5vw, 4rem); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.fact { background: var(--paper); border-radius: var(--radius); padding: 1.5rem 1.4rem 1.3rem; box-shadow: var(--shadow); display: flex; flex-direction: column; border: 1px solid var(--line); }
.fact__ico { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--teal-soft); color: var(--teal-deep); margin-bottom: 1rem; }
.fact:nth-child(2) .fact__ico { background: var(--purple-soft); color: var(--purple); }
.fact:nth-child(3) .fact__ico { background: #fff1dc; color: #b86a00; }
.fact:nth-child(4) .fact__ico { background: #e8e4f9; color: var(--plum-2); }
.fact__label { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .2rem; }
.fact__value { font-family: var(--f-display); font-size: 1.45rem; font-weight: 650; line-height: 1.15; margin: 0 0 .4rem; }
.fact__sub { color: var(--muted); font-size: .94rem; margin-bottom: 1rem; }
.fact__link { margin-top: auto; display: inline-flex; align-items: center; gap: .35em; font-weight: 800; font-size: .92rem; text-decoration: none; }
@media (max-width: 960px) { .facts__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .facts__grid { grid-template-columns: 1fr; } }

/* 135 */
.impact { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--paper); overflow: hidden; }
.impact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.impact__viz { aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.impact__viz svg { width: 100%; height: 100%; overflow: visible; }
.ripple-dot { fill: var(--line); transition: fill .5s var(--ease), transform .6s var(--ease); transform-box: fill-box; transform-origin: center; transform: scale(.4); }
.ripple-core { fill: var(--sun); }
.is-lit .ripple-dot { fill: var(--teal); transform: scale(1); transition-delay: calc(var(--i) * 14ms); }
.is-lit .ripple-dot:nth-child(3n) { fill: var(--purple); }
.is-lit .ripple-dot:nth-child(7n) { fill: #5a74b8; }
.is-lit .ripple-core { animation: corePulse 3s 2.2s infinite; }
@keyframes corePulse { 50% { r: 16; } }
.impact .display { font-size: clamp(3rem, 1.5rem + 6vw, 6rem); }
.impact .display .counter { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.impact__note { display: flex; gap: .7rem; align-items: center; padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: var(--teal-soft); color: var(--teal-deep); font-weight: 700; margin-top: 1.5rem; }
.impact__note .ico { width: 28px; height: 28px; color: var(--purple); }
@media (max-width: 860px) { .impact__grid { grid-template-columns: 1fr; } .impact__viz { max-width: 360px; } }

/* routes */
.routes { padding: clamp(4rem, 8vw, 7rem) 0; }
.routes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.route {
  --sign: #fff; position: relative; overflow: hidden; padding: 1.8rem 1.6rem 1.6rem; border-radius: var(--radius);
  background: var(--plum); color: #fff; box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.route:nth-child(2) { background: linear-gradient(160deg, #0b6f7c, #0a4f63); }
.route:nth-child(3) { background: linear-gradient(160deg, #5d2a7a, #2c1347); }
.route:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.route__loop { position: absolute; right: -14px; top: 10px; width: 62%; opacity: .5; }
.route__loop path { fill: none; stroke: var(--sign); stroke-width: 3; stroke-dasharray: .02 .018; }
.route:hover .route__loop path { animation: loop 6s linear infinite; }
@keyframes loop { to { stroke-dashoffset: -1; } }
.route__km { font-family: var(--f-display); font-size: clamp(4rem, 3rem + 3vw, 5.6rem); line-height: .9; font-weight: 700; margin: 0 0 .6rem; letter-spacing: -.04em; }
.route__km small { font-size: .32em; letter-spacing: 0; margin-left: .15em; color: #cfe; }
.route__sign { display: inline-flex; align-items: center; gap: .5em; font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; padding: .35em .8em .35em .45em; border-radius: 99px; background: rgb(255 255 255 / .12); }
.swatch { width: 16px; height: 16px; border-radius: 50%; background: var(--sign); box-shadow: 0 0 0 2px rgb(255 255 255 / .6); }
.route__for { margin: 1rem 0; color: #e3dbef; min-height: 3.2em; }
.route__meta { list-style: none; margin: 0; padding: 1rem 0 0; border-top: 1px solid rgb(255 255 255 / .16); display: grid; gap: .4rem; font-size: .93rem; }
.route__meta li { display: flex; gap: .55em; align-items: center; }
.route__meta .ico { color: var(--sun); }
@media (max-width: 860px) { .routes__grid { grid-template-columns: 1fr; } }

/* story */
.story { padding: clamp(4rem, 8vw, 7rem) 0; background: linear-gradient(180deg, var(--cream), #f3ecf7); }
.story__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.story__photos { position: relative; aspect-ratio: 1 / 1.05; }
.story__photos img { position: absolute; border-radius: var(--radius); box-shadow: var(--shadow-lg); object-fit: cover; border: 6px solid #fff; }
.story__p1 { width: 72%; aspect-ratio: 4/3; left: 0; top: 4%; transform: rotate(-3deg); }
.story__p2 { width: 56%; aspect-ratio: 4/3; right: 0; top: 38%; transform: rotate(4deg); z-index: 2; }
.story__p3 { width: 50%; aspect-ratio: 4/3; left: 8%; bottom: 0; transform: rotate(-1deg); }
.pillars { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 1rem; }
.pillars li { display: flex; gap: 1rem; align-items: flex-start; }
.pillars li > span { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--purple); box-shadow: var(--shadow); }
.pillars strong { display: block; font-size: 1.08rem; }
.pillars div { color: var(--muted); }
.pillars div strong { color: var(--ink); }
@media (max-width: 860px) { .story__grid { grid-template-columns: 1fr; } .story__photos { max-width: 520px; width: 100%; margin: 0 auto; } }

/* memory line */
.memory-teaser { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--dawn); color: #fff; overflow: hidden; }
.memory-teaser .display { color: #fff; }
.line { position: relative; padding: 2.4rem 0 1rem; }
.line__rope { position: absolute; left: -2%; right: -2%; top: 2.2rem; height: 40px; border-top: 3px solid #d8b98d; border-radius: 50% 50% 0 0 / 40px 40px 0 0; transform: scaleY(-1); transform-origin: top; opacity: .85; }
.line__cards { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: clamp(1rem, 3vw, 2.4rem); justify-content: center; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.line__cards::-webkit-scrollbar { display: none; }
.tag {
  --r: 0deg; position: relative; flex: none; width: 190px; min-height: 200px; padding: 1.4rem 1.1rem 1rem; margin-top: 10px;
  background: #fffdf8; color: var(--plum); border-radius: 6px; box-shadow: 0 18px 30px -12px rgb(0 0 0 / .5);
  transform: rotate(var(--r)); transform-origin: 50% -10px; animation: sway 6s ease-in-out infinite alternate;
}
.tag:nth-child(2n) { animation-duration: 7.4s; animation-delay: -2s; }
.tag:nth-child(3n) { animation-duration: 5.2s; animation-delay: -1s; }
@keyframes sway { from { transform: rotate(calc(var(--r) - 2deg)); } to { transform: rotate(calc(var(--r) + 2deg)); } }
.tag__peg { position: absolute; top: -18px; left: 50%; width: 14px; height: 36px; margin-left: -7px; border-radius: 3px; background: linear-gradient(90deg, #b88a55, #e2c08f, #b88a55); box-shadow: 0 2px 4px rgb(0 0 0 / .3); }
.tag__name { font-family: var(--f-hand); font-size: 1.9rem; line-height: 1; margin: .4rem 0 .6rem; color: var(--purple); }
.tag__msg { font-size: .9rem; color: var(--muted); margin: 0 0 .5rem; }
.tag__from { font-size: .82rem; font-weight: 700; color: var(--teal-deep); margin: 0; }
.tag--empty { background: rgb(255 255 255 / .08); border: 2px dashed rgb(255 255 255 / .3); box-shadow: none; }
.memory-teaser__cta { text-align: center; margin-top: 2.2rem; }

/* videos */
.videos { padding: clamp(4rem, 8vw, 7rem) 0; }
.videos__grid { display: grid; grid-template-columns: 2.2fr 1fr; gap: 1rem; }
.yt--feature { grid-row: span 3; }
.yt { position: relative; aspect-ratio: 16/9; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--plum); box-shadow: var(--shadow); }
.yt--feature { aspect-ratio: auto; min-height: 100%; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .4s; opacity: .88; }
.yt:hover img { transform: scale(1.05); opacity: 1; }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgb(36 18 59 / .85)); }
.yt__play { position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--plum); transition: transform .3s var(--ease); box-shadow: 0 0 0 10px rgb(255 181 71 / .25); }
.yt__play .ico { width: 26px; height: 26px; margin-left: 4px; }
.yt:hover .yt__play { transform: scale(1.1); }
.yt__label { position: absolute; z-index: 1; left: 1.1rem; bottom: .9rem; color: #fff; font-weight: 800; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.is-playing::after { display: none; }
@media (max-width: 860px) { .videos__grid { grid-template-columns: 1fr 1fr; } .yt--feature { grid-column: span 2; grid-row: auto; aspect-ratio: 16/9; } }
@media (max-width: 520px) { .videos__grid { grid-template-columns: 1fr; } .yt--feature { grid-column: auto; } }

/* mosaic */
.mosaic-sec { padding: 0 0 clamp(4rem, 8vw, 7rem); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(120px, 15vw, 200px); grid-auto-flow: dense; gap: .8rem; }
.mosaic__item { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--line); }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.mosaic__item:hover img { transform: scale(1.07); }
.mosaic { grid-template-areas: "a a b c" "a a d e" "f g g e"; }
.m0 { grid-area: a; } .m1 { grid-area: b; } .m2 { grid-area: c; } .m3 { grid-area: d; }
.m4 { grid-area: f; } .m5 { grid-area: e; } .m6 { grid-area: g; }
@media (max-width: 700px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-template-areas: "a a" "a a" "b c" "d e" "f e" "g g"; } }

/* involve */
.involve { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--paper); }
.involve__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card-cta {
  display: flex; flex-direction: column; padding: 1.6rem; border-radius: var(--radius); text-decoration: none; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
}
.card-cta:hover { color: var(--ink); transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; }
.card-cta__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 1.2rem; }
.card-cta__ico .ico { width: 26px; height: 26px; }
.card-cta h3 { font-family: var(--f-display); font-size: 1.5rem; font-weight: 650; }
.card-cta p { color: var(--muted); }
.card-cta__go { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-weight: 800; color: var(--teal-deep); }
.card-cta:hover .card-cta__go .ico { transform: translateX(4px); }
.card-cta__go .ico { transition: transform .3s var(--ease); }
@media (max-width: 960px) { .involve__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .involve__grid { grid-template-columns: 1fr; } }

/* sponsor marquee */
.sponsor-strip { padding: clamp(3rem, 6vw, 5rem) 0; }
.sponsor-strip__title { text-align: center; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-bottom: 2rem; }
.logos { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); margin-bottom: 2rem; }
.logos__track { display: flex; width: max-content; gap: 1rem; animation: marquee 70s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__item { flex: none; width: 150px; height: 96px; display: grid; place-items: center; padding: 14px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.logos__item img { max-height: 100%; width: auto; object-fit: contain; filter: grayscale(1) contrast(.9); opacity: .78; transition: filter .3s, opacity .3s; }
.logos__item:hover img { filter: none; opacity: 1; }

/* stay in touch */
.stay { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: var(--dawn); color: #fff; }
.stay__in { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.stay .display { color: #fff; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); }
.stay p { color: #ddd2ee; }
.stay__form { display: grid; grid-template-columns: 1fr 1.3fr; gap: .7rem; padding: 1rem; border-radius: var(--radius); background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .16); }
.stay__form input { grid-column: auto; }
.stay__form .btn { grid-column: 1 / -1; }
.stay__form .form-status { grid-column: 1 / -1; margin: 0; color: #a6f0c9; font-weight: 700; min-height: 1.4em; }
@media (max-width: 860px) { .stay__in { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .stay__form { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 14px;
  padding: .85em 1em; transition: border-color .2s, box-shadow .2s; appearance: none;
}
textarea { min-height: 140px; resize: vertical; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2324123b' stroke-width='2'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9em center; padding-right: 2.6em; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgb(31 175 192 / .18); }
.field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.field label, .field .label { font-weight: 700; font-size: .93rem; }
.field small { color: var(--muted); font-size: .84rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: .2em; accent-color: var(--purple); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-block; padding: .5em 1em; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .9rem; cursor: pointer; transition: all .2s; }
.chip input:checked + span { background: var(--plum); color: #fff; border-color: var(--plum); }
.chip input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.form-card { background: #fff; border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-status { font-weight: 700; margin: .8rem 0 0; }
.form-status.is-ok { color: #0d8a54; }
.form-status.is-err { color: #c0392b; }
.form-success { text-align: center; padding: 2rem 1rem; }
.form-success .ico { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: #e1f7ec; color: #0d8a54; margin: 0 auto 1rem; }

/* ---------- Inner pages ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--dawn);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5.5rem);
}
.page-hero::after { content: ";"; position: absolute; right: 4%; bottom: -.32em; font-family: var(--f-display); font-weight: 800; font-size: clamp(14rem, 30vw, 28rem); line-height: 1; color: rgb(255 255 255 / .06); z-index: -1; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; opacity: .28; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); }
.page-hero h1 { font-family: var(--f-display); font-size: clamp(2.6rem, 1.4rem + 5vw, 5rem); letter-spacing: -.03em; font-weight: 700; margin: 0 0 .3em; max-width: 16ch; }
.page-hero p { max-width: 60ch; font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: #e2d9ef; margin: 0; }
.page-hero .btn { margin-top: 1.6rem; }
.page-body { padding: clamp(3rem, 6vw, 5rem) 0; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.two-col--even { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .two-col, .two-col--even { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); }

.prose { max-width: 70ch; }
.prose h2 { font-family: var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 650; margin-top: 2.2em; letter-spacing: -.015em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; }
.prose li { margin-bottom: .45em; }
.prose ol { padding-left: 1.4em; }
.prose ol li::marker { font-weight: 800; color: var(--teal-deep); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow); }
.panel + .panel { margin-top: 1.2rem; }
.panel h2, .panel h3 { font-family: var(--f-display); font-weight: 650; }
.panel--dark { background: var(--plum); color: #fff; border: 0; }
.panel--dark p { color: #ddd2ee; }
.panel--grad { background: var(--grad); color: #fff; border: 0; }
.panel--grad p { color: #f1ecf8; }

.price-tag { display: flex; align-items: baseline; gap: .4rem; font-family: var(--f-display); font-weight: 700; font-size: 3.4rem; line-height: 1; margin: .2rem 0 .6rem; }
.price-tag small { font-family: var(--f-body); font-size: 1rem; font-weight: 600; color: #ddd2ee; }
.ticks { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .6rem; }
.ticks li { display: flex; gap: .65rem; align-items: flex-start; }
.ticks .ico { color: var(--teal); margin-top: .25em; }
.panel--dark .ticks .ico, .panel--grad .ticks .ico { color: var(--sun); }

.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.info { background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); }
.info__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-deep); margin-bottom: .9rem; }
.info:nth-child(3n+2) .info__ico { background: var(--purple-soft); color: var(--purple); }
.info:nth-child(3n) .info__ico { background: #fff1dc; color: #b86a00; }
.info h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.info p { color: var(--muted); margin: 0 0 .5rem; font-size: .97rem; }
.info p:last-child { margin: 0; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 62px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--teal), var(--purple)); }
.timeline li { display: grid; grid-template-columns: 62px 1fr; gap: 1.6rem; padding: 0 0 1.6rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 55px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); }
.timeline time { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; }
.timeline h3 { font-size: 1.08rem; margin: 0 0 .2rem; }
.timeline p { margin: 0; color: var(--muted); }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--line); aspect-ratio: 4/3; position: relative; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-embed__load { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background: linear-gradient(135deg, var(--teal-soft), var(--purple-soft)); cursor: pointer; border: 0; width: 100%; }
.map-embed__load .ico { width: 40px; height: 40px; color: var(--purple); margin: 0 auto .6rem; }

/* accordion */
.faq { display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 3.4rem 1.15rem 1.3rem; font-weight: 800; font-size: 1.06rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-deep); font-size: 1.3rem; transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--purple-soft); color: var(--purple); }
.faq .faq__a { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.faq .faq__a p:last-child { margin: 0; }
.faq-search { position: relative; margin-bottom: 1.5rem; }
.faq-search input { padding-left: 2.8em; }
.faq-search .ico { position: absolute; left: 1em; top: 50%; translate: 0 -50%; color: var(--muted); }

/* bank card */
.bank { background: linear-gradient(135deg, #2a1640, #4a2170 60%, #0f6f7d); color: #fff; border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.bank::after { content: ";"; position: absolute; right: -10px; top: -60px; font-family: var(--f-display); font-size: 16rem; line-height: 1; color: rgb(255 255 255 / .07); }
.bank dl { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.2rem; margin: 1.2rem 0 0; }
.bank dt { color: #c9bde0; font-size: .88rem; }
.bank dd { margin: 0; font-weight: 700; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.copy-btn { display: inline-flex; align-items: center; gap: .3em; font-size: .75rem; font-weight: 800; padding: .25em .6em; border-radius: 99px; border: 1px solid rgb(255 255 255 / .35); background: rgb(255 255 255 / .1); color: #fff; cursor: pointer; }
.copy-btn .ico { width: 14px; height: 14px; }
.copy-btn.is-copied { background: #58e0a0; color: var(--plum); border-color: #58e0a0; }

/* gallery page */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; position: sticky; top: calc(var(--header-h) + .6rem); z-index: 5; padding: .5rem; border-radius: 99px; background: rgb(251 247 241 / .9); backdrop-filter: blur(10px); width: fit-content; border: 1px solid var(--line); }
.filters button { border: 0; background: transparent; padding: .55em 1.1em; border-radius: 99px; font-weight: 800; cursor: pointer; color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--plum); color: #fff; }
.filters button span { opacity: .6; font-weight: 600; margin-left: .3em; }
.masonry { columns: 4 240px; column-gap: .8rem; }
.masonry a { display: block; margin-bottom: .8rem; break-inside: avoid; border-radius: var(--radius-sm); overflow: hidden; background: var(--line); position: relative; }
.masonry img { width: 100%; transition: transform .7s var(--ease), opacity .5s; }
.masonry a:hover img { transform: scale(1.05); }
.masonry a[hidden] { display: none; }
.year-label { column-span: all; font-family: var(--f-display); font-size: 2.2rem; font-weight: 700; margin: 1.2rem 0 1rem; display: flex; align-items: center; gap: 1rem; }
.year-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.year-label[hidden] { display: none; }

/* sponsors page */
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.sponsor { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .9rem; padding: 1.4rem 1rem 1.2rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s; }
a.sponsor:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--ink); }
.sponsor__logo { height: 110px; width: 100%; display: grid; place-items: center; }
.sponsor__logo img { max-height: 110px; max-width: 80%; object-fit: contain; }
.sponsor strong { font-size: 1rem; }
.sponsor small { color: var(--muted); display: block; font-size: .85rem; }
.sponsor__go { font-size: .8rem; font-weight: 800; color: var(--teal-deep); display: inline-flex; gap: .3em; align-items: center; }

/* memory line page */
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2.4rem 1.4rem; padding-top: 1.5rem; }
.wall .tag { width: auto; animation-duration: 8s; }
.wall-empty { text-align: center; padding: 3rem 1rem; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.wall-empty .tag__name { font-size: 2.2rem; }
.counter-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 99px; background: rgb(255 255 255 / .12); font-weight: 700; margin-top: 1.2rem; }

/* contact */
.help-cards { display: grid; gap: .7rem; }
.help-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .3s var(--ease); }
.help-card:hover { border-color: var(--teal); transform: translateX(4px); color: var(--ink); }
.help-card__ico { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-deep); }
.help-card strong { display: block; font-size: 1.15rem; }
.help-card small { color: var(--muted); }
.notice { display: flex; gap: .9rem; padding: 1.1rem 1.3rem; border-radius: var(--radius-sm); background: #fff6e6; border: 1px solid #ffdca3; color: #6b4300; }
.notice .ico { margin-top: .2em; color: #d27d00; }
.notice p { margin: 0; }

/* ---------- Help FAB + dialog ---------- */
.help-fab {
  position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: .55em; padding: .8em 1.15em; border-radius: 999px; border: 0;
  background: var(--plum); color: #fff; font-weight: 800; cursor: pointer; box-shadow: 0 14px 34px -10px rgb(36 18 59 / .6);
  transition: transform .3s var(--ease);
}
.help-fab:hover { transform: translateY(-3px); }
.help-fab .ico { color: #ff8fa3; }
.help-fab__pulse { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgb(31 175 192 / .6); animation: fabPulse 3s infinite; pointer-events: none; }
@keyframes fabPulse { 70% { box-shadow: 0 0 0 14px rgb(31 175 192 / 0); } 100% { box-shadow: 0 0 0 0 rgb(31 175 192 / 0); } }
@media (max-width: 520px) { .help-fab span:last-child { display: none; } .help-fab { padding: .95em; } }

.help-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 40px); border: 0; border-radius: 26px; padding: 1.6rem; color: var(--ink); background: var(--cream); box-shadow: var(--shadow-lg); }
.help-dialog::backdrop { background: rgb(36 18 59 / .55); backdrop-filter: blur(4px); }
.help-dialog[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.help-dialog__head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.help-dialog h2 { font-family: var(--f-display); font-size: 1.7rem; font-weight: 650; }
.help-dialog > p { color: var(--muted); }
.help-list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .55rem; }
.help-list a { display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s; }
.help-list a:hover { border-color: var(--teal); color: var(--ink); }
.help-list__ico { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; }
.help-list strong { display: block; font-size: 1.12rem; }
.help-list small { color: var(--muted); }
.help-dialog__foot { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgb(18 8 32 / .94); display: grid; place-items: center; padding: 4rem 1rem; }
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: grid; gap: .8rem; justify-items: center; }
.lightbox__fig img { max-height: calc(100dvh - 9rem); width: auto; border-radius: 10px; box-shadow: 0 30px 80px rgb(0 0 0 / .5); animation: pop .3s var(--ease); }
.lightbox__fig figcaption { color: #cfc3e3; font-size: .92rem; }
.lightbox .icon-btn { position: absolute; background: rgb(255 255 255 / .1); color: #fff; }
.lightbox .icon-btn:hover { background: rgb(255 255 255 / .2); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 1rem; top: 50%; translate: 0 -50%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum); color: #d9cfe9; padding-bottom: 5rem; }
.footer-hero { border-bottom: 1px solid rgb(255 255 255 / .1); padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.footer-hero__kicker { font-family: var(--f-hand); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); color: var(--sun); margin: 0; }
.footer-hero__line { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.8rem, 1rem + 7vw, 7rem); line-height: .95; letter-spacing: -.04em; color: #fff; margin: 0; }
.footer-hero__line em { color: var(--teal); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr; gap: 2.5rem; padding: 3rem 0 2.5rem; }
.footer-brand img { width: 120px; background: #fff; border-radius: 18px; padding: 10px; margin-bottom: 1.1rem; }
.footer-brand p { font-size: .95rem; }
.footer-col h2 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #9fe7ef; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-contact li { display: grid; }
.footer-contact span { font-size: .8rem; color: #a99cc0; }
.footer-help a { display: grid; padding: .55rem .8rem; border-radius: 12px; background: rgb(255 255 255 / .06); }
.footer-help span { font-size: .8rem; color: #b9acd0; }
.social { display: flex; gap: .5rem; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .08); transition: background .2s; }
.social a:hover { background: var(--teal); color: #fff; }
.footer-base { border-top: 1px solid rgb(255 255 255 / .1); padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .86rem; color: #a99cc0; }
.footer-base p { margin: 0; }
.footer-base a { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .story__photos .reveal.is-in.story__p1 { transform: rotate(-3deg); }
.js .story__photos .reveal.is-in.story__p2 { transform: rotate(4deg); }
.js .story__photos .reveal.is-in.story__p3 { transform: rotate(-1deg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ticker__track, .logos__track { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .helpbar, .site-header, .help-fab, .site-footer, .hero__route { display: none !important; }
  body { background: #fff; }
}
