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

/* Two themes (George, Nov 24, 2026: "add a light/dark theme toggle into the header of emigeo and default to light
   theme for all users then remember"). The pages say data-theme="light"; a head script switches to dark when the
   reader chose it (localStorage 'emigeo-theme'). Dark is the values on :root, light overrides them below. */
: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;
  /* Read by the gallery viewer (assets/viewer, homes.me's). */
  --r: 16px;
  --shadow: rgba(0, 0, 0, 0.35);
}

*, *::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; } }

/* Homes for sale (worker/listings.js; moved from homes.me on Nov 24, 2026) */
/* Laid out like a portal listing (George, Nov 24, 2026, comparing LuxuryProperty.com's): gallery first, then the
   title with the price beside it, the key facts in one row, and a sticky card with the broker and the buttons. */
.page:has(.ls-top) { padding-top: 96px; }
.ls-top .crumbs { margin-bottom: 16px; }
.ls-gallery { position: relative; display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
.ls-tile { display: block; border-radius: 14px; overflow: hidden; background: var(--panel); }
.ls-tile img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s; }
.ls-tile:hover img { transform: scale(1.03); }
.ls-gallery .ls-lead { grid-column: 1 / -1; }
.ls-gallery .ls-tile:nth-child(n+4) { display: none; }
@media (min-width: 900px) {
  .ls-gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 1fr); height: min(560px, 46vw); }
  .ls-gallery .ls-lead { grid-column: 1; grid-row: 1 / 3; border-radius: 18px 6px 6px 18px; }
  .ls-gallery .ls-tile:nth-child(n+4) { display: block; }
  .ls-gallery .ls-tile:not(.ls-lead) { border-radius: 6px; }
  .ls-gallery .ls-tile:nth-child(3) { border-top-right-radius: 18px; }
  .ls-gallery .ls-tile:nth-child(5) { border-bottom-right-radius: 18px; }
  .ls-gallery .ls-tile img { aspect-ratio: auto; }
}
.ls-all { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.94); color: #1c1a16; font: 500 14px/1 var(--sans); cursor: pointer; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18); }
.ls-all svg { width: 16px; height: 16px; }
.ls-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 36px; }
@media (max-width: 699px) { .ls-titlerow .ls-price { text-align: left; } }
@media (min-width: 1000px) { .ls-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; } }
.ls-main h2 { font: 500 22px/1.3 var(--sans); margin: 40px 0 14px; }
.ls-titlerow { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: flex-start; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.ls-titlerow h1 { font: 500 clamp(26px, 3vw, 34px)/1.2 var(--sans); letter-spacing: -0.01em; margin: 12px 0 10px; max-width: 26ch; }
.ls-badge { display: inline-block; font: 500 11px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; padding: 7px 10px; border-radius: 6px; background: var(--text); color: var(--bg); }
.ls-where { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 15px; }
.ls-where svg { width: 18px; height: 18px; flex: none; }
.ls-price { text-align: right; }
.ls-price small { display: block; color: var(--faint); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.ls-price strong { font: 500 28px/1.2 var(--sans); color: var(--gold-2); }
.ls-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; margin: 0; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .ls-facts { grid-template-columns: repeat(5, auto); justify-content: space-between; } }
.ls-facts div { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.ls-facts svg { grid-row: 1 / 3; width: 22px; height: 22px; color: var(--gold); }
.ls-facts dt { font-size: 13px; color: var(--faint); }
.ls-facts dd { margin: 0; font-size: 16px; font-weight: 500; }
.ls-features { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 20px; }
.ls-features li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.ls-features svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.ls-more { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
@media (min-width: 700px) { .ls-more { grid-template-columns: repeat(4, 1fr); } }
.ls-more .ls-tile { border-radius: 10px; }
.ls-table { overflow-x: auto; overflow-y: hidden; border: 1px solid var(--line); border-radius: 14px; margin: 8px 0 14px; }
.ls-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ls-table th, .ls-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ls-table th { font-weight: 500; color: var(--muted); font-size: 13px; }
.ls-table tr:last-child td { border-bottom: 0; }
.ls-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.ls-faq summary { cursor: pointer; font-size: 16px; font-weight: 500; }
.ls-faq p { color: var(--muted); margin: 10px 0 0; max-width: 68ch; }
.ls-permit { margin-top: 28px; font-size: 13px; }
.ls-side { position: sticky; top: 96px; }
.ls-box { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06); }
.ls-agent { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ls-agent img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: block; border: 1px solid rgba(138, 99, 39, 0.35); }
.ls-agent > div { display: grid; gap: 1px; font-size: 13px; color: var(--muted); }
.ls-agent small { font-size: 12px; color: var(--faint); }
.ls-agent-name { font-size: 18px; font-weight: 500; color: var(--text) !important; }
.ls-contact { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.ls-contact li { display: flex; align-items: center; gap: 10px; }
.ls-contact svg { width: 18px; height: 18px; color: var(--muted); }
.ls-contact a { color: var(--text) !important; }
.ls-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 16px; border-radius: 10px; font: 500 15px/1 var(--sans); text-decoration: none; transition: filter .2s; }
.ls-btn:hover { filter: brightness(1.06); }
.ls-btn svg { width: 18px; height: 18px; }
.ls-box .ls-btn + .ls-btn { margin-top: 10px; }
.page a.ls-wa { background: #25d366; color: #0b3d20; }
.page a.ls-call, a.ls-call { background: var(--text); color: var(--bg); }
.ls-note { margin: 14px 0 0; font-size: 12px; color: var(--faint); line-height: 1.5; }
.ls-bar { display: none; }
@media (max-width: 999px) {
  .ls-side { position: static; }
  .ls-bar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
  .ls-bar .ls-btn { flex: 1; }
  .page:has(.ls-top) { padding-bottom: 110px; }
}
.ls-card img { display: block; width: 160px; height: 100px; object-fit: cover; border-radius: 10px; }

/* The header's theme toggle */
.nav-end { display: flex; align-items: center; gap: 10px; }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; padding: 0; transition: border-color .2s, color .2s; }
.theme-toggle:hover { border-color: var(--gold); color: var(--gold-2); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .ico-sun { display: block; }
.theme-toggle .ico-moon { display: none; }
:root[data-theme="light"] .theme-toggle .ico-sun { display: none; }
:root[data-theme="light"] .theme-toggle .ico-moon { display: block; }

/* The light theme: warm white with a deeper gold, each pair at least 4.5:1 for small text. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fbf8f2;
  --bg-2: #f3eee5;
  --panel: #ffffff;
  --line: rgba(60, 45, 20, 0.12);
  --line-strong: rgba(60, 45, 20, 0.24);
  --text: #1c1a16;
  --muted: #5c5549;
  --faint: #766e61;
  --gold: #8a6327;
  --gold-2: #6b4b18;
  --shadow: rgba(26, 26, 26, 0.10);
}
:root[data-theme="light"] ::selection { color: #fff; }
:root[data-theme="light"] .btn-gold { color: #fff; }
:root[data-theme="light"] .site-header.scrolled { background: rgba(251, 248, 242, 0.88); }
:root[data-theme="light"] .brand-mark path { stroke: var(--gold); }
:root[data-theme="light"] .hero {
  background:
    radial-gradient(1100px 560px at 78% 18%, rgba(178, 132, 62, 0.16), transparent 62%),
    radial-gradient(800px 500px at 10% 90%, rgba(70, 110, 160, 0.08), transparent 60%),
    linear-gradient(180deg, #fbf8f2 0%, #f5efe4 60%, #fbf8f2 100%);
}
:root[data-theme="light"] .contact-card {
  border-color: rgba(138, 99, 39, 0.3);
  background:
    radial-gradient(900px 400px at 0% 100%, rgba(178, 132, 62, 0.16), transparent 60%),
    linear-gradient(135deg, #f6efe2, #fdfbf7 60%);
}
:root[data-theme="light"] .hero::after { background: linear-gradient(180deg, transparent 40%, rgba(251, 248, 242, 0.75) 82%, var(--bg)); }
