:root {
  --bg: #04110d;
  --bg-2: #071a14;
  --mako: #5cf7b1;
  --mako-2: #9dffd6;
  --mako-dim: #1f7a56;
  --teal: #2fd6c8;
  --gold: #f2c766;
  --violet: #b48cff;
  --ash: #6c8a7e;
  --text: #e6f4ee;
  --muted: #9ab8ad;
  --card: rgba(6, 26, 20, 0.88);
  --card-border: rgba(92, 247, 177, 0.18);
  --serif: "Cinzel", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--mako); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

#lifestream {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(92, 247, 177, 0.06), transparent 60%),
    linear-gradient(to bottom, rgba(4, 17, 13, 0.2), rgba(4, 17, 13, 0.55));
}

main, header, footer { position: relative; z-index: 2; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(to bottom, rgba(4, 17, 13, 0.92), rgba(4, 17, 13, 0.4));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(92, 247, 177, 0.08);
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  font-size: 0.95rem;
}
.brand-mark {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--mako);
  box-shadow: 0 0 12px var(--mako), 0 0 28px rgba(92, 247, 177, 0.5);
  animation: pulse 3s ease-in-out infinite;
}
.topnav { display: flex; gap: 1.4rem; }
.topnav a {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.topnav a:hover { color: var(--mako); }
.topnav .tip-link { color: var(--gold); opacity: 0.85; }
.topnav .tip-link:hover { color: var(--gold); opacity: 1; text-shadow: 0 0 12px rgba(242, 199, 102, 0.5); }

/* ---------- hero ---------- */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.25rem 3rem;
  position: relative;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--mako);
  margin: 0 0 1rem;
  opacity: 0.85;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: 1;
  margin: 0;
  letter-spacing: 0.04em;
  color: var(--text);
}
.hero h1 span {
  display: inline-block;
  background: linear-gradient(90deg, var(--mako-2), var(--mako), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(92, 247, 177, 0.45));
}
.lede {
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 1.6rem auto 2.4rem;
}
.lede strong { color: var(--text); font-weight: 600; }

.countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}
.cd-units {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cd-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}
.cd-date .cd-value { font-size: 2.3rem; letter-spacing: 0.04em; }
.cd-now .cd-value { color: var(--gold); text-shadow: 0 0 20px rgba(242, 199, 102, 0.5); }
.cd-unit {
  border: 1px solid var(--card-border);
  background: var(--card);
  border-radius: 12px;
  padding: 0.9rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 5.5rem;
}
.cd-label, .cd-sub {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.cd-value {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--mako);
  text-shadow: 0 0 20px rgba(92, 247, 177, 0.5);
  line-height: 1.2;
}

.progress {
  width: min(34rem, 100%);
  border: 1px solid var(--card-border);
  background: var(--card);
  border-radius: 14px;
  padding: 1rem 1.25rem;
}
.progress-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.progress-head span:last-child { color: var(--mako); font-weight: 600; }
.progress-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(92, 247, 177, 0.1);
  margin: 0.6rem 0;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mako-dim), var(--mako), var(--mako-2));
  box-shadow: 0 0 14px rgba(92, 247, 177, 0.6);
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.progress-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}
.progress-stats b { color: var(--text); font-weight: 600; }
.progress-hours {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(92, 247, 177, 0.12);
}
.progress-hours div { display: flex; flex-direction: column; align-items: center; text-align: center; }
.progress-hours b {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--mako);
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.progress-hours span {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
  margin-top: 0.15rem;
}
.progress-note { margin: 0.7rem 0 0; font-size: 0.7rem; color: var(--ash); }

.scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  width: 22px; height: 36px;
  margin-left: -11px;
  border: 1.5px solid rgba(92, 247, 177, 0.4);
  border-radius: 12px;
}
.scroll-cue span {
  position: absolute;
  top: 6px; left: 50%;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--mako);
  animation: cue 2s ease-in-out infinite;
}

