@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0d10;
  --bg-2: #101318;
  --panel: #14181f;
  --line: rgba(232, 220, 196, 0.12);
  --line-strong: rgba(232, 220, 196, 0.24);
  --text: #ece7dd;
  --muted: #a39d92;
  --faint: #6f6a62;
  --gold: #d4b07a;
  --gold-2: #f0d6a6;
  /* Headings were Fraunces until Nov 15, 2026 (George: "Don't use a wavy font like the "f" is wavy ... it looks like a
     mistake"): its f and its slanted emphasis read as an error, so headings are Inter like the text, and the
     emphasized words are gold, not italic. The name stays --serif so every heading rule follows. */
  --serif: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--gold); color: #111; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(var(--wrap), 100% - 80px); } }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--gold); color: #111; padding: 8px 14px; border-radius: 6px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 20;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 13, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; }
.brand-name { font: 500 21px/1 var(--serif); letter-spacing: 0.02em; }
.brand-name small { display: block; font: 500 10px/1 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.nav-links { display: none; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--muted); letter-spacing: 0.02em; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
@media (min-width: 860px) { .nav-links { display: flex; } }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font: 500 15px/1 var(--sans); letter-spacing: 0.01em;
  text-decoration: none; transition: transform .2s, background .2s, border-color .2s, color .2s;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-gold { background: var(--gold); color: #15110a; }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.nav .btn-sm { display: none; }
@media (min-width: 560px) { .nav .btn-sm { display: inline-flex; } }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 140px 0 72px;
  background:
    radial-gradient(1100px 560px at 78% 18%, rgba(212, 176, 122, 0.16), transparent 62%),
    radial-gradient(800px 500px at 10% 90%, rgba(70, 110, 160, 0.10), transparent 60%),
    linear-gradient(180deg, #0b0d10 0%, #0d1015 60%, #0b0d10 100%);
}
.hero-skyline {
  position: absolute; inset: auto 0 0 0; height: 74%;
  pointer-events: none; opacity: 0.9;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.35) 35%, #000 65%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.35) 35%, #000 65%);
}
.hero-skyline svg { width: 100%; height: 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 13, 16, 0.75) 82%, var(--bg));
}
.hero-inner { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 12px/1 var(--sans); letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero h1 {
  font: 350 clamp(42px, 7.2vw, 96px)/1.02 var(--serif);
  letter-spacing: -0.035em; margin: 26px 0 26px; max-width: 13ch;
}
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 46ch; margin: 0 0 40px; }
.hero-lead strong { color: var(--text); font-weight: 500; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-facts {
  margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
@media (min-width: 860px) { .hero-facts { grid-template-columns: repeat(4, 1fr); } }
.fact dt { font: 500 11px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.fact dd { margin: 0; font: 400 19px/1.3 var(--serif); }

/* Sections */
section { position: relative; }
.section { padding: clamp(88px, 12vw, 150px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 7vw, 80px); }
@media (min-width: 900px) { .section-head { grid-template-columns: 5fr 6fr; align-items: end; gap: 64px; } }
h2 {
  font: 350 clamp(34px, 4.6vw, 58px)/1.08 var(--serif);
  letter-spacing: -0.015em; margin: 18px 0 0;
}
h2 em { font-style: normal; color: var(--gold-2); }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; max-width: 52ch; }

/* About */
.pillars { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
@media (min-width: 860px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--bg); padding: 40px 34px 44px; }
.pillar-num { font: 400 14px/1 var(--serif); color: var(--gold); letter-spacing: 0.1em; }
.pillar h3 { font: 400 26px/1.2 var(--serif); margin: 22px 0 12px; }
.pillar p { color: var(--muted); margin: 0; font-size: 16px; }

/* Platform */
.platform { background: var(--bg-2); }
.platform-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 24px;
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(212, 176, 122, 0.14), transparent 60%),
    var(--panel);
  padding: clamp(32px, 5vw, 64px);
  display: grid; gap: 48px;
}
@media (min-width: 980px) { .platform-card { grid-template-columns: 1fr 1fr; gap: 72px; } }
.platform-name { font: 400 clamp(30px, 3.6vw, 44px)/1.1 var(--serif); margin: 16px 0 18px; }
.platform-card p { color: var(--muted); margin: 0 0 28px; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.features li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.features li:first-child { padding-top: 0; }
.features li:last-child { border-bottom: 0; padding-bottom: 0; }
.features .ic { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--gold); }
.features .ic svg { width: 20px; height: 20px; }
.features h4 { margin: 0 0 4px; font: 500 16px/1.4 var(--sans); }
.features p { margin: 0; font-size: 15px; color: var(--muted); }

