/* Su Sardu — customer site.
   Brutalist: white paper, black ink, heavy 3px rules that expose the grid, no rounding.
   The logo's wide geometry carries into Michroma headings; bronze is used as solid blocks, never as decoration. */
@font-face { font-family: 'Michroma'; src: url(/static/fonts/michroma-latin-400-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Inter'; font-weight: 400; src: url(/static/fonts/inter-latin-400-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Inter'; font-weight: 600; src: url(/static/fonts/inter-latin-600-normal.woff2) format('woff2'); font-display: swap; }

:root {
  --paper: #ffffff; --ink: #000000; --crema: #f5eddc; --bronzo: #b8914f; --grey: #4a4a4a;
  --ok: #2e7d32; --error: #b3261e;
  --rule: 3px solid var(--ink); --hair: 1px solid var(--ink);
  --wide: 'Michroma', 'Arial Black', sans-serif; --sans: 'Inter', system-ui, sans-serif;
  --max: 1240px; --pad: clamp(1rem, 3.5vw, 2.5rem);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--bronzo); }
a:hover { text-decoration-color: var(--ink); }
h1, h2, h3 { font-family: var(--wide); font-weight: 400; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--bronzo); outline-offset: 2px; }
.skip { position: absolute; left: -999px; } .skip:focus { outline-color: var(--bronzo); } .skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--ink); color: var(--paper); padding: .5rem 1rem; }

/* logo */
.brand { display: block; color: var(--ink); line-height: 0; }
.logo { display: block; width: 100%; height: auto; }
.site-header .brand { width: clamp(130px, 13vw, 160px); }
.logo-footer { width: 170px; }

/* buttons: solid blocks with a hard shadow that collapses when pressed */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .9em 1.4em; border: var(--rule);
  font: 600 .95rem/1 var(--sans); text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); transition: transform .08s, box-shadow .08s; }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn-primary { background: var(--bronzo); color: var(--ink); }
.btn-primary:hover { background: var(--ink); color: var(--paper); }
.btn-primary:focus-visible, .bar-cta:focus-visible { outline-color: var(--ink); }
.btn:disabled { cursor: progress; }
.btn-ghost { background: var(--paper); color: var(--ink); }
.btn-ghost:hover { background: var(--crema); }
.btn-sm { padding: .6em 1em; font-size: .85rem; box-shadow: 3px 3px 0 var(--ink); }
.btn-lg { padding: 1.05em 2em; font-size: 1.05rem; width: 100%; }
.link-arrow { font-weight: 600; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1.5rem; padding: .8rem var(--pad);
  background: var(--paper); border-bottom: var(--rule); }
.main-nav { display: flex; gap: 1.75rem; margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: .2em 0; border-bottom: 3px solid transparent; }
.main-nav a:hover { border-bottom-color: var(--bronzo); }
.main-nav a[aria-current] { border-bottom-color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switch { display: flex; border: var(--hair); font-size: .8rem; font-weight: 600; }
.lang-switch a { text-decoration: none; padding: .35em .55em; }
.lang-switch a + a { border-left: var(--hair); }
.lang-switch a[aria-current] { background: var(--ink); color: var(--paper); }

/* hero: the logo fills the width; everything else sits in a ruled grid below it */
.hero { border-bottom: var(--rule); }
.hero-logo { margin: 0; padding: clamp(2rem, 6vw, 4.5rem) var(--pad) clamp(1.5rem, 4vw, 3rem); line-height: 0; }
.hero-row { display: grid; grid-template-columns: 1fr; border-top: var(--rule); }
.hero-row.has-photo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-tag { margin: 0; padding: clamp(1.5rem, 4vw, 3rem) var(--pad); font: 400 clamp(1.15rem, 2.4vw, 1.75rem)/1.4 var(--wide); max-width: 30ch; }
.hero-photo { display: block; width: 100%; height: clamp(320px, 36vw, 520px); object-fit: cover; border-left: var(--rule); }
.hero-bar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--rule); }
/* the photo's left rule and the bar's middle rule share the 50% line */
.hero-bar li { display: flex; align-items: center; min-height: 4.5rem; padding: 0 var(--pad); font-weight: 600; }
.hero-bar li + li { border-left: var(--rule); }
.hero-bar li:has(a) { padding: 0; }
.hero-bar a { flex: 1; align-self: stretch; display: flex; align-items: center; padding: 0 var(--pad); text-decoration: none; }
.hero-bar a:hover { background: var(--crema); }
.hero-bar a:focus-visible { outline-offset: -6px; }
.hero-bar .bar-cta { background: var(--bronzo); }
.hero-bar .bar-cta:hover { background: var(--ink); color: var(--paper); }
.today { gap: .6em; }
.today .dot { width: .7em; height: .7em; background: var(--grey); flex: none; }
.today.is-open .dot { background: var(--ok); }

