/* =============================================================
   リストランテ・森ノ庭 福島 — Demo LP
   =============================================================
   目次
   1.  Design Tokens
   2.  Reset / Base
   3.  Layout Helpers
   4.  Photo Placeholders (ph-photo)
   5.  Buttons
   6.  Header & Navigation
   7.  Hero
   8.  Section Basics (shared by all sections)
   9.  Concept
   10. Lunch
   11. Ingredients
   12. Wood-fired Pizza
   13. Story
   14. Voice
   15. Access
   16. Reserve
   17. Fixed Mobile CTA
   18. Footer
   19. Scroll-reveal Animation
   20. Responsive (tablet, then phone)
   ============================================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* colors */
  --color-bg: #faf8f2;
  --color-bg-green: #eff2e6;
  --color-bg-beige: #f4ece1;
  --color-green: #445e42;
  --color-green-dark: #2e4030;
  --color-green-deep: #23301f;
  --color-terracotta: #c1704a;
  --color-terracotta-light: #e4b79a;
  --color-text: #2a2823;
  --color-text-soft: #5b5a52;
  --color-white: #ffffff;

  /* typography */
  --font-serif: "Shippori Mincho", serif;
  --font-sans: "Noto Sans JP", sans-serif;

  /* layout */
  --max-width: 1160px;
  --header-h: 84px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

/* Belt-and-braces guard: nothing in this layout should cause
   horizontal scroll, but a stray wide element on mobile is an
   easy mistake to miss, so we clip it here as a safety net. */
html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.9;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  margin: 0;
  font-weight: 600;
}

p {
  margin: 0;
}

/* ---------- 3. Layout Helpers ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* Shown only below the tablet breakpoint (see §20) */
.sp-only {
  display: none;
}

/* ---------- 4. Photo Placeholders (ph-photo) ---------- */
/* Until real photography is dropped in, .ph-photo renders a
   labeled gradient card so the layout reads as "finished" even
   with no assets. Once a real photo is set (inline background-
   image + .has-photo), the label/texture are hidden. */
.ph-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(68, 94, 66, 0.22), rgba(193, 112, 74, 0.18)),
    linear-gradient(160deg, #cfd8bd 0%, #e8ddc7 55%, #d8c3ab 100%);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.ph-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.08) 0 2px,
    transparent 2px 14px
  );
  mix-blend-mode: overlay;
}

.ph-photo::after {
  content: attr(data-label);
  position: relative;
  z-index: 1;
  display: block;
  margin: 14px;
  padding: 8px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  line-height: 1.5;
  color: var(--color-green-deep);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  max-width: calc(100% - 28px);
}

.hero-photo.ph-photo::after {
  display: none;
}

.ph-tall {
  aspect-ratio: 3 / 4;
}

.ph-wide {
  aspect-ratio: 16 / 10;
}

.ph-photo.has-photo {
  background-size: cover;
  background-position: center;
}

.ph-photo.has-photo::before,
.ph-photo.has-photo::after {
  content: none;
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.btn-primary {
  background: var(--color-terracotta);
  color: #fff;
}

.btn-primary:hover {
  background: #b0623e;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 0.98rem;
}

.btn-block {
  width: 100%;
}

/* ---------- 6. Header & Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(250, 248, 242, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(42, 40, 35, 0.06);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(42, 40, 35, 0.06);
}

.header-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-jp {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-green-dark);
}

.logo-en {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--color-text-soft);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav ul {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--color-terracotta);
  transition: width 0.25s var(--ease);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 11px 26px;
  font-size: 0.82rem;
}

.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--color-green-dark);
  transition: all 0.3s var(--ease);
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: var(--color-bg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.mobile-nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-green-dark);
}

.mobile-nav-cta {
  margin-top: 8px;
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: 0;
  aspect-ratio: auto;
  background:
    linear-gradient(180deg, rgba(20, 26, 16, 0.15) 0%, rgba(20, 26, 16, 0.55) 100%),
    linear-gradient(135deg, #7c9169 0%, #b7c79b 35%, #e9dcc2 70%, #cf9f74 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 17, 10, 0.55) 0%, rgba(14, 17, 10, 0.24) 38%, rgba(14, 17, 10, 0) 62%),
    linear-gradient(0deg, rgba(14, 17, 10, 0.78) 0%, rgba(14, 17, 10, 0.18) 48%, rgba(14, 17, 10, 0) 78%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px 100px;
}

.hero-en {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 500;
  opacity: 0.92;
  margin-bottom: 18px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.4;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero-copy {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  margin-bottom: 10px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-subcopy {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  opacity: 0.96;
  margin-bottom: 38px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

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

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 52px;
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}

.scroll-cue span::after {
  content: "";
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: cue 2.2s infinite ease-in-out;
}

@keyframes cue {
  0% {
    top: -100%;
  }
  60% {
    top: 100%;
  }
  100% {
    top: 100%;
  }
}

/* ---------- 8. Section Basics ---------- */
.section {
  padding: 120px 0;
}

.section-alt {
  background: var(--color-bg-green);
}

.section-dark {
  background: var(--color-green-deep);
}

.section-reserve {
  background: var(--color-bg-beige);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 14px;
  font-weight: 500;
}

.eyebrow-light {
  color: var(--color-terracotta-light);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  line-height: 1.6;
  color: var(--color-green-dark);
}

.section-title-light {
  color: #fff;
}

.section-body {
  margin-top: 20px;
  color: var(--color-text-soft);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.95;
}

.section-body-light {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

/* ---------- 9. Concept ---------- */
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: center;
}

.concept-text .section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
}

