/* ==========================================================================
   Pooches & Pastries Café — one-page site
   Brand: Cormorant Garamond (primary) · Montserrat letterspaced (secondary)
   Palette: #000000 / #F4EFE7
   ========================================================================== */

:root {
  --ink: #000000;
  --ink-70: rgba(0, 0, 0, 0.7);
  --ink-55: rgba(0, 0, 0, 0.55);
  --ink-12: rgba(0, 0, 0, 0.12);
  --rule: rgba(0, 0, 0, 0.18);
  --rule-strong: rgba(0, 0, 0, 0.32);
  --cream: #f4efe7;
  --cream-deep: #ebe4d9;
  --cream-soft: #f9f6f1;
  --shell: #efe9df;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-ui: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Dancing Script", "Brush Script MT", cursive;

  --page-max: 1240px;
  /* vertical gap between sections (matches the space under the hero) */
  --section-gap: clamp(24px, 3.6vw, 38px);
  --gutter: clamp(20px, 5vw, 64px);
  --track: 0.18em;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 156px; }

body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.page {
  max-width: var(--page-max);
  margin: 0 auto;
  background: var(--cream);
}

.wrap {
  padding-inline: var(--gutter);
}

/* ---------- Placeholder image blocks ------------------------------------ */

.ph {
  position: relative;
  background: var(--cream-deep);
  border: 1px solid var(--ink-12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/pp-monogram.svg") center / clamp(90px, 13%, 180px) no-repeat;
  opacity: 0.1;
  pointer-events: none;
}

.ph-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--ink-55);
  text-align: center;
  padding: 10px 16px;
  max-width: 80%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px var(--gutter);
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--ink-12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

/* Brand lockup — monogram + wordmark */
.brand {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.brand-mark {
  display: block;
  width: auto;
  height: 118px;
  flex-shrink: 0;
}

.wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.wordmark-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.wordmark-sub {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-70);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.wordmark-sub::before,
.wordmark-sub::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ink);
}

/* Nav */
.nav-group {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] { border-bottom-color: var(--ink); }

/* ---------- Nav dropdown (Transactions) ---------------------------------- */

.has-dropdown { position: relative; }

/* Matches .main-nav a exactly so the toggle reads as a peer, not a button */
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0 0 6px;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.has-dropdown.is-open .nav-dropdown-toggle { border-bottom-color: var(--ink); }

.nav-caret {
  width: 10px;
  height: auto;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.has-dropdown.is-open .nav-caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 70;
  min-width: 190px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: var(--cream-soft);
  border: 1px solid var(--rule);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* Scoped past `.main-nav .nav-disabled` below, which would otherwise reclaim
   padding-bottom and leave this item misaligned with its siblings. */
.nav-dropdown a,
.main-nav .nav-dropdown .nav-disabled {
  display: block;
  padding: 11px 20px;
  border-bottom: 0;
  font-size: 12px;
  white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible { background: var(--cream-deep); }

/* ---------- Mobile nav group --------------------------------------------- */

.mobile-nav-label {
  display: block;
  padding: 14px 0 8px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--ink-70);
  opacity: 0.75;
}

/* Outranks the later `.mobile-nav ul { padding: 0 }` rule so the indent holds */
.mobile-nav .mobile-nav-group > ul {
  margin: 0;
  padding-left: 16px;
  list-style: none;
}

/* Nav items with no destination yet (see TODOs in index.html).
   Inherit the nav link type styles, then mute and de-activate. */
.nav-disabled {
  font-family: var(--font-ui);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--ink-70);
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
}

.main-nav .nav-disabled {
  font-size: 12.5px;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}

.mobile-nav .nav-disabled {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-12);
  font-size: 13px;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 22px;
}

.social-row a {
  display: inline-flex;
  transition: opacity 0.2s ease;
}

.social-row a:hover { opacity: 0.6; }
.social-row svg { width: 34px; height: 34px; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--cream);
  border-bottom: 1px solid var(--ink-12);
  padding: 8px var(--gutter) 28px;
}

.mobile-nav.open { display: block; }

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-12);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
}

.mobile-nav .mobile-social {
  display: flex;
  gap: 20px;
  padding-top: 22px;
}

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

/* The hero photo is full bleed; the headline sits over its light left third
   as real text, so it stays sharp on retina and scales on small screens. */
