/* === Johnny Rockets MX — design tokens === */

:root {
  /* Brand — primary */
  --jr-red: #ED184A;
  --jr-red-deep: #D01240;
  --jr-yellow: #FFD24F;
  --jr-yellow-deep: #F0AE31;
  --jr-blue: #0081C6;
  --jr-blue-deep: #0067AC;
  --jr-teal: #00BBB6;
  --jr-gray: #D1D3D4;
  --jr-white: #ffffff;
  --jr-black: #1a1a1d;

  /* Diner surfaces */
  --jr-cream: #FBF5E8;
  --jr-ink: #1c1c20;
  --jr-ink-soft: #3a3a42;
  --jr-line: rgba(28, 28, 32, 0.12);

  /* Type — Google Font substitutes for the brand's licensed fonts.
     Yellowtail → Palm Canyon Drive replacement (full Latin + accents)
     Alfa Slab One → Hamburger Menu replacement
     DM Sans → Merlo Neue replacement */
  --font-script: "Yellowtail", "Pacifico", cursive;
  --font-retro:  "Alfa Slab One", "Bungee", serif;
  --font-body:   "DM Sans", "Inter", system-ui, sans-serif;
  --font-button: "Bungee", "Alfa Slab One", sans-serif;

  /* Layout */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --container: 1240px;
  --section-pad: 120px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--jr-ink);
  background: var(--jr-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* === Type system === */
.script { font-family: var(--font-script); font-weight: 400; line-height: 0.95; letter-spacing: -0.01em; font-kerning: normal; font-feature-settings: "kern" 1; }
.retro { font-family: var(--font-retro); font-weight: 400; letter-spacing: 0.015em; text-transform: uppercase; font-kerning: normal; font-feature-settings: "kern" 1, "liga" 1; }
.eyebrow { font-family: var(--font-retro); font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--jr-blue); font-kerning: normal; }

/* === Container === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  :root { --section-pad: 72px; }
}

/* === Button === */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  font-family: var(--font-button);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 2px solid var(--jr-ink);
  background: var(--jr-red);
  color: var(--jr-white);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 4px 0 0 var(--jr-ink);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 0 var(--jr-ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 0 0 0 var(--jr-ink); }
.btn--ghost { background: transparent; color: var(--jr-ink); box-shadow: 0 4px 0 0 var(--jr-ink); }
.btn--ghost:hover { background: var(--jr-yellow); }

/* === Marquee dotted divider (from brand book) === */
.dot-line {
  height: 4px;
  background-image: radial-gradient(circle, var(--jr-blue) 1.5px, transparent 1.6px);
  background-size: 14px 4px;
  background-repeat: repeat-x;
  background-position: center;
}
.dot-line--red { background-image: radial-gradient(circle, var(--jr-red) 1.5px, transparent 1.6px); }

/* === Tape label (the blue tab from brand book section headers) === */
.tape {
  display: inline-block;
  padding: 12px 26px 14px;
  background: var(--jr-blue);
  color: white;
  font-family: var(--font-retro);
  font-size: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 14px 100%);
}

section { padding: var(--section-pad) 0; position: relative; }
section + section { padding-top: 0; }

h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 1em; }

#app { min-height: 100vh; }

/* Loading splash */
.splash {
  position: fixed; inset: 0;
  display: grid; place-items: center;
  background: var(--jr-cream);
  z-index: 999;
  transition: opacity .4s ease;
}
.splash img {
  width: clamp(180px, 28vw, 280px);
  height: auto;
  animation: splashPulse 1.6s ease-in-out infinite;
}
@keyframes splashPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50%      { transform: scale(1.04); opacity: 1; }
}
.splash.hide { opacity: 0; pointer-events: none; }
}
.splash.hide { opacity: 0; pointer-events: none; }

/* === Nav === */
.jr-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 245, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--jr-line);
}
.jr-nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.jr-nav__brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--jr-ink);
}
.jr-nav__brand img { height: 64px; width: auto; object-fit: contain; }
.jr-nav__brand-text { display: flex; flex-direction: column; line-height: 1; }
.jr-nav__brand-text .retro { font-size: 20px; color: var(--jr-red); letter-spacing: 0.08em; }
.jr-nav__brand-sub { font-size: 12px; color: var(--jr-blue); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 4px; }
.jr-nav__links { display: flex; gap: 32px; }
.jr-nav__links a {
  font-size: 15px; font-weight: 500; color: var(--jr-ink);
  text-decoration: none; padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease, color .2s ease;
  cursor: pointer;
}
.jr-nav__links a:hover { color: var(--jr-red); border-bottom-color: var(--jr-red); }
.jr-nav__right { display: flex; align-items: center; gap: 16px; }
.jr-lang {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-retro); font-size: 14px;
  letter-spacing: 0.08em;
}
.jr-lang button {
  background: none; border: none; padding: 4px 6px; color: rgba(28,28,32,0.4);
  font-family: inherit; font-size: inherit; letter-spacing: inherit;
  cursor: pointer;
}
.jr-lang button.is-on { color: var(--jr-red); }
.btn--sm { padding: 10px 18px; font-size: 12px; box-shadow: 0 3px 0 0 var(--jr-ink); }
.btn--sm:hover { box-shadow: 0 5px 0 0 var(--jr-ink); }