/* sections */
.section, .page { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) var(--pad); }
.section + .section { padding-top: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1rem; margin-bottom: 0; border-bottom: var(--rule); padding-bottom: .9rem; }
.section-head h2 { margin: 0; }
.section-head .link-arrow { white-space: nowrap; }
.section.story { display: grid; grid-template-columns: 1fr 1fr; border: var(--rule); padding: 0; margin: clamp(3rem, 7vw, 5.5rem) auto; max-width: calc(var(--max) - 2 * var(--pad)); width: calc(100% - 2 * var(--pad)); }
.story:not(:has(img)) { grid-template-columns: 1fr; }
.story-text { padding: clamp(1.5rem, 4vw, 3rem); background: var(--crema); }
.story-text p { font-size: 1.1rem; max-width: 40ch; }
.story-img { width: 100%; height: 100%; aspect-ratio: 4/5; object-fit: cover; border-left: var(--rule); }

.highlights { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-left: var(--rule); }
.highlights li { padding: 1.5rem; display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; border-right: var(--rule); border-bottom: var(--rule); }
.hl-name { font: 600 1.2rem/1.3 var(--sans); }
.hl-desc { grid-column: 1 / -1; color: var(--grey); font-size: .95rem; }
.price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.highlights .price { grid-column: 2; grid-row: 1; align-self: start; background: var(--bronzo); padding: .2em .5em; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); border-left: var(--rule); }
.post-card { border-right: var(--rule); border-bottom: var(--rule); }
.post-card a { color: var(--ink); text-decoration: none; display: block; height: 100%; padding-bottom: 1.25rem; }
.post-card a:hover { background: var(--crema); }
.post-card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; background-color: var(--crema); border-bottom: var(--rule); margin-bottom: 1rem; }
.post-card time, .post-card h3, .post-card p { display: block; padding: 0 1.25rem; }
.post-card time, .post-page time { color: var(--grey); font-size: .85rem; font-weight: 600; }
.post-card h3 { margin: .35rem 0 .5rem; }
.post-card p { color: var(--grey); font-size: .95rem; margin: 0; }

.strip { display: grid; grid-template-columns: repeat(6, 1fr); border-left: var(--rule); }
.strip img { aspect-ratio: 1; object-fit: cover; border-right: var(--rule); border-bottom: var(--rule); width: 100%; }

.section.visit { display: grid; grid-template-columns: 1fr 1fr; border: var(--rule); padding: 0; margin: 0 auto clamp(3rem, 7vw, 5.5rem); max-width: calc(var(--max) - 2 * var(--pad)); width: calc(100% - 2 * var(--pad)); }
.visit > div { padding: clamp(1.5rem, 4vw, 2.5rem); }
.visit > div + div { border-left: var(--rule); background: var(--crema); }
.visit .big { font: 400 1.25rem/1.5 var(--wide); }

/* page heads */
/* the rule runs the full width of the content column, so it lines up with the boxes below; the text keeps a readable measure */
.page-head { margin-bottom: 2.5rem; border-bottom: var(--rule); padding-bottom: 1.25rem; }
.page-head > * { max-width: 62ch; }
.page-head p { color: var(--grey); font-size: 1.1rem; margin: 0; }

