:root {
  --espresso: #665650;
  --espresso-2: #78665f;
  --ink: #423a36;
  --muted: #746b67;
  --cream: #e9e4df;
  --cream-2: #e1d0be;
  --paper: #f8f5f2;
  --accent: #cea79f;
  --taupe: #c7bdb9;
  --brown: #98847b;
  --line: rgba(66, 58, 54, 0.16);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow: 0 40px 100px rgba(66, 58, 54, 0.22);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: var(--ink); }

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: white;
  background: rgba(66,58,54,.92);
  box-shadow: 0 14px 34px rgba(66,58,54,.24);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background-color .2s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--espresso); transform: translateY(-2px); }
.back-to-top.is-visible { pointer-events: auto; }
.back-to-top svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.page-frame {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--paper);
  box-shadow: none;
}

@media (max-width: 900px) {
  .mobile-order-bar { min-height: 64px; font-size: 1.08rem; font-weight: 700; }
}

.site-header {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 0 72px;
  background: var(--cream);
  border-bottom: 1px solid rgba(66,58,54,.10);
  position: relative;
  z-index: 50;
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
}
.brand-text, .footer-brand strong {
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: -0.04em;
}
.primary-nav { display: flex; gap: 34px; align-items: center; }
.primary-nav a {
  position: relative;
  color: #746b67;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  transition: right .25s ease;
}
.primary-nav a:hover,
.primary-nav a.active { color: var(--ink); }
.primary-nav a.active::after { right: 0; }
.header-order { justify-self: end; }
.nav-toggle { display: none; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--espresso); color: white; }
.button-dark:hover { background: #574944; }
.button-outline { border-color: var(--line); background: transparent; color: var(--ink); }
.button-outline:hover { border-color: var(--espresso); background: rgba(255,255,255,.52); }
.button-cream { background: var(--cream); color: var(--ink); }
.button-cream:hover { background: var(--paper); }
.button-large { min-height: 56px; padding: 0 28px; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
  background: var(--cream);
}
.hero-content {
  min-width: 0;
  padding: 76px 74px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  margin: 0 0 20px;
  color: #7b6f69;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow.light { color: rgba(255,255,255,.64); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 {
  max-width: 660px;
  margin-bottom: 24px;
  font-size: clamp(50px, 5vw, 78px);
  line-height: .88;
  letter-spacing: -.055em;
}
h1 em { font-weight: 400; color: #a87972; }
.hero-copy {
  max-width: 520px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 17px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 510px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-meta strong { display: block; margin-top: 4px; font-size: 14px; }
.meta-label {
  display: block;
  color: #7f736d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.social-row { display: flex; gap: 9px; margin-top: 38px; }
.social-row a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  transition: background-color .2s ease, transform .2s ease;
}
.social-row a:hover { background: var(--paper); transform: translateY(-2px); }
.social-row svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.social-row svg .fill { fill: currentColor; stroke: none; }

.image-panel {
  position: relative;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}
.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 55%, rgba(66,58,54,.46));
}
.hero-image {
  background-color: var(--brown);
  background-image: url("../images/hero-thai-food-table.jpg");
}
.image-caption {
  position: absolute;
  right: 30px;
  bottom: 28px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  color: white;
  background: rgba(66,58,54,.34);
  backdrop-filter: blur(12px);
  font-size: 12px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
  background: var(--paper);
}
.section-copy {
  padding: 105px 9vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section-copy h2,
.section-heading h2,
.visit-content h2,
.order-content h2 {
  margin-bottom: 24px;
  font-size: clamp(46px, 5vw, 72px);
  line-height: .96;
  letter-spacing: -.045em;
}
.section-copy > p:not(.eyebrow),
.section-heading > p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
}
.text-link {
  width: max-content;
  margin-top: 20px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-weight: 600;
  font-size: 14px;
}
.intro-image {
  min-height: 620px;
  background-color: var(--brown);
  background-image: url("../images/story-restaurant-interior.jpg");
}

.values-section { padding: 120px 74px; background: var(--cream-2); }
.section-heading { margin-bottom: 48px; }
.section-heading.centered { max-width: 780px; margin: 0 auto 58px; text-align: center; }
.section-heading.centered p { margin-left: auto; margin-right: auto; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card {
  min-height: 330px;
  position: relative;
  padding: 34px;
  border: 1px solid rgba(66,58,54,.14);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.34);
  transition: background-color .25s ease, transform .25s ease;
}
.value-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.58); }
.value-number { position: absolute; top: 24px; right: 26px; color: var(--brown); font-size: 12px; }
.value-card h3 { margin: 72px 0 12px; font-size: 30px; letter-spacing: -.03em; }
.value-card p { color: var(--muted); }

