/* ===== Tokens ===== */
:root {
  --saffron: #FF9933;
  --indigo: #000080;
  --accent-green: #00FF41;
  --near-black: #0D0D0D;
  --off-white: #F5F0E8;
  --font: 'Montserrat', Arial, sans-serif;
  --font-display: 'Bricolage Grotesque', 'Montserrat', Arial, sans-serif;
  --container-width: 1100px;
  --space-lg: 5rem;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol, figure, form { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
input { font: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--near-black);
  color: var(--off-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

:focus-visible { outline: 2px solid var(--accent-green); outline-offset: 3px; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3 { font-weight: 900; line-height: 1.1; letter-spacing: -0.01em; }
h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3rem);
  margin-bottom: 0.75rem;
}
h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
p { font-weight: 500; }

.section-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 0.75rem;
}
.how-it-works .section-kicker,
.proof .section-kicker { color: var(--saffron); }

/* ===== Film-grain overlay ===== */
.grain {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ===== Poster-style section dividers ===== */
.poster-divider {
  background: var(--off-white);
  color: var(--near-black);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  overflow: hidden;
}
.poster-divider-dark { background: var(--near-black); color: var(--off-white); }
.poster-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--saffron);
  border: 1.5px solid var(--saffron);
  border-radius: 999px;
  width: 2.2rem; height: 2.2rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.poster-word {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.5rem, 6vw, 2.75rem);
  white-space: nowrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block; font-family: var(--font); font-weight: 700; font-size: 1rem;
  text-decoration: none; padding: 0.95rem 2.25rem; border: none; border-radius: 999px;
  text-align: center; transition: opacity 0.15s ease, transform 0.15s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn-primary { background: var(--saffron); color: var(--near-black); }
.btn-primary:hover, .btn-primary:focus-visible { opacity: 0.9; }
.btn-footer { background: var(--near-black); color: var(--off-white); margin: 1.75rem 0 1.25rem; }
.btn-footer:hover, .btn-footer:focus-visible { opacity: 0.85; }
.btn-pulse { animation: btnPulse 3.2s ease-in-out infinite; }
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 153, 51, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(255, 153, 51, 0); }
}
.btn-footer.btn-pulse { animation-name: btnPulseDark; }
@keyframes btnPulseDark {
  0%, 100% { box-shadow: 0 0 0 0 rgba(13, 13, 13, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(13, 13, 13, 0); }
}
.btn-magnetic { transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.15s ease; }
.btn-magnetic span { display: inline-block; }

/* ===== Sticker badges ===== */
.sticker-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--saffron); border: 1.5px dashed var(--saffron);
  border-radius: 999px; padding: 0.4rem 1rem; transform: rotate(-4deg);
}
.sticker-badge-dark {
  position: absolute; top: -12px; right: 1.25rem; background: var(--saffron);
  color: var(--near-black); border: none; transform: rotate(5deg);
}

