/* ==========================================================================
   Saltmark: Restaurant & Cafe Landing Template, v1.0.0
   --------------------------------------------------------------------------
   Table of contents
    1. Fonts (bundled, OFL)
    2. Design tokens: colours, type, spacing   <- change the look here
    3. Dark mode tokens
    4. Base and accessibility helpers
    5. Buttons
    6. Header and navigation
    7. Hero and the "Today's board" docket
    8. Section heads
    9. Menu: tabs, filters, dishes
   10. Story
   11. Gallery and lightbox
   12. Reviews
   13. Private dining band
   14. Booking form and visit panel
   15. Footer
   16. Motion (page-load docket print) and reduced motion
   17. Print styles (the "Print this menu" button)
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face { font-family: "Gloock"; src: url("../fonts/gloock-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* 2. Design tokens -------------------------------------------------------- */
:root {
  /* Palette: harbour greens, sea-salt paper, brass */
  --paper:   #F4F6F2;  /* page background (cool sea-salt white) */
  --oyster:  #E2E8E1;  /* alternate section background */
  --card:    #FCFCF9;  /* docket / form paper */
  --bottle:  #123B34;  /* primary: headings, buttons, footer */
  --ink:     #1B2624;  /* body text */
  --muted:   #4F6661;  /* secondary text (AA on paper) */
  --brass:   #B5832A;  /* accent: rules, icons, small highlights */
  --brine:   #6E8F88;  /* soft lines */
  --line:    #CBD6CF;  /* hairlines and borders */
  --on-bottle: #EEF2EC;/* text on bottle green */
  --error:   #A3312A;
  --ok:      #2F6B3F;

  /* Type */
  --font-display: "Gloock", "Iowan Old Style", Georgia, serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  --step-3: clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem);
  --step-4: clamp(2.5rem, 1.5rem + 4.2vw, 4.9rem);

  /* Space and shape */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 28px;
  --shadow-paper: 0 1px 0 rgba(18, 59, 52, .06), 0 18px 40px -18px rgba(18, 59, 52, .35);
  --focus: 0 0 0 3px var(--paper), 0 0 0 5px var(--brass);
  --header-h: 72px;
  color-scheme: light;
}

/* 3. Dark mode ------------------------------------------------------------ */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E2421; --oyster: #12302C; --card: #183733; --bottle: #D9E5DE; --ink: #E4ECE6;
    --muted: #A9BEB7; --brass: #D7A54B; --brine: #7FA39B; --line: #2A4A45; --on-bottle: #0E2421;
    --error: #F08A7E; --ok: #8FD19E; color-scheme: dark;
    --shadow-paper: 0 1px 0 rgba(0,0,0,.2), 0 18px 40px -18px rgba(0,0,0,.6);
  }
}
:root[data-theme="dark"] {
  --paper: #0E2421; --oyster: #12302C; --card: #183733; --bottle: #D9E5DE; --ink: #E4ECE6;
  --muted: #A9BEB7; --brass: #D7A54B; --brine: #7FA39B; --line: #2A4A45; --on-bottle: #0E2421;
  --error: #F08A7E; --ok: #8FD19E; color-scheme: dark;
  --shadow-paper: 0 1px 0 rgba(0,0,0,.2), 0 18px 40px -18px rgba(0,0,0,.6);
}

