/*
 * Mass Website System - mosaic template.
 *
 * Per-site colors arrive as custom properties in an inline <style> (App\Media\Palette::tokens):
 * --bg --surface --surface-2 --text --muted --line --accent --on-accent --accent-text --accent-soft --focus.
 * Options: html[data-theme] (light|dark), html[data-font], html[data-shape] (soft|sharp).
 * Accessibility settings: html[data-a11y-*] (site.js).
 *
 * Every space comes from the --s* scale and every corner from the --r* scale, so the two
 * shapes and all sections stay in step.
 */

/* ================= tokens ================= */
:root {
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --s9: clamp(56px, 7vw, 96px);
  --s10: clamp(88px, 11vw, 168px);
  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1320px;
  --header-h: 76px;

  --r-sm: 10px; --r-md: 18px; --r-lg: 28px; --r-btn: 999px;
  --btn-transform: none; --btn-tracking: 0; --btn-size: 1rem; --btn-weight: 650;

  --fs-display: clamp(3.1rem, 1.1rem + 8.2vw, 7rem);
  --fs-h2: clamp(2.7rem, 1.3rem + 5.2vw, 4.6rem);
  --fs-h3: clamp(1.45rem, 1.15rem + 1vw, 2rem);
  --fs-lead: clamp(1.3rem, 0.95rem + 1.5vw, 2.25rem);
  --fs-small: .875rem;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-lux: cubic-bezier(.19, 1, .22, 1); /* long, soft landing for photo entrances */
  --ease-veil: cubic-bezier(.7, 0, .2, 1); /* slow start and end: the veil over a photo */

  --sans-fallback: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Microsoft JhengHei", "PingFang TC",
    "Noto Sans CJK TC", "Noto Sans Thai", "Leelawadee UI", sans-serif;
  --serif-fallback: Georgia, "Times New Roman", "Noto Serif", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-body: "MWS Manrope", var(--sans-fallback);
  --font-head: "MWS Fraunces", var(--serif-fallback);
  --head-weight: 500; --head-tracking: -0.035em; --head-transform: none; --head-leading: .95;

  --footer-bg: #0e0e0d; --footer-text: #f1efea; --footer-muted: #a9a59e; --footer-line: rgb(255 255 255 / .12);
  --shadow-lg: 0 24px 60px -24px rgb(0 0 0 / .35);
  color-scheme: light;
}
[data-theme="dark"] { color-scheme: dark; --footer-bg: #070707; --shadow-lg: 0 24px 60px -20px rgb(0 0 0 / .7); }

[data-shape="sharp"] { --r-sm: 0; --r-md: 0; --r-lg: 0; --r-btn: 0; }

[data-font="clean"]   { --font-body: "MWS Manrope", var(--sans-fallback); --font-head: "MWS Manrope", var(--sans-fallback); --head-weight: 700; --head-tracking: -0.05em; }
[data-font="elegant"] { --font-body: "MWS Source Sans 3", var(--sans-fallback); --font-head: "MWS Playfair Display", var(--serif-fallback); --head-weight: 500; --head-tracking: -0.03em; }
[data-font="bold"]    { --font-body: "MWS Source Sans 3", var(--sans-fallback); --font-head: "MWS Oswald", var(--sans-fallback); --head-weight: 600; --head-tracking: -0.01em; --head-transform: uppercase; --head-leading: .92; }
[data-font="rounded"] { --font-body: "MWS Nunito", var(--sans-fallback); --font-head: "MWS Nunito", var(--sans-fallback); --head-weight: 800; --head-tracking: -0.04em; }
[data-font="system"]  { --font-body: var(--sans-fallback); --font-head: var(--sans-fallback); --head-weight: 700; --head-tracking: -0.04em; }

/* shared modules (www/common/modules) take this template's colors, fonts and corners
   (html:root outweighs the defaults core.css sets on :root, which loads after this file) */
html:root {
  --mws-bg: var(--bg); --mws-surface: var(--surface); --mws-text: var(--text); --mws-muted: var(--muted); --mws-line: var(--line);
  --mws-accent: var(--accent); --mws-on-accent: var(--on-accent); --mws-accent-text: var(--accent-text); --mws-focus: var(--focus);
  --mws-font: var(--font-body); --mws-font-head: var(--font-head); --mws-radius: var(--r-lg); --mws-radius-btn: var(--r-btn);
}
@media (max-width: 760px) { body:has(.actionbar.is-shown), .no-js body.has-actionbar { --mws-fab-bottom: calc(88px + env(safe-area-inset-bottom)); --mws-fab-right: 12px; } }
html.mws-consent-open .actionbar { display: none; }
/* phone: while the cookie sheet is up, the name and buttons of the first screen sit above it and
   the accessibility button it lifts (48px + gaps); the hero is 92svh there */
@media (max-width: 640px) {
  .hero:not(.hero-plain) { transition: padding-bottom .4s var(--ease); }
  html.mws-consent-open .hero:not(.hero-plain) { padding-bottom: max(0px, var(--mws-consent-h, 0px) + 72px - 8svh); }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) { .hero:not(.hero-plain) { transition: none; } }

/* ================= base ================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--s4)); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
body.menu-open { overflow: hidden; }

html:has(dialog[open]) { overflow: hidden; } /* the page behind a dialog does not scroll: one scrollbar only */
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); line-height: 1.1; margin: 0; text-transform: var(--head-transform); text-wrap: balance; }
p { margin: 0 0 var(--s4); }
p:last-child { margin-bottom: 0; }
a { color: var(--accent-text); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.nowrap { white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-sm { width: 1.05em; height: 1.05em; }
::selection { background: var(--accent); color: var(--on-accent); }

.sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.hero :focus-visible, .band.has-photo :focus-visible, .site-footer :focus-visible, .lightbox :focus-visible,
.js .site-header.is-overlay:not(.is-scrolled) :focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px rgb(0 0 0 / .5); }
main:focus { outline: none; }
main { overflow-x: clip; }

.skip-link {
  position: fixed; left: var(--s3); top: var(--s3); z-index: 300; transform: translateY(-200%);
  background: var(--text); color: var(--bg); padding: var(--s3) var(--s5); border-radius: var(--r-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { transform: none; }

/* ================= buttons ================= */
.btn {
  --btn-pad: var(--s5);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; max-width: 100%; padding: 0 var(--btn-pad); border-radius: var(--r-btn); border: 1px solid transparent;
  font-family: var(--font-body); font-weight: var(--btn-weight); font-size: var(--btn-size); line-height: 1.15;
  letter-spacing: var(--btn-tracking); text-transform: var(--btn-transform);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { transition: transform .35s var(--ease-out); }
.btn:hover .icon { transform: translate(2px, -2px); }
.btn[href^="tel"]:hover .icon, .btn[href^="#"]:hover .icon, button.btn:hover .icon { transform: none; }
.btn-lg { min-height: 58px; --btn-pad: var(--s6); font-size: calc(var(--btn-size) * 1.06); }
.btn-sm { min-height: 44px; --btn-pad: var(--s4); font-size: calc(var(--btn-size) * .92); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 88%, var(--on-accent)); }
.btn-glass { background: rgb(255 255 255 / .1); color: #fff; border-color: rgb(255 255 255 / .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: #fff; color: #111; border-color: #fff; }
.btn-line { background: transparent; color: var(--text); border-color: color-mix(in srgb, var(--text) 28%, transparent); }
.btn-line:hover { border-color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); }
.link-button { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; text-align: left; min-height: 24px; }

/* ================= header ================= */
.site-header {
  position: sticky; top: 0; z-index: 60; color: var(--text);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.js .site-header.is-overlay { position: fixed; left: 0; right: 0; }
.js .site-header.is-overlay:not(.is-scrolled) { background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header-row { display: flex; align-items: center; gap: var(--s5); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; min-width: 0; flex: 0 1 auto; margin-right: auto; color: inherit; text-decoration: none; }
.brand img { max-width: 100%; } /* with large text the menu button grows; the logo gives way */
/* Header in the logo's colors (--hd-bg / --hd-fg, set inline from the logo). The logo image
   keeps its own background, which is the header's color, so its edge cannot be seen. */
.site-header.has-brand { background: var(--hd-bg); color: var(--hd-fg); border-bottom-color: color-mix(in srgb, var(--hd-fg) 14%, transparent); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.has-brand :focus-visible { outline-color: var(--hd-fg); }
.site-header.has-brand .btn-line { color: var(--hd-fg); border-color: color-mix(in srgb, var(--hd-fg) 55%, transparent); }
.brand-logo { display: block; height: auto; max-height: 52px; width: auto; max-width: min(200px, 42vw); object-fit: contain; }
.brand-logo.is-badge { max-height: 46px; border-radius: var(--r-sm); box-shadow: 0 0 0 1px color-mix(in srgb, currentColor 14%, transparent), 0 8px 22px -12px rgb(0 0 0 / .45); }
/* Over the photo, a shade behind the header keeps the logo and the links readable where the
   photo is bright (it fades out as the header turns solid). */
.js .site-header.is-overlay::before { content: ""; position: absolute; inset: 0 0 -60px; z-index: -1; pointer-events: none; background: linear-gradient(rgb(0 0 0 / .62), rgb(0 0 0 / .28) 60%, transparent); transition: opacity .4s var(--ease); }
.js .site-header.is-overlay.is-scrolled::before { opacity: 0; }
/* a light logo over the photo: a soft shadow keeps it readable on bright spots */
.js .site-header.is-overlay:not(.is-scrolled) .brand-logo { filter: drop-shadow(0 2px 14px rgb(0 0 0 / .45)); }
.brand-name { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.5rem; letter-spacing: var(--head-tracking); line-height: 1; text-transform: var(--head-transform); }
.site-nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: var(--s1); list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  position: relative; display: inline-flex; align-items: center; gap: var(--s1); min-height: 44px; padding: 0 var(--s3);
  color: inherit; text-decoration: none; font-weight: 600; font-size: .95rem; letter-spacing: var(--btn-tracking); text-transform: var(--btn-transform);
}
[data-shape="sharp"] .nav-menu a { font-size: .78rem; }
.nav-menu a::after { content: ""; position: absolute; left: var(--s3); right: var(--s3); bottom: 10px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav-menu a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; }
.nav-cta { display: none; }
.brand { position: relative; z-index: 2; }

@media (max-width: 860px) {
  .js .nav-toggle {
    position: relative; z-index: 2; display: inline-flex; align-items: center; gap: var(--s3); min-height: 44px; padding: 0 var(--s4);
    background: none; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); border-radius: var(--r-btn); cursor: pointer;
    font-weight: 650; font-size: .95rem; letter-spacing: var(--btn-tracking); text-transform: var(--btn-transform);
  }
  .nav-toggle-bars { position: relative; width: 18px; height: 10px; }
  .nav-toggle-bars span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease-out), top .35s var(--ease-out); }
  .nav-toggle-bars span:first-child { top: 0; } .nav-toggle-bars span:last-child { top: 8px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child { top: 4px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child { top: 4px; transform: rotate(-45deg); }
  .js .nav-menu {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--s2);
    padding: calc(var(--header-h) + var(--s5)) var(--gutter) var(--s8); background: var(--bg); color: var(--text);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .js .nav-menu.is-open { opacity: 1; visibility: visible; }
  .js .nav-menu a { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); text-transform: var(--head-transform); font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1.1; padding: var(--s1) 0; min-height: 48px; }
  .js .nav-menu a::after { display: none; }
  .js .nav-menu li { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
  .js .nav-menu.is-open li { opacity: 1; transform: none; }
  .js .nav-menu.is-open li:nth-child(2) { transition-delay: .05s; } .js .nav-menu.is-open li:nth-child(3) { transition-delay: .1s; }
  .js .nav-menu.is-open li:nth-child(4) { transition-delay: .15s; } .js .nav-menu.is-open li:nth-child(5) { transition-delay: .2s; }
  .js .nav-cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); width: 100%; }
  .js .nav-menu .nav-cta a { font-family: var(--font-body); font-weight: var(--btn-weight); letter-spacing: var(--btn-tracking); text-transform: var(--btn-transform); font-size: var(--btn-size); min-height: 56px; padding: 0 var(--s6); flex: 1 1 auto; }
  .js .nav-menu .nav-cta .btn-line { color: var(--text); }
  .js .nav-menu .nav-cta .btn-accent { color: var(--on-accent); }
  .site-header:has(.nav-menu.is-open) { color: var(--text) !important; }
  .site-header:has(.nav-menu.is-open) .header-cta { visibility: hidden; }
  /* with a header in the logo's color the open menu takes that color too, so the logo
     still sits on its own background */
  .js .site-header.has-brand .nav-menu { background: var(--hd-bg); color: var(--hd-fg); }
  .site-header.has-brand:has(.nav-menu.is-open) { color: var(--hd-fg) !important; background: var(--hd-bg) !important; }
  .js .site-header.has-brand .nav-menu .nav-cta .btn-line { color: var(--hd-fg); border-color: color-mix(in srgb, var(--hd-fg) 55%, transparent); }
  .no-js .site-nav { display: none; }
  .header-cta { display: none; }
  .brand-logo { max-height: 44px; }
}

/* ================= hero ================= */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; isolation: isolate; color: #fff; background: #111; min-height: 100svh; overflow: hidden; }
.hero-media, .hero-scrim { position: absolute; inset: 0; }
.hero-media { z-index: -2; }
/* Slides: each one enters with an effect (data-enter) and moves slowly while shown
   (data-move), both picked at random by site.js, never the same twice in a row. The slide
   it replaces stays underneath (is-leaving) until the new one has fully arrived. Photos
   move by at most a few percent, so the subject stays in the frame. */
.hero-image { position: absolute; inset: 0; opacity: 0; z-index: 0; overflow: hidden; }
.hero-image.is-active { opacity: 1; z-index: 2; animation: hero-fade 1.6s var(--ease) both; }
.hero-image.is-leaving { opacity: 1; z-index: 1; }
.hero-image.is-first { animation: none; }
.hero-image[data-enter="wipe"].is-active { animation: hero-wipe 1.5s cubic-bezier(.7, 0, .2, 1) both; }
.hero-image[data-enter="circle"].is-active { animation: hero-circle 1.7s var(--ease-out) both; }
.hero-image[data-enter="blur"].is-active { animation: hero-blur 1.8s var(--ease) both; }
.hero-image[data-enter="rise"].is-active { animation: hero-rise 1.6s var(--ease-out) both; }
@keyframes hero-fade { from { opacity: 0; } }
@keyframes hero-wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
@keyframes hero-circle { from { clip-path: circle(0% at 72% 45%); } to { clip-path: circle(150% at 72% 45%); } }
@keyframes hero-blur { from { opacity: 0; filter: blur(24px); transform: scale(1.04); } }
@keyframes hero-rise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
.hero-image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero-image.is-active img, .hero-image.is-leaving img { animation: var(--move, none) calc(var(--slide-ms) + 2.5s) linear both; }
.hero-image[data-move="zoom-in"] { --move: kb-zoom-in; }
.hero-image[data-move="zoom-out"] { --move: kb-zoom-out; }
.hero-image[data-move="pan-left"] { --move: kb-pan-left; }
.hero-image[data-move="pan-right"] { --move: kb-pan-right; }
.hero-image[data-move="pan-up"] { --move: kb-pan-up; }
.hero-image[data-move="drift"] { --move: kb-drift; }
@keyframes kb-zoom-in { from { transform: scale(1.02); } to { transform: scale(1.14); } }
@keyframes kb-zoom-out { from { transform: scale(1.15); } to { transform: scale(1.02); } }
@keyframes kb-pan-left { from { transform: scale(1.12) translateX(3%); } to { transform: scale(1.12) translateX(-3%); } }
@keyframes kb-pan-right { from { transform: scale(1.12) translateX(-3%); } to { transform: scale(1.12) translateX(3%); } }
@keyframes kb-pan-up { from { transform: scale(1.12) translateY(3%); } to { transform: scale(1.12) translateY(-3%); } }
@keyframes kb-drift { from { transform: scale(1.04) translate(-2%, 1.5%); } to { transform: scale(1.14) translate(2%, -1.5%); } }
.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(0 0 0 / .45) 0%, rgb(0 0 0 / 0) 22%),
    linear-gradient(0deg, rgb(0 0 0 / .86) 0%, rgb(0 0 0 / .5) 38%, rgb(0 0 0 / .12) 70%);
}
.hero-content { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: var(--s5); padding-top: calc(var(--header-h) + var(--s8)); padding-bottom: var(--s7); }
.hero-captions { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.hero-caption { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: var(--s4); transition: opacity .8s var(--ease), visibility .8s, transform .8s var(--ease-out); }
.hero-caption:not(.is-active) { opacity: 0; visibility: hidden; transform: translateY(12px); }
.hero-logo { max-height: clamp(88px, 15vw, 168px); max-width: min(380px, 72vw); width: auto; object-fit: contain; filter: drop-shadow(0 4px 24px rgb(0 0 0 / .5)); }
/* dark slide logos get no plate (owner, 2026-11-06); a light halo keeps their outline apart from the dark photo */
.hero-logo.tone-dark { filter: drop-shadow(0 0 1px rgb(255 255 255 / .55)) drop-shadow(0 0 18px rgb(255 255 255 / .35)); }
.hero-lead { display: flex; align-items: center; gap: var(--s3); margin: 0; font-size: clamp(1rem, .9rem + .5vw, 1.25rem); font-weight: 600; letter-spacing: .02em; text-shadow: 0 1px 16px rgb(0 0 0 / .45); max-width: min(46ch, 100%); overflow-wrap: anywhere; }
.hero-lead::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
/* never wider than the screen for the longest word (about .6em a letter in the widest set) */
.hero-title { font-size: min(var(--fs-display), (100vw - var(--gutter) * 2) / (var(--longest, 1) * .6)); line-height: calc(var(--head-leading) + .12); /* two lines of the name need room for capitals and descenders */ max-width: 14ch; text-wrap: balance; }
/* Each word rises out of its own slot. The slot reaches past the line box (padding, taken
   back by the negative margin) so accents (Í, É), descenders (y, g, p), overhanging serifs and
   tight tracking in every font set stay whole once the word has risen; the start offset
   clears that room. */
.hero-word { display: inline-block; overflow: hidden; vertical-align: top; padding: .22em .18em .28em; margin: -.22em -.18em -.28em; }
.hero-word > span { display: inline-block; animation: word-up 1.1s var(--ease-out) both; animation-delay: calc(.15s + var(--i) * .08s); }
@keyframes word-up { from { transform: translateY(140%); } }
/* hidden from view only: the name stays the page's h1 */
.hero:is([data-logo], [data-noname]) .hero-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s2); animation: fade-up 1s var(--ease-out) .55s both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }
.hero-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); padding-bottom: var(--s6); min-height: 76px; }
@media (min-width: 761px) { .hero-bar { padding-right: calc(var(--gutter) + 56px); } } /* room for the accessibility button */
.hero-controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); min-width: 0; }
.hero-dots { flex-wrap: wrap; }
.hero-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-btn); border: 1px solid rgb(255 255 255 / .4); background: transparent; color: #fff; cursor: pointer; transition: background-color .25s var(--ease), border-color .25s; }
.hero-btn:hover { background: rgb(255 255 255 / .14); border-color: #fff; }
.hero-btn .icon { width: 18px; height: 18px; }
.hero-pause .icon-play, .hero.is-paused .hero-pause .icon-pause { display: none; }
.hero.is-paused .hero-pause .icon-play { display: block; }
.hero-dots { display: flex; gap: var(--s1); }
.hero-dot { display: flex; align-items: center; width: 44px; height: 44px; padding: 0 var(--s1); background: none; border: 0; cursor: pointer; }
.hero-dot::before { content: none; }
.hero-dot-fill { position: relative; display: block; width: 100%; height: 2px; background: rgb(255 255 255 / .35); overflow: hidden; }
.hero-dot-fill::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-dot.is-done .hero-dot-fill::after { transform: scaleX(1); }
.hero-dot[aria-current="true"] .hero-dot-fill::after { transform: scaleX(1); }
.hero.is-playing .hero-dot[aria-current="true"] .hero-dot-fill::after { animation: fill var(--slide-ms) linear both; }
@keyframes fill { from { transform: scaleX(0); } }
.hero-count { font-variant-numeric: tabular-nums; font-size: var(--fs-small); letter-spacing: .08em; opacity: .85; }
.no-js .hero-controls { display: none; }
.hero-plain { min-height: 0; background: var(--surface); color: var(--text); grid-template-rows: auto; }
.hero-plain .hero-content { padding-top: var(--s10); padding-bottom: var(--s9); }
.hero-plain .btn-glass { color: var(--text); border-color: var(--line); background: transparent; }
@media (max-width: 760px) {
  .hero { min-height: 92svh; }
  .hero-content { gap: var(--s4); padding-bottom: var(--s5); }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-bar { padding-bottom: var(--s4); min-height: 60px; }
  .hero-dot { width: 32px; }
}

/* ================= ticker ================= */
.ticker { overflow: hidden; background: var(--accent); color: var(--on-accent); border-block: 1px solid color-mix(in srgb, var(--on-accent) 12%, transparent); }
.ticker-track { display: flex; width: max-content; padding: var(--s5) 0; will-change: transform; }
.ticker-run { display: flex; align-items: center; flex: none; }
.ticker-word { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); text-transform: var(--head-transform); font-size: clamp(1.6rem, 1rem + 2.6vw, 3.4rem); line-height: 1; white-space: nowrap; }
.ticker-sep { padding: 0 var(--s6); font-size: clamp(.9rem, .7rem + .8vw, 1.4rem); opacity: .7; }
@supports (animation-timeline: view()) {
  .ticker-track { animation: ticker linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }

/* ================= sections ================= */
.section { padding-block: var(--s10); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s4) var(--s6); margin-bottom: var(--s8); padding-bottom: var(--s5); border-bottom: 1px solid var(--line); }
.sec-title { display: flex; align-items: flex-start; gap: var(--s3); font-size: var(--fs-h2); line-height: var(--head-leading); }
.sec-meta { margin: 0; color: var(--muted); font-size: var(--fs-small); font-weight: 600; }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7); align-items: start; }
.about-head { grid-column: 1 / -1; }
.about-body { grid-column: 1 / -1; }
.about-text { font-family: var(--font-head); font-weight: calc(var(--head-weight) - 100); font-size: var(--fs-lead); line-height: 1.3; letter-spacing: -0.015em; text-wrap: pretty; margin: 0; text-transform: none; }
[data-font="bold"] .about-text, [data-font="clean"] .about-text, [data-font="system"] .about-text { font-weight: 500; }
.about-text.is-long { font-family: var(--font-body); font-weight: 400; font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.75; letter-spacing: 0; color: var(--text); }
.about-text img { display: inline-block; vertical-align: middle; margin-top: var(--s4); }
.about-collage { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; margin-top: var(--s5); min-width: 0; }
.collage-a, .collage-b { overflow: hidden; border-radius: var(--r-lg); }
.collage-a { grid-column: 1 / span 7; aspect-ratio: 4 / 5; }
.collage-b { grid-column: 9 / span 4; aspect-ratio: 3 / 4; margin-top: clamp(72px, 16vw, 240px); }
.collage-a img, .collage-b img { width: 100%; height: 115%; object-fit: cover; }
@media (min-width: 960px) {
  /* twelve columns only where they fit: eleven 32 px gaps alone are wider than a phone */
  .about-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s6); }
  .about-head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + var(--s6)); }
  .about-body { grid-column: 5 / -1; }
  .about-collage { grid-column: 5 / -1; margin-top: 0; }
}