@media (max-width: 920px) {
  .jr-nav__links { display: none; }
}

/* === Hero === */
.jr-hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background: var(--jr-cream);
}
.jr-hero__bg {
  position: absolute; inset: 0; pointer-events: none;
}
.jr-hero__dots {
  position: absolute; left: 0; right: 0; height: 4px;
}
.jr-hero__dots--top { top: 24px; }
.jr-hero__dots--bottom { bottom: 24px; }
.jr-hero__boomerang { position: absolute; opacity: 0.5; }
.jr-hero__boomerang--1 { top: 12%; left: 4%; width: 180px; }
.jr-hero__boomerang--2 { bottom: 18%; right: 4%; width: 220px; transform: rotate(15deg); }
.jr-hero__star {
  position: absolute; color: var(--jr-yellow-deep); font-size: 28px;
  animation: twinkle 2.5s ease-in-out infinite;
}
.jr-hero__star--1 { top: 22%; right: 32%; }
.jr-hero__star--2 { bottom: 30%; left: 8%; color: var(--jr-red); animation-delay: .8s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.jr-hero__inner {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 48px; align-items: center;
  position: relative;
  min-height: 520px;
}
.jr-hero__eyebrow { margin-bottom: 24px; }
.jr-hero__title { margin: 0 0 32px; }
.jr-hero__line {
  display: block;
  font-size: clamp(48px, 6.4vw, 88px);
  line-height: 1;
  letter-spacing: 0;
  color: var(--jr-ink);
}
.jr-hero__line--alt { color: var(--jr-red); }
.jr-hero__accent { color: #FF0A0A; }
.jr-hero__title--single .jr-hero__line {
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: 0.005em;
  max-width: none;
  text-wrap: balance;
}
.jr-hero__script {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(96px, 12vw, 168px);
  color: var(--jr-red);
  line-height: 0.85;
  /* Palm Canyon Drive has tall ascender loops that leave dead vertical space
     at the top of the line box. Pull up to tuck under "EL DINER", but keep
     positive bottom margin so the descender tails clear "ES TUYO." */
  margin: -0.28em 0 0.06em -6px;
  text-shadow: 4px 4px 0 rgba(28,28,32,0.08);
}
.jr-hero__sub {
  font-size: 20px; max-width: 560px;
  line-height: 1.5;
  color: var(--jr-ink-soft);
  margin-bottom: 36px;
}
.jr-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.jr-hero__strip {
  margin-top: 56px;
  padding: 14px 20px;
  border-top: 2px dashed var(--jr-line);
  border-bottom: 2px dashed var(--jr-line);
  display: flex; gap: 18px; align-items: center;
  font-family: var(--font-retro);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--jr-ink-soft);
  flex-wrap: wrap;
}
.jr-hero__strip > span:nth-child(odd) { color: var(--jr-yellow-deep); }

/* Hero plate — sunburst with food photo */
.jr-hero__right { display: flex; align-items: center; justify-content: center; min-width: 0; }
.jr-hero__plate {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1;
  display: grid; place-items: center;
  filter: drop-shadow(0 28px 56px rgba(28, 28, 32, 0.25));
}
.jr-hero__rays {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  animation: spinSlow 60s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.jr-hero__meal {
  position: relative;
  width: 96%;
  height: auto;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 16px 24px rgba(28, 28, 32, 0.35));
  transform: translateY(2%);
}
.jr-hero__plate-sticker {
  position: absolute;
  top: 6%;
  right: -4%;
  z-index: 3;
  background: var(--jr-blue);
  color: white;
  width: 130px; height: 130px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 8px 0 var(--jr-blue-deep), 0 12px 24px rgba(0,0,0,0.2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  transform: rotate(-12deg);
  padding: 8px;
  line-height: 1;
}
.jr-hero__plate-sticker-top { font-size: 11px; letter-spacing: 0.1em; }
.jr-hero__plate-sticker-mid { font-size: 34px; color: var(--jr-yellow); line-height: 0.9; margin: 4px 0; }
.jr-hero__plate-sticker-bottom { font-size: 11px; letter-spacing: 0.1em; }

/* Legacy disc rules kept for fallback / other directions */
.jr-hero__disc {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1;
  transform: rotate(-8deg);
  flex-shrink: 0;
  filter: drop-shadow(0 24px 48px rgba(237, 24, 74, 0.25));
}
.jr-hero__disc-yellow {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  overflow: visible;
}
.jr-hero__disc-logo {
  width: 92%;
  height: 92%;
  object-fit: contain;
  display: block;
  transform: rotate(4deg);
}
.jr-hero__disc-inner { text-align: center; padding: 20px; transform: rotate(-4deg); }
.jr-hero__disc-script {
  font-family: var(--font-script);
  color: var(--jr-red);
  font-size: 72px;
  line-height: 0.9;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.1);
  margin-bottom: 14px;
}
.jr-hero__disc-ribbon {
  display: inline-block;
  background: var(--jr-blue);
  color: white;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 0.12em;
  transform: rotate(-6deg);
  box-shadow: 0 4px 0 var(--jr-blue-deep);
}
.jr-hero__bulb {
  position: absolute;
  width: 7px; height: 7px;
  background: var(--jr-yellow);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px var(--jr-yellow-deep), 0 0 2px white inset;
  animation: bulb 1.6s ease-in-out infinite;
}
@keyframes bulb {
  0%, 100% { background: var(--jr-yellow); box-shadow: 0 0 8px var(--jr-yellow-deep); }
  50% { background: #FFF8D6; box-shadow: 0 0 14px var(--jr-yellow), 0 0 4px white inset; }
}

@media (max-width: 920px) {
  .jr-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .jr-hero__right { order: -1; }
  .jr-hero__plate { width: 340px; }
  .jr-hero__plate-sticker { width: 100px; height: 100px; right: -2%; }
  .jr-hero__plate-sticker-mid { font-size: 26px; }
  .jr-hero__disc { width: 280px; }
  .jr-hero__disc-script { font-size: 56px; }
}

/* === Section heads === */
.jr-section-head {
  text-align: center;
  margin-bottom: 64px;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.jr-section-title {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.05;
  margin: 0;
  max-width: 900px;
}
.jr-section-title .retro {
  display: block;
  font-size: inherit;
}
.jr-section-title__script {
  display: block;
  font-family: var(--font-script);
  color: var(--jr-red);
  font-size: 1.4em;
  line-height: 1.1;
  margin: 8px 0 0;
  white-space: nowrap;
  text-wrap: nowrap;
}
.jr-section-sub {
  font-size: 19px;
  color: var(--jr-ink-soft);
  max-width: 620px;
  margin: 0 auto;
}

/* === Stats === */
.jr-stats { padding: 80px 0; }
.jr-stats__title {
  font-size: clamp(32px, 4.2vw, 56px);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 56px;
  line-height: 1.05;
}
.jr-stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.jr-stat {
  text-align: center;
  padding: 24px 16px;
  border-top: 3px solid var(--jr-line);
}
.jr-stat__num {
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1;
  margin-bottom: 10px;
}
.jr-stat__label {
  font-size: 15px; color: var(--jr-ink-soft);
  line-height: 1.4;
}
@media (max-width: 720px) {
  .jr-stats__grid { grid-template-columns: repeat(2, 1fr); }
}

/* === Why === */
.jr-why { padding-bottom: var(--section-pad); }
.jr-why__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.jr-why-card {
  background: white;
  border: 1.5px solid var(--jr-ink);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  position: relative;
  box-shadow: 6px 6px 0 var(--accent, var(--jr-red));
  transition: transform .25s ease, box-shadow .25s ease;
}
.jr-why-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 var(--accent, var(--jr-red));
}
.jr-why-card__num {
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.jr-why-card__title {
  font-size: 26px;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--jr-ink);
}
.jr-why-card__body { color: var(--jr-ink-soft); margin: 0; }
.jr-why-card__rule {
  position: absolute; left: 32px; right: 32px; bottom: 0; height: 4px;
  background: var(--accent);
  border-radius: 4px 4px 0 0;
  transform: translateY(2px);
}
@media (max-width: 720px) {
  .jr-why__grid { grid-template-columns: 1fr; }
}

/* === Story === */
.jr-story {
  background: white;
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  border-top: 1px solid var(--jr-line);
  border-bottom: 1px solid var(--jr-line);
}
.jr-story__grid {
  display: grid; grid-template-columns: 5fr 6fr; gap: 64px;
  align-items: center;
}
.jr-story__media {
  position: relative;
}
.jr-story__media image-slot {
  border: 2px solid var(--jr-ink);
  box-shadow: 12px 12px 0 var(--jr-yellow);
  border-radius: 20px;
  overflow: hidden;
  background: var(--jr-cream);
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 5;
  display: block;
}
.jr-story__sticker {
  position: absolute; top: -20px; right: -20px;
  background: var(--jr-red);
  color: white;
  border: 2px solid var(--jr-ink);
  border-radius: 50%;
  width: 110px; height: 110px;
  display: grid; place-items: center;
  font-size: 13px; letter-spacing: 0.1em;
  transform: rotate(12deg);
  box-shadow: 0 8px 0 rgba(0,0,0,0.15);
}
.jr-story__text {
  display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
}
.jr-story__text .jr-section-title { text-align: left; }
.jr-story__text p {
  color: var(--jr-ink-soft);
  font-size: 18px;
  line-height: 1.7;
}
.jr-story__quote {
  margin-top: 8px;
  padding: 28px 32px;
  background: var(--jr-yellow);
  border: 2px solid var(--jr-ink);
  border-radius: var(--radius-lg);
  position: relative;
}
.jr-story__quote-mark {
  position: absolute; top: -34px; left: 14px;
  font-size: 120px; line-height: 1;
  color: var(--jr-red);
}
.jr-story__quote-text {
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--jr-ink);
}
.jr-story__quote-credit {
  font-size: 13px; letter-spacing: 0.08em;
  color: var(--jr-ink-soft);
}
.jr-story__pillars {
  margin-top: 80px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  padding-top: 40px;
  border-top: 2px dashed var(--jr-line);
}
.jr-story-pillar__k {
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--jr-red);
  margin-bottom: 8px;
}
.jr-story-pillar__v { color: var(--jr-ink-soft); font-size: 17px; line-height: 1.55; }

