/* ==========================================================================
   Dosa Kitchen — styles
   ========================================================================== */

:root {
  --paper: #F6F0E6;
  --paper-2: #EEE5D5;
  --ink: #1B1611;
  --ink-2: #3E362D;
  --muted: #74685A;
  --line: rgba(27, 22, 17, 0.14);
  --line-strong: rgba(27, 22, 17, 0.3);

  --leaf: #1D3A2B;
  --gold: #C8891E;
  --gold-2: #E0A73F;
  --gold-ink: #8A5A10;
  --night: #120F0B;

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
svg { flex-shrink: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: clamp(2.35rem, 4.4vw, 3.8rem); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  text-decoration: none;
  font-size: 14px;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(84px, 11vw, 148px) 0; }

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.kicker--light { color: rgba(255, 255, 255, 0.82); }
.kicker--gold { color: var(--gold-2); }

.label {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 28px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { padding: 12px 20px; font-size: 12px; }
/* Order buttons are placeholders until the ordering link is ready: add an href to activate. */
.btn:not([href]) { cursor: default; }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-2); }

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

.btn--ghost-light { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--ghost-light:hover { background: #fff; border-color: #fff; color: var(--ink); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Header ----------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), color 0.35s, border-color 0.35s;
}
.site-header.is-solid {
  background: rgba(246, 240, 230, 0.95);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  backdrop-filter: saturate(1.3) blur(12px);
  color: var(--ink);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 88px;
  transition: height 0.35s var(--ease);
}
.is-solid .nav { height: 72px; }

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand__logo {
  display: block;
  width: auto;
  height: 62px;
  transition: height 0.35s var(--ease);
}
.is-solid .brand__logo { height: 52px; }

.nav__links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { display: flex; align-items: center; gap: 22px; }
.nav__phone {
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.nav-open .burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--gutter) 40px;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}
.mobile-nav__foot { display: flex; flex-wrap: wrap; gap: 12px; }
.mobile-nav__foot p { width: 100%; margin: 16px 0 0; font-size: 14px; color: rgba(246, 240, 230, 0.6); }

.nav-open { overflow: hidden; }
.nav-open .mobile-nav { opacity: 1; visibility: visible; }
.nav-open .site-header { background: transparent; color: #fff; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: max(660px, 100vh);
  min-height: max(660px, 100svh);
  overflow: hidden;
  background: var(--night);
  color: #fff;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  transform: scale(1.05);
  animation: hero-settle 2.2s var(--ease) forwards;
}
@keyframes hero-settle { to { transform: scale(1); } }

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 14, 10, 0.88) 0%, rgba(18, 14, 10, 0.7) 34%, rgba(18, 14, 10, 0.28) 66%, rgba(18, 14, 10, 0.12) 100%),
    linear-gradient(0deg, rgba(18, 14, 10, 0.9) 0%, rgba(18, 14, 10, 0) 38%),
    linear-gradient(180deg, rgba(18, 14, 10, 0.6) 0%, rgba(18, 14, 10, 0) 24%);
}

.hero__inner {
  position: relative;
  padding-top: 170px;
  padding-bottom: clamp(72px, 12vh, 136px);
}
.hero__title {
  max-width: 14ch;
  font-size: clamp(3rem, 5.6vw, 5.4rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.018em;
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-2);
}
.hero__lede {
  max-width: 500px;
  margin: 28px 0 40px;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Intro ------------------------------------------------------------------ */

.intro__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}
.intro h2 { max-width: 14ch; }
.lead {
  margin: 34px 0 22px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.38;
  color: var(--ink);
}
.intro__text > p:not(.kicker):not(.lead) { max-width: 58ch; color: var(--ink-2); }

.facts {
  margin: 48px 0 0;
  border-top: 1px solid var(--line);
}
.facts div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
}
.facts dd { margin: 0; font-size: 15.5px; color: var(--ink-2); }

.intro__figure {
  position: sticky;
  top: 112px;
  margin: 0;
}
.intro__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
figcaption {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* Section head ----------------------------------------------------------- */

.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(0, 400px);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(44px, 5.5vw, 76px);
}
.section-head__aside { margin: 0; font-size: 16px; color: var(--ink-2); }
.section-head__aside a { text-underline-offset: 3px; }
.section-head__aside p { margin: 0 0 22px; }

