/* Special Hot Dog
   Palette sampled from the hand-drawn logo (laurel green, bun orange, sausage
   red, mustard) and the sage green the stand uses in its own reels. */

:root {
  --cream: #fbf7ec;
  --paper: #fffdf7;
  --sage: #a9c79b;
  --sage-soft: #e4eeda;
  --sage-wash: #f1f6e9;
  --leaf: #4f6a36;
  --ink: #26351b;
  --muted: #5b6850;
  --orange: #ee9422;
  --orange-soft: #fbe3bd;
  --red: #a8321c;
  --red-lit: #c2412a;
  --mustard: #f2c23a;
  --line: rgba(38, 53, 27, 0.14);

  --display: 'Bagel Fat One', 'Outfit', system-ui, sans-serif;
  --body: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand: 'Caveat', 'Bradley Hand', cursive;

  --radius: 22px;
  --shadow: 0 18px 40px -22px rgba(38, 53, 27, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }

html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.6;
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

[hidden] { display: none !important; }

.shell { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 10px;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* --- Type ----------------------------------------------------------------- */

h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.04; letter-spacing: 0.005em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.2vw, 4.7rem); }
h1 span { color: var(--red); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.2; }

.scribble {
  font-family: var(--hand);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--leaf);
  margin-bottom: 0.5rem;
}

/* --- Buttons -------------------------------------------------------------- */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.8rem 1.35rem;
  border: 2px solid transparent; border-radius: 999px;
  font: 600 1rem/1.1 var(--body);
  text-decoration: none; cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.button:hover { transform: translateY(-2px); }
.button-lg { padding: 1rem 1.6rem; font-size: 1.06rem; }

