/* DNB Desert Investments — site styles
   Layout: one centered 72rem column. Brand surfaces (header, hero, page heads, contact band, footer)
   are always night-black with gold line work; reading sections are alabaster in light mode, near-black in dark.
   Palette: obsidian, champagne gold, alabaster, warm ivory text. */
:root {
  /* brand surfaces — same in both themes */
  --night: #0A0A0B;
  --night-2: #121212;
  --gold: #C9A55C;          /* champagne gold on black */
  --gold-soft: #E3CB94;
  --ivory: #F2EBDD;
  --ivory-muted: #B9AE9A;
  --night-line: rgb(201 165 92 / 0.28);

  /* reading surfaces — light */
  --bg: #F6F3EC;            /* alabaster */
  --surface: #FFFFFF;
  --fg: #141311;
  --muted: #5F5A51;
  --line: #E1DACB;
  --accent: #8A6A2C;        /* deep gold: readable on alabaster */
  --ok: #2F6B45;
  --err: #A33A2A;

  --font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --font-body: "Jost", "Futura", "Century Gothic", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: clamp(2.2rem, 1.6rem + 2.4vw, 3.1rem);
  --step-4: clamp(2.7rem, 1.6rem + 4.6vw, 4.9rem);

  --wrap: 72rem;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E0E0F; --surface: #161615; --fg: #EFE8DA; --muted: #A79F90; --line: #2A2722;
    --accent: #D4B470; --ok: #7CC796; --err: #F08B78;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E0E0F; --surface: #161615; --fg: #EFE8DA; --muted: #A79F90; --line: #2A2722;
  --accent: #D4B470; --ok: #7CC796; --err: #F08B78;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-wrap: balance;
  margin: 0;
}
h1 em, h2 em { font-style: italic; color: var(--accent); }
p { margin: 0; }
.wrap {
  max-width: calc(var(--wrap) + 40px);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--night); padding: 0.6rem 1rem; z-index: 50;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Tracked small caps labels, as in the wordmark */
.label {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 0.9rem;
}
.label::before { content: ""; width: 2rem; height: 1px; background: currentColor; opacity: 0.7; }

/* ---------- Header (always night) ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--night);
  border-bottom: 1px solid var(--night-line);
  color: var(--ivory);
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 21; background: var(--night);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 0.9rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.85rem;
  color: var(--ivory); text-decoration: none;
}
.brand .logo-mark { width: 64px; height: auto; flex: none; color: var(--gold); }
.brand-name {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.86rem;
  letter-spacing: 0.26em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-name small {
  display: block; margin-top: 0.15rem; font-size: 0.6rem; letter-spacing: 0.42em; color: var(--ivory-muted); text-transform: lowercase;
}
.nav-list { display: flex; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 0.5rem 0.8rem;
  color: var(--ivory); text-decoration: none;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
}
.nav-list a:hover { color: var(--gold-soft); }
.nav-list a[aria-current="page"] { color: var(--gold); box-shadow: inset 0 -1px 0 var(--gold); }
.nav-mobile { display: none; position: relative; }
.nav-mobile summary {
  list-style: none; cursor: pointer; padding: 0.5rem 0.9rem; border: 1px solid var(--night-line);
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile .nav-list {
  position: absolute; right: 0; top: calc(100% + 0.6rem); flex-direction: column;
  min-width: 16rem; background: var(--night-2); border: 1px solid var(--night-line); padding: 0.5rem;
  box-shadow: 0 20px 40px rgb(0 0 0 / 0.4);
}
.nav-mobile .nav-list a { padding: 0.75rem 0.8rem; }
@media (max-width: 1060px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
}
@media (max-width: 480px) {
  .brand .logo-mark { width: 48px; }
  .brand-name { font-size: 0.7rem; letter-spacing: 0.2em; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-body); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  line-height: 1.2; text-decoration: none; border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn-primary:hover { background: transparent; color: var(--accent); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
/* buttons on night surfaces */
.on-night .btn-primary { background: var(--gold); color: var(--night); border-color: var(--gold); }
.on-night .btn-primary:hover { background: transparent; color: var(--gold); }
.on-night .btn-ghost { color: var(--ivory); border-color: rgb(242 235 221 / 0.45); }

