/* =====================================================================
   Duende, Spanish tapas bar, Leederville. Phase 4 mockup stylesheet.
   Implements 03-design/design-system.md exactly: tokens, type scale,
   the azulejo keyline motif, and every component.
   Hard rules: border-radius:0 everywhere; no backdrop-filter; no
   ambient/looping animation; touch targets >=44px; responsive at
   360/480/768/1080/1280/1440.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Tokens (:root), copy-paste from the design system token sheet
   --------------------------------------------------------------------- */
:root {
  /* ----- Raw palette (derived from Duende) ----- */
  --rioja:      #8A1B1F;
  --rioja-deep: #6E1418;
  --ember:      #C8521C;
  --char:       #211814;
  --bone:       #F4EDE1;
  --clay:       #E9DECB;
  --sherry:     #B98237;
  --manzanilla: #D8C9A6;
  --olive:      #5E6B4A;
  --oloroso:    #C9B79A;

  /* ----- Semantic colour tokens ----- */
  --bg:            var(--bone);
  --bg-alt:        var(--clay);
  --surface:       #FBF7EF;
  --surface-dark:  var(--char);
  --ink:           var(--char);
  --ink-on-dark:   #F4EDE1;
  --muted:         #6F5F50;
  --muted-on-dark: #CBB89F;
  --accent:        var(--rioja);
  --accent-hover:  var(--rioja-deep);
  --accent-hot:    var(--ember);
  --secondary:     var(--sherry);
  --positive:      var(--olive);
  --line:          var(--oloroso);
  --line-dark:     #4A382E;
  --focus:         var(--ember);

  /* ----- Typography ----- */
  --font-display: "Fraunces", "Iowan Old Style", "Hoefler Text", Georgia, serif;
  --font-body:    "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-display:  clamp(2.5rem, 1.6rem + 4.0vw, 4.5rem);
  --fs-h1:       clamp(2.0rem, 1.45rem + 2.4vw, 3.0rem);
  --fs-h2:       clamp(1.625rem, 1.3rem + 1.45vw, 2.25rem);
  --fs-h3:       clamp(1.375rem, 1.2rem + 0.8vw, 1.625rem);
  --fs-h4:       clamp(1.1875rem, 1.1rem + 0.4vw, 1.3125rem);
  --fs-h5:       1.0625rem;
  --fs-h6:       0.9375rem;
  --fs-lead:     clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --fs-body:     1.0625rem;
  --fs-small:    0.9375rem;
  --fs-xs:       0.8125rem;
  --fs-overline: 0.75rem;

  --lh-tight: 1.1;
  --lh-snug:  1.3;
  --lh-body:  1.65;

  /* ----- Spacing (4px base) ----- */
  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;  --space-4: 16px;
  --space-5: 24px;  --space-6: 32px;  --space-7: 48px;  --space-8: 64px;
  --space-9: 96px;  --space-10: 128px;

  /* ----- Layout ----- */
  --container:        1200px;
  --container-narrow: 760px;
  --gutter:           clamp(16px, 4vw, 40px);

  /* ----- Elevation (hard-edged, warm; no soft glows) ----- */
  --shadow-sm:   0 1px 0 0 var(--line);
  --shadow-card: 0 6px 0 -4px rgba(33,24,20,0.18);
  --shadow-pop:  0 12px 28px -16px rgba(33,24,20,0.45);

  /* ----- Motion ----- */
  --ease:      cubic-bezier(0.2, 0, 0, 1);
  --dur-fast:  120ms;
  --dur:       180ms;
  --dur-slow:  240ms;

  /* ----- Radius: sharp corners everywhere ----- */
  --radius: 0;
}