.button-ink { background: var(--ink); color: #fff; box-shadow: 0 5px 0 var(--orange); }
.button-ink:hover { background: var(--leaf); }
.button-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.button-outline:hover { background: var(--ink); color: #fff; }

/* --- Header --------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 247, 236, 0.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 58px; height: auto; }
.brand-name { font-family: var(--display); font-size: 1.3rem; line-height: 1; color: var(--ink); }
.brand-name b { display: block; margin-top: 0.2rem; font: 700 1.05rem/1 var(--hand); color: var(--leaf); }

.desktop-nav { display: flex; gap: 1.5rem; }
.desktop-nav a { text-decoration: none; font-weight: 500; font-size: 0.98rem; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.desktop-nav a:hover { border-bottom-color: var(--orange); }

.header-cta { padding: 0.65rem 1.1rem; font-size: 0.95rem; box-shadow: 0 4px 0 var(--orange); }

.menu-toggle {
  display: none; width: 46px; height: 46px; padding: 0;
  border: 2px solid var(--ink); border-radius: 14px; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; gap: 0.2rem; padding: 0.6rem 1.25rem 1.4rem; border-top: 1px solid var(--line); background: var(--cream); }
.mobile-menu a:not(.button) { padding: 0.8rem 0.2rem; text-decoration: none; font-weight: 600; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
.mobile-menu .button { margin-top: 1rem; }
.mobile-menu.is-open { display: flex; }

/* --- Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(60rem 30rem at 85% 10%, rgba(169, 199, 155, 0.55), transparent 65%),
    radial-gradient(36rem 22rem at 5% 100%, rgba(238, 148, 34, 0.2), transparent 70%),
    var(--cream);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

.hero-lede { margin-top: 1.2rem; max-width: 33rem; font-size: 1.2rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 0.8rem 2.2rem; margin-top: 2.4rem; padding-top: 1.5rem; border-top: 2px dashed var(--line); }
.hero-facts li { font-size: 0.98rem; color: var(--muted); line-height: 1.35; }
.hero-facts b { display: block; color: var(--ink); font-size: 1.05rem; }

.hero-art { position: relative; width: min(100%, 440px); margin-inline: auto; padding: 1.2rem 0 1.6rem 4.2rem; }

.snap { background: var(--paper); padding: 10px; border-radius: 26px; box-shadow: var(--shadow); }
.snap img, .snap video { border-radius: 18px; width: 100%; }
.snap-main { transform: rotate(2.2deg); }
.snap-main img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 100%; }
.snap-clip { position: absolute; left: 0; top: 0; width: 36%; transform: rotate(-5deg); padding: 7px; border-radius: 20px; z-index: 2; }
.snap-clip video { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }

.hero-tag {
  position: absolute; right: -0.6rem; bottom: 0; z-index: 3;
  background: var(--mustard); color: var(--ink);
  font: 700 1.45rem/1 var(--hand);
  padding: 0.55rem 1rem; border-radius: 999px;
  transform: rotate(-5deg);
  box-shadow: 0 8px 18px -10px rgba(38, 53, 27, 0.6);
}

/* --- Video toggle --------------------------------------------------------- */

.video-toggle {
  position: absolute; top: 0.7rem; right: 0.7rem;
  width: 36px; height: 36px; padding: 0;
  display: grid; place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.85); border-radius: 50%;
  background: rgba(38, 53, 27, 0.6); color: #fff; cursor: pointer;
}
.video-toggle:hover { background: var(--red); border-color: #fff; }
.video-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.video-toggle .icon-play { fill: currentColor; stroke-width: 1; display: none; }
.video-toggle.is-paused .icon-play { display: block; }
.video-toggle.is-paused .icon-pause { display: none; }
.snap-clip .video-toggle { top: 0.8rem; right: 0.8rem; width: 30px; height: 30px; }
.snap-clip .video-toggle svg { width: 12px; height: 12px; }
video[data-reel] { cursor: pointer; background: var(--sage-soft); }

/* --- Ticker --------------------------------------------------------------- */

.ticker { overflow: hidden; background: var(--orange); color: var(--ink); border-block: 3px solid var(--ink); width: 104%; margin-left: -2%; transform: rotate(-1deg); }
.ticker-track { display: flex; align-items: center; gap: 2rem; width: max-content; padding: 0.75rem 0; animation: ticker 34s linear infinite; }
.ticker span { font-family: var(--display); font-size: 1.35rem; white-space: nowrap; }
.ticker i { width: 11px; height: 11px; border-radius: 50%; background: var(--ink); flex: none; }
@keyframes ticker { to { transform: translateX(calc(-50% - 1rem)); } }

/* --- Sections ------------------------------------------------------------- */

.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-sage {
  background: linear-gradient(180deg, var(--cream) 0, var(--sage-soft) 9rem, var(--sage-soft) calc(100% - 9rem), var(--cream) 100%);
}

.section-head { max-width: 42rem; margin: 0 auto clamp(2.2rem, 5vw, 3.5rem); text-align: center; }
.section-head p:last-child { margin-top: 1rem; color: var(--muted); font-size: 1.12rem; }
.section-head.is-left { margin-inline: 0; text-align: left; margin-bottom: 2rem; }

/* --- Steps ---------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.2rem); align-items: start; }
.step { position: relative; }
.step-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sage-soft); box-shadow: var(--shadow); }
.step-media img, .step-media video { width: 100%; height: 100%; object-fit: cover; }
.step-num {
  position: relative; z-index: 2;
  display: grid; place-items: center;
  width: 56px; height: 56px; margin: -28px 0 0.9rem 1.1rem;
  border-radius: 50%; border: 4px solid var(--cream);
  background: var(--red); color: #fff;
  font-family: var(--display); font-size: 1.5rem;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--muted); }

/* --- Sausages ------------------------------------------------------------- */

.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-photo { position: relative; width: min(100%, 440px); margin-inline: auto; }
.split-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); border: 10px solid var(--paper); box-shadow: var(--shadow); transform: rotate(-2deg); }
.sticker {
  position: absolute; right: -1rem; bottom: 1.4rem; max-width: 13.5rem;
  background: var(--paper); color: var(--ink);
  font: 700 1.4rem/1.1 var(--hand);
  padding: 0.8rem 1rem; border-radius: 16px; border: 2px solid var(--ink);
  transform: rotate(4deg);
}

