/* ==========================================================================
   A Rustic Vietnam, design system v2 (23/09/2026)
   Direction: image-led, rice + wood. Spec: docs/04-design-system-v2.md
   Rules that must not drift:
   - ONE accent: --rice (ripe rice gold). Greens and woods are neutrals/surfaces.
   - Radius: --r (18px) for media, cards, panels. Pills (999px) for buttons, chips.
     Inputs --r-sm (12px). Nothing else.
   - Light theme page. The only dark areas: .cta-band and .site-footer (the "dusk" end),
     and the mobile menu overlay.
   - Motion hooks are data-attributes (see motion.js). CSS never hides content
     unless html.motion is set (added only when motion is allowed).
   ========================================================================== */

:root {
  --paper: #f6f1e7;
  --paper-2: #ece2cc;
  --paper-3: #e2d4b6;
  --ink: #1f2a1d;
  --ink-2: #4a4537;
  --ink-3: #6e6654;
  --paddy: #2e4a2b;
  --paddy-deep: #18261a;
  --rice: #d6a443;
  --rice-deep: #b8862a;
  --rice-soft: #f0dcaa;
  --wood: #8a5a36;
  --wood-deep: #5c3b22;
  --on-dark: #f3ecdc;
  --on-dark-2: #c9c0aa;
  --line: rgba(31, 42, 29, .14);
  --line-strong: rgba(31, 42, 29, .28);
  --line-dark: rgba(243, 236, 220, .18);

  --font-sans: 'Be Vietnam Pro', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Lora', Georgia, serif;

  --fs-display: clamp(2.75rem, 1.5rem + 5.4vw, 6.25rem);
  --fs-h1: clamp(2.35rem, 1.45rem + 3.6vw, 4.5rem);
  --fs-h2: clamp(1.9rem, 1.3rem + 2.4vw, 3.4rem);
  --fs-h3: clamp(1.3rem, 1.14rem + .6vw, 1.65rem);
  --fs-lead: clamp(1.1rem, 1.03rem + .35vw, 1.35rem);
  --fs-body: 1.0625rem;
  --fs-sm: .9375rem;
  --fs-xs: .8125rem;

  --r: 18px;
  --r-sm: 12px;
  --pill: 999px;

  --container: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 9vw, 136px);
  --header-h: 72px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --z-header: 50;
  --z-sticky: 40;
  --z-menu: 60;
  --z-dialog: 70;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.05; letter-spacing: -.025em; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--rice-deep); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--rice-soft); color: var(--ink); }
.num { font-variant-numeric: tabular-nums; }
.viet { font-family: var(--font-serif); font-style: italic; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--pill);
}
.skip-link:focus { top: 12px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.stack > * + * { margin-top: 1rem; }
.measure { max-width: 62ch; }

/* ---------- type ---------- */
.display { font-size: var(--fs-display); line-height: .98; letter-spacing: -.035em; font-weight: 500; }
.h1 { font-size: var(--fs-h1); line-height: 1; letter-spacing: -.03em; }
.h2 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -.028em; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.015em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.accent { color: var(--rice-deep); }
.italic { font-style: italic; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--rice); --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.4em; border-radius: var(--pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 500; font-size: 1rem; line-height: 1; white-space: nowrap;
  transition: transform .35s var(--ease-out), background-color .25s, color .25s, box-shadow .25s;
  position: relative; isolation: isolate; overflow: hidden;
}
.btn i { font-size: 1.2em; transition: transform .35s var(--ease-out); }
.btn:hover { background: var(--rice-deep); }
.btn:hover i.ph-arrow-right, .btn:hover i.ph-arrow-up-right { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); box-shadow: none; }
.btn--light { --btn-bg: transparent; --btn-fg: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(243, 236, 220, .55); }
.btn--light:hover { background: var(--on-dark); color: var(--ink); }
.btn--wa i { font-size: 1.3em; }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0 1.1em; font-size: var(--fs-sm); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em; font-weight: 500;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 2px;
  transition: border-color .25s, gap .35s var(--ease-out);
}
.link-arrow:hover { border-color: var(--ink); gap: .7em; }

