/* ==========================================================================
   Prospect Realty & Management — site styles
   Motif: dark metallic sage green, gold hairline outlines, frosted glass
   Type: Josefin Sans (headings/body) · Cinzel (wordmark/labels) · Cormorant italic (accents)
   ========================================================================== */

:root {
  /* Greens */
  --ink: #06120b;
  --bg: #0a1f13;
  --bg-2: #0d2617;
  --surface: rgba(9, 30, 18, 0.72);
  --surface-2: rgba(13, 40, 24, 0.82);
  --sage-900: #1e3329;
  --sage-700: #2f4a3b;
  --sage-500: #56735f;
  --sage-300: #8fa898;
  --sage-200: #b4c6b9;

  /* Golds */
  --gold: #c9a96a;
  --gold-light: #ead6a4;
  --gold-dark: #8f7240;
  --line: rgba(201, 169, 106, 0.42);
  --line-soft: rgba(201, 169, 106, 0.2);
  --line-faint: rgba(201, 169, 106, 0.1);

  /* Text (all pass 4.5:1 on --bg) */
  --cream: #f3eee2;
  --text: #d6ddd5;
  --muted: #9fb0a5;

  /* Glass */
  --glass: rgba(10, 32, 19, 0.55);
  --glass-strong: rgba(6, 20, 12, 0.8);
  --glass-light: rgba(243, 238, 226, 0.08);
  --blur: 16px;

  /* Metallic finishes */
  --metal-sage: linear-gradient(140deg, #16281f 0%, #2a4335 30%, #47634f 50%, #2c4637 68%, #142319 100%);
  --metal-gold: linear-gradient(100deg, #8f7240 0%, #c9a96a 24%, #f2e3b6 46%, #c9a96a 64%, #9d7f48 84%, #dcc28a 100%);
  --aura: radial-gradient(120% 90% at 85% 10%, rgba(201, 169, 106, 0.22), transparent 55%),
          radial-gradient(100% 80% at 10% 100%, rgba(86, 115, 95, 0.45), transparent 60%),
          linear-gradient(160deg, #15261d, #0f1c16);

  /* Type */
  --font-sans: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;
  --font-caps: "Cinzel", Georgia, serif;
  --font-accent: "Cormorant Garamond", Georgia, serif;

  /* Shape + layout */
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --pill: 999px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

html { background: var(--bg); }

body {
  margin: 0;
  position: relative;
  background: transparent;
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Site-wide emerald background with gold foil curves (fixed behind all content).
   A fixed pseudo-element is used because iOS ignores background-attachment: fixed. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 18, 11, 0.28) 0%, rgba(6, 18, 11, 0.12) 45%, rgba(6, 18, 11, 0.4) 100%),
    url("../img/bg-emerald.jpg") center / cover no-repeat,
    var(--bg);
  pointer-events: none;
}
@media (max-width: 900px) {
  body::before {
    background:
      linear-gradient(180deg, rgba(6, 18, 11, 0.28) 0%, rgba(6, 18, 11, 0.12) 45%, rgba(6, 18, 11, 0.4) 100%),
      url("../img/bg-emerald-1280.jpg") 30% center / cover no-repeat,
      var(--bg);
  }
}

img, svg { max-width: 100%; display: block; }
a { color: var(--gold-light); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--cream); }
p { margin: 0 0 1.1em; }
strong { font-weight: 600; color: var(--cream); }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); font-weight: 400; letter-spacing: -0.005em; line-height: 1.25; }
h4 { font-size: 1.1rem; font-weight: 400; }

/* Signature: italic serif accent word, as in the reference */
h1 em, h2 em, h3 em, .accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--gold-light);
}
h1 em, h2 em { font-size: 1.08em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); max-width: 60ch; color: var(--text); }
.center .lead { margin-left: auto; margin-right: auto; }

.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: var(--pill); }
.skip:focus { left: 16px; top: 16px; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Confirm-before-launch facts */
.tbd { color: var(--gold-light); border-bottom: 1px dashed var(--gold); cursor: help; }

/* ---------- Tags (pill chips) ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.center .tags { justify-content: center; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 14px 3px;
  border-radius: var(--pill);
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(201, 169, 106, .1);
  border: 1px solid var(--line);
}
.tag.sage { color: var(--sage-200); background: rgba(143, 168, 152, .12); border-color: rgba(143, 168, 152, .35); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 26px 12px;
  border-radius: var(--pill);
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--cream);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-gold { color: var(--ink); background: var(--metal-gold); background-size: 200% 100%; border-color: var(--gold-light); font-weight: 600; }
.btn-gold:hover { color: var(--ink); background-position: 100% 0; }
.btn-dark { background: var(--ink); border-color: var(--line); }
.btn-sm { min-height: 44px; padding: 11px 20px 9px; font-size: .82rem; }
.btn .arr { width: 16px; height: 16px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.center .btn-row { justify-content: center; }

.link-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: .9rem;
  font-weight: 500;
  color: var(--cream);
}
.link-more i {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  font-style: normal; color: var(--gold);
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
a:hover .link-more i, .link-more:hover i { transform: translateX(3px); background: rgba(201, 169, 106, .14); }

/* ---------- Floating pill navigation ---------- */
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  margin: 0 auto;
  max-width: 1260px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 7px 8px 7px 14px;
  border-radius: var(--pill);
  background: var(--glass-strong);
  border: 1px solid var(--line);
  backdrop-filter: blur(var(--blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
  box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .7);
  transition: background-color .3s var(--ease);
}
.nav-side { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-side.left { justify-content: flex-end; }
.nav-side.right { justify-content: flex-start; }
.nav-side > li { position: relative; display: flex; align-items: center; }
.nav-side > li + li::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--gold-dark); margin: 0 4px; }
.nav-side a, .nav-side button {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 10px 12px 8px;
  font: inherit; font-size: .88rem; font-weight: 400; letter-spacing: .02em;
  color: var(--text); background: none; border: 0; border-radius: var(--pill); cursor: pointer;
}
.nav-side a:hover, .nav-side button:hover, .nav-side a[aria-current="page"] { color: var(--gold-light); }
.nav-side a[aria-current="page"] { background: rgba(201, 169, 106, .1); }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }

.nav-logo {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--metal-sage);
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 3px rgba(7, 15, 11, .6), inset 0 0 0 4px var(--line-soft);
  transition: transform .3s var(--ease);
}
.nav-logo:hover { transform: scale(1.05); }
.nav-logo svg { width: 30px; height: 30px; }

.nav-cta { margin-left: auto; }
.nav-side.right { gap: 2px; }

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 300px;
  margin: 0; padding: 10px;
  list-style: none;
  border-radius: var(--r-lg);
  background: var(--glass-strong);
  border: 1px solid var(--line);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: block; width: 100%; min-height: 0; padding: 11px 14px 9px; border-radius: var(--r-sm); color: var(--cream); font-size: .95rem; }
.dropdown a small { display: block; margin-top: 2px; color: var(--muted); font-size: .8rem; letter-spacing: 0; }
.dropdown a:hover { background: rgba(201, 169, 106, .1); color: var(--gold-light); }

.nav-right { display: flex; align-items: center; gap: 6px; min-width: 0; }
.nav-toggle { display: none; }
.mobile-brand { display: none; }
.logo-gold { color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); }
.legal-bar { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-bar a { color: var(--muted); }
.legal-bar a:hover { color: var(--gold-light); }
.disclaimer { margin-top: 18px; font-size: .8rem; color: var(--muted); }
.legal-doc h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 1.8em; }
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc ul { padding-left: 1.2em; }
.legal-doc li { margin-bottom: 8px; }
.legal-meta { font-size: .85rem; color: var(--muted); margin-bottom: 28px; }
.btn-center { justify-content: center; }
.mt-0 { margin-top: 0; }

/* ---------- Hero (rounded photo frame) ---------- */
.hero { padding: 12px var(--gutter) 0; }
.hero-frame {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  min-height: min(100vh, 960px);
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line-soft);
  background: var(--surface);
}
.hero-frame > img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
  transform: scale(1.04);
  animation: settle 1.6s var(--ease) forwards;
}
.hero-frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 46% 38% at 50% 44%, rgba(7, 15, 11, .62), rgba(7, 15, 11, 0) 100%),
    linear-gradient(180deg, rgba(7, 15, 11, .82) 0%, rgba(7, 15, 11, .45) 34%, rgba(7, 15, 11, .15) 58%, rgba(11, 21, 17, .92) 100%),
    linear-gradient(90deg, rgba(30, 51, 41, .35), transparent 40%, transparent 60%, rgba(30, 51, 41, .35));
}
@keyframes settle { to { transform: scale(1); } }

