/* Sumi & Sel (concept)
   Palette: candlelit sumi-brown night, washi paper, gold leaf (kintsugi) used only as hairlines and small marks.
   Type: Bodoni Moda for every word that should feel crafted; Geist, small and quiet, for everything practical.
   One bold element: the kanji 炭, large in the opening and small in the corner after. */

:root {
  --night: #16120E;
  --night-2: #1F1A15;
  --paper: #E8DFD0;
  --paper-2: #A79C8C;
  --kin: #C2A36B;
  --line: rgba(232, 223, 208, 0.14);

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ja: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;


  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}
/* Bodoni Moda and Geist have no Vietnamese letters; swap whole families rather than let glyphs fall back one by one */
html[lang="vi"] {
  --display: "Noto Serif Display", "Bodoni Moda", Georgia, serif;
  --sans: "Be Vietnam Pro", "Geist", system-ui, sans-serif;
}
html[data-lang="en"] [data-l="vi"], html[data-lang="vi"] [data-l="en"] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3, dl, dd, ol { margin: 0; }
ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--kin); color: var(--night); }
:focus-visible { outline: 1px solid var(--kin); outline-offset: 5px; }

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 120;
  background: var(--paper); color: var(--night); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 16px; }
.skip:focus-visible { outline: 1px solid var(--kin); outline-offset: 3px; }

/* Film grain: fixed, non-interactive, so it never costs a repaint while scrolling */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: no-preference) {
  .grain { animation: grain 0.9s steps(4) infinite; }
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); }
}

/* ---------- Opening sequence (CSS only, so it never depends on a library loading) ---------- */
.intro { display: none; }
html.intro-on body { overflow: hidden; }
html.intro-on .intro {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  position: fixed; inset: 0; z-index: 90; background: var(--night);
  animation: curtain 1s var(--ease) 2.1s forwards;
}
.intro-mark { font-family: var(--ja); font-weight: 500; font-size: clamp(5rem, 13vw, 9.5rem); line-height: 1; opacity: 0; }
.intro-word { font-family: var(--display); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: 0.04em; color: var(--paper-2); opacity: 0; }
html.intro-on .intro-mark { animation: ink 1.3s var(--ease) 0.2s forwards; }
html.intro-on .intro-word { animation: rise 1s var(--ease) 0.95s forwards; }
html.intro-on .hero-video { animation: settle 3.2s var(--ease) 2.2s both; }
html.intro-on .hero-copy, html.intro-on .hero-reserve { animation: rise 1.2s var(--ease) 2.6s both; }
@keyframes ink { from { opacity: 0; filter: blur(14px); transform: scale(1.06); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes curtain { to { transform: translateY(-100%); visibility: hidden; } }
@keyframes settle { from { transform: scale(1.14); } to { transform: scale(1); } }

/* ---------- Shared ---------- */
.section-title {
  font-family: var(--display); font-weight: 400; font-optical-sizing: auto;
  font-size: clamp(2.5rem, 5.2vw, 4.75rem); line-height: 1.02; letter-spacing: -0.01em;
}
.section-sub { color: var(--paper-2); margin-top: 18px; max-width: 40ch; }

.link-line {
  display: inline-block; position: relative; padding: 12px 0; background: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 0.875rem; font-weight: 400; letter-spacing: 0.06em; text-decoration: none; color: var(--paper);
}
.link-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--kin);
  transform-origin: left; transition: transform 0.6s var(--ease);
}
.link-line:hover::after { transform: scaleX(0.35); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 85;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--gutter);
  background: linear-gradient(to bottom, rgba(22, 18, 14, 0.7), transparent);
}
.nav-mark { font-family: var(--ja); font-weight: 500; font-size: 1.75rem; line-height: 1; text-decoration: none; padding: 8px 0; }
.nav-right { display: flex; gap: clamp(20px, 3vw, 40px); }
.nav-right { align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; padding: 0; line-height: 1;
  background: none; border: 0; cursor: pointer; text-decoration: none; min-height: 44px;
  font-size: 0.875rem; font-weight: 400; letter-spacing: 0.06em; position: relative;
}
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: var(--kin); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.nav-link:hover::after, .nav-toggle[aria-expanded="true"]::after { transform: scaleX(1); }
.nav-toggle .when-open, .nav-toggle[aria-expanded="true"] .when-closed { display: none; }
.nav-toggle[aria-expanded="true"] .when-open { display: inline; }