/* gallery mosaic */
.gallery-section { background: var(--surface); }
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 42vw, 260px); grid-auto-flow: dense; gap: var(--s3); }
@media (min-width: 720px) { .mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 22vw, 260px); gap: var(--s4); } }
@media (min-width: 1100px) { .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 17vw, 270px); } }
.tile { position: relative; min-width: 0; }
.tile[hidden] { display: none; }
.tile-lead { grid-column: span 2; grid-row: span 2; }
.tile figure { margin: 0; height: 100%; position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); }
.tile-open { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: none; border-radius: inherit; }
.tile-open img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s var(--ease); }
.tile:hover .tile-open img { transform: scale(1.06); }
.tile-zoom { position: absolute; top: var(--s3); right: var(--s3); display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-btn); background: rgb(255 255 255 / .92); color: #111; opacity: 0; transform: scale(.85); transition: opacity .35s var(--ease), transform .35s var(--ease-out); }
.tile:hover .tile-zoom, .tile-open:focus-visible .tile-zoom { opacity: 1; transform: none; }
.tile-caption {
  position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; padding: var(--s7) var(--s4) var(--s4);
  background: linear-gradient(0deg, rgb(0 0 0 / .78), rgb(0 0 0 / 0)); color: #fff; font-size: .92rem; line-height: 1.35;
}
.tile-lead .tile-caption { padding: var(--s8) var(--s5) var(--s5); font-size: 1.05rem; }
.tile-title { display: block; font-weight: 700; }
.tile-desc { display: block; color: rgb(255 255 255 / .86); }
/* Long dish names stay inside the tile: at most three lines of name and two of description
   (the lightbox shows them in full); on narrow screens, where tiles are short, two and one, a little smaller. */
