:root {
  --red: #ee1f27;
  --red-dark: #c4141b;
  --blue: #2b3990;
  --ink: #141414;
  --muted: #5d5a55;
  --paper: #faf6ef;
  --card: #ffffff;
  --line: #e7e0d4;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.05; margin: 0; }
a { color: inherit; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.4em;
  border-radius: 999px;
  background: var(--red); color: #fff;
  font: 500 1rem var(--sans);
  text-decoration: none; border: 2px solid var(--red);
  cursor: pointer; transition: transform .15s, background .15s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.btn svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; }
.btn svg .fill { fill: currentColor; stroke: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--small { padding: .5em 1.05em; font-size: .92rem; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(250, 246, 239, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__logo img { height: 46px; width: auto; margin: -8px 0; }
.nav__links { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px); }
.nav__links > a:not(.btn) { text-decoration: none; font-weight: 500; }
.nav__links > a:not(.btn):hover { color: var(--red); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(32px, 5vw, 72px) clamp(16px, 4vw, 48px);
  max-width: 1280px; margin: 0 auto;
}
.eyebrow {
  margin: 0 0 12px; text-transform: uppercase; letter-spacing: .18em;
  font-size: .8rem; font-weight: 600; color: var(--red);
}
.hero h1 { font-size: clamp(3.2rem, 9vw, 7rem); font-weight: 800; letter-spacing: -.02em; }
.dot {
  display: inline-block; width: .22em; height: .22em; margin-left: .06em;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--red) 0 50%, var(--blue) 50% 100%);
}
/* Easter egg: the dot links to the hidden game but must look exactly like the plain dot. */
.easter-egg-trigger {
  position: relative;
  vertical-align: baseline;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.easter-egg-trigger::after { content: ""; position: absolute; inset: -14px; } /* finger-sized tap area */

/* A little "heartbeat" plus a red ripple every few seconds, so it begs to be tapped. */
.easter-egg-trigger {
  transform-origin: 50% 50%;
  transition: transform .2s ease;
  animation: egg-beat 2.8s ease-in-out 1.2s infinite;
}
.easter-egg-trigger::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  pointer-events: none;
  animation: egg-ring 2.8s ease-out 1.2s infinite;
}
.easter-egg-trigger:hover,
.easter-egg-trigger:focus-visible {
  animation-play-state: paused;
  transform: scale(1.35);
}
@keyframes egg-beat {
  0%, 30%, 100% { transform: scale(1); }
  8%  { transform: scale(1.3); }
  16% { transform: scale(1); }
  22% { transform: scale(1.18); }
}
@keyframes egg-ring {
  0%   { box-shadow: 0 0 0 0 rgba(238, 31, 39, .55); }
  45%  { box-shadow: 0 0 0 .28em rgba(238, 31, 39, 0); }
  100% { box-shadow: 0 0 0 .28em rgba(238, 31, 39, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .easter-egg-trigger, .easter-egg-trigger::before { animation: none; }
}

/* One-time hint bubble next to the dot (added by easter-egg.js). */
.easter-egg-trigger.is-hinting,
.easter-egg-trigger.is-hinting::before { animation-play-state: paused; }
.egg-hint {
  position: absolute;
  right: -12px;
  bottom: 390%; /* % of the dot's size → clears the letters at any heading size */
  padding: 7px 12px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font: 500 14px/1.2 var(--sans);
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px) scale(.9);
  transform-origin: 90% 100%;
  transition: opacity .3s ease, transform .35s cubic-bezier(.2, 1.4, .4, 1);
}
.egg-hint::after { /* little tail pointing at the dot */
  content: "";
  position: absolute;
  right: 14px;
  top: 100%;
  border: 7px solid transparent;
  border-top-color: var(--ink);
}
.egg-hint.is-visible { opacity: 1; transform: none; }

/* Logo wiggle while tapping it towards the secret. */
.nav__logo { display: inline-block; }
.nav__logo.egg-wiggle { animation: egg-wiggle .4s ease-in-out; }
@keyframes egg-wiggle {
  25% { transform: rotate(-6deg) scale(1.04); }
  50% { transform: rotate(5deg) scale(1.06); }
  75% { transform: rotate(-3deg) scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  .egg-hint { transition: opacity .3s ease; transform: none; }
  .nav__logo.egg-wiggle { animation: none; }
}
.easter-egg-trigger:focus { outline: none; }
.easter-egg-trigger:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.definition {
  margin: 24px 0 32px; max-width: 30em;
  font-family: var(--serif); font-size: 1.15rem; color: var(--muted);
  border-left: 3px solid var(--red); padding-left: 18px;
}
.definition__word { color: var(--red); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__image img {
  width: 100%; aspect-ratio: 1 / 1; max-height: 72vh; object-fit: cover; object-position: 55% 55%;
  border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(120, 20, 10, .45);
  transform: rotate(1.5deg);
}

/* Order */
.order { background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 104px) clamp(16px, 4vw, 48px); }
.order__inner { max-width: 1100px; margin: 0 auto; }
.order h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 600; margin-bottom: 40px; }
.order .eyebrow { margin-bottom: 10px; }
.order__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: stretch; }

.panel {
  display: flex; flex-direction: column; gap: 22px;
  padding: clamp(22px, 3vw, 34px); border-radius: var(--radius);
  background: #1f1f1f; border: 1px solid #2d2d2d;
}
.panel--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.panel__head { display: flex; gap: 16px; align-items: center; }
.panel__head h3 { font-size: 1.7rem; font-weight: 600; }
.panel__head p { margin: 2px 0 0; color: #bdb7ad; font-size: .98rem; }
.panel--light .panel__head p { color: var(--muted); }
.panel__icon {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; background: var(--red); color: #fff;
}
.panel__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }

.channels { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: ch; }
.channels li { counter-increment: ch; }
.channel {
  position: relative;
  display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center;
  padding: 18px 18px 18px 20px; border-radius: 14px;
  background: #282828; border: 1px solid #353535;
  color: #fff; text-decoration: none;
  transition: border-color .15s, transform .15s, background .15s;
}
.channel::before {
  content: "0" counter(ch);
  position: absolute; top: 10px; right: 14px;
  font: 600 .72rem var(--serif); color: #77716a; letter-spacing: .05em;
}
.channel:hover { border-color: var(--red); background: #2d2424; transform: translateY(-2px); }
.channel__logo {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: #fff; color: var(--ink);
}
.channel__logo svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.channel__logo svg .fill { fill: currentColor; stroke: none; }
.channel__name { display: block; font-weight: 600; font-size: 1.15rem; }
.channel__handle { font-weight: 400; font-size: .85rem; color: #a49e95; margin-left: 6px; }
.channel__desc { display: block; color: #cfcac2; font-size: .95rem; line-height: 1.45; margin-top: 2px; }
.channel__cta {
  font-weight: 500; font-size: .92rem; white-space: nowrap;
  padding: .5em 1em; border-radius: 999px; background: var(--red);
}
.channel:hover .channel__cta { background: var(--red-dark); }

.shop-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; flex: 1; align-content: flex-start; }
.shop-chips button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 7px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  font: 500 .92rem var(--sans); cursor: pointer; transition: border-color .15s;
}
.shop-chips button:hover { border-color: var(--red); }
.shop-chips b {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; font: 800 .78rem var(--serif);
}
.panel--light .btn { align-self: flex-start; }

/* Locations */
.locations { max-width: 1280px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) clamp(16px, 4vw, 48px); }
.locations__head { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 24px; margin-bottom: 32px; }
.locations__head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 600; width: 100%; }
.locations__head p { margin: 0; color: var(--muted); flex: 1 1 320px; }
.locations__head .btn svg { stroke-width: 1.8; }