.overlay {
  position: fixed; inset: 0; z-index: 80; background: var(--night);
  visibility: hidden; opacity: 0; transition: opacity 0.6s var(--ease), visibility 0s 0.6s;
}
.overlay.is-open { visibility: visible; opacity: 1; transition: opacity 0.6s var(--ease); }
.overlay-inner {
  height: 100%; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 120px);
  align-items: center; padding: 110px var(--gutter) 56px; max-width: 1440px; margin: 0 auto;
}
.overlay-links { border-top: 1px solid var(--line); }
.overlay-links li { border-bottom: 1px solid var(--line); }
.overlay-links a {
  display: flex; align-items: baseline; gap: clamp(18px, 2vw, 32px); padding: clamp(12px, 1.8vh, 20px) 0; text-decoration: none;
  opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), color 0.3s;
}
.ov-num { width: 2.6em; font-family: var(--display); font-style: italic; font-size: 0.95rem; color: var(--kin); }
.ov-label {
  font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.7vw, 2.5rem); line-height: 1.15;
  transition: transform 0.5s var(--ease);
}
.overlay-links a:hover .ov-label, .overlay-links a:focus-visible .ov-label, .overlay-links a.is-active .ov-label { transform: translateX(10px); color: var(--kin); }
.overlay.is-open .overlay-links a { opacity: 1; transform: none; }
.overlay.is-open .overlay-links li:nth-child(2) a { transition-delay: 0.04s; }
.overlay.is-open .overlay-links li:nth-child(3) a { transition-delay: 0.08s; }
.overlay.is-open .overlay-links li:nth-child(4) a { transition-delay: 0.12s; }
.overlay.is-open .overlay-links li:nth-child(5) a { transition-delay: 0.16s; }
.overlay.is-open .overlay-links li:nth-child(6) a { transition-delay: 0.2s; }
.overlay-note { margin-top: 36px; color: var(--paper-2); font-size: 0.9375rem; line-height: 1.7; }
.overlay-media { aspect-ratio: 3 / 4; max-height: 70vh; overflow: hidden; background: var(--night-2); justify-self: end; width: 100%; }
.overlay-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.45s var(--ease), transform 1.2s var(--ease); }
.overlay-media img.is-swapping { opacity: 0; transform: scale(1.04); }
@media (max-width: 900px) {
  .overlay-inner { grid-template-columns: 1fr; align-items: start; padding-top: 96px; overflow-y: auto; }
  .overlay-media { display: none; }
  .ov-label { font-size: 1.75rem; }
}
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img, .hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; display: block; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(22, 18, 14, 0.92) 0%, rgba(22, 18, 14, 0.15) 55%, rgba(22, 18, 14, 0.5) 100%),
    radial-gradient(ellipse at 30% 100%, rgba(22, 18, 14, 0.6), transparent 60%);
}
.hero-copy { position: absolute; left: var(--gutter); bottom: clamp(48px, 9vh, 96px); max-width: 900px; }
.wordmark {
  font-family: var(--display); font-weight: 400; font-optical-sizing: auto;
  font-size: clamp(3.6rem, 11.5vw, 10.5rem); line-height: 0.92; letter-spacing: -0.015em;
}
.amp { font-style: italic; color: var(--kin); font-weight: 400; }
.hero-line { margin-top: 26px; color: var(--paper-2); font-size: clamp(1rem, 1.3vw, 1.125rem); max-width: 38ch; }
.hero-reserve { position: absolute; right: var(--gutter); bottom: clamp(56px, 9vh, 104px); }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(140px, 24vh, 280px) var(--gutter); max-width: 1320px; margin: 0 auto; }
.manifesto-lines { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.7vw, 4.4rem); line-height: 1.16; letter-spacing: -0.01em; }
.manifesto-lines .line { display: block; }
.manifesto-body { margin: clamp(56px, 8vh, 96px) 0 0 auto; max-width: 46ch; color: var(--paper-2); font-size: 1.0625rem; }

