
/* =========================================================
   Viet Kitchen – tyylit
   Paletti: liitutaulun tumma (menu), kurkumanoranssi (logo ja menu),
   lakkapunainen (ravintolan seinät), riisipaperin kerma, yrtinvihreä.
   ========================================================= */

:root {
  --slate-950: #121315;
  --slate-900: #16171a;
  --slate-850: #1c1d21;
  --slate-800: #232429;
  --slate-700: #2f3036;
  --line: rgba(244, 234, 219, 0.12);
  --line-strong: rgba(244, 234, 219, 0.22);

  --rice: #f4eadb;
  --rice-muted: #bdb4a7;
  --turmeric: #f4a23a;
  --turmeric-hover: #ffb65a;
  --on-turmeric: #1b140c;
  --lacquer: #d2443a;
  --herb: #9fd08f;
  --danger: #ff8a7a;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.05rem);
  --step-3: clamp(2rem, 1.6rem + 1.8vw, 3.1rem);
  --step-4: clamp(2.6rem, 1.8rem + 3.6vw, 5.1rem);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --wrap: 1200px;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --section-space: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --header-h: 72px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 280ms;

  --z-header: 40;
  --z-mobile-cta: 30;
  --z-nav: 50;
}

/* ---------- Perusta ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--slate-900);
  /* hento liitutaulun rakeisuus */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--rice);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 650; line-height: 1.12; margin: 0; letter-spacing: -0.01em; text-wrap: balance; font-variation-settings: "SOFT" 100, "WONK" 1; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--turmeric); color: var(--on-turmeric); padding: 0.7rem 1rem; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Painikkeet ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.7rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: var(--step-0); text-decoration: none; cursor: pointer; white-space: nowrap;
  touch-action: manipulation;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--turmeric); color: var(--on-turmeric); }
.btn-primary:hover { background: var(--turmeric-hover); }
.btn-ghost { border-color: var(--line-strong); color: var(--rice); }
.btn-ghost:hover { border-color: var(--rice); }
.btn-dark { background: var(--slate-950); color: var(--rice); }
.btn-dark:hover { background: #000; }
.btn-sm { min-height: 42px; padding: 0.45rem 1rem; font-size: var(--step--1); }
.btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 48px;
  color: var(--rice); font-weight: 600; text-decoration: underline; text-decoration-color: var(--lacquer);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.text-link:hover .icon { transform: translateX(3px); }
.text-link .icon { transition: transform var(--dur-fast) ease; }

/* ---------- Yläpalkki ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header); height: var(--header-h);
  transition: background-color var(--dur) ease, border-color var(--dur) ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(18, 19, 21, 0.9); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; margin-right: auto; }
.brand-mark { width: 44px; height: 44px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; line-height: 1; font-variation-settings: "SOFT" 100, "WONK" 1; }
.brand-name small { display: block; font-family: var(--font-body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--turmeric); margin-top: 0.3rem; }

.nav ul { list-style: none; display: flex; gap: 0.25rem; margin: 0; padding: 0; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.7rem;
  text-decoration: none; font-size: 0.94rem; font-weight: 500; color: var(--rice-muted); border-radius: 999px;
  transition: color var(--dur-fast) ease;
  position: relative;
}
.nav a:hover { color: var(--rice); }
.nav a[aria-current="true"] { color: var(--rice); }
.nav a[aria-current="true"]::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 6px; height: 2px; border-radius: 2px; background: var(--turmeric);
}
.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.lang-switch { display: flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.lang-switch button {
  display: inline-flex; align-items: center; gap: 0.4rem; min-width: 52px; min-height: 36px; padding-inline: 0.55rem;
  border: 0; background: transparent; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; color: var(--rice-muted); cursor: pointer;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.lang-switch button:hover { color: var(--rice); }
.lang-switch button[aria-pressed="true"] { background: var(--rice); color: var(--slate-900); }
.flag { width: 20px; height: 13px; flex: none; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(244, 234, 219, 0.25); }
.lang-switch button[aria-pressed="true"] .flag { box-shadow: 0 0 0 1px rgba(18, 19, 21, 0.35); }

.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line-strong); background: transparent; border-radius: 50%; cursor: pointer; place-items: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: var(--rice); border-radius: 2px; transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) ease; }
.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); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(2rem, 1rem + 4vw, 4.5rem)); padding-bottom: clamp(2.5rem, 2rem + 3vw, 4rem); overflow: hidden; }
.hero::before {
  /* lämmin hehku kulhon takana */
  content: ""; position: absolute; width: 70vmax; height: 70vmax; right: -25vmax; top: -18vmax; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(244, 162, 58, 0.16), rgba(210, 68, 58, 0.06) 55%, transparent 72%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: clamp(2rem, 1rem + 4vw, 5rem); }