.hero-copy { position: relative; z-index: 2; padding: clamp(130px, 14vw, 160px) var(--gutter) clamp(200px, 20vw, 250px); text-align: center; max-width: 1000px; margin: 0 auto; }
.hero-copy h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.hero-copy .lead { max-width: 58ch; font-weight: 400; text-shadow: 0 1px 14px rgba(0, 0, 0, .75); }
.hero-copy h1 { margin-bottom: 22px; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero-copy .lead { margin: 0 auto; color: var(--cream); opacity: .92; }
.hero-copy .btn-row { justify-content: center; margin-top: 30px; }

/* Floating glass widgets on the hero */
.float-card {
  position: absolute;
  z-index: 3;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--glass);
  border: 1px solid rgba(243, 238, 226, .16);
  backdrop-filter: blur(var(--blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
  box-shadow: var(--shadow);
  color: var(--cream);
  font-size: .82rem;
}
.float-card .fc-title { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 10px; color: var(--sage-200); font-size: .74rem; letter-spacing: .06em; }
.float-card .fc-title b { font-weight: 600; color: var(--gold-light); }
.fc-left { left: 3.5%; bottom: 200px; width: 250px; }
.fc-right { right: 3.5%; bottom: 230px; width: 280px; }
.donut { display: flex; align-items: center; gap: 16px; }
.donut svg { width: 86px; height: 86px; flex: none; }
.donut ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.donut li { display: flex; align-items: center; gap: 8px; font-size: .76rem; white-space: nowrap; }
.donut svg { width: 76px; height: 76px; }
.donut li i { width: 8px; height: 8px; border-radius: 50%; }
.bars-mini { display: flex; gap: 3px; height: 26px; align-items: stretch; }
.bars-mini span { flex: 1; border-radius: 3px; background: rgba(243, 238, 226, .14); }
.bars-mini span.on { background: var(--metal-gold); }
.fc-meta { display: flex; justify-content: space-between; margin-top: 10px; color: var(--muted); font-size: .72rem; }
.fc-note { margin-top: 8px; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Feature cards overlapping hero bottom */
.hero-cards {
  position: relative;
  z-index: 4;
  max-width: 1240px;
  margin: -150px auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.glass-card {
  position: relative;
  display: block;
  padding: 26px 26px 20px;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(var(--blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
  color: var(--text);
  transition: border-color .3s var(--ease), transform .3s var(--ease), background-color .3s var(--ease);
}
a.glass-card:hover { border-color: var(--line); transform: translateY(-4px); color: var(--text); background: rgba(19, 34, 25, .7); }
.glass-card h3 { margin-bottom: 10px; }
.glass-card p { font-size: .95rem; margin: 0; color: var(--text); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 12px var(--gutter) 0; }
.page-hero .hero-frame { min-height: clamp(460px, 62vh, 640px); display: flex; align-items: flex-end; }
.page-hero .hero-frame::before {
  background:
    linear-gradient(180deg, rgba(7, 15, 11, .7) 0%, rgba(7, 15, 11, .25) 40%, rgba(7, 15, 11, .88) 100%);
}
.page-hero-copy { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 140px var(--gutter) clamp(40px, 6vw, 64px); }
.page-hero-copy h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 18ch; margin-bottom: 16px; }
.page-hero-copy .lead { color: var(--cream); opacity: .9; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: .8rem; letter-spacing: .06em; color: var(--sage-200); }
.crumbs a { color: var(--sage-200); }
.crumbs a:hover { color: var(--gold-light); }
.crumbs span { color: var(--gold-dark); }
.photo-credit { position: absolute; right: 18px; bottom: 14px; z-index: 3; font-size: .68rem; color: rgba(243, 238, 226, .6); }
.photo-credit a { color: inherit; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section-tight { padding-top: clamp(48px, 6vw, 72px); }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.split-head h2 { margin: 0; }
.split-head p { margin: 0; color: var(--text); max-width: 52ch; justify-self: end; }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split.v-center { align-items: center; }

/* ---------- Panel (big rounded container) ---------- */
.panel {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: clamp(18px, 2.2vw, 26px);
  box-shadow: var(--shadow);
}
.panel-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(14px, 2vw, 24px); }

/* Numbered insight list (01 / 02 highlighted / 03) */
.insights { list-style: none; margin: 0; padding: clamp(8px, 1.5vw, 18px); display: grid; gap: 6px; align-content: center; }
.insight { padding: 22px 24px; border-radius: var(--r-lg); border: 1px solid transparent; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.insight h3 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 10px; font-size: 1.3rem; }
.insight h3 span { font-size: .95rem; color: var(--muted); font-weight: 300; }
.insight p { margin: 0; font-size: .95rem; color: var(--muted); }
.insight.active { background: var(--ink); border-color: var(--line); }
.insight.active p { color: var(--text); }
.insight.active h3 span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(201, 169, 106, .12); border: 1px solid var(--line); color: var(--gold-light); }

.visual-panel {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--aura);
  border: 1px solid var(--line-soft);
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
  min-height: 460px;
}
.visual-panel::after { content: ""; position: absolute; inset: 10px; border-radius: calc(var(--r-lg) - 8px); border: 1px solid var(--line-faint); pointer-events: none; }

.statement {
  width: 100%;
  max-width: 400px;
  padding: 24px 24px 20px;
  border-radius: var(--r-lg);
  background: rgba(243, 238, 226, .06);
  border: 1px solid rgba(243, 238, 226, .14);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow);
}
.statement-head { display: flex; justify-content: space-between; align-items: center; color: var(--sage-200); font-size: .95rem; }
.statement-head .dots { color: var(--muted); letter-spacing: .2em; }
.statement-amount { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 300; color: var(--cream); line-height: 1.1; margin: 10px 0 6px; letter-spacing: -0.02em; }
.statement-sub { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted); margin-bottom: 22px; }
.chip-up { padding: 3px 10px 1px; border-radius: var(--pill); background: rgba(143, 168, 152, .18); color: var(--sage-200); font-weight: 600; font-size: .78rem; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 150px; }
.bars span { position: relative; border-radius: 10px 10px 6px 6px; background: linear-gradient(180deg, rgba(180, 198, 185, .5), rgba(180, 198, 185, .18)); }
.bars span.hi { background: var(--metal-gold); }
.bars span.hi::after { content: attr(data-label); position: absolute; top: 8px; left: 50%; transform: translateX(-50%); font-size: .62rem; font-weight: 600; color: var(--ink); }
.bar-labels { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 10px; text-align: center; font-size: .7rem; color: var(--muted); }
.bar-labels b { font-weight: 600; color: var(--cream); background: rgba(243, 238, 226, .1); border-radius: var(--pill); }
.sample-note { margin-top: 14px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: center; }

/* ---------- Bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(280px, auto); gap: 14px; }
.tile {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  color: var(--text);
  display: flex;
  flex-direction: column;
  isolation: isolate;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
a.tile:hover { border-color: var(--line); transform: translateY(-3px); color: var(--text); }
.tile h3 { font-size: 1.45rem; margin-bottom: 8px; }
.tile p { font-size: .93rem; margin: 0; color: var(--muted); max-width: 40ch; }
.tile-dark { background: var(--ink); }
.tile-aura { background: var(--aura); }
.tile-tall { grid-row: span 2; justify-content: flex-start; padding: 0; }
.tile-wide { grid-column: span 2; }
.tile-tall .tile-copy { position: relative; z-index: 2; padding: 28px; text-align: center; }
.tile-tall img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile-tall:hover img { transform: scale(1.04); }
.tile-tall::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 15, 11, .9) 0%, rgba(7, 15, 11, .45) 40%, rgba(7, 15, 11, .2) 70%, rgba(7, 15, 11, .6) 100%); }
.tile-tall .tile-copy p { margin: 0 auto; color: var(--text); }
.price-chip {
  position: absolute; z-index: 2;
  padding: 8px 14px 6px; border-radius: var(--pill);
  background: var(--glass-strong); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--cream); font-size: .85rem; font-weight: 500;
}
.tile-visual { margin-top: auto; padding-top: 22px; }

/* Portal mock inside a tile */
.mini-dash { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.mini-dash > div { border-radius: var(--r-md); background: rgba(243, 238, 226, .05); border: 1px solid rgba(243, 238, 226, .1); padding: 12px; font-size: .72rem; color: var(--muted); }
.mini-dash b { display: block; color: var(--cream); font-weight: 500; font-size: .78rem; margin-bottom: 8px; }
.stripes { height: 70px; border-radius: 8px; background: repeating-linear-gradient(115deg, rgba(201, 169, 106, .55) 0 2px, transparent 2px 7px); mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); clip-path: polygon(0 60%, 15% 30%, 30% 55%, 45% 20%, 60% 50%, 75% 25%, 90% 45%, 100% 30%, 100% 100%, 0 100%); }
.big-num { font-size: 2rem; color: var(--gold-light); font-weight: 300; line-height: 1; }

.globe { width: 100%; max-width: 300px; margin: auto auto 0; opacity: .9; }
.person-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 4px 6px; border-radius: var(--pill); background: rgba(243, 238, 226, .1); border: 1px solid rgba(243, 238, 226, .16); font-size: .74rem; color: var(--cream); }
.person-chip i { width: 20px; height: 20px; border-radius: 50%; background: var(--metal-gold); display: grid; place-items: center; font-style: normal; font-size: .62rem; color: var(--ink); font-weight: 700; }

