/* Oh My Cod! Helsby, design-1 (website junior-7)
   Built with the ui-ux-pro-max:design skill:
   - design system from `search.py --design-system` (Restaurant/Food Service):
     style "Vibrant & Block-based", pattern "Hero-Centric + Conversion", red + warm gold palette
   - tokens in three layers (design-system skill): primitive -> semantic -> component
   - fonts: the skill's condensed pairing (Barlow Condensed + Barlow), self-hosted, OFL 1.1 */

/* ---------- Fonts (self-hosted, latin subset, OFL) ---------- */
@font-face {
  font-family: "Barlow Condensed";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url(/fonts/barlow-condensed-800-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url(/fonts/barlow-400-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url(/fonts/barlow-600-latin.woff2) format("woff2");
}

/* ---------- 1. Primitive tokens ---------- */
:root {
  --red-50: #FEF2F2;
  --red-100: #FEE2E2;
  --red-200: #FECACA;
  --red-600: #DC2626;
  --red-700: #B91C1C;
  --red-800: #991B1B;
  --red-950: #450A0A;
  --gold-700: #A16207;
  --chip-400: #FACC15;
  --chip-300: #FDE047;
  --mist-200: #E4EBF1;   /* the grey-blue of the logo's waves */
  --slate-600: #475569;
  --white: #FFFFFF;
  --green-400: #4ADE80;

  --space-xs: .25rem;
  --space-sm: .5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(69, 10, 10, .06);
  --shadow-md: 0 4px 10px rgba(69, 10, 10, .10);
  --shadow-lg: 0 12px 24px rgba(69, 10, 10, .14);
  --shadow-xl: 0 22px 40px rgba(69, 10, 10, .20);

  --dur-fast: 150ms;
  --dur-base: 220ms;
  --dur-slow: 300ms;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Semantic tokens (from the generated MASTER.md) ---------- */
:root {
  --color-primary: var(--red-600);
  --color-primary-hover: var(--red-700);
  --color-on-primary: var(--white);
  --color-accent: var(--gold-700);
  --color-highlight: var(--chip-400);
  --color-on-highlight: var(--red-950);
  --color-background: var(--red-50);
  --color-foreground: var(--red-950);
  --color-card: var(--white);
  --color-card-foreground: var(--red-950);
  --color-muted-foreground: var(--slate-600);
  --color-border: var(--red-200);
  --color-ring: var(--red-950);
  --color-ring-on-dark: var(--chip-400);

  --font-heading: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif-condensed, Impact, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1180px;
  --block-gap: var(--space-2xl);   /* style rule: 48px+ between blocks */
  --actionbar-h: 72px;
}

/* ---------- 3. Component tokens ---------- */
:root {
  --btn-h: 52px;
  --btn-star-h: 64px;
  --btn-radius: var(--radius-pill);
  --tile-radius: var(--radius-md);
  --block-radius: var(--radius-lg);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--space-md); scroll-padding-bottom: calc(var(--actionbar-h) + var(--space-md)); }

body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--font-body);
  color: var(--color-foreground);
  background: var(--color-card);
  padding-bottom: calc(var(--actionbar-h) + env(safe-area-inset-bottom, 0px));
}

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

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 0 0 var(--space-md);
}
h2 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 var(--space-md); }

a { color: var(--red-700); text-underline-offset: .18em; text-decoration-thickness: 2px; }
a:hover { color: var(--red-950); }

:focus-visible {
  outline: 3px solid var(--color-ring);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: var(--space-sm); top: -5rem; z-index: 100;
  padding: .8rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--color-highlight); color: var(--color-on-highlight);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: var(--space-sm); }

