/* ==========================================================================
   Saveur — Restaurant, Café & Bistro Template
   Version 1.0.0
   --------------------------------------------------------------------------
   1.  Design variables  (edit these to re-theme the whole site)
   2.  Base & reset
   3.  Layout helpers
   4.  Buttons, tags & small components
   5.  Header & navigation
   6.  Footer
   7.  Home page
   8.  Menu page
   9.  About page
   10. Forms (reservations & contact)
   11. Contact & map
   12. 404 page
   13. Motion, reduced motion & print
   ========================================================================== */

/* 1. Design variables
   ========================================================================== */
:root {
  /* Surfaces */
  --c-bg: #f7f1e7;          /* page background — warm paper */
  --c-bg-alt: #efe6d7;      /* alternate section background */
  --c-surface: #fffbf4;     /* cards, forms */
  --c-line: #e3d6c1;        /* hairlines & dividers */

  /* Text */
  --c-ink: #231f1a;
  --c-ink-soft: #5c5448;

  /* Brand */
  --c-accent: #a84a22;        /* terracotta — buttons, links, prices */
  --c-accent-hover: #8c3b18;
  --c-accent-soft: #f1dccd;
  --c-gold: #c99a45;          /* brass — details on dark backgrounds */
  --c-forest: #23372d;        /* deep green — dark sections */
  --c-forest-2: #2c4437;
  --c-forest-deep: #1a2921;   /* footer */
  --c-on-dark: #f5ecdd;
  --c-on-dark-soft: #cdbfa8;

  /* Illustration tints (dish cards, avatars) */
  --tint-terracotta: #f1dccd;
  --tint-herb: #dde5d3;
  --tint-gold: #efdfc3;
  --tint-wine: #ecd6d3;

  /* Feedback */
  --c-error: #a8231b;
  --c-success: #3f6b45;
  --c-field-border: #9d8d73;
  --c-focus: var(--c-accent);

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --fs-h3: clamp(1.25rem, 1.15rem + 0.4vw, 1.45rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.3vw, 3.1rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 4vw, 4.75rem);

  /* Space & shape */
  --container: 1200px;
  --gutter: 1rem;
  --space-section: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(35, 31, 26, 0.06), 0 14px 34px -14px rgba(35, 31, 26, 0.2);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 2rem; --header-h: 80px; }
}

/* 2. Base & reset
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

body.nav-open { overflow: hidden; }

main { flex: 1 0 auto; }

img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }

[hidden] { display: none !important; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 em, h2 em { font-style: italic; color: var(--c-accent); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--c-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--c-accent-hover); }

address { font-style: normal; }

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

.sr-only {
  position: absolute !important;
  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;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--c-forest);
  color: var(--c-on-dark);
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--c-on-dark); }

/* 3. Layout helpers
   ========================================================================== */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.container--narrow { max-width: 820px; }

.section { padding-block: var(--space-section); }
.section--tight-top { padding-top: 0; }
.section--alt { background: var(--c-bg-alt); }
.section--dark {
  --c-focus: var(--c-gold);
  background: var(--c-forest);
  color: var(--c-on-dark);
}
.section--dark a:not(.btn) { color: var(--c-on-dark); }