.leader { display: grid; gap: 10px; margin-top: auto; }
.leader-row { padding: 12px 14px; border-radius: var(--r-md); background: rgba(7, 15, 11, .5); border: 1px solid rgba(243, 238, 226, .1); }
.leader-row .lr-top { display: flex; justify-content: space-between; font-size: .78rem; color: var(--cream); margin-bottom: 8px; }
.leader-row .bars-mini { height: 18px; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  color: var(--text);
  transition: border-color .3s var(--ease), transform .3s var(--ease), background-color .3s var(--ease);
}
a.card:hover { border-color: var(--line); transform: translateY(-3px); background: var(--surface-2); color: var(--text); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .96rem; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card .link-more { margin-top: auto; }
.card.outline { background: transparent; }
.card.featured { background: var(--metal-sage); border-color: var(--gold); }

.icon-wrap { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; background: rgba(201, 169, 106, .08); border: 1px solid var(--line); }
.icon { width: 24px; height: 24px; stroke: var(--gold-light); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.num { font-size: .9rem; color: var(--gold); letter-spacing: .1em; margin-bottom: 18px; }

.photo-card { padding: 0; overflow: hidden; }
.photo-card .ph { aspect-ratio: 16 / 10; overflow: hidden; }
.photo-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.photo-card:hover .ph img { transform: scale(1.05); }
.photo-card .body { padding: 24px 24px 22px; display: flex; flex-direction: column; flex: 1; }

/* ---------- Lists ---------- */
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(201, 169, 106, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ead6a4' stroke-width='1.8'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.rows li:first-child { border-top: 1px solid var(--line-soft); }
.rows strong { font-weight: 400; font-size: 1.2rem; line-height: 1.35; }
.rows span { color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step { padding: 28px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-soft); }
.step::before { counter-increment: s; content: "0" counter(s); display: block; margin-bottom: 26px; font-family: var(--font-accent); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--gold-light); }
.step h3 { font-size: 1.2rem; }
.step p { margin: 0; font-size: .93rem; color: var(--muted); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.price-card { text-align: left; padding: 34px 30px 30px; }
.price-name { font-family: var(--font-caps); font-size: .85rem; letter-spacing: .22em; color: var(--gold); margin-bottom: 16px; }
.price { font-size: clamp(3rem, 5vw, 3.8rem); font-weight: 300; color: var(--cream); line-height: 1; letter-spacing: -0.03em; }
.price-unit { margin: 8px 0 6px; font-size: .88rem; color: var(--muted); }
.price-card .ticks { margin: 24px 0 28px; flex: 1; }
.price-card .ticks li { font-size: .95rem; }
.price-card .btn { width: 100%; }
.badge { position: absolute; top: 22px; right: 22px; padding: 5px 12px 3px; border-radius: var(--pill); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--metal-gold); }

.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line-soft); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 560px; }
th, td { text-align: left; padding: 18px 22px 16px; border-bottom: 1px solid var(--line-faint); vertical-align: top; }
th { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); background: rgba(7, 15, 11, .5); }
tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--cream); }

/* Promise seal */
.seal { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; border: 1px solid var(--gold); font-family: var(--font-accent); font-style: italic; font-size: 1.35rem; color: var(--gold-light); box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 5px var(--line-soft); }

/* ---------- Areas ---------- */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.area-card { position: relative; min-height: 360px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; color: var(--text); border: 1px solid var(--line-soft); }
.area-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.area-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 15, 11, .1) 20%, rgba(7, 15, 11, .92) 100%); }
.area-card:hover img { transform: scale(1.05); }
.area-card .zip { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 8px; }
.area-card h3 { font-size: 1.7rem; margin-bottom: 8px; }
.area-card p { font-size: .92rem; margin: 0; color: var(--text); }
.area-card.wide { grid-column: span 2; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-link { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px 8px; border-radius: var(--pill); border: 1px solid var(--line-soft); background: var(--surface); color: var(--cream); font-size: .95rem; transition: border-color .2s var(--ease), color .2s var(--ease); }
.pill-link:hover { border-color: var(--gold); color: var(--gold-light); }

/* ---------- Portal links ---------- */
.portal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.portal { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-soft); color: var(--text); transition: border-color .25s var(--ease), transform .25s var(--ease); }
.portal:hover { border-color: var(--line); transform: translateY(-3px); color: var(--text); }
.portal .icon-wrap { margin-bottom: 14px; }
.portal strong { font-weight: 400; font-size: 1.2rem; }
.portal span { font-size: .9rem; color: var(--muted); }