/* ===== Marquee ===== */
.marquee { background: var(--saffron); color: var(--near-black); overflow: hidden; white-space: nowrap; padding: 0.6rem 0; position: relative; }
.marquee-dark { background: var(--near-black); color: var(--off-white); }
.marquee-track {
  display: inline-block; font-family: var(--font-display); font-weight: 800;
  font-size: 0.95rem; letter-spacing: 0.03em; animation: marqueeScroll 28s linear infinite;
}
.marquee-track span.dot { color: var(--indigo); margin: 0 0.6em; }
.marquee-dark .marquee-track span.dot { color: var(--saffron); }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--near-black); padding: var(--space-lg) 0; text-align: center; overflow: hidden;
}
.hero-bg-photo {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.32) saturate(1.15);
}
.hero-bg {
  position: absolute; inset: -12%; z-index: 0;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 153, 51, 0.20), transparent 55%),
    radial-gradient(circle at 76% 74%, rgba(0, 0, 128, 0.40), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(255, 153, 51, 0.08), transparent 60%);
  animation: heroGlow 16s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.08); }
}
.hero-ghost-text {
  position: absolute; z-index: 0; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(6rem, 26vw, 22rem); color: transparent;
  -webkit-text-stroke: 1px rgba(245, 240, 232, 0.06); white-space: nowrap; user-select: none; line-height: 1;
}
.hero-embers { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.ember {
  position: absolute; bottom: -5%; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle, var(--saffron), transparent 70%); filter: blur(1px);
  opacity: 0; animation: emberDrift 12s linear infinite;
}
.ember-indigo { background: radial-gradient(circle, #4d4dff, transparent 70%); }
.ember:nth-child(1) { left: 8%;  animation-delay: 0s;   animation-duration: 13s; }
.ember:nth-child(2) { left: 19%; animation-delay: 2.2s; animation-duration: 10s; }
.ember:nth-child(3) { left: 33%; animation-delay: 4.5s; animation-duration: 14s; }
.ember:nth-child(4) { left: 48%; animation-delay: 1.1s; animation-duration: 11s; }
.ember:nth-child(5) { left: 63%; animation-delay: 5.8s; animation-duration: 12s; }
.ember:nth-child(6) { left: 78%; animation-delay: 3.3s; animation-duration: 15s; }
.ember:nth-child(7) { left: 90%; animation-delay: 0.7s; animation-duration: 10.5s; }
.ember:nth-child(8) { left: 55%; animation-delay: 6.6s; animation-duration: 13.5s; }
@keyframes emberDrift {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  12% { opacity: 0.55; }
  85% { opacity: 0.25; }
  100% { transform: translateY(-70vh) scale(1.6); opacity: 0; }
}
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 1.15rem; }
.logo { width: 150px; }
.hero-headline {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem, 8vw, 4.2rem); line-height: 1.05; max-width: 16ch; margin-top: 0.15rem;
}
.hero-subline { color: rgba(245, 240, 232, 0.72); font-size: 1.05rem; max-width: 34ch; margin-top: -0.4rem; }
.hero-inner > * { opacity: 0; animation: heroRise 0.8s ease forwards; }
.hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.2s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.35s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.5s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.65s; }
@keyframes heroRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 22px; height: 36px; border: 2px solid rgba(245, 240, 232, 0.4); border-radius: 12px;
}
.scroll-cue span {
  display: block; width: 4px; height: 8px; margin: 6px auto 0;
  background: var(--saffron); border-radius: 2px; animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ===== Scroll-reveal ===== */
.js-ready [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.js-ready .steps.is-visible .step,
.js-ready .menu-grid.is-visible .dish-card,
.js-ready .testimonial-carousel.is-visible .t-card,
.js-ready .stations-list.is-visible li {
  opacity: 0; transform: translateY(16px); animation: heroRise 0.6s ease forwards;
}
.steps.is-visible .step:nth-child(1), .menu-grid.is-visible .dish-card:nth-child(1), .stations-list.is-visible li:nth-child(1) { animation-delay: 0.05s; }
.steps.is-visible .step:nth-child(2), .menu-grid.is-visible .dish-card:nth-child(2), .stations-list.is-visible li:nth-child(2) { animation-delay: 0.12s; }
.steps.is-visible .step:nth-child(3), .menu-grid.is-visible .dish-card:nth-child(3), .stations-list.is-visible li:nth-child(3) { animation-delay: 0.19s; }
.steps.is-visible .step:nth-child(4), .menu-grid.is-visible .dish-card:nth-child(4), .stations-list.is-visible li:nth-child(4) { animation-delay: 0.26s; }
.menu-grid.is-visible .dish-card:nth-child(5), .stations-list.is-visible li:nth-child(5) { animation-delay: 0.33s; }

@media (prefers-reduced-motion: reduce) {
  .hero-bg, .ember, .btn-pulse, .scroll-cue span, .marquee-track,
  .hero-inner > *, .js-ready [data-reveal],
  .js-ready .steps.is-visible .step, .js-ready .menu-grid.is-visible .dish-card,
  .js-ready .testimonial-carousel.is-visible .t-card, .js-ready .stations-list.is-visible li,
  .ingredient-chip {
    animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important;
  }
  .btn-magnetic { transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== Alternating section backgrounds ===== */
.this-week, .stations { background: var(--off-white); color: var(--near-black); padding: var(--space-lg) 0; }
.how-it-works, .proof { background: var(--near-black); color: var(--off-white); padding: var(--space-lg) 0; position: relative; }

/* ===== How it works — infographic bento with fill-in connector ===== */
.steps.bento { display: grid; grid-template-columns: 1fr; gap: 1.25rem; counter-reset: step; }
.step {
  position: relative; overflow: hidden; counter-increment: step;
  background: rgba(245, 240, 232, 0.03); border: 1px solid rgba(245, 240, 232, 0.1);
  border-radius: 18px; padding: 1.75rem; transition: border-color 0.2s ease, transform 0.2s ease;
}
.step:hover { border-color: rgba(255, 153, 51, 0.4); transform: translateY(-3px); }
.step-ghost {
  position: absolute; right: -0.4rem; bottom: -1.2rem; font-family: var(--font-display); font-weight: 800;
  font-size: 6rem; color: transparent; -webkit-text-stroke: 1px rgba(255, 153, 51, 0.15); line-height: 1; pointer-events: none;
}
.step h3 { display: flex; align-items: center; position: relative; z-index: 1; }
.step h3::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800; color: var(--saffron);
  font-size: 0.85rem; border: 1.5px solid var(--saffron); border-radius: 999px;
  width: 1.9rem; height: 1.9rem; display: inline-flex; align-items: center; justify-content: center;
  margin-right: 0.6rem; flex-shrink: 0;
}
.step p { color: rgba(245, 240, 232, 0.75); position: relative; z-index: 1; }
.dot-accent { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-green); margin-right: 8px; }
@media (min-width: 768px) {
  .steps.bento { grid-template-columns: repeat(4, 1fr); }
}

/* ===== This week's drop + Menu ===== */
.drop-card {
  background: var(--near-black); color: var(--off-white); padding: 2rem; max-width: 420px;
  border-radius: 18px; border-left: 6px solid var(--saffron); position: relative; animation: dropGlow 3.5s ease-in-out infinite;
}
@keyframes dropGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 153, 51, 0.15); }
  50% { box-shadow: 0 0 24px 2px rgba(255, 153, 51, 0.15); }
}
.drop-day { text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--saffron); font-size: 0.85rem; margin-bottom: 0.6rem; }
.drop-dish { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; margin-bottom: 0.5rem; }
.drop-price { font-size: 1.25rem; font-weight: 700; }
.scarcity-line { margin-top: 1.25rem; font-size: 0.9rem; color: rgba(13, 13, 13, 0.65); max-width: 46ch; }
.delivery-fee-note {
  margin-top: 0.6rem; font-size: 0.9rem; font-weight: 700; color: var(--near-black);
  background: rgba(255, 153, 51, 0.15); display: inline-block; padding: 0.5rem 1rem; border-radius: 999px;
}