.h2,
.section-head h2 { font-size: var(--fs-h2); }
.section-head { max-width: 42rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: none;
}
.section-head--split > div { max-width: 40rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  color: var(--c-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.section--dark .eyebrow,
.info-card .eyebrow { color: var(--c-gold); }
.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.lead {
  max-width: 38rem;
  color: var(--c-ink-soft);
  font-size: var(--fs-lg);
}
.section--dark .lead { color: var(--c-on-dark-soft); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 1rem + 5vw, 5.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--reverse > :first-child { order: 2; }
}

.divider {
  display: block;
  width: 120px;
  height: 24px;
  margin: 0 auto 1.25rem;
  background: url("../img/sprig.svg") center / contain no-repeat;
}

/* 4. Buttons, tags & small components
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.75rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }

.btn--primary { background: var(--c-accent); color: #fff; }
.btn--primary:hover { background: var(--c-accent-hover); color: #fff; }

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

.btn--light { background: var(--c-on-dark); color: var(--c-forest); }
.btn--light:hover { background: #fff; color: var(--c-forest); }

.btn--outline-light { border-color: rgba(245, 236, 221, 0.55); background: transparent; color: var(--c-on-dark); }
.btn--outline-light:hover { border-color: var(--c-on-dark); background: rgba(245, 236, 221, 0.1); color: #fff; }

.btn[disabled] { opacity: 0.7; cursor: progress; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  text-decoration: none;
}
.link-arrow span { transition: transform 0.25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* Dietary tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tag {
  display: inline-grid;
  place-items: center;
  min-width: 2.2em;
  height: 1.7em;
  padding: 0 0.45em;
  border: 1px solid;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  cursor: help;
}
.tag--v  { border-color: #9dbb96; background: #e8f0e3; color: #3f6b45; }
.tag--vg { border-color: #86ad86; background: #d5e6d0; color: #2c5537; }
.tag--gf { border-color: #dcb86d; background: #f6e7c8; color: #85560f; }

/* Opening status pill (filled in by main.js) */
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  color: var(--c-ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}
.open-status__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-gold);
  box-shadow: 0 0 0 4px rgba(201, 154, 69, 0.22);
}
.open-status.is-open .open-status__dot { background: #4f8a52; box-shadow: 0 0 0 4px rgba(79, 138, 82, 0.2); }
.open-status.is-closed .open-status__dot { background: var(--c-accent); box-shadow: 0 0 0 4px rgba(168, 74, 34, 0.18); }
.section--dark .open-status,
.info-card .open-status { color: var(--c-on-dark-soft); }
.info-card--light .open-status { color: var(--c-ink-soft); }

/* Arch frame — the signature shape of the template */
.arch {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background: linear-gradient(165deg, #c0643a 0%, var(--c-accent) 55%, #86381a 100%);
}
.arch::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.2px, transparent 1.7px);
  background-size: 18px 18px;
}
.arch img { position: relative; width: 94%; }
.arch--forest { background: linear-gradient(165deg, var(--c-forest-2), var(--c-forest-deep)); }
.arch--gold { background: linear-gradient(165deg, #f3e4c8, #e2c897); }
.arch--gold::before { background-image: radial-gradient(rgba(35, 31, 26, 0.08) 1.2px, transparent 1.7px); }

/* Info card (dark side panels) */
.info-card {
  --c-focus: var(--c-gold);
  padding: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--c-forest);
  color: var(--c-on-dark);
}
.info-card h2 { font-size: 1.6rem; }
.info-card a:not(.btn) { color: var(--c-on-dark); }
.info-card--light {
  --c-focus: var(--c-accent);
  border: 1px solid var(--c-line);
  background: var(--c-surface);
  color: var(--c-ink);
}
.info-card--light a:not(.btn) { color: var(--c-accent); }
.info-card--light .eyebrow { color: var(--c-accent); }
.info-card + .info-card { margin-top: 1.5rem; }
.info-card .booking-call { margin-top: 1.25rem; }

.info-list {
  display: grid;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.info-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}
.info-list svg { width: 22px; height: 22px; margin-top: 0.15rem; color: var(--c-gold); }
.info-card--light .info-list svg { color: var(--c-accent); }
.info-list strong { display: block; font-weight: 500; }
.info-list span { color: var(--c-on-dark-soft); font-size: 0.95rem; }
.info-card--light .info-list span { color: var(--c-ink-soft); }

/* Hours table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table th,
.hours-table td {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(245, 236, 221, 0.16);
  text-align: left;
  vertical-align: top;
}
.hours-table th { font-weight: 500; padding-right: 1rem; }
.hours-table td { color: var(--c-on-dark-soft); text-align: right; }
.hours-table tr.is-today th,
.hours-table tr.is-today td { color: var(--c-gold); }
.today-badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--c-gold);
  color: var(--c-forest-deep);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: 0.15em;
}
.hours-table--light th,
.hours-table--light td { border-bottom-color: var(--c-line); }
.hours-table--light td { color: var(--c-ink-soft); }
.hours-table--light tr.is-today th,
.hours-table--light tr.is-today td { color: var(--c-accent); }
.hours-table--light .today-badge { background: var(--c-accent); color: #fff; }

/* 5. Header & navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  transition: box-shadow 0.3s;
}
/* Background lives on a pseudo-element so backdrop-filter never traps the fixed mobile nav. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-bottom: 1px solid transparent;
  background: rgba(247, 241, 231, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -24px rgba(35, 31, 26, 0.55); }
.site-header.is-scrolled::before { border-bottom-color: var(--c-line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--c-ink);
  text-decoration: none;
}
.brand:hover { color: var(--c-ink); }
.brand__mark { width: 38px; height: 38px; color: var(--c-forest); }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand--light,
.brand--light:hover,
.brand--light .brand__mark { color: var(--c-on-dark); }

.nav-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: var(--c-surface);
  color: var(--c-ink);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s 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: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile navigation panel */
.site-nav {
  --c-focus: var(--c-gold);
  position: fixed;
  inset: var(--header-h) 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1.5rem var(--gutter) 3rem;
  overflow-y: auto;
  background: var(--c-forest);
  color: var(--c-on-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.nav-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  display: block;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(245, 236, 221, 0.14);
  color: inherit;
  font-family: var(--font-display);
  font-size: 1.85rem;
  text-decoration: none;
}
.nav-list a:hover { color: #fff; }
.nav-list a[aria-current="page"] { color: var(--c-gold); }
.nav-cta { align-self: flex-start; }
.nav-meta {
  margin: auto 0 0;
  color: var(--c-on-dark-soft);
  font-size: 0.95rem;
}
.nav-meta a { color: var(--c-on-dark); }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    --c-focus: var(--c-accent);
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    overflow: visible;
    background: none;
    color: inherit;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav-list { flex-direction: row; gap: 0.15rem; }
  .nav-list a {
    position: relative;
    padding: 0.5rem 0.85rem;
    border: 0;
    font-family: var(--font-body);
    font-size: 0.97rem;
    font-weight: 500;
  }
  .nav-list a::after {
    content: "";
    position: absolute;
    right: 0.85rem;
    bottom: 0.2rem;
    left: 0.85rem;
    height: 1.5px;
    background: var(--c-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
  }
  .nav-list a:hover { color: var(--c-accent); }
  .nav-list a:hover::after,
  .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-list a[aria-current="page"] { color: var(--c-accent); }
  .nav-cta { min-height: 44px; padding: 0.6rem 1.3rem; }
  .nav-meta { display: none; }
}

/* 6. Footer
   ========================================================================== */
.site-footer {
  --c-focus: var(--c-gold);
  padding-block: clamp(3.5rem, 3rem + 2vw, 5rem) 2rem;
  background: var(--c-forest-deep);
  color: var(--c-on-dark-soft);
  font-size: 0.95rem;
}
.site-footer a { color: var(--c-on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand:hover { text-decoration: none; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 3rem; }
}
.footer-brand p { max-width: 22rem; margin-top: 1.1rem; }
.footer-contact { margin-top: 1rem; }
.footer-title {
  margin: 0 0 1rem;
  color: var(--c-gold);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.footer-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed rgba(245, 236, 221, 0.14);
}
.footer-hours span:last-child { color: var(--c-on-dark); text-align: right; }

.social {
  display: flex;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245, 236, 221, 0.25);
  border-radius: 50%;
  transition: background-color 0.2s, border-color 0.2s;
}
.social a:hover { border-color: var(--c-gold); background: rgba(201, 154, 69, 0.14); }
.social svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 236, 221, 0.12);
  font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }

/* 7. Home page
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 1.8rem + 3vw, 5rem) var(--space-section);
  background:
    radial-gradient(circle at 88% 12%, rgba(201, 154, 69, 0.2), transparent 38%),
    radial-gradient(circle at 5% 90%, rgba(168, 74, 34, 0.08), transparent 35%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 4rem; }
}
.hero h1 { margin-bottom: 1.5rem; font-size: var(--fs-h1); }
.hero .lead { margin-bottom: 2.25rem; }
.hero .open-status { margin-top: 2rem; }

.hero-art {
  position: relative;
  isolation: isolate;
  width: min(100% - 1.5rem, 470px);
  margin-inline: auto;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 1rem -0.75rem -0.75rem 1rem;
  z-index: -1;
  border: 1.5px solid var(--c-accent);
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  opacity: 0.35;
}
.stamp {
  position: absolute;
  bottom: 1.5rem;
  left: -0.75rem;
  width: clamp(92px, 22vw, 124px);
  height: auto;
  animation: spin 30s linear infinite;
}
.stamp text {
  fill: var(--c-forest-deep);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
@keyframes spin { to { transform: rotate(360deg); } }

.band {
  padding-block: 1.15rem;
  background: var(--c-forest);
  color: var(--c-gold);
}
.band ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.25rem);
  font-style: italic;
}
.band li { display: inline-flex; align-items: center; gap: 1.4rem; }
.band li + li::before {
  content: "\2726";
  font-size: 0.65em;
  font-style: normal;
  opacity: 0.75;
}
@media (max-width: 599px) {
  .band ul { gap: 0.3rem 1.25rem; }
  .band li + li::before { display: none; }
}

/* Intro collage */
.intro-art {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1;
  margin-inline: auto;
}
.intro-art__circle {
  position: absolute;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background-image: radial-gradient(rgba(35, 31, 26, 0.07) 1.1px, transparent 1.6px);
  background-size: 15px 15px;
}
.intro-art__circle img { width: 86%; }
.intro-art__circle--a { top: 0; left: 0; width: 72%; aspect-ratio: 1; background-color: var(--tint-herb); }
.intro-art__circle--b {
  right: 0;
  bottom: 0;
  width: 50%;
  aspect-ratio: 1;
  border: 8px solid var(--c-bg);
  background-color: var(--tint-gold);
}
.intro-art__label {
  position: absolute;
  bottom: 12%;
  left: 2%;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--c-surface);
  box-shadow: var(--shadow);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-style: italic;
}