.tile-title, .tile-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; padding-inline: .12em; margin-inline: -.12em; }
.tile-desc { -webkit-line-clamp: 2; line-clamp: 2; }
.tile:not(.tile-lead) .tile-caption { padding-top: var(--s6); }
@media (max-width: 719.98px) {
  .tile:not(.tile-lead) .tile-caption { padding: var(--s5) var(--s3) var(--s3); font-size: .85rem; }
  .tile:not(.tile-lead) .tile-title { -webkit-line-clamp: 2; line-clamp: 2; }
  .tile:not(.tile-lead) .tile-desc { -webkit-line-clamp: 1; line-clamp: 1; }
}
/* A caption with only one line of text (most sites put the dish name in the description) gets the
   room of both: three lines everywhere, and full white when the description stands alone. */
.tile .tile-title:only-child, .tile .tile-desc:only-child { -webkit-line-clamp: 3; line-clamp: 3; }
.tile-desc:only-child { color: #fff; }
.tile-title + .tile-desc { margin-top: 2px; }
.tile-open:focus-visible { outline-offset: -4px; outline-color: #fff; box-shadow: inset 0 0 0 7px rgb(0 0 0 / .45); }
.mosaic-more { display: flex; justify-content: center; margin-top: var(--s7); }

/* photo band */
.band { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; min-height: clamp(420px, 72svh, 760px); padding-block: var(--s10); background: var(--surface); }
.band.has-photo { color: #fff; background: #111; }
.band-media { position: absolute; inset: -12% 0; z-index: -2; }
.band-media img { width: 100%; height: 100%; object-fit: cover; }
.band.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 50% 50%, rgb(0 0 0 / .35), rgb(0 0 0 / .72)); }
.band-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s6); }
/* drift: the photo moves slowly back and forth behind the text */
.band-drift .band-media img { animation: band-drift 26s var(--ease) infinite alternate; }
@keyframes band-drift { from { transform: scale(1.06) translateX(-2%); } to { transform: scale(1.14) translateX(2%); } }
/* reveal: the photo opens from a framed window to the full width as the band scrolls in */
.band-reveal .band-media { inset: 0; }
/* split: photo on one side, the call to action on the other */
@media (min-width: 960px) {
  .band-split { grid-template-columns: 1fr 1fr; padding: 0; min-height: clamp(480px, 70svh, 720px); background: var(--surface); color: var(--text); }
  .band-split::after { content: none !important; }
  .band-split .band-media { position: relative; inset: auto; z-index: 0; height: 100%; }
  .band-split .band-inner { align-items: flex-start; text-align: left; padding: var(--s9) var(--gutter); max-width: 680px; }
  .band-split .band-media img { animation: band-drift 30s var(--ease) infinite alternate; }
  .band-split :focus-visible { outline-color: var(--focus); box-shadow: none; }
  .band-split .btn-glass { color: var(--text); border-color: var(--line); background: transparent; }
}
.band-title { font-size: var(--fs-h2); line-height: var(--head-leading); max-width: 14ch; }
.band-orders { display: grid; gap: var(--s4); width: 100%; max-width: 920px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); text-align: left; }
.band-order { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s5); border-radius: var(--r-md); background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.band:not(.has-photo) .band-order { background: var(--bg); border-color: var(--line); backdrop-filter: none; }
.band-order-title { font-size: 1.3rem; }
.band-order-desc { margin: var(--s1) 0 0; font-size: .92rem; opacity: .85; line-height: 1.45; }