/* ---------------------------------------------------------------------
   2. Resets and base element styles
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; border-radius: var(--radius); }

html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--fs-body)/var(--lh-body) var(--font-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  margin: 0 0 var(--space-4); text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 900; line-height: var(--lh-tight); letter-spacing: -0.015em; }
h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
h4 { font-size: var(--fs-h4); line-height: 1.2; }
h5 { font-family: var(--font-body); font-weight: 800; font-size: var(--fs-h5); letter-spacing: 0.01em; margin: 0 0 var(--space-3); }
h6 { font-family: var(--font-body); font-weight: 800; font-size: var(--fs-h6); letter-spacing: 0.02em; margin: 0 0 var(--space-2); }

p { margin: 0 0 var(--space-4); max-width: 62ch; }
.lead { font-size: var(--fs-lead); line-height: 1.55; max-width: 68ch; text-wrap: pretty; color: var(--muted); }
small, .small { font-size: var(--fs-small); }
.xs { font-size: var(--fs-xs); }
em, i { font-style: italic; }

.overline {
  font: 800 var(--fs-overline)/1.2 var(--font-body);
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--secondary);
  display: inline-block; margin: 0 0 var(--space-3);
}

a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--accent-hover); }

ul, ol { margin: 0 0 var(--space-4); padding-left: 1.2em; }
li { margin-bottom: var(--space-2); max-width: 62ch; }

.u-display {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 96;
  font-feature-settings: "ss01" 1;
}

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

/* ---------------------------------------------------------------------
   3. Skip link
   --------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -120px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--accent);
  color: #fff;
  font: 800 var(--fs-small)/1 var(--font-body);
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--space-4); }

/* ---------------------------------------------------------------------
   4. Layout helpers
   --------------------------------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(var(--space-8), 6vw, var(--space-9)); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--surface-dark); color: var(--ink-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--ink-on-dark); }
.section--dark .lead { color: var(--muted-on-dark); }
.section-head { max-width: 62ch; margin-bottom: var(--space-7); }
.section-head .lead { margin-bottom: 0; }
.center { text-align: center; }
.center .section-head, .center .keyline-heading::after, .center .keyline-heading::before { }
.stack > * + * { margin-top: var(--space-4); }

/* ---------------------------------------------------------------------
   5. Signature motif, azulejo keyline
   --------------------------------------------------------------------- */
.tile-divider {
  position: relative;
  height: 1px;
  margin: var(--space-9) auto;
  width: min(100% - 2 * var(--space-5), var(--container));
  background: var(--line);
  border: 0;
}
.tile-divider::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 5px;
  height: 1px;
  background: var(--line);
}
.tile-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 3px;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  background: var(--accent);
  transform: rotate(45deg);
}
.tile-divider--dark { background: var(--line-dark); }
.tile-divider--dark::before { background: var(--line-dark); }
.tile-divider--dark::after { background: var(--accent-hot); }

.keyline-heading { position: relative; padding-bottom: var(--space-4); }
.keyline-heading::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px;
  height: 1px;
  background: var(--secondary);
  box-shadow: 0 4px 0 -3px var(--secondary);
}
.keyline-heading::before {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 6px; height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
  z-index: 1;
}
.center .keyline-heading::after { left: 50%; transform: translateX(-32px); }
.center .keyline-heading::before { left: 50%; transform: translateX(-3px) rotate(45deg); }

.rule { border: 0; height: 1px; background: var(--line); margin: var(--space-6) 0; }
.rule--dark { background: var(--line-dark); }