.features {
  display: grid;
  gap: 1.6rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}
.feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--c-accent-soft);
  color: var(--c-accent);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 0.25rem; font-size: var(--fs-h3); }
.feature p { color: var(--c-ink-soft); }

/* Signature dishes */
.dish-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}
@media (min-width: 560px) {
  .dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .dish-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.dish {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-surface);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.dish:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(35, 31, 26, 0.06), 0 22px 40px -18px rgba(35, 31, 26, 0.3); }
.dish__media {
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  background-color: var(--tint, var(--tint-terracotta));
  background-image: radial-gradient(rgba(35, 31, 26, 0.07) 1.1px, transparent 1.6px);
  background-size: 15px 15px;
}
.dish__media img { width: 74%; transition: transform 0.7s var(--ease); }
.dish:hover .dish__media img { transform: rotate(-8deg) scale(1.03); }
.dish__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.3rem 1.35rem 1.5rem;
}
.dish__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.dish__name { margin: 0; font-size: 1.3rem; }
.dish__desc { margin: 0; color: var(--c-ink-soft); font-size: 0.95rem; }
.dish .tags { margin-top: auto; padding-top: 0.4rem; }
.price {
  color: var(--c-accent);
  font-family: var(--font-display);
  font-size: 1.2rem;
  white-space: nowrap;
}
.tint-terracotta { --tint: var(--tint-terracotta); }
.tint-herb { --tint: var(--tint-herb); }
.tint-gold { --tint: var(--tint-gold); }
.tint-wine { --tint: var(--tint-wine); }

