/* ==========================================================================
   TrueNorth Living — site.css
   Design concept: "The Porch Light."
   Warm light held in deep dark. Compass, north star, a house with the lamp on.
   --------------------------------------------------------------------------
   Sections:  1 Tokens  2 Reset  3 Type  4 Buttons  5 Crisis bar  6 Header
              7 Hero    8 Availability  9 Path North  10 Pillars  11 Houses
              12 Quotes 13 Prose/lists  14 Forms  15 FAQ  16 CTA  17 Footer
              18 Motion & responsive
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Core palette */
  --ink:        #0C141C;   /* deep midnight — page ground */
  --ink-2:      #121E28;   /* raised surface */
  --ink-3:      #1A2A36;   /* card / border-ish */
  --pine:       #16302B;   /* grounding green, used sparingly */

  --amber:      #E8A33D;   /* the porch light — primary accent */
  --amber-lt:   #F5C877;
  --amber-dk:   #B87A22;
  --clay:       #C4643C;   /* Texas earth — secondary accent */
  --sage:       #8AA396;

  --bone:       #F6F2E9;   /* warm paper — light sections */
  --bone-2:     #EDE6D8;
  --text-hi:    #F7F3EA;
  --text:       #D6DCE2;
  --text-dim:   #93A2AE;
  --text-ink:   #16222C;   /* text on bone */
  --text-ink-2: #4A5A66;

  /* Status */
  --ok:         #6FBF8B;
  --warn:       #E8A33D;
  --full:       #7C8A96;

  /* Type */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Fluid type scale */
  --t-xs:   0.78rem;
  --t-sm:   0.875rem;
  --t-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --t-lg:   clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --t-xl:   clamp(1.4rem, 1.25rem + 0.7vw, 1.85rem);
  --t-2xl:  clamp(1.85rem, 1.55rem + 1.4vw, 2.75rem);
  --t-3xl:  clamp(2.35rem, 1.7rem + 3vw, 4.25rem);
  --t-hero: clamp(2.75rem, 1.6rem + 5.2vw, 6.25rem);

  /* Space */
  --sp-1: 0.35rem;  --sp-2: 0.65rem;  --sp-3: 1rem;
  --sp-4: 1.5rem;   --sp-5: 2.25rem;  --sp-6: 3.25rem;
  --sp-7: 5rem;     --sp-8: 7.5rem;

  --wrap: 1200px;
  --wrap-narrow: 760px;
  --radius: 14px;
  --radius-lg: 22px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-lift: 0 1px 2px rgba(0,0,0,.28), 0 12px 34px -12px rgba(0,0,0,.55);
  --glow: 0 0 0 1px rgba(232,163,61,.28), 0 0 34px -6px rgba(232,163,61,.45);
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle film grain over the whole page — keeps the dark from feeling flat. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration-color: rgba(232,163,61,.5); text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--amber); color: #1A1207;
  padding: .75rem 1.25rem; border-radius: 0 0 var(--radius) 0;
  font-weight: 600; z-index: 10000;
}
.skip-link:focus { left: 0; top: 0; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- 3. Type ------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--text-hi);
  font-variation-settings: "SOFT" 28, "WONK" 1, "opsz" 40;
  text-wrap: balance;
}
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); line-height: 1.2; }
p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber));
  flex: none;
}

.lede {
  font-size: var(--t-lg);
  color: var(--text);
  line-height: 1.6;
  max-width: 58ch;
}

.section { padding-block: var(--sp-8); position: relative; }
.section-head { max-width: 62ch; margin-bottom: var(--sp-6); }
.section-head .eyebrow { margin-bottom: var(--sp-3); }
.section-head h2 + p { margin-top: var(--sp-3); }

/* Light "paper" sections */
.section--bone {
  background: var(--bone);
  color: var(--text-ink);
}
.section--bone h1, .section--bone h2, .section--bone h3 { color: var(--text-ink); }
.section--bone .lede, .section--bone p { color: var(--text-ink-2); }
.section--bone .eyebrow { color: var(--amber-dk); }
.section--bone .eyebrow::before { background: linear-gradient(90deg, transparent, var(--amber-dk)); }

