/* Layout: immersive layered hero over a 12-col editorial grid; porcelain ground, one cinnabar accent,
   brass hairlines, celadon for interaction; "night" bands stay dark in both themes. */
:root {
  --bg: #FAF8F4;
  --surface: #FFFFFF;
  --tint: #EFF2EC;
  --ink: #152046;
  --ink-soft: #434A63;
  --muted: #636777;
  --line: #E4DED3;
  --brass: #94733C;
  --cinnabar: #BF322D;
  --cinnabar-ink: #FFFFFF;
  --celadon: #3C6B5B;
  --celadon-wash: #DEE8E1;
  --ok: #2E6A4E;
  --warn: #8C600F;
  --bad: #A23A2B;
  --night: #111A4A;
  --night-2: #18235B;
  --night-fg: #EFEBE3;
  --night-muted: #B5BAD0;
  --night-line: #2A3570;
  --night-accent: #DDBB78;
  --sky-1: #F8F2EA;
  --sky-2: #F3D9C4;
  --sun: #D4583C;
  --cloud: #FFFFFF;
  --m1: #D3DED6;
  --m2: #A9C2B5;
  --sea: #D7E5DF;
  --sea-line: #FFFFFF;
  --silhouette: #18225A;
  --shadow: 0 30px 70px -34px rgba(23, 32, 44, .32);
  --f-display: "Newsreader", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --f-body: "Hanken Grotesk", "Noto Sans SC", -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --head-h: 76px;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E131A; --surface: #151C25; --tint: #111C19; --ink: #EDE9E1; --ink-soft: #C6C2B9; --muted: #9D998F; --line: #29313D;
    --brass: #C9A86B; --cinnabar: #E0705B; --cinnabar-ink: #1A0E0B; --celadon: #8FC3AF; --celadon-wash: #1B2D26;
    --ok: #8FD0AE; --warn: #E3B45E; --bad: #EE8C7A;
    --night: #0A1034; --night-2: #111A46; --night-fg: #EFEBE3; --night-muted: #A9AEC6; --night-line: #222C5E; --night-accent: #D2B074;
    --sky-1: #0C121C; --sky-2: #1D2A3B; --sun: #E9D4A2; --cloud: #2B3A52; --m1: #1B2832; --m2: #142028; --sea: #13202A; --sea-line: #47627A; --silhouette: #050816;
    --shadow: 0 30px 70px -34px rgba(0, 0, 0, .7); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E131A; --surface: #151C25; --tint: #111C19; --ink: #EDE9E1; --ink-soft: #C6C2B9; --muted: #9D998F; --line: #29313D;
  --brass: #C9A86B; --cinnabar: #E0705B; --cinnabar-ink: #1A0E0B; --celadon: #8FC3AF; --celadon-wash: #1B2D26;
  --ok: #8FD0AE; --warn: #E3B45E; --bad: #EE8C7A;
  --night: #0A1034; --night-2: #111A46; --night-fg: #EFEBE3; --night-muted: #A9AEC6; --night-line: #222C5E; --night-accent: #D2B074;
  --sky-1: #0C121C; --sky-2: #1D2A3B; --sun: #E9D4A2; --cloud: #2B3A52; --m1: #1B2832; --m2: #142028; --sea: #13202A; --sea-line: #47627A; --silhouette: #050816;
  --shadow: 0 30px 70px -34px rgba(0, 0, 0, .7); color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--celadon); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--cinnabar); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.band { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.band.tint { background: var(--tint); }
.night { background: var(--night); color: var(--night-fg); --muted: var(--night-muted); }
.night .eyebrow { color: var(--night-accent); }
.night .lead { color: var(--night-muted); }
.night h2 em { color: var(--night-accent); }

h1, h2, h3 { font-family: var(--f-display); font-weight: 400; letter-spacing: -.01em; text-wrap: balance; margin: 0; color: inherit; }
.band h2, .belief h2, .hero h1 { color: var(--ink); }
.night h2, .night h3 { color: var(--night-fg); }
h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.02em; }
h3 { font-size: clamp(22px, 2vw, 27px); line-height: 1.2; }
h2 em { font-style: italic; color: var(--cinnabar); }
:lang(zh) h2 em, :lang(zh) h1 .accent { font-style: normal; }
:lang(zh) h2, :lang(zh) h3 { line-height: 1.3; letter-spacing: 0; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-soft); max-width: 60ch; text-wrap: pretty; }
.eyebrow { font: 600 12px/1.4 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--brass); display: flex; align-items: center; gap: 12px; margin: 0; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
:lang(zh) .eyebrow { letter-spacing: .12em; }
.head { display: grid; gap: 18px; max-width: 780px; margin-bottom: clamp(44px, 5vw, 72px); }
.num { font-variant-numeric: tabular-nums; }
.disclaimer { font-size: 13px; color: var(--muted); max-width: 80ch; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; font: 600 15px/1.2 var(--f-body); letter-spacing: .01em; text-decoration: none; text-align: center; cursor: pointer; border: 1px solid transparent; transition: transform .35s var(--ease), background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .35s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--cinnabar); color: var(--cinnabar-ink); box-shadow: 0 16px 34px -16px color-mix(in srgb, var(--cinnabar) 75%, transparent); }
.btn-primary:hover { color: var(--cinnabar-ink); box-shadow: 0 22px 40px -16px color-mix(in srgb, var(--cinnabar) 85%, transparent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 26%, transparent); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-glass { background: color-mix(in srgb, var(--surface) 62%, transparent); color: var(--ink); border-color: color-mix(in srgb, var(--ink) 14%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-glass:hover { color: var(--ink); background: var(--surface); }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }
.textbtn { background: none; border: 0; color: var(--ink-soft); font: 600 15px var(--f-body); cursor: pointer; min-height: 44px; padding: 0 4px; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header + mobile menu ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: var(--bg); }
.site-head { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 30; transition: background-color .4s ease, border-color .4s ease, transform .45s var(--ease); border-bottom: 1px solid transparent; }
.site-head.scrolled { background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom-color: var(--line); }
.site-head.hide { transform: translateY(-110%); }
.site-head .wrap { display: flex; align-items: center; gap: 22px; min-height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; flex: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font: 500 24px/1 var(--f-display); letter-spacing: -.01em; }
.brand-name b { font-weight: 500; color: var(--cinnabar); }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500; padding: 12px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--cinnabar); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav .nav-cta { display: none; }
.lang { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; padding: 0 14px; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); border-radius: 999px; min-height: 42px; display: inline-flex; align-items: center; flex: none; background: color-mix(in srgb, var(--surface) 40%, transparent); }
.head-cta { min-height: 44px !important; padding: 0 20px !important; font-size: 14px !important; flex: none; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); background: color-mix(in srgb, var(--surface) 50%, transparent); cursor: pointer; position: relative; flex: none; }
.menu-btn i { position: absolute; left: 14px; right: 14px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn i:first-of-type { top: 18px; } .menu-btn i:last-of-type { top: 26px; }
.menu-open .menu-btn i:first-of-type { top: 22px; transform: rotate(45deg); }
.menu-open .menu-btn i:last-of-type { top: 22px; transform: rotate(-45deg); }
@media (max-width: 1040px) {
  .menu-btn { display: inline-block; }
  .head-cta { display: none !important; }
  .nav { position: fixed; inset: 0; top: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
    padding: calc(var(--head-h) + 24px + env(safe-area-inset-top, 0px)) var(--gutter-r) 40px var(--gutter-l); background: var(--bg);
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .35s ease, transform .45s var(--ease), visibility 0s .45s; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .45s var(--ease), visibility 0s; }
  .nav a { font: 400 clamp(30px, 8vw, 44px)/1.15 var(--f-display); color: var(--ink); padding: 10px 0; }
  .nav a::after { display: none; }
  .nav .nav-cta { display: inline-flex; margin-top: 24px; font: 600 16px var(--f-body); background: var(--cinnabar); color: var(--cinnabar-ink); border-radius: 999px; padding: 16px 26px; }
  .menu-open { background: var(--bg) !important; }
}
@media (max-width: 380px) { .brand-name { font-size: 21px; } .brand-mark { width: 34px; height: 34px; } .site-head .wrap { gap: 12px; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(640px, 100svh, 1040px); display: grid; align-items: start; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-1) 30%, var(--sky-2) 78%); }
.hero-scene { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-scene .layer { position: absolute; inset: -2% -4% 0; will-change: transform; }
.hero-scene svg { width: 100%; height: 100%; display: block; }
.hero-scene .cloud { opacity: .75; }
.hero-scene .c1 { animation: drift 46s linear infinite alternate; }
.hero-scene .c2 { animation: drift 60s linear infinite alternate-reverse; }
.hero-scene .c3 { animation: drift 52s linear infinite alternate; }
.hero-scene .shimmer { stroke-dasharray: 40 18; animation: shimmer 6s linear infinite; opacity: .8; }
.hero-scene .s2 { animation-duration: 9s; opacity: .55; }
.hero-scene .sun { transform-box: fill-box; transform-origin: center; animation: breathe 9s ease-in-out infinite; }
@keyframes drift { to { transform: translateX(120px); } }
@keyframes shimmer { to { stroke-dashoffset: -116; } }
@keyframes breathe { 50% { transform: scale(1.04); } }
.hero-inner { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; padding-top: calc(var(--head-h) + clamp(48px, 9vh, 110px) + env(safe-area-inset-top, 0px)); padding-bottom: clamp(260px, 42vh, 440px); }
.hero-copy { display: grid; gap: 26px; max-width: 780px; will-change: transform, opacity; }
.hero h1 { font-size: clamp(48px, 7.6vw, 116px); line-height: .98; letter-spacing: -.03em; }
:lang(zh) .hero h1 { font-size: clamp(46px, 7vw, 100px); line-height: 1.12; letter-spacing: 0; font-weight: 500; }
.h1-line { display: block; }
.h1-line.accent { color: var(--cinnabar); font-style: italic; }
.ln { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .12em; margin: 0 -.04em -.12em; }
.ln > span { display: inline-block; }
.js .ln > span { transform: translateY(110%); animation: lineUp 1.1s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
@keyframes lineUp { to { transform: none; } }
.js .hero-in { opacity: 0; transform: translateY(18px); animation: fadeUp 1s var(--ease) forwards; animation-delay: .1s; }
.js .hero-in.d2 { animation-delay: .55s; } .js .hero-in.d3 { animation-delay: .7s; } .js .hero-in.d4 { animation-delay: .85s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero .lead { color: var(--ink-soft); font-size: clamp(18px, 1.6vw, 22px); max-width: 600px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.assure { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-soft); font-size: 14px; }
.assure span { display: inline-flex; align-items: center; gap: 8px; }
.assure span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--celadon); flex: none; }
.geo { align-self: start; margin-top: 8px; display: grid; gap: 4px; justify-items: end; text-align: right; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.geo-zh { font: 500 54px/1 "Noto Serif SC", serif; letter-spacing: .14em; color: var(--cinnabar); margin-bottom: 8px; text-transform: none; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; color: var(--night-fg); text-decoration: none; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; z-index: 2; }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--night-fg), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .geo { display: none; }
}
@media (max-width: 600px) {
  .hero { min-height: 0; }
  .hero-inner { padding-bottom: clamp(200px, 52vw, 280px); }
  .ctas .btn { width: 100%; }
  .scroll-cue { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--night); color: var(--night-fg); overflow: hidden; padding-block: 20px; border-block: 1px solid var(--night-line); }
