/* ==========================================================================
   Paddington Grind — 339 Oxford St, Paddington NSW 2021
   Palette taken from the existing brand: black sign, cream menu, mustard band.
   ========================================================================== */

:root {
  --ink:        #14130f;
  --ink-soft:   #4a463c;
  /* ink-faint and accent-ink are both darkened past the obvious choice so the
     small uppercase labels they carry clear WCAG AA (4.5:1) rather than just
     the large-text threshold. */
  --ink-faint:  #6b6658;   /* 4.95:1 on paper, 4.57:1 on warm */
  --paper:      #f3eee4;
  /* Matched to what a JPEG of this tone actually DECODES to in the browser.
     The cut-out dish photos in "The Space" have this colour baked in, and JPEG
     cannot reproduce #ece5d7 exactly as a flat field — it lands one level off,
     which shows as a faint rectangle against a flat background. Moving the
     token instead of fighting the encoder makes the seam vanish. If those
     images are ever re-exported, re-check the decoded value. */
  --paper-warm: #ede5d8;
  --surface:    #fbf9f5;
  --line:       #ddd5c4;
  --accent:     #e9c33d;   /* mustard band from the printed menu */
  --accent-ink: #5f4a00;   /* 5.00:1 on the mustard */
  --bloom:      #d4568c;   /* bougainvillea on the shopfront */
  --open:       #1f7a4d;
  --closed:     #a5442f;

  --shadow-sm: 0 1px 2px rgba(20, 19, 15, .06), 0 2px 8px rgba(20, 19, 15, .05);
  --shadow-md: 0 4px 12px rgba(20, 19, 15, .08), 0 12px 32px rgba(20, 19, 15, .08);

  --font-display: "Archivo Black", "Arial Black", "Helvetica Neue", Impact, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1140px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --radius: 4px;
  --header-h: 68px;
}

/* --------------------------------------------------------------- reset -- */

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

html {
  scroll-behavior: smooth;
  /* keep anchored sections clear of the sticky header */
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }

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

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

/* ------------------------------------------------------------- helpers -- */

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

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

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: .75rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .18s ease;
}
.skip-link:focus { transform: translate(-50%, 0); }