/* ---------- Night hero (home) ---------- */
.hero, .page-head {
  --land: clamp(190px, 25vw, 340px);
  position: relative; color: var(--ivory); overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #050506 0%, #0B0A0A 50%, #1A140C 78%, #33250F 100%);
}
.page-head { --land: clamp(150px, 18vw, 250px); }
.hero-sky { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero-land { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; width: 100%; height: var(--land); overflow: visible; }
.hero-inner { padding-block: clamp(4.5rem, 9vw, 7.5rem) calc(var(--land) + 1.5rem); }
.hero h1 {
  font-size: var(--step-4);
  max-width: 17ch;
  margin-bottom: 1.4rem;
  font-weight: 500;
}
.hero h1 em, .page-head h1 em { color: var(--gold); }
.hero-lede {
  font-size: var(--step-1); font-weight: 300; max-width: 40ch; color: var(--ivory-muted); margin-bottom: 2.4rem;
}
.hero .rule { display: block; width: 4.5rem; height: 1px; background: var(--gold); margin-bottom: 1.6rem; }

.page-head .wrap { padding-block: clamp(3.5rem, 7vw, 5.5rem) calc(var(--land) + 0.5rem); }
.page-head .label { color: var(--gold); }
.page-head h1 { font-size: var(--step-4); margin-top: 1rem; max-width: 18ch; }
.page-head p { margin-top: 1.2rem; max-width: 54ch; font-size: var(--step-1); font-weight: 300; color: var(--ivory-muted); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--muted); font-size: var(--step-1); font-weight: 300; line-height: 1.55; }

/* Three-up feature row: hairline columns */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.trio > * { padding: 2rem 2rem 0.5rem 0; min-width: 0; }
.trio > * + * { padding-left: 2rem; border-left: 1px solid var(--line); }
.trio h3 { font-size: var(--step-2); margin-bottom: 0.7rem; }
.trio p { color: var(--muted); }
.trio .mark { display: block; width: 40px; height: 40px; margin-bottom: 1.4rem; color: var(--accent); }
@media (max-width: 820px) {
  .trio { grid-template-columns: 1fr; border-top: 0; }
  .trio > *, .trio > * + * { padding: 1.75rem 0 1.25rem; border-left: 0; border-top: 1px solid var(--line); }
}