.menu-list { display: grid; gap: 1rem; }
.menu-item { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.3rem 1.5rem 1.4rem; box-shadow: 6px 6px 0 var(--leaf); }
.menu-item h3 { font-family: var(--display); font-weight: 400; font-size: 1.55rem; margin: 0.55rem 0 0.35rem; }
.menu-item p { color: var(--muted); }
.menu-tag { display: inline-block; padding: 0.28rem 0.75rem; border-radius: 999px; background: var(--leaf); color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.menu-tag.is-orange { background: var(--orange); color: var(--ink); }
.menu-tag.is-red { background: var(--red); }

/* --- Sauces --------------------------------------------------------------- */

.sauce-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 3vw, 2.2rem); align-items: start; }
.sauce { display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; align-items: center; background: var(--sage-wash); border-radius: calc(var(--radius) + 6px); padding: 1.1rem; }
.sauce-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--sage-soft); }
.sauce-media video { width: 100%; height: 100%; object-fit: cover; }
.sauce-copy { padding-right: 0.6rem; }
.sauce-copy h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; margin-bottom: 0.5rem; }
.sauce-copy p { color: var(--muted); }
.dot { display: block; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 0.9rem; border: 3px solid var(--ink); }
.dot-red { background: var(--red-lit); }
.dot-cream { background: #fff; }

/* --- Wall ----------------------------------------------------------------- */

.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.7rem, 1.6vw, 1.1rem); }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 14; background: var(--sage); }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; }
.tile:nth-child(odd) { transform: rotate(-0.8deg); }
.tile:nth-child(even) { transform: rotate(0.8deg); }

/* --- Idea band ------------------------------------------------------------ */

.idea { padding: clamp(1rem, 3vw, 2rem) 0 0; }
.idea-inner {
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
  background: var(--orange-soft);
  border: 2px solid var(--ink); border-radius: calc(var(--radius) + 8px);
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: 8px 8px 0 var(--orange);
}
.idea-inner h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.idea-inner p:last-child { margin-top: 0.9rem; color: var(--muted); max-width: 38rem; }
.idea .scribble { color: var(--red); }

/* --- Visit ---------------------------------------------------------------- */

.visit { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.visit-photo { width: min(100%, 460px); margin-inline: auto; }
.visit-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 40%; border-radius: var(--radius); border: 10px solid var(--paper); box-shadow: var(--shadow); transform: rotate(-1.5deg); }

.visit-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 1.2rem 2.6rem; margin: 1.8rem 0; }
.visit-facts dt { font: 700 1.3rem/1 var(--hand); color: var(--leaf); margin-bottom: 0.3rem; }
.visit-facts dd { font-weight: 600; font-size: 1.12rem; line-height: 1.35; }
.visit-facts a { text-decoration-color: var(--orange); text-underline-offset: 4px; }

.visit-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.map { margin-top: 2rem; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--ink); background: var(--sage-soft); }
.map iframe { display: block; width: 100%; height: 260px; border: 0; }

.socials { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; color: var(--muted); }
.socials a { color: var(--ink); font-weight: 600; text-decoration-color: var(--orange); text-underline-offset: 4px; }

/* --- Footer --------------------------------------------------------------- */

.site-footer { margin-top: 2rem; padding: 4rem 0 3rem; text-align: center; background: linear-gradient(180deg, var(--cream), var(--sage-soft) 40%, var(--sage)); }
.footer-inner { display: grid; justify-items: center; gap: 0.7rem; }
.footer-inner img { width: 190px; height: auto; }
.footer-line { font: 700 1.8rem/1.1 var(--hand); color: var(--ink); }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.6rem; font-weight: 600; }
.footer-contact a { text-underline-offset: 4px; }
.footer-legal { margin-top: 0.8rem; font-size: 0.9rem; color: var(--ink); opacity: 0.8; }

/* --- Phone bar ------------------------------------------------------------ */

.call-bar { display: none; }

/* --- Toast ---------------------------------------------------------------- */