.hero {
  position: relative;
  background: var(--cream-deep);
  line-height: 0;
}

.hero-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Soft scrim so the type keeps contrast wherever the photo is busy */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(249, 246, 241, 0.82) 0%,
    rgba(249, 246, 241, 0.55) 26%,
    rgba(249, 246, 241, 0.12) 46%,
    rgba(249, 246, 241, 0) 62%
  );
}

.hero-copy {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: var(--gutter);
  transform: translateY(-50%);
  width: min(46%, 460px);
  line-height: 1.6;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 62px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.hero-copy h1 span { display: block; }

.hero-rule {
  display: block;
  width: 62px;
  height: 1.5px;
  margin: clamp(16px, 2.2vw, 26px) 0 clamp(12px, 1.6vw, 18px);
  background: var(--ink);
}

.hero-location {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(9px, 0.85vw, 12px);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--ink-70);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Quick info strip -------------------------------------------- */

.info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--cream);
  padding: var(--section-gap) var(--gutter);
}

.info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 0 clamp(8px, 1.4vw, 22px);
  border-right: 1px solid var(--rule);
}

.info-card:last-child { border-right: 0; }

/* subtle lift on hover — moves the contents, not the card, so the
   dividing rules between cards stay put */
.info-card > * {
  transition: transform 0.3s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.3s ease;
}

.info-card:hover > *,
.info-card:focus-within > * {
  transform: translateY(-6px);
}

.info-card:hover .info-icon,
.info-card:focus-within .info-icon {
  background: var(--cream-soft);
  box-shadow: 0 0 0 1px var(--rule);
}

@media (hover: none) {
  .info-card:hover > * { transform: none; }
  .info-card:hover .info-icon { background: var(--cream-deep); box-shadow: none; }
}

/* six-card variant: 3 x 2 grid */
.info-strip.is-six {
  grid-template-columns: repeat(3, 1fr);
  row-gap: clamp(38px, 4vw, 58px);
}
.info-strip.is-six .info-card { border-right: 1px solid var(--rule); }
.info-strip.is-six .info-card:nth-child(3n) { border-right: 0; }

.info-icon {
  width: clamp(78px, 8vw, 100px);
  height: clamp(78px, 8vw, 100px);
  border-radius: 50%;
  background: var(--cream-deep);
  display: grid;
  place-items: center;
}

.info-icon svg {
  width: clamp(44px, 4.5vw, 57px);
  height: clamp(44px, 4.5vw, 57px);
}

.info-card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.5vw, 28px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}

.info-card p {
  margin: 0;
  font-size: 19.5px;
  line-height: 1.45;
  color: var(--ink-70);
}

.info-card .fine {
  font-size: 17px;
  color: var(--ink-55);
}

.info-card .btn { margin-top: auto; }

.btn {
  display: inline-block;
  appearance: none;
  border-radius: 0;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 14px 30px;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: var(--track);
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--ink);
  color: var(--cream);
}

/* Temporarily disabled CTAs (menu.html / contact.html not built yet).
   Remove .is-disabled and the disabled attribute to bring these back. */
.btn.is-disabled,
.btn:disabled {
  border-color: var(--rule);
  color: var(--ink-70);
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn.is-disabled:hover,
.btn:disabled:hover,
.btn.is-disabled:focus-visible,
.btn:disabled:focus-visible {
  background: transparent;
  color: var(--ink-70);
}

/* ---------- About split -------------------------------------------------- */

/* Two columns: the courtyard photo on the left spans both rows (copy above,
   gallery tiles below) so it reads as one tall image, as in the mockup. */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: clamp(14px, 1.4vw, 18px);
  row-gap: clamp(24px, 3vw, 40px);
  /* photo bleeds left, copy + tiles bleed right, so the band is balanced.
     The info strip above supplies the gap, so no top padding here. */
  padding: 0 0 var(--section-gap) var(--gutter);
}

.about-media {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: block;
  /* bleed past the section gutter so the photo sits flush to the page edge,
     as in the mockup */
  margin-left: calc(var(--gutter) * -1);
  min-height: clamp(420px, 56vw, 720px);
  overflow: hidden;
  background: var(--cream-deep);
}

.about-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-copy {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  text-align: center;
  padding: 0 clamp(16px, 3.1vw, 44px);
  max-width: 600px;
  margin: 0 auto;
}