/* ---------- controls ---------- */
.controls {
  position: sticky;
  top: 3.3rem;
  z-index: 9;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
  padding: 0.8rem 1rem;
  margin: 0 auto;
  background: rgba(4, 17, 13, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(92, 247, 177, 0.08);
  border-bottom: 1px solid rgba(92, 247, 177, 0.08);
}
.control-group {
  display: inline-flex;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(6, 26, 20, 0.6);
}
.seg {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.seg + .seg { border-left: 1px solid var(--card-border); }
.seg.active { background: rgba(92, 247, 177, 0.16); color: var(--mako); }
.chips { gap: 0.3rem; padding: 0.25rem; border-radius: 999px; }
.chip {
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ash);
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  transition: all 0.2s;
}
.chip.active { color: var(--text); border-color: var(--card-border); background: rgba(92, 247, 177, 0.08); }
.country {
  position: relative;
  height: 2.3rem;
  padding: 0 0.6rem 0 0.85rem;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: rgba(6, 26, 20, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.country-label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ash);
  white-space: nowrap;
  pointer-events: none;
}
.country:hover, .country:focus-within { border-color: var(--mako); box-shadow: 0 0 12px rgba(92, 247, 177, 0.25); }
.country-flag { font-size: 1.15rem; line-height: 1; pointer-events: none; }
.country select {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 16px; /* keeps iOS from zooming on focus */
}
.reset {
  border: 1px solid transparent;
  background: transparent;
  color: var(--ash);
  font-size: 0.75rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  transition: all 0.2s;
}
.reset:hover { color: #ff8a8a; border-color: rgba(255, 138, 138, 0.3); }

/* ---------- road ---------- */
.road {
  position: relative;
  max-width: 68rem;
  margin: 0 auto;
  padding: 4rem 1rem 6rem;
}
.spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  margin-left: -2px;
}
.spine-track {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(92, 247, 177, 0.15) 4%, rgba(92, 247, 177, 0.15) 96%, transparent);
  border-radius: 2px;
}
.spine-fill {
  position: absolute; top: 0; left: 0; right: 0;
  height: 100%;
  transform-origin: top;
  transform: scaleY(0);
  will-change: transform;
  background: linear-gradient(to bottom, var(--mako-2), var(--mako), var(--teal));
  box-shadow: 0 0 12px var(--mako), 0 0 30px rgba(92, 247, 177, 0.5);
  border-radius: 2px;
}
.spine-head {
  position: absolute;
  left: 50%; top: 0;
  width: 16px; height: 16px;
  margin-left: -8px; margin-top: -8px;
  will-change: transform;
  border-radius: 50%;
  background: var(--mako-2);
  box-shadow: 0 0 20px var(--mako), 0 0 50px rgba(92, 247, 177, 0.7);
}