/* visit */
.visit-grid { display: grid; gap: var(--s8); align-items: center; }
@media (min-width: 960px) {
  .visit-grid.has-photo { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s9); }
  .visit-grid.has-map { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: var(--s8); align-items: stretch; }
  .visit-grid.has-map .loc-map { height: 100%; min-height: 520px; }
}
/* map: a calm frame that takes the theme's tone until it is used */
.loc-map { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.visit-grid.has-map .loc-map { aspect-ratio: auto; min-height: 340px; }
.loc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.04); transition: filter .5s var(--ease); }
.loc-map:hover iframe, .loc-map:focus-within iframe { filter: none; }
[data-theme="dark"] .loc-map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.6) brightness(.95); }
[data-theme="dark"] .loc-map:hover iframe, [data-theme="dark"] .loc-map:focus-within iframe { filter: invert(.9) hue-rotate(180deg) saturate(.9); }
html[data-a11y-contrast="on"] .loc-map iframe, html[data-a11y-gray="on"] .loc-map iframe { filter: none; }
.skip-map { position: absolute; z-index: 2; top: var(--s3); left: var(--s3); padding: var(--s2) var(--s4); background: var(--bg); color: var(--text); border-radius: var(--r-btn); font-weight: 600; transform: translateY(-200%); }
.skip-map:focus { transform: none; }
.map-off { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: var(--s3); padding: var(--s5); text-align: center; color: var(--muted); }
.map-off[hidden] { display: none; }
.map-off p { margin: 0; max-width: 32ch; }
.map-off .link-button { min-height: 44px; text-decoration: underline; text-underline-offset: .2em; }
.loc-map:has(.map-off:not([hidden])) { aspect-ratio: auto; min-height: 260px; }
.after-map { position: absolute; bottom: 0; left: 0; width: 1px; height: 1px; outline: 0; }
/* open now */
.open-now { display: inline-flex; align-items: center; gap: var(--s2); margin: 0 0 var(--s3); font-weight: 600; }
.open-now::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.open-now.is-open::before { background: #1f9d55; box-shadow: 0 0 0 0 rgb(31 157 85 / .5); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgb(31 157 85 / 0); } 100% { box-shadow: 0 0 0 0 rgb(31 157 85 / 0); } }
/* several locations: tabs */
/* Order Online: one card per location, before the details (and in the dialog) */
.order-choose { margin-bottom: var(--s9); }
.order-choose-title, .locs-title { font-size: var(--fs-h3); line-height: 1.2; }
.order-choose-lead { margin: var(--s1) 0 var(--s5); color: var(--muted); }
.order-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.order-card { display: flex; flex-direction: column; gap: var(--s5); min-width: 0; padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.order-card-text { flex: 1 1 auto; display: grid; gap: var(--s2); align-content: start; min-width: 0; }
.order-card-name { font-size: 1.35rem; line-height: 1.2; overflow-wrap: anywhere; hyphens: auto; }
.order-card-addr, .order-card-desc { margin: 0; color: var(--muted); font-size: var(--fs-small); line-height: 1.5; overflow-wrap: anywhere; }
.order-card-btn { width: 100%; }
.dlg-order .order-cards { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .dlg-order .order-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); } }
.locs-title { margin-bottom: var(--s2); }
.locs-hint { margin: 0 0 var(--s4); color: var(--muted); font-size: var(--fs-small); }
.no-js .locs-hint { display: none; }
/* Single location: the order links come first */
.visit-order { display: grid; gap: var(--s4); margin-bottom: var(--s6); }
.visit-order-item { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); }
.visit-order-item .btn { white-space: normal; text-align: center; }
.visit-order-desc { margin: 0; color: var(--muted); font-size: var(--fs-small); overflow-wrap: anywhere; }
.locs-tabs { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); }
.locs-tab { flex: 0 0 auto; max-width: 100%; display: grid; gap: 2px; text-align: left; min-height: 56px; padding: var(--s3) var(--s5); border: 1px solid var(--line); border-radius: var(--r-md); background: transparent; color: var(--text); cursor: pointer; transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.locs-tab:hover { border-color: var(--text); }
.locs-tab[aria-selected="true"] { border-color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--accent-text); background: color-mix(in srgb, var(--accent-text) 8%, transparent); }
.locs-tab { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s3); align-items: center; }
.locs-tab-on { display: none; grid-column: 2; grid-row: 1 / span 2; color: var(--accent-text); }
.locs-tab[aria-selected="true"] .locs-tab-on { display: block; }
.locs.is-stacked .locs-tab[aria-selected="true"] .locs-tab-go { display: none; }
.loc-showing { margin: 0 0 var(--s1); color: var(--accent-text); font-size: var(--fs-small); font-weight: 700; }
.no-js .loc-showing { display: none; }
.locs-tab-name { font-weight: 700; }
.locs-tab-line { font-size: var(--fs-small); opacity: .75; }
.locs-tab-name, .locs-tab-line { grid-column: 1; }
.locs-tab-go { display: none; }
/* tabs wrap onto more rows; on a narrow screen where they do not fit in one row they become
   a list (site.js sets is-stacked): a choice scrolls to its
   details, which carry "All locations" to come back, and Order comes first */