.concept-photos {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.concept-photos .ph-photo {
  aspect-ratio: 4 / 3;
}

/* ---------- 10. Lunch ---------- */
.lunch-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: stretch;
  margin-top: 8px;
}

.lunch-photo {
  aspect-ratio: 3 / 2;
}

.lunch-card {
  background: #fff;
  border-radius: 10px;
  padding: 40px 34px;
  box-shadow: 0 20px 50px rgba(46, 64, 48, 0.08);
  display: flex;
  flex-direction: column;
}

.lunch-card-label {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-text-soft);
}

.lunch-price {
  font-family: var(--font-serif);
  color: var(--color-terracotta);
  font-size: 2.4rem;
  margin: 8px 0 26px;
}

.lunch-price span {
  font-size: 1.2rem;
}

.lunch-price small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--color-text-soft);
  margin-top: 4px;
}

.lunch-course-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex: 1;
}

.lunch-course-list li {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 500;
  padding-left: 18px;
  position: relative;
  color: var(--color-text);
}

.lunch-course-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green);
}

.lunch-course-list .or {
  font-size: 0.75rem;
  color: var(--color-text-soft);
}

.lunch-sub-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

/* ---------- 11. Ingredients ---------- */
.ingredients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.ingredients-photo-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ingredients-photo {
  aspect-ratio: 4 / 3;
}

.ingredients-photo-mini {
  aspect-ratio: 16 / 9;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag-list li {
  font-family: var(--font-serif);
  font-size: 0.84rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--color-bg-green);
  color: var(--color-green-dark);
  border: 1px solid rgba(68, 94, 66, 0.18);
}

.ingredients-photo-sub {
  margin-top: 28px;
  aspect-ratio: 16 / 9;
}

/* ---------- 12. Wood-fired Pizza ---------- */
/* Full-bleed treatment (mirrors the hero): the source photo has
   a dark, empty left third by design, so the copy sits directly
   on the photo rather than in a separate column. */
.pizza-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.pizza-photo {
  position: absolute;
  inset: 0;
  border-radius: 0;
  aspect-ratio: auto;
  background:
    linear-gradient(135deg, rgba(193, 112, 74, 0.25), rgba(35, 48, 31, 0.25)),
    linear-gradient(160deg, #3a2f24 0%, #6d4a30 55%, #c1704a 100%);
  background-size: cover;
  /* Biased right so the oven/pizza stays in frame even when the
     box gets narrow and tall on phones. */
  background-position: right center;
}

.pizza-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 18, 11, 0.88) 0%,
    rgba(15, 18, 11, 0.72) 38%,
    rgba(15, 18, 11, 0.25) 62%,
    rgba(15, 18, 11, 0) 80%
  );
}

.pizza-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

/* ---------- 13. Story ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 72px;
  align-items: center;
}

.story-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.story-photos .ph-photo {
  aspect-ratio: 1 / 1;
}

/* ---------- 14. Voice ---------- */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.voice-card {
  background: #fff;
  border-radius: 10px;
  padding: 34px 28px;
  box-shadow: 0 14px 40px rgba(46, 64, 48, 0.06);
}

.voice-stars {
  color: var(--color-terracotta);
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.voice-text {
  font-family: var(--font-serif);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 20px;
}

.voice-who {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-soft);
}

/* ---------- 15. Access ---------- */
.access-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: start;
}