/* ---------------------------------------------------------------------
   6. Navigation (sticky top bar)
   --------------------------------------------------------------------- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface-dark);
  color: var(--ink-on-dark);
  border-bottom: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5);
  padding: 0 var(--gutter);
  min-height: 72px;
  transition: min-height var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-nav[data-condensed="true"] {
  min-height: 58px;
  box-shadow: var(--shadow-pop);
}
.site-nav__brand {
  font: 900 1.5rem/1 var(--font-display);
  font-variation-settings: "SOFT" 30, "opsz" 40;
  letter-spacing: 0.02em;
  color: var(--ink-on-dark);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav__brand:hover { color: var(--ink-on-dark); }
.site-nav__brand .dot { color: var(--accent-hot); }
.site-nav__cluster { display: flex; align-items: center; gap: var(--space-4); }
.site-nav__links { display: flex; gap: var(--space-2); align-items: stretch; list-style: none; margin: 0; padding: 0; }
.site-nav__links li { margin: 0; }
.site-nav__link {
  display: flex; align-items: center;
  min-height: 44px; padding: 0 var(--space-3);
  color: var(--muted-on-dark);
  font: 700 var(--fs-small)/1 var(--font-body);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-nav__link:hover { color: var(--ink-on-dark); }
.site-nav__link[aria-current="page"] {
  color: var(--ink-on-dark);
  border-bottom-color: var(--accent-hot);
}

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  background: transparent; border: 1px solid var(--line-dark);
  color: var(--ink-on-dark);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--secondary); color: var(--secondary); }
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed; inset: 72px 0 0 0;
  background: var(--surface-dark);
  display: grid; gap: var(--space-1); align-content: start;
  padding: var(--space-5) var(--gutter);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease);
  z-index: 99;
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { transform: translateX(0); }
.mobile-menu a {
  min-height: 52px; display: flex; align-items: center;
  font: 700 1.0625rem/1 var(--font-body);
  color: var(--ink-on-dark); text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu a[aria-current="page"] { color: var(--secondary); }
.mobile-menu .nav-call { color: var(--secondary); margin-top: var(--space-3); }
.mobile-menu .btn { margin-top: var(--space-5); width: 100%; }

.nav-book { display: inline-flex; }
.nav-book--mobile { display: none; }

/* ---------------------------------------------------------------------
   7. Trust strip
   --------------------------------------------------------------------- */
.trust-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--space-3) var(--gutter);
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5);
  align-items: center; justify-content: center;
  font: 800 var(--fs-overline) var(--font-body);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  list-style: none;
}
.trust-strip__item { display: inline-flex; align-items: center; gap: var(--space-3); margin: 0; }
.trust-strip__rating { color: var(--accent); }
.trust-strip__star  { color: var(--secondary); }
.trust-strip__item + .trust-strip__item::before {
  content: ""; width: 6px; height: 6px;
  background: var(--secondary); transform: rotate(45deg);
}

/* ---------------------------------------------------------------------
   8. Buttons
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  min-height: 48px; padding: var(--space-3) var(--space-6);
  font: 800 1rem/1 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  background: transparent;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }

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

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

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

.btn--ghost {
  min-height: 44px; padding: var(--space-2) var(--space-2);
  background: transparent; color: var(--accent); border: 0;
  text-underline-offset: 4px; text-decoration: underline;
  text-decoration-thickness: 2px; font-weight: 800;
}
.btn--ghost:hover { color: var(--accent-hover); }
.btn--ghost.btn--on-dark { color: var(--secondary); }
.btn--ghost.btn--on-dark:hover { color: var(--manzanilla); background: transparent; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.btn-note { font-size: var(--fs-small); color: var(--muted); }
.section--dark .btn-note { color: var(--muted-on-dark); }

/* ---------------------------------------------------------------------
   9. Hero
   --------------------------------------------------------------------- */
.hero { position: relative; background: var(--surface-dark); color: var(--ink-on-dark); }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
              rgba(33,24,20,0.35) 0%,
              rgba(33,24,20,0.78) 100%);
}
.hero__inner {
  position: relative;
  max-width: var(--container); margin: 0 auto;
  padding: var(--space-10) var(--gutter);
  display: grid; gap: var(--space-5);
  align-content: end; min-height: 78vh;
}
.hero__eyebrow {
  font: 800 var(--fs-overline) var(--font-body);
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--secondary);
  display: inline-flex; align-items: center; gap: var(--space-3); margin: 0;
}
.hero__eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--accent-hot); transform: rotate(45deg); }
.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-display); font-weight: 900;
  line-height: 1.02; letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 110;
  max-width: 16ch; text-wrap: balance; color: var(--ink-on-dark);
  margin: 0;
}
.hero__sub {
  font-size: var(--fs-lead); line-height: 1.55; max-width: 52ch;
  color: var(--muted-on-dark); margin: 0;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-2); }