/* ---------- Icons (SVG masks, colour follows text) ---------- */
.ico { display: inline-block; width: 1.15em; height: 1.15em; flex: none; background: currentColor; }
.ico-phone { -webkit-mask: url(/img/phone.svg) center / contain no-repeat; mask: url(/img/phone.svg) center / contain no-repeat; }
.ico-arrow { -webkit-mask: url(/img/arrow.svg) center / contain no-repeat; mask: url(/img/arrow.svg) center / contain no-repeat; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--btn-h); padding: .75rem 1.5rem;
  border: 2px solid transparent; border-radius: var(--btn-radius);
  font: 600 1.0625rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-primary); color: var(--color-on-primary); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--color-primary-hover); color: var(--color-on-primary); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--color-card); color: var(--color-foreground); border-color: var(--color-foreground); }
.btn-secondary:hover { background: var(--color-foreground); color: var(--color-card); }
.btn-chip { background: var(--color-highlight); color: var(--color-on-highlight); box-shadow: var(--shadow-lg); }
.btn-chip:hover { background: var(--chip-300); color: var(--color-on-highlight); box-shadow: var(--shadow-xl); }
.btn-sm { min-height: 48px; padding: .6rem 1.1rem; font-size: 1rem; }

/* The star of the page */
.btn-star {
  min-height: var(--btn-star-h); padding: .9rem 1.6rem .9rem 1.9rem;
  font: 800 1.6rem/1 var(--font-heading); text-transform: uppercase; letter-spacing: .02em;
}
.btn-star .ico-arrow { width: 1.05em; height: 1.05em; transition: transform var(--dur-base) var(--ease-out); }
.btn-star:hover .ico-arrow { transform: translateX(4px); }
.btn-sub { font-size: .8em; opacity: .92; }

/* ---------- Header ---------- */
.site-head { background: var(--color-card); box-shadow: var(--shadow-sm); position: relative; z-index: 30; }
.head-row { display: flex; align-items: center; gap: var(--space-md); padding-top: var(--space-sm); padding-bottom: var(--space-sm); flex-wrap: wrap; }
.brand { display: block; line-height: 0; margin-right: auto; }
.brand img { width: 72px; height: auto; }

.btn-head { min-height: 46px; padding: .55rem 1.1rem; font-size: 1rem; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 46px; padding: .5rem .9rem;
  background: var(--color-card); color: var(--color-foreground);
  border: 2px solid var(--color-foreground); border-radius: var(--radius-pill);
  font: 600 1rem/1 var(--font-body); cursor: pointer;
}
.nav-toggle[hidden] { display: none; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* No JS: the nav is a simple row under the logo. With JS on a phone it becomes a drop-down. */
.nav { width: 100%; order: 5; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-sm); }
.nav a {
  display: flex; align-items: center; min-height: 44px; padding: .5rem .75rem;
  border-radius: var(--radius-sm); color: var(--color-foreground);
  font-weight: 600; text-decoration: none;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.nav a:hover { background: var(--red-100); color: var(--red-700); }

.has-js .nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--color-card); box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--color-primary);
  padding: var(--space-sm) 1.25rem var(--space-md);
}
.has-js .nav.is-open { display: block; }
.has-js .nav ul { flex-direction: column; }
.has-js .nav a { font-size: 1.15rem; min-height: 52px; border-bottom: 1px solid var(--red-100); border-radius: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--color-background); padding: var(--space-xl) 0 var(--space-3xl); }
.hero-pattern {   /* animated with transform only (skill: performance), wider than the hero so it can slide */
  position: absolute; top: 0; bottom: 0; left: -240px; right: 0; z-index: 0; pointer-events: none;
  background: url(/img/waves.svg) 0 0 / 240px 64px repeat;
  will-change: transform;
  animation: drift 40s linear infinite;
}
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(240px, 0, 0); } }

.hero-grid { position: relative; z-index: 1; display: grid; gap: var(--space-2xl); align-items: center; }

.h1-brand {
  display: inline-block; margin-bottom: var(--space-md);
  padding: .35rem .9rem; border-radius: var(--radius-pill);
  background: var(--color-primary); color: var(--color-on-primary);
  font-size: 1.25rem; letter-spacing: .06em;
}
.h1-main { display: block; font-size: clamp(3rem, 1.7rem + 6vw, 5.75rem); line-height: .92; }
.h1-main em { font-style: normal; color: var(--color-primary); }
.hero-lead { font-size: 1.2rem; max-width: 34rem; }

