/* =========================================================
   YORP GUIDE — design tokens
   Concept: a passport/route through the registration process.
   Each step is a rubber-stamp mark along a dotted route line.
   ========================================================= */
:root{
  --ink: #16213E;
  --ink-70: rgba(22,33,62,.7);
  --ink-45: rgba(22,33,62,.45);
  --paper: #EEF1E6;
  --paper-2: #E4E9DA;
  --card: #FBFBF6;

  --red: #D8492F;
  --gold: #D69A2D;
  --teal: #157A75;
  --violet: #6C4E9C;
  --blue: #2C6CA6;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -18px rgba(22,33,62,.35);
  --shadow-sm: 0 8px 20px -10px rgba(22,33,62,.3);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'IBM Plex Sans', -apple-system, Segoe UI, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --maxw: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.08;
  margin:0 0 .4em;
  letter-spacing:-.01em;
}

a{ color:inherit; }
img{ max-width:100%; display:block; }
ul,ol{ margin:0; padding:0; list-style:none; }

.section-inner{ max-width:var(--maxw); margin:0 auto; padding:0 32px; }

.eyebrow{
  font-family:var(--font-mono);
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--red);
  margin:0 0 14px;
}
.eyebrow--light{ color:#F4D9A8; }

/* subtle paper grain overlay */
.grain{
  position:fixed; inset:0; z-index:1; pointer-events:none;
  opacity:.5; mix-blend-mode:multiply;
  background-image:
    radial-gradient(rgba(22,33,62,.045) 1px, transparent 1px);
  background-size:3px 3px;
}

/* =========================== AURORA BACKGROUND =========================== */
.aurora{
  position:fixed; inset:0; z-index:0; pointer-events:none;
  overflow:hidden;
}
.aurora-blob{
  position:absolute;
  width:52vw; height:52vw;
  min-width:420px; min-height:420px;
  border-radius:50%;
  filter:blur(90px);
  opacity:.38;
  mix-blend-mode:multiply;
  will-change:transform;
}
.aurora-blob--1{
  top:-14%; left:-10%;
  background:radial-gradient(circle at 30% 30%, var(--teal), transparent 70%);
  animation:aurora-drift-a 34s ease-in-out infinite alternate;
}
.aurora-blob--2{
  top:4%; right:-16%;
  background:radial-gradient(circle at 60% 40%, var(--gold), transparent 70%);
  animation:aurora-drift-b 40s ease-in-out infinite alternate;
}
.aurora-blob--3{
  bottom:-20%; left:12%;
  background:radial-gradient(circle at 50% 50%, var(--violet), transparent 70%);
  animation:aurora-drift-c 46s ease-in-out infinite alternate;
}
.aurora-blob--4{
  bottom:6%; right:6%;
  width:38vw; height:38vw; min-width:320px; min-height:320px;
  background:radial-gradient(circle at 50% 50%, var(--red), transparent 70%);
  opacity:.28;
  animation:aurora-drift-d 30s ease-in-out infinite alternate;
}
@keyframes aurora-drift-a{ 0%{transform:translate(0,0) scale(1);} 100%{transform:translate(8%,10%) scale(1.15);} }
@keyframes aurora-drift-b{ 0%{transform:translate(0,0) scale(1);} 100%{transform:translate(-10%,8%) scale(1.1);} }
@keyframes aurora-drift-c{ 0%{transform:translate(0,0) scale(1);} 100%{transform:translate(6%,-10%) scale(1.2);} }
@keyframes aurora-drift-d{ 0%{transform:translate(0,0) scale(1);} 100%{transform:translate(-8%,-6%) scale(.9);} }
@media (prefers-reduced-motion: reduce){
  .aurora-blob{ animation:none !important; }
}

/* =========================== TAGLINE TICKER =========================== */
.tagline-ticker{
  position:relative; z-index:101;
  background:var(--ink);
  color:var(--paper);
  overflow:hidden;
  white-space:nowrap;
  height:32px;
  display:flex;
  align-items:center;
  border-bottom:1px solid rgba(238,241,230,.12);
}
.ticker-track{
  display:flex;
  align-items:center;
  gap:20px;
  padding-left:20px;
  animation:ticker-scroll 26s linear infinite;
  will-change:transform;
}
.tagline-ticker:hover .ticker-track{ animation-play-state:paused; }
.ticker-track span{
  font-family:var(--font-mono);
  font-size:11.5px;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gold);
  display:inline-flex;
  align-items:center;
  gap:20px;
}
.ticker-dot{ color:rgba(238,241,230,.4); font-size:10px; }
@keyframes ticker-scroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}

