/* Emmar Realty, 2026 site, round 3.
   Light only (no dark theme, ever). White pages, sky-tinted bands, deep harbour ink, one bay-blue accent.
   Plus Jakarta Sans throughout. Rounded photos and cards, pill buttons with a circled arrow.
   Motion: a headline that writes itself in, a rotating word, photos that unmask on scroll, a moving
   area strip, two rows of reviews drifting in opposite directions, a timeline that fills as you scroll. */

:root {
  --i-bank: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23000'%3E%3Cpath d='M24,104H48v64H32a8,8,0,0,0,0,16H224a8,8,0,0,0,0-16H208V104h24a8,8,0,0,0,4.19-14.81l-104-64a8,8,0,0,0-8.38,0l-104,64A8,8,0,0,0,24,104Zm40,0H96v64H64Zm80,0v64H112V104Zm48,64H160V104h32ZM128,41.39,203.74,88H52.26ZM248,208a8,8,0,0,1-8,8H16a8,8,0,0,1,0-16H240A8,8,0,0,1,248,208Z'/%3E%3C/svg%3E");
  --i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23000'%3E%3Cpath d='M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23000'%3E%3Cpath d='M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z'/%3E%3C/svg%3E");
  --mark-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 4.8 65.4 86.4' fill='%23e4643f'%3E%3Crect x='0.95' y='70' width='2.4' height='20' rx='1.2'/%3E%3Crect x='4.35' y='67' width='2.4' height='23' rx='1.2'/%3E%3Crect x='11.15' y='55' width='2.4' height='35' rx='1.2'/%3E%3Crect x='14.55' y='51' width='2.4' height='39' rx='1.2'/%3E%3Crect x='17.95' y='55' width='2.4' height='35' rx='1.2'/%3E%3Crect x='24.75' y='32' width='2.4' height='58' rx='1.2'/%3E%3Crect x='28.15' y='24' width='2.4' height='66' rx='1.2'/%3E%3Crect x='31.55' y='6' width='2.4' height='84' rx='1.2'/%3E%3Crect x='34.95' y='24' width='2.4' height='66' rx='1.2'/%3E%3Crect x='38.35' y='32' width='2.4' height='58' rx='1.2'/%3E%3Crect x='45.15' y='55' width='2.4' height='35' rx='1.2'/%3E%3Crect x='48.55' y='51' width='2.4' height='39' rx='1.2'/%3E%3Crect x='51.95' y='55' width='2.4' height='35' rx='1.2'/%3E%3Crect x='58.75' y='67' width='2.4' height='23' rx='1.2'/%3E%3Crect x='62.15' y='70' width='2.4' height='20' rx='1.2'/%3E%3C/svg%3E");
  --mk: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 4.8 65.4 86.4'%3E%3Crect x='0.95' y='70' width='2.4' height='20' rx='1.2'/%3E%3Crect x='4.35' y='67' width='2.4' height='23' rx='1.2'/%3E%3Crect x='11.15' y='55' width='2.4' height='35' rx='1.2'/%3E%3Crect x='14.55' y='51' width='2.4' height='39' rx='1.2'/%3E%3Crect x='17.95' y='55' width='2.4' height='35' rx='1.2'/%3E%3Crect x='24.75' y='32' width='2.4' height='58' rx='1.2'/%3E%3Crect x='28.15' y='24' width='2.4' height='66' rx='1.2'/%3E%3Crect x='31.55' y='6' width='2.4' height='84' rx='1.2'/%3E%3Crect x='34.95' y='24' width='2.4' height='66' rx='1.2'/%3E%3Crect x='38.35' y='32' width='2.4' height='58' rx='1.2'/%3E%3Crect x='45.15' y='55' width='2.4' height='35' rx='1.2'/%3E%3Crect x='48.55' y='51' width='2.4' height='39' rx='1.2'/%3E%3Crect x='51.95' y='55' width='2.4' height='35' rx='1.2'/%3E%3Crect x='58.75' y='67' width='2.4' height='23' rx='1.2'/%3E%3Crect x='62.15' y='70' width='2.4' height='20' rx='1.2'/%3E%3C/svg%3E");
  --mk-spire: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 18'%3E%3Crect x='0' y='7' width='3.4' height='11' rx='1.2'/%3E%3Crect x='4.8' y='0' width='3.4' height='18' rx='1.2'/%3E%3Crect x='9.6' y='7' width='3.4' height='11' rx='1.2'/%3E%3C/svg%3E");
  --mk-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 3.5 67.4 87.5'%3E%3Cpath d='M0.95 90V71.20a1.2 1.2 0 0 1 2.4 0V90M4.35 90V68.20a1.2 1.2 0 0 1 2.4 0V90M11.15 90V56.20a1.2 1.2 0 0 1 2.4 0V90M14.55 90V52.20a1.2 1.2 0 0 1 2.4 0V90M17.95 90V56.20a1.2 1.2 0 0 1 2.4 0V90M24.75 90V33.20a1.2 1.2 0 0 1 2.4 0V90M28.15 90V25.20a1.2 1.2 0 0 1 2.4 0V90M31.55 90V7.20a1.2 1.2 0 0 1 2.4 0V90M34.95 90V25.20a1.2 1.2 0 0 1 2.4 0V90M38.35 90V33.20a1.2 1.2 0 0 1 2.4 0V90M45.15 90V56.20a1.2 1.2 0 0 1 2.4 0V90M48.55 90V52.20a1.2 1.2 0 0 1 2.4 0V90M51.95 90V56.20a1.2 1.2 0 0 1 2.4 0V90M58.75 90V68.20a1.2 1.2 0 0 1 2.4 0V90M62.15 90V71.20a1.2 1.2 0 0 1 2.4 0V90M-1 90H66.4' fill='none' stroke='%23000' stroke-width='.7' stroke-linecap='round'/%3E%3C/svg%3E");
  --paper: #ffffff;
  --band: #f2f7fa;
  --band-2: #e3eef5;
  --ink: #0f2432;
  --ink-2: #455864;
  --ink-3: #5e6f7a;
  --line: #e1e9ee;
  --line-2: #c9d7df;
  --accent: #1a6a9a;
  --accent-2: #2b86bd;
  --accent-soft: #e4f0f7;
  --sun: #f0b23f;
  --on-photo: #ffffff;
  --focus: #1a6a9a;
  --max: 1280px;
  --gut: max(clamp(16px, 4vw, 48px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --r: 999px;
  --rc: 22px;
  --rs: 14px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --shadow: 0 1px 2px rgb(15 36 50 / .05), 0 18px 40px -24px rgb(15 36 50 / .28);
  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* the lead script styles its thank-you link with this */
  --gold-hi: var(--accent);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: #d6e4ec; color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.vh, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none; font-weight: 600; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- type ---------- */
.h1, .h2, .lead-h, .form-h { font-family: var(--font); font-stretch: 90%; font-weight: 500; color: var(--ink); letter-spacing: -.022em; text-wrap: balance; }
.h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; }
.h1 > span, .h2 > span { display: inline; }
.h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.06; }
.h2.md { font-size: clamp(28px, 3.2vw, 42px); }
.h2.sm { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; }
.it, .h1 .l2, .h2 .it { font-style: normal; color: inherit; }
h3 { font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
.lede { color: var(--ink-2); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; max-width: 60ch; }
.kicker, .eyebrow { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.eyebrow i { display: none; }
.eyebrow span + span::before { content: " · "; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: var(--r); border: 1px solid transparent; font-weight: 600; font-size: 15.5px; line-height: 1.1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .12s ease; }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 17px; height: 17px; }
.btn-gold, .btn-ink { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .btn-gold:hover, .btn-ink:hover { background: var(--accent); } }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn-line:hover { background: var(--ink); color: var(--paper); } }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn[disabled] { opacity: .6; cursor: progress; }
.pr-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; color: var(--ink); }
.pr-go .ic { width: 15px; height: 15px; }
@media (hover: hover) and (pointer: fine) { .pr-go:hover { color: var(--accent); } }
.cta-row, .hero-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- utility bar + header ---------- */
.ubar { background: var(--band); color: var(--ink-2); font-size: 13.5px; border-bottom: 1px solid var(--line); }
.ubar .wrap { display: flex; align-items: center; gap: 24px; min-height: 38px; }
.ubar a { color: var(--ink); text-decoration: none; }
.ubar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ubar .ic { width: 15px; height: 15px; color: var(--ink-3); }
.ub-i { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.ub-status b { color: var(--ink); font-weight: 600; }
.ub-status .live { width: 7px; height: 7px; border-radius: 50%; background: #2e9a5b; }
.ub-status[data-open="false"] .live { background: var(--ink-3); }
.ub-push { margin-left: auto; font-weight: 600; }
@media (max-width: 980px) { .ub-addr, .ub-lang { display: none; } }
@media (max-width: 560px) { .ub-status .ub-when { display: none; } .ubar .wrap { gap: 14px; } }

.nav { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); transition: box-shadow .25s ease; }
.nav.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 24px -22px rgb(0 0 0 / .35); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 74px; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.brand .mk { width: 24px; height: 32px; color: var(--ink); }
.brand .mk .spire { fill: var(--accent); }
.brand-t { display: flex; flex-direction: column; line-height: 1; }
.brand-t b { font-weight: 600; font-size: 21px; letter-spacing: .2em; }
.brand-t small { font-size: 10px; font-weight: 600; letter-spacing: .44em; color: var(--ink-3); margin-top: 5px; }
.links { display: flex; gap: 2px; margin-left: 8px; }
.links a { position: relative; padding: 26px 11px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); transition: color .15s ease; }
.links a:hover { color: var(--ink); }
.links a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav .phone { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav .phone .ic { color: var(--ink-3); }
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r); }
.lang button { border: 0; background: none; padding: 0 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; color: var(--ink-3); cursor: pointer; min-width: 38px; min-height: 34px; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.nav-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r); background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: background-color .2s; }
@media (hover: hover) and (pointer: fine) { .nav-cta:hover { background: var(--accent); } }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--paper); cursor: pointer; place-items: center; }
.menu-btn .ic { width: 22px; height: 22px; }
.menu-btn .mi-close { display: none; }
.menu-btn[aria-expanded="true"] .mi-open { display: none; }
.menu-btn[aria-expanded="true"] .mi-close { display: block; }
@media (max-width: 1200px) { .nav .phone span { display: none; } .links a { padding-inline: 8px; } }
@media (max-width: 1080px) { .links { display: none; } .menu-btn { display: grid; } }
@media (max-width: 640px) { .nav-in { height: 64px; gap: 12px; } .nav-cta { display: none; } .nav .phone { display: none; } .brand-t b { font-size: 19px; } }

.mnav { position: fixed; inset: 0; z-index: 39; background: var(--paper); padding: 130px var(--gut) 40px; display: flex; flex-direction: column; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility 0s .2s; }
.mnav[data-open="true"] { visibility: visible; opacity: 1; transition: opacity .2s ease, visibility 0s; }
.mnav a { font-size: 24px; font-weight: 500; font-stretch: 90%; line-height: 1.2; padding: 13px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.mnav .phone { margin-top: 18px; display: inline-flex; gap: 10px; align-items: center; font-size: 18px; font-weight: 600; border: 0; }
body.menu-open { overflow: hidden; }
@media (min-width: 1081px) { .mnav { display: none; } }

/* ---------- reveal motion: a short fade, nothing more ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal], .js .rv { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s var(--ease); transition-delay: var(--d, 0ms); }
  .js [data-reveal].in, .js .rv.in { opacity: 1; transform: none; }
}

/* ---------- inner page hero ---------- */
.phero { max-width: var(--max); margin: 0 auto; padding: clamp(28px, 4vw, 56px) var(--gut) clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.phero .hero-in { grid-column: 1; grid-row: 1; }
.phero .phero-aside { grid-column: 2; grid-row: 1; position: relative; }
.phero:not(.has-aside) { grid-template-columns: minmax(0, 1fr); }
.phero:not(.has-aside) .hero-in { max-width: 860px; }
.phero .hero-art { display: none; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-3); margin-bottom: 26px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs i { font-style: normal; opacity: .6; }
.phero .h1 { font-size: clamp(38px, 4.8vw, 64px); }
.hero-in .lede { margin-top: 22px; }
.hero-in .hero-cta { margin-top: 30px; }
.hero-call { margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.hero-call a { font-weight: 600; color: var(--ink); text-underline-offset: 3px; }
.hero-call .dot { margin: 0 8px; color: var(--ink-3); }
.loans-line { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); max-width: 52ch; }
.frame { margin: 0; position: relative; }
.frame-in { overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--band-2); }
.frame-in picture, .frame-in img { width: 100%; height: 100%; }
.frame-in img { object-fit: cover; }
.frame-card { display: none; }
.ab-fig { margin: 0; position: relative; }
.ab-photo { position: relative; }
.ab-in { overflow: hidden; aspect-ratio: 4 / 5; background: var(--band-2); }
.ab-in img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.ab-cap { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; font-size: 14px; color: var(--ink-3); }
.ab-cap b { font-size: 16px; font-weight: 600; color: var(--ink); }
@media (max-width: 900px) {
  .phero { grid-template-columns: minmax(0, 1fr); }
  .phero .phero-aside { grid-column: 1; grid-row: 2; }
  .frame-in { aspect-ratio: 16 / 10; }
  .ab-in { aspect-ratio: 4 / 4.2; }
}

/* ---------- sections ---------- */
.blk, .value, .method, .faq, .nextmove, .hoods, .choose, .contact, .why-sec { padding-block: clamp(56px, 7vw, 100px); }
.blk + .blk { padding-top: 0; }
.chips-blk, .cta-blk { padding-block: clamp(40px, 5vw, 64px) !important; }
.blk-head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 760px; }
.blk-head .lede, .nm-head .lede, .faq-l .lede, .method-l .lede, .hoods-head .lede { margin-top: 16px; }
.two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: 760px; }
.wrap.prose { max-width: var(--max); }
.wrap.prose > * { max-width: 760px; }
.prose-body { margin-top: 20px; display: grid; gap: 16px; font-size: 17.5px; color: var(--ink-2); }
.prose-body p { max-width: 68ch; }
.prose-body a:not(.btn), .sub-item a, .lede a { color: var(--ink); text-decoration-color: var(--accent-2); text-underline-offset: 3px; }
.prose-body ul, .prose-body ol { padding-left: 1.2em; display: grid; gap: 8px; }
.prose-body li > b + span::before { content: " "; }
.prose-body li > b { color: var(--ink); font-weight: 600; }
.prose-body .cta-row { margin-top: 8px; }
.prose-blk + .prose-blk { padding-top: 0; }
.ab-facts { margin: 0; border-top: 2px solid var(--ink); position: sticky; top: 100px; }
.ab-facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ab-facts dt { font-size: 13.5px; color: var(--ink-3); }
.ab-facts dd { margin: 0; font-weight: 500; }
@media (max-width: 860px) { .ab-facts { position: static; } }
@media (max-width: 480px) { .ab-facts > div { grid-template-columns: 1fr; gap: 2px; } }
.sub-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 32px) clamp(24px, 4vw, 56px); }
.sub-item { padding-top: 18px; border-top: 1px solid var(--line-2); }
.sub-items > .sub-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.sub-items > .sub-item:last-child:nth-child(odd) p { max-width: 72ch; }
.sub-item h3 { font-size: 20px; }
.sub-item p { margin-top: 8px; color: var(--ink-2); }
@media (max-width: 760px) { .sub-items { grid-template-columns: minmax(0, 1fr); } }
.note { margin-top: 28px; padding: 14px 18px; border-left: 2px solid var(--line-2); background: var(--band); color: var(--ink-2); font-size: 15px; max-width: 760px; }
.sub-blk .pr-go { margin-top: 28px; }
.toc { margin-top: 8px; padding: 20px 0; border-block: 1px solid var(--line-2); }
.toc-k { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.toc ol { padding-left: 1.4em; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 32px; }
.toc li::marker { color: var(--ink-3); font-size: 14px; }
.toc a { display: block; padding: 5px 0; text-decoration: none; color: var(--ink); font-size: 16px; }
.toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .toc ol { grid-template-columns: minmax(0, 1fr); } }