/* ---------- 4. Buttons --------------------------------------------------- */
.btn {
  --btn-bg: var(--amber);
  --btn-fg: #17100420;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.7rem;
  min-height: 52px;
  background: var(--amber);
  color: #1A1207;
  font-weight: 650;
  font-size: var(--t-sm);
  letter-spacing: .01em;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out),
              background-color .2s var(--ease);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 30px -12px rgba(232,163,61,.7);
}
/* Inline icons inside buttons must never stretch to fill the flex line. */
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); background: var(--amber-lt); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 16px 40px -12px rgba(232,163,61,.85); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--text-hi);
  border-color: rgba(214,220,226,.28);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(246,242,233,.07); border-color: rgba(232,163,61,.6); color: var(--text-hi); }
.section--bone .btn--ghost { color: var(--text-ink); border-color: rgba(22,34,44,.25); }
.section--bone .btn--ghost:hover { background: rgba(22,34,44,.05); }

.btn--lg { padding: 1.15rem 2.2rem; font-size: var(--t-base); min-height: 60px; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.arrow-link {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--amber); font-weight: 600; font-size: var(--t-sm);
  text-decoration: none;
}
.arrow-link span { transition: transform .3s var(--ease-out); }
.arrow-link:hover span { transform: translateX(5px); }

/* ---------- 5. Crisis bar ------------------------------------------------ */
.crisis {
  background: var(--pine);
  border-bottom: 1px solid rgba(138,163,150,.2);
  font-size: var(--t-sm);
  position: relative;
  z-index: 60;
}
.crisis .wrap {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: .3rem 1.1rem;
  padding-block: .6rem;
  text-align: center;
}
.crisis b { color: var(--text-hi); font-weight: 600; }
.crisis a {
  color: var(--amber-lt); font-weight: 650; text-decoration: none;
  border-bottom: 1px solid rgba(245,200,119,.4);
  padding-block: 2px;
}
.crisis a:hover { border-bottom-color: var(--amber-lt); }

/* ---------- 6. Header ---------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,20,28,.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(246,242,233,.07);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled { background: rgba(12,20,28,.94); border-bottom-color: rgba(246,242,233,.12); }

.site-header .wrap {
  display: flex; align-items: center; gap: var(--sp-4);
  padding-block: .85rem;
}

.brand {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--text-hi);
  font-family: var(--display);
  font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em;
  font-variation-settings: "SOFT" 30, "WONK" 1;
  flex: none;
}
.brand svg { width: 34px; height: 34px; flex: none; }
.brand b { font-weight: 600; }
.brand i { font-style: normal; color: var(--amber); }

.nav { margin-left: auto; display: flex; align-items: center; gap: .3rem; }
.nav a {
  padding: .6rem .85rem;
  font-size: var(--t-sm); font-weight: 500;
  color: var(--text); text-decoration: none;
  border-radius: 8px;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav a:hover { color: var(--text-hi); background: rgba(246,242,233,.07); }
.nav a[aria-current="page"] { color: var(--amber); }

/* Apply lives in the header button on desktop, so hide the duplicate nav link.
   On mobile the button row is hidden, and this link takes over. */
@media (min-width: 901px) { .nav-apply { display: none; } }