/* Name origin block */
.jr-story__name {
  margin-top: 72px;
  padding: 40px;
  background: var(--jr-cream);
  border: 1.5px solid var(--jr-ink);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 0 var(--jr-blue);
  position: relative;
}
.jr-story__name-kicker { display: inline-block; margin-bottom: 18px; }
.jr-story__name-title {
  font-size: clamp(32px, 4vw, 50px);
  margin: 0 0 28px;
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.jr-story__name-title .script { color: var(--jr-red); font-size: 1.05em; }
.jr-story__name-title .retro { color: var(--jr-ink); }
.jr-story__name-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.jr-story__name-block {
  display: flex; flex-direction: column; gap: 12px;
}
.jr-story__name-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 15px;
  letter-spacing: 0.16em;
  color: white;
  background: var(--jr-red);
  padding: 6px 14px 5px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.jr-story__name-block:nth-child(2) .jr-story__name-tag { background: var(--jr-blue); }
.jr-story__name-block p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--jr-ink-soft);
  margin: 0;
}
@media (max-width: 720px) {
  .jr-story__name { padding: 28px; }
  .jr-story__name-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 920px) {
  .jr-story__grid { grid-template-columns: 1fr; gap: 48px; }
  .jr-story__pillars { grid-template-columns: 1fr; gap: 18px; }
}

