/* ============================================================
   The MTR Company - shared styles
   Brand direction: business-platform dark
   Typography: Instrument Serif (display) + Instrument Sans (body) + Space Mono (ledger) [Nightfall, 2026-07-14]
   All hex values appear in :root only.
   ============================================================ */

:root {
  /* Brand tokens */
  --ground:       #0B1220;
  --ground-soft:  #111A2E;
  --ground-card:  #16213A;
  --ground-elev:  #1B294A;
  --border:       #1F2C4A;
  --border-2:     #2A3A5C;

  --ink:          #E8ECF7;
  --ink-2:        #B8C0D5;
  --ink-3:        #7A8499;
  --ink-4:        #4D5670;

  /* --accent shifted from gold (#C9A84C) to logo amber (#D89020) on 2026-05-09
     to align UI with the official brand mark (peak + amber sweep). All gold
     elements (eyebrow, hero em, button-primary, button-ghost hover, advisor
     emphasis) inherit the warmer amber via these tokens. */
  --accent:       #D89020;
  --accent-warm:  #B57210;
  --accent-deep:  #8A5A0C; /* small amber text on light bands - AA 5.05:1 on ground-light */
  --accent-soft:  rgba(216, 144, 32, 0.12);
  --accent-glow:  rgba(216, 144, 32, 0.20);

  --alert:        #D9544E;
  --ok:           #6FA876;

  /* Light-band tokens - used by section.standard.light to give the page
     a two-tone editorial rhythm (dark hero / cream content body / dark CTA).
     Cream value sampled from the logo source (#F0F0E8) - visually identical
     environment to where the brand mark was designed to live. */
  --ground-light:       #F0EDE3;
  --ground-light-soft:  #E6E0D2;
  --ink-on-light:       #1A2333;
  --ink-2-on-light:     #4A5575;
  --ink-3-on-light:     #6E7895;
  --border-on-light:    #D8D1BE;
  --border-2-on-light:  #C8BFA5;

  /* Typography */
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans:  "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono:  "Space Mono", ui-monospace, SFMono-Regular, Menlo, "Courier New", monospace;

  /* Layout */
  --max: 1200px;
  --pad: clamp(20px, 4vw, 48px);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.65, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 500; letter-spacing: -0.015em; }
h1 { font-family: var(--serif); font-weight: 400; }
h2 { font-family: var(--serif); font-weight: 400; }
h3 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; }
img, video { max-width: 100%; display: block; }
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.serif { font-family: var(--serif); }
.gold { color: var(--accent); }

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  padding: 6px 12px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: var(--accent-soft);
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.005em;
}
.brand .brand-mark {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.brand .wordmark { color: var(--ink); }
/* Footer brand mark sits a touch smaller for visual balance against the smaller wordmark */
.site-footer .brand .brand-mark { width: 36px; height: 36px; }

.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav a:hover { color: var(--accent); }
.nav a.active { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: all 0.18s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  font-family: var(--sans);
}
.btn-primary {
  background: var(--accent);
  color: var(--ground);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-warm);
  border-color: var(--accent-warm);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-2);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-lg { padding: 16px 28px; font-size: 15px; }

/* Mobile nav toggle (simple - no JS, uses :target for menu state) */
.nav-toggle { display: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* 2026-05-09 lightened from 0.55→0.85 to 0.20→0.50 per Terry's note that
     the hero picture was hard to see. Kling furniture-materializing now reads
     clearly while text remains legible against the bottom shadow. */
  background: linear-gradient(to bottom, rgba(11, 18, 32, 0.20) 0%, rgba(11, 18, 32, 0.50) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 80px;
  padding-bottom: 80px;
}
.hero h1 {
  font-size: clamp(36px, 6.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 18px 0 24px;
  max-width: 880px;
}
.hero h1 em {
  color: var(--accent);
  font-style: italic;
}
.hero p.lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 640px;
  margin-bottom: 32px;
}
.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============ STARS / motion layer (CSS-only) ============ */
.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}
.stars::before, .stars::after {
  content: "";
  position: absolute;
  width: 2px; height: 2px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow:
    100px 50px 0 rgba(201, 168, 76, 0.4),
    250px 120px 0 rgba(232, 236, 247, 0.6),
    400px 80px 0 rgba(201, 168, 76, 0.3),
    580px 220px 0 rgba(232, 236, 247, 0.4),
    720px 60px 0 rgba(201, 168, 76, 0.5),
    880px 180px 0 rgba(232, 236, 247, 0.3),
    1080px 320px 0 rgba(201, 168, 76, 0.4),
    1240px 100px 0 rgba(232, 236, 247, 0.5);
  animation: drift 18s linear infinite;
}
.stars::after {
  animation-duration: 26s;
  animation-direction: reverse;
  opacity: 0.7;
}
@keyframes drift {
  from { transform: translateX(-40px) translateY(-20px); }
  to   { transform: translateX(40px)  translateY(20px);  }
}