/* Compact hero for inner pages */
.hero--inner .hero__inner { min-height: 46vh; }
.hero--solid { background: var(--surface-dark); }
.hero--solid .hero__inner { min-height: 0; padding-block: clamp(var(--space-8), 8vw, var(--space-9)); }

/* ---------------------------------------------------------------------
   10. Intro / prose band
   --------------------------------------------------------------------- */
.prose { max-width: 68ch; }
.prose p { font-size: var(--fs-body); }
.intro-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-8);
  align-items: center;
}
.intro-grid__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
@media (max-width: 768px) { .intro-grid { grid-template-columns: 1fr; gap: var(--space-6); } }

/* ---------------------------------------------------------------------
   11. Cards (What's On / set menus / drinks)
   --------------------------------------------------------------------- */
.card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: var(--space-5);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card__eyebrow {
  font: 800 var(--fs-overline) var(--font-body);
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--secondary); margin-bottom: var(--space-2); display: block;
}
.card__title {
  font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600;
  line-height: 1.15; color: var(--ink); margin-bottom: var(--space-3);
}
.card__body { font-size: var(--fs-small); color: var(--muted); line-height: 1.55; flex: 1; }
.card__body p { font-size: var(--fs-small); color: var(--muted); }
.card__price {
  font: 800 var(--fs-h4)/1 var(--font-body); color: var(--accent);
  font-variant-numeric: tabular-nums; margin-top: var(--space-4);
}
.card__cta { margin-top: var(--space-4); align-self: flex-start; }

@media (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
}
.card:focus-within { box-shadow: var(--shadow-card); }

.card-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1080px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .card-grid, .card-grid--2 { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   12. Category cards (image-led nav)
   --------------------------------------------------------------------- */
.cat-card {
  position: relative; display: block;
  background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  overflow: hidden;
}
.cat-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.cat-card__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-top: 3px solid var(--accent);
}
.cat-card__label { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 600; }
.cat-card__arrow { color: var(--accent); font-weight: 800; }
@media (prefers-reduced-motion: no-preference) {
  .cat-card:hover .cat-card__media img { transform: scale(1.04); }
}
.cat-card:hover .cat-card__label { color: var(--accent); }

/* ---------------------------------------------------------------------
   13. Menu list (on-page HTML menu)
   --------------------------------------------------------------------- */