/* 4. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--font-body);
  font-feature-settings: "tnum" 0;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--bottle); line-height: 1.08; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: var(--bottle); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--brass); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--radius-sm); }
.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--bottle); color: var(--on-bottle); padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 5. Buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--bottle); --btn-bd: var(--bottle);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px;
  border: 1.5px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font: 600 1rem/1.1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-solid { --btn-bg: var(--bottle); --btn-fg: var(--on-bottle); }
.btn-solid:hover { --btn-bg: color-mix(in srgb, var(--bottle) 88%, var(--brass)); }
.btn-line:hover { --btn-bg: color-mix(in srgb, var(--bottle) 8%, transparent); }
.btn-onDark { --btn-bg: var(--on-bottle); --btn-fg: var(--bottle); --btn-bd: var(--on-bottle); }
.btn-small { min-height: 42px; padding: .5rem 1.05rem; font-size: .95rem; }
.btn-wide { width: 100%; }

/* 6. Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--bottle); text-decoration: none; margin-right: auto; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; line-height: 1; }
.brand-sub { display: block; font-family: var(--font-body); font-size: .78rem; color: var(--muted); margin-top: 3px; }
.nav-list { display: flex; gap: clamp(.75rem, 2vw, 1.75rem); list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding: .4rem 0; border-bottom: 1.5px solid transparent; }
.nav-list a:hover { border-bottom-color: var(--brass); }
.nav-toggle { display: none; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent;
  color: var(--bottle); display: grid; place-items: center; cursor: pointer;
}
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

@media (max-width: 900px) {
  .nav { order: 3; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .5rem; min-height: 42px; padding: 0 .9rem;
    border: 1.5px solid var(--line); border-radius: 999px; background: transparent; color: var(--bottle);
    font: 600 .95rem var(--font-body); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before { display: block; width: 16px; height: 2px; background: currentColor; position: relative; transition: transform .25s; }
  .nav-toggle-bars::before { content: ""; position: absolute; top: 6px; }
  .nav-toggle-bars { top: -3px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { transform: translateY(3px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(-6px) rotate(-90deg); }
  .nav-list {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.25rem;
    display: none;
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { display: block; padding: .85rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .header-actions .btn { display: none; }
}
@media (max-width: 420px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 1.1rem; }
  .nav-toggle-text { display: none; }
  .nav-toggle { padding: 0 .75rem; }
}

/* 7. Hero ----------------------------------------------------------------- */
.hero { overflow-x: clip; padding-block: clamp(2.5rem, 2rem + 4vw, 6rem) clamp(3rem, 2rem + 5vw, 6.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-place { color: var(--muted); font-weight: 500; margin-bottom: 1.25rem; display: flex; align-items: center; gap: .6rem; }
.hero-place::before { content: ""; width: 28px; height: 1.5px; background: var(--brass); }
.hero-title { font-size: var(--step-4); max-width: 13ch; }
.hero-lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink); max-width: 34ch; margin: 1.5rem 0 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.status { margin: 1.75rem 0 0; display: inline-flex; align-items: center; gap: .6rem; font-weight: 500; color: var(--muted); }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--brine); flex: none; }
.status.is-open::before { background: #3E9A5B; box-shadow: 0 0 0 4px color-mix(in srgb, #3E9A5B 22%, transparent); }
.status.is-closed::before { background: var(--brass); }

.hero-art { position: relative; padding-bottom: 3rem; }
.hero-plate { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 1; object-fit: cover; }

/* The docket: a kitchen ticket that "prints" on page load */
.docket {
  position: absolute; left: clamp(-2.5rem, -3vw, -1rem); bottom: 0; width: min(330px, 78%);
  transform: rotate(-2.5deg); filter: drop-shadow(0 22px 26px rgba(18, 59, 52, .28));
}
.docket-slot { height: 14px; border-radius: 7px; background: var(--bottle); margin: 0 -10px; position: relative; z-index: 2; }
.docket-paper {
  position: relative; z-index: 1; margin-top: -6px;
  background: var(--card); color: var(--ink); padding: 1.6rem 1.4rem 2.2rem;
  font-variant-numeric: tabular-nums;
  /* torn zig-zag bottom edge */
  --tear: 10px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--tear) * 2) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--tear) * 2) 100%;
}
.docket-head { font-family: var(--font-display); font-size: 1.55rem; color: var(--bottle); margin: 0; line-height: 1.1; }
.docket-date { color: var(--muted); font-size: .92rem; margin: .2rem 0 1rem; padding-bottom: .9rem; border-bottom: 1.5px dashed var(--line); }
.docket-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.docket-list li { display: flex; justify-content: space-between; gap: 1rem; font-size: .97rem; line-height: 1.35; }
.docket-list b { font-weight: 600; color: var(--bottle); }
.docket-foot { margin: 1rem 0 0; padding-top: .9rem; border-top: 1.5px dashed var(--line); font-size: .88rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; padding-bottom: 0; }
  .docket { position: relative; left: auto; bottom: auto; margin: -5rem 0 0 auto; width: min(330px, 88%); }
}