/* === Process === */
.jr-process {
  background: var(--jr-blue);
  color: white;
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  background-image:
    radial-gradient(ellipse 200px 60px at 10% 20%, rgba(255,255,255,.04), transparent),
    radial-gradient(ellipse 240px 80px at 85% 80%, rgba(255,255,255,.04), transparent);
}
.jr-process .jr-section-title { color: white; }
.jr-process .jr-section-title__script { color: var(--jr-yellow); }
.jr-process .tape { background: var(--jr-yellow); color: var(--jr-ink); }
.jr-process__rail {
  position: relative;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px;
  padding-top: 40px;
}
.jr-process__line {
  position: absolute; top: 80px; left: 5%; right: 5%;
  height: 3px;
  background-image: radial-gradient(circle, rgba(255,255,255,.5) 2px, transparent 2.5px);
  background-size: 12px 3px;
  background-repeat: repeat-x;
}
.jr-process-step {
  text-align: center;
  padding: 0;
  position: relative;
  min-width: 0;
  overflow-wrap: break-word;
}
.jr-process-step__bubble {
  width: 78px; height: 78px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 32px;
  color: white;
  margin: 0 auto 24px;
  border: 3px solid white;
  box-shadow: 0 6px 0 rgba(0,0,0,0.25);
  position: relative;
  z-index: 1;
}
.jr-process-step__title {
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 1.15;
  margin-bottom: 10px;
  color: var(--jr-yellow);
  hyphens: none;
  word-break: keep-all;
  overflow-wrap: normal;
}
.jr-process-step__body {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  overflow-wrap: break-word;
}
@media (max-width: 1100px) {
  .jr-process__rail { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .jr-process-step__title { font-size: 13px; letter-spacing: 0.03em; }
  .jr-process-step__body { font-size: 12px; }
  .jr-process-step__bubble { width: 60px; height: 60px; font-size: 24px; }
  .jr-process__line { top: 64px; }
}
@media (max-width: 920px) {
  .jr-process__rail { grid-template-columns: 1fr; gap: 32px; }
  .jr-process__line { display: none; }
}

/* === Map === */
.jr-mapsection { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.jr-map { margin-top: 40px; }
.jr-map__controls {
  display: flex; justify-content: center; margin-bottom: 24px;
}
.jr-map__filters {
  display: inline-flex; gap: 8px;
  padding: 6px;
  background: white;
  border: 1.5px solid var(--jr-ink);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 0 var(--jr-ink);
}
.jr-chip {
  background: transparent; border: none;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-retro); font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--jr-ink);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s ease, color .2s ease;
}
.jr-chip__count {
  background: rgba(0,0,0,0.08);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
}
.jr-chip.is-on { background: var(--jr-ink); color: white; }
.jr-chip.is-on .jr-chip__count { background: rgba(255,255,255,0.2); }
.jr-chip__dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.jr-chip__dot--open { background: var(--jr-red); }
.jr-chip__dot--soon { background: var(--jr-blue); }
.jr-chip--soon.is-on { background: var(--jr-blue); }
.jr-chip--open.is-on { background: var(--jr-red); }

