/* ============================================================
   The Waffle Taco – Home Page Styles
   /assets/css/home.css
   ============================================================ */

/* ── Hero Slider ────────────────────────────────────────────── */
.hero-slider {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: #0a0604;
}

/* Each slide */
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0s linear 0.9s;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s ease, visibility 0s linear 0s;
  pointer-events: auto;
}

/* Background image per slide – set via data-bg in JS */
/* Background image per slide.

   Framing is controlled PER SLIDE — see the ".slide-bg--N" block further down
   (search for "Slide background images"). Each slide can set:

     --slide-zoom   resting magnification.
                    1     = no magnification, the photo fills the frame exactly
                            (sharpest — this is the minimum, see note below)
                    1.10  = 10% more magnified / tighter crop
     --slide-drift  how much extra it starts at, then eases away (Ken Burns).
                    0     = off (steadiest, best for softer photos)
                    0.02  = subtle
     --slide-pos    which part of the photo stays in frame, e.g.
                    center | center 30% | center bottom | 60% 40%
                    Use this to fix "the dish is cut off" — it reframes
                    WITHOUT magnifying, so it costs no sharpness.

   Note: 1 is the floor. The photo is sized with `cover`, so a value below 1
   would pull the image in from the edges and leave gaps. To show MORE of a
   photo than zoom 1 gives you, the source file has to be re-cropped wider —
   ask and I'll re-export that one. */
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: var(--slide-pos, center);
  /* starts magnified by zoom + drift... */
  transform: scale(calc(var(--slide-zoom, 1) + var(--slide-drift, 0.02)));
  transition: transform 5s ease-out;
}

.slide.active .slide-bg {
  /* ...and settles to the slide's resting zoom */
  transform: scale(var(--slide-zoom, 1));
}

/* Dark overlay – bottom-to-top gradient, heavier on left for text legibility */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 6, 4, 0.78) 0%,
    rgba(10, 6, 4, 0.60) 40%,
    rgba(10, 6, 4, 0.25) 75%,
    rgba(10, 6, 4, 0.10) 100%
  );
}

/* Slide content */
.slide-content {
  position: relative;
  z-index: 2;
  padding: 0 64px;
  padding-top: var(--nav-h);
  max-width: 680px;
  width: 100%;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--gold);
  color: var(--white);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

/* Hero title */
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 900;
  line-height: 0.97;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-title .accent {
  color: var(--gold);
  font-style: italic;
}

.hero-title-line {
  display: block;
}

/* Hero subtitle */
.hero-subtitle {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 400;
  max-width: 460px;
  margin-bottom: 40px;
}

/* Hero CTA row */
.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Frosted glass "Order Online" button */
.btn-frost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-frost:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-2px);
}

/* ── Slide entrance animation ───────────────────────────────── */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide.active .hero-badge     { animation: slideUp 0.7s var(--ease-spring) 0.1s both; }
.slide.active .hero-title-line:nth-child(1) { animation: slideUp 0.8s var(--ease-spring) 0.25s both; }
.slide.active .hero-title-line:nth-child(2) { animation: slideUp 0.8s var(--ease-spring) 0.38s both; }
.slide.active .hero-subtitle  { animation: slideUp 0.8s var(--ease-spring) 0.5s both; }
.slide.active .hero-cta       { animation: slideUp 0.8s var(--ease-spring) 0.62s both; }

/* ── Slider controls ────────────────────────────────────────── */
/* Desktop: horizontal row, anchored to the bottom-right of the hero.
   Sits above the info cards (higher z-index) and is nudged up enough to
   clear them. Mirrors the original left-side layout, flipped to the right. */
.slider-nav {
  position: absolute;
  bottom: 130px;
  right: 40px;
  z-index: 10;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}

.slider-dots {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.slider-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

.slider-arrows {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.slider-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.7);
}

.slider-arrow svg {
  width: 18px;
  height: 18px;
}

/* Slide counter */
.slider-counter {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  letter-spacing: 0.04em;
  min-width: 36px;
  text-align: center;
}

/* ── Info Strip ─────────────────────────────────────────────── */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 40px;
  margin-top: -80px;
  position: relative;
  z-index: 2;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 28px 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--rust);
}

.info-icon svg {
  width: 22px;
  height: 22px;
}

.info-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.info-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

/* ── Featured Menu ──────────────────────────────────────────── */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.menu-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(61, 43, 31, 0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(61, 43, 31, 0.13);
}

.menu-card-img {
  width: 100%;
  /* height:auto is REQUIRED — the <img height="600"> attribute otherwise sets a
     600px height that beats aspect-ratio (which only applies when height is auto),
     making every card ~850px tall. */
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--sand);
  display: block;
}

/* ── Fan Favorites slider UI (mobile only) ──────────────────────
   Mirrors the hero slider's controls — dots, circular arrows, counter —
   but recoloured for the light cream background instead of the hero's
   frosted-glass-on-photo treatment. */
.menu-slider-ui {
  display: none;              /* desktop: all three cards are visible already */
  margin-top: 26px;
}