/* menu */
.menu-tabs { position: sticky; top: 61px; /* header height minus its rule, so the two rules overlap into one */ z-index: 10; display: flex; overflow-x: auto; margin-bottom: 2.5rem; background: var(--paper); border: var(--rule); scrollbar-width: none; }
.menu-tabs a { flex: none; text-decoration: none; font-weight: 600; padding: .75em 1.1em; font-size: .9rem; }
.menu-tabs a + a { border-left: var(--hair); }
.menu-tabs a:hover { background: var(--bronzo); }
.menu-tabs a[aria-current] { background: var(--ink); color: var(--paper); }
.menu-tabs a:focus-visible { outline-offset: -5px; }
.menu-section { scroll-margin-top: 140px; margin-bottom: 3.5rem; }
.menu-section h2 { border-bottom: var(--rule); padding-bottom: .6rem; }
.menu-note { color: var(--grey); font-weight: 600; }
.menu-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 3.5rem; }
.mi-head { display: flex; align-items: baseline; gap: .5rem; }
.mi-name { font: 600 1.1rem/1.3 var(--sans); }
.mi-dots { flex: 1; border-bottom: 2px dotted var(--ink); transform: translateY(-.3em); min-width: 1rem; }
.mi-desc { color: var(--grey); font-size: .93rem; margin: .25rem 0 0; }
.veg { margin-left: .4em; font: 600 .65rem/1 var(--sans); text-decoration: none; color: var(--ok); border: 2px solid currentColor; padding: .15em .3em; vertical-align: middle; }
.menu-legend { color: var(--grey); font-size: .9rem; }

/* reservation */
.reserve-page { max-width: 780px; }
.reserve-form { display: grid; gap: 1.5rem; }
.step { border: var(--rule); padding: 1.25rem 1.25rem 1.5rem; margin: 0; background: var(--paper); }
.step legend { font: 400 1.05rem/1 var(--wide); padding: 0 .5rem; display: flex; align-items: center; gap: .6rem; }
.step-n { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; background: var(--ink); color: var(--paper); font: 600 .85rem/1 var(--sans); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-grid; place-items: center; min-width: 3.2rem; padding: .7em .9em; border: 2px solid var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.chip:hover span { background: var(--crema); }
.chip input:checked + span { background: var(--bronzo); box-shadow: 3px 3px 0 var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--bronzo); outline-offset: 2px; }
input[type=date], input:not([type]), input[type=email], input[type=tel], textarea {
  width: 100%; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); padding: .8em .9em; font: inherit; }