.entries {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}
.entry {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 4rem 1fr;
  align-items: center;
}
.entry .card, .entry .node, .entry .gallery {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.entry .gallery { transition-delay: 0.15s; }
.entry.visible .card, .entry.visible .node, .entry.visible .gallery { opacity: 1; transform: none; }
.entry.hidden { display: none; }

.entry .card { grid-column: 1; grid-row: 1; }
.entry .node { grid-column: 2; grid-row: 1; justify-self: center; }
.entry .gallery { grid-column: 3; grid-row: 1; }

.node {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(92, 247, 177, 0.4);
  background: var(--bg);
  display: grid;
  place-items: center;
  padding: 0;
  transition: all 0.3s;
  position: relative;
  z-index: 2;
}
.node-core {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(92, 247, 177, 0.35);
  transition: all 0.3s;
}
.entry.visible .node { border-color: var(--mako); box-shadow: 0 0 14px rgba(92, 247, 177, 0.4); }
.entry.done .node { border-color: var(--mako-2); background: var(--mako-dim); box-shadow: 0 0 22px var(--mako); }
.entry.done .node-core { background: var(--mako-2); box-shadow: 0 0 10px var(--mako-2); }

.entry.required .node { width: 40px; height: 40px; border-width: 3px; }
.entry.required .node-core { width: 16px; height: 16px; }
.entry.destination .node {
  width: 56px; height: 56px;
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(242, 199, 102, 0.5);
  animation: pulse 2.5s ease-in-out infinite;
}
.entry.destination .node-core { width: 22px; height: 22px; background: var(--gold); box-shadow: 0 0 16px var(--gold); }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.entry.visible .card:hover { border-color: rgba(92, 247, 177, 0.4); transform: translateY(-2px); }
.entry.required .card {
  border-color: rgba(92, 247, 177, 0.45);
  box-shadow: 0 0 0 1px rgba(92, 247, 177, 0.15), 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(92, 247, 177, 0.08);
}
.entry.destination .card {
  border-color: rgba(242, 199, 102, 0.5);
  box-shadow: 0 0 0 1px rgba(242, 199, 102, 0.15), 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(242, 199, 102, 0.1);
}
.entry.done .card-title::after { content: " ✓"; color: var(--mako); }
.entry.done.visible .card, .entry.done.visible .gallery { opacity: 0.55; }
.entry.done.visible .card:hover, .entry.done.visible .gallery:hover { opacity: 0.85; }

/* ---------- lifestream burst on the node ---------- */
.node-burst {
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  pointer-events: none;
  z-index: 3;
}
.node-burst i {
  position: absolute;
  left: 0; top: 0;
  width: var(--s, 3px); height: var(--s, 3px);
  margin: calc(var(--s, 3px) / -2) 0 0 calc(var(--s, 3px) / -2);
  border-radius: 50%;
  background: var(--mako-2);
  box-shadow: 0 0 6px var(--mako), 0 0 12px rgba(92, 247, 177, 0.6);
  animation: spark var(--t, 900ms) cubic-bezier(0.1, 0.8, 0.3, 1) var(--d, 0ms) both;
}
.node-burst i.gold { background: #fff1c2; box-shadow: 0 0 6px var(--gold), 0 0 12px rgba(242, 199, 102, 0.6); }
.node-burst b {
  position: absolute;
  left: 0; top: 0;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  border: 1.5px solid var(--mako-2);
  box-shadow: 0 0 10px rgba(92, 247, 177, 0.6);
  animation: ring 900ms ease-out both;
}
@keyframes spark {
  0%   { transform: translate(0, 0) scale(0.4); opacity: 0; }
  12%  { opacity: 1; transform: translate(calc(var(--dx) * 0.25), calc(var(--dy) * 0.25)) scale(1); }
  100% { transform: translate(var(--dx), calc(var(--dy) - 14px)) scale(0); opacity: 0; }
}
@keyframes ring {
  0%   { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(7); opacity: 0; }
}
/* faint motes that keep drifting up from an experienced node */
.entry.done .node::before, .entry.done .node::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 3px; height: 3px;
  margin: -1.5px 0 0 -1.5px;
  border-radius: 50%;
  background: var(--mako-2);
  box-shadow: 0 0 6px var(--mako);
  pointer-events: none;
  animation: mote 4.5s ease-in-out infinite;
}
.entry.done .node::after { animation-delay: 2.2s; animation-duration: 5.5s; --mx: 9px; }
@keyframes mote {
  0%   { transform: translate(0, 0) scale(0.6); opacity: 0; }
  15%  { opacity: 0.9; }
  100% { transform: translate(calc(var(--mx, -8px)), -34px) scale(0.2); opacity: 0; }
}

/* connector from node to card */
.card::before, .gallery::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(92, 247, 177, 0.5), transparent);
  right: -2rem;
}
.gallery::before {
  right: auto; left: -2rem;
  background: linear-gradient(270deg, rgba(92, 247, 177, 0.35), transparent);
}