/* 8. Section heads -------------------------------------------------------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--muted); max-width: 46ch; margin: 0; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* 9. Menu ----------------------------------------------------------------- */
.menu { background: var(--oyster); }
.menu-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin-bottom: 2rem; padding-bottom: 1.25rem; border-bottom: 1.5px solid var(--line); }
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
.tabs [role="tab"] {
  min-height: 44px; padding: .5rem 1.15rem; border-radius: 999px; border: 1.5px solid transparent;
  background: transparent; color: var(--ink); font: 600 1rem var(--font-body); cursor: pointer;
}
.tabs [role="tab"]:hover { border-color: var(--line); }
.tabs [role="tab"][aria-selected="true"] { background: var(--bottle); color: var(--on-bottle); }
.diet-filter { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.diet-filter legend { float: left; margin-right: .4rem; color: var(--muted); font-size: .95rem; }
.diet-filter label {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .35rem .85rem;
  border: 1.5px solid var(--line); border-radius: 999px; font-size: .95rem; cursor: pointer; background: var(--paper);
}
.diet-filter input { accent-color: var(--bottle); width: 16px; height: 16px; margin: 0; }
.diet-filter label:has(input:checked) { border-color: var(--bottle); }
.diet-filter label:has(input:focus-visible) { box-shadow: var(--focus); }
.diet-filter input:focus-visible { box-shadow: none; }

.dish-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 4rem; }
.dish { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; column-gap: .6rem; }
.dish h3 { font-size: 1.45rem; line-height: 1.2; }
.dish::after { content: ""; grid-column: 2; grid-row: 1; border-bottom: 2px dotted var(--brine); transform: translateY(-.3em); opacity: .7; }
.dish .price { grid-column: 3; grid-row: 1; font-weight: 600; color: var(--bottle); font-variant-numeric: tabular-nums; }
.dish p { grid-column: 1 / -1; color: var(--muted); margin: .25rem 0 0; }
.diet-tags { grid-column: 1 / -1; display: flex; gap: .35rem; margin-top: .45rem; }
.diet-tag { font-size: .74rem; font-weight: 600; padding: .1rem .45rem; border-radius: 4px; border: 1px solid var(--brine); color: var(--muted); }
.dish[hidden] { display: none; }
.menu-panel:focus-visible { box-shadow: var(--focus); border-radius: var(--radius); }
.menu-empty { padding: 2rem 0; color: var(--muted); }
.menu-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 2.75rem; padding-top: 1.25rem; border-top: 1.5px solid var(--line); }
.menu-foot p { margin: 0; color: var(--muted); font-size: .95rem; max-width: 62ch; }
@media (max-width: 760px) {
  .dish-list { grid-template-columns: 1fr; }
  .dish h3 { font-size: 1.3rem; }
}

/* 10. Story --------------------------------------------------------------- */
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.story-art { margin: 0; }
.story-art img { border-radius: var(--radius-lg); width: 100%; }
.story-copy h2 { font-size: var(--step-3); margin-bottom: 1.25rem; }
.story-copy > p { max-width: 50ch; }
.sources { margin: 1.75rem 0 0; display: grid; }
.sources div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--line); }
.sources div:last-child { border-bottom: 1px solid var(--line); }
.sources dt { font-weight: 600; color: var(--bottle); }
.sources dd { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .sources div { grid-template-columns: 1fr; gap: .1rem; } }