/* ---------- Diptych ---------- */
.diptych {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px);
  padding: 0 var(--gutter) clamp(120px, 18vh, 220px); max-width: 1440px; margin: 0 auto;
}
.dip { overflow: hidden; }
.dip img { width: 100%; height: 100%; object-fit: cover; }
.dip-tall { grid-column: 2 / span 4; aspect-ratio: 3 / 4; }
.dip-wide { grid-column: 7 / span 6; aspect-ratio: 16 / 11; margin-top: clamp(120px, 28vh, 320px); }
.dip-text {
  grid-column: 7 / span 5; margin-top: 32px;
  font-family: var(--display); font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; color: var(--paper-2);
}

/* ---------- Counter (horizontal courses) ---------- */
.counter { padding-top: clamp(80px, 12vh, 140px); }
.counter-head { padding: 0 var(--gutter); margin-bottom: clamp(48px, 7vh, 80px); }
.counter-viewport { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; padding-bottom: clamp(80px, 12vh, 140px); }
.counter-viewport::-webkit-scrollbar { display: none; }
html.pin-counter .counter-viewport { overflow: hidden; scroll-snap-type: none; }
.counter-track { display: flex; gap: clamp(28px, 4vw, 72px); padding: 0 var(--gutter); width: max-content; align-items: flex-start; }
/* Sized from the screen height so a whole course (photo and caption) fits while the counter is pinned */
.course { width: clamp(220px, min(25vw, calc((100svh - 400px) * 0.75)), 380px); scroll-snap-align: start; }
.course:nth-child(even) { margin-top: clamp(32px, 6vh, 72px); }
html.pin-counter .counter { height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 80px; }
html.pin-counter .counter-viewport { padding-bottom: 0; }
html.pin-counter .counter-head { margin-bottom: clamp(28px, 5vh, 56px); }
.course figure { aspect-ratio: 3 / 4; overflow: hidden; background: var(--night-2); }
.course img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.course:hover img { transform: scale(1.04); }
.course-num { display: block; margin-top: 22px; font-family: var(--display); font-style: italic; color: var(--kin); font-size: 1.05rem; }
.course h3 { margin-top: 6px; font-family: var(--display); font-weight: 400; font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.3; max-width: 22ch; }
.course-end { align-self: center; padding-right: var(--gutter); }
.course-end p { font-family: var(--display); font-style: italic; font-size: clamp(1.75rem, 2.8vw, 2.6rem); line-height: 1.2; margin-bottom: 16px; }

/* ---------- Tasting ---------- */
.tasting { max-width: 760px; margin: 0 auto; padding: clamp(120px, 18vh, 220px) var(--gutter); text-align: center; }
.tasting-terms { margin: clamp(40px, 6vh, 64px) 0 32px; text-align: left; }
.tasting-terms div { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.tasting-terms div:first-child { border-top: 1px solid var(--line); }
.tasting-terms dt { color: var(--paper-2); }
.tasting-terms dd { font-family: var(--display); font-size: 1.35rem; font-variant-numeric: lining-nums; white-space: nowrap; }
.tasting-note { color: var(--paper-2); font-size: 0.9375rem; max-width: 52ch; margin: 0 auto 20px; }

/* ---------- Chef ---------- */
.chef {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px);
  padding: clamp(80px, 12vh, 140px) var(--gutter); max-width: 1440px; margin: 0 auto; align-items: end;
}
.chef-portrait { grid-column: 1 / span 6; aspect-ratio: 2 / 3; max-height: 92vh; overflow: hidden; }
.chef-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.chef-copy { grid-column: 8 / span 4; padding-bottom: 6vh; }
.chef-copy p { color: var(--paper-2); margin-top: 22px; max-width: 42ch; }
.chef-copy .section-title + p { margin-top: 36px; }
.chef-sign { font-family: var(--display); font-style: italic; color: var(--kin) !important; font-size: 1.9rem; margin-top: 40px !important; }

/* ---------- Room ---------- */
.room { position: relative; height: 110svh; min-height: 640px; overflow: hidden; margin-top: clamp(80px, 12vh, 140px); }
.room-media { position: absolute; inset: -8% 0; }
.room-media img { width: 100%; height: 100%; object-fit: cover; }
.room::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22, 18, 14, 0.9), rgba(22, 18, 14, 0.25) 50%, rgba(22, 18, 14, 0.9)); }
.room-copy { position: absolute; inset: auto var(--gutter) clamp(64px, 12vh, 140px); z-index: 1; display: flex; justify-content: center; }
.room-title {
  font-family: var(--display); font-weight: 400; text-align: center;
  font-size: clamp(1.8rem, 3.6vw, 3.4rem); line-height: 1.18; max-width: 24ch;
}