.menu-heading { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; margin-top: 3rem; margin-bottom: 1.25rem; }
.menu-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.dish-card {
  display: flex; flex-direction: column; width: 100%; text-align: left; background: var(--near-black); color: var(--off-white);
  border: none; border-radius: 16px; overflow: hidden; padding: 0; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dish-card:hover, .dish-card:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 30px -12px rgba(255, 153, 51, 0.4); }
.dish-card-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.dish-card-body { padding: 1.1rem 1.25rem 1.25rem; }
.dish-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.dish-card-name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.dish-card-price { color: var(--saffron); font-weight: 700; white-space: nowrap; }
.dish-card-meta { font-size: 0.8rem; color: rgba(245, 240, 232, 0.55); margin-top: 0.4rem; }
@media (min-width: 640px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== Inside the kitchen — photo + ambient video moment ===== */
.kitchen-glimpse { background: var(--near-black); color: var(--off-white); padding: var(--space-lg) 0; }
.kitchen-media-grid { display: grid; grid-template-columns: 1fr; gap: 0.9rem; margin-top: 1.5rem; }
.kitchen-media-tile { position: relative; margin: 0; border-radius: 16px; overflow: hidden; }
.kitchen-media-item {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  background: rgba(245, 240, 232, 0.04);
}
.kitchen-media-tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.75rem 1rem 0.75rem;
  background: linear-gradient(0deg, rgba(13,13,13,0.85), transparent);
  font-size: 0.85rem; font-weight: 600; color: var(--off-white);
}
@media (min-width: 768px) { .kitchen-media-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .kitchen-media-grid { grid-template-columns: repeat(4, 1fr); } }

