/* =========================================================
   Parkside Management Group — brand tokens (Brand Book V2)
   Change colors and fonts here only.
   ========================================================= */
:root {
  --navy: #0C1B24;        /* Parkside Navy: authority, structure */
  --navy-2: #15293A;      /* raised navy surface (cards on navy) */
  --coral: #E17C64;       /* Parkside Coral: CTAs, icons, emphasis */
  --coral-soft: #F8DED8;  /* Soft Coral */
  --cream: #F6F3EF;       /* Warm Cream */
  --gray: #D9D7D2;        /* Warm Gray: borders */
  --white: #FFFFFF;
  --text: #0C1B24;
  --text-muted: #4F5B63;       /* 5.3:1 on cream */
  --on-dark-muted: #AEB8BF;    /* 8.7:1 on navy */

  --font: "Poppins", "Segoe UI", Arial, sans-serif;
  --wrap: 1320px;
  --radius: 20px;
  --radius-sm: 8px;
}

/* Accessibility note: white text on coral is 2.9:1 and fails WCAG AA,
   so coral buttons use navy text (6.1:1). Coral is only used as text on navy. */

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--navy); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.75rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); text-wrap: balance; }
h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; border: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--navy); color: var(--white); padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  padding: .9rem 1.5rem; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-coral { background: var(--coral); color: var(--navy); }
.btn-coral:hover { background: #D96A50; color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.btn-small { padding: .6rem 1.1rem; font-size: .95rem; }

/* ===== Top bar ===== */
.topbar { background: var(--navy); font-size: .875rem; }
.topbar-inner { display: flex; justify-content: flex-end; gap: 1.5rem; padding: .45rem 0; }
.topbar a { color: var(--on-dark-muted); text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar .topbar-phone { color: var(--white); font-weight: 600; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; } /* ≥2X logo clear space */
.brand { display: block; line-height: 0; }
.logo-full { width: 220px; }   /* brand minimum for primary logo */

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 500; white-space: nowrap; }
.site-nav a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--coral); }
.nav-toggle {
  display: none; font: inherit; font-weight: 600;
  background: none; border: 2px solid var(--navy); color: var(--navy);
  border-radius: var(--radius-sm); padding: .4rem .9rem; cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60rem 40rem at 85% 20%, rgba(225,124,100,.10), transparent 60%),
    radial-gradient(40rem 30rem at 10% 110%, rgba(21,41,58,.9), transparent 70%),
    var(--navy);
  color: var(--white);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 3rem;
}
/* Photo background with navy overlay (brand book: dark overlay over photography) */
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(12,27,36,.97) 0%, rgba(12,27,36,0) 32%),
    linear-gradient(90deg, rgba(12,27,36,.95) 0%, rgba(12,27,36,.88) 38%, rgba(12,27,36,.55) 68%, rgba(12,27,36,.40) 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .js .hero-media img { transform: scale(1.08); }
  .is-loaded .hero-media img { transform: scale(1); transition: transform 2.4s cubic-bezier(.2,.8,.2,1); }
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .875rem; font-weight: 500; color: var(--on-dark-muted);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  padding: .4rem .9rem .4rem .7rem; border-radius: 999px; margin-bottom: 1.5rem;
}
.pulse { position: relative; width: .55rem; height: .55rem; border-radius: 50%; background: var(--coral); }
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--coral);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }

.hero-title { font-size: clamp(2.3rem, 4.4vw, 4rem); text-wrap: balance; line-height: 1.08; margin-bottom: 1.25rem; }
.hero-title .hl { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .hl > span { display: inline-block; }
.lede { font-size: 1.125rem; color: var(--on-dark-muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* Dashboard composition */
.dash { position: relative; min-height: 38rem; }
.dash-card {
  position: absolute; color: var(--text);
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.04);
  will-change: transform;
}
.dash-statement { top: 0; right: 0; width: min(100%, 380px); overflow: hidden; }
.statement-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.05rem 1.4rem; border-bottom: 3px solid var(--coral); font-weight: 600;
}
.statement-head span:last-child { font-weight: 400; font-size: .85rem; color: var(--text-muted); }
.statement-rows { margin: 0; padding: .3rem 1.4rem 0; }
.statement-rows .row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .8rem 0; border-bottom: 1px dashed var(--gray); font-variant-numeric: tabular-nums;
}
.statement-rows dt { color: var(--text-muted); }
.statement-rows dd { margin: 0; font-weight: 600; }
.statement-rows .row-total { border-bottom: 0; padding-top: .9rem; }
.statement-rows .row-total dt { color: var(--text); font-weight: 600; }
.statement-rows .row-total dd { font-weight: 700; font-size: 1.8rem; }
.statement-foot { margin: 0; background: var(--coral-soft); padding: .85rem 1.4rem; font-size: .85rem; }