/* Countdown bar: full width, then depletes left → right before switching */
.menu-progress {
  height: 3px;
  background: var(--sand);
  border-radius: 999px;
  overflow: hidden;
}

.menu-progress-fill {
  height: 100%;
  background: var(--rust);
  border-radius: 999px;
  transform: scaleX(1);
  transform-origin: right;    /* collapses toward the right */
  /* duration lives here so CSS is the single source of truth — main.js reads
     it back with getComputedStyle and matches its timer to it */
  animation-duration: 6s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

.menu-progress-fill.running {
  animation-name: menuCountdown;
}

@keyframes menuCountdown {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

/* Control row — same order as the hero: dots, arrows, counter */
.menu-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}

.menu-dots {
  display: flex;
  gap: 10px;
}

.menu-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--sand);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.menu-dot.active {
  background: var(--rust);
  transform: scale(1.3);
}

.menu-arrows {
  display: flex;
  gap: 8px;
}

.menu-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--sand);
  background: var(--white);
  color: var(--brown);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.menu-arrow:hover {
  background: var(--warm);
  border-color: var(--brown);
  transform: scale(1.05);
}

.menu-arrow svg {
  width: 18px;
  height: 18px;
}

.menu-counter {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  min-width: 36px;
  text-align: center;
}

/* No autoplay animation for people who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .menu-progress {
    display: none;
  }
}

.menu-card-body {
  padding: 22px 24px 26px;
}

.menu-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.menu-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 10px;
  line-height: 1.2;
}

.menu-card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.btn-add {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rust);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}

.btn-add:hover {
  transform: scale(1.1);
  background: var(--rust-dark);
}

.btn-add svg {
  width: 18px;
  height: 18px;
}

/* Menu card "Order Now" link (external to Toast) */
.menu-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--rust);
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}

.menu-card-link svg {
  width: 16px;
  height: 16px;
}

.menu-card-link:hover {
  color: var(--rust-dark);
  gap: 10px;
}

/* ── About Strip ─────────────────────────────────────────────── */
.about-strip {
  background: var(--brown);
  color: var(--white);
  border-radius: 28px;
  margin: 0 40px;
  padding: 80px;
  display: grid;
  /* minmax(0,…) instead of a bare 1fr: a bare 1fr refuses to shrink below its
     content's min-content width, which let the stat grid push this section
     wider than the phone and get clipped by the overflow:hidden below. */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Grid children default to min-width:auto; zero it so they can actually shrink */
.about-strip > * {
  min-width: 0;
}

.about-strip::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(232, 160, 32, 0.08);
  pointer-events: none;
}

.about-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.about-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.about-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.about-title em {
  color: var(--gold);
  font-style: italic;
}

.about-text {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.stat {
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  /* scales down on narrow screens so long words like "Premium" still fit */
  font-size: clamp(24px, 6vw, 40px);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-strip {
    gap: 48px;
    padding: 60px;
  }
}

@media (max-width: 768px) {
  .slide-content {
    padding: 0 24px;
    padding-top: var(--nav-h);
  }

  /* Mobile: horizontal row centered at the bottom.
     On mobile the info cards sit BELOW the hero (margin-top:40px), so the
     bottom of the hero is free — no overlap. */
  .slider-nav {
    bottom: 24px;
    left: 0;
    right: 0;
    justify-content: center;
    padding: 0 24px;
    gap: 16px;
  }

  .info-strip {
    grid-template-columns: 1fr;
    margin-top: 40px;
    padding: 0 20px;
  }

  /* ── Fan Favorites → swipeable carousel on mobile ──────────────
     Native CSS scroll-snap: real momentum swiping, no JS required for
     the scrolling itself. Keeps the page short instead of stacking
     three tall cards vertically. */
  .menu-grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    /* bleed the track to the screen edges, but keep a 20px gutter so the
       first card lines up with the section heading */
    margin-inline: -20px;
    padding-inline: 20px;
    padding-block: 4px 8px;
    scroll-padding-inline: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;          /* Firefox */
  }

  .menu-grid::-webkit-scrollbar {   /* Chrome / Safari */
    display: none;
  }

  .menu-card {
    /* < 100% so the next card peeks in — signals "swipe me" */
    flex: 0 0 80%;
    min-width: 0;
    scroll-snap-align: start;
  }

  /* Cards 2 and 3 sit off-screen horizontally, so the scroll-reveal observer
     would never fire for them and they'd stay invisible. Show them outright. */
  .menu-grid .reveal {
    opacity: 1;
    transform: none;
  }

  .menu-grid .reveal.visible {
    animation: none;
  }

  .menu-slider-ui {
    display: block;
  }

  .about-strip {
    grid-template-columns: minmax(0, 1fr);
    padding: 44px 22px;
    gap: 36px;
    margin: 0 16px;
  }

  .stat-grid {
    gap: 12px;
  }

  .stat {
    padding: 18px 14px;
  }
}