/* ---------- gallery ---------- */
.gallery {
  position: relative;
  align-self: center;
  width: min(100%, 30rem);
  margin-left: 0.5rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.entry.visible .gallery:hover { border-color: rgba(92, 247, 177, 0.4); }
.entry.destination .gallery { border-color: rgba(242, 199, 102, 0.35); }
.gallery-frame {
  position: relative;
  aspect-ratio: 16 / 9; /* matches YouTube embeds */
  background:
    radial-gradient(ellipse at 50% 60%, rgba(92, 247, 177, 0.1), transparent 70%),
    var(--bg-2);
}
.gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.5s ease;
}
.gallery-img.fading { opacity: 0; }
.gallery-img.broken { opacity: 0; }
.gallery-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}
.gallery-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.gallery-play::before {
  content: "";
  width: 64px; height: 44px;
  border-radius: 12px;
  background: rgba(4, 17, 13, 0.7);
  border: 1px solid rgba(92, 247, 177, 0.45);
  box-shadow: 0 0 18px rgba(92, 247, 177, 0.25);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.gallery-play::after {
  content: "";
  position: absolute;
  width: 0; height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--mako);
}
.gallery-play:hover::before {
  background: rgba(92, 247, 177, 0.22);
  transform: scale(1.06);
  box-shadow: 0 0 26px rgba(92, 247, 177, 0.45);
}
.gallery-frame.playing::after { display: none; }
.gallery-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(4, 17, 13, 0.55), transparent 45%);
}
.gallery-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.5rem;
  border-top: 1px solid rgba(92, 247, 177, 0.1);
}
.gallery-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: rgba(92, 247, 177, 0.06);
  color: var(--mako);
  font-size: 1.2rem;
  line-height: 1;
  display: grid;
  place-items: center;
  padding: 0 0 2px;
  transition: all 0.2s;
}
.gallery-btn:hover { background: rgba(92, 247, 177, 0.18); border-color: var(--mako); }
.gallery-dots { display: flex; gap: 6px; }
.gallery-dots button {
  width: 8px; height: 8px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(92, 247, 177, 0.35);
  background: rgba(92, 247, 177, 0.12);
  transition: all 0.2s;
}
.gallery-dots button.on { background: var(--mako); box-shadow: 0 0 8px var(--mako); border-color: var(--mako-2); }

.card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}
.badge {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid;
}
.badge.type { color: var(--muted); border-color: rgba(154, 184, 173, 0.35); }
.badge.track { font-weight: 600; }
.badge.track.required { color: var(--mako); border-color: var(--mako); background: rgba(92, 247, 177, 0.1); }
.badge.track.recommended { color: var(--teal); border-color: var(--teal); }
.badge.track.optional { color: var(--violet); border-color: var(--violet); }
.badge.track.deepcut { color: var(--ash); border-color: var(--ash); }
.badge.track.destination { color: var(--gold); border-color: var(--gold); background: rgba(242, 199, 102, 0.1); }
.year {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.card-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
  color: var(--text);
}
.entry.required .card-title { font-size: 1.5rem; }
.entry.destination .card-title { font-size: 1.6rem; color: var(--gold); }
.card-sub { margin: 0.2rem 0 0.8rem; color: var(--muted); font-size: 0.85rem; }
.card-blurb { margin: 0 0 0.9rem; font-size: 0.93rem; }