.dash-work { left: -1.5rem; bottom: 2.5rem; width: min(84%, 320px); padding: 1.15rem 1.25rem 1.2rem; }
.work-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .9rem; }
.work-title { font-weight: 600; }
.chip { font-size: .75rem; font-weight: 500; background: var(--cream); padding: .25rem .6rem; border-radius: 999px; white-space: nowrap; }
.work-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.work-steps::before { /* rail */
  content: ""; position: absolute; left: .42rem; top: .7rem; bottom: .7rem; width: 2px; background: var(--gray);
}
.work-steps li {
  position: relative; display: grid; grid-template-columns: 1.4rem 1fr auto; align-items: center; gap: .5rem;
  padding: .4rem 0; font-size: .875rem;
}
.work-steps time { font-size: .75rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.work-steps .dot {
  position: relative; z-index: 1; width: .95rem; height: .95rem; border-radius: 50%;
  background: var(--coral); box-shadow: 0 0 0 3px var(--white);
}
.work-steps li:last-child .dot { background: var(--navy); }
.work-steps li:last-child .dot::after {
  content: ""; position: absolute; left: .3rem; top: .17rem; width: .25rem; height: .45rem;
  border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.dash-occ {
  right: 0; bottom: 0; display: flex; align-items: center; gap: .8rem;
  padding: .85rem 1.1rem .85rem .85rem; border-radius: 999px;
}
.dash-occ strong { display: block; font-size: 1.25rem; line-height: 1.1; }
.dash-occ div span:not([data-count]) { font-size: .8rem; color: var(--text-muted); }
.ring { width: 46px; height: 46px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring-track { stroke: var(--cream); }
.ring-fill { stroke: var(--coral); stroke-linecap: round; stroke-dasharray: 95 100; }

/* Orchestrated load sequence (only when motion is allowed and JS is running) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-title .hl > span { transform: translateY(105%); }
  .js .hero-kicker, .js .lede, .js .hero-actions { opacity: 0; transform: translateY(12px); }
  .js .dash-card { opacity: 0; translate: 0 24px; }
  .js .statement-rows .row, .js .work-steps li { opacity: 0; }
  .js .ring-fill { stroke-dasharray: 0 100; }

  .is-loaded .hero-title .hl > span { transform: none; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
  .is-loaded .hero-title .hl:nth-child(2) > span { transition-delay: .12s; }
  .is-loaded .hero-kicker, .is-loaded .lede, .is-loaded .hero-actions { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
  .is-loaded .lede { transition-delay: .35s; }
  .is-loaded .hero-actions { transition-delay: .45s; }
  .is-loaded .dash-card { opacity: 1; translate: 0 0; transition: opacity .7s ease, translate .9s cubic-bezier(.2,.8,.2,1); }
  .is-loaded .dash-statement { transition-delay: .35s; }
  .is-loaded .dash-work { transition-delay: 1.3s; }
  .is-loaded .dash-occ { transition-delay: 2.9s; }
  .is-loaded .statement-rows .row { opacity: 1; transition: opacity .5s ease; }
  .is-loaded .statement-rows .row:nth-child(1) { transition-delay: .75s; }
  .is-loaded .statement-rows .row:nth-child(2) { transition-delay: 1s; }
  .is-loaded .statement-rows .row:nth-child(3) { transition-delay: 1.25s; }
  .is-loaded .work-steps li { opacity: 1; transition: opacity .4s ease; }
  .is-loaded .work-steps li:nth-child(1) { transition-delay: 1.7s; }
  .is-loaded .work-steps li:nth-child(2) { transition-delay: 2s; }
  .is-loaded .work-steps li:nth-child(3) { transition-delay: 2.3s; }
  .is-loaded .work-steps li:nth-child(4) { transition-delay: 2.6s; }
  .is-loaded .ring-fill { stroke-dasharray: 95 100; transition: stroke-dasharray 1.4s cubic-bezier(.2,.8,.2,1) 3.1s; }
}
@media (prefers-reduced-motion: reduce) { .pulse::after { animation: none; } }

.proof {
  position: relative; list-style: none;
  margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255,255,255,.18);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
  color: var(--on-dark-muted); font-size: .95rem;
}
.proof strong { display: block; font-size: 1.75rem; font-weight: 700; color: var(--coral); line-height: 1.3; font-variant-numeric: tabular-nums; }

/* Header condenses after scrolling */
.site-header { transition: box-shadow .2s ease; }
.site-header .header-inner { transition: padding .2s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(12,27,36,.35); }
.site-header.is-scrolled .header-inner { padding: 1rem 0; }
.site-nav a.is-active:not(.btn) { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Calculator bars */
.calc-bars { display: grid; gap: .6rem; margin-top: 1.25rem; }
.bar { display: grid; grid-template-columns: 7.5rem 1fr; align-items: center; gap: .75rem; font-size: .8rem; color: var(--on-dark-muted); }
.bar-track { height: .7rem; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; border-radius: 999px; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.bar-theirs { background: var(--on-dark-muted); }
.bar-ours { background: var(--coral); }

/* One-time stagger for the value cards */
@media (prefers-reduced-motion: no-preference) {
  .js .value { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .js .value.is-in { opacity: 1; transform: none; }
  .js .value:nth-child(2) { transition-delay: .08s; }
  .js .value:nth-child(3) { transition-delay: .16s; }
  .js .value:nth-child(4) { transition-delay: .24s; }
}

/* ===== Sections ===== */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-cream { background: var(--cream); }
.section-soft { background: var(--coral-soft); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy a { color: var(--white); }
.on-dark-muted { color: var(--on-dark-muted); }
.section-head { max-width: 680px; margin-bottom: 2.75rem; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }


/* Photo + text */
.media-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.media-split-reverse > img { order: 2; }
.about-photo { object-position: 50% 35%; }
.media-photo { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 4 / 3; }
.media-split p { color: var(--text-muted); max-width: 60ch; }
.section-navy .media-split p { color: var(--on-dark-muted); }


/* ===== Pricing ===== */
.price-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
  background: var(--navy); color: var(--white);
  border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem);
}
.price-main h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.price { display: flex; align-items: baseline; gap: .6rem; margin: .5rem 0 .25rem; }
.price-num { font-size: clamp(3.75rem, 9vw, 5.5rem); font-weight: 700; line-height: 1; color: var(--white); letter-spacing: -0.02em; }
.price-unit { font-size: 1.15rem; color: var(--on-dark-muted); }
.price-note { color: var(--coral); font-weight: 500; margin-bottom: 1.6rem; }
.price-includes { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.price-includes li { position: relative; padding-left: 2rem; color: var(--on-dark-muted); }
.price-includes li::before {
  content: ""; position: absolute; left: 0; top: .4em;
  width: 1.1rem; height: .6rem; border-left: 2.5px solid var(--coral); border-bottom: 2.5px solid var(--coral);
  transform: rotate(-45deg);
}

.table-scroll { overflow-x: auto; margin-top: 2.5rem; }
.price-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.price-table caption { text-align: left; font-weight: 600; font-size: 1.15rem; margin-bottom: .75rem; }
.price-table th, .price-table td { text-align: left; padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--gray); vertical-align: top; }
.price-table thead th { font-size: .85rem; font-weight: 500; color: var(--text-muted); border-bottom: 2px solid var(--navy); }
.price-table tbody th { font-weight: 600; width: 24%; }
.price-table tbody td:nth-child(2) { font-weight: 600; width: 28%; }
.price-table tbody td:nth-child(3) { color: var(--text-muted); }
.note { margin-top: 1.5rem; }

/* ===== Testimonials ===== */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.quote { margin: 0; background: var(--white); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 1.2rem; flex: 1; }
.quote blockquote p { margin: 0; }
.quote figcaption { font-weight: 600; font-size: .9rem; padding-top: .9rem; border-top: 2px solid var(--coral); }

/* ===== Renters ===== */
.renter-actions { display: grid; gap: .9rem; margin-top: 1.5rem; }
.renter-link {
  display: block; text-decoration: none;
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm); padding: 1.15rem 1.35rem; color: var(--on-dark-muted);
  transition: border-color .15s;
}
.section-navy .renter-link { color: var(--on-dark-muted); }
.renter-link:hover { border-color: var(--coral); }
.renter-title { display: block; font-weight: 600; font-size: 1.1rem; color: var(--white); }
.emergency { margin-top: 1.25rem; color: var(--on-dark-muted); }
.emergency a { font-weight: 600; text-decoration-color: var(--coral); }

/* ===== CTA band (coral as an accent field, per brand book) ===== */
.cta-band { background: var(--coral); color: var(--navy); padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .25em; }
.cta-band p { margin: 0; font-weight: 500; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-grid > div > p { color: var(--text-muted); }
.contact-details { margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.contact-details dt { font-size: .85rem; color: var(--text-muted); }
.contact-details dd { margin: 0; font-weight: 600; font-size: 1.05rem; }
.contact-form {
  display: grid; gap: 1rem;
  background: var(--cream); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.form-group { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 1rem; }
.form-group[hidden], .contact-form [hidden] { display: none !important; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: grid; gap: .35rem; font-weight: 500; font-size: .9rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  border: 1px solid var(--gray); border-radius: var(--radius-sm);
  padding: .7rem .85rem; background: var(--white); width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--navy); }
.contact-form button { justify-self: start; }
.form-status { margin: 0; font-weight: 600; min-height: 1.6em; }
.form-status.is-error { color: #A8432C; }
.form-status.is-ok { color: var(--navy); }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: var(--on-dark-muted); padding: 3.5rem 0 2.5rem; font-size: .9rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--coral); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.6fr; gap: 2rem; }
.footer-grid p { margin: 0 0 .6rem; }
.footer-grid img { width: 220px; margin-bottom: 1rem; }
.footer-tag { color: var(--coral); font-weight: 500; }


/* ===== Value pillars ===== */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.value {
  display: flex; flex-direction: column;
  background: var(--cream); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border-top: 4px solid var(--coral);
}
.value h3 { font-size: 1.35rem; font-weight: 700; }
.value p { color: var(--text-muted); }
.value .value-proof {
  margin: auto 0 0; padding-top: 1.1rem; border-top: 1px solid var(--gray);
  color: var(--text); font-weight: 500;
}
.value-proof strong { display: block; font-size: 1.6rem; font-weight: 700; line-height: 1.2; }

/* ===== Savings calculator ===== */
.calc-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.calc-footnote { color: var(--on-dark-muted); font-size: .85rem; margin-top: 1.5rem; }
.calc { background: var(--navy-2); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
.calc-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.calc label { display: grid; gap: .4rem; font-size: .85rem; font-weight: 500; color: var(--on-dark-muted); align-content: end; }
.calc input {
  font: inherit; font-size: 1.1rem; font-weight: 600; color: var(--navy);
  width: 100%; padding: .65rem .75rem; border: 0; border-radius: var(--radius-sm); background: var(--white);
}
.input-prefix, .input-suffix { position: relative; display: block; }
.input-prefix > span, .input-suffix > span {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-weight: 600; pointer-events: none;
}
.input-prefix > span { left: .75rem; }
.input-prefix input { padding-left: 1.6rem; }
.input-suffix > span { right: .75rem; }
.input-suffix input { padding-right: 1.8rem; }
.calc-results { margin: 1.75rem 0 0; display: grid; gap: .25rem; }
.calc-results > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.12);
  font-variant-numeric: tabular-nums;
}
.calc-results dt { color: var(--on-dark-muted); }
.calc-results dd { margin: 0; font-weight: 600; font-size: 1.15rem; }
.calc-results .calc-total { border-bottom: 0; padding-top: 1rem; }
.calc-results .calc-total dt { color: var(--white); font-weight: 600; }
.calc-results .calc-total dd { color: var(--coral); font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700; }

/* ===== Owner fit ===== */
.fit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.fit-intro { color: var(--text-muted); max-width: 40ch; }
.fit-photo { width: 100%; margin-top: 1.75rem; border-radius: var(--radius); aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 60%; }
.fit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.fit-list li {
  position: relative; padding: 1.1rem 0 1.1rem 2.2rem;
  border-bottom: 1px solid var(--gray); font-weight: 500;
}
.fit-list li::before {
  content: ""; position: absolute; left: .2rem; top: 1.5rem;
  width: 1rem; height: .55rem; border-left: 2.5px solid var(--coral); border-bottom: 2.5px solid var(--coral);
  transform: rotate(-45deg);
}
.resident-note { margin-top: 2rem; font-size: .9rem; color: var(--text-muted); }

@media (max-width: 900px) {
  .calc-grid, .fit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .value-grid, .calc-inputs { grid-template-columns: 1fr; }
}


/* ===== Star ratings ===== */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars svg { width: 1.05rem; height: 1.05rem; fill: var(--coral); }
.hero-rating {
  display: inline-flex; align-items: center; gap: .75rem; margin-top: 1.5rem;
  color: var(--on-dark-muted); text-decoration: none; font-size: .9rem;
}
.hero-rating strong { color: var(--white); font-weight: 600; }
.hero-rating:hover strong { text-decoration: underline; text-decoration-color: var(--coral); }
.reviews-head { margin-bottom: .5rem; }
.reviews-sub { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; color: var(--text); }
.quote .stars { margin-bottom: .9rem; }
.quote .stars svg { width: .95rem; height: .95rem; }



/* ===== Shared content patterns ===== */
.callout { border-left: 3px solid var(--coral); padding: .2rem 0 .2rem 1.1rem; margin: 1.5rem 0; }
.callout blockquote { margin: 0; }
.callout blockquote p { margin: 0; font-size: 1.1rem; font-weight: 500; color: var(--text); }
.callout figcaption { margin-top: .6rem; font-size: .875rem; font-weight: 600; color: var(--text-muted); }
.callout figcaption::before { content: "\2014\00a0"; color: var(--coral); }
.check-list { list-style: none; margin: 1.25rem 0; padding: 0; display: grid; gap: .65rem; }
.check-list-2 { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
.check-list li { position: relative; padding-left: 1.9rem; font-weight: 500; color: var(--text); }
.check-list li::before {
  content: ""; position: absolute; left: .15rem; top: .45em;
  width: .95rem; height: .5rem; border-left: 2.5px solid var(--coral); border-bottom: 2.5px solid var(--coral);
  transform: rotate(-45deg);
}
.check-list-dark li { color: var(--white); font-weight: 400; }
.text-link { display: inline-block; margin-top: .5rem; font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-color: var(--navy); }
.split-2 { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split-2 > div > p { color: var(--text-muted); max-width: 52ch; }
.section-navy .split-2 > div > p { color: var(--on-dark-muted); }
.info-panel { background: var(--cream); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
.info-panel .check-list { margin: 0; }
.info-panel h3 { margin-bottom: 1rem; }
.tag-line { display: inline-block; font-weight: 600; color: var(--navy) !important; background: var(--coral-soft); padding: .3rem .8rem; border-radius: 999px; font-size: .9rem; }
.quote-wide { max-width: 760px; margin-inline: auto; padding: clamp(1.75rem, 4vw, 2.75rem); }
.quote-wide blockquote p { font-size: 1.2rem; font-weight: 500; }

/* Portal mock (illustrative) */
.portal-card { background: var(--white); border: 1px solid var(--gray); border-radius: var(--radius); box-shadow: 0 30px 60px -36px rgba(12,27,36,.45); overflow: hidden; }
.portal-head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.4rem; border-bottom: 3px solid var(--coral); font-weight: 600; }
.portal-rows { list-style: none; margin: 0; padding: .4rem 1.4rem .8rem; }
.portal-rows li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px dashed var(--gray); font-size: .95rem; }
.portal-rows li:last-child { border-bottom: 0; }
.status { font-size: .75rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; background: var(--cream); white-space: nowrap; }
.status-done { background: var(--navy); color: var(--white); }

/* Switching */
.switch-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.switch-panel { background: var(--navy-2); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
.switch-panel h3 { color: var(--white); }
.switch-panel .check-list { margin-bottom: 0; }

/* Subpage hero */
.page-hero {
  background: radial-gradient(50rem 30rem at 85% 0%, rgba(225,124,100,.12), transparent 60%), var(--navy);
  color: var(--white); padding: clamp(2.25rem, 5vw, 3.25rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); max-width: 24ch; text-wrap: balance; margin-bottom: .6rem; }
.page-hero .hero-actions { margin-top: 1.5rem; }
.page-hero .lede { max-width: 60ch; }
.breadcrumb { display: flex; gap: .6rem; font-size: .875rem; color: var(--on-dark-muted); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current] { color: var(--white); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.footer-head { color: var(--white); font-weight: 600; margin-bottom: .9rem !important; }

@media (max-width: 1024px) {
}
@media (max-width: 900px) {
  .split-2, .switch-grid { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .logo-full { width: 200px; }
}
@media (max-width: 560px) {
  .check-list-2 { grid-template-columns: 1fr; }
}


/* ===== Flowing timeline (numbered sequences) ===== */
.timeline {
  --dot: 2.6rem; --draw: 1.6s;
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 1.75rem;
  counter-reset: step;
}
.timeline::before, .timeline::after { /* track and progress line through the dots */
  content: ""; position: absolute; top: calc(var(--dot) / 2 - 1px);
  left: calc(100% / var(--n) / 2); right: calc(100% / var(--n) / 2); height: 3px; border-radius: 3px;
  background: var(--gray);
}
.timeline::after { background: var(--coral); transform-origin: left center; }
.timeline li { position: relative; counter-increment: step; text-align: center; }
.timeline li::before {
  content: counter(step);
  position: relative; z-index: 1;
  display: grid; place-items: center; width: var(--dot); height: var(--dot); margin: 0 auto 1.1rem;
  border-radius: 50%; background: var(--navy); color: var(--coral); font-weight: 700;
  box-shadow: 0 0 0 6px var(--cream);
}
.section:not(.section-cream) .timeline li::before { box-shadow: 0 0 0 6px var(--white); }
.timeline h3 { margin-bottom: .35rem; }
.timeline p { color: var(--text-muted); margin: 0 auto; font-size: .95rem; max-width: 30ch; }

@media (prefers-reduced-motion: no-preference) {
  .js .timeline::after { transform: scaleX(0); transition: transform var(--draw) cubic-bezier(.45,.05,.25,1); }
  .js .timeline.is-in::after { transform: scaleX(1); }
  .js .timeline li::before { background: var(--white); color: var(--text-muted); outline: 2px solid var(--gray); outline-offset: -2px; transition: background .35s, color .35s, outline-color .35s; }
  .js .timeline li h3, .js .timeline li p { opacity: .35; transition: opacity .5s; }
  .js .timeline.is-in li::before { background: var(--navy); color: var(--coral); outline-color: var(--navy);
    transition-delay: calc(var(--i) * var(--draw) / (var(--n) - 1)); }
  .js .timeline.is-in li h3, .js .timeline.is-in li p { opacity: 1; transition-delay: calc(var(--i) * var(--draw) / (var(--n) - 1)); }
}

/* Vertical on narrower screens */
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 1.6rem; }
  .timeline::before, .timeline::after {
    top: calc(var(--dot) / 2); bottom: calc(var(--dot) / 2); left: calc(var(--dot) / 2 - 1.5px); right: auto;
    width: 3px; height: auto;
  }
  .timeline::after { transform-origin: center top; }
  .js .timeline::after { transform: scaleY(0); }
  .js .timeline.is-in::after { transform: scaleY(1); }
  .timeline li { text-align: left; padding-left: calc(var(--dot) + 1.1rem); min-height: var(--dot); }
  .timeline li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .timeline p { margin: 0; max-width: 52ch; }
}

.fit-cta { margin-top: 1.75rem; }


/* ===== Review carousel ===== */
.carousel { margin-top: 2rem; }
.carousel-viewport { overflow: hidden; margin: -.5rem; padding: .5rem; }
.carousel-track { --per: 3; --gap: 1.25rem; display: flex; gap: var(--gap); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.carousel-track .quote { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.75rem; }
.carousel-btn {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 2px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer;
  transition: background-color .15s, color .15s;
}
.carousel-btn:hover { background: var(--navy); color: var(--white); }
.carousel-btn svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.carousel-dots { display: flex; gap: .5rem; }
.carousel-dots button {
  width: .7rem; height: .7rem; padding: 0; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(12,27,36,.25); transition: width .3s, background-color .3s;
}
.carousel-dots button[aria-current="true"] { width: 1.8rem; background: var(--navy); }
@media (max-width: 1024px) { .carousel-track { --per: 2; } }
@media (max-width: 700px) { .carousel-track { --per: 1; } }
@media (prefers-reduced-motion: reduce) { .carousel-track { transition: none; } }


/* ===== Pricing: system + optional protection ===== */
.price-title { font-size: clamp(1.4rem, 2.4vw, 1.8rem); color: var(--white); font-weight: 700; }
.price-rows { margin: 0 0 1.75rem; border-top: 1px solid rgba(255,255,255,.15); }
.price-rows > div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.price-rows dt { color: var(--on-dark-muted); }
.price-rows dd { margin: 0; font-weight: 600; color: var(--white); text-align: right; }
.includes-label { color: var(--white); font-weight: 600; margin-bottom: 1rem; }
.price-panel { align-items: start; }
.protect-head { margin: 3.5rem 0 1.25rem; max-width: 640px; }
.protect-head h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 700; }
.protect-head p { color: var(--text-muted); }
.protect-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: stretch; }
.protect-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--gray); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.1rem); background: var(--white);
}
.protect-card h3 { margin-bottom: .35rem; }
.protect-price { font-weight: 700; font-size: 1.15rem; margin-bottom: 1rem; }
.protect-price span { display: block; font-weight: 400; font-size: .9rem; color: var(--text-muted); margin-top: .15rem; }
.protect-desc { color: var(--text-muted); }
.protect-card .check-list { margin: .5rem 0 1.5rem; }
.protect-card .text-link { margin-top: auto; align-self: flex-start; }
.badge {
  align-self: flex-start; margin: 0 0 1rem; padding: .3rem .8rem; border-radius: 999px;
  background: var(--navy); color: var(--coral); font-size: .8rem; font-weight: 600; letter-spacing: .02em;
}
.badge-light { background: var(--cream); color: var(--text); }
@media (max-width: 900px) { .protect-grid { grid-template-columns: 1fr; } }

/* ===== Founder ===== */
.founder-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.founder-grid > div > p { color: var(--text-muted); max-width: 60ch; }
.founder-photo { position: relative; margin: 0; padding: 0 0 1.5rem 1.5rem; }
.founder-photo::before { /* brand backdrop behind the unaltered photo */
  content: ""; position: absolute; left: 0; bottom: 0; width: 82%; height: 78%;
  border-radius: var(--radius);
  background: url("assets/pattern-dark.png") 0 0 / 200px auto repeat, var(--navy);
  background-blend-mode: normal;
}
.founder-photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 82%; height: 78%; border-radius: var(--radius); background: rgba(12,27,36,.82); }
.founder-photo img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(12,27,36,.55); border-bottom: 5px solid var(--coral); }
.callout figcaption { display: flex; align-items: center; gap: .6rem; }
.callout figcaption::before { content: "\2014"; color: var(--coral); }
@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 420px; }
}