.menu-section { margin-bottom: var(--space-8); }
.menu-section:last-child { margin-bottom: 0; }
.menu-section__title { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 600; }
.menu-section__note { font-size: var(--fs-small); color: var(--muted); margin-bottom: var(--space-5); max-width: 62ch; }
.menu-list { margin: 0; padding: 0; list-style: none; }
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
  max-width: none;
}
.menu-item__name { font: 600 var(--fs-body) var(--font-body); color: var(--ink); }
.menu-item__desc { display: block; font-size: var(--fs-small); color: var(--muted); margin-top: 2px; max-width: 52ch; }
.menu-item__tags { font-size: var(--fs-xs); color: var(--positive); letter-spacing: 0.04em; }
.menu-item__price {
  font: 700 var(--fs-body) var(--font-body); color: var(--accent);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

.detail-list { list-style: none; margin: 0 0 var(--space-5); padding: 0; }
.detail-list li {
  display: flex; gap: var(--space-3); align-items: baseline;
  padding: var(--space-2) 0; border-bottom: 1px solid var(--line); max-width: none;
}
.detail-list li::before { content: ""; width: 6px; height: 6px; background: var(--secondary); transform: rotate(45deg); flex: 0 0 auto; position: relative; top: 0.4em; }
.detail-list strong { color: var(--accent); font-variant-numeric: tabular-nums; }

/* Download links */
.downloads { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.downloads li { margin: 0; }
.dl-link {
  display: inline-flex; align-items: center; gap: var(--space-3);
  min-height: 44px; color: var(--accent); font-weight: 700; text-decoration: none;
}
.dl-link::before { content: ""; width: 18px; height: 18px; flex: 0 0 auto;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 3v12m0 0l-4-4m4 4l4-4M4 21h16'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 3v12m0 0l-4-4m4 4l4-4M4 21h16'/%3E%3C/svg%3E") center/contain no-repeat;
}
.dl-link:hover { color: var(--accent-hover); text-decoration: underline; }

/* ---------------------------------------------------------------------
   14. Highlight / policy block
   --------------------------------------------------------------------- */
.highlight {
  border: 1px solid var(--line);
  border-left: 3px solid var(--secondary);
  background: var(--surface);
  padding: var(--space-5) var(--space-6);
}
.highlight h3 { margin-bottom: var(--space-3); }
.highlight p:last-child { margin-bottom: 0; }
.section--dark .highlight { background: rgba(244,237,225,0.06); border-color: var(--line-dark); border-left-color: var(--secondary); }
.section--dark .highlight h3 { color: var(--ink-on-dark); }

/* ---------------------------------------------------------------------
   15. Testimonial / quote
   --------------------------------------------------------------------- */
.quote {
  background: var(--surface-dark); color: var(--ink-on-dark);
  padding: var(--space-9) var(--gutter);
  text-align: center;
}
.quote__mark {
  font-family: var(--font-display); font-size: 4rem; line-height: 0;
  color: var(--accent-hot); font-weight: 900; display: block;
  margin-bottom: var(--space-4);
}
.quote__text {
  font-family: var(--font-display); font-weight: 500; font-style: italic;
  font-size: var(--fs-h3); line-height: 1.4; max-width: 24ch; margin: 0 auto;
  text-wrap: balance; color: var(--ink-on-dark);
}
.quote__rating { color: var(--secondary); font-size: var(--fs-h4); letter-spacing: 0.1em; margin-top: var(--space-5); }
.quote__attr {
  margin-top: var(--space-4);
  font: 800 var(--fs-overline) var(--font-body);
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--secondary);
}

/* ---------------------------------------------------------------------
   16. Team cards
   --------------------------------------------------------------------- */
.team-grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(2, 1fr); }
@media (max-width: 768px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: var(--space-5); }
.team-card__media { width: 96px; height: 96px; overflow: hidden; border: 1px solid var(--line); margin-bottom: var(--space-4); }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin-bottom: var(--space-1); }
.team-card__role { font: 800 var(--fs-overline) var(--font-body); text-transform: uppercase; letter-spacing: 0.12em; color: var(--secondary); margin-bottom: var(--space-4); display: block; }
.qa { margin: 0; }
.qa dt { font: 800 var(--fs-small) var(--font-body); color: var(--ink); margin-top: var(--space-3); }
.qa dd { margin: 0 0 var(--space-2); font-size: var(--fs-small); color: var(--muted); }

/* ---------------------------------------------------------------------
   17. Gallery band
   --------------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid var(--line); }
@media (max-width: 768px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------------------
   18. Hours table
   --------------------------------------------------------------------- */
.hours { width: 100%; border-collapse: collapse; max-width: 480px; }
.hours caption { text-align: left; }
.hours th, .hours td { text-align: left; padding: var(--space-3) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-body); }
.hours th { font-weight: 700; font-family: var(--font-body); }
.hours td { color: var(--muted); font-variant-numeric: tabular-nums; }
.hours tr.is-open td { color: var(--positive); font-weight: 700; }
.hours tr.is-closed td { color: var(--muted); }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: start; }
@media (max-width: 768px) { .info-grid { grid-template-columns: 1fr; gap: var(--space-7); } }