/* Split: heading left, body right */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split > * { min-width: 0; }
.split h2 { font-size: var(--step-3); margin-top: 1rem; }
.prose { display: grid; gap: 1.2rem; max-width: 62ch; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.checks li {
  display: grid; grid-template-columns: 2rem minmax(0, 1fr); align-items: baseline;
  padding-block: 1rem; border-bottom: 1px solid var(--line); font-size: var(--step-1); font-weight: 300;
}
.checks li::before {
  content: ""; width: 0.5rem; height: 0.5rem; border: 1px solid var(--accent); transform: rotate(45deg) translateY(-0.15rem);
}

/* Portal callout (residents) */
.portal {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center;
  padding: clamp(1.75rem, 4vw, 2.75rem); background: var(--night); color: var(--ivory);
  border: 1px solid var(--night-line);
}
.portal h2 { font-size: var(--step-3); margin-bottom: 0.4rem; }
.portal p { color: var(--ivory-muted); }
@media (max-width: 640px) { .portal { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.3rem 2.5rem 1.3rem 0; position: relative;
  font-family: var(--font-display); font-weight: 500; font-size: var(--step-2); line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-weight: 300; font-size: 1.6rem; color: var(--accent);
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 1.5rem; max-width: 62ch; color: var(--muted); display: grid; gap: 0.8rem; }

/* Founders */
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.founder { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.4rem; align-items: center; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.monogram {
  width: 5rem; height: 5rem; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--accent); color: var(--accent);
  font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; letter-spacing: 0.06em;
}
.founder h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; }
.founder p { margin-top: 0.35rem; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; }
@media (max-width: 640px) { .founders { grid-template-columns: 1fr; gap: 0; } }

/* Pills list (who we welcome) */
.pills { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 0; }
.pills li {
  padding: 0.55rem 1.1rem; border: 1px solid var(--line);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
}

.disclaimer {
  font-size: var(--step--1); color: var(--muted); border-left: 1px solid var(--accent);
  padding-left: 1rem; max-width: 70ch;
}

/* ---------- Contact band + form (always night) ---------- */
.band { background: var(--night); color: var(--ivory); border-top: 1px solid var(--night-line); }
.band .wrap { padding-block: clamp(4rem, 8vw, 7rem); }
.band .label { color: var(--gold); }
.band h2 { font-size: var(--step-3); }
.band a { color: var(--ivory); text-decoration-color: var(--gold); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 5rem); }
.contact-grid > * { min-width: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-direct { display: grid; gap: 1.4rem; align-content: start; }
.contact-direct > p { color: var(--ivory-muted); font-weight: 300; }
.contact-direct dl { display: grid; gap: 1.2rem; margin: 0.5rem 0 0; }
.contact-direct dt { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.contact-direct dd { margin: 0.25rem 0 0; font-size: var(--step-1); font-weight: 300; }

.form { display: grid; gap: 1.6rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.3rem; min-width: 0; }
.field label, .field legend {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ivory-muted);
}
.field .req { color: var(--gold); }
.field input, .field textarea {
  width: 100%; font: inherit; font-weight: 300; font-size: var(--step-0); color: var(--ivory);
  background: transparent; border: 0; border-bottom: 1px solid rgb(242 235 221 / 0.3); border-radius: 0;
  padding: 0.6rem 0;
}
.field textarea { min-height: 7rem; resize: vertical; border: 1px solid rgb(242 235 221 / 0.3); padding: 0.75rem; margin-top: 0.4rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.7rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-block; padding: 0.55rem 1rem; border: 1px solid rgb(242 235 221 / 0.3);
  font-size: 0.85rem; font-weight: 400;
}
.choice input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--night); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; }
.form-status { min-height: 1.5rem; font-weight: 500; }
.form-status[data-state="ok"] { color: #9BD8AE; }
.form-status[data-state="err"] { color: #F3A693; }
.form-note { font-size: var(--step--1); color: var(--ivory-muted); }

/* ---------- Legal pages ---------- */
.legal { max-width: 46rem; }
.legal h2 { font-size: var(--step-2); margin: 2.75rem 0 0.8rem; }
.legal h3 { font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; margin: 1.75rem 0 0.5rem; }
.legal p { margin: 0 0 0.9rem; }
.legal ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.legal li p { margin: 0 0 0.35rem; }
.legal address { font-style: normal; margin: 0 0 1rem; line-height: 1.75; }

/* ---------- Footer (always night) ---------- */
.site-footer { background: var(--night); color: var(--ivory-muted); border-top: 1px solid var(--night-line); font-size: 0.9rem; }
.footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 2rem;
  padding-block: 3rem 2rem; border-bottom: 1px solid var(--night-line);
}
.footer-brand { display: grid; justify-items: start; gap: 0.9rem; color: var(--gold); text-decoration: none; }
.footer-brand .logo-mark { width: 92px; height: auto; }
.footer-brand .brand-name { color: var(--ivory); }
.footer-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem;
  padding-block: 1.5rem calc(2rem + env(safe-area-inset-bottom, 0px));
}
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--ivory-muted); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.copyright { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Header actions ---------- */
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.btn-login {
  display: inline-flex; align-items: center; padding: 0.5rem 0.9rem; border: 1px solid var(--gold);
  color: var(--gold); text-decoration: none; white-space: nowrap;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
}
.btn-login:hover { background: var(--gold); color: var(--night); }
.btn-login .short { display: none; }
@media (max-width: 1060px) { .btn-login .long { display: none; } .btn-login .short { display: inline; } }
@media (max-width: 400px) { .brand-name small { display: none; } .header-actions { gap: 0.5rem; } .btn-login, .nav-mobile summary { padding-inline: 0.65rem; } }
.head-actions { margin-top: 2rem; }

/* ---------- Home: three doors under the hero ---------- */
.doors-wrap { background: var(--bg); }
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding-block: 0 clamp(1rem, 3vw, 2rem); }
.door {
  display: grid; gap: 0.6rem; align-content: start; padding: 1.6rem 1.5rem 1.4rem;
  background: var(--surface); border: 1px solid var(--line); color: var(--fg); text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.door:hover { border-color: var(--accent); transform: translateY(-2px); }
.door-title { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; line-height: 1.15; }
.door-text { color: var(--muted); }
.door-cta { margin-top: 0.4rem; color: var(--accent); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.door:hover .arrow { transform: translateX(4px); }
.door .arrow { display: inline-block; transition: transform 0.2s ease; }
@media (max-width: 820px) { .doors { grid-template-columns: 1fr; } }

/* ---------- Find a home ---------- */
.empty {
  display: grid; gap: 0.9rem; justify-items: start; padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px dashed var(--accent); max-width: 46rem;
}
.empty-title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.2; }
.empty p:not(.empty-title) { color: var(--muted); }
.homes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1.25rem; }
.home-card { display: grid; gap: 0.5rem; align-content: start; justify-items: start; padding: 1.6rem; background: var(--surface); border: 1px solid var(--line); }
.home-card h3 { font-size: var(--step-2); }
.home-city, .home-avail { color: var(--muted); }
.home-facts { font-weight: 500; letter-spacing: 0.04em; }
.home-card .btn { margin-top: 0.6rem; }
.status { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; padding: 0.3rem 0.6rem; border: 1px solid currentColor; }
.status-available { color: var(--ok); }
.status-coming-soon { color: var(--accent); }
.status-leased { color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.step { counter-increment: step; padding: 1.6rem 1.6rem 1.4rem 0; border-bottom: 1px solid var(--line); min-width: 0; }
.step:not(:nth-child(3n + 1)) { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--accent); margin-bottom: 0.8rem; }
.step h3 { font-size: var(--step-2); margin: 0.5rem 0 0.4rem; }
.step p { color: var(--muted); }
.step-who { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.step-us .step-who { color: var(--accent); }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step:not(:nth-child(3n + 1)) { padding: 1.4rem 0; border-left: 0; }
}
.eho-block { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 1.5rem; }
.eho { width: 64px; height: auto; color: var(--fg); flex: none; }
@media (max-width: 480px) { .eho-block { grid-template-columns: 1fr; } }