.open-status { display: inline-flex; align-items: center; gap: 0.6rem; font-size: var(--step--1); font-weight: 500; color: var(--rice-muted); margin-bottom: 1.4rem; padding: 0.4rem 0.9rem 0.4rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rice-muted); }
.open-status[data-state="open"] .status-dot { background: var(--herb); box-shadow: 0 0 0 4px rgba(159, 208, 143, 0.18); }
.open-status[data-state="closed"] .status-dot { background: var(--lacquer); }

.hero h1 { font-size: var(--step-4); font-weight: 700; line-height: 1.04; }
.hero h1 span { display: block; }
.hero h1 em { display: block; font-style: italic; font-weight: 600; color: var(--turmeric); }
.hero .lead { margin-top: 1.5rem; max-width: 34rem; font-size: var(--step-1); line-height: 1.5; color: var(--rice-muted); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: 2rem; }

.rating-chip {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.75rem; margin-top: 2.25rem;
  text-decoration: none; padding: 0.6rem 1rem; border-radius: var(--radius); background: var(--slate-800); border: 1px solid var(--line);
  transition: border-color var(--dur-fast) ease;
}
.rating-chip:hover { border-color: var(--line-strong); }
.rating-value { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.rating-count { font-size: var(--step--1); color: var(--rice-muted); }

.stars { position: relative; display: inline-block; line-height: 0; }
.stars-base, .stars-fill { display: flex; gap: 2px; }
.stars svg { width: 1.1rem; height: 1.1rem; }
.stars-base svg { fill: var(--slate-700); }
.stars-fill { position: absolute; inset: 0; overflow: hidden; width: calc(var(--rating, 5) / 5 * 100%); }
.stars-fill svg { fill: var(--turmeric); }

.hero-visual { position: relative; justify-self: center; width: min(100%, 500px); aspect-ratio: 1; margin-top: 3rem; }
.bowl {
  position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 10px rgba(244, 234, 219, 0.05);
}
.bowl img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }

/* Allekirjoitus: logon kolme höyryviivaa nousevat kulhosta */
.steam { position: absolute; left: 50%; bottom: 62%; width: 34%; transform: translateX(-50%); overflow: visible; z-index: 2; pointer-events: none; }
.steam path { fill: none; stroke: #fff3d6; stroke-width: 5; stroke-linecap: round; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .steam path { animation: steam 4.8s ease-in-out infinite; }
  .steam path:nth-child(2) { animation-delay: 1.6s; }
  .steam path:nth-child(3) { animation-delay: 3.2s; }
}
@media (prefers-reduced-motion: reduce) {
  .steam path { opacity: 0.55; }
}
@keyframes steam {
  0%   { opacity: 0;    transform: translateY(40px) scaleX(0.9); }
  30%  { opacity: 0.75; }
  70%  { opacity: 0.35; }
  100% { opacity: 0;    transform: translateY(-50px) scaleX(1.15); }
}

