/* Trillionheir Travel: design system v2.
   Two layers: a luxury travel layer (midnight, sand, champagne gold) for the public site,
   and a crisp fintech layer (white on #f6f5f9, hairlines, tabular numbers) for the workspaces.
   Purple is the single action colour. Neon green is a spice: primary CTA glow, live dots, positive deltas. */

:root {
  /* brand */
  --purple: #5d17eb; --purple-500: #6a2bf0; --purple-600: #5012d6; --purple-700: #4410b8; --purple-800: #300b85; --purple-900: #1f0a55; --purple-950: #150a33;
  --purple-25: #fbf9ff; --purple-50: #f4effe; --purple-100: #e9e0fd; --purple-200: #d4c4fb; --purple-300: #b59bf7;
  --neon: #3dff6e; --neon-600: #19d84f; --neon-soft: rgba(61,255,110,.16);
  --midnight: #0d0620; --midnight-2: #150a33; --midnight-3: #22104d;
  --sand: #f7f2ea; --sand-2: #efe6d8; --sand-3: #e2d4bd;
  --gold: #c9a44c; --gold-600: #a7832e; --gold-700: #7d6120; --gold-50: #faf5e8; --gold-100: #f1e4c2;
  /* muted status */
  --green: #15804a; --green-600: #0f6a3c; --green-50: #e9f6ef; --green-100: #c8e9d5;
  --amber: #9d5a0b; --amber-50: #fdf5e4; --amber-100: #f5dfb2;
  --red: #b02336; --red-50: #fcedef; --red-100: #f4cad0;
  --blue: #2553c0; --blue-50: #ecf1fd; --blue-100: #cfdcf8;
  --slate: #4c5474; --slate-50: #eff1f6; --slate-100: #d9dde9;
  /* ink + surfaces */
  --ink: #15102b; --ink-2: #4a4561; --ink-3: #777290; --ink-4: #a5a0b7;
  --line: #e9e6f0; --line-2: #dcd7e7; --line-3: #c9c2da;
  --bg: #f6f5f9; --surface: #ffffff; --surface-2: #faf9fc; --surface-3: #f2f0f7;
  /* commission split */
  --house: #5d17eb; --sub: #c9a44c; --adv: #1a9a57;
  /* shape */
  --radius-xl: 28px; --radius: 20px; --radius-md: 16px; --radius-sm: 12px; --radius-xs: 8px;
  --shadow-xs: 0 1px 2px rgba(21,16,43,.05);
  --shadow-sm: 0 1px 2px rgba(21,16,43,.04), 0 2px 8px -2px rgba(21,16,43,.06);
  --shadow: 0 1px 2px rgba(21,16,43,.04), 0 6px 16px -6px rgba(21,16,43,.08), 0 18px 40px -20px rgba(21,16,43,.14);
  --shadow-lg: 0 2px 6px rgba(21,16,43,.05), 0 16px 32px -12px rgba(21,16,43,.14), 0 40px 80px -32px rgba(31,10,85,.34);
  --ring: 0 0 0 4px rgba(93,23,235,.16);
  /* type */
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Red Rose', 'Poppins', system-ui, sans-serif;
  /* shell metrics */
  --header-h: 72px; --ribbon-h: 30px; --pubhead-h: calc(var(--header-h) + var(--ribbon-h));
  --side-w: 260px; --topbar-h: 64px; --apptabs-h: 64px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ================= base ================= */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
body.shell-public { background: var(--surface); }
body.has-modal, body.has-drawer, body.has-lightbox { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
::selection { background: rgba(93,23,235,.18); }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; border-radius: 8px; }
main { outline: none; min-height: 60vh; display: block; }
.ico { flex: none; vertical-align: -3px; }
code, kbd { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: .86em; }
code { background: var(--surface-3); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--purple-800); }
kbd { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-3); font-size: 11px; box-shadow: 0 1px 0 var(--line-2); }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; border: 0; border-radius: 10px; padding: 10px 14px; cursor: pointer; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ================= layout ================= */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 880px; }
.container--wide { max-width: 1400px; }
.section { padding-top: 40px; padding-bottom: 56px; }
.section--tight { padding-top: 20px; padding-bottom: 32px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.nowrap { flex-wrap: nowrap; }
.between { justify-content: space-between; }
.end { justify-content: flex-end; }
.gap-sm { gap: 8px; } .gap-lg { gap: 24px; }
.grid { display: grid; gap: 16px; }
.grid-2 { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.split { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
.split--wide { grid-template-columns: minmax(0, 1fr) 420px; }
.sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.mt { margin-top: 16px; } .mt-sm { margin-top: 8px; } .mt-lg { margin-top: 32px; } .mb { margin-bottom: 16px; } .mb-0 { margin-bottom: 0; }
.hide { display: none !important; }
.full-bleed { width: 100vw; margin-left: calc(50% - 50vw); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split, .split--wide { grid-template-columns: minmax(0, 1fr); } .sticky { position: static; } }
@media (max-width: 760px) { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } .section { padding-top: 24px; padding-bottom: 40px; } .container { padding: 0 20px; } }
@media (max-width: 420px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .container { padding: 0 16px; } }

/* full-bleed public bands (72-96px rhythm) */
.band { padding: 88px 0; position: relative; }
.band--tight { padding: 56px 0; }
.band--white { background: var(--surface); }
.band--soft { background: var(--bg); }
.band--sand { background: var(--sand); }
.band--midnight { background: radial-gradient(90% 120% at 0% 0%, rgba(93,23,235,.38) 0%, rgba(93,23,235,0) 55%), linear-gradient(165deg, var(--midnight-3) 0%, var(--midnight) 100%); color: #efeafe; }
.band--midnight .muted, .band--midnight .lead { color: #c3b8e8; } .band--midnight .faint { color: #9d91c8; }
.band--midnight .eyebrow { color: var(--gold); }
.band__head { max-width: 680px; margin-bottom: 40px; }
.band__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.band__head--center .lead { margin-left: auto; margin-right: auto; }
.band__head .lead { margin-top: 12px; }
@media (max-width: 760px) { .band { padding: 64px 0; } .band--tight { padding: 40px 0; } .band__head { margin-bottom: 28px; } }

/* ================= type ================= */
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
.display { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6vw, 76px); line-height: 1; letter-spacing: -.02em; }
.display--sm { font-size: clamp(34px, 4.4vw, 56px); }
.h1 { font-weight: 700; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.025em; line-height: 1.15; }
.h2 { font-weight: 700; font-size: clamp(21px, 2.3vw, 26px); letter-spacing: -.02em; line-height: 1.2; }
.h3 { font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.h4 { font-weight: 600; font-size: 15px; }
.eyebrow, .micro { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); margin-bottom: 8px; }
.micro { color: var(--ink-3); margin: 0; }
.eyebrow--gold { color: var(--gold-600); }
.lead { font-size: 16.5px; color: var(--ink-2); margin: 8px 0 0; max-width: 62ch; line-height: 1.6; }
p { margin: 0 0 12px; }
.muted { color: var(--ink-2); } .faint { color: var(--ink-3); }
.small { font-size: 13px; } .tiny { font-size: 12px; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.figure { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.strong { font-weight: 600; } .right { text-align: right; } .center { text-align: center; }
.text-green { color: var(--green); } .text-amber { color: var(--amber); } .text-red { color: var(--red); } .text-purple { color: var(--purple); } .text-gold { color: var(--gold-600); }
.hl { background: linear-gradient(transparent 62%, rgba(61,255,110,.5) 62%); padding: 0 2px; }
.rule-gold { height: 1px; border: 0; margin: 24px 0; background: linear-gradient(90deg, rgba(201,164,76,0), var(--gold) 20%, var(--gold) 80%, rgba(201,164,76,0)); }

/* ================= brand mark ================= */
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none !important; flex: none; }
.brand__mark { position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: radial-gradient(120% 120% at 18% 8%, #8a4dff 0%, #5d17eb 46%, #2a0a78 100%); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 15.5px; letter-spacing: .04em; box-shadow: 0 8px 18px -8px rgba(93,23,235,.7); }
.brand__mark::after { content: ''; position: absolute; inset: 3px; border-radius: 9px; border: 1px solid rgba(214,180,98,.9); pointer-events: none; }
.brand__txt { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1; letter-spacing: .005em; }
.brand__txt small { display: block; font-family: var(--font); font-weight: 500; font-size: 9.5px; letter-spacing: .38em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }

/* live dot (neon, shimmering) */
.live-dot { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--neon); flex: none; box-shadow: 0 0 8px rgba(61,255,110,.8); }
.live-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(61,255,110,.7); animation: livePulse 2.2s ease-out infinite; }
@keyframes livePulse { 0% { transform: scale(.5); opacity: 1; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* ================= PUBLIC SHELL ================= */
.pubhead, .pubfoot, .side, .side-scrim, .topbar, .apptabs { display: none; }
.shell-public .pubhead { display: block; }
.shell-public .pubfoot { display: block; }
.shell-public:not(.has-hero) #app { padding-top: var(--pubhead-h); }

.pubhead { position: fixed; top: 0; left: 0; right: 0; z-index: 60; color: #fff; border-bottom: 1px solid transparent; transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.pubhead::before { content: ''; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(13,6,32,.55) 0%, rgba(13,6,32,0) 100%); transition: opacity .3s; }
.pubhead.is-solid { color: var(--ink); background: rgba(255,255,255,.97); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(21,16,43,.45); }
.pubhead.is-solid::before { opacity: 0; }
.pubhead__ribbon { height: var(--ribbon-h); display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 11.5px; letter-spacing: .03em; color: rgba(255,255,255,.78); border-bottom: 1px solid rgba(255,255,255,.12); overflow: hidden; white-space: nowrap; transition: height .3s var(--ease), opacity .25s, border-color .3s; padding: 0 12px; }
.pubhead__ribbon b { font-weight: 600; color: inherit; }
.pubhead__ribbon .sep { opacity: .45; }
.pubhead__ribbon button { background: none; border: 0; color: inherit; font-size: inherit; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(201,164,76,.8); }
.pubhead.is-solid .pubhead__ribbon { color: var(--ink-2); background: var(--sand); border-bottom-color: var(--sand-2); }
.pubhead.is-scrolled .pubhead__ribbon { height: 0; opacity: 0; border-bottom-width: 0; }
.pubhead__bar { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.pubhead .brand__txt small { color: var(--gold); }
.pubnav { display: flex; align-items: center; gap: 2px; }
.pubnav a { color: inherit; font-size: 14.5px; font-weight: 500; padding: 10px 14px; border-radius: 999px; opacity: .86; text-decoration: none !important; position: relative; transition: opacity .15s, background-color .15s; }
.pubnav a:hover { opacity: 1; background: rgba(255,255,255,.1); }
.pubhead.is-solid .pubnav a:hover { background: var(--purple-50); color: var(--purple-700); }
.pubnav a.is-active { opacity: 1; font-weight: 600; }
.pubnav a.is-active::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
.pubhead__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pubhead__signin { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.5); color: inherit; }
.pubhead__signin:hover { background: rgba(255,255,255,.12); }
.pubhead.is-solid .pubhead__signin { border-color: var(--line-2); background: var(--surface); }
.pubhead.is-solid .pubhead__signin:hover { border-color: var(--purple-200); color: var(--purple-700); }
.pubhead .pubhead__burger { display: none; color: inherit; width: 44px; height: 44px; }
.pubhead:not(.is-solid) .pubhead__burger:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 900px) {
  .pubnav, .pubhead .pubhead__signin { display: none; }
  .pubhead .pubhead__burger { display: inline-grid; }
}
@media (max-width: 560px) {
  :root { --header-h: 64px; --ribbon-h: 28px; }
  .pubhead .pubhead__cta { display: none; }
  .pubhead__ribbon { font-size: 11px; gap: 6px; padding: 0 8px; letter-spacing: .01em; }
  .pubhead__ribbon .hide-sm { display: none; }
}
@media (max-width: 360px) {
  .pubhead__ribbon .hide-xs { display: none; }
  .pubhead__bar { gap: 12px; }
}
/* mobile menu (inside ui.drawer) */
.mnav { display: flex; flex-direction: column; gap: 4px; margin: 8px 0 20px; }
.mnav a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 4px; font-size: 18px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); text-decoration: none !important; letter-spacing: -.01em; }
.mnav a .ico { color: var(--ink-4); }
.mnav a.is-active { color: var(--purple); }

/* footer */
.pubfoot { position: relative; color: #d9d1f3; background: radial-gradient(70% 90% at 100% 0%, rgba(93,23,235,.28) 0%, rgba(93,23,235,0) 60%), linear-gradient(180deg, var(--midnight-2) 0%, var(--midnight) 100%); }
.pubfoot::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(201,164,76,0), rgba(201,164,76,.7), rgba(201,164,76,0)); }
.pubfoot a:not(.btn) { color: #d9d1f3; }
.pubfoot a:not(.btn):hover { color: #fff; }
.pubfoot__cta { padding: 72px 0 56px; border-bottom: 1px solid rgba(255,255,255,.08); }
.pubfoot__cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.pubfoot__cta .display { color: #fff; font-size: clamp(34px, 4.6vw, 56px); max-width: 16ch; }
.pubfoot__cta .eyebrow { color: var(--gold); }
.pubfoot__main { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr); gap: 48px; padding: 56px 0 40px; }
.pubfoot__blurb { font-size: 14px; color: #b9addf; max-width: 38ch; margin: 18px 0 20px; }
.pubfoot__contact { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.pubfoot__contact a { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.pubfoot__contact .ico { color: var(--gold); }
.pubfoot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pubfoot__col h4 { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.pubfoot__col a, .pubfoot__col button { display: block; background: none; border: 0; padding: 6px 0; font-size: 14px; color: #d9d1f3; cursor: pointer; text-align: left; }
.pubfoot__col a:hover, .pubfoot__col button:hover { color: #fff; text-decoration: none; }
.pubfoot__legal { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding: 20px 0 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12.5px; color: #9d91c8; }
.pubfoot__legal .row button { background: none; border: 0; padding: 0; color: #b9addf; cursor: pointer; font-size: 12.5px; }
.pubfoot__legal .row button:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .pubfoot__main { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 560px) { .pubfoot__cols { grid-template-columns: 1fr 1fr; } .pubfoot__cta { padding: 56px 0 44px; } .pubfoot__legal { padding-bottom: 96px; } }

/* ================= APP SHELL ================= */
.shell-app { background: var(--bg); --header-h: var(--topbar-h); }
.shell-app .side { display: flex; }
.shell-app .topbar { display: flex; }
.shell-app .frame { margin-left: var(--side-w); min-height: 100vh; display: flex; flex-direction: column; }
.shell-app #app { width: 100%; max-width: 1320px; margin: 0 auto; padding: 28px 28px 64px; flex: 1; }
.shell-app #app .container { max-width: none; padding-left: 0; padding-right: 0; }
.shell-app #app .container--narrow { max-width: 880px; }
.shell-app #app .section, .shell-app #app .section--tight { padding-top: 0; padding-bottom: 0; }
.shell-app .hero { border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; min-height: 300px; }
.shell-app .hero > .container { padding-left: 32px !important; padding-right: 32px !important; }
.shell-app .hero .hero__inner { padding-top: 96px; padding-bottom: 32px; }

/* sidebar */
.side { position: fixed; z-index: 80; left: 0; top: 0; bottom: 0; width: var(--side-w); flex-direction: column; color: #e9e4ff;
  background: radial-gradient(130% 50% at 0% 0%, rgba(93,23,235,.42) 0%, rgba(93,23,235,0) 60%), radial-gradient(90% 40% at 100% 100%, rgba(201,164,76,.12) 0%, rgba(201,164,76,0) 70%), linear-gradient(180deg, var(--midnight-2) 0%, var(--midnight) 100%);
  border-right: 1px solid rgba(255,255,255,.06); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; transition: transform .28s var(--ease); }
.side__top { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 16px; }
.side__top .brand { color: #fff; }
.side .side__close { display: none; color: #cfc6f0; }
.side__close:hover { background: rgba(255,255,255,.08); color: #fff; }
.side__persona { margin: 4px 14px 8px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; gap: 10px; }
.side__persona .avatar { box-shadow: 0 0 0 2px rgba(201,164,76,.7); }
.side__who { flex: 1; min-width: 0; line-height: 1.25; }
.side__who strong { display: block; font-size: 13.5px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side__who span { display: block; font-size: 11.5px; color: #a99ed2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side__switch { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: #cfc6f0; cursor: pointer; }
.side__switch:hover { background: rgba(255,255,255,.1); color: #fff; }
.side__nav { flex: 1; padding: 8px 14px 16px; display: flex; flex-direction: column; gap: 18px; }
.side__group { display: flex; flex-direction: column; gap: 2px; }
.side__label { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(233,228,255,.4); padding: 8px 12px 6px; }
.side__link { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 42px; padding: 0 12px; border-radius: 12px; font-size: 14px; font-weight: 500; color: rgba(233,228,255,.74); text-decoration: none !important; background: none; border: 0; cursor: pointer; text-align: left; position: relative; transition: background-color .15s, color .15s; }
.side__link .ico { color: rgba(233,228,255,.55); transition: color .15s; }
.side__link:hover { background: rgba(255,255,255,.06); color: #fff; }
.side__link:hover .ico { color: #fff; }
.side__link.is-active { color: #fff; font-weight: 600; background: linear-gradient(90deg, #6424f0 0%, #5214d9 100%); box-shadow: 0 10px 24px -12px rgba(93,23,235,.9), inset 0 1px 0 rgba(255,255,255,.14); }
.side__link.is-active .ico { color: #fff; }
.side__link.is-active::after { content: ''; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px rgba(61,255,110,.9); animation: neonShimmer 2.4s ease-in-out infinite; }
.side__count { margin-left: auto; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-size: 11px; font-weight: 600; display: inline-grid; place-items: center; }
.side__link.is-active .side__count { margin-right: 18px; background: rgba(255,255,255,.2); }
@keyframes neonShimmer { 0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(61,255,110,.9); } 50% { opacity: .55; box-shadow: 0 0 3px rgba(61,255,110,.5); } }
.side__foot { padding: 12px 14px 18px; border-top: 1px solid rgba(255,255,255,.07); display: flex; flex-direction: column; gap: 2px; }
.side__proto { display: flex; align-items: center; gap: 8px; font-size: 11px; color: rgba(233,228,255,.45); padding: 10px 12px 0; }
.side-scrim { position: fixed; inset: 0; z-index: 79; background: rgba(13,6,32,.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .25s; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 50; height: var(--topbar-h); align-items: center; gap: 16px; padding: 0 28px; background: rgba(246,245,249,.86); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid var(--line); }
.topbar .topbar__burger { display: none; }
.topbar__title { min-width: 0; flex: 1; line-height: 1.2; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); white-space: nowrap; min-width: 0; }
.crumbs__ws { color: var(--ink-3); font-weight: 500; }
.crumbs__ws:hover { color: var(--purple); text-decoration: none; }
.crumbs__sep { color: var(--ink-4); }
.topbar__h { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.topsearch { position: relative; display: flex; align-items: center; width: min(340px, 30vw); }
.topsearch .ico { position: absolute; left: 13px; color: var(--ink-3); pointer-events: none; }
.topsearch input { width: 100%; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); padding: 0 44px 0 38px; font: inherit; font-size: 13.5px; color: var(--ink); box-shadow: var(--shadow-xs); transition: border-color .15s, box-shadow .15s; }
.topsearch input::placeholder { color: var(--ink-4); }
.topsearch input:focus { outline: none; border-color: var(--purple); box-shadow: var(--ring); }
.topsearch kbd { position: absolute; right: 10px; }
.topbar__actions { display: flex; align-items: center; gap: 6px; }
.topbar__me { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px; border-radius: 999px; cursor: pointer; }
.topbar__me:hover { background: var(--surface-3); }
.topbar__me .avatar { width: 36px; height: 36px; }

/* notifications */
.notif { position: relative; }
.notif__btn { position: relative; width: 44px; height: 44px; }
.notif__count { position: absolute; top: 5px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--purple); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); line-height: 1; }
.notif__pop { position: absolute; right: 0; top: calc(100% + 10px); width: 380px; z-index: 70; animation: popIn .18s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.nmenu { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.nmenu__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 12px; border-bottom: 1px solid var(--line); }
.nmenu__head strong { font-size: 14.5px; }
.nmenu__list { list-style: none; margin: 0; padding: 0; max-height: 380px; overflow-y: auto; }
.nmenu__item { display: flex; gap: 12px; padding: 12px 36px 12px 16px; border-bottom: 1px solid var(--line); position: relative; }
.nmenu__item:last-child { border-bottom: 0; }
.nmenu__item.is-unread { background: var(--purple-25); }
.nmenu__item.is-unread::after { content: ''; position: absolute; right: 16px; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
.nmenu__icon { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--purple-50); color: var(--purple); }
.nmenu__icon--booking { background: var(--green-50); color: var(--green); }
.nmenu__icon--commission, .nmenu__icon--payment { background: var(--gold-50); color: var(--gold-700); }
.nmenu__text { font-size: 13.5px; line-height: 1.4; color: var(--ink); }
.nmenu__time { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.nmenu__foot { padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); background: var(--surface-2); text-align: center; }

/* phone bottom tabs */
.apptabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
.apptab { flex: 1; min-width: 0; min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; font-weight: 500; color: var(--ink-3); background: none; border: 0; border-radius: 12px; text-decoration: none !important; cursor: pointer; position: relative; }
.apptab span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apptab.is-active { color: var(--purple); font-weight: 600; }
.apptab.is-active::before { content: ''; position: absolute; top: 0; left: 50%; width: 22px; height: 3px; margin-left: -11px; border-radius: 0 0 3px 3px; background: var(--purple); }

@media (max-width: 1023px) {
  .shell-app .frame { margin-left: 0; }
  .shell-app .side { transform: translateX(-102%); box-shadow: none; visibility: hidden; transition: transform .28s var(--ease), visibility 0s linear .28s; }
  .shell-app.side-open .side { transform: none; box-shadow: 24px 0 60px -20px rgba(0,0,0,.5); visibility: visible; transition: transform .28s var(--ease), visibility 0s; }
  .shell-app.side-open .side-scrim { display: block; opacity: 1; pointer-events: auto; }
  .shell-app .side-scrim { display: block; }
  .side .side__close { display: inline-grid; }
  .topbar .topbar__burger { display: inline-grid; width: 44px; height: 44px; margin-left: -8px; }
  .topbar { padding: 0 20px; gap: 10px; }
  .shell-app #app { padding: 24px 20px 56px; }
}
@media (max-width: 760px) {
  .topsearch { display: none; }
  .shell-app .apptabs { display: flex; }
  .shell-app #app { padding: 20px 16px calc(var(--apptabs-h) + 40px + env(safe-area-inset-bottom)); }
  .topbar { padding: 0 12px 0 16px; }
  .crumbs__ws, .crumbs__sep { display: none; }
  .topbar__h { font-size: 16px; }
  .notif__pop { position: fixed; left: 12px; right: 12px; top: calc(var(--topbar-h) + 6px); width: auto; }
  .shell-app .hero { min-height: 260px; margin-left: -4px; margin-right: -4px; }
  .shell-app .hero > .container { padding-left: 20px !important; padding-right: 20px !important; }
}

/* legacy admin sub-nav (only rendered outside the app shell) */
.subnav { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 30; }
.subnav__inner { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav__link { display: flex; align-items: center; gap: 6px; padding: 12px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); border-bottom: 2px solid transparent; white-space: nowrap; text-decoration: none !important; }
.subnav__link:hover { color: var(--purple-700); }
.subnav__link.is-active { color: var(--purple-700); border-bottom-color: var(--purple); }

/* ================= page head ================= */
.pagehead { display: flex; gap: 16px 24px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 24px; }
.pagehead > div:first-child { min-width: 0; }
.pagehead .lead { font-size: 15px; margin-top: 6px; }
.pagehead__actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 560px) { .pagehead { margin-bottom: 20px; } .pagehead__actions { width: 100%; } .pagehead__actions .btn { flex: 1 1 auto; } }

/* ================= cards ================= */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); min-width: 0; position: relative; }
.card--pad-lg { padding: 32px; }
.card--flush { padding: 0; overflow: hidden; }
.card--flat { box-shadow: none; }
.card--soft { background: var(--surface-2); box-shadow: none; }
.card--sand { background: var(--sand); border-color: var(--sand-2); box-shadow: none; }
.card--purple { background: linear-gradient(160deg, var(--purple-50) 0%, #f9f6ff 100%); border-color: var(--purple-100); box-shadow: none; }
.card--dark { color: #efeafe; border-color: rgba(201,164,76,.22); box-shadow: var(--shadow);
  background: radial-gradient(110% 130% at 0% 0%, rgba(110,50,255,.55) 0%, rgba(93,23,235,0) 55%), radial-gradient(80% 90% at 100% 100%, rgba(201,164,76,.14) 0%, rgba(201,164,76,0) 60%), linear-gradient(160deg, var(--midnight-3) 0%, var(--midnight) 100%); }
.card--dark .muted, .card--dark .faint, .card--dark .lead { color: #c3b8e8; }
.card--dark .eyebrow { color: var(--neon); }
.card--dark .divider { background: rgba(255,255,255,.1); }
.card--dark a:not(.btn) { color: #d8cbff; }
.card--glass { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 20px 50px -24px rgba(0,0,0,.5); }
.card--hover { transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card-head .h3, .card-head .h4 { display: flex; align-items: center; gap: 8px; }
.card-head__sub { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.divider { height: 1px; background: var(--line); margin: 20px 0; border: 0; }
.icon-badge { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--purple-50); color: var(--purple); box-shadow: inset 0 0 0 1px var(--purple-100); }
.icon-badge--gold { background: var(--gold-50); color: var(--gold-700); box-shadow: inset 0 0 0 1px var(--gold-100); }
.icon-badge--green { background: var(--green-50); color: var(--green); box-shadow: inset 0 0 0 1px var(--green-100); }
.icon-badge--dark { background: var(--midnight-2); color: var(--neon); box-shadow: inset 0 0 0 1px rgba(201,164,76,.35); }
.icon-badge--light { background: rgba(255,255,255,.1); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
@media (max-width: 760px) { .card { padding: 18px; } .card--pad-lg { padding: 22px; } .card--flush { padding: 0; } }

/* ================= buttons ================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 14px; letter-spacing: -.005em; line-height: 1.2; cursor: pointer; text-decoration: none !important; white-space: nowrap; position: relative; transition: background-color .18s, border-color .18s, color .18s, box-shadow .2s, transform .12s var(--ease), filter .18s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled], .btn.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; box-shadow: none; }
.btn--primary { color: #fff; background: linear-gradient(180deg, #6c2bf3 0%, #5d17eb 100%); border-color: #5412dc; box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(31,10,85,.25), 0 8px 22px -10px rgba(93,23,235,.85); }
.btn--primary:hover { background: linear-gradient(180deg, #6424f0 0%, #5012d6 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(31,10,85,.25), 0 12px 30px -10px rgba(93,23,235,.95), 0 0 0 4px rgba(93,23,235,.1); }
.btn--dark { background: var(--midnight-2); color: #fff; border-color: var(--midnight-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 8px 20px -12px rgba(13,6,32,.7); }
.btn--dark:hover { background: var(--midnight-3); }
.btn--green { background: var(--green); color: #fff; border-color: var(--green); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 8px 20px -12px rgba(21,128,74,.8); }
.btn--green:hover { background: var(--green-600); }
.btn--neon { background: var(--neon); color: var(--midnight); border-color: #2ff062; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 0 1px rgba(61,255,110,.25), 0 10px 32px -8px rgba(61,255,110,.6); }
.btn--neon:hover { background: #56ff82; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 0 4px rgba(61,255,110,.22), 0 14px 40px -8px rgba(61,255,110,.75); }
.btn--gold { background: linear-gradient(180deg, #d6b560 0%, var(--gold) 100%); color: var(--midnight); border-color: var(--gold-600); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 8px 20px -12px rgba(167,131,46,.8); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-xs); }
.btn--ghost:hover { border-color: var(--purple-200); color: var(--purple-700); background: var(--purple-25); }
.btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.36); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost-light:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); }
.btn--quiet { background: transparent; color: var(--ink-2); border-color: transparent; }
.btn--quiet:hover { background: var(--surface-3); color: var(--ink); }
.btn--danger { background: var(--surface); color: var(--red); border-color: var(--red-100); }
.btn--danger:hover { background: var(--red-50); }
.btn--sm { min-height: 36px; padding: 6px 14px; font-size: 13px; gap: 6px; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 15.5px; }
.btn--block { width: 100%; }
.btn .ico { margin: 0 -2px; }
.btn-link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: var(--purple); font-weight: 600; cursor: pointer; font-size: inherit; text-decoration: none; }
.btn-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn-link .ico { transition: transform .18s var(--ease); }
.btn-link:hover .ico { transform: translateX(2px); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid transparent; background: transparent; cursor: pointer; color: var(--ink-2); transition: background-color .15s, color .15s; flex: none; }
.icon-btn:hover { background: var(--purple-50); color: var(--purple-700); }
.icon-btn--bordered { border-color: var(--line-2); background: var(--surface); }
@media (pointer: coarse) { .btn--sm { min-height: 40px; } .icon-btn { width: 44px; height: 44px; } }

/* ================= chips, badges, pills ================= */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; background: var(--slate-50); color: var(--slate); box-shadow: inset 0 0 0 1px var(--slate-100); }
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.chip--pending { background: var(--amber-50); color: var(--amber); box-shadow: inset 0 0 0 1px var(--amber-100); }
.chip--due, .chip--next, .chip--due-today { background: var(--purple-50); color: var(--purple-700); box-shadow: inset 0 0 0 1px var(--purple-100); }
.chip--paid, .chip--published, .chip--signed, .chip--uploaded, .chip--replied, .chip--active, .chip--sent { background: var(--green-50); color: var(--green); box-shadow: inset 0 0 0 1px var(--green-100); }
.chip--overdue, .chip--missing, .chip--failed { background: var(--red-50); color: var(--red); box-shadow: inset 0 0 0 1px var(--red-100); }
.chip--new { background: var(--blue-50); color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue-100); }
.chip--upcoming, .chip--scheduled { background: var(--slate-50); color: var(--slate); box-shadow: inset 0 0 0 1px var(--slate-100); }
.chip--draft { background: var(--surface); color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-3); }
.chip--draft::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.chip--completed, .chip--closed, .chip--traveled, .chip--locked { background: var(--surface-3); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.chip--locked::before { display: none; }
.chip--live { background: var(--midnight-2); color: #fff; box-shadow: none; }
.chip--live::before { background: var(--neon); box-shadow: 0 0 6px var(--neon); }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; line-height: 1.4; white-space: nowrap; vertical-align: 2px; background: var(--purple-50); color: var(--purple-700); box-shadow: inset 0 0 0 1px var(--purple-100); }
.badge--gold { background: var(--gold-50); color: var(--gold-700); box-shadow: inset 0 0 0 1px var(--gold-100); }
.badge--green { background: var(--green-50); color: var(--green); box-shadow: inset 0 0 0 1px var(--green-100); }
.badge--neon { background: var(--neon); color: var(--midnight); box-shadow: none; }
.badge--red { background: var(--red-50); color: var(--red); box-shadow: inset 0 0 0 1px var(--red-100); }
.badge--amber { background: var(--amber-50); color: var(--amber); box-shadow: inset 0 0 0 1px var(--amber-100); }
.badge--dark { background: var(--midnight-2); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(201,164,76,.4); }
.badge--neutral { background: var(--surface-3); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.badge--outline { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-3); }
.badge-new { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .1em; background: var(--neon); color: var(--midnight); padding: 2px 7px; border-radius: 6px; vertical-align: 2px; text-transform: uppercase; }
.badge-example { display: inline-flex; align-items: center; font-size: 10px; font-weight: 700; letter-spacing: .1em; background: var(--gold-50); color: var(--gold-700); box-shadow: inset 0 0 0 1px var(--gold-100); padding: 2px 8px; border-radius: 6px; vertical-align: 2px; text-transform: uppercase; white-space: nowrap; }
.pill { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 5px 13px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap; }
.pill .ico { color: var(--purple); }
.pill--light { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.24); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pill--light .ico { color: var(--gold); }
.pill--gold { background: var(--gold-50); color: var(--gold-700); box-shadow: inset 0 0 0 1px var(--gold-100); }
.pill--gold .ico { color: var(--gold-600); }
.pill--sand { background: var(--sand); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--sand-2); }
.pill--dark { background: var(--midnight-2); color: #fff; box-shadow: none; }
.pill--dark .ico { color: var(--neon); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* deltas */
.delta { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px 2px 5px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; font-variant-numeric: tabular-nums; }
.delta--up { background: var(--green-50); color: var(--green); }
.delta--down { background: var(--red-50); color: var(--red); }
.delta--flat { background: var(--surface-3); color: var(--ink-2); }

/* ================= stats + KPI tiles ================= */
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; min-width: 0; box-shadow: var(--shadow-sm); }
.stat__icon { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--purple-50); color: var(--purple); }
.stat__label { font-size: 12.5px; font-weight: 500; color: var(--ink-2); padding-right: 40px; min-height: 20px; }
.stat__value { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.3vw, 28px); margin-top: 10px; letter-spacing: -.01em; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; }
.stat__sub { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.stat--purple { background: linear-gradient(160deg, var(--purple-50), #fbf9ff); border-color: var(--purple-100); } .stat--purple .stat__value { color: var(--purple-700); } .stat--purple .stat__icon { background: #fff; }
.stat--green { background: linear-gradient(160deg, var(--green-50), #f7fcf9); border-color: var(--green-100); } .stat--green .stat__value { color: var(--green); } .stat--green .stat__icon { background: #fff; color: var(--green); }
.stat--amber { background: linear-gradient(160deg, var(--amber-50), #fffbf2); border-color: var(--amber-100); } .stat--amber .stat__value { color: var(--amber); } .stat--amber .stat__icon { background: #fff; color: var(--amber); }
.stat--dark { color: #efeafe; border-color: rgba(201,164,76,.22); background: radial-gradient(120% 140% at 0% 0%, rgba(110,50,255,.5) 0%, rgba(93,23,235,0) 60%), linear-gradient(160deg, var(--midnight-3), var(--midnight)); }
.stat--dark .stat__label, .stat--dark .stat__sub { color: #bfb3e6; } .stat--dark .stat__value { color: #fff; } .stat--dark .stat__icon { background: rgba(255,255,255,.08); color: var(--neon); }
@media (max-width: 420px) { .stat { padding: 14px; } .stat__icon { display: none; } .stat__label { padding-right: 0; } .stat__value { margin-top: 6px; } }

.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 18px; position: relative; min-width: 0; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s var(--ease); }
.kpi:hover { box-shadow: var(--shadow); }
.kpi__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kpi__label { font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.kpi__icon { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--purple-50); color: var(--purple); }
.kpi__value { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.015em; line-height: 1.1; margin-top: 12px; overflow: hidden; text-overflow: ellipsis; }
.kpi__foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; font-size: 12.5px; color: var(--ink-3); min-height: 22px; }
.kpi__spark { margin: 14px -20px -18px; padding-right: 18px; height: 52px; color: var(--purple); }
.kpi--green .kpi__icon { background: var(--green-50); color: var(--green); } .kpi--green .kpi__spark { color: var(--adv); }
.kpi--gold .kpi__icon { background: var(--gold-50); color: var(--gold-700); } .kpi--gold .kpi__spark { color: var(--gold); }
.kpi--amber .kpi__icon { background: var(--amber-50); color: var(--amber); } .kpi--amber .kpi__spark { color: #d9912a; }
.kpi--purple { border-color: var(--purple-100); background: linear-gradient(170deg, #fbf9ff 0%, #fff 60%); } .kpi--purple .kpi__value { color: var(--purple-700); }
.kpi--dark { color: #fff; border-color: rgba(201,164,76,.24); background: radial-gradient(120% 120% at 0% 0%, rgba(110,50,255,.55) 0%, rgba(93,23,235,0) 58%), linear-gradient(160deg, var(--midnight-3), var(--midnight)); box-shadow: var(--shadow); }
.kpi--dark .kpi__label, .kpi--dark .kpi__foot { color: #bfb3e6; }
.kpi--dark .kpi__icon { background: rgba(255,255,255,.08); color: var(--neon); }
.kpi--dark .kpi__spark { color: var(--neon); }
.kpi--dark .delta--up { background: rgba(61,255,110,.14); color: var(--neon); }
.kpi--dark .delta--down { background: rgba(255,120,140,.14); color: #ff9aa9; }
.kpi--dark .spark__dot { box-shadow: 0 0 0 3px var(--midnight-2), 0 0 10px currentColor; }
@media (max-width: 420px) { .kpi { padding: 14px 14px 14px; } .kpi__icon { display: none; } .kpi__spark { margin: 10px -14px -14px; padding-right: 12px; height: 40px; } .kpi__value { margin-top: 6px; } }

/* sparkline */
.spark { position: relative; width: 100%; height: 100%; }
.spark svg { display: block; width: 100%; height: 100%; overflow: visible; }
.spark__line { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark__dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: currentColor; transform: translate(-50%, -50%); box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px currentColor; }

/* ================= tables ================= */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.card > .table-wrap { box-shadow: none; }
.card--flush > .table-wrap { border: 0; border-radius: 0; }
.table-wrap--scroll { max-height: 560px; overflow: auto; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 600; padding: 12px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; font-variant-numeric: tabular-nums; }
.table tbody tr:last-child td { border-bottom: 0; }
.table .num, .table th.num { text-align: right; }
.table tbody tr { transition: background-color .12s; }
.table tbody tr:hover { background: #fbfaff; }
.table tr.is-highlight { background: linear-gradient(90deg, rgba(93,23,235,.07), rgba(93,23,235,.015)); }
.table tr.is-highlight > td:first-child { box-shadow: inset 3px 0 0 var(--purple); }
.table tr.is-new { background: rgba(61,255,110,.08); }
.table tr.is-new > td:first-child { box-shadow: inset 3px 0 0 var(--neon-600); }
.table tfoot td { font-weight: 700; background: var(--surface-2); border-top: 1px solid var(--line-2); border-bottom: 0; }
.table--sticky thead th, .table-wrap--scroll thead th { position: sticky; top: 0; z-index: 2; }
.table--compact td { padding: 10px 14px; } .table--compact th { padding: 10px 14px; }
.cell-title { font-weight: 600; color: var(--ink); }
.table .chip, .table .btn, .table .badge, .table .badge-new, .table .badge-example { white-space: nowrap; }
.table .nowrap, .table td.nowrap { white-space: nowrap; }
a.cell-title:hover { color: var(--purple); }
.cell-sub { font-size: 12px; color: var(--ink-3); margin-top: 1px; }
.cell-person { display: flex; align-items: center; gap: 10px; min-width: 0; }

/* phone list-cards (tables become these under 860px) */
.rows { display: flex; flex-direction: column; gap: 10px; }
.rowcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px; box-shadow: var(--shadow-xs); }
.rowcard.is-highlight { border-color: var(--purple-200); box-shadow: inset 3px 0 0 var(--purple), 0 0 0 3px var(--purple-50); }
.rowcard.is-new { border-color: #9ff0b5; box-shadow: inset 3px 0 0 var(--neon-600), 0 0 0 3px rgba(61,255,110,.14); }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 13.5px; margin: 0; }
.kv dt { color: var(--ink-3); } .kv dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.only-desktop { display: block; } .only-mobile { display: none; }
@media (max-width: 860px) { .only-desktop { display: none !important; } .only-mobile { display: block; } }

/* ================= forms ================= */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > label, .label { font-size: 13px; font-weight: 600; color: var(--ink); }
.help { font-size: 12px; color: var(--ink-3); }
.help.text-red, .is-invalid ~ .help { color: var(--red); }
.input, .select, .textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 10px 14px; min-height: 44px; box-shadow: var(--shadow-xs); transition: border-color .15s, box-shadow .15s, background-color .15s; }
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--line-3); }
.textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
.select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23777290' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--purple); box-shadow: var(--ring); }
.input[readonly] { background: var(--surface-2); color: var(--ink-2); }
.input[disabled], .select[disabled] { background: var(--surface-3); color: var(--ink-3); cursor: not-allowed; }
.input.is-invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(176,35,54,.12); }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap > .ico { position: absolute; left: 14px; color: var(--ink-3); pointer-events: none; }
.input-wrap > .input { padding-left: 42px; }
.input-wrap__suffix { position: absolute; right: 14px; font-size: 13px; color: var(--ink-3); pointer-events: none; }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; line-height: 1.5; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--purple); flex: none; }
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line-2); border-radius: var(--radius-md); padding: 14px 16px; cursor: pointer; background: var(--surface); transition: border-color .15s, box-shadow .15s, background-color .15s; }
.radio-card:hover { border-color: var(--purple-200); }
.radio-card input { accent-color: var(--purple); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.radio-card:has(input:checked) { border-color: var(--purple); box-shadow: var(--ring); background: var(--purple-25); }
.radio-card__body { flex: 1; min-width: 0; }
.radio-card__price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* quantity stepper (button / output / button) */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-xs); }
.stepper button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--purple-700); transition: background-color .15s; }
.stepper button:hover { background: var(--purple-50); }
.stepper button:disabled { color: var(--ink-4); cursor: not-allowed; background: none; }
.stepper output, .stepper input { min-width: 44px; text-align: center; font-weight: 700; font-size: 16px; border: 0; background: none; width: 48px; font-variant-numeric: tabular-nums; }
/* range slider */
.range { --c: var(--purple); -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; accent-color: var(--c); }
.range--sub { --c: var(--gold); } .range--adv { --c: var(--adv); }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: var(--line-2); }
.range::-moz-range-track { height: 6px; border-radius: 999px; background: var(--line-2); }
.range::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--c); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 2px solid var(--c); box-shadow: 0 2px 6px rgba(21,16,43,.2); transition: transform .12s; }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--c); box-shadow: 0 2px 6px rgba(21,16,43,.2); }
.range:active::-webkit-slider-thumb { transform: scale(1.12); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(93,23,235,.18); }
.fake-card { border: 1px solid var(--line-2); border-radius: var(--radius-md); padding: 14px; background: linear-gradient(160deg, var(--surface-2), var(--surface)); box-shadow: var(--shadow-xs); }
.testmode { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); background: var(--amber-50); box-shadow: inset 0 0 0 1px var(--amber-100); padding: 3px 9px; border-radius: 6px; }

/* segmented control */
.seg { display: inline-flex; gap: 2px; padding: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: var(--surface-3); border: 1px solid var(--line); border-radius: 999px; }
.seg::-webkit-scrollbar { display: none; }
.seg__opt { position: relative; display: inline-flex; flex: none; }
.seg__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg__opt > span { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background-color .18s, color .18s, box-shadow .18s; }
.seg__opt > span:hover { color: var(--ink); }
.seg__opt input:checked + span { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(21,16,43,.08), 0 0 0 1px var(--line); }
.seg__opt input:focus-visible + span { box-shadow: var(--ring); }
.seg__count { font-size: 11px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.seg--block { display: flex; width: 100%; } .seg--block .seg__opt { flex: 1; } .seg--block .seg__opt > span { width: 100%; justify-content: center; }
.seg--dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.seg--dark .seg__opt > span { color: #c3b8e8; }
.seg--dark .seg__opt input:checked + span { background: #fff; color: var(--midnight); }

/* tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; margin-bottom: 24px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__item { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; margin-bottom: -1px; font-size: 14px; font-weight: 500; color: var(--ink-3); background: none; border: 0; border-bottom: 2px solid transparent; white-space: nowrap; cursor: pointer; text-decoration: none !important; transition: color .15s, border-color .15s; }
.tabs__item:hover { color: var(--ink); }
.tabs__item.is-active { color: var(--ink); font-weight: 600; border-bottom-color: var(--purple); }
.tabs__count { min-width: 20px; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--surface-3); color: var(--ink-2); font-size: 11px; font-weight: 600; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }
.tabs__item.is-active .tabs__count { background: var(--purple); color: #fff; }

/* checkout stepper (ui.stepper) */
.steps-wrap { min-width: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; }
.steps__item { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; text-align: center; }
.steps__item::before { content: ''; position: absolute; top: 15px; left: calc(-50% + 24px); right: calc(50% + 24px); height: 2px; border-radius: 2px; background: var(--line-2); }
.steps__item:first-child::before { display: none; }
.steps__item.is-done::before, .steps__item.is-active::before { background: var(--purple); }
.steps__dot { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--surface); color: var(--ink-3); box-shadow: inset 0 0 0 2px var(--line-2); transition: box-shadow .2s, background-color .2s; }
.steps__item.is-done .steps__dot { background: var(--purple); color: #fff; box-shadow: none; }
.steps__item.is-active .steps__dot { color: var(--purple); box-shadow: inset 0 0 0 2px var(--purple), 0 0 0 5px rgba(93,23,235,.14); }
.steps__label { font-size: 12.5px; font-weight: 500; color: var(--ink-3); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 4px; }
.steps__item.is-done .steps__label { color: var(--ink-2); }
.steps__item.is-active .steps__label { color: var(--ink); font-weight: 600; }
.steps__caption { display: none; margin-top: 12px; text-align: center; font-size: 13px; color: var(--ink-2); }
.steps__caption strong { color: var(--ink); }
@media (max-width: 560px) { .steps__label { display: none; } .steps__caption { display: block; } }

/* ================= progress + split bars ================= */
.progress { height: 8px; background: var(--surface-3); border-radius: 999px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(21,16,43,.03); }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--purple) 0%, #8b5cf6 100%); border-radius: 999px; transition: width .5s var(--ease); }
.progress--green > span { background: linear-gradient(90deg, var(--green), #2fbf72); }
.progress--amber > span { background: linear-gradient(90deg, #c4730f, #e8a33c); }
.progress--gold > span { background: linear-gradient(90deg, var(--gold-600), var(--gold)); }
.splitbar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: var(--surface-3); gap: 3px; }
.splitbar--thin { height: 8px; gap: 2px; }
.splitbar > span { transition: width .4s var(--ease); min-width: 3px; }
.splitbar > span:first-child { border-radius: 999px 0 0 999px; } .splitbar > span:last-child { border-radius: 0 999px 999px 0; }
.splitbar__house { background: linear-gradient(180deg, #7033f5, var(--house)); } .splitbar__sub { background: linear-gradient(180deg, #d9b965, var(--sub)); } .splitbar__adv { background: linear-gradient(180deg, #2bb56c, var(--adv)); }
.legend { display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.legend__item { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none; }
.dot--house { background: var(--house); } .dot--sub { background: var(--sub); } .dot--adv { background: var(--adv); }

/* ================= charts ================= */
.chart { margin: 0; min-width: 0; }
.chart__cap { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
/* bar chart */
.bchart__plot { position: relative; padding-top: 24px; }
.bchart__grid { position: absolute; left: 0; right: 0; top: 24px; bottom: 0; pointer-events: none; }
.bchart__grid i { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed var(--line); }
.bchart__grid i:last-child { border-top: 1px solid var(--line-2); }
.bchart__cols { position: relative; height: 100%; display: flex; align-items: flex-end; gap: clamp(6px, 2%, 18px); }
.bchart__col { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.bchart__bar { width: 100%; max-width: 56px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #7a3ff7 0%, var(--purple) 100%); position: relative; transform-origin: bottom; animation: barGrow .7s var(--ease) both; min-height: 2px; transition: filter .15s; }
.bchart__col:hover .bchart__bar { filter: brightness(1.08) saturate(1.1); }
.bchart__val { margin-bottom: 6px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bchart__labels { display: flex; gap: clamp(6px, 2%, 18px); margin-top: 10px; }
.bchart__labels span { flex: 1 1 0; min-width: 0; text-align: center; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bchart__bar--gold { background: linear-gradient(180deg, #dcbd6c, var(--gold)); }
.bchart__bar--green { background: linear-gradient(180deg, #2fbf72, var(--adv)); }
.bchart__bar--neon { background: linear-gradient(180deg, #7dffa0, var(--neon-600)); }
.bchart__bar--dark { background: linear-gradient(180deg, var(--midnight-3), var(--midnight)); }
.bchart__bar--muted { background: linear-gradient(180deg, var(--purple-200), var(--purple-100)); }
.bchart__bar--red { background: linear-gradient(180deg, #d4566a, var(--red)); }
@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (max-width: 560px) { .bchart--dense .bchart__val { display: none; } .bchart--dense .bchart__labels span:nth-child(even) { visibility: hidden; } }
/* horizontal bars */
.hbars { display: flex; flex-direction: column; gap: 14px; }
.hbar__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; margin-bottom: 6px; }
.hbar__label { font-weight: 500; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar__val { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hbar__track { height: 10px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.hbar__fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--purple), #8b5cf6); transform-origin: left; animation: barGrowX .8s var(--ease) both; }
.hbar__fill.bchart__bar--gold { background: linear-gradient(90deg, var(--gold-600), var(--gold)); }
.hbar__fill.bchart__bar--green { background: linear-gradient(90deg, var(--adv), #2fbf72); }
.hbar__fill.bchart__bar--neon { background: linear-gradient(90deg, var(--neon-600), var(--neon)); }
.hbar__fill.bchart__bar--dark { background: linear-gradient(90deg, var(--midnight), var(--midnight-3)); }
.hbar__fill.bchart__bar--muted { background: var(--purple-200); }
@keyframes barGrowX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* area chart */
.achart { --c: var(--purple); --c-soft: rgba(93,23,235,.18); }
.achart--gold { --c: var(--gold); --c-soft: rgba(201,164,76,.22); }
.achart--green { --c: var(--adv); --c-soft: rgba(26,154,87,.18); }
.achart__wrap { position: relative; }
.achart__y { position: absolute; left: 0; top: 0; bottom: 0; width: 48px; }
.achart__y span { position: absolute; left: 0; transform: translateY(-50%); font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.achart__plot { position: absolute; left: 52px; right: 6px; top: 0; bottom: 0; color: var(--c); }
.achart__plot i { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed var(--line); }
.achart__plot i:last-of-type { border-top: 1px solid var(--line-2); }
.achart__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.achart__line { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.achart__pt { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; cursor: default; z-index: 2; }
.achart__pt::before { content: ''; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2.5px var(--c); opacity: 0; transition: opacity .15s, transform .15s; }
.achart__pt.is-last::before { opacity: 1; background: var(--c); box-shadow: 0 0 0 4px var(--c-soft); }
.achart__pt:hover::before, .achart__pt:focus::before { opacity: 1; transform: scale(1.15); }
.achart__pt::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translate(-50%, 4px); background: var(--midnight-2); color: #fff; font-size: 12px; font-weight: 500; padding: 6px 10px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; box-shadow: var(--shadow); font-variant-numeric: tabular-nums; }
.achart__pt:hover::after, .achart__pt:focus::after { opacity: 1; transform: translate(-50%, 0); }
.achart__pt:first-of-type::after { left: 0; transform: translate(-6px, 4px); }
.achart__pt:first-of-type:hover::after { transform: translate(-6px, 0); }
.achart__pt.is-last::after { left: auto; right: 0; transform: translate(6px, 4px); }
.achart__pt.is-last:hover::after { transform: translate(6px, 0); }
.achart__x { position: relative; height: 22px; margin-left: 52px; margin-right: 6px; margin-top: 8px; }
.achart__x span { position: absolute; top: 0; transform: translateX(-50%); font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.achart__x span.is-first { transform: none; }
.achart__x span.is-last { transform: translateX(-100%); }
/* donut */
.donut { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.donut__ring { position: relative; flex: none; }
.donut__ring svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.donut__seg { fill: none; stroke-width: 5.2; stroke-linecap: butt; transition: stroke-width .2s; animation: donutIn .9s var(--ease) both; }
.donut__track { fill: none; stroke: var(--surface-3); stroke-width: 5.2; }
@keyframes donutIn { from { stroke-dasharray: 0 100; } }
.donut__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18%; }
.donut__value { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.05; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.donut__label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.donut__legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; min-width: 170px; }
.donut__legend li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 13.5px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.donut__legend li:last-child { border-bottom: 0; padding-bottom: 0; }
.donut__legend i { width: 12px; height: 12px; border-radius: 4px; align-self: start; margin-top: 4px; }
.donut__legend span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.donut__legend strong { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.donut__legend em { display: block; font-style: normal; font-weight: 400; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.card--dark .donut__legend li { border-color: rgba(255,255,255,.1); }
.card--dark .donut__track { stroke: rgba(255,255,255,.08); }
.card--dark .donut__label, .card--dark .donut__legend em { color: #a99ed2; }

/* ================= hero ================= */
.hero { position: relative; color: #fff; background: var(--midnight) center/cover no-repeat; isolation: isolate; overflow: hidden; min-height: clamp(560px, 88vh, 860px); display: flex; align-items: flex-end; }
.hero > .container { width: 100%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,6,32,.5) 0%, rgba(13,6,32,.08) 28%, rgba(13,6,32,.3) 58%, rgba(13,6,32,.9) 100%), linear-gradient(90deg, rgba(13,6,32,.72) 0%, rgba(13,6,32,.25) 55%, rgba(13,6,32,0) 100%); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: -1; background: linear-gradient(90deg, rgba(201,164,76,0), rgba(201,164,76,.55), rgba(201,164,76,0)); }
.hero__inner { padding-top: 140px; padding-bottom: 88px; }
.hero__inner > * { max-width: 780px; }
.hero .display { text-shadow: 0 2px 40px rgba(13,6,32,.35); }
.hero .lead { color: rgba(255,255,255,.84); font-size: 18px; max-width: 56ch; margin-top: 18px; }
.hero .eyebrow { color: var(--gold); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.hero .eyebrow::before { content: ''; width: 32px; height: 1px; background: currentColor; }
.hero--trip { min-height: clamp(460px, 74vh, 700px); }
.hero--trip .hero__inner { padding-top: 140px; padding-bottom: 48px; }
.hero--short { min-height: 0; }
.hero--short .hero__inner { padding-top: 120px; padding-bottom: 64px; }
.hero--center { text-align: center; align-items: center; }
.hero--center .hero__inner > * { margin-left: auto; margin-right: auto; }
.hero--center .eyebrow::after { content: ''; width: 32px; height: 1px; background: currentColor; }
.hero__meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13.5px; color: #fff; margin-top: 20px; }
.hero__meta > span { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 5px 14px; border-radius: 999px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero__meta > span .ico { color: var(--gold); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero__stats { display: flex; gap: 12px 40px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); }
.hero__stat strong { display: block; font-family: var(--display); font-size: 28px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero__stat span { font-size: 12.5px; color: rgba(255,255,255,.72); }
body.has-hero #app > .hero:first-child .hero__inner { padding-top: calc(var(--pubhead-h) + 64px); }
@media (max-width: 760px) {
  .hero { min-height: clamp(520px, 86vh, 720px); }
  .hero__inner { padding-top: 110px; padding-bottom: 48px; }
  .hero .lead { font-size: 16px; }
  .hero--trip { min-height: 480px; }
  .hero--trip .hero__inner { padding-bottom: 32px; }
  body.has-hero #app > .hero:first-child .hero__inner { padding-top: calc(var(--pubhead-h) + 48px); }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* ================= trips ================= */
.tripgrid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.tripcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none !important; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; min-width: 0; }
a.tripcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.tripcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--midnight-2); }
.tripcard__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,6,32,.35) 0%, rgba(13,6,32,0) 30%, rgba(13,6,32,0) 55%, rgba(13,6,32,.72) 100%); pointer-events: none; }
.tripcard__img { aspect-ratio: 16 / 10; background: var(--surface-3) center/cover no-repeat; position: relative; border-radius: 0; }
.tripcard__media .tripcard__img { position: absolute; inset: 0; aspect-ratio: auto; transition: transform .8s var(--ease); }
a.tripcard:hover .tripcard__img { transform: scale(1.06); }
.tripcard__type { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(13,6,32,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.tripcard__draft { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--surface); color: var(--ink-2); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.tripcard__over { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #fff; font-size: 12.5px; font-weight: 500; }
.tripcard__over span { display: inline-flex; align-items: center; gap: 6px; }
.tripcard__over .ico { color: var(--gold); }
.tripcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tripcard__meta, .tripcard__place { font-size: 12.5px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; min-width: 0; }
.tripcard__place .ico { color: var(--gold-600); }
.tripcard__title { font-size: 18px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.tripcard__host { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.tripcard__host .avatar { width: 24px; height: 24px; font-size: 9.5px; }
.tripcard__host b { font-weight: 600; }
.tripcard__foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; border-top: 1px solid var(--line); font-size: 13px; }
.tripcard__foot > span:first-child { color: var(--ink-3); }
.tripcard__from .micro { display: block; font-size: 10px; margin: 0 0 3px; }
.tripcard__price small { font-family: var(--font); font-size: 12px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.tripcard__price { display: block; font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; line-height: 1.1; }
.tripcard__seats { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.tripcard__seats.is-low { color: var(--amber); }
.tripcard__seats i { width: 6px; height: 6px; border-radius: 50%; background: var(--adv); }
.tripcard__seats.is-low i { background: #e8a33c; }
/* legacy 3-photo gallery */
.gallery { display: grid; gap: 10px; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; height: 380px; }
.gallery > div { background: var(--surface-3) center/cover no-repeat; border-radius: var(--radius-md); transition: transform .6s var(--ease), filter .3s; }
.gallery > div:hover { filter: brightness(1.05); }
.gallery > div:first-child { grid-row: 1 / 3; }
@media (max-width: 760px) { .gallery { height: 240px; gap: 6px; } }
/* editorial mosaic (ui.gallery) */
.mosaic { position: relative; display: grid; gap: 8px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, 200px); border-radius: var(--radius); overflow: hidden; }
.mosaic__tile { position: relative; overflow: hidden; border: 0; padding: 0; cursor: zoom-in; background: var(--surface-3); display: block; }
.mosaic__tile > span { position: absolute; inset: 0; background: center/cover no-repeat; transition: transform .8s var(--ease), filter .3s; }
.mosaic__tile:hover > span { transform: scale(1.05); filter: brightness(1.06); }
.mosaic__tile:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic--n1 { grid-template-columns: 1fr; grid-template-rows: 408px; } .mosaic--n1 .mosaic__tile:first-child { grid-column: auto; grid-row: auto; }
.mosaic--n2 { grid-template-columns: 1fr 1fr; grid-template-rows: 408px; } .mosaic--n2 .mosaic__tile:first-child { grid-column: auto; grid-row: auto; }
.mosaic--n3 .mosaic__tile:nth-child(n+2) { grid-column: span 2; }
.mosaic--n4 .mosaic__tile:nth-child(2) { grid-column: span 2; }
.mosaic__all { position: absolute; right: 16px; bottom: 16px; z-index: 2; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 220px 110px; gap: 6px; border-radius: var(--radius-md); }
  .mosaic__tile:first-child { grid-column: span 2; grid-row: auto; }
  .mosaic__tile:nth-child(n+4) { display: none; }
  .mosaic--n3 .mosaic__tile:nth-child(n+2), .mosaic--n4 .mosaic__tile:nth-child(2) { grid-column: auto; }
  .mosaic--n1, .mosaic--n2 { grid-template-rows: 260px; }
  .mosaic__all { right: 10px; bottom: 10px; }
}
.bookbox .price, .price { font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: -.015em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.bookbox { box-shadow: var(--shadow); }
.mobile-cta { display: none; }
@media (max-width: 1024px) {
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 54; gap: 12px; align-items: center; justify-content: space-between; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -12px 30px -18px rgba(21,16,43,.35); }
  body.has-mobile-cta .pubfoot__legal { padding-bottom: 110px; }
}
@media (max-width: 760px) { .shell-app .mobile-cta { bottom: calc(var(--apptabs-h) + env(safe-area-inset-bottom)); } }

/* ================= lists, accordions, misc ================= */
.list { display: flex; flex-direction: column; }
.list-item { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.list-item:last-child { border-bottom: 0; }
.list-item__main { flex: 1; min-width: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li .ico { flex: none; color: var(--green); margin-top: 2px; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--green-50); }
.ticks--x li .ico { color: var(--ink-3); background: var(--surface-3); }
.card--dark .ticks li .ico { color: var(--neon); background: rgba(61,255,110,.12); }
details.acc { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); transition: box-shadow .2s, border-color .2s; }
details.acc[open] { box-shadow: var(--shadow-sm); border-color: var(--line-2); }
details.acc + details.acc { margin-top: 10px; }
details.acc > summary { list-style: none; cursor: pointer; padding: 16px 18px; display: flex; align-items: center; gap: 12px; font-weight: 600; min-height: 56px; }
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary::after { content: ''; margin-left: auto; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translateY(-3px); transition: transform .2s var(--ease); }
details.acc[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
details.acc > .acc__body { padding: 0 18px 18px; color: var(--ink-2); }
.daynum { flex: none; min-width: 34px; height: 30px; padding: 0 10px; border-radius: 999px; background: var(--sand); color: var(--gold-700); display: inline-grid; place-items: center; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--sand-2); }
.avatar { --h: 265; flex: none; width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: #fff; background: linear-gradient(140deg, hsl(var(--h) 60% 54%) 0%, hsl(var(--h) 62% 34%) 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.avatar--sm { width: 28px; height: 28px; font-size: 10.5px; }
.avatar--lg { width: 56px; height: 56px; font-size: 18px; }
.avatar--xl { width: 76px; height: 76px; font-size: 24px; box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(201,164,76,.8); }
.avstack { display: inline-flex; align-items: center; }
.avstack .avatar { box-shadow: 0 0 0 2px var(--surface); }
.avstack .avatar + .avatar { margin-left: -7px; }
.avstack__more { background: var(--surface-3) !important; color: var(--ink-2) !important; font-size: 11px; }
.card--dark .avstack .avatar { box-shadow: 0 0 0 2px var(--midnight-2); }
.empty { text-align: center; padding: 40px 16px; color: var(--ink-3); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--purple-50); color: var(--purple); box-shadow: inset 0 0 0 1px var(--purple-100); }
.empty > .ico { color: var(--purple-300); }
.empty p { margin: 4px 0 6px; max-width: 44ch; color: var(--ink-2); }
.empty-state { text-align: center; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty-state__icon { width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 8px; color: var(--purple); background: radial-gradient(100% 100% at 30% 20%, #fff 0%, var(--purple-50) 100%); box-shadow: inset 0 0 0 1px var(--purple-100), 0 12px 24px -16px rgba(93,23,235,.6); }
.empty-state__title { font-size: 16px; font-weight: 600; color: var(--ink); }
.empty-state__text { font-size: 14px; color: var(--ink-3); max-width: 44ch; margin: 0 0 8px; }
.gate { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 580px; margin: 0 auto; padding: 44px 28px; }
.gate .avatar--lg { box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(201,164,76,.7); margin-bottom: 4px; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--purple-50); color: var(--purple-900); font-size: 13.5px; box-shadow: inset 0 0 0 1px var(--purple-100); }
.notice .ico { color: var(--purple); margin-top: 2px; flex: none; }
.notice--green { background: var(--green-50); color: #0b4426; box-shadow: inset 0 0 0 1px var(--green-100); } .notice--green .ico { color: var(--green); }
.notice--amber { background: var(--amber-50); color: #5a3405; box-shadow: inset 0 0 0 1px var(--amber-100); } .notice--amber .ico { color: var(--amber); }
.notice--red { background: var(--red-50); color: #6a1320; box-shadow: inset 0 0 0 1px var(--red-100); } .notice--red .ico { color: var(--red); }
a.notice:hover { text-decoration: none; filter: brightness(.98); }
/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 10px 0 14px; position: relative; }
.timeline li::before { content: ''; position: absolute; left: 11px; top: 36px; bottom: -8px; width: 2px; border-radius: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li > :last-child:not(:nth-child(2)) { text-align: right; }
.timeline .tl-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line-2); display: grid; place-items: center; margin-top: 1px; color: #fff; }
.timeline .tl-dot.is-paid { background: var(--green); box-shadow: none; }
.timeline .tl-dot.is-paid ~ * { color: inherit; }
.timeline li:has(.tl-dot.is-paid)::before { background: var(--green-100); }
.timeline .tl-dot.is-next { background: var(--surface); box-shadow: inset 0 0 0 2px var(--purple), 0 0 0 5px rgba(93,23,235,.14); }
.timeline .tl-dot.is-next::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
.timeline .tl-dot.is-overdue { background: var(--red-50); box-shadow: inset 0 0 0 2px var(--red); color: var(--red); }
.timeline .tl-dot.is-gold { background: var(--gold); box-shadow: none; color: var(--midnight); }
.tl-title { font-weight: 600; font-size: 14px; }
.tl-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 1px; }
/* network tree */
.tree { display: flex; flex-direction: column; gap: 12px; }
.tree__node { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px 16px; background: var(--surface); box-shadow: var(--shadow-xs); }
.tree__node--house { color: #fff; border-color: rgba(201,164,76,.3); background: radial-gradient(120% 140% at 0% 0%, rgba(110,50,255,.5) 0%, rgba(93,23,235,0) 60%), linear-gradient(160deg, var(--midnight-3), var(--midnight)); }
.tree__node--house .muted, .tree__node--house .faint { color: #bfb3e6; }
.tree__children { margin-left: 18px; padding-left: 18px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 10px; position: relative; }
.tree__children > .tree__node { position: relative; }
.tree__children > .tree__node::before { content: ''; position: absolute; left: -20px; top: 24px; width: 18px; height: 2px; background: var(--line); }
/* commission formula + split lines */
.formula { font-variant-numeric: tabular-nums; font-size: clamp(18px, 2.2vw, 22px); font-weight: 600; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.formula .op { color: var(--ink-3); font-weight: 400; font-size: .8em; }
.formula .res { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); color: var(--purple-700); letter-spacing: -.01em; }
.card--dark .formula .op { color: #a99ed2; }
.card--dark .formula .res { color: var(--neon); text-shadow: 0 0 24px rgba(61,255,110,.35); }
.split-lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.split-line { border-radius: var(--radius-md); padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line); min-width: 0; }
.split-line__who { font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 7px; color: var(--ink-2); }
.split-line__amt { font-family: var(--display); font-weight: 700; font-size: 24px; margin-top: 6px; letter-spacing: -.01em; }
.split-line__pct { font-size: 12px; color: var(--ink-3); }
.card--dark .split-line { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.card--dark .split-line__who { color: #cfc5ef; } .card--dark .split-line__pct { color: #a99bd8; }
@media (max-width: 520px) { .split-lines { grid-template-columns: minmax(0, 1fr); } .split-line { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; } .split-line__amt { font-size: 20px; margin: 0; } }

/* skeleton */
.skel { display: flex; flex-direction: column; gap: 10px; }
.skel__media { height: 160px; border-radius: var(--radius-md); }
.skel__row { display: flex; align-items: center; gap: 12px; }
.skel__circle { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.skel__line { height: 12px; border-radius: 6px; }
.skel__media, .skel__circle, .skel__line { background: linear-gradient(90deg, var(--surface-3) 0%, #faf9fd 40%, var(--surface-3) 80%); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }

/* ================= overlays: modal, drawer, lightbox, toast ================= */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(13,6,32,.52); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: fade .18s ease; }
.modal { position: relative; background: var(--surface); border-radius: 24px; padding: 28px; width: 100%; max-width: 500px; max-height: calc(100vh - 32px); overflow: auto; box-shadow: var(--shadow-lg); animation: modalIn .24s var(--ease); }
.modal--wide { max-width: 760px; }
.modal__x { position: absolute; top: 14px; right: 14px; }
.modal .h3 { padding-right: 40px; margin-bottom: 6px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .modal-backdrop { place-items: end center; padding: 0; }
  .modal { border-radius: 24px 24px 0 0; max-height: 90vh; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); animation: sheetIn .28s var(--ease); }
  .modal::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line-2); margin: -10px auto 14px; }
}
@keyframes sheetIn { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
.drawer-backdrop { position: fixed; inset: 0; z-index: 95; background: rgba(13,6,32,.46); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade .2s ease; }
.drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, calc(100vw - 40px)); background: var(--surface); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: drawerIn .28s var(--ease); }
.drawer--left { right: auto; left: 0; animation-name: drawerInLeft; }
.drawer--wide { width: min(640px, calc(100vw - 40px)); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; overflow-y: auto; padding: 20px 24px 28px; }
@keyframes drawerIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes drawerInLeft { from { transform: translateX(-100%); } to { transform: none; } }
.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(8,4,20,.97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: flex; flex-direction: column; color: #fff; animation: fade .2s ease; }
.lightbox__top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; font-size: 13px; color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }
.lightbox__stage { flex: 1; min-height: 0; display: grid; place-items: center; padding: 0 72px; position: relative; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); animation: fade .25s ease; }
.lightbox__cap { text-align: center; padding: 14px 18px 22px; font-size: 13.5px; color: rgba(255,255,255,.78); min-height: 52px; }
.lightbox .icon-btn { color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); width: 48px; height: 48px; }
.lightbox .icon-btn:hover { background: rgba(255,255,255,.18); color: #fff; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 14px; } .lightbox__next { right: 14px; }
@media (max-width: 560px) { .lightbox__stage { padding: 0 8px; } .lightbox__prev, .lightbox__next { top: auto; bottom: -58px; transform: none; } .lightbox__prev { left: 18px; } .lightbox__next { right: 18px; } .lightbox__cap { padding-left: 80px; padding-right: 80px; } }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; z-index: 120; display: flex; align-items: center; gap: 10px; background: var(--midnight-2); color: #fff; padding: 12px 18px 12px 14px; border-radius: 14px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); transition: opacity .22s, transform .22s var(--ease); max-width: calc(100vw - 32px); }
.toast__icon { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.1); color: #d8cbff; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast--green .toast__icon { background: rgba(61,255,110,.16); color: var(--neon); }
.toast--red .toast__icon { background: rgba(255,120,140,.16); color: #ff9aa9; }
.shell-app .toast { margin-left: calc(var(--side-w) / 2); }
@media (max-width: 1023px) { .shell-app .toast { margin-left: 0; } }
@media (max-width: 760px) { .shell-app .toast { bottom: calc(var(--apptabs-h) + 16px + env(safe-area-inset-bottom)); } body.has-mobile-cta .toast { bottom: 96px; } }
/* role menu */
.persona-list { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.persona-group { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 10px 2px 2px; }
.persona-group:first-child { margin-top: 0; }
.persona { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.persona > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.persona strong { font-size: 14px; }
.persona:hover { border-color: var(--purple-200); background: var(--purple-25); }
.persona.is-active { border-color: var(--purple); background: var(--purple-50); box-shadow: var(--ring); }
.persona.is-active .ico { color: var(--purple); }
.credits { list-style: none; padding: 0; margin: 14px 0 0; font-size: 13.5px; display: grid; gap: 8px; }
.credits li { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.credits .cell-sub a { color: var(--purple); }

/* ================= guided demo (tour) ================= */
.tour { position: fixed; right: 24px; bottom: 24px; z-index: 58; width: 320px; color: var(--ink); }
.tour__card { background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; animation: modalIn .3s var(--ease); }
.tour__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 10px 10px 16px; }
.tour__head .micro { color: var(--purple); display: flex; align-items: center; gap: 8px; }
.tour__title { font-size: 14.5px; font-weight: 600; margin-top: 3px; }
.tour__head .icon-btn { width: 32px; height: 32px; }
.tour__bar { height: 3px; margin: 0 16px 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.tour__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--purple), var(--neon-600)); border-radius: 3px; transition: width .4s var(--ease); }
.tour__list { list-style: none; margin: 0; padding: 4px 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.tour__step { display: flex; gap: 10px; align-items: flex-start; }
.tour__step a { display: flex; flex-direction: column; color: var(--ink); text-decoration: none !important; padding: 8px 10px; border-radius: 12px; flex: 1; min-width: 0; transition: background-color .15s; }
.tour__step a:hover { background: var(--purple-25); }
.tour__step a strong { font-size: 13.5px; font-weight: 600; } .tour__step a span { font-size: 12px; color: var(--ink-3); }
.tour__n { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-3); color: var(--ink-2); font-size: 11.5px; font-weight: 700; display: grid; place-items: center; margin: 9px 0 0 6px; }
.tour__step.is-here .tour__n { background: var(--purple); color: #fff; box-shadow: 0 0 0 4px rgba(93,23,235,.16); }
.tour__step.is-here a { background: var(--purple-50); }
.tour__pill { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px 0 16px; border-radius: 999px; background: var(--midnight-2); color: #fff; border: 1px solid rgba(201,164,76,.35); box-shadow: var(--shadow-lg); cursor: pointer; font-size: 13px; font-weight: 600; margin-left: auto; }
.tour__pill .tour__count { font-size: 11.5px; font-weight: 600; color: var(--gold); background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px 9px; font-variant-numeric: tabular-nums; }
.tour.is-min { width: auto; }
.tour.is-min .tour__card { display: none; }
.tour.is-min .tour__pill { display: inline-flex; }
@media (max-width: 760px) {
  .tour { right: 12px; left: auto; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; max-width: calc(100vw - 24px); }
  .tour:not(.is-open) .tour__card { display: none; }
  .tour:not(.is-open) .tour__pill { display: inline-flex; }
  .tour.is-open { left: 12px; }
  .shell-app .tour { bottom: calc(var(--apptabs-h) + 12px + env(safe-area-inset-bottom)); }
}
body.has-mobile-cta .tour, body.has-modal .tour, body.has-lightbox .tour { display: none; }
/* the guide sits above a journey page's bottom price bar (its Book / Request button stays reachable) */
@media (max-width: 1024px) { body:has(.jbar) .tour { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* ================= motion ================= */
.route-enter { animation: routeIn .18s var(--ease) backwards; }
@keyframes routeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  a.tripcard:hover, .card--hover:hover { transform: none; }
  a.tripcard:hover .tripcard__img, .mosaic__tile:hover > span { transform: none; }
}

/* ================= styleguide page (#/styleguide) ================= */
.sg-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; align-items: start; }
.sg-toc { position: sticky; top: calc(var(--header-h) + 28px); display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.sg-toc a { color: var(--ink-2); padding: 7px 12px; border-radius: 10px; text-decoration: none !important; border-left: 2px solid transparent; }
.sg-toc a:hover { background: var(--surface-3); color: var(--ink); }
.sg-section { padding: 8px 0 56px; border-bottom: 1px solid var(--line); margin-bottom: 48px; scroll-margin-top: calc(var(--header-h) + 24px); }
.sg-section:last-child { border-bottom: 0; }
.sg-head { margin-bottom: 24px; max-width: 720px; }
.sg-head .lead { font-size: 15px; }
.sg-label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 24px 0 10px; display: flex; align-items: center; gap: 10px; }
.sg-label code { text-transform: none; letter-spacing: 0; font-weight: 500; }
.sg-swatches { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.sg-swatch { border-radius: 16px; border: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.sg-swatch__chip { height: 76px; }
.sg-swatch__meta { padding: 10px 12px; font-size: 12.5px; }
.sg-swatch__meta strong { display: block; font-size: 13px; }
.sg-swatch__meta span { color: var(--ink-3); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; }
.sg-type > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sg-type > div:last-child { border-bottom: 0; }
.sg-type .micro { margin: 0; }
.sg-demo { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sg-dark { background: var(--midnight-2); border-radius: var(--radius); padding: 20px; }
@media (max-width: 1024px) { .sg-layout { grid-template-columns: minmax(0, 1fr); gap: 0; } .sg-toc { position: static; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; margin: 0 0 32px; padding: 0 0 4px; scrollbar-width: none; } .sg-toc a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; } }
@media (max-width: 560px) { .sg-type > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } .sg-section { padding-bottom: 40px; margin-bottom: 36px; } }

.sg-mock { position: relative; height: 200px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.sg-mock__hero { flex: 0 0 58%; padding: 10px 12px 14px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(180deg, rgba(13,6,32,.35), rgba(13,6,32,.85)), url('img/sunset.jpg') center/cover; }
.sg-mock__nav { display: flex; align-items: center; gap: 6px; }
.sg-mock__nav b { width: 14px; height: 14px; border-radius: 4px; background: var(--purple); box-shadow: inset 0 0 0 1px var(--gold); margin-right: 6px; }
.sg-mock__nav i { height: 4px; width: 22px; border-radius: 2px; background: rgba(255,255,255,.6); }
.sg-mock__nav em { margin-left: auto; width: 38px; height: 12px; border-radius: 6px; background: var(--purple); box-shadow: 0 0 10px rgba(93,23,235,.8); }
.sg-mock__title { width: 62%; height: 10px; border-radius: 3px; background: #fff; margin-bottom: 6px; }
.sg-mock__title--s { width: 38%; opacity: .6; margin: 0; }
.sg-mock__cards { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 12px; background: var(--sand); }
.sg-mock__cards span { border-radius: 6px; background: #fff; border: 1px solid var(--sand-2); }
.sg-mock__foot { flex: 0 0 14px; background: var(--midnight); border-top: 1px solid var(--gold); }
.sg-mock--app { flex-direction: row; background: var(--bg); }
.sg-mock__side { flex: 0 0 26%; padding: 10px 8px; display: flex; flex-direction: column; gap: 7px; background: linear-gradient(180deg, var(--midnight-2), var(--midnight)); }
.sg-mock__side b { height: 24px; border-radius: 6px; background: rgba(255,255,255,.08); margin-bottom: 4px; }
.sg-mock__side i { height: 8px; border-radius: 4px; background: rgba(255,255,255,.14); }
.sg-mock__side i.is-on { height: 12px; background: var(--purple); box-shadow: 0 0 10px rgba(93,23,235,.8); }
.sg-mock__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 0 10px 10px; }
.sg-mock__top { flex: 0 0 22px; margin: 0 -10px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.7); }
.sg-mock__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sg-mock__kpis span { height: 36px; border-radius: 6px; background: #fff; border: 1px solid var(--line); }
.sg-mock__kpis span:first-child { border: 0; background: linear-gradient(160deg, var(--midnight-3), var(--midnight)); }
.sg-mock__table { flex: 1; border-radius: 6px; border: 1px solid var(--line); background: #fff repeating-linear-gradient(180deg, transparent 0 13px, var(--line) 13px 14px); }

/* print: hide chrome */
@media print { .pubhead, .pubfoot, .side, .topbar, .apptabs, .tour, .toast { display: none !important; } .shell-app .frame { margin-left: 0; } }

/* ---------- v5 additions: save heart, plan line, who's going, finder, misc ---------- */
.favbtn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink-2); cursor: pointer; box-shadow: var(--shadow-xs); transition: transform .15s var(--ease), color .15s; }
.favbtn:hover { transform: scale(1.06); color: #e0245e; }
.favbtn.is-on { color: #e0245e; }
.favbtn.is-on svg path { fill: currentColor; }
.tripcard__fav { position: absolute; top: 12px; right: 12px; z-index: 2; }
.tripcard__draft + .tripcard__fav { top: 52px; }
.tripcard__plan { display: block; font-size: 12px; font-weight: 600; color: var(--purple-700); margin-top: 2px; }
.tripcard__going { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.tripcard__host { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.finder { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .8fr) auto; gap: 10px; padding: 10px; border-radius: 22px; background: rgba(255,255,255,.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.22); max-width: 860px; }
.finder .field { background: #fff; border-radius: 14px; padding: 8px 12px 6px; gap: 2px; }
.finder .field label { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.finder .select, .finder .input { border: 0; padding: 0; min-height: 30px; font-weight: 600; background-color: transparent; box-shadow: none; }
.finder .btn { min-height: 62px; border-radius: 14px; padding: 0 26px; }
@media (max-width: 860px) { .finder { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .finder .btn { grid-column: 1 / -1; min-height: 52px; } }
@media (max-width: 420px) { .finder { grid-template-columns: minmax(0, 1fr); } }
.dest-tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 260px; color: #fff; text-decoration: none !important; background: var(--midnight-2) center/cover no-repeat; isolation: isolate; }
.dest-tile::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,6,32,0) 35%, rgba(13,6,32,.85) 100%); z-index: -1; transition: opacity .3s; }
.dest-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.dest-tile { transition: transform .25s var(--ease), box-shadow .25s; }
.dest-tile__body { position: absolute; left: 20px; right: 20px; bottom: 18px; }
.dest-tile__name { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.05; }
.dest-tile__meta { font-size: 13px; opacity: .9; margin-top: 4px; }
.dest-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dest-grid > :first-child { grid-row: span 2; min-height: 540px; }
@media (max-width: 1024px) { .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dest-grid > :first-child { grid-row: auto; min-height: 260px; grid-column: 1 / -1; } }
@media (max-width: 560px) { .dest-grid { grid-template-columns: minmax(0, 1fr); } }
.photo-card { border-radius: var(--radius); background: var(--midnight-2) center/cover no-repeat; min-height: 420px; box-shadow: var(--shadow-sm); }
.quote-card { position: relative; }
.quote-card blockquote { margin: 12px 0 16px; font-size: 17px; line-height: 1.55; color: var(--ink); }
.quote-card .quote-mark { font-family: var(--display); font-size: 56px; line-height: .6; color: var(--gold); display: block; height: 26px; }
.circle-card { display: flex; gap: 14px; align-items: flex-start; }
.plancalc__out { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .plancalc__out { grid-template-columns: minmax(0, 1fr); } }
.plancalc__num { font-family: var(--display); font-size: clamp(26px, 3vw, 34px); font-weight: 700; color: var(--purple-700); line-height: 1.1; }
.card--dark .plancalc__num { color: var(--neon); }
.newsletter { display: flex; gap: 10px; max-width: 520px; }
.newsletter .input { flex: 1; min-width: 0; }
@media (max-width: 480px) { .newsletter { flex-direction: column; } }
.facts { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fact { padding: 16px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.fact .micro { display: block; margin-bottom: 4px; }
.fact strong { display: block; font-size: 15px; line-height: 1.35; }
.band--midnight .fact { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; }
.secnav { position: sticky; top: var(--header-h, 72px); z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.secnav__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.secnav__inner::-webkit-scrollbar { display: none; }
.secnav a { padding: 14px 12px; font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; border-bottom: 2px solid transparent; text-decoration: none !important; }
.secnav a:hover, .secnav a.is-active { color: var(--purple-700); border-bottom-color: var(--purple); }
.anchor { scroll-margin-top: calc(var(--header-h, 72px) + 72px); }
.amenities { display: flex; flex-wrap: wrap; gap: 8px; }
.excard { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.excard__img { width: 120px; height: 96px; border-radius: 12px; background: var(--sand-2) center/cover no-repeat; }
.excard.is-on { border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-100); }
@media (max-width: 480px) { .excard { grid-template-columns: 84px minmax(0, 1fr); } .excard__img { width: 84px; height: 84px; } }
.bookcard { border-radius: var(--radius-xl); }
.bookcard .price { line-height: 1; }
.room-opt { display: flex; justify-content: space-between; gap: 10px; }
.countdown { display: flex; gap: 10px; }
.countdown__cell { min-width: 64px; text-align: center; padding: 10px 8px; border-radius: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.countdown__cell strong { display: block; font-family: var(--display); font-size: 28px; line-height: 1; }
.countdown__cell span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checklist li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; }
.checklist li.is-done { color: var(--ink-3); }
.checklist li.is-done .ck { background: var(--green); border-color: var(--green); color: #fff; }
.checklist .ck { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid var(--line-3, #cfc8dd); display: grid; place-items: center; }
.checklist li a, .checklist li button { margin-left: auto; }
.chat { display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; padding: 4px; }
.chat__msg { max-width: 80%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.chat__msg--me { align-self: flex-end; background: var(--purple); color: #fff; border-bottom-right-radius: 4px; }
.chat__msg--them { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat__meta { font-size: 11px; opacity: .75; margin-top: 4px; }
.flight { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; }
.flight__code { font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1; }
.flight__line { height: 2px; min-width: 60px; background: repeating-linear-gradient(90deg, var(--line-3, #cfc8dd) 0 6px, transparent 6px 10px); position: relative; }
.kanban { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
@media (max-width: 1024px) { .kanban { grid-template-columns: minmax(0, 1fr); } }
.kanban__col { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.kanban__head { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px; font-weight: 600; }
.phone-mock { max-width: 300px; margin: 0 auto; border-radius: 36px; border: 10px solid var(--midnight); background: #f2f0f7; padding: 22px 14px; min-height: 360px; }
.phone-mock .bubble { background: #fff; border-radius: 18px; padding: 12px 14px; font-size: 13.5px; box-shadow: var(--shadow-xs); }
.email-mock { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: #fff; }
.email-mock__head { padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 13px; }
.email-mock__body { padding: 18px; white-space: pre-line; font-size: 14px; line-height: 1.6; }
.itin-day { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; }
.login-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: calc(100vh - var(--pubhead-h, 72px)); }
.login-split__art { background: var(--midnight) center/cover no-repeat; position: relative; color: #fff; display: flex; align-items: flex-end; padding: 48px; isolation: isolate; }
.login-split__art::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,6,32,.1), rgba(13,6,32,.85)); }
.login-split__form { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: var(--surface); }
@media (max-width: 900px) { .login-split { grid-template-columns: minmax(0, 1fr); } .login-split__art { min-height: 260px; padding: 28px; } }

@media (max-width: 560px) {
  .list-item { flex-wrap: wrap; row-gap: 8px; }
  .list-item > .list-item__main { flex: 1 1 calc(100% - 52px); }
  .list-item > .btn, .list-item > .chip, .list-item > .num { margin-left: auto; }
}
.card--dark .legend, .band--midnight .legend { color: #d9d0f5; }
.card--dark .legend strong, .band--midnight .legend strong { color: #fff; }

/* =====================================================================
   v7 HERITAGE LAYER: the cultural direction from Nina's brief.
   People-first photography, warm earth accents, an original strip-woven motif,
   and an editorial serif for the words that carry feeling.
   ===================================================================== */
:root {
  --ochre: #d4942b; --ochre-50: #fdf4e3; --ochre-700: #8a5a12;
  --clay: #b8532e; --clay-50: #fbece6; --clay-700: #7c3219;
  --forest: #1d6b45;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  /* strip-woven band: an original geometric tile in brand gold, purple and ochre */
  --weave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='16' viewBox='0 0 56 16'%3E%3Crect width='56' height='16' fill='%23150a33'/%3E%3Crect y='1' width='56' height='1.4' fill='%23c9a44c'/%3E%3Crect y='13.6' width='56' height='1.4' fill='%23c9a44c'/%3E%3Cpath d='M12 3.4 16.6 8 12 12.6 7.4 8z' fill='%235d17eb'/%3E%3Cpath d='M12 5.6 14.4 8 12 10.4 9.6 8z' fill='%23c9a44c'/%3E%3Crect x='22' y='4.2' width='3' height='7.6' fill='%23d4942b'/%3E%3Crect x='26.4' y='4.2' width='1.4' height='7.6' fill='%23b8532e'/%3E%3Cpath d='M31 11.4 34 4.6 37 11.4 40 4.6 43 11.4 46 4.6 49 11.4' fill='none' stroke='%23c9a44c' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* editorial accent: <em> inside display headings becomes an italic serif */
.display em, .h1 em, .h2 em, .serif-em { font-family: var(--serif); font-style: italic; font-weight: 600; letter-spacing: -.01em; color: var(--purple-700); }
.hero .display em, .band--midnight .h1 em, .band--midnight .display em, .band--midnight .h2 em, .pubfoot .display em, .card--dark .h2 em { color: var(--gold); }
.quote-serif { font-family: var(--serif); font-style: italic; font-weight: 500; }

/* woven band */
.weave { height: 16px; background: var(--weave) repeat-x left center / 56px 16px; }
.weave--thin { height: 8px; background-size: 28px 8px; }
.weave--rounded { border-radius: 999px; }
.weave-rule { display: block; width: 112px; height: 8px; background: var(--weave) repeat-x left center / 28px 8px; border-radius: 2px; margin: 0 0 16px; }
.band__head--center .weave-rule { margin-left: auto; margin-right: auto; }

/* ---------- HOME HERO (people + places mosaic) ---------- */
.hero--home { min-height: clamp(640px, 94vh, 900px); align-items: center;
  background: radial-gradient(70% 90% at 85% 20%, rgba(93,23,235,.45) 0%, rgba(93,23,235,0) 60%), radial-gradient(60% 70% at 0% 100%, rgba(212,148,43,.18) 0%, rgba(212,148,43,0) 60%), linear-gradient(160deg, var(--midnight-3) 0%, var(--midnight) 70%); }
.hero--home::before { display: none; }
.hero--home .hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-bottom: 72px; }
.hero--home .hero__inner > * { max-width: none; }
.hero--home .display { font-size: clamp(44px, 6.2vw, 86px); }
.hero--home .lead { font-size: 18.5px; }
.hero__paths { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero__path { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 10px; border-radius: 999px; color: #fff; font-weight: 600; font-size: 14.5px; text-decoration: none !important;
  background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .2s, box-shadow .2s, transform .2s var(--ease); }
.hero__path:hover { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(201,164,76,.7); transform: translateY(-2px); }
.hero__path > i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: var(--gold); color: var(--midnight); }
.hero__path--neon > i { background: var(--neon); }
.hero__path--clay > i { background: var(--ochre); }
.hero__path .ico { color: inherit; }
.collage { position: relative; height: clamp(440px, 60vh, 600px); }
.collage__img { position: absolute; border-radius: 26px; background: var(--midnight-2) center/cover no-repeat; box-shadow: 0 30px 60px -24px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.08); }
.collage__img--a { left: 12%; right: 0; top: 0; bottom: 16%; }
.collage__img--b { left: 0; width: 42%; bottom: 0; height: 44%; border: 5px solid var(--midnight); }
.collage__img--c { right: 6%; width: 30%; bottom: 3%; height: 30%; border: 5px solid var(--midnight); }
.collage__tag { position: absolute; left: 6%; top: 8%; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(13,6,32,.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(201,164,76,.4); color: #fff; font-size: 13px; line-height: 1.3; max-width: 250px; }
.collage__tag b { display: block; font-size: 14px; }
.collage__tag .icon-badge { width: 36px; height: 36px; border-radius: 12px; }
.collage__weave { position: absolute; left: 14%; right: 6%; bottom: calc(16% - 8px); height: 16px; border-radius: 4px; }
@media (max-width: 1024px) {
  .hero--home .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .collage { height: 360px; max-width: 640px; }
}
@media (max-width: 560px) {
  .hero--home { min-height: 0; }
  .hero--home .hero__inner { padding-bottom: 48px; }
  .hero--home .lead { font-size: 16px; }
  .collage { height: 300px; }
  .collage__tag { display: none; }
  .hero__path { flex: 1 1 100%; }
}

/* ---------- THREE DOORS ---------- */
.doors-band { background: var(--sand); padding: 0 0 88px; }
.doors-band > .weave { margin-bottom: 72px; }
.doors { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.door { display: flex; flex-direction: column; background: var(--surface); border-radius: 26px; overflow: hidden; color: var(--ink); text-decoration: none !important; box-shadow: var(--shadow); border: 1px solid var(--sand-2); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.door:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.door__media { position: relative; aspect-ratio: 5 / 4; background: var(--midnight-2) center/cover no-repeat; }
.door__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,6,32,0) 45%, rgba(13,6,32,.75) 100%); }
.door__num { position: absolute; top: 16px; left: 16px; z-index: 1; font-family: var(--serif); font-style: italic; font-size: 28px; font-weight: 600; color: #fff; line-height: 1; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.door__label { position: absolute; left: 20px; bottom: 16px; z-index: 1; color: #fff; font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.05; }
.door__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.door__body p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.door__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.door__facts li { display: flex; gap: 9px; align-items: flex-start; }
.door__facts .ico { flex: none; margin-top: 1px; color: var(--purple); }
.door .btn { margin-top: auto; }
.door--gold .door__facts .ico { color: var(--gold-600); }
.door--clay .door__facts .ico { color: var(--clay); }
.door__bar { height: 5px; background: var(--purple); }
.door--gold .door__bar { background: var(--gold); }
.door--clay .door__bar { background: linear-gradient(90deg, var(--ochre), var(--clay)); }
@media (max-width: 1024px) { .doors { grid-template-columns: minmax(0, 1fr); } .door { flex-direction: row; } .door__media { aspect-ratio: auto; width: 38%; flex: none; } }
@media (max-width: 640px) { .door { flex-direction: column; } .door__media { width: auto; aspect-ratio: 16 / 10; } .doors-band { padding-bottom: 64px; } .doors-band > .weave { margin-bottom: 48px; } }

/* ---------- CULTURE BAND ---------- */
.culture { position: relative; }
.culture > .weave:first-child { position: absolute; top: 0; left: 0; right: 0; }
.pillars { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillar { padding: 22px; border-radius: 20px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.pillar h3 { margin: 14px 0 6px; font-size: 17px; color: #fff; }
.pillar p { margin: 0; font-size: 14px; color: #c3b8e8; }
@media (max-width: 1024px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pillars { grid-template-columns: minmax(0, 1fr); } }
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: rgba(201,164,76,.5) transparent; }
.hscroll > * { scroll-snap-align: start; }
.htile { position: relative; display: block; min-height: 340px; border-radius: 22px; overflow: hidden; color: #fff; text-decoration: none !important; background: var(--midnight-2) center/cover no-repeat; isolation: isolate; transition: transform .25s var(--ease); }
.htile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,6,32,.1) 30%, rgba(13,6,32,.9) 100%); }
.htile:hover { transform: translateY(-4px); }
.htile__body { position: absolute; left: 18px; right: 18px; bottom: 18px; }
.htile__region { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.htile__name { font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1.05; margin-top: 4px; }
.htile__meta { font-size: 13px; color: rgba(255,255,255,.82); margin-top: 6px; }
@media (max-width: 560px) { .hscroll { grid-auto-columns: 78%; } .htile { min-height: 300px; } }

/* ---------- SPLIT FEATURE (host teaser etc.) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.feature__art { position: relative; }
.feature__photo { border-radius: 26px; min-height: 460px; background: var(--midnight-2) center/cover no-repeat; box-shadow: var(--shadow); }
.feature__chip { position: absolute; right: -14px; bottom: 28px; background: var(--surface); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; max-width: 280px; font-size: 13px; color: var(--ink-2); }
.feature__chip b { display: block; color: var(--ink); font-size: 14px; }
.feature__photo + .weave { position: absolute; left: 24px; right: 24px; top: -8px; border-radius: 4px; }
@media (max-width: 900px) { .feature { grid-template-columns: minmax(0, 1fr); gap: 32px; } .feature__photo { min-height: 320px; } .feature__chip { right: 12px; } }

/* ---------- STEPS (numbered, joined) ---------- */
.steps-row { display: grid; gap: 18px; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); counter-reset: st; position: relative; }
.steps-row::before { content: ''; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px); opacity: .6; }
.step-card { position: relative; }
.step-card__n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--midnight-2); color: var(--gold); font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 18px; box-shadow: 0 0 0 6px var(--surface); position: relative; z-index: 1; }
.band--sand .step-card__n { box-shadow: 0 0 0 6px var(--sand); }
.step-card h3 { margin: 16px 0 6px; font-size: 16.5px; }
.step-card p { margin: 0; font-size: 14px; color: var(--ink-2); }
.band--midnight .step-card__n { background: var(--gold); color: var(--midnight); box-shadow: 0 0 0 6px var(--midnight-2); }
.band--midnight .step-card h3 { color: #fff; }
.band--midnight .step-card p { color: #c3b8e8; }
@media (max-width: 900px) { .steps-row { grid-template-columns: minmax(0, 1fr); gap: 22px; } .steps-row::before { top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--gold) 0 10px, transparent 10px 18px); }
  .step-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 16px; } .step-card h3 { margin-top: 10px; } .step-card p { grid-column: 2; } }

/* ---------- JOURNEY CARDS (private collection) ---------- */
.jgrid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.jcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; color: var(--ink); text-decoration: none !important; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.jcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.jcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--midnight-2); }
.jcard__img { position: absolute; inset: 0; background: center/cover no-repeat; transition: transform .8s var(--ease); }
.jcard:hover .jcard__img { transform: scale(1.06); }
.jcard__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,6,32,.35) 0%, rgba(13,6,32,0) 30%, rgba(13,6,32,0) 60%, rgba(13,6,32,.7) 100%); }
.jcard__tags { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.jcard__tag { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(13,6,32,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 5px 10px; border-radius: 999px; }
.jcard__tag--gold { background: var(--gold); color: var(--midnight); }
.jcard__over { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: flex; justify-content: space-between; gap: 8px; color: #fff; font-size: 12.5px; font-weight: 500; }
.jcard__over span { display: inline-flex; align-items: center; gap: 6px; }
.jcard__over .ico { color: var(--gold); }
.jcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.jcard__place { font-size: 12.5px; color: var(--ink-3); display: flex; gap: 6px; align-items: center; }
.jcard__place .ico { color: var(--clay); }
.jcard__title { font-size: 19px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; margin: 0; }
.jcard__line { font-size: 14px; color: var(--ink-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jcard__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--ink-2); }
.jcard__meta span { display: inline-flex; gap: 6px; align-items: center; }
.jcard__meta .ico { color: var(--gold-600); }
.jcard__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.jcard__price { font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.1; }
.jcard__price small { font-family: var(--font); font-size: 12px; font-weight: 500; color: var(--ink-3); }
.jcard__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13.5px; color: var(--purple); white-space: nowrap; }
.sample-note { display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ochre-700); background: var(--ochre-50); border-radius: 6px; padding: 2px 7px; margin-top: 4px; }

/* filter chips */
.fchips { display: flex; gap: 8px; flex-wrap: wrap; }
.fchip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: all .15s; }
.fchip:hover { border-color: var(--purple-200); color: var(--purple-700); }
.fchip[aria-pressed='true'] { background: var(--midnight-2); border-color: var(--midnight-2); color: #fff; }
.fchip .fchip__n { font-size: 11.5px; font-weight: 600; opacity: .65; }
@media (max-width: 560px) { .fchips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px 6px; scrollbar-width: none; } .fchips::-webkit-scrollbar { display: none; } .fchip { flex: none; } }
/* The bleed must cancel the container's own gutter, which drops to 16px at this width (.container above). */
@media (max-width: 420px) { .fchips { margin: 0 -16px; padding: 0 16px 6px; } }

/* occasions ribbon */
.occasions { display: flex; flex-wrap: wrap; gap: 10px; }
.occasion { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--sand-2); font-size: 14px; font-weight: 500; color: var(--ink); }
.occasion .ico { color: var(--clay); }

/* ---------- JOURNEY PAGE ---------- */
.jlayout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.jside { position: sticky; top: calc(var(--header-h) + 20px); }
.pricecard { border-radius: 22px; padding: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pricecard__from { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.pricecard__amt { font-family: var(--display); font-size: 40px; font-weight: 700; line-height: 1.05; color: var(--ink); margin-top: 4px; }
.pricecard__amt small { font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--ink-3); }
.pricecard dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 14px; margin: 18px 0; font-size: 14px; }
.pricecard dt { color: var(--ink-3); display: inline-flex; gap: 8px; align-items: center; }
.pricecard dt .ico { color: var(--gold-600); }
.pricecard dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
@media (max-width: 1024px) { .jlayout { grid-template-columns: minmax(0, 1fr); } .jside { position: static; } }
.itin { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.itin li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; position: relative; padding-bottom: 22px; }
.itin li::before { content: ''; position: absolute; left: 31px; top: 46px; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--gold-100), var(--sand-2)); }
.itin li:last-child::before { display: none; }
.itin__day { width: 64px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); box-shadow: inset 0 0 0 1px var(--sand-2); text-align: center; line-height: 1; }
.itin__day small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.itin__day b { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--clay-700); }
.itin h3 { margin: 4px 0 4px; font-size: 16.5px; }
.itin p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.cnotes { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cnote { border-radius: 18px; padding: 18px; background: var(--sand); box-shadow: inset 0 0 0 1px var(--sand-2); }
.cnote h3 { margin: 12px 0 4px; font-size: 15.5px; }
.cnote p { margin: 0; font-size: 14px; color: var(--ink-2); }
.cnote .icon-badge { background: var(--surface); color: var(--clay); box-shadow: inset 0 0 0 1px var(--sand-2); }
@media (max-width: 760px) { .cnotes { grid-template-columns: minmax(0, 1fr); } }
.stay-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px; border-radius: 18px; background: var(--purple-25); box-shadow: inset 0 0 0 1px var(--purple-100); }
.jsection { padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--line); }
.jsection:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.jsection > h2 { margin-bottom: 14px; }
.pics3 { display: grid; gap: 10px; grid-template-columns: 2fr 1fr 1fr; height: 300px; }
.pics3 > span { border-radius: 16px; background: var(--surface-3) center/cover no-repeat; }
@media (max-width: 640px) { .pics3 { grid-template-columns: 1fr 1fr; height: auto; } .pics3 > span { height: 160px; } .pics3 > span:first-child { grid-column: 1 / -1; height: 220px; } }

/* ---------- PLAN FORM (private-trip inquiry) ---------- */
.planform { display: flex; flex-direction: column; gap: 0; }
.fset { border: 0; margin: 0; padding: 26px 0; border-top: 1px solid var(--line); min-width: 0; }
.fset:first-child { border-top: 0; padding-top: 0; }
.fset > legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 16px; font-size: 17px; font-weight: 700; color: var(--ink); float: left; width: 100%; }
.fset > legend + * { clear: both; }
.fset__n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--midnight-2); color: var(--gold); font-family: var(--serif); font-style: italic; font-size: 14px; }
.fset__hint { font-size: 13.5px; color: var(--ink-3); margin: -6px 0 14px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choice > span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: all .15s; user-select: none; }
.choice > span .ico { color: var(--ink-3); }
.choice > span:hover { border-color: var(--purple-200); color: var(--purple-700); }
.choice input:checked + span { background: var(--purple-50); border-color: var(--purple); color: var(--purple-800); font-weight: 600; box-shadow: inset 0 0 0 1px var(--purple); }
.choice input:checked + span .ico { color: var(--purple); }
.choice input:focus-visible + span { box-shadow: var(--ring); }
.datebox { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
.datebox[hidden] { display: none; }
.counter { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--surface); }
.counter button { width: 44px; height: 44px; border: 0; background: var(--surface-2); cursor: pointer; font-size: 18px; color: var(--ink-2); }
.counter button:hover { background: var(--purple-50); color: var(--purple-700); }
.counter input { width: 56px; height: 44px; border: 0; text-align: center; font: inherit; font-weight: 600; font-size: 16px; -moz-appearance: textfield; }
.counter input::-webkit-outer-spin-button, .counter input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.counters { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.counters .field { flex: none; }
.nextsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.nextsteps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.nextsteps li > i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--serif); font-style: italic; font-weight: 600; background: var(--gold-50); color: var(--gold-700); box-shadow: inset 0 0 0 1px var(--gold-100); }
.nextsteps b { display: block; font-size: 14.5px; color: var(--ink); }
.nextsteps span { font-size: 13.5px; color: var(--ink-2); }
.card--dark .nextsteps b { color: #fff; } .card--dark .nextsteps span { color: #c3b8e8; }
.card--dark .nextsteps li > i { background: rgba(201,164,76,.16); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(201,164,76,.4); }

/* ---------- HOST PAGE ---------- */
.who { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.who__tile { padding: 22px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--sand-2); }
.who__tile h3 { margin: 14px 0 4px; font-size: 16.5px; }
.who__tile p { margin: 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 900px) { .who { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .who { grid-template-columns: minmax(0, 1fr); } }
.duties { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.duty { border-radius: 22px; padding: 26px; }
.duty--you { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.duty--us { background: linear-gradient(160deg, var(--midnight-3) 0%, var(--midnight) 100%); color: #efeafe; box-shadow: inset 0 0 0 1px rgba(201,164,76,.28); }
.duty h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 19px; }
.duty--us h3 { color: #fff; }
.duty ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.duty li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.duty li .ico { flex: none; margin-top: 2px; color: var(--purple); }
.duty--us li .ico { color: var(--neon); }
.duty--us li { color: #d9d1f3; }
@media (max-width: 760px) { .duties { grid-template-columns: minmax(0, 1fr); } }
/* annotated trip-page mock */
.mockwrap { position: relative; max-width: 520px; margin: 0 auto; }
.mock { border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-3); border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--ink-3); }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-3); }
.mock__bar span { margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: var(--surface); flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mock__hero { position: relative; height: 190px; background: var(--midnight-2) center/cover no-repeat; }
.mock__hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,6,32,0) 30%, rgba(13,6,32,.85) 100%); }
.mock__hero > div { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: #fff; }
.mock__hero small { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.mock__hero b { display: block; font-family: var(--display); font-size: 22px; line-height: 1.1; margin-top: 2px; }
.mock__body { padding: 16px; display: grid; gap: 12px; }
.mock__host { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-2); }
.mock__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mock__price { font-family: var(--display); font-size: 22px; font-weight: 700; }
.mock__price small { font-family: var(--font); font-size: 12px; color: var(--ink-3); font-weight: 500; }
.mock__bar2 { height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.mock__bar2 i { display: block; height: 100%; width: 62%; background: linear-gradient(90deg, var(--purple), var(--gold)); border-radius: 999px; }
.pinnote { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--midnight-2); color: #fff; font-size: 12.5px; font-weight: 600; box-shadow: 0 12px 30px -12px rgba(13,6,32,.6); white-space: nowrap; }
.pinnote > i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; background: var(--gold); color: var(--midnight); }
.pinnote--1 { left: -40px; top: 110px; } .pinnote--2 { right: -44px; top: 250px; } .pinnote--3 { left: -30px; bottom: 90px; } .pinnote--4 { right: -36px; bottom: 26px; }
@media (max-width: 760px) { .pinnote { position: static; margin: 6px 6px 0 0; } .pinnotes { display: flex; flex-wrap: wrap; margin-top: 14px; } }
.benefits { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.benefit { padding: 22px; border-radius: 20px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.benefit h3 { margin: 14px 0 6px; font-size: 16.5px; color: #fff; }
.benefit p { margin: 0; font-size: 14px; color: #c3b8e8; }
.benefit__terms { display: inline-block; margin-top: 12px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 1024px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .benefits { grid-template-columns: minmax(0, 1fr); } }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.faq details[open] { box-shadow: inset 0 0 0 1px var(--purple-200), var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; font-size: 15.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { flex: none; transition: transform .2s var(--ease); color: var(--purple); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px; color: var(--ink-2); font-size: 14.5px; }
.hostbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 999px; background: rgba(13,6,32,.94); color: #fff; box-shadow: 0 20px 40px -16px rgba(0,0,0,.6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 14px; }
@media (max-width: 760px) { .hostbar { display: flex; } }
.partner-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 26px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--sand-2); }

/* mobile drawer: three paths as big entries */
.mpaths { display: grid; gap: 8px; margin-bottom: 14px; }
.mpath { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: 16px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none !important; }
.mpath > span:first-child { width: 56px; height: 56px; border-radius: 12px; background: var(--midnight-2) center/cover no-repeat; }
.mpath b { display: block; font-size: 15px; }
.mpath small { color: var(--ink-3); font-size: 12.5px; }
.mpath .ico { color: var(--ink-3); }
.mpath.is-active { box-shadow: inset 0 0 0 1.5px var(--purple); background: var(--purple-25); }

/* footer weave */
.pubfoot > .weave { position: relative; z-index: 1; }
.pubnav .pubnav__sep { width: 1px; height: 18px; background: currentColor; opacity: .25; margin: 0 6px; }

@media (max-width: 1180px) { .pubnav .pubnav__sec { display: none; } }
@media (max-width: 1020px) { .pubhead .pubhead__signin { display: none; } }

/* v7 polish */
.pindot { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: var(--midnight); font-size: 11px; font-weight: 700; font-style: normal; box-shadow: 0 0 0 4px rgba(201,164,76,.22); }
.mock__bar .pindot { margin-left: 4px; }
.mock__host .pindot { margin-left: auto; }
.mock__row .pindot { margin-left: auto; margin-right: 4px; }
.pinlegend { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-top: 18px; }
.pinlegend span { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
figure.quote-card { margin: 0; }
.weave-rule { width: 140px; height: 10px; background-size: 35px 10px; }

/* v7.1: golden-hour photo behind the home hero, tinted into the brand's midnight and purple */
.hero__bg { position: absolute; inset: 0; z-index: -2; background: var(--midnight) center 38% / cover no-repeat; transform-origin: 70% 40%; animation: heroDrift 26s cubic-bezier(.2,.6,.2,1) both; }
.hero__bg::after { content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(55% 70% at 92% 8%, rgba(93,23,235,.26) 0%, rgba(93,23,235,0) 60%),
    linear-gradient(90deg, rgba(13,6,32,.93) 0%, rgba(13,6,32,.8) 32%, rgba(21,10,51,.42) 60%, rgba(21,10,51,.16) 100%),
    linear-gradient(180deg, rgba(13,6,32,.5) 0%, rgba(13,6,32,0) 22%, rgba(13,6,32,.05) 68%, rgba(13,6,32,.9) 100%); }
.hero--home { background-color: var(--midnight); }
@keyframes heroDrift { from { transform: scale(1.14); } to { transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .hero__bg { animation: none; transform: scale(1.03); } }
@media (max-width: 1024px) {
  .hero__bg { background-position: 30% 60%; }
  .hero__bg::after { background:
    radial-gradient(80% 60% at 90% 10%, rgba(93,23,235,.4) 0%, rgba(93,23,235,0) 60%),
    linear-gradient(180deg, rgba(13,6,32,.78) 0%, rgba(13,6,32,.72) 45%, rgba(13,6,32,.55) 70%, rgba(13,6,32,.94) 100%); }
}

/* v7.2 phone polish */
main:focus, main:focus-visible { outline: none; }
@media (max-width: 560px) {
  .pillar { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 14px; padding: 16px; align-items: start; }
  .pillar .icon-badge { width: 40px; height: 40px; border-radius: 12px; grid-row: span 2; }
  .pillar h3 { margin: 2px 0 2px; font-size: 16px; }
  .pillars { gap: 10px; }
}

/* journey pages on phones and tablets: sticky price + action */
.jbar { display: none; }
@media (max-width: 1024px) {
  .jbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 18px; border-radius: 999px; background: rgba(13,6,32,.95); color: #fff; box-shadow: 0 20px 40px -16px rgba(0,0,0,.6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .jbar b { display: block; font-family: var(--display); font-size: 18px; line-height: 1.1; }
  .jbar small { display: block; font-size: 11.5px; color: #c3b8e8; }
  .jbar .btn { flex: none; }
  .pubfoot__legal { padding-bottom: 96px; }
}
.fset__n { font-family: var(--display); font-style: normal; font-size: 14px; font-weight: 700; }
.step-card__n { font-size: 19px; }

/* v8: toggle switch + prefixed input (trip builder landing-page card) */
.switch { position: relative; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.switch__track { flex: none; position: relative; width: 44px; height: 26px; margin-top: 1px; border-radius: 999px; background: var(--line-3); transition: background-color .2s; }
.switch__track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(21,16,43,.3); transition: transform .2s var(--ease); }
.switch input:checked + .switch__track { background: var(--purple); }
.switch input:checked + .switch__track::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__track { box-shadow: var(--ring); }
.switch__text b { display: block; font-size: 14.5px; color: var(--ink); }
.switch__text small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.input-prefix { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.input-prefix > span { display: flex; align-items: center; padding: 0 12px; background: var(--surface-3); color: var(--ink-3); font-size: 13.5px; white-space: nowrap; border-right: 1px solid var(--line-2); }
.input-prefix .input { border: 0; border-radius: 0; min-width: 0; box-shadow: none; }
.input-prefix:focus-within { border-color: var(--purple); box-shadow: var(--ring); }
@media (max-width: 560px) { .input-prefix > span { font-size: 11.5px; padding: 0 8px; } }

/* v9: Trip Enhancements */
.enh-hero { position: relative; border-radius: 24px; overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; background: var(--midnight-2) center 30% / cover no-repeat; isolation: isolate; }
.enh-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,6,32,.92) 0%, rgba(13,6,32,.72) 45%, rgba(13,6,32,.15) 100%); }
.enh-hero__body { padding: 28px; max-width: 560px; color: #fff; }
.enh-hero__body .eyebrow { color: var(--gold); }
.enh-hero__body .h2 { color: #fff; margin: 4px 0 8px; }
.enh-hero__body p { color: #d9d1f3; margin: 0; font-size: 14.5px; }
.enh-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.enh-hero__chips span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.enh-hero__chips .ico { color: var(--gold); }
.enh-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.enh { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.enh:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.enh__top { display: flex; justify-content: space-between; align-items: flex-start; }
.enh__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, var(--midnight-3), var(--purple-800)); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(201,164,76,.35); }
.enh__icon--sm { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.enh__flag { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--midnight); background: var(--gold); padding: 4px 9px; border-radius: 999px; }
.enh__name { margin: 4px 0 0; font-size: 16px; }
.enh__desc { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.enh__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12.5px; color: var(--ink-3); }
.enh__meta span { display: inline-flex; align-items: center; gap: 5px; }
.enh__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.enh__price { font-family: var(--display); font-size: 20px; font-weight: 700; }
.enh__price small { font-family: var(--font); font-size: 12px; font-weight: 500; color: var(--ink-3); }
.excard__icon { width: 120px; height: 96px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(145deg, var(--midnight-3), var(--purple-800)); color: var(--gold); }
@media (max-width: 480px) { .excard__icon { width: 84px; height: 84px; } }
.enh-group-head { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--gold-50); box-shadow: inset 0 0 0 1px var(--gold-100); }
.appt { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.appt--scheduled { background: var(--purple-25); box-shadow: inset 0 0 0 1px var(--purple-100); }
.appt__icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--midnight-2); color: var(--gold); }
.appt__grid { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; color: var(--ink-2); }
.appt__grid span { display: inline-flex; align-items: center; gap: 5px; }
.appt-pill { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 11.5px; font-weight: 600; color: var(--purple-800); background: var(--purple-50); box-shadow: inset 0 0 0 1px var(--purple-100); padding: 3px 9px; border-radius: 999px; }
.enh-admin-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.enh-admin { padding: 16px; }
.enh-admin.is-off { opacity: .55; }
.enh-admin__money { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.enh-admin__money b { display: block; font-size: 14.5px; margin-top: 2px; }
.enh-admin__money .micro { margin: 0; }

.enh-hero .h2 em { color: var(--gold); }

/* ---------- v10: itinerary items (builder, trip page, traveler portal) ---------- */
.itb { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); }
.itb__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.itb-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px; margin-bottom: 6px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.itb-row.is-open { border-color: var(--purple-200); border-radius: var(--radius-sm) var(--radius-sm) 0 0; margin-bottom: 0; }
.itb-row.is-hidden { opacity: .55; }
.itb-row__img { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; color: var(--purple); background: var(--purple-50) center / cover no-repeat; }
.itb-row__main { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.itb-row__main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.itb-row__main:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.itb-row__tags { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.itb-row__btns { display: flex; gap: 2px; }
.itb-form { padding: 14px; margin-bottom: 8px; border: 1px solid var(--purple-200); border-top: 0; border-radius: 0 0 var(--radius-sm) var(--radius-sm); background: var(--purple-25); }
.itb-photo { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.itb-photo__img { flex: none; width: 128px; height: 86px; border-radius: 10px; display: grid; place-items: center; color: var(--ink-4); background: var(--surface-2) center / cover no-repeat; }
.itb__add { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.itb__add button { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: border-color .15s var(--ease), color .15s var(--ease); }
.itb__add button:hover, .itb__add button:focus-visible { border-color: var(--purple); color: var(--purple); }
.itb-lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; max-height: 60vh; overflow: auto; padding: 3px; }
.itb-lib__img { aspect-ratio: 4 / 3; border: 0; border-radius: 10px; cursor: pointer; background: var(--surface-2) center / cover no-repeat; }
.itb-lib__img:hover, .itb-lib__img:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }
.itag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--slate-50); color: var(--ink-3); }
.itag--green { background: var(--green-50); color: var(--green-600); }
.itag--gold { background: var(--gold-50); color: var(--gold-700); }
.itag--muted { background: var(--slate-100); color: var(--ink-4); }
.iti { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.iti__item { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 16px; align-items: start; }
.iti__item--icon { grid-template-columns: 44px minmax(0, 1fr); }
.iti__img { position: relative; overflow: hidden; margin: 0; aspect-ratio: 4 / 3; border-radius: 14px; background: var(--surface-2) center / cover no-repeat; box-shadow: var(--shadow-xs); }
.iti__img figcaption { position: absolute; inset: auto 0 0 0; padding: 18px 9px 7px; font-size: 11px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(12, 6, 30, .7)); }
.iti__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--purple); background: var(--purple-50); }
.iti__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.iti__body .itag { align-self: flex-start; margin-top: 4px; }
.iti__meta { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-700); }
.iti__private { display: grid; gap: 4px; margin-top: 6px; padding: 9px 11px; border-radius: 10px; background: var(--sand); font-size: 13px; }
.iti__private .ico { vertical-align: -2px; color: var(--purple); }
.itp { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.itp__day { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.itp__day:last-child { padding-bottom: 0; border-bottom: 0; }
.itp__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-bottom: 6px; }
.itp__pills { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.itlog { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.itlog li { display: grid; gap: 2px; padding-left: 12px; border-left: 2px solid var(--gold); }
@media (max-width: 560px) {
  .iti__item { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .iti__item--icon { grid-template-columns: 40px minmax(0, 1fr); }
  .itb-row { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .itb-row__tags { display: none; }
  .itp__head { grid-template-columns: auto minmax(0, 1fr); }
  .itp__pills { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ---------- v11: Nina's brand. Her logo centred in the header, video banners, gold script ---------- */
.brand--logo { display: inline-flex; align-items: center; gap: 0; line-height: 0; }
.brand__logo { display: block; width: auto; height: 46px; filter: drop-shadow(0 3px 10px rgba(13, 6, 32, .28)); }
.pubhead__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: center; }
.pubhead__l { display: flex; align-items: center; gap: 4px; min-width: 0; }
.pubhead__right { margin-left: 0; display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }
.pubhead__right .pubnav { margin-right: 4px; }
.pubhead__brand { justify-self: center; }
.pubhead__brand .brand__logo { height: 56px; transition: height .3s var(--ease), margin .3s var(--ease); }
.pubhead:not(.is-solid) .pubhead__brand .brand__logo { height: 84px; margin: 6px 0 -14px; }
.pubhead .pubnav { flex-wrap: nowrap; white-space: nowrap; }
.side__top .brand__logo { height: 44px; }
.pubfoot .brand__logo { height: 76px; }
.drawer .brand__logo { height: 44px; }
@media (max-width: 1320px) { .pubhead .pubnav .pubnav__sec { display: none; } }
@media (max-width: 1180px) { .pubhead .pubnav a { padding: 10px 10px; font-size: 14px; } }
@media (max-width: 1040px) { .pubhead__l .pubnav a:nth-child(n+3) { display: none; } }
@media (max-width: 900px) {
  .pubhead__brand .brand__logo { height: 50px; }
  .pubhead:not(.is-solid) .pubhead__brand .brand__logo { height: 68px; margin: 4px 0 -8px; }
  .pubhead .pubhead__burger { margin-left: -8px; }
}
@media (max-width: 560px) {
  .pubhead__bar { gap: 8px; }
  .pubhead__brand .brand__logo { height: 46px; }
  .pubhead:not(.is-solid) .pubhead__brand .brand__logo { height: 58px; margin: 4px 0 -6px; }
}

/* video banners (screens/media.js): the page photo shows until the reel is actually playing */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; pointer-events: none; transition: opacity 1.2s var(--ease); background: transparent; }
.hero__bg .hero__video { z-index: 0; }
.hero__video.is-on { opacity: 1; }

/* her signature: the emotional word in glowing gold script */
.hero .display em { font-family: 'Allura', 'Playfair Display', cursive; font-style: normal; font-weight: 400; font-size: 1.3em; line-height: .8; letter-spacing: 0; padding: 0 .08em 0 .02em;
  color: #f2c75c; background: linear-gradient(180deg, #fff1c2 0%, #f2c75c 38%, #d9a536 70%, #b07d1c 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: none; filter: drop-shadow(0 2px 16px rgba(228, 173, 54, .45)); }

/* ---------- v12: Nina's live site. The header blends with the page (her rule: no white or different-colour strip at the top) ---------- */
body.is-live { --ribbon-h: 0px; --pubhead-h: var(--header-h); }
.is-live .pubhead__ribbon { display: none; }
.is-live .pubhead.is-solid { color: #fff; background: rgba(16, 7, 36, .9); border-bottom-color: rgba(201, 164, 76, .22); box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .7); }
.is-live .pubhead.is-solid .pubnav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.is-live .pubhead.is-solid .pubhead__signin { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); color: #fff; }
.is-live .pubhead.is-solid .pubhead__signin:hover { border-color: var(--gold); color: #fff; }

/* shared */
.btn--glass { color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px var(--gold); color: #fff; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--purple); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.hlticks { list-style: none; margin: 12px 0 16px; padding: 0; display: grid; gap: 7px; }
.hlticks li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.hlticks .ico { flex: none; margin-top: 3px; color: var(--gold); }

/* hero */
.hero--lhome { min-height: clamp(620px, 96vh, 940px); align-items: center; }
.hero--lhome::before { display: none; }
.hlhero { max-width: 980px; }
.hlhero .lead { max-width: 62ch; }
.hero--lhome .display { font-size: clamp(42px, 6vw, 84px); line-height: 1.04; }
.hero--lhome .lead { font-size: 18.5px; max-width: 60ch; }
.hlhero__host { margin-top: 22px; color: rgba(255, 255, 255, .82); font-size: 15px; }
.hlhero__host a { color: var(--gold); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.hlhero__host a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* how do you want to travel: four large visual cards */
.hlways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.hlway { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-xl); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); color: inherit; text-decoration: none !important; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.hlway:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hlway__img { aspect-ratio: 4 / 3; background: var(--midnight) center / cover no-repeat; }
.hlway__body { position: relative; padding: 26px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hlway__emoji { position: absolute; top: -26px; left: 18px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 2px var(--gold); }
.hlway__body .h3 { margin: 0; }
.hlway__body p { color: var(--ink-3); margin: 0 0 8px; }
.hlway__go { margin-top: auto; color: var(--purple); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* destinations: large cinematic cards */
.hldests { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 16px; margin-top: 8px; }
.hldest { position: relative; display: flex; align-items: flex-end; border-radius: var(--radius-xl); overflow: hidden; color: #fff; text-decoration: none !important; background: var(--midnight-2) center / cover no-repeat; isolation: isolate; transition: transform .3s var(--ease); }
.hldest::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 6, 32, 0) 35%, rgba(13, 6, 32, .88) 100%); }
.hldest:hover { transform: scale(1.015); }
.hldest--big { grid-column: span 2; grid-row: span 2; }
.hldest > div { padding: 20px; }
.hldest h3 { font-family: var(--display); font-size: clamp(22px, 2.4vw, 32px); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 4px; color: #fff; }
.hldest p { margin: 0 0 8px; font-size: 13.5px; color: rgba(255, 255, 255, .86); }
.hldest span { font-size: 13px; font-weight: 600; color: var(--gold); display: inline-flex; align-items: center; gap: 5px; }

/* travel styles */
.hlstyles { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hlstyle { padding: 10px 18px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-weight: 600; font-size: 14px; text-decoration: none !important; transition: box-shadow .15s, color .15s, background .15s; }
.hlstyle:hover { box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--purple-700); background: var(--gold-50); }

/* featured trips + filters */
.hlfilters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; padding: 16px; margin: 6px 0 22px; border-radius: var(--radius); background: var(--surface-2); }
.hlf { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.hlf .select { text-transform: none; letter-spacing: 0; font-weight: 500; }
.ftgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ftcard { display: flex; flex-direction: column; border-radius: var(--radius-xl); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); color: inherit; text-decoration: none !important; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.ftcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ftcard__img { position: relative; aspect-ratio: 16 / 10; background: var(--midnight-2) center / cover no-repeat; }
.ftcard__kind { position: absolute; left: 12px; top: 12px; padding: 4px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: var(--midnight); }
.ftcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ftcard__dest { font-size: 12.5px; color: var(--ink-3); display: flex; align-items: center; gap: 4px; }
.ftcard__name { font-family: var(--display); font-size: 19px; line-height: 1.2; margin: 0; }
.ftcard__meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.ftcard__meta span { display: inline-flex; align-items: center; gap: 5px; }
.ftcard__icons { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 2px; }
.ftcard__icons span { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--purple-25); color: var(--purple); position: relative; }
.ftcard__icons em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ftcard__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.ftcard__foot small { display: block; font-size: 11px; color: var(--ink-3); }
.ftcard__foot b { font-size: 22px; font-family: var(--display); color: var(--ink); }
.ftcard__foot b + small { display: inline; }

/* the Trillionheir experience */
.hlexp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hlexp__card { padding: 26px 22px; border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-xs); display: flex; flex-direction: column; gap: 10px; }
.hlexp__card .h3 { margin: 4px 0 0; }

/* photo experiences */
.hlphoto { position: relative; padding: 96px 0; color: #fff; background: var(--midnight) center / cover no-repeat; isolation: isolate; }
.hlphoto::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 6, 32, .82), rgba(33, 7, 47, .9)); }
.hlphoto .h1 { color: #fff; }
.hlpkgs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 10px; }
.hlpkg { padding: 24px 20px; border-radius: var(--radius-xl); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); display: flex; flex-direction: column; }
.hlpkg h3 { font-family: var(--display); font-size: 21px; margin: 0 0 6px; color: #fff; }
.hlpkg p { color: rgba(255, 255, 255, .8); margin: 0; }
.hlpkg .hlticks li { color: rgba(255, 255, 255, .9); }
.hlpkg--icon { background: linear-gradient(160deg, rgba(105, 32, 131, .75), rgba(217, 165, 57, .35)); box-shadow: inset 0 0 0 1px rgba(217, 165, 57, .6); }
.hlpkg__go { margin-top: auto; color: var(--gold); font-weight: 700; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.hlphoto__note { margin: 22px 0 0; color: rgba(255, 255, 255, .78); font-size: 14px; }

/* experience levels */
.hltiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.hltier { position: relative; padding: 28px 24px; border-radius: var(--radius-xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.hltier .h2 { margin: 4px 0 0; font-size: 24px; }
.hltier--pop { box-shadow: inset 0 0 0 2px var(--purple), var(--shadow); transform: translateY(-6px); }
.hltier--lux { background: linear-gradient(160deg, var(--midnight-3), var(--midnight)); color: #efeafe; box-shadow: inset 0 0 0 1px rgba(217, 165, 57, .55); }
.hltier--lux .h2 { color: #fff; }
.hltier--lux .faint { color: #b9addf; }
.hltier__badge { position: absolute; top: -12px; left: 24px; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--purple); color: #fff; }
.hltier .tiny { margin-top: auto; }

/* upgrades */
.hlups { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x proximity; }
.hlup { flex: none; width: 150px; scroll-snap-align: start; padding: 18px 14px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-xs); display: flex; flex-direction: column; gap: 8px; }
.hlup span { font-size: 26px; line-height: 1; }
.hlup b { font-size: 14px; line-height: 1.3; }

/* host */
.hlhost { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.hlhost__img { min-height: 460px; border-radius: var(--radius-xl); background: var(--midnight-2) center / cover no-repeat; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(217, 165, 57, .35); }
.hlhost .h1 { color: #fff; }
.hlsteps { list-style: none; counter-reset: s; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.hlsteps li { counter-increment: s; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 12px; }
.hlsteps li::before { content: counter(s); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--gold); color: var(--midnight); }
.hlsteps b { color: #fff; }
.hlsteps span { color: #c3b8e8; font-size: 14px; }

/* trip builder */
.hlbuild { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.hlform { display: grid; gap: 16px; }
.hlchips { display: flex; flex-wrap: wrap; gap: 8px; }
.hlchip input { position: absolute; opacity: 0; pointer-events: none; }
.hlchip span { display: inline-block; padding: 8px 15px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s; }
.hlchip input:checked + span { background: var(--purple); color: #fff; box-shadow: none; }
.hlchip input:focus-visible + span { outline: 2px solid var(--purple); outline-offset: 2px; }
.hlchecks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 14px; }

/* pay over time */
.hlpay { list-style: none; margin: 10px auto 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hlpay li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; max-width: 170px; }
.hlpay li b { font-size: 15px; }
.hlpay__arrow { color: var(--gold); }

/* final hero */
.hlfinal { position: relative; padding: 140px 0; color: #fff; background: var(--midnight) center / cover no-repeat; isolation: isolate; }
.hlfinal::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 6, 32, .55), rgba(13, 6, 32, .85)); }
.hlfinal .display { font-size: clamp(38px, 5.6vw, 76px); color: #fff; }
.hlfinal .display em { font-family: 'Allura', 'Playfair Display', cursive; font-style: normal; font-weight: 400; font-size: 1.15em; color: #f2c75c; }
.hlfinal__lines { margin: 18px auto 26px; font-size: 18px; color: rgba(255, 255, 255, .88); }
.hlfinal .lead { color: rgba(255, 255, 255, .85); }

@media (max-width: 1100px) {
  .hlways, .hlpkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hldests { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 210px; }
  .hldest--big { grid-column: span 1; grid-row: span 1; }
  .hlfilters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftgrid, .hlexp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hlhost, .hlbuild { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hlhost__img { min-height: 300px; }
}
@media (max-width: 720px) {
  .hlways, .hlpkgs, .ftgrid, .hlexp, .hltiers, .hldests { grid-template-columns: minmax(0, 1fr); }
  .hldests { grid-auto-rows: 190px; }
  .hlfilters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hltier--pop { transform: none; }
  .hlchecks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hlpay__arrow { display: none !important; }
  .hlphoto, .hlfinal { padding: 72px 0; }
}

/* v12 fixes: gold emphasis on dark photo/tier panels */
.hlphoto .band__head { max-width: none; }
.hlphoto .h1 em, .hltier--lux .h2 em { color: var(--gold); }
.hltier--lux .eyebrow { color: var(--gold); }
.hlpay { align-items: flex-start; }
.hlpay__arrow { margin-top: 12px; }
.pubfoot__important { margin: 0 0 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; line-height: 1.6; color: #9d91c8; max-width: 110ch; }
.pubfoot__important strong { color: #c3b8e8; }

/* v12b: her exact spec. Trip-card labels visible (Accommodation, Transportation...), full live menu on laptops */
.ftcard__icons { gap: 6px 6px; }
.ftcard__icons span { width: auto; height: auto; padding: 5px 9px 5px 7px; display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; }
.ftcard__icons em { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--purple-700); white-space: nowrap; }

/* v14 (Sep 30): live desktop header reaches every page down to 1041px (Nina: "missing all tabs up top for desktop").
   Below that, live keeps the burger drawer (the demo's own 900px burger breakpoint is untouched). */
@media (max-width: 1040px) { .is-live .pubnav, .is-live .pubhead .pubhead__signin { display: none; } .is-live .pubhead .pubhead__burger { display: inline-grid; } }
@media (min-width: 1041px) { .is-live .pubhead .pubnav .pubnav__sec { display: block; } }

/* v13: Group Trips page (live), from her doc */
.gtscript { font-family: 'Allura', 'Playfair Display', cursive; font-style: normal; font-size: 1.5em; color: #f2c75c; }
.gtlines { margin: 14px 0 0; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .9); }
.gtfinder { grid-template-columns: repeat(6, minmax(0, 1fr)) auto; align-items: end; }
.gtfinder__go { height: 44px; white-space: nowrap; }
.gtfeats { display: grid; gap: 22px; }
.gtfeat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: var(--radius-xl); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.gtfeat__img { min-height: 340px; background: var(--midnight-2) center / cover no-repeat; transition: filter .25s; }
.gtfeat__img:hover { filter: brightness(1.06); }
.gtfeat__body { padding: 26px 28px; display: flex; flex-direction: column; gap: 8px; }
.gtfeat__name { font-family: var(--display); font-size: 27px; line-height: 1.15; margin: 0; }
.gtfeat__dest { font-size: 14px; color: var(--ink-3); display: flex; align-items: center; gap: 5px; }
.gtfeat__tags { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--purple-700); }
.gtfeat__cols { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 22px; margin-top: 6px; }
.gtfeat__cols .hlticks { margin: 0; }
.gtfeat__dates { font-weight: 600; font-size: 15px; line-height: 1.6; }
.gtfeat__price { font-family: var(--display); font-size: 28px; font-weight: 700; }
.gtfeat__price small { font-family: var(--sans, inherit); font-size: 13px; font-weight: 500; color: var(--ink-3); }
.gtfeat__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.gtfeat__foot span { display: inline-flex; align-items: center; gap: 6px; }
.gtfeat__foot .btn { margin-left: auto; }
.gtcats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.gtcat { position: relative; min-height: 340px; border-radius: var(--radius-xl); overflow: hidden; display: flex; align-items: flex-end; padding: 20px 18px; color: #fff; text-decoration: none !important; background: var(--midnight-2) center / cover no-repeat; isolation: isolate; box-shadow: inset 0 0 0 1px rgba(217, 165, 57, .25); transition: transform .25s var(--ease); }
.gtcat::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 6, 32, .05) 20%, rgba(13, 6, 32, .9) 78%); }
.gtcat:hover { transform: translateY(-4px); }
.gtcat h3 { font-family: var(--display); font-size: 21px; margin: 0 0 6px; color: #fff; }
.gtcat p { font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .86); margin: 0 0 12px; }
.gtcat span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--gold); }
.gtsub { font-family: var(--display); font-size: 22px; color: #fff; margin: 8px 0 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.gtsub span { font-family: inherit; font-size: 14px; font-weight: 400; color: rgba(255, 255, 255, .75); }
.hlpkgs.gtpkgs3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gtups { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.gtup { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 12px; background: var(--midnight-2) center / cover no-repeat; isolation: isolate; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.gtup::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 6, 32, 0) 30%, rgba(13, 6, 32, .88)); }
.gtup span { font-size: 22px; line-height: 1; }
.gtup b { font-size: 13.5px; line-height: 1.3; color: #fff; }
.gtsolo, .gthost { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.gtocc { display: grid; gap: 10px; }
.gtocc__card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-xs); }
.gtocc__card b { font-size: 16px; }
.gtocc__or { text-align: center; font-family: 'Allura', cursive; font-size: 30px; line-height: 1; color: var(--gold-600); }
.gtsteps { list-style: none; margin: 0 auto; padding: 0; max-width: 880px; display: grid; gap: 0; }
.gtsteps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.gtsteps li:last-child { border-bottom: 0; }
.gtsteps__n { font-family: var(--display); font-size: 34px; font-weight: 700; line-height: 1; background: linear-gradient(135deg, var(--purple), #b04fc9 55%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gtsteps h3 { margin: 0 0 4px; font-size: 19px; }
.gtsteps p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.gtsig { margin: 30px 0 0; font-family: 'Allura', cursive; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; color: var(--gold-600); }
.gtdays { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 16px; scroll-snap-type: x proximity; }
.gtday { flex: none; width: 230px; scroll-snap-align: start; padding: 20px 18px; border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-xs); border-top: 3px solid var(--gold); }
.gtday span { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--purple); }
.gtday h3 { font-family: var(--display); font-size: 20px; margin: 4px 0 8px; }
.gtday p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.gtportal { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
.gtphone { justify-self: center; width: min(300px, 100%); padding: 12px; border-radius: 46px; background: linear-gradient(160deg, #2a1a52, #0d0620); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 1.5px rgba(217, 165, 57, .55); }
.gtphone img { display: block; width: 100%; height: auto; border-radius: 36px; }
.gtportal__list .hlticks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin-bottom: 26px; }
.gtportal__list .hlticks li { color: #efeafe; }
.gtflow { list-style: none; margin: 10px auto 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.gtflow li:not(.gtflow__arrow) { padding: 12px 18px; border-radius: 999px; background: var(--purple-25, #f6f1ff); box-shadow: inset 0 0 0 1px var(--purple-100, #e6dcff); }
.gtflow li b { font-size: 14.5px; }
.gtflow__arrow { color: var(--gold); display: flex; }
@media (max-width: 1180px) {
  .gtfinder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gtcats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gtups { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .gtfeat { grid-template-columns: minmax(0, 1fr); }
  .gtfeat__img { min-height: 230px; }
  .gtsolo, .gthost, .gtportal { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hlpkgs.gtpkgs3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .gtfinder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gtfinder__go { grid-column: 1 / -1; }
  .gtfeat__body { padding: 20px 18px; }
  .gtfeat__cols { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .gtfeat__foot .btn { margin-left: 0; width: 100%; }
  .gtcats { grid-template-columns: minmax(0, 1fr); }
  .gtcat { min-height: 240px; }
  .gtups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gtsteps li { grid-template-columns: 46px minmax(0, 1fr); gap: 12px; }
  .gtsteps__n { font-size: 26px; }
  .gtportal__list .hlticks { grid-template-columns: minmax(0, 1fr); }
  .gtflow__arrow { transform: rotate(90deg); flex-basis: 100%; justify-content: center; }
  .gtflow { flex-direction: column; }
}

.gtfeat__img { position: relative; }
.gtfinder { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gtfinder__go { grid-column: span 2; }
.hlphoto__lead { margin: 12px 0 0; max-width: 70ch; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.gtsub.mt-lg { margin-top: 48px; }
.gtportal .micro { display: block; margin: 24px 0 0; }
.gthost .hlticks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 22px; }
@media (max-width: 720px) {
  .gtfinder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gtfinder__go { grid-column: 1 / -1; }
}
.gtflow { gap: 8px; }
.gtflow li:not(.gtflow__arrow) { padding: 10px 14px; }
.gtflow li b { font-size: 13.5px; }
.gtfeat__soon { font-family: var(--display); font-size: 19px; font-weight: 700; color: var(--purple-700); }