.locs.is-stacked .locs-tabs { flex-direction: column; flex-wrap: nowrap; }
.locs.is-stacked .locs-tab { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s3); align-items: center; width: 100%; }
.locs.is-stacked .locs-tab-go { display: block; grid-column: 2; grid-row: 1 / span 2; transform: rotate(90deg); opacity: .7; }
.loc-back { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; margin: calc(var(--s2) * -1) 0 var(--s3); padding: 0; border: 0; background: none; color: var(--text); font: inherit; font-size: var(--fs-small); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.loc-back[hidden] { display: none; }
.locs.is-stacked .loc-actions .btn-accent { order: -1; flex: 1 1 100%; justify-content: center; }
.loc-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7); padding: var(--s6); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.loc-panel:focus { outline: 0; }
.loc-panel:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.loc-panel + .loc-panel { margin-top: var(--s5); }
@media (max-width: 640px) { .loc-panel { padding: var(--s5) var(--s4); } }
.js .loc-panel + .loc-panel { margin-top: 0; }
.js .loc-panel[hidden] { display: none; }
.js .loc-panel:not([hidden]) { animation: fade-up .5s var(--ease-out); }
.no-js .locs-tabs { display: none; }
@media (min-width: 960px) {
  .loc-panel.has-map { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch; padding: var(--s7); }
  .loc-panel .loc-map { aspect-ratio: auto; min-height: 420px; }
}
.visit-info .sec-title { margin-bottom: var(--s7); }
.loc-name { font-weight: 700; margin-bottom: var(--s3); }
.loc-address { font-family: var(--font-head); font-weight: var(--head-weight); font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.01em; text-transform: none; }
.loc-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.loc-place { display: flex; align-items: flex-end; flex-wrap: wrap; gap: var(--s2) var(--s3); }
.loc-addr-link { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .18em; text-decoration-thickness: 1px; transition: text-decoration-color .2s; }
.loc-addr-link:hover, .loc-addr-link:focus-visible { text-decoration-color: currentColor; }
.loc-copy { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; padding: 0; border: 1px solid color-mix(in srgb, var(--text) 28%, transparent); border-radius: var(--r-btn); background: transparent; color: var(--text); cursor: pointer; transition: border-color .2s, background-color .2s; }
.loc-copy[hidden] { display: none; }
.loc-copy:hover { border-color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); }
.loc-copy .icon-check, .loc-copy.is-done .icon-copy { display: none; }
.loc-copy.is-done .icon-check { display: block; color: var(--accent-text); }
.loc-copied { color: var(--muted); font-size: var(--fs-small); font-weight: 600; line-height: 40px; }
.loc-copied:empty { display: none; }
.loc-extra { display: grid; gap: var(--s2); margin: var(--s6) 0 0; }
.loc-extra div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: var(--s4); }
.loc-extra dt { color: var(--muted); font-size: var(--fs-small); font-weight: 700; padding-top: .2em; }
.loc-extra dd { margin: 0; }
.loc-extra a { overflow-wrap: anywhere; display: inline-flex; min-height: 24px; align-items: center; }
.hours { margin-top: var(--s7); }
.hours-title { font-family: var(--font-body); font-size: var(--fs-small); font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--muted); margin-bottom: var(--s3); }
.hours-table { width: 100%; max-width: 520px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours-table th, .hours-table td { padding: var(--s3) 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.hours-table tr:last-child > * { border-bottom: 1px solid var(--line); }
.hours-table th { font-weight: 600; padding-right: var(--s5); white-space: nowrap; width: 1%; }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--accent-text); font-weight: 700; }
.hours-table tr.is-today th::after { content: "Today"; display: inline-block; margin-left: var(--s2); padding: 0 var(--s2); border-radius: var(--r-btn); background: var(--accent); color: var(--on-accent); font-size: .75rem; font-weight: 700; vertical-align: 1px; }
.visit-photo { overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 5; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 959px) { .visit-photo { aspect-ratio: 16 / 10; } }
.loc-cards { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.loc-card { display: flex; flex-direction: column; padding: var(--s6); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.loc-card-title { font-size: var(--fs-h3); margin-bottom: var(--s4); }
.loc-card .loc-address { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 400; letter-spacing: 0; line-height: 1.6; color: var(--text); }
.loc-card .loc-actions { margin-top: var(--s5); }
.loc-card .hours { margin-top: var(--s6); }
.loc-card .loc-extra { margin-top: var(--s5); }

/* promo */
.promo { padding-bottom: 0; }
.promo-inner { display: grid; gap: var(--s6); align-items: center; }
.promo-inner.has-photo { padding: var(--s5); border-radius: var(--r-lg); background: var(--surface); }
@media (min-width: 900px) { .promo-inner.has-photo { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); padding: var(--s6); } }
.promo-photo { overflow: hidden; border-radius: var(--r-md); }
.promo-photo img { width: 100%; }
.promo-kicker { color: var(--accent-text); font-size: var(--fs-small); font-weight: 700; margin-bottom: var(--s3); }
.promo-title { font-size: var(--fs-h2); line-height: var(--head-leading); margin-bottom: var(--s5); }
.promo-desc { font-size: 1.2rem; }

/* ================= footer ================= */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding-top: var(--s9); overflow: hidden; }
.site-footer a, .site-footer .link-button { color: var(--footer-text); text-decoration: none; }
.site-footer a:hover, .site-footer .link-button:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer-top { display: grid; gap: var(--s7) var(--s6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); padding-bottom: var(--s8); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s5); max-width: 360px; }
.footer-logo { display: block; height: auto; max-height: 72px; width: auto; max-width: 240px; object-fit: contain; }
/* the logo in its own background color, so a logo drawn on white or red keeps its edge */
.footer-logo-box { display: inline-flex; padding: var(--s3) var(--s4); background: var(--bb-bg); border-radius: var(--r-md); }
.footer-desc { color: var(--footer-muted); margin: 0; font-size: .95rem; }
.footer-head { font-family: var(--font-body); font-size: var(--fs-small); font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--footer-muted); margin-bottom: var(--s4); }
.footer-col p { margin: 0 0 var(--s1); color: var(--footer-text); }
.footer-loc + .footer-loc { margin-top: var(--s5); }
.footer-loc-name { font-weight: 700; }
.footer-loc a { display: inline-flex; align-items: center; min-height: 24px; overflow-wrap: anywhere; }
.footer-loc a.footer-map { display: inline; color: inherit; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .18em; }
.footer-loc a.footer-map:hover, .footer-loc a.footer-map:focus-visible { text-decoration-color: currentColor; }
.footer-links { display: grid; gap: var(--s2); }
.footer-links a, .footer-links .link-button { display: inline-flex; align-items: center; min-height: 32px; }
.sns { display: flex; flex-wrap: wrap; gap: var(--s2); }
.sns-link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-btn); border: 1px solid var(--footer-line); transition: background-color .25s var(--ease), border-color .25s, color .25s; }
.sns-link:hover { background: var(--footer-text); color: var(--footer-bg) !important; border-color: var(--footer-text); }
.sns-link .icon { width: 18px; height: 18px; }
.footer-mark { padding-block: var(--s4) 0; border-top: 1px solid var(--footer-line); }
/* a slide photo, darkened into the footer color, behind the big name */
.footer-mark-area { position: relative; isolation: isolate; overflow: hidden; }
.footer-mark-area.has-photo { padding-top: var(--s10); }
.footer-mark-area.has-photo .footer-mark { border-top: 0; }
.footer-photo { position: absolute; inset: -10% 0; z-index: -1; }
.footer-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7); }
.footer-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--footer-bg) 0%, rgb(14 14 13 / .68) 40%, rgb(14 14 13 / .8) 75%, var(--footer-bg) 100%); }
html[data-a11y-images="on"] .footer-photo { display: none; }
/* desktop: the page lifts off the footer, which waits underneath (html.footer-reveal is set
   by site.js only when the whole footer fits on the screen) */
/* below the last (sub-)pixel of the page the canvas shows the footer color, not a light line */
html.footer-reveal { background: var(--footer-bg); }
@media (min-width: 1024px) { html.footer-reveal body { background: transparent; } } /* main carries the page color there */
@media (min-width: 1024px) {
  html.footer-reveal main { position: relative; z-index: 1; background: var(--bg); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .5); }
  html.footer-reveal .site-footer { position: sticky; bottom: 0; z-index: 0; }
}
/* About: words take on full ink as they move up the screen (they start in the muted text
   color, which already meets the contrast minimum) */
@keyframes word-ink { from { color: var(--muted); } to { color: var(--text); } }
.footer-mark span {
  display: block; font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); text-transform: var(--head-transform);
  font-size: clamp(3rem, 12.5vw, 13rem); line-height: .9; white-space: nowrap; color: transparent;
  -webkit-text-stroke: 1px rgb(255 255 255 / .28); padding-block: var(--s5);
}
.footer-mark span::before { content: attr(data-text); } /* decoration drawn as generated content */
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); padding-block: var(--s5) var(--s6); border-top: 1px solid var(--footer-line); color: var(--footer-muted); font-size: var(--fs-small); }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s6); margin: 0 auto 0 0; padding: 0; list-style: none; }
.footer-legal li { display: flex; align-items: center; }
.footer-legal .link-button { min-height: 32px; color: var(--footer-muted); font-size: inherit; }
.footer-legal .link-button:hover { color: var(--footer-text); }
.footer-top-link { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; font-weight: 600; }