/* ============ TRUST BAR ============ */
.trust-bar {
  background: var(--ground-soft);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-tile {
  text-align: left;
}
.trust-tile .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.trust-tile .value {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.trust-tile .sub {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 4px;
}

/* ============ SECTIONS ============ */
section.standard {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}
section.standard h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 760px;
}
section.standard h2 em {
  color: var(--accent);
  font-style: italic;
}
section.standard p.lead {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 660px;
  margin-bottom: 48px;
}
section.standard.alt { background: var(--ground-soft); }

/* About: split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.split-visual {
  aspect-ratio: 4/5;
  background: var(--ground-card);
  border: 1px solid var(--border-2);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.split-visual img,
.split-visual video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.95);
}
.split-visual picture { display: block; width: 100%; height: 100%; }
.split-visual .placeholder {
  position: absolute; inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink-4);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--ground-card), var(--ground-elev));
}
.split-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.split-stats .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.split-stats .value {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink);
  font-weight: 400;
}

/* About: tier-pill ladder strip - teases the full Tier section below
   while giving the About split-right column a distinct visual signature
   (so the About section reads as the platform claim, the Founder section
   reads as the human credibility). */
.tier-pill-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: var(--ground-card);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 200ms ease, color 200ms ease;
}
.tier-pill:hover {
  border-color: var(--accent);
  color: var(--ink);
}
.tier-pill-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 500;
}

/* ============ CAPABILITIES (4-tier ladder) ============ */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tier-card {
  background: var(--ground-card);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.tier-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.tier-card .tier-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.tier-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink);
}
.tier-card .tier-fee {
  font-family: var(--serif);
  color: var(--accent);
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 400;
}
.tier-card .tier-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 20px;
}
.tier-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 13px;
  color: var(--ink-2);
}
.tier-card ul li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  padding-left: 18px;
  position: relative;
}
.tier-card ul li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}
.tier-card ul li:last-child { border-bottom: none; }
.tier-card .ideal {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ============ PROCESS (numbered steps) ============ */
.process-section { position: relative; }
.process-section .ambient-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
  pointer-events: none;
}
.process-section .ambient-video video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.process-section .process-content {
  position: relative;
  z-index: 1;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 56px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  color: var(--accent);
  font-style: italic;
}
.step h4 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--ink);
}
.step p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}

/* ============ LEAD FORM ============ */
.lead-form-band {
  background: var(--ground-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 56px 48px;
  margin: 96px auto;
  max-width: var(--max);
  text-align: center;
}
.lead-form-band h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  margin-bottom: 16px;
}
.lead-form-band p { color: var(--ink-2); margin-bottom: 28px; }

.lead-form {
  display: grid;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}
.lead-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.lead-form label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--ground-card);
  border: 1px solid var(--border-2);
  border-radius: 4px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 0.18s var(--ease);
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.lead-form textarea { min-height: 100px; resize: vertical; }
.lead-form .submit-row { margin-top: 8px; }