/* ---------- Cellar ---------- */
.cellar {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px);
  padding: clamp(140px, 20vh, 240px) var(--gutter); max-width: 1440px; margin: 0 auto; align-items: center;
}
.cellar-copy { grid-column: 2 / span 4; }
.cellar-copy p { color: var(--paper-2); margin-top: 32px; max-width: 42ch; }
.cellar-media { grid-column: 8 / span 4; aspect-ratio: 2 / 3; overflow: hidden; }
.cellar-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero film control ---------- */
.hero-pause {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: right center;
  background: none; border: 0; color: var(--paper-2); cursor: pointer; min-height: 44px; padding: 0 4px;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; transition: opacity 0.3s;
}
.hero-pause:hover { opacity: 1; }
.hero-pause .when-paused, .hero-pause[aria-pressed="true"] .when-playing { display: none; }
.hero-pause[aria-pressed="true"] .when-paused { display: inline; }

/* ---------- Tasting: the season mark and drawn hairlines ---------- */
.eyebrow-season { font-family: var(--ja); font-size: 1.6rem; color: var(--kin); margin-bottom: 18px; }
.tasting-terms .term { position: relative; border: 0 !important; }
.tasting-terms .term::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line);
  transform-origin: left; transform: scaleX(var(--draw, 1));
}
.tasting-terms .term:first-child::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.full-menu em { font-style: normal; }

/* ---------- Private evenings ---------- */
.private {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px);
  padding: clamp(80px, 12vh, 160px) var(--gutter) clamp(120px, 16vh, 200px); max-width: 1440px; margin: 0 auto; align-items: start;
}
.private-media { grid-column: 1 / span 7; aspect-ratio: 3 / 2; overflow: hidden; }
.private-media img { width: 100%; height: 100%; object-fit: cover; }
.private-copy { grid-column: 9 / span 4; padding-top: 4vh; }
.private-copy > p { color: var(--paper-2); margin-top: 28px; max-width: 40ch; }
.private-copy .private-price { color: var(--paper); font-family: var(--display); font-style: italic; font-size: 1.25rem; margin: 28px 0 8px; }
.gift { margin-top: clamp(56px, 8vh, 88px); padding-top: 32px; border-top: 1px solid var(--line); }
.gift h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; }
.gift p { color: var(--paper-2); margin: 12px 0 8px; max-width: 38ch; }

/* ---------- Reservations ---------- */
.reserve {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px);
  padding: clamp(100px, 14vh, 180px) var(--gutter); max-width: 1440px; margin: 0 auto; border-top: 1px solid var(--line);
}
.reserve-intro { grid-column: 1 / span 4; }
.reserve-intro > p { color: var(--paper-2); margin-top: 28px; max-width: 38ch; }
.steps { margin-top: 48px; display: grid; gap: 14px; }
.steps li { display: flex; gap: 16px; align-items: baseline; color: var(--paper-2); opacity: 0.55; transition: opacity 0.4s, color 0.4s; }
.steps li::before { content: attr(data-step-label); font-family: var(--display); font-style: italic; color: var(--kin); width: 18px; }
.steps li.is-current { opacity: 1; color: var(--paper); }
.steps li.is-done { opacity: 0.8; }