/* Very narrow phones (≤359px): stack the stats so long words never get squeezed */
@media (max-width: 359px) {
  .stat-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stat {
    padding: 16px 18px;
  }
}

/* ── Slide background images + per-slide framing ─────────────────────────────
   ┌────────────────────────────────────────────────────────────────────────┐
   │  TUNE EACH HERO PHOTO HERE. Three knobs per slide:                     │
   │                                                                        │
   │   --slide-zoom   1 = photo fills the frame exactly (sharpest, widest    │
   │                  view). Raise it to crop in tighter: 1.08, 1.15, ...    │
   │   --slide-drift  slow zoom-out at the start. 0 = none, 0.02 = subtle.   │
   │   --slide-pos    which part stays in frame when it crops.               │
   │                  center · center 30% · center bottom · 60% 40%          │
   │                                                                        │
   │  If a dish is cut off, reach for --slide-pos FIRST — it reframes with   │
   │  no loss of sharpness. Only raise --slide-zoom when you actually want   │
   │  a tighter shot.                                                       │
   └────────────────────────────────────────────────────────────────────────┘ */

/* Slide 1 — waffle taco. Dish sits low in the frame, so hold the bottom. */
.slide-bg--1 {
  background-image: url('/assets/img/hero-1.jpg');
  --slide-zoom: 1;
  --slide-drift: 0.02;
  --slide-pos: center bottom;
}

/* Slide 2 — waffle close-up. Already tight; no extra magnification. */
.slide-bg--2 {
  background-image: url('/assets/img/hero-2.jpg');
  --slide-zoom: 1;
  --slide-drift: 0.02;
  --slide-pos: center;
}

/* Slide 3 — the drink. Very tight close-up, so keep zoom at the minimum and
   sit slightly high to keep the whipped cream and glass in frame. */
.slide-bg--3 {
  background-image: url('/assets/img/hero-3.jpg');
  --slide-zoom: 1;
  --slide-drift: 0;
  --slide-pos: center 0.03;
}

/* Slide 4 — steak plate. Wider shot, takes a little drift nicely. */
.slide-bg--4 {
  background-image: url('/assets/img/hero-4.jpg');
  --slide-zoom: 1;
  --slide-drift: 0.03;
  --slide-pos: center;
}

/* ── Location map section ───────────────────────────────────── */
.map-section {
  padding-top: 88px;
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.map-info .section-sub {
  margin-bottom: 32px;
}

.map-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.map-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--warm);
  color: var(--rust);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.map-detail-icon svg {
  width: 20px;
  height: 20px;
}

.map-detail h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.map-detail p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.map-detail a {
  color: var(--rust);
  text-decoration: none;
}
.map-detail a:hover {
  text-decoration: underline;
}

.map-directions-btn {
  margin-top: 12px;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(61, 43, 31, 0.12);
  line-height: 0;
  height: 100%;
  min-height: 340px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

@media (max-width: 900px) {
  .map-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }
  .map-embed {
    min-height: 280px;
    order: -1;
  }
  .map-embed iframe {
    min-height: 280px;
  }
}

/* ── Special of the Day lightbox ────────────────────────────── */
.promo-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(42, 31, 23, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* CRITICAL: a class selector beats the browser's default [hidden]{display:none},
   so without this the overlay stays in the layout at opacity:0 and — because it
   is fixed + inset:0 — silently swallows every click on the page. */
.promo-overlay[hidden] {
  display: none;
}

/* Belt-and-braces: while fading out (visible removed, but still in the DOM for
   the 350ms transition) the overlay must not intercept clicks either. */
.promo-overlay:not(.visible) {
  pointer-events: none;
}

.promo-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.promo-modal {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  width: 100%;
  max-width: 820px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.45s var(--ease-spring);
}

.promo-overlay.visible .promo-modal {
  transform: translateY(0) scale(1);
}

/* Close (X) */
.promo-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brown);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: background 0.2s, transform 0.2s;
}

.promo-close:hover {
  background: var(--white);
  transform: rotate(90deg);
}

.promo-close svg {
  width: 18px;
  height: 18px;
}

/* Image side */
.promo-media {
  overflow: hidden;
  min-height: 340px;
}

.promo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content side */
.promo-body {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.promo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 12px;
}

.promo-eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--rust);
  border-radius: 2px;
}

.promo-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 13px;
  background: var(--gold);
  color: var(--white);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.promo-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--brown);
  margin-bottom: 12px;
}

.promo-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 26px;
}

.promo-cta {
  margin-bottom: 14px;
}

.promo-dismiss {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.promo-dismiss:hover {
  color: var(--brown);
}

/* Mobile: stack, shorter image */
@media (max-width: 720px) {
  .promo-overlay {
    padding: 16px;
  }

  .promo-modal {
    grid-template-columns: 1fr;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .promo-media {
    min-height: 0;
    height: 200px;
  }

  .promo-body {
    padding: 28px 24px 32px;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .promo-overlay,
  .promo-modal {
    transition: none;
  }
}

/* Lock background scroll while the promo lightbox is open */
body.promo-open {
  overflow: hidden;
}