/* Home hero — full-bleed cinematic */
.home-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.04);
  filter: saturate(1.12) contrast(1.06);
  animation: hero-kenburns 18s ease-out forwards;
}

@keyframes hero-kenburns {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

.home-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(26, 15, 10, 0.55) 0%, rgba(26, 15, 10, 0.2) 38%, rgba(26, 15, 10, 0.55) 70%, rgba(26, 15, 10, 0.92) 100%),
    linear-gradient(90deg, rgba(249, 24, 20, 0.18) 0%, transparent 50%);
  pointer-events: none;
}

.home-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem calc(6.5rem + env(safe-area-inset-bottom, 0px));
  text-align: left;
}

@media (min-width: 768px) {
  .home-hero__content {
    padding-bottom: 5.5rem;
  }
}

.home-hero__brand {
  margin: 0;
  font-size: clamp(5.5rem, 22vw, 12rem);
  line-height: 0.82;
  letter-spacing: -0.03em;
  color: #f91814;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  user-select: none;
}

.home-hero__line {
  margin: 0.85rem 0 0;
  font-size: clamp(1.35rem, 4.2vw, 2.15rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #f9cd25;
}

.home-hero__sub {
  margin: 0.75rem 0 0;
  max-width: 22rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn-hero-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.home-hero__scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: 1.25rem;
  height: 2rem;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  display: none;
}

.home-hero__scroll span {
  display: block;
  width: 0.3rem;
  height: 0.3rem;
  margin: 0.4rem auto 0;
  border-radius: 999px;
  background: #fff;
  animation: hero-scroll-dot 1.4s ease-in-out infinite;
}

@keyframes hero-scroll-dot {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(0.85rem);
  }
}

@media (min-width: 768px) {
  .home-hero__scroll {
    display: block;
    bottom: 1.75rem;
  }

  .home-hero__bg img {
    object-position: center 42%;
  }

  .home-hero__sub {
    max-width: 28rem;
    font-size: 1.05rem;
  }
}

/* Experience band */
.experience-band {
  background: var(--brand);
  color: #fff;
  padding: 5rem 0;
}

.experience-band h2,
.experience-band .eyebrow {
  color: #fff;
}

.experience-stats {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .experience-stats {
    flex-direction: row;
    justify-content: space-between;
  }
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.experience-list div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.experience-list span {
  white-space: nowrap;
  line-height: 1.2;
}

.experience-list iconify-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.experience-media img {
  width: min(100%, 22rem);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
}

/* Mobile: icon on the left for the end column */
.experience-list--end {
  align-items: flex-start;
}

.experience-list--end div {
  flex-direction: row-reverse;
}

@media (min-width: 768px) {
  .experience-list--end {
    align-items: flex-end;
    text-align: right;
  }

  /* Desktop right column: label then icon, flush right */
  .experience-list--end div {
    flex-direction: row;
    justify-content: flex-end;
  }
}

/* Locations yellow band */
.locations-band {
  background: var(--accent-bright);
  padding: 5rem 0;
}

.locations-band .page-shell {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 768px) {
  .locations-band .page-shell {
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
  }
}

.locations-band__intro {
  color: #2c1608;
}

.locations-band__intro .font-accent {
  color: var(--brand);
}

.locations-band__intro h2 {
  font-family: "Modak", system-ui, sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.05;
  margin: 0.5rem 0 1.25rem;
  color: #2c1608;
}

.locations-band__intro p {
  color: #4a2e1a;
}

.locations-band__intro .btn-primary {
  background: #2c1608;
  color: #fff;
  box-shadow: 0 6px 18px rgba(44, 22, 8, 0.22);
}

.locations-band__intro .btn-primary:hover {
  background: #1a0f0a;
}

.locations-band__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  flex: 1;
}

@media (min-width: 640px) {
  .locations-band__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .locations-band__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.location-tile img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1.5rem;
  margin-bottom: 0.85rem;
}

.location-tile p {
  text-align: center;
  font-family: "Modak", system-ui, sans-serif;
  font-size: 1.25rem;
  color: var(--brand);
  margin: 0;
}

.location-tile__hours {
  display: block;
  text-align: center;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #4a2e1a;
  letter-spacing: 0.01em;
}

[data-theme="dark"] .location-tile__hours {
  color: rgba(255, 255, 255, 0.85);
}

/* Menu page toolbar */
.menu-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.menu-toolbar__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Item detail */
.item-layout {
  display: grid;
  gap: 2rem;
  padding-bottom: 3rem;
}

@media (min-width: 900px) {
  .item-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: start;
  }
}

/* Frame locks size — Swiper alone + aspect-ratio can explode to millions of px */
.item-gallery-frame {
  position: relative;
  width: 100%;
  max-width: 36rem;
  aspect-ratio: 1 / 1;
  border-radius: 1.75rem;
  overflow: hidden;
  background: var(--bg-muted);
}

.item-gallery-frame .item-gallery.swiper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}

.item-gallery-frame .swiper-wrapper {
  height: 100% !important;
}

.item-gallery-frame .swiper-slide {
  height: 100% !important;
  overflow: hidden;
}

.item-gallery-frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: 0;
}

.item-gallery-frame--tall {
  aspect-ratio: 4 / 5;
}

.item-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand);
}

.nutrition-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.nutrition-pill {
  background: var(--bg-muted);
  border-radius: 1rem;
  padding: 0.85rem;
  text-align: center;
}

.nutrition-pill strong {
  display: block;
  font-size: 1.1rem;
  color: var(--brand);
}

.nutrition-pill span {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* About timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  padding-left: 1.25rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: var(--card-border);
}

.timeline-item {
  position: relative;
  padding-left: 1rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.05rem;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--brand);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1.5rem;
  margin-bottom: 0.85rem;
}

/* Ingredients page */
.ingredient-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .ingredient-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ingredient-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ingredient-grid--compact {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .ingredient-grid--compact {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
  }
}

@media (min-width: 900px) {
  .ingredient-grid--compact {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1100px) {
  .ingredient-grid--compact {
    grid-template-columns: repeat(6, 1fr);
  }
}

.ingredient-card {
  padding: 1.5rem;
  border-radius: 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ingredient-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.ingredient-card img {
  width: 7rem;
  height: 7rem;
  object-fit: contain;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 10px 20px rgba(44, 22, 8, 0.12));
}

.ingredient-card h4 {
  margin: 0;
  font-size: 1.05rem;
}

.ingredient-card--sm {
  padding: 0.85rem 0.65rem 1rem;
  border-radius: 1.15rem;
}

.ingredient-card--sm img {
  width: 3.75rem;
  height: 3.75rem;
  margin-bottom: 0.65rem;
  object-fit: cover;
  border-radius: 0.85rem;
}

.ingredient-card--sm h4 {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

@media (min-width: 640px) {
  .ingredient-card--sm {
    padding: 1rem 0.75rem 1.1rem;
  }

  .ingredient-card--sm img {
    width: 4.25rem;
    height: 4.25rem;
  }

  .ingredient-card--sm h4 {
    font-size: 0.85rem;
  }
}

/* Legal prose */
.legal-prose {
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.legal-prose h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--brand);
}

.legal-prose p,
.legal-prose li {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.legal-prose ul {
  padding-left: 1.25rem;
}

/* 404 */
.error-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem;
}

.error-page h1 {
  font-family: "Modak", system-ui, sans-serif;
  font-size: clamp(5rem, 20vw, 10rem);
  color: var(--brand);
  margin: 0;
  line-height: 0.9;
}

/* Contact / jobs layout */
.split-layout {
  display: grid;
  gap: 2rem;
  padding-bottom: 3rem;
}

@media (min-width: 900px) {
  .split-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
  }
}

.info-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
  border-radius: 1.75rem;
  padding: 1.5rem;
}

.info-panel h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.info-panel p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.info-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-pad {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section-pad {
    padding: 6rem 0;
  }
}

.section-title {
  font-family: "Modak", system-ui, sans-serif;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  color: var(--brand);
  line-height: 1;
  margin: 0.35rem 0 0.75rem;
}

.about-cta {
  display: inline-flex;
  margin: 0 auto 0.25rem;
}

.bento-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 4.5rem;
}

@media (min-width: 768px) {
  .bento-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .bento-3 > :nth-child(2) {
    transform: translateY(-1.5rem);
  }
}

.bento-3 img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
  border-radius: 1.5rem;
}

@media (min-width: 768px) {
  .bento-3 img {
    height: 24rem;
  }
}

.select-sort {
  border-radius: 999px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--text);
  padding: 0.65rem 1rem;
  outline: none;
  font-size: 0.8rem;
  font-weight: 600;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hours-list strong {
  color: var(--text);
  font-weight: 600;
}

.hours-list--compact {
  gap: 0.3rem;
  margin-top: 0.25rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--card-border);
}

.hours-list--compact li {
  font-size: 0.75rem;
}

.hours-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  padding: 1.25rem 1.35rem;
}

.hours-panel h3 {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.map-placeholder {
  border-radius: 1.5rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 18%, var(--bg-muted)), var(--bg-muted));
  min-height: 16rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  border: 1px solid var(--card-border);
}

.job-card {
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cta-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .cta-split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.cta-split img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2rem;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}
