/* ========== Tokens ========== */
:root {
  --bg: #f6efe4;
  --surface: #fffaf3;
  --text: #2e2019;
  --muted: #6b5a4e;
  --line: #e6dac9;
  --accent: #9a5b2c;
  --on-accent: #fffaf3;
  --sage: #8a9a7b;
  --photo-text: #fffaf3;
  --photo-accent: #f0bd85;
  --photo-shade: #1a110c;

  --glow: color-mix(in srgb, #ffb866 55%, transparent);
  --soft: color-mix(in srgb, var(--accent) 10%, var(--surface));
  --glass: color-mix(in srgb, var(--surface) 64%, transparent);
  --glass-line: color-mix(in srgb, var(--text) 10%, transparent);
  --shadow: 0 1px 2px color-mix(in srgb, var(--text) 8%, transparent), 0 12px 32px -12px color-mix(in srgb, var(--text) 22%, transparent);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 22px;
  --r-sm: 14px;
  --header: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
[data-theme="night"] {
  --bg: #1f1611;
  --surface: #2c211a;
  --text: #f3e9da;
  --muted: #bfae9c;
  --line: #45362b;
  --accent: #d9a066;
  --on-accent: #1f1611;
  --glass: color-mix(in srgb, var(--surface) 58%, transparent);
  --shadow: 0 1px 2px #0006, 0 16px 40px -16px #000a;
}

/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 var(--sans); overflow-x: hidden;
  padding-bottom: 76px; /* mobile bar */
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 6vw, 3.25rem); }
h3 { font-size: 1.5rem; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); font-weight: 400; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
.wrap { width: min(100% - 40px, 1200px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 1rem; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 12px 16px; border-radius: 12px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.eyebrow { font-weight: 600; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tag { font: 500 .8125rem/1 var(--sans); letter-spacing: .02em; text-transform: none; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 6px 10px; background: var(--surface); }
.lead { color: var(--muted); font-size: 1.125rem; max-width: 52ch; }

/* ========== Buttons ========== */
.btn {
  --b: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 99px; border: 1.5px solid var(--b);
  font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), opacity .2s;
  position: relative; isolation: isolate;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--ghost { background: transparent; color: var(--text); --b: color-mix(in srgb, var(--text) 35%, transparent); }
.btn--light { color: var(--photo-text); --b: color-mix(in srgb, var(--photo-text) 70%, transparent); }
.btn--block { width: 100%; }
.btn--glow::after {
  content: ""; position: absolute; inset: -8px; z-index: -1; border-radius: inherit;
  background: radial-gradient(closest-side, var(--glow), transparent); opacity: .55; filter: blur(8px);
  transition: opacity .3s, transform .3s var(--ease);
}
.btn--glow:hover::after, .btn--glow:focus-visible::after { opacity: 1; transform: scale(1.06); }
.btn:hover { transform: translateY(-1px); }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; font-size: 1.125rem; transition: transform .2s var(--ease); }
.icon-btn:active { transform: scale(.94); }

/* ========== Header ========== */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header); color: var(--photo-text); }
.header::before { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .3s; }
.header.is-solid { color: var(--text); }
.header.is-solid::before { opacity: 1; }
.header__inner { position: relative; height: 100%; display: flex; align-items: center; gap: 12px; }
.logo { display: flex; margin-right: auto; color: inherit; }
.logo svg, .logo img { width: 88px; height: auto; }
.header:not(.is-solid) .logo img { filter: brightness(0) invert(1); }
[data-theme="night"] .header.is-solid .logo img { filter: brightness(1.6) saturate(.8); }
.icon-btn:disabled { opacity: .4; cursor: default; }
.header__book { display: none; }

