/* ==========================================================================
   Saffron & Sill — concept café website
   Mobile-first. Edit the colour + font tokens below to re-theme the site.
   ========================================================================== */

/* ---------- Self-hosted fonts (SIL Open Font License) ----------
   The "Fallback" faces are size-matched local fonts, so text doesn't jump when the web fonts load. */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-opsz-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-opsz-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); font-style: normal; size-adjust: 96.4%; ascent-override: 101.5%; descent-override: 26.5%; line-gap-override: 0%; }
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia Italic"), local("Georgia-Italic"); font-style: italic; size-adjust: 90.5%; ascent-override: 108%; descent-override: 28.2%; line-gap-override: 0%; }
@font-face { font-family: "DM Sans Fallback"; src: local("Arial"); size-adjust: 103.98%; ascent-override: 95.4%; descent-override: 29.81%; line-gap-override: 0%; }

:root {
  --cream: #f7f0e6;
  --paper: #fbf7f1;
  --sand: #ecdfcc;
  --espresso: #1f1611;
  --roast: #3a2a21;
  --ink: #2a1f19;
  --muted: #6a5749;
  --saffron: #e0a23f;
  --saffron-deep: #94570f;
  --line: rgba(42, 31, 25, 0.14);

  --serif: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --sans: "DM Sans", "DM Sans Fallback", Arial, sans-serif;

  --radius: 18px;
  --gutter: 20px;
  --max: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 9vw, 5.6rem); }
h2 { font-size: clamp(2rem, 5.6vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); }
p { margin: 0 0 1.1em; }
em { font-style: italic; }
h1 em, h2 em { color: var(--saffron-deep); }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--espresso); color: var(--paper);
  padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section--tight { padding: clamp(56px, 8vw, 96px) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--espresso); color: var(--cream); }
.section--dark h2 em, .section--dark h1 em { color: var(--saffron); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--saffron-deep); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--saffron); }