.booking { grid-column: 6 / span 7; position: relative; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step:not([hidden]) { animation: rise 0.7s var(--ease); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--paper-2); }
.optional { opacity: 0.7; }
.field input, .field select {
  appearance: none; -webkit-appearance: none; background: transparent; border: 0; border-bottom: 1px solid rgba(232, 223, 208, 0.32);
  border-radius: 0; padding: 12px 0; min-height: 48px; font-size: 1.05rem; font-weight: 300; width: 100%;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field select {
  cursor: pointer; padding-right: 24px;
  background-image: linear-gradient(45deg, transparent 50%, var(--paper-2) 50%), linear-gradient(135deg, var(--paper-2) 50%, transparent 50%);
  background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
.field select option { background: var(--night-2); color: var(--paper); }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--kin); box-shadow: 0 1px 0 var(--kin); }
.field input:focus-visible, .field select:focus-visible { outline: 1px solid var(--kin); outline-offset: 6px; }
.field.is-invalid input, .field.is-invalid select { border-bottom-color: #E2A991; }

/* Calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-month { font-family: var(--display); font-size: 1.5rem; }
.cal-nav { background: none; border: 1px solid var(--line); color: var(--paper); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; transition: border-color 0.3s; }
.cal-nav:hover:not(:disabled) { border-color: var(--kin); }
.cal-nav:disabled { opacity: 0.25; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { text-align: center; font-size: 0.75rem; letter-spacing: 0.08em; color: var(--paper-2); padding: 6px 0 10px; }
.cal-day {
  height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: none; border: 1px solid transparent; color: var(--paper); cursor: pointer; padding: 0;
  font-family: var(--display); font-size: 1.1rem; transition: border-color 0.3s, background-color 0.3s;
}
.cal-day small { font-family: var(--sans); font-size: 0.625rem; color: var(--paper-2); letter-spacing: 0.02em; }
.cal-day:hover:not(:disabled) { border-color: var(--line); }
.cal-day[aria-pressed="true"] { border-color: var(--kin); background: rgba(194, 163, 107, 0.1); }
.cal-day:disabled { color: rgba(232, 223, 208, 0.22); cursor: default; }
.cal-day.is-full small { color: rgba(232, 223, 208, 0.35); }
.cal-legend { margin-top: 16px; font-size: 0.8125rem; color: var(--paper-2); }

.btn-quiet {
  margin-top: 40px; min-height: 56px; padding: 0 40px; cursor: pointer;
  background: transparent; border: 1px solid var(--kin); color: var(--paper);
  font-family: var(--display); font-style: italic; font-size: 1.25rem;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}
.btn-quiet:hover, .btn-solid { background: var(--kin); color: var(--night); }
.btn-solid:hover { background: transparent; color: var(--paper); }
.step-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.step-actions .btn-quiet, .step-actions .link-line { margin-top: 32px; }
.step-summary { font-family: var(--display); font-style: italic; font-size: 1.35rem; color: var(--paper); }
.form-error { color: #E2A991; font-size: 0.9375rem; margin-top: 20px; }

.review { display: grid; border-top: 1px solid var(--line); }
.review div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.review dt { color: var(--paper-2); }
.review dd { text-align: right; }
.review .total dd { font-family: var(--display); font-size: 1.35rem; }
.deposit-note { color: var(--paper-2); font-size: 0.9375rem; margin-top: 28px; max-width: 62ch; }
.check { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; cursor: pointer; min-height: 44px; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 2px 0 0; border: 1px solid var(--paper-2);
  display: grid; place-content: center; cursor: pointer;
}
.check input::after { content: ""; width: 10px; height: 10px; background: var(--kin); transform: scale(0); transition: transform 0.25s var(--ease); }
.check input:checked { border-color: var(--kin); }
.check input:checked::after { transform: scale(1); }
.check input:focus-visible { outline: 1px solid var(--kin); outline-offset: 4px; }

.booking-done { padding-top: 12px; }
.booking-done:focus { outline: none; }
.done-mark { font-family: var(--ja); font-size: 3.5rem; line-height: 1; color: var(--kin); }
.done-title { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; margin-top: 24px; }
.done-body { color: var(--paper-2); margin-top: 18px; max-width: 52ch; }
.done-demo { margin-top: 28px; font-size: 0.8125rem; color: var(--paper-2); opacity: 0.75; }

/* ---------- Before your evening ---------- */
.before { max-width: 980px; margin: 0 auto; padding: clamp(80px, 12vh, 160px) var(--gutter) clamp(120px, 16vh, 200px); }
.accordion { margin-top: clamp(40px, 6vh, 64px); border-top: 1px solid var(--line); interpolate-size: allow-keywords; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 72px; padding: 18px 0; font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.6rem); transition: color 0.3s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; flex: none; width: 13px; height: 13px;
  background: linear-gradient(var(--kin), var(--kin)) center / 13px 1px no-repeat, linear-gradient(var(--kin), var(--kin)) center / 1px 13px no-repeat;
  transition: transform 0.5s var(--ease);
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion summary:hover { color: var(--kin); }
.acc-body { padding: 0 0 26px; color: var(--paper-2); max-width: 66ch; }
@media (prefers-reduced-motion: no-preference) {
  .accordion details::details-content { height: 0; overflow: hidden; transition: height 0.55s var(--ease), content-visibility 0.55s allow-discrete; }
  .accordion details[open]::details-content { height: auto; }
}
.foot a { text-decoration: none; display: inline-block; padding: 12px 0; margin: -12px 0; }
.foot a:hover { color: var(--kin); }

/* ---------- Footer ---------- */
.foot { padding: clamp(56px, 8vh, 96px) var(--gutter) 40px; border-top: 1px solid var(--line); }
.foot-row { display: flex; flex-wrap: wrap; gap: 32px 80px; align-items: flex-start; }
.foot-row p { color: var(--paper-2); font-size: 0.9375rem; line-height: 1.6; }
.foot-mark { font-family: var(--ja); font-weight: 500; font-size: 2.6rem; line-height: 1; margin-right: auto; }
.foot-demo { margin-top: 56px; color: var(--paper-2); opacity: 0.75; font-size: 0.8125rem; max-width: 92ch; }

/* ---------- Full menu dialog ---------- */
.menu-dialog {
  width: min(640px, calc(100vw - 32px)); max-height: calc(100svh - 48px);
  background: var(--night-2); color: var(--paper); border: 1px solid var(--line);
  padding: clamp(32px, 5vw, 64px);
}
.menu-dialog::backdrop { background: rgba(10, 8, 6, 0.82); backdrop-filter: blur(6px); }
.menu-dialog[open] { animation: rise 0.6s var(--ease); }
.dialog-close { position: absolute; top: 16px; right: 24px; }
.full-menu { margin: 36px 0 28px; }
.full-menu li {
  display: grid; grid-template-columns: 56px 1fr; padding: 11px 0; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.35;
}
.full-menu span { font-style: italic; color: var(--kin); }
.menu-dialog .tasting-note { margin: 0; }

/* ---------- Phones: designed for one hand and a short attention span ---------- */
@media (max-width: 900px) {
  .nav { padding-top: max(14px, env(safe-area-inset-top)); }
  .nav-right { gap: 18px; }
  .nav-reserve { display: none; }
  .hero-copy { bottom: 112px; right: var(--gutter); }
  .hero-reserve { left: var(--gutter); right: auto; bottom: max(36px, env(safe-area-inset-bottom)); }
  .hero-pause { top: auto; bottom: max(36px, env(safe-area-inset-bottom)); transform: none; }
  .manifesto { padding-block: 120px; }
  .manifesto-body { margin-left: 0; }
  .diptych { padding-bottom: 96px; }
  .dip-tall { grid-column: 1 / span 9; }
  .dip-wide { grid-column: 4 / span 9; margin-top: 64px; }
  .dip-text { grid-column: 1 / -1; }
  .counter-head { margin-bottom: 36px; }
  .counter-viewport { scroll-padding-inline: var(--gutter); padding-bottom: 88px; }
  .course { width: 74vw; }
  .course:nth-child(even) { margin-top: 40px; }
  .tasting { padding-block: 96px; }
  .tasting-terms .term { flex-direction: column; gap: 4px; }
  .chef, .cellar, .reserve, .private { display: block; }
  .chef-portrait { max-height: none; }
  .chef-copy { padding-bottom: 0; margin-top: 48px; }
  .cellar { padding-block: 112px; }
  .cellar-media { margin-top: 56px; width: 80%; margin-left: auto; }
  .private-copy { padding-top: 40px; }
  .booking { margin-top: 48px; }
  .steps { grid-auto-flow: column; justify-content: start; gap: 22px; margin-top: 32px; }
  .row-2 { grid-template-columns: 1fr; gap: 26px; }
  .cal-day { font-size: 1rem; height: 54px; }
  .btn-quiet { width: 100%; }
  .step-actions { flex-direction: column-reverse; align-items: stretch; }
  .step-actions .link-line { align-self: center; margin-top: 8px; }
  .room { height: 80svh; min-height: 520px; }
  .room-media { inset: 0; }
  .foot-row { flex-direction: column; gap: 20px; }
  .foot-mark { margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