/* ============ FAQ ============ */
.faq-list {
  display: grid;
  gap: 12px;
}
.faq {
  background: var(--ground-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px 24px;
}
.faq summary {
  font-family: var(--serif);
  font-size: 18px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.2s var(--ease);
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
}

/* ============ FINAL CTA BAND ============ */
.cta-band {
  text-align: center;
  padding: 120px 0;
  background:
    radial-gradient(ellipse at center top, var(--accent-soft), transparent 60%),
    var(--ground);
  border-bottom: 1px solid var(--border);
}
.cta-band h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 auto 20px;
  max-width: 800px;
}
.cta-band p {
  color: var(--ink-2);
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 17px;
}

/* ============ ACCREDITATION BADGE ROW ============ */
.accreditation-band {
  background: var(--ground);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.accreditation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.acc-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--ground-soft);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.acc-icon {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--border-2);
  border-radius: 50%;
  color: var(--accent);
  font-size: 12px;
  flex-shrink: 0;
}
.acc-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  line-height: 1.3;
}
@media (max-width: 900px) {
  .accreditation-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .accreditation-grid { grid-template-columns: 1fr; }
}

/* Founder credits line below name */
.founder-credits-line {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}

/* Military trust line in lead-form band */
.military-trust-line {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: -12px !important;
  margin-bottom: 28px !important;
}