/* ===== Our promise ===== */
.promise { background: var(--off-white); color: var(--near-black); padding: var(--space-lg) 0; }
.promise-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.promise-item { text-align: center; padding: 1.5rem 1rem; }
.promise-percent { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; color: var(--saffron); }
.promise-item h3 { margin-top: 0.25rem; }
.promise-item p { color: rgba(13,13,13,0.65); font-size: 0.92rem; }
@media (min-width: 768px) { .promise-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== Dish detail modal — 3D scatter reveal ===== */
.dish-modal { position: fixed; inset: 0; z-index: 500; }
.dish-modal[hidden] { display: none; }
.dish-modal-backdrop { position: absolute; inset: 0; background: rgba(13, 13, 13, 0.75); backdrop-filter: blur(4px); }
.dish-modal-panel {
  position: relative; z-index: 1; max-width: 480px; margin: 8vh auto; max-height: 82vh; overflow-y: auto;
  background: var(--off-white); color: var(--near-black); border-radius: 22px; padding: 2rem 1.75rem;
  perspective: 900px;
}
.dish-modal-close {
  position: absolute; top: 1rem; right: 1rem; background: var(--near-black); color: var(--off-white);
  border-radius: 50%; width: 2.2rem; height: 2.2rem; font-size: 1.2rem; line-height: 1; border: none;
}
.dish-modal-gallery { margin: -2rem -1.75rem 1.25rem; }
.dish-modal-gallery[hidden] { display: none; }
.dish-modal-viewer {
  overflow: hidden; perspective: 800px; touch-action: none; cursor: zoom-in;
}
.dish-modal-viewer.is-zoomed { cursor: grab; }
.dish-modal-viewer.is-zoomed:active { cursor: grabbing; }
.dish-modal-main-img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.dish-modal-viewer-hint {
  padding: 0.4rem 1.75rem 0; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em;
  color: rgba(13,13,13,0.45); text-transform: uppercase;
}
.dish-modal-thumbs { display: flex; gap: 0.5rem; padding: 0.6rem 1.75rem 0; }
.dish-modal-thumb {
  width: 3.4rem; height: 3.4rem; border-radius: 8px; overflow: hidden; padding: 0;
  border: 2px solid transparent; opacity: 0.6; transition: opacity 0.15s ease, border-color 0.15s ease; flex-shrink: 0;
}
.dish-modal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dish-modal-thumb:hover, .dish-modal-thumb:focus-visible { opacity: 0.85; }
.dish-modal-thumb.active { opacity: 1; border-color: var(--saffron); }
.dish-modal-meta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.dish-modal-time, .dish-modal-portion {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--indigo); border: 1.5px solid var(--indigo); border-radius: 999px; padding: 0.3rem 0.85rem;
}
.dish-modal-name { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; margin-bottom: 0.3rem; }
.dish-modal-price { color: var(--saffron); font-weight: 700; font-size: 1.15rem; margin-bottom: 1rem; }
.dish-modal-spice { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; }
.dish-modal-spice .chilies { letter-spacing: 0.1em; }
.dish-modal-spice .chili-off { opacity: 0.25; filter: grayscale(1); }
.dish-modal-spice-label { font-size: 0.85rem; font-weight: 700; color: rgba(13,13,13,0.7); }
.dish-modal-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(13,13,13,0.55); margin-bottom: 0.75rem; }
.dish-modal-ingredients { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; transform-style: preserve-3d; }
.ingredient-chip {
  background: var(--near-black); color: var(--off-white); border-radius: 999px; padding: 0.5rem 1rem;
  font-size: 0.85rem; font-weight: 600;
  opacity: 0; transform: translate3d(var(--sx, 0), var(--sy, 0), -60px) rotate(var(--sr, 0deg)) scale(0.6);
  animation: scatterIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--sd, 0s);
}
@keyframes scatterIn { to { opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg) scale(1); } }
.dish-modal-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.dish-modal-tags span {
  font-size: 0.75rem; font-weight: 700; color: var(--near-black); border: 1.5px dashed rgba(13,13,13,0.4);
  border-radius: 999px; padding: 0.3rem 0.75rem;
}