/* Hours + chef's note */
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}
@media (min-width: 960px) {
  .visit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; }
}
.visit-grid h2 { font-size: var(--fs-h2); }
.visit-note { margin-top: 1.5rem; color: var(--c-on-dark-soft); font-size: 0.95rem; }

.chef-note {
  position: relative;
  margin: 0;
  padding: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  border-radius: var(--radius-lg);
  background: var(--c-forest-2);
}
.chef-note::before {
  content: "\201C";
  position: absolute;
  top: -0.2em;
  right: 0.35em;
  color: var(--c-gold);
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
  opacity: 0.5;
}
.chef-note blockquote {
  margin: 0;
  color: var(--c-on-dark);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.7rem);
  font-style: italic;
  line-height: 1.42;
}
.chef-note figcaption {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}
.chef-note figcaption img { width: 64px; height: 64px; border-radius: 50%; }
.chef-note figcaption strong { display: block; font-weight: 500; }
.chef-note figcaption span { color: var(--c-on-dark-soft); font-size: 0.92rem; }

/* Placeholder testimonials */
.quotes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}
@media (min-width: 820px) {
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.quote-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0;
  padding: 1.9rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
}
.quote-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.5;
}
.quote-card figcaption {
  margin-top: auto;
  color: var(--c-ink-soft);
  font-size: 0.9rem;
}
.quote-card figcaption strong { display: block; color: var(--c-ink); font-weight: 500; }
.placeholder-note {
  margin-top: 1.5rem;
  color: var(--c-ink-soft);
  font-size: 0.85rem;
  font-style: italic;
  text-align: center;
}