/* Signatures ------------------------------------------------------------- */

.signatures { background: var(--paper-2); }

.dish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 32px;
}
/* Fixed height (not aspect-ratio) so the wide feature card lines up with its neighbour. */
.dish__media {
  position: relative;
  height: clamp(240px, 21vw, 320px);
  overflow: hidden;
  background: #d9cfbf;
}
.dish--feature { grid-column: span 2; }
.dish--feature p { max-width: 52ch; }
.dish--feature .dish__media img { object-position: center 15%; }
.dish__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.dish:hover .dish__media img { transform: scale(1.045); }
.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px 6px;
  background: var(--paper);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.dish__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.dish__name { font-size: 1.7rem; line-height: 1.1; }
.dish__price {
  font-size: 16px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
.dish p { margin: 12px 0 0; font-size: 15.5px; color: var(--ink-2); }

/* Sri Lanka band --------------------------------------------------------- */

.band {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 660px;
  background: var(--leaf);
  color: #EFE8DA;
}
.band__media { position: relative; overflow: hidden; min-height: 360px; }
.band__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 640px;
  padding: clamp(64px, 8vw, 120px) clamp(28px, 6vw, 96px);
}
.band h2 { color: #fff; max-width: 12ch; }
.band p:not(.kicker) { margin-top: 26px; color: rgba(239, 232, 218, 0.8); }
.mini-menu {
  width: 100%;
  margin: 18px 0 40px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.mini-menu li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 15.5px;
}
.mini-menu li span:first-child { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: #fff; }
.mini-menu li span:last-child { font-variant-numeric: tabular-nums; }
.band .link-arrow { color: var(--gold-2); }

/* Menu ------------------------------------------------------------------- */

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.tab {
  position: relative;
  padding: 14px 18px;
  background: none;
  border: 0;
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}
.tab:first-child { padding-left: 0; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
}
.tab:first-child[aria-selected="true"]::after { left: 0; }

.menu-panel {
  columns: 2;
  column-gap: clamp(40px, 6vw, 104px);
  animation: panel-in 0.5s var(--ease);
}
.menu-panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }

.menu-group { margin-bottom: 44px; }
.menu-group h3 {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  break-after: avoid;
}
.h3-note { letter-spacing: 0.06em; text-transform: none; color: var(--muted); font-weight: 500; }
.menu-group__note { margin: 6px 0 8px; font-size: 14.5px; color: var(--muted); max-width: 44ch; }

.menu-list { margin: 0; padding: 0; list-style: none; }
.mi {
  padding: 14px 0 13px;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
}
.mi-row { display: flex; align-items: baseline; gap: 12px; }
.mi-name {
  font-family: var(--serif);
  font-size: 1.36rem;
  font-weight: 600;
  line-height: 1.25;
}
.mi-name small {
  margin-left: 4px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}
.mi-dots {
  flex: 1;
  min-width: 24px;
  border-bottom: 1px dotted var(--line-strong);
  transform: translateY(-6px);
}
.mi-price {
  font-size: 15.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.mi-desc {
  margin: 3px 0 0;
  max-width: 46ch;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}
.pill {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 7px 2px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  vertical-align: 3px;
}

.menu-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 32px;
  margin-top: 28px;
  padding: 32px 36px;
  background: var(--paper-2);
}
.menu-foot p { margin: 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }

/* Gallery ---------------------------------------------------------------- */

.gallery-section { padding-top: 0; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: clamp(280px, 32vw, 460px);
  gap: 14px;
}
.gallery figure { margin: 0; overflow: hidden; background: #d9cfbf; }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.gallery figure:hover img { transform: scale(1.04); }

/* Reviews ---------------------------------------------------------------- */

.reviews { background: var(--paper-2); }

.reviews h2 { max-width: 16ch; }

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.quote {
  margin: 0;
  padding-top: 30px;
  border-top: 1px solid var(--ink);
}
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.38;
}
.quote figcaption {
  margin-top: 26px;
  padding: 0;
  border: 0;
  font-size: 14px;
  color: var(--muted);
}
.quote figcaption strong { display: block; color: var(--ink); font-weight: 600; }

/* Visit ------------------------------------------------------------------ */

.visit { background: var(--ink); color: rgba(239, 232, 218, 0.82); }
.visit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 6vw, 96px);
  align-items: stretch;
}
.visit h2 { color: #fff; max-width: 12ch; margin-bottom: 52px; }
.visit .label { color: var(--gold-2); }
.visit__cols {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
}
.visit address, .visit__cols p { margin: 0 0 32px; font-style: normal; font-size: 15.5px; line-height: 1.7; }
.visit a[href^="tel"] { text-decoration: none; color: #fff; font-variant-numeric: tabular-nums; }
.notes { margin: 0 0 32px; padding: 0; list-style: none; font-size: 15.5px; line-height: 1.9; }

.hours { width: 100%; margin-bottom: 36px; border-collapse: collapse; font-size: 15px; }
.hours td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-variant-numeric: tabular-nums;
}
.hours td:last-child { text-align: right; }
.hours tr.is-today td { color: #fff; font-weight: 600; }
.hours tr.is-today td:first-child::after {
  content: "Today";
  margin-left: 10px;
  padding: 2px 7px 1px;
  border: 1px solid var(--gold-2);
  border-radius: 2px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  vertical-align: 2px;
}
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.sister {
  margin-top: 52px;
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.sister p:last-child { margin: 0; font-size: 15.5px; }
.sister strong { color: #fff; font-weight: 600; }

.visit__map {
  position: relative;
  min-height: 520px;
  background: #2a241d;
}
.visit__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.9) sepia(0.2) contrast(1.05);
}

/* Social links (all placements sit on dark backgrounds) ------------------- */

.social { display: flex; gap: 10px; margin-top: 24px; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: rgba(239, 232, 218, 0.88);
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}
.social a:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--ink); }
.social svg { width: 18px; height: 18px; }
.visit .social { margin: -14px 0 32px; }
.mobile-nav__foot .social { width: 100%; margin-top: 18px; }