.eyebrow {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-faint);
  margin: 0 0 .75rem;
}

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--paper { background: var(--paper); }
.section--warm  { background: var(--paper-warm); }
.section--ink   { background: var(--ink); color: var(--paper); }
.section--ink .eyebrow { color: var(--accent); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h1,
.section-head h2 { font-size: clamp(1.9rem, 5vw, 3rem); }
.section-head p {
  margin-top: 1rem;
  font-size: 1.075rem;
  color: var(--ink-soft);
}
.section--ink .section-head p { color: #cbc4b4; }

/* --------------------------------------------------------------- logo --- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  text-decoration: none;
  font-family: var(--font-body);
  line-height: 1;
  white-space: nowrap;
}
.logo__word {
  font-size: 1.05em;
  font-weight: 300;
  letter-spacing: -.01em;
}
.logo__grind { display: inline-flex; gap: .18em; }
.logo__grind span {
  display: grid;
  place-items: center;
  min-width: 1.32em;
  padding: .16em .1em;
  border: 1.5px solid currentColor;
  font-weight: 800;
  font-size: .92em;
  letter-spacing: .01em;
}
/* on the dark header the mark is knocked out, matching the shopfront sign */
.logo--invert { color: var(--paper); }

/* ------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 650;
  font-size: .975rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--on-dark {
  background: transparent;
  border-color: var(--paper);
  color: var(--paper);
}
.btn--on-dark:hover { background: var(--paper); color: var(--ink); }

.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* -------------------------------------------------------------- header -- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid rgba(243, 238, 228, .12);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.header .logo { font-size: 1.0625rem; margin-right: auto; }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a {
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 550;
  color: #ddd6c7;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav a:hover { color: var(--paper); border-bottom-color: var(--accent); }
.nav a[aria-current] { color: var(--paper); border-bottom-color: var(--accent); }

.header__cta { display: inline-flex; gap: .6rem; align-items: center; }
.header .btn { padding: .6rem 1.1rem; font-size: .9rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid rgba(243, 238, 228, .35);
  border-radius: var(--radius);
  color: var(--paper);
  cursor: pointer;
  padding: 0;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .header__cta .btn--phone { display: none; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    padding: .5rem var(--gutter) 1.5rem;
    border-bottom: 1px solid rgba(243, 238, 228, .12);
    transform: translateY(-130%);
    transition: transform .25s ease;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav[data-open="true"] { transform: translateY(0); }
  .nav a {
    padding: .95rem 0;
    font-size: 1.0625rem;
    border-bottom: 1px solid rgba(243, 238, 228, .1);
  }
  .nav a:hover, .nav a[aria-current] { border-bottom-color: rgba(243, 238, 228, .1); }
}

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 58% 55%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(20,19,15,.94) 0%, rgba(20,19,15,.82) 38%, rgba(20,19,15,.28) 66%, rgba(20,19,15,.12) 100%),
    linear-gradient(to top, rgba(20,19,15,.55), transparent 45%);
}

/* Narrow screens have no empty side to put text on, so the copy sits directly
   over the food. Swap the diagonal wash for a heavier vertical one. */
@media (max-width: 700px) {
  .hero__media::after {
    background:
      linear-gradient(to bottom, rgba(20,19,15,.88) 0%, rgba(20,19,15,.78) 55%, rgba(20,19,15,.58) 100%);
  }
  .hero__media img { object-position: 60% 40%; }
}
.hero__inner {
  position: relative;
  padding-block: clamp(4rem, 12vw, 8.5rem);
  max-width: 40rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  letter-spacing: -.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero__lede {
  margin-top: 1.25rem;
  font-size: clamp(1.075rem, 2.4vw, 1.3rem);
  line-height: 1.5;
  color: #e3ddcf;
  max-width: 34rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

/* live open / closed pill */
.status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .9rem .45rem .7rem;
  border-radius: 999px;
  background: rgba(243, 238, 228, .1);
  border: 1px solid rgba(243, 238, 228, .22);
  font-size: .875rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.status__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink-faint);
  flex: none;
}
.status[data-state="open"] .status__dot {
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .6);
  animation: pulse 2.4s ease-out infinite;
}
.status[data-state="closed"] .status__dot { background: #f0805f; }
.status__detail { color: #cdc6b6; font-weight: 450; }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); }
  70%  { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ----------------------------------------------------------- info strip -- */
/* The three things people actually open a cafe site for. */

.strip { background: var(--accent); color: var(--ink); }
.strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.strip__item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1.5rem 1.25rem;
  text-decoration: none;
  border-right: 1px solid rgba(20, 19, 15, .16);
  transition: background-color .15s ease;
}
.strip__item:last-child { border-right: 0; }
.strip__item:hover { background: rgba(20, 19, 15, .07); }
.strip__item svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.strip__label {
  display: block;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-ink);
}
.strip__value { display: block; font-weight: 600; line-height: 1.35; }
.strip__meta { display: block; font-size: .875rem; color: rgba(20,19,15,.7); }

@media (max-width: 760px) {
  .strip__grid { grid-template-columns: 1fr; }
  .strip__item {
    border-right: 0;
    border-bottom: 1px solid rgba(20, 19, 15, .16);
    padding: 1.1rem var(--gutter);
  }
  .strip__item:last-child { border-bottom: 0; }
}

/* ---------------------------------------------------------------- menu -- */

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

.tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.tab {
  padding: .6rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.menu-search {
  position: relative;
  flex: 1 1 15rem;
  max-width: 20rem;
}
.menu-search input {
  width: 100%;
  padding: .65rem .9rem .65rem 2.4rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font: inherit;
  font-size: .9375rem;
  color: var(--ink);
}
.menu-search input::placeholder { color: var(--ink-faint); }
.menu-search input:focus { border-color: var(--ink); }
.menu-search svg {
  position: absolute;
  left: .8rem; top: 50%;
  transform: translateY(-50%);
  width: 17px; height: 17px;
  color: var(--ink-faint);
  pointer-events: none;
}

.menu-panel[hidden] { display: none; }

.menu-group + .menu-group { margin-top: 3rem; }
.menu-group__title {
  font-size: 1.35rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: .25rem;
}
.menu-group__note {
  font-size: .9375rem;
  color: var(--ink-soft);
  margin: .85rem 0 0;
}

.menu-list { list-style: none; margin: 0; padding: 0; }

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .25rem 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.menu-item__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem;
  font-weight: 650;
  font-size: 1.0625rem;
}
.menu-item__price {
  font-weight: 700;
  font-size: 1.0625rem;
  white-space: nowrap;
  text-align: right;
}
/* Size labels sit under each price on narrow screens, where the Small/Large
   column header is off-screen. Wide screens use the header row instead. */
.menu-item__price small {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
@media (min-width: 701px) {
  .menu-item__price small { display: none; }
}
.menu-item__desc {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink-soft);
  font-size: .95rem;
  max-width: 46rem;
}

/* two-price rows (small / large drinks) */
.menu-item--dual { grid-template-columns: 1fr auto auto; }
.menu-item--dual .menu-item__desc { grid-column: 1 / -1; }
.menu-item--dual .menu-item__price { min-width: 4rem; }

/* ---- dishes with a photo -------------------------------------------------
   Named areas keep the thumbnail spanning both rows, so the description
   still runs the full width beside it rather than wrapping under a gap. */

.menu-item--photo {
  grid-template-columns: 84px 1fr auto;
  grid-template-areas:
    "thumb head  price"
    "thumb desc  desc";
  align-items: start;
  /* column-gap deliberately inherited from .menu-item (1.5rem): it keeps the
     price column at the same x as rows without a photo, so prices stay in a
     straight line down the list */
}
.menu-item--photo .menu-item__head  { grid-area: head; }
.menu-item--photo .menu-item__desc  { grid-area: desc; }
/* single-price rows only — the dual template below has no "price" area, and
   assigning a missing area would spawn phantom grid tracks */
.menu-item--photo:not(.menu-item--dual) .menu-item__price { grid-area: price; }

.menu-item--photo.menu-item--dual {
  grid-template-columns: 84px 1fr auto auto;
  grid-template-areas:
    "thumb head small large"
    "thumb desc desc  desc";
}
/* explicit classes, not :nth-of-type — that counts elements, and the head
   div is a sibling of the price divs */
.menu-item--photo.menu-item--dual .menu-item__price--sm { grid-area: small; }
.menu-item--photo.menu-item--dual .menu-item__price--lg { grid-area: large; }

.menu-item__thumb {
  grid-area: thumb;
  width: 84px;
  height: 84px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-warm);
  cursor: zoom-in;
  display: block;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.menu-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.menu-item__thumb:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.menu-item__thumb:hover img { transform: scale(1.07); }

@media (max-width: 560px) {
  .menu-item--photo { grid-template-columns: 60px 1fr auto; }
  .menu-item--photo.menu-item--dual { grid-template-columns: 60px 1fr auto auto; }
  .menu-item__thumb { width: 60px; height: 60px; }
}

/* ---- photo lightbox ---------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: rgba(20, 19, 15, .88);
  backdrop-filter: blur(3px);
  border: 0;
}
.lightbox[hidden] { display: none; }
.lightbox__inner { max-width: min(560px, 100%); text-align: center; }
.lightbox img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.lightbox__caption {
  margin: 1rem 0 0;
  color: var(--paper);
  font-weight: 650;
  font-size: 1.05rem;
}
.lightbox__price { color: var(--accent); }
.lightbox__close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(243, 238, 228, .4);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}
.lightbox__close:hover { background: var(--paper); color: var(--ink); }
.lightbox__close svg { width: 20px; height: 20px; }

.menu-prices-head {
  display: grid;
  grid-template-columns: 1fr 4rem 4rem;
  gap: 1.5rem;
  padding: .5rem 0;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-faint);
  border-bottom: 1px solid var(--line);
}
.menu-prices-head span:not(:first-child) { text-align: right; }

/* Below 700px each price carries its own Small/Large label, so this header
   row would just repeat it. Must come after the display:grid above. */
@media (max-width: 700px) {
  .menu-prices-head { display: none; }
}

/* tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .12rem .45rem;
  border-radius: 3px;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.5;
  white-space: nowrap;
}
.tag--popular { background: var(--accent); color: var(--accent-ink); }
.tag--v   { background: #dcedd9; color: #2f6127; }
.tag--vg  { background: #d9ebe6; color: #1d6152; }
.tag--gfo { background: #e8e3f2; color: #4a3d78; }

.menu-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .875rem;
  color: var(--ink-soft);
}
.menu-legend span { display: inline-flex; align-items: center; gap: .45rem; }

.menu-empty {
  padding: 2.5rem 0;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}
.menu-empty[hidden] { display: none; }

.menu-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.menu-foot p { margin: 0; flex: 1 1 18rem; font-size: .95rem; color: var(--ink-soft); }

/* -------------------------------------------------------------- coffee -- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.split__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.split h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
.split p { color: #cbc4b4; }
.section--paper .split p, .section--warm .split p { color: var(--ink-soft); }

.notes {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.notes li {
  padding: .35rem .8rem;
  border: 1px solid rgba(243, 238, 228, .3);
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 550;
}

.suppliers {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2.25rem;
  border-top: 1px solid rgba(243, 238, 228, .18);
}
.suppliers__label {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 1.5rem;
}

.supplier-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 2.5rem;
  align-items: end;
}
.supplier {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  min-width: 0;
}
.supplier__link {
  display: block;
  width: 100%;
  opacity: .88;
  transition: opacity .18s ease, transform .18s ease;
}
.supplier__link:hover { opacity: 1; transform: translateY(-2px); }

/* Each logo sits in a fixed-height box and is contained inside it. The four
   marks range from a 1:1 badge to a 10:1 hairline wordmark, so letting them
   fill whichever axis binds first is what keeps them looking the same weight. */
.supplier__box {
  display: grid;
  place-items: center;
  height: 76px;
}
.supplier__mark {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* per-mark ceilings, tuned by eye for equal optical weight */
.supplier__mark--tobys   { max-height: 58px; }
.supplier__mark--tuga    { max-height: 76px; }
.supplier__mark--munja   { max-height: 34px; }
.supplier__mark--teadrop { max-height: 30px; }

.supplier__what {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #a49d8d;
}

@media (max-width: 900px) {
  .supplier-logos { grid-template-columns: repeat(2, 1fr); gap: 2.25rem 2rem; }
  /* the two long wordmarks get the full row rather than a half-width sliver —
     Munja's hairline outline goes faint below roughly 20px tall */
  .supplier--wide { grid-column: 1 / -1; }
  .supplier--wide .supplier__box { height: 52px; }
  .supplier__mark--munja   { max-height: 40px; }
  .supplier__mark--teadrop { max-height: 34px; }
}
@media (max-width: 420px) {
  .supplier__box { height: 62px; }
  .supplier__mark--tobys { max-height: 46px; }
  .supplier__mark--tuga  { max-height: 62px; }
}

/* ------------------------------------------------------------- gallery -- */

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  aspect-ratio: 16 / 8;
}
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper-warm); }
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figure:first-child { grid-row: span 2; }

