/* ==========================================================================
   Yoshida – styles
   ========================================================================== */

/* Tokens ----------------------------------------------------------------- */
:root {
  --red: #d7141a;
  --red-dark: #b10f14;
  --red-soft: #fdecec;
  --ink: #1c1a19;
  --ink-soft: #4a4542;
  --muted: #7a726d;
  --bg: #fbf8f4;
  --surface: #ffffff;
  --line: #ebe3da;
  --sakura: #f6d6de;
  --leaf: #4f9a2a;
  --leaf-soft: #ebf5e4;
  --jade: #8fbfae;

  /* One font per role, self-hosted in css/fonts.css.
     The generic families only show while the web fonts load. */
  --font-sans: "Inter", sans-serif;
  --font-serif: "Noto Serif JP", serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(28 26 25 / 0.04), 0 8px 24px rgb(28 26 25 / 0.06);
  --header-h: 68px;
  --container: 1160px;
  --gutter: 20px;
}

/* Base ------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* keep the footer at the bottom on short pages */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

body > main { flex: 1; }

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-serif);
  line-height: 1.25;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
address { font-style: normal; }
[hidden] { display: none !important; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 46px;
  padding: 0.7em 1.4em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover { transform: translateY(-1px); }

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

.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }

.btn-ghost-light { border-color: rgb(255 255 255 / 0.85); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }

.btn-small { min-height: 38px; padding: 0.45em 1.1em; font-size: 0.9rem; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgb(251 248 244 / 0.88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 16px rgb(28 26 25 / 0.04);
}

/* Legal pages: divider always visible, not only after scrolling */
.site-header.has-divider { border-bottom-color: var(--line); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Home page: header floats over the hero video and is transparent there.
   Without JS (no .is-over-hero) it falls back to the normal light header. */
.has-hero .site-header {
  position: fixed;
  left: 0;
  right: 0;
}

body:not(.nav-open) .site-header.is-over-hero {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

/* Sub pages (About, Menu, Directions): dark header that blends into the dark page title */
body:not(.nav-open) .site-header.is-dark {
  background: var(--ink);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  /* subtle divider so the navbar stays distinct from the dark page title */
  border-bottom-color: rgb(255 255 255 / 0.14);
}

body:not(.nav-open) :is(.is-over-hero, .is-dark) .brand-logo { display: none; }
body:not(.nav-open) :is(.is-over-hero, .is-dark) .brand-logo-light { display: block; }
body:not(.nav-open) :is(.is-over-hero, .is-dark) .main-nav a { color: #fff; }
body:not(.nav-open) :is(.is-over-hero, .is-dark) .main-nav a::after { background: #fff; }
body:not(.nav-open) :is(.is-over-hero, .is-dark) .nav-toggle span { background: #fff; }

body:not(.nav-open) :is(.is-over-hero, .is-dark) .lang-switch {
  border-color: rgb(255 255 255 / 0.35);
  background: rgb(255 255 255 / 0.12);
}

body:not(.nav-open) :is(.is-over-hero, .is-dark) .lang-switch button { color: rgb(255 255 255 / 0.8); }
body:not(.nav-open) :is(.is-over-hero, .is-dark) .lang-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); }

.site-header .main-nav a,
.site-header .nav-toggle span,
.site-header .lang-switch { transition: color 0.2s, background-color 0.2s, border-color 0.2s; }

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 46px;
}

/* the light logo is only shown over the hero video (home page) */
.brand-logo-light { display: none; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 28px; }

.main-nav a {
  position: relative;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 6px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.lang-switch button {
  min-width: 40px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    margin: 0;
    padding: 24px var(--gutter);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }

  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .main-nav ul { flex-direction: column; gap: 0; }

  .main-nav a {
    display: block;
    padding: 16px 0;
    font-size: 1.4rem;
    font-weight: 700;
    border-bottom: 1px solid;
  }

  .main-nav a::after { display: none; }

  /* Open menu (dark): solid header without backdrop-filter. A backdrop-filter
     would make the fixed menu panel position itself inside the header (68px
     high) instead of the viewport, so the panel would not be visible. */
  body.nav-open .site-header {
    background: var(--ink);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: rgb(255 255 255 / 0.14);
    box-shadow: none;
  }

  body.nav-open .brand-logo { display: none; }
  body.nav-open .brand-logo-light { display: block; }
  body.nav-open .nav-toggle span { background: #fff; }

  body.nav-open .lang-switch {
    border-color: rgb(255 255 255 / 0.35);
    background: rgb(255 255 255 / 0.12);
  }

  body.nav-open .lang-switch button { color: rgb(255 255 255 / 0.8); }
  body.nav-open .lang-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); }

  .main-nav { background: var(--ink); }
  .main-nav.is-open { overflow-y: auto; }

  .main-nav a,
  .main-nav a:hover {
    color: #fff;
    border-bottom-color: rgb(255 255 255 / 0.12);
  }

  .main-nav a[aria-current="page"] { color: var(--red); }
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  /* the fixed header overlaps the top of the hero */
  padding-block: calc(var(--header-h) + 48px) 80px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* slight zoom so the blurred edges never show the hero background */
  transform: scale(1.04);
}

/* Blur only the edges: a blurring layer whose centre is masked out */
.hero-edge-blur {
  position: absolute;
  inset: 0;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at center, transparent 40%, #000 100%);
  mask-image: radial-gradient(ellipse 70% 65% at center, transparent 40%, #000 100%);
}

/* Dark overlay, slightly darker towards the edges */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgb(0 0 0 / 0.15) 0%, rgb(0 0 0 / 0.45) 100%),
    rgb(20 14 10 / 0.5);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.35);
}