/* ---------- Residents ---------- */
.section-tight { padding-block: clamp(2rem, 4vw, 3rem) 0; }
.section-tight + .section { border-top: 0; }
.urgent {
  display: grid; gap: 1rem; padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--err); border-left-width: 4px; background: var(--surface);
}
.urgent h2 { font-size: var(--step-2); }
.urgent ol { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.6rem; }
.urgent strong { font-weight: 600; }
.urgent-note { color: var(--muted); font-size: var(--step--1); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.tile {
  display: grid; gap: 0.35rem; align-content: start; padding: 1.5rem; background: var(--surface);
  border: 1px solid var(--line); color: var(--fg); text-decoration: none; transition: border-color 0.2s ease;
}
.tile:hover { border-color: var(--accent); }
.tile .mark { width: 34px; height: 34px; color: var(--accent); margin-bottom: 0.6rem; }
.tile-title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.15; }
.tile-text { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- Investors ---------- */
.buybox { margin: 0; border-top: 1px solid var(--line); }
.buybox > div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.buybox dt { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); padding-top: 0.2rem; }
.buybox dd { margin: 0; font-size: var(--step-1); font-weight: 300; }
@media (max-width: 520px) { .buybox > div { grid-template-columns: 1fr; gap: 0.3rem; } }
.subhead { font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; margin-top: 1rem; }
.prose .muted { color: var(--muted); }

/* ---------- Contact ---------- */
.route { color: var(--ivory-muted); font-size: var(--step--1); }
@media (max-width: 860px) { .form-first .form { order: -1; } }
.footer-eho { display: flex; align-items: center; gap: 0.9rem; color: var(--ivory-muted); max-width: 22rem; }
.footer-eho .eho { width: 44px; color: var(--ivory-muted); }
.footer-eho p { font-size: 0.85rem; }

@media (max-width: 560px) {
  .header-row { gap: 0.6rem; }
  .brand { gap: 0.6rem; min-width: 0; }
  .brand-name { white-space: normal; max-width: 8.5rem; font-size: 0.68rem; letter-spacing: 0.18em; }
  .brand-name small { display: none; }
}

/* ---------- Portal transition notice (residents) ---------- */
.stack { display: grid; gap: 1.25rem; }
.notice { display: grid; gap: 0.8rem; padding: clamp(1.5rem, 4vw, 2.25rem); background: var(--night); color: var(--ivory); border: 1px solid var(--night-line); }
.notice .label { color: var(--gold); }
.notice h2 { font-size: var(--step-2); }
.notice-list { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.45rem; color: var(--ivory-muted); }