/* how it works: a plain ordered list beside its heading */
.method { max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.method-l { position: sticky; top: 120px; }
.me-cta { margin-top: 28px; }
.stack { display: grid; border-top: 1px solid var(--line-2); }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.step-n { font-size: 15px; font-weight: 600; color: var(--ink-3); padding-top: 3px; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 20px; }
.step p { margin-top: 6px; color: var(--ink-2); }
@media (max-width: 900px) { .method { grid-template-columns: minmax(0, 1fr); } .method-l { position: static; } }

/* questions */
.faq { max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-l { position: sticky; top: 120px; }
.faq-l .pr-go { margin-top: 24px; }
.faq-list { display: grid; border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 20px 0; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.q-n { display: none; }
.q-t { font-weight: 600; font-size: 17.5px; line-height: 1.35; }
.q-i { position: relative; width: 16px; height: 16px; flex: none; }
.q-i::before, .q-i::after { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 1.5px; margin-top: -.75px; background: var(--ink); transition: transform .25s var(--ease); }
.q-i::after { transform: rotate(90deg); }
.qa[open] .q-i::after { transform: rotate(0); }
.qa-a { padding: 0 32px 22px 0; color: var(--ink-2); display: grid; gap: 10px; }
.qa-a a { color: var(--ink); text-underline-offset: 3px; }
@media (max-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr); } .faq-l { position: static; } }

/* links to every area */
.chip-links { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: var(--r); border: 1px solid var(--line-2); text-decoration: none; font-weight: 500; font-size: 15px; transition: border-color .15s, background-color .15s; }
.chip-link .ic { width: 14px; height: 14px; color: var(--ink-3); }
.chip-link:hover { border-color: var(--ink); }
.chip-link.all { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip-link.all .ic { color: inherit; }

/* closing band */
.cta-band { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 24px 48px; align-items: center; padding: clamp(28px, 4vw, 48px); background: var(--band); border-top: 2px solid var(--ink); }
.cta-band .lede { margin-top: 12px; }
@media (max-width: 900px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* photo cards: guides, help options */
.nextmove { max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); }
.nm-head { max-width: 760px; margin-bottom: clamp(24px, 3vw, 40px); }
.nm-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.nm { display: flex; flex-direction: column; text-decoration: none; }
.nm-ph { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--band-2); margin-bottom: 16px; }
.nm-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.nm-ic { display: none; }
.nm h3 { font-size: 20px; }
.nm p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }
.nm-go { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.nm-go .ic { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) { .nm:hover .nm-ph img { transform: scale(1.03); } .nm:hover h3 { color: var(--accent); } }
@media (max-width: 980px) { .nm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .nm-cards { grid-template-columns: minmax(0, 1fr); } }

/* reasons (about page) */
.why { max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); }
.why-head { max-width: 760px; margin-bottom: clamp(24px, 3vw, 40px); }
.why-head .lede { margin-top: 16px; }
.reasons { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.reasons li { padding: 20px 0 26px; border-top: 1px solid var(--line-2); }
.r-ic { display: none; }
.reasons h3 { font-size: 19px; }
.reasons p { margin-top: 6px; color: var(--ink-2); }
@media (max-width: 900px) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .reasons { grid-template-columns: minmax(0, 1fr); } }

/* neighborhoods list page */
.hoods { max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); }
.hoods-head { max-width: 760px; margin-bottom: clamp(24px, 3vw, 40px); }
.hood-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
.hood { display: flex; flex-direction: column; text-decoration: none; }
.hood .i, .h-go { display: none; }
.h-ph { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--band-2); margin-bottom: 14px; }
.h-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hood h3 { font-size: 20px; }
.hood p { margin-top: 4px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
@media (hover: hover) and (pointer: fine) { .hood:hover .h-ph img { transform: scale(1.03); } .hood:hover h3 { color: var(--accent); } }
@media (max-width: 1000px) { .hood-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .hood-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- forms ---------- */
.value { max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.value-copy .lede { margin-top: 16px; }
.v-list { margin-top: 24px; padding-left: 1.2em; display: grid; gap: 8px; color: var(--ink-2); }
@media (max-width: 900px) { .value { grid-template-columns: minmax(0, 1fr); } }
form[data-lead] { position: relative; display: grid; gap: 16px; padding: clamp(22px, 3vw, 32px); background: var(--paper); border: 1px solid var(--line-2); border-top: 3px solid var(--ink); }
.form-h { font-size: clamp(24px, 2.2vw, 28px); line-height: 1.15; }
.form-sub { color: var(--ink-2); font-size: 15.5px; margin-top: -6px; }
.f { display: grid; gap: 6px; }
.f2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 520px) { .f2 { grid-template-columns: minmax(0, 1fr); } }
.f label, fieldset legend { font-size: 14px; font-weight: 600; color: var(--ink); }
.opt { font-weight: 400; color: var(--ink-3); }
.f input, .f textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--paper); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.f textarea { min-height: 110px; resize: vertical; }
.f input::placeholder, .f textarea::placeholder { color: var(--ink-3); }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(31 77 102 / .15); }
.f input[aria-invalid="true"], .f textarea[aria-invalid="true"] { border-color: #b3261e; }
.field-error { font-size: 13.5px; color: #b3261e; }
.field-error:empty { display: none; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 500; transition: background-color .15s, border-color .15s, color .15s; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chips input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
form[data-lead] .btn { width: 100%; margin-top: 4px; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13.5px; color: var(--ink-2); }
.badges li + li::before { content: "·"; margin-right: 16px; color: var(--ink-3); }
.consent { font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.consent a { color: inherit; }
.form-status { font-size: 14.5px; color: var(--ink-2); }
.form-status:empty { display: none; }
.form-status.err { color: #b3261e; }
.form-status a { color: inherit; font-weight: 600; }
.sent { display: grid; gap: 12px; justify-items: start; padding: 8px 0; }
.sent .kicker { margin-bottom: 0; }
.sent h3 { font-size: 28px; font-weight: 500; font-stretch: 90%; }
.sent p { color: var(--ink-2); }
.sent .btn { width: auto !important; margin-top: 6px; }

/* contact page */
.contact { max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); }
.contact-bg { display: none; }
.contact-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-in .lede { margin-top: 16px !important; }
.next { margin-top: 30px; }
.next-k { font-weight: 600; margin-bottom: 10px; }
.next ol { padding-left: 1.3em; display: grid; gap: 12px; }
.next li b { display: block; }
.next li span { color: var(--ink-2); font-size: 15.5px; }
.office { margin-top: 32px; border-top: 2px solid var(--ink); }
.office > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.office .k { font-size: 13.5px; color: var(--ink-3); }
.office .v { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-weight: 500; }
.office .v a { color: var(--ink); text-underline-offset: 3px; }
.office .num { font-size: 24px; font-weight: 600; text-decoration: none !important; }
.copy { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border-radius: var(--r); border: 1px solid var(--line-2); background: none; font-size: 13px; font-weight: 600; cursor: pointer; }
.copy .ic { width: 14px; height: 14px; }
.copy.copied { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 900px) { .contact-in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .office > div { grid-template-columns: 1fr; gap: 2px; } }

/* consultation dialog */
dialog.lead { width: min(540px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible; }
dialog.lead::backdrop { background: rgb(15 18 20 / .5); }
dialog.lead[open] { animation: pop .2s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
dialog.lead form { max-height: calc(100dvh - 24px); overflow-y: auto; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .45); }
.lead-x { position: absolute; right: 10px; top: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.lead-x .ic { width: 20px; height: 20px; }
.lead .kicker { margin-bottom: 0; }
.lead-h { font-size: 30px; line-height: 1.08; }
.lead-sub { color: var(--ink-2); font-size: 15.5px; margin-top: -4px; }
.lead-sub a { font-weight: 600; color: var(--ink); }
html.lead-open { overflow: hidden; }

/* quick contact bar on phones */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; grid-template-columns: repeat(4, 1fr); padding: 0 0 env(safe-area-inset-bottom); background: var(--paper); border-top: 1px solid var(--line-2); transition: transform .3s var(--ease); }
.dock.away { transform: translateY(110%); }
.dk { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; border: 0; background: none; color: var(--ink); text-decoration: none; font-size: 12px; font-weight: 600; cursor: pointer; }
.dk + .dk { border-left: 1px solid var(--line); }
.dk .ic { width: 21px; height: 21px; }
.dk-gold { background: var(--ink); color: var(--paper); }
@media (max-width: 760px) { .dock { display: grid; } body { padding-bottom: 60px; } }

/* ---------- footer ---------- */
.foot { margin-top: clamp(40px, 6vw, 80px); background: var(--band); color: var(--ink-2); padding: clamp(44px, 6vw, 72px) 0 28px; border-top: 1px solid var(--line); }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot a.btn:hover { text-decoration: none; }
.ft-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; align-items: end; padding-bottom: clamp(32px, 4vw, 44px); border-bottom: 1px solid var(--line-2); }
.ft-big { font-size: 15px; color: var(--ink-2); max-width: 46ch; }
.ft-num { display: block; font-size: clamp(30px, 3.6vw, 46px); font-weight: 500; font-stretch: 90%; letter-spacing: -.02em; line-height: 1.05; color: var(--ink); margin-top: 6px; margin-bottom: 10px; }
.ft-call .cta-row { justify-content: flex-end; }
.ft-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; padding: clamp(32px, 4vw, 48px) 0; }
.fc { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.fc p { max-width: 36ch; line-height: 1.55; }
.fc-brand p { margin-top: 12px; }
.fc-loans { color: var(--ink); font-weight: 500; }
.fc-h { color: var(--ink-3); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding-top: 22px; border-top: 1px solid var(--line-2); font-size: 13.5px; }
.eho { display: inline-flex; align-items: center; gap: 8px; }
.eho svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .ft-top { grid-template-columns: minmax(0, 1fr); } .ft-call .cta-row { justify-content: flex-start; } .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ft-cols { gap: 28px 20px; } .fc-brand, .fc-contact { grid-column: 1 / -1; } }

/* ---------- home ---------- */
.hhero { position: relative; display: grid; min-height: clamp(560px, 80vh, 820px); background: #1b2a33; color: var(--on-photo); isolation: isolate; }
.hhero > * { grid-area: 1 / 1; }
.hmedia { position: relative; z-index: -1; }
.hero-vid { position: absolute; inset: 0; overflow: hidden; }
.hero-vid .hv-poster, .hero-vid .hv-poster img, .hero-vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-vid video { opacity: 0; transition: opacity 1.2s ease; }
.hero-vid video.on { opacity: 1; }
.hmedia::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 16 20 / .72) 0%, rgb(10 16 20 / .42) 45%, rgb(10 16 20 / 0) 75%), linear-gradient(0deg, rgb(10 16 20 / .55) 0%, rgb(10 16 20 / 0) 45%); }
.hhero .hero-in { align-self: end; padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px); }
.hhero .hero-in > * { max-width: 640px; }
.hhero .eyebrow { color: rgb(255 255 255 / .8); }
.hhero .h1 { color: var(--on-photo); font-size: clamp(42px, 6vw, 82px); }
.hhero .lede { color: rgb(255 255 255 / .88); margin-top: 22px; max-width: 50ch; }
.hhero .hero-cta { margin-top: 30px; }
.hhero .btn-gold { background: var(--paper); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .hhero .btn-gold:hover { background: var(--band-2); } }
.hhero .btn-line { color: var(--on-photo); border-color: rgb(255 255 255 / .7); }
@media (hover: hover) and (pointer: fine) { .hhero .btn-line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); } }
.hhero .loans-line { color: rgb(255 255 255 / .82); border-top-color: rgb(255 255 255 / .25); }
@media (max-width: 760px) {
  .hhero { min-height: 620px; }
  .hmedia::after { background: linear-gradient(0deg, rgb(10 16 20 / .85) 0%, rgb(10 16 20 / .55) 55%, rgb(10 16 20 / .15) 100%); }
}