/* Reservation call-to-action */
.cta {
  --c-focus: #fff;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  overflow: hidden;
  padding: clamp(2.5rem, 1.8rem + 4vw, 5rem) clamp(1.5rem, 0.8rem + 4vw, 5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #b45428, var(--c-accent) 50%, #8f3c19);
  color: #fff;
}
.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}
.cta::before { right: -40px; bottom: -2px; width: 260px; height: 320px; }
.cta::after { right: 40px; bottom: -2px; width: 180px; height: 230px; }
@media (min-width: 860px) {
  .cta { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { margin-bottom: 0.75rem; font-size: var(--fs-h2); }
.cta h2 em { color: #fbe3c9; }
.cta p { color: rgba(255, 255, 255, 0.9); }
.cta .eyebrow { color: #fbe3c9; }
.cta .btn--light { color: var(--c-accent); }
.cta__actions { display: grid; gap: 1rem; justify-items: start; }
.cta__phone {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-decoration: none;
}
.cta__phone:hover { color: #fff; text-decoration: underline; }
.cta__phone small { display: block; font-family: var(--font-body); font-size: 0.8rem; opacity: 0.85; }

/* Inner page hero */
.page-hero {
  padding-block: clamp(3rem, 2.4rem + 3vw, 5.5rem) clamp(2.5rem, 2rem + 2vw, 4rem);
  background: radial-gradient(ellipse at 50% -10%, rgba(201, 154, 69, 0.22), transparent 62%);
  text-align: center;
}
.page-hero h1 { max-width: 20ch; margin-inline: auto; font-size: var(--fs-h1); }
.page-hero .lead { margin-inline: auto; }
.page-hero .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* 8. Menu page
   ========================================================================== */
.menu-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 2.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-line);
}
html:not(.js) .menu-tabs,
html:not(.js) .diet-filter { display: none; }

.menu-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.menu-tab {
  min-height: 46px;
  padding: 0.6rem 1.3rem;
  border: 1.5px solid var(--c-line);
  border-radius: 999px;
  background: transparent;
  color: var(--c-ink);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.menu-tab:hover { border-color: var(--c-ink); }
.menu-tab[aria-selected="true"] {
  border-color: var(--c-forest);
  background: var(--c-forest);
  color: var(--c-on-dark);
}

.diet-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  border: 0;
}
.diet-filter legend {
  float: left;
  margin-right: 0.35rem;
  padding: 0;
  color: var(--c-ink-soft);
  font-size: 0.9rem;
}
.chip {
  min-height: 40px;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-surface);
  color: var(--c-ink);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--c-ink-soft); }
.chip[aria-pressed="true"] { border-color: var(--c-accent); background: var(--c-accent); color: #fff; }

.menu-panel { animation: panel-in 0.45s var(--ease); }
html:not(.js) .menu-panel + .menu-panel { margin-top: 4rem; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }

.menu-panel__head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.menu-panel__head img {
  width: clamp(72px, 12vw, 104px);
  padding: 6px;
  border-radius: 50%;
  background: var(--tint, var(--tint-terracotta));
}
.menu-panel__head h2 { margin: 0 0 0.2rem; font-size: var(--fs-h2); }
.menu-panel__head p { margin: 0; color: var(--c-ink-soft); }

.menu-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 860px) {
  .menu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.menu-item { padding: 1.3rem 0; border-bottom: 1px dashed var(--c-line); }
.menu-item__head { display: flex; align-items: baseline; gap: 0.75rem; }
.menu-item__name { min-width: 0; margin: 0; font-size: 1.3rem; }
.menu-item__leader {
  flex: 1 1 1.5rem;
  min-width: 1.5rem;
  border-bottom: 2px dotted #c9b695;
  transform: translateY(-0.3em);
}
.menu-item__desc { margin: 0.35rem 0 0; color: var(--c-ink-soft); font-size: 0.96rem; }
.menu-item .tags { margin-top: 0.65rem; }
.menu-empty {
  grid-column: 1 / -1;
  margin-top: 1rem;
  padding: 2rem;
  border: 1px dashed var(--c-line);
  border-radius: var(--radius);
  color: var(--c-ink-soft);
  text-align: center;
}

.menu-notes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
@media (min-width: 860px) {
  .menu-notes { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
}
.legend-card {
  padding: 1.75rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
}
.legend-card h2,
.set-lunch h2 { margin-bottom: 1rem; font-size: 1.4rem; }
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin: 0 0 1rem;
}
.legend div { display: flex; align-items: center; gap: 0.5rem; }
.legend dt, .legend dd { margin: 0; }
.legend-card p { color: var(--c-ink-soft); font-size: 0.92rem; }
.set-lunch {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--c-forest);
  color: var(--c-on-dark);
}
.set-lunch p { color: var(--c-on-dark-soft); }
.set-lunch dl { display: grid; gap: 0.5rem; margin: 0 0 1rem; }
.set-lunch dl div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.5rem; border-bottom: 1px dashed rgba(245, 236, 221, 0.2); }
.set-lunch dt, .set-lunch dd { margin: 0; }
.set-lunch dd { color: var(--c-gold); font-family: var(--font-display); font-size: 1.2rem; }