.nav {
  position: fixed; inset: var(--header) 0 auto; padding: 16px 20px 24px; display: grid; gap: 4px;
  background: var(--bg); color: var(--text); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(-12px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
}
.nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
.nav a:not(.btn) { min-height: 48px; display: flex; align-items: center; text-decoration: none; font-family: var(--serif); font-size: 1.5rem; }
.nav__book { margin-top: 8px; }

.burger { width: 48px; height: 48px; border: 0; background: none; cursor: pointer; display: grid; place-content: center; gap: 7px; }
.burger span { width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* Lamp toggle */
.lamp { position: relative; width: 48px; height: var(--header); border: 0; background: none; cursor: pointer; padding: 0; display: grid; place-items: start center; }
.lamp svg { overflow: visible; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.lamp__shade { fill: currentColor; }
.lamp__bulb { fill: var(--photo-accent); stroke: none; opacity: 0; transition: opacity .4s; }
.lamp__cord { transition: transform .35s var(--ease); }
.lamp__cord circle { fill: currentColor; }
.lamp.is-pulled .lamp__cord { transform: translateY(6px); }
.lamp__glow { position: absolute; left: 50%; top: 24px; width: 90px; height: 70px; margin-left: -45px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); opacity: 0; transition: opacity .5s; pointer-events: none; }
[data-theme="night"] .lamp__bulb, [data-theme="night"] .lamp__glow { opacity: 1; }
[data-theme="night"] .lamp__shade { fill: var(--accent); }

/* ========== Hero ========== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--photo-text); background: var(--photo-shade); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--photo-shade) 45%, transparent) 0%, transparent 25%, transparent 40%, color-mix(in srgb, var(--photo-shade) 88%, transparent) 100%); }
.hero__glow { position: absolute; left: 66%; top: 34%; width: 70vmin; height: 70vmin; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, #ffb866 38%, transparent), transparent); mix-blend-mode: screen; z-index: 1; animation: breathe 6s ease-in-out infinite; pointer-events: none; }
.hero__content { position: relative; z-index: 2; padding-block: 120px 56px; }
.hero__title { font-size: clamp(2.9rem, 12vw, 6.5rem); font-weight: 400; line-height: 1; max-width: 10ch; }
.hero__title em { color: var(--photo-accent); }
.hero__text { margin-top: 18px; font-size: 1.125rem; max-width: 38ch; color: color-mix(in srgb, var(--photo-text) 90%, transparent); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 99px; margin-bottom: 20px; background: color-mix(in srgb, var(--photo-shade) 50%, transparent); border: 1px solid color-mix(in srgb, var(--photo-text) 20%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-weight: 500; }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.status.is-open .status__dot { background: #7fd18b; box-shadow: 0 0 0 4px color-mix(in srgb, #7fd18b 30%, transparent); }
.status.is-closed .status__dot { background: var(--photo-accent); }
@keyframes breathe { 50% { opacity: .65; transform: translate(-50%, -50%) scale(1.06); } }

/* ========== Sections ========== */
.section { padding-block: 72px; position: relative; }
.section--alt { background: color-mix(in srgb, var(--surface) 70%, var(--bg)); }
.section__head { display: grid; gap: 12px; margin-bottom: 36px; }
.section__head--row { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.arrows { display: none; gap: 8px; }

/* Menu */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px; margin: -4px -4px 24px; scrollbar-width: none; }
.tab { min-height: 48px; padding: 0 22px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 600; white-space: nowrap; transition: transform .2s var(--ease); }
.tab:active { transform: scale(.97); }
.tab[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.menu-list { display: grid; gap: 0 48px; }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.menu-item h3 { font-size: 1.25rem; }
.menu-item p { grid-column: 1; color: var(--muted); }
.menu-item .price { grid-row: 1; grid-column: 2; font-family: var(--serif); font-size: 1.25rem; color: var(--accent); font-weight: 600; }
.panel-in { animation: fadeUp .4s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

/* Glass */
.glass { background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r); box-shadow: var(--shadow); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }

/* Order */
.order { overflow: hidden; }
.order__blobs { position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background:
    radial-gradient(40% 30% at 12% 20%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(35% 30% at 90% 40%, color-mix(in srgb, var(--sage) 30%, transparent), transparent 70%),
    radial-gradient(40% 30% at 40% 95%, color-mix(in srgb, #ffb866 22%, transparent), transparent 70%); }
.order .wrap { position: relative; }
.order__grid { display: grid; gap: 24px; align-items: start; }
.calc { display: grid; gap: 14px; }
.step { padding: 20px; }
.step__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.step__num { font: 600 .875rem/1 var(--sans); color: var(--on-accent); background: var(--accent); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; transform: translateY(-2px); }
.step__head h3 { font-size: 1.25rem; }
.step__hint { margin-left: auto; color: var(--muted); font-size: 1rem; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.chip {
  min-height: 56px; padding: 10px 12px; border-radius: 16px; text-align: left; cursor: pointer;
  border: 1.5px solid var(--glass-line); background: color-mix(in srgb, var(--surface) 75%, transparent);
  display: flex; align-items: center; gap: 10px; transition: transform .18s var(--ease); position: relative;
}
.chip:active { transform: scale(.96); }
.chip svg { width: 24px; height: 24px; flex: none; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.chip__t { display: grid; line-height: 1.25; }
.chip__t b { font-weight: 600; }
.chip__t small { color: var(--muted); font-size: .875rem; }
.chip[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--surface)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent), 0 8px 24px -8px var(--glow); }
.calc__bar { position: sticky; bottom: 84px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; border-radius: 99px; }
.calc__label { display: block; color: var(--muted); font-size: .875rem; }
.calc__total { font: 600 1.75rem/1 var(--serif); display: inline-block; }
.calc__total.bump { animation: bump .3s var(--ease); }
@keyframes bump { 50% { transform: scale(1.08); } }
.calc__bar .btn { min-width: 120px; }
.note-card { padding: 20px; display: grid; gap: 12px; animation: fadeUp .35s var(--ease); }
.note-card pre { margin: 0; white-space: pre-wrap; font: 1rem/1.6 var(--sans); background: color-mix(in srgb, var(--surface) 80%, transparent); padding: 14px; border-radius: var(--r-sm); border: 1px solid var(--line); }
.note-card .row { display: flex; flex-wrap: wrap; gap: 10px; }
.shelf-in-order { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 6px 0 14px; border-radius: 99px; background: var(--soft); border: 1px solid var(--line); }
.pill button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; font-size: 1.125rem; }

/* Finder */
.finder { padding: 24px; position: relative; }
.finder h3 { font-size: 1.75rem; }
.finder form { display: grid; gap: 16px; margin-top: 16px; }
.finder fieldset { border: 0; padding: 0; margin: 0; }
.finder legend { font-weight: 600; margin-bottom: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { flex: 1 1 auto; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--glass-line); background: color-mix(in srgb, var(--surface) 75%, transparent); cursor: pointer; transition: transform .18s var(--ease); white-space: nowrap; }
.seg input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--surface)); font-weight: 600; }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.seg span:active { transform: scale(.96); }
.match { margin-top: 18px; padding: 18px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--surface) 85%, transparent); border: 1px solid var(--line); display: grid; gap: 10px; animation: fadeUp .35s var(--ease); }
.match__name { font: 500 1.5rem/1.15 var(--serif); }
.match__price { font: 600 1.375rem/1 var(--serif); color: var(--accent); }
.steam-cup { position: absolute; right: 22px; top: 10px; width: 64px; height: 76px; display: flex; align-items: flex-end; }
.steam-cup svg { stroke: var(--accent); stroke-width: 2.5; fill: none; }
.steam-cup .cup-body { fill: color-mix(in srgb, var(--accent) 18%, transparent); }
.steam { position: absolute; bottom: 44px; width: 6px; height: 24px; border-radius: 99px; background: color-mix(in srgb, var(--muted) 55%, transparent); filter: blur(3px); opacity: 0; animation: steam 3s ease-out infinite; }
.steam:nth-child(1) { left: 16px; }
.steam:nth-child(2) { left: 26px; animation-delay: 1s; }
.steam:nth-child(3) { left: 36px; animation-delay: 2s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(6px) scaleY(.6); } 30% { opacity: .9; } 100% { opacity: 0; transform: translateY(-22px) translateX(4px) scaleY(1.2); } }