.access-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.access-list > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  font-family: var(--font-serif);
  font-size: 0.96rem;
  font-weight: 500;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(42, 40, 35, 0.08);
}

.access-list dt {
  color: var(--color-text-soft);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding-top: 2px;
}

.access-list dd {
  margin: 0;
}

.access-list a {
  color: var(--color-terracotta);
}

.access-map {
  margin-top: 32px;
  aspect-ratio: 16 / 9;
  align-items: center;
  justify-content: center;
}

.access-map::after {
  display: none;
}

.map-btn {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.82rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  color: var(--color-green-dark);
}

.access-photos {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.access-photos .ph-photo {
  aspect-ratio: 4 / 3;
}

/* ---------- 16. Reserve ---------- */
.reserve-form {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  padding: 48px 44px;
  box-shadow: 0 24px 60px rgba(46, 64, 48, 0.08);
}

.form-row {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}

.form-row-split > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.reserve-form label {
  font-size: 0.8rem;
  color: var(--color-text-soft);
  letter-spacing: 0.03em;
}

.reserve-form input,
.reserve-form select,
.reserve-form textarea {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid rgba(42, 40, 35, 0.15);
  background: var(--color-bg);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s var(--ease);
}

.reserve-form input:focus,
.reserve-form select:focus,
.reserve-form textarea:focus {
  border-color: var(--color-terracotta);
}

.reserve-form textarea {
  resize: vertical;
}

.reserve-note {
  margin-top: 18px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-soft);
  line-height: 1.8;
}

.reserve-note a {
  color: var(--color-terracotta);
}

.reserve-confirm {
  margin-top: 26px;
  padding: 22px 24px;
  border-radius: 10px;
  background: var(--color-bg-green);
  border: 1px solid rgba(68, 94, 66, 0.2);
}

.reserve-confirm-title {
  font-family: var(--font-serif);
  color: var(--color-green-dark);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

#reserveConfirmBody {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 2;
  color: var(--color-text);
  white-space: pre-line;
}

.reserve-confirm-caption {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-soft);
}

/* ---------- 17. Fixed Mobile CTA ---------- */
.mobile-fixed-cta {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  text-align: center;
  padding: 16px;
  background: var(--color-terracotta);
  color: #fff;
  border-radius: 999px;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

/* ---------- 18. Footer ---------- */
.site-footer {
  background: var(--color-green-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 72px 0 40px;
  text-align: center;
}

.footer-copy {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 10px;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 500;
}

.footer-en {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-top: 4px;
}

.footer-info {
  margin-top: 28px;
  font-family: var(--font-serif);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 2;
  opacity: 0.85;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.footer-sns {
  display: inline-block;
  margin-top: 24px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-decoration: underline;
  opacity: 0.85;
}

.footer-bottom {
  margin-top: 40px;
  font-size: 0.68rem;
  opacity: 0.55;
}

/* ---------- 19. Scroll-reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =============================================================
   20. Responsive
   ============================================================= */

/* ----- Tablet and below (≤980px): collapse to hamburger nav,
   stack every two-column section into one column ----- */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .sp-only {
    display: inline;
  }

  .concept-grid,
  .ingredients-grid,
  .story-grid,
  .access-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Keep the stacked text column at a comfortable reading width
     instead of stretching it across the full tablet viewport. */
  .concept-text,
  .ingredients-text,
  .story-text,
  .access-text {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  .lunch-layout {
    grid-template-columns: 1fr;
  }

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

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

  .pizza-hero {
    min-height: 520px;
  }

  .pizza-overlay {
    background: linear-gradient(0deg, rgba(20, 24, 15, 0.8) 0%, rgba(20, 24, 15, 0.25) 60%);
  }

  .mobile-fixed-cta {
    display: block;
  }

  .section {
    padding: 84px 0;
  }

  body {
    padding-bottom: 88px;
  }
}

/* ----- Phones (≤640px) ----- */
@media (max-width: 640px) {
  .container {
    padding: 0 22px;
  }

  .header-inner {
    padding: 0 20px;
  }

  .hero-content {
    padding: 0 22px 84px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .pizza-hero {
    min-height: 440px;
    align-items: flex-end;
    padding-bottom: 56px;
  }

  .lunch-sub-photos {
    grid-template-columns: 1fr;
  }

  .form-row-split {
    grid-template-columns: 1fr;
  }

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

  .reserve-form {
    padding: 34px 22px;
  }

  .lunch-card {
    padding: 30px 24px;
  }
}