.rule-sm {
  width: 62px;
  height: 1.5px;
  background: var(--ink);
  margin: 0 auto 26px;
}

.about-copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(31px, 4.3vw, 47px);
  line-height: 1.14;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 24px;
}

.about-copy p {
  margin: 0 0 18px;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.55;
}

.about-copy p:last-of-type { margin-bottom: 26px; }

.rule-sm.bottom { margin: 0 auto; }

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

.gallery {
  grid-column: 2;
  grid-row: 2;
  /* sit the tiles at the bottom of the row so they line up with the
     bottom of the tall courtyard photo on the left */
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(200px, 19vw, 274px);
  gap: 14px;
}

.gallery .ph { height: 100%; }

.gallery-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--cream-deep);
}

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

.site-footer {
  border-top: 1px solid var(--rule);
  margin: 0 var(--gutter);
  padding: clamp(30px, 4vw, 44px) 0 clamp(32px, 4vw, 46px);
  display: grid;
  grid-template-columns: auto auto auto minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
}

.footer-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: clamp(20px, 3.4vw, 44px);
}

.footer-block + .footer-block {
  border-left: 1px solid var(--rule-strong);
  padding-left: clamp(20px, 3.4vw, 44px);
}

.footer-block.is-tagline {
  align-items: flex-end;
  justify-content: center;
  padding-right: 0;
}

.footer-block.social-row {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.footer-block.social-row svg { width: 34px; height: 34px; }

.footer-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 8px;
  white-space: nowrap;
}

.footer-address {
  margin: 0;
  font-size: 19.5px;
  line-height: 1.45;
  white-space: nowrap;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 13px;
  font-size: 27px;
  letter-spacing: 0.02em;
}

.footer-phone svg {
  width: 29px;
  height: 31px;
  flex-shrink: 0;
  align-self: center;
}

.footer-phone-number {
  white-space: nowrap;
  /* Cormorant's old-style figures sit low in the line box, so nudge the
     number up to optically centre it against the handset icon */
  position: relative;
  top: -3px;
}

.footer-tagline {
  font-family: var(--font-script);
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
}