/* 11. Gallery ------------------------------------------------------------- */
.gallery { padding-top: 0; }
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.6rem, 1.5vw, 1.1rem); }
.gallery-grid li:first-child { grid-row: span 2; grid-column: span 2; }
.shot { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.shot img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.shot:hover img { transform: scale(1.035); }
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid li:first-child { grid-column: span 2; grid-row: auto; }
}
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 820px); width: 100%; color: #EEF2EC; overflow: visible; }
.lightbox::backdrop { background: rgba(8, 24, 21, .86); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 74vh; object-fit: contain; border-radius: var(--radius); background: #C9D5CD; }
.lightbox figcaption { margin-top: .8rem; font-size: 1.05rem; }
.lightbox-nav { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .6rem; }
.lb-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(238,242,236,.5); background: transparent; color: #EEF2EC; display: grid; place-items: center; cursor: pointer; }
.lb-btn svg { width: 22px; height: 22px; }
.lb-btn:hover { background: rgba(238,242,236,.12); }
.lightbox .lb-btn:focus-visible { box-shadow: 0 0 0 3px #D7A54B; }

/* 12. Reviews ------------------------------------------------------------- */
.reviews { border-top: 1.5px solid var(--line); }
.quotes { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.3; color: var(--bottle); margin: 0; }
.quote-lead p { font-size: var(--step-2); }
.quote figcaption { margin-top: 1rem; color: var(--muted); font-size: .95rem; display: flex; align-items: center; gap: .6rem; }
.quote figcaption::before { content: ""; width: 20px; height: 1.5px; background: var(--brass); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* 13. Private dining ------------------------------------------------------ */
.private { background: var(--bottle); color: var(--on-bottle); padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.private h2 { color: var(--on-bottle); font-size: var(--step-3); margin-bottom: 1rem; }
.private p { max-width: 54ch; margin: 0; opacity: .92; }
.private-inner { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; }
.private .btn:focus-visible { box-shadow: 0 0 0 3px var(--bottle), 0 0 0 5px var(--brass); }

/* 14. Booking ------------------------------------------------------------- */
.book-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.book h2 { font-size: var(--step-3); }
.book-intro { color: var(--muted); margin: 1rem 0 2rem; max-width: 52ch; }
.docket-form {
  background: var(--card); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-paper); position: relative;
}
/* perforation along the top of the booking slip */
.docket-form::before {
  content: ""; position: absolute; left: 14px; right: 14px; top: 10px; height: 4px;
  background: radial-gradient(circle, var(--line) 1.6px, transparent 2px) 0 0 / 12px 4px repeat-x;
}
.field-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1rem; }
.field-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { margin-bottom: .4rem; min-width: 0; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form select, .form textarea {
  width: 100%; min-height: 48px; padding: .65rem .8rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
}
.form textarea { resize: vertical; min-height: 96px; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { border-color: var(--bottle); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brass) 45%, transparent); border-radius: var(--radius-sm); }
.form [aria-invalid="true"] { border-color: var(--error); }
.field-error { min-height: 1.3em; margin: .25rem 0 .2rem; font-size: .88rem; color: var(--error); }
.party-note { background: color-mix(in srgb, var(--brass) 14%, transparent); border-radius: var(--radius-sm); padding: .7rem .9rem; font-size: .95rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; margin-top: .4rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--bottle); flex: none; }
.form-status { margin: 1rem 0 0; font-weight: 500; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-error { color: var(--error); }
.form .btn { margin-top: .6rem; }
.form .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
@media (max-width: 640px) {
  .field-row, .field-row.two { grid-template-columns: 1fr; }
}

.visit-title { font-size: var(--step-2); margin-bottom: 1rem; }
.visit address { font-style: normal; line-height: 1.7; margin-bottom: 2rem; }
.hours-title { font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--ink); margin-bottom: .5rem; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; margin-bottom: 2rem; }
.hours th, .hours td { text-align: left; padding: .5rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours th { font-weight: 500; padding-right: 1rem; white-space: nowrap; }
.hours td { color: var(--muted); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--bottle); font-weight: 600; }
.hours tr.is-today th::after { content: " (today)"; font-weight: 400; color: var(--muted); }
.map { margin: 0; }
.map img { border-radius: var(--radius); width: 100%; }
.map figcaption { font-size: .9rem; color: var(--muted); margin-top: .6rem; }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } }

/* 15. Footer -------------------------------------------------------------- */
.site-footer { background: #0B201D; color: #D6E0DA; padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer a { color: #EEF2EC; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 2rem 3rem; align-items: start; padding-bottom: 2.5rem; }
.footer-name { font-family: var(--font-display); font-size: 1.6rem; color: #EEF2EC; margin-bottom: .4rem; }
.newsletter label { display: block; font-weight: 600; margin-bottom: .6rem; color: #EEF2EC; }
.newsletter-row { display: flex; gap: .5rem; }
.newsletter input[type="email"] { flex: 1; min-width: 0; min-height: 44px; padding: .55rem .8rem; border-radius: 999px; border: 1.5px solid #34524C; background: #12302C; color: #EEF2EC; font: 400 1rem var(--font-body); }
.newsletter input::placeholder { color: #8FA7A0; }
.newsletter input:focus-visible { border-color: #D7A54B; box-shadow: none; border-radius: 999px; }
.newsletter .btn-onDark { --btn-bg: #EEF2EC; --btn-fg: #123B34; --btn-bd: #EEF2EC; }
.newsletter .field-error { color: #F08A7E; }
.newsletter .form-status.is-ok { color: #8FD19E; }
.newsletter .form-status.is-error { color: #F08A7E; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: .5rem; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #34524C; display: grid; place-items: center; }
.social a:hover { border-color: #D7A54B; }
.social svg { width: 20px; height: 20px; }
.site-footer :focus-visible { box-shadow: 0 0 0 3px #D7A54B; }
.footer-small { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.25rem 1.75rem; border-top: 1px solid #23413C; font-size: .88rem; color: #9DB3AD; }
.footer-small p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* 16. Motion ---------------------------------------------------------------
   One orchestrated moment: on load the docket feeds out of its slot like a
   kitchen printer, then its lines appear. JS adds .is-printing to <html>. */
.js .docket-paper { clip-path: inset(0 0 100% 0); }
.js.is-printing .docket-paper { animation: docket-feed 1.5s cubic-bezier(.3,.1,.2,1) .35s forwards; }
.js .docket-list li, .js .docket-foot { opacity: 0; }
.js.is-printing .docket-list li, .js.is-printing .docket-foot { animation: docket-line .35s ease-out forwards; }
.js.is-printing .docket-list li:nth-child(1) { animation-delay: 1.15s; }
.js.is-printing .docket-list li:nth-child(2) { animation-delay: 1.3s; }
.js.is-printing .docket-list li:nth-child(3) { animation-delay: 1.45s; }
.js.is-printing .docket-list li:nth-child(4) { animation-delay: 1.6s; }
.js.is-printing .docket-list li:nth-child(n+5) { animation-delay: 1.75s; }
.js.is-printing .docket-foot { animation-delay: 1.9s; }
@keyframes docket-feed {
  0%   { clip-path: inset(0 0 100% 0); transform: translateY(-14px); }
  30%  { clip-path: inset(0 0 72% 0);  transform: translateY(-10px); }
  38%  { clip-path: inset(0 0 66% 0);  transform: translateY(-9px); }
  70%  { clip-path: inset(0 0 22% 0);  transform: translateY(-3px); }
  100% { clip-path: inset(0 0 -20px 0); transform: none; }
}
@keyframes docket-line { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
  .js .docket-paper, .js.is-printing .docket-paper { clip-path: none; animation: none; transform: none; }
  .js .docket-list li, .js .docket-foot { opacity: 1; }
  .shot:hover img, .btn:hover { transform: none; }
}

/* 17. Print ----------------------------------------------------------------
   "Print this menu" prints every menu panel and nothing else. */
@media print {
  @page { margin: 16mm; }
  body.print-menu > *:not(main), body.print-menu main > *:not(#menu) { display: none !important; }
  body.print-menu .menu { background: #fff; padding: 0; }
  body.print-menu .section-head p, body.print-menu .menu-controls, body.print-menu .menu-foot .btn, body.print-menu .menu-empty { display: none !important; }
  body.print-menu .menu-panel { display: block !important; break-inside: avoid; margin-bottom: 10mm; }
  body.print-menu .menu-panel[hidden] { display: block !important; }
  body.print-menu .menu-panel::before { content: attr(data-title); display: block; font: 400 20pt "Gloock", serif; margin-bottom: 4mm; color: #123B34; }
  body.print-menu .dish[hidden] { display: grid !important; }
  body.print-menu * { color: #111 !important; box-shadow: none !important; }
  body.print-menu .dish-list { gap: 4mm 12mm; }
}