.order-banner { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 580px; background: var(--espresso); color: white; }
.order-image {
  min-height: 580px;
  background-color: var(--brown);
  background-image: linear-gradient(90deg, transparent 70%, rgba(102,86,80,.38)), url("../images/order-online-thai-food.jpg");
  background-position: center;
  background-size: cover;
}
.order-content { padding: 85px 8vw; display: flex; flex-direction: column; justify-content: center; }
.order-content h2 { font-size: clamp(52px, 5.2vw, 78px); }
.order-content > p:not(.eyebrow) { max-width: 500px; margin-bottom: 30px; color: rgba(255,255,255,.7); }
.order-content .button { width: max-content; }
.order-content small { margin-top: 14px; color: rgba(255,255,255,.5); }

.gallery-section { padding: 120px 74px; background: var(--paper); }
.gallery-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}
.gallery-heading-row .section-heading { margin-bottom: 0; }
.gallery-note { max-width: 300px; margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 240px;
  gap: 16px;
}
.gallery-item {
  min-width: 0;
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: white;
  background-color: var(--brown);
  background-size: cover;
  background-position: center;
  isolation: isolate;
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(66,58,54,.02) 30%, rgba(66,58,54,.82) 100%);
  transition: background-color .3s ease, transform .45s ease;
}
.gallery-item > span {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.gallery-item strong { font-size: 17px; font-weight: 600; }
.gallery-item small { color: rgba(255,255,255,.76); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 22px 55px rgba(102,86,80,.22); }
.gallery-item:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.gallery-a { grid-column: span 2; grid-row: span 2; background-image: url("../images/gallery-01-pho.jpg"); }
.gallery-b { grid-column: span 2; background-image: url("../images/gallery-02-summerroll.jpg"); }
.gallery-c { background-image: url("../images/gallery-03-bun.jpg"); }
.gallery-d { background-image: url("../images/gallery-04-beefpho.jpg"); }
.gallery-e { background-image: url("../images/gallery-03-thai-fried-rice.jpg"); }
.gallery-f { background-image: url("../images/gallery-06-pad-thai-detail.jpg"); }
.gallery-g { background-image: url("../images/gallery-07-green-curry-detail.jpg"); }
.gallery-h { background-image: url("../images/gallery-08-thai-rice-detail.jpg"); }

.reviews-section {
  padding: 110px 74px;
  color: white;
  background: var(--espresso);
}
.reviews-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}
.reviews-heading h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(44px, 5vw, 70px);
  line-height: .96;
  letter-spacing: -.045em;
}
.google-rating { display: flex; align-items: center; gap: 14px; padding-bottom: 8px; }
.google-wordmark { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.review-stars { color: var(--cream-2); font-family: Arial, sans-serif; font-size: 13px; letter-spacing: .09em; white-space: nowrap; }
.reviews-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.review-card {
  min-width: 0;
  min-height: 245px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
}
.review-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; color: rgba(255,255,255,.45); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.review-card p { margin-bottom: 26px; color: rgba(255,255,255,.82); font-family: var(--sans); font-size: 13px; line-height: 1.75; }
.review-card footer { margin-top: auto; display: flex; flex-direction: column; gap: 2px; }
.review-card footer strong { font-size: 12px; }
.review-card footer span { color: rgba(255,255,255,.42); font-size: 10px; }

.visit-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 670px; background: var(--taupe); }
.visit-photo {
  background-color: var(--brown);
  background-image: url("../images/visit-restaurant-interior.jpg");
}
.visit-content { padding: 90px 8vw; display: flex; flex-direction: column; justify-content: center; }
.visit-details { display: grid; gap: 22px; margin: 18px 0 34px; }
.visit-details > div { display: grid; grid-template-columns: 100px 1fr; gap: 25px; padding-top: 18px; border-top: 1px solid var(--line); }
.visit-details p { margin: 0; color: #625a56; }
.visit-details a { text-decoration: underline; text-decoration-color: rgba(66,58,54,.32); text-underline-offset: 3px; }
.visit-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer { padding: 70px 72px 32px; color: white; background: #4b403b; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand > span:last-child { display: flex; flex-direction: column; }
.footer-brand small { color: rgba(255,255,255,.45); }
.footer-links { display: flex; flex-wrap: wrap; gap: 30px; margin: 52px 0; color: rgba(255,255,255,.7); font-size: 14px; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.42); font-size: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.75); }
.mobile-order-bar { display: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }


@media (max-width: 1100px) {
  .page-frame { width: 100%; margin: 0; border-radius: 0; }
  .site-header { padding: 0 36px; }
  .hero-content { padding: 66px 44px 42px; }
  h1 { font-size: clamp(48px, 6vw, 68px); }
  .values-section, .gallery-section { padding-left: 44px; padding-right: 44px; }
  .gallery-grid { grid-auto-rows: 215px; }
}

@media (max-width: 900px) {
  body { padding-bottom: 76px; }
  .page-frame { width: 100%; margin: 0; border-radius: 0; }
  .site-header { min-height: 76px; grid-template-columns: 1fr auto; padding: 0 22px; position: sticky; top: 0; }
  .brand-text { font-size: 22px; }
  .header-order { display: none; }
  .nav-toggle {
    display: grid;
    place-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: transparent;
  }
  .nav-toggle span { width: 19px; height: 1px; background: var(--espresso); transition: transform .25s ease; }
  .nav-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 22px 28px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
  }
  .nav-open .primary-nav { transform: translateY(0); opacity: 1; }
  .primary-nav a { padding: 17px 2px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .primary-nav a::after { display: none; }

  .hero, .split-section, .order-banner, .visit-section { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-content { min-height: 650px; padding: 70px 24px 42px; }
  h1 { font-size: clamp(42px, 11vw, 58px); }
  .hero-copy { font-size: 16px; }
  .hero-image { min-height: 520px; }
  .hero-meta { margin-top: 42px; }

  .section-copy, .visit-content { padding: 82px 24px; }
  .section-copy h2, .section-heading h2, .visit-content h2, .order-content h2 { font-size: clamp(44px, 12vw, 62px); }
  .intro-image, .visit-photo { min-height: 500px; }

  .values-section, .gallery-section { padding: 82px 24px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 280px; }

  .order-image { min-height: 430px; }
  .order-content { padding: 72px 24px; }

  .gallery-heading-row, .reviews-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 230px; }
  .gallery-a { grid-column: 1 / 3; grid-row: span 2; }
  .gallery-b { grid-column: 1 / 3; }

  .reviews-section { padding: 78px 24px; }
  .reviews-heading h2 { font-size: clamp(40px, 10vw, 58px); }
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-card { min-height: 230px; }

  .site-footer { padding: 60px 24px 28px; }
  .footer-bottom { flex-direction: column; }
  .mobile-order-bar {
    position: fixed;
    z-index: 100;
    left: auto;
    right: 12px;
    bottom: 12px;
    width: min(220px, calc(100% - 92px));
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 999px;
    color: white;
    background: var(--espresso);
    box-shadow: 0 14px 40px rgba(66,58,54,.30);
    font-weight: 700;
  }
}