/* ================= mobile action bar / accessibility button ================= */
.actionbar { display: none; }
@media (max-width: 760px) {
  /* room for the floating bar at the end of the footer, so the footer color runs behind it */
  .has-actionbar .footer-bottom { padding-bottom: calc(var(--s6) + 80px + env(safe-area-inset-bottom)); }
  html:has(.has-actionbar) { scroll-padding-bottom: 96px; }
  .actionbar {
    position: fixed; z-index: 50; left: var(--s3); right: var(--s3); bottom: calc(var(--s3) + env(safe-area-inset-bottom)); display: flex; gap: var(--s2);
    padding: var(--s2); border-radius: var(--r-btn); background: color-mix(in srgb, var(--bg) 82%, transparent);
    border: 1px solid var(--line); box-shadow: var(--shadow-lg); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    transform: translateY(calc(100% + 40px)); transition: transform .5s var(--ease-out);
  }
  .actionbar.is-shown, .no-js .actionbar { transform: none; }
  .actionbar .btn { flex: 1; min-height: 48px; }
  .actionbar .btn-line { flex: 0 0 auto; }
}

/* ================= dialogs ================= */
.dlg {
  --dlg-pad: clamp(20px, 3.4vw, 36px);
  width: min(760px, calc(100vw - 2 * var(--s4))); max-width: none; max-height: min(88dvh, 920px);
  padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg); color: var(--text); box-shadow: 0 40px 100px -20px rgb(0 0 0 / .55);
}
/* Opening and closing are CSS transitions on the native modal <dialog>: the browser still
   moves focus in, makes the page behind inert and closes on Escape. @starting-style gives
   the state it opens from; 'overlay' and 'display' with allow-discrete keep it on screen
   while it closes. Browsers without these simply show and hide it. */
.dlg {
  opacity: 0; transform: translateY(40px) scale(.96);
  transition: opacity .3s var(--ease), transform .55s var(--ease-out), overlay .55s allow-discrete, display .55s allow-discrete;
}
.dlg[open] { display: flex; flex-direction: column; opacity: 1; transform: none; }
@starting-style { .dlg[open] { opacity: 0; transform: translateY(40px) scale(.96); } }
.dlg::backdrop {
  background: rgb(8 8 8 / 0); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0);
  transition: background-color .4s var(--ease), backdrop-filter .4s var(--ease), -webkit-backdrop-filter .4s var(--ease), overlay .4s allow-discrete, display .4s allow-discrete;
}
.dlg[open]::backdrop { background: rgb(8 8 8 / .66); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@starting-style { .dlg[open]::backdrop { background: rgb(8 8 8 / 0); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); } }
/* the dialog's content follows a beat later */
.dlg[open] .dlg-body > * { animation: dlg-content .6s .12s var(--ease-out) backwards; }
@keyframes dlg-content { from { opacity: 0; transform: translateY(14px); } }
@keyframes fade { from { opacity: 0; } }
.dlg-head { flex: none; display: flex; align-items: center; gap: var(--s4); padding: var(--s4) var(--s4) var(--s4) var(--dlg-pad); border-bottom: 1px solid var(--line); }
.dlg-title { display: flex; align-items: center; gap: var(--s3); margin-right: auto; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); line-height: 1.2; }
.dlg-title .icon { color: var(--accent-text); }
.dlg-close { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--r-btn); border: 1px solid var(--line); background: transparent; cursor: pointer; transition: background-color .2s, border-color .2s; }
.dlg-close:hover { background: var(--surface); border-color: var(--text); }
.dlg-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: var(--s6) var(--dlg-pad) var(--s7); }
@media (max-width: 640px) {
  .dlg { width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .dlg { transform: translateY(100%); opacity: 1; }
  .dlg[open] { transform: none; }
  @starting-style { .dlg[open] { transform: translateY(100%); } }
}
.prose { max-width: 66ch; }
.prose h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; text-transform: none; margin: var(--s6) 0 var(--s3); }
.prose h3:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 var(--s4); }
.prose ul { padding-left: 1.25em; }
.prose li + li { margin-top: var(--s2); }

/* lightbox */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgb(10 10 10 / .97); color: #f3f3f3; overflow: hidden;
}
/* fades in as a transition, not an animation: is-morphing switches it off, and taking that
   class away again must not replay it (an animation restarts then: the lightbox blinked
   out and faded in once more right after the photo had arrived) */
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); opacity: 1; transition: opacity .35s var(--ease); }
@starting-style { .lightbox[open] { opacity: 0; } }
/* Opening from a tile: a view transition carries the photo from the tile to the lightbox
   (and back on closing). Both snapshots fill the moving box with object-fit: cover, so the
   tile's crop opens into the whole photo without stretching. */