.footer-legal {
  margin: 0 var(--gutter);
  border-top: 1px solid var(--rule);
  padding: 18px 0 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-family: var(--font-ui);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.footer-legal a {
  color: inherit;
  transition: color 0.2s ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* Footer keeps its four-across row down to ~1250px, then compacts, then stacks */
@media (max-width: 1250px) {
  .site-footer { padding: 30px 0 32px; }
  .footer-block { padding-right: 20px; }
  .footer-block + .footer-block { padding-left: 20px; }
  .footer-name { font-size: 17px; letter-spacing: 0.12em; }
  .footer-address { font-size: 17.5px; white-space: normal; }
  .footer-phone { font-size: 24px; }
  .footer-phone svg { width: 26px; height: 28px; }
  .footer-block.social-row { gap: 22px; }
  .footer-block.social-row svg { width: 30px; height: 30px; }
  .footer-tagline { font-size: 22px; }
}

@media (max-width: 1010px) {
  .site-footer {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 26px;
    text-align: center;
    justify-items: stretch;
  }
  .footer-block { align-items: center; padding: 0 16px; }
  .footer-block + .footer-block { padding-left: 16px; }
  .footer-block:nth-child(odd) { border-left: 0; }
  .footer-block:nth-child(n + 3) { padding-top: 26px; border-top: 1px solid var(--rule); }
  .footer-block.is-tagline { align-items: center; }
  .footer-name, .footer-address { white-space: normal; }
}

@media (max-width: 1080px) {
  .main-nav { gap: 20px; }
  .wordmark-name { font-size: 17px; }
  .brand-mark { height: 96px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 104px; }
  .brand-mark { height: 78px; }
  .nav-group { display: none; }
  .nav-toggle { display: flex; }
  .info-strip { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .info-card:nth-child(2n) { border-right: 0; }
  .info-strip.is-six { grid-template-columns: repeat(2, 1fr); }
  .info-strip.is-six .info-card:nth-child(3n) { border-right: 1px solid var(--rule); }
  .info-strip.is-six .info-card:nth-child(2n) { border-right: 0; }
  /* single column: photo, copy, then tiles */
  .about {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding-right: var(--gutter);
  }
  /* stacked: bleed to both edges */
  .about-media {
    grid-column: 1;
    grid-row: 1;
    margin-inline: calc(var(--gutter) * -1);
    min-height: 340px;
    max-height: 60vh;
  }
  .about-copy { grid-column: 1; grid-row: 2; }
  .gallery {
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: clamp(150px, 26vw, 240px);
  }
  .site-footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-block { align-items: center; padding-right: 0; }
  .footer-block + .footer-block {
    border-left: 0;
    border-top: 1px solid var(--rule);
    padding-left: 0;
    margin-top: 22px;
    padding-top: 22px;
    width: min(320px, 100%);
  }
  .footer-block.is-tagline { align-items: center; }
  .footer-tagline { white-space: normal; }
  .footer-name, .footer-address { white-space: normal; }
  .footer-legal { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  body { font-size: 18.5px; }
  .brand { gap: 12px; }
  .brand-mark { height: 62px; }
  .wordmark-name { font-size: 14px; letter-spacing: 0.1em; }
  .wordmark-sub { font-size: 10px; }
  .info-strip { grid-template-columns: 1fr; }
  .info-card { border-right: 0; padding-bottom: 34px; border-bottom: 1px solid var(--ink-12); }
  .info-card + .info-card { padding-top: 34px; }
  .info-card:last-child { border-bottom: 0; padding-bottom: 0; }
  .info-strip.is-six { grid-template-columns: 1fr; row-gap: 0; }
  .info-strip.is-six .info-card,
  .info-strip.is-six .info-card:nth-child(3n) { border-right: 0; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: clamp(200px, 52vw, 280px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Find Us map modal -------------------------------------------- */

.map-modal {
  border: 0;
  padding: 0;
  width: min(880px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  overflow: visible;
}

.map-modal::backdrop {
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(3px);
}

.map-modal-inner {
  position: relative;
  padding: clamp(26px, 4vw, 44px) clamp(20px, 4vw, 46px) clamp(24px, 3.4vw, 38px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}

.map-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--ink-12);
  background: var(--cream-soft);
  color: var(--ink);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.map-modal-close svg { width: 17px; height: 17px; }

.map-modal-close:hover,
.map-modal-close:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.map-modal-head { text-align: center; }

.map-modal-head .rule-sm { margin-bottom: 20px; }

.map-modal-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.map-modal-address {
  margin: 10px 0 0;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.9;
  text-transform: uppercase;
  color: var(--ink-70);
}

.map-modal-frame {
  position: relative;
  margin-top: clamp(20px, 3vw, 30px);
  aspect-ratio: 16 / 10;
  background: var(--cream-deep);
  border: 1px solid var(--ink-12);
  overflow: hidden;
}

.map-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-modal-actions {
  margin-top: clamp(18px, 2.6vw, 26px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn-ghost {
  border-color: var(--rule);
  color: var(--ink-70);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

/* Lock background scroll while the modal is open */
body.has-modal { overflow: hidden; }

@media (max-width: 560px) {
  .map-modal { width: calc(100vw - 20px); }
  .map-modal-frame { aspect-ratio: 4 / 5; }
  .map-modal-actions .btn { width: 100%; text-align: center; }
}

/* ---------- Hero copy on small screens ----------------------------------- */

@media (max-width: 860px) {
  .hero-copy { width: min(54%, 380px); }
}

@media (max-width: 560px) {
  /* Portrait-ish crop is tight, so let the copy sit lower-left and widen it */
  .hero::after {
    background: linear-gradient(
      170deg,
      rgba(249, 246, 241, 0.7) 0%,
      rgba(249, 246, 241, 0.42) 34%,
      rgba(249, 246, 241, 0.06) 62%,
      rgba(249, 246, 241, 0) 100%
    );
  }
  .hero-copy {
    top: 6%;
    transform: none;
    width: min(78%, 320px);
  }
  .hero-copy h1 { font-size: clamp(26px, 7.4vw, 34px); }
  .hero-rule { margin: 14px 0 10px; }
}

/* ---------- Book a Table modal ------------------------------------------ */

/* Narrow — the OpenTable "standard" widget is ~224px wide */
.book-modal { width: min(460px, calc(100vw - 32px)); }

.book-widget {
  margin-top: clamp(20px, 3vw, 30px);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.book-widget iframe { max-width: 100%; border: 0; }

.book-widget-loading {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-70);
}

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

/* Wider than the map modal — it carries both menus side by side */
.menu-modal { width: min(1600px, calc(100vw - 32px)); }

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: clamp(18px, 2.4vw, 26px) auto 0;
  border-bottom: 1px solid var(--rule);
  width: fit-content;
}

.menu-tab {
  appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--ink-55);
  padding: 10px clamp(18px, 3vw, 34px) 12px;
  margin-bottom: -1px;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: var(--track);
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.22s ease, border-color 0.22s ease;
}

.menu-tab:hover,
.menu-tab:focus-visible { color: var(--ink); }

.menu-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.menu-panel {
  margin-top: clamp(18px, 2.6vw, 30px);
  outline: none;
}

/* Each menu is one wide horizontal board strip, as printed in store: the
   title card on the left, then the text panels rendered from the JS data
   files. Styled after the 2026 cream/serif board ("New menu layout"). */

/* Board typography tokens, kept local so the printed-menu look can be tuned
   without touching the rest of the site's brand styling. */
.menu-board {
  --board-paper: #f7f3ed;
  --board-card: #ece5db;
  --board-ink: #221e1b;
  --board-body: #3d3732;
  --board-muted: #6f675f;
  --board-rule: rgba(34, 30, 27, 0.22);
  --board-rule-soft: rgba(34, 30, 27, 0.14);
  --board-scale: 1;

  /* Card vs text-panel widths, taken from the printed board (310 of 1690) */
  --card-share: 310;
  --cols-share: 1380;

  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--board-paper);
  font-family: var(--font-display);
  font-variant-numeric: lining-nums; /* Cormorant defaults to old-style figures */
  color: var(--board-ink);
}

/* ---- title card ---- */

.menu-card {
  flex: 1 1 0;
  flex-grow: var(--card-share);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--board-card);
  color: var(--board-ink);
  padding: calc(64px * var(--board-scale)) calc(22px * var(--board-scale))
           calc(26px * var(--board-scale));
}

.mc-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mc-monogram {
  width: calc(72px * var(--board-scale));
  height: auto;
}

.mc-name {
  margin-top: calc(22px * var(--board-scale));
  font-size: calc(16px * var(--board-scale));
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* "—— CAFÉ ——" */
.mc-sub {
  display: flex;
  align-items: center;
  gap: calc(16px * var(--board-scale));
  margin-top: calc(14px * var(--board-scale));
  font-size: calc(14px * var(--board-scale));
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.mc-sub::before,
.mc-sub::after {
  content: "";
  width: calc(46px * var(--board-scale));
  height: 1px;
  background: var(--board-rule);
}

.mc-orn {
  margin-top: calc(36px * var(--board-scale));
  font-size: calc(13px * var(--board-scale));
  line-height: 1;
  color: var(--board-body);
}

.mc-title {
  margin-top: calc(66px * var(--board-scale));
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mc-word {
  font-size: calc(54px * var(--board-scale));
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  padding-left: 0.1em; /* balance the trailing tracking */
  text-transform: uppercase;
}

/* Surcharge notes, each between dotted rules as printed */
.mc-notes {
  margin-top: calc(26px * var(--board-scale));
  padding-top: calc(22px * var(--board-scale));
  min-width: calc(190px * var(--board-scale));
  border-top: 1px solid var(--board-rule);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(16px * var(--board-scale));
}

.mc-surcharge {
  max-width: 11em;
  font-size: calc(14px * var(--board-scale));
  line-height: 1.4;
  color: var(--board-body);
}

.mc-dots {
  display: block;
  width: calc(96px * var(--board-scale));
  height: calc(4px * var(--board-scale));
  background-image: linear-gradient(90deg, var(--board-muted) 50%, transparent 50%);
  background-size: calc(9px * var(--board-scale)) 100%;
  opacity: 0.75;
}

.mc-note {
  margin: auto 0 0;
  padding-top: calc(28px * var(--board-scale));
  max-width: 17em;
  font-size: calc(11.5px * var(--board-scale));
  line-height: 1.45;
  color: var(--board-body);
}

/* ---- text panels ---- */

/* The three rendered text panels share the remaining width evenly */
.menu-cols {
  flex: 1 1 0;
  flex-grow: var(--cols-share);
  min-width: 0;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.menu-col {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: calc(34px * var(--board-scale)) calc(30px * var(--board-scale))
           calc(24px * var(--board-scale));
}

/* Fine vertical rule between panels, inset from top and bottom */
.menu-col + .menu-col::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(36px * var(--board-scale));
  bottom: calc(36px * var(--board-scale));
  width: 1px;
  background: var(--board-rule-soft);
}

/* ---- sections ---- */

.ms + .ms { margin-top: calc(22px * var(--board-scale)); }

/* Heading row: optional script word over caps heading, price(s) to the right */
.ms-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: calc(12px * var(--board-scale));
  margin-bottom: calc(18px * var(--board-scale));
}

.ms-titles {
  min-width: 0;
  display: inline-flex;
  flex-direction: column;
}

/* Drinks: the small lead-in word above a heading, e.g. "Speciality" */
.ms-script {
  display: block;
  font-family: var(--font-display);
  font-size: calc(15px * var(--board-scale));
  font-style: italic;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--board-muted);
}

.ms-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: calc(21px * var(--board-scale));
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--board-ink);
}

/* Hairline with a small open diamond at its centre, as wide as the heading */
.ms-rule {
  display: flex;
  align-items: center;
  gap: calc(5px * var(--board-scale));
  margin-top: calc(8px * var(--board-scale));
  margin-right: 0.24em; /* trim the heading's trailing tracking */
}

.ms-rule::before,
.ms-rule::after {
  content: "";
  flex: 1 1 0;
  height: 1px;
  background: var(--board-rule);
}

.ms-rule i {
  flex: 0 0 auto;
  width: calc(5px * var(--board-scale));
  height: calc(5px * var(--board-scale));
  border: 1px solid var(--board-muted);
  transform: rotate(45deg);
}

.ms-prices {
  display: flex;
  align-items: flex-end;
  gap: calc(18px * var(--board-scale));
  flex: 0 0 auto;
  padding-bottom: calc(14px * var(--board-scale));
}

.ms-price {
  font-size: calc(18px * var(--board-scale));
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
  color: var(--board-ink);
}

.ms-note {
  margin: 0 0 calc(6px * var(--board-scale));
  font-size: calc(12.5px * var(--board-scale));
  line-height: 1.4;
  color: var(--board-body);
}

/* ---- name-only lists (drinks) ---- */

.ms--names .ms-items {
  display: grid;
  column-gap: calc(20px * var(--board-scale));
  row-gap: calc(2px * var(--board-scale));
}

/* Row counts are set inline by the renderer from the item count, so the
   columns break where the printed board breaks them */
.ms-names--1 { grid-template-columns: 1fr; }
.ms-names--2 { grid-template-columns: 1fr 1fr; grid-auto-flow: column; }
.ms-names--3 { grid-template-columns: repeat(3, 1fr); grid-auto-flow: column; }

.mn {
  font-size: calc(16px * var(--board-scale));
  font-weight: 600;
  line-height: 1.4;
  color: var(--board-ink);
}

/* ---- name + note rows (pressed juices) ---- */

.mn-row {
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr;
  align-items: baseline;
  column-gap: calc(14px * var(--board-scale));
}

.mn-note {
  font-size: calc(12.5px * var(--board-scale));
  color: var(--board-body);
}

/* ---- name + description + price rows (coconut water smoothies) ---- */

.mp-row {
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr auto;
  align-items: baseline;
  column-gap: calc(14px * var(--board-scale));
  margin-bottom: calc(3px * var(--board-scale));
}

.mp-desc {
  font-size: calc(12.5px * var(--board-scale));
  line-height: 1.35;
  color: var(--board-body);
}

.mp-price {
  font-size: calc(17px * var(--board-scale));
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
  color: var(--board-ink);
}

/* ---- two-price tables (coffee & hot drinks, iced lattes) ---- */

.mt-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(52px * var(--board-scale)) calc(52px * var(--board-scale));
  align-items: baseline;
  column-gap: calc(8px * var(--board-scale));
}

.mt-name {
  font-size: calc(14.5px * var(--board-scale));
  line-height: 1.6;
  color: var(--board-ink);
}

.mt-price {
  font-size: calc(14.5px * var(--board-scale));
  font-variant-numeric: lining-nums tabular-nums;
  text-align: right;
  white-space: nowrap;
  color: var(--board-ink);
}

/* SML / LRG headings */
.mt-head .mt-price {
  font-size: calc(12px * var(--board-scale));
  letter-spacing: 0.1em;
  color: var(--board-muted);
}

/* ---- bulleted lists (milks, syrups, shakes, juices) ---- */

.mbl {
  margin: 0;
  padding-left: calc(16px * var(--board-scale));
  list-style: none;
}

.mbl-item {
  position: relative;
  margin-bottom: calc(4px * var(--board-scale));
}

.mbl-item::before {
  content: "";
  position: absolute;
  left: calc(-11px * var(--board-scale));
  top: calc(8px * var(--board-scale));
  width: calc(3.5px * var(--board-scale));
  height: calc(3.5px * var(--board-scale));
  border-radius: 50%;
  background: var(--board-muted);
}

.mbl-head {
  display: flex;
  align-items: baseline;
  gap: calc(8px * var(--board-scale));
}

.mbl-name {
  font-size: calc(14.5px * var(--board-scale));
  font-weight: 600;
  line-height: 1.5;
  color: var(--board-ink);
}

.mbl-price {
  font-size: calc(14.5px * var(--board-scale));
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--board-ink);
}

/* A trailing description on the same line, e.g. the juices */
.mbl-desc {
  flex: 1 1 0;
  min-width: 0;
  font-size: calc(12.5px * var(--board-scale));
  line-height: 1.4;
  color: var(--board-body);
}

/* A right-hand note, e.g. "Add 0.70" */
.mbl-note {
  margin-left: auto;
  padding-left: calc(10px * var(--board-scale));
  font-size: calc(13px * var(--board-scale));
  white-space: nowrap;
  color: var(--board-body);
}

.mbl-sub {
  margin: 0;
  padding-left: calc(10px * var(--board-scale));
  font-size: calc(12.5px * var(--board-scale));
  line-height: 1.45;
  color: var(--board-body);
}

.ms-note--foot { margin: calc(8px * var(--board-scale)) 0 calc(4px * var(--board-scale)); }

/* A plain run of names, e.g. the milkshake flavours */
.mbl--plain .mbl-item { margin-bottom: calc(1px * var(--board-scale)); }
.mbl--plain .mbl-name { font-weight: 500; }

/* ---- free text blocks (Toby's blurb, milks & syrups) ---- */

.mb + .mb { margin-top: calc(10px * var(--board-scale)); }

.mb-lead {
  margin: 0;
  font-size: calc(14px * var(--board-scale));
  font-weight: 600;
  line-height: 1.4;
  color: var(--board-ink);
}

.mb-body {
  margin: 0;
  font-size: calc(13px * var(--board-scale));
  line-height: 1.45;
  color: var(--board-body);
}

/* ---- list items ---- */

.mi + .mi { margin-top: calc(15px * var(--board-scale)); }

/* Name · tags · price on one baseline. Tags sit in a fixed column so they
   line up down the panel, with the price hard right. */
.mi-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(64px * var(--board-scale)) calc(50px * var(--board-scale));
  align-items: baseline;
  column-gap: calc(8px * var(--board-scale));
}

.mi-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: calc(19.5px * var(--board-scale));
  font-weight: 600;
  line-height: 1.2;
  color: var(--board-ink);
}

.mi-tags {
  font-size: calc(11.5px * var(--board-scale));
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: var(--board-muted);
}

.mi-price {
  font-size: calc(19px * var(--board-scale));
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  text-align: right;
  white-space: nowrap;
  color: var(--board-ink);
}

.mi-desc {
  margin: calc(2px * var(--board-scale)) 0 0;
  font-size: calc(12.5px * var(--board-scale));
  line-height: 1.35;
  color: var(--board-body);
}

.mi-desc + .mi-desc { margin-top: 0; }

.mi-desc strong { font-weight: 700; color: var(--board-ink); }

/* Toastie's fillings */
.mi-options { margin-top: calc(6px * var(--board-scale)); }

.mi-option {
  margin: 0 0 calc(4px * var(--board-scale));
  font-size: calc(12.5px * var(--board-scale));
  line-height: 1.35;
  color: var(--board-body);
}

.mi-option strong { font-weight: 700; color: var(--board-ink); }

/* Croissant-style variants: name left, own price right */
.mi-variants { margin-top: calc(2px * var(--board-scale)); }

.mi-variant {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: calc(10px * var(--board-scale));
}

.mi-variant {
  position: relative;
  padding-left: calc(14px * var(--board-scale));
}

/* Bullet, as the crepes are printed */
.mi-variant::before {
  content: "";
  position: absolute;
  left: calc(2px * var(--board-scale));
  top: calc(7px * var(--board-scale));
  width: calc(3.5px * var(--board-scale));
  height: calc(3.5px * var(--board-scale));
  border-radius: 50%;
  background: var(--board-muted);
}

.mi-variant-name {
  font-size: calc(13.5px * var(--board-scale));
  font-weight: 600;
  line-height: 1.4;
  color: var(--board-ink);
}

.mi-variant-tags {
  margin-right: auto;
  font-size: calc(11px * var(--board-scale));
  font-weight: 500;
  white-space: nowrap;
  color: var(--board-muted);
}

.mi-variant-desc {
  margin: 0 0 calc(4px * var(--board-scale));
  font-size: calc(12.5px * var(--board-scale));
  line-height: 1.35;
  color: var(--board-body);
}

.mi-variant .mi-price { font-size: calc(18px * var(--board-scale)); line-height: 1.05; }

/* ---- Sides: two columns of name/price pairs, split by a fine rule ---- */

.ms--grid .ms-items {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: start;
}

.mg-col:first-child { padding-right: calc(14px * var(--board-scale)); }

.mg-col + .mg-col {
  padding-left: calc(14px * var(--board-scale));
  border-left: 1px solid var(--board-rule);
}

.mg-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: calc(8px * var(--board-scale));
  padding: calc(2px * var(--board-scale)) 0;
}

.mg-name,
.mg-price {
  font-family: var(--font-ui);
  font-size: calc(10px * var(--board-scale));
  font-weight: 500;
  line-height: 1.6;
  color: var(--board-body);
}

.mg-price { font-variant-numeric: tabular-nums; }

/* ---- tag legend, foot of the last panel ---- */

.m-legend {
  margin-top: auto;
  padding-top: calc(12px * var(--board-scale));
  border-top: 1px solid var(--board-rule);
  display: flex;
  justify-content: space-between;
}

.m-legend-row {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  padding: 0 calc(4px * var(--board-scale));
}

.m-legend-row + .m-legend-row { border-left: 1px solid var(--board-rule); }

.m-legend-code {
  font-size: calc(15px * var(--board-scale));
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--board-ink);
}