.price-roundel {
  position: absolute; left: -2%; bottom: 6%; z-index: 3; width: 120px; height: 120px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; gap: 0.1rem;
  background: var(--turmeric); color: var(--on-turmeric); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.7);
  transform: rotate(-8deg);
}
.price-roundel span { font-size: 0.7rem; font-weight: 600; line-height: 1.2; max-width: 80px; margin-inline: auto; }
.price-roundel strong { font-family: var(--font-display); font-size: 2rem; line-height: 1; font-weight: 800; }

.hero-facts { list-style: none; margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hero-facts li { display: flex; gap: 0.85rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-top: 1px solid var(--line-strong); }
.hero-facts .icon { width: 1.5rem; height: 1.5rem; color: var(--turmeric); margin-top: 0.1rem; }
.hero-facts strong { display: block; font-weight: 600; }
.hero-facts li > span > span { font-size: var(--step--1); color: var(--rice-muted); }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .hero-visual { animation: rise 700ms var(--ease-out) both; }
  .hero-copy > :nth-child(2) { animation-delay: 60ms; }
  .hero-copy > :nth-child(3) { animation-delay: 120ms; }
  .hero-copy > :nth-child(4) { animation-delay: 180ms; }
  .hero-copy > :nth-child(5) { animation-delay: 240ms; }
  .hero-visual { animation-delay: 150ms; animation-duration: 900ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Osiot ---------- */
.section { padding-block: var(--section-space); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--turmeric);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--lacquer); border-radius: 2px; }
.section h2 { font-size: var(--step-3); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-lead { margin-top: 1rem; color: var(--rice-muted); font-size: var(--step-1); line-height: 1.5; }
.plain-link { text-decoration: none; }
.plain-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Menu ---------- */
.menu { background: var(--slate-950); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.menu-jump { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 1.75rem; }
.menu-jump a {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; color: var(--rice);
  text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 6px; text-decoration-thickness: 1px;
}
.menu-jump a:hover { text-decoration-color: var(--turmeric); }

.menu-cat {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(2rem, 1rem + 4vw, 5rem);
  padding-block: clamp(2.5rem, 2rem + 2vw, 3.75rem); border-top: 1px solid var(--line);
}
.menu-cat-head { align-self: start; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.menu-cat-photo { width: min(100%, 300px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 1.5rem; box-shadow: 0 0 0 8px rgba(244, 234, 219, 0.04); }
.menu-cat-photo img { width: 100%; height: 100%; object-fit: cover; }
.menu-cat-head h3 { font-size: var(--step-2); }
.menu-cat-head p { margin-top: 0.6rem; color: var(--rice-muted); max-width: 26rem; }

.dish-list { list-style: none; margin: 0; padding: 0; }
.dish {
  display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto; gap: 1rem; align-items: start;
  padding-block: 1.15rem; border-bottom: 1px dashed var(--line-strong);
}
.dish:first-child { padding-top: 0.2rem; }
.dish-no {
  display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  border: 1.5px solid var(--turmeric); color: var(--turmeric); font-size: 0.85rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.dish-main { display: flex; gap: 1rem; align-items: flex-start; }
.dish-thumb { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; }
.dish-name {
  font-family: var(--font-display); font-weight: 650; font-size: var(--step-1); line-height: 1.3;
  font-variation-settings: "SOFT" 100, "WONK" 0;
}
.dish-desc { margin-top: 0.3rem; color: var(--rice-muted); font-size: 0.95rem; line-height: 1.55; max-width: 38rem; }
.dish-price { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--turmeric); white-space: nowrap; font-variant-numeric: tabular-nums; line-height: 1.3; }
.tag-vegan {
  display: inline-block; vertical-align: 0.2em; margin-left: 0.35rem; padding: 0.12rem 0.55rem; border-radius: 999px;
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--herb); border: 1px solid rgba(159, 208, 143, 0.45);
}

.wolt-band {
  margin-top: clamp(2rem, 1rem + 3vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-lg); background: var(--turmeric); color: var(--on-turmeric);
}
.wolt-band h3 { font-size: var(--step-2); }
.wolt-band p { margin-top: 0.4rem; max-width: 36rem; font-weight: 500; }

/* ---------- Meistä ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: center; }
.about-photos { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 0.9rem; padding: 0 0 2rem 2rem; }
.about-panel { position: absolute; left: 0; bottom: 0; width: 62%; height: 70%; background: var(--lacquer); border-radius: var(--radius-lg); }
.ph { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.ph-wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.ph-tall { grid-column: 1 / 4; aspect-ratio: 3 / 4; }
.ph-bowl { grid-column: 4 / -1; aspect-ratio: 3 / 4; }
.about-copy > p:not(.eyebrow) { margin-top: 1.25rem; color: var(--rice-muted); font-size: 1.05rem; max-width: 36rem; }
.about-copy h2 { max-width: 30rem; }
.about-facts { margin: 2.25rem 0 0; display: grid; gap: 0; }
.about-facts div { display: grid; grid-template-columns: minmax(9rem, auto) 1fr; gap: 1rem; align-items: baseline; padding-block: 0.9rem; border-top: 1px solid var(--line); }
.about-facts dt { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--rice); }
.about-facts dd { margin: 0; color: var(--rice-muted); }
.about-facts dd::before { content: "\2022"; color: var(--turmeric); font-weight: 700; margin-right: 0.5em; }

/* ---------- Arvostelut ---------- */
.reviews { background: var(--slate-850); border-block: 1px solid var(--line); }
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.reviews-score { display: flex; align-items: center; gap: 1.1rem; }
.score-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); line-height: 0.9; font-variant-numeric: tabular-nums; }
.stars-lg svg { width: 1.6rem; height: 1.6rem; }
.score-count { margin-top: 0.5rem; color: var(--rice-muted); font-size: var(--step--1); }

.review-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 1rem; margin-bottom: 2rem; }
.review-card { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; border-radius: var(--radius); background: var(--slate-800); border: 1px solid var(--line); }
.review-card .stars svg { width: 1rem; height: 1rem; }
.review-text { font-size: 1rem; line-height: 1.6; color: var(--rice); display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review-card.is-expanded .review-text { -webkit-line-clamp: unset; }
.review-more { align-self: flex-start; background: none; border: 0; padding: 0; min-height: 32px; color: var(--turmeric); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.review-author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; padding-top: 0.5rem; border-top: 1px solid var(--line); }
.review-author img { width: 36px; height: 36px; border-radius: 50%; }
.review-author a { font-weight: 600; text-decoration: none; }
.review-author a:hover { text-decoration: underline; }
.review-author small { display: block; color: var(--rice-muted); font-size: 0.8rem; }
.reviews-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.reviews-source { margin-top: 1.5rem; font-size: 0.8rem; color: var(--rice-muted); }

/* ---------- Varaa pöytä ---------- */
.book-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: start; }
.book-intro > p:not(.eyebrow):not(.book-line) { margin-top: 1.25rem; color: var(--rice-muted); font-size: 1.05rem; max-width: 30rem; }
.book-line { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.5rem; text-decoration: none; font-weight: 600; font-size: var(--step-1); }
.book-line .icon { width: 2.8rem; height: 2.8rem; padding: 0.7rem; border-radius: 50%; background: var(--slate-800); color: var(--turmeric); }
.book-line small { display: block; font-size: 0.8rem; font-weight: 500; color: var(--rice-muted); }
a.book-line:hover > span { text-decoration: underline; text-underline-offset: 4px; }