.jr-map__stage {
  position: relative;
  background:
    /* compass rose dots pattern */
    radial-gradient(circle at 20% 30%, rgba(0, 129, 198, 0.08) 1.5px, transparent 2px),
    radial-gradient(circle at 80% 70%, rgba(237, 24, 74, 0.06) 1.5px, transparent 2px),
    /* subtle dot grid on the ocean */
    radial-gradient(circle, rgba(0, 129, 198, 0.18) 1px, transparent 1.5px),
    /* warm sky→sea gradient */
    linear-gradient(170deg, #DCEFFA 0%, #C8E4F5 55%, #B4D7EE 100%);
  background-size: 200px 200px, 240px 240px, 18px 18px, 100% 100%;
  background-position: 0 0, 0 0, 0 0, 0 0;
  border: 1.5px solid var(--jr-ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 0 var(--jr-ink);
  min-height: 480px;
}
.jr-map__stage::before {
  /* faint corner vignette / paper texture */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(255,255,255,0.5), transparent 40%),
    radial-gradient(ellipse at bottom right, rgba(0, 80, 130, 0.08), transparent 40%);
  pointer-events: none;
}
.jr-map__svg {
  width: 100%; height: auto; display: block;
  position: relative; z-index: 1;
}

/* Map detail card */
.jr-map__card {
  position: absolute; top: 24px; right: 24px;
  width: 320px;
  background: white;
  border: 1.5px solid var(--jr-ink);
  border-radius: var(--radius-md);
  padding: 22px 22px 20px;
  box-shadow: 0 12px 32px rgba(28,28,32,0.2);
  animation: cardIn .25s ease-out;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.jr-map__close {
  position: absolute; top: 8px; right: 10px;
  background: none; border: none; font-size: 24px; line-height: 1;
  color: var(--jr-ink-soft);
  cursor: pointer;
  padding: 4px 8px;
}
.jr-map__status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-retro);
  font-size: 11px; letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.jr-map__status--open { background: rgba(237, 24, 74, 0.1); color: var(--jr-red); }
.jr-map__status--soon { background: rgba(0, 129, 198, 0.1); color: var(--jr-blue); }
.jr-map__status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}
.jr-map__card-title {
  font-size: 20px;
  margin: 0 0 6px;
  letter-spacing: 0.02em;
  color: var(--jr-ink);
}
.jr-map__card-meta {
  color: var(--jr-ink-soft);
  font-size: 14px;
  margin-bottom: 18px;
}
.jr-map__sep { margin: 0 6px; opacity: 0.5; }
.jr-map__card-row {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid var(--jr-line);
  font-size: 14px;
}
.jr-map__card-label {
  color: var(--jr-ink-soft);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.jr-map__legend {
  display: flex; gap: 16px; align-items: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--jr-ink-soft);
  flex-wrap: wrap;
}
.jr-map__legend-item { display: flex; align-items: center; gap: 8px; }
.jr-map__legend-dot { width: 10px; height: 10px; border-radius: 50%; }
.jr-map__legend-hint {
  font-size: 12px;
  opacity: 0.7;
  letter-spacing: 0.02em;
}

/* Zoom controls — horizontal pill, sits inline with legend below the map */
.jr-map__zoom {
  margin-left: auto;
  display: flex;
  gap: 4px;
  padding: 4px;
  background: white;
  border: 1.5px solid var(--jr-ink);
  border-radius: var(--radius-pill);
  box-shadow: 0 3px 0 var(--jr-ink);
}
.jr-map__zoom-btn {
  width: 34px; height: 34px;
  background: transparent;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  color: var(--jr-ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .12s ease;
  user-select: none;
}
.jr-map__zoom-btn:hover { background: var(--jr-cream); }
.jr-map__zoom-btn:active { background: rgba(0,0,0,0.06); }
.jr-map__zoom-btn--reset { font-size: 15px; }

/* Cluster list card */
.jr-map__card--list .jr-map__cluster-list {
  display: flex; flex-direction: column; gap: 4px;
  max-height: 320px;
  overflow-y: auto;
  margin-top: 4px;
  margin-right: -8px;
  padding-right: 8px;
}
.jr-map__cluster-item {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  background: none;
  border: none;
  border-top: 1px solid var(--jr-line);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background .12s ease;
}
.jr-map__cluster-item:hover { background: var(--jr-cream); }
.jr-map__cluster-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.jr-map__cluster-dot--open { background: var(--jr-red); }
.jr-map__cluster-dot--soon { background: var(--jr-blue); }
.jr-map__cluster-venue {
  font-size: 14px;
  color: var(--jr-ink);
  line-height: 1.3;
}
.jr-map__cluster-type {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--jr-ink-soft);
}

@media (max-width: 720px) {
  .jr-map__card { position: static; width: 100%; margin: 16px; }
}