.sec { padding-block: clamp(64px, 8vw, 112px); }
.sec + .sec { padding-top: 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(28px, 4vw, 44px); padding-bottom: 20px; border-bottom: 1px solid var(--line-2); }
.sec-head .lede { justify-self: end; max-width: 46ch; }
.sec-head .pr-go { justify-self: end; }
@media (max-width: 860px) { .sec-head { grid-template-columns: minmax(0, 1fr); } .sec-head .lede, .sec-head .pr-go { justify-self: start; } }

.paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
.path { display: flex; flex-direction: column; text-decoration: none; }
.p-ph { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--band-2); margin-bottom: 16px; }
.p-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.p-t { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.p-s { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }
.p-more { margin-top: 12px; font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
@media (hover: hover) and (pointer: fine) { .path:hover .p-ph img { transform: scale(1.03); } .path:hover .p-t { color: var(--accent); } }
@media (max-width: 980px) { .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .paths { grid-template-columns: minmax(0, 1fr); } .p-ph { aspect-ratio: 3 / 2; } }

.help { background: var(--band); padding-block: clamp(64px, 8vw, 112px); }
.help-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.help .lede { margin-top: 18px; }
.plain-dl { margin: 28px 0 0; border-top: 1px solid var(--line-2); max-width: 520px; }
.plain-dl > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.plain-dl dt { font-size: 14px; color: var(--ink-3); }
.plain-dl dd { margin: 0; font-weight: 500; }
@media (max-width: 980px) { .help-in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .plain-dl > div { grid-template-columns: 1fr; gap: 2px; } }

.meet-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.meet-ph { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--band-2); }
.meet-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.meet-copy { position: relative; z-index: 1; }
.meet-copy .lede { margin-top: 18px; }
.meet-copy .cta-row { margin-top: 30px; }
@media (max-width: 900px) { .meet-in { grid-template-columns: minmax(0, 1fr); } .meet-ph { aspect-ratio: 4 / 3.6; max-width: 520px; } }

.nb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
.nb { display: flex; flex-direction: column; text-decoration: none; }
.nb-ph { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--band-2); margin-bottom: 12px; }
.nb-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.nb b { font-size: 19px; font-weight: 600; }
.nb span { margin-top: 4px; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
@media (hover: hover) and (pointer: fine) { .nb:hover .nb-ph img { transform: scale(1.03); } .nb:hover b { color: var(--accent); } }
@media (max-width: 980px) { .nb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.g-list { list-style: none; border-top: 1px solid var(--line-2); }
.g-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr) auto; gap: 8px 40px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; }
.g-row b { font-size: 19px; font-weight: 600; }
.g-row span { color: var(--ink-2); }
.g-row .g-go { font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .g-row:hover b { color: var(--accent); } }
@media (max-width: 760px) { .g-row { grid-template-columns: minmax(0, 1fr); } }

.visit { background: var(--band); }
.visit-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(64px, 8vw, 104px); }
.visit-copy .lede { margin-top: 16px; }
.visit-copy .cta-row { margin-top: 28px; }
.visit-ph { margin: 0; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--band-2); }
.visit-ph img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .visit-in { grid-template-columns: minmax(0, 1fr); } }

/* standalone pages (privacy, thank you) */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gut); }
.doc h1 { font-size: clamp(36px, 4.6vw, 56px); font-weight: 500; font-stretch: 90%; line-height: 1.05; letter-spacing: -.022em; }
.doc h1 em { font-style: normal; }
.doc h2 { font-size: 24px; font-weight: 600; margin-top: 40px; }
.doc p, .doc li { color: var(--ink-2); margin-top: 14px; }
.doc ul { padding-left: 1.2em; }
.doc a:not(.btn) { color: var(--ink); text-underline-offset: 3px; }
.doc .lead { font-size: 18px; }
.doc .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.doc .btn { text-decoration: none; }
.sfoot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--ink-2); background: var(--band); }
.sfoot .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.sfoot a { color: var(--ink); text-underline-offset: 3px; }

@media print { .ubar, .nav, .dock, .mnav, dialog { display: none !important; } }

/* =====================================================================
   Round 3: the richer layer. Everything below overrides the plain base.
   ===================================================================== */