.weight {
  display: flex;
  gap: 5px;
  margin-bottom: 0.7rem;
  align-items: center;
}
.weight i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(92, 247, 177, 0.12);
  border: 1px solid rgba(92, 247, 177, 0.25);
}
.weight i.on {
  background: var(--mako);
  box-shadow: 0 0 8px var(--mako);
  border-color: var(--mako-2);
}
.weight small {
  margin-left: 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.card-why {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  color: var(--mako-2);
  border-left: 2px solid rgba(92, 247, 177, 0.4);
  padding-left: 0.75rem;
}
.card-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
}
.card-where { margin: 0 0 1rem; }
.where-title {
  margin: 0 0 0.45rem;
  color: var(--ash);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.62rem;
}
.card-meta dt { color: var(--ash); letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.62rem; }
.card-meta dd { margin: 0; color: var(--muted); }
.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.card-links a {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--mako-2);
  border: 1px solid rgba(92, 247, 177, 0.3);
  background: rgba(92, 247, 177, 0.05);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  transition: all 0.2s;
}
.card-links a::after { content: " ↗"; opacity: 0.6; }
.card-links a:hover { border-color: var(--mako); background: rgba(92, 247, 177, 0.15); color: var(--text); }
.card-links a.unverified { border-style: dashed; }
.done-btn {
  width: 100%;
  border: 1px solid var(--card-border);
  background: rgba(92, 247, 177, 0.06);
  color: var(--mako);
  padding: 0.55rem;
  border-radius: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.done-btn:hover { background: rgba(92, 247, 177, 0.16); border-color: var(--mako); }
.entry.done .done-btn { background: rgba(92, 247, 177, 0.2); border-color: var(--mako); }
.entry.destination .done-btn { display: none; }

/* ---------- guide / about ---------- */
.guide, .about {
  max-width: 60rem;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}
.guide h2, .about h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  margin: 0 0 1.5rem;
  color: var(--mako-2);
}
.legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
}
.legend-item {
  display: flex;
  gap: 0.8rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1rem;
}
.legend-item .dot {
  flex: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  margin-top: 0.35rem;
}
.legend-item.required .dot { background: var(--mako); box-shadow: 0 0 10px var(--mako); }
.legend-item.recommended .dot { background: var(--teal); }
.legend-item.optional .dot { background: var(--violet); }
.legend-item.deepcut .dot { background: var(--ash); }
.legend-item b { display: block; font-family: var(--serif); letter-spacing: 0.05em; }
.legend-item p { margin: 0.25rem 0 0; font-size: 0.85rem; color: var(--muted); }

.paths {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}
.path-card {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.2rem;
  background: linear-gradient(160deg, rgba(92, 247, 177, 0.06), transparent 60%), var(--card);
}
.path-card h3 { font-family: var(--serif); margin: 0 0 0.4rem; font-size: 1.05rem; color: var(--mako); }
.path-card p { margin: 0; font-size: 0.88rem; color: var(--muted); }

.tipjar {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1.25rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem 1.4rem;
  text-align: center;
}
.tipjar p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.tip-btn {
  display: inline-block;
  border: 1px solid rgba(242, 199, 102, 0.5);
  background: rgba(242, 199, 102, 0.08);
  color: var(--gold);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.tip-btn:hover { background: rgba(242, 199, 102, 0.18); border-color: var(--gold); box-shadow: 0 0 18px rgba(242, 199, 102, 0.3); }

.about p { color: var(--muted); max-width: 46rem; }
.about em { color: var(--text); font-style: normal; font-weight: 600; }

.footer {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ash);
  border-top: 1px solid rgba(92, 247, 177, 0.08);
}

/* ---------- animation ---------- */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.8; }
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .entry .card, .entry .node { transition: none; opacity: 1; transform: none; }
  .brand-mark, .entry.destination .node, .scroll-cue span { animation: none; }
  .entry.done .node::before, .entry.done .node::after { display: none; }
}

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .topnav { display: none; }
  .controls { position: static; }
  .spine { left: 1.4rem; }
  .entry {
    grid-template-columns: 2.8rem 1fr;
    grid-template-rows: auto auto;
    row-gap: 0.8rem;
  }
  .entry .card { grid-column: 2; grid-row: 1; }
  .entry .node { grid-column: 1; grid-row: 1; align-self: start; margin-top: 1.4rem; }
  .entry .gallery { grid-column: 2; grid-row: 2; width: 100%; margin-left: 0; align-self: start; }
  .card::before, .gallery::before { display: none; }
  .entries { gap: 2.2rem; }
  .cd-units { gap: 0.5rem; }
  .cd-unit { min-width: 4.4rem; padding: 0.7rem 0.9rem; }
  .progress-stats { flex-wrap: wrap; gap: 0.5rem 1rem; }
  .progress-hours { grid-template-columns: repeat(2, 1fr); gap: 0.7rem 0.5rem; }
}