.book-form { padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); border-radius: var(--radius-lg); background: var(--slate-800); border: 1px solid var(--line); display: grid; gap: 1.1rem; }
.type-choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.type-choice legend { font-weight: 600; margin-bottom: 0.7rem; padding: 0; }
.type-choice label { position: relative; cursor: pointer; }
.type-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.type-choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.05rem; border-radius: 999px;
  border: 1px solid var(--line-strong); font-weight: 500; font-size: 0.95rem; transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.type-choice label:hover span { border-color: var(--rice); }
.type-choice input:checked + span { background: var(--rice); color: var(--slate-900); border-color: var(--rice); }
.type-choice input:focus-visible + span { outline: 3px solid var(--turmeric); outline-offset: 3px; }

.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field-row-3 { grid-template-columns: 1.3fr 1fr 0.8fr; }
.field { display: grid; gap: 0.4rem; align-content: start; }
.field label { font-weight: 500; font-size: 0.95rem; }
.req { color: var(--turmeric); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.7rem 0.9rem; border-radius: var(--radius-sm);
  background: var(--slate-900); border: 1.5px solid var(--line-strong); color: var(--rice); font-size: 1rem;
  transition: border-color var(--dur-fast) ease;
  color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(244, 234, 219, 0.4); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--turmeric); box-shadow: 0 0 0 3px rgba(244, 162, 58, 0.3); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-hint { font-size: 0.84rem; color: var(--rice-muted); }