.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 38em; }
.section--dark .lead { color: rgba(247, 240, 230, 0.78); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--saffron); color: var(--espresso); }
.btn--primary:hover { background: #ebb35a; }
.btn--dark { background: var(--espresso); color: var(--cream); }
.btn--dark:hover { background: var(--roast); }
.btn--ghost { border-color: rgba(247, 240, 230, 0.55); color: var(--cream); }
.btn--ghost:hover { background: rgba(247, 240, 230, 0.12); border-color: var(--cream); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.text-link:hover { color: var(--saffron-deep); }
.text-link svg { width: 18px; height: 18px; flex: none; transition: transform 0.35s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }
.text-link { white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--cream);
  transition: background-color 0.4s, color 0.4s, box-shadow 0.4s, height 0.4s;
}
.site-header.is-solid {
  background: rgba(251, 247, 241, 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo__name { font-family: var(--serif); font-size: 1.55rem; font-style: italic; letter-spacing: -0.01em; }
.logo__name span { font-style: normal; color: var(--saffron); }
.site-header.is-solid .logo__name span { color: var(--saffron-deep); }
.logo__tag { font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; margin-top: 6px; opacity: 0.8; }

.nav-toggle {
  width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; margin-right: -10px;
  position: relative; z-index: 120;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-open .nav-toggle { color: var(--cream); }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: fixed; inset: 0; z-index: 110;
  background: var(--espresso); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 28px 40px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.nav-open .site-nav { opacity: 1; visibility: visible; }
.nav-open { overflow: hidden; }
.site-nav ul { list-style: none; margin: 0 0 36px; padding: 0; }
.site-nav li + li { border-top: 1px solid rgba(247, 240, 230, 0.12); }
.site-nav a:not(.btn) {
  display: block; padding: 14px 0;
  font-family: var(--serif); font-size: 2.1rem; text-decoration: none;
}
.site-nav a[aria-current="page"] { color: var(--saffron); font-style: italic; }
.site-nav .btn { align-self: flex-start; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; opacity: 1; visibility: visible; background: none; color: inherit;
    flex-direction: row; align-items: center; gap: 32px; padding: 0;
  }
  .site-nav ul { display: flex; gap: 30px; margin: 0; }
  .site-nav li + li { border: 0; }
  .site-nav a:not(.btn) {
    font-family: var(--sans); font-size: 0.95rem; font-weight: 500; padding: 6px 0;
    position: relative;
  }
  .site-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: right;
    transition: transform 0.4s var(--ease);
  }
  .site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
  .site-nav a[aria-current="page"] { color: inherit; font-style: normal; }
  .site-nav .btn { min-height: 44px; padding: 0 22px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 640px; min-height: clamp(640px, 100svh, 980px); display: flex; align-items: flex-end;
  color: var(--cream); background: var(--espresso); overflow: hidden;
}
.hero__media, .page-hero__media { position: absolute; inset: 0; }
.hero__media img, .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after, .page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 13, 9, 0.72) 0%, rgba(20, 13, 9, 0.25) 60%, rgba(20, 13, 9, 0) 85%),
    linear-gradient(180deg, rgba(20, 13, 9, 0.6) 0%, rgba(20, 13, 9, 0.1) 35%, rgba(20, 13, 9, 0.8) 100%);
}
.hero__content { position: relative; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(48px, 9vw, 110px); }
.hero h1 { margin-bottom: 0.35em; }
.hero h1 em { color: var(--saffron); }
.hero__text { font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 34em; color: rgba(247, 240, 230, 0.88); margin-bottom: 32px; }
.hero__meta {
  margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px 28px;
  font-size: 0.9rem; color: rgba(247, 240, 230, 0.85);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #7cc47f; box-shadow: 0 0 0 4px rgba(124, 196, 127, 0.25); }
.status-dot.is-closed { background: #e07b6a; box-shadow: 0 0 0 4px rgba(224, 123, 106, 0.25); }

.page-hero {
  position: relative; color: var(--cream); background: var(--espresso);
  min-height: clamp(380px, 62vh, 560px); display: flex; align-items: flex-end; overflow: hidden;
}
.page-hero .container { position: relative; padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(40px, 7vw, 80px); }
.page-hero h1 { font-size: clamp(2.6rem, 8vw, 5rem); margin-bottom: 0.25em; }
.page-hero h1 em { color: var(--saffron); }
.page-hero p { max-width: 36em; color: rgba(247, 240, 230, 0.85); margin: 0; font-size: 1.1rem; }

/* ---------- Feature strip ---------- */
.features { display: grid; gap: 36px; }
.feature { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.feature__icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sand); color: var(--saffron-deep);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.3rem; margin-bottom: 0.3em; }
.feature p { color: var(--muted); margin: 0; font-size: 0.98rem; }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* ---------- Split ---------- */
.split { display: grid; gap: 48px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__media--stack .split__inset {
  position: absolute; width: 46%; right: -6px; bottom: -36px;
  border: 8px solid var(--cream); border-radius: var(--radius); aspect-ratio: 1; object-fit: cover;
}
.split__badge {
  position: absolute; left: 16px; top: 16px;
  background: var(--paper); color: var(--ink); border-radius: 999px; padding: 10px 16px;
  font-size: 0.85rem; font-weight: 600; box-shadow: 0 10px 30px rgba(31, 22, 17, 0.18);
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(56px, 8vw, 120px); }
  .split--reverse .split__media { order: 2; }
  .split__media--stack .split__inset { right: -40px; }
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0; padding-top: 28px; border-top: 1px solid var(--line); }
.stat__num { font-family: var(--serif); font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1; display: block; }
.stat__label { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.02em; }

/* ---------- Dish cards ---------- */
.dish-grid { display: grid; gap: 28px; }
@media (min-width: 640px) { .dish-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .dish-grid { grid-template-columns: repeat(4, 1fr); } }
.dish { display: flex; flex-direction: column; }
.dish__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 18px; background: var(--sand); }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.dish:hover .dish__img img { transform: scale(1.05); }
.dish__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dish h3 { font-size: 1.35rem; margin: 0 0 0.3em; }
.dish__price { font-family: var(--serif); font-size: 1.2rem; color: var(--saffron-deep); white-space: nowrap; }
.dish p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.center-cta { text-align: center; margin-top: 56px; }