.journey { margin-top: 56px; display: grid; gap: 16px; }
.stop { border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; background: var(--bg); }
.stop-label { display: block; font: 500 11px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); }
.stop-url { font: 400 26px/1.2 var(--serif); margin: 12px 0 6px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
a.stop-url:hover { color: var(--gold-2); }
.stop p { margin: 0; color: var(--muted); font-size: 15px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #6fcf97; box-shadow: 0 0 0 4px rgba(111, 207, 151, 0.15); }
.soon { font: 500 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(212, 176, 122, 0.4); border-radius: 999px; padding: 6px 10px; }

/* Partners */
.partners { display: grid; gap: 20px; }
@media (min-width: 760px) { .partners { grid-template-columns: 1fr 1fr; } }
.partner {
  border: 1px solid var(--line); border-radius: 22px; padding: 40px 36px;
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center;
  background: linear-gradient(160deg, rgba(212, 176, 122, 0.06), transparent 50%);
}
.monogram {
  width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(212, 176, 122, 0.45);
  font: 400 30px/1 var(--serif); color: var(--gold-2); letter-spacing: 0.02em;
  background: radial-gradient(circle at 30% 25%, rgba(240, 214, 166, 0.16), rgba(20, 24, 31, 0.9) 70%);
}
.partner h3 { font: 400 28px/1.15 var(--serif); margin: 0 0 6px; }
.partner .role { color: var(--gold); font: 500 12px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; }
.partners-note { margin: 40px 0 0; color: var(--muted); max-width: 64ch; }

/* Contact */
.contact { padding-bottom: clamp(88px, 10vw, 120px); }
.contact-card {
  border-radius: 28px; padding: clamp(36px, 6vw, 80px);
  border: 1px solid rgba(212, 176, 122, 0.3);
  background:
    radial-gradient(900px 400px at 0% 100%, rgba(212, 176, 122, 0.18), transparent 60%),
    linear-gradient(135deg, #16130e, #101318 60%);
  display: grid; gap: 40px;
}
@media (min-width: 900px) { .contact-card { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.contact-card h2 { margin-top: 18px; }
.contact-card > div > p { color: var(--muted); margin: 22px 0 0; max-width: 48ch; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; border-radius: 14px; border: 1px solid var(--line-strong);
  text-decoration: none; transition: border-color .2s, background .2s;
}
.contact-list a:hover { border-color: var(--gold); background: rgba(212, 176, 122, 0.06); }
.contact-list span { display: block; }
.contact-list .k { font: 500 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.contact-list .v { font-size: 16px; overflow-wrap: anywhere; }
.contact-list svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--faint); font-size: 14px; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h5 { font: 500 11px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; color: var(--faint); }
.footer-grid a:hover { color: var(--text); }
.legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }

/* 404 */
.lost { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 0 80px; }
.lost h1 { font: 350 clamp(44px, 7vw, 84px)/1.05 var(--serif); margin: 22px 0 18px; }
.lost p { color: var(--muted); max-width: 46ch; margin: 0 auto 36px; }
.lost .cta-row { justify-content: center; }

/* Motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tw { animation: none !important; }
}
.tw { animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: 0.25; } }

/* Inner pages (the brokers' pages, drawn by worker/index.js; moved from homes.me on Nov 17, 2026) */
.page { padding: 120px 0 clamp(64px, 9vw, 110px); }
.page-head { max-width: 900px; }
.page-head h1 { font: 350 clamp(38px, 5.6vw, 64px)/1.06 var(--serif); letter-spacing: -0.02em; margin: 20px 0 16px; }
.page-head .lede { color: var(--muted); font-size: 18px; max-width: 60ch; margin: 0; }
.page-body { max-width: 900px; margin-top: 44px; }
.page-body h2 { font: 400 clamp(24px, 2.6vw, 30px)/1.2 var(--serif); margin: 40px 0 12px; }
.page a:not(.btn) { color: var(--gold-2); text-decoration: none; }
.page a:not(.btn):hover { color: var(--gold); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--faint); margin-bottom: 26px; }
.crumbs a { color: var(--muted) !important; }
.hint { color: var(--muted); font-size: 15px; }
.prose p { margin: 0 0 14px; max-width: 68ch; }
.broker-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 18px; }
@media (min-width: 760px) { .broker-list { grid-template-columns: 1fr 1fr; } }
.broker-card { display: flex; gap: 18px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(160deg, rgba(212, 176, 122, 0.06), transparent 50%); }
.broker-card h2 { font: 400 21px/1.2 var(--serif); margin: 4px 0 4px; }
.broker-card h2 a { color: var(--text) !important; }
.broker-card p { margin: 0 0 6px; }
.broker-card-photo { flex: none; display: block; }
.broker-title { color: var(--gold); font: 500 12px/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 6px; }
.broker-thumb, .broker-photo { border-radius: 50%; object-fit: cover; background: var(--panel); flex: none; display: block; border: 1px solid rgba(212, 176, 122, 0.35); }
.broker-thumb { width: 96px; height: 96px; }
.broker-photo { width: 160px; height: 160px; }
.broker-blank { color: var(--faint); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.broker-blank svg { width: 80%; height: 80%; }
.broker-head { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.broker-head h1 { margin: 0 0 8px; }
.broker-head .hint { margin: 6px 0 0; }
.broker-langs { list-style: none; margin: 6px 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.broker-langs li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.broker-langs .flag { border-radius: 2px; }
.broker-links { padding-left: 20px; }
.broker-cta { margin: 32px 0 12px; }
.broker-saved { margin: 0 0 20px; padding: 12px 16px; border-radius: 12px; background: var(--panel); border-left: 3px solid #25D366; }
@media (max-width: 560px) { .broker-card { flex-direction: column; } .broker-photo { width: 120px; height: 120px; } }