/* ---------- Listings ---------- */
.listings-frame { border-radius: var(--r-xl); border: 1px solid var(--line-soft); background: var(--surface); overflow: hidden; }
.listings-frame iframe { width: 100%; height: 900px; border: 0; display: block; background: #fff; }
.listings-empty { display: grid; place-items: center; text-align: center; min-height: 460px; padding: 48px 24px; background: var(--aura); }
.listings-empty svg { width: 96px; margin: 0 auto 22px; }

/* ---------- Team ---------- */
.portrait { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 5; max-width: 480px; background: var(--metal-sage); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.portrait::after { content: ""; position: absolute; inset: 10px; border-radius: calc(var(--r-xl) - 8px); border: 1px solid rgba(234, 214, 164, .35); pointer-events: none; }
.portrait .float-card { left: 18px; bottom: 18px; top: auto; right: auto; width: auto; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line-soft); transition: border-color .25s var(--ease); }
.faq details[open] { border-color: var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 22px 64px 20px 24px; font-size: 1.12rem; font-weight: 400; color: var(--cream); line-height: 1.4; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 28px; height: 28px; margin-top: -14px;
  border-radius: 50%; border: 1px solid var(--line);
  background: linear-gradient(var(--gold), var(--gold)) center / 10px 1.5px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 1.5px 10px no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-light); }
.faq .answer { padding: 0 24px 22px; color: var(--text); }
.faq .answer p { margin: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: .82rem; font-weight: 500; letter-spacing: .04em; color: var(--sage-200); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px;
  font: inherit; font-size: 1rem; font-weight: 300;
  color: var(--cream);
  background: rgba(7, 15, 11, .55);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  padding: 13px 16px 11px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field select { appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 17px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--surface); color: var(--cream); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(7, 15, 11, .8); }
.field input::placeholder, .field textarea::placeholder { color: #7f9086; }

.form-group { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; }
.form-group + .form-group { padding-top: 20px; border-top: 1px solid var(--line-soft); }
.form-group legend { padding: 0; margin-bottom: 4px; font-family: var(--font-caps); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.form-row-3 { grid-template-columns: repeat(3, 1fr); }
.form-callout { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 22px; padding: 16px 18px; border: 1px solid var(--line-soft); border-left: 2px solid var(--gold); border-radius: var(--r-sm); background: rgba(7, 15, 11, .45); }
.form-callout .icon { flex: none; width: 22px; height: 22px; color: var(--gold-light); margin-top: 2px; }
.form-callout p { margin: 0; }
.analysis-steps { margin-top: 20px; }
@media (max-width: 920px) { .analysis-split .analysis-form { order: -1; } }
.analysis-steps ol { margin: 0 0 1em; padding-left: 1.2em; display: grid; gap: 10px; }

.radio-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pills legend { width: 100%; margin-bottom: 10px; }
.radio-pills label { position: relative; cursor: pointer; }
.radio-pills input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pills span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px 8px; border-radius: var(--pill); border: 1px solid var(--line-soft); color: var(--text); font-size: .92rem; transition: all .2s var(--ease); }
.radio-pills input:checked + span { border-color: var(--gold-light); color: var(--ink); background: var(--metal-gold); font-weight: 600; }
.radio-pills input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.form-note { font-size: .84rem; color: var(--muted); margin: 0; }
.form-status { display: none; padding: 14px 18px; border-radius: var(--r-sm); border: 1px solid var(--gold); color: var(--gold-light); }
.form-status.show { display: block; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line-faint); }
.contact-list li:first-child { padding-top: 0; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label { display: block; font-size: .78rem; font-weight: 500; letter-spacing: .06em; color: var(--gold); margin-bottom: 4px; }
.contact-list .value { font-size: 1.15rem; color: var(--cream); line-height: 1.4; }
.map-frame { margin-top: 20px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-soft); }
.map-frame iframe { width: 100%; height: 260px; border: 0; display: block; filter: grayscale(.55) contrast(1.05); }

/* ---------- CTA band ---------- */
.cta { padding: 0 var(--gutter) var(--section); }
.cta-frame { position: relative; max-width: var(--wrap); margin: 0 auto; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; padding: clamp(56px, 8vw, 96px) clamp(24px, 6vw, 72px); border: 1px solid var(--line); display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.cta-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7, 15, 11, .94) 0%, rgba(11, 21, 17, .82) 50%, rgba(30, 51, 41, .55) 100%); }
.cta-frame h2 { margin-bottom: 14px; }
.cta-frame .lead { margin: 0; color: var(--cream); }
.cta-frame .btn-row { margin: 0; justify-content: flex-end; }

/* ---------- Prose ---------- */
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.note { margin-top: 24px; padding: 18px 22px; border-radius: var(--r-md); background: rgba(201, 169, 106, .06); border: 1px solid var(--line-soft); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 72px 0 0; background: var(--ink); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr 1fr; gap: 36px; padding-bottom: 56px; }
.footer-grid h4 { font-size: .95rem; font-weight: 600; color: var(--cream); margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid li a { color: var(--muted); display: inline-block; padding: 2px 0; }
.footer-grid li a:hover { color: var(--gold-light); }
.footer-about p { color: var(--muted); max-width: 34ch; margin: 18px 0 0; }
.wordmark { display: inline-flex; align-items: center; gap: 14px; color: var(--cream); }
.wordmark:hover { color: var(--cream); }
.wordmark svg { width: 42px; height: 42px; }
.wordmark-text { display: flex; flex-direction: column; line-height: 1; }
.wordmark-name { font-family: var(--font-caps); font-size: 1.45rem; letter-spacing: .1em; font-weight: 500; }
.wordmark-sub { margin-top: 7px; padding-top: 6px; border-top: 1px solid var(--line); font-size: .58rem; font-weight: 400; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line-faint); padding: 24px 0 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: .82rem; color: var(--muted); }
.eho { display: inline-flex; align-items: center; gap: 10px; }
.eho svg { width: 22px; height: 22px; stroke: var(--muted); fill: none; stroke-width: 1.5; }