.field-error { font-size: 0.88rem; color: var(--danger); font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
[data-booking-fields][hidden] { display: none; }
.btn-submit { justify-self: start; min-width: 14rem; }
.form-privacy { font-size: 0.84rem; color: var(--rice-muted); }
.form-summary { padding: 1rem 1.1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--danger); background: rgba(255, 138, 122, 0.08); }
.form-summary p { font-weight: 600; }
.form-summary ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.form-summary a { color: var(--danger); }
.form-status:empty { display: none; }
.form-status { padding: 1rem 1.1rem; border-radius: var(--radius-sm); font-weight: 500; }
.form-status[data-kind="success"] { background: rgba(159, 208, 143, 0.12); border: 1.5px solid var(--herb); }
.form-status[data-kind="error"] { background: rgba(255, 138, 122, 0.08); border: 1.5px solid var(--danger); }

/* ---------- Yhteystiedot ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 1rem + 5vw, 5rem); align-items: stretch; }
.contact-info h2 { max-width: 26rem; }
.info-block { margin-top: 2rem; }
.info-block h3 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--turmeric); margin-bottom: 0.5rem; }
.info-block p { font-size: 1.05rem; }
.hours { border-collapse: collapse; width: 100%; max-width: 22rem; }
.hours th, .hours td { text-align: left; padding: 0.45rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--turmeric); font-weight: 600; }
.map-frame { min-height: 420px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--slate-800); }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Alatunniste ---------- */
.site-footer { background: var(--slate-950); border-top: 1px solid var(--line); padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 2.5rem; }
.footer-mark { width: 64px; height: 64px; }
.footer-name { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); margin-top: 0.9rem; font-variation-settings: "SOFT" 100, "WONK" 1; }
.footer-tagline { color: var(--rice-muted); }
.footer-nav { display: grid; align-content: start; gap: 0.15rem; }
.footer-nav a, .footer-links a { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 40px; text-decoration: none; color: var(--rice-muted); }
.footer-nav a:hover, .footer-links a:hover { color: var(--rice); }
.footer-contact { display: grid; gap: 0.35rem; align-content: start; color: var(--rice-muted); }
.footer-links { display: flex; gap: 1.25rem; margin-top: 0.4rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--rice-muted); }
.footer-bottom a { color: var(--rice-muted); }
.footer-legal-id { display: grid; gap: 0.3rem; }
.footer-biz-id { opacity: 0.8; }
.footer-bottom-links { display: flex; gap: 1.5rem; align-items: center; }

.mobile-cta { display: none; }