/* Footer flag glyph */
.footer-flag {
  display: inline-block;
  color: var(--accent);
  margin-right: 6px;
  font-size: 12px;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ground-soft);
  padding: 64px 0 28px;
  font-size: 14px;
  color: var(--ink-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-grid h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a:hover { color: var(--accent); }
.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: var(--ink-3);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-meta a { color: var(--ink-3); }
.footer-meta a:hover { color: var(--accent); }
.zfm-credit {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ============ FLOATING ADVISOR CTA (fixed bottom-right, all pages) ============
   Replicates the Hostio "Speak with a host advisor" pill pattern.
   Click target: tel:+16302638804 (Terry's direct line).
   Brand-graded: deep navy gradient, gold-tinted border, sage-green pulse +
   outlined chat-bubble icon, mono uppercase, gold highlight on the
   emphasized phrase. Hover: brighter border, lift, stronger shadow. */
.advisor-cta-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 18px;
  background: linear-gradient(180deg, #1B294A 0%, #0F1A33 100%);
  border: 1px solid rgba(201, 168, 76, 0.45);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(201, 168, 76, 0.10),
    inset 0 1px 0 rgba(232, 236, 247, 0.06);
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  white-space: nowrap;
}
.advisor-cta-pill:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(201, 168, 76, 0.25),
    0 0 24px rgba(201, 168, 76, 0.18),
    inset 0 1px 0 rgba(232, 236, 247, 0.08);
}

/* Live-presence pulse - sage green, indicates "we're available". */
.advisor-cta-pulse {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6FA876;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(111, 168, 118, 0.55);
}
.advisor-cta-pulse::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: rgba(111, 168, 118, 0.45);
  animation: advisor-cta-pulse-anim 1.8s ease-out infinite;
}
@keyframes advisor-cta-pulse-anim {
  0%   { transform: scale(0.6); opacity: 0.85; }
  70%  { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Outlined chat-bubble icon - cream stroke, no fill (parity with Hostio). */
.advisor-cta-pill .advisor-cta-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--ink);
  flex-shrink: 0;
}
.advisor-cta-pill .advisor-cta-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.advisor-cta-pill .advisor-cta-emphasis {
  color: var(--accent);
  margin-left: 4px;
  font-weight: 500;
}
@media (max-width: 600px) {
  .advisor-cta-pill {
    bottom: 16px;
    right: 16px;
    padding: 12px 18px 12px 14px;
    font-size: 11px;
    gap: 10px;
  }
  .advisor-cta-pill .advisor-cta-icon { width: 20px; height: 20px; }
  .advisor-cta-pill .advisor-cta-icon svg { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .advisor-cta-pill { transition: none; }
  .advisor-cta-pill:hover { transform: none; }
  .advisor-cta-pulse::before { animation: none; }
}

/* ============ MOBILE ============ */
@media (max-width: 900px) {
  .nav { display: none; }
  .hero { min-height: 80vh; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-visual { aspect-ratio: 16/10; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .lead-form-band { padding: 36px 24px; margin: 64px auto; }
}
@media (max-width: 600px) {
  section.standard { padding: 64px 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .lead-form .row-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
}

/* ============ MOBILE NAV (hamburger + slide-down drawer) ============
   Subpages (How It Works, Pricing, Clarksville, About, List Your Property)
   need a way back at <900px since the desktop .nav row hides. The toggle
   button appears at mobile widths only; the drawer sits below the header
   wrap and is shown by JS removing the [hidden] attribute. Clicking any
   link inside auto-closes the drawer (handled in /site.js). */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(232, 236, 247, 0.20);
  border-radius: 6px;
  padding: 8px 9px;
  width: 42px;
  height: 38px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  margin-left: 12px;
  transition: border-color 200ms ease;
}
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--ground-soft);
  border-top: 1px solid var(--border);
  padding: 6px 0 10px;
}
.mobile-nav a {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 236, 247, 0.06);
  transition: background 150ms ease, color 150ms ease;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--accent);
  background: rgba(216, 144, 32, 0.05);
}
.mobile-nav a.mobile-nav-cta {
  color: var(--accent);
  font-weight: 500;
}
.mobile-nav a.mobile-nav-call {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.mobile-nav:not([hidden]) { display: flex; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-header > .wrap > .btn-primary { display: none; }
}

/* ============================================================
   LIGHT SECTION VARIANT (.standard.light)
   2026-05-09 - two-tone editorial rhythm per Terry's feedback that
   the all-dark site read too heavy. Hero, Process, Final CTA, and
   Footer remain dark for visual punctuation. About / Tier Ladder /
   Founder / FAQ flip to cream backgrounds with navy text.
   ============================================================ */
section.standard.light {
  background: var(--ground-light);
  color: var(--ink-on-light);
  position: relative;
  overflow: hidden;
  /* Drop the inherited dark-navy border-bottom (--border) which would otherwise
     bleed through as a hairline seam on cream backgrounds. The 60px fade
     pseudo-elements at dark/light boundaries handle visual separation. */
  border-bottom: none;
}
section.standard.light.alt {
  background: var(--ground-light-soft);
}

/* Fade transitions at section boundaries.
   2026-05-09 - 60px navy-tinted gradient that appears ONLY at dark/light
   boundaries, never between two adjacent light sections. Selectors use
   `+` (preceded by non-light) and `:has(+ ...)` (followed by non-light),
   so back-to-back cream sections (About+Tiers, Founder+FAQ) stay flat
   with no shadow seam. Browser support: Chrome 105+, Safari 15.4+,
   Firefox 121+ (all shipped 2022-2023). */
*:not(.standard.light) + section.standard.light::before,
section.standard.light:has(+ *:not(.standard.light))::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 60px;
  pointer-events: none;
  z-index: 0;
}
*:not(.standard.light) + section.standard.light::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(11, 18, 32, 0.20) 0%, transparent 100%);
}
section.standard.light:has(+ *:not(.standard.light))::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(11, 18, 32, 0.20) 0%, transparent 100%);
}
/* Keep all section content above the fade overlays. */
section.standard.light > .wrap {
  position: relative;
  z-index: 1;
}
section.standard.light h2,
section.standard.light h3,
section.standard.light h4 {
  color: var(--ink-on-light);
}
section.standard.light p,
section.standard.light p.lead {
  color: var(--ink-2-on-light);
}
section.standard.light h2 em,
section.standard.light h3 em {
  color: var(--accent-warm);
}
section.standard.light .eyebrow {
  color: var(--accent-warm);
  background: rgba(216, 144, 32, 0.08);
  border-color: rgba(216, 144, 32, 0.30);
}
section.standard.light .gold,
section.standard.light a.gold {
  color: var(--accent-warm);
}

/* Split layout on light bg.
   Matted-print frame: outer hairline + 14px white margin + inner hairline +
   image. Editorial photo-frame treatment that fits the cream-on-cream
   About / Founder rhythm. Applies to both kitchen-island still and Terry's
   portrait. */
