/* Lee (小理) · Sabah private tours — version 2: photo and video first.
   A white page with deep-sea blue accents. Every picture is a frame made for Lee's own photos and short clips;
   until they arrive, each frame plays a scene drawn in code (assets/scene.js). */
:root {
  --ink: #0b2540;
  --ink-soft: #4a6079;
  --ink-faint: rgba(11, 37, 64, .5);
  --deep: #06345f;
  --sea: #0b5fae;
  --sea-light: #3a9be6;
  --sky: #e9f3fc;
  --mist: #f3f8fd;
  --line: rgba(11, 37, 64, .1);
  --seal: #c2412d;
  --sun: #f2b35e;
  --f-zh: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --f-zh-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --f-serif: "Newsreader", "Noto Serif TC", Georgia, serif;
  --f-sans: "Geist", "Noto Sans TC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gut: clamp(16px, 5vw, 80px);
  --r: 26px;
  color-scheme: light;
}
.lang-yue {
  --f-zh: "Noto Serif HK", "Noto Serif TC", "Songti TC", serif;
  --f-zh-sans: "Noto Sans HK", "Noto Sans TC", "PingFang HK", sans-serif;
  --f-sans: "Geist", "Noto Sans HK", "Noto Sans TC", system-ui, sans-serif;
  --f-serif: "Newsreader", "Noto Serif HK", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--f-sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--f-mono); letter-spacing: .02em; }
em { font-style: italic; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.swapping [data-i18n], .swapping [data-i18n-html], .swapping .chips, .swapping #bubble { opacity: 0; }
[data-i18n], [data-i18n-html], .chips, #bubble { transition: opacity .2s ease; }

/* ---------- bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 24px; height: 76px; padding: 0 var(--gut);
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.bar.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(11, 37, 64, .4); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.mark { width: 36px; height: 36px; }
.mark-sun { fill: var(--sun); }
.mark-peak { fill: var(--sea); }
.mark-line { stroke: var(--sea); stroke-width: 1.4; opacity: .5; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--f-serif); font-size: 24px; font-weight: 500; color: var(--deep); letter-spacing: -.01em; }
.lang-cjk .brand-name { font-family: var(--f-zh); font-weight: 700; font-size: 21px; letter-spacing: .08em; }
.brand-sub { margin-top: 3px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.lang-cjk .brand-sub { letter-spacing: .24em; font-size: 11px; }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); text-decoration: none; transition: color .25s, background .25s; }
.nav a:hover { color: var(--ink); background: var(--mist); }
.lang-cjk .nav a { font-family: var(--f-zh-sans); letter-spacing: .06em; }
.bar-right { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.nav + .bar-right { margin-left: 0; }
.lang { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); }
.lang button { position: relative; z-index: 1; min-width: 46px; height: 36px; padding: 0 9px; border: 0; border-radius: 999px; background: none; font-size: 13px; font-weight: 500; color: var(--ink-soft); transition: color .3s; white-space: nowrap; }
.lang button[lang^="zh"] { font-family: var(--f-zh-sans); }
.lang button[aria-pressed="true"] { color: #fff; }
.lang-thumb { position: absolute; z-index: 0; top: 4px; left: 4px; width: 46px; height: 36px; border-radius: 999px; background: var(--deep); transition: transform .5s var(--ease), width .5s var(--ease); }
.bar-cta { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px; background: var(--sea); color: #fff; font-size: 14.5px; font-weight: 600; text-decoration: none; transition: background .3s; }
.bar-cta:hover { background: var(--deep); }

/* ---------- frames ---------- */
.frame { position: relative; overflow: hidden; border-radius: var(--r); background: linear-gradient(160deg, #cfe4f6, #eef6fd); isolation: isolate; }
.frame > canvas, .frame > video, .frame > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.frame.has-video > canvas { display: none; }
/* Lee's own photos: a slow drift so a still picture still moves (his brief, point 5) */
.frame.has-photo > canvas { display: none; }
.frame > img.frame-photo { transform-origin: 60% 55%; }
.hero-frame > img.frame-photo { object-position: 80% 50%; transform-origin: 80% 55%; }
.frame > img.kb { animation: kb 26s ease-in-out infinite alternate; will-change: transform; }
.frame > img.kb-slow { animation-duration: 34s; animation-direction: alternate-reverse; }
@keyframes kb { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.6%, -1.2%, 0); } }
@media (prefers-reduced-motion: reduce) { .frame > img.kb { animation: none; } }
/* Lee's photo sharing a tile with his clip (rainforest: his Rafflesia, 1 Dec 2026): it fades in and out over the
   playing clip and drifts slowly; when the clip cannot play by itself (phone saver modes, Reduce Motion) the photo stays */
.frame.has-swap > img.swap-photo { z-index: 0; object-position: 32% 50%; transform-origin: 41% 52%; opacity: 0;
  animation: kb 30s ease-in-out infinite alternate, swap 22s ease-in-out infinite; will-change: transform, opacity; }
@keyframes swap { 0%, 38% { opacity: 0; } 50%, 88% { opacity: 1; } 100% { opacity: 0; } }
.frame.has-swap.needs-tap > img.swap-photo { animation: kb 30s ease-in-out infinite alternate; opacity: 1; }
.frame.has-swap.needs-tap > .clip-tap { display: none; }
@media (prefers-reduced-motion: reduce) {
  .frame.has-swap > img.swap-photo, .frame.has-swap.needs-tap > img.swap-photo { animation: none; opacity: 1; }
  .frame.has-swap > .clip-tap { display: none !important; }
}
.frame-tag {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .82); color: var(--deep); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .02em;
  border: 1px dashed rgba(11, 95, 174, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.lang-cjk .frame-tag { font-family: var(--f-zh-sans); letter-spacing: .06em; font-size: 12px; }
.frame-tag svg { width: 18px; height: 18px; fill: var(--sea); }
.frame-tag-ink svg { fill: none; stroke: var(--sea); stroke-width: 1.6; }
.frame-play { position: absolute; z-index: 3; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 6px 16px -8px rgba(6, 52, 95, .5); }
.frame-play svg { width: 16px; height: 16px; fill: var(--deep); margin-left: 2px; }
/* the play button for a clip the phone did not start by itself (Low Power Mode, Data Saver, Reduce Motion) */
.clip-tap { position: absolute; z-index: 3; left: 50%; top: 42%; display: none; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 10px 26px -10px rgba(6, 52, 95, .6); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.clip-tap svg { width: 26px; height: 26px; fill: var(--deep); margin-left: 4px; }
.clip-tap:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; }
.frame.needs-tap > .clip-tap { display: grid; }

/* ---------- hero ---------- */
.hero { padding: 0 14px 0; }
.hero-frame { height: calc(100svh - 90px); min-height: 560px; max-height: 1000px; border-radius: 30px; }
.frame-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(4, 30, 60, .8) 0%, rgba(4, 30, 60, .52) 38%, rgba(4, 30, 60, .14) 70%, rgba(4, 30, 60, 0) 100%),
              linear-gradient(to right, rgba(4, 30, 60, .42), rgba(4, 30, 60, 0) 58%);
}
.hero-frame .frame-tag { left: 22px; top: 22px; }
.hero-copy { position: absolute; z-index: 2; left: clamp(22px, 4.4vw, 72px); bottom: clamp(26px, 6vh, 72px); right: 22px; max-width: 860px; color: #fff; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .9); }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .8; }
.lang-cjk .eyebrow { font-family: var(--f-zh-sans); letter-spacing: .3em; font-size: 13px; }
.hero-title { margin: 0 0 .3em; font-family: var(--f-serif); font-weight: 300; font-size: clamp(54px, 7.4vw, 120px); line-height: .93; letter-spacing: -.028em; text-shadow: 0 6px 40px rgba(4, 30, 60, .35); }
.hero-title em { color: #cfe8ff; }
.lang-cjk .hero-title { font-family: var(--f-zh); font-weight: 500; line-height: 1.12; letter-spacing: .02em; font-size: clamp(46px, 6.8vw, 108px); }
.lang-cjk .hero-title em { font-style: normal; font-weight: 300; }
.lang-yue .hero-title { font-size: clamp(42px, 6vw, 98px); }
.ln { display: block; overflow: hidden; padding: 0 .04em .1em 0; margin-bottom: -.08em; }
.ln-in { display: inline-block; transform: translateY(108%); transition: transform 1.4s var(--ease) calc(.35s + var(--i) * .14s); }
.is-ready .ln-in { transform: none; }
.hero-sub { max-width: 560px; margin: 0; font-size: 17.5px; line-height: 1.62; color: rgba(255, 255, 255, .9); }
.lang-cjk .hero-sub { line-height: 1.95; font-size: 17px; }
.hero .reveal { transition-delay: .8s; }
.is-ready .hero .reveal { opacity: 1; transform: none; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; transition: background .3s, transform .4s var(--ease); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-white { background: #fff; color: var(--deep); }
.btn-white:hover { background: var(--sky); }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-weight: 500; }
.btn-glass:hover { background: rgba(255, 255, 255, .26); }
.hero-vert { position: absolute; z-index: 2; top: clamp(24px, 5vh, 56px); right: clamp(22px, 4vw, 64px); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.vert-zh { writing-mode: vertical-rl; font-family: var(--f-zh); font-weight: 300; font-size: clamp(48px, 8.6vh, 104px); line-height: 1; letter-spacing: .14em; color: var(--deep); text-shadow: 0 0 30px rgba(255, 255, 255, .7); }
.vert-zh i { font-style: normal; display: inline-block; opacity: 0; filter: blur(10px); transition: opacity 1.4s var(--ease), filter 1.4s var(--ease); }
.vert-zh i:nth-child(2) { transition-delay: .2s; } .vert-zh i:nth-child(3) { transition-delay: .4s; } .vert-zh i:nth-child(4) { transition-delay: .6s; }
.is-ready .vert-zh i { opacity: 1; filter: none; }
.seal { display: flex; flex-direction: column; align-items: center; padding: 6px 5px 5px; border-radius: 5px; background: var(--seal); color: #fff4ea; font-family: var(--f-zh); font-weight: 900; font-size: 17px; line-height: 1.08; transform: rotate(-3deg); box-shadow: 0 6px 18px rgba(120, 20, 10, .25); }

/* ---------- credentials strip ---------- */
.creds { overflow: hidden; padding: 22px 0; border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.creds-run { display: flex; width: max-content; animation: run 46s linear infinite; }
.creds:hover .creds-run { animation-play-state: paused; }
@keyframes run { to { transform: translateX(-50%); } }
.creds-list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.creds-list li { display: flex; align-items: center; gap: 12px; padding: 0 30px; font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.creds-list li::after { content: ""; width: 7px; height: 7px; margin-left: 30px; margin-right: -30px; transform: rotate(45deg); background: var(--sea-light); opacity: .6; }
.cred-year b { font-family: var(--f-serif); font-size: 30px; font-weight: 400; color: var(--sea); line-height: 1; }

/* ---------- section heads ---------- */
.kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--sea); }
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.lang-cjk .kicker { font-family: var(--f-zh-sans); letter-spacing: .3em; font-size: 13px; }
.sec-head { max-width: 820px; margin-bottom: 44px; }
.sec-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head-center .kicker { justify-content: center; }
.sec-head-center .kicker::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.sec-title { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: clamp(40px, 5vw, 78px); line-height: 1; letter-spacing: -.025em; color: var(--ink); }
.lang-cjk .sec-title { font-family: var(--f-zh); font-weight: 500; line-height: 1.26; letter-spacing: .04em; font-size: clamp(36px, 4.4vw, 68px); }
.sec-sub { max-width: 36em; margin: 22px 0 0; font-size: 17px; color: var(--ink-soft); }
.sec-head-center .sec-sub { margin-left: auto; margin-right: auto; }
.lang-cjk .sec-sub { line-height: 1.95; }
.tag { display: inline-block; align-self: flex-start; margin-top: 7px; padding: 3px 10px; border-radius: 999px; border: 1px dashed rgba(11, 95, 174, .5); color: var(--sea); font-style: normal; font-family: var(--f-mono); font-size: 11px; letter-spacing: .03em; }
.lang-cjk .tag { font-family: var(--f-zh-sans); letter-spacing: .06em; }

/* ---------- add buttons ---------- */
.add { display: inline-flex; align-items: center; gap: 12px; height: 46px; margin-top: 20px; padding: 0 20px 0 8px; border-radius: 999px; border: 1px solid rgba(11, 37, 64, .18); background: #fff; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease); }
.add:hover { border-color: rgba(11, 95, 174, .5); }
.add:active { transform: scale(.97); }
.add-icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sea); transition: background .35s, transform .5s var(--ease); }
.add-icon::before, .add-icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: #fff; border-radius: 2px; transition: all .45s var(--ease); }
.add-icon::before { width: 12px; height: 1.6px; transform: translate(-50%, -50%); }
.add-icon::after { width: 1.6px; height: 12px; transform: translate(-50%, -50%); }
.add.on { background: var(--deep); color: #fff; border-color: var(--deep); }
.add.on .add-icon { background: #fff; transform: rotate(360deg); }
.add.on .add-icon::before { width: 6px; transform: translate(-80%, 0) rotate(45deg); background: var(--deep); }
.add.on .add-icon::after { height: 11px; transform: translate(40%, -55%) rotate(45deg); background: var(--deep); }
.add-sm { height: 40px; margin: 0; padding: 0 15px 0 6px; gap: 9px; font-size: 13.5px; }
.add-sm .add-icon { width: 28px; height: 28px; }
.add-glass { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.add-glass:hover { border-color: #fff; }
.add-glass .add-icon { background: #fff; }
.add-glass .add-icon::before, .add-glass .add-icon::after { background: var(--deep); }
.add-glass.on { background: #fff; color: var(--deep); border-color: #fff; }
.add-glass.on .add-icon { background: var(--deep); }
.add-glass.on .add-icon::before, .add-glass.on .add-icon::after { background: #fff; }
.add-mini { width: 44px; height: 44px; margin: 0; padding: 0; justify-content: center; flex: none; }
.add-mini .add-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tours ---------- */
.tours { padding: 14vh var(--gut) 10vh; }
.frames-note { display: inline-flex; align-items: center; gap: 10px; margin: 24px 0 0; padding: 8px 14px 8px 10px; border-radius: 12px; background: var(--mist); font-size: 13.5px; color: var(--ink-soft); }
.frames-note svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--sea); fill: #fff; }
.tour-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(40px, 4vw, 56px) clamp(14px, 2vw, 28px); }
.tour:nth-child(4n+2) { transition-delay: .08s; }
.tour:nth-child(4n+3) { transition-delay: .16s; }
.tour:nth-child(4n+4) { transition-delay: .24s; }
.tour-frame { aspect-ratio: 4 / 5; }
.tour { display: flex; flex-direction: column; }
.tour-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.tour-copy .add { margin-top: auto; }
/* powered paragliding: no clip of his yet, so the drawn coast gets a small paraglider drifting across the sky */
.frame-glide .glider { position: absolute; z-index: 2; left: 30%; top: 14%; width: 40%; height: auto; overflow: visible; animation: glide 15s ease-in-out infinite alternate; }
.glider-wing { fill: var(--sun); stroke: #fff; stroke-width: 1.4; }
.glider-lines { fill: none; stroke: rgba(11, 37, 64, .55); stroke-width: .7; }
.glider-cage { fill: none; stroke: rgba(11, 37, 64, .6); stroke-width: 1.1; }
.glider-pilot { fill: var(--deep); }
@keyframes glide { from { transform: translate(-14%, 8%) rotate(-5deg); } to { transform: translate(16%, -10%) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .frame-glide .glider { animation: none; } }
.tour-n { position: absolute; z-index: 3; left: 16px; top: 16px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .85); font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--sea); }
.tour-copy { padding: 20px 4px 0; }
.tour-zh { margin: 0; font-family: var(--f-zh); font-weight: 700; font-size: clamp(28px, 2.4vw, 38px); line-height: 1.15; letter-spacing: .06em; }
.tour-en { margin: 2px 0 10px; font-family: var(--f-serif); font-style: italic; font-size: 21px; color: var(--ink-soft); }
.tour-body { margin: 0 0 18px; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }
.lang-cjk .tour-body { line-height: 1.9; }
.tours-note { margin: 34px 0 0; padding-left: 16px; border-left: 2px solid var(--sea); font-size: 15px; color: var(--ink-soft); }

/* ---------- about ---------- */
.about { padding: 10vh var(--gut); background: linear-gradient(180deg, #fff, var(--mist)); }
.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 90px); align-items: center; max-width: 1320px; }
.portrait-frame { margin: 0; aspect-ratio: 4 / 5; border-radius: 30px; background: linear-gradient(165deg, #d6e9f9 0%, #f4f9fe 55%, #e2eefa 100%); }
.portrait-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.portrait-ph svg { width: 42%; max-width: 180px; height: auto; opacity: .9; }
.portrait-name { font-family: var(--f-zh); font-weight: 300; font-size: clamp(34px, 3.4vw, 52px); letter-spacing: .3em; color: var(--deep); opacity: .6; margin-right: -.3em; }
.portrait-frame .frame-tag { left: 18px; bottom: 18px; }
.since-badge { position: absolute; z-index: 3; right: 18px; top: 18px; display: grid; place-items: center; align-content: center; width: 104px; height: 104px; border-radius: 50%; background: var(--deep); color: #fff; box-shadow: 0 16px 30px -14px rgba(6, 52, 95, .8); transform: rotate(-8deg); }
.since-badge small { font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.lang-cjk .since-badge small { font-family: var(--f-zh-sans); font-size: 12px; letter-spacing: .3em; }
.since-badge b { font-family: var(--f-serif); font-weight: 400; font-size: 32px; line-height: 1; }
/* his sunset photo in the card (Jin, 1 Dec 2026): the whole photo height shows, the four figures and their
   reflections sit in the middle; the badge moves to the dark sand below the reflections, with a white ring */
.portrait-frame.has-photo { background: #24384f; }
.portrait-frame > img.frame-photo { object-position: 50% 50%; }
.portrait-frame.has-photo .since-badge { top: auto; bottom: 18px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 16px 30px -14px rgba(0, 0, 0, .6); }
.about-body { margin: 22px 0 0; max-width: 36em; font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.lang-cjk .about-body { line-height: 1.95; }
.about-stats { display: flex; gap: 40px; margin: 30px 0 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat b { font-family: var(--f-serif); font-weight: 400; font-size: clamp(44px, 4.4vw, 64px); line-height: .95; color: var(--sea); letter-spacing: -.02em; }
.stat span { font-size: 14px; color: var(--ink-soft); }
.lic-head { margin: 28px 0 12px; font-family: var(--f-mono); font-weight: 400; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.lang-cjk .lic-head { font-family: var(--f-zh-sans); letter-spacing: .26em; font-size: 13px; }
.lic { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lic li { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.lic li:first-child { grid-column: 1 / -1; border-color: rgba(11, 95, 174, .3); }
.lic svg { flex: none; width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--mist); fill: none; stroke: var(--sea); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- a day in Sabah (bento) ---------- */
.day { padding: 14vh var(--gut) 10vh; }
.bento { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(2, clamp(240px, 28vw, 380px)); gap: 14px; max-width: 1400px; margin: 0 auto; }
.shot { position: relative; min-width: 0; }
.shot-a { grid-row: 1 / 3; }
.shot:nth-child(3), .shot:nth-child(5) { transition-delay: .1s; }
.shot .frame { position: absolute; inset: 0; border-radius: 24px; }
.shot .frame::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(4, 30, 60, .78), rgba(4, 30, 60, .28) 42%, rgba(4, 30, 60, 0) 66%); pointer-events: none; }
/* Lee's family-at-sunset photo (1 Dec 2026): keep the sun at the top and the faces above the caption */
.shot .frame > img.sunset-photo { object-position: 50% 90%; transform-origin: 50% 40%; }
.shot-cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(16px, 2vw, 28px); color: #fff; }
.shot-time { display: block; margin-bottom: 6px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; opacity: .9; }
.lang-cjk .shot-time { font-family: var(--f-zh-sans); letter-spacing: .14em; }
.shot h3 { margin: 0 0 12px; font-family: var(--f-zh); font-weight: 700; font-size: clamp(22px, 2vw, 30px); line-height: 1.2; letter-spacing: .05em; }
.shot-a h3 { font-size: clamp(30px, 3vw, 46px); }
.shot h3 small { display: block; margin-top: 2px; font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: .62em; letter-spacing: 0; opacity: .9; }
.shot p { max-width: 30em; margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.lang-cjk .shot p { line-height: 1.9; }
.day-note { max-width: 46em; margin: 26px auto 0; text-align: center; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- wind band ---------- */
.wind { padding: 4vh 14px 10vh; }
.wind-frame { aspect-ratio: 21 / 9; min-height: 440px; max-height: 720px; width: 100%; border-radius: 30px; }
.wind-wash { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(250, 253, 255, .86) 0%, rgba(250, 253, 255, .55) 42%, rgba(250, 253, 255, 0) 70%); }
.wind-copy { position: absolute; z-index: 2; left: clamp(22px, 5vw, 80px); top: 50%; transform: translateY(-50%); max-width: min(760px, 80%); }
.wind-lines { margin: 0; font-family: var(--f-serif); font-weight: 300; font-size: clamp(26px, 3.3vw, 52px); line-height: 1.16; letter-spacing: -.015em; color: var(--ink); }
.wl { display: block; }
.wl-strong em { color: var(--sea); }
.lang-cjk .wind-lines { font-family: var(--f-zh); font-weight: 300; line-height: 1.55; letter-spacing: .04em; font-size: clamp(24px, 2.9vw, 44px); }
.lang-cjk .wl-strong em { font-style: normal; font-weight: 500; }
.wind-hint { display: inline-flex; align-items: center; gap: 12px; margin: 30px 0 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.lang-cjk .wind-hint { font-family: var(--f-zh-sans); letter-spacing: .2em; font-size: 13px; }
.hint-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--sea); }
.hint-dot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid var(--sea); animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* ---------- private ---------- */
.private { padding: 6vh var(--gut) 12vh; display: grid; grid-template-columns: 1fr; gap: 36px; max-width: 1400px; }
.three { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.three li { padding: 26px 24px; border-radius: 22px; background: var(--mist); }
.three li:nth-child(2) { transition-delay: .1s; } .three li:nth-child(3) { transition-delay: .2s; }
.num { display: block; margin-bottom: 18px; font-family: var(--f-zh); font-weight: 300; font-size: 40px; line-height: 1; color: var(--sea); }
.three h3 { margin: 0 0 8px; font-family: var(--f-serif); font-weight: 500; font-size: 22px; }
.lang-cjk .three h3 { font-family: var(--f-zh); font-weight: 700; font-size: 20px; letter-spacing: .05em; }
.three p { margin: 0; font-size: 15px; line-height: 1.62; color: var(--ink-soft); }
.lang-cjk .three p { line-height: 1.9; }

/* ---------- places ---------- */
.places { padding: 10vh var(--gut); background: var(--mist); }
.places-grid { display: grid; gap: 18px; max-width: 1400px; }
.map { position: relative; width: 100%; aspect-ratio: var(--ar, 1000 / 446); border-radius: 28px; background: linear-gradient(180deg, #ddebf8, #eef5fc 70%); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.map-art { position: absolute; inset: 0; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-grat { fill: none; stroke: rgba(11, 95, 174, .12); stroke-width: 1; stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; }
.m-land { fill: #fff; stroke: rgba(11, 37, 64, .16); stroke-width: .7; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.m-west, .m-sarawak { fill: #d7e7f6; stroke: rgba(11, 95, 174, .26); stroke-width: .7; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.m-sabah { fill: url(#gSabah); stroke: #fff; stroke-width: 1; vector-effect: non-scaling-stroke; }
.m-arc { fill: none; stroke: var(--sea); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 3 5; opacity: 0; transition: opacity 1.4s var(--ease) var(--d, 0s); vector-effect: non-scaling-stroke; }
.drawn .m-arc { opacity: .75; }
.m-dot { fill: var(--deep); stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.m-home { fill: #fff; stroke: var(--deep); stroke-width: 3; vector-effect: non-scaling-stroke; }
.m-home-ring { fill: none; stroke: var(--sea); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.m-peak { fill: #fff; opacity: .9; }
.m-plane { fill: var(--sun); stroke: #fff; stroke-width: 1.5; opacity: 0; vector-effect: non-scaling-stroke; }
.map-labels { position: absolute; inset: 0; pointer-events: none; }
.ml { position: absolute; transform: translateY(-50%); white-space: nowrap; font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.15; text-shadow: 0 0 6px #fff, 0 0 2px #fff; }
.lang-cjk .ml { font-size: 14px; letter-spacing: .06em; font-family: var(--f-zh-sans); }
.ml-home { color: var(--deep); font-size: 14px; font-weight: 700; }
.ml-left { transform: translate(-100%, -50%); text-align: right; }
.ml-up { transform: translate(-50%, -100%); }
.ml-left.ml-up { transform: translate(-100%, -100%); }
.ml-peak { font-size: 11.5px; color: #fff; text-shadow: 0 1px 4px rgba(6, 52, 95, .8); }
.ml-region { font-family: var(--f-serif); font-style: italic; font-size: 19px; letter-spacing: .06em; color: #fff; text-shadow: 0 1px 6px rgba(6, 52, 95, .6); }
.ml-dim { color: var(--sea); opacity: .65; text-shadow: none; }
.lang-cjk .ml-region { font-family: var(--f-zh); font-style: normal; font-size: 18px; letter-spacing: .3em; }
.regions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.region { display: flex; align-items: flex-start; gap: 14px; padding: 18px 16px 18px 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.region:nth-child(3n+2) { transition-delay: .08s; } .region:nth-child(3n+3) { transition-delay: .16s; }
.r-n { flex: none; padding-top: 6px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--sea); }
.r-text { flex: 1; min-width: 0; }
.region h3 { margin: 0 0 4px; font-family: var(--f-serif); font-weight: 500; font-size: 23px; line-height: 1.2; }
.lang-cjk .region h3 { font-family: var(--f-zh); font-weight: 700; font-size: 21px; letter-spacing: .06em; }
.r-p { margin: 0 0 4px; font-size: 13.5px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.r-b { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
/* who guides where (Lee's voice notes, 1 Dec 2026): his own places first, then the ones his partners host */
.rgroups { display: grid; gap: 26px; }
.rg-head { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--deep); }
.lang-cjk .rg-head { font-family: var(--f-zh-sans); font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: none; }
.rg-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sea); box-shadow: 0 0 0 4px rgba(11, 95, 174, .16); }
.rg-dot-partner { background: #fff; border: 2px solid var(--sea); box-shadow: none; }
.rg-sub { max-width: 52em; margin: -4px 0 14px; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.lang-cjk .rg-sub { line-height: 1.9; }
.rgroup-lee .region { border-color: rgba(11, 95, 174, .35); box-shadow: 0 18px 36px -30px rgba(11, 37, 64, .55); }
.region-home .r-n, .rgroup-lee .r-n { color: var(--deep); font-weight: 500; }
.r-go { display: inline-grid; place-items: center; }
.r-go svg { width: 18px; height: 18px; fill: none; stroke: var(--sea); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.utc { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; font-size: 14.5px; color: var(--ink-soft); }
.utc-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(242, 179, 94, .25); }

/* ---------- enquiry ---------- */
.plan { padding: 12vh var(--gut) 10vh; }
.plan-wrap { max-width: 1320px; }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.plan-form { padding: clamp(24px, 3vw, 40px); border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -56px rgba(11, 37, 64, .5); }
fieldset { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
fieldset:last-child { margin-bottom: 0; }
legend { padding: 0; margin-bottom: 12px; font-family: var(--f-serif); font-size: 22px; }
.lang-cjk legend { font-family: var(--f-zh); font-weight: 500; font-size: 19px; letter-spacing: .06em; }
legend label { cursor: pointer; }
.sub-legend { margin: 4px 0 10px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.sub-legend + .chips + .sub-legend { margin-top: 18px; }
.lang-cjk .sub-legend { font-family: var(--f-zh-sans); letter-spacing: .2em; font-size: 12.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(11, 37, 64, .15); background: var(--mist); font-size: 14.5px; line-height: 1.3; text-align: left; color: var(--ink); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.chip:hover { border-color: rgba(11, 95, 174, .5); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }
.chip[data-m][aria-pressed="true"]::before, .chip[data-w][aria-pressed="true"]::before { content: ""; width: 10px; height: 6px; margin-top: -3px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.chips-via { margin: -14px 0 28px; }
.chip-via { min-height: 36px; padding: 5px 13px; font-size: 13.5px; }
.via-dot { width: 9px; height: 9px; border-radius: 50%; }
.via-line { background: #06c755; } .via-wa { background: #25d366; } .via-fb { background: #0a7cff; } .via-wc { background: #07c160; } .via-mail { background: #8aa0b8; }
.chip-via[aria-pressed="true"] .via-dot { box-shadow: 0 0 0 2px #fff; }
.row2 { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 26px; margin-bottom: 28px; }
.row2-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.row2 fieldset { margin: 0; }
.stepper { display: inline-flex; align-items: center; height: 50px; border-radius: 999px; border: 1px solid rgba(11, 37, 64, .15); background: var(--mist); }
.step { width: 50px; height: 48px; border: 0; background: none; font-size: 22px; line-height: 1; border-radius: 999px; color: var(--deep); transition: background .25s; }
.step:hover { background: rgba(11, 95, 174, .08); }
#pax { min-width: 40px; text-align: center; font-family: var(--f-mono); font-size: 18px; }
.field { width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(11, 37, 64, .15); background: var(--mist); color: var(--ink); font: inherit; font-size: 15.5px; transition: border-color .3s, box-shadow .3s, background .3s; }
.field-area { height: auto; min-height: 96px; padding: 13px 16px; line-height: 1.55; resize: vertical; }
.field::placeholder { color: rgba(11, 37, 64, .4); }
.field:focus { outline: none; border-color: var(--sea); background: #fff; box-shadow: 0 0 0 4px rgba(11, 95, 174, .14); }
.phone { position: sticky; top: 96px; padding: 16px; border-radius: 30px; background: var(--deep); color: #fff; box-shadow: 0 50px 100px -50px rgba(6, 52, 95, .8); }
.phone-top { display: flex; align-items: center; gap: 12px; padding: 6px 8px 14px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--deep); font-family: var(--f-zh); font-size: 19px; font-weight: 700; }
.phone-who { display: flex; flex-direction: column; line-height: 1.25; }
.phone-who b { font-size: 15.5px; }
.phone-who small { font-size: 12px; color: rgba(255, 255, 255, .7); }
.phone-head { margin-left: auto; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.lang-cjk .phone-head { font-family: var(--f-zh-sans); letter-spacing: .2em; font-size: 12px; }
.phone-body { margin-top: 14px; padding: 20px 14px; min-height: 250px; border-radius: 18px; display: flex; align-items: flex-end; background: #eaf3fc radial-gradient(rgba(11, 95, 174, .08) 1px, transparent 1.2px) 0 0 / 16px 16px; color: var(--ink); }
.bubble { margin: 0 0 0 auto; max-width: 94%; padding: 14px 16px; border-radius: 18px 18px 5px 18px; background: #fff; font-size: 15px; line-height: 1.58; white-space: pre-wrap; word-break: break-word; box-shadow: 0 8px 20px -12px rgba(11, 37, 64, .3); }
.bubble.pulse { animation: bub .45s var(--ease); }
@keyframes bub { from { transform: scale(.985); opacity: .7; } }
.send { display: grid; gap: 10px; margin-top: 16px; }
.send-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px; border-radius: 16px; color: #fff; font-size: 15.5px; font-weight: 600; text-decoration: none; transition: filter .3s, transform .3s var(--ease); }
.send-btn svg { width: 22px; height: 22px; fill: currentColor; }
.send-btn:hover { filter: brightness(1.08); }
.send-line { background: #079447; }
.send-wa { background: #128c7e; }
.send-copy { height: 46px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font-size: 14px; font-weight: 500; transition: background .3s; }
.send-copy:hover { background: rgba(255, 255, 255, .1); }
.send-notes { margin: 14px 4px 2px; font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, .72); }

/* ---------- contacts ---------- */
.find { padding: 6vh var(--gut) 12vh; }
.links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 1400px; }
.links > li:nth-child(3n+2) { transition-delay: .08s; } .links > li:nth-child(3n+3) { transition-delay: .16s; }
/* seven contacts (his brief, point 9, plus Threads): four on the first row, three on the second */
.links { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.links > li { grid-column: span 3; }
.links > li:nth-child(n+5) { grid-column: span 4; }
.link { position: relative; height: 100%; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 22px 20px 22px 18px; border-radius: 22px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .35s, transform .5s var(--ease), box-shadow .35s; }
a.link:hover { border-color: rgba(11, 95, 174, .5); transform: translateY(-3px); box-shadow: 0 26px 50px -34px rgba(11, 37, 64, .5); }
.link-n { position: absolute; top: 10px; right: 14px; font-family: var(--f-mono); font-size: 11px; color: var(--ink-faint); }
.link-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; }
.link-ico svg { width: 24px; height: 24px; fill: #fff; }
.ico-fb { background: #1877f2; } .ico-line { background: #06c755; } .ico-wa { background: #25d366; } .ico-wc { background: #07c160; }
.ico-msg { background: linear-gradient(150deg, #00b2ff, #006aff 55%, #a334fa); }
.ico-ig { background: radial-gradient(circle at 30% 110%, #fdd36f 0, #f5813a 30%, #d6296f 60%, #8a3ab9 100%); }
.ico-ig svg { fill: none; stroke: #fff; stroke-width: 1.8; }
.ico-ig svg circle:last-child { fill: #fff; stroke: none; }
.ico-th { background: #101010; }
.link-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.link-main b { font-size: 17px; font-weight: 600; }
.lang-cjk .link-main b { font-family: var(--f-zh-sans); }
.link-main small { font-size: 13px; color: var(--ink-soft); line-height: 1.45; }
.link-go { font-size: 13.5px; font-weight: 600; color: var(--sea); white-space: nowrap; }
.link-go::after { content: " →"; }
.link-soon { grid-template-columns: 52px minmax(0, 1fr); background: var(--mist); border-style: dashed; }

/* ---------- my enquiry pill ---------- */
.myday { position: fixed; z-index: 35; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 18px; border-radius: 999px; text-decoration: none; background: var(--sea); color: #fff; box-shadow: 0 16px 34px -14px rgba(6, 52, 95, .7); transition: transform .7s var(--ease), opacity .5s, background .3s; }
.myday:hover { background: var(--deep); }
.myday-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.myday-text { font-size: 14.5px; font-weight: 600; }
.myday-count { display: none; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; margin-right: -12px; border-radius: 999px; background: #fff; color: var(--deep); font-family: var(--f-mono); font-weight: 600; font-size: 13.5px; }
.myday.has .myday-count { display: grid; }
.in-enquire .myday, .at-top .myday { transform: translateY(140%); opacity: 0; pointer-events: none; }
.myday.bump .myday-count { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.3); } }
.flyer { position: fixed; z-index: 60; left: 0; top: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--sea); box-shadow: 0 0 18px 4px rgba(58, 155, 230, .6); pointer-events: none; }

/* ---------- footer ---------- */
.foot { background: var(--deep); color: #fff; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 40px; padding: 9vh var(--gut) 110px; }
.foot-brand { display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap; }
.foot-name { font-family: var(--f-serif); font-weight: 300; font-size: clamp(68px, 11vw, 176px); line-height: .86; letter-spacing: -.035em; }
.lang-cjk .foot-name { font-family: var(--f-zh); letter-spacing: .08em; }
.foot-zh { font-family: var(--f-zh); font-weight: 300; font-size: clamp(20px, 2vw, 30px); letter-spacing: .4em; color: rgba(255, 255, 255, .7); }
.foot-meta { grid-column: 1; }
.foot-meta p { margin: 0 0 4px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.foot-small { font-size: 12px !important; color: rgba(255, 255, 255, .55) !important; margin-top: 12px !important; }
.foot-top { grid-column: 2; grid-row: 2; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: rgba(255, 255, 255, .78); text-decoration: none; }
.foot-top:hover { color: #fff; }

/* ---------- toast ---------- */
.toast { position: fixed; z-index: 70; left: 50%; bottom: 84px; transform: translate(-50%, 20px); padding: 12px 20px; border-radius: 999px; background: var(--deep); color: #fff; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .3s, transform .5s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .bar-right, .nav + .bar-right { margin-left: auto; }
}
@media (max-width: 1020px) {
  .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 18px; }
  .tour:nth-child(n) { transition-delay: 0s; }
  .tour:nth-child(2n) { transition-delay: .08s; }
  .tour-frame { aspect-ratio: 1 / 1; }
  .about-grid { grid-template-columns: 1fr; }
  .portrait-frame { max-width: 520px; aspect-ratio: 5 / 4; }
  .portrait-ph { padding-bottom: 56px; gap: 8px; }
  .portrait-ph svg { width: 30%; }
  .portrait-name { font-size: 30px; }
  .private { grid-template-columns: 1fr; }
  .regions { grid-template-columns: 1fr 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .phone { position: relative; top: 0; max-width: 560px; }
  .links { grid-template-columns: 1fr 1fr; }
  .links > li, .links > li:nth-child(n+5) { grid-column: auto; }
  .links > li:last-child { grid-column: 1 / -1; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: clamp(320px, 52vw, 460px) repeat(2, clamp(220px, 34vw, 320px)); }
  .shot-a { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  html { scroll-padding-top: 66px; }
  .bar { height: 62px; gap: 12px; padding: 0 12px; }
  .mark { width: 30px; height: 30px; }
  .brand { gap: 9px; }
  .brand-name { font-size: 21px; }
  .bar-cta { display: none; }
  .lang button { min-width: 0; height: 34px; padding: 0 9px; font-size: 12.5px; }
  .lang-thumb { height: 34px; }
  .hero { padding: 0 8px; }
  .hero-frame { height: calc(100svh - 70px); min-height: 600px; border-radius: 24px; }
  .hero-copy { left: 20px; right: 20px; bottom: 24px; }
  .eyebrow { font-size: 10.5px; letter-spacing: .14em; gap: 10px; margin-bottom: 14px; }
  .eyebrow::before { width: 20px; }
  .lang-cjk .eyebrow { font-size: 11.5px; letter-spacing: .2em; }
  .hero-title { font-size: clamp(46px, 13vw, 70px); }
  .lang-cjk .hero-title { font-size: clamp(40px, 11.4vw, 60px); }
  .lang-yue .hero-title { font-size: clamp(36px, 10vw, 54px); }
  .hero-sub { font-size: 15.5px; line-height: 1.58; }
  .lang-cjk .hero-sub { font-size: 15.5px; }
  .btn { height: 50px; padding: 0 20px; font-size: 14.5px; }
  .hero-ctas { margin-top: 22px; gap: 10px; }
  .hero-vert { top: 18px; right: 16px; gap: 10px; }
  .vert-zh { font-size: 40px; }
  .seal { font-size: 14px; }
  .hero-frame .frame-tag { left: 16px; top: 16px; }
  .creds { padding: 16px 0; }
  .creds-list li { padding: 0 20px; font-size: 14px; }
  .creds-list li::after { margin-left: 20px; margin-right: -20px; }
  .tours, .day { padding-top: 10vh; }
  .sec-head { margin-bottom: 30px; }
  .tour-grid { gap: 26px 12px; }
  .tour-frame { aspect-ratio: 3 / 4; border-radius: 18px; }
  .tour-n { left: 10px; top: 10px; padding: 4px 8px; font-size: 11px; }
  .tour-copy { padding: 12px 2px 0; }
  .tour-zh { font-size: 22px; letter-spacing: .04em; }
  .tour-en { margin: 2px 0 6px; font-size: 15px; line-height: 1.3; }
  .tour-body { font-size: 13.5px; line-height: 1.5; margin-bottom: 12px; }
  .lang-cjk .tour-body { line-height: 1.75; }
  .tour .add { height: 38px; max-width: 100%; gap: 6px; padding: 0 10px 0 4px; font-size: 12.5px; white-space: nowrap; }
  .lang-ms .tour .add { font-size: 11.5px; letter-spacing: -.01em; }
  .tour .add .add-label { overflow: hidden; text-overflow: ellipsis; }
  .tour .add .add-icon { width: 26px; height: 26px; }
  .rg-sub { font-size: 14px; }
  .about-stats { gap: 28px; }
  .lic { grid-template-columns: 1fr; }
  .since-badge { width: 86px; height: 86px; }
  .since-badge b { font-size: 26px; }
  .bento { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 8px; scrollbar-width: none; }
  .bento::-webkit-scrollbar { display: none; }
  .shot { flex: none; width: 82vw; height: min(112vw, 520px); scroll-snap-align: center; }
  .shot p { display: none; }
  .wind { padding: 2vh 8px 8vh; }
  .wind-frame { aspect-ratio: auto; height: min(150vw, 640px); min-height: 0; border-radius: 24px; }
  .wind-wash { background: linear-gradient(180deg, rgba(250, 253, 255, .9) 0%, rgba(250, 253, 255, .7) 50%, rgba(250, 253, 255, 0) 80%); }
  .wind-copy { top: 28px; transform: none; left: 22px; right: 22px; max-width: none; }
  .wind-lines { font-size: clamp(24px, 7vw, 32px); }
  .lang-cjk .wind-lines { font-size: clamp(22px, 6.4vw, 30px); }
  .three { grid-template-columns: 1fr; }
  .map { aspect-ratio: 1000 / 560; border-radius: 18px; }
  .map-svg { inset: -6% -2%; width: 104%; height: 112%; }
  .ml { font-size: 9.5px; }
  .lang-cjk .ml { font-size: 10.5px; letter-spacing: .02em; }
  .ml-home { font-size: 10.5px; }
  .ml-region { font-size: 12px; }
  .lang-cjk .ml-region { font-size: 12px; letter-spacing: .14em; }
  .ml-peak { display: none; }
  .regions { grid-template-columns: 1fr; }
  .row2, .row2-even { grid-template-columns: 1fr; gap: 26px; }
  .phone { padding: 12px; border-radius: 24px; }
  .links { grid-template-columns: 1fr; }
  .links > li:last-child { grid-column: auto; }
  .link { padding: 16px 16px 16px 14px; gap: 14px; grid-template-columns: 46px minmax(0, 1fr) auto; }
  .link-ico { width: 46px; height: 46px; }
  .link-soon { grid-template-columns: 46px minmax(0, 1fr); }
  .foot-in { grid-template-columns: 1fr; padding-bottom: 120px; }
  .foot-top { grid-column: 1; grid-row: auto; }
  .myday { right: 12px; bottom: 12px; height: 48px; }
}
@media (max-width: 430px) {
  .brand-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: opacity .6s ease; }
  .ln-in { transform: none; transition: none; }
  .creds-run { animation: none; }
  .hint-dot::after, .m-home-ring { animation: none; }
}

/* ---------- wide screens: centre the content ---------- */
@media (min-width: 1560px) {
  .tours, .about, .day, .private, .places, .plan, .find, .foot-in { padding-left: calc((100vw - 1400px) / 2); padding-right: calc((100vw - 1400px) / 2); }
  .bar { padding-left: calc((100vw - 1480px) / 2); padding-right: calc((100vw - 1480px) / 2); }
}

/* phone: the photo card is 5:4, so the badge is smaller and tucked into the corner, clear of the reflections */
@media (max-width: 760px) {
  .portrait-frame.has-photo .since-badge { width: 72px; height: 72px; right: 12px; bottom: 12px; }
  .portrait-frame.has-photo .since-badge b { font-size: 22px; }
  .portrait-frame.has-photo .since-badge small { font-size: 8px; }
}
@media (max-width: 380px) {
  .lang-ms .tour .add { font-size: 10.5px; padding-right: 8px; }
}

/* ---------- 2 Dec 2026 (Lee, req-AAF12F02) ---------- */
/* English and Malay pages show no Chinese text: the Chinese titles, numbers and marks show only on 中文 / 粵語 */
html:not(.lang-cjk) .zh-only { display: none !important; }
html.lang-cjk .lat-only { display: none !important; }
.vert-lat { writing-mode: vertical-rl; padding: 20px 9px; border-radius: 999px; background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 14px 34px -22px rgba(6, 52, 95, .6); font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(26px, 3.6vh, 40px); line-height: 1; letter-spacing: .02em; white-space: nowrap; color: var(--deep); opacity: 0; transition: opacity 1.4s var(--ease); }
.is-ready .vert-lat { opacity: 1; }
html:not(.lang-cjk) .tour-en { margin: 0 0 10px; font-style: normal; font-weight: 400; font-size: clamp(25px, 2.1vw, 32px); line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
html:not(.lang-cjk) .shot h3 { font-family: var(--f-serif); font-weight: 400; letter-spacing: -.01em; }
html:not(.lang-cjk) .shot h3 small { margin-top: 0; font-size: 1em; font-style: normal; font-weight: 400; opacity: 1; }
.num .lat-only { font-family: var(--f-serif); }
.avatar .lat-only { font-family: var(--f-serif); font-size: 21px; font-weight: 500; }
.foot-lat { font-family: var(--f-serif); font-style: italic; letter-spacing: .02em; }
/* Cantonese: his name reads 小理 / 阿 Lee */
.lang-yue .brand-name { font-size: 19px; letter-spacing: .02em; white-space: nowrap; }
.lang-yue .foot-name { font-size: clamp(46px, 7.6vw, 124px); letter-spacing: .02em; }
/* Mt Kinabalu trips: his options */
.tour-opts { list-style: none; margin: -6px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.tour-opts li { position: relative; padding: 5px 12px 5px 23px; border-radius: 999px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; line-height: 1.4; color: var(--ink); }
.tour-opts li:last-child { flex-basis: 100%; border-radius: 14px; padding-top: 7px; padding-bottom: 8px; }
.tour-opts li::before { content: ""; position: absolute; left: 10px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--sea); }
.tour-opts li:last-child::before { top: 14px; }
.tour-opts small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: var(--ink-soft); }
.lang-cjk .tour-opts li { font-family: var(--f-zh-sans); letter-spacing: .03em; }
/* rafting: his photo fades in over the clip */
.swap-raft > img.swap-photo { object-position: 50% 40%; transform-origin: 50% 45%; }
/* About: Lee himself */
.portrait-frame > img.about-lee { object-position: 6% 45%; transform-origin: 20% 45%; }
/* Northern Sabah: his Tip of Borneo clip and photo */
.region-media { padding: 0; border: 0 !important; background: none; min-height: 190px; }
.region-media .tob-frame { flex: 1; align-self: stretch; min-height: 190px; border-radius: 20px; }
.tob-frame > img.swap-photo { object-position: 50% 32%; transform-origin: 40% 40%; }
.tob-cap { position: absolute; z-index: 3; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 24px); padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--deep); font-size: 13px; font-weight: 500; line-height: 1.3; box-shadow: 0 8px 20px -12px rgba(11, 37, 64, .6); }
.tob-pin { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sea); box-shadow: 0 0 0 3px rgba(11, 95, 174, .2); }
.lang-cjk .tob-cap { font-family: var(--f-zh-sans); letter-spacing: .04em; }
/* WeChat: a button that copies his ID */
button.link { width: 100%; margin: 0; font: inherit; color: var(--ink); text-align: left; cursor: pointer; -webkit-appearance: none; appearance: none; }
button.link:hover { border-color: rgba(11, 95, 174, .5); transform: translateY(-3px); box-shadow: 0 26px 50px -34px rgba(11, 37, 64, .5); }
button.link:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; }
@media (max-width: 1020px) {
  .region-media { grid-column: 1 / -1; }
  .region-media .tob-frame { aspect-ratio: 16 / 7; }
}
@media (max-width: 760px) {
  .vert-lat { font-size: 21px; }
  html:not(.lang-cjk) .tour-en { margin: 0 0 6px; font-size: 19px; line-height: 1.2; }
  .tour-opts { gap: 5px; margin: -4px 0 12px; }
  .tour-opts li { padding: 4px 9px 4px 18px; font-size: 12px; line-height: 1.35; }
  .tour-opts li:last-child { border-radius: 10px; padding-top: 5px; padding-bottom: 6px; }
  .tour-opts li::before { left: 8px; top: 10px; width: 5px; height: 5px; }
  .tour-opts li:last-child::before { top: 11px; }
  .vert-lat { padding: 14px 6px; }
  .tour-opts small { font-size: 11.5px; }
  .region-media .tob-frame { aspect-ratio: 16 / 9; min-height: 0; }
  .lang-yue .brand-name { font-size: 16px; }
}

/* ---------- 2 Dec 2026 (Lee, req-D534D-15) ---------- */
/* Wedding Photography (card 08): his red-gown photo below Mt Kinabalu, his pine-forest photo fading in over it */
.swap-wed > img.wed-photo { object-position: 40% 62%; transform-origin: 40% 60%; }
.swap-wed > img.swap-photo { object-position: 50% 45%; transform-origin: 50% 45%; }
@media (prefers-reduced-motion: reduce) { .swap-wed > img.swap-photo { opacity: 0 !important; } }
/* Mt Kinabalu stays last (card 09) and closes the list on a row of its own: the clip on one side, the trips beside it */
.tour-grid > .tour-wide { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(14px, 2vw, 28px); align-items: center; }
.tour-wide > .tour-frame { grid-column: 1 / 3; aspect-ratio: 3 / 2; }
.tour-wide > .tour-frame > video { object-position: 50% 18%; }
.tour-wide > .tour-copy { grid-column: 3 / 5; padding: 0 0 0 clamp(6px, 1.6vw, 30px); }
.tour-wide .tour-opts { max-width: 560px; }
@media (max-width: 1020px) {
  .tour-grid > .tour-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
  .tour-wide > .tour-frame { grid-column: 1; aspect-ratio: 4 / 5; }
  .tour-wide > .tour-frame > video { object-position: 50% 30%; }
  .tour-wide > .tour-copy { grid-column: 2; padding: 0 0 0 4px; }
}
@media (max-width: 760px) {
  .tour-grid > .tour-wide { display: flex; flex-direction: column; align-items: stretch; }
  .tour-wide > .tour-frame { aspect-ratio: 4 / 3; }
  .tour-wide > .tour-frame > video { object-position: 50% 28%; }
  .tour-wide > .tour-copy { padding: 12px 2px 0; }
}

/* ---------- 3 Dec 2026 (Amber, req-DA7DDF65): Lee's 2 Dec evening list ---------- */
/* cultural village: his five groups as tags (all the same shape, not the Kinabalu "last one wide" pill) and the rest in small type */
.tour-opts.tour-tags li:last-child { flex-basis: auto; border-radius: 999px; padding-top: 5px; padding-bottom: 5px; }
.tour-opts.tour-tags li:last-child::before { top: 12px; }
.tour-opts-two li { flex-basis: 100%; border-radius: 14px; padding-top: 7px; padding-bottom: 8px; }
.tour-opts-two li::before { top: 14px; }
.tour-more { margin: 0 0 6px; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }
.lang-cjk .tour-more { line-height: 1.85; font-family: var(--f-zh-sans); }
/* Sandakan Tours: a wide card like Mt Kinabalu, his clip on the right in its own 16:9 shape */
.tour-grid > .tour-wide-flip > .tour-frame { grid-column: 3 / 5; grid-row: 1; aspect-ratio: 16 / 9; }
.tour-grid > .tour-wide-flip > .tour-frame > video { object-position: 50% 50%; }
.tour-grid > .tour-wide-flip > .tour-copy { grid-column: 1 / 3; grid-row: 1; padding: 0 clamp(6px, 1.6vw, 30px) 0 0; }
.tour-wide-flip .tour-opts { max-width: 560px; }
@media (max-width: 1020px) {
  .tour-grid > .tour-wide-flip { display: flex; flex-direction: column; align-items: stretch; }
  .tour-grid > .tour-wide-flip > .tour-frame { aspect-ratio: 16 / 9; }
  .tour-grid > .tour-wide-flip > .tour-copy { padding: 16px 4px 0; }
}
@media (max-width: 760px) {
  .tour-grid > .tour-wide-flip > .tour-frame { aspect-ratio: 16 / 9; }
  .tour-grid > .tour-wide-flip > .tour-frame > video { object-position: 50% 50%; }
  .tour-grid > .tour-wide-flip > .tour-copy { padding: 12px 2px 0; }
  .tour-more { font-size: 12.5px; }
}
/* accommodation: a short "our team can also arrange" strip under the tours */
.stay { display: flex; align-items: center; gap: 20px; max-width: 980px; margin: clamp(40px, 4vw, 56px) 0 0; padding: 20px 24px; border-radius: 22px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); }
.stay-ico { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sea); }
.stay-ico svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stay-text { min-width: 0; }
.stay-k { margin: 0 0 2px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--sea); }
.lang-cjk .stay-k { font-family: var(--f-zh-sans); letter-spacing: .22em; font-size: 12.5px; }
.stay-t { margin: 0; font-family: var(--f-serif); font-weight: 500; font-size: 24px; line-height: 1.2; }
.lang-cjk .stay-t { font-family: var(--f-zh); font-weight: 700; font-size: 22px; letter-spacing: .06em; }
.stay-b { margin: 4px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.stay > .add { flex: none; margin: 0 0 0 auto; }
@media (max-width: 760px) {
  .stay { flex-wrap: wrap; gap: 14px; padding: 18px; }
  .stay-ico { width: 46px; height: 46px; }
  .stay-text { flex: 1 1 200px; }
  .stay > .add { margin: 0; }
}
/* his newest trip, start to finish, beside "Private, the way a trip should be" */
.priv-grid { display: grid; grid-template-columns: minmax(240px, 360px) minmax(0, 1fr); grid-template-areas: "vid title" "vid list"; grid-template-rows: auto 1fr; column-gap: clamp(28px, 5vw, 80px); row-gap: 28px; align-items: start; }
.trip-frame { grid-area: vid; margin: 0; aspect-ratio: 9 / 16; border-radius: 28px; background: #24384f; }
.trip-frame::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(4, 30, 60, .8), rgba(4, 30, 60, .2) 34%, rgba(4, 30, 60, 0) 52%); pointer-events: none; }
.trip-cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 20px 22px 22px; color: #fff; }
.trip-k { display: block; margin-bottom: 6px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; opacity: .92; }
.lang-cjk .trip-k { font-family: var(--f-zh-sans); letter-spacing: .2em; font-size: 13px; }
.trip-b { display: block; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .92); }
.lang-cjk .trip-b { line-height: 1.8; }
.priv-title { grid-area: title; align-self: end; font-size: clamp(34px, 3.2vw, 54px); }
.lang-cjk .priv-title { font-size: clamp(32px, 3vw, 50px); }
.priv-grid > .three { grid-area: list; grid-template-columns: 1fr; }
@media (max-width: 1020px) {
  .priv-grid { grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .priv-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "vid" "list"; grid-template-rows: auto; row-gap: 22px; }
  .trip-frame { width: min(100%, 330px); justify-self: center; }
}