/* ===== Proof — 3D tilted column-marquee testimonials (vanilla equivalent of 3d-testimonials) ===== */
.proof-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(circle at 15% 15%, rgba(255, 153, 51, 0.10), transparent 45%), radial-gradient(circle at 85% 85%, rgba(0, 0, 128, 0.28), transparent 50%); }
.proof .container { position: relative; z-index: 1; }

/* Simple fallback layout: used for the empty state and for reduced-motion users */
.testimonial-carousel {
  overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 1.5rem;
  mask-image: linear-gradient(90deg, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 3%, black 97%, transparent);
}
.testimonial-track { display: flex; gap: 1.25rem; width: max-content; }

/* 3D column-marquee — the main experience */
.testimonial-3d-wrap {
  margin-top: 1.5rem;
  padding: 2rem 0;
}
.testimonial-3d-grid {
  display: flex; gap: 1.25rem;
  transform: perspective(1400px) rotateX(14deg) rotateY(-10deg) rotateZ(6deg);
  transform-style: preserve-3d;
}
.t-col {
  flex: 1 1 0; min-width: 0; height: 560px; overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}
.t-col-track { display: flex; flex-direction: column; gap: 1.25rem; }
.t-col-track.scroll-up { animation: tColUp 34s linear infinite; }
.t-col-track.scroll-down { animation: tColDown 34s linear infinite; }
@keyframes tColUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes tColDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.testimonial-3d-wrap:hover .t-col-track,
.testimonial-3d-wrap:focus-within .t-col-track { animation-play-state: paused; }
@media (max-width: 767px) {
  .t-col:nth-child(3) { display: none; } /* 2 columns on narrow screens keeps cards readable */
  .testimonial-3d-grid { transform: perspective(1000px) rotateX(10deg) rotateY(-6deg) rotateZ(3deg); }
}

.t-card {
  width: 100%;
  background: rgba(245, 240, 232, 0.06); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(245, 240, 232, 0.16); border-radius: 18px; padding: 1.5rem;
  transition: border-color 0.2s ease;
}
.t-card:hover { border-color: rgba(255, 153, 51, 0.45); }
.t-card-empty { max-width: 380px; text-align: center; margin: 0 auto; }
.t-card-empty .btn { margin-top: 0.5rem; }
.t-quotemark { font-family: var(--font-display); font-size: 2.5rem; color: var(--saffron); line-height: 1; margin-bottom: 0.5rem; }
.t-stars { color: var(--saffron); letter-spacing: 0.15em; margin-bottom: 0.75rem; font-size: 0.9rem; }
.t-quote { font-style: italic; margin-bottom: 1.1rem; }
.t-person { display: flex; align-items: center; gap: 0.7rem; }
.t-avatar {
  width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--indigo); color: var(--off-white);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0;
}
.t-person-text { display: flex; flex-direction: column; }
.t-name { font-weight: 700; color: var(--saffron); font-size: 0.9rem; }
.t-meta { font-size: 0.78rem; color: rgba(245, 240, 232, 0.55); }
@media (prefers-reduced-motion: reduce) {
  .t-col-track.scroll-up, .t-col-track.scroll-down { animation: none !important; }
  .testimonial-3d-grid { transform: none !important; }
  .t-col { height: auto; overflow: visible; mask-image: none; -webkit-mask-image: none; }
}