section.standard.light .split-visual {
  background: #FFFFFF;
  border-color: var(--border-on-light);
  padding: 14px;
}
section.standard.light .split-visual picture {
  border: 1px solid var(--border-on-light);
  border-radius: 2px;
  overflow: hidden;
}

/* Tier ladder cards on light bg */
section.standard.light .tier-card {
  background: #FFFFFF;
  border-color: var(--border-on-light);
  color: var(--ink-on-light);
}
section.standard.light .tier-card:hover {
  border-color: var(--accent-warm);
}
section.standard.light .tier-card .tier-num {
  color: var(--accent-warm);
}
section.standard.light .tier-card h3 {
  color: var(--ink-on-light);
}
section.standard.light .tier-card .tier-fee {
  color: var(--ink-on-light);
}
section.standard.light .tier-card .tier-desc {
  color: var(--ink-2-on-light);
}
section.standard.light .tier-card ul li {
  color: var(--ink-2-on-light);
  border-color: var(--border-on-light);
}
section.standard.light .tier-card ul li::before {
  color: var(--accent-warm);
}
section.standard.light .tier-card .ideal {
  color: var(--ink-3-on-light);
  border-color: var(--border-on-light);
}

/* Tier-pill ladder strip on light bg (in About section) */
section.standard.light .tier-pill-strip {
  border-color: var(--border-on-light);
}
section.standard.light .tier-pill {
  background: #FFFFFF;
  color: var(--ink-on-light);
  border-color: var(--border-on-light);
}
section.standard.light .tier-pill:hover {
  border-color: var(--accent-warm);
  color: var(--ink-on-light);
}
section.standard.light .tier-pill-num {
  color: var(--accent-warm);
}

/* FAQ on light bg */
section.standard.light .faq {
  background: #FFFFFF;
  border-color: var(--border-on-light);
}
section.standard.light .faq summary {
  color: var(--ink-on-light);
}
section.standard.light .faq summary::after {
  color: var(--accent-warm);
}
section.standard.light .faq p {
  color: var(--ink-2-on-light);
}

/* Founder credits + bio quote on light bg */
section.standard.light .founder-credits-line {
  color: var(--ink-3-on-light);
}

/* Btn-ghost on light bg (e.g., "See full pricing math") */
section.standard.light .btn-ghost {
  color: var(--ink-on-light);
  border-color: var(--border-2-on-light);
}
section.standard.light .btn-ghost:hover {
  color: var(--accent-warm);
  border-color: var(--accent-warm);
}

/* If any inline-styled bio quote appears (Founder block has style attr),
   it sets its own color. Override via attribute selector. */
section.standard.light p[style*="border-left"] {
  color: var(--ink-on-light) !important;
  border-left-color: var(--accent-warm) !important;
}

/* Tnum / serif utility classes pick up parent color naturally */
section.standard.light .split-stats .label {
  color: var(--ink-3-on-light);
}
section.standard.light .split-stats .value {
  color: var(--ink-on-light);
}

/* ============================================================
   V3 REBUILD ADDITIONS (2026-07-14) - additive only, no existing
   rules changed. Two-product homepage grid, coming-soon badge,
   fine-print disclaimer, and shared SMS-consent styles (promoted
   from the old list-your-property inline <style> so every page's
   audit form renders the consent block identically).
   ============================================================ */

/* Two-product side-by-side grid (homepage offers, reuses .tier-card) */
.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 900px) {
  .duo-grid { grid-template-columns: 1fr; }
}

/* "Coming soon" inline badge (e.g., VaultStack Scale tier) */
.badge-soon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  padding: 3px 9px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-weight: 500;
}
section.standard.light .badge-soon {
  color: var(--accent-warm);
  background: rgba(216, 144, 32, 0.08);
  border-color: rgba(216, 144, 32, 0.30);
}

/* Fine-print disclaimer line (illustrative figures, advisory-only, etc.) */
.fineprint {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
}
section.standard.light .fineprint {
  color: var(--ink-3-on-light);
}