/* === Form section === */
.jr-formsection {
  background: var(--jr-yellow);
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  background-image:
    radial-gradient(circle, rgba(237, 24, 74, 0.06) 1px, transparent 1.5px);
  background-size: 18px 18px;
}
.jr-formsection__card {
  background: white;
  border: 2px solid var(--jr-ink);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 0 var(--jr-red);
  display: grid; grid-template-columns: 5fr 7fr; gap: 0;
  overflow: hidden;
}
.jr-formsection__left {
  padding: 56px 48px;
  background: var(--jr-cream);
  border-right: 2px dashed var(--jr-line);
  display: flex; flex-direction: column; gap: 16px;
  align-items: flex-start;
}
.jr-formsection__left .jr-section-title {
  text-align: left;
  font-size: clamp(26px, 3vw, 36px);
}
.jr-formsection__left .jr-section-title__script {
  font-size: 1.25em;
  line-height: 1.35;
  white-space: normal;
  text-wrap: balance;
}
.jr-formsection__sub { color: var(--jr-ink-soft); font-size: 16px; }
.jr-formsection__bullets {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 14px;
}
.jr-formsection__bullets > div {
  font-size: 14px;
  color: var(--jr-ink-soft);
  display: flex; align-items: baseline; gap: 12px;
}
.jr-formsection__bullets .retro {
  font-size: 32px; color: var(--jr-red);
  min-width: 84px;
}
.jr-formsection__right { padding: 56px 48px; }

@media (max-width: 920px) {
  .jr-formsection__card { grid-template-columns: 1fr; }
  .jr-formsection__left, .jr-formsection__right { padding: 36px 28px; }
  .jr-formsection__left { border-right: none; border-bottom: 2px dashed var(--jr-line); }
}

/* === Form === */
.jr-form { min-height: 380px; display: flex; flex-direction: column; }
/* Honeypot — invisible to real users, fillable by naive bots */
.jr-form__hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.jr-form__progress { margin-bottom: 32px; }
.jr-form__progress-info {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 12px;
}
.jr-form__progress-label {
  font-family: var(--font-retro); font-size: 18px;
  letter-spacing: 0.05em; color: var(--jr-ink);
}
.jr-form__progress-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
}
.jr-form__progress-seg {
  height: 6px;
  background: rgba(0,0,0,0.08);
  border-radius: 3px;
  transition: background .3s ease;
}
.jr-form__progress-seg.is-on { background: var(--jr-red); }

.jr-form__body { flex: 1; animation: stepIn .25s ease-out; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.jr-form__grid {
  display: flex; flex-direction: column; gap: 18px;
}
.jr-field { display: flex; flex-direction: column; gap: 8px; }
.jr-field__label {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--jr-ink-soft);
}
.jr-field input, .jr-field select, .jr-field textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--jr-line);
  border-radius: var(--radius-md);
  background: var(--jr-cream);
  font-size: 16px;
  color: var(--jr-ink);
  transition: border-color .15s ease, background .15s ease;
  outline: none;
  font-family: var(--font-body);
  resize: vertical;
}
.jr-field input:focus, .jr-field select:focus, .jr-field textarea:focus {
  border-color: var(--jr-red);
  background: white;
}

.jr-form__loctypes {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}

/* Experience selector */
.jr-form__experience { display: flex; flex-direction: column; gap: 18px; }
.jr-form__experience-q {
  font-size: 16px;
  color: var(--jr-ink);
  margin: 0;
  line-height: 1.4;
}
.jr-form__experience-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.jr-exp {
  background: var(--jr-cream);
  border: 1.5px solid var(--jr-line);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .18s ease;
  text-align: center;
  font-family: inherit;
  min-height: 64px;
}
.jr-exp:hover { border-color: var(--jr-red); background: white; }
.jr-exp.is-on {
  background: var(--jr-red);
  border-color: var(--jr-red);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--jr-ink);
}
.jr-exp__label { font-size: 14px; letter-spacing: 0.08em; }
.jr-loctype {
  background: var(--jr-cream);
  border: 1.5px solid var(--jr-line);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex; align-items: center; gap: 16px;
  cursor: pointer;
  transition: all .18s ease;
  text-align: left;
}
.jr-loctype:hover { border-color: var(--jr-red); background: white; }
.jr-loctype.is-on {
  background: var(--jr-red);
  border-color: var(--jr-red);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--jr-ink);
}
.jr-loctype__icon { font-size: 28px; }
.jr-loctype__label { font-size: 13px; letter-spacing: 0.08em; }

.jr-form__nav {
  margin-top: 32px;
  display: flex; justify-content: space-between; gap: 12px;
}

.jr-form--done {
  text-align: center;
  padding: 32px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.jr-form__error {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(237, 24, 74, 0.08);
  border: 1px solid rgba(237, 24, 74, 0.25);
  border-radius: var(--radius-md);
  color: var(--jr-red-deep);
  font-size: 14px;
  text-align: center;
}
.jr-form__done-title { font-size: 56px; color: var(--jr-red); margin: 0; }
.jr-form__done-sub { color: var(--jr-ink-soft); }
.jr-form__done-summary {
  margin-top: 16px;
  padding: 14px 20px;
  background: var(--jr-cream);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--jr-ink-soft);
}

