.hero {
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-xl);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 7fr 5fr; }
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-primary);
}

.hero__title {
  font-size: clamp(2rem, 1.2rem + 1.85vw, 3.25rem);
}

.hero__lead {
  max-width: 36rem;
  color: var(--color-charcoal);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
}

/* An <a> to the reviews section: the stars and the rating line are one
   click target. */
.hero__rating {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: inherit;
  text-decoration: none;
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
}
.hero__stars { display: flex; color: var(--color-gold); gap: 0.1rem; }
.hero__stars .icon { width: 1.1rem; height: 1.1rem; }
.hero__stars .is-empty { color: var(--color-border); }
.hero__rating-text {
  font-size: 0.8125rem;
  color: var(--color-muted-gray);
}
.hero__rating:hover .hero__rating-text { text-decoration: underline; }

.hero__visual {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-surface);
  background: var(--color-surface);
  aspect-ratio: 1 / 1;
}

/* Carousel (openspec/changes/archive/2026-09-28-hero-carousel/ and
   openspec/changes/archive/2026-10-17-hero-two-photo-carousel/; it was
   briefly dormant, with a single photo and no dots, in
   openspec/changes/archive/2026-10-17-hero-single-photo/) — slides are
   stacked (each absolutely positioned, filling .hero__visual-slides) and
   crossfaded via opacity; js/modules/hero-carousel.js toggles which one
   carries .is-active. Stacking them (rather than a horizontal track +
   transform) keeps the original single-photo layout/aspect-ratio
   unchanged — the same box that once held one <img>, with the slides
   layered inside it. */
.hero__visual-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero__visual-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.hero__visual-slide.is-active {
  opacity: 1;
}
/* Gated behind prefers-reduced-motion, same pattern as status-bar.css's
   pulsing dot and reset.css's smooth scroll — people who've asked their
   OS for less motion get an instant cut between slides instead of a
   crossfade. */
@media (prefers-reduced-motion: no-preference) {
  .hero__visual-slide {
    transition: opacity 0.6s ease;
  }
}

.hero__visual-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The sauce photo (food-photo.jpeg) is a 4:3 landscape shot shown in this
   square frame, so about a quarter of its width is cropped. Shift the
   crop window to the left (10%, not the default centre 50%) to keep the
   whole sauce bottle, the hands, the tray and Ninh's face in frame and
   drop the menu board's cut-off edge on the right. The trailer photo
   (truck-photo.png) is already square: no effect there. */
.hero__visual-photo--landscape {
  object-position: 10% 50%;
}

.hero__visual-overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(17,17,17,0.85), rgba(17,17,17,0.45) 60%, transparent);
  color: var(--color-surface);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.hero__visual-overlay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero__visual-overlay-title { font-family: var(--font-headline); font-weight: 700; font-size: 1.125rem; display: block; }
.hero__visual-overlay-sub { font-size: 0.75rem; color: var(--color-gold-light); }
.hero__visual-badge {
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--color-gold);
  color: var(--color-brand-black);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* openspec/changes/archive/2026-09-28-hero-carousel/ — position indicator ("image 2 of 3"),
   doubling as manual navigation. Each <button> gets a roomier tap
   target than its visible dot, a common carousel convention, rather
   than the ~44px minimum used for primary controls elsewhere
   (docs/010) — these are clustered, secondary, and not the page's main
   interactive elements. */
.hero__visual-dots {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}
.hero__visual-dot {
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
.hero__visual-dot::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.5);
  transition: background-color 0.15s ease;
}
.hero__visual-dot.is-active::before {
  background: var(--color-gold);
}