body { font-size: 16.5px; }
.h1, .h2, .lead-h, .form-h, .doc h1, .sent h3, .mnav a, .ft-num { font-stretch: normal; font-weight: 700; letter-spacing: -.035em; }
.h1 { font-size: clamp(44px, 6.2vw, 88px); line-height: .98; }
.h2 { font-size: clamp(32px, 3.9vw, 54px); line-height: 1.02; }
h3 { font-weight: 700; letter-spacing: -.015em; }
.kicker, .eyebrow { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--accent); background: var(--accent-soft); padding: 7px 12px 7px 10px; border-radius: 999px; margin-bottom: 18px; }
.kicker::before, .eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.eyebrow.hh-eb::before { display: none; }
.lede { color: var(--ink-2); }
::selection { background: #cfe5f2; }

/* buttons: pills, the arrow sits in its own circle and turns on hover */
.btn { border-radius: 999px; min-height: 52px; padding: 0 8px 0 24px; gap: 12px; font-weight: 700; font-size: 15px; transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .16s var(--ease), box-shadow .25s ease; }
.btn:not(:has(> svg:last-child)), .btn:has(> svg:first-child) { padding: 0 22px; }
.btn:active { transform: scale(.97); }
.btn > svg:last-child:not(:first-child) { width: 36px; height: 36px; padding: 10px; border-radius: 50%; background: rgb(255 255 255 / .16); transition: transform .35s var(--ease), background-color .25s ease; }
.btn-gold, .btn-ink { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -14px rgb(15 36 50 / .6); }
@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover, .btn-ink:hover { background: var(--accent); }
  .btn:hover > svg:last-child:not(:first-child) { transform: rotate(45deg); }
}
.btn-line { border: 1.5px solid var(--line-2); color: var(--ink); background: #fff; }
@media (hover: hover) and (pointer: fine) { .btn-line:hover { border-color: var(--ink); background: #fff; color: var(--ink); } }
.btn-light { background: #fff; color: var(--ink); }
.btn-light > svg:last-child:not(:first-child) { background: var(--accent-soft); color: var(--accent); }
.btn-ghost { border-radius: 999px; border: 1.5px solid var(--line-2); }
.btn-ghost-w { background: transparent; color: #fff; border: 1.5px solid rgb(255 255 255 / .45); }
@media (hover: hover) and (pointer: fine) { .btn-ghost-w:hover { border-color: #fff; } }
.nav-cta { border-radius: 999px; background: var(--ink); padding: 0 20px; font-weight: 700; }
.lang { border-radius: 999px; padding: 3px; gap: 2px; background: var(--band); border-color: transparent; }
.lang button { border-radius: 999px; min-height: 30px; }
.menu-btn { border-radius: 50%; }
.chip-link, .chips span, .copy { border-radius: 999px; }
.f input, .f textarea { border-radius: var(--rs); background: #fff; }
.pr-go { text-decoration: none; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; transition: background-size .35s var(--ease), color .2s; }
@media (hover: hover) and (pointer: fine) { .pr-go:hover { background-size: 0 1.5px; background-position: 100% 100%; } }

/* header: lighter, with a reading-progress line */
.ubar { background: var(--ink); color: rgb(255 255 255 / .75); border: 0; }
.ubar a, .ub-status b { color: #fff; }
.ubar .ic { color: rgb(255 255 255 / .6); }
.ub-status .live { box-shadow: 0 0 0 0 rgb(57 196 117 / .6); animation: live 2.4s ease-out infinite; background: #39c475; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgb(57 196 117 / .55); } 70%, 100% { box-shadow: 0 0 0 8px rgb(57 196 117 / 0); } }
.nav { background: rgb(255 255 255 / .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.nav::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
.links a { font-weight: 600; }
.links a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 18px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .35s var(--ease); }
.links a:hover::after, .links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: 0 50%; }
.links a[aria-current="page"] { box-shadow: none; }
.brand .mk .spire { fill: var(--accent-2); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv, .js [data-reveal] { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease); transition-delay: var(--d, 0ms); }
  .js .rv.in, .js [data-reveal].in { opacity: 1; transform: none; filter: none; }
  .js .rv[data-anim="clip"] { opacity: 1; filter: none; transform: none; clip-path: inset(18% 0 0 0 round var(--rc)); transition: clip-path 1.1s var(--ease-io); transition-delay: var(--d, 0ms); }
  .js .rv[data-anim="clip"] img { transform: scale(1.18); transition: transform 1.4s var(--ease); }
  .js .rv[data-anim="clip"].in { clip-path: inset(0 0 0 0 round var(--rc)); }
  .js .rv[data-anim="clip"].in img { transform: none; }
  .js .h2 { clip-path: inset(0 0 -20% 0); }
  .js .sec-head .h2, .js .help-copy .h2, .js .meet-copy .h2, .js .rw-head .h2, .js .blk-head .h2, .js .method-l .h2, .js .faq-l .h2, .js .nm-head .h2, .js .hoods-head .h2, .js .why-head .h2 { transform: translateY(105%); transition: transform 1s var(--ease); }
  .js .h2.in-h { transform: none !important; }
  .js .hero .h1 > span { display: inline-block; animation: lineUp 1.1s var(--ease) both; }
  .js .hero .h1 > .l2 { animation-delay: .12s; }
  .js .hero .h1 > .l3 { animation-delay: .24s; }
  .js .hero .lede, .js .hero .hero-cta, .js .hero .loans-line, .js .hero .eyebrow, .js .hero .hero-call { animation: fadeUp .9s var(--ease) both; animation-delay: .45s; }
  .js .hero .eyebrow { animation-delay: 0s; }
  .js .hero .hero-cta { animation-delay: .55s; }
}
@keyframes lineUp { from { transform: translateY(60%); opacity: 0; clip-path: inset(0 0 100% 0); } to { transform: none; opacity: 1; clip-path: inset(-20% -10% -30% -10%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- home hero: words on the left, the drone film in a rounded frame with floating notes ---------- */
.hhero { display: block; min-height: 0; background: radial-gradient(1200px 600px at 85% -10%, var(--accent-soft), transparent 60%), #fff; color: var(--ink); isolation: isolate; overflow: hidden; }
.hhero > * { grid-area: auto; }
.hh-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 88px) clamp(48px, 6vw, 96px); }
.hhero .hero-in { align-self: center; padding: 0; }
.hhero .hero-in > * { max-width: 620px; }
.hhero .eyebrow { color: var(--accent); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); animation: live2 2.4s ease-out infinite; }
@keyframes live2 { 0% { box-shadow: 0 0 0 0 rgb(43 134 189 / .5); } 70%, 100% { box-shadow: 0 0 0 9px rgb(43 134 189 / 0); } }
.hhero .h1 { color: var(--ink); font-size: clamp(46px, 6.4vw, 92px); }
.hhero .h1 > span { display: inline; }
.hhero .h1 > .l1, .hhero .h1 > .l3, .js .hhero .h1 > .l1, .js .hhero .h1 > .l3 { display: block; }
.hhero .h1 .l2 { color: var(--accent); position: relative; display: inline-block; white-space: nowrap; }
.hhero .h1 .l2::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .09em; border-radius: 1em; background: var(--sun); opacity: .9; transform-origin: 0 50%; animation: swash 1s var(--ease) .9s both; }
@keyframes swash { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hhero .h1 .l2 .rw-w { display: inline-block; }
.hhero .lede { color: var(--ink-2); margin-top: 24px; max-width: 52ch; }
.hhero .hero-cta { margin-top: 32px; }
.hhero .btn-gold { background: var(--ink); color: #fff; }
.hhero .btn-line { color: var(--ink); border-color: var(--line-2); }
.hhero .loans-line { color: var(--ink-2); border-top: 1px solid var(--line); }
.hh-media { position: relative; }
.hhero .hmedia { position: relative; z-index: 0; aspect-ratio: 4 / 4.6; border-radius: 28px; overflow: hidden; background: #1b2a33; box-shadow: 0 40px 80px -40px rgb(15 36 50 / .55); transform: scale(var(--hs, 1)); }
.hhero .hmedia::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(10 25 35 / .35), transparent 40%); }
.js .hhero .hmedia { animation: frameIn 1.4s var(--ease) both; }
@keyframes frameIn { from { clip-path: inset(10% 10% 10% 10% round 28px); } to { clip-path: inset(0 0 0 0 round 28px); } }
.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; background: rgb(255 255 255 / .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 18px; box-shadow: var(--shadow); font-size: 14px; line-height: 1.25; }
.float b { display: block; font-weight: 700; }
.float small { display: block; color: var(--ink-3); font-size: 12.5px; }
.float .ic { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.f-bilal { left: -28px; bottom: 56px; }
.f-bilal picture, .f-bilal img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.f-reply { right: -20px; top: 40px; }
.f-lang { right: 28px; bottom: -18px; padding: 8px 16px 8px 8px; font-weight: 600; }
.f-lang .ic { width: 32px; height: 32px; padding: 7px; border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .js .float { animation: floatIn 1s var(--ease) both, bob 7s ease-in-out 1.6s infinite; }
  .js .f-bilal { animation-delay: .7s, 1.7s; }
  .js .f-reply { animation-delay: .9s, 2.6s; }
  .js .f-lang { animation-delay: 1.1s, 3.4s; }
}
@keyframes floatIn { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 980px) {
  .hh-in { grid-template-columns: minmax(0, 1fr); }
  .hhero .hmedia { aspect-ratio: 16 / 11; }
  .f-bilal { left: 12px; bottom: 16px; }
  .f-reply { right: 12px; top: 12px; }
  .f-lang { display: none; }
}
@media (max-width: 520px) { .f-reply { display: none; } .hhero .h1 { font-size: 44px; } }

/* ---------- the strip under the hero ---------- */
.qstrip { padding-bottom: clamp(48px, 6vw, 88px); }
.qs-in { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 18px; }
.qcard { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--rc); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; overflow: hidden; }
.qc-ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); flex: none; }
.qc-ic .ic { width: 22px; height: 22px; }
.qc-value b { font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin-top: 10px; }
.qc-value > span:not(.qc-ic):not(.qc-go) { color: var(--ink-2); font-size: 15px; }
.qc-go { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); }
.qc-go .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.qc-value { background: linear-gradient(160deg, #fff 40%, var(--accent-soft)); }
@media (hover: hover) and (pointer: fine) { .qc-value:hover .qc-go .ic { transform: translateX(5px); } .qc-value { transition: transform .4s var(--ease); } .qc-value:hover { transform: translateY(-4px); } }
.qc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qc-top .kicker { margin: 0; }
.qr-stage { position: relative; display: grid; flex: 1; margin-top: 10px; }
.qr-stage > .rv-card { grid-area: 1 / 1; margin: 0; padding: 0; border: 0; box-shadow: none; background: none; min-height: 0; opacity: 0; transform: translateY(10px); filter: blur(4px); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease); pointer-events: none; }
.qr-stage > .rv-card .stars { display: none; }
.qr-stage > .rv-card.on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.qr-stage .rq { font-size: 17px; line-height: 1.5; color: var(--ink); font-weight: 500; }
.qr-bar { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 14px; }
.qr-bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.qr-bar i.run { animation: bar var(--qd, 6s) linear both; }
@keyframes bar { to { transform: scaleX(1); } }
.qc-status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.qc-status i { width: 8px; height: 8px; border-radius: 50%; background: #39c475; animation: live 2.4s ease-out infinite; }
.qc-status[data-open="false"] i { background: var(--ink-3); animation: none; }
.hours { list-style: none; display: grid; gap: 2px; margin-top: 10px; font-size: 14.5px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 10px; border-radius: 10px; color: var(--ink-2); }
.hours li:nth-child(n+6) { color: var(--ink-3); }
.hours li.today { background: var(--accent-soft); color: var(--ink); font-weight: 700; }
.qc-call { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--ink); }
.qc-call .ic { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 980px) { .qs-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .qc-review { grid-column: 1 / -1; grid-row: 1; } }
@media (max-width: 600px) { .qs-in { grid-template-columns: minmax(0, 1fr); } }

/* stars and review cards */
.stars { display: inline-flex; gap: 3px; }
.stars i { width: 16px; height: 16px; background: var(--sun); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.sample .stars i { background: var(--line-2); }
.rv-card { position: relative; flex: none; width: min(380px, 80vw); margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--rc); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.rv-card blockquote { margin: 0; }
.rv-card .rq { font-size: 16px; line-height: 1.55; color: var(--ink); }
.rv-card figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.rv-card figcaption b { display: block; font-size: 15px; }
.rv-card figcaption small { display: block; font-size: 13px; color: var(--ink-3); }
.av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; flex: none; }
.rv-card .tag { position: absolute; top: 20px; right: 20px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #9a6a10; background: #fdf1d8; padding: 4px 9px; border-radius: 999px; }
.qr-stage .tag { top: 0; right: 0; }

/* ---------- section heads ---------- */
.sec-head { border-bottom: 0; padding-bottom: 0; align-items: end; }
.sec-head .kicker { margin-bottom: 14px; }
.sec-head.center { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
.sec-head.center .kicker { margin-inline: auto; }

/* ---------- services bento ---------- */
.bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: repeat(2, minmax(260px, 1fr)); gap: 18px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; border-radius: var(--rc); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; background: #1b2a33; }
.tile.big { grid-row: span 2; }
.tile-ph { position: absolute; inset: 0; z-index: -1; }
.tile-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(8 20 28 / .82) 0%, rgb(8 20 28 / .2) 55%, rgb(8 20 28 / 0) 100%); }
.tile-tx { display: flex; flex-direction: column; gap: 6px; padding: 24px; max-width: 420px; }
.tile-t { font-size: 26px; font-weight: 700; letter-spacing: -.025em; }
.big .tile-t { font-size: clamp(30px, 3vw, 40px); }
.tile-s { color: rgb(255 255 255 / .85); font-size: 15px; line-height: 1.45; max-height: 0; opacity: 0; transition: max-height .6s var(--ease), opacity .4s ease; }
.big .tile-s, .tile:focus-visible .tile-s { max-height: 6em; opacity: 1; }
.go-c { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgb(255 255 255 / .92); color: var(--ink); transition: transform .45s var(--ease), background-color .3s; }
.go-c .ic { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover .tile-ph img { transform: scale(1.07); }
  .tile:hover .tile-s { max-height: 6em; opacity: 1; }
  .tile:hover .go-c { transform: rotate(45deg); background: var(--sun); }
}
@media (hover: none) { .tile-s { max-height: 6em; opacity: 1; } }
.tile-all { background: var(--accent); color: #fff; justify-content: space-between; padding: 26px; gap: 18px; }
.tile-all .kicker { background: rgb(255 255 255 / .15); color: #fff; }
.all-list { list-style: none; display: grid; }
.all-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgb(255 255 255 / .2); text-decoration: none; font-weight: 600; }
.all-list .ic { width: 16px; height: 16px; opacity: .7; transition: transform .3s var(--ease), opacity .2s; }
.all-list a:hover .ic { transform: translateX(4px); opacity: 1; }
.tile-all .btn { align-self: flex-start; }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; } .tile.big { grid-row: auto; grid-column: 1 / -1; min-height: 380px; } }
@media (max-width: 600px) { .bento { grid-template-columns: minmax(0, 1fr); } .tile { min-height: 320px; } }

/* ---------- moving area strip ---------- */
.mq { overflow: hidden; padding-block: clamp(18px, 3vw, 34px); border-block: 1px solid var(--line); background: #fff; }
.mq-track { display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); width: max-content; }
.mq-track.run { animation: mq var(--mq-dur, 60s) linear infinite; }
.mq-track.paused { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq-i { font-size: clamp(36px, 5.6vw, 76px); font-weight: 800; letter-spacing: -.04em; line-height: 1; white-space: nowrap; color: var(--ink); }
.mq-i:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.mq-dot .mk { width: 26px; height: 34px; color: var(--accent-2); }

/* ---------- free home value ---------- */
.help { background: var(--band); margin-top: clamp(56px, 7vw, 100px); }
.mq + .help { margin-top: 0; }
.help-in { align-items: center; }
.mini-tl { list-style: none; position: relative; display: grid; gap: 18px; margin-top: 30px; }
.mini-tl::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: repeating-linear-gradient(var(--line-2) 0 6px, transparent 6px 12px); }
.mini-tl li { position: relative; display: flex; gap: 16px; align-items: center; }
.mini-tl .ic { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: #fff; color: var(--accent); box-shadow: var(--shadow); flex: none; }
.mini-tl b { display: block; font-weight: 700; }
.mini-tl small { color: var(--ink-3); font-size: 14px; }
form[data-lead] { border: 0; border-radius: 26px; box-shadow: 0 40px 80px -40px rgb(15 36 50 / .4), 0 0 0 1px var(--line); }
dialog.lead form { border-radius: 26px; }

/* ---------- meet Bilal ---------- */
.meet-in { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.meet-art { position: relative; padding: 34px; }
.meet-ph { position: relative; z-index: 1; border-radius: 999px 999px 28px 28px; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -40px rgb(15 36 50 / .5); background: var(--accent-soft); }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed var(--line-2); aspect-ratio: 1; margin: auto; width: 100%; height: auto; top: 50%; translate: 0 -50%; }
@media (prefers-reduced-motion: no-preference) { .orbit { animation: spin 50s linear infinite; } .orbit .ob { animation: spin 50s linear infinite reverse; } }
@keyframes spin { to { rotate: 360deg; } }
.ob { position: absolute; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--accent); box-shadow: var(--shadow); z-index: 2; }
.ob .ic { width: 22px; height: 22px; }
.ob1 { top: 4%; left: 12%; } .ob2 { top: 44%; right: -4%; } .ob3 { bottom: 2%; left: 22%; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.facts li { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--rs); background: var(--band); }
.facts .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #fff; color: var(--accent); flex: none; }
.facts small { display: block; font-size: 12.5px; color: var(--ink-3); }
.facts b { display: block; font-size: 15px; line-height: 1.3; }
@media (max-width: 900px) { .meet-art { max-width: 460px; } .meet-ph { aspect-ratio: 4 / 4.6; max-width: none; } }
@media (max-width: 480px) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- timeline ---------- */
.tl { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 12px; }
.tl-line { position: absolute; left: 28px; right: 28px; top: 28px; height: 2px; background: var(--line); border-radius: 2px; }
.tl-line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: 0 50%; transform: scaleX(var(--tp, 0)); border-radius: 2px; }
.tl-step { position: relative; }
.tl-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; border: 2px solid var(--line); color: var(--ink-3); transition: border-color .5s, color .5s, background-color .5s, transform .5s var(--ease); }
.tl-dot .ic { width: 22px; height: 22px; }
.tl-step.lit .tl-dot { border-color: var(--accent); background: var(--accent); color: #fff; transform: scale(1.06); }
.tl-step h3 { margin-top: 20px; font-size: 20px; }
.tl-step p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) {
  .tl { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .tl-line { left: 28px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .tl-line i { transform-origin: 50% 0; transform: scaleY(var(--tp, 0)); }
  .tl-step { display: grid; grid-template-columns: 58px 1fr; column-gap: 18px; }
  .tl-step .tl-dot { grid-row: span 2; }
  .tl-step h3 { margin-top: 6px; }
}

/* ---------- reviews ---------- */
.reviews { padding-block: clamp(64px, 8vw, 112px); background: linear-gradient(180deg, #fff, var(--band)); overflow: hidden; }
.reviews.inner { margin-block: clamp(24px, 4vw, 56px) 0; border-radius: 0; }
.rw-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.rv-note { margin-top: 12px; font-size: 14px; color: #8a5f0d; background: #fdf1d8; padding: 8px 14px; border-radius: 12px; width: fit-content; }
.rw-pause { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 700; font-size: 14px; cursor: pointer; flex: none; }
.ps { width: 12px; height: 12px; background: linear-gradient(90deg, var(--ink) 0 35%, transparent 35% 65%, var(--ink) 65%); }
.rw-pause[data-paused] .ps { background: var(--ink); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.rw-rows { display: grid; gap: 18px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rw-row { overflow: hidden; }
.rw-track { display: flex; align-items: flex-start; gap: 18px; width: max-content; padding-block: 6px 30px; }
.rw-track .rv-card.long { width: min(470px, 86vw); }
.rw-track.run { animation: mq var(--rw-dur, 70s) linear infinite; }
.rev .rw-track.run { animation-direction: reverse; }
.rw-rows.paused .rw-track { animation-play-state: paused; }
.rw-pause[hidden] { display: none; }
.rw-src { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
/* a few real reviews: one large quote at a time, every reviewer listed beside it */
.rs { position: relative; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(250px, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(28px, 4.4vw, 60px); border-radius: var(--rc); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; isolation: isolate; }
.rs-mark { position: absolute; z-index: -1; top: -.12em; left: .06em; font-size: clamp(200px, 24vw, 340px); line-height: 1; font-weight: 800; color: var(--sky-2); pointer-events: none; user-select: none; }
.rs-stage { display: grid; gap: 28px; padding-top: clamp(28px, 4vw, 56px); }
.rs-q { margin: 0; display: flex; flex-direction: column; gap: 22px; align-self: center; }
.rs-q figcaption { display: flex; flex-direction: column; gap: 8px; }
.rs-q blockquote { margin: 0; }
.rs-q .rq { font-size: clamp(21px, 2.3vw, 30px); line-height: 1.38; font-weight: 600; letter-spacing: -.015em; color: var(--ink); text-wrap: pretty; }
.rs-q figcaption b { display: block; font-size: 16px; }
.rs-q figcaption small { display: block; font-size: 14px; color: var(--ink-3); }
.js .rs-stage > .rs-q { grid-area: 1 / 1; opacity: 0; transform: translateY(12px); filter: blur(5px); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); pointer-events: none; }
.js .rs-stage > .rs-q.on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.js .rs-q.on .rq { animation: rsIn .9s var(--ease) both; }
@keyframes rsIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 -10% 0); } }
.rs-nav { display: grid; gap: 10px; }
.rs-src { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.rs-who { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--sky); text-align: left; font: inherit; color: var(--ink); cursor: pointer; overflow: hidden; transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), transform .16s var(--ease); }
.rs-who:active { transform: scale(.98); }
.rs-who.on { background: #fff; border-color: var(--sky-3); box-shadow: var(--shadow); }
@media (hover: hover) and (pointer: fine) { .rs-who:hover { border-color: var(--sky-3); } }
.rs-nm b { display: block; font-size: 15px; }
.rs-nm small { display: block; font-size: 13px; color: var(--ink-3); }
.rs-bar { position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; border-radius: 3px; overflow: hidden; }
.rs-who.on .rs-bar { background: var(--line); }
.rs-bar i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.rs-bar i.run { animation: bar var(--qd, 8s) linear both; }
.rs.paused .rs-bar i { animation-play-state: paused; }
@media (max-width: 860px) { .rs { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .js .rs-stage > .rs-q { transition: none; filter: none; transform: none; } .js .rs-q.on .rq { animation: none; } }
@media (max-width: 600px) { .rw-head { flex-direction: column; align-items: flex-start; } }

/* ---------- neighborhoods carousel ---------- */
.car-ctl { display: flex; gap: 10px; justify-self: end; }
.car-b { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .16s var(--ease); }
.car-b:first-child .ic { transform: scaleX(-1); }
.car-b:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .car-b:hover { background: var(--ink); color: #fff; border-color: var(--ink); } }
.car { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); cursor: grab; }
.car::-webkit-scrollbar { display: none; }
.car.drag { cursor: grabbing; scroll-snap-type: none; }
.car-track { display: flex; gap: 18px; width: max-content; padding-inline: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); padding-bottom: 8px; }
.nbc { position: relative; flex: none; width: clamp(250px, 24vw, 330px); aspect-ratio: 3 / 4; border-radius: var(--rc); overflow: hidden; scroll-snap-align: start; color: #fff; text-decoration: none; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; background: #1b2a33; }
.nbc-ph { position: absolute; inset: 0; z-index: -1; }
.nbc-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); pointer-events: none; }
.nbc-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(8 20 28 / .8), rgb(8 20 28 / 0) 55%); }
.nbc-tx { padding: 22px; display: grid; gap: 6px; }
.nbc b { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.nbc-s { font-size: 14.5px; color: rgb(255 255 255 / .85); line-height: 1.45; }
@media (hover: hover) and (pointer: fine) { .nbc:hover .nbc-ph img { transform: scale(1.06); } .nbc:hover .go-c { transform: rotate(45deg); background: var(--sun); } }
.car-foot { display: flex; align-items: center; gap: 28px; margin-top: 26px; }
.car-prog { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.car-prog i { display: block; height: 100%; width: var(--cw, 30%); background: var(--ink); border-radius: 3px; transform: translateX(var(--cx, 0)); transition: transform .2s linear; }

/* ---------- guides with a photo that follows the pointer ---------- */
.g-list { border-top: 1px solid var(--line-2); }
.g-row { position: relative; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; align-items: center; padding: 26px 4px; transition: padding .45s var(--ease), color .2s; }
.g-row b { font-size: clamp(19px, 1.9vw, 24px); font-weight: 700; letter-spacing: -.02em; }
.g-row .go-c { position: static; width: 46px; height: 46px; border: 1.5px solid var(--line-2); background: #fff; }
@media (hover: hover) and (pointer: fine) { .g-row:hover { padding-left: 18px; } .g-row:hover b { color: var(--accent); } .g-row:hover .go-c { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); } }
.peek { position: fixed; left: 0; top: 0; z-index: 20; width: 300px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(.85) rotate(-4deg); transition: opacity .3s ease, transform .5s var(--ease); box-shadow: 0 30px 60px -30px rgb(15 36 50 / .55); }
.peek.on { opacity: 1; transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1) rotate(-2deg); }
.peek img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 900px) { .peek { display: none; } }

/* ---------- visit ---------- */
.visit { background: var(--band); padding-block: clamp(64px, 8vw, 112px); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.5fr 1.1fr; gap: 18px; }
.vcard { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--rc); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.vcard > b { font-size: 20px; font-weight: 700; margin-top: 6px; }
.v-photo { padding: 0; min-height: 340px; justify-content: flex-end; }
.v-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v-addr { position: relative; margin: 16px; display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: rgb(255 255 255 / .94); backdrop-filter: blur(8px); }
.v-addr b { display: block; font-size: 13px; color: var(--ink-3); font-weight: 600; }
.v-addr a { font-weight: 700; text-decoration: none; line-height: 1.35; }
.v-call { background: var(--accent); color: #fff; border: 0; }
.v-call .qc-ic { background: rgb(255 255 255 / .15); color: #fff; }
.v-num { font-size: clamp(28px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.03em; text-decoration: none; color: #fff; }
.v-mail { color: rgb(255 255 255 / .85); text-decoration: none; }
.v-call .cta-row { margin-top: auto; padding-top: 12px; }
@media (max-width: 1060px) { .visit-grid { grid-template-columns: 1fr 1fr; } .v-photo { grid-column: 1 / -1; grid-row: 1; } }
@media (max-width: 640px) { .visit-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- inner pages pick up the same language ---------- */
.phero .h1 { font-size: clamp(40px, 5vw, 70px); }
.frame-in, .ab-in, .nm-ph, .h-ph, .p-ph, .nb-ph, .visit-ph { border-radius: var(--rc); }
.phero .phero-aside .frame-in { box-shadow: 0 40px 80px -40px rgb(15 36 50 / .5); }
.loans-line { border-top-color: var(--line); }
.step { position: relative; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; border: 0; padding: 0 0 30px; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 0; padding: 0; position: relative; z-index: 1; }
.step-n::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: currentColor; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line); }
.step h3 { padding-top: 9px; }
.stack { border-top: 0; }
.faq-list { border-top: 0; gap: 10px; }
.qa { border: 1px solid var(--line); border-radius: var(--rs); background: #fff; padding-inline: 20px; transition: box-shadow .3s, border-color .3s; }
.qa[open] { box-shadow: var(--shadow); border-color: transparent; }
.q-i { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); }
.q-i::before, .q-i::after { left: 9px; width: 12px; background: var(--accent); }
.cta-band { border-top: 0; border-radius: 28px; background: radial-gradient(600px 300px at 90% 0%, #fff, transparent 70%), var(--accent-soft); }
.sub-item { border-top: 0; padding: 22px; border-radius: var(--rs); background: var(--band); }
.reasons li { border-top: 0; padding: 22px; border-radius: var(--rs); background: var(--band); }
.reasons { gap: 16px; }
.ab-facts { border-top: 0; padding: 8px 20px; border-radius: var(--rc); background: var(--band); }
.ab-facts > div:last-child { border-bottom: 0; }
.office { border-top: 0; padding: 4px 20px; border-radius: var(--rc); background: var(--band); }
.office > div:last-child { border-bottom: 0; }
.note { border-left: 0; border-radius: var(--rs); background: var(--accent-soft); }
.toc { border: 0; padding: 22px; border-radius: var(--rc); background: var(--band); }
.nm-ph, .h-ph { margin-bottom: 18px; }
@media (hover: hover) and (pointer: fine) { .nm:hover .nm-ph img, .hood:hover .h-ph img { transform: scale(1.06); } }

/* ---------- footer ---------- */
.foot { background: var(--band); border-top: 0; margin-top: 0; }
main:not(:has(> .visit:last-child)) + .foot { margin-top: clamp(48px, 6vw, 88px); }
.foot a.btn-gold, .foot a.btn-ink { color: #fff; }
.ft-num { font-weight: 800; }
.dk-gold { background: var(--accent); }
.dock { border-radius: 0; }
.sfoot { background: var(--band); }

/* round-3 fixes after the first look */
.hhero .h1 { font-size: clamp(44px, 5.5vw, 80px); }
.hhero .hero-in > * { max-width: 660px; }
.qr-stage .tag { position: static; display: inline-block; width: fit-content; margin-bottom: 10px; }
.qr-stage .rv-card { flex-direction: column; }
.qstrip + .sec { padding-top: clamp(24px, 3vw, 48px); }
@media (max-width: 900px) { .meet-in { grid-template-columns: minmax(0, 1fr); } .meet-art { margin-inline: auto; width: 100%; } }
@media (max-width: 760px) { .g-row { grid-template-columns: minmax(0, 1fr) auto; } .g-row > span:not(.go-c) { grid-column: 1; } .g-row .go-c { grid-column: 2; grid-row: 1 / span 2; } }

/* ---------------------------------------------------------------- round-3 SEO pass */
.tl-wrap { position: relative; margin-top: 12px; }
.tl-wrap > .tl { margin-top: 0; }
.ub-when { display: inline-block; min-width: 9.5ch; }
.g-foot { margin-top: 22px; }
.doc .doc-h1 { font-size: clamp(36px, 4.6vw, 56px); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; }

/* =====================================================================
   Round 4: colour, photos and motion. Light only.
   Coastal tints (sky, sea, sand) with bay-wave edges and a little paper grain;
   real photography in bands and layered cards; frosted white glass on photos.
   ===================================================================== */
:root {
  --sky: #ecf5fb; --sky-2: #d5e8f4; --sky-3: #bcd9ec;
  --sea: #e6f4ef; --sea-2: #cde9df; --sea-ink: #22685a;
  --sand: #fbf4e8; --sand-2: #f4e6cd; --sand-ink: #7a5718;
  --glass: rgb(255 255 255 / .86); --glass-line: rgb(255 255 255 / .7);
  --wave-w: clamp(760px, 110vw, 1700px);
  --wave-h: clamp(22px, 2.8vw, 42px);
  /* bay wave, tiles seamlessly: -t is the top edge of a band, -b the bottom edge */
  --wave-t: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20C240 0 480 0 720 20S1200 40 1440 20V40H0Z'/%3E%3C/svg%3E");
  --wave-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20C240 0 480 0 720 20S1200 40 1440 20V0H0Z'/%3E%3C/svg%3E");
  /* paper grain: a 180px tile of fine ink-coloured noise, a few percent strong */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .06 0 0 0 0 .14 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
  --mesh: radial-gradient(48% 62% at 92% 6%, var(--sky-2) 0%, rgb(213 232 244 / 0) 70%),
          radial-gradient(42% 55% at 4% 96%, var(--sand-2) 0%, rgb(244 230 205 / 0) 70%),
          radial-gradient(38% 50% at 46% 70%, var(--sea) 0%, rgb(230 244 239 / 0) 72%),
          linear-gradient(180deg, #f6fafd, #fbfcfb);
}
main, .foot { overflow-x: clip; }

/* ---------- heroes (home and inner): sky, sea and sand under grain, a bay-wave hem, a slow sun ---------- */
.hhero, .phero { position: relative; isolation: isolate; }
.hhero { background: none; }
.hhero::before, .phero::before {
  content: ""; position: absolute; z-index: -2; inset: 0 50%; margin-inline: -50vw; pointer-events: none;
  background: var(--grain), var(--mesh);
  -webkit-mask: linear-gradient(#000 0 0) 0 0 / 100% calc(100% - var(--wave-h) + 1px) no-repeat, var(--wave-b) 0 100% / var(--wave-w) var(--wave-h) repeat-x;
          mask: linear-gradient(#000 0 0) 0 0 / 100% calc(100% - var(--wave-h) + 1px) no-repeat, var(--wave-b) 0 100% / var(--wave-w) var(--wave-h) repeat-x;
}
.hhero::after, .phero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: clamp(320px, 42vw, 640px); aspect-ratio: 1; left: -8%; top: -18%; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(240 178 63 / .16), rgb(240 178 63 / 0));
}
@media (prefers-reduced-motion: no-preference) { .hhero::after, .phero::after { animation: sunDrift 26s ease-in-out infinite alternate; } }
@keyframes sunDrift { to { transform: translate(18%, 22%) scale(1.15); } }
.hhero .hh-in { padding-bottom: calc(clamp(48px, 6vw, 96px) + var(--wave-h)); }
.phero { padding-bottom: calc(clamp(48px, 6vw, 80px) + var(--wave-h)); }
/* heroes without a photo (the FAQ hub): the Emmar skyline rises on the right */
.phero:not(.has-aside)::after {
  left: auto; top: auto; right: 0; bottom: var(--wave-h); width: auto; height: 82%; aspect-ratio: 65.4 / 86.4; border-radius: 0; animation: none;
  background: linear-gradient(180deg, var(--sky-3), rgb(188 217 236 / 0));
  -webkit-mask: var(--mark-lines) center / contain no-repeat; mask: var(--mark-lines) center / contain no-repeat;
}
@media (prefers-reduced-motion: no-preference) { .js .phero:not(.has-aside)::after { animation: rise 1.6s var(--ease) .3s both; } }
@keyframes rise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (max-width: 900px) { .phero:not(.has-aside)::after { opacity: .5; height: 60%; } }

/* ---------- tinted bands with bay-wave edges and a drifting tide line ----------
   home: value (.help), how it works (.how), office (.visit); inner pages: .method and .faq */
.method, .faq, .help, .how, .visit { position: relative; isolation: isolate; }
.help, .visit { background: none; }
.how { padding-top: clamp(64px, 8vw, 112px) !important; margin-top: clamp(24px, 4vw, 56px); }
.method, .faq { padding-block: clamp(72px, 9vw, 128px); }
:is(.method, .faq, .help, .how, .visit)::after {
  content: ""; position: absolute; z-index: -2; inset: 0 50%; margin-inline: -50vw; pointer-events: none;
  background: var(--grain), var(--band-bg, var(--sky));
  -webkit-mask: var(--wave-t) 0 0 / var(--wave-w) var(--wave-h) repeat-x,
                linear-gradient(#000 0 0) 0 calc(var(--wave-h) - 1px) / 100% calc(100% - 2 * var(--wave-h) + 2px) no-repeat,
                var(--wave-b) 0 100% / var(--wave-w) var(--wave-h) repeat-x;
          mask: var(--wave-t) 0 0 / var(--wave-w) var(--wave-h) repeat-x,
                linear-gradient(#000 0 0) 0 calc(var(--wave-h) - 1px) / 100% calc(100% - 2 * var(--wave-h) + 2px) no-repeat,
                var(--wave-b) 0 100% / var(--wave-w) var(--wave-h) repeat-x;
}
/* a second, deeper wave peeks over each band's top edge and drifts like the tide */
:is(.method, .faq, .help, .how, .visit)::before {
  content: ""; position: absolute; z-index: -3; left: 50%; width: 100vw; margin-left: -50vw; pointer-events: none;
  top: calc(var(--wave-h) * -.5); height: calc(var(--wave-h) * 2.2);
  background: var(--tide, var(--sky-2));
  -webkit-mask: var(--wave-t) 0 0 / calc(var(--wave-w) * .8) var(--wave-h) repeat-x, linear-gradient(#000 0 0) 0 calc(var(--wave-h) - 1px) / 100% 100% no-repeat;
          mask: var(--wave-t) 0 0 / calc(var(--wave-w) * .8) var(--wave-h) repeat-x, linear-gradient(#000 0 0) 0 calc(var(--wave-h) - 1px) / 100% 100% no-repeat;
}
@media (prefers-reduced-motion: no-preference) { :is(.method, .faq, .help, .how, .visit)::before { animation: tide 22s linear infinite; } }
@keyframes tide { to { -webkit-mask-position: calc(var(--wave-w) * .8) 0, 0 calc(var(--wave-h) - 1px); mask-position: calc(var(--wave-w) * .8) 0, 0 calc(var(--wave-h) - 1px); } }
/* the office band runs straight into the footer, so it only needs a top wave */
.visit::after {
  -webkit-mask: var(--wave-t) 0 0 / var(--wave-w) var(--wave-h) repeat-x, linear-gradient(#000 0 0) 0 calc(var(--wave-h) - 1px) / 100% 100% no-repeat;
          mask: var(--wave-t) 0 0 / var(--wave-w) var(--wave-h) repeat-x, linear-gradient(#000 0 0) 0 calc(var(--wave-h) - 1px) / 100% 100% no-repeat;
}
.method, .how { --band-bg: linear-gradient(180deg, var(--sky) 0%, #eef6f8 100%); --tide: var(--sky-2); }
.help { --band-bg: linear-gradient(160deg, var(--sea) 0%, var(--sky) 70%); --tide: var(--sea-2); }
.faq, .visit { --band-bg: linear-gradient(180deg, var(--sand) 0%, #fcf8f1 100%); --tide: var(--sand-2); }
/* what sits on a band picks up its colour */
.how .tl-dot { background: #fff; border-color: var(--sky-3); }
.how .tl-line { background: var(--sky-3); }
.method .step-n { background: #fff; box-shadow: var(--shadow); }
.method .step:not(:last-child)::before { background: var(--sky-3); }
.faq .qa { border-color: rgb(122 87 24 / .14); }
.faq .q-i { background: var(--sand-2); }
.faq .q-i::before, .faq .q-i::after { background: var(--sand-ink); }
:is(.faq, .visit) .kicker { color: var(--sand-ink); background: var(--sand-2); }
.help .kicker { color: var(--sea-ink); background: var(--sea-2); }
.help .mini-tl .ic { color: var(--sea-ink); }
.help .mini-tl::before { background: repeating-linear-gradient(var(--sea-ink) 0 6px, transparent 6px 12px); opacity: .35; }
/* the Emmar skyline as a pale watermark behind the free home value copy */
.help { overflow-x: clip; }
.help-copy { position: relative; }
.help-copy::before {
  content: ""; position: absolute; z-index: -1; aspect-ratio: 65.4 / 86.4; pointer-events: none; left: -6%; bottom: -30%; height: 120%;
  background: linear-gradient(180deg, rgb(34 104 90 / .14), rgb(34 104 90 / 0));
  -webkit-mask: var(--mark-lines) center / contain no-repeat; mask: var(--mark-lines) center / contain no-repeat;
}
@media (max-width: 980px) { .help-copy::before { left: auto; right: -8%; bottom: auto; top: -6%; height: 46%; } }

/* ---------- home: the area names run across a sunset sky that drifts slower than the page ---------- */
.mq { position: relative; isolation: isolate; border: 0; padding-block: clamp(48px, 7.5vw, 104px); background: #e7d6d0; }
.mq::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: -30%; bottom: -30%; background: url(../img/p/relocate-l-1280-50-relocate.webp) 50% 8% / cover no-repeat; transform: translate3d(0, var(--py, 0px), 0); }
.mq-i { color: #fff; text-shadow: 0 2px 28px rgb(15 36 50 / .28); }
.mq-i:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px #fff; text-shadow: none; }
.mq-dot .mk { color: #fff; }

/* ---------- photos behind the value forms, and a photo value card under the home hero ---------- */
.help-form { position: relative; isolation: isolate; }
.help-form::before { content: ""; position: absolute; z-index: -1; top: -56px; right: -48px; width: 70%; height: 64%; border-radius: 28px; background: url(../img/p/pinecrest-p-1120-50-noir-l1.webp) 50% 50% / cover no-repeat; box-shadow: 0 30px 60px -30px rgb(15 36 50 / .5); rotate: 3deg; }
.sub .value { position: relative; isolation: isolate; }
.sub .value::before { content: ""; position: absolute; z-index: -1; top: calc(clamp(56px, 7vw, 100px) - 40px); right: calc(var(--gut) - 40px); width: 34%; height: 300px; border-radius: 28px; background: var(--ph2, var(--ph, url(../img/p/sell-l-960-50-sell.webp))) 50% 50% / cover no-repeat; box-shadow: 0 30px 60px -30px rgb(15 36 50 / .5); rotate: 3deg; }
@media (prefers-reduced-motion: no-preference) {
  .js .help-form.rv::before { opacity: 0; translate: -30px 30px; rotate: -3deg; transition: opacity .9s var(--ease) .3s, translate 1.3s var(--ease) .3s, rotate 1.3s var(--ease) .3s; }
  .js .help-form.rv.in::before { opacity: 1; translate: 0 0; rotate: 3deg; }
}
@media (max-width: 980px) { .help-form::before { top: -18px; right: -8px; } }
@media (max-width: 900px) { .sub .value::before { display: none; } }
.qc-value { color: #fff; background: #1b2a33; isolation: isolate; min-height: 290px; border: 0; }
.qc-value::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(8 20 28 / .86) 0%, rgb(8 20 28 / .35) 55%, rgb(8 20 28 / .05) 100%), url(../img/p/guide-sell-l-960-50-guide-sell.webp) 50% 45% / cover no-repeat; transition: scale 1.2s var(--ease); }
.qc-value .qc-ic { background: rgb(255 255 255 / .92); }
.qc-value > span:not(.qc-ic):not(.qc-go) { color: rgb(255 255 255 / .88); }
.qc-value b { margin-top: auto; }
.qc-value .qc-go { color: #fff; margin-top: 4px; }
@media (hover: hover) and (pointer: fine) { .qc-value:hover::before { scale: 1.06; } }

/* ---------- warmer cards: sand, sea and sky instead of one grey-blue ---------- */
.qc-hours { background: linear-gradient(195deg, #fff 30%, var(--sea) 100%); border-color: rgb(34 104 90 / .12); }
.qc-hours .qc-ic { background: #fff; color: var(--sea-ink); }
.qc-hours .hours li.today { background: var(--sea-2); }
.facts li:nth-child(1), .facts li:nth-child(4) { background: var(--sky); }
.facts li:nth-child(2), .facts li:nth-child(3) { background: var(--sand); }
.facts li:nth-child(2) .ic, .facts li:nth-child(3) .ic { color: var(--sand-ink); }
.sub-item, .reasons li { background-color: var(--sky); }
.sub-items .sub-item:nth-child(4n+2), .sub-items .sub-item:nth-child(4n+3), .reasons li:nth-child(3n+2) { background-color: var(--sand); }
.reasons li:nth-child(3n) { background: var(--sea); }
.toc, .ab-facts, .office { background: var(--sky); }
.note { background: var(--sand); color: #6b5222; }

/* ---------- Meet Bilal: a warm sun rises behind the arch, his Brickell Key office laid over the portrait ---------- */
.meet { overflow-x: clip; }   /* the spinning orbit's corners pushed phones to a 416 to 450px layout */
.meet-art::before { content: ""; position: absolute; z-index: 0; width: 58%; aspect-ratio: 1; right: 0; top: 6%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 40% 35%, #f8e7c4, var(--sand-2) 55%, rgb(244 230 205 / 0) 71%); }
@media (prefers-reduced-motion: no-preference) {
  .js .meet-art::before { transform: translateY(30%); opacity: 0; transition: transform 1.6s var(--ease), opacity 1.2s ease; }
  .js .meet-art.in::before { transform: none; opacity: 1; }
}
.meet-ph2 { position: absolute; z-index: 3; right: -4%; bottom: 7%; width: 46%; margin: 0; border-radius: 18px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 30px 60px -28px rgb(15 36 50 / .55); rotate: 2.5deg; }
.meet-ph2 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.meet-ph2 figcaption { position: absolute; left: 8px; bottom: 8px; padding: 5px 10px; border-radius: 10px; background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 12.5px; font-weight: 700; color: var(--ink); }
.meet .ob2 { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .meet-art.rv .meet-ph2 { opacity: 0; translate: 24px 24px; transition: opacity .9s var(--ease) .45s, translate 1.2s var(--ease) .45s; }
  .js .meet-art.rv.in .meet-ph2 { opacity: 1; translate: 0 0; }
}
@media (max-width: 480px) { .meet-ph2 { right: 0; width: 52%; border-width: 4px; } }

/* ---------- home: a full-bleed parallax photo band with a glass call card ---------- */
.pband { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(520px, 60vw, 720px); }
.pband > .wrap { width: 100%; }
.pband-ph { position: absolute; inset: -14% 0; z-index: -1; transform: translate3d(0, var(--py, 0px), 0); }
.pband-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.pband-card { max-width: 560px; padding: clamp(24px, 3.4vw, 40px); border-radius: 26px; background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5); border: 1px solid var(--glass-line); box-shadow: 0 40px 80px -40px rgb(10 25 35 / .6); }
.pband-card .lede { margin-top: 16px; }
.pband-card .cta-row { margin-top: 26px; }
.pband-card .btn-line { background: #fff; }
@media (max-width: 760px) { .pband { align-items: flex-end; min-height: 600px; padding-block: 200px 20px; } .pband-ph img { object-position: 62% 40%; } }

/* ---------- inner hero: a second photo laid over the first, sliding in after the headline ---------- */
.phero .frame, .phero .ab-photo { position: relative; }
.phero-aside .frame-in, .phero-aside .ab-in { box-shadow: 0 50px 90px -45px rgb(15 36 50 / .6); }
.ph2 { position: absolute; z-index: 2; left: -44px; bottom: -34px; width: 44%; aspect-ratio: 4 / 3; margin: 0; border-radius: 18px; overflow: hidden; border: 6px solid #fff; background: var(--band-2); box-shadow: 0 30px 60px -28px rgb(15 36 50 / .55); rotate: -2deg; }
.ph2 img { width: 100%; height: 100%; object-fit: cover; }
.ab-photo .ph2 { top: auto; bottom: 64px; left: -52px; }
@media (prefers-reduced-motion: no-preference) { .js .ph2 { animation: ph2In 1.2s var(--ease) .55s both; } }
@keyframes ph2In { from { opacity: 0; translate: -26px 30px; rotate: -6deg; } to { opacity: 1; translate: 0 0; rotate: -2deg; } }
@media (max-width: 900px) {
  .ph2 { left: 12px; bottom: -24px; width: 42%; border-width: 4px; }
  .ab-photo .ph2 { top: auto; bottom: 14px; left: 12px; width: 34%; }
  .ab-photo .stk-set { top: auto; bottom: 14px; right: 10px; }
  .phero.has-aside { padding-bottom: calc(clamp(64px, 10vw, 96px) + var(--wave-h)); }
}

/* ---------- inner closing band: the page's second photo behind a glass card, settling as it comes in ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; grid-template-columns: minmax(0, 600px); gap: 0; align-content: end; min-height: clamp(420px, 40vw, 520px); padding: clamp(12px, 2.4vw, 28px); background: #1b2a33; border-radius: 28px; }
.cta-band::before { content: ""; position: absolute; inset: -14% 0; z-index: -1; background: var(--ph2, var(--ph, url(../img/p/relocate-l-1280-50-relocate.webp))) 50% 55% / cover no-repeat; transform: translate3d(0, var(--py, 0px), 0); }
.js #main.sub:has(.phero.has-photo .frame-in img, .phero .ph2 img) .cta-band::before, .js #main.sub:has(.phero.has-photo .frame-in img, .phero .ph2 img) .value::before { background-image: var(--ph2, var(--ph, none)); }
@media (prefers-reduced-motion: no-preference) {
  .js .cta-band::before { scale: 1.14; transition: scale 2.4s var(--ease); }
  .js .cta-band.in::before { scale: 1; }
}
.cta-band > .cb-copy { grid-area: 1 / 1; }
.cta-band > .cta-row { grid-area: 2 / 1; }
.cta-band::after { content: ""; grid-area: 1 / 1 / 3 / 2; align-self: stretch; z-index: -1; border-radius: 20px; background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); }
.cta-band > .cb-copy { padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px) 0; border-radius: 20px 20px 0 0; }
.cta-band > .cta-row { padding: 20px clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px); border-radius: 0 0 20px 20px; }
.cta-band .btn-line { background: #fff; }

/* ---------- footer: light sky into sea, a sand corner, a wave hem and the EMMAR wordmark rising out of the bottom ---------- */
.foot { position: relative; isolation: isolate; overflow: hidden; padding-top: calc(clamp(44px, 6vw, 72px) + var(--wave-h)); padding-bottom: 0;
  background: var(--grain), radial-gradient(60% 80% at 100% 100%, var(--sand-2), rgb(244 230 205 / 0) 70%), linear-gradient(180deg, var(--sky-2) 0%, var(--sea) 70%); }
.foot::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: -1px; height: var(--wave-h); background: var(--paper-above, #fff);
  -webkit-mask: var(--wave-b) 0 0 / var(--wave-w) 100% repeat-x; mask: var(--wave-b) 0 0 / var(--wave-w) 100% repeat-x; }
main:has(> .visit:last-child) + .foot { --paper-above: #fcf8f1; }
.ft-top, .ft-cols, .foot-legal { border-color: rgb(15 36 50 / .1) !important; }
.foot .fc-h { color: var(--accent); }
.foot .btn-ghost { background: rgb(255 255 255 / .6); border-color: rgb(15 36 50 / .14); }
.ft-mark { display: flex; justify-content: space-between; max-width: var(--max); height: .6em; margin: clamp(20px, 3vw, 36px) auto 0; padding: 0 var(--gut); overflow: hidden;
  font-weight: 800; font-size: clamp(72px, 18vw, 250px); line-height: .8; letter-spacing: -.03em; user-select: none; pointer-events: none; }
.ft-mark i { display: inline-block; font-style: normal; color: transparent; background: linear-gradient(180deg, rgb(26 106 154 / .22), rgb(26 106 154 / .05) 80%); -webkit-background-clip: text; background-clip: text; }
@media (prefers-reduced-motion: no-preference) {
  .js .ft-mark.rv { opacity: 1; filter: none; transform: none; }
  .js .ft-mark i { transform: translateY(70%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--k, 0) * 70ms); }
  .js .ft-mark.in i { transform: none; }
}
@media (max-width: 760px) { body:has(.dock) { padding-bottom: 0; } .foot { padding-bottom: calc(60px + env(safe-area-inset-bottom)); } }
.sfoot { background: var(--grain), linear-gradient(180deg, var(--sky-2), var(--sea)); border-top: 0; }
@media print { .hhero::before, .phero::before, .hhero::after, .phero::after, :is(.method, .faq, .help, .how, .visit)::before, :is(.method, .faq, .help, .how, .visit)::after, .ft-mark { display: none; } }

/* ---------------------------------------------------------------- round-4 motion: things that answer the visitor */
/* ink sweep: the home sentence is set a touch larger, in full ink; JS lifts each word from 18% as it is read */
.sec-head .lede[data-sweep] { color: var(--ink); font-size: clamp(19px, 1.65vw, 24px); font-weight: 500; line-height: 1.45; letter-spacing: -.01em; }
.sweeping { color: var(--ink); }
.sw { transition: opacity .18s linear; }
/* glint: a soft light under the pointer, painted between the card's own colour and its words */
.glint { isolation: isolate; overflow: clip; }
.glint-pos { position: relative; }
.glint::after {
  content: ""; position: absolute; z-index: -1; left: 0; top: 0; width: 400px; aspect-ratio: 1; margin: -200px 0 0 -200px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, var(--glint-c, rgb(255 255 255 / .95)), rgb(255 255 255 / 0));
  opacity: 0; transform: translate3d(var(--gx, -999px), var(--gy, -999px), 0); transition: opacity .6s ease; will-change: transform, opacity;
}
.glint.lit::after { opacity: 1; transition-duration: .3s; }
/* tinted cards take white light; white cards a sky light; the bay-blue cards a faint white one */
.qc-review, .vcard { --glint-c: rgb(213 232 244 / .8); }
.tile-all, .v-call { --glint-c: rgb(255 255 255 / .16); }
/* the Emmar mark builds itself in the header, outer bars first and the spire last, on the first page of a visit */
@media (prefers-reduced-motion: no-preference) {
  .intro .nav .brand .mk rect { transform-box: fill-box; transform-origin: 50% 100%; animation: barUp .8s var(--ease) both; animation-delay: calc(120ms + var(--b, 0) * 45ms); }
  .intro .nav .brand .mk rect:is(:nth-child(2), :nth-child(14)) { --b: 1; }
  .intro .nav .brand .mk rect:is(:nth-child(3), :nth-child(13)) { --b: 2; }
  .intro .nav .brand .mk rect:is(:nth-child(4), :nth-child(12)) { --b: 3; }
  .intro .nav .brand .mk rect:is(:nth-child(5), :nth-child(11)) { --b: 4; }
  .intro .nav .brand .mk rect:is(:nth-child(6), :nth-child(10)) { --b: 5; }
  .intro .nav .brand .mk rect:is(:nth-child(7), :nth-child(9)) { --b: 6; }
  .intro .nav .brand .mk rect:nth-child(8) { --b: 7; animation-duration: 1s; }
}
@keyframes barUp { from { transform: scaleY(.12); opacity: 0; } 40% { opacity: 1; } to { transform: none; opacity: 1; } }
/* questions: the answer settles in under its question instead of appearing all at once */
@media (prefers-reduced-motion: no-preference) {
  .qa[open] > .qa-a > * { animation: qaIn .45s var(--ease) both; }
  .qa[open] > .qa-a > :nth-child(2) { animation-delay: 40ms; }
  .qa[open] > .qa-a > :nth-child(n+3) { animation-delay: 80ms; }
}
@keyframes qaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   Round 4b: brand graphics. The Emmar mark (fifteen bars rising to a centre spire) becomes the
   site's drawing language: a spire that answers the pointer, a tiny tower in every kicker, the mark drawn
   as line art that draws itself in, stickers, a Brickell Key street map, steps that rise to the spire.
   Light only. --mk, --mk-spire and --mk-line come from build.py (same BARS as the logo).
   ===================================================================== */

/* ---------- 1. the spire answers the pointer; kickers carry a tiny tower (the header already builds the mark on the first page of a visit) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .nav .brand .mk .spire { transition: fill .3s ease, translate .4s var(--ease); }
  .nav .brand:hover .mk .spire { fill: var(--sun); translate: 0 -2px; }
}
.kicker::before, .eyebrow::before { width: 9px; height: 12px; border-radius: 0; background: currentColor;
  -webkit-mask: var(--mk-spire) 50% 100% / contain no-repeat; mask: var(--mk-spire) 50% 100% / contain no-repeat; }

/* ---------- shared: the mark as line art that draws itself, outer bars first, the spire last, then a light on top ---------- */
.mk-draw { display: block; width: 100%; height: 100%; overflow: visible; stroke-width: var(--sw, .3); }
.mk-draw .sp { stroke: var(--sp-c, currentColor); }
.mk-draw .beacon { fill: var(--sun); stroke: none; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-draw] path { stroke-dasharray: 1 1.1; stroke-dashoffset: 1.05; }
  .js .mk-draw path { transition: stroke-dashoffset 1.5s var(--ease-io) calc(var(--k, 0) * 110ms + var(--d0, 0ms)); }
  .js .mk-draw .gl { transition-duration: 1.1s; transition-delay: var(--d0, 0ms); }
  .js .mk-draw .beacon { opacity: 0; scale: 0; transition: opacity .3s ease calc(var(--d0, 0ms) + 1.9s), scale .6s var(--ease) calc(var(--d0, 0ms) + 1.9s); }
  .js [data-draw].drawn path { stroke-dashoffset: 0; }
  .js .mk-draw.drawn .beacon { opacity: 1; scale: 1; animation: beacon 3.2s ease-out 3s infinite; }
  /* if site.js never runs, the drawings simply appear after a moment */
  .js:not(.draw-ok) [data-draw] path, .js:not(.draw-ok) .mk-draw .beacon { animation: drawSafe 0s 3s forwards; }
}
@keyframes drawSafe { to { stroke-dashoffset: 0; opacity: 1; scale: 1; } }
@keyframes beacon { 0%, 60%, 100% { filter: none; } 10% { filter: drop-shadow(0 0 2px var(--sun)) drop-shadow(0 0 6px rgb(240 178 63 / .6)); } }

/* ---------- 2. heroes: the mark drawn huge and pale on a horizon line, between the words and the photo ---------- */
.hhero, .phero { position: relative; isolation: isolate; }
.hero-gfx { position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; overflow: hidden; pointer-events: none; }
.hero-gfx .mk-draw { position: absolute; left: 47%; bottom: 0; width: auto; height: 94%; aspect-ratio: 79.4 / 92.5; translate: -50% 1.6%;
  color: rgb(26 106 154 / .15); --sp-c: rgb(26 106 154 / .42); --sw: .11; --d0: .3s; }
.hero-gfx .beacon { r: 1px; }
.hero-gfx::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgb(26 106 154 / 0), rgb(26 106 154 / .22) 30% 70%, rgb(26 106 154 / 0)); }
.phero .hero-gfx .mk-draw { left: 50%; }
/* the FAQ hub has no photo: the drawing stands to the right of its heading, in place of the filled watermark */
.phero:not(.has-aside) .hero-gfx .mk-draw { left: auto; right: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); translate: 0 1.6%; height: 90%; color: rgb(26 106 154 / .26); }
.phero:not(.has-aside)::after { content: none; }
@media (max-width: 900px) { .hero-gfx { display: none; } }

/* ---------- 3. the same drawing behind Bilal's shoulder (in place of the orbit) and on every closing band ---------- */
.meet-sky { position: absolute; z-index: 0; left: 84%; bottom: 34px; height: 100%; aspect-ratio: 79.4 / 92.5; translate: -50% 1.6%; pointer-events: none; }
.meet-sky .mk-draw { color: var(--line-2); --sp-c: var(--accent); --sw: .2; --d0: .2s; }
.meet-sky .beacon { r: 1.3px; }
.meet-ph { z-index: 1; }
@media (max-width: 900px) { .meet-sky { left: 78%; } }
/* the closing band is a photo with a glass card (round 4): the drawing stands on the right in white, like a sketch over the picture */
.cb-gfx { position: absolute; z-index: -1; right: 4%; bottom: -1px; height: 92%; aspect-ratio: 79.4 / 92.5; pointer-events: none; }
.cb-gfx .mk-draw { color: rgb(255 255 255 / .62); --sp-c: #fff; --sw: .26; filter: drop-shadow(0 1px 6px rgb(8 20 28 / .35)); }
.cb-gfx .beacon { r: 1.3px; }
@media (max-width: 900px) { .cb-gfx { height: 60%; right: -4%; opacity: .8; } }

/* ---------- 4. stickers: "Replies within 24 hours" and "English / Español", die-cut, slapped on with a little bounce ---------- */
.stk { border: 3px solid #fff; box-shadow: 0 16px 30px -16px rgb(15 36 50 / .5), 0 0 0 1px rgb(15 36 50 / .05); rotate: var(--rot, 0deg); }
.f-reply.stk, .stk-reply { --rot: -4deg; background: var(--sun); color: var(--ink); border-radius: 18px; }
.f-reply.stk .ic, .stk-reply .ic { background: #fff; color: var(--ink); border-radius: 50%; }
.f-reply.stk small { color: rgb(15 36 50 / .72); }
.f-lang.stk, .stk-lang { --rot: 5deg; display: inline-flex; padding: 0; gap: 0; border-radius: 999px; overflow: hidden; font-weight: 800; font-size: 13.5px; letter-spacing: .01em; }
.f-lang.stk span, .stk-lang span { padding: 9px 14px; line-height: 1; }
.f-lang.stk span:first-child, .stk-lang span:first-child { background: #fff; color: var(--ink); }
.f-lang.stk span:last-child, .stk-lang span:last-child { background: var(--accent); color: #fff; }
.f-lang.stk { right: 36px; bottom: -20px; }
.stk-set { position: absolute; z-index: 3; top: 18px; right: -18px; display: grid; justify-items: end; gap: 10px; margin: 0; }
.stk-set .stk { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }
.stk-reply { padding: 8px 14px 8px 8px; }
.stk-reply .ic { width: 30px; height: 30px; padding: 6px; }
.stk-reply b { font-weight: 800; }
@media (prefers-reduced-motion: no-preference) {
  .js .float.stk { animation: stkIn .9s cubic-bezier(.2, 1.6, .4, 1) both, bob 7s ease-in-out 2s infinite; }
  .js .f-reply.stk { animation-delay: 1s, 2.6s; }
  .js .f-lang.stk { animation-delay: 1.25s, 3.4s; }
  .js .stk-set .stk { animation: stkIn .9s cubic-bezier(.2, 1.6, .4, 1) .9s both; }
  .js .stk-set .stk + .stk { animation-delay: 1.15s; }
}
@keyframes stkIn { 0% { opacity: 0; scale: 1.5; rotate: calc(var(--rot) - 14deg); } 60% { opacity: 1; } 100% { opacity: 1; scale: 1; rotate: var(--rot); } }
@media (max-width: 900px) { .stk-set { right: 10px; top: 10px; } .stk-set .stk { font-size: 13px; } }

/* ---------- 5. Brickell Key as a street map: the office band on home (with the pin), the footer elsewhere (streets only) ---------- */
.bk-map { display: block; width: 100%; height: 100%; overflow: visible; stroke-width: .24; }
.bk-grid { opacity: .45; }
.bk-water { opacity: .6; }
.bk-isle, .bk-bridge, .bk-shore { stroke-width: .5; }
.bk-pin .dot { fill: var(--sun); stroke: none; }
.bk-pin .ring { fill: none; stroke: var(--sun); stroke-width: .7; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .bk-pin .ring { animation: pinPing 2.8s ease-out infinite; }
  .js .bk-map path { transition: stroke-dashoffset 2.2s var(--ease-io); }
  .js .bk-map .bk-grid path { transition-duration: 1.6s; }
  .js .bk-map :is(.bk-isle, .bk-loop) { transition-delay: .5s; }
  .js .bk-map .bk-bridge { transition-delay: 1.2s; }
  .js.draw-ok .bk-map:not(.drawn) .bk-pin { opacity: 0; }
  .js .bk-map .bk-pin { transition: opacity .4s ease 1.6s; }
}
@keyframes pinPing { 0% { scale: .4; opacity: 1; } 80%, 100% { scale: 1.8; opacity: 0; } }
.visit, .foot { position: relative; isolation: isolate; }
.foot { overflow: hidden; }
.ft-map, .visit-map { position: absolute; z-index: -1; inset: 0; pointer-events: none; color: var(--accent); }
.visit-map { opacity: .4; -webkit-mask: linear-gradient(transparent 0 calc(var(--wave-h, 60px) * 1.1), #000 calc(var(--wave-h, 60px) * 2.6)); mask: linear-gradient(transparent 0 calc(var(--wave-h, 60px) * 1.1), #000 calc(var(--wave-h, 60px) * 2.6)); }
.ft-map { opacity: .22; }
.ft-map :is(.bk-isle, .bk-loop, .bk-bridge, .bk-pin) { display: none; }   /* the footer keeps the streets and the water */
main:has(> .visit:last-child) + .foot .ft-map { display: none; }         /* home: the office band right above already has it */
@media (max-width: 760px) { .ft-map .bk-map, .visit-map .bk-map { width: 220%; translate: -52% 0; } }

/* ---------- 6. steps rise to the spire: each step's marker is the tower, a little taller each step; the home timeline ends at one ---------- */
.stack .step-n::before { width: 13px; height: 18px; border-radius: 0; background: var(--accent); transform-origin: 50% 100%; scale: 1 var(--sh, .4);
  -webkit-mask: var(--mk-spire) 50% 100% / contain no-repeat; mask: var(--mk-spire) 50% 100% / contain no-repeat; }
.stack .step:nth-child(2) { --sh: .58; } .stack .step:nth-child(3) { --sh: .76; } .stack .step:nth-child(4) { --sh: .9; }
.stack .step:last-child { --sh: 1; }
.stack .step:last-child .step-n { background: #fff1d6; }
.stack .step:last-child .step-n::before { background: #b77d12; }
@media (prefers-reduced-motion: no-preference) {
  .js .stack .step .step-n::before { transition: scale .9s var(--ease) .2s; }
  .js.draw-ok .stack .step:not(.drawn) .step-n::before { scale: 1 0; }
}
.tl-wrap::after { content: ""; position: absolute; right: 12px; top: 29px; width: 28px; height: 38px; translate: 0 -100%; background: var(--accent);
  -webkit-mask: var(--mk) 50% 100% / contain no-repeat; mask: var(--mk) 50% 100% / contain no-repeat;
  transform-origin: 50% 100%; transform: scaleY(clamp(0, (var(--tp, 0) - .86) * 7.2, 1)); }
@media (max-width: 900px) { .tl-wrap::after { display: none; } }

/* ---------- 7. the deep-blue cards carry the mark in outline ---------- */
.tile-all, .v-call { isolation: isolate; }
.tile-all::before, .v-call::before { content: ""; position: absolute; z-index: -1; right: -6%; bottom: -3px; height: 60%; aspect-ratio: 67.4 / 87.5; pointer-events: none;
  background: linear-gradient(180deg, rgb(255 255 255 / .04), rgb(255 255 255 / .24));
  -webkit-mask: var(--mk-line) 50% 100% / contain no-repeat; mask: var(--mk-line) 50% 100% / contain no-repeat; }
.v-call::before { height: 56%; right: -12%; }

@media print { .hero-gfx, .meet-sky, .cb-gfx, .ft-map, .visit-map, .tl-wrap::after { display: none !important; } }

/* ---------- round 5: more life in the quiet sections (light only) ---------- */
/* text cards: an accent line draws across the top as they arrive, the tower mark rises in the corner */
.sub-items .sub-item { position: relative; background-image: linear-gradient(var(--bar-c, var(--accent)), var(--bar-c, var(--accent))); background-repeat: no-repeat; background-position: 22px 0; background-size: 0 3px;
  transition: background-size 1.1s var(--ease) calc(var(--d, 0ms) + 120ms), transform .5s var(--ease), box-shadow .5s var(--ease); }
.sub-items .sub-item.in { background-size: calc(100% - 44px) 3px; }
.sub-items .sub-item:nth-child(4n+2), .sub-items .sub-item:nth-child(4n+3) { --bar-c: var(--sun); }
.sub-items .sub-item::before { content: ''; position: absolute; z-index: -1; right: 14px; bottom: 0; width: 64px; height: 84px; background: var(--bar-c, var(--accent)); opacity: 0; translate: 0 40%;
  -webkit-mask: var(--mk-line) 50% 100% / contain no-repeat; mask: var(--mk-line) 50% 100% / contain no-repeat; transition: opacity 1.2s var(--ease) calc(var(--d, 0ms) + 300ms), translate 1.2s var(--ease) calc(var(--d, 0ms) + 300ms); }
.sub-items .sub-item.in::before { opacity: .22; translate: 0 0; }
.sub-items .sub-item h3, .sub-items .sub-item p { position: relative; }
@media (hover: hover) and (pointer: fine) { .sub-items .sub-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); } }

/* tide lines: two thin swells drifting along the foot of the plain white sections */
.has-tide { position: relative; isolation: isolate; }
.tide { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 90px; overflow: hidden; pointer-events: none;
  -webkit-mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.tide i { position: absolute; left: 0; bottom: 8px; width: calc(100% + 320px); height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='40' viewBox='0 0 320 40'%3E%3Cpath d='M0 20 C40 4 120 4 160 20 S280 36 320 20' fill='none' stroke='%23bcd9ec' stroke-width='1.2'/%3E%3C/svg%3E") 0 0 / 320px 40px repeat-x;
  animation: tideLine 22s linear infinite; }
.tide i:nth-child(2) { bottom: 26px; opacity: .7; animation-duration: 34s; animation-direction: reverse; }
.tide i:nth-child(3) { bottom: 44px; opacity: .4; animation-duration: 48s; }
@keyframes tideLine { to { transform: translateX(-320px); } }

/* service pages: plain facts under the hero, drifting slowly */
.trustbar { position: relative; z-index: 1; border-block: 1px solid var(--line); background: #fff; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tb-track { display: flex; gap: 44px; width: max-content; margin: 0; padding: 16px 0; list-style: none; }
.tb-track.run { animation: mq var(--tb-dur, 50s) linear infinite; }
.tb-track li { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.tb-mk { width: 16px; height: 20px; flex: none; background: var(--accent); -webkit-mask: var(--mk) 50% 100% / contain no-repeat; mask: var(--mk) 50% 100% / contain no-repeat; }
.tb-track li:nth-child(even) .tb-mk { background: var(--sun); }

/* photos drift inside their frames as the page scrolls (browsers with scroll-linked animation) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .tile-ph img, .visit-ph img, .nm-ph img { scale: 1.12; animation: phDrift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    @keyframes phDrift { from { translate: 0 -5%; } to { translate: 0 5%; } }
  }
}
@media (prefers-reduced-motion: reduce) { .tide i, .tb-track.run { animation: none; } .sub-items .sub-item { transition: none; } }

/* review fixes (round 5): phone numbers never break; calmer under reduced motion; bigger tap targets on touch screens */
.nw { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .ub-status .live, .qc-status i, .pulse, .hhero .h1 .l2::after, .js .hhero .hmedia, dialog.lead[open] { animation: none !important; box-shadow: none; }
  .qr-stage > .rv-card { transition: none; }
  .rw-rows { mask-image: none; -webkit-mask-image: none; }
  .rw-track { width: auto; flex-wrap: wrap; justify-content: center; padding-inline: var(--gut); }
}
@media (pointer: coarse) {
  .lang button { min-height: 40px; min-width: 44px; }
  .nav .phone { min-width: 44px; min-height: 44px; justify-content: center; }
  .fc { gap: 0; }
  .fc > a { padding-block: 8px; }
  .fc > .fc-h { margin-bottom: 6px; }
  .crumbs a, .foot-legal a { display: inline-block; padding-block: 9px; }
  .ub-push { min-height: 40px; }
  .pr-go { min-height: 40px; }
  .copy { min-height: 40px; }
  .chips span { min-height: 40px; }
}

/* ---------- round 6 (Oct 27): Google Ads landing pages ---------- */
/* the brokerage name sits with each block of contact details (Florida rule 61J2-10.025) */
.v-firm { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .78); margin-top: 6px; }
.fc-firm { color: var(--ink); }
.lead .k-firm { color: var(--ink); }
.dk-firm { position: absolute; left: 0; right: 0; bottom: 100%; padding: 4px 12px 3px; border-top: 1px solid var(--line-2); background: rgb(255 255 255 / .96); text-align: center;
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; pointer-events: none; }
@media (max-width: 760px) { .foot { padding-bottom: calc(82px + env(safe-area-inset-bottom)); } }
.dock.away { transform: translateY(calc(100% + 28px)); }

/* a short real review beside the search and home value forms */
.vf-proof { margin-top: 28px; max-width: 460px; padding: 20px 22px; }
.vf-proof .qr-stage .rq { font-size: 16px; }
.vf-proof .qr-stage figcaption { margin-top: 10px; }
.vf-proof::after { content: "\201C"; position: absolute; right: 16px; top: -6px; font-size: 96px; line-height: 1; font-weight: 700; color: var(--accent-soft); pointer-events: none; }
.vf-proof > * { position: relative; z-index: 1; }

/* Bilal under "Ask Bilal": a face and the brokerage beside the phone number */
.faq-bilal { display: flex; align-items: center; gap: 16px; margin: 28px 0 0; padding: 12px 18px 12px 12px; max-width: 380px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.faq-bilal img { width: 72px; height: 90px; object-fit: cover; object-position: 50% 18%; border-radius: 14px; flex: none; background: var(--band-2); }
.faq-bilal figcaption { display: grid; gap: 1px; min-width: 0; }
.faq-bilal b { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.fb-firm { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sand-ink); }
.fb-role { font-size: 14px; color: var(--ink-2); }
.fb-call { display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; font-weight: 700; font-size: 15px; color: var(--accent); text-decoration: none; }
.fb-call .ic { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .fb-call:hover span { text-decoration: underline; text-underline-offset: 3px; } }

/* area links: photos of each area drift slowly underneath (decorative; the chips are the links) */
.hood-ribbon { position: relative; width: 100vw; margin: 28px 0 0 calc(50% - 50vw); overflow: hidden; padding-block: 6px 14px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.hr-track { display: flex; gap: 16px; width: max-content; padding-left: 16px; animation: hrDrift var(--hr-dur, 70s) linear infinite; animation-play-state: paused; }
.hood-ribbon.on .hr-track { animation-play-state: running; }
@keyframes hrDrift { to { transform: translateX(-50%); } }
.hr-card { position: relative; display: block; width: clamp(150px, 15vw, 210px); aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--band-2); text-decoration: none; color: #fff; flex: none;
  box-shadow: 0 14px 30px -22px rgb(15 36 50 / .55); }
.hr-card:nth-child(even) { translate: 0 12px; }
.hr-card img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.hr-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(15 36 50 / 0) 55%, rgb(15 36 50 / .62)); }
.hr-card span { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
@media (hover: hover) and (pointer: fine) { .hr-card:hover img { scale: 1.06; } }
@media (prefers-reduced-motion: reduce) {
  .hr-track { animation: none; width: auto; padding-right: 16px; }
  .hr-card:nth-child(n+9) { display: none; }
  .hood-ribbon { overflow-x: auto; }
  .hr-card img { transition: none; }
}

/* ---------- round 7 (Oct 27): mobile and search audit ---------- */
/* the phone dock steps aside while someone types in a form on the page (the home value form was missed) */
@media (max-width: 760px) { body:has(main form[data-lead] :is(input, textarea, select):focus) .dock { transform: translateY(calc(100% + 28px)); } }

/* long button labels wrap on small phones instead of running off the screen */
@media (max-width: 480px) {
  .hero-cta .btn.btn, .cta-row .btn.btn, .mnav .mnav-cta .btn.btn { max-width: 100%; white-space: normal; text-align: left; line-height: 1.2; padding-block: 8px; }
  form[data-lead] .btn.btn { white-space: normal; line-height: 1.2; padding-block: 8px; text-align: center; }
  .hero-cta .btn > span, form[data-lead] .btn > span { min-width: 0; }
}
@media (max-width: 420px) { .phero { padding-top: 16px; } .crumbs { margin-bottom: 16px; } .hero-in .hero-cta { margin-top: 22px; } }

/* the hero text is the largest thing on most pages: it slides in but is never invisible (LCP) */
@keyframes riseIn { from { transform: translateY(16px); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) { .js .hero .lede, .js .hero .hero-call, .js .hhero #hero-lede { animation-name: riseIn; animation-delay: 0s; } }

/* bigger tap targets and type on touch screens */
@media (pointer: coarse) {
  .lang button, .pr-go { min-height: 44px; }
  .fc > a { padding-block: 10px; }
  .crumbs a, .foot-legal a { padding-block: 11px; }
  .fb-call, .v-mail, .ft-num, .sfoot a, .toc a { min-height: 44px; display: inline-flex; align-items: center; }
  .sfoot .wrap { row-gap: 4px; }
}
.fb-firm { font-size: 12px; }
.consent { font-size: 14px; }
.field-error { font-size: 14px; }
@media (max-width: 760px) { .foot-legal, .foot-legal span { font-size: 14px; } }
.dk-firm { font-size: 11px; letter-spacing: .08em; }
@media (max-width: 374px) { .dk-who { display: none; } }

/* phone menu: book and text, the same two actions as the footer */
.mnav-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.mnav .mnav-cta a { font-size: 15px; font-weight: 700; font-stretch: normal; letter-spacing: 0; line-height: 1.1; padding: 0 24px; border-bottom: 0; }
.mnav .mnav-cta .btn-line .ic { width: 18px; height: 18px; }

/* the band wave rests on phones; anything off screen stops moving (site.js marks it .off) */
@media (max-width: 760px) { :is(.method, .faq, .help, .how, .visit)::before { animation: none !important; } }
.off, .off *, .off::before, .off::after, .off *::before, .off *::after { animation-play-state: paused !important; }

/* the dialog scrolls on its own and keeps the status line in view */
dialog.lead form { overscroll-behavior: contain; scroll-padding-bottom: 24px; }
.lead .kicker { padding-right: 48px; }

/* landscape phones: the top bar goes, the header gets shorter */
@media (max-height: 480px) and (orientation: landscape) { .ubar { display: none; } .nav-in { height: 56px; } .mnav { padding-top: 84px; } }

/* a visitor who chose Spanish lands on an English page: a link to the Spanish copy, not a half-translated page */
.lang-offer { position: fixed; z-index: 35; left: 50%; bottom: 20px; translate: -50% 0; display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 18px; border-radius: 999px;
  background: #fff; color: var(--ink); border: 1px solid var(--line-2); box-shadow: 0 18px 40px -18px rgb(15 36 50 / .45); font-size: 15px; font-weight: 600; white-space: nowrap; }
.lang-offer a { color: var(--accent); text-underline-offset: 3px; }
.lang-offer button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--ink-3); font-size: 22px; line-height: 1; cursor: pointer; }
@media (max-width: 760px) { .lang-offer { bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* the narrowest phones: the top bar keeps the icon and the number (the Spanish label pushed it 9px past the screen) */
@media (max-width: 374px) { .ub-push > span > span:not(.nw) { display: none; } }
/* 404 page */
.nf-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.nf .kicker { margin-bottom: 8px; }

/* round 7, review fixes: a focused link never hides under the phone dock, and pages without the dock end at the footer */
@media (max-width: 760px) {
  html { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  body:not(:has(.dock)) { padding-bottom: 0; }
}