/* ---------- Quote band ---------- */
.quote-band { position: relative; overflow: hidden; }
.quote-band__grid { display: grid; gap: 40px; align-items: center; }
.quote-band blockquote { margin: 0; }
.quote-band blockquote p {
  font-family: var(--serif); font-size: clamp(1.9rem, 5vw, 3.4rem); line-height: 1.12; letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.quote-band blockquote p em { color: var(--saffron); }
.quote-band cite { font-style: normal; font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247, 240, 230, 0.7); }
.quote-band__img img { border-radius: 999px 999px var(--radius) var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; max-width: 420px; margin-left: auto; }
@media (min-width: 900px) { .quote-band__grid { grid-template-columns: 1.4fr 1fr; gap: 80px; } }

/* ---------- Reviews ---------- */
.sample-note {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600;
  background: var(--sand); color: var(--roast); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.reviews { display: grid; gap: 20px; }
@media (min-width: 860px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column; margin: 0;
}
.review__stars { color: var(--saffron-deep); letter-spacing: 3px; font-size: 1rem; margin-bottom: 14px; }
.review blockquote { margin: 0 0 24px; font-family: var(--serif); font-size: 1.22rem; line-height: 1.45; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; }
.review__avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--espresso); color: var(--saffron); font-family: var(--serif); font-size: 1.05rem;
}
.review figcaption strong { display: block; font-weight: 600; }
.review figcaption span { color: var(--muted); font-size: 0.82rem; }

/* ---------- Hours + map ---------- */
.visit { display: grid; gap: 40px; }
@media (min-width: 960px) { .visit { grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: stretch; } .visit .map-placeholder { min-height: 520px; } }
.hours { list-style: none; margin: 0 0 32px; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hours li.is-today { font-weight: 600; }
.hours li.is-today span:first-child::after { content: " · Today"; color: var(--saffron-deep); font-weight: 600; }
.section--dark .hours li { border-color: rgba(247, 240, 230, 0.14); }
.address { font-style: normal; margin-bottom: 24px; line-height: 1.7; }
.address a { text-decoration: none; border-bottom: 1px solid var(--line); }

/* Map placeholder: swap for a Google Maps / Mapbox iframe (see README). */
.map-placeholder {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px; height: 100%;
  background-color: #e9dcc8;
  background-image:
    linear-gradient(28deg, transparent 47%, rgba(255, 255, 255, 0.85) 47.5%, rgba(255, 255, 255, 0.85) 50.5%, transparent 51%),
    linear-gradient(118deg, transparent 63%, rgba(255, 255, 255, 0.7) 63.5%, rgba(255, 255, 255, 0.7) 65.5%, transparent 66%),
    linear-gradient(0deg, transparent 30%, rgba(255, 255, 255, 0.6) 30.5%, rgba(255, 255, 255, 0.6) 32%, transparent 32.5%),
    linear-gradient(90deg, transparent 22%, rgba(255, 255, 255, 0.6) 22.5%, rgba(255, 255, 255, 0.6) 24%, transparent 24.5%),
    linear-gradient(160deg, #cfdcc9 0 18%, transparent 18.5%),
    linear-gradient(-20deg, #b9cfd6 0 22%, transparent 22.5%);
  display: grid; place-items: center; border: 1px solid var(--line);
}
.map-placeholder__pin { text-align: center; }
.map-placeholder__pin svg { width: 44px; height: 44px; color: var(--espresso); margin: 0 auto 10px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.2)); }
.map-placeholder__label {
  background: var(--paper); border-radius: 12px; padding: 12px 18px; font-size: 0.9rem;
  box-shadow: 0 12px 30px rgba(31, 22, 17, 0.15);
}
.map-placeholder__label strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }

/* ---------- Instagram grid ---------- */
.insta-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.insta-head h2 { margin: 0; }
.insta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
@media (min-width: 640px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .insta-grid { grid-template-columns: repeat(6, 1fr); } }
.insta-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--sand); }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.insta-grid a::after {
  content: ""; position: absolute; inset: 0; background: rgba(31, 22, 17, 0.45);
  opacity: 0; transition: opacity 0.4s;
}
.insta-grid a:hover img, .insta-grid a:focus-visible img { transform: scale(1.07); }
.insta-grid a:hover::after, .insta-grid a:focus-visible::after { opacity: 1; }
.insta-grid .insta-icon {
  position: absolute; inset: 0; margin: auto; width: 30px; height: 30px; color: #fff; z-index: 1;
  opacity: 0; transform: scale(0.8); transition: opacity 0.4s, transform 0.4s var(--ease);
}
.insta-grid a:hover .insta-icon, .insta-grid a:focus-visible .insta-icon { opacity: 1; transform: scale(1); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; color: var(--cream); background: var(--espresso); }
.cta-band__media { position: absolute; inset: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.cta-band .container { position: relative; }
.cta-band h2 { max-width: 14ch; margin-left: auto; margin-right: auto; }
.cta-band h2 em { color: var(--saffron); }
.cta-band p { color: rgba(247, 240, 230, 0.85); max-width: 32em; margin: 0 auto 32px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Menu page ---------- */
.menu-filters {
  position: sticky; top: var(--header-h); z-index: 20;
  background: rgba(247, 240, 230, 0.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.menu-filters .container { display: flex; gap: 8px; overflow-x: auto; padding-top: 14px; padding-bottom: 14px; scrollbar-width: none; }
.menu-filters .container::-webkit-scrollbar { display: none; }
.filter-btn {
  flex: 0 0 auto; min-height: 44px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  font-weight: 500; font-size: 0.95rem; transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }

.menu-key { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.88rem; color: var(--muted); margin-bottom: 48px; }
.menu-key span { display: inline-flex; align-items: center; gap: 8px; }

.menu-category { display: grid; gap: 32px; padding: 0 0 clamp(64px, 9vw, 104px); }
.menu-category[hidden] { display: none; }
.menu-category__head img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; margin-bottom: 24px; }
.menu-category__head h2 { margin-bottom: 0.2em; }
.menu-category__head p { color: var(--muted); margin: 0; }
@media (min-width: 960px) {
  .menu-category { grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
  .menu-category__head { position: sticky; top: calc(var(--header-h) + 100px); }
}
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.menu-item:first-child { padding-top: 0; }
.menu-item__row { display: flex; align-items: baseline; gap: 12px; }
.menu-item__name { font-family: var(--serif); font-size: 1.32rem; margin: 0; }
.menu-item__dots { flex: 1; border-bottom: 1px dotted rgba(42, 31, 25, 0.35); transform: translateY(-5px); min-width: 20px; }
.menu-item__price { font-family: var(--serif); font-size: 1.2rem; color: var(--saffron-deep); }
.menu-item p { color: var(--muted); font-size: 0.95rem; margin: 6px 0 0; max-width: 34em; }
.tag {
  display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px;
  border-radius: 6px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em;
  background: var(--sand); color: var(--roast); vertical-align: middle; margin-left: 6px;
  font-family: var(--sans);
}
.menu-note { font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 28px; }

/* ---------- About page ---------- */
.values { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.value { background: var(--paper); padding: 36px 30px; }
.value__num { font-family: var(--serif); font-style: italic; color: var(--saffron-deep); font-size: 1.1rem; display: block; margin-bottom: 16px; }
.value h3 { margin-bottom: 0.4em; }
.value p { color: var(--muted); margin: 0; font-size: 0.97rem; }
@media (min-width: 768px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(4, 1fr); } }

.photo-trio { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.photo-trio img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.photo-trio img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
@media (min-width: 900px) {
  .photo-trio { grid-template-columns: 2fr 1fr 1fr; }
  .photo-trio img:first-child { grid-column: auto; aspect-ratio: auto; }
  .photo-trio img { aspect-ratio: 3 / 4; }
}

.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid rgba(247, 240, 230, 0.2); }
.timeline li { position: relative; padding: 0 0 36px 32px; }
.timeline li::before {
  content: ""; position: absolute; left: -6px; top: 8px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--saffron);
}
.timeline strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--saffron); display: block; line-height: 1.2; }
.timeline p { color: rgba(247, 240, 230, 0.78); margin: 6px 0 0; }

/* ---------- Gallery ---------- */
.gallery { columns: 2 160px; column-gap: 12px; }
@media (min-width: 768px) { .gallery { columns: 3; column-gap: 16px; } }
@media (min-width: 1200px) { .gallery { columns: 4; } }
.gallery__item {
  display: block; width: 100%; padding: 0; border: 0; background: var(--sand); cursor: zoom-in;
  margin: 0 0 12px; border-radius: 12px; overflow: hidden; break-inside: avoid; position: relative;
}
@media (min-width: 768px) { .gallery__item { margin-bottom: 16px; } }
.gallery__item img { width: 100%; transition: transform 0.9s var(--ease), opacity 0.4s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item .gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; text-align: left;
  background: linear-gradient(transparent, rgba(20, 13, 9, 0.75)); color: #fff; font-size: 0.88rem;
  opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.4s var(--ease);
}
.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { opacity: 1; transform: none; }

.lightbox {
  border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
  background: rgba(15, 10, 7, 0.94); color: var(--cream);
}
.lightbox::backdrop { background: rgba(15, 10, 7, 0.9); }
.lightbox__inner { height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: 16px; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; }
.lightbox__stage { display: grid; place-items: center; min-height: 0; padding: 12px 0; }
.lightbox__stage img { max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); max-width: 100%; object-fit: contain; border-radius: 8px; }
.lightbox__caption { text-align: center; font-family: var(--serif); font-size: 1.15rem; min-height: 1.5em; }
.lightbox__nav { display: flex; justify-content: center; gap: 12px; margin-top: 12px; }
.icon-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(247, 240, 230, 0.35);
  background: transparent; color: inherit; cursor: pointer; display: inline-grid; place-items: center;
  transition: background-color 0.3s;
}
.icon-btn:hover { background: rgba(247, 240, 230, 0.12); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Forms ---------- */
.booking { display: grid; gap: 48px; }
@media (min-width: 1000px) { .booking { grid-template-columns: 1.25fr 0.75fr; gap: 72px; align-items: start; } }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 5vw, 48px); }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); } .field--full { grid-column: 1 / -1; } }
@media (min-width: 640px) { .form-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-size: 0.9rem; font-weight: 600; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1px solid rgba(42, 31, 25, 0.28); border-radius: 12px; background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%232a1f19' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--roast); box-shadow: 0 0 0 4px rgba(224, 162, 63, 0.3);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; }
.field__error { color: #b3261e; font-size: 0.85rem; min-height: 0; display: none; }
.field.has-error .field__error { display: block; }
.field__hint { font-size: 0.82rem; color: var(--muted); }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.form-footer small { color: var(--muted); max-width: 30em; }
.form-success {
  display: none; text-align: center; padding: 32px 8px;
}
.form-success.is-visible { display: block; }
.form-success__icon {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center;
  background: var(--espresso); color: var(--saffron);
}
.form-success__icon svg { width: 32px; height: 32px; }

.info-card { padding: 32px 0; border-top: 1px solid var(--line); }
.info-card:first-child { border-top: 0; padding-top: 0; }
.info-card h3 { font-size: 1.4rem; }
.info-card p { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: rgba(247, 240, 230, 0.82); padding: 80px 0 32px; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(247, 240, 230, 0.12); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer .logo { color: var(--cream); margin-bottom: 20px; }
.site-footer h2 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--saffron); margin-bottom: 18px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--saffron); }
.socials { display: flex; gap: 10px; margin-top: 8px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(247, 240, 230, 0.25);
  display: inline-grid; place-items: center; transition: background-color 0.3s, border-color 0.3s;
}
.socials a:hover { border-color: var(--saffron); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; font-size: 0.85rem; color: rgba(247, 240, 230, 0.65); }
.footer-bottom a { border-bottom: 1px solid rgba(247, 240, 230, 0.35); }

/* ---------- 404 ---------- */
.not-found { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 80px; }
.not-found h1 em { color: var(--saffron-deep); }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* Anchor targets clear the fixed header; keep logo visible above the open mobile menu */
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.nav-open .site-header .logo { position: relative; z-index: 120; color: var(--cream); }
.nav-open .site-header.is-solid { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