/* =========================== NAV =========================== */
.site-nav{
  position:sticky; top:0; z-index:100;
  background:rgba(238,241,230,.82);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(22,33,62,.08);
}
.nav-inner{
  max-width:var(--maxw); margin:0 auto; padding:14px 32px;
  display:flex; align-items:center; justify-content:space-between;
}
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--ink); font-weight:600; }
.brand-mark{ width:32px; height:32px; border-radius:50%; }
.brand span{ font-family:var(--font-display); font-size:19px; }
.brand em{ font-style:normal; color:var(--red); }

.nav-links{ display:flex; align-items:center; gap:28px; }
.nav-links a{
  position:relative;
  text-decoration:none; font-size:14.5px; font-weight:500; color:var(--ink-70);
  transition:color .2s;
  padding-bottom:2px;
}
.nav-links a::after{
  content:"";
  position:absolute; left:0; right:100%; bottom:-2px; height:2px;
  background:var(--red); border-radius:2px;
  transition:right .28s cubic-bezier(.2,.8,.2,1);
}
.nav-links a:hover::after, .nav-links a:focus-visible::after{ right:0; }
.nav-links a:hover{ color:var(--ink); }
.nav-cta{
  font-family:var(--font-mono) !important;
  background:var(--ink); color:var(--paper) !important;
  padding:9px 16px; border-radius:999px; font-size:12.5px !important;
  letter-spacing:.04em;
  transition:background .2s, transform .2s;
}
.nav-cta:hover{ background:var(--red); transform:translateY(-1px); }