.hero-title span { display: block; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

/* Sections --------------------------------------------------------------- */
.section { padding-block: clamp(64px, 9vw, 112px); }

.section-tight { padding-top: 40px; }

/* Page header (sub pages) */
.page-head {
  padding-block: clamp(40px, 6vw, 72px) clamp(44px, 6vw, 76px);
  background: var(--ink);
  color: #fff;
}

.page-title {
  max-width: 20ch;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Home: links to the sub pages */
.section-heading {
  margin-bottom: 28px;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.teasers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}

.teaser {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.teaser:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.teaser h3 { margin-top: 8px; font-size: 1.3rem; }
.teaser p { margin: 0; color: var(--ink-soft); }

.teaser-more {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 700;
  color: var(--red);
}

.teaser-more::after { content: ""; margin-left: 0.3em; }

/* Arrows are drawn with CSS: Inter's Latin subset has no ← / → glyphs */
.teaser-more::after,
.legal .back::before {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}



/* About ------------------------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.about-text p { color: var(--ink-soft); font-size: 1.05rem; }
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.feature-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
}

.about-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* Menu ------------------------------------------------------------------- */


.menu-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin-bottom: 16px;
}

.search {
  position: relative;
  flex: 1 1 280px;
  max-width: 420px;
}

.search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
}

.search input {
  width: 100%;
  min-height: 46px;
  padding: 0.6em 1em 0.6em 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font: inherit;
  color: var(--ink);
}

.search input:focus { outline: none; border-color: var(--ink); }

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 500;
  user-select: none;
}

.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.toggle-track {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--line);
  transition: background-color 0.2s;
}

.toggle-track::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.2);
  transition: transform 0.2s;
}

.toggle input:checked + .toggle-track { background: var(--leaf); }
.toggle input:checked + .toggle-track::after { transform: translateX(18px); }
.toggle input:focus-visible + .toggle-track { outline: 2px solid var(--red); outline-offset: 3px; }

/* Sticky category nav */
.menu-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 10;
  display: flex;
  gap: 8px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 12px var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
  background: rgb(251 248 244 / 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.menu-nav::-webkit-scrollbar { display: none; }

.menu-nav-link {
  flex: none;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.menu-nav-link:hover { border-color: var(--ink); color: var(--ink); }
.menu-nav-link.is-active { background: var(--red); border-color: var(--red); color: #fff; }

.menu-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.veg-badge {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--leaf-soft);
  flex: none;
}

.icon-leaf { width: 14px; height: 14px; fill: var(--leaf); }

/* Groups & sections */
.menu-group { padding-top: 48px; }

.menu-group-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.menu-group-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0 48px, var(--line) 48px);
}

.menu-section { padding-top: 28px; }

.menu-section-head { margin-bottom: 14px; }

.menu-section-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--red);
}

.menu-section-amount {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.menu-section-intro,
.menu-section-note {
  margin: 6px 0 0;
  max-width: 70ch;
  color: var(--ink-soft);
}

.menu-section-note {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.9rem;
}

/* Items */
.item-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr));
  gap: 0 48px;
}