.m-legend-label {
  margin-top: calc(2px * var(--board-scale));
  font-family: var(--font-ui);
  font-size: calc(8px * var(--board-scale));
  font-weight: 500;
  text-wrap: balance; /* one line where it fits, an even wrap where it doesn't */
  color: var(--board-body);
}

/* Keep a clear gap between the last item and the legend */
.menu-col > .ms:last-of-type { margin-bottom: calc(22px * var(--board-scale)); }

.menu-modal .map-modal-actions { margin-top: clamp(22px, 3vw, 34px); }

/* ---- responsive ---- */

/* Board text scales with the modal so the panels stay in proportion */
@media (max-width: 1500px) { .menu-board { --board-scale: 0.94; } }
@media (max-width: 1320px) { .menu-board { --board-scale: 0.86; } }
@media (max-width: 1150px) { .menu-board { --board-scale: 0.78; } }

/* Too narrow for four panels abreast — stack them instead */
@media (max-width: 999px) {
  .menu-board {
    --board-scale: 1;
    flex-direction: column;
    align-items: stretch;
  }
  .menu-card,
  .menu-cols {
    flex: 0 0 auto;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  /* The title card becomes a compact header: brand and title side by side
     isn't worth it on a phone, so just tighten the vertical rhythm */
  .menu-card { padding: 36px 20px 24px; }
  .mc-orn { margin-top: 22px; }
  .mc-title { margin-top: 26px; }
  .mc-word { font-size: 44px; }
  .mc-note { margin-top: 0; padding-top: 24px; }

  .menu-cols { flex-direction: column; }
  .menu-col { padding: 30px 20px 26px; }

  /* Horizontal rule between stacked panels instead of a vertical one */
  .menu-col + .menu-col::before {
    top: 0;
    bottom: auto;
    left: 20px;
    right: 20px;
    width: auto;
    height: 1px;
  }
}

@media (max-width: 420px) {
  .m-legend { flex-wrap: wrap; row-gap: 10px; }
  .m-legend-row { flex-basis: 50%; }
  .m-legend-row:nth-child(3) { border-left: 0; }
}