.lightbox.is-morphing { transition: none; }
::view-transition-group(lb-image) { animation-duration: .55s; animation-timing-function: var(--ease-out); }
::view-transition-old(lb-image), ::view-transition-new(lb-image) { width: 100%; height: 100%; object-fit: cover; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .4s; }
.lightbox::backdrop { background: rgb(0 0 0 / .6); }
.lb-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s4) var(--s4) var(--s4) var(--gutter); }
.lb-count { margin: 0; font-size: var(--fs-small); font-weight: 600; color: #bdbdbd; font-variant-numeric: tabular-nums; }
.lb-close { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-btn); border: 1px solid rgb(255 255 255 / .3); background: transparent; color: #fff; cursor: pointer; transition: background-color .2s, border-color .2s; }
.lb-close:hover { background: rgb(255 255 255 / .12); border-color: #fff; }
.lb-figure { margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: var(--s4); min-height: 0; padding: 0 calc(var(--gutter) + 56px) var(--s6); }
/* The photo is placed absolutely inside the stage: percentages in max-width / max-height
   then resolve against the stage's real size (as a grid item they were ignored and tall
   photos ran past the screen). inset + auto margins center it at its own aspect ratio. */
.lb-stage { position: relative; min-height: 0; container-type: size; }
/* The box takes the large photo's final size from the start (site.js sets --r, its width /
   height, and --w, its width): the small copy shown while the large one loads is stretched
   to it, not shown at its own small size and then jumping. Without them: the image's own size. */
.lb-image { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: var(--r-sm); view-transition-name: lb-image; }
.lb-image[style*="--r"] { width: min(100cqw, 100cqh * var(--r), var(--w)); height: min(100cqw / var(--r), 100cqh, var(--w) / var(--r)); object-fit: cover; }
.lb-caption { text-align: center; max-width: 60ch; margin-inline: auto; }
.lb-title { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.3; color: #fff; }
.lb-desc { margin: var(--s1) 0 0; color: #c9c9c9; }
.lb-desc:empty { display: none; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-btn); border: 1px solid rgb(255 255 255 / .3); background: rgb(0 0 0 / .3); color: #fff; cursor: pointer; transition: background-color .2s, border-color .2s; }
.lb-nav:hover { background: rgb(255 255 255 / .14); border-color: #fff; }
.lb-prev { left: var(--s4); } .lb-next { right: var(--s4); }
@media (max-width: 760px) {
  .lb-figure { padding: 0 var(--s4) calc(var(--s4) + 72px); }
  .lb-nav { top: auto; bottom: var(--s4); transform: none; width: 52px; height: 52px; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
}


@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    html:not([data-a11y-motion="on"]) .gallery-section { animation: tint-in linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    html:not([data-a11y-motion="on"]) [data-parallax] img { animation: parallax linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    html:not([data-a11y-motion="on"]) .band-media[data-parallax] { animation: parallax-band linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    html:not([data-a11y-motion="on"]) .band-media[data-parallax] img { animation: band-drift 26s var(--ease) infinite alternate; }
    html:not([data-a11y-motion="on"]) .band-reveal .band-media { animation: band-open linear both; animation-timeline: view(); animation-range: entry 10% cover 50%; }
    html:not([data-a11y-motion="on"]) .about-text .w { animation: word-ink linear both; animation-timeline: view(); animation-range: entry 80% cover 42%; }
    html:not([data-a11y-motion="on"]) .footer-photo[data-parallax] { animation: parallax-band linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
/* the page color turns into the section's own as it scrolls in */
@keyframes tint-in { from { background-color: var(--bg); } }

/* ---- entrances on scroll, once each ----
   site.js sets html.motion-in (not with reduced motion or the motion setting off) and adds
   .is-in to each [data-in] as it comes into view, with --in-d to stagger those that arrive
   together, then .in-done when it has settled (drops the masks and clips again).
   head  the section title rises out of a slot, the number and the rule follow
   text  the block comes in top to bottom through a soft moving mask
   img   a veil lifts off the photo (About, promo, visit)
   tile  a gallery photo develops, in turn with its neighbors
   rise  the block lifts in
   Without html.motion-in (no JavaScript, reduced motion, printing) all is simply shown. */
html.motion-in [data-in] { --in-d: 0ms; }
html.motion-arm [data-in], html.motion-arm [data-in] * { transition: none !important; } /* the waiting state at once */
html.motion-in [data-in="rise"] { transition: opacity .9s var(--ease-out) var(--in-d), transform 1.1s var(--ease-out) var(--in-d); }
html.motion-in [data-in="rise"]:not(.is-in) { opacity: 0; transform: translateY(48px); }

html.motion-in [data-in] .sec-title > span { display: inline-block; transition: transform 1.1s var(--ease-out) var(--in-d), clip-path 1.1s var(--ease-out) var(--in-d); }
html.motion-in [data-in]:not(.is-in) .sec-title > span { transform: translateY(100%); clip-path: inset(0 0 100% 0); }
html.motion-in [data-in] .sec-meta { transition: opacity .8s var(--ease-out) calc(var(--in-d) + .35s), transform .8s var(--ease-out) calc(var(--in-d) + .35s); }
html.motion-in [data-in]:not(.is-in) .sec-meta { opacity: 0; transform: translateY(10px); }
html.motion-in .sec-head[data-in] { border-bottom-color: transparent; background: linear-gradient(var(--line), var(--line)) left bottom / 0% 1px no-repeat; transition: background-size 1.4s var(--ease-out) calc(var(--in-d) + .15s); }
html.motion-in .sec-head[data-in].is-in { background-size: 100% 1px; }

html.motion-in [data-in="text"]:not(.in-done) { -webkit-mask-image: linear-gradient(#000 43.5%, transparent 56.5%); mask-image: linear-gradient(#000 43.5%, transparent 56.5%); -webkit-mask-size: 100% 230%; mask-size: 100% 230%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
html.motion-in [data-in="text"] { transition: -webkit-mask-position 1.5s var(--ease-out) var(--in-d), mask-position 1.5s var(--ease-out) var(--in-d), transform 1.2s var(--ease-out) var(--in-d); }
html.motion-in [data-in="text"]:not(.is-in) { -webkit-mask-position: 0 100%; mask-position: 0 100%; transform: translateY(20px); }
html.motion-in [data-in="text"].is-in { -webkit-mask-position: 0 0; mask-position: 0 0; }

/* img (About, promo, visit photo): a veil lifts. A feathered edge rises through the photo
   while it settles slowly from a slight zoom and comes up from a little dark. The second
   collage photo follows the first; the two glide in a little from either side (translate, so
   the parallax transform on the photos is untouched; main clips the overflow).
   Mask sizes (here and for text): the soft edge is (size - 200%) of the height tall and
   starts just below the box and ends just above it, so no time is spent with it outside. */
html.motion-in [data-in="img"]:not(.in-done) { -webkit-mask-image: linear-gradient(to top, #000 41.7%, transparent 58.3%); mask-image: linear-gradient(to top, #000 41.7%, transparent 58.3%); -webkit-mask-size: 100% 240%; mask-size: 100% 240%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
html.motion-in [data-in="img"] { --in-d2: var(--in-d); transition: -webkit-mask-position 1.9s var(--ease-veil) var(--in-d2), mask-position 1.9s var(--ease-veil) var(--in-d2), translate 2.4s var(--ease-lux) var(--in-d2); }
html.motion-in .collage-b[data-in="img"] { --in-d2: calc(var(--in-d) + .35s); }
html.motion-in [data-in="img"]:not(.is-in) { -webkit-mask-position: 0 0; mask-position: 0 0; translate: -36px 0; }
html.motion-in .collage-b[data-in="img"]:not(.is-in) { translate: 36px 0; } /* the pair draws in from both sides */
html.motion-in [data-in="img"].is-in { -webkit-mask-position: 0 100%; mask-position: 0 100%; }
html.motion-in [data-in="img"] img { transition: scale 2.8s var(--ease-lux) var(--in-d2), filter 2.2s var(--ease-lux) var(--in-d2), transform 1.2s var(--ease-out); }
html.motion-in [data-in="img"]:not(.is-in) img { scale: 1.12; filter: brightness(.7); }

/* tile (gallery): photos develop. Each comes out of a soft blur and muted color, in turn
   with its neighbors, gliding in a little from the right and settling from a slight zoom. */
html.motion-in [data-in="tile"]:not(.in-done) { transition: opacity 1.4s var(--ease-lux) var(--in-d), translate 2s var(--ease-lux) var(--in-d); }
html.motion-in [data-in="tile"]:not(.is-in) { opacity: 0; translate: 28px 0; }
html.motion-in [data-in="tile"]:not(.in-done) img { transition: scale 2.4s var(--ease-lux) var(--in-d), filter 1.8s var(--ease-lux) var(--in-d); }
html.motion-in [data-in="tile"]:not(.is-in) img { scale: 1.08; filter: blur(14px) saturate(.3); }
@media print { html.motion-in [data-in], html.motion-in [data-in] * { opacity: 1 !important; transform: none !important; clip-path: none !important; -webkit-mask: none !important; mask: none !important; scale: none !important; } }
@keyframes parallax { from { transform: translateY(-7%); } to { transform: translateY(0); } }
@keyframes parallax-band { from { transform: translateY(-8%); } to { transform: translateY(8%); } }
@keyframes band-open { from { clip-path: inset(14% 10% round var(--r-lg)); } to { clip-path: inset(0 round 0); } }

/* ================= section patterns =================
   A faint pattern behind the plain sections (option 'pattern' names a set, html[data-pattern]).
   Each set gives every section a different one of the patterns (About carries the set's
   signature), so the page changes as it goes but stays one family:
   geometric About dots, Gallery grid, Visit lines
   bistro    About lines, Gallery grid, Visit dots
   cafe      About grid, Gallery dots, Visit lines
   japanese  About waves, Gallery hex, Visit dots
   oriental  About fret, Gallery hex, Visit lines
   Each tile is a tiny SVG used as a mask, so it takes its color from the theme (text, leaning
   towards the accent) in light and dark alike. A second mask layer fades it out, a little
   differently in each section, like a magazine layout:
   About    from the right edge, fading leftwards
   Gallery  from the top left corner, larger
   Visit    from the bottom left corner (the map takes the right)
   Hidden in high contrast, forced colors and print. */
:root {
  --pt-dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Ccircle cx='4' cy='4' r='1.3'/%3E%3Ccircle cx='12' cy='12' r='1.3'/%3E%3C/svg%3E"); --pt-dots-w: 16px; --pt-dots-h: 16px;
  --pt-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M28 .5H.5V28' fill='none' stroke='%23000'/%3E%3C/svg%3E"); --pt-grid-w: 28px; --pt-grid-h: 28px;
  --pt-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath d='M-1 1l2-2M0 10L10 0M9 11l2-2' stroke='%23000' stroke-width='.8'/%3E%3C/svg%3E"); --pt-lines-w: 10px; --pt-lines-h: 10px;
  --pt-waves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='14'%3E%3Cpath d='M0 7q10-7 20 0t20 0' fill='none' stroke='%23000'/%3E%3C/svg%3E"); --pt-waves-w: 40px; --pt-waves-h: 14px;
  --pt-hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48'%3E%3Cpath d='M14 0l14 8v16l-14 8-14-8V8zM14 32v16' fill='none' stroke='%23000'/%3E%3C/svg%3E"); --pt-hex-w: 28px; --pt-hex-h: 48px;
  --pt-fret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24'%3E%3Cpath d='M0 22.5h24M4.5 22V4.5h15v14h-11v-10h7v6h-3' fill='none' stroke='%23000' stroke-width='.8'/%3E%3C/svg%3E"); --pt-fret-w: 36px; --pt-fret-h: 36px;
}
html[data-pattern="geometric"] .about::before { --pat: var(--pt-dots); --pat-w: var(--pt-dots-w); --pat-h: var(--pt-dots-h); }
html[data-pattern="geometric"] .gallery-section::before { --pat: var(--pt-grid); --pat-w: var(--pt-grid-w); --pat-h: var(--pt-grid-h); }
html[data-pattern="geometric"] .visit::before { --pat: var(--pt-lines); --pat-w: var(--pt-lines-w); --pat-h: var(--pt-lines-h); }
html[data-pattern="bistro"] .about::before { --pat: var(--pt-lines); --pat-w: var(--pt-lines-w); --pat-h: var(--pt-lines-h); }
html[data-pattern="bistro"] .gallery-section::before { --pat: var(--pt-grid); --pat-w: var(--pt-grid-w); --pat-h: var(--pt-grid-h); }
html[data-pattern="bistro"] .visit::before { --pat: var(--pt-dots); --pat-w: var(--pt-dots-w); --pat-h: var(--pt-dots-h); }
html[data-pattern="cafe"] .about::before { --pat: var(--pt-grid); --pat-w: var(--pt-grid-w); --pat-h: var(--pt-grid-h); }
html[data-pattern="cafe"] .gallery-section::before { --pat: var(--pt-dots); --pat-w: var(--pt-dots-w); --pat-h: var(--pt-dots-h); }
html[data-pattern="cafe"] .visit::before { --pat: var(--pt-lines); --pat-w: var(--pt-lines-w); --pat-h: var(--pt-lines-h); }
html[data-pattern="japanese"] .about::before { --pat: var(--pt-waves); --pat-w: var(--pt-waves-w); --pat-h: var(--pt-waves-h); }
html[data-pattern="japanese"] .gallery-section::before { --pat: var(--pt-hex); --pat-w: var(--pt-hex-w); --pat-h: var(--pt-hex-h); }
html[data-pattern="japanese"] .visit::before { --pat: var(--pt-dots); --pat-w: var(--pt-dots-w); --pat-h: var(--pt-dots-h); }
html[data-pattern="oriental"] .about::before { --pat: var(--pt-fret); --pat-w: var(--pt-fret-w); --pat-h: var(--pt-fret-h); }
html[data-pattern="oriental"] .gallery-section::before { --pat: var(--pt-hex); --pat-w: var(--pt-hex-w); --pat-h: var(--pt-hex-h); }
html[data-pattern="oriental"] .visit::before { --pat: var(--pt-lines); --pat-w: var(--pt-lines-w); --pat-h: var(--pt-lines-h); }
html:not([data-pattern="none"]) :is(.about, .gallery-section, .visit) { position: relative; isolation: isolate; }
html:not([data-pattern="none"]) :is(.about, .gallery-section, .visit)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  --pat-k: 1;
  background: color-mix(in srgb, var(--accent-text) 35%, var(--text));
  opacity: var(--pat-o, .34); /* 'patternOpacity' / 'patternOpacityDark' in the config; thin dark lines on white read fainter than light ones on dark, so light is stronger */
  -webkit-mask: var(--pat) 0 0 / calc(var(--pat-w) * var(--pat-k)) calc(var(--pat-h) * var(--pat-k)) repeat, var(--pat-fade) 0 0 / 100% 100% no-repeat;
  -webkit-mask-composite: source-in;
  mask: var(--pat) 0 0 / calc(var(--pat-w) * var(--pat-k)) calc(var(--pat-h) * var(--pat-k)) repeat, var(--pat-fade) 0 0 / 100% 100% no-repeat;
  mask-composite: intersect;
}
[data-theme="dark"]:not([data-pattern="none"]) :is(.about, .gallery-section, .visit)::before { opacity: var(--pat-o, .26); }
.about::before { --pat-fade: radial-gradient(75% 110% at 100% 45%, #000 0%, rgb(0 0 0 / .55) 40%, transparent 75%); }
.gallery-section::before { --pat-k: 1.5; --pat-fade: radial-gradient(70% 65% at 0% 0%, #000 0%, rgb(0 0 0 / .4) 45%, transparent 80%); }
.visit::before { --pat-fade: radial-gradient(60% 85% at 0% 100%, #000 0%, rgb(0 0 0 / .45) 40%, transparent 78%); }
/* The pattern moves on its own as the section scrolls by (the fade stays put), differently in
   each section: About drifts left, Gallery lags behind the page like a deeper layer, Visit
   drifts up and to the right. Scroll timelines where the browser has them; site.js sets --pp
   (0 to 1 across the screen) elsewhere. Not with reduced motion, the motion setting off or
   'patternMotion' => false in the config (html[data-pattern-motion="off"]). */
.about::before { --pat-dx: -180px; --pat-dy: 0px; }
.gallery-section::before { --pat-dx: 0px; --pat-dy: 220px; }
.visit::before { --pat-dx: 120px; --pat-dy: -120px; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    html:not([data-pattern="none"]):not([data-pattern-motion="off"]):not([data-a11y-motion="on"]) :is(.about, .gallery-section, .visit) { view-timeline: --pat-sec block; }
    html:not([data-pattern="none"]):not([data-pattern-motion="off"]):not([data-a11y-motion="on"]) :is(.about, .gallery-section, .visit)::before { animation: pat-drift linear both; animation-timeline: --pat-sec; animation-range: cover 0% cover 100%; }
  }
  html.pat-js:not([data-a11y-motion="on"]) :is(.about, .gallery-section, .visit)::before {
    -webkit-mask-position: calc(var(--pat-dx) * var(--pp, 0)) calc(var(--pat-dy) * var(--pp, 0)), 0 0;
    mask-position: calc(var(--pat-dx) * var(--pp, 0)) calc(var(--pat-dy) * var(--pp, 0)), 0 0;
  }
}
@keyframes pat-drift {
  from { -webkit-mask-position: 0 0, 0 0; mask-position: 0 0, 0 0; }
  to { -webkit-mask-position: var(--pat-dx) var(--pat-dy), 0 0; mask-position: var(--pat-dx) var(--pat-dy), 0 0; }
}
html[data-a11y-contrast="on"] :is(.about, .gallery-section, .visit)::before { content: none; }
@media (forced-colors: active), print { :is(.about, .gallery-section, .visit)::before { content: none !important; } }

/* ================= accessibility settings =================
   Generic effects come from the shared module (www/common/modules/a11y/a11y.css). This
   template styles contrast, font, gray and images itself (module option 'own') and adds
   to motion. */
/* larger text: button labels may wrap rather than run off a narrow screen */
html[data-a11y-text] :is(h1, h2, h3, address, p) { overflow-wrap: anywhere; }
html[data-a11y-text] .hours-table th { white-space: normal; }
html[data-a11y-text] .btn, html[data-a11y-spacing="on"] .btn { white-space: normal; text-align: center; padding-block: var(--s2); }
html[data-a11y-font="on"] { --font-body: Verdana, Tahoma, var(--sans-fallback); --font-head: Verdana, Tahoma, var(--sans-fallback); --head-transform: none; --head-tracking: 0; --head-weight: 700; }
html[data-a11y-contrast="on"] {
  --bg: #fff; --surface: #fff; --surface-2: #eee; --text: #000; --muted: #000; --line: #000;
  --accent: #000; --on-accent: #fff; --accent-text: #00339a; --accent-soft: #fff; --focus: #c00;
}
html[data-a11y-contrast="on"][data-theme="dark"] {
  --bg: #000; --surface: #000; --surface-2: #222; --text: #fff; --muted: #fff; --line: #fff;
  --accent: #ff0; --on-accent: #000; --accent-text: #ff0; --accent-soft: #000; --focus: #0ff;
}
html[data-a11y-contrast="on"] .loc-card, html[data-a11y-contrast="on"] .btn-line { border-width: 2px; }
html[data-a11y-contrast="on"] .hero-scrim, html[data-a11y-contrast="on"] .band.has-photo::after { background: rgb(0 0 0 / .8); }
html[data-a11y-contrast="on"] .footer-mark span { color: #fff; -webkit-text-stroke: 0; }
html[data-a11y-contrast="on"] .site-header.has-brand { --hd-bg: var(--bg); --hd-fg: var(--text); }
html[data-a11y-motion="on"] .hero-image img { transform: none; }
html[data-a11y-motion="on"] .hero-image:not(.is-active) { opacity: 0; }
/* filter on separate blocks: on <html> or <body> it would break the fixed bars */
html[data-a11y-gray="on"] .site-header, html[data-a11y-gray="on"] main, html[data-a11y-gray="on"] .site-footer, html[data-a11y-gray="on"] .actionbar, html[data-a11y-gray="on"] dialog { filter: grayscale(1); }
html[data-a11y-images="on"] main img, html[data-a11y-images="on"] .lb-image { opacity: 0; } /* opacity, not visibility: alt texts stay readable */
html[data-a11y-images="on"] .tile figure { background: var(--surface-2) !important; }
html[data-a11y-images="on"] .tile-caption { background: none; color: var(--text); }
html[data-a11y-images="on"] .tile-desc { color: var(--muted); }
html[data-a11y-images="on"] .hero-media, html[data-a11y-images="on"] .band-media { display: none; }
html[data-a11y-images="on"] .hero[data-logo] .hero-title { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-image img { transform: none !important; }
}
@media (forced-colors: active) {
  .btn, .loc-card, .dlg-close, .hero-btn, .sns-link, .lb-nav, .lb-close { border: 1px solid CanvasText; }
  .footer-mark span { color: CanvasText; -webkit-text-stroke: 0; }
}
@media print {
  .site-header, .actionbar, .hero-bar, .hero-media, .hero-scrim, .ticker, .band-media { display: none !important; }
  .hero, .band.has-photo { color: #000; background: none; min-height: 0; }
  .tile[hidden] { display: block; }
}
.no-js .tile[hidden] { display: block; } /* without script every photo is listed */
.no-js .mosaic-more { display: none; }