.header-cta { display: flex; align-items: center; gap: .6rem; flex: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 650; font-size: var(--t-sm);
  color: var(--text-hi); text-decoration: none;
  padding: .6rem .9rem; border-radius: 999px;
  border: 1px solid rgba(246,242,233,.16);
  transition: border-color .2s, background-color .2s;
}
.header-phone:hover { border-color: var(--amber); background: rgba(232,163,61,.1); }
.header-phone svg { width: 15px; height: 15px; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(246,242,233,.18);
  border-radius: 10px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 19px; height: 1.5px; background: var(--text-hi);
  position: relative; transition: background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 1.5px;
  background: var(--text-hi); transition: transform .3s var(--ease-out);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 7. Hero ------------------------------------------------------ */
.hero {
  position: relative;
  min-height: min(92svh, 900px);
  display: grid;
  align-items: end;
  padding-block: var(--sp-8) var(--sp-7);
  overflow: hidden;
  isolation: isolate;
}

.hero-media { position: absolute; inset: 0; z-index: -3; }

/* Before any photo or video is uploaded, the hero paints its own night sky.
   Keeps a brand-new site looking deliberate rather than unfinished. */
.hero-media:empty {
  background-color: #0A1119;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, rgba(246,242,233,.55), transparent),
    radial-gradient(1.2px 1.2px at 28% 9%,  rgba(246,242,233,.40), transparent),
    radial-gradient(1.8px 1.8px at 44% 24%, rgba(246,242,233,.50), transparent),
    radial-gradient(1.1px 1.1px at 61% 12%, rgba(246,242,233,.35), transparent),
    radial-gradient(2.2px 2.2px at 74% 21%, rgba(245,200,119,.85), transparent),
    radial-gradient(1.3px 1.3px at 86% 8%,  rgba(246,242,233,.45), transparent),
    radial-gradient(1.5px 1.5px at 93% 30%, rgba(246,242,233,.38), transparent),
    radial-gradient(1.2px 1.2px at 6% 35%,  rgba(246,242,233,.30), transparent),
    radial-gradient(1.4px 1.4px at 36% 38%, rgba(246,242,233,.28), transparent),
    radial-gradient(1.1px 1.1px at 55% 33%, rgba(246,242,233,.32), transparent);
}
/* The north star, just above the horizon line. */
.hero-media:empty::after {
  content: "";
  position: absolute; left: 74%; top: 21%;
  width: 120px; height: 120px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(245,200,119,.5), transparent 62%);
  animation: starGlow 5.5s var(--ease) infinite alternate;
}
@keyframes starGlow {
  from { opacity: .55; transform: translate(-50%,-50%) scale(.9); }
  to   { opacity: 1;   transform: translate(-50%,-50%) scale(1.12); }
}
.hero-media img, .hero-media video {
  width: 100%; height: 100%; object-fit: cover;
  /* Slow drift so a still photo still feels alive. */
  animation: heroDrift 34s var(--ease) infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0,0,0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -1.5%, 0); }
}

/* Layered scrim: keeps text legible over any photo or video the owner uploads. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 85% at 78% 12%, rgba(232,163,61,.30), transparent 58%),
    radial-gradient(90% 70% at 10% 92%, rgba(22,48,43,.55), transparent 62%),
    linear-gradient(180deg, rgba(12,20,28,.62) 0%, rgba(12,20,28,.42) 38%, rgba(12,20,28,.94) 92%);
}
/* Fine horizon line — the "north" reference. */
.hero::after {
  content: ""; position: absolute; z-index: -1;
  left: 0; right: 0; top: 46%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,163,61,.35) 22%, rgba(232,163,61,.35) 78%, transparent);
  opacity: .6;
}

.hero-inner { position: relative; z-index: 2; }
.hero h1 {
  font-size: var(--t-hero);
  line-height: .96;
  letter-spacing: -.035em;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 144;
  max-width: 16ch;
  margin-block: var(--sp-4) var(--sp-4);
  text-shadow: 0 2px 40px rgba(0,0,0,.4);
}
.hero h1 em {
  font-style: italic;
  color: var(--amber-lt);
  font-variation-settings: "SOFT" 60, "WONK" 1;
}
.hero .lede { max-width: 52ch; color: #E4E9EE; font-size: var(--t-lg); }
.hero .btn-row { margin-top: var(--sp-5); }

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: var(--sp-4); left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-dim); z-index: 3;
}
.scroll-hint i {
  display: block; width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--amber), transparent);
  animation: scrollPulse 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .25; transform: scaleY(.45); }
  50%      { opacity: 1;   transform: scaleY(1); }
}

/* ---------- 8. Availability --------------------------------------------- */
.avail-pill {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .55rem 1.15rem .55rem .8rem;
  background: rgba(12,20,28,.6);
  border: 1px solid rgba(232,163,61,.35);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: var(--t-sm); font-weight: 550;
  color: var(--text-hi);
  text-decoration: none;
  transition: border-color .25s, background-color .25s, transform .25s var(--ease-out);
}
.avail-pill:hover { border-color: var(--amber); background: rgba(232,163,61,.14); transform: translateY(-1px); }

.dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ok); flex: none;
  position: relative;
}
.dot--open { background: var(--ok); }
.dot--open::after {
  content: ""; position: absolute; inset: -5px;
  border-radius: 50%; border: 1px solid var(--ok);
  animation: ping 2.6s var(--ease) infinite;
}
.dot--waitlist { background: var(--warn); }
.dot--full { background: var(--full); }
/* Pre-launch: no houses live yet, but we are taking applications. */
.dot--soon { background: var(--amber); }
.dot--soon::after {
  content: ""; position: absolute; inset: -5px;
  border-radius: 50%; border: 1px solid var(--amber);
  animation: ping 2.6s var(--ease) infinite;
}
@keyframes ping {
  0%   { opacity: .8; transform: scale(.65); }
  75%  { opacity: 0;  transform: scale(1.5); }
  100% { opacity: 0;  transform: scale(1.5); }
}

/* ---------- 9. Path North (signature element) ---------------------------- */
.path { position: relative; }
.path-grid {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: var(--sp-6);
  padding-left: 4.25rem;
}
/* The route: a static rail + an amber trace that draws with scroll. */
.path-rail, .path-trace {
  position: absolute; left: 1.55rem; top: .5rem; bottom: .5rem;
  width: 2px; border-radius: 2px;
}
.path-rail  { background: rgba(246,242,233,.11); }
.path-trace {
  background: linear-gradient(180deg, var(--amber-lt), var(--amber) 55%, var(--clay));
  transform-origin: top;
  transform: scaleY(var(--trace, 0));
  transition: transform .18s linear;
  box-shadow: 0 0 22px rgba(232,163,61,.55);
}

.path-step {
  position: relative;
  padding-block: var(--sp-5);
  border-bottom: 1px solid rgba(246,242,233,.08);
  opacity: .45;
  transform: translateY(10px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.path-step:last-child { border-bottom: 0; }
.path-step.is-lit { opacity: 1; transform: none; }

/* Waypoint marker sits on the rail */
.path-step::before {
  content: "";
  position: absolute;
  left: -2.85rem; top: calc(var(--sp-5) + .55rem);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid rgba(246,242,233,.22);
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease), background-color .5s var(--ease);
}
.path-step.is-lit::before {
  border-color: var(--amber);
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(232,163,61,.16), 0 0 26px rgba(232,163,61,.75);
}

.path-num {
  font-family: var(--display);
  font-size: var(--t-sm);
  color: var(--amber);
  letter-spacing: .1em;
  display: block;
  margin-bottom: .35rem;
  font-variant-numeric: tabular-nums;
}
.path-step h3 { margin-bottom: .6rem; }
.path-step p { color: var(--text-dim); max-width: 60ch; }
.path-step.is-lit p { color: var(--text); }

/* ---------- 10. Pillars -------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1px;
  background: rgba(22,34,44,.14);
  border: 1px solid rgba(22,34,44,.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pillar {
  background: var(--bone);
  padding: var(--sp-5);
  transition: background-color .35s var(--ease);
  position: relative;
}
.pillar:hover { background: var(--bone-2); }
.pillar-mark {
  width: 30px; height: 30px; margin-bottom: var(--sp-3);
  color: var(--amber-dk);
}
.pillar h3 { font-size: var(--t-lg); margin-bottom: .5rem; }
.pillar p { font-size: var(--t-sm); line-height: 1.62; }

/* ---------- 11. House cards ---------------------------------------------- */
.houses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--sp-4);
}
.house {
  background: var(--ink-2);
  border: 1px solid rgba(246,242,233,.09);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease-out), border-color .4s var(--ease), box-shadow .4s var(--ease-out);
}
.house:hover {
  transform: translateY(-4px);
  border-color: rgba(232,163,61,.35);
  box-shadow: var(--shadow-lift);
}
.house-photo {
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, #1B2E38, #16302B 55%, #241B14);
  position: relative;
  overflow: hidden;
}
.house-photo img { width: 100%; height: 100%; object-fit: cover; }
/* Placeholder art when no photo has been uploaded yet */
.house-photo--empty::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 70% 20%, rgba(232,163,61,.28), transparent 60%),
    radial-gradient(50% 60% at 20% 90%, rgba(138,163,150,.2), transparent 60%);
}
.house-photo--empty .house-photo-note {
  position: absolute; inset: 0;
  display: grid; place-content: center; gap: .5rem; justify-items: center;
  color: var(--text-dim); font-size: var(--t-xs);
  letter-spacing: .14em; text-transform: uppercase;
  z-index: 1;
}
.house-photo-note svg { width: 30px; height: 30px; opacity: .55; }