/* === Footer === */
.jr-footer {
  background: var(--jr-ink);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.jr-footer__inner {
  display: grid; grid-template-columns: 1fr 2fr; gap: 64px;
  margin-bottom: 48px;
}
.jr-footer__brand img { height: 120px; width: auto; margin-bottom: 16px; }
.jr-footer__tag {
  font-size: 32px; color: var(--jr-yellow);
  line-height: 1.05;
}
.jr-footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.jr-footer__cols > div { display: flex; flex-direction: column; gap: 10px; }
.jr-footer__cols .eyebrow { color: var(--jr-yellow); margin-bottom: 6px; }
.jr-footer__cols a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
}
.jr-footer__cols a:hover { color: white; }
.jr-footer__cols > div > div { font-size: 14px; line-height: 1.6; }
.jr-footer__legal {
  margin-top: 24px;
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
@media (max-width: 720px) {
  .jr-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .jr-footer__cols { grid-template-columns: 1fr; }}

/* === Mobile/Phone breakpoint (≤ 480px) === */
@media (max-width: 480px) {
  :root { --section-pad: 56px; }
  .container { padding: 0 18px; }

  /* Nav */
  .jr-nav { height: 64px; }
  .jr-nav__inner { height: 64px; }
  .jr-nav__brand img { height: 48px; }
  .jr-nav__brand-text .retro { font-size: 16px; }
  .jr-nav__brand-sub { font-size: 10px; letter-spacing: 0.16em; }
  .jr-nav__right { gap: 10px; }
  .jr-lang { font-size: 12px; }
  .btn--sm { padding: 8px 14px; font-size: 10px; }

  /* Hero */
  .jr-hero { padding: 100px 0 56px; }
  .jr-hero__inner { gap: 32px; }
  .jr-hero__eyebrow { margin-bottom: 18px; }
  .jr-hero__title--single .jr-hero__line {
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: 0;
  }
  .jr-hero__sub { font-size: 16px; line-height: 1.5; margin-bottom: 24px; }
  .jr-hero__ctas { width: 100%; flex-direction: column; gap: 10px; }
  .jr-hero__ctas .btn { width: 100%; justify-content: center; }
  .jr-hero__plate { width: min(280px, 100%); }
  .jr-hero__plate-sticker { width: 84px; height: 84px; right: -3%; padding: 4px; }
  .jr-hero__plate-sticker-top, .jr-hero__plate-sticker-bottom { font-size: 9px; letter-spacing: 0.06em; }
  .jr-hero__plate-sticker-mid { font-size: 22px; margin: 2px 0; }
  .jr-hero__strip {
    margin-top: 32px; gap: 10px; font-size: 10px;
    flex-wrap: wrap; justify-content: center;
  }
  .jr-hero__strip .retro { font-size: 11px; }

  /* Section headings */
  .jr-section-head { margin-bottom: 40px; gap: 20px; }
  .jr-section-title { font-size: 32px; line-height: 1.05; }
  .jr-section-title__script { font-size: 1.3em; }
  .jr-section-sub { font-size: 16px; line-height: 1.55; }
  .tape { font-size: 13px; padding: 8px 18px 10px; }

  /* Stats */
  .jr-stats { padding: 56px 0; }
  .jr-stats__title { font-size: 26px; margin-bottom: 32px; }
  .jr-stats__grid { gap: 24px; }
  .jr-stat__num { font-size: 48px; }
  .jr-stat__label { font-size: 13px; }

  /* Why cards */
  .jr-why-card { padding: 24px 22px; }
  .jr-why-card__title { font-size: 20px; }
  .jr-why-card__body { font-size: 15px; }

  /* Story */
  .jr-story__text p { font-size: 16px; line-height: 1.6; }
  .jr-story__quote-text { font-size: 20px; }
  .jr-story__quote-mark { font-size: 80px; top: -22px; }
  .jr-story__sticker { width: 80px; height: 80px; font-size: 11px; top: -12px; right: -12px; }
  .jr-story__name { padding: 22px; }
  .jr-story__name-title { font-size: 26px; }
  .jr-story__name-block p { font-size: 15px; }
  .jr-story-pillar__v { font-size: 15px; }

  /* Process (single column on mobile already, just tune sizes) */
  .jr-process__rail { grid-template-columns: 1fr; gap: 28px; padding-top: 16px; }
  .jr-process__line { display: none; }
  .jr-process-step__bubble { width: 64px; height: 64px; font-size: 26px; margin-bottom: 16px; }
  .jr-process-step__title { font-size: 18px; letter-spacing: 0.06em; }
  .jr-process-step__body { font-size: 14px; }

  /* Map */
  .jr-mapsection { padding: 56px 0; }
  .jr-map { margin-top: 24px; }
  .jr-map__stage { min-height: 0; border-radius: 16px; }
  .jr-map__zoom { margin-left: 0; margin-top: 4px; }
  .jr-map__zoom-btn { width: 32px; height: 32px; font-size: 18px; }
  .jr-map__card { left: 12px; right: 12px; width: auto; padding: 16px 18px; }
  .jr-map__legend {
    flex-wrap: wrap; gap: 12px;
    font-size: 12px;
  }
  .jr-map__legend-hint { width: 100%; margin-left: 0; text-align: center; order: 99; }

  /* Form section */
  .jr-formsection__card { box-shadow: 0 10px 0 var(--jr-red); }
  .jr-formsection__left, .jr-formsection__right { padding: 28px 22px; }
  .jr-formsection__bullets .retro { font-size: 24px; min-width: 68px; }
  .jr-form__progress-label { font-size: 14px; }
  .jr-field input, .jr-field select, .jr-field textarea { font-size: 15px; padding: 12px 14px; }
  .jr-form__loctypes { grid-template-columns: 1fr; }
  .jr-form__nav { flex-direction: column-reverse; gap: 8px; }
  .jr-form__nav .btn { width: 100%; justify-content: center; }

  /* Footer */
  .jr-footer { padding: 48px 0 24px; }
  .jr-footer__brand img { height: 80px; }
  .jr-footer__tag { font-size: 22px; }
  .jr-footer__legal { font-size: 11px; line-height: 1.6; }
}

/* === Visual directions === */
/* Editorial Modern: cream/blue, less saturation, more whitespace */
[data-direction="editorial-modern"] {
  --jr-cream: #F4F1EB;
}
[data-direction="editorial-modern"] body { color: #2a2a30; }
[data-direction="editorial-modern"] .jr-hero { background: #F4F1EB; }
[data-direction="editorial-modern"] .jr-hero__line--alt { color: var(--jr-blue); }
[data-direction="editorial-modern"] .jr-hero__script { color: var(--jr-blue); }
[data-direction="editorial-modern"] .jr-section-title__script { color: var(--jr-blue); }
[data-direction="editorial-modern"] .jr-hero__disc-yellow {
  background: white;
  border-color: var(--jr-blue);
  box-shadow: 0 0 0 8px white, 0 0 0 10px var(--jr-blue), 0 24px 48px -12px rgba(0,0,0,0.15);
}
[data-direction="editorial-modern"] .jr-hero__disc-script { color: var(--jr-blue); }
[data-direction="editorial-modern"] .jr-hero__disc-ribbon { background: var(--jr-red); box-shadow: 0 4px 0 var(--jr-red-deep); }
[data-direction="editorial-modern"] .jr-formsection { background: #EBE6DA; }
[data-direction="editorial-modern"] .jr-formsection__card { box-shadow: 0 16px 0 var(--jr-blue); }
[data-direction="editorial-modern"] .btn { background: var(--jr-blue); }

/* Bold Pop: high contrast, big red blocks */
[data-direction="bold-pop"] .jr-hero { background: var(--jr-red); color: white; }
[data-direction="bold-pop"] .jr-hero__line { color: white; }
[data-direction="bold-pop"] .jr-hero__line--alt { color: var(--jr-yellow); }
[data-direction="bold-pop"] .jr-hero__script { color: var(--jr-yellow); text-shadow: 4px 4px 0 rgba(0,0,0,0.2); }
[data-direction="bold-pop"] .jr-hero__sub { color: rgba(255,255,255,0.9); }
[data-direction="bold-pop"] .jr-hero__strip { border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.8); }
[data-direction="bold-pop"] .jr-nav { background: rgba(237, 24, 74, 0.9); border-bottom-color: rgba(255,255,255,0.2); }
[data-direction="bold-pop"] .jr-nav__brand-text .retro { color: white; }
[data-direction="bold-pop"] .jr-nav__brand-sub { color: var(--jr-yellow); }
[data-direction="bold-pop"] .jr-nav__links a { color: white; }
[data-direction="bold-pop"] .jr-nav__links a:hover { color: var(--jr-yellow); border-bottom-color: var(--jr-yellow); }
[data-direction="bold-pop"] .jr-lang button { color: rgba(255,255,255,0.5); }
[data-direction="bold-pop"] .jr-lang button.is-on { color: white; }
[data-direction="bold-pop"] .btn { background: var(--jr-yellow); color: var(--jr-ink); }
[data-direction="bold-pop"] .btn--ghost { background: transparent; color: white; box-shadow: 0 4px 0 white; border-color: white; }
[data-direction="bold-pop"] .btn--ghost:hover { background: white; color: var(--jr-red); }
[data-direction="bold-pop"] .jr-section-title__script { color: var(--jr-red); }
[data-direction="bold-pop"] .jr-hero__dots { background-image: radial-gradient(circle, white 1.5px, transparent 1.6px); }

/* Section spacing variants */
section[id] { scroll-margin-top: 90px; }