input:focus, textarea:focus { outline: 3px solid var(--bronzo); outline-offset: 0; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.hint { color: var(--grey); font-size: .85rem; margin: .4rem 0 0; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; }
.check input { margin-top: .3rem; accent-color: var(--ink); width: 1.1rem; height: 1.1rem; }
.hp { position: absolute; left: -9999px; }
.alert { border: var(--rule); background: var(--crema); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.alert p { margin: .3rem 0 0; }
[aria-invalid=true] { border-color: var(--error) !important; }

/* news, gallery, prose */
.post-page { max-width: 780px; }
.post-cover { border: var(--rule); margin: 1.5rem 0 2rem; width: 100%; }
.prose { font-size: 1.1rem; }
.prose img { border: var(--rule); margin: 1.5rem 0; }
.post-cta { margin-top: 3rem; }
.masonry { columns: 3 280px; column-gap: 1rem; }
.masonry-item { display: block; margin-bottom: 1rem; break-inside: avoid; border: var(--rule); }
.message-page, .prose-page { max-width: 680px; min-height: 50vh; }

/* footer: inverted, the one black block on the page */
.site-footer { background: var(--ink); color: var(--paper); padding: 3.5rem var(--pad) 6rem; font-size: .95rem; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.site-footer .logo-footer { color: var(--paper); }
.footer-h { font: 600 .95rem/1 var(--sans); color: var(--bronzo); margin-bottom: 1rem; }
.footer-line { margin-top: 1rem; color: #cfcfcf; }
.legal { max-width: var(--max); margin: 2.5rem auto 0; font-size: .8rem; color: #cfcfcf; border-top: 1px solid #555; padding-top: 1rem; }
.site-footer a { color: var(--paper); }

.sticky-reserve { display: none; }
.sticky-reserve.is-hidden { transform: translateY(calc(100% + 1.5rem)); visibility: hidden; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .hero-row.has-photo { grid-template-columns: 1fr; }
  .hero-photo { border-left: 0; border-top: var(--rule); height: clamp(240px, 60vw, 360px); }
  .hero-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-bar li:nth-child(3) { border-left: 0; }
  .hero-bar li:nth-child(n+3) { border-top: var(--rule); }
  .section.story, .section.visit, .footer-grid { grid-template-columns: 1fr; }
  .story-img { border-left: 0; border-top: var(--rule); aspect-ratio: 4/3; }
  .visit > div + div { border-left: 0; border-top: var(--rule); }
  .highlights, .menu-list { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .sticky-reserve { display: flex; position: fixed; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 30;
    transition: transform .25s ease, visibility 0s .25s, box-shadow .08s; }
  .sticky-reserve:not(.is-hidden) { transition: transform .25s ease, visibility 0s, box-shadow .08s; }
  .lang-switch a { min-height: 2.5rem; min-width: 2.5rem; display: inline-flex; align-items: center; justify-content: center; }
  .site-header { padding-top: .5rem; padding-bottom: .5rem; }
  .page-reserve .sticky-reserve { display: none; }
  body:has(.manage-page) .sticky-reserve { display: none; }
  .menu-tabs { top: 58px; }
}
@media (max-width: 520px) {
  .hero-bar { grid-template-columns: 1fr; }
  .hero-bar li + li { border-left: 0; border-top: var(--rule); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* privacy statement */
.privacy h2 { font-size: 1.15rem; margin: 2.25rem 0 .6rem; }
.privacy ul { padding-left: 1.2rem; margin: 0 0 1em; }
.privacy li { margin-bottom: .4rem; }
.muted-note { color: var(--grey); font-size: .9rem; margin-top: 2.5rem; border-top: var(--rule); padding-top: 1rem; }

/* booking: closed-date message under the date; time step stays disabled until a bookable date is chosen */
.date-msg { margin: .9rem 0 0; }
.date-msg[hidden] { display: none; }
.step-time:disabled { border-color: #8a8a8a; }
.step-time:disabled legend { opacity: .5; }
.step-time:disabled .chip input { cursor: not-allowed; }

/* manage booking */
.notice { border: var(--rule); background: var(--paper); border-left: 12px solid var(--bronzo); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.notice p { margin: .3rem 0 0; }
.booking-card { border: var(--rule); box-shadow: 6px 6px 0 var(--ink); margin-bottom: 2.5rem; }
.booking-status { margin: 0; padding: 1rem 1.25rem; background: var(--ink); color: var(--paper); font-weight: 600; }
.state-approved .booking-status, .state-change-pending .booking-status { background: var(--bronzo); color: var(--ink); }
.state-cancelled .booking-status, .state-declined .booking-status, .state-past .booking-status, .state-failed .booking-status { background: var(--crema); color: var(--ink); border-bottom: var(--rule); }
.booking-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.booking-facts div { padding: 1rem 1.25rem; border-top: var(--hair); }
.booking-facts dt { font-size: .8rem; color: var(--grey); }
.booking-facts dd { margin: .15rem 0 0; font-weight: 600; }
.booking-change { padding: 1rem 1.25rem; border-top: var(--rule); background: var(--crema); }
.booking-change h2 { font-size: 1rem; margin-bottom: .4rem; }
.booking-change p { margin: 0; font-weight: 600; }
.manage-section { margin-bottom: 2.5rem; }
.manage-section h2 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.cancel-form { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.cancel-form .btn-lg { width: auto; }
.btn-danger { background: var(--error); color: var(--paper); }
.btn-danger:hover { background: var(--ink); }
.manage-link { margin-top: 1.5rem; }

/* booking: next open days as one-tap buttons above the native date picker */
.qd-label { margin: 0 0 .6rem; }
.quick-dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.2rem, 1fr)); gap: .5rem; margin-bottom: 1.1rem; }
.qd { display: grid; gap: .15rem; justify-items: center; padding: .6em .4em; min-height: 3.6rem; border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
  font: 600 1rem/1.1 var(--sans); cursor: pointer; font-variant-numeric: tabular-nums; }
.qd-wd { font-size: .78rem; font-weight: 400; }
.qd:hover { background: var(--crema); }
.qd[aria-pressed=true] { background: var(--bronzo); box-shadow: 3px 3px 0 var(--ink); }
.qd-other { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }

/* form feedback: say what is wrong right under the field */
.field-err { color: var(--error); font-weight: 600; font-size: .88rem; margin: .4rem 0 0; }
.field-err[hidden], .form-err[hidden] { display: none; }
.field-err::before { content: ''; display: inline-block; width: .55em; height: .55em; background: currentColor; margin-right: .45em; vertical-align: .1em; }
.check:has([aria-invalid=true]) { color: var(--error); }
.check [aria-invalid=true] { outline: 2px solid var(--error); outline-offset: 1px; }
.times[aria-invalid=true] .chip span { border-color: var(--error); }
.form-err { margin: 0; border-color: var(--error); }
.reserve-form .step, .reserve-form input, .manage-section, .cancel-confirm { scroll-margin-top: 90px; }
.is-loading::after { content: ''; display: inline-block; width: .6em; height: .6em; margin-left: .5em; background: var(--bronzo); vertical-align: .05em; animation: su-spin .9s linear infinite; }

/* busy submit button: a small turning square; the button keeps its size */
.btn.is-busy { cursor: progress; }
.btn.is-busy::after { content: ''; width: .8em; height: .8em; border: 2px solid currentColor; animation: su-spin .9s linear infinite; flex: none; }
.btn:disabled:not(.is-busy) { opacity: .6; }
@keyframes su-spin { to { transform: rotate(360deg); } }

/* manage booking: jump straight to change or cancel */
.booking-actions { display: grid; grid-template-columns: 1fr 1fr; border-top: var(--rule); }
.booking-actions a { display: flex; align-items: center; justify-content: center; min-height: 3.2rem; font-weight: 600; text-decoration: none; }
.booking-actions a + a { border-left: var(--rule); }
.booking-actions a:hover { background: var(--crema); }
.booking-actions a:focus-visible { outline-offset: -6px; }
.thanks-when { font: 400 1.15rem/1.45 var(--wide); border-top: var(--rule); border-bottom: var(--rule); padding: 1rem 0; }
.manage-link .hint { margin-bottom: 1.5rem; }

/* phone numbers in running text: tappable, never split over two lines */
.tel { white-space: nowrap; }

/* mobile navigation: a Menu button in the header that opens the page list under it (no JS) */
.mob-nav { display: none; }
.mob-nav summary { list-style: none; display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding: 0 .85rem;
  border: 2px solid var(--ink); font: 600 .95rem/1 var(--sans); cursor: pointer; user-select: none; }
.mob-nav summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 1.1rem; height: 2px; background: currentColor; }
.burger { position: relative; }
.burger::before, .burger::after { content: ''; position: absolute; left: 0; }
.burger::before { top: -6px; } .burger::after { top: 6px; }
.mob-nav[open] summary { background: var(--ink); color: var(--paper); }
.mob-nav[open] .burger { background: transparent; }
.mob-nav[open] .burger::before { top: 0; transform: rotate(45deg); }
.mob-nav[open] .burger::after { top: 0; transform: rotate(-45deg); }
.mob-nav nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: var(--rule); display: grid; }
.mob-nav nav a { display: flex; align-items: center; min-height: 3.25rem; padding: 0 var(--pad); font: 400 1.05rem/1 var(--wide); text-decoration: none; border-top: var(--hair); }
.mob-nav nav a[aria-current] { background: var(--ink); color: var(--paper); }
.mob-nav nav a:active { background: var(--crema); }

@media (max-width: 900px) {
  .mob-nav { display: block; }
  .header-actions { gap: .6rem; }
}

/* phones: the booking form gets the full width, everything is thumb-sized */
@media (max-width: 600px) {
  .site-header { gap: .75rem; }
  .site-header .brand { width: 118px; }
  .lang-switch a { min-width: 2.4rem; }
  .reserve-form { gap: 1.25rem; }
  .step { padding: .9rem .85rem 1.1rem; }
  .step legend { font-size: .98rem; padding: 0 .4rem; }
  .quick-dates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qd { min-height: 3.75rem; }
  .chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
  .chips > .hint, .chips > .alert, .chips > p { grid-column: 1 / -1; }
  .chip span { display: grid; min-width: 0; min-height: 3rem; padding: .6em .2em; }
  .times .chip span { font-size: .95rem; }
  input[type=date], input:not([type]), input[type=email], input[type=tel], textarea { padding: .75em .8em; font-size: 1rem; }
  .check { font-size: .95rem; gap: .75rem; }
  .check input { width: 1.5rem; height: 1.5rem; margin-top: .1rem; flex: none; }
  /* full-width buttons keep their hard shadow inside the column */
  .btn-lg { width: calc(100% - 4px); }
  .cancel-form .btn-lg { width: calc(100% - 4px); }
  .booking-card { box-shadow: 4px 4px 0 var(--ink); margin-right: 4px; }
  .site-footer a { display: inline-block; padding: .3rem 0; }
}

/* iOS Safari collapses an empty date input and centres its text: give it a real height and left-align it */
input[type=date] { -webkit-appearance: none; appearance: none; display: block; min-height: 3.1rem; text-align: left; }
input[type=date]::-webkit-date-and-time-value { text-align: left; }

/* small phones: logo keeps its size, the Menu button becomes an icon (label stays for screen readers) */
.site-header .brand { flex: none; }
@media (max-width: 400px) {
  .site-header .brand { width: 104px; }
  .header-actions { gap: .4rem; }
  .lang-switch a { min-width: 2.25rem; }
  .mob-nav summary { width: 2.75rem; padding: 0; justify-content: center; }
  .mob-nav-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.mob-nav:not([open]) nav { display: none; }

/* ---------- motion ----------
   One orchestrated moment (the homepage opening), everything else answers something: a photo arriving,
   times loading, a tap. Only transform, opacity, clip-path and filter are animated. All of it is switched
   off by the prefers-reduced-motion rule above. */
:root { --ease-out: cubic-bezier(.2, .7, .2, 1); --ease-wipe: cubic-bezier(.75, 0, .25, 1); }

/* Homepage opening, once per visit (intro.js sets .intro on <html>): a bronze block sweeps across
   the logo and leaves it behind, then the tagline, photo and bar settle in. */
.intro .hero-logo { position: relative; overflow: hidden; }
.intro .hero-logo::after { content: ''; position: absolute; inset: clamp(2rem, 6vw, 4.5rem) var(--pad) clamp(1.5rem, 4vw, 3rem); background: var(--bronzo);
  transform-origin: left; transform: scaleX(0); animation: su-sweep .9s var(--ease-wipe) .1s both; }
.intro .hero-logo .logo { animation: su-unveil .9s steps(1, end) .1s both; }
.intro .hero-tag { animation: su-rise .6s var(--ease-out) .75s both; }
.intro .hero-photo { animation: su-wipe-up .8s var(--ease-wipe) .6s both; }
.intro .hero-bar li { animation: su-rise .5s var(--ease-out) both; }
.intro .hero-bar li:nth-child(1) { animation-delay: .9s; } .intro .hero-bar li:nth-child(2) { animation-delay: .96s; }
.intro .hero-bar li:nth-child(3) { animation-delay: 1.02s; } .intro .hero-bar li:nth-child(4) { animation-delay: 1.08s; }
.intro .today.is-open .dot { animation: su-blink 1.2s steps(2, jump-none) 1.3s 2 both; }
@keyframes su-sweep { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; }
  50.01% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
@keyframes su-unveil { 0% { visibility: hidden; } 50% { visibility: visible; } 100% { visibility: visible; } }
@keyframes su-rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes su-wipe-up { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes su-blink { 0% { opacity: 1; } 50% { opacity: .15; } 100% { opacity: 1; } }

/* Photos: a crema block breathes while the photo loads, then the photo develops from washed-out to full colour.
   (filter keeps the black rules around the photo intact, unlike an opacity fade.) */
img.is-wait { background-color: var(--crema); animation: su-breathe 1.4s ease-in-out infinite; color: transparent; }
img.is-in { animation: su-develop .7s var(--ease-out) both; }
@keyframes su-breathe { 50% { background-color: #ebdfc6; } }
@keyframes su-develop { from { filter: grayscale(1) contrast(.55) brightness(1.35); } }

/* Booking: placeholder slots while times load, then the real times drop in left to right. */
.chip-skel { display: inline-block; width: 3.6rem; height: 3.35rem; border: 2px solid #c9c2b2; background: var(--crema);
  animation: su-breathe 1.1s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 70ms); }
.chip.is-new span { animation: su-rise .35s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 22ms); }
.chip input:checked + span, .qd[aria-pressed=true] { animation: su-stamp .18s var(--ease-out); }
@keyframes su-stamp { from { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) { .chip-skel { width: auto; height: 3rem; } }

/* Hover and tap feedback */
.main-nav a { border-bottom: 0; position: relative; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--bronzo);
  transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease-out); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a[aria-current]::after { transform: scaleX(1); background: var(--ink); }
.hero-bar a, .post-card a, .menu-tabs a, .booking-actions a, .qd, .chip span, .btn-ghost, .btn-primary { transition: background-color .15s, color .15s, transform .08s, box-shadow .08s; }
.post-card h3 { background: linear-gradient(var(--bronzo), var(--bronzo)) 1.25rem 100% / 0 3px no-repeat; transition: background-size .25s var(--ease-out); }
.post-card a:hover h3 { background-size: calc(100% - 2.5rem) 3px; }
.masonry-item { transition: transform .12s var(--ease-out), box-shadow .12s var(--ease-out); }
.masonry-item:hover { transform: translate(-4px, -4px); box-shadow: 4px 4px 0 var(--ink); }
.masonry-item:active { transform: none; box-shadow: none; }
.mob-nav[open] nav { animation: su-drop .22s var(--ease-out); }
@keyframes su-drop { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.burger::before, .burger::after { transition: transform .2s var(--ease-out), top .2s var(--ease-out); }

/* Page to page: the header stays put, the page underneath cross-fades. Browsers without support just navigate. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: .14s ease-in both su-fade-out; }
::view-transition-new(root) { animation: .22s var(--ease-out) .04s both su-fade-in; }
@keyframes su-fade-out { to { opacity: 0; } }
@keyframes su-fade-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* gallery photo viewer: the photo on black, a big close button top right, arrows at the sides */
.viewer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--ink); color: var(--paper); overflow: hidden; touch-action: pan-y; }
.viewer[open] { display: grid; place-items: center; animation: su-fade-in .2s var(--ease-out); }
.viewer::backdrop { background: var(--ink); }
.viewer-img { max-width: calc(100% - 9rem); max-height: calc(100% - 10rem); object-fit: contain; border: 3px solid var(--paper); user-select: none; -webkit-user-drag: none; }
.viewer-img.is-swap { animation: su-develop .45s var(--ease-out); }
.viewer-btn { position: absolute; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-width: 3rem; height: 3rem; padding: 0 .9rem;
  background: var(--ink); color: var(--paper); border: 3px solid var(--paper); font: 600 1rem/1 var(--sans); cursor: pointer; transition: background-color .15s, color .15s; }
.viewer-btn span[aria-hidden] { font-size: 1.9rem; line-height: 1; margin-top: -.15em; }
.viewer-btn:hover { background: var(--bronzo); color: var(--ink); border-color: var(--bronzo); }
.viewer-btn:focus-visible { outline: 3px solid var(--bronzo); outline-offset: 3px; }
.viewer-close { top: 1rem; right: 1rem; }
.viewer-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.viewer-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.viewer-count { position: absolute; bottom: 1rem; left: 0; right: 0; margin: 0; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .viewer-img { max-width: 100%; max-height: calc(100% - 9rem); border-left: 0; border-right: 0; }
  .viewer-prev, .viewer-next { top: auto; bottom: 1rem; transform: none; }
  .viewer-count { bottom: 1.85rem; }
  .viewer-close-t { display: none; }
}
/* welcome bar for the new site */
.welcome { display: flex; align-items: center; gap: .75rem; padding: .35rem var(--pad); padding-right: calc(var(--pad) - .6rem);
  background: var(--crema); border-bottom: var(--hair); font-size: .92rem; line-height: 1.4; }
.welcome p { margin: 0; flex: 1; max-width: 70ch; }
.welcome-x { flex: none; width: 2.75rem; height: 2.75rem; margin-left: auto; border: 0; background: none; color: var(--ink);
  font-size: 1.6rem; line-height: 1; cursor: pointer; }
.welcome-x:hover { background: rgba(0,0,0,.06); }
.welcome-x:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.welcome-off .welcome { display: none; }
@media (max-width: 600px) { .welcome { font-size: .85rem; } }

/* news cards: a post without a cover is a compact text card; one post never stretches the full width */
.post-grid { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.post-card.no-cover a { padding-top: 1.25rem; }

/* contact page: the visit card spans the same width as the page heading */
.page > .section.visit { width: 100%; max-width: none; margin-top: clamp(1.5rem, 4vw, 2.5rem); }

/* homepage: the small header logo appears once the big wordmark has scrolled away */
.page-home .site-header .brand { visibility: hidden; opacity: 0; transform: translateY(-4px);
  transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s; }
.page-home .site-header.show-brand .brand { visibility: visible; opacity: 1; transform: none;
  transition: opacity .45s ease, transform .45s ease, visibility 0s; }
/* a plain fade is not motion, so keep it (without the slide) when the visitor asks for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .page-home .site-header .brand { transform: none; transition: opacity .45s ease, visibility 0s linear .45s !important; }
  .page-home .site-header.show-brand .brand { transition: opacity .45s ease, visibility 0s !important; }
}

/* hero links read as links */
.hero-bar a:not(.bar-cta) span { text-decoration: underline; text-decoration-color: var(--bronzo); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* desktop hero: today's hours and the booking button sit under the tagline; the bar keeps menu and address */
.hero-left { display: flex; flex-direction: column; }
.hero-cta { display: none; }
@media (min-width: 901px) {
  .hero-row.has-photo .hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: auto;
    padding: 0 var(--pad) clamp(1.5rem, 4vw, 3rem); }
  .hero-cta .today { display: flex; align-items: center; margin: 0; font-weight: 600; font-size: 1.05rem; }
  .hero-cta .btn-lg { width: auto; }
  .hero-row.has-photo + .hero-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-row.has-photo + .hero-bar li:nth-child(-n+2) { display: none; }
  .hero-row.has-photo + .hero-bar li:nth-child(3) { border-left: 0; }
}

/* news post with a photo: text first. Desktop puts the photo in a second column that stays in view;
   phones show it after the text. The photo is never cropped, since covers are often menus or posters. */
.post-page.has-cover .post-cover { height: auto; margin: 2rem 0 0; }
@media (min-width: 901px) {
  .post-page.has-cover { max-width: var(--max); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(2rem, 5vw, 4.5rem); align-items: start; grid-template-rows: auto 1fr; }
  .post-page.has-cover .post-main { grid-column: 1; grid-row: 1; }
  .post-page.has-cover .post-cta { grid-column: 1; grid-row: 2; }
  .post-page.has-cover .post-cover { grid-column: 2; grid-row: 1 / span 2; }
  .post-page.has-cover .post-cover { margin: 0; position: sticky; top: 6rem; justify-self: start;
    width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 8rem); }
}