.house-status {
  position: absolute; top: .85rem; left: .85rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .8rem;
  background: rgba(12,20,28,.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(246,242,233,.14);
  border-radius: 999px;
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .04em;
  color: var(--text-hi);
}

.house-body { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.house-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; }
/* h2 on /homes/, h3 on the homepage — same visual size either way. */
.house h2, .house h3 { font-size: var(--t-xl); }
.house-meta {
  display: flex; flex-wrap: wrap; gap: .4rem .9rem;
  font-size: var(--t-sm); color: var(--text-dim);
}
.house-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.house-rate { font-weight: 650; color: var(--amber); white-space: nowrap; }
.house-rate small { font-weight: 400; color: var(--text-dim); }
.house p { font-size: var(--t-sm); color: var(--text-dim); }

.house-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: var(--sp-2); }
.tag {
  font-size: var(--t-xs);
  padding: .3rem .7rem;
  border-radius: 999px;
  background: rgba(246,242,233,.06);
  border: 1px solid rgba(246,242,233,.1);
  color: var(--text-dim);
}

/* Pre-launch notice, shown wherever house cards would go when none are live. */
.empty-state {
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
  border: 1px dashed rgba(232,163,61,.35);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(232,163,61,.09), transparent 65%),
    var(--ink-2);
}
.empty-state h2, .empty-state h3 { font-size: var(--t-2xl); max-width: 20ch; margin-inline: auto; }
.empty-state p {
  max-width: 56ch;
  margin: var(--sp-3) auto var(--sp-5);
  color: var(--text-dim);
}
.empty-state .btn-row { justify-content: center; }
.empty-mark {
  width: 54px; height: 54px;
  margin: 0 auto var(--sp-4);
  display: grid; place-content: center;
  border-radius: 50%;
  color: var(--amber);
  background: rgba(232,163,61,.1);
  border: 1px solid rgba(232,163,61,.3);
}
.empty-mark svg { width: 26px; height: 26px; }
.section--bone .empty-state { background: rgba(22,34,44,.04); border-color: rgba(184,122,34,.4); }

/* ---------- 12. Quotes --------------------------------------------------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: var(--sp-4);
}
.quote {
  position: relative;
  padding: var(--sp-5);
  background: linear-gradient(160deg, rgba(246,242,233,.055), rgba(246,242,233,.015));
  border: 1px solid rgba(246,242,233,.1);
  border-radius: var(--radius-lg);
}
.quote::before {
  content: "\201C";
  position: absolute; top: .35rem; left: 1.2rem;
  font-family: var(--display);
  font-size: 5rem; line-height: 1;
  color: rgba(232,163,61,.24);
}
.quote blockquote {
  font-family: var(--display);
  font-size: var(--t-lg);
  line-height: 1.42;
  color: var(--text-hi);
  font-variation-settings: "SOFT" 40, "WONK" 0, "opsz" 30;
  position: relative;
  margin-bottom: var(--sp-3);
}
.quote cite {
  font-style: normal; font-size: var(--t-sm);
  color: var(--amber); font-weight: 600;
}

/* ---------- 13. Prose, lists, misc --------------------------------------- */
.page-hero {
  padding-block: var(--sp-7) var(--sp-6);
  position: relative;
  border-bottom: 1px solid rgba(246,242,233,.08);
  background:
    radial-gradient(80% 120% at 88% -10%, rgba(232,163,61,.16), transparent 60%),
    radial-gradient(60% 90% at 0% 110%, rgba(22,48,43,.5), transparent 65%);
}
.page-hero h1 {
  font-size: var(--t-3xl);
  max-width: 18ch;
  margin-block: var(--sp-3);
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 100;
}