/* SMS consent block (shared across all audit forms) */
.sms-consent { margin-top: 4px; margin-bottom: 4px; }
.sms-consent-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
  cursor: pointer;
}
.sms-consent-label input { margin-top: 3px; flex-shrink: 0; }
.sms-consent-label a { color: var(--accent); text-decoration: underline; }

/* ============ NIGHTFALL SERIF WEIGHT NORMALIZATION (site-wide) ============ */
/* Instrument Serif ships 400 + italic only; force headings to 400 to avoid faux bold. */
h3,
.faq summary,
.step h4,
.tier-card h3,
.walk-step h3,
.pillar-card h3,
.lead-form-tall h3,
.fee-math h3,
.consult-card h3 { font-weight: 400; }

/* ============ LIGHT SPLIT-LEDGER HERO (homepage) ============ */
.hero-ledger{position:relative;background:var(--ground-light);border-bottom:1px solid var(--border-on-light);overflow:hidden;}
.hero-ledger-grid{display:grid;grid-template-columns:1.05fr 0.95fr;gap:56px;align-items:center;padding-top:96px;padding-bottom:72px;position:relative;z-index:1;}
.hero-ledger .hl-copy .eyebrow{color:var(--accent-deep);background:rgba(216,144,32,0.08);border-color:rgba(216,144,32,0.30);}
.hero-ledger .hl-copy h1{font-size:clamp(40px,5.2vw,78px);line-height:1.02;letter-spacing:-0.025em;margin:16px 0 22px;max-width:none;color:var(--ink-on-light);}
.hero-ledger .hl-copy h1 em{color:var(--accent-warm);font-style:italic;}
.hero-ledger .hl-copy .lead{max-width:560px;color:var(--ink-2-on-light);}
.hero-ledger .btn-ghost{color:var(--ink-on-light);border-color:var(--border-2-on-light);}
.hero-ledger .btn-ghost:hover{color:var(--accent-warm);border-color:var(--accent-warm);}
.hl-plate{position:relative;background:#FFFFFF;border:1px solid var(--border-on-light);border-radius:6px;overflow:hidden;aspect-ratio:4/5;padding:14px;box-shadow:0 24px 60px rgba(26,35,51,.18);}
.hl-plate video{width:100%;height:100%;object-fit:cover;display:block;border-radius:2px;}
.hl-plate::after{content:"";position:absolute;inset:14px;border:1px solid var(--border-on-light);border-radius:2px;pointer-events:none;}
.hl-ledger{border-top:1px solid var(--border-on-light);background:var(--ground-light-soft);position:relative;z-index:1;}
.hl-ledger-row{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding-top:22px;padding-bottom:22px;font-family:var(--mono);font-size:11px;letter-spacing:0.12em;text-transform:uppercase;color:var(--ink-2-on-light);}
.hl-ledger-row span{display:flex;flex-direction:column;}
.hl-ledger-row b{font-family:var(--serif);text-transform:none;letter-spacing:normal;font-size:19px;color:var(--ink-on-light);font-weight:400;margin-bottom:3px;}
@media(max-width:900px){.hero-ledger-grid{grid-template-columns:1fr;gap:30px;padding-top:64px;padding-bottom:40px;}.hl-plate{aspect-ratio:16/10;max-height:40vh;}.hl-ledger-row{grid-template-columns:1fr;gap:14px;}}

/* ============ MOBILE POLISH (2026-07-15 mobile critique) ============ */
/* 44px tap targets for small inline links and controls (WCAG 2.5.8). */
a.gold{display:inline-block;padding:13px 8px;margin:-13px -8px;}
.nav-toggle{min-width:44px;min-height:44px;}
.faq summary{min-height:44px;}
@media(max-width:720px){
  /* Advisor pill: icon-only circle so it stops covering CTAs and copy. */
  .advisor-cta-pill{padding:0;width:56px;height:56px;justify-content:center;bottom:16px;right:16px;}
  .advisor-cta-pill .advisor-cta-pulse{display:none;}
  .advisor-cta-pill span:last-child{display:none;}
  /* Clearance so the fixed pill never sits on the last tappable row. */
  body{padding-bottom:calc(72px + env(safe-area-inset-bottom));}
  /* Footer links: comfortable tap rows on touch screens. */
  .site-footer ul a{display:inline-block;padding:9px 0;}
}

/* ============ REVISION ROUND 2 (2026-07-15, Jim preview review) ============ */
/* 1. CONTRAST: dark cards inside cream sections inherited the section's
   dark ink for headings and vanished (free-audit checklist + form card).
   Same class of bug on every dark card: ink-3 small labels too faint. */
.standard.light .check-row h4 { color: var(--ink); }
.standard.light .lead-form-tall h3 { color: var(--ink); }
.tier-card .tier-num { color: var(--ink-2); }
.tier-card .ideal { color: var(--ink-2); }
.sms-consent-label { color: var(--ink-2); font-size: 12.5px; }

/* 2. SMS consent checkbox: generic .lead-form input{width:100%} blew the
   checkbox onto its own full-width row above the label text. */
.sms-consent-label input {
  width: 16px;
  height: 16px;
  min-width: 16px;
  padding: 0;
  margin-top: 2px;
  accent-color: var(--accent);
}

/* 3. About founder portrait: narrower right column, top-aligned with the
   text block instead of a full-height 4/5 tower. */
.founder-split { grid-template-columns: 1.25fr 0.75fr; align-items: start; }
.founder-split .split-visual { aspect-ratio: 3/4; max-height: 460px; }

/* 4. VaultStack plan cards: larger type and breathing room. */
.vs-plans { gap: 24px; }
.vs-plans .tier-card { padding: 40px 34px; }
.vs-plans .tier-card h3 { font-size: 30px; }
.vs-plans .tier-card .tier-fee { font-size: 20px; }
.vs-plans .tier-card .tier-desc { font-size: 16px; line-height: 1.65; }
.vs-plans .tier-card ul li { font-size: 15px; padding-top: 10px; padding-bottom: 10px; }
.vs-plans .tier-card .tier-num { font-size: 12.5px; }
.vs-plans .tier-card .ideal { font-size: 13px; }

/* 4b. Round 5 fix (2026-07-15): the base .tier-grid is a 4-column ladder,
   but VaultStack shows 3 plans - the phantom 4th column squeezed the cards.
   Three plans fill the row proportionally; stack below 900px (overrides the
   generic 2-col tier-grid step, which reads lopsided as 2+1 here). */
.vs-plans { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .vs-plans { grid-template-columns: 1fr; }
}

/* 5. Who-we-are pills: stack as a column (was an awkward 2+1 wrap). */
.tier-pill-strip { flex-direction: column; align-items: flex-start; }

/* ============ REVISION ROUND 2b (2026-07-15): form small-text brightness ============ */
/* Form field labels were ink-3 on ground-card = 4.26:1 (AA fail at 11px
   letterspaced mono). One token up = 8.79:1. Applies to every lead form. */
.lead-form label { color: var(--ink-2); }
/* SMS consent fine print: thin 12.5px mono reads dim even at ink-2 on the
   dark card - full ink for legibility (carriers inspect this block too). */
.sms-consent-label { color: var(--ink); }

/* ============ REVISION ROUND 2c (2026-07-15): light-band conversion ============ */
/* full-management / vaultstack / pricing sections flipped to the cream
   editorial rhythm (consistent with home, about, markets). Dark cards on
   those pages keep their grounds; headings that declared no color would
   inherit the light section's dark ink - pin them light. */
.standard.light .pillar-card h3 { color: var(--ink); }
.standard.light .fee-math h3 { color: var(--ink); }
.standard.light .value-line { color: var(--ink-2); }
/* Free-audit checklist subtext: brighter per Jim (second pass). */
.standard.light .check-row p { color: var(--ink); }

/* 2c follow-through: dark-card body copy on light sections reads dim at
   ink-2 (Jim, twice) - full ink, matching check-row treatment. */
.standard.light .pillar-card p { color: var(--ink); }
/* Fineprint on light bands: ink-3-on-light was 3.34:1 - one step up. */
section.standard.light .fineprint { color: var(--ink-2-on-light); }