/* ---------- Motion button (port of MotionButton) ---------- */
.motion-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 5px 30px 5px 5px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--glass-strong);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  cursor: pointer;
  font: inherit;
  isolation: isolate;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.motion-btn .mb-circle {
  position: absolute;
  top: 5px; left: 5px; bottom: 5px;
  width: 48px;
  border-radius: var(--pill);
  background: var(--metal-gold);
  background-size: 200% 100%;
  z-index: -1;
  transition: width .5s var(--ease), background-position .5s var(--ease);
}
.motion-btn .mb-icon {
  position: absolute;
  top: 50%; left: 17px;
  transform: translateY(-50%);
  transition: transform .5s var(--ease);
  display: grid;
}
.motion-btn .mb-icon .icon { width: 24px; height: 24px; stroke: var(--ink); stroke-width: 2; }
.motion-btn .mb-text {
  padding: 3px 0 0 64px;
  white-space: nowrap;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--cream);
  transition: color .5s var(--ease), transform .5s var(--ease);
}
.motion-btn:hover .mb-circle, .motion-btn:focus-visible .mb-circle { width: calc(100% - 10px); background-position: 100% 0; }
.motion-btn:hover .mb-icon, .motion-btn:focus-visible .mb-icon { transform: translate(.4rem, -50%); }
.motion-btn:hover .mb-text, .motion-btn:focus-visible .mb-text { color: var(--ink); transform: translateX(-.5rem); }
.motion-btn:active { transform: scale(.985); }
.motion-btn[disabled] { opacity: .7; cursor: progress; }
.form .motion-btn { justify-self: start; }
.btn-lg { min-height: 58px; padding-left: 28px; padding-right: 28px; }

/* ---------- Pricing component (port of the React Pricing block) ---------- */
.pricing-toggle { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; margin: -8px 0 56px; }
.switch-label { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 500; color: var(--cream); }
.switch {
  position: relative; flex: none;
  width: 52px; height: 30px; padding: 0;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: rgba(243, 238, 226, .1);
  cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.switch::before { content: ""; position: absolute; inset: -8px; }
.switch-thumb { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--cream); box-shadow: 0 2px 8px rgba(0, 0, 0, .4); transition: transform .3s var(--ease); }
.switch[aria-checked="true"] { background: var(--metal-gold); border-color: var(--gold-light); }
.switch[aria-checked="true"] .switch-thumb { transform: translateX(22px); background: var(--ink); }
.rent-input { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: .95rem; transition: opacity .3s var(--ease); }
.rent-input[data-off] { opacity: .45; }
.rent-field { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--line-soft); background: rgba(7, 15, 11, .55); color: var(--cream); }
.rent-field input { width: 84px; border: 0; background: none; color: var(--cream); font: inherit; font-size: 1rem; padding: 10px 0 8px; -moz-appearance: textfield; }
.rent-field input::-webkit-outer-spin-button, .rent-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rent-field:focus-within { border-color: var(--gold); }
.rent-field input:focus { outline: none; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; perspective: 1400px; align-items: stretch; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 34px 28px 26px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  text-align: center;
  transform: translateY(50px);
  transition: transform 1.4s cubic-bezier(.16, 1, .3, 1) .3s, border-color .3s var(--ease), box-shadow .3s var(--ease);
  margin-top: 20px;
}
.plan.is-popular { background: var(--metal-sage); border: 2px solid var(--gold); margin-top: 0; box-shadow: 0 40px 90px -40px rgba(201, 169, 106, .45); z-index: 2; }
.plans.in .plan-left { transform: translateX(30px) scale(.94) rotateY(10deg); transform-origin: right center; }
.plans.in .plan-right { transform: translateX(-30px) scale(.94) rotateY(-10deg); transform-origin: left center; }
.plans.in .plan-center { transform: translateY(-20px); }
.plan:hover { border-color: var(--line); }
.plan.is-popular:hover { border-color: var(--gold-light); }
.plan-badge { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 4px 10px; border-radius: 0 var(--r-lg) 0 var(--r-md); background: var(--metal-gold); color: var(--ink); font-size: .78rem; font-weight: 600; }
.plan-badge .star { width: 14px; height: 14px; fill: var(--ink); stroke: var(--ink); }
.plan-name { margin: 0; font-family: var(--font-caps); font-size: .85rem; letter-spacing: .22em; color: var(--gold); }
.plan-price { margin-top: 22px; display: flex; justify-content: center; align-items: baseline; gap: 8px; }
.plan-amount { font-size: clamp(3rem, 5vw, 3.8rem); font-weight: 300; line-height: 1; color: var(--cream); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan-unit { margin: 10px 0 0; font-size: .85rem; color: var(--muted); min-height: 1.4em; }
.plan-features { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; text-align: left; flex: 1; align-content: start; }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.plan-features .check { flex: none; width: 18px; height: 18px; margin-top: 2px; stroke: var(--gold-light); stroke-width: 2.2; }
.plan-rule { width: 100%; border: 0; border-top: 1px solid var(--line-soft); margin: 22px 0 18px; }
.plan-btn { width: 100%; font-size: 1rem; font-weight: 600; }
.plan-note { margin: 18px 0 0; font-size: .8rem; color: var(--muted); }
.confetti-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 300; }