/* Three photos instead of five: nothing left to fill the second row, so the
   mosaic drops to a single band. Desktop only -- the stacked mobile layout below
   has no hole to fix, and :has() would otherwise outrank it. Reverts on its own
   when photos are added back. */
@media (min-width: 701px) {
  .gallery:has(figure:nth-child(3):last-child) {
    grid-template-rows: minmax(0, 1fr);
    aspect-ratio: 16 / 5;
  }
  .gallery:has(figure:nth-child(3):last-child) figure:first-child { grid-row: span 1; }
}

@media (max-width: 700px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    aspect-ratio: auto;
  }
  .gallery figure { aspect-ratio: 1; }
  .gallery figure:first-child { grid-row: span 1; grid-column: span 2; aspect-ratio: 4/3; }
}

/* --------------------------------------------------------------- visit -- */

.visit { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 3.5rem); }
@media (max-width: 880px) { .visit { grid-template-columns: 1fr; } }

.hours { width: 100%; border-collapse: collapse; margin-bottom: 1.75rem; }
.hours caption {
  text-align: left;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-faint);
  padding-bottom: .75rem;
}
.hours th, .hours td {
  padding: .6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .975rem;
  text-align: left;
}
.hours th { font-weight: 550; }
.hours td { text-align: right; font-weight: 600; }
.hours tr[data-today="true"] th,
.hours tr[data-today="true"] td { color: var(--ink); background: rgba(233, 195, 61, .22); }
.hours tr[data-today="true"] th { padding-left: .5rem; }
.hours tr[data-today="true"] td { padding-right: .5rem; }

.address-block { font-style: normal; line-height: 1.7; margin-bottom: 1.5rem; }
.address-block a { font-weight: 600; }

.map-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-warm);
  min-height: 340px;
  height: 100%;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

.getting-here { list-style: none; margin: 0; padding: 0; }
.getting-here li {
  display: flex;
  gap: .75rem;
  padding: .6rem 0;
  font-size: .95rem;
  color: var(--ink-soft);
}
.getting-here svg { width: 18px; height: 18px; flex: none; margin-top: .28rem; color: var(--ink-faint); }

/* --------------------------------------------------------------- order -- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}
.card {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--ink); }
.card h3 { font-size: 1.15rem; }
.card p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.card__link { margin-top: auto; padding-top: .75rem; font-weight: 650; font-size: .95rem; }
.card__link::after { content: " →"; }

/* ------------------------------------------------------------ newsletter */


/* -------------------------------------------------------------- footer -- */

.footer { background: var(--ink); color: #b4ad9d; padding-block: 3.5rem 6.5rem; font-size: .9375rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(243, 238, 228, .12);
}
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer .logo { color: var(--paper); font-size: 1.15rem; margin-bottom: 1rem; }
.footer h3 {
  font-family: var(--font-body);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: .85rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: .28rem 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--paper); text-decoration: underline; }
.footer__base {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: .8125rem;
  color: #8d8778;
}

/* ------------------------------------------------- sticky mobile actions */
/* Call / Directions are the two highest-intent actions on a phone. */

.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  background: var(--ink);
  border-top: 1px solid rgba(243, 238, 228, .15);
  padding-bottom: env(safe-area-inset-bottom);
}
.dock__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: .7rem .5rem;
  color: var(--paper);
  text-decoration: none;
  font-size: .75rem;
  font-weight: 600;
  border-right: 1px solid rgba(243, 238, 228, .12);
}
.dock a:last-child { border-right: 0; }
.dock svg { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .dock { display: block; }
  .footer { padding-bottom: 7rem; }
}

/* --------------------------------------------------------- scroll reveal */

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- print */

@media print {
  .header, .dock, .hero__actions, .map-frame, .menu-bar { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding-block: 1rem; }
  .menu-panel[hidden] { display: block !important; }
  .section--ink { background: #fff !important; color: #000 !important; }
}

/* Cut-out dish shots are baked onto the section's own paper tone, so the tile
   must not paint anything behind them — any panel colour here would show as a
   card edge. They are contained rather than cropped: the point of a cutout is
   seeing the whole plate, and `cover` would slice the edges off. */
.gallery figure.gallery__dish {
  background: var(--paper-warm);
}
.gallery figure.gallery__dish img {
  object-fit: contain;
  padding: 4%;
}
.gallery figure.gallery__dish:hover img { transform: scale(1.05); }

/* Six nav items plus the phone button no longer fit between the hamburger
   breakpoint (861px) and roughly 1120px — the nav was wrapping onto two lines
   and pushing the phone button taller than the header. Tighten rather than
   wrap. */
.nav a, .btn--phone { white-space: nowrap; }

@media (min-width: 861px) and (max-width: 1120px) {
  .header__inner { gap: 1rem; }
  .nav { gap: 1.05rem; }
  .nav a { font-size: .875rem; }
  .header .btn--phone { padding: .55rem .75rem; font-size: .82rem; }
}

/* ------------------------------------------------- home page teaser cards */
/* Three doorways into the sub-pages, so the nav isn't the only route there. */

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.teaser {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  text-decoration: none;
  aspect-ratio: 4 / 3;
  background: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.teaser:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.teaser img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.teaser:hover img { transform: scale(1.05); }

.teaser__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1.35rem 1.25rem;
  color: var(--paper);
  background: linear-gradient(to top, rgba(20,19,15,.94) 30%, rgba(20,19,15,.6) 70%, transparent);
}
.teaser__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.1;
}
.teaser__title::after { content: " →"; }
.teaser__note {
  display: block;
  margin-top: .4rem;
  font-size: .9rem;
  line-height: 1.45;
  color: #d8d2c4;
}

@media (max-width: 820px) { .teaser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .teaser-grid { grid-template-columns: 1fr; } }