@media (max-width: 520px) {
  .hero-actions .button, .visit-actions .button { width: 100%; }
  .hero-meta { grid-template-columns: 1fr; gap: 16px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: minmax(285px, 84vw); }
  .gallery-a, .gallery-b, .gallery-c, .gallery-d, .gallery-e, .gallery-f, .gallery-g, .gallery-h { grid-column: auto; grid-row: auto; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card { min-height: 0; }
  .visit-details > div { grid-template-columns: 1fr; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------------------------------------------------------
   Mobile viewport hardening
   Keeps every section inside the visible screen width.
---------------------------------------------------------- */
html,
body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

body,
.page-frame,
main,
.site-header,
.site-footer,
section {
  max-width: 100%;
}

.page-frame {
  overflow: clip;
}

.hero > *,
.split-section > *,
.order-banner > *,
.visit-section > *,
.value-grid > *,
.gallery-grid > * {
  min-width: 0;
}

h1,
h2,
h3,
.review-card p,
.hero-copy,
.section-copy p,
.order-content p,
.visit-details p,
.footer-bottom p {
  max-width: 100%;
  overflow-wrap: break-word;
}

.button,
.brand,
.primary-nav a,
.mobile-order-bar {
  min-width: 0;
}

@media (max-width: 900px) {
  body {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }

  .site-header {
    width: 100%;
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }

  .primary-nav {
    width: 100%;
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-left: max(22px, env(safe-area-inset-left));
    padding-right: max(22px, env(safe-area-inset-right));
  }

  .hero-content {
    min-height: auto;
    padding: 58px 22px 42px;
  }

  h1 {
    width: 100%;
    font-size: clamp(38px, 10vw, 54px);
    line-height: .94;
    letter-spacing: -.045em;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-actions,
  .visit-actions {
    width: 100%;
  }

  .hero-image {
    min-height: clamp(360px, 112vw, 520px);
  }

  .section-copy,
  .visit-content {
    padding: 76px 22px;
  }

  .section-copy h2,
  .section-heading h2,
  .visit-content h2,
  .order-content h2 {
    font-size: clamp(40px, 10.8vw, 56px);
    line-height: .98;
    letter-spacing: -.04em;
  }

  .values-section,
  .gallery-section {
    padding: 76px 22px;
  }

  .order-content {
    padding: 68px 22px;
  }

  .order-content .button {
    max-width: 100%;
  }

  .reviews-section {
    padding: 72px 22px;
  }

  .site-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .mobile-order-bar {
    left: auto;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .back-to-top {
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(82px + env(safe-area-inset-bottom));
    width: 46px;
    height: 46px;
  }

}

@media (max-width: 520px) {
  .site-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-content {
    padding: 52px 18px 38px;
  }

  h1 {
    font-size: clamp(34px, 9.5vw, 44px);
    line-height: .96;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .visit-actions .button,
  .order-content .button {
    width: 100%;
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-meta {
    width: 100%;
  }

  .image-caption {
    left: 16px;
    right: auto;
    bottom: 16px;
    max-width: calc(100% - 32px);
  }

  .section-copy,
  .visit-content,
  .order-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .values-section,
  .gallery-section,
  .reviews-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-copy h2,
  .section-heading h2,
  .visit-content h2,
  .order-content h2 {
    font-size: clamp(36px, 10.5vw, 48px);
  }

  .gallery-grid {
    grid-template-rows: repeat(4, minmax(260px, 82vw));
  }

  .visit-details,
  .visit-details > div,
  .footer-links,
  .footer-bottom {
    width: 100%;
  }

  .visit-details a,
  .footer-bottom a {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 360px) {
  .site-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
    font-size: 18px;
  }

  .brand-text {
    font-size: 19px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .hero-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 32px;
    letter-spacing: -.035em;
  }

  .section-copy,
  .visit-content,
  .order-content,
  .values-section,
  .gallery-section,
  .reviews-section,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-copy h2,
  .section-heading h2,
  .visit-content h2,
  .order-content h2 {
    font-size: 34px;
  }

}

/* Keep the complete logo bar visible while the mobile menu is open. */
@media (max-width: 900px) {
  body.nav-open .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 76px;
    z-index: 200;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible;
    background: var(--cream);
    box-shadow: 0 1px 0 rgba(66,58,54,.10);
  }
  body.nav-open .brand,
  body.nav-open .nav-toggle {
    position: relative;
    z-index: 202;
    display: grid;
    opacity: 1;
    visibility: visible;
  }
  body.nav-open .brand { display: inline-flex; }
  body.nav-open .primary-nav { z-index: 199; }
}