/* ---------- Helpers used by the generated pages ---------- */
.dot-gold { background: var(--gold); }
.dot-sage { background: var(--sage-300); }
.dot-cream { background: rgba(243, 238, 226, .35); }
.fc-name { display: block; font-size: 1.05rem; font-weight: 500; color: var(--cream); }
.globe-wrap { position: relative; min-height: 150px; }
.pc-1 { left: 6%; top: 18%; }
.pc-2 { right: 8%; top: 4%; }
.pc-3 { right: 22%; bottom: 8%; }
.chip-a { left: 10%; bottom: 30%; }
.chip-b { right: 8%; bottom: 18%; }
.chip-c { left: 18%; bottom: 8%; }
.wide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; height: 100%; }
.wide-grid .btn-row { margin-top: 22px; }
.h58 { height: 58%; } .h62 { height: 62%; } .h64 { height: 64%; } .h66 { height: 66%; } .h70 { height: 70%; } .h72 { height: 72%; } .h92 { height: 92%; }
.page-hero .tags .tag { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.form-note .icon { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; stroke: var(--gold); }
.btn .icon { width: 18px; height: 18px; stroke: currentColor; }

@media (max-width: 920px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; perspective: none; }
  .plan, .plans.in .plan-left, .plans.in .plan-right, .plans.in .plan-center { transform: none; margin-top: 0; }
  .plan.is-popular { order: -1; }
  .wide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .motion-btn { width: 100%; justify-content: center; }
  .motion-btn .mb-text { padding-left: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .plan { transform: none !important; }
}



/* ---------- Stat row (About) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { text-align: center; align-items: center; padding: 34px 22px 30px; }
.stat-num { font-size: clamp(2.6rem, 4.4vw, 3.6rem); font-weight: 300; line-height: 1; letter-spacing: -0.03em; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.stat-label { margin-top: 12px; font-size: .92rem; color: var(--muted); }
/* Mid-size screens: keep the pill menu on one line */
@media (min-width: 921px) and (max-width: 1320px) {
  .nav-side .nav-optional { display: none; }
  .nav-side > li + li::before { display: none; }
  .nav-side a, .nav-side button { padding: 10px 7px 8px; font-size: .8rem; letter-spacing: 0; }
  .nav-pill { padding-left: 8px; gap: 8px; }
  .nav-cta { padding-left: 14px; padding-right: 14px; font-size: .76rem; }
}

@media (max-width: 1024px) { .stats { grid-template-columns: repeat(2, 1fr); } }


/* ---------- Areas We Serve panel (area pages) ---------- */
.areas-panel { padding: clamp(24px, 3.5vw, 44px); }
.areas-panel .split-head { margin-bottom: 28px; }
.area-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.area-mini {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px 10px 10px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-faint);
  background: rgba(6, 20, 12, .45);
  color: var(--text);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.area-mini:hover { border-color: var(--line); background: rgba(201, 169, 106, .07); color: var(--text); }
.area-mini-ph { flex: none; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-soft); }
.area-mini-ph img { width: 100%; height: 100%; object-fit: cover; }
.area-mini-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.area-mini-txt strong { font-weight: 500; color: var(--cream); font-size: 1.02rem; }
.area-mini-txt small { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.area-mini.is-current { border-color: var(--gold); background: rgba(201, 169, 106, .1); }
.area-mini.is-current small { color: var(--gold-light); }
@media (max-width: 920px) { .area-mini-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .area-mini-grid { grid-template-columns: 1fr; } }


/* ---------- Blog ---------- */
.post-card .body { gap: 0; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; font-size: .82rem; color: var(--muted); }
.post-meta .tag { margin: 0; }
.post-card h3 { font-size: 1.3rem; }
.post-byline { font-size: .98rem !important; }
.article { font-size: 1.08rem; line-height: 1.8; }
.article > .lead { font-size: 1.22rem; color: var(--cream); margin-bottom: 1.6em; }
.article h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 1.8em 0 .5em; }
.article h3 { font-size: 1.35rem; margin: 1.5em 0 .4em; }
.article p, .article li { color: var(--text); }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article li { margin-bottom: .45em; }
.article li::marker { color: var(--gold); }
.article a { color: var(--gold-light); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.article a:hover { text-decoration-color: var(--gold-light); }
.article img { width: 100%; height: auto; border-radius: var(--r-md); border: 1px solid var(--line-soft); margin: 1.4em 0; }
.article blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 2px solid var(--gold); background: rgba(201, 169, 106, .06); border-radius: 0 var(--r-md) var(--r-md) 0; }
.article blockquote p { margin: 0; font-family: var(--font-accent); font-style: italic; font-size: 1.3rem; color: var(--cream); }
.article hr { border: 0; border-top: 1px solid var(--line-soft); margin: 2.2em 0; }
.article code { font-size: .92em; padding: 2px 6px; border-radius: 6px; background: rgba(243, 238, 226, .08); }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2.4em; padding-top: 1.6em; border-top: 1px solid var(--line-soft); }