/* Footer ----------------------------------------------------------------- */

.site-footer {
  padding: 76px 0 36px;
  background: var(--night);
  color: rgba(239, 232, 218, 0.62);
  font-size: 14.5px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__brand .brand { margin-bottom: 22px; }
.footer__brand .brand__logo { height: 88px; }
.footer__brand p { max-width: 30ch; }
.site-footer h4 {
  margin: 6px 0 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; line-height: 2; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--gold-2); }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}
.footer__base p { margin: 0; }
.footer__credits a {
  color: rgba(239, 232, 218, 0.92);
  text-decoration: underline;
  text-decoration-color: rgba(239, 232, 218, 0.3);
  text-underline-offset: 3px;
}
.footer__credits span { margin: 0 8px; opacity: 0.5; }

/* Reveal ----------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1100px) {
  .nav__links, .nav__phone { display: none; }
  .burger { display: block; }
  .dish-grid { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: minmax(0, 1fr); }
  /* Fixed height, not aspect-ratio: with min-height, aspect-ratio widens the box past the viewport. */
  .band__media { min-height: 0; height: clamp(260px, 56vw, 540px); }
  .band__text { max-width: none; }
  .visit__grid { grid-template-columns: 1fr; }
  .visit__map { min-height: 420px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__figure { position: static; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .menu-panel { columns: 1; }
  .quotes { grid-template-columns: 1fr; }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-auto-rows: clamp(160px, 42vw, 280px);
    grid-auto-flow: dense;
  }
  /* Tall photo on the left, the other two stacked beside it. */
  .gallery__tall { grid-column: 1; grid-row: 1 / 3; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { height: 72px; }
  .nav__cta .btn { display: none; }
  .brand__logo, .is-solid .brand__logo { height: 48px; }
  .hero__inner { padding-top: 130px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .dish-grid { grid-template-columns: 1fr; gap: 48px; }
  .dish--feature { grid-column: auto; }
  .facts div { grid-template-columns: 1fr; gap: 6px; }
  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; }
  .menu-foot { padding: 26px 22px; }
  .visit__cols { grid-template-columns: 1fr; gap: 8px; }
  .visit__actions .btn { flex: 1 1 auto; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__img { transform: none; }
}