.chip {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .38em .8em; border-radius: var(--pill);
  background: var(--paper-2); color: var(--ink-2);
  font-size: var(--fs-xs); font-weight: 500; line-height: 1.2; white-space: nowrap;
}
.chip i { font-size: 1.15em; }
.chip--rice { background: var(--rice-soft); color: var(--wood-deep); }
.chip--dark { background: rgba(24, 38, 26, .72); color: var(--on-dark); backdrop-filter: blur(6px); }

/* ---------- media ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper-3); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--1x1 { aspect-ratio: 1 / 1; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  height: var(--header-h);
  color: var(--ink);
  transition: background-color .35s, color .35s, box-shadow .35s, transform .45s var(--ease-out);
}
.site-header.is-over-hero { color: var(--on-dark); }
.site-header.is-solid { background: rgba(246, 241, 231, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.12rem; letter-spacing: -.02em; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.nav__link { font-size: var(--fs-sm); font-weight: 500; position: relative; padding-block: 6px; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.is-over-hero .header-cta .btn--ghost { --btn-fg: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(243, 236, 220, .55); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: var(--pill); align-items: center; justify-content: center; font-size: 1.5rem; }

.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--paddy-deep); color: var(--on-dark);
  display: flex; flex-direction: column; padding: 20px var(--gutter) 32px;
  visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; height: 52px; }
.mobile-menu__links { margin-top: 40px; display: grid; gap: 6px; }
.mobile-menu__links a { font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.2; }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 12px; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--on-dark); isolation: isolate; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(24, 38, 26, .45) 0%, rgba(24, 38, 26, 0) 22%),
    linear-gradient(0deg, rgba(20, 28, 18, .78) 0%, rgba(20, 28, 18, .35) 38%, rgba(20, 28, 18, 0) 62%);
}
.hero__content { padding-bottom: clamp(120px, 16vh, 180px); padding-top: calc(var(--header-h) + 40px); }
.hero__title { max-width: 14ch; }
.hero__sub { margin-top: 20px; max-width: 42ch; font-size: var(--fs-lead); color: rgba(243, 236, 220, .9); }
.hero__ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* finder bar: docks at the bottom edge of the hero */
.finder-wrap { position: relative; z-index: 3; margin-top: -64px; }
.finder {
  background: var(--paper); border-radius: var(--pill);
  box-shadow: 0 24px 60px -24px rgba(24, 38, 26, .45), inset 0 0 0 1px var(--line);
  display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; align-items: center;
  padding: 10px 10px 10px 32px; gap: 8px;
}
.finder__field { display: grid; gap: 2px; padding: 6px 16px 6px 0; border-right: 1px solid var(--line); min-width: 0; }
.finder__field:nth-child(3) { border-right: 0; }
.finder__label { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 500; }
.finder__select {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 2px 22px 2px 0;
  font-weight: 500; font-size: 1rem; min-width: 0; width: 100%; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%231f2a1d' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center;
}
.finder__select:focus-visible { outline-offset: 6px; }
.finder .btn { min-height: 56px; padding: 0 1.8em; }

/* ---------- statement ---------- */
.statement__text { font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3.4rem); line-height: 1.16; letter-spacing: -.025em; font-weight: 400; max-width: 22ch; }
.statement__text .pic {
  display: inline-block; width: 2.4em; height: 1.05em; border-radius: var(--pill); overflow: hidden;
  vertical-align: -.12em; margin-inline: .08em; background: var(--paper-3);
}
.statement__text .pic img { width: 100%; height: 100%; object-fit: cover; }
.statement__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.facts { display: grid; gap: 28px; }
.fact { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--line-strong); }
.fact__value { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.fact__label { color: var(--ink-3); font-size: var(--fs-sm); }

/* ---------- category bento ---------- */
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 760px; }
.section-head--row { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(200px, 22vw); gap: 16px; }
.bento__cell { position: relative; overflow: hidden; border-radius: var(--r); color: var(--on-dark); isolation: isolate; display: flex; align-items: flex-end; padding: clamp(18px, 2vw, 28px); background: var(--paddy); }
.bento__cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease-out); }
.bento__cell::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20, 28, 18, .78) 0%, rgba(20, 28, 18, .1) 55%, rgba(20, 28, 18, 0) 100%); }
.bento__cell:hover img { transform: scale(1.06); }
.bento__cell:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.bento__cell:nth-child(2) { grid-column: span 5; }
.bento__cell:nth-child(3) { grid-column: span 5; }
.bento__cell:nth-child(4) { grid-column: span 4; }
.bento__cell:nth-child(5) { grid-column: span 4; }
.bento__cell:nth-child(6) { grid-column: span 4; }
.bento__body { display: grid; gap: 6px; width: 100%; }
.bento__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bento__title { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.02em; }
.bento__count { font-size: var(--fs-sm); color: var(--on-dark-2); white-space: nowrap; }
.bento__blurb { font-size: var(--fs-sm); color: var(--on-dark-2); max-width: 36ch; }
.bento__cell:nth-child(1) .bento__title { font-size: var(--fs-h2); }

/* ---------- tour card + rail ---------- */
.tour-card { display: grid; gap: 14px; color: var(--ink); }
.tour-card__media { aspect-ratio: 4 / 3; }
.tour-card__media img { transition: transform 1.1s var(--ease-out); }
.tour-card:hover .tour-card__media img { transform: scale(1.05); }
.tour-card__badge { position: absolute; left: 12px; top: 12px; }
.tour-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tour-card__title { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.02em; font-weight: 500; }
.tour-card__tag { color: var(--ink-2); font-size: var(--fs-sm); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tour-card__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); }
.tour-card__price { font-weight: 600; font-size: 1.15rem; }
.tour-card__price small { font-weight: 400; color: var(--ink-3); font-size: var(--fs-xs); margin-right: 4px; }
.tour-card__go { width: 40px; height: 40px; border-radius: var(--pill); display: grid; place-items: center; background: var(--paper-2); transition: background-color .25s, transform .35s var(--ease-out); }
.tour-card:hover .tour-card__go { background: var(--rice); transform: rotate(-45deg); }

.rail { position: relative; }
.rail__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 29vw, 400px); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__nav { display: flex; gap: 8px; }
.icon-btn { width: 48px; height: 48px; border-radius: var(--pill); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 1.2rem; transition: background-color .25s, color .25s; }
.icon-btn:hover { background: var(--ink); color: var(--paper); }
.icon-btn:disabled { opacity: .35; pointer-events: none; }

/* ---------- pinned story (horizontal) ---------- */
/* Desktop: one viewport tall, pinned, track pans left. Mobile: native scroll-snap row. */
.story { background: var(--paper-2); overflow: hidden; --story-img: min(50vh, 500px); }
.story__track { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding: 12vh var(--gutter); padding-left: calc(max(0px, (100vw - var(--container)) / 2) + var(--gutter)); width: max-content; min-height: 100vh; min-height: 100dvh; }
.story__intro { width: min(34vw, 460px); flex: none; display: grid; gap: 18px; align-content: center; }
.story__panel { width: calc(var(--story-img) * .8); flex: none; display: grid; gap: 14px; align-content: start; }
.story__panel:nth-child(odd) { transform: translateY(6vh); }
.story__panel .media { height: var(--story-img); }
.story__time { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--wood); }
.story__title { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.02em; }
.story__text { color: var(--ink-2); font-size: var(--fs-sm); max-width: 40ch; }

/* ---------- the house (split) ---------- */
.house { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.house__media { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: end; }
.house__media .media:first-child { aspect-ratio: 4 / 5; }
.house__media .media:last-child { aspect-ratio: 3 / 4; margin-bottom: 18%; }
.scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.score { padding: 14px 16px; border-radius: var(--r-sm); background: var(--paper-2); display: grid; gap: 2px; }
.score__v { font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.score__l { font-size: var(--fs-xs); color: var(--ink-3); }

/* ---------- months ---------- */
.months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.month { border-radius: var(--r-sm); background: var(--paper-2); padding: 14px 10px 12px; display: grid; gap: 6px; align-content: start; min-height: 150px; position: relative; overflow: hidden; }
.month__bar { position: absolute; left: 0; right: 0; bottom: 0; background: var(--paper-3); opacity: .55; z-index: 0; transform-origin: bottom; }
.month > *:not(.month__bar) { position: relative; z-index: 1; }
.month__m { font-weight: 600; }
.month__t { font-size: 1.35rem; font-weight: 500; letter-spacing: -.02em; }
.month__note { font-size: .75rem; line-height: 1.35; color: var(--ink-2); }
.month.is-best { background: var(--rice-soft); }
.month.is-best .month__bar { background: var(--rice); opacity: .38; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps__line { position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--line-strong); transform-origin: left; }
.step { display: grid; gap: 12px; position: relative; align-content: start; }
.step__icon { width: 48px; height: 48px; border-radius: var(--pill); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong); display: grid; place-items: center; font-size: 1.35rem; }
.step:last-child .step__icon { background: var(--rice); box-shadow: none; }
.step__title { font-size: 1.2rem; font-weight: 500; letter-spacing: -.015em; }
.step__text { color: var(--ink-2); font-size: var(--fs-sm); }

/* ---------- reviews (new) ---------- */
.honest { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.honest .media { aspect-ratio: 4 / 5; max-width: 460px; }

/* ---------- CTA band + footer (dusk end) ---------- */
.cta-band { position: relative; isolation: isolate; color: var(--on-dark); overflow: hidden; }
.cta-band__bg { position: absolute; inset: -10% 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 28, 18, .82) 0%, rgba(20, 28, 18, .45) 60%, rgba(20, 28, 18, .25) 100%); }
.cta-band__inner { padding-block: clamp(96px, 14vw, 200px); max-width: 720px; }
.cta-band p { color: rgba(243, 236, 220, .88); }

.site-footer { background: var(--paddy-deep); color: var(--on-dark); padding-block: 72px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-col h2 { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); font-weight: 500; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--on-dark); opacity: .88; font-size: var(--fs-sm); }
.footer-col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer-contact { display: grid; gap: 8px; font-size: var(--fs-sm); color: var(--on-dark-2); }
.footer-contact a { color: var(--on-dark); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--on-dark-2); }
.footer-word { font-size: min(8.1vw, 8.2rem); font-weight: 600; letter-spacing: -.05em; line-height: .9; color: rgba(243, 236, 220, .08); margin-top: 48px; white-space: nowrap; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: var(--z-sticky);
  width: 56px; height: 56px; border-radius: var(--pill); display: grid; place-items: center;
  background: var(--paddy); color: var(--on-dark); font-size: 1.7rem;
  box-shadow: 0 12px 30px -10px rgba(24, 38, 26, .55);
  transition: transform .35s var(--ease-out), background-color .25s;
}
.wa-float:hover { transform: scale(1.06); background: var(--paddy-deep); }

/* ---------- page head (inner pages) ---------- */
.page-head { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); padding-bottom: clamp(32px, 4vw, 56px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-xs); color: var(--ink-3); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb i { font-size: .9em; align-self: center; }

/* ---------- tours index ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter-btn { padding: .65em 1.1em; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: var(--fs-sm); font-weight: 500; transition: background-color .25s, color .25s; }
.filter-btn span { color: var(--ink-3); margin-left: 4px; }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.filter-btn[aria-pressed="true"] span { color: var(--on-dark-2); }
.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }
.tour-grid .tour-card[hidden] { display: none; }
.empty-state { padding: 48px; border-radius: var(--r); background: var(--paper-2); text-align: left; display: grid; gap: 12px; justify-items: start; }

/* ---------- tour page ---------- */
.tour-head { padding-top: calc(var(--header-h) + 32px); }
.tour-head__title { max-width: 18ch; }
.tour-head__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.gallery {
  display: grid; gap: 10px; margin-top: 32px;
  grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(160px, 17vw, 260px));
}
.gallery__item { position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper-3); cursor: zoom-in; padding: 0; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item:first-child { grid-row: span 2; }
.gallery__more { position: absolute; right: 12px; bottom: 12px; }

.tour-tabs { position: sticky; top: 0; z-index: var(--z-sticky); background: rgba(246, 241, 231, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); margin-top: 40px; transition: top .45s var(--ease-out); }
.site-header:not(.is-hidden) ~ main .tour-tabs { top: var(--header-h); }
.tour-tabs__list { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.tour-tabs__list::-webkit-scrollbar { display: none; }
.tour-tabs a { display: block; padding: 18px 0 16px; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-3); white-space: nowrap; border-bottom: 2px solid transparent; transition: color .25s, border-color .25s; }
.tour-tabs a:hover, .tour-tabs a.is-active { color: var(--ink); border-color: var(--rice); }

.tour-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.tour-main > section { padding-block: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.tour-main > section:last-child { border-bottom: 0; }
.tour-main h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); margin-bottom: 20px; }

.glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.glance__item { padding: 16px 18px; border-radius: var(--r-sm); background: var(--paper-2); display: grid; gap: 4px; align-content: start; }
.glance__item i { font-size: 1.4rem; color: var(--wood); }
.glance__k { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 500; }
.glance__v { font-size: var(--fs-sm); font-weight: 500; line-height: 1.4; }

.route { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; margin-top: 24px; }
.route__stop { padding: .5em .95em; border-radius: var(--pill); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: var(--fs-sm); font-weight: 500; }
.route__stop:first-child, .route__stop:last-child { background: var(--ink); color: var(--paper); box-shadow: none; }
.route i { color: var(--ink-3); }

.why { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: var(--r); background: var(--paddy); color: var(--on-dark); display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.why__avatar { width: 64px; height: 64px; border-radius: var(--pill); overflow: hidden; }
.why__avatar img { width: 100%; height: 100%; object-fit: cover; }
.why__label { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--rice-soft); font-weight: 500; }
.why__text { font-family: var(--font-serif); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); line-height: 1.55; margin-top: 8px; }

.honest-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.honest-col { padding: 24px; border-radius: var(--r); background: var(--paper-2); }
.honest-col--warn { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.honest-col h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.tick-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.tick-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: var(--fs-sm); line-height: 1.5; }
.tick-list i { font-size: 1.15rem; margin-top: 2px; color: var(--paddy); }
.tick-list--x i { color: var(--wood); }

.timeline { position: relative; padding-left: 36px; display: grid; gap: 28px; }
.timeline__rail { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; }
.timeline__fill { position: absolute; inset: 0; background: var(--rice); transform-origin: top; border-radius: 2px; }
.timeline__item { position: relative; display: grid; gap: 4px; }
.timeline__item::before { content: ""; position: absolute; left: -36px; top: 6px; width: 16px; height: 16px; border-radius: var(--pill); background: var(--paper); box-shadow: inset 0 0 0 2px var(--rice); }
.timeline__time { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; color: var(--wood); text-transform: uppercase; }
.timeline__title { font-size: 1.15rem; font-weight: 500; letter-spacing: -.01em; }
.timeline__text { color: var(--ink-2); font-size: var(--fs-sm); max-width: 60ch; }
.note { margin-top: 24px; padding: 14px 18px; border-radius: var(--r-sm); background: var(--rice-soft); color: var(--wood-deep); font-size: var(--fs-sm); display: flex; gap: 10px; }
.note i { font-size: 1.2rem; flex: none; margin-top: 1px; }

.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.facts-grid div { padding: 16px 18px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line); }
.facts-grid dt { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 500; }
.facts-grid dd { margin: 4px 0 0; font-size: var(--fs-sm); }

.accordion { display: grid; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 500; font-size: 1.05rem; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary i { flex: none; font-size: 1.2rem; transition: transform .35s var(--ease-out); }
.accordion details[open] summary i { transform: rotate(45deg); }
.accordion__body { padding: 0 0 22px; color: var(--ink-2); max-width: 65ch; font-size: var(--fs-sm); }

.book-card { position: sticky; top: calc(var(--header-h) + 80px); padding: 28px; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong), 0 30px 60px -40px rgba(24, 38, 26, .4); display: grid; gap: 18px; }
.book-card__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.book-card__price strong { font-size: 2.4rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.book-card__list { list-style: none; padding: 0; display: grid; gap: 10px; font-size: var(--fs-sm); }
.book-card__list li { display: flex; gap: 10px; align-items: center; }
.book-card__list i { font-size: 1.2rem; color: var(--wood); }
.book-card__fine { font-size: var(--fs-xs); color: var(--ink-3); }

.book-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-sm);
  background: #fffdf8; border: 1px solid var(--line-strong); font-size: 1rem;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--rice); outline-offset: 0; border-color: transparent; }
.field__hint { font-size: var(--fs-xs); color: var(--ink-3); }
.field__error { font-size: var(--fs-xs); color: #9a3412; display: none; }
.field.is-invalid .field__error { display: block; }
.field.is-invalid input { border-color: #9a3412; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.mobile-book { display: none; }

.lightbox { border: 0; padding: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(15, 20, 14, .96); color: var(--on-dark); }
.lightbox::backdrop { background: rgba(15, 20, 14, .9); }
.lightbox__stage { position: absolute; inset: 64px 72px; display: grid; place-items: center; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--r-sm); }
.lightbox__bar { position: absolute; inset: 0 0 auto; height: 64px; display: flex; align-items: center; justify-content: space-between; padding-inline: 20px; }
.lightbox .icon-btn { box-shadow: inset 0 0 0 1px var(--line-dark); color: var(--on-dark); }
.lightbox .icon-btn:hover { background: var(--on-dark); color: var(--ink); }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 12px; } .lightbox__next { right: 12px; }
.lightbox__cap { position: absolute; inset: auto 0 18px; text-align: center; font-size: var(--fs-sm); color: var(--on-dark-2); padding-inline: 20px; }

/* ---------- motion hooks (only when html.motion) ---------- */
.motion [data-reveal], .motion [data-reveal-stagger] > *, .motion [data-hero] { opacity: 0; }
.motion [data-reveal-img] { clip-path: inset(10% 6% 10% 6% round var(--r)); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .tour-layout { grid-template-columns: 1fr; }
  .book-card { display: none; }
  .mobile-book {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); gap: 12px; align-items: center; justify-content: space-between;
    background: rgba(246, 241, 231, .97); backdrop-filter: blur(8px); box-shadow: 0 -1px 0 var(--line);
  }
  .mobile-book strong { font-size: 1.35rem; letter-spacing: -.03em; }
  .has-mobile-book .wa-float { bottom: 88px; }
  .has-mobile-book .site-footer { padding-bottom: 110px; }
  .house { grid-template-columns: 1fr; }
  .months { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav, .header-cta .btn--ghost { display: none; }
  .menu-btn { display: inline-flex; }
  .finder { grid-template-columns: 1fr 1fr; border-radius: var(--r); padding: 16px; }
  .finder__field { border-right: 0; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .finder__field:nth-child(3) { grid-column: 1 / -1; border-bottom: 0; }
  .finder .btn { grid-column: 1 / -1; width: 100%; }
  .statement__grid, .honest { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-auto-rows: 240px; }
  .bento__cell:nth-child(n) { grid-column: span 6; grid-row: span 1; }
  .bento__cell:nth-child(1) { grid-column: span 12; grid-row: span 1; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps__line { display: none; }
  .glance { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 56vw 30vw; }
  .gallery__item:first-child { grid-column: 1 / -1; grid-row: auto; }
  .gallery__item:nth-child(n+4) { display: none; }
  .story { --story-img: 380px; }
  .story__track { width: auto; min-height: 0; overflow-x: auto; scroll-snap-type: x mandatory; padding-block: var(--section); scrollbar-width: none; align-items: start; }
  .story__track::-webkit-scrollbar { display: none; }
  .story__intro { width: 78vw; scroll-snap-align: start; }
  .story__panel { scroll-snap-align: start; width: 72vw; max-width: 320px; }
  .story__panel:nth-child(odd) { transform: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .hero__title { max-width: 12ch; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .finder { grid-template-columns: 1fr; }
  .finder__field:nth-child(n) { grid-column: auto; border-bottom: 1px solid var(--line); }
  .facts { grid-template-columns: 1fr; gap: 16px; }
  .bento__cell:nth-child(n) { grid-column: span 12; }
  .section-head--row { grid-template-columns: 1fr; }
  .rail__nav { display: none; }
  .scores { grid-template-columns: repeat(2, 1fr); }
  .months { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .tour-grid { grid-template-columns: 1fr; }
  .honest-cols, .facts-grid, .book-form { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .lightbox__stage { inset: 64px 8px 56px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 8px; transform: none; }
}

/* ---------- journal (article body + cards) ---------- */
.article-head { max-width: calc(720px + 2 * var(--gutter)); }
.prose { max-width: 720px; margin: clamp(48px, 6vw, 80px) auto 0; font-size: 1.125rem; line-height: 1.7; color: var(--ink); }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.8em; }
.prose p { color: var(--ink-2); }
.prose blockquote { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); line-height: 1.45; padding-left: 24px; border-left: 3px solid var(--rice); color: var(--ink); margin-block: 2em; }
.prose figure { margin-block: 2.2em; }
.prose figcaption { font-size: var(--fs-xs); color: var(--ink-3); margin-top: 10px; }
.prose .tick-list li { font-size: 1.05rem; }
.prose__wide { width: min(1100px, calc(100vw - 2 * var(--gutter))); margin-left: 50%; transform: translateX(-50%); }
.prose__tours { padding: clamp(24px, 3vw, 40px); border-radius: var(--r); background: var(--paper-2); margin-block: 2.5em; }
.prose__tours .h3 { margin: 0 0 24px; }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); line-height: 1.5; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 14px 16px; }
.data-table thead th { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 500; border-bottom: 1px solid var(--line-strong); }
.data-table tbody tr:nth-child(odd) { background: var(--paper-2); }
.data-table tbody th { font-weight: 600; white-space: nowrap; }
.author-box { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin-top: 3em; padding-top: 24px; border-top: 1px solid var(--line); }
.journal-lead { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.journal-lead .media { aspect-ratio: 4 / 3; }
.journal-lead .media img { transition: transform 1.1s var(--ease-out); }
.journal-lead:hover .media img { transform: scale(1.04); }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }
.journal-card { display: grid; gap: 12px; align-content: start; }
.journal-card .chip { justify-self: start; }
.journal-card__title { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.02em; font-weight: 500; }
.journal-card .media img { transition: transform 1.1s var(--ease-out); }
.journal-card:hover .media img { transform: scale(1.05); }
@media (max-width: 900px) {
  .journal-lead { grid-template-columns: 1fr; }
  .journal-grid { grid-template-columns: 1fr 1fr; }
  .prose__tours .tour-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .journal-grid { grid-template-columns: 1fr; }
  .prose { font-size: 1.0625rem; }
}