/* ===== Brand pattern (secondary texture, never behind body text) ===== */
.page-hero { position: relative; overflow: hidden; }
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero::after {
  content: ""; position: absolute; inset: 0 0 0 58%;
  background: url("assets/pattern-dark.png") 0 0 / 240px auto repeat;
  opacity: .12; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 50%);
          mask-image: linear-gradient(to right, transparent, #000 50%);
}
.site-footer { padding-top: 0; }
.site-footer::before {
  content: ""; display: block; height: 64px; margin-bottom: 3rem;
  background: url("assets/pattern-dark.png") 0 6px / 180px auto repeat-x;
  opacity: .2;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}
@media (max-width: 900px) { .page-hero::after { display: none; } }


/* ===== Founder page ===== */
.byline { color: inherit; text-decoration: none; }
.byline:hover { text-decoration: underline; text-decoration-color: var(--coral); }
.founder-hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(50rem 30rem at 85% 0%, rgba(225,124,100,.12), transparent 60%), var(--navy);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.founder-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.founder-hero h1 { font-size: clamp(2.6rem, 6vw, 4rem); margin-bottom: .25rem; }
.founder-title { color: var(--coral); font-weight: 600; font-size: 1.1rem; }
.founder-quote { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 500; line-height: 1.45; max-width: 30ch; margin: 1.5rem 0 0; }
.founder-photo-dark { max-width: 400px; justify-self: end; }
.founder-photo-dark::before { background: url("assets/pattern-dark.png") 0 0 / 200px auto repeat, var(--navy-2); }
.founder-photo-dark::after { background: rgba(21,41,58,.7); }
.about-intro .media-photo { aspect-ratio: 4 / 3; object-position: 50% 30%; }
.about-intro .prose p:not(.prose-lead) { color: var(--text-muted); }
.prose-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.prose { max-width: 64ch; }
.prose p { color: var(--text-muted); }
.prose .prose-lead { color: var(--text); font-size: 1.15rem; font-weight: 500; border-left: 3px solid var(--coral); padding-left: 1.1rem; }
.credentials { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.credentials li { background: var(--white); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.credentials strong { display: block; font-size: 1.3rem; }
.credentials span { color: var(--text-muted); font-size: .9rem; }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.principle {
  display: flex; flex-direction: column; margin: 0;
  background: var(--cream); border-radius: var(--radius); border-top: 4px solid var(--coral);
  padding: clamp(1.5rem, 3vw, 2.1rem);
}
.principle blockquote { margin: 0 0 1.25rem; flex: 1; }
.principle-quote { font-size: 1.25rem; font-weight: 600; line-height: 1.35; color: var(--text); margin-bottom: .75rem !important; }
.principle blockquote p:not(.principle-quote) { color: var(--text-muted); margin: 0; }
.principle figcaption { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .9rem; }
@media (max-width: 900px) {
  .founder-hero-grid, .prose-grid { grid-template-columns: 1fr; }
  .founder-photo-dark { justify-self: start; max-width: 340px; }
}
@media (max-width: 640px) { .principles, .credentials { grid-template-columns: 1fr; } }


/* ===== Pricing: complete system panel ===== */
.system-panel { background: var(--navy); color: var(--white); border-radius: var(--radius); overflow: hidden; }
.system-head { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.75rem, 4vw, 2.75rem); }
.system-head .price-title { margin: 0 0 .25rem; }
.system-sub { margin: 0; color: var(--on-dark-muted); }
.fee-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.fee { padding: clamp(1.5rem, 3vw, 2rem) clamp(1.75rem, 4vw, 2.75rem); }
.fee + .fee { border-left: 1px solid rgba(255,255,255,.12); }
.fee-main { background: rgba(225,124,100,.08); }
.fee dt { font-size: .85rem; font-weight: 600; color: var(--coral); margin-bottom: .5rem; }
.fee dd { margin: 0; display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.fee-num { font-size: clamp(2.4rem, 4.5vw, 3.2rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.fee-unit { color: var(--on-dark-muted); font-size: .95rem; }
.fee-note { margin: .75rem 0 0; color: var(--on-dark-muted); font-size: .875rem; }
.system-includes { padding: clamp(1.5rem, 3vw, 2rem) clamp(1.75rem, 4vw, 2.75rem) clamp(1.75rem, 4vw, 2.5rem); }
.includes-label { color: var(--white); font-weight: 600; margin-bottom: 1rem; }
.includes-2 { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
@media (max-width: 900px) {
  .fee-grid { grid-template-columns: 1fr; }
  .fee + .fee { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .includes-2 { grid-template-columns: 1fr; }
}

/* ===== Brand pattern: larger, subtler ===== */
.page-hero::after { background-size: 420px auto; opacity: .09; inset: 0 0 0 45%; }
.cta-band { position: relative; overflow: hidden; }
.cta-band > .wrap { position: relative; z-index: 1; }
.cta-band::after {
  content: ""; position: absolute; inset: 0 0 0 55%;
  background: url("assets/pattern-light.png") 0 0 / 360px auto repeat; opacity: .12; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 60%); mask-image: linear-gradient(to right, transparent, #000 60%);
}
.section-patterned { position: relative; overflow: hidden; }
.section-patterned > .wrap { position: relative; z-index: 1; }
.section-patterned::before {
  content: ""; position: absolute; inset: 0 0 0 62%;
  background: url("assets/pattern-dark.png") 0 0 / 480px auto repeat; opacity: .07; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 40%); mask-image: linear-gradient(to right, transparent, #000 40%);
}
@media (max-width: 900px) { .section-patterned::before { display: none; } }

/* ===== Founder hero (developer polish) ===== */
.founder-hero { padding: clamp(3rem, 7vw, 5rem) 0 0; }
.founder-hero::before {
  content: ""; position: absolute; inset: 0 0 0 48%;
  background: url("assets/pattern-dark.png") 0 0 / 520px auto repeat; opacity: .07; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 35%);
          mask-image: linear-gradient(to right, transparent, #000 35%);
}
.founder-hero-grid { position: relative; align-items: end; }
.founder-copy { padding-bottom: clamp(3rem, 7vw, 5rem); }
.founder-hero .hero-title { font-size: clamp(3rem, 7vw, 5rem); margin-bottom: 1rem; }
.founder-tags { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.founder-tags li { font-size: .85rem; font-weight: 500; color: var(--white); padding: .4rem .85rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
.founder-stage { position: relative; align-self: end; justify-self: center; width: min(100%, 440px); }
.founder-cutout {
  display: block; width: 100%;
  border-radius: var(--radius); border-bottom: 5px solid var(--coral);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.65);
}
.float-card {
  position: absolute; display: grid; gap: .1rem; color: var(--text);
  background: var(--white); border-radius: 14px; padding: .75rem 1rem;
  box-shadow: 0 24px 48px -24px rgba(0,0,0,.6); font-size: .8rem; will-change: transform;
}
.float-card strong { font-size: 1.35rem; line-height: 1.1; }
.float-card span { color: var(--text-muted); }
.float-card .stars svg { width: .85rem; height: .85rem; }
.fc-1 { left: -8%; top: 18%; }
.fc-2 { right: -10%; top: 42%; }
.fc-3 { left: -4%; bottom: 14%; }
@media (prefers-reduced-motion: no-preference) {
  .js .founder-stage .float-card { opacity: 0; translate: 0 16px; }
  .js .founder-cutout { opacity: 0; transform: translateY(14px); }
  .is-loaded .founder-cutout { opacity: 1; transform: none; transition: opacity .9s ease .15s, transform 1.1s cubic-bezier(.2,.8,.2,1) .15s; }
  .is-loaded .founder-stage .float-card { opacity: 1; translate: 0 0; transition: opacity .6s ease, translate .8s cubic-bezier(.2,.8,.2,1); }
  .is-loaded .fc-1 { transition-delay: .7s; }
  .is-loaded .fc-2 { transition-delay: 1s; }
  .is-loaded .fc-3 { transition-delay: 1.3s; }
}
@media (max-width: 900px) {
  .founder-copy { padding-bottom: 0; }
  .founder-stage { width: min(100%, 360px); margin-top: 1rem; }
  .fc-1 { left: -2%; } .fc-2 { right: -2%; } .fc-3 { left: 0; }
}

/* ===== About page ===== */
.gap-list { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .6rem; }
.gap-list li { background: var(--white); border-left: 3px solid var(--coral); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: .85rem 1.1rem; color: var(--text); font-weight: 500; }
.question-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.question-grid li { background: var(--white); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; font-weight: 500; color: var(--text); position: relative; padding-top: 2.4rem; }
.question-grid li::before { content: "?"; position: absolute; top: .8rem; left: 1.2rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--navy); color: var(--coral); font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.statement { margin-top: 2rem; font-size: 1.2rem; font-weight: 500; max-width: 60ch; }
.statement em { font-style: normal; color: var(--text); border-bottom: 3px solid var(--coral); }
.philosophy { max-width: 760px; }
.philosophy-lead { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; color: var(--coral); line-height: 1.3; margin: .5rem 0 1.25rem; }
.leader-name { color: var(--text); margin-bottom: 1.25rem; }
.closing { max-width: 720px; text-align: center; margin-inline: auto; }
.closing p { color: var(--text-muted); }
.closing-lead { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; color: var(--text) !important; }
.link-row { display: flex; flex-wrap: wrap; gap: 1.75rem; }
@media (max-width: 1024px) { .question-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .question-grid { grid-template-columns: 1fr; } }

/* Two-column story sections: heading + intro on the left, detail on the right */
.prose-head p { color: var(--text-muted); font-size: 1.1rem; max-width: 46ch; margin-top: 1.25rem; }
@media (min-width: 901px) {
  .prose-head { position: sticky; top: 7rem; }
}

/* Leadership accountability questions: one per line, evenly spaced */
.accountability-list { gap: 0; margin: 1.5rem 0; }
.accountability-list li { padding-top: .7rem; padding-bottom: .7rem; border-bottom: 1px solid var(--gray); }
.accountability-list li:last-child { border-bottom: 0; }
.accountability-list li::before { top: calc(.7rem + .45em); }

/* Two-column checklists drop to one column on tablets so items stay on one line */
@media (max-width: 1100px) { .check-list-2, .includes-2 { grid-template-columns: 1fr; } }

/* FAQ accordion */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq-group { font-size: .95rem; text-transform: none; color: var(--text-muted); font-weight: 600; margin: 2rem 0 .75rem; }
.faq-group:first-child { margin-top: 0; }
.faq-item { background: var(--white); border-radius: var(--radius-sm); margin-bottom: .6rem; border: 1px solid transparent; transition: border-color .2s; }
.faq-item[open] { border-color: var(--gray); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.05rem 3rem 1.05rem 1.25rem; font-weight: 600; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 1.3rem; top: 50%; width: .55rem; height: .55rem;
  border-right: 2px solid var(--coral); border-bottom: 2px solid var(--coral);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item summary:hover { color: var(--navy); }
.faq-item p { margin: 0; padding: 0 1.25rem 1.2rem; color: var(--text-muted); }
.faq-group { scroll-margin-top: 7rem; }
h2.faq-group { font-size: 1.15rem; color: var(--text); margin: 2.5rem 0 1rem; }
h2.faq-group:first-child { margin-top: 0; }
.faq-nav-label { font-weight: 600; color: var(--text) !important; margin-bottom: .5rem !important; }
.faq-nav ul { list-style: none; margin: 0 0 1.5rem; padding: 0; border-left: 2px solid var(--gray); }
.faq-nav li a { display: block; padding: .45rem 0 .45rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--text-muted); text-decoration: none; font-weight: 500; }
.faq-nav li a:hover { color: var(--navy); border-left-color: var(--coral); }
.faq-more { margin-top: 1rem; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-nav ul { display: none; } }

/* Keep the 7-link menu on one row on laptops */
@media (max-width: 1360px) and (min-width: 1101px) {
  .site-nav { gap: 1.15rem; }
  .site-nav a:not(.btn) { font-size: .95rem; }
  .site-nav .btn-small { padding: .55rem .9rem; }
}

/* Larger tap areas on phones without changing the look */
.carousel-dots button { position: relative; }
.carousel-dots button::after { content: ""; position: absolute; inset: -14px -6px; }
@media (max-width: 820px) {
  .topbar a { display: inline-block; padding: .35rem 0; }
  .callout .byline { display: inline-block; padding: .3rem 0; }
}

/* ===== Legal pages ===== */
.page-hero-slim { padding: clamp(2rem, 4vw, 2.75rem) 0 clamp(2rem, 4vw, 2.75rem); }
.page-hero-slim::after { display: none; }
.legal { max-width: 72ch; }
.legal h2 { font-size: 1.35rem; margin: 2.25rem 0 .75rem; }
.legal p, .legal li { color: var(--text-muted); }
.legal p strong, .legal li strong { color: var(--text); }
.legal ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.legal li { margin-bottom: .4rem; }
.legal-meta { font-weight: 600; color: var(--text) !important; }
.legal-links { margin-top: .6rem !important; }
.legal-links a { color: var(--on-dark-muted) !important; }

/* ===== SMS consent ===== */
.consent { border: 0; margin: 0; padding: 0; display: grid; gap: .75rem; min-width: 0; }
.check { display: grid !important; grid-template-columns: 1.15rem 1fr; gap: .7rem; align-items: start; font-weight: 400 !important; font-size: .8rem !important; line-height: 1.55; color: var(--text-muted); cursor: pointer; }
.check input { width: 1.15rem !important; height: 1.15rem; margin: .15rem 0 0; padding: 0; accent-color: var(--navy); }
.consent-links { margin: 0; font-size: .8rem; color: var(--text-muted); }
.consent-note { margin: 0; font-size: .8rem; font-weight: 600; color: var(--text); }
.consent-q { font-size: .8rem; line-height: 1.55; color: var(--text-muted); padding: 0; margin-bottom: .25rem; }
.consent-help { margin: 0; font-size: .8rem; color: var(--text-muted); }

/* ===== Phone hero: show the home, then the headline ===== */
@media (max-width: 900px) {
  .hero { padding-top: 15rem; background: var(--navy); }
  .hero > .hero-media { inset: 0 0 auto 0; height: 26rem; }
  .hero > .hero-media img { object-position: 55% 70%; }
  .hero > .hero-media::after {
    background: linear-gradient(to bottom, rgba(12,27,36,.15) 0%, rgba(12,27,36,.35) 40%, rgba(12,27,36,.9) 72%, var(--navy) 100%) !important;
  }
}

.lede-link { color: inherit; text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 4px; }

.side-photo { width: 100%; margin-top: 1.75rem; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; }

/* Community cards (city pages) */
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.community-card { background: var(--cream); border-radius: var(--radius); padding: 1.5rem; border-top: 3px solid var(--coral); display: flex; flex-direction: column; gap: .6rem; }
.community-card h3 { margin: 0; font-size: 1.1rem; }
.community-card p { margin: 0; font-size: .92rem; color: var(--text-muted); }
.community-card strong { color: var(--text); }
.community-card .cc-fact { color: var(--text); }
.community-card .cc-how { margin-top: auto; padding-top: .7rem; border-top: 1px solid var(--gray); }
.text-link-light { color: var(--white) !important; margin-top: 1.25rem; }
@media (max-width: 1024px) { .community-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .community-grid { grid-template-columns: 1fr; } }

.community-grid-2 { grid-template-columns: repeat(2, 1fr); }
.community-grid-2 .community-card { padding: 1.75rem; gap: .75rem; }
.community-grid-2 .community-card .cc-fact { font-weight: 600; }
.calc-label { color: var(--white); font-weight: 600; margin-bottom: .5rem; }
@media (max-width: 760px) { .community-grid-2 { grid-template-columns: 1fr; } }

/* Community explorer (city pages) */
.community-explorer { display: grid; grid-template-columns: minmax(16rem, 1fr) 2.2fr; gap: 0; border: 1px solid var(--gray); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.ce-list { display: flex; flex-direction: column; background: var(--cream); border-right: 1px solid var(--gray); }
.ce-tab {
  display: block; width: 100%; text-align: left; cursor: pointer;
  font: inherit; background: transparent; border: 0; border-bottom: 1px solid var(--gray);
  border-left: 4px solid transparent; padding: 1.1rem 1.25rem 1.1rem 1.1rem;
  transition: background-color .2s, border-color .2s;
}
.ce-tab:last-child { border-bottom: 0; }
.ce-tab:hover { background: rgba(255,255,255,.6); }
.ce-tab[aria-selected="true"] { background: var(--white); border-left-color: var(--coral); }
.ce-name { display: block; font-weight: 600; color: var(--text); }
.ce-tag { display: block; font-size: .8rem; color: var(--text-muted); line-height: 1.4; margin-top: .15rem; }
.ce-panels { padding: clamp(1.75rem, 3vw, 2.75rem); }
.ce-panel[hidden] { display: none; }
.ce-panel:focus-visible { outline-offset: 6px; }
.ce-kicker { color: var(--coral-dark, #B4533A); font-weight: 600; font-size: .9rem; margin: 0 0 .35rem; }
.ce-panel h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 700; margin-bottom: 1.25rem; }
.ce-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.ce-text p { color: var(--text-muted); }
.ce-checks { background: var(--cream); border-radius: var(--radius-sm); padding: 1.25rem 1.35rem; }
.ce-checks-title { font-weight: 600; margin: 0 0 .25rem; color: var(--text); }
.ce-checks .check-list { margin: .75rem 0 0; }
.ce-checks .check-list li { font-size: .92rem; }
@media (prefers-reduced-motion: no-preference) {
  .ce-panel:not([hidden]) { animation: ce-in .35s ease both; }
  @keyframes ce-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1100px) { .ce-body { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .community-explorer { grid-template-columns: 1fr; }
  .ce-list { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--gray); scroll-snap-type: x mandatory; }
  .ce-tab { flex: 0 0 auto; width: auto; border-bottom: 0; border-left: 0; border-bottom: 3px solid transparent; padding: .9rem 1.1rem; scroll-snap-align: start; }
  .ce-tab[aria-selected="true"] { border-bottom-color: var(--coral); }
  .ce-tag { display: none; }
  .ce-list { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); scrollbar-width: none; }
  .ce-list::-webkit-scrollbar { display: none; }
}

/* Pricing hero: fee comparison */
.price-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; z-index: 1; }
.page-hero-split::after { display: none; }
.fee-compare { margin: 0; background: var(--white); color: var(--text); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.fee-compare-head { margin: 0 0 1.25rem; font-size: .95rem; color: var(--text-muted); }
.fee-compare-head strong { color: var(--text); }
.fee-row { margin-bottom: 1.1rem; }
.fee-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .45rem; font-size: .95rem; }
.fee-label strong { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.fee-track { height: .9rem; background: var(--cream); border-radius: 999px; overflow: hidden; }
.fee-bar { display: block; height: 100%; width: var(--w); border-radius: 999px; }
.fee-bar-theirs { background: var(--gray); }
.fee-bar-ours { background: var(--coral); }
.fee-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--gray); padding-top: 1rem; margin-top: 1.4rem; font-weight: 600; }
.fee-total strong { font-size: 2rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.fee-compare figcaption { margin-top: .9rem; font-size: .85rem; color: var(--text-muted); }
@media (prefers-reduced-motion: no-preference) {
  .js .fee-bar { width: 0; transition: width 1.1s cubic-bezier(.2,.8,.2,1) .4s; }
  .is-loaded .fee-bar { width: var(--w); }
  .is-loaded .fee-bar-ours { transition-delay: .7s; }
}
@media (max-width: 900px) { .price-hero-grid { grid-template-columns: 1fr; } }

/* FAQ hero: search */
.faq-search { position: relative; max-width: 40rem; margin-top: 1.75rem; }
.faq-search svg { position: absolute; left: 1.1rem; top: 50%; width: 1.25rem; height: 1.25rem; transform: translateY(-50%); fill: none; stroke: var(--text-muted); stroke-width: 2.2; stroke-linecap: round; }
.faq-search input {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--text);
  padding: 1rem 1.25rem 1rem 3.1rem; border: 0; border-radius: var(--radius-sm); background: var(--white);
  box-shadow: 0 20px 40px -24px rgba(0,0,0,.6);
}
.faq-search input:focus { outline: 3px solid var(--coral); outline-offset: 2px; }
.faq-topics { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.faq-topics a {
  color: var(--white); text-decoration: none; font-size: .875rem; font-weight: 500;
  padding: .4rem .85rem; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; transition: border-color .15s, background-color .15s;
}
.faq-topics a:hover { border-color: var(--coral); background: rgba(255,255,255,.06); }
.faq-status { min-height: 1.4em; margin: .9rem 0 0; font-size: .9rem; color: var(--on-dark-muted); }
.faq-empty { background: var(--white); border-radius: var(--radius-sm); padding: 1.25rem; color: var(--text-muted); }

/* Service areas */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; align-items: start; }
.area-card { background: var(--cream); border-radius: var(--radius); padding: 1.4rem 1.5rem; border-top: 3px solid var(--coral); }
.area-card h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.area-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; color: var(--text-muted); }
.area-card a { font-weight: 600; color: var(--navy); }
.area-sub { display: block; font-size: .8rem; color: var(--text-muted); line-height: 1.4; margin-top: .1rem; }
@media (max-width: 1024px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .area-grid { grid-template-columns: 1fr; } }


/* Reduce-motion visitors: keep gentle fades and counting numbers, remove movement */
@media (prefers-reduced-motion: reduce) {
  .js .hero-kicker, .js .lede, .js .hero-actions, .js .hero-title .hl > span,
  .js .dash-card, .js .statement-rows .row, .js .work-steps li, .js .value, .js .fee-compare { opacity: 0; }
  .is-loaded .hero-kicker, .is-loaded .lede, .is-loaded .hero-actions, .is-loaded .hero-title .hl > span,
  .is-loaded .dash-card, .is-loaded .statement-rows .row, .is-loaded .work-steps li, .is-loaded .fee-compare { opacity: 1; transition: opacity .6s ease; }
  .is-loaded .lede { transition-delay: .25s; }
  .is-loaded .hero-actions { transition-delay: .35s; }
  .is-loaded .dash-statement, .is-loaded .fee-compare { transition-delay: .3s; }
  .is-loaded .statement-rows .row:nth-child(2) { transition-delay: .5s; }
  .is-loaded .statement-rows .row:nth-child(3) { transition-delay: .7s; }
  .is-loaded .dash-work { transition-delay: .9s; }
  .is-loaded .work-steps li:nth-child(2) { transition-delay: 1.1s; }
  .is-loaded .work-steps li:nth-child(3) { transition-delay: 1.3s; }
  .is-loaded .work-steps li:nth-child(4) { transition-delay: 1.5s; }
  .is-loaded .dash-occ { transition-delay: 1.6s; }
  .js .value.is-in { opacity: 1; transition: opacity .6s ease; }
}

/* Homepage value cards: one row on wide screens */
@media (min-width: 1200px) { #value .value-grid { grid-template-columns: repeat(4, 1fr); } }

/* Subpage hero with a photo */
.page-hero.has-photo { padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.page-hero.has-photo::after { display: none; }
.page-hero.has-photo .hero-media img { object-position: 50% 60%; }
.page-hero.has-photo .hero-media img.hero-skyline { object-position: 50% 36%; }
.page-hero.has-photo .hero-media img.hero-aerial { object-position: 50% 50%; }
.page-hero.has-photo .hero-media img.hero-tablet { position: absolute; right: 0; top: 0; width: 66%; object-position: 50% 48%; }
.page-hero.has-photo .hero-media:has(.hero-tablet) { background: var(--navy); }
.page-hero.has-photo .hero-media img.hero-right { position: absolute; right: 0; top: 0; width: 62%; object-position: 50% 40%; }
.page-hero.has-photo .hero-media:has(.hero-right) { background: var(--navy); }
.page-hero.has-photo .hero-media img.hero-bath { position: absolute; right: 0; top: 0; width: 66%; object-position: 50% 55%; }
.page-hero.has-photo .hero-media:has(.hero-bath) { background: var(--navy); }
@media (min-width: 901px) {
  .page-hero.has-photo .hero-media img.hero-bath, .page-hero.has-photo .hero-media img.hero-tablet, .page-hero.has-photo .hero-media img.hero-right {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 35%);
            mask-image: linear-gradient(to right, transparent, #000 35%);
  }
}
@media (max-width: 900px) { .page-hero.has-photo .hero-media img.hero-tablet, .page-hero.has-photo .hero-media img.hero-bath, .page-hero.has-photo .hero-media img.hero-right { width: 100%; } }
.page-hero.has-photo .hero-media::after {
  background: linear-gradient(90deg, rgba(12,27,36,.95) 0%, rgba(12,27,36,.85) 45%, rgba(12,27,36,.5) 100%);
}

/* Large monitors: scale type and spacing up so the layout fills the screen */
@media (min-width: 1600px) {
  html { font-size: 17.5px; }
  :root { --wrap: 1400px; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .media-split, .price-panel, .contact-grid { grid-template-columns: 1fr; }
  .media-split-reverse > img { order: 0; }
  .media-photo { max-height: 340px; }
  .proof { grid-template-columns: 1fr 1fr; }
  .hero-media::after { background: linear-gradient(rgba(12,27,36,.86), rgba(12,27,36,.92)); }
  .dash { min-height: 0; display: grid; gap: 1rem; max-width: 460px; }
  .dash-card { position: relative; inset: auto; width: 100%; left: auto; bottom: auto; }
  .dash-occ { display: none; } /* occupancy already shown in the stats row */
}
@media (max-width: 1100px) {
  .header-inner { padding: 1rem 0; }
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--gray);
    padding: .5rem 1.25rem 1.25rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--gray); }
  .site-nav .btn { margin-top: 1rem; }
  .topbar-inner { justify-content: center; }
}
@media (max-width: 560px) {
  .quotes, .proof, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-band .btn { width: 100%; }
  .topbar a:not(.topbar-phone) { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