/* Why */
.why { display: grid; gap: 40px; align-items: center; }
.why__media img, .stay__media img { border-radius: var(--r); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
.why__list { display: grid; gap: 14px; }
.feature { display: flex; gap: 16px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.feature__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; flex: none; }
.feature__icon svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.25rem; margin-bottom: 4px; }
.feature p { color: var(--muted); }

/* Journey */
.journey { display: grid; gap: 28px; counter-reset: j; }
.journey li { position: relative; }
.journey figure { margin: 0; position: relative; }
.journey img { border-radius: var(--r); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.journey__step { position: absolute; left: 14px; top: 14px; padding: 8px 14px; border-radius: 99px; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-weight: 600; border: 1px solid var(--glass-line); }
.journey h3 { margin: 16px 0 6px; }
.journey p { color: var(--muted); }

/* Stay */
.stay { display: grid; gap: 40px; align-items: center; }
.stay__list { display: grid; gap: 14px; }
.stay__media { position: relative; }
.stay__badge { position: absolute; left: 16px; bottom: -20px; padding: 14px 20px; display: grid; }
.stay__badge strong { font: 600 1.75rem/1 var(--serif); color: var(--accent); }
.stay__badge span { color: var(--muted); }

/* Shelf */
.shelf { display: grid; gap: 20px; }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; }
.product img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.product__body { padding: 18px 20px 20px; display: grid; gap: 6px; }
.product__body p { color: var(--muted); }
.product__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.product__price { font: 600 1.375rem/1 var(--serif); }
.product .btn.is-added { background: var(--sage); border-color: var(--sage); color: var(--text); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-sm); aspect-ratio: 1; }
.gallery figure { margin: 0; }

/* Reviews */
.reviews { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(20px, calc((100% - 1200px) / 2)) 16px; scroll-padding-inline: max(20px, calc((100% - 1200px) / 2)); scrollbar-width: thin; overscroll-behavior-x: contain; }
.review { flex: 0 0 min(84%, 360px); scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 14px; align-content: start; }
.review blockquote { margin: 0; font: 400 1.25rem/1.4 var(--serif); }
.review .stars { color: var(--accent); letter-spacing: 2px; }
.review cite { font-style: normal; font-weight: 600; color: var(--muted); }

