/* Hi Office — The First Address. Hand-built, no framework. */

/* ---------- Fonts (self-hosted, Vietnamese subsets) ---------- */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 700; font-stretch: 100% 125%; font-display: swap;
  src: url(../fonts/archivo-vi.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 700; font-stretch: 100% 125%; font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2197, U+2212; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/newsreader-i-vi.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/newsreader-i-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

/* ---------- Tokens ---------- */
:root {
  --ivory: #f5f2eb; --paper: #fbf9f4; --sand: #ebe5d8; --stone: #d8cdb9;
  --ink: #1e2132; --ink-2: #4a4e62; --ink-3: #7a7d8c; --line: rgba(30, 33, 50, .13); --line-2: rgba(30, 33, 50, .22);
  --indigo: #2c307e; --indigo-2: #3b409b; --night: #14163c; --night-2: #1c1f55;
  --red: #ed1925; --red-d: #c70f1a; --champ: #b79e79; --champ-d: #8c7553; --champ-l: #e3cfa9; --ok: #23a26b;
  --brass: linear-gradient(135deg, #8c7451 0%, #dcc79f 22%, #b59c72 40%, #f1e3c4 52%, #a99069 72%, #cdb68d 100%);
  --f: 'Archivo', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --pad: clamp(20px, 5.2vw, 84px);
  --maxw: 1400px;
  --header: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .25, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--f); font-size: 16.5px; line-height: 1.6; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--indigo); color: var(--ivory); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.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; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--ivory); padding: 10px 16px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Type ---------- */
.h2 { font-size: clamp(31px, 3.55vw, 58px); line-height: 1.04; letter-spacing: -.032em; font-weight: 580; font-stretch: 116%; text-wrap: balance; }
.lede { font-size: clamp(16px, 1.15vw, 18.5px); line-height: 1.62; color: var(--ink-2); max-width: 36em; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; line-height: 1; font-weight: 640; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 22px; font-stretch: 110%; }
.eyebrow span { color: var(--red); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.eyebrow span::after { content: ''; display: inline-block; width: 26px; height: 1px; background: currentColor; opacity: .5; vertical-align: middle; margin-left: 12px; }
.eyebrow-light { color: rgba(245, 242, 235, .78); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--indigo); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.text-link .ic { transition: transform .35s var(--ease); }
.text-link:hover .ic { transform: translateX(4px); }
.text-link.light { color: var(--champ-l); }
.link-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 560; color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.link-btn:hover { text-decoration-color: currentColor; }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .52em; width: 12px; height: 7px; border-left: 1.75px solid var(--red); border-bottom: 1.75px solid var(--red); transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 24px; border-radius: 2px; font-weight: 620; font-size: 15.5px; font-stretch: 106%; letter-spacing: .005em; white-space: nowrap;
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s; border: 1px solid transparent; }
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-sm { height: 42px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-indigo { background: var(--indigo); color: var(--ivory); box-shadow: 0 12px 28px -14px rgba(44, 48, 126, .8); }
.btn-indigo:hover { background: var(--night-2); }
.btn-ink { background: var(--ink); color: var(--ivory); }
.btn-ink:hover { background: var(--indigo); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 12px 28px -14px rgba(237, 25, 37, .75); }
.btn-red:hover { background: var(--red-d); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--ivory); }
.btn-ghost-light { border-color: rgba(245, 242, 235, .38); color: var(--ivory); }
.btn-ghost-light:hover { background: var(--ivory); color: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 0 var(--pad);
  background: rgba(245, 242, 235, .94); transition: background-color .35s, box-shadow .35s, transform .45s var(--ease); }