.status { display: flex; align-items: baseline; gap: .6rem; margin: 0 0 var(--space-lg); font-weight: 600; }
.status a { color: inherit; }
.status-dot {
  width: .8rem; height: .8rem; flex: none; border-radius: 50%;
  background: var(--color-accent); transform: translateY(.05rem);
}
.status.is-open .status-dot { background: #16A34A; box-shadow: 0 0 0 4px rgba(22, 163, 74, .18); }
.status.is-closed .status-dot { background: var(--color-primary); box-shadow: 0 0 0 4px rgba(220, 38, 38, .18); }

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; }
.hero-actions .btn-star { flex: 1 1 100%; justify-content: space-between; }

.hero-photo { position: relative; margin: 0; }
.hero-photo::before {   /* big red disc, echoing the round logo */
  content: ""; position: absolute; z-index: 0;
  width: 78%; aspect-ratio: 1; right: -12%; top: -10%;
  border-radius: 50%; background: var(--color-primary);
}
.hero-photo img {
  position: relative; z-index: 1; width: 100%;
  border-radius: var(--block-radius); box-shadow: var(--shadow-xl);
  aspect-ratio: 6 / 5; object-fit: cover;
}
.hero-badge {
  position: absolute; z-index: 2; left: -.5rem; bottom: -1.25rem;
  display: grid; place-items: center; text-align: center;
  width: 7.5rem; height: 7.5rem; border-radius: 50%;
  background: var(--color-highlight); color: var(--color-on-highlight);
  font: 800 1.15rem/1 var(--font-heading); text-transform: uppercase;
  box-shadow: var(--shadow-lg); transform: rotate(-10deg);
}

/* ---------- Order band (the star) ---------- */
.order-band { background: var(--color-primary); color: var(--color-on-primary); padding: var(--space-3xl) 0; }
.order-band h2 { font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.5rem); max-width: 14ch; }
.steps { list-style: none; margin: var(--space-xl) 0; padding: 0; display: grid; gap: var(--space-md); counter-reset: none; }
.step {
  position: relative; padding: var(--space-lg) var(--space-lg) var(--space-lg) 5.25rem;
  background: var(--red-800); border-radius: var(--block-radius);
}
.step h3 { font-size: 1.6rem; margin-bottom: var(--space-xs); }
.step p { margin: 0; color: var(--red-50); }
.step-num {
  position: absolute; left: var(--space-lg); top: var(--space-lg);
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--color-highlight); color: var(--color-on-highlight);
  font: 800 1.6rem/1 var(--font-heading);
}
.band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-xl); }
.band-actions .btn-star { flex: 1 1 100%; justify-content: space-between; }
.band-call { margin: 0; font-weight: 600; }
.band-call a { color: var(--color-on-primary); }
.order-band :focus-visible, .site-foot :focus-visible, .block-hours :focus-visible { outline-color: var(--color-ring-on-dark); }

