/* ==========================================================================
   Home — hero, story, and the menu category links.
   ========================================================================== */

/* Hero: full-bleed photo under a dark gradient ---------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(calc(100dvh - 80px), 760px);
  padding-block: 72px;
  isolation: isolate;
  background: #1d140d;
  color: var(--paper);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Keeps white text at 4.5:1 or better over the brightest part of the photo. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(55deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.3));
}

.hero .eyebrow {
  color: var(--pink);
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* The tagline carries a short pink bar on its left edge. */
.hero-tagline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 36px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-tagline::before {
  content: "";
  flex-shrink: 0;
  width: 4px;
  height: 22px;
  background: var(--pink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* The outline button flips to white on the dark hero. */
.hero .button-outline {
  border-color: var(--paper);
  color: var(--paper);
}

.hero .button-outline:hover {
  background: var(--paper);
  color: var(--ink);
}

.hero :focus-visible {
  outline-color: var(--focus-on-dark);
}

/* Story: introduction beside two stacked photos --------------------------- */

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding-block: clamp(56px, 9vw, 104px);
}

.story-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.story h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.story-copy p {
  max-width: 560px;
  margin: 24px 0 30px;
  font-size: 1.125rem;
}

.story-photos {
  display: grid;
  gap: 14px;
  overflow: hidden;
  border-radius: 0 28px 0 28px;
}

.story-photos img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* Menu categories: black panel of pill links into the menu page ----------- */

.categories {
  margin-bottom: clamp(56px, 8vw, 88px);
  padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px);
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.categories h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
}

.categories > p {
  margin-top: 8px;
  color: #cccccc;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 32px;
}

.chip {
  display: inline-block;
  padding: 8px 16px;
  border: 2px solid var(--paper);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.chip:hover {
  background: var(--paper);
  color: var(--ink);
}

.categories :focus-visible {
  outline-color: var(--focus-on-dark);
}

@media (max-width: 760px) {
  .hero {
    min-height: 0;
    padding-block: 64px;
    text-align: center;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-tagline {
    justify-content: center;
  }

  .hero-tagline::before {
    display: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .story {
    grid-template-columns: 1fr;
  }

  .story-photos img {
    height: 200px;
  }

  .chips {
    gap: 8px;
  }

  .chip {
    padding: 6px 13px;
    font-size: 0.9rem;
  }
}

/* Reduced motion ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .chip {
    transition: none;
  }
}