.toast {
  position: fixed; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 150;
  background: var(--ink); color: #fff; padding: 0.8rem 1.3rem; border-radius: 999px;
  font-weight: 600; box-shadow: var(--shadow); max-width: calc(100% - 2rem); text-align: center;
}

/* --- Reveal --------------------------------------------------------------- */

.reveal { opacity: 0; translate: 0 18px; transition: opacity 0.6s ease, translate 0.6s ease; }
.reveal.is-visible { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: none; transition: none; }
  .ticker-track { animation: none; }
  .button:hover { transform: none; }
}

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .sauce { grid-template-columns: 150px 1fr; gap: 1.1rem; }
  .visit-facts { grid-template-columns: repeat(2, auto); }
}

@media (max-width: 760px) {
  body { font-size: 1rem; padding-bottom: 76px; }
  .header-cta { display: none; }
  .brand img { width: 50px; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { width: min(100%, 340px); padding: 1rem 0 1.4rem 3rem; margin-top: 0.5rem; }
  .hero-tag { right: -0.2rem; font-size: 1.25rem; }
  .hero-actions .button { flex: 1 1 100%; }
  .hero-facts { gap: 0.9rem 1.6rem; }

  .steps { grid-template-columns: 1fr; gap: 2.2rem; max-width: 380px; margin-inline: auto; }
  .split, .visit { grid-template-columns: 1fr; }
  .split-photo { width: min(100%, 340px); }
  .sticker { right: -0.4rem; font-size: 1.25rem; max-width: 11.5rem; }
  .sauce-grid { grid-template-columns: 1fr; }
  .sauce { grid-template-columns: 120px 1fr; }
  .sauce-copy h3 { font-size: 1.35rem; }
  .wall { grid-template-columns: repeat(2, 1fr); }
  .idea-inner { grid-template-columns: 1fr; box-shadow: 6px 6px 0 var(--orange); }
  .idea-inner .button { width: 100%; }
  .visit-photo { width: min(100%, 340px); }
  .visit-actions .button { flex: 1 1 auto; }

  .call-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 0.6rem;
    padding: 0.7rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(251, 247, 236, 0.96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .call-bar .button { box-shadow: none; padding: 0.85rem 1rem; }
  .toast { bottom: 5.6rem; }
}

/* ==========================================================================
   AGENCY PREVIEW REMINDER — NOT part of the client's site.
   Delete this section, its markup, and its script once Special Hot Dog signs.
   ========================================================================== */

.agency-pop {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  padding: 1.2rem;
  background: rgba(38, 53, 27, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s ease;
}
.agency-pop[hidden] { display: none !important; }
.agency-pop.is-open { opacity: 1; pointer-events: auto; }

.agency-card {
  position: relative;
  width: min(100%, 460px); max-height: calc(100dvh - 2.4rem); overflow-y: auto;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 26px;
  padding: 2rem 1.7rem 1.4rem;
  text-align: center;
  box-shadow: 8px 8px 0 var(--orange);
  transform: translateY(14px); transition: transform 0.28s ease;
}
.agency-pop.is-open .agency-card { transform: none; }
.agency-card img { width: 120px; height: auto; margin: 0 auto 0.8rem; }
.agency-card h2 { font-size: 1.7rem; margin-bottom: 0.8rem; }
.agency-card p { color: var(--muted); }
.agency-card .agency-note { margin-top: 0.8rem; padding: 0.9rem 1rem; background: var(--sage-wash); border-radius: 16px; font-size: 0.97rem; text-align: left; }
.agency-card .agency-note strong { color: var(--ink); }
.agency-actions { display: grid; gap: 0.8rem; margin-top: 1.3rem; }
.agency-close {
  position: absolute; top: 0.7rem; right: 0.7rem;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--sage-soft); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.agency-close:hover { background: var(--sage); }
.agency-dismiss { margin-top: 1rem; padding: 0.5rem; border: 0; background: none; color: var(--muted); font: 600 0.98rem var(--body); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.agency-dismiss:hover { color: var(--ink); }