.prose > * + * { margin-top: var(--sp-3); }
.prose h2 { margin-top: var(--sp-6); }
.prose h3 { margin-top: var(--sp-5); }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--sp-6);
  align-items: start;
}

.checklist { list-style: none; padding: 0; display: grid; gap: .8rem; }
.checklist li {
  display: grid; grid-template-columns: 22px 1fr; gap: .85rem;
  align-items: start; font-size: var(--t-base);
}
.checklist li::before {
  content: ""; margin-top: .42em;
  width: 16px; height: 9px;
  border-left: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(-45deg);
}
.checklist--minus li::before {
  border-bottom: 2px solid var(--text-dim);
  border-left: 0; transform: none; height: 2px; margin-top: .78em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--sp-4);
}
.card {
  padding: var(--sp-5);
  background: var(--ink-2);
  border: 1px solid rgba(246,242,233,.09);
  border-radius: var(--radius-lg);
}
.card h3 { font-size: var(--t-lg); margin-bottom: .55rem; }
.card p { font-size: var(--t-sm); color: var(--text-dim); }
.section--bone .card { background: rgba(22,34,44,.035); border-color: rgba(22,34,44,.12); }

.note {
  padding: var(--sp-4);
  border-left: 3px solid var(--amber);
  background: rgba(232,163,61,.07);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: var(--t-sm);
}

/* Placeholder flag — visible only while editing, easy to grep for */
.ph {
  outline: 1px dashed rgba(196,100,60,.55);
  outline-offset: 4px;
  border-radius: 3px;
}