.site-header.is-scrolled { background: rgba(245, 242, 235, .97); box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(20, 22, 60, .4); }
.brand img { width: 136px; height: auto; }
.nav { justify-self: center; display: flex; gap: clamp(18px, 2.4vw, 38px); }
.nav a { font-size: 14.5px; font-weight: 540; position: relative; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--indigo); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.admin-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 560; color: var(--ink-2); }
.admin-link .ic { width: 15px; height: 15px; }
.admin-link:hover { color: var(--indigo); }
.menu-call { color: var(--indigo); font-size: 15px; font-weight: 650; }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; }
.menu-btn i { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn i:first-of-type { top: 17px; } .menu-btn i:last-of-type { top: 26px; }
.menu-btn[aria-expanded="true"] i:first-of-type { top: 21.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { top: 21.5px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 64px 0 0; z-index: 59; background: var(--ivory); padding: 24px 24px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  animation: menuIn .45s var(--ease); }
.mobile-menu[hidden] { display: none; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 26px; font-weight: 560; font-stretch: 114%; letter-spacing: -.02em; }
.mobile-menu nav a span { font-size: 12px; color: var(--red); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.mobile-menu-foot { display: grid; gap: 14px; padding-top: 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: max(700px, 100svh); display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto;
  column-gap: 40px; padding: calc(var(--header) + 40px) var(--pad) 0; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.hero-veil { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(245, 242, 235, .95) 0%, rgba(245, 242, 235, .82) 27%, rgba(245, 242, 235, .25) 50%, rgba(245, 242, 235, 0) 62%),
              linear-gradient(0deg, rgba(245, 242, 235, .75) 0, rgba(245, 242, 235, 0) 26%); }
.hero-copy { align-self: center; max-width: 680px; padding: 24px 0 48px; }
.kicker { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 640; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); font-stretch: 110%; }
.kicker .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3.4px var(--indigo); }
.hero h1 { margin: 26px 0 0; font-size: clamp(44px, 5.5vw, 96px); line-height: 1.02; letter-spacing: -.04em; font-weight: 610; font-stretch: 118%; }
.hero h1 .l1, .hero h1 .l2 { display: block; white-space: nowrap; }
.hero h1 .l2 { color: var(--indigo); }
.dot-end { display: inline-block; width: .16em; height: .16em; margin-left: .09em; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 .028em var(--ivory), 0 0 0 .05em var(--indigo); vertical-align: baseline; }
.hero-lead { margin: 28px 0 34px; max-width: 33em; font-size: clamp(16.5px, 1.2vw, 19px); line-height: 1.6; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.plate-card { align-self: end; width: 372px; margin-bottom: 30px; padding: 18px 18px 16px; background: rgba(251, 249, 244, .95); box-shadow: 0 40px 70px -40px rgba(20, 22, 60, .55), 0 0 0 1px rgba(255, 255, 255, .7); }
.plate-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 11px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.plate-head .link-btn { font-size: 12px; letter-spacing: 0; text-transform: none; font-weight: 560; }
.plate-head .ic { width: 14px; height: 14px; }
.plate { position: relative; display: block; padding: 24px 24px 20px; min-height: 134px; border-radius: 2px; background:
  repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 3px), var(--brass);
  box-shadow: inset 0 1px 0 rgba(255, 250, 235, .7), inset 0 -1px 0 rgba(60, 40, 10, .3), 0 14px 22px -14px rgba(70, 48, 14, .7); color: #4b3a20; }
.plate-screw { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff3d8, #8d7550 70%); box-shadow: 0 1px 0 rgba(255, 245, 220, .6); }
.plate-screw:nth-child(1) { left: 8px; top: 8px; } .plate-screw:nth-child(2) { right: 8px; top: 8px; } .plate-screw:nth-child(3) { left: 8px; bottom: 8px; } .plate-screw:nth-child(4) { right: 8px; bottom: 8px; }
.plate-name { display: block; font-size: 18.5px; line-height: 1.18; font-weight: 660; font-stretch: 125%; letter-spacing: .03em; text-transform: uppercase; overflow-wrap: anywhere;
  text-shadow: 0 1px 0 rgba(255, 244, 215, .75), 0 -1px 0 rgba(48, 30, 6, .35); transition: opacity .25s; }
.plate-name.is-placeholder { opacity: .62; }
.plate-rule { display: block; height: 1px; margin: 13px 0 10px; background: rgba(75, 58, 32, .38); box-shadow: 0 1px 0 rgba(255, 244, 215, .55); }
.plate-addr { display: block; font-size: 12.5px; line-height: 1.45; font-weight: 560; letter-spacing: .015em; text-shadow: 0 1px 0 rgba(255, 244, 215, .6); }
.plate-input input { width: 100%; height: 46px; margin-top: 10px; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; font-size: 15px; outline: none; transition: border-color .25s; }
.plate-input input:focus { border-color: var(--indigo); }
.plate-branches { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; min-height: 30px; }
.chip { height: 30px; padding: 0 11px; border: 1px solid var(--line-2); border-radius: 2px; font-size: 12.5px; font-weight: 560; transition: background-color .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

.hero-stats { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(180px, 1fr) 4fr; align-items: center; gap: 24px; margin: 0 calc(var(--pad) * -1); padding: 20px var(--pad);
  background: var(--paper); border-top: 1px solid var(--line); }
.live { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-3); line-height: 1.35; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; position: relative; }
.live-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--ok); animation: ping 2.4s var(--ease) infinite; }
.live.is-offline .live-dot { background: var(--ink-3); } .live.is-offline .live-dot::after { display: none; }
@keyframes ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
.hero-stats dl { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-stats dl > div { padding: 2px 22px; border-left: 1px solid var(--line); }
.hero-stats dt { font-size: 11px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.hero-stats dd { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.hero-stats dd b { font-size: clamp(22px, 2.1vw, 32px); font-weight: 600; font-stretch: 116%; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-stats dd span { font-size: 13px; color: var(--ink-2); }

/* Hero entrance choreography (after the intro or on first load). */
/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Services: mailbox wall ---------- */
.services { background: var(--sand); padding: clamp(80px, 9vw, 136px) 0; }
.services-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: start; }
.services-copy { grid-column: 1 / 6; }
.services-copy .lede { margin-top: 22px; }
.service-detail { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line-2); min-height: 330px; }
.service-no { font-family: var(--serif); font-style: italic; font-size: 64px; line-height: .9; color: var(--champ); }
.service-detail h3 { margin: 14px 0 12px; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; font-weight: 600; font-stretch: 112%; letter-spacing: -.02em; }
.service-detail > p:not(.service-no) { color: var(--ink-2); max-width: 34em; }
.service-detail .ticks { margin: 22px 0 26px; }
.service-detail.is-swap > * { animation: swapIn .55s var(--ease) both; }
.service-detail.is-swap > *:nth-child(2) { animation-delay: .04s; } .service-detail.is-swap > *:nth-child(3) { animation-delay: .08s; } .service-detail.is-swap > *:nth-child(4) { animation-delay: .12s; } .service-detail.is-swap > *:nth-child(5) { animation-delay: .16s; }
@keyframes swapIn { from { opacity: 0; transform: translateY(10px); } }

.mailwall { grid-column: 6 / 13; position: sticky; top: calc(var(--header) + 28px); }
.box.is-open .box-no, .box.is-open .box-name { opacity: 0; transition: opacity .2s; }
.mailwall-frame { padding: clamp(18px, 2.2vw, 30px); background: linear-gradient(160deg, #2b2f6e 0%, #1c1f55 55%, #14163c 100%); box-shadow: 0 50px 80px -50px rgba(20, 22, 60, .8), inset 0 0 0 1px rgba(255, 255, 255, .06); position: relative; }
.mailwall-frame::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(227, 207, 169, .22); pointer-events: none; }
.mailwall-label { margin: 0 0 18px; text-align: center; font-size: 11px; font-weight: 650; letter-spacing: .32em; color: var(--champ-l); opacity: .85; font-stretch: 120%; }
.mailboxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.box { position: relative; aspect-ratio: 4 / 3.8; perspective: 900px; text-align: left; border-radius: 2px;
  background: radial-gradient(ellipse at 50% 30%, #2a2c55 0%, #0d0e26 75%); box-shadow: inset 0 6px 14px rgba(0, 0, 0, .55); }
.box-in { position: absolute; inset: 0; display: grid; place-items: center; color: var(--champ-l); }
.box-in .ic { width: 34px; height: 34px; stroke-width: 1.4; opacity: .35; transition: opacity .6s, transform .8s var(--ease); transform: scale(.85); }
.box-in::before { content: ''; position: absolute; left: 20%; right: 20%; bottom: 14%; height: 34%; background: linear-gradient(#fbf6ea, #e9dfc9); transform: translateY(30%) rotate(-3deg); opacity: 0; transition: opacity .5s .15s, transform .8s .15s var(--ease); box-shadow: 0 6px 10px rgba(0, 0, 0, .35); }
.box-door { position: absolute; inset: 0; display: flex; flex-direction: column; padding: clamp(10px, 1.1vw, 15px); transform-origin: 0 50%; border-radius: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 3px), var(--brass);
  box-shadow: inset 0 0 0 1px rgba(255, 245, 220, .35), inset 0 -2px 0 rgba(60, 40, 10, .25), 0 1px 0 rgba(0, 0, 0, .4);
  transition: transform .85s var(--ease), box-shadow .85s; color: #3e301a; }
.box-no { font-size: clamp(18px, 1.6vw, 24px); font-weight: 650; font-stretch: 122%; line-height: 1; letter-spacing: .01em; text-shadow: 0 1px 0 rgba(255, 244, 215, .7); }
.box-name { margin-top: 6px; font-size: clamp(11px, .9vw, 12.5px); font-weight: 640; line-height: 1.25; letter-spacing: .01em; text-shadow: 0 1px 0 rgba(255, 244, 215, .6); max-width: 12em; }
.box-slot { position: absolute; left: 22%; right: 22%; top: 62%; height: 6px; border-radius: 3px; background: #2a1f10; box-shadow: inset 0 2px 2px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 244, 215, .6); }
.box-key { position: absolute; right: 12px; bottom: 11px; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle, #2a1f10 35%, #9a835c 40%); box-shadow: 0 1px 0 rgba(255, 244, 215, .6); }
.box:hover .box-door { transform: rotateY(-16deg); box-shadow: inset 0 0 0 1px rgba(255, 245, 220, .35), 8px 0 18px rgba(0, 0, 0, .35); }
.box.is-open .box-door { transform: rotateY(-76deg); box-shadow: inset 0 0 0 1px rgba(255, 245, 220, .35), 14px 0 26px rgba(0, 0, 0, .45); }
.box.is-open .box-in .ic { opacity: 1; transform: translateY(-14%) scale(1); }
.box.is-open .box-in::before { opacity: 1; transform: translateY(0) rotate(-3deg); }
.box.is-open::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1.5px var(--red); border-radius: 2px; pointer-events: none; }
.mailwall-note { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

/* ---------- Story ---------- */
.story { position: relative; background: var(--ivory); --night-t: 0; overflow: clip; }
.story-pin { display: grid; grid-template-columns: minmax(360px, 36%) minmax(0, 1fr); height: 100svh; min-height: 660px; }
.story-panel { position: relative; padding: calc(var(--header) + 30px) clamp(24px, 3vw, 52px) 36px var(--pad); display: flex; flex-direction: column; }
.story-time, .story-scenes { margin-top: auto; }
.story-scenes { padding-top: 24px; }
.story .eyebrow-light { color: var(--ink-2); }
.story .h2 { font-size: clamp(30px, 2.7vw, 44px); }
.story-clock { font-size: clamp(60px, 6.4vw, 104px); line-height: .9; font-weight: 520; font-stretch: 125%; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--indigo); transition: color .6s; }
.story-progress { position: relative; height: 2px; background: var(--line); margin: 20px 0 10px; }
.story-progress i { position: absolute; inset: 0; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }
.story-ticks { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.story-ticks li { transition: color .4s; }
.story-ticks li.is-on { color: var(--red); }
.story-scenes { position: relative; min-height: 250px; }
.scene { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .7s var(--ease); pointer-events: none; }
.scene.is-on { opacity: 1; transform: none; pointer-events: auto; }
.scene-time { display: none; }
.scene h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.12; font-weight: 600; font-stretch: 112%; letter-spacing: -.02em; }
.scene p { margin-top: 12px; color: var(--ink-2); max-width: 30em; }
.toast-card { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; padding: 12px 16px 12px 12px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 40px -26px rgba(20, 22, 60, .6); }
.toast-card .ic { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--indigo); color: var(--ivory); stroke-width: 1.8; }
.toast-card b { display: block; font-size: 14px; font-weight: 640; }
.toast-card span { display: block; font-size: 13px; color: var(--ink-3); }

.story-window { position: relative; margin: calc(var(--header) + 10px) var(--pad) 36px 0; overflow: hidden; background: #e9eef5;
  box-shadow: 0 0 0 8px #cdb894, 0 0 0 9px rgba(60, 40, 10, .25), 0 50px 90px -50px rgba(20, 22, 60, .6); }
.sky { position: absolute; inset: 0; }
.sky-l { position: absolute; inset: 0; opacity: 0; }
.sky-l[data-sky="0"] { opacity: 1; background: linear-gradient(180deg, #8fa7d6 0%, #f3c4a7 58%, #fbe3c4 100%); }
.sky-l[data-sky="1"] { background: linear-gradient(180deg, #84b8ea 0%, #cfe3f5 60%, #f7efe1 100%); }
.sky-l[data-sky="2"] { background: linear-gradient(180deg, #5fa3e6 0%, #b9daf4 58%, #f4f1e8 100%); }
.sky-l[data-sky="3"] { background: linear-gradient(180deg, #7aa3d6 0%, #ead2b0 62%, #f3d3a2 100%); }
.sky-l[data-sky="4"] { background: linear-gradient(180deg, #0f1236 0%, #262a6d 46%, #6d4f7c 76%, #e58f68 100%); }
.story-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sun-track { fill: none; stroke: rgba(30, 33, 50, .22); stroke-width: 1.4; stroke-dasharray: 3 7; opacity: calc(1 - var(--night-t) * .6); }
.story.is-night .sun-track { stroke: rgba(245, 242, 235, .3); }
.sun-path { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; opacity: calc(.75 - var(--night-t) * .45); }
.sun { fill: var(--red); }
.cloud { fill: #fff; opacity: calc(.78 - var(--night-t) * .62); }
.city.far { fill: rgba(44, 48, 126, calc(.13 + var(--night-t) * .45)); }
.city.near { fill: rgba(44, 48, 126, calc(.24 + var(--night-t) * .5)); }
.haze { opacity: calc(1 - var(--night-t)); }
.annex-lines { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1; }
.t-side { fill: url(#glassS); }
.t-side-lines { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1; }
.t-fins path { fill: none; stroke: #e2cfa8; stroke-width: 3; }
.t-slabs path { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1; }
.t-windows rect, .annex-lights rect { fill: #ffd38a; opacity: 0; }
.t-dusk { fill: #151a4c; opacity: calc(var(--night-t) * .62); }
.t-streak { opacity: calc(.9 - var(--night-t) * .9); }
.t-crown { fill: none; stroke: #fff1d0; stroke-width: 3; opacity: calc(.2 + var(--night-t) * .8); }
.t-podium-side { fill: #c4ae88; }
.t-canopy { fill: #c8b28c; }
.t-lobby rect { fill: url(#lobbyG); opacity: calc(.42 + var(--night-t) * .58); }
.t-door { fill: #4a3524; }
.t-door-glow { opacity: .4; }
.t-door-split { stroke: rgba(90, 60, 30, .6); stroke-width: 1.2; }
.t-red { fill: var(--red); }
.t-sign { font: 650 8.5px/1 var(--f); letter-spacing: .32em; fill: #6b5532; }
.t-meet rect { fill: #ffe0a6; opacity: 0; }
.trees { fill: #56705f; fill: color-mix(in srgb, #56705f, #10132f calc(var(--night-t) * 70%)); }
.trees rect { fill: #6b5a44; }
.lamps circle { fill: #ffe2a8; opacity: var(--night-t); }
.ground-night { fill: #1a1d4a; opacity: calc(var(--night-t) * .68); }
.reflection { opacity: calc(.85 - var(--night-t) * .35); }
.refl-door { opacity: calc(.15 + var(--night-t) * .5); }
.joints { fill: none; stroke: rgba(110, 86, 52, .16); stroke-width: 1; }
.letter-path { fill: none; stroke: none; }
.letter { opacity: 0; }
.letter rect { fill: #fff; stroke: var(--indigo); stroke-width: 1.6; }
.letter path { fill: none; stroke: var(--indigo); stroke-width: 1.6; }
.guest { opacity: 0; fill: var(--ink); }
.story.is-night .story-window { box-shadow: 0 0 0 8px #b39d76, 0 0 0 9px rgba(0, 0, 0, .3), 0 50px 90px -50px rgba(0, 0, 0, .7); }

/* ---------- Fit ---------- */
.fit { padding: clamp(80px, 9vw, 136px) 0; }
.fit-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: end; }
.fit-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.fit-head .h2 { grid-column: 1 / 8; }
.fit-head .lede { grid-column: 8 / 13; }
.personas { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--ink); }
.personas li { padding: 30px 26px 32px 0; display: flex; flex-direction: column; }
.personas li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.personas .ic { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--sand); color: var(--indigo); stroke-width: 1.6; }
.personas h3 { margin: 22px 0 8px; font-size: 19px; line-height: 1.25; font-weight: 620; font-stretch: 108%; }
.personas p { font-size: 15px; color: var(--ink-2); }
.personas .tag { margin-top: auto; padding-top: 18px; font-size: 11.5px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--champ-d); }
.compare { margin-top: 72px; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.compare caption { caption-side: top; text-align: left; padding-bottom: 18px; font-size: 13px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.compare th, .compare td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 13px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid var(--ink); color: var(--ink-2); }
.compare thead th.col-hi { background: var(--indigo); color: var(--ivory); border-color: var(--indigo); }
.compare tbody th { font-weight: 600; width: 24%; padding-left: 0; }
.compare td.col-hi { background: rgba(44, 48, 126, .055); color: var(--ink); font-weight: 520; }
.compare td { color: var(--ink-2); }
.compare td .ic { display: inline-block; vertical-align: -3px; margin-right: 10px; width: 17px; height: 17px; stroke-width: 2.2; }
.compare .ok { color: var(--indigo); } .compare .no { color: var(--ink-3); }

/* ---------- Locations ---------- */
.locations { position: relative; padding: clamp(80px, 9vw, 136px) 0; background: var(--night-2); color: var(--ivory); overflow: hidden; isolation: isolate; }
.locations::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: radial-gradient(ellipse 60% 50% at 85% 0%, rgba(237, 25, 37, .16), transparent 70%), radial-gradient(ellipse 50% 60% at 0% 100%, rgba(183, 158, 121, .18), transparent 70%); }
.loc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 52px; }
.locations .lede { color: rgba(245, 242, 235, .72); max-width: 26em; }
.loc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.directory { border-top: 1px solid rgba(245, 242, 235, .28); }
.directory li { border-bottom: 1px solid rgba(245, 242, 235, .14); }
.directory .skeleton { height: 96px; background: linear-gradient(90deg, rgba(255, 255, 255, .02) 0%, rgba(255, 255, 255, .08) 50%, rgba(255, 255, 255, .02) 100%); animation: skeletonPulse 1.4s ease-in-out infinite alternate; }
@keyframes skeletonPulse { from { opacity: .35; } to { opacity: 1; } }
.dir-btn { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 24px 0; text-align: left; transition: padding .45s var(--ease); }
.dir-btn:hover { padding-left: 8px; }
.dir-no { font-size: 13px; color: var(--champ-l); font-variant-numeric: tabular-nums; letter-spacing: .06em; align-self: start; padding-top: 7px; }
.dir-name { display: block; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.2; font-weight: 580; font-stretch: 112%; letter-spacing: -.015em; color: rgba(245, 242, 235, .82); transition: color .3s; }
.dir-addr { display: block; margin-top: 4px; font-size: 14px; color: rgba(245, 242, 235, .58); }
.dir-meta { text-align: right; font-size: 13px; color: rgba(245, 242, 235, .7); line-height: 1.35; }
.dir-meta b { display: block; font-size: 15px; color: var(--ivory); font-weight: 620; }
.dir-btn[aria-pressed="true"] .dir-name { color: #fff; }
.dir-btn[aria-pressed="true"] .dir-no { color: var(--red); }
.dir-btn[aria-pressed="true"] .dir-no::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 6px; vertical-align: 1px; }
.dir-summary { margin-top: 36px; padding: 26px; border: 1px solid rgba(245, 242, 235, .14); background: rgba(255, 255, 255, .03); }
.dir-summary-title { font-size: 12px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--champ-l); margin-bottom: 18px; }
.dir-summary .avail { margin-bottom: 20px; }
.dir-summary-note { font-size: 14.5px; color: rgba(245, 242, 235, .72); }
.loc-detail { background: rgba(255, 255, 255, .045); border: 1px solid rgba(245, 242, 235, .14); }
.loc-photo { position: relative; aspect-ratio: 16 / 8.2; overflow: hidden; background: #2a2d63; }
.loc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.loc-detail.is-swap .loc-photo img { animation: photoSwap 1.1s var(--ease); }
@keyframes photoSwap { from { transform: scale(1.06); opacity: .6; } }
.photo-note { position: absolute; left: 14px; bottom: 12px; padding: 4px 9px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: rgba(20, 22, 60, .72); color: var(--ivory); }
.loc-body { padding: clamp(22px, 2.4vw, 34px); }
.loc-code { font-size: 12px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--champ-l); }
.loc-body h3 { margin-top: 8px; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.1; font-weight: 600; font-stretch: 114%; letter-spacing: -.025em; }
.loc-addr { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; color: rgba(245, 242, 235, .78); }
.loc-addr .ic { margin-top: 4px; color: var(--red); }
.loc-specs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px 0; border-top: 1px solid rgba(245, 242, 235, .14); border-bottom: 1px solid rgba(245, 242, 235, .14); }
.loc-specs > div { padding: 12px 0; }
.loc-specs > div + div { padding-left: 16px; border-left: 1px solid rgba(245, 242, 235, .14); }
.loc-specs dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(245, 242, 235, .55); font-weight: 620; }
.loc-specs dd { font-size: 16px; font-weight: 600; margin-top: 2px; }
.avail { display: grid; gap: 12px; margin-bottom: 26px; }
.avail li { display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; gap: 14px; align-items: center; font-size: 14px; }
.avail .bar { height: 4px; background: rgba(245, 242, 235, .14); position: relative; overflow: hidden; }
.avail .bar i { position: absolute; inset: 0; background: var(--champ-l); transform-origin: 0 50%; transform: scaleX(var(--v, 0)); transition: transform 1s var(--ease); }
.avail .num { color: rgba(245, 242, 235, .75); font-variant-numeric: tabular-nums; white-space: nowrap; }
.avail .num b { color: var(--ivory); }
.loc-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.loc-error { margin-top: 24px; color: var(--champ-l); }

/* ---------- Pricing ---------- */
.pricing { padding: clamp(80px, 9vw, 136px) 0; }
.price-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: end; margin-bottom: 52px; }
.price-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.price-head .h2 { grid-column: 1 / 7; }
.price-head .lede { grid-column: 7 / 13; }
.plans { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.plan { display: flex; flex-direction: column; padding: 32px 28px 28px; background: var(--paper); }
.plan h3 { font-size: 14px; font-weight: 680; letter-spacing: .12em; text-transform: uppercase; font-stretch: 112%; }
.plan-price { margin-top: 26px; white-space: nowrap; }
.plan-price small { font-size: 13.5px; color: var(--ink-3); }
.plan-price small:first-child { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.plan-price b { font-size: clamp(28px, 2.4vw, 40px); font-weight: 600; font-stretch: 114%; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; margin-right: 6px; }
.plan-avail { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); min-height: 1.5em; }
.plan .ticks { margin: 26px 0 30px; font-size: 15px; color: var(--ink-2); }
.plan .btn { margin-top: auto; }
.plan-main { background: var(--indigo); color: var(--ivory); position: relative; }
.plan-main::before { content: 'Dịch vụ cốt lõi'; position: absolute; right: 22px; top: 30px; font-size: 11px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--champ-l); }
.plan-main .plan-price small, .plan-main .plan-avail, .plan-main .ticks { color: rgba(245, 242, 235, .78); }
.plan-main .ticks li::before { border-color: var(--champ-l); }
.price-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- Process ---------- */
.process { padding: clamp(72px, 8vw, 120px) 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: end; margin-bottom: 64px; }
.process-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.process-head .h2 { grid-column: 1 / 8; }
.process-head .lede { grid-column: 8 / 13; }
@media (max-width: 1000px) { .process-head { grid-template-columns: 1fr; gap: 20px; } .process-head > * { grid-column: 1 / -1 !important; } }
.steps { position: relative; }
.steps-line { position: absolute; left: 0; right: 0; top: -40px; width: 100%; height: 120px; pointer-events: none; }
.steps-track { fill: none; stroke: var(--line-2); stroke-width: 1.2; stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; }
.steps-draw { fill: none; stroke: var(--red); stroke-width: 2; vector-effect: non-scaling-stroke; }
.steps ol { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step-n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ink); background: var(--paper); font-size: 18px; font-weight: 640; font-stretch: 116%; transition: background-color .5s, color .5s, border-color .5s; }
.steps li.is-in .step-n { background: var(--indigo); color: var(--ivory); border-color: var(--indigo); }
.steps h3 { margin: 22px 0 8px; font-size: 21px; font-weight: 620; font-stretch: 110%; letter-spacing: -.01em; }
.steps p { color: var(--ink-2); max-width: 26em; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(80px, 9vw, 136px) 0; }
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.faq-side { grid-column: 1 / 5; }
.faq-side .lede { margin-top: 22px; }
.faq-list { grid-column: 6 / 13; border-top: 1px solid var(--ink); }
.prep-card { margin-top: 40px; padding: 26px 26px 22px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--indigo); }
.prep-title { display: flex; align-items: center; gap: 10px; font-weight: 640; font-size: 16px; }
.prep-title .ic { color: var(--indigo); }
.prep-card ol { counter-reset: prep; margin: 16px 0 14px; display: grid; gap: 10px; }
.prep-card li { counter-increment: prep; display: grid; grid-template-columns: 26px 1fr; font-size: 15px; color: var(--ink-2); }
.prep-card li::before { content: counter(prep, decimal-leading-zero); font-size: 12px; font-weight: 650; color: var(--red); padding-top: 3px; font-variant-numeric: tabular-nums; }
.prep-note { font-size: 12.5px; color: var(--ink-3); }
.faq-list details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.35; font-weight: 580; font-stretch: 106%; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { width: 20px; height: 20px; transition: transform .45s var(--ease); color: var(--red); }
.faq-list details[open] summary .ic { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--indigo); }
.faq-a p { padding: 0 48px 26px 0; color: var(--ink-2); max-width: 44em; }
.faq-list details::details-content { height: 0; overflow: clip; transition: height .5s var(--ease), content-visibility .5s allow-discrete; }
.faq-list details[open]::details-content { height: auto; }

/* ---------- Contact ---------- */
.contact { padding: clamp(80px, 9vw, 136px) 0; background: var(--sand); }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: start; }
.contact-side { grid-column: 1 / 6; }
.mini-plate { margin: 36px 0 34px; max-width: 360px; padding: 20px 22px; border-radius: 2px; color: #4b3a20;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 3px), var(--brass);
  box-shadow: inset 0 1px 0 rgba(255, 250, 235, .7), 0 14px 22px -14px rgba(70, 48, 14, .7); }
.mini-plate strong { display: block; font-size: 16px; font-weight: 660; font-stretch: 125%; letter-spacing: .03em; text-transform: uppercase; text-shadow: 0 1px 0 rgba(255, 244, 215, .7); overflow-wrap: anywhere; }
.mini-plate span { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(75, 58, 32, .35); font-size: 12.5px; font-weight: 560; }
.next-steps { display: grid; gap: 18px; }
.next-steps li { display: flex; gap: 14px; }
.next-steps .ic { width: 38px; height: 38px; padding: 9px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--indigo); background: var(--paper); }
.next-steps b { display: block; font-weight: 620; }
.next-steps span { color: var(--ink-2); font-size: 15px; }
.contact-direct { margin-top: 28px; color: var(--ink-2); font-size: 15px; }
.contact-direct a { display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; font-weight: 650; color: var(--indigo); text-decoration: none; }
.contact-direct a:hover { text-decoration: underline; }
.contact-direct .ic { width: 18px; height: 18px; }
.foot-contact { display: grid; gap: 10px; margin-top: 20px; font-style: normal; font-size: 14.5px; color: var(--ink-2); max-width: 30em; }
.foot-contact > * { display: flex; align-items: flex-start; gap: 10px; }
.foot-contact .ic { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--indigo); }
.foot-contact a:hover { color: var(--indigo); }
.foot-bottom a { text-decoration: underline; text-underline-offset: 2px; }
.form-wrap { grid-column: 6 / 13; background: var(--paper); padding: clamp(24px, 3vw, 44px); box-shadow: 0 50px 90px -60px rgba(20, 22, 60, .45); border: 1px solid var(--line); }
.lead-form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: 13.5px; font-weight: 620; color: var(--ink); padding: 0; }
.field label i { color: var(--red); font-style: normal; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form input:not([type="radio"]):not([type="checkbox"]), .lead-form select, .lead-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(30, 33, 50, .2); border-radius: 2px; background: #fff; font-size: 16px; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.lead-form select { padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%231e2132' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.lead-form textarea { resize: vertical; min-height: 96px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(44, 48, 126, .14); }
.lead-form [aria-invalid="true"] { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(237, 25, 37, .12) !important; }
.hint { margin-top: -8px; font-size: 13px; color: var(--ink-3); }
.hint.is-error { color: var(--red-d); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 2px; font-size: 14px; font-weight: 560; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; background: #fff; }
.chips input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--indigo); flex: none; }
.form-error { padding: 12px 14px; background: rgba(237, 25, 37, .07); border-left: 3px solid var(--red); color: var(--red-d); font-size: 14.5px; }
.btn[data-submit].is-busy span::after { content: '…'; }
.btn[data-submit].is-busy .ic { animation: fly 1s var(--ease) infinite; }
@keyframes fly { 50% { transform: translate(4px, -4px); opacity: .4; } }
.form-success { text-align: left; padding: 10px 0; outline: none; }
.form-success .ic.big { width: 54px; height: 54px; color: var(--ok); stroke-width: 1.5; }
.form-success .eyebrow { margin: 22px 0 10px; }
.form-success h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; font-weight: 600; font-stretch: 114%; letter-spacing: -.02em; }
.form-success h3 span { color: var(--indigo); font-variant-numeric: tabular-nums; }
.form-success p { margin: 14px 0 26px; color: var(--ink-2); max-width: 32em; }

/* ---------- Eco + footer ---------- */
.eco { background: var(--night); color: var(--ivory); }
.eco-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 26px; }
.eco p { color: rgba(245, 242, 235, .82); }
.eco b { color: #fff; }
.site-footer { padding: 72px 0 0; background: var(--ivory); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 56px; }
.foot-brand img { width: 150px; }
.foot-brand p { margin-top: 16px; color: var(--ink-2); max-width: 22em; }
.site-footer nav, .foot-prefs { display: grid; gap: 10px; align-content: start; }
.site-footer nav p, .foot-prefs p { font-size: 11.5px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.site-footer nav a { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.site-footer nav a .ic { width: 14px; height: 14px; }
.site-footer nav a:hover { color: var(--indigo); }
.foot-prefs .link-btn { justify-self: start; font-size: 15px; text-decoration: none; }
.foot-prefs .link-btn .ic { width: 16px; height: 16px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.foot-bottom a:hover { color: var(--indigo); }

.dock-cta { display: none; }

/* ---------- Entrance ----------
   Pure CSS keyframes on transform/opacity only, so the compositor runs them even while the main thread is
   busy loading the page. Classes on <html> (set inline in <head>): ix-on + ix-full | ix-short. */
.intro { display: none; }
.ix-on .intro { display: block; position: fixed; inset: 0; z-index: 200; background: #0f1236; color: #fff; overflow: hidden; contain: strict;
  animation: ixOut .5s 4.2s cubic-bezier(.65, 0, .35, 1) forwards; }
.ix-on.ix-short .intro { animation-delay: 1.85s; }
.ix { position: absolute; inset: 0; overflow: hidden; --u: min(1vh, 1.2vw); --tw: calc(var(--u) * 22); --th: calc(var(--u) * 58); --td: calc(var(--u) * 15);
  --pw: calc(var(--u) * 32); --ph: calc(var(--u) * 8.4); --pd: calc(var(--u) * 24); }
@media (orientation: portrait) { .ix { --u: min(.92vh, 1.75vw); } }
.ix i { display: block; }
.ix-sky, .ix-sky-day { position: absolute; inset: 0; }
.ix-sky { background: linear-gradient(180deg, #0f1236 0%, #2a2f6e 40%, #7a5a83 68%, #d99178 86%, #f1b88f 100%); }
.ix-sky-day { opacity: 0; background: linear-gradient(180deg, #4f8ad6 0%, #93bfea 32%, #f5d3b2 66%, #ffd49c 82%, #fff0d4 100%); }
.ix-sun { position: absolute; left: 31%; top: 70%; width: calc(var(--u) * 12); height: calc(var(--u) * 12); transform: translate(-50%, -50%); }
.ix-sun::before { content: ''; position: absolute; inset: -260%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 130, 90, .55) 0%, rgba(255, 170, 110, .22) 30%, rgba(255, 190, 130, 0) 62%); }
.ix-sun i { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 38% 36%, #ff7a62 0%, #ed1925 58%, #c10e18 100%); box-shadow: 0 0 calc(var(--u) * 4) rgba(255, 90, 60, .55); }
.ix-city { position: absolute; left: 0; bottom: 17.4%; width: 100%; height: 24%; transform-origin: 60% 100%; }
.ix-city .far { fill: rgba(40, 44, 110, .38); }
.ix-city .near { fill: rgba(26, 29, 80, .62); }
.ix-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 17.6%; background: linear-gradient(180deg, #b49e7d 0%, #9a8566 40%, #7a6750 100%); }
.ix-floor::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 236, 205, .55) 0%, rgba(255, 236, 205, 0) 60%); }
.ix-world { position: absolute; left: 60%; bottom: 17.6%; width: 0; height: 0; perspective: calc(var(--u) * 150); perspective-origin: 0 calc(var(--u) * -34);
  transform-origin: calc(var(--u) * -6.4) calc(var(--u) * -3.2); }
@media (orientation: portrait) { .ix-world { left: 54%; } .ix-sun { left: 24%; } }
.ix-pool { position: absolute; left: calc(var(--u) * -34); top: calc(var(--u) * -3); width: calc(var(--u) * 68); height: calc(var(--u) * 10); border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 216, 150, .75), rgba(255, 216, 150, 0) 68%); opacity: 0; }
.ix-tower { position: absolute; bottom: 0; left: calc(var(--tw) / -2); width: var(--tw); height: var(--th); transform-style: preserve-3d; transform: rotateX(-4deg) rotateY(-46deg); }
.ix-face { position: absolute; overflow: hidden; }
.ix-front { inset: 0; transform: translateZ(calc(var(--td) / 2));
  background: repeating-linear-gradient(90deg, rgba(236, 219, 186, .95) 0 calc(var(--u) * .34), transparent calc(var(--u) * .34) calc(var(--tw) / 7)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .4) 0 1px, transparent 1px calc(var(--th) / 18)),
    linear-gradient(196deg, #e4f1ff 0%, #a8c9ee 30%, #f3cba8 64%, #f6a57f 100%); }
.ix-side { top: 0; height: 100%; width: var(--td); left: calc((var(--tw) - var(--td)) / 2); transform: rotateY(90deg) translateZ(calc(var(--tw) / 2));
  background: repeating-linear-gradient(90deg, rgba(214, 196, 160, .9) 0 calc(var(--u) * .3), transparent calc(var(--u) * .3) calc(var(--td) / 5)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .18) 0 1px, transparent 1px calc(var(--th) / 18)),
    linear-gradient(180deg, #6a78bf 0%, #3a3f96 55%, #2c307e 100%); }
.ix-top { left: 0; width: var(--tw); height: var(--td); top: calc(var(--td) / -2); transform: rotateX(90deg); background: #cdb894; }
.ix-night { position: absolute; inset: 0; background: rgba(12, 14, 46, .66); }
.ix-lit { position: absolute; inset: 0; display: flex; flex-direction: column; }
.ix-lit i { flex: 1; margin: calc(var(--u) * .32) 0; opacity: 0;
  background: repeating-linear-gradient(90deg, transparent 0 calc(var(--u) * .5), rgba(255, 214, 142, .95) calc(var(--u) * .5) calc(var(--tw) / 7 - var(--u) * .2), transparent calc(var(--tw) / 7 - var(--u) * .2) calc(var(--tw) / 7)); }
.ix-side .ix-lit i { background: repeating-linear-gradient(90deg, transparent 0 calc(var(--u) * .4), rgba(255, 205, 128, .85) calc(var(--u) * .4) calc(var(--td) / 5 - var(--u) * .2), transparent calc(var(--td) / 5 - var(--u) * .2) calc(var(--td) / 5)); }
.ix-lit i:nth-child(3n) { background-size: 70% 100%; background-repeat: no-repeat; }
.ix-lit i:nth-child(5n+1) { background-position: 40% 0; background-size: 60% 100%; background-repeat: no-repeat; }
.ix-crown { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--u) * .45); background: #fff3d8; box-shadow: 0 0 calc(var(--u) * 2) calc(var(--u) * .4) rgba(255, 222, 160, .95); opacity: 0; }
.ix-podium { position: absolute; bottom: 0; left: calc((var(--tw) - var(--pw)) / 2); width: var(--pw); height: var(--ph); transform-style: preserve-3d; }
.ix-pf { position: absolute; }
.ix-pfront { inset: 0; transform: translateZ(calc(var(--pd) / 2)); background: repeating-linear-gradient(180deg, rgba(120, 90, 50, .1) 0 1px, transparent 1px calc(var(--u) * 1.4)), linear-gradient(180deg, #f1e5d0 0%, #ddcbab 100%); }
.ix-pfront::after { content: ''; position: absolute; left: calc(50% - var(--u) * 5.2); bottom: 0; width: calc(var(--u) * .9); height: calc(var(--u) * 6); background: var(--red); }
.ix-pside { top: 0; height: 100%; width: var(--pd); left: calc((var(--pw) - var(--pd)) / 2); transform: rotateY(90deg) translateZ(calc(var(--pw) / 2)); background: linear-gradient(180deg, #cdb995 0%, #b39b74 100%); }
.ix-ptop { left: 0; width: var(--pw); height: var(--pd); top: calc(var(--pd) / -2); transform: rotateX(90deg); background: #e7dac2; }
.ix-entry { position: absolute; left: 50%; bottom: 0; width: calc(var(--u) * 7.4); height: calc(var(--u) * 6); transform: translateX(-50%); background: linear-gradient(180deg, #3b2a1d, #6e4b2c); box-shadow: 0 0 0 calc(var(--u) * .35) #f3e2c1; overflow: hidden; }
.ix-entry-glow { position: absolute; inset: 0; opacity: 0; background: radial-gradient(ellipse at 50% 100%, #fff6e2 0%, #ffcf86 40%, rgba(255, 160, 80, 0) 80%); }
.ix-sign { position: absolute; left: 50%; top: calc(var(--u) * .8); width: calc(var(--u) * 8.6); transform: translateX(-50%); }
.ix-sign img { width: 100%; }

.ix-door { position: absolute; inset: 0; opacity: 0; background: linear-gradient(180deg, #d2bf9f 0%, #e2d3ba 42%, #cdb998 70%, #a8946f 100%); }
.ix-portal { position: absolute; left: 50%; top: 50%; width: max(100vw, 177.78vh); height: max(100vh, 56.25vw); transform: translate(-50%, -50%); perspective: 1800px; --dl: 32.8%; --dt: 10.2%; --dw: 34.4%; --dh: 71.3%; }
@media (orientation: portrait) { .ix-portal { width: 262vw; height: 147.4vw; } }
.ix-portal picture, .ix-portal-img { width: 100%; height: 100%; }
.ix-portal::before, .ix-portal::after { content: ''; position: absolute; left: 0; right: 0; height: 22%; z-index: 2; pointer-events: none; }
.ix-portal::before { top: -1px; background: linear-gradient(180deg, #d2bf9f, rgba(210, 191, 159, 0)); }
.ix-portal::after { bottom: -1px; background: linear-gradient(0deg, #a8946f, rgba(168, 148, 111, 0)); }
@media (orientation: landscape) { .ix-portal::before, .ix-portal::after { display: none; } }
.ix-inside { position: absolute; left: var(--dl); top: var(--dt); width: var(--dw); height: var(--dh); overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 50% 72%, #fffaf0 0%, #ffe2b4 30%, #f0b77b 62%, #8a5a34 100%); }
.ix-inside i { position: absolute; inset: 0; opacity: .5; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 9%, rgba(255, 255, 255, .45) 9% 9.6%, rgba(255, 255, 255, 0) 9.6% 19%); }
/* Door leaves reuse the exact photo the <picture> above picked (same media breakpoints), so there is one download. */
.ix-leaf { position: absolute; top: var(--dt); height: var(--dh); width: calc(var(--dw) / 2); overflow: hidden; background-color: #4a5aa0; background-repeat: no-repeat; background-size: 581.4% 140.25%;
  background-image: url(../img/portal-1920.webp); background-image: image-set(url(../img/portal-1920.avif) type("image/avif"), url(../img/portal-1920.webp) type("image/webp")); }
@media (max-width: 1400px) { .ix-leaf { background-image: url(../img/portal-1440.webp); background-image: image-set(url(../img/portal-1440.avif) type("image/avif"), url(../img/portal-1440.webp) type("image/webp")); } }
@media (max-width: 760px) { .ix-leaf { background-image: url(../img/portal-960.webp); background-image: image-set(url(../img/portal-960.avif) type("image/avif"), url(../img/portal-960.webp) type("image/webp")); } }
.ix-leaf-l { left: var(--dl); transform-origin: 0 50%; background-position: 39.61% 35.54%; }
.ix-leaf-r { left: 50%; transform-origin: 100% 50%; background-position: 60.39% 35.54%; }
.ix-leaf img { position: absolute; top: 44%; width: 116%; opacity: .9; }
.ix-leaf-l img { left: 42%; } .ix-leaf-r img { left: -58%; }
.ix-led { position: absolute; left: calc(var(--dl) - .45%); top: calc(var(--dt) - .8%); width: calc(var(--dw) + .9%); height: calc(var(--dh) + .8%); border: 2px solid rgba(255, 238, 205, .98); opacity: 0;
  box-shadow: 0 0 22px 5px rgba(255, 214, 150, .8), inset 0 0 22px 3px rgba(255, 214, 150, .65); }
.ix-mist { position: absolute; inset: 0; pointer-events: none; }
.ix-mist i { position: absolute; left: -15%; width: 130%; height: 70%; opacity: 0;
  background: radial-gradient(ellipse 30% 46% at 22% 52%, rgba(255, 252, 246, .96), rgba(255, 250, 242, 0) 70%), radial-gradient(ellipse 34% 50% at 55% 46%, rgba(255, 250, 244, .92), rgba(255, 249, 240, 0) 72%), radial-gradient(ellipse 30% 44% at 84% 56%, rgba(255, 252, 246, .95), rgba(255, 250, 242, 0) 70%); }
.ix-mist .m1 { top: -6%; } .ix-mist .m2 { top: 22%; } .ix-mist .m3 { top: 48%; }
.ix-flood { position: absolute; inset: 0; opacity: 0; background: radial-gradient(ellipse at 50% 56%, #fffaf1 0%, #ffedd2 42%, #f5ddb9 100%); }
.ix-ui { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.ix-caption { position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(26px, 4vh, 40px); height: 1.2em; width: min(70vw, 420px); font-size: 12px; font-weight: 650; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 12px rgba(0, 0, 0, .35); font-stretch: 116%; }
.ix-caption span { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; }
.ix-skip { pointer-events: auto; position: absolute; right: clamp(16px, 3vw, 36px); bottom: clamp(18px, 3.4vh, 32px); display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .55); background: rgba(14, 16, 48, .28); color: #fff; font-size: 14px; font-weight: 620; transition: background-color .3s, color .3s; }
.ix-skip:hover { background: #fff; color: var(--ink); }
.ix-skip:focus-visible { outline: 1px solid rgba(255, 255, 255, .8); outline-offset: 4px; }
@media (max-width: 600px) { .ix-caption { bottom: calc(clamp(18px, 3.4vh, 32px) + 62px); left: 20px; } }
.ix-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .15); }
.ix-progress i { height: 100%; background: linear-gradient(90deg, var(--champ-l), #fff); transform-origin: 0 50%; transform: scaleX(0); }

/* Layers that move are rasterised once and then only transformed by the GPU. */
.ix-on .ix-world, .ix-on .ix-portal { will-change: transform; }
.ix-on .ix-mist i { will-change: transform, opacity; }
.ix-on .ix-door, .ix-on .ix-flood, .ix-on .ix-sky-day { will-change: opacity; }

/* --- Full sequence (~4.7s): dawn, floors light up, orbit, dive through mist, glass door opens --- */
.ix-full .ix-sky-day { animation: ixFadeIn 1.4s ease-in-out both; }
.ix-full .ix-sun { animation: ixSunRise 1.7s cubic-bezier(.2, .7, .3, 1) both, ixFadeHide .86s 1.52s ease-in forwards; }
.ix-full .ix-night { animation: ixFadeOut 1.2s .12s ease-in-out forwards; }
.ix-full .ix-front .ix-lit i { animation: ixFadeIn .2s calc(.3s + var(--i) * .042s) ease-out both; }
.ix-full .ix-side .ix-lit i { animation: ixFadeIn .2s calc(.36s + var(--i) * .042s) ease-out both; }
.ix-full .ix-tower { animation: ixOrbit 1.9s ease-in-out both; }
.ix-full .ix-crown { animation: ixFadeIn .3s 1.1s ease-out both; }
.ix-full .ix-pool { animation: ixFadeIn .6s 1s ease-out both; }
.ix-full .ix-entry-glow { animation: ixFadeIn .4s 1.2s ease-out both; }
.ix-full .ix-world { animation: ixDive .86s 1.52s cubic-bezier(.55, 0, 1, .45) forwards; }
.ix-full .ix-city { animation: ixCity .86s 1.52s cubic-bezier(.55, 0, 1, .45) forwards; }
.ix-full .ix-mist .m1 { animation: ixMistL 1.55s 1.72s both; }
.ix-full .ix-mist .m2 { animation: ixMistR 1.55s 1.76s both; }
.ix-full .ix-mist .m3 { animation: ixMistL 1.6s 1.8s both; }
.ix-full .ix-door { animation: ixShow .01s 2.38s forwards; }
.ix-full .ix-portal { animation: ixPortalFull 2.2s 2.38s linear both; }
.ix-full .ix-led { animation: ixLed .4s 2.72s linear both; }
.ix-full .ix-leaf-l { animation: ixLeafL 1.05s 3.08s cubic-bezier(.65, 0, .35, 1) both; }
.ix-full .ix-leaf-r { animation: ixLeafR 1.05s 3.15s cubic-bezier(.65, 0, .35, 1) both; }
.ix-full .ix-leaf img { animation: ixFadeOut .5s 3.34s ease-in forwards; }
.ix-full .ix-inside i { animation: ixFadeTo1 .8s 3.17s ease-out forwards; }
.ix-full .ix-flood { animation: ixFadeIn .6s 3.67s ease-in both; }
.ix-full .ix-caption .c0 { animation: ixCap .45s 0s both; }
.ix-full .ix-caption .c1 { animation: ixCap 1.95s .5s both; }
.ix-full .ix-caption .c2 { animation: ixCap 1.05s 2.5s both; }
.ix-full .ix-caption .c3 { animation: ixCapStay .5s 3.6s both; }
.ix-full .ix-progress i { animation: ixProgress 4.7s linear both; }

/* --- Short sequence (~2.3s) for phones, weak PCs, Save-Data and reduced motion: only the door --- */
.ix-short .ix-world, .ix-short .ix-city, .ix-short .ix-sun, .ix-short .ix-floor, .ix-short .ix-sky-day, .ix-short .ix-mist { display: none; }
.ix-short .ix-door { opacity: 1; }
.ix-short .ix-portal { animation: ixPortalShort 1.9s linear both; }
.ix-short .ix-led { animation: ixLed .4s .2s linear both; }
.ix-short .ix-leaf-l { animation: ixLeafL .9s .55s cubic-bezier(.65, 0, .35, 1) both; }
.ix-short .ix-leaf-r { animation: ixLeafR .9s .62s cubic-bezier(.65, 0, .35, 1) both; }
.ix-short .ix-leaf img { animation: ixFadeOut .45s .75s ease-in forwards; }
.ix-short .ix-inside i { animation: ixFadeTo1 .6s .6s ease-out forwards; }
.ix-short .ix-flood { animation: ixFadeIn .5s 1.3s ease-in both; }
.ix-short .ix-caption .c2 { animation: ixCap 1.2s 0s both; }
.ix-short .ix-caption .c3 { animation: ixCapStay .4s 1.25s both; }
.ix-short .ix-progress i { animation: ixProgress 2.3s linear both; }

/* Short sequence waits (max 1.5s) for the door photo so the doors never open on a blank frame. */
.ix-wait .intro, .ix-wait .intro *, .ix-wait .intro *::before, .ix-wait [data-hero], .ix-wait .hero-media img { animation-play-state: paused !important; }

/* Hero arrives while the overlay fades out. */
.ix-on { --hs: 4.25s; } .ix-on.ix-short { --hs: 1.9s; }
.ix-on [data-hero] { animation: ixHeroIn 1s calc(var(--hs) + var(--k, 0s)) cubic-bezier(.2, .7, .1, 1) both; }
.ix-on .hero-copy [data-hero]:nth-child(2) { --k: .08s; } .ix-on .hero-copy [data-hero]:nth-child(3) { --k: .16s; } .ix-on .hero-copy [data-hero]:nth-child(4) { --k: .24s; } .ix-on .plate-card { --k: .32s; }
.ix-on .hero-media img { animation: ixHeroImg 2.2s var(--hs) cubic-bezier(.2, .7, .1, 1) both; }

@keyframes ixOut { to { opacity: 0; } }
@keyframes ixFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ixFadeOut { to { opacity: 0; } }
@keyframes ixFadeTo1 { to { opacity: 1; } }
@keyframes ixFadeHide { 0% { opacity: 1; } 99% { opacity: .2; } 100% { opacity: 0; } }
@keyframes ixShow { to { opacity: 1; } }
@keyframes ixSunRise { from { transform: translate(-50%, calc(-50% + 12vh)); } to { transform: translate(-50%, calc(-50% - 20vh)); } }
@keyframes ixOrbit { from { transform: rotateX(-4deg) rotateY(-46deg); } to { transform: rotateX(-4deg) rotateY(-30deg); } }
@keyframes ixDive { 0% { transform: scale(1); opacity: 1; } 99% { transform: scale(3.9); opacity: 1; } 100% { transform: scale(3.9); opacity: 0; } }
@keyframes ixCity { 0% { transform: scale(1) translateY(0); opacity: 1; } 99% { transform: scale(1.32) translateY(9%); opacity: .4; } 100% { transform: scale(1.32) translateY(9%); opacity: 0; } }
@keyframes ixMistL { 0% { opacity: 0; transform: translateX(-30%) scale(1); animation-timing-function: cubic-bezier(.39, .58, .57, 1); } 45% { opacity: 1; transform: translateX(0) scale(1); animation-timing-function: ease-in-out; } 100% { opacity: 0; transform: translateX(-40%) scale(1.4); } }
@keyframes ixMistR { 0% { opacity: 0; transform: translateX(28%) scale(1); animation-timing-function: cubic-bezier(.39, .58, .57, 1); } 45% { opacity: 1; transform: translateX(0) scale(1); animation-timing-function: ease-in-out; } 100% { opacity: 0; transform: translateX(36%) scale(1.4); } }
@keyframes ixPortalFull {
  0% { transform: translate(-50%, -50%) scale(1.2); animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
  45% { transform: translate(-50%, -50%) scale(1); }
  63% { transform: translate(-50%, -50%) scale(1); animation-timing-function: cubic-bezier(.5, 0, .9, .5); }
  100% { transform: translate(-50%, -50%) scale(1.6); } }
@keyframes ixPortalShort {
  0% { transform: translate(-50%, -50%) scale(1.08); animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
  42% { transform: translate(-50%, -50%) scale(1); }
  58% { transform: translate(-50%, -50%) scale(1); animation-timing-function: cubic-bezier(.5, 0, .9, .5); }
  100% { transform: translate(-50%, -50%) scale(1.5); } }
@keyframes ixLed { 0% { opacity: 0; } 20% { opacity: .7; } 38% { opacity: .15; } 100% { opacity: 1; } }
@keyframes ixLeafL { from { transform: rotateY(0); } to { transform: rotateY(-84deg); } }
@keyframes ixLeafR { from { transform: rotateY(0); } to { transform: rotateY(84deg); } }
@keyframes ixCap { 0% { opacity: 0; transform: translateY(6px); } 20%, 80% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes ixCapStay { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ixProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ixHeroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ixHeroImg { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .admin-link span { display: none; }
  .plate-card { width: 330px; }
  .plans { grid-template-columns: 1fr 1fr; }
  .personas { grid-template-columns: 1fr 1fr; }
  .personas li:nth-child(3) { padding-left: 0; border-left: 0; }
  .personas li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 1000px) {
  :root { --header: 64px; }
  .nav, .header-actions .btn, .header-actions > .admin-link { display: none; }
  .menu-btn { display: block; }
  .site-header { background: rgba(245, 242, 235, .96); box-shadow: 0 1px 0 var(--line); grid-template-columns: auto 1fr auto; }
  .header-actions { justify-self: end; }
  .brand img { width: 118px; }
  .services-grid, .fit-head, .price-head, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .services-copy, .mailwall, .fit-head .h2, .fit-head .lede, .price-head .h2, .price-head .lede, .faq-side, .faq-list, .contact-side, .form-wrap { grid-column: 1 / -1; }
  .service-detail { min-height: 0; }
  .mailwall { position: relative; top: auto; }
  .services-copy { display: contents; }
  .services-copy .eyebrow { order: 0; } .services-copy .h2 { order: 1; } .services-copy .lede { order: 2; margin-top: 0; }
  .mailwall { order: 3; } .service-detail { order: 4; margin-top: 8px; }
  .loc-grid { grid-template-columns: 1fr; }
  .loc-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .story-pin { display: flex; flex-direction: column; height: auto; min-height: 0; }
  .story .story-panel { display: contents; }
  .story .story-panel > .eyebrow, .story .story-panel > .h2 { padding-inline: var(--pad); }
  .story .story-panel > .eyebrow { padding-top: 76px; }
  .story-time { display: none; }
  .story-window { order: 2; position: sticky; top: var(--header); z-index: 2; height: 40svh; min-height: 230px; max-height: 420px; margin: 28px 0 0; box-shadow: 0 1px 0 var(--line); }
  .story-scenes { order: 3; min-height: 0; padding: 8px var(--pad) 72px; display: grid; }
  .scene { position: relative; opacity: 1; transform: none; pointer-events: auto; padding: 34px 0 30px; border-bottom: 1px solid var(--line); }
  .scene:last-child { border-bottom: 0; }
  .scene-time { display: block; font-size: 13px; font-weight: 650; letter-spacing: .14em; color: var(--red); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
  .steps-line { display: none; }
  .steps ol { grid-template-columns: 1fr; gap: 0; border-left: 1px solid var(--line-2); margin-left: 26px; }
  .steps li { padding: 0 0 34px 34px; position: relative; }
  .steps .step-n { position: absolute; left: -26px; top: -4px; }
  .steps h3 { margin-top: 6px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { display: block; padding: 0; min-height: 0; }
  .hero-media { position: absolute; top: 0; left: 0; right: 0; bottom: auto; height: 100svh; max-height: 900px; }
  .hero-media img { object-position: 50% 40%; }
  .hero-veil { bottom: auto; height: 100svh; max-height: 900px; background: linear-gradient(0deg, rgba(14, 16, 44, .9) 0%, rgba(14, 16, 44, .62) 38%, rgba(14, 16, 44, .05) 66%), linear-gradient(180deg, rgba(14, 16, 44, .25), rgba(14, 16, 44, 0) 22%); }
  .hero-copy { min-height: 100svh; max-height: 900px; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header) + 24px) 24px 34px; color: var(--ivory); max-width: none; }
  .kicker { color: rgba(245, 242, 235, .85); }
  .kicker .dot { box-shadow: 0 0 0 2px rgba(14, 16, 44, .6), 0 0 0 3.4px var(--champ-l); }
  .hero h1 { margin-top: 16px; font-size: clamp(40px, 12.4vw, 60px); line-height: 1.02; font-stretch: 112%; }
  .hero h1 .l2 { color: var(--champ-l); }
  .dot-end { box-shadow: none; }
  .hero-lead { margin: 18px 0 24px; color: rgba(245, 242, 235, .84); font-size: 16px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-cta .btn-indigo { background: var(--ivory); color: var(--ink); box-shadow: none; }
  .hero-cta .btn-line { border-color: rgba(245, 242, 235, .6); color: var(--ivory); }
  .plate-card { width: auto; margin: 0; padding: 28px 24px 26px; background: var(--sand); box-shadow: none; }
  .hero-stats { margin: 0; padding: 22px 24px 26px; grid-template-columns: 1fr; gap: 14px; }
  .hero-stats dl { grid-template-columns: 1fr 1fr; gap: 0; }
  .hero-stats dl > div { padding: 12px 14px 12px 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero-stats dl > div:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
  .mailboxes { grid-template-columns: repeat(2, 1fr); }
  .box { aspect-ratio: 4 / 3; }
  .field-row { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan-main::before { position: static; display: block; margin-bottom: 10px; }
  .personas { grid-template-columns: 1fr; }
  .personas li, .personas li + li { padding: 24px 0; border-left: 0; }
  .personas li + li { border-top: 1px solid var(--line); }
  .compare table, .compare tbody, .compare thead, .compare tr, .compare caption { display: block; }
  .compare caption { width: auto; line-height: 1.5; }
  .foot-prefs .link-btn { text-align: left; }
  .compare thead tr { display: grid; grid-template-columns: 1fr 1fr; }
  .compare thead th:first-child { display: none; }
  .compare thead th { padding: 12px 12px; font-size: 11.5px; }
  .compare tbody tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
  .compare tbody th { grid-column: 1 / -1; width: auto; padding: 16px 0 6px; border: 0; }
  .compare td { padding: 6px 12px 16px; border: 0; font-size: 14px; }
  .compare td .ic { display: block; margin: 0 0 6px; }
  .avail li { grid-template-columns: 104px minmax(0, 1fr); }
  .avail .num { grid-column: 1 / -1; margin-top: -6px; }
  .loc-specs dd { font-size: 14.5px; }
  .eco-in { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .dock-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 55; display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 20px;
    background: var(--ink); color: var(--ivory); font-weight: 620; box-shadow: 0 20px 40px -18px rgba(14, 16, 44, .7); transform: translateY(160%); transition: transform .5s var(--ease); }
  .dock-cta.is-shown { transform: none; }
  .site-footer { padding-bottom: 80px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 38px; }
  .chips span { padding: 0 11px; font-size: 13.5px; }
  .loc-specs { grid-template-columns: 1fr 1fr; } .loc-specs > div:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid rgba(245, 242, 235, .14); }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *:not(.intro, .intro *, [data-hero], .hero-media img), *:not(.intro, .intro *, [data-hero], .hero-media img)::before, *:not(.intro, .intro *, [data-hero], .hero-media img)::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
html[data-tier="reduced"] *:not(.intro, .intro *, [data-hero], .hero-media img), html[data-tier="reduced"] *:not(.intro, .intro *, [data-hero], .hero-media img)::before, html[data-tier="reduced"] *:not(.intro, .intro *, [data-hero], .hero-media img)::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
/* Story without scroll-scrubbing (lite / reduced / GSAP unavailable): native list beside a sticky window. */
@media (min-width: 1001px) {
  html.story-list .story-pin { height: auto; min-height: 0; align-items: start; }
  html.story-list .story-panel { padding-bottom: 80px; }
  html.story-list .story-clock { margin-top: 36px; }
  html.story-list .story-progress { display: none; }
  html.story-list .story-scenes { min-height: 0; }
  html.story-list .scene { position: relative; opacity: 1; transform: none; pointer-events: auto; padding: 30px 0; border-bottom: 1px solid var(--line); }
  html.story-list .scene-time { display: block; font-size: 13px; font-weight: 650; letter-spacing: .14em; color: var(--red); margin-bottom: 8px; }
  html.story-list .story-window { position: sticky; top: calc(var(--header) + 24px); height: calc(100svh - var(--header) - 60px); margin-top: calc(var(--header) + 24px); }
}
html.story-list .sky-l { transition: opacity .9s var(--ease); }
@media (min-width: 1001px) {
  html.story-list .story-scenes { padding-top: 8px; }
  html.story-list .scene { padding: 22px 0 24px; transition: opacity .4s; }
  html.story-list .scene:not(.is-on) { opacity: .42; }
  html.story-list .scene .toast-card { margin-top: 14px; }
}