.item {
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}

.item-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.item-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  min-width: 0;
  font-size: 1.02rem;
  font-weight: 700;
}

.item-no {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.item-amount {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.item-add {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
}

.item-name .veg-badge { align-self: center; }

/* Numbers, portions and footnote marks are labels, not heading text */
.item-no,
.item-amount,
.item-add,
.menu-section-amount { font-family: var(--font-sans); }

.item-leader {
  flex: 1;
  min-width: 16px;
  border-bottom: 1px dotted #cfc5bb;
  transform: translateY(-4px);
}

.item-price {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  gap: 2px 6px;
  text-align: right;
}

.price-part { display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.price-label { font-size: 0.78rem; color: var(--muted); }
.price-sep { color: var(--line); }

.price-value {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.item-desc {
  margin: 4px 0 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.item-contents {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.item-contents li { position: relative; padding-left: 14px; }

.item-contents li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sakura);
  box-shadow: 0 0 0 1px var(--red);
}

.item-variants {
  margin-top: 8px;
  display: grid;
  gap: 4px;
  font-size: 0.93rem;
}

.item-variants li { display: flex; align-items: baseline; gap: 8px; }
.variant-desc { color: var(--ink-soft); }

/* Compact (drinks) */
.is-compact .item { padding: 9px 0; }
.is-compact .item-name { font-size: 0.98rem; }
.is-compact .item-desc { margin-top: 1px; font-size: 0.88rem; }

/* Explainer boxes ("Was ist …?") */
.menu-info {
  margin-top: 16px;
  max-width: 640px;
  padding: 14px 18px;
  border-left: 3px solid var(--jade);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #f1f7f4;
  font-size: 0.92rem;
}

.menu-info strong { display: block; margin-bottom: 2px; }
.menu-info p { margin: 0; color: var(--ink-soft); }

.menu-footnotes {
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.menu-footnotes ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: 6px;
}

.menu-empty {
  margin: 40px 0 0;
  padding: 32px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.menu-notes {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

.menu-notes p { max-width: 75ch; }

@media (max-width: 520px) {
  .item-head { flex-wrap: wrap; }
  .item-leader { display: none; }
  .item-head .item-price { margin-left: auto; }
}

/* Directions ------------------------------------------------------------- */
.directions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 20px;
}

.card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h2 { font-size: 1.15rem; margin-bottom: 16px; }

.card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.card-head h2 { margin: 0; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.status.is-open { background: var(--leaf-soft); color: #3a7a1c; }

.hours { margin: 0; }
.hours dt { font-weight: 700; margin-bottom: 4px; }
.hours dd { margin: 0; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

.card address { margin-bottom: 16px; color: var(--ink-soft); line-height: 1.7; }
.phone { margin: 0; color: var(--ink-soft); }
.phone a { font-weight: 700; color: var(--red); text-decoration: none; white-space: nowrap; }
.phone a:hover { text-decoration: underline; }

.map {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f4f1ec;
  box-shadow: var(--shadow);
}

.map iframe {
  flex: 1;
  width: 100%;
  min-height: 260px;
  border: 0;
}

.map-link {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}

.map-link:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .directions-grid { grid-template-columns: 1fr 1fr; }
  .map { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .directions-grid { grid-template-columns: 1fr; }
}

/* Footer ----------------------------------------------------------------- */
.site-footer {
  padding-block: 36px;
  background: var(--ink);
  color: #d9d3cd;
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo { width: auto; height: 52px; }

.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

.copyright { margin: 0; color: #9c948d; }

/* Legal pages ------------------------------------------------------------ */
.legal { padding-block: clamp(48px, 7vw, 88px); }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.6rem); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 28px; }
.legal h2 { font-size: 1.2rem; margin: 32px 0 10px; }
.legal h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.legal-source { margin-top: 32px; font-size: 0.88rem; }
.legal ul { margin: 0 0 1em; padding-left: 1.3em; list-style: disc; }
.legal li + li { margin-top: 4px; }
.legal-source a { color: inherit; }
.legal p, .legal li { color: var(--ink-soft); }
.legal .legal-note {
  padding: 14px 18px;
  border-left: 3px solid var(--red);
  background: var(--red-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink);
}
.legal .back { display: inline-block; margin-top: 40px; color: var(--red); font-weight: 600; }
.legal .back::before { content: ""; margin-right: 0.3em; transform: scaleX(-1); }