/* 9. About page
   ========================================================================== */
.story-art {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--tint-gold);
  background-image: radial-gradient(rgba(35, 31, 26, 0.07) 1.1px, transparent 1.6px);
  background-size: 15px 15px;
}
.story-art img { width: 100%; }

.timeline {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0 0;
  padding: 0;
  border-left: 1.5px solid var(--c-line);
  list-style: none;
}
.timeline li { position: relative; padding-left: 1.6rem; }
.timeline li::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: -6px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--c-bg);
  border-radius: 50%;
  background: var(--c-accent);
}
.timeline strong { display: block; color: var(--c-accent); font-family: var(--font-display); font-size: 1.15rem; font-weight: 400; }
.timeline span { color: var(--c-ink-soft); }

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}
@media (min-width: 560px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.team-card {
  padding: 2rem 1.5rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-card img { width: 140px; height: 140px; margin: 0 auto 1.25rem; border-radius: 50%; }
.team-card h3 { margin-bottom: 0.3rem; font-size: 1.4rem; }
.team-card__role {
  margin-bottom: 0.9rem;
  color: var(--c-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.team-card p:last-child { color: var(--c-ink-soft); font-size: 0.95rem; }

.values-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .values-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.value { padding-top: 1.5rem; border-top: 2px solid var(--c-gold); }
.value svg { width: 34px; height: 34px; margin-bottom: 1rem; color: var(--c-gold); }
.value h3 { font-size: var(--fs-h3); }
.value p { color: var(--c-on-dark-soft); font-size: 0.96rem; }

/* 10. Forms
   ========================================================================== */
.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
@media (min-width: 980px) {
  .booking-grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 2.5rem; }
  .booking-grid--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
}

.form-card {
  scroll-margin-top: calc(var(--header-h) + 1rem);
  padding: clamp(1.5rem, 0.9rem + 2.6vw, 3rem);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow);
}
.form-card > h2 { font-size: clamp(1.6rem, 1.4rem + 1vw, 2.2rem); }
.form-intro { margin-bottom: 1.75rem; color: var(--c-ink-soft); font-size: 0.95rem; }

fieldset.form-section {
  min-width: 0;
  margin: 0 0 2rem;
  padding: 0;
  border: 0;
}
fieldset.form-section legend {
  margin-bottom: 1rem;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}
@media (min-width: 600px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid--3 > .field:first-child { grid-column: 1 / -1; }
}
@media (min-width: 760px) {
  .form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid--3 > .field:first-child { grid-column: auto; }
}
.field--full { grid-column: 1 / -1; }

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.field > label { font-size: 0.95rem; font-weight: 500; }
.req { color: var(--c-accent); }

.input {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--c-field-border);
  border-radius: 12px;
  background-color: #fff;
  color: var(--c-ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: #8b8070; opacity: 1; }
.input:hover { border-color: var(--c-ink-soft); }
.input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(168, 74, 34, 0.3); }
.input:focus-visible { outline: none; }
select.input {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%23231f1a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 18px;
  cursor: pointer;
}
select.input option:disabled { color: #a79d8f; }
textarea.input { min-height: 140px; resize: vertical; }
input[type="date"].input { min-height: 50px; }
.input[aria-invalid="true"] { border-color: var(--c-error); background-color: #fdf4f2; }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(168, 35, 27, 0.25); }

.hint { margin: 0; color: var(--c-ink-soft); font-size: 0.86rem; }
.field-error {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  margin: 0;
  color: var(--c-error);
  font-size: 0.88rem;
  font-weight: 500;
}
.field-error::before {
  content: "!";
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: var(--c-error);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
}
.check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0.2rem 0 0;
  accent-color: var(--c-accent);
}

.form-alert {
  margin: 0 0 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: #fbe9e6;
  color: var(--c-error);
  font-weight: 500;
}
.form-alert:empty { display: none; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}
.form-note { margin: 0; color: var(--c-ink-soft); font-size: 0.86rem; }

.demo-note {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  padding: 0.85rem 1.05rem;
  border-radius: 12px;
  background: #f6e7c8;
  color: #5f400c;
  font-size: 0.88rem;
}
.demo-note svg { width: 18px; height: 18px; margin-top: 0.15rem; }
.demo-note code { font-size: 0.85em; }

/* Honeypot — hidden from people, visible to naive bots */
.hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.form-success { padding: 0.5rem 0; text-align: center; }
.form-success:focus { outline: none; }
.form-success__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: #e3eddf;
  color: var(--c-success);
}
.form-success__icon svg { width: 36px; height: 36px; }
.form-success h2 { font-size: clamp(1.6rem, 1.4rem + 1vw, 2.2rem); }
.form-success > p { max-width: 32rem; margin-inline: auto; color: var(--c-ink-soft); }
.form-success .demo-note { max-width: 32rem; margin: 1.5rem auto 0; text-align: left; }
.form-success .btn-row { justify-content: center; margin-top: 2rem; }
.summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
  gap: 0.75rem;
  max-width: 34rem;
  margin: 1.75rem auto 0;
  padding: 0;
}
.summary div {
  padding: 0.9rem 1rem;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: var(--c-bg);
}
.summary dt { color: var(--c-ink-soft); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.summary dd { margin: 0.2rem 0 0; font-family: var(--font-display); font-size: 1.15rem; }

/* 11. Contact & map
   ========================================================================== */
.map-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: #efe6d6;
}
.map-figure img { width: 100%; }
.map-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.1rem 1.35rem;
  border-top: 1px solid var(--c-line);
  background: var(--c-surface);
  color: var(--c-ink-soft);
  font-size: 0.92rem;
}
.map-figure figcaption strong { color: var(--c-ink); font-weight: 500; }

/* 12. 404 page
   ========================================================================== */
.notfound { padding-block: clamp(3rem, 2rem + 4vw, 6rem) var(--space-section); text-align: center; }
.notfound img { width: min(300px, 75%); margin: 0 auto 1.5rem; }
.notfound__code {
  margin: 0 0 0.5rem;
  color: var(--c-accent);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3em;
}
.notfound h1 { font-size: var(--fs-h1); }
.notfound .lead { margin: 0 auto 2rem; }
.notfound .btn-row { justify-content: center; }

/* 13. Motion, reduced motion & print
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

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

@media print {
  .site-header, .nav-toggle, .cta, .site-footer .social { display: none; }
  body { background: #fff; }
  .section--dark, .site-footer { background: #fff; color: #000; }
}