/* People */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--sp-4); }
.person-photo {
  aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(150deg, #1B2E38, #241B14);
  margin-bottom: var(--sp-3);
  display: grid; place-content: center;
  color: var(--text-dim);
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { font-size: var(--t-lg); }
.person .role { color: var(--amber); font-size: var(--t-sm); font-weight: 600; margin-bottom: .5rem; }
.person p { font-size: var(--t-sm); color: var(--text-dim); }

/* ---------- 14. Forms ---------------------------------------------------- */
.form { display: grid; gap: var(--sp-4); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: var(--sp-3); }
.field { display: grid; gap: .45rem; }
.field label { font-size: var(--t-sm); font-weight: 600; color: var(--text-hi); }
.field .hint { font-size: var(--t-xs); color: var(--text-dim); }
.field .req { color: var(--clay); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  min-height: 52px;
  background: rgba(246,242,233,.045);
  border: 1px solid rgba(246,242,233,.16);
  border-radius: 10px;
  color: var(--text-hi);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s;
}
/* Fixed height on single-line controls so a neighbouring field's hint text
   can't stretch them taller than the rest of the row. */
.field input, .field select { height: 52px; }
.field textarea { min-height: 130px; height: auto; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: rgba(147,162,174,.65); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(246,242,233,.28); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(232,163,61,.06);
  box-shadow: 0 0 0 3px rgba(232,163,61,.18);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2393A2AE' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
.field select option { background: var(--ink-2); color: var(--text-hi); }

.radio-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.radio-chip { position: relative; }
.radio-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-chip span {
  display: block;
  padding: .7rem 1.15rem;
  border: 1px solid rgba(246,242,233,.18);
  border-radius: 999px;
  font-size: var(--t-sm);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.radio-chip input:checked + span {
  border-color: var(--amber); background: rgba(232,163,61,.14); color: var(--text-hi); font-weight: 600;
}
.radio-chip input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 3px; }

.form-consent { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; align-items: start; font-size: var(--t-sm); color: var(--text-dim); }
.form-consent input { width: 20px; height: 20px; margin-top: .2em; accent-color: var(--amber); }

.form-status {
  padding: var(--sp-4);
  border-radius: var(--radius);
  border: 1px solid var(--ok);
  background: rgba(111,191,139,.1);
  color: var(--text-hi);
}
.form-status[hidden] { display: none; }
.form-status.is-error { border-color: var(--clay); background: rgba(196,100,60,.12); }

/* Honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- 15. FAQ ------------------------------------------------------ */
.faq-list { display: grid; gap: 0; border-top: 1px solid rgba(246,242,233,.1); }
.faq-item { border-bottom: 1px solid rgba(246,242,233,.1); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--sp-4) 3rem var(--sp-4) 0;
  position: relative;
  font-family: var(--display);
  font-size: var(--t-lg);
  color: var(--text-hi);
  font-variation-settings: "SOFT" 30, "WONK" 0;
  line-height: 1.3;
  transition: color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--amber-lt); }
.faq-item summary::after {
  content: "";
  position: absolute; right: .5rem; top: 50%;
  width: 13px; height: 13px;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease-out);
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-answer { padding-bottom: var(--sp-4); max-width: 68ch; color: var(--text-dim); }

/* ---------- 16. CTA band ------------------------------------------------- */
.cta-band {
  position: relative;
  padding-block: var(--sp-8);
  overflow: hidden;
  background:
    radial-gradient(70% 130% at 50% 0%, rgba(232,163,61,.2), transparent 62%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
  border-top: 1px solid rgba(232,163,61,.22);
  text-align: center;
}
.cta-band h2 { font-size: var(--t-3xl); max-width: 16ch; margin-inline: auto; }
.cta-band p { max-width: 46ch; margin: var(--sp-3) auto var(--sp-5); color: var(--text); }
.cta-band .btn-row { justify-content: center; }
/* A faint compass rose behind the CTA */
.cta-rose {
  position: absolute; left: 50%; top: 50%;
  width: min(120vw, 780px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: .1; color: var(--amber);
  pointer-events: none;
  animation: roseSpin 120s linear infinite;
}
@keyframes roseSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ---------- 17. Footer --------------------------------------------------- */
.site-footer {
  background: #080E14;
  border-top: 1px solid rgba(246,242,233,.08);
  padding-block: var(--sp-6) var(--sp-5);
  font-size: var(--t-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: var(--sp-5);
  margin-bottom: var(--sp-5);
}
.footer-grid h2 {
  font-family: var(--sans);
  font-size: var(--t-xs); letter-spacing: .15em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: var(--sp-3); font-weight: 600;
}
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: var(--amber); }
.footer-brand p { color: var(--text-dim); margin-top: var(--sp-3); max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid rgba(246,242,233,.08);
  padding-top: var(--sp-4);
  display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between;
  color: var(--text-dim); font-size: var(--t-xs);
}
.footer-legal { max-width: 70ch; line-height: 1.6; }

/* Sticky mobile call bar */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: none;
  padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(12,20,28,.95);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(232,163,61,.28);
  gap: .6rem;
}
.call-bar .btn { flex: 1; min-height: 50px; }

/* ---------- 18. Motion & responsive -------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
}

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 0 0 auto 0; top: var(--header-offset, 64px);
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10,17,24,.985);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(246,242,233,.1);
    padding: var(--sp-3) 1.25rem var(--sp-4);
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease-out), visibility .25s;
    max-height: calc(100dvh - var(--header-offset, 64px));
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: .95rem .4rem; font-size: var(--t-lg); border-bottom: 1px solid rgba(246,242,233,.07); border-radius: 0; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .call-bar { display: flex; }
  body { padding-bottom: 4.6rem; }
  .section { padding-block: var(--sp-7); }
  .hero { min-height: min(88svh, 720px); }
  .scroll-hint { display: none; }
  .path-grid { padding-left: 3rem; }
  .path-step::before { left: -2.6rem; }
  .path-rail, .path-trace { left: 1.05rem; }
}

@media (max-width: 560px) {
  .wrap, .wrap-narrow { width: calc(100% - 2rem); }
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
  .hero .btn-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .path-step { opacity: 1; transform: none; }
  .path-trace { transform: scaleY(1); }
  .hero-media img, .hero-media video { animation: none; transform: scale(1.05); }
}

/* Respect users who prefer more contrast */
@media (prefers-contrast: more) {
  :root { --text-dim: #B8C4CE; }
  .house, .card, .quote { border-color: rgba(246,242,233,.3); }
}

@media print {
  .crisis, .site-header, .call-bar, .cta-band, .scroll-hint { display: none !important; }
  body { background: #fff; color: #000; }
}