.locations__body {
  display: grid; grid-template-columns: minmax(300px, 420px) 1fr; gap: 20px;
  height: 600px;
}
.loc-list {
  list-style: none; margin: 0; padding: 0 6px 0 0;
  display: flex; flex-direction: column; gap: 10px;
  overflow-y: auto;
}
.loc {
  display: grid; grid-template-columns: 38px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 16px; border-radius: 14px;
  background: var(--card); border: 2px solid transparent;
  box-shadow: 0 1px 0 var(--line);
  cursor: pointer; transition: border-color .15s, transform .15s;
  text-align: left; width: 100%; font: inherit; color: inherit;
}
.loc:hover { transform: translateX(3px); }
.loc.is-active { border-color: var(--red); }
.loc__pin {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); color: var(--red);
  font-family: var(--serif); font-weight: 800;
}
.loc.is-active .loc__pin { background: var(--red); color: #fff; }
.loc__name { font-weight: 600; font-size: 1.05rem; line-height: 1.25; }
.loc__addr { color: var(--muted); font-size: .92rem; }
.loc__meta { display: flex; gap: 8px; margin-top: 4px; font-size: .78rem; }
.tag { padding: 1px 8px; border-radius: 999px; background: var(--paper); color: var(--muted); }
.tag--dist { background: #fde7e8; color: var(--red-dark); }
.loc__go {
  font-size: .85rem; font-weight: 500; text-decoration: none;
  padding: .45em .9em; border-radius: 999px; border: 1.5px solid var(--ink);
  white-space: nowrap;
}
.loc__go:hover { background: var(--ink); color: #fff; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
#map { width: 100%; height: 100%; background: #e9e4da; }
#map .leaflet-tile-pane { filter: saturate(.55) sepia(.12); }

/* Leaflet custom marker + popup */
.pin {
  width: 34px; height: 34px; border-radius: 50% 50% 50% 0;
  background: var(--red); transform: rotate(-45deg);
  display: grid; place-items: center;
  border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,.25);
  transition: transform .15s;
}
.pin span { transform: rotate(45deg); color: #fff; font: 800 14px var(--serif); }
.pin.is-active { background: var(--blue); transform: rotate(-45deg) scale(1.2); }
.leaflet-popup-content-wrapper { border-radius: 12px; font-family: var(--sans); }
.leaflet-popup-content { margin: 12px 16px; font-size: .95rem; }
.leaflet-popup-content strong { display: block; font-size: 1.02rem; }
.leaflet-popup-content a { color: var(--red); font-weight: 500; }

/* Footer */
.footer {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 48px 16px 40px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .92rem;
}
.footer__logo { height: 54px; width: auto; }
.footer a { text-decoration: none; font-weight: 500; color: var(--ink); }
.footer a:hover { color: var(--red); }
.footer p { margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .order__grid { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero__image { order: -1; }
  .hero__image img { aspect-ratio: auto; height: min(62vw, 420px); max-height: none; transform: none; }
  .locations__body { grid-template-columns: 1fr; height: auto; }
  .map-wrap { order: -1; height: 340px; }
  .loc-list { overflow: visible; padding: 0; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .nav__links > a:not(.btn) { display: none; }
  .nav__logo img { height: 38px; }
  .order__grid { grid-template-columns: 1fr; }
  .channel { grid-template-columns: 40px 1fr; padding: 16px; }
  .channel__logo { width: 40px; height: 40px; }
  .channel__cta { grid-column: 2; justify-self: start; }
  .channel__handle { display: block; margin: 0; }
  .loc { grid-template-columns: 34px 1fr; }
  .loc__go { grid-column: 2; justify-self: start; }
}