/* ---------- Food tiles ---------- */
.food { padding: var(--space-3xl) 0; background: var(--color-card); }
.section-head { max-width: 40rem; margin-bottom: var(--space-xl); }
.section-head p { font-size: 1.15rem; color: var(--color-muted-foreground); }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.tile { display: flex; }
.tile a {
  display: flex; flex-direction: column; width: 100%;
  background: var(--color-card); color: var(--color-card-foreground); text-decoration: none;
  border: 2px solid var(--red-100); border-radius: var(--tile-radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.tile a:hover { border-color: var(--color-primary); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.tile a:hover img { transform: scale(1.05); }
.tile-body { display: flex; flex-direction: column; gap: .2rem; padding: .7rem .8rem .85rem; flex: 1; }
.tile-name { font: 800 1.35rem/1.05 var(--font-heading); text-transform: uppercase; }
.tile a:hover .tile-name { color: var(--red-700); }
.tile-note { font-size: .9rem; line-height: 1.35; color: var(--color-muted-foreground); }
.tile-wide { grid-column: 1 / -1; }
.tile-wide .tile-name { font-size: 1.9rem; }

.tile-block a { justify-content: flex-end; min-height: 9rem; border: 0; }
.tile-block .tile-body { flex: 0; padding: var(--space-lg); }
.tile-block .tile-name { font-size: 2.25rem; }
.tile-block .tile-note { color: inherit; opacity: .9; }
.tile-block-red a { background: var(--color-primary); color: var(--color-on-primary); }
.tile-block-red a:hover { background: var(--color-primary-hover); }
.tile-block-red a:hover .tile-name { color: var(--color-on-primary); }
.tile-block-ink { grid-column: 1 / -1; }
.tile-block-gold a { background: var(--color-highlight); color: var(--color-on-highlight); }
.tile-block-gold a:hover { background: var(--chip-300); }
.tile-block-gold a:hover .tile-name { color: var(--red-700); }
.tile-block-ink a { background: var(--color-foreground); color: var(--color-card); }
.tile-block-ink a:hover { background: var(--red-800); }
.tile-block-ink a:hover .tile-name { color: var(--color-highlight); }

.food-cta { margin: var(--space-2xl) 0 0; }
.food-cta .btn-star { width: 100%; justify-content: space-between; }

/* ---------- Visit: hours + find us ---------- */
.visit { padding: 0 0 var(--space-3xl); background: var(--color-card); }
.visit-grid { display: grid; gap: var(--space-md); }
.block { border-radius: var(--block-radius); padding: var(--space-xl) var(--space-lg); }
.block h2 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); }

.block-hours { background: var(--color-foreground); color: var(--color-card); }
.block-hours .status { font-size: 1.2rem; }
.block-hours .status a { color: var(--color-highlight); }
.status-lg .status-dot { background: var(--color-highlight); }
.hours-table { width: 100%; border-collapse: collapse; font-size: 1.1rem; margin-bottom: var(--space-md); }
.hours-table th, .hours-table td { padding: .8rem 0; text-align: left; border-top: 1px solid rgba(255, 255, 255, .18); vertical-align: top; }
.hours-table th { font-weight: 600; padding-right: var(--space-md); }
.hours-table td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--color-highlight); }
.hours-table tr.is-today th::after { content: " · today"; }
.block-note { margin: 0; color: var(--red-100); }

.block-find { background: var(--color-highlight); color: var(--color-on-highlight); }
.addr { font-style: normal; font-size: 1.25rem; line-height: 1.5; margin-bottom: var(--space-md); }
.find-phone a {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  font: 800 1.9rem/1 var(--font-heading); color: var(--color-on-highlight); text-decoration: none;
}
.find-phone a:hover { color: var(--red-700); }
.find-links { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin: 0; }
.block-find .btn-secondary { background: transparent; }
.block-find .btn-secondary:hover { background: var(--color-on-highlight); color: var(--color-highlight); }