/* Visit */
.visit { display: grid; gap: 32px; align-items: start; }
.visit__info { display: grid; gap: 20px; }
.map { aspect-ratio: 16/10; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background:
  linear-gradient(color-mix(in srgb, var(--line) 60%, transparent) 1px, transparent 1px) 0 0 / 32px 32px,
  linear-gradient(90deg, color-mix(in srgb, var(--line) 60%, transparent) 1px, transparent 1px) 0 0 / 32px 32px, var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map__load { width: 100%; height: 100%; border: 0; background: none; cursor: pointer; display: grid; place-content: center; justify-items: center; gap: 8px; font-weight: 600; }
.map__load svg { stroke: var(--accent); fill: none; stroke-width: 1.8; }
.visit__address { font: 500 1.375rem/1.3 var(--serif); }
.hours li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.hours li.is-today { font-weight: 600; color: var(--accent); }
.visit__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.book { padding: 24px; display: grid; gap: 14px; }
.book h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; font-weight: 500; }
.field input, .field select { min-height: 52px; padding: 0 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface); width: 100%; min-width: 0; }
.field input:focus, .field select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field input[aria-invalid="true"] { border-color: #c0392b; }
.form-error { color: #b3361f; font-weight: 500; min-height: 0; }
[data-theme="night"] .form-error { color: #ff9b85; }
[data-theme="night"] input[type="date"] { color-scheme: dark; }
.confirm { display: grid; gap: 12px; text-align: left; animation: fadeUp .4s var(--ease); }
.confirm__check { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 1.75rem; }

/* Footer */
.footer { padding: 48px 0 32px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; gap: 20px; }
.footer img { width: 96px; }
[data-theme="night"] .footer img { filter: brightness(1.6) saturate(.8); }
.footer__tag { font: italic 1.25rem var(--serif); color: var(--muted); margin-top: 6px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer__links a { min-height: 48px; display: inline-flex; align-items: center; }
.footer__demo { color: var(--muted); }

/* Mobile bar */
.mbar { position: fixed; z-index: 40; inset: auto 10px calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px; border-radius: 22px; background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--glass-line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.mbar a { min-height: 52px; display: grid; justify-items: center; align-content: center; gap: 2px; text-decoration: none; font-size: .875rem; font-weight: 600; border-radius: 16px; cursor: pointer; }
.mbar a:active { transform: scale(.96); }
.mbar svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; }

/* Theme veil + reveal */
.theme-veil { position: fixed; inset: 0; z-index: 99; pointer-events: none; opacity: 0; background: radial-gradient(circle at 90% 0%, #ffcf8a, #2a1b12 70%); transition: opacity .35s ease; }
.theme-veil.is-on { opacity: .35; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ========== Breakpoints ========== */
@media (min-width: 600px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .shelf { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .journey li:nth-child(2) { margin-top: 48px; }
}
@media (min-width: 768px) {
  .section { padding-block: 104px; }
  .menu-list { grid-template-columns: 1fr 1fr; }
  .why__list { grid-template-columns: 1fr 1fr; }
  .arrows { display: flex; }
  .footer__inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer__demo { grid-column: 1 / -1; }
  .hero__content { padding-bottom: 96px; }
  .hero__glow { left: 52%; top: 28%; }
  .hero__img { object-position: 50% 50%; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .mbar { display: none; }
  .burger { display: none; }
  .header__book { display: inline-flex; min-height: 48px; }
  .nav { position: static; display: flex; align-items: center; gap: 28px; padding: 0; margin-right: 8px; background: none; border: 0; box-shadow: none; opacity: 1; transform: none; pointer-events: auto; color: inherit; }
  .nav a:not(.btn) { font: 500 1rem var(--sans); min-height: 48px; position: relative; }
  .nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .nav a:not(.btn):hover::after { transform: scaleX(1); }
  .nav__book { display: none; }
  .logo { margin-right: 0; }
  .header__inner { justify-content: space-between; }
  .nav { margin-left: auto; }
  .calc__bar { bottom: 20px; }
  .order__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .finder { position: sticky; top: calc(var(--header) + 20px); }
  .why { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .why__media img { aspect-ratio: 4/5; }
  .stay { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .shelf { grid-template-columns: repeat(3, 1fr); }
  .visit { grid-template-columns: 1.2fr 1fr; gap: 48px; }
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; }
  .gallery img { aspect-ratio: auto; }
  .gallery figure:nth-child(1) { grid-row: span 2; }
  .gallery figure:nth-child(2) { grid-column: span 2; }
  .gallery figure:nth-child(5) { grid-row: span 2; }
  .gallery figure:nth-child(4) { grid-column: span 2; }
}
@media (min-width: 1200px) {
  .why__media { transform: translateX(-24px); }
  .stay__media img { transform: translateX(24px); }
  .stay__badge { left: -16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