/* ---------- Areas mega menu, county groups, sitemap ---------- */
.dropdown.mega { display: grid; grid-template-columns: repeat(3, minmax(170px, 1fr)); gap: 4px 10px; min-width: 620px; padding: 16px; }
.mega-col { display: flex; flex-direction: column; }
.dropdown.mega .mega-head { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
.dropdown.mega .mega-col a:not(.mega-head) { padding: 8px 14px 6px; font-size: .95rem; }
.mega-all { grid-column: 1 / -1; border-top: 1px solid var(--line-faint); margin-top: 6px; padding-top: 6px; }
.county-head { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 22px 0 12px; }
.areas-panel .county-head:first-of-type { margin-top: 0; }
.county-block + .county-block { margin-top: clamp(48px, 6vw, 72px); }
.county-block .section-head { margin-bottom: 28px; }
.foot-county { margin: 14px 0 8px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.foot-county:first-of-type { margin-top: 0; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sitemap-head { font-size: 1.15rem; font-weight: 500; margin-bottom: 12px; }
.sitemap-grid ul { list-style: none; margin: 0; padding: 0; }
.sitemap-grid li { padding: 6px 0; border-bottom: 1px solid var(--line-faint); }
.sitemap-grid li:last-child { border-bottom: 0; }
@media (max-width: 920px) {
  .dropdown.mega { display: none; grid-template-columns: 1fr; min-width: 0; padding: 0 0 8px; }
  .has-dropdown.open .dropdown.mega { display: grid; }
  .sitemap-grid { grid-template-columns: 1fr; }
}

/* ---------- Motion (motion.dev) layer: initial states; Motion animates to final ---------- */
.has-motion .hero-copy > *,
.has-motion .page-hero-copy > *,
.has-motion .hero-frame .float-card,
.has-motion .hero-cards > *,
.has-motion .reveal { opacity: 0; }
.has-motion .reveal { transform: none; transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.has-motion .hero-frame > img.bg { animation: none; transform: none; }
.has-motion a.card:hover, .has-motion a.glass-card:hover, .has-motion a.tile:hover,
.has-motion .portal:hover, .has-motion .btn:hover, .has-motion .btn:active { transform: none; }
.has-motion .area-card:hover img, .has-motion .tile-tall:hover img { transform: scale(1.05); }
.has-motion .plan, .has-motion .plans.in .plan-left, .has-motion .plans.in .plan-right, .has-motion .plans.in .plan-center {
  transform: none; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.bars span { transform-origin: 50% 100%; }
.bars-mini span { transform-origin: 50% 100%; }
.motion-failed .reveal, .motion-failed .hero-copy > *, .motion-failed .page-hero-copy > *,
.motion-failed .float-card, .motion-failed .hero-cards > * { opacity: 1 !important; transform: none !important; }

.nav-pill { transition: background-color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.is-scrolled .nav-pill { background: rgba(7, 15, 11, .9); border-color: var(--gold); box-shadow: 0 22px 60px -18px rgba(0, 0, 0, .85); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(16px) scale(.99); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.draw path:not(.ground) { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s var(--ease) .2s forwards; }
.draw .ground { opacity: 0; animation: fade 1s ease 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-frame > img.bg { transform: none; }
  .draw path:not(.ground) { stroke-dashoffset: 0; }
  .draw .ground { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .fc-left, .fc-right { display: none; }
}
@media (max-width: 1180px) {
  .nav-side a, .nav-side button { padding: 10px 9px 8px; font-size: .84rem; }
  .nav-side > li + li::before { margin: 0 1px; }
  .fc-left { left: 3%; }
  .fc-right { right: 3%; }
}

@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-tall { grid-row: span 2; }
  .tile-wide { grid-column: span 2; }
  .grid-4, .portal-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fc-left, .fc-right { display: none; }
  .hero-cards { margin-top: -120px; }
}

@media (max-width: 920px) {
  /* Mobile nav: brand left, menu right, sheet below */
  .nav-pill { grid-template-columns: auto 1fr auto; padding: 6px 6px 6px 8px; border-radius: 28px; }
  .mobile-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); font-family: var(--font-caps); letter-spacing: .1em; font-size: 1.05rem; }
  .mobile-brand .nav-logo { width: 44px; height: 44px; }
  .mobile-brand .nav-logo svg { width: 24px; height: 24px; }
  .nav-pill > .nav-logo { display: none; }
  .nav-toggle {
    display: grid; place-items: center; grid-column: 3;
    width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid var(--line); background: rgba(201, 169, 106, .08); cursor: pointer; position: relative;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 18px; height: 1.5px; background: var(--gold-light); transition: transform .25s var(--ease), background-color .25s; }
  .nav-toggle span { position: relative; }
  .nav-toggle span::before { position: absolute; top: -6px; }
  .nav-toggle span::after { position: absolute; top: 6px; }
  .nav-open .nav-toggle span { background: transparent; }
  .nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav-side.left, .nav-right { display: none; grid-column: 1 / -1; flex-direction: column; align-items: stretch; padding: 0 8px; }
  .nav-right { padding-bottom: 12px; }
  .nav-open .nav-side.left, .nav-open .nav-right { display: flex; }
  .nav-open .nav-pill { max-height: calc(100vh - 32px); overflow-y: auto; }
  .nav-side { flex-direction: column; align-items: stretch; }
  .nav-side.left, .nav-side.right { justify-content: flex-start; }
  .nav-side > li { flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line-faint); }
  .nav-side > li + li::before { display: none; }
  .nav-side a, .nav-side button { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 1rem; border-radius: var(--r-sm); }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; display: none; min-width: 0; padding: 0 0 8px; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { transform: none; }
  .mobile-brand { grid-row: 1; grid-column: 1; }
  .nav-toggle { grid-row: 1; grid-column: 3; justify-self: end; }
  .has-dropdown.open .dropdown { display: block; }
  .nav-cta { margin: 14px 0 0; width: 100%; }
  .nav-open { overflow: hidden; }

  .split, .split-head, .panel-grid, .cta-frame { grid-template-columns: 1fr; }
  .split-head p { justify-self: start; }
  .cta-frame .btn-row { justify-content: flex-start; }
  .grid-3, .price-grid, .area-grid, .hero-cards { grid-template-columns: 1fr; }
  .area-card.wide { grid-column: auto; }
  .hero-cards { margin-top: -90px; }
  .rows li { grid-template-columns: 1fr; gap: 4px; }
  .price-grid { max-width: 520px; margin: 0 auto; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero, .page-hero { padding: 8px 8px 0; }
  .hero-frame { border-radius: var(--r-lg); min-height: 86vh; }
  .page-hero .hero-frame { min-height: 440px; }
  .hero-copy { padding-top: 120px; }
  .hero-cards { margin-top: -70px; padding: 0 16px; }
  .bento, .grid-2, .grid-4, .portal-grid, .steps, .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .tile-wide, .tile-tall { grid-column: auto; }
  .tile-tall { min-height: 460px; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .insight { padding: 18px; }
  .visual-panel { min-height: 0; padding: 22px 14px; }
  .site-header { top: 10px; padding: 0 10px; }
  .cta { padding: 0 8px var(--section); }
}