.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:12px; margin:-12px; }
.nav-toggle span{ width:22px; height:2px; background:var(--ink); display:block; transition:transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* =========================== HERO =========================== */
.hero{
  position:relative; overflow:hidden;
  padding:56px 32px 40px;
  isolation:isolate;
}
.hero-inner{ max-width:760px; margin:0 auto; text-align:center; position:relative; z-index:2; }

.logo-lockup{
  display:flex; align-items:center; justify-content:center; gap:16px;
  margin-bottom:26px;
}
.logo-lockup img{
  height:54px; width:54px; object-fit:contain; border-radius:50%;
  background:var(--card); padding:7px; box-shadow:var(--shadow-sm);
  border:1.5px solid rgba(22,33,62,.08);
  transition:transform .3s ease;
}
.logo-lockup img:hover{ transform:translateY(-3px) rotate(-3deg); }
.logo-divider{ width:1px; height:34px; background:var(--ink-45); }

.hero h1{
  font-size:clamp(38px, 6vw, 64px);
  color:var(--ink);
}
.hero-stamped{
  color:var(--red);
  position:relative;
  display:inline-block;
}
.hero-sub{
  font-size:18px; color:var(--ink-70); max-width:540px; margin:22px auto 0;
}

.locality{ margin-top:26px; }
.locality-name{
  font-family:var(--font-mono); font-weight:600; font-size:12.5px;
  letter-spacing:.1em; text-transform:uppercase; color:var(--ink-45);
  margin:0;
}
.locality-tagline{
  font-family:var(--font-display); font-style:italic; font-weight:500;
  font-size:19px; color:var(--red); margin:4px 0 0;
}

.hero-actions{ display:flex; gap:14px; justify-content:center; margin-top:34px; flex-wrap:wrap; }

.btn{
  font-family:var(--font-mono); font-size:13.5px; font-weight:600;
  letter-spacing:.03em; text-decoration:none;
  padding:14px 26px; border-radius:999px; display:inline-block;
  border:1.5px solid transparent; transition:transform .22s cubic-bezier(.2,1.2,.4,1), box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.btn-primary{ background:var(--ink); color:var(--paper); box-shadow:var(--shadow-sm); }
.btn-primary:hover{ transform:translateY(-3px) scale(1.03); background:var(--red); box-shadow:0 16px 30px -12px rgba(216,73,47,.55); }
.btn-primary:active{ transform:translateY(-1px) scale(1.0); }
.btn-ghost{ border-color:var(--ink-45); color:var(--ink); }
.btn-ghost:hover{ border-color:var(--ink); background:var(--ink); color:var(--paper); transform:translateY(-3px) scale(1.03); }
.btn-large{ padding:17px 30px; font-size:14.5px; }
@media (max-width:420px){
  .hero-actions .btn{ width:100%; text-align:center; }
}

/* ---- visitor stamp (live counter) ---- */
.visitor-stamp{
  position:relative;
  width:132px; height:132px;
  margin:40px auto 0;
  display:flex; align-items:center; justify-content:center;
}
.vs-ring{
  position:absolute; inset:0;
  border-radius:50%;
  border:2.5px dashed var(--red);
  opacity:.75;
  animation:vs-spin 60s linear infinite;
}
.vs-ring::before{
  content:"";
  position:absolute; inset:10px;
  border-radius:50%;
  border:1px solid rgba(216,73,47,.3);
}
@keyframes vs-spin{ to{ transform:rotate(360deg); } }
@media (prefers-reduced-motion: reduce){ .vs-ring{ animation:none; } }

.vs-inner{
  position:relative;
  width:104px; height:104px;
  border-radius:50%;
  background:var(--card);
  box-shadow:var(--shadow-sm), inset 0 0 0 1px rgba(22,33,62,.06);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:2px;
  transform:rotate(-4deg);
}
.vs-label{
  font-family:var(--font-mono); font-size:9.5px; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase; color:var(--ink-45);
}
.vs-number{
  font-family:var(--font-mono); font-weight:700; font-size:19px;
  color:var(--red); letter-spacing:.02em; font-variant-numeric:tabular-nums;
}
.vs-live{
  display:flex; align-items:center; gap:5px;
  font-family:var(--font-mono); font-size:8px; font-weight:600;
  letter-spacing:.08em; text-transform:uppercase; color:var(--teal);
}
.vs-live i{
  width:5px; height:5px; border-radius:50%; background:var(--teal);
  display:inline-block; animation:vs-pulse 1.6s ease-in-out infinite;
}
@keyframes vs-pulse{
  0%,100%{ opacity:1; transform:scale(1); }
  50%{ opacity:.35; transform:scale(.7); }
}
@media (prefers-reduced-motion: reduce){ .vs-live i{ animation:none; } }

.hero-stats{
  display:flex; justify-content:center; gap:44px; margin-top:56px;
  font-family:var(--font-mono);
}
.hero-stats div{ display:flex; flex-direction:column; align-items:center; }
.hero-stats strong{ font-size:30px; color:var(--ink); }
.hero-stats span{ font-size:11.5px; color:var(--ink-45); text-transform:uppercase; letter-spacing:.08em; margin-top:2px; }

.hero-route{
  width:100%; height:140px; display:block; margin-top:40px;
  position:relative; z-index:1;
}
.hero-route path{
  fill:none; stroke:var(--ink); stroke-width:2; stroke-dasharray:2 10; stroke-linecap:round;
  opacity:.35;
  stroke-dashoffset:1600;
  animation:draw 2.4s ease forwards .3s;
}
@keyframes draw{ to{ stroke-dashoffset:0; } }

/* reveal-on-scroll base state */
[data-reveal]{
  opacity:0; transform:translateY(22px);
  transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].in{ opacity:1; transform:translateY(0); }

/* =========================== SECTIONS =========================== */
.section{ padding:88px 0; position:relative; z-index:1; }
.section h2{ font-size:clamp(28px,3.6vw,42px); }
.section-lead{ font-size:16.5px; color:var(--ink-70); max-width:560px; margin:0 0 44px; }

/* ---- documents ---- */
.doc-list{ display:grid; gap:2px; background:rgba(22,33,62,.08); border-radius:var(--radius-sm); overflow:hidden; margin-bottom:40px; }
.doc-list li{
  background:var(--card); padding:16px 20px;
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
  transition:background .25s ease, padding-left .25s ease, box-shadow .25s ease;
  position:relative;
}
.doc-list li:hover{ background:#fff; padding-left:26px; box-shadow:inset 3px 0 0 var(--red); }
.doc-check{ font-family:var(--font-mono); font-weight:700; color:var(--teal); width:18px; transition:transform .3s cubic-bezier(.2,1.4,.4,1); }
.doc-list li:hover .doc-check{ transform:scale(1.25); }
.doc-name{ font-weight:600; flex:1 1 240px; }
.doc-tag{ font-family:var(--font-mono); font-size:11.5px; color:var(--ink-45); text-transform:uppercase; letter-spacing:.05em; }

.route-choice{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.choice-card{
  background:var(--card); border-radius:var(--radius-sm); padding:20px;
  border:1.5px dashed rgba(22,33,62,.18);
  transition:transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.choice-card:hover{ transform:translateY(-5px) scale(1.015); box-shadow:var(--shadow); border-color:var(--ink-45); }
.choice-card--active:hover{ border-color:var(--red); }
.choice-card--active{ border-style:solid; border-color:var(--red); background:#FBEDE8; }
.choice-tag{ font-family:var(--font-mono); font-size:11.5px; font-weight:600; text-transform:uppercase; letter-spacing:.04em; color:var(--red); display:block; margin-bottom:8px; }
.choice-card p{ margin:0; font-size:14.5px; color:var(--ink-70); }

/* ---- journey / route ---- */
.journey{ background:var(--paper-2); }
.route-wrap{ position:relative; max-width:var(--maxw); margin:20px auto 0; padding:0 32px; }
.route-line{ position:absolute; left:50%; top:0; bottom:0; width:4px; height:100%; transform:translateX(-50%); z-index:0; }
.route-line path{ fill:none; stroke-width:3; stroke-linecap:round; }
.route-bg{ stroke:var(--ink); stroke-dasharray:1 13; opacity:.22; }
.route-fg{ stroke:var(--red); stroke-dasharray:1 13; opacity:.9; }
@media (max-width:820px){ .route-line{ left:34px; } }

/* traveling marker that rides the route as you scroll */
.traveler{
  position:absolute; left:50%; top:0;
  width:16px; height:16px; margin-left:-8px; margin-top:-8px;
  border-radius:50%;
  background:var(--red);
  box-shadow:0 0 0 5px rgba(216,73,47,.22), 0 4px 12px rgba(22,33,62,.35);
  z-index:2;
  transition:top .06s linear;
}
.traveler::after{
  content:"";
  position:absolute; inset:-6px;
  border-radius:50%;
  border:1.5px solid var(--red);
  opacity:.6;
  animation:traveler-ring 1.8s ease-out infinite;
}
@keyframes traveler-ring{
  0%{ transform:scale(.6); opacity:.7; }
  100%{ transform:scale(1.9); opacity:0; }
}
@media (max-width:820px){ .traveler{ left:34px; } }
@media (prefers-reduced-motion: reduce){ .traveler::after{ animation:none; } }

.stops{ position:relative; z-index:1; display:flex; flex-direction:column; gap:64px; padding:40px 0; }
.stop{ display:grid; grid-template-columns:1fr 60px 1fr; align-items:start; gap:0 36px; }
.stop--left .stop-card{ grid-column:1; text-align:right; }
.stop--right .stop-card{ grid-column:3; text-align:left; }
.stop .stamp{ grid-column:2; justify-self:center; }

@media (max-width:820px){
  .stop{ grid-template-columns:60px 1fr; gap:0 18px; padding-left:0; }
  .stop .stamp{ grid-column:1; }
  .stop--left .stop-card, .stop--right .stop-card{ grid-column:2; text-align:left; }
}

.stamp{
  width:60px; height:60px; border-radius:50%;
  border:2.5px dashed currentColor;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-mono); font-weight:700; font-size:15px;
  position:sticky; top:110px;
  transform:scale(.5) rotate(-14deg); opacity:0;
  transition:transform .5s cubic-bezier(.2,1.4,.4,1), opacity .4s ease;
}
.stamp.in{
  transform:scale(1) rotate(-6deg); opacity:1;
  animation:ink-pulse 1.6s ease-out .35s 2;
}
.stamp-n{ transform:rotate(6deg); }

@keyframes ink-pulse{
  0%{ box-shadow:0 0 0 0 var(--pulse-color, rgba(22,33,62,.35)); }
  70%{ box-shadow:0 0 0 16px transparent; }
  100%{ box-shadow:0 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce){
  .stamp.in{ animation:none; }
}

.stop--red .stamp{ color:var(--red); background:#FBEDE8; --pulse-color: rgba(216,73,47,.4); }
.stop--gold .stamp{ color:var(--gold); background:#FBF2E0; --pulse-color: rgba(214,154,45,.4); }
.stop--teal .stamp{ color:var(--teal); background:#E4F1EE; --pulse-color: rgba(21,122,117,.4); }
.stop--violet .stamp{ color:var(--violet); background:#EEE8F6; --pulse-color: rgba(108,78,156,.4); }
.stop--blue .stamp{ color:var(--blue); background:#E4EEF7; --pulse-color: rgba(44,108,166,.4); }

.stop-card{ max-width:480px; }
.stop--left .stop-card{ margin-left:auto; }
.stop--right .stop-card{ margin-right:auto; }
@media (max-width:820px){
  .stop--left .stop-card, .stop--right .stop-card{ margin:0; max-width:100%; }
}

.stop-kicker{ font-family:var(--font-mono); font-size:11.5px; text-transform:uppercase; letter-spacing:.08em; color:var(--ink-45); margin:0 0 6px; }
.stop-card h3{ font-size:24px; margin-bottom:12px; }
.stop-body{ display:flex; flex-direction:column; gap:8px; margin-bottom:16px; }
.stop-body li{ font-size:15px; color:var(--ink-70); position:relative; padding-left:18px; }
.stop--left .stop-body li{ padding-left:0; padding-right:18px; }
.stop-body li::before{ content:"–"; position:absolute; left:0; color:var(--ink-45); }
.stop--left .stop-body li::before{ left:auto; right:0; }

.stop-tip{
  font-size:13.5px; background:var(--card); border-radius:var(--radius-sm);
  padding:12px 14px; color:var(--ink-70); margin:0 0 16px;
  border-left:3px solid currentColor;
}
.stop--left .stop-tip{ border-left:none; border-right:3px solid currentColor; }
.stop-tip span{ font-family:var(--font-mono); font-weight:700; text-transform:uppercase; font-size:10.5px; letter-spacing:.08em; display:block; margin-bottom:4px; }

.stop-shot{
  position:relative;
  border-radius:var(--radius-sm); overflow:hidden; box-shadow:var(--shadow-sm);
  border:1px solid rgba(22,33,62,.1);
  cursor:zoom-in;
  transition:transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}
.stop-shot:hover, .stop-shot:focus-visible{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
  outline:none;
}
.stop-shot:focus-visible{ box-shadow:var(--shadow), 0 0 0 3px rgba(216,73,47,.45); }
.stop-shot img{ width:100%; transition:transform .5s cubic-bezier(.2,.8,.2,1); }
.stop-shot:hover img, .stop-shot:focus-visible img{ transform:scale(1.06); }
.stop-shot-hint{
  position:absolute; right:10px; bottom:10px;
  background:rgba(22,33,62,.82); color:var(--paper);
  font-family:var(--font-mono); font-size:10.5px; font-weight:600;
  letter-spacing:.03em;
  padding:6px 11px; border-radius:999px;
  opacity:0; transform:translateY(6px);
  transition:opacity .25s ease, transform .25s ease;
  pointer-events:none;
}
.stop-shot:hover .stop-shot-hint,
.stop-shot:focus-visible .stop-shot-hint{ opacity:1; transform:translateY(0); }
/* touch devices can't hover — keep the hint gently visible so people know it's tappable */
@media (hover:none){
  .stop-shot-hint{ opacity:.9; transform:translateY(0); }
  .stop-shot:hover img{ transform:none; }
}

/* ---- after / good to know ---- */
.after-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.after-card{
  background:var(--card); border-radius:var(--radius); padding:26px 22px;
  box-shadow:var(--shadow-sm);
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.after-card:hover{ transform:translateY(-6px) rotate(-.6deg) scale(1.02); box-shadow:var(--shadow); }
.after-icon{
  font-family:var(--font-mono); font-weight:700; font-size:20px; color:var(--red);
  display:inline-block; margin-bottom:14px;
  transition:transform .35s cubic-bezier(.2,1.4,.4,1);
}
.after-card:hover .after-icon{ transform:scale(1.15) rotate(-4deg); }
.after-card h4{ font-size:17px; margin-bottom:8px; }
.after-card p{ font-size:14px; color:var(--ink-70); margin:0; }
@media (max-width:900px){ .after-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .after-grid{ grid-template-columns:1fr; } }

/* ---- download ---- */
.download{ background:var(--ink); color:var(--paper); position:relative; overflow:hidden; }
.download-inner{ display:flex; align-items:center; justify-content:space-between; gap:60px; position:relative; z-index:1; }
.download-text h2{ color:var(--paper); max-width:460px; }
.download-text p{ color:rgba(238,241,230,.72); max-width:420px; margin-bottom:28px; }

.download-stamp{ position:relative; width:180px; height:180px; flex:none; }
.download-stamp-svg{ width:100%; height:100%; animation:spin 30s linear infinite; }
.stamp-dash{ fill:none; stroke:rgba(238,241,230,.45); stroke-width:1.5; stroke-dasharray:1 7; }
.download-stamp-svg text{ fill:rgba(238,241,230,.75); font-family:var(--font-mono); letter-spacing:2px; }
.download-stamp-check{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-size:56px; color:var(--gold); font-family:var(--font-display);
}
@keyframes spin{ to{ transform:rotate(360deg); } }
@media (max-width:760px){ .download-inner{ flex-direction:column; text-align:center; } .download-stamp{ display:none; } }

/* =========================== FOOTER =========================== */
.site-footer{ background:#101A30; color:rgba(238,241,230,.75); padding:56px 0 100px; }
.footer-inner{ display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; }
.brand--footer{ display:flex; align-items:center; gap:10px; color:var(--paper); margin-bottom:14px; }
.brand-mark--muni{ margin-left:-2px; }
.footer-note{ font-size:13.5px; max-width:360px; color:rgba(238,241,230,.55); }
.footer-note a{ color:var(--gold); text-decoration:none; }
.footer-muni{ font-size:12.5px; font-style:italic; color:rgba(238,241,230,.5); margin:10px 0 0; }
.footer-contact{ font-family:var(--font-mono); font-size:13.5px; line-height:2; }

.to-top{
  position:fixed; bottom:26px; right:26px; z-index:90;
  width:46px; height:46px; border-radius:50%; border:none;
  background:var(--ink); color:var(--paper); font-size:18px; cursor:pointer;
  box-shadow:var(--shadow-sm); opacity:0; pointer-events:none; transform:translateY(10px);
  transition:opacity .3s, transform .3s;
}
.to-top.show{ opacity:1; pointer-events:auto; transform:translateY(0); }
.to-top:hover{ background:var(--red); }

/* =========================== RESPONSIVE NAV =========================== */
@media (max-width:760px){
  .nav-links{
    position:fixed; top:63px; left:0; right:0; background:var(--paper);
    flex-direction:column; align-items:flex-start; padding:20px 32px;
    gap:18px; border-bottom:1px solid rgba(22,33,62,.1);
    transform:translateY(-140%); transition:transform .3s ease; z-index:99;
  }
  .nav-links.open{ transform:translateY(0); }
  .nav-links a{ font-size:16px; padding:6px 0; }
  .nav-toggle{ display:flex; }
  .logo-lockup img{ height:44px; width:44px; }
}

/* =========================== MOBILE POLISH =========================== */
@media (max-width:640px){
  .section{ padding:64px 0; }
  .hero{ padding:44px 20px 28px; }
  .section-inner{ padding:0 20px; }
  .hero-stats{ gap:26px; row-gap:18px; flex-wrap:wrap; }
  .logo-lockup{ gap:10px; }
  .logo-lockup img{ height:40px; width:40px; padding:5px; }
  .visitor-stamp{ width:104px; height:104px; margin-top:28px; }
  .vs-inner{ width:84px; height:84px; }
  .vs-number{ font-size:15px; }
  .vs-label{ font-size:8.5px; }
  .ticker-track{ gap:14px; padding-left:14px; animation-duration:18s; }
  .ticker-track span{ font-size:10.5px; gap:14px; }
  .aurora-blob{ filter:blur(50px); opacity:.3; }
  .aurora-blob--4{ display:none; }
  .stop-card h3{ font-size:21px; }
  .after-card{ padding:22px 18px; }
  .stops{ gap:48px; }
}
@media (max-width:420px){
  .aurora-blob{ animation:none; }
}

/* =========================== LIGHTBOX =========================== */
.lightbox{
  position:fixed; inset:0; z-index:200;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:16px;
  background:rgba(16,26,48,.92);
  backdrop-filter:blur(6px);
  opacity:0; pointer-events:none;
  transition:opacity .3s ease;
  padding:24px;
}
.lightbox.open{ opacity:1; pointer-events:auto; }
.lightbox-stage{
  max-width:94vw; max-height:78vh;
  display:flex; align-items:center; justify-content:center;
  overflow:auto;
  border-radius:var(--radius-sm);
}
.lightbox-stage img{
  max-width:94vw; max-height:78vh;
  border-radius:var(--radius-sm);
  box-shadow:0 30px 60px -20px rgba(0,0,0,.6);
  cursor:zoom-in;
  transform:scale(1);
  transform-origin:var(--zoom-x, 50%) var(--zoom-y, 50%);
  transition:transform .35s cubic-bezier(.2,.8,.2,1);
  opacity:0;
}
.lightbox.open .lightbox-stage img{ opacity:1; }
.lightbox-stage img.zoomed{ transform:scale(2.2); cursor:zoom-out; }
.lightbox-close{
  position:absolute; top:18px; right:18px;
  width:46px; height:46px; border-radius:50%; border:1.5px solid rgba(238,241,230,.3);
  background:rgba(238,241,230,.08); color:var(--paper);
  font-size:18px; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s ease, transform .25s cubic-bezier(.2,1.4,.4,1), border-color .2s ease;
}
.lightbox-close:hover{ background:var(--red); border-color:var(--red); transform:rotate(90deg); }
.lightbox-hint{
  font-family:var(--font-mono); font-size:11.5px; letter-spacing:.03em;
  color:rgba(238,241,230,.55); text-align:center; margin:0; max-width:90vw;
}
@media (max-width:600px){
  .lightbox-close{ top:12px; right:12px; width:44px; height:44px; }
  .lightbox-hint{ font-size:10.5px; }
}
@media (prefers-reduced-motion: reduce){
  .lightbox, .lightbox-close, .lightbox-stage img{ transition:none; }
}