.map { display: none; }
.has-js .map {
  display: flex; align-items: center; justify-content: center;
  min-height: 180px; border-radius: var(--block-radius); overflow: hidden;
  background: var(--color-background) url(/img/waves.svg) 0 0 / 240px 64px repeat;
  border: 2px dashed var(--color-border);
}
.map-note { margin: 0; padding: var(--space-lg); text-align: center; color: var(--color-muted-foreground); max-width: 28rem; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
.has-js .map.is-loaded { border-style: solid; background: var(--mist-200); min-height: 360px; }

/* ---------- Footer ---------- */
.site-foot { background: var(--red-950); color: var(--red-100); padding: var(--space-2xl) 0; font-size: .95rem; }
.site-foot a { color: var(--color-highlight); }
.site-foot a:hover { color: var(--color-card); }
.foot-grid { display: grid; gap: var(--space-lg); }
.foot-brand { font: 800 1.6rem/1 var(--font-heading); text-transform: uppercase; color: var(--color-card); }
.foot-small p { margin-bottom: var(--space-xs); }

/* ---------- Phone action bar ---------- */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 2.2fr 1fr; gap: var(--space-sm);
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: var(--color-card); box-shadow: 0 -6px 20px rgba(69, 10, 10, .16);
}
.ab {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; border-radius: var(--radius-pill); text-decoration: none;
  font: 800 1.35rem/1 var(--font-heading); text-transform: uppercase; letter-spacing: .02em;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.ab-order { background: var(--color-primary); color: var(--color-on-primary); }
.ab-order:hover { background: var(--color-primary-hover); color: var(--color-on-primary); }
.ab-call { background: var(--color-card); color: var(--color-foreground); border: 2px solid var(--color-foreground); }
.ab-call:hover { background: var(--color-foreground); color: var(--color-card); }

/* ---------- 600px+ ---------- */
@media (min-width: 600px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tile-block-ink { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { padding: 5rem var(--space-lg) var(--space-lg); }
  .hero-actions .btn-star, .band-actions .btn-star { flex: 0 1 auto; }
  .food-cta .btn-star { width: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- 900px+ (desktop) ---------- */
@media (min-width: 900px) {
  :root { --actionbar-h: 0px; }
  body { padding-bottom: 0; }
  .actionbar { display: none; }

  .site-head { position: sticky; top: 0; }
  html { scroll-padding-top: 110px; }
  .head-row { flex-wrap: nowrap; gap: var(--space-lg); }
  .brand { margin-right: 0; }
  .brand img { width: 89px; }
  .nav-toggle, .nav-toggle[hidden] { display: none; }
  .nav, .has-js .nav { display: block; position: static; width: auto; order: 0; margin-left: auto; padding: 0; box-shadow: none; border: 0; background: none; }
  .nav ul, .has-js .nav ul { flex-direction: row; flex-wrap: nowrap; gap: var(--space-xs); }
  .nav a, .has-js .nav a { font-size: 1.02rem; min-height: 44px; border: 0; border-radius: var(--radius-sm); }
  .nav-call { display: none; }
  .btn-head { min-height: 50px; padding: .65rem 1.4rem; font: 800 1.3rem/1 var(--font-heading); text-transform: uppercase; }

  .hero { padding: var(--space-3xl) 0 5rem; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: var(--space-3xl); }
  .hero-badge { width: 8.5rem; height: 8.5rem; font-size: 1.3rem; left: -2.25rem; bottom: -1.75rem; }

  .order-band { padding: 5rem 0; }
  .order-band .wrap { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--space-3xl); align-items: end; }
  .order-band h2 { margin: 0; }
  .steps { grid-column: 1 / -1; margin: var(--space-2xl) 0; }
  .band-actions { grid-column: 1 / -1; }

  .food { padding: 5rem 0; }
  .tiles { grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
  .tile-wide { grid-column: span 2; grid-row: span 2; }
  .tile-wide a { position: relative; }
  .tile-wide picture + .tile-body, .tile-wide .tile-body { flex: 0; }
  .tile-wide img { flex: 1; aspect-ratio: auto; min-height: 0; height: 100%; }
  .tile-wide .tile-name { font-size: 2.4rem; }
  .tile-block-ink { grid-column: 1 / -1; }

  .visit { padding-bottom: 5rem; }
  .visit-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .block { padding: var(--space-2xl); }
  .map { grid-column: 1 / -1; }
  .has-js .map { min-height: 180px; }
  .has-js .map.is-loaded { min-height: 380px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-pattern { animation: none; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .tile a:hover, .tile a:hover img, .btn-star:hover .ico-arrow { transform: none; }
}

/* ---------- 404 page ---------- */
.page-404 { padding-bottom: 0; }
.hero-404 { min-height: 60vh; display: flex; align-items: center; }
.notfound { position: relative; z-index: 1; max-width: 46rem; }