/* ===== Stations — search + interactive map + scroll chips ===== */
.stations-radius-note { font-size: 0.9rem; color: rgba(13,13,13,0.6); max-width: 52ch; margin-bottom: 1.25rem; }
.station-search-result.out-of-zone { color: #b3261e; }
.station-search { display: flex; flex-direction: column; gap: 0.75rem; max-width: 520px; margin-bottom: 0.75rem; }
.station-search-field { position: relative; }
.station-search input {
  width: 100%; padding: 0.9rem 1.1rem; border-radius: 999px; border: 2px solid var(--near-black);
  background: var(--off-white); color: var(--near-black); font-size: 1rem;
}
.station-search input:focus-visible { outline-offset: 2px; }
.station-search-suggestions {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20;
  background: var(--off-white); border: 2px solid var(--near-black); border-radius: 16px;
  overflow: hidden; box-shadow: 0 12px 30px -10px rgba(13,13,13,0.35);
}
.station-search-suggestions[hidden] { display: none; }
.station-search-suggestions li {
  padding: 0.7rem 1.1rem; font-size: 0.92rem; font-weight: 600; cursor: pointer; border-bottom: 1px solid rgba(13,13,13,0.08);
}
.station-search-suggestions li:last-child { border-bottom: none; }
.station-search-suggestions li:hover,
.station-search-suggestions li.is-active { background: rgba(255, 153, 51, 0.18); }
@media (min-width: 560px) { .station-search { flex-direction: row; align-items: flex-start; } .station-search-field { flex: 1; } }
.station-search-result { font-weight: 700; min-height: 1.5em; margin-bottom: 1.5rem; }
.stations-map {
  height: 380px; width: 100%; border-top: 4px solid var(--near-black); border-bottom: 4px solid var(--near-black);
}
.stations-scroller { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 1.5rem;
  mask-image: linear-gradient(90deg, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 3%, black 97%, transparent);
}
.stations-list { display: flex; gap: 0.85rem; padding: 0.25rem 1.25rem 1.25rem; width: max-content; }
.stations-list li {
  white-space: nowrap; padding: 0.9rem 1.4rem; border-radius: 999px; border: 2px solid var(--indigo);
  background: rgba(0, 0, 128, 0.05); font-weight: 700; font-size: 1rem; transition: background 0.2s ease, transform 0.2s ease;
}
.stations-list li:hover { background: var(--indigo); color: var(--off-white); transform: translateY(-2px); }
.leaflet-popup-content-wrapper { border-radius: 12px; font-family: var(--font); }
.station-marker { background: var(--saffron); border: 2px solid var(--near-black); border-radius: 50%; }
.user-marker { background: var(--indigo); border: 2px solid var(--off-white); border-radius: 50%; }

/* ===== Footer / final CTA ===== */
.site-footer { background: var(--saffron); color: var(--near-black); padding-bottom: var(--space-lg); text-align: center; }
.site-footer .container { padding-top: var(--space-lg); }
.site-footer h2 { color: var(--near-black); margin-bottom: 0; }
.instagram-link { display: block; font-weight: 700; text-decoration: underline; margin-bottom: 1.1rem; }
.payment-line { font-size: 0.9rem; font-weight: 600; }