.map-embed { border: 1px solid var(--line); width: 100%; aspect-ratio: 16 / 10; display: block; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.contact-list li { display: flex; gap: var(--space-3); align-items: center; min-height: 44px; margin: 0; }
.contact-list a { font-weight: 700; }
.contact-list .ico { width: 20px; height: 20px; color: var(--accent); flex: 0 0 auto; }

/* ---------------------------------------------------------------------
   19. Forms
   --------------------------------------------------------------------- */
.form { max-width: 560px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: var(--space-2); margin-bottom: var(--space-4); }
.field label { font: 800 var(--fs-small) var(--font-body); color: var(--ink); }
.section--dark .field label { color: var(--ink-on-dark); }
.field .req { color: var(--accent); }
.section--dark .field .req { color: var(--accent-hot); }
.input, .textarea, .select {
  width: 100%; min-height: 48px;
  padding: var(--space-3) var(--space-4);
  font: 400 var(--fs-body) var(--font-body); color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input:hover, .textarea:hover, .select:hover { border-color: var(--muted); }
.input:focus-visible, .textarea:focus-visible, .select:focus-visible {
  outline: none; border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.field__hint  { font-size: var(--fs-xs); color: var(--muted); }
.section--dark .field__hint { color: var(--muted-on-dark); }
.textarea { min-height: 132px; resize: vertical; }
.form-actions { margin-top: var(--space-5); }

/* ---------------------------------------------------------------------
   20. Heritage badge
   --------------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--secondary);
  font: 800 var(--fs-overline) var(--font-body);
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--secondary);
}
.badge::before { content: ""; width: 6px; height: 6px; background: var(--secondary); transform: rotate(45deg); }

/* ---------------------------------------------------------------------
   21. Footer
   --------------------------------------------------------------------- */
.site-footer { background: var(--surface-dark); color: var(--muted-on-dark); }
.site-footer__cols {
  max-width: var(--container); margin: 0 auto;
  padding: var(--space-9) var(--gutter) var(--space-6);
  display: grid; gap: var(--space-7);
  grid-template-columns: 1.4fr 1fr 1fr;
}
@media (max-width: 768px) { .site-footer__cols { grid-template-columns: 1fr; } }
.site-footer__brand {
  font: 900 1.75rem/1 var(--font-display); color: var(--ink-on-dark);
  font-variation-settings: "SOFT" 30;
  text-decoration: none; display: inline-block;
}
.site-footer__brand .dot { color: var(--accent-hot); }
.site-footer__rule { width: 56px; height: 3px; background: var(--accent); margin: var(--space-3) 0; border: 0; }
.site-footer h2 {
  font: 800 var(--fs-overline) var(--font-body);
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--secondary); margin: 0 0 var(--space-4);
}
.site-footer p { color: var(--muted-on-dark); max-width: 36ch; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; }
.site-footer a {
  color: var(--muted-on-dark); text-decoration: none;
  min-height: 44px; display: inline-flex; align-items: center;
  transition: color var(--dur) var(--ease);
}
.site-footer a:hover { color: var(--ink-on-dark); }
.site-footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.site-footer__social a {
  width: 44px; height: 44px; min-height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line-dark);
}
.site-footer__social a:hover { border-color: var(--secondary); color: var(--secondary); }
.site-footer__social svg { width: 22px; height: 22px; }
.site-footer__base {
  border-top: 1px solid var(--line-dark);
  max-width: var(--container); margin: 0 auto;
  padding: var(--space-4) var(--gutter);
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5);
  justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); color: var(--muted-on-dark);
}
.site-footer__base ul { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.site-footer__base a { min-height: 0; font-size: var(--fs-xs); }

/* ---------------------------------------------------------------------
   22. Scroll-reveal (user-triggered via IntersectionObserver)
   --------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------------------------------------------------------------------
   23. Responsive nav + hero
   --------------------------------------------------------------------- */
@media (max-width: 920px) {
  .site-nav__links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-book--mobile { display: inline-flex; min-height: 44px; padding: var(--space-2) var(--space-4); }
  .nav-book--desktop { display: none; }
}
@media (min-width: 921px) { .mobile-menu { display: none; } }

@media (max-width: 480px) {
  .hero__inner { min-height: 70vh; }
  .hero__title { font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 64; }
  .hero__scrim { background: linear-gradient(180deg, rgba(33,24,20,0.5) 0%, rgba(33,24,20,0.85) 100%); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------------------------
   24. Print
   --------------------------------------------------------------------- */
@media print {
  .site-nav, .mobile-menu, .nav-toggle, .hero__scrim, .quote__mark, .skip-link { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
  .card, .menu-item { break-inside: avoid; }
}

/* ---------------------------------------------------------------------
   25. Reduced motion master reset
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