/* ---------- Tietosuojaseloste ---------- */
body.legal-mode { overflow-y: auto; }
.legal-page { position: relative; z-index: 5; min-height: 100vh; background: var(--slate-900); }
.legal-wrap { max-width: 760px; margin: 0 auto; padding: clamp(90px, 10vw, 130px) var(--gutter) 100px; }
.legal-back { display: inline-block; margin-bottom: 28px; color: var(--rice-muted); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.legal-back:hover { color: var(--turmeric); }
.legal-page h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin: 0.3em 0 0.2em; }
.legal-page h2 { font-family: var(--font-display); font-weight: 650; letter-spacing: -0.01em; font-size: clamp(1.1rem, 1.7vw, 1.3rem); margin: 2em 0 0.5em; }
.legal-page p, .legal-page li { color: var(--rice-muted); margin: 0 0 1em; line-height: 1.65; }
.legal-page ul { padding-left: 1.2em; }
.legal-updated { font-size: 0.82rem; color: var(--rice-muted); opacity: 0.8; }
.legal-box { background: var(--slate-850); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 16px 20px; margin: 1.2em 0; }
.legal-box p { color: var(--rice); margin: 0; }
.legal-page a { color: var(--turmeric); }

/* ---------- Näkyviin tulo vierittäessä ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Responsiivisuus ---------- */
.header-inner { max-width: 1400px; }
.nav a { white-space: nowrap; }

@media (max-width: 1280px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: var(--z-nav);
    background: var(--slate-950); border-bottom: 1px solid var(--line); padding: 0.75rem var(--gutter) 1.5rem;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { width: 100%; min-height: 52px; font-size: 1.15rem; color: var(--rice); border-bottom: 1px solid var(--line); border-radius: 0; padding: 0; }
  .nav a[aria-current="true"]::after { left: 0; right: auto; width: 24px; bottom: 10px; }
  .site-header.nav-open { background: var(--slate-950); }
}

@media (max-width: 900px) {
  .hero-grid, .about-grid, .book-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { width: min(82%, 420px); margin-top: 2.5rem; order: -1; }
  .hero { padding-top: calc(var(--header-h) + 1rem); }
  .hero-facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .menu-cat { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .menu-cat-head { position: static; display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 1.25rem; align-items: center; }
  .menu-cat-photo { width: 112px; margin: 0; grid-row: span 2; }
  .menu-cat-head p { margin-top: 0.3rem; }
  .about-photos { order: 2; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .map-frame, .map-frame iframe { min-height: 340px; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .brand { gap: 0.5rem; min-width: 0; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.05rem; white-space: nowrap; }
  .brand-name small { font-size: 0.6rem; }
  .header-wolt { display: none; }
  .header-actions { gap: 0.5rem; }
  .lang-switch button { min-width: 30px; padding-inline: 0.4rem; gap: 0.3rem; }
  .lang-switch .lang-code { display: none; }
  .hero-visual { width: min(88%, 360px); }
  .price-roundel { width: 96px; height: 96px; left: -4%; }
  .price-roundel strong { font-size: 1.6rem; }
  .price-roundel span { font-size: 0.62rem; max-width: 64px; }
  .cta-row .btn { flex: 1 1 auto; }
  .dish { grid-template-columns: 2.3rem minmax(0, 1fr) auto; gap: 0.75rem; }
  .dish-no { width: 2rem; height: 2rem; font-size: 0.78rem; }
  .dish-thumb { width: 60px; height: 60px; }
  .dish-main { gap: 0.75rem; }
  .field-row, .field-row-3 { grid-template-columns: minmax(0, 1fr); }
  .btn-submit { justify-self: stretch; }
  .about-photos { padding: 0 0 1.25rem 1.25rem; gap: 0.6rem; }
  .about-facts div { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { margin-bottom: 76px; }

  .mobile-cta {
    display: block; position: fixed; inset: auto 0 0 0; z-index: var(--z-mobile-cta);
    padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
    background: linear-gradient(to top, rgba(18, 19, 21, 0.98) 70%, rgba(18, 19, 21, 0));
  }
  .mobile-cta .btn { width: 100%; }
  html { scroll-padding-bottom: 90px; }
}

  