/* Đồi Thông — art direction
   A ranger's field journal left in a cabin: contour-line paper, wood-burnt cabin plaques,
   hour stamps in the margin, a railway-ticket receipt from the old Da Lat line.
   Colour is taken from the photographs: pine shadow, charred cedar, lamp glow, morning mist.
   Type: Cormorant Garamond (display, light and italic) + Be Vietnam Pro (text, small caps labels). */

:root {
  --pine: #16211b;      /* deepest needle shade */
  --pine-2: #223129;
  --char: #5a3420;      /* charred cedar */
  --ember: #d9824a;     /* lamp glow through glass */
  --ember-d: #9a4a1c;   /* ember on paper, AA */
  --mist: #ece7dc;      /* morning mist / paper */
  --fog: #a9b6b4;       /* valley fog */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.36, .64, 1);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Be Vietnam Pro', system-ui, sans-serif;
  --gut: clamp(20px, 4.2vw, 64px);
  --max: 1360px;
}
[data-theme="dark"] {
  --bg: #111813; --bg-2: #18211b; --bg-3: #1f2a23; --tx: #ece7dc; --tx-2: #b9bdb2; --tx-3: #8d958b;
  --line: rgba(236, 231, 220, .14); --acc: #e08e55; --acc-tx: #111813; --paper: #1a231d; --ink: #ece7dc;
}
[data-theme="light"] {
  --bg: #ece7dc; --bg-2: #e3ddcf; --bg-3: #d8d1c0; --tx: #16211b; --tx-2: #3f4a42; --tx-3: #5e665d;
  --line: rgba(22, 33, 27, .16); --acc: #9a4a1c; --acc-tx: #f6f1e7; --paper: #f2ede2; --ink: #16211b;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--tx); font: 400 16px/1.65 var(--sans);
  overflow-x: clip; -webkit-font-smoothing: antialiased; transition: background .5s var(--ease), color .5s var(--ease);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 2px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--acc); color: var(--acc-tx); padding: 10px 16px; transition: top .3s var(--ease); }
.skip:focus { top: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.s { width: 18px; height: 18px; }
.ic.l { width: 30px; height: 30px; stroke-width: 1.2; }

/* type */
.lbl { font: 500 12.5px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--tx-3); }
.d1 { font: 300 clamp(64px, 13.5vw, 212px)/.86 var(--serif); letter-spacing: -.025em; margin: 0; }
.d2 { font: 300 clamp(42px, 6.6vw, 104px)/.96 var(--serif); letter-spacing: -.02em; margin: 0; }
.d3 { font: 400 clamp(30px, 3.4vw, 48px)/1.05 var(--serif); letter-spacing: -.01em; margin: 0; }
.it { font-style: italic; }
.lede { font: 300 clamp(22px, 2.2vw, 30px)/1.42 var(--serif); color: var(--tx); max-width: 34ch; margin: 0; }
.p { color: var(--tx-2); max-width: 56ch; margin: 0; }
.num { font-family: var(--serif); font-variant-numeric: lining-figures tabular-nums; }

/* buttons */
.btn {
  --b: var(--acc); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px;
  border: 1px solid var(--b); background: var(--b); color: var(--acc-tx); font: 500 14.5px/1 var(--sans); letter-spacing: .04em;
  text-decoration: none; border-radius: 2px; transition: transform .25s var(--ease), background .3s var(--ease), color .3s, border-color .3s;
}
.btn:hover { background: transparent; color: var(--tx); }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--tx); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--tx); }
.btn.lt { --b: var(--mist); color: var(--pine); }
.btn.lt:hover { color: var(--mist); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.lnk { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 14px/1 var(--sans); letter-spacing: .06em; padding: 12px 0; border-bottom: 1px solid currentColor; min-height: 44px; }
.lnk .ic { transition: transform .35s var(--ease); }
.lnk:hover .ic { transform: translateX(5px); }

/* ── header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 40; color: var(--mist); transition: background .45s var(--ease), color .45s, transform .5s var(--ease), border-color .4s; border-bottom: 1px solid transparent; }
.hdr.solid { background: color-mix(in srgb, var(--bg) 92%, transparent); color: var(--tx); border-color: var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hdr.hide { transform: translateY(-101%); }
.hdr .bar { display: flex; align-items: center; gap: 28px; height: 76px; max-width: none; }
.logo { min-width: 0; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.logo svg { width: 30px; height: 34px; }
.logo b { font: 500 25px/1 var(--serif); letter-spacing: .01em; }
.logo small { display: block; font: 500 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; opacity: .7; margin-top: 4px; }
.hdr nav { display: flex; gap: 4px; margin-left: auto; }
.hdr nav a { text-decoration: none; font: 400 14px/1 var(--sans); letter-spacing: .04em; padding: 15px 12px; position: relative; opacity: .86; }
.hdr nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.hdr nav a:hover::after, .hdr nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.hdr nav a[aria-current="page"] { opacity: 1; }
.tools { display: flex; align-items: center; gap: 2px; }
.ib { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; transition: background .25s, transform .2s var(--ease); }
.ib:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.ib:active { transform: scale(.94); }
.lang { display: inline-flex; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 22px; padding: 2px; margin: 0 6px; }
.lang button { border: 0; background: none; font: 500 12.5px/1 var(--sans); letter-spacing: .08em; min-width: 40px; height: 36px; border-radius: 18px; opacity: .7; }
.lang button[aria-pressed="true"] { background: currentColor; opacity: 1; }
.lang button[aria-pressed="true"] span { color: var(--pine); }
.hdr.solid .lang button[aria-pressed="true"] span { color: var(--bg); }
.hdr .book { min-height: 44px; padding: 10px 20px; }
.hdr:not(.solid) .book { --b: var(--mist); color: var(--pine); }
.hdr:not(.solid) .book:hover { color: var(--mist); }
.menu-btn { display: none; }
@media (max-width: 1080px) { .hdr nav { display: none; } .menu-btn { display: inline-grid; } .tools { margin-left: auto; } }
@media (max-width: 640px) { .hdr .bar { gap: 6px; height: 64px; } .tools .opt, .lang { display: none; } .logo small { display: none; } .hdr .book { padding: 10px 14px; font-size: 13.5px; } }

/* full-screen menu */
.mnav { position: fixed; inset: 0; z-index: 60; background: var(--pine); color: var(--mist); display: grid; grid-template-rows: auto 1fr auto; padding: 18px var(--gut) 32px; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease); visibility: hidden; }
.mnav.on { clip-path: inset(0); visibility: visible; }
.mnav .top { display: flex; justify-content: space-between; align-items: center; }
.mnav ul { list-style: none; margin: 0; padding: 4vh 0; align-self: center; }
.mnav li a { display: flex; align-items: baseline; gap: 16px; text-decoration: none; font: 300 clamp(40px, 10vw, 72px)/1.12 var(--serif); opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.mnav li a span { font: 500 12px/1 var(--sans); letter-spacing: .2em; color: var(--fog); }
.mnav.on li a { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * 60ms); }
.mnav .bot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.mnav .lang { display: inline-flex; }
.mnav .lang button[aria-pressed="true"] span { color: var(--pine); }

/* route veil: fog wipes across */
.veil { position: fixed; inset: 0; z-index: 80; background: var(--pine); pointer-events: none; clip-path: inset(100% 0 0 0); }
.veil::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 40% at 30% 60%, rgba(236, 231, 220, .12), transparent 70%), radial-gradient(50% 30% at 75% 35%, rgba(236, 231, 220, .08), transparent 70%); }
.veil.in { clip-path: inset(0); transition: clip-path .5s var(--ease); }
.veil.out { clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease); }

/* ── reveal system */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.rv.in { opacity: 1; transform: none; }
.clip { overflow: hidden; position: relative; }
.clip > img, .clip > .im { clip-path: inset(100% 0 0 0); transform: scale(1.18); transition: clip-path 1.25s var(--ease), transform 1.6s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.clip.in > img, .clip.in > .im { clip-path: inset(0); transform: scale(1); }
.clip.side > img { clip-path: inset(0 100% 0 0); }
.clip.side.in > img { clip-path: inset(0); }
.cover { width: 100%; height: 100%; object-fit: cover; }
.calm .rv, .calm .clip > img, .calm .clip > .im { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
.calm .veil { display: none; }

/* paper texture: contour lines like a survey map */
.paper {
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520'%3E%3Cg fill='none' stroke='%23889080' stroke-opacity='.16' stroke-width='1'%3E%3Cpath d='M-20 90c60-40 140-50 210-20s120 70 200 40 120-60 150-40'/%3E%3Cpath d='M-20 120c70-36 140-40 205-12s130 66 205 36 110-50 150-36'/%3E%3Cpath d='M-20 150c80-30 140-30 200-6s140 60 210 32 100-40 150-30'/%3E%3Cpath d='M160 300c30-60 120-70 170-30s40 110-30 130-170-40-140-100z'/%3E%3Cpath d='M190 305c22-40 92-48 128-20s26 78-22 92-128-30-106-72z'/%3E%3Cpath d='M220 310c14-22 58-26 80-10s14 44-14 52-80-18-66-42z'/%3E%3Cpath d='M-20 440c90-30 170-10 240 14s170 30 320-20'/%3E%3Cpath d='M-20 470c90-24 170-6 240 16s170 26 320-16'/%3E%3C/g%3E%3C/svg%3E");
}

/* ── HERO */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; color: var(--mist); background: #0e1411; }
.hero .bg { position: absolute; inset: -4%; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; animation: kb 26s var(--ease) both alternate infinite; transform-origin: 70% 40%; }
.hero .bg video { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; animation: kb2 30s var(--ease) both alternate infinite; }
@keyframes kb2 { from { transform: scale(1.06); } to { transform: scale(1); } }
.calm .hero .bg video { animation: none; }
@keyframes kb { from { transform: scale(1.14) translate3d(-1.2%, 1%, 0); } to { transform: scale(1.02) translate3d(.8%, -.6%, 0); } }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 15, 12, .55) 0%, rgba(10, 15, 12, .05) 32%, rgba(10, 15, 12, .15) 58%, rgba(10, 15, 12, .82) 100%); }
.fog { position: absolute; left: 0; width: 300%; pointer-events: none; background-repeat: repeat-x; background-size: 33.333% 100%; mix-blend-mode: screen; }
.fog.f1 { bottom: 6%; height: 52%; opacity: .5; animation: drift 70s linear infinite; }
.fog.f2 { bottom: -8%; height: 60%; opacity: .42; animation: drift 46s linear infinite reverse; }
.fog.f3 { top: 8%; height: 40%; opacity: .2; animation: drift 110s linear infinite; }
@keyframes drift { to { transform: translate3d(-33.333%, 0, 0); } }
.hero .in { position: relative; height: 100%; display: grid; grid-template-rows: 1fr auto auto; padding: 120px var(--gut) 28px; max-width: none; }
.hero h1 { align-self: end; margin: 0; font: 300 clamp(72px, min(16vw, 25vh), 260px)/.8 var(--serif); letter-spacing: -.035em; }
.hero h1 .l { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .l > span { display: inline-block; transform: translateY(105%); animation: rise 1.4s var(--ease) forwards; animation-delay: calc(.25s + var(--i) * .14s); }
.hero h1 .l2 { padding-left: 21vw; }
.hero h1 em { font: italic 300 clamp(18px, 1.8vw, 26px)/1.35 var(--serif); letter-spacing: 0; display: inline-block; vertical-align: top; max-width: 15em; margin: .9em 0 0 .8em; opacity: 0; animation: fade 1.2s var(--ease) 1.1s forwards; }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: .92; } }
.hero .meta { display: flex; flex-wrap: wrap; gap: 10px 36px; align-items: end; justify-content: space-between; margin-top: 36px; opacity: 0; animation: fade 1s var(--ease) 1.4s forwards; }
.hero .meta .lbl { color: rgba(236, 231, 220, .74); }
.hero .stat { display: flex; gap: 36px; flex-wrap: wrap; }
.hero .stat div b { display: block; font: 300 30px/1 var(--serif); margin-top: 8px; color: var(--mist); }
.scrollcue { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; min-height: 44px; }
.scrollcue i { width: 1px; height: 46px; background: rgba(236, 231, 220, .3); position: relative; overflow: hidden; }
.scrollcue i::after { content: ''; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--mist); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* quick booking strip on hero */
.qb { display: grid; grid-template-columns: 1fr 1fr 1fr auto; margin-top: 28px; border-top: 1px solid rgba(236, 231, 220, .22); opacity: 0; animation: fade 1s var(--ease) 1.6s forwards; }
.qb label { display: block; padding: 14px 20px 12px 0; border-right: 1px solid rgba(236, 231, 220, .16); margin-right: 20px; }
.qb label .lbl { color: rgba(236, 231, 220, .66); font-size: 11.5px; }
.qb input, .qb select { display: block; width: 100%; background: none; border: 0; color: var(--mist); font: 400 22px/1.3 var(--serif); padding: 4px 0; min-height: 40px; color-scheme: dark; }
.qb select option { color: #111; }
.qb .btn { align-self: center; margin: 12px 0 0; }
@media (max-width: 760px) {
  .hero .in { padding-top: 96px; }
  .hero h1 .l2 { padding-left: 12vw; }
  .hero h1 em { display: block; margin: 18px 0 0; }
  .qb { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .qb label { min-width: 0; padding-right: 12px; margin-right: 12px; }
  .qb label:nth-child(2) { border-right: 0; margin-right: 0; }
  .qb label:nth-child(3) { grid-column: 1 / -1; border-right: 0; border-top: 1px solid rgba(236, 231, 220, .16); }
  .qb .btn { grid-column: 1 / -1; margin-top: 4px; }
  .qb input, .qb select { font-size: 19px; }
  .hero .meta { margin-top: 24px; }
  .hero .shade { background: linear-gradient(180deg, rgba(10,15,12,.55) 0%, rgba(10,15,12,.25) 30%, rgba(10,15,12,.6) 55%, rgba(10,15,12,.9) 100%); }
  .hero .stat { gap: 22px; }
  .hero .stat div:nth-child(3) { display: none; }
  .scrollcue { display: none; }
  .hero .stat div b { font-size: 24px; }
}

/* ── intro statement */
.intro { padding: clamp(96px, 16vw, 220px) 0 clamp(80px, 12vw, 160px); }
.intro .g { display: grid; grid-template-columns: 3fr 9fr; gap: 32px; }
.say { font: 300 clamp(30px, 4.2vw, 64px)/1.14 var(--serif); letter-spacing: -.01em; margin: 0; }
.say .w { opacity: .16; transition: opacity .5s var(--ease); }
.say .w.on { opacity: 1; }
.calm .say .w { opacity: 1; }
.intro .side { display: flex; flex-direction: column; gap: 22px; }
.stamp { display: inline-grid; place-items: center; width: 112px; height: 112px; border: 1px solid var(--line); border-radius: 50%; text-align: center; font: italic 400 17px/1.2 var(--serif); color: var(--tx-2); transform: rotate(-8deg); }
.stamp b { display: block; font: 500 11px/1 var(--sans); letter-spacing: .2em; font-style: normal; }
@media (max-width: 760px) { .intro .g { grid-template-columns: 1fr; } }

/* ── A DAY (pinned) */
.day { position: relative; height: 640vh; }
.day .pin { position: sticky; top: 0; height: 100svh; overflow: hidden; color: var(--mist); background: #101612; }
.day .layer { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); will-change: clip-path; }
.day .layer:first-child { clip-path: inset(0); }
.day .layer img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.day .tint { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 15, 12, .78) 0%, rgba(10, 15, 12, .3) 46%, rgba(10, 15, 12, .05) 70%), linear-gradient(0deg, rgba(10, 15, 12, .6), transparent 45%); }
.day .hud { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); padding: 110px var(--gut) 48px; }
.day .clock { align-self: end; }
.day .t { font: 300 clamp(88px, 16vw, 236px)/1 var(--serif); letter-spacing: -.04em; height: 1em; overflow: hidden; position: relative; }
.day .t span { display: block; transition: transform .8s var(--ease); }
.day .t span span { height: 1em; }
.day .txt { position: relative; min-height: 200px; margin-top: 30px; max-width: 30em; }
.day .txt > div { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .7s var(--ease); }
.day .txt > div.on { opacity: 1; transform: none; transition-delay: .12s; }
.day .txt h3 { font: italic 400 clamp(30px, 3.4vw, 48px)/1.05 var(--serif); margin: 0 0 14px; }
.day .txt p { margin: 0; color: rgba(236, 231, 220, .84); max-width: 42ch; }
.day .rail { position: absolute; right: var(--gut); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 18px; list-style: none; margin: 0; padding: 0; }
.day .rail li { display: flex; align-items: center; gap: 14px; justify-content: flex-end; font: 500 12.5px/1 var(--sans); letter-spacing: .14em; color: rgba(236, 231, 220, .5); transition: color .4s; }
.day .rail li i { width: 18px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.day .rail li.on { color: var(--mist); }
.day .rail li.on i { width: 46px; }
.day .sun { position: absolute; right: calc(var(--gut) + 140px); top: 110px; width: 120px; height: 120px; }
.day .head { position: absolute; left: var(--gut); top: 104px; }
.day .head .lbl { color: rgba(236, 231, 220, .7); }
@media (max-width: 760px) {
  .day .hud { grid-template-columns: 1fr; padding-bottom: 36px; }
  .day .rail { display: none; }
  .day .rail li { font-size: 12px; }
  .day .rail li i { width: 10px; } .day .rail li.on i { width: 26px; }
  .day .sun { display: none; }
  .day .txt { min-height: 230px; }
}
.calm .day { height: auto; }
.calm .day .pin { position: relative; height: auto; }
.calm .day .layer { position: relative; clip-path: none; height: 80vh; }
.calm .day .hud, .calm .day .tint { display: none; }
.calm .day .calmcap { display: block; }
.day .calmcap { display: none; position: absolute; left: var(--gut); bottom: 32px; right: var(--gut); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.day .calmcap b { font: 300 64px/1 var(--serif); display: block; }

/* ── numbers */
.nums { padding: clamp(80px, 11vw, 150px) 0; }
.nums .g { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.nums .n { padding: 28px 24px 0 0; border-right: 1px solid var(--line); margin-right: 24px; }
.nums .n:last-child { border: 0; }
.nums .n b { display: block; font: 300 clamp(56px, 7vw, 108px)/1 var(--serif); letter-spacing: -.03em; }
.nums .n b small { font-size: .38em; letter-spacing: 0; margin-left: 4px; color: var(--tx-2); }
.nums .n p { margin: 12px 0 0; color: var(--tx-2); max-width: 22ch; font-size: 15px; }
@media (max-width: 760px) { .nums .g { grid-template-columns: 1fr 1fr; } .nums .n:nth-child(2) { border: 0; } .nums .n { margin-bottom: 28px; } }

/* ── 3D walk */
.walk { position: relative; height: 380vh; }
.walk .pin { position: sticky; top: 0; height: 100svh; overflow: hidden; color: var(--mist); background: #1b2620; }
.walk .poster { position: absolute; inset: 0; }
.walk .poster img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; filter: saturate(.8) brightness(.7); }
.walk .gl { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.walk .gl.ready { opacity: 1; }
.walk .gl canvas { display: block; width: 100% !important; height: 100% !important; }
.walk .ov { position: absolute; inset: 0; pointer-events: none; padding: 110px var(--gut) 44px; display: grid; grid-template-rows: auto 1fr auto; background: linear-gradient(180deg, rgba(12, 17, 14, .45), transparent 30%, transparent 70%, rgba(12, 17, 14, .6)); }
.walk .cap { position: relative; align-self: end; min-height: 180px; }
.walk .cap > div { position: absolute; left: 0; bottom: 0; opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .8s var(--ease); max-width: 18em; }
.walk .cap > div.on { opacity: 1; transform: none; }
.walk .cap h3 { font: 300 clamp(36px, 5vw, 76px)/1 var(--serif); margin: 0 0 12px; letter-spacing: -.02em; }
.walk .cap p { margin: 0; color: rgba(236, 231, 220, .8); max-width: 36ch; }
.walk .steps { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.walk .steps .lbl { color: rgba(236, 231, 220, .7); }
.walk .bar { flex: 1; max-width: 420px; height: 1px; background: rgba(236, 231, 220, .2); position: relative; }
.walk .bar i { position: absolute; left: 0; top: 0; height: 1px; background: var(--ember); width: 0; }
.walk .ct { font: 300 44px/1 var(--serif); }
.calm .walk { height: auto; }
.calm .walk .pin { position: relative; }
.calm .walk .cap > div:first-child { opacity: 1; transform: none; }

/* ── section heads */
.sh { display: grid; grid-template-columns: 3fr 9fr; gap: 32px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.sh .lbl { padding-bottom: 14px; }
.sh .row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
@media (max-width: 760px) { .sh { grid-template-columns: 1fr; gap: 14px; } }

/* ── cabins grid (magazine rhythm) */
.cabins { padding: clamp(90px, 12vw, 170px) 0; }
.cg { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.6vw, 40px) clamp(16px, 2vw, 32px); }
.cg .c { grid-column: span 4; }
.cg .c:nth-child(7n+1) { grid-column: 1 / span 7; }
.cg .c:nth-child(7n+2) { grid-column: 9 / span 4; margin-top: 18vh; }
.cg .c:nth-child(7n+3) { grid-column: 2 / span 4; margin-top: -6vh; }
.cg .c:nth-child(7n+4) { grid-column: 7 / span 6; margin-top: 8vh; }
.cg .c:nth-child(7n+5) { grid-column: 1 / span 5; margin-top: 4vh; }
.cg .c:nth-child(7n+6) { grid-column: 7 / span 5; margin-top: 16vh; }
.cg .c:nth-child(7n+7) { grid-column: 3 / span 8; margin-top: 4vh; }
.cg.flat .c { grid-column: span 4 !important; margin-top: 0 !important; }
@media (max-width: 900px) { .cg .c, .cg.flat .c { grid-column: 1 / -1 !important; margin-top: 0 !important; } .cg .c:nth-child(even) { margin-left: 12%; } }
.card { display: block; text-decoration: none; color: inherit; perspective: 900px; }
.card .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); transform-style: preserve-3d; transition: transform .5s var(--ease); }
.cg .c:nth-child(7n+2) .card .ph, .cg .c:nth-child(7n+3) .card .ph { aspect-ratio: 3 / 4; }
.cg.flat .c .card .ph { aspect-ratio: 4 / 3 !important; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), clip-path 1.25s var(--ease); }
.card:hover .ph img { transform: scale(1.04); }
.card .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 236, 210, .18) 50%, transparent 65%); background-size: 250% 100%; background-position: 120% 0; transition: background-position .9s var(--ease); pointer-events: none; }
.card:hover .ph::after { background-position: -40% 0; }
.plaque { position: absolute; left: 18px; top: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 6px; background: #2a1a10; color: #f1d9b8; font: 500 12px/1 var(--sans); letter-spacing: .2em; border-radius: 1px; box-shadow: inset 0 0 0 1px rgba(241, 217, 184, .2); background-image: repeating-linear-gradient(92deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 7px); }
.plaque b { font: 500 18px/1 var(--serif); letter-spacing: 0; }
.card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 18px; }
.card h3 { font: 400 clamp(28px, 2.6vw, 40px)/1 var(--serif); margin: 0; }
.card .meta .pr { text-align: right; color: var(--tx-3); font-size: 13px; white-space: nowrap; }
.card .meta .pr b { display: block; font: 400 22px/1.1 var(--serif); color: var(--tx); }
.card .sub { color: var(--tx-3); font-size: 14px; margin-top: 6px; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 40px; }
.chip { min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); background: none; border-radius: 22px; font-size: 14px; transition: background .25s, color .25s, border-color .25s, transform .2s var(--ease); }
.chip:hover { border-color: var(--tx); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--tx); color: var(--bg); border-color: var(--tx); }
.filters .sp { flex: 1; }
.sel { position: relative; }
.sel select { appearance: none; -webkit-appearance: none; min-height: 44px; padding: 8px 40px 8px 16px; border: 1px solid var(--line); border-radius: 22px; background: transparent; font-size: 14px; }
.sel::after { content: ''; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.4px 1.4px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.empty { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; padding: 32px; background: var(--bg-2); }
.empty img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 600px) { .empty { grid-template-columns: 1fr; } }

/* ── experiences strip on home */
.xp { padding: clamp(90px, 12vw, 170px) 0; background: var(--bg-2); }
.xrow { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: center; margin-bottom: clamp(70px, 10vw, 140px); }
.xrow:last-child { margin-bottom: 0; }
.xrow .ph { grid-column: 1 / span 7; aspect-ratio: 16 / 10; }
.xrow .tx { grid-column: 9 / span 4; }
.xrow:nth-child(even) .ph { grid-column: 6 / span 7; order: 2; }
.xrow:nth-child(even) .tx { grid-column: 1 / span 4; order: 1; }
.xrow .ph img { width: 100%; height: 100%; object-fit: cover; }
.xrow .k { font: italic 300 22px/1 var(--serif); color: var(--tx-3); display: block; margin-bottom: 18px; }
.xrow h3 { margin-bottom: 18px; }
.xrow .when { display: flex; gap: 10px; align-items: center; margin-top: 22px; color: var(--tx-2); font-size: 14.5px; }
.xrow .when + .when { margin-top: 8px; }
@media (max-width: 860px) { .xrow { grid-template-columns: 1fr; gap: 24px; } .xrow .ph, .xrow .tx, .xrow:nth-child(even) .ph, .xrow:nth-child(even) .tx { grid-column: 1; order: 0; } }

/* ── quotes */
.qs { padding: clamp(90px, 12vw, 170px) 0; }
.qwrap { position: relative; min-height: 340px; }
.qitem { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .8s var(--ease); pointer-events: none; }
.qitem.on { opacity: 1; transform: none; pointer-events: auto; }
.qitem blockquote { margin: 0; font: 300 clamp(30px, 4vw, 58px)/1.14 var(--serif); letter-spacing: -.01em; max-width: 24em; }
.qitem blockquote::before { content: '“'; display: block; font-size: 1.6em; line-height: .6; color: var(--acc); margin-bottom: 10px; }
.qitem .who { margin-top: 30px; display: flex; gap: 14px; align-items: center; }
.qitem .who i { width: 44px; height: 44px; border-radius: 50%; background: var(--char); color: #f1d9b8; display: grid; place-items: center; font: 500 18px/1 var(--serif); font-style: normal; }
.qnav { display: flex; gap: 8px; margin-top: 36px; }
.qnav button { width: 44px; height: 44px; border: 1px solid var(--line); background: none; border-radius: 50%; display: grid; place-items: center; }
.qnav button:hover { border-color: var(--tx); }
.qdots { display: flex; gap: 6px; align-items: center; margin-left: 14px; }
.qdots i { width: 22px; height: 2px; background: var(--line); transition: background .3s, width .4s var(--ease); }
.qdots i.on { background: var(--tx); width: 40px; }
@media (max-width: 600px) { .qwrap { min-height: 420px; } }

/* ── CTA */
.cta { position: relative; min-height: 92svh; display: grid; align-items: end; color: var(--mist); overflow: hidden; }
.cta .bg { position: absolute; inset: -20% 0; }
.cta .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10, 14, 12, .85), rgba(10, 14, 12, .2) 60%, rgba(10, 14, 12, .4)); }
.cta .in { position: relative; z-index: 2; padding-bottom: clamp(48px, 7vw, 100px); width: 100%; }
.cta .row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-top: 36px; }
.cta p { color: rgba(236, 231, 220, .84); max-width: 44ch; margin: 0; }

/* ── page heads (subpages) */
.ph-hero { position: relative; height: 82svh; min-height: 520px; overflow: hidden; color: var(--mist); background: #0e1411; }
.ph-hero > img { position: absolute; inset: 0; width: 100%; height: 112%; object-fit: cover; }
.ph-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 15, 12, .5), transparent 35%, rgba(10, 15, 12, .78)); }
.ph-hero .in { position: absolute; inset: auto 0 0; z-index: 2; padding-bottom: clamp(36px, 6vw, 76px); max-width: var(--max); margin: 0 auto; }
.ph-hero .lbl { color: rgba(236, 231, 220, .76); display: block; margin-bottom: 18px; }
.ph-hero h1 .l { display: block; overflow: hidden; }
.ph-hero h1 .l > span { display: inline-block; transform: translateY(105%); animation: rise 1.2s var(--ease) forwards; animation-delay: calc(.35s + var(--i, 0) * .12s); }
.calm .hero h1 .l > span, .calm .ph-hero h1 .l > span { transform: none; animation: none; }
.calm .hero h1 em, .calm .hero .meta, .calm .qb { opacity: 1; animation: none; }
.calm .hero .bg img, .calm .fog { animation: none; }
.pg { padding: clamp(72px, 10vw, 140px) 0; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: rgba(236, 231, 220, .76); margin-bottom: 22px; }
.crumbs a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.crumbs a:hover { text-decoration: underline; }

/* ── cabin detail */
.vd-hero { position: relative; height: 92svh; min-height: 560px; overflow: hidden; color: var(--mist); background: #0e1411; }
.vd-hero .im { position: absolute; inset: 0; }
.vd-hero .im img { width: 100%; height: 112%; object-fit: cover; }
.vd-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 15, 12, .45), transparent 30%, rgba(10, 15, 12, .82)); pointer-events: none; }
.vd-hero .in { position: absolute; z-index: 2; inset: auto 0 0; max-width: var(--max); margin: 0 auto; padding-bottom: clamp(32px, 5vw, 64px); }
.vd-hero .plaque { position: static; margin-bottom: 20px; }
.specs { display: flex; flex-wrap: wrap; gap: 12px 42px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(236, 231, 220, .22); }
.specs div .lbl { color: rgba(236, 231, 220, .66); }
.specs div b { display: block; font: 300 28px/1.1 var(--serif); margin-top: 6px; }
.vd-body { display: grid; grid-template-columns: 7fr 1fr 4fr; gap: 0; padding: clamp(72px, 9vw, 120px) 0 0; }
.vd-body .main { grid-column: 1; }
.vd-body aside { grid-column: 3; }
.feat { list-style: none; padding: 0; margin: 36px 0 0; border-top: 1px solid var(--line); }
.feat li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); font: 400 22px/1.3 var(--serif); }
.feat li span { font: 500 12px/2.2 var(--sans); letter-spacing: .16em; color: var(--tx-3); min-width: 28px; }
.gal { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(14px, 2vw, 28px); margin: clamp(70px, 9vw, 120px) 0; }
.gal .clip { aspect-ratio: 4 / 5; }
.gal .clip:nth-child(2) { aspect-ratio: 16 / 11; align-self: end; }
.gal img { width: 100%; height: 100%; object-fit: cover; }
.planbox { padding: clamp(24px, 4vw, 56px); margin-bottom: clamp(60px, 8vw, 100px); display: grid; grid-template-columns: 4fr 8fr; gap: 40px; align-items: center; color: var(--ink); }
.planbox svg { width: 100%; height: auto; }
.planbox .plan-line { stroke: var(--ink); }
.planbox ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; color: var(--tx-2); font-size: 15px; }
.planbox ul li { display: flex; gap: 12px; align-items: center; }
.planbox ul li i { width: 14px; height: 14px; border: 1px solid var(--ink); flex: none; }
.plan-draw path, .plan-draw rect, .plan-draw line, .plan-draw circle { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.4s var(--ease); }
.plan-draw.in path, .plan-draw.in rect, .plan-draw.in line, .plan-draw.in circle { stroke-dashoffset: 0; }
.calm .plan-draw path, .calm .plan-draw rect, .calm .plan-draw line, .calm .plan-draw circle { stroke-dasharray: none; stroke-dashoffset: 0; }
@media (max-width: 600px) { .specs { gap: 12px 28px; } .specs div:nth-child(3) { display: none; } .specs div b { font-size: 24px; } }
@media (max-width: 860px) { .planbox { grid-template-columns: 1fr; } .vd-body { grid-template-columns: 1fr; } .vd-body aside { grid-column: 1; margin-top: 48px; } .gal { grid-template-columns: 1fr; } }
.amen { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 28px 0 0; padding: 0; list-style: none; }
.amen li { display: flex; gap: 14px; align-items: flex-start; color: var(--tx-2); font-size: 15px; }
.amen li .ic { color: var(--tx); margin-top: 2px; }
@media (max-width: 520px) { .amen { grid-template-columns: 1fr; } }
.rates { position: sticky; top: 100px; padding: 30px; background: var(--bg-2); }
.rates table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; }
.rates td { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--tx-2); }
.rates td:last-child { text-align: right; font: 400 22px/1 var(--serif); color: var(--tx); }
.rates .btn { width: 100%; }
.rates .note { font-size: 13.5px; color: var(--tx-3); margin: 14px 0 0; }
.next { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: clamp(80px, 10vw, 140px); }
.next a { position: relative; display: block; min-height: 52vh; color: var(--mist); text-decoration: none; overflow: hidden; }
.next a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); filter: brightness(.66); }
.next a:hover img { transform: scale(1.05); }
.next a div { position: absolute; left: var(--gut); bottom: 36px; right: var(--gut); }
.next a .lbl { color: rgba(236, 231, 220, .74); }
.next a h3 { margin-top: 10px; }
@media (max-width: 700px) { .next { grid-template-columns: 1fr; } .next a { min-height: 40vh; } }

/* availability mini calendar */
.mcal { margin-top: 56px; }
.mcal .months { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 24px; }
@media (max-width: 680px) { .mcal .months { grid-template-columns: 1fr; } }

