@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0D0A22;
  --bg2: #120E2E;
  --ink: #180F3C;
  --btn: #F2B8C0;
  --btn-h: #F7C9D0;
  --text: #FFFFFF;
  --muted: rgba(255,255,255,.66);
  --line: rgba(255,255,255,.12);
  --glass: rgba(255,255,255,.14);
  --card: rgba(255,255,255,.045);
  --u: min(calc(100vw / 1440), calc(100svh / 900));
  --radius: 22px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.rm { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; }
:focus-visible { outline: 2px solid var(--btn); outline-offset: 3px; }

/* ================= HERO ================= */
.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  background: var(--bg);
}
.stage {
  position: absolute;
  left: 50%; top: 50%;
  width: var(--sw, max(100vw, calc(100svh * 16 / 9)));
  height: var(--sh, calc(max(100vw, calc(100svh * 16 / 9)) * 9 / 16));
  transform: translate(-50%, -50%);
  z-index: 0;
}
.layer { position: absolute; inset: 0; will-change: transform; }
.layer > img, .layer > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.back { transform-origin: 50% 40%; z-index: 1; }
.mid { transform-origin: 50% 45%; z-index: 3; pointer-events: none; }
.front { transform-origin: 50% 100%; z-index: 4; pointer-events: none; }
.rain { opacity: 0; transition: opacity .7s linear; }
.rain.on { opacity: 1; }
.shade {
  position: absolute; left: 0; right: 0; top: 0; height: 45%;
  background: linear-gradient(to bottom, rgba(13,8,40,.45), rgba(13,8,40,0));
  pointer-events: none;
}
.glass {
  position: absolute;
  left: 5.2%; right: 4.1%; top: 57.9%; height: 25.4%;
  background: linear-gradient(to bottom, rgba(190,200,255,.10), rgba(150,160,230,.05) 60%, rgba(120,130,210,.08));
  -webkit-backdrop-filter: blur(1.2px) saturate(1.05);
  backdrop-filter: blur(1.2px) saturate(1.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.front > img { z-index: 1; }

.headline {
  position: absolute;
  z-index: 2;
  top: 0; height: 100%;
  left: var(--hl-left, 0);
  width: var(--hl-width, 100%);
  pointer-events: none;
}
.word {
  position: absolute; left: 0; right: 0;
  top: var(--word-top, 30%);
  margin: 0;
  text-align: center;
  font-weight: 700;
  font-size: var(--fs, 290px);
  letter-spacing: -0.045em;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.word span { display: inline-block; will-change: transform, opacity; }
.word .bl { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
.kicker {
  position: absolute; left: 0; right: 0;
  top: var(--kicker-top, 20%);
  margin: 0;
  text-align: center;
  font-size: calc(var(--fs, 290px) * .118);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-0.1em);
}
.kicker span { display: inline-block; }

.opening { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.opening > img, .opening > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.opening > video { opacity: 0; }
.doors { position: absolute; inset: 0; z-index: 7; pointer-events: none; }
.door {
  position: absolute; top: 0; height: 100%; width: 50%;
  background-image: var(--door-img);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  background-color: #07060f;
}
.door.l { left: 0; background-position: 0 50%; }
.door.r { right: 0; background-position: 100% 50%; }

/* intro start states */
.hero.intro .nav { opacity: 0; }
.hero.intro .word span, .hero.intro .kicker span { opacity: 0; }
.hero.intro .front { transform: translateY(66%); }
.hero.intro .shade { opacity: 0; }
.hero.done .opening, .hero.done .doors { display: none; }

/* ---------- nav ---------- */
.nav {
  position: absolute;
  z-index: 8;
  left: 0; right: 0;
  top: calc(52 * var(--u));
  height: calc(48 * var(--u));
  padding: 0 calc(125 * var(--u));
  display: flex; align-items: center; justify-content: space-between;
  font-size: calc(15 * var(--u));
}
.wordmark {
  font-weight: 600;
  font-size: calc(17 * var(--u));
  letter-spacing: .28em;
  color: #fff;
}
.pills {
  position: absolute; left: 50%; top: 0; height: 100%;
  transform: translateX(-50%);
  display: flex; align-items: center;
  gap: calc(6 * var(--u));
  padding: calc(5 * var(--u));
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.pills a {
  height: calc(38 * var(--u));
  padding: 0 calc(22 * var(--u));
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.88);
  white-space: nowrap;
  transition: background-color .25s;
}
.pills a:hover { background: rgba(255,255,255,.14); }
.pills a.active { background: #fff; color: var(--ink); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: calc(30 * var(--u)); }
.lang {
  display: inline-flex; align-items: center; gap: calc(9 * var(--u));
  background: none; border: 0; padding: 0; cursor: pointer;
  color: rgba(255,255,255,.9);
}
.lang svg { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
.btn-enquire {
  height: calc(44 * var(--u));
  padding: 0 calc(27 * var(--u));
  border-radius: 999px;
  display: inline-flex; align-items: center;
  background: var(--btn); color: var(--ink); font-weight: 600;
  white-space: nowrap;
  transition: transform .25s, background-color .25s;
}
.btn-enquire:hover { transform: translateY(-1px); background: var(--btn-h); }

@media (max-width: 819.98px) {
  :root { --u: 1px; }
  .nav { top: 16px; height: auto; padding: 0 18px; flex-wrap: wrap; row-gap: 12px; }
  .wordmark { font-size: 14px; letter-spacing: .22em; }
  .nav-right { gap: 16px; font-size: 13px; }
  .lang { gap: 7px; }
  .lang svg { width: 16px; height: 16px; }
  .btn-enquire { height: 36px; padding: 0 16px; font-size: 13px; }
  .pills {
    position: static; transform: none; order: 3;
    width: 100%; height: 40px; padding: 4px; gap: 4px;
  }
  .pills a { flex: 1 1 auto; height: 32px; font-size: 12px; padding: 0 10px; }
}
@media (max-width: 360px) {
  .pills a { font-size: 11px; padding: 0 6px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  :root { --u: 1px; }
  .nav { top: 12px; height: 34px; padding: 0 24px; flex-wrap: nowrap; font-size: 12px; }
  .wordmark { font-size: 13px; letter-spacing: .22em; }
  .nav-right { gap: 16px; font-size: 12px; }
  .lang svg { width: 16px; height: 16px; }
  .btn-enquire { height: 32px; padding: 0 16px; font-size: 12px; }
  .pills { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: auto; height: 34px; padding: 3px; gap: 3px; }
  .pills a { flex: none; height: 28px; font-size: 12px; padding: 0 12px; }
}

/* ================= TOP BAR ================= */
.topbar {
  position: fixed; z-index: 40; left: 50%; top: 14px;
  transform: translate(-50%, -140%);
  width: min(1180px, calc(100% - 24px));
  height: 58px; padding: 0 10px 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: 999px;
  background: rgba(20,14,50,.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 20px 40px -20px rgba(0,0,0,.6);
  transition: transform .5s cubic-bezier(.2,.65,.3,1);
  font-size: 14px;
}
.topbar.show { transform: translate(-50%, 0); }
.topbar .wordmark { font-size: 14px; letter-spacing: .24em; }
.tb-links { display: flex; gap: 4px; }
.tb-links a { padding: 9px 14px; border-radius: 999px; color: rgba(255,255,255,.85); transition: background-color .25s; }
.tb-links a:hover, .tb-links a.cur { background: rgba(255,255,255,.12); color: #fff; }
.tb-right { display: flex; align-items: center; gap: 10px; }
.tb-right .lang { font-size: 13px; padding: 0 6px; }
.btn-enquire.sm { height: 40px; padding: 0 20px; font-size: 14px; }
@media (max-width: 900px) { .tb-links { display: none; } }
@media (max-width: 480px) { .topbar .btn-ghost.sm { display: none; } .topbar { padding-left: 18px; } }

/* ================= GENERIC ================= */
.wrap { width: min(1200px, 100% - 48px); margin: 0 auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 36px); } }
.sec { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.sec-head.row .lead { max-width: 440px; margin: 0; }
.eyebrow { margin: 0 0 14px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--btn); font-weight: 600; }
h2 { margin: 0; font-size: clamp(36px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
h3 { margin: 0; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--muted); font-weight: 300; margin: 22px 0 0; }
.lead.small { font-size: 16px; }
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .25s, background-color .25s, box-shadow .25s;
}
.btn-primary { background: var(--btn); color: var(--ink); }
.btn-primary:hover { background: var(--btn-h); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-ghost.sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-primary:disabled { opacity: .6; cursor: progress; }

/* ================= STATS ================= */
.stats { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #0D0A22, #110c2c); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 24px 40px 0; border-right: 1px solid var(--line); margin-right: 24px; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.04em; font-weight: 700; }
.stat b small { font-size: .5em; color: var(--muted); font-weight: 400; }
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 12px 26px 0; margin-right: 12px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ================= FIRM ================= */
.firm::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 85% 10%, rgba(140,110,255,.16), transparent 70%);
}
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 32px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.pnum { font-size: 13px; color: var(--btn); font-weight: 600; letter-spacing: .1em; }
.pillar h3 { font-size: 22px; margin: 18px 0 10px; }
.pillar p { margin: 0; color: var(--muted); line-height: 1.6; }
.team { margin-top: clamp(60px, 8vw, 100px); }
.team-title { font-size: 15px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { padding: 22px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.avatar {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 600; font-size: 20px; letter-spacing: .02em;
  color: var(--ink);
  margin-bottom: 18px;
}
.member b { display: block; font-size: 17px; }
.member span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.member small { display: block; margin-top: 12px; font-size: 12px; letter-spacing: .14em; color: rgba(255,255,255,.5); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .team-grid { grid-template-columns: 1fr; } }

/* ================= PHOTO COMPOSER ================= */
.ph { position: relative; overflow: hidden; background: #1a1340; }
.ph i { position: absolute; inset: 0; background-repeat: no-repeat; }
.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,10,34,.55), transparent 45%); pointer-events: none; }

/* ================= HOMES ================= */
.homes { background: linear-gradient(180deg, #0D0A22 0%, #100b29 100%); }
.filters {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
  padding: 16px; border-radius: 26px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  margin-bottom: 18px;
}
.filters label { display: grid; gap: 6px; font-size: 12px; color: var(--muted); letter-spacing: .06em; flex: 1 1 140px; }
select, input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input:not([type]), textarea {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-size: 15px; outline: none;
  transition: border-color .2s, background-color .2s;
}
textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='white' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
select option { background: #1b1440; color: #fff; }
select:focus, input:focus, textarea:focus { border-color: rgba(242,184,192,.7); background-color: rgba(255,255,255,.09); }
input[type=date]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .7; }
.chip-toggle {
  height: 46px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px;
}
.chip-toggle svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.6; }
.chip-toggle[aria-pressed=true] { background: var(--btn); color: var(--ink); border-color: var(--btn); }
.chip-toggle[aria-pressed=true] svg { fill: var(--ink); stroke: var(--ink); }
.chip-toggle b { font-weight: 600; }
.results { color: var(--muted); font-size: 14px; margin: 0 0 22px 4px; min-height: 1em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
.card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .45s cubic-bezier(.2,.65,.3,1), box-shadow .45s;
  cursor: pointer;
}
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 30px 60px -30px rgba(0,0,0,.8); }
.card .ph { aspect-ratio: 4 / 3; }
.card .ph i { transition: transform 1.2s cubic-bezier(.2,.65,.3,1); }
.card:hover .ph i { transform: scale(1.05); }
.badge {
  position: absolute; z-index: 2; left: 14px; top: 14px;
  padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(13,10,34,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.badge.offer { background: rgba(242,184,192,.9); color: var(--ink); }
.fav {
  position: absolute; z-index: 2; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(13,10,34,.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
  transition: transform .2s;
}
.fav:active { transform: scale(.9); }
.fav svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.7; }
.fav[aria-pressed=true] svg { fill: var(--btn); stroke: var(--btn); }
.card-body { padding: 20px 22px 22px; }
.card-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card h3 { font-size: 20px; }
.price { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; white-space: nowrap; }
.price small { font-weight: 400; color: var(--muted); font-size: 13px; }
.loc { margin: 6px 0 16px; color: var(--muted); font-size: 14px; }
.specs { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.82); padding-top: 14px; border-top: 1px solid var(--line); }
.specs span b { font-weight: 600; color: #fff; }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; border-radius: var(--radius); background: var(--card); color: var(--muted); }
.empty button { margin-top: 16px; }

/* ================= DISTRICTS ================= */
.dist-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.dist { border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.dist .ph { aspect-ratio: 3 / 4; }
.dist-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.dist h3 { font-size: 18px; }
.dist p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 8px 0 14px; flex: 1; }
.dist small { color: var(--btn); font-weight: 600; font-size: 13px; }
.dist button { margin-top: 12px; background: none; border: 0; padding: 0; color: #fff; text-align: left; cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.35); }
@media (max-width: 1100px) { .dist-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .dist-grid { grid-template-columns: 1fr 1fr; } .dist .ph { aspect-ratio: 4/3; } }
@media (max-width: 420px) { .dist-grid { grid-template-columns: 1fr; } }

/* ================= SERVICES ================= */
.services { background: linear-gradient(180deg, #100b29, #0D0A22); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.svc { background: var(--bg); padding: 36px 32px; transition: background-color .3s; }
.svc:hover { background: #151036; }
.svc h3 { font-size: 24px; margin-bottom: 10px; }
.svc p { margin: 0; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* ================= TOOLS ================= */
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tool { padding: clamp(24px, 3.5vw, 44px); border-radius: 28px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.tool h2 { font-size: clamp(28px, 3.2vw, 42px); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 24px; }
.fields label { display: grid; gap: 6px; font-size: 12px; color: var(--muted); letter-spacing: .06em; position: relative; }
.fields .wide { grid-column: 1 / -1; }
.fields output { position: absolute; right: 0; top: 0; color: #fff; font-weight: 600; font-size: 13px; }
.check { display: flex !important; align-items: center; gap: 10px; font-size: 14px !important; color: #fff !important; letter-spacing: 0 !important; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--btn); }
input[type=range] { width: 100%; accent-color: var(--btn); height: 46px; }
.result { margin-top: auto; padding: 22px; border-radius: 18px; background: rgba(13,10,34,.6); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 18px; }
.result span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.result b { display: block; font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.03em; margin: 6px 0 4px; }
.result small { color: var(--muted); font-size: 13px; }
.fine { color: rgba(255,255,255,.5); font-size: 13px; margin: 0; }
.tool .btn-primary { align-self: flex-start; }
@media (max-width: 860px) { .tools-grid { grid-template-columns: 1fr; } }

/* ================= QUOTES ================= */
.q-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.q { margin: 0; padding: 32px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.q blockquote { margin: 0; font-size: 18px; line-height: 1.55; font-weight: 300; }
.q figcaption { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .q-grid { grid-template-columns: 1fr; } }

/* ================= CONTACT ================= */
.contact { background: radial-gradient(70% 60% at 10% 100%, rgba(242,184,192,.08), transparent 70%), #0D0A22; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.c-list { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 16px; }
.c-list li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; font-size: 15px; }
.c-list span { color: var(--muted); }
.c-list b { font-weight: 500; }
.c-list a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.3); }
.map { width: 100%; height: auto; margin-top: 32px; display: block; }
.c-form, #leadForm { display: grid; gap: 16px; }
.c-form { padding: clamp(22px, 3.5vw, 40px); border-radius: 28px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.c-form label, #leadForm label { display: grid; gap: 6px; font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; font-size: 14px; min-height: 1.2em; }
.form-msg.ok { color: #9ff0c7; }
.form-msg.err { color: #ffb3b3; }
.invalid { border-color: #ff8f9c !important; }
.c-form .btn-primary { justify-self: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } .c-list li { grid-template-columns: 1fr; gap: 2px; } }

/* ================= FOOTER ================= */
.foot { border-top: 1px solid var(--line); padding: 48px 0 110px; }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.foot .wordmark { font-size: 15px; }
.foot p { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.8); }
.foot-links a:hover { color: #fff; }
.legal { grid-column: 1 / -1; font-size: 12px !important; color: rgba(255,255,255,.4) !important; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr; } }

/* ================= MODALS ================= */
.modal {
  width: min(1040px, calc(100% - 24px)); max-height: calc(100svh - 24px);
  padding: 0; border: 0; border-radius: 28px; color: #fff;
  background: #130e33; box-shadow: 0 40px 120px -20px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.1);
  overflow: auto; overscroll-behavior: contain;
}
.modal.small { width: min(520px, calc(100% - 24px)); padding: 32px; }
.modal::backdrop { background: rgba(6,4,18,.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .35s cubic-bezier(.2,.65,.3,1); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.x {
  position: absolute; z-index: 5; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; cursor: pointer; font-size: 24px; line-height: 1;
  background: rgba(13,10,34,.6); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}
.lm { display: grid; grid-template-columns: 1.25fr 1fr; }
.lm-gal .ph { aspect-ratio: 4 / 3.2; }
.thumbs { display: flex; gap: 8px; padding: 10px; }
.thumbs button { flex: 1; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; opacity: .55; transition: opacity .2s; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.thumbs button[aria-current=true] { opacity: 1; box-shadow: 0 0 0 2px var(--btn); }
.thumbs .ph { aspect-ratio: 16 / 10; }
.lm-info { padding: 34px 32px 30px; }
.lm-info .eyebrow { margin-bottom: 10px; }
.lm-info h3 { font-size: 30px; letter-spacing: -0.03em; padding-right: 40px; }
.lm-info .price { font-size: 26px; margin: 10px 0 4px; display: block; }
.lm-info p { color: var(--muted); line-height: 1.6; }
.lm-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.lm-specs div { padding: 12px; border-radius: 14px; background: rgba(255,255,255,.05); }
.lm-specs b { display: block; font-size: 17px; }
.lm-specs span { font-size: 12px; color: var(--muted); }
.lm-feat { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: 14px; }
.lm-feat li::before { content: "—"; color: var(--btn); margin-right: 10px; }
.lm-calc { font-size: 14px; color: var(--muted); margin: 0 0 20px; padding: 12px 14px; border-radius: 14px; background: rgba(242,184,192,.08); }
.lm-calc b { color: #fff; }
.lm-cta { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 820px) { .lm { grid-template-columns: 1fr; } .lm-info { padding: 24px 22px; } }
#leadForm h3 { font-size: 26px; letter-spacing: -0.02em; margin-bottom: 6px; padding-right: 40px; }
#leadForm .eyebrow { margin: 0; }

/* ================= AI CONCIERGE ================= */
.orb {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 30% 30%, #fff 0%, #F2B8C0 22%, #9c7bff 60%, #3b2a8c 100%);
  box-shadow: 0 0 22px rgba(242,184,192,.55);
  animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe { 50% { box-shadow: 0 0 34px rgba(156,123,255,.7); transform: scale(1.04); } }
html.rm .orb { animation: none; }
.aria-fab {
  position: fixed; z-index: 50; right: 20px; bottom: 20px;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 20px 8px 8px; border-radius: 999px; border: 0; cursor: pointer; text-align: left;
  background: rgba(24,15,60,.82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 18px 40px -12px rgba(0,0,0,.7);
  transition: transform .3s, opacity .3s;
}
.aria-fab:hover { transform: translateY(-2px); }
.aria-fab .orb { width: 42px; height: 42px; }
.fab-txt b { display: block; font-size: 15px; }
.fab-txt small { display: block; font-size: 12px; color: var(--muted); }
.aria-fab.hide { opacity: 0; pointer-events: none; transform: scale(.9); }
.aria-teaser {
  position: fixed; z-index: 50; right: 20px; bottom: 86px; max-width: 280px;
  padding: 16px 40px 16px 18px; border-radius: 20px 20px 6px 20px;
  background: #fff; color: var(--ink); font-size: 14px; line-height: 1.45;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.6);
  animation: pop .4s cubic-bezier(.2,.65,.3,1);
  cursor: pointer;
}
.aria-teaser p { margin: 0; }
.aria-teaser .tx { position: absolute; right: 8px; top: 8px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(24,15,60,.08); color: var(--ink); cursor: pointer; font-size: 16px; line-height: 1; }
.aria-panel {
  position: fixed; z-index: 60; right: 20px; bottom: 20px;
  width: 400px; height: min(640px, calc(100svh - 40px));
  display: flex; flex-direction: column;
  border-radius: 26px; overflow: hidden;
  background: rgba(19,14,48,.94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 40px 100px -20px rgba(0,0,0,.85);
  animation: pop .35s cubic-bezier(.2,.65,.3,1);
}
.aria-panel[hidden] { display: none; }
.ap-head { display: flex; align-items: center; gap: 12px; padding: 16px 14px 16px 18px; border-bottom: 1px solid var(--line); }
.ap-head > div { flex: 1; min-width: 0; }
.ap-head b { display: block; font-size: 16px; }
.ap-head small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #5ee39b; box-shadow: 0 0 8px #5ee39b; }
.ap-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.06); cursor: pointer; display: grid; place-items: center; color: #fff; }
.ap-btn:hover { background: rgba(255,255,255,.12); }
.ap-btn svg { width: 17px; height: 17px; }
.ap-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; animation: msgIn .3s ease-out; }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } }
.msg.bot { align-self: flex-start; background: rgba(255,255,255,.08); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--btn); color: var(--ink); border-bottom-right-radius: 6px; }
.msg b { font-weight: 600; }
.msg a { text-decoration: underline; text-underline-offset: 3px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.7); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; max-width: 100%; }
.chips button { padding: 8px 13px; border-radius: 999px; border: 0; cursor: pointer; font-size: 13px; background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(242,184,192,.55); transition: background-color .2s; }
.chips button:hover { background: rgba(242,184,192,.16); }
.chips.used { display: none; }
.mini-cards { display: flex; gap: 10px; overflow-x: auto; align-self: stretch; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.mini { flex: 0 0 210px; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line); scroll-snap-align: start; }
.mini .ph { aspect-ratio: 16 / 10; }
.mini-b { padding: 10px 12px 12px; }
.mini-b b { display: block; font-size: 14px; }
.mini-b span { display: block; font-size: 12px; color: var(--muted); margin: 2px 0 8px; }
.mini-b .row { display: flex; gap: 6px; }
.mini-b button { flex: 1; height: 30px; border-radius: 999px; border: 0; cursor: pointer; font-size: 12px; font-weight: 600; }
.mini-b .v { background: rgba(255,255,255,.12); color: #fff; }
.mini-b .k { background: var(--btn); color: var(--ink); }
.ap-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.ap-input input { flex: 1; height: 46px; border-radius: 999px; padding: 0 18px; }
.ap-input button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--btn); color: var(--ink); cursor: pointer; display: grid; place-items: center; flex: none; }
.ap-input button svg { width: 20px; height: 20px; }
.ap-note { font-size: 11px; color: rgba(255,255,255,.4); text-align: center; align-self: center; margin: 4px 0; }
@media (max-width: 520px) {
  .aria-panel { inset: 0; width: 100%; height: 100%; border-radius: 0; }
  .aria-fab { right: 14px; bottom: 14px; padding-right: 16px; }
  .aria-teaser { right: 14px; bottom: 78px; }
}

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.65,.3,1), transform .9s cubic-bezier(.2,.65,.3,1); }
.rv.in { opacity: 1; transform: none; }
html.rm .rv { opacity: 1; transform: none; transition: none; }
html:not(.intro-done) .aria-fab { opacity: 0; pointer-events: none; transform: translateY(12px); }
.aria-fab { transition: transform .5s cubic-bezier(.2,.65,.3,1), opacity .5s; }
@media (max-width: 520px), (max-height: 500px) {
  .aria-fab { padding: 6px; }
  .aria-fab .fab-txt { display: none; }
}
@media (min-width: 821px) {
  .lm-gal { display: flex; flex-direction: column; }
  #lmMain { flex: 1; display: flex; }
  #lmMain .ph { flex: 1; aspect-ratio: auto; min-height: 420px; }
}