.mq { display: flex; width: max-content; gap: 34px; align-items: center; animation: mq 46s linear infinite; }
.marquee:hover .mq { animation-play-state: paused; }
.mq span { font: italic 400 clamp(19px, 2vw, 24px)/1.2 var(--f-display); white-space: nowrap; }
:lang(zh) .mq span { font-style: normal; }
.mq i { color: var(--night-accent); font-style: normal; font-size: 13px; }
@keyframes mq { to { transform: translateX(calc(-50% - 17px)); } }

/* ---------- Belief + expanding frame + facts ---------- */
.belief { padding-block: clamp(96px, 13vw, 180px) clamp(80px, 10vw, 140px); }
.belief .eyebrow { margin-bottom: 28px; }
.mf-text { font: 400 clamp(30px, 4.3vw, 60px)/1.18 var(--f-display); letter-spacing: -.015em; max-width: 1080px; text-wrap: pretty; }
:lang(zh) .mf-text { line-height: 1.45; letter-spacing: 0; font-size: clamp(26px, 3.6vw, 48px); }
.js .mf-text .w { opacity: .16; transition: opacity .5s ease; }
.js .mf-text .w.on { opacity: 1; }
.frame-wrap { margin-top: clamp(56px, 8vw, 110px); padding-inline: 0; }
.frame { position: relative; margin: 0; height: clamp(380px, 78vh, 820px); max-height: 120vw; overflow: hidden; clip-path: inset(var(--fy, 0%) var(--fx, 0%) round var(--fr, 0px)); }
.js .frame { --fy: 6%; --fx: 10%; --fr: 32px; }
.frame-media { position: absolute; inset: -10% 0; will-change: transform; }
.frame-media img, .frame-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8, 12, 18, .62)); pointer-events: none; }
.frame-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(24px, 5vw, 64px) max(24px, calc((100vw - var(--wrap)) / 2 + 20px)); display: grid; gap: 14px; color: #FFFFFF; }
.frame-copy .eyebrow { color: #F2DDB4; }
.frame-title { font: 400 clamp(34px, 5.6vw, 84px)/1.02 var(--f-display); letter-spacing: -.02em; max-width: 14ch; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
:lang(zh) .frame-title { line-height: 1.25; letter-spacing: 0; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.fact { display: grid; gap: 10px; padding: 28px 24px 8px 0; align-content: start; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact b { font: 400 clamp(52px, 6vw, 88px)/1 var(--f-display); color: var(--cinnabar); letter-spacing: -.02em; }
.fact span { color: var(--ink-soft); font-size: 15px; max-width: 26ch; }
.facts-note { margin-top: 18px; }
@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) { .facts { grid-template-columns: minmax(0, 1fr); } .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Reveal ---------- */
.js .rv.pre { opacity: 0; transform: translateY(40px); }
.js .rv { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rv.d1 { transition-delay: .08s; } .js .rv.d2 { transition-delay: .16s; } .js .rv.d3 { transition-delay: .24s; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.why-grid .head { position: sticky; top: calc(var(--head-h) + 40px); margin-bottom: 0; }
@media (max-width: 900px) { .why-grid { grid-template-columns: minmax(0, 1fr); } .why-grid .head { position: static; } }
.reasons { display: grid; border-top: 1px solid var(--line); }
.reason { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 22px; padding-block: 34px; border-bottom: 1px solid var(--line); }
.reason .glyph { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--celadon-wash); color: var(--celadon); transition: transform .5s var(--ease); }
.reason:hover .glyph { transform: rotate(-8deg) scale(1.06); }
.reason .glyph svg { width: 26px; height: 26px; }
.reason h3 { margin-bottom: 8px; }
.reason p { color: var(--ink-soft); }
.note { margin-top: 28px; padding: 20px 22px; border-left: 2px solid var(--brass); background: var(--surface); color: var(--ink-soft); font-size: 15px; border-radius: 0 14px 14px 0; }

/* ---------- Journey (scroll-told) ---------- */
.journey { padding-block: clamp(90px, 11vw, 150px) clamp(40px, 6vw, 80px); position: relative; }
.jgrid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.jvisual { position: sticky; top: calc(var(--head-h) + 32px); }
.jcard { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 30px; padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 14px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.jstage { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.jcount { font: 400 15px var(--f-body); color: var(--night-muted); letter-spacing: .12em; }
.jcount b { font: 400 40px/1 var(--f-display); color: var(--night-fg); letter-spacing: 0; }
.jwhen { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--night-accent); font-weight: 600; }
.jtitle { font: 400 clamp(24px, 2.4vw, 32px)/1.15 var(--f-display); min-height: 1.2em; }
.jbar { height: 2px; background: var(--night-line); border-radius: 2px; overflow: hidden; }
.jbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--night-accent), var(--cinnabar)); transform-origin: left; transform: scaleX(var(--jp, 0)); }
.route-svg { width: 100%; height: auto; display: block; overflow: visible; }
.route-svg .land { fill: color-mix(in srgb, var(--night-accent) 9%, transparent); }
.route-svg .arc { fill: none; stroke: var(--night-accent); stroke-width: 1.2; stroke-dasharray: 3 6; opacity: .45; }
.route-svg .trail { fill: none; stroke: var(--cinnabar); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.route-svg .trail.back { stroke: var(--night-accent); }
.route-svg .city { fill: var(--night-muted); }
.route-svg .home { fill: var(--night-fg); }
.route-svg .dest { fill: var(--cinnabar); }
.route-svg .pulse { fill: none; stroke: var(--cinnabar); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.8); opacity: 0; } }
.route-svg text { font: 600 9.5px/1 var(--f-body); fill: var(--night-muted); letter-spacing: .08em; }
.route-svg .plane { fill: var(--night-fg); }
.route-svg .plane-halo { fill: var(--cinnabar); opacity: .35; }
.jsteps { display: grid; }
.jstep { min-height: clamp(380px, 62vh, 620px); display: grid; align-content: center; gap: 14px; padding-block: 40px; border-top: 1px solid var(--night-line); }
.jstep:first-child { border-top: 0; }
.js .jstep { opacity: .28; transition: opacity .6s ease, transform .8s var(--ease); transform: translateX(10px); }
.js .jstep.on { opacity: 1; transform: none; }
.jnum { font: 300 clamp(56px, 6vw, 88px)/1 var(--f-display); color: var(--night-accent); }
.jstep .when { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--night-muted); font-weight: 600; }
.jstep h3 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; }
.jstep p { color: var(--night-muted); max-width: 46ch; font-size: 17px; }
.jstep ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.jstep li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.jstep li::before { content: ""; width: 14px; height: 1px; background: var(--night-accent); transform: translateY(-4px); }
@media (max-width: 900px) {
  .jgrid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .jvisual { top: calc(var(--head-h) + env(safe-area-inset-top, 0px)); z-index: 3; padding-block: 8px 14px; background: var(--night);
    margin-inline: calc(-1 * var(--gutter-l)) calc(-1 * var(--gutter-r)); padding-inline: var(--gutter-l) var(--gutter-r); }
  .jcard { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; gap: 10px 16px; padding: 14px 16px; border-radius: 22px; }
  .jcard .jstage { grid-column: 1; flex-direction: column; align-items: flex-start; gap: 4px; }
  .jcard .route-svg { grid-column: 2; grid-row: 1 / span 2; }
  .jcard .jtitle { grid-column: 1; font-size: 19px; }
  .jcard .jbar { grid-column: 1 / -1; }
  .jcount b { font-size: 30px; }
  .jstep { min-height: 0; padding-block: 44px; }
  .js .jstep { transform: none; }
}
@media (max-width: 900px) and (max-height: 600px) { .jvisual { position: static; } }

/* ---------- Packages ---------- */
.pkg-status { display: inline-flex; gap: 10px; align-items: center; justify-self: start; font-size: 14px; color: var(--warn); background: color-mix(in srgb, var(--warn) 11%, transparent); padding: 8px 14px; border-radius: 999px; }
.pkg-status.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 11%, transparent); }
.pkgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
@media (max-width: 1000px) { .pkgs { grid-template-columns: minmax(0, 1fr); max-width: 620px; } }
.pkg { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; transition: transform .5s var(--ease), box-shadow .5s ease, border-color .4s ease; }
.pkg:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brass) 55%, var(--line)); }
.pkg.featured { border-color: var(--brass); background: linear-gradient(180deg, color-mix(in srgb, var(--brass) 8%, var(--surface)), var(--surface) 40%); }
.pkg .tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); min-height: 1.4em; }
.pkg p { color: var(--ink-soft); }
.pkg ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; flex: 1; align-content: start; }
.pkg li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 15px; }
.pkg li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; border: 1.5px solid var(--celadon); border-radius: 50%; }
.pkg .price { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 4px; }
.pkg .price b { font: 400 34px/1.1 var(--f-display); }
.pkg .price span { font-size: 13px; color: var(--muted); }
.extras { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); font-size: 15px; }
.extras b { color: var(--ink); font-weight: 600; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: var(--surface); color: var(--ink-soft); }

/* ---------- Explorer ---------- */
.explorer { background: var(--surface); border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow); overflow: hidden; }
.ex-top { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding: 18px clamp(18px, 3vw, 36px); border-bottom: 1px solid var(--line); }
.ex-steps { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.ex-steps li { font-size: 13px; color: var(--muted); padding: 6px 12px; border-radius: 999px; }
.ex-steps li.on { background: var(--ink); color: var(--bg); }
.ex-steps li.done { color: var(--celadon); }
.ex-body { padding: clamp(22px, 4vw, 52px); min-height: 460px; }
.ex-q { display: grid; gap: 22px; animation: rise .55s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.ex-q h3 { font-size: clamp(26px, 3vw, 38px); }
.ex-progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.ex-progress i { display: block; height: 100%; background: var(--cinnabar); transition: width .5s ease; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.opt { text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; min-height: 76px; font: inherit; color: var(--ink); cursor: pointer; display: grid; gap: 4px; transition: border-color .25s ease, transform .3s var(--ease), background-color .25s ease; }
.opt:hover { border-color: var(--celadon); transform: translateY(-2px); }
.opt[aria-pressed="true"] { border-color: var(--celadon); background: var(--celadon-wash); }
.opt b { font-weight: 600; }
.opt small { color: var(--muted); font-size: 14px; }
.ex-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ex-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.ex-card { text-align: left; font: inherit; color: var(--ink); cursor: pointer; background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 10px; align-content: start; transition: border-color .25s ease, transform .3s var(--ease); }
.ex-card:hover { transform: translateY(-3px); border-color: var(--celadon); }
.ex-card .fit { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.ex-card .fit.good { color: var(--ok); } .ex-card .fit.over { color: var(--warn); }
.ex-card strong { font: 400 24px/1.15 var(--f-display); }
.ex-card .p { font: 400 22px/1.2 var(--f-display); }
.ex-card small { color: var(--muted); font-size: 14px; }
.verdict { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: flex-end; justify-content: space-between; }
.verdict .big { font: 400 clamp(46px, 7vw, 84px)/1 var(--f-display); letter-spacing: -.02em; }
.verdict .big.good { color: var(--ok); } .verdict .big.flat { color: var(--warn); } .verdict .big.bad { color: var(--bad); }
.verdict .pct { font: 600 15px var(--f-body); padding: 8px 14px; border-radius: 999px; background: var(--tint); }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.badge.good { color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.badge.flat { color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); }
.badge.bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, transparent); }
.bars { display: grid; gap: 18px; margin-block: 28px; }
.bar-row { display: grid; grid-template-columns: 180px minmax(0, 1fr) 120px; gap: 14px; align-items: center; }
@media (max-width: 700px) { .bar-row { grid-template-columns: minmax(0, 1fr) auto; } .bar-row .track { grid-column: 1 / -1; grid-row: 2; } }
.bar-row .label { font-size: 14px; font-weight: 600; }
.bar-row .val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.track { height: 30px; background: var(--bg); border-radius: 8px; overflow: hidden; display: flex; }
.seg { height: 100%; width: 0; transition: width 1.3s var(--ease); }
.seg.home { background: var(--ink-soft); }
.seg.check { background: var(--cinnabar); } .seg.fly { background: var(--brass); } .seg.hotel { background: var(--celadon); } .seg.local { background: color-mix(in srgb, var(--celadon) 45%, var(--bg)); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--ink-soft); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; }
.table-box { overflow-x: auto; }
.breakdown { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.breakdown th, .breakdown td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.breakdown td + td, .breakdown th + th { padding-left: 14px; }
.breakdown td:last-child, .breakdown th:last-child { text-align: right; white-space: nowrap; }
.breakdown tr.total td { font-weight: 700; border-bottom: 0; }
.breakdown small { display: block; color: var(--muted); font-size: 13px; }
.assumptions { margin-top: 22px; border: 1px solid var(--line); border-radius: 18px; padding: 4px 20px; background: var(--bg); }
.assumptions summary { cursor: pointer; font-weight: 600; padding-block: 14px; min-height: 44px; }
.assumptions ul { margin: 0 0 16px; padding-left: 18px; display: grid; gap: 8px; color: var(--ink-soft); font-size: 14px; }
.ex-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); }
@media (max-width: 900px) { .ex-split { grid-template-columns: minmax(0, 1fr); } }
.next { display: grid; gap: 12px; align-content: start; }
.next .btn { justify-content: flex-start; text-align: left; padding: 14px 22px; }
.summary-box { background: var(--tint); border-radius: 22px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.summary-box dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; font-size: 15px; }
.summary-box dt { color: var(--muted); }
.summary-box dd { margin: 0; font-weight: 600; }

/* ---------- Care / trust ---------- */
.care-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
@media (max-width: 900px) { .care-grid { grid-template-columns: minmax(0, 1fr); } }
.care-col { padding: 32px 28px 8px 0; display: grid; gap: 14px; align-content: start; }
.care-col + .care-col { padding-left: 28px; border-left: 1px solid var(--line); }
@media (max-width: 900px) { .care-col, .care-col + .care-col { padding: 28px 0 8px; border-left: 0; } .care-col + .care-col { border-top: 1px solid var(--line); } }
.care-col .when { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.care-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--ink-soft); }
.care-col li { padding-left: 18px; position: relative; }
.care-col li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--brass); }
.trust { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 800px) { .trust { grid-template-columns: minmax(0, 1fr); } }
.trust-item { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: grid; gap: 8px; align-content: start; transition: transform .5s var(--ease), box-shadow .5s ease; }
.trust-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trust-item h3 { font-size: 22px; }
.trust-item p { color: var(--ink-soft); font-size: 15px; }
.partners { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.partner { border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: var(--surface); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 22px; }
.quote { margin: 0; display: grid; gap: 16px; padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.quote blockquote { margin: 0; font: 400 21px/1.45 var(--f-display); }
.quote figcaption { font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--head-h) + 40px); align-content: start; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } .faq-head { position: static; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding-block: 22px; min-height: 64px; font: 400 clamp(20px, 2vw, 25px)/1.3 var(--f-display); transition: color .3s ease; }
.faq summary:hover { color: var(--cinnabar); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 28px/1 var(--f-body); color: var(--brass); transition: transform .4s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 24px; color: var(--ink-soft); max-width: 68ch; }
.faq details[open] p { animation: rise .45s var(--ease); }

/* ---------- Contact ---------- */
#contact { overflow: hidden; }
.contact-glow { position: absolute; width: 900px; height: 900px; right: -300px; top: -300px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--cinnabar) 30%, transparent), transparent); opacity: .55; }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.after { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: a; }
.after li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: center; counter-increment: a; color: var(--night-fg); }
.after li::before { content: counter(a); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--night-accent); color: var(--night-accent); display: grid; place-items: center; font: 400 17px/1 var(--f-display); }
.mail-label { margin-top: 36px; color: var(--night-accent); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.mail { font: 400 clamp(22px, 2.4vw, 30px)/1.25 var(--f-display); overflow-wrap: anywhere; margin-top: 6px; }
.mail a { color: var(--night-fg); }
.form { background: var(--surface); color: var(--ink); border-radius: 30px; padding: clamp(22px, 4vw, 46px); display: grid; gap: 20px; box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .7); --muted: #6A6D73; }
:root[data-theme="dark"] .form { --muted: #9D998F; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .form { --muted: #9D998F; } }
.form h3 { font-size: clamp(26px, 2.6vw, 34px); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label, .legend-label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); padding: 12px 14px; font: inherit; font-size: 16px; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--celadon); box-shadow: 0 0 0 3px color-mix(in srgb, var(--celadon) 22%, transparent); }
.field .hint { font-size: 12px; color: var(--muted); }
.seg-ctl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.seg-ctl button { min-height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 600 15px var(--f-body); cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.seg-ctl button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 14px; color: var(--ink-soft); align-items: start; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--celadon); }
.form-msg { font-size: 15px; padding: 12px 14px; border-radius: 12px; }
.form-msg.err { background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); }
.form-done { display: grid; gap: 14px; padding-block: 24px; animation: rise .6s var(--ease); }
.form-done h3 { color: var(--ok); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.foot { padding-block: 64px calc(110px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot .wrap { display: grid; gap: 22px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; }
.foot-top .brand { margin-right: 0; }
.foot-tag { font: italic 400 20px var(--f-display); color: var(--ink-soft); }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot nav a { color: var(--ink-soft); text-decoration: none; padding-block: 10px; }
.foot nav a:hover { color: var(--cinnabar); }
.foot .fine { max-width: 90ch; }

/* ---------- Concierge ---------- */
.cg-launch { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 22px 0 8px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--night-fg) 12%, transparent); background: var(--night); color: var(--night-fg); font: 600 15px var(--f-body); cursor: pointer; box-shadow: var(--shadow); transition: transform .4s var(--ease), opacity .4s ease; }
.cg-launch:hover { transform: translateY(-3px); }
.cg-launch.tucked { transform: translateY(140%); opacity: 0; pointer-events: none; }
.cg-launch .av { width: 42px; height: 42px; border-radius: 50%; background: var(--cinnabar); display: grid; place-items: center; color: var(--cinnabar-ink); }
.cg-launch .av svg { width: 22px; height: 22px; }
@media (max-width: 600px) { .cg-launch .txt { display: none; } .cg-launch { padding: 0 7px; min-height: 56px; } }
.cg { position: fixed; z-index: 50; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(420px, calc(100vw - 32px)); height: min(680px, calc(100dvh - 32px)); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .45); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; animation: pop .4s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.cg-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px 18px; border-bottom: 1px solid var(--line); }
.cg-head .av { width: 40px; height: 40px; border-radius: 50%; background: var(--cinnabar); color: var(--cinnabar-ink); display: grid; place-items: center; flex: none; }
.cg-head .av svg { width: 20px; height: 20px; }
.cg-head strong { display: block; font: 500 19px/1.2 var(--f-display); }
.cg-head small { color: var(--muted); font-size: 12px; }
.cg-x { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg); color: var(--ink); cursor: pointer; font-size: 20px; flex: none; }
.cg-note { font-size: 12px; color: var(--muted); padding: 10px 18px; background: var(--bg); border-bottom: 1px solid var(--line); }
.cg-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: 12px 15px; border-radius: 18px; font-size: 15px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; animation: rise .35s var(--ease); }
.msg.bot { background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.me { background: var(--ink); color: var(--bg); border-bottom-right-radius: 6px; align-self: flex-end; }
.msg a { color: inherit; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 8px 14px; min-height: 40px; font: 500 14px var(--f-body); cursor: pointer; }
.chip:hover { border-color: var(--celadon); }
.cg-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.cg-form textarea { flex: 1; min-width: 0; resize: none; min-height: 46px; max-height: 120px; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; font: inherit; font-size: 16px; background: var(--bg); color: var(--ink); }
.cg-form button { width: 48px; min-height: 46px; border-radius: 16px; border: 0; background: var(--cinnabar); color: var(--cinnabar-ink); cursor: pointer; flex: none; }
.cg-form button svg { width: 20px; height: 20px; }
.cg-lead { align-self: stretch; background: var(--tint); border-radius: 18px; padding: 16px; display: grid; gap: 10px; }
.cg-lead input, .cg-lead select { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; font: inherit; font-size: 16px; background: var(--surface); color: var(--ink); }
.cg-lead label.c { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 13px; color: var(--ink-soft); }
.cg-lead .btn { min-height: 46px; }
@media (max-width: 520px) { .cg { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; border: 0; padding-bottom: env(safe-area-inset-bottom, 0px); padding-top: env(safe-area-inset-top, 0px); } }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: calc(var(--head-h) + 64px) var(--gutter-r) 96px var(--gutter-l); display: grid; gap: 18px; }
.legal h2 { font-size: 28px; margin-top: 18px; }
.legal p, .legal li { color: var(--ink-soft); }
.ph { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); padding: 0 4px; border-radius: 4px; }
/* A fixed overlay must not be trapped by the header's blur or transform. */
.site-head.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
@media (max-width: 380px) { .lang { padding: 0 10px; font-size: 13px; } .brand { gap: 8px; } .brand-name { font-size: 19px; } }

.menu-open ~ * .cg-launch, body.menu-is-open .cg-launch { opacity: 0; pointer-events: none; }

/* ===== v3: logo, brand navy, photography ===== */
.logo-dk { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-lt { display: none; } :root:not([data-theme="light"]) .logo-dk { display: inline-block; } }
:root[data-theme="dark"] .logo-lt { display: none; }
:root[data-theme="dark"] .logo-dk { display: inline-block; }
.night .logo-lt { display: none; } .night .logo-dk { display: inline-block; }
.brand-emblem { height: 52px; width: auto; flex: none; transition: transform .6s var(--ease); }
.brand:hover .brand-emblem { transform: rotate(-6deg) scale(1.04); }
.brand-text { display: grid; gap: 4px; }
.brand-name { font: 500 25px/1 var(--f-display); letter-spacing: -.005em; color: var(--ink); }
.brand-tag { font: 600 9.5px/1 var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
:lang(zh) .brand-tag { letter-spacing: .3em; }
@media (max-width: 560px) { .brand-tag { display: none; } .brand-emblem { height: 44px; } .brand-name { font-size: 22px; } }
@media (max-width: 380px) { .brand-emblem { height: 38px; } .brand-name { font-size: 19px; } }

.medallion { align-self: start; display: grid; justify-items: center; gap: 12px; text-align: center; margin-top: -8px; will-change: transform; }
.medal-ring { position: relative; width: clamp(210px, 21vw, 300px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--surface) 62%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid color-mix(in srgb, var(--brass) 45%, transparent); box-shadow: 0 40px 80px -40px rgba(21, 32, 70, .45); animation: floaty 8s ease-in-out infinite; }
.medal-ring::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--brass) 55%, transparent); animation: spin 80s linear infinite; }
.medal-ring::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, color-mix(in srgb, #FFFFFF 70%, transparent), transparent 60%); pointer-events: none; opacity: .6; }
.medal-img { width: 80%; height: auto; position: relative; z-index: 1; }
.medal-tag { font: italic 400 22px/1.2 var(--f-display); color: var(--ink); margin-top: 10px; }
:lang(zh) .medal-tag { font-style: normal; letter-spacing: .12em; }
.medal-cap { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
@keyframes floaty { 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .medallion { display: none; } }

/* Photo story: pinned horizontal travel on wide screens, swipe row on small ones */
.gallery { position: relative; }
.g-pin { position: relative; overflow: hidden; padding-block: clamp(80px, 10vw, 130px); }
.gallery.pinned .g-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--head-h) + 10px) 40px; }
.g-track { display: flex; gap: clamp(20px, 2.6vw, 36px); padding-left: max(var(--gutter-l), calc((100vw - var(--wrap)) / 2 + 20px)); padding-right: var(--gutter-r); will-change: transform; align-items: center; }
.g-intro { flex: 0 0 min(500px, 84vw); display: grid; gap: 22px; align-content: center; padding-right: 20px; }
.tagline-big { font-size: clamp(54px, 6.6vw, 104px); line-height: .95; letter-spacing: -.03em; display: grid; }
:lang(zh) .tagline-big { line-height: 1.15; letter-spacing: .04em; }
.tagline-big .tw { display: block; }
.tagline-big .tw:last-child { color: var(--night-accent); font-style: italic; }
:lang(zh) .tagline-big .tw:last-child { font-style: normal; }
.js .gallery .tw { opacity: 0; transform: translateY(30px) scale(.96); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--i) * 160ms); }
.js .gallery.in .tw { opacity: 1; transform: none; }
.g-hint { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--night-accent); display: flex; gap: 10px; align-items: center; }
.g-hint i { font-style: normal; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.gcard { flex: 0 0 clamp(250px, 27vw, 400px); margin: 0; display: grid; gap: 16px; }
.gallery.pinned .gcard:nth-child(odd) { transform: translateY(46px); }
.gmedia { position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 26px; overflow: hidden;
  background: radial-gradient(120% 80% at 70% 20%, color-mix(in srgb, var(--night-accent) 38%, transparent), transparent 60%), linear-gradient(160deg, var(--night-2), var(--night)); }
.gallery.pinned .gmedia { max-height: 58vh; aspect-ratio: auto; height: 58vh; }
.gmedia img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.14) translateX(var(--gx, 0px)); transition: transform .9s var(--ease); }
.gcard:hover .gmedia img { transform: scale(1.2) translateX(var(--gx, 0px)); }
.gmedia::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 16, 52, .35), transparent 35%); pointer-events: none; }
.gnum { position: absolute; left: 20px; top: 14px; z-index: 2; font: 300 58px/1 var(--f-display); color: #FFFFFF; text-shadow: 0 2px 20px rgba(0, 0, 0, .3); }
.gcard figcaption { display: grid; gap: 6px; }
.gtag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--night-accent); font-weight: 600; }
.gcard strong { font: 400 clamp(22px, 2vw, 28px)/1.15 var(--f-display); color: var(--night-fg); }
.gcard figcaption > span:last-child { color: var(--night-muted); font-size: 15px; max-width: 34ch; }
.g-progress { position: absolute; left: max(var(--gutter-l), calc((100vw - var(--wrap)) / 2 + 20px)); right: max(var(--gutter-r), calc((100vw - var(--wrap)) / 2 + 20px)); bottom: 26px; height: 2px; background: var(--night-line); display: none; }
.gallery.pinned .g-progress { display: block; }
.g-progress i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--gp, 0)); background: linear-gradient(90deg, var(--night-accent), var(--cinnabar)); }
.gallery:not(.pinned) .g-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.gallery:not(.pinned) .g-track::-webkit-scrollbar { display: none; }
.gallery:not(.pinned) .gcard, .gallery:not(.pinned) .g-intro { scroll-snap-align: start; }
@media (max-width: 700px) { .gcard { flex-basis: 78vw; } .g-intro { flex-basis: 86vw; } }

/* Packages with photography */
.pkg { overflow: hidden; }
.pkg-img { margin: -32px -28px 4px; aspect-ratio: 16 / 9; max-width: none; overflow: hidden; position: relative;
  background: linear-gradient(150deg, var(--celadon-wash), color-mix(in srgb, var(--brass) 22%, var(--surface))); }
.pkg-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pkg:hover .pkg-img img { transform: scale(1.06); }
.pkg .tag:empty { display: none; }

/* Care photo */
.care-photo { position: relative; margin: 0 0 clamp(40px, 5vw, 64px); border-radius: 30px; overflow: hidden; aspect-ratio: 21 / 8; max-width: 100%;
  background: linear-gradient(120deg, var(--celadon-wash), color-mix(in srgb, var(--cinnabar) 14%, var(--surface))); }
.care-photo img { width: 100%; height: 125%; object-fit: cover; will-change: transform; }
.care-photo figcaption { position: absolute; right: 20px; bottom: 20px; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--surface) 72%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.care-emblem { width: 70%; height: auto; }
@media (max-width: 700px) { .care-photo { aspect-ratio: 4 / 3; } .care-photo figcaption { width: 72px; height: 72px; } }

/* Contact backdrop */
.contact-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.contact-bg img { width: 100%; height: 130%; object-fit: cover; opacity: .2; will-change: transform; }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, color-mix(in srgb, var(--night) 55%, transparent) 50%, var(--night) 100%); }

/* Footer logo */
.foot-logo { display: inline-block; }
.foot-logo-img { height: clamp(70px, 9vw, 96px); width: auto; }

/* The medallion is the rising sun on wide screens; the drawn sun shows on small screens. */
@media (min-width: 901px) { .hero-scene .sun-layer { display: none; } }
.medal-ring { box-shadow: 0 0 0 10px color-mix(in srgb, var(--sun) 10%, transparent), 0 0 140px 50px color-mix(in srgb, var(--sun) 26%, transparent), 0 40px 80px -40px rgba(21, 32, 70, .45); }
.gallery:not(.pinned) .g-track { scroll-padding-inline: var(--gutter-l) var(--gutter-r); }