/* ── calendar */
.cal h4 { font: 400 24px/1 var(--serif); margin: 0 0 14px; text-transform: capitalize; }
.cal .wd, .cal .days { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal .wd span { font: 500 12px/1 var(--sans); letter-spacing: .1em; color: var(--tx-3); text-align: center; padding: 8px 0; }
.cal .days button, .cal .days span { aspect-ratio: 1; min-height: 44px; display: grid; place-items: center; border: 0; background: none; font: 400 19px/1 var(--serif); position: relative; transition: background .2s, color .2s; }
.cal .days button:hover:not([disabled]) { background: var(--bg-3); }
.cal .days button[disabled] { color: var(--tx-3); opacity: .5; cursor: not-allowed; }
.cal .days button.bk { text-decoration: line-through; text-decoration-thickness: 1px; }
.cal .days button.wk:not([disabled])::after { content: ''; position: absolute; bottom: 7px; width: 3px; height: 3px; border-radius: 50%; background: var(--acc); }
.cal .days button.in { background: color-mix(in srgb, var(--acc) 18%, transparent); }
.cal .days button.a, .cal .days button.b { background: var(--acc); color: var(--acc-tx); }
.cal .days button.a::after, .cal .days button.b::after { display: none; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13.5px; color: var(--tx-3); margin-top: 16px; }
.legend span { display: inline-flex; gap: 8px; align-items: center; }
.legend i { width: 14px; height: 14px; display: inline-block; }

/* ── booking */
.bk-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); padding-top: 140px; padding-bottom: clamp(80px, 10vw, 140px); }
.bk-wrap h1 { margin-bottom: 18px; }
.step { padding: 40px 0; border-top: 1px solid var(--line); }
.step > header { display: flex; align-items: baseline; gap: 18px; margin-bottom: 24px; }
.step > header .k { font: italic 300 34px/1 var(--serif); color: var(--tx-3); }
.step > header h2 { font: 400 30px/1 var(--serif); margin: 0; }
.vpick { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.vpick label { flex: 0 0 188px; scroll-snap-align: start; cursor: pointer; position: relative; }
.vpick input { position: absolute; opacity: 0; }
.vpick .t { display: block; aspect-ratio: 4/3; overflow: hidden; position: relative; outline: 1px solid transparent; outline-offset: 3px; transition: outline-color .3s; }
.vpick .t img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.vpick label:hover .t img { transform: scale(1.05); }
.vpick input:checked + .t { outline-color: var(--acc); }
.vpick input:focus-visible + .t { outline: 2px solid var(--acc); }
.vpick .n { display: flex; justify-content: space-between; margin-top: 10px; font: 400 20px/1.1 var(--serif); }
.vpick .n small { font: 400 13px/1.6 var(--sans); color: var(--tx-3); }
.vpick .cap { font-size: 13px; color: var(--tx-3); }
.calnav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.calnav .rng { font-size: 15px; color: var(--tx-2); }
.cal2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 680px) { .cal2 { grid-template-columns: 1fr; } .cal2 .cal:nth-child(2) { display: none; } }
.stepper { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); }
.stepper b { font-weight: 500; display: block; }
.stepper small { color: var(--tx-3); font-size: 13.5px; }
.stepper .ctl { display: flex; align-items: center; gap: 14px; }
.stepper .ctl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; display: grid; place-items: center; transition: transform .2s var(--ease), border-color .2s; }
.stepper .ctl button:hover:not([disabled]) { border-color: var(--tx); }
.stepper .ctl button:active { transform: scale(.94); }
.stepper .ctl button[disabled] { opacity: .35; }
.stepper .ctl output { font: 400 26px/1 var(--serif); min-width: 24px; text-align: center; }
.addon { display: grid; grid-template-columns: 72px 1fr auto; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.addon img { width: 72px; height: 72px; object-fit: cover; }
.addon b { font-weight: 500; display: block; }
.addon small { color: var(--tx-3); font-size: 13.5px; }
.addon .pr { font: 400 20px/1 var(--serif); display: flex; align-items: center; gap: 14px; }
.check { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; border: 1px solid var(--tx-3); border-radius: 2px; display: grid; place-items: center; margin: 0; transition: background .2s, border-color .2s; }
.check:checked { background: var(--acc); border-color: var(--acc); }
.check:checked::after { content: ''; width: 6px; height: 11px; border: solid var(--acc-tx); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.fld { display: block; margin-bottom: 18px; }
.fld > span { display: block; font-size: 13.5px; color: var(--tx-2); margin-bottom: 6px; }
.fld input, .fld textarea, .fld select { width: 100%; min-height: 50px; padding: 12px 14px; background: transparent; border: 1px solid var(--line); border-radius: 2px; transition: border-color .25s; }
.fld input:focus, .fld textarea:focus { border-color: var(--tx); outline: none; }
.fld textarea { min-height: 96px; resize: vertical; }
.fld .err { display: none; color: #e07a5f; font-size: 13.5px; margin-top: 6px; }
[data-theme="light"] .fld .err { color: #a33a1e; }
.fld.bad input { border-color: #e07a5f; }
.fld.bad .err { display: block; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .frow { grid-template-columns: 1fr; } }
.msg { padding: 14px 16px; background: var(--bg-2); font-size: 14.5px; color: var(--tx-2); display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; }

/* summary: old Da Lat railway ticket */
.ticket { position: sticky; top: 96px; align-self: start; background: var(--paper); color: var(--ink); }
.ticket .top { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.ticket .top img { width: 100%; height: 100%; object-fit: cover; }
.ticket .top .plaque { left: 16px; top: 16px; }
.ticket .bd { padding: 24px 28px 28px; position: relative; }
.ticket .bd::before { content: ''; position: absolute; left: 14px; right: 14px; top: -1px; border-top: 2px dashed color-mix(in srgb, var(--ink) 25%, transparent); }
.ticket h3 { font: 400 32px/1 var(--serif); margin: 6px 0 18px; }
.tl { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 15px; color: var(--tx-2); }
.tl b { font-weight: 400; color: var(--ink); text-align: right; }
.tl.tot { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; color: var(--ink); }
.tl.tot b { font: 400 34px/1 var(--serif); }
.tl.dep b { font: 500 18px/1.2 var(--sans); color: var(--acc); }
.ticket .btn { width: 100%; margin-top: 20px; }
.ticket .fine { font-size: 13px; color: var(--tx-3); margin: 14px 0 0; }
@media (max-width: 960px) { .bk-wrap { grid-template-columns: minmax(0, 1fr); padding-top: 110px; } .ticket { position: relative; top: 0; } }
.skel { background: linear-gradient(100deg, var(--bg-2) 30%, var(--bg-3) 50%, var(--bg-2) 70%); background-size: 300% 100%; animation: sh 1.3s linear infinite; border-radius: 2px; }
@keyframes sh { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.modal .sc { position: absolute; inset: 0; background: rgba(8, 12, 10, .7); opacity: 0; transition: opacity .4s var(--ease); }
.modal .box { position: relative; width: min(560px, 100%); max-height: 92svh; overflow: auto; background: var(--bg); padding: clamp(24px, 4vw, 40px); transform: translateY(24px) scale(.98); opacity: 0; transition: transform .5s var(--spring), opacity .35s var(--ease); }
.modal.on .sc { opacity: 1; }
.modal.on .box { transform: none; opacity: 1; }
.modal .x { position: absolute; right: 12px; top: 12px; }
.modal h2 { font: 400 34px/1.05 var(--serif); margin: 0 0 10px; }
.qrrow { display: grid; grid-template-columns: 168px 1fr; gap: 24px; align-items: center; margin: 24px 0; }
.qrrow svg { width: 168px; height: 168px; background: #f6f1e7; padding: 10px; }
.qrrow dl { margin: 0; display: grid; gap: 10px; font-size: 14.5px; }
.qrrow dt { color: var(--tx-3); font-size: 13px; }
.qrrow dd { margin: 0; font-weight: 500; }
@media (max-width: 520px) { .qrrow { grid-template-columns: 1fr; } }

/* confirmation ticket */
.conf { padding: 140px 0 120px; }
.rail-ticket { position: relative; display: grid; grid-template-columns: 1fr 220px; background: var(--paper); color: var(--ink); max-width: 980px; margin: 40px 0 0; }
.rail-ticket::before, .rail-ticket::after { content: ''; position: absolute; right: 208px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); }
.rail-ticket::before { top: -12px; } .rail-ticket::after { bottom: -12px; }
.rail-ticket .l { padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 180px 1fr; gap: 28px; }
.rail-ticket .l img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.rail-ticket .r { border-left: 2px dashed color-mix(in srgb, var(--ink) 25%, transparent); padding: 32px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.rail-ticket .code { font: 500 22px/1.1 var(--sans); letter-spacing: .12em; }
.rail-ticket .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin-top: 20px; }
.rail-ticket .grid b { display: block; font: 400 22px/1.2 var(--serif); }
.seal { width: 120px; height: 120px; border: 2px solid var(--acc); color: var(--acc); border-radius: 50%; display: grid; place-items: center; text-align: center; font: 600 11px/1.3 var(--sans); letter-spacing: .16em; transform: rotate(-12deg); animation: stampin .6s var(--spring) .4s both; }
.seal b { font: italic 500 22px/1 var(--serif); letter-spacing: 0; display: block; margin: 4px 0; }
@keyframes stampin { from { transform: rotate(-12deg) scale(1.6); opacity: 0; } to { transform: rotate(-12deg) scale(1); opacity: 1; } }
@media (max-width: 760px) { .rail-ticket { grid-template-columns: 1fr; } .rail-ticket::before, .rail-ticket::after { display: none; } .rail-ticket .r { border-left: 0; border-top: 2px dashed color-mix(in srgb, var(--ink) 25%, transparent); flex-direction: row; align-items: center; } .rail-ticket .l { grid-template-columns: 1fr; } .rail-ticket .l img { aspect-ratio: 16/9; } }
.mine { margin-top: 80px; }
.mine .it { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-style: normal; }
.mine .it img { width: 96px; height: 72px; object-fit: cover; }
.mine .it b { font: 400 22px/1.1 var(--serif); display: block; }
.mine .it small { color: var(--tx-3); font-size: 13.5px; }
.badge { font: 500 12px/1 var(--sans); letter-spacing: .1em; padding: 6px 10px; border: 1px solid currentColor; text-transform: uppercase; }
.badge.cx { color: var(--tx-3); }

/* ── dining: printed menu card */
.meal { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: center; margin-bottom: clamp(80px, 10vw, 140px); }
.meal .ph { grid-column: 1 / span 6; aspect-ratio: 4 / 5; }
.meal .ph img { width: 100%; height: 100%; object-fit: cover; }
.meal .menu { grid-column: 8 / span 5; padding: clamp(28px, 3.6vw, 48px); color: var(--ink); position: relative; }
.meal:nth-child(even) .ph { grid-column: 7 / span 6; order: 2; }
.meal:nth-child(even) .menu { grid-column: 1 / span 5; order: 1; }
.menu::before { content: ''; position: absolute; inset: 10px; border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); pointer-events: none; }
.menu h3 { text-align: center; }
.menu .when { text-align: center; color: var(--tx-3); font-size: 14px; margin: 10px 0 22px; }
.menu .orn { display: block; margin: 0 auto 18px; width: 64px; color: var(--tx-3); }
.menu ol { list-style: none; padding: 0; margin: 0; counter-reset: c; }
.menu li { counter-increment: c; display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dotted color-mix(in srgb, var(--ink) 30%, transparent); font: 400 20px/1.3 var(--serif); }
.menu li::before { content: counter(c, upper-roman); font: 500 12px/2 var(--sans); letter-spacing: .1em; color: var(--tx-3); min-width: 28px; }
@media (max-width: 860px) { .meal { grid-template-columns: 1fr; } .meal .ph, .meal .menu, .meal:nth-child(even) .ph, .meal:nth-child(even) .menu { grid-column: 1; order: 0; } }

/* ── FAQ */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; }
.faq .srch { position: relative; margin-bottom: 18px; }
.faq .srch input { width: 100%; min-height: 54px; border: 0; border-bottom: 1px solid var(--tx); background: none; padding: 12px 12px 12px 36px; font: 300 24px/1 var(--serif); }
.faq .srch input:focus { outline: none; border-color: var(--acc); }
.faq .srch .ic { position: absolute; left: 0; top: 16px; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font: 400 clamp(22px, 2.2vw, 28px)/1.2 var(--serif); min-height: 44px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .pm { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; flex: none; transition: transform .4s var(--ease), background .3s; }
.acc details[open] summary .pm { transform: rotate(45deg); background: var(--tx); color: var(--bg); }
.acc .ans { overflow: hidden; }
.acc .ans p { margin: 0 0 24px; color: var(--tx-2); max-width: 60ch; }
.acc mark { background: color-mix(in srgb, var(--acc) 30%, transparent); color: inherit; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ── map page */
.mapwrap { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.map { padding: clamp(10px, 2vw, 24px); color: var(--ink); position: relative; }
.map svg { width: 100%; height: auto; display: block; }
.map .ink { stroke: var(--ink); fill: none; stroke-linecap: round; stroke-linejoin: round; }
.map .route { stroke: var(--acc); stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; transition: stroke-dashoffset 2.6s var(--ease), opacity .4s; }
.map.in .route.on { stroke-dashoffset: 0; }
.map .route:not(.on) { opacity: 0; }
.calm .map .route { stroke-dasharray: none; stroke-dashoffset: 0; }
.map text { font-family: var(--serif); fill: var(--ink); }
.rt { display: block; width: 100%; text-align: left; border: 0; border-top: 1px solid var(--line); background: none; padding: 22px 0; transition: padding .4s var(--ease); }
.rt:last-of-type { border-bottom: 1px solid var(--line); }
.rt .h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font: 400 26px/1.1 var(--serif); }
.rt .h small { font: 400 14px/1 var(--sans); color: var(--tx-3); white-space: nowrap; }
.rt p { margin: 10px 0 0; color: var(--tx-2); font-size: 15px; display: none; }
.rt[aria-pressed="true"] { padding-left: 16px; box-shadow: inset 2px 0 0 var(--acc); }
.rt[aria-pressed="true"] p { display: block; }
.addrbox { margin-top: 28px; padding: 24px; background: var(--bg-2); }
.addrbox p { margin: 8px 0 16px; font: 400 21px/1.35 var(--serif); }
@media (max-width: 900px) { .mapwrap { grid-template-columns: 1fr; } }

/* ── footer */
.ftr { background: var(--pine); color: var(--mist); padding: clamp(72px, 9vw, 130px) 0 32px; }
.ftr .big { font: 300 clamp(48px, 8.6vw, 140px)/.92 var(--serif); letter-spacing: -.03em; margin: 0 0 clamp(48px, 7vw, 96px); }
.ftr .big em { color: var(--fog); }
.ftr .cols { display: grid; grid-template-columns: 4fr 3fr 3fr 2fr; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid rgba(236, 231, 220, .14); }
.ftr h4 { font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--fog); margin: 0 0 18px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.ftr ul a { text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; opacity: .86; }
.ftr ul a:hover { opacity: 1; text-decoration: underline; }
.ftr p { margin: 0 0 8px; color: rgba(236, 231, 220, .8); }
.ftr .fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; padding-top: 28px; font-size: 13.5px; color: rgba(236, 231, 220, .7); }
.ftr .fine p { font-size: 13.5px; margin: 0 0 4px; color: rgba(236, 231, 220, .7); }
.ftr .fine a { color: var(--mist); }
.ftr .fine .lk { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 860px) { .ftr .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftr .cols { grid-template-columns: 1fr; } }

/* toast */
.toast { visibility: hidden; position: fixed; left: 50%; bottom: 28px; z-index: 95; transform: translate(-50%, 140%); background: var(--tx); color: var(--bg); padding: 14px 22px; font-size: 14.5px; display: flex; gap: 10px; align-items: center; transition: transform .5s var(--spring); max-width: calc(100vw - 32px); }
.toast.on { transform: translate(-50%, 0); visibility: visible; }

/* sticky mobile booking bar on detail */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform .5s var(--ease); }
.mbar.on { transform: none; }
.mbar b { font: 400 22px/1 var(--serif); display: block; }
.mbar small { color: var(--tx-3); font-size: 13px; }
@media (max-width: 860px) { .mbar { display: flex; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; } }
