/* ============================================================
   steinerranch.community — Homepage styles
   Pair with front-page.php (WordPress) OR the standalone HTML.
   ============================================================ */

:root {
    /* Default palette: Navy Classic (logo-true) */
    --navy:        #14233F;
    --navy-deep:   #0C1A33;
    --navy-ink:    #0A1429;
    --accent:      #A4243C;
    --accent-deep: #7E1A2D;
    --cream:       #FAF6EE;
    --cream-2:     #F3EDDF;
    --paper:       #FFFFFF;
    --ink:         #15171C;
    --ink-soft:    #3C4046;
    --gray:        #6B7280;
    --gray-soft:   #9AA0A8;
    --rule:        #E4DDCB;
    --rule-soft:   #EFEADD;

    /* Typography */
    --serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans:   'Montserrat', system-ui, -apple-system, sans-serif;
    --body:   'Lato', system-ui, -apple-system, sans-serif;
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    font-family: var(--body);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; }
  a:focus-visible,
  button:focus-visible {
    outline: 3px solid rgba(164, 36, 60, .55);
    outline-offset: 4px;
  }

  /* ========== TYPE SYSTEM ========== */
  .eyebrow {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
  }
  .eyebrow.muted { color: var(--gray); }
  .eyebrow.cream { color: var(--cream-2); }

  h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--ink); margin: 0; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
  h1 { font-size: clamp(44px, 5.6vw, 84px); font-weight: 800; letter-spacing: -0.02em; }
  h2 { font-size: clamp(32px, 3.8vw, 54px); }
  h3 { font-size: 22px; line-height: 1.25; }
  h4 { font-size: 16px; font-family: var(--sans); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

  p { margin: 0 0 1em; text-wrap: pretty; }

  /* ========== LAYOUT ========== */
  .wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
  .wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 40px; }

  section { padding: 96px 0; position: relative; }
  section.tight { padding: 72px 0; }
  section.full-bleed { padding: 0; }

  .section-rule {
    height: 1px; background: var(--rule); margin: 0 auto; max-width: 1200px;
  }

  /* ========== NAV ========== */
  .nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.96);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--rule);
  }
  body.admin-bar .nav { top: 32px; }
  /* Utility bar — sits above main nav, holds Residents + Contact + Talk to Heather */
  .utility-bar {
    background: var(--navy-ink);
    color: rgba(250,246,238,.7);
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
  .utility-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 8px 40px;
    display: flex; align-items: center; justify-content: flex-end; gap: 28px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .utility-inner a {
    color: rgba(250,246,238,.75);
    transition: color .15s;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .utility-inner a:hover { color: var(--paper); }
  .utility-inner a.utility-residents::before {
    content: ''; width: 6px; height: 6px;
    background: var(--accent); border-radius: 50%;
    display: inline-block;
  }
  .utility-inner .utility-talk {
    color: var(--paper);
    padding: 4px 12px;
    background: var(--accent);
    border-radius: 2px;
  }
  .utility-inner .utility-talk:hover { background: var(--accent-deep); color: var(--paper); }
  .utility-divider { width: 1px; height: 12px; background: rgba(255,255,255,.15); }

  .nav-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 18px 40px;
    display: flex; align-items: center; gap: 36px;
  }
  .nav-spacer { flex: 1; }
  .nav-panel {
    display: flex;
    align-items: center;
    gap: 36px;
  }
  .brand {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.015em;
    flex-shrink: 0;
  }
  .brand-mark {
    width: 28px; height: 28px;
    background: var(--navy);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
  }
  .brand-mark::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 50%;
    background: var(--accent);
  }
  .brand-mark::after {
    content: '★';
    position: absolute; top: -2px; left: 0; right: 0;
    text-align: center;
    color: white;
    font-size: 12px;
    line-height: 14px;
  }
  .brand-domain { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--gray); }
  .brand strong { font-weight: 700; }

  .nav-links {
    display: flex; gap: 28px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .nav-links li { margin: 0; }
  .nav-links a { color: var(--ink-soft); transition: color .15s; }
  .nav-links a:hover { color: var(--accent); }

  .menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--rule);
    background: var(--paper);
    border-radius: 2px;
  }
  .menu-toggle-bars,
  .menu-toggle-bars::before,
  .menu-toggle-bars::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy);
    border-radius: 999px;
    position: relative;
    transition: transform .18s ease, opacity .18s ease;
  }
  .menu-toggle-bars::before,
  .menu-toggle-bars::after {
    content: '';
    position: absolute;
    left: 0;
  }
  .menu-toggle-bars::before { transform: translateY(-7px); }
  .menu-toggle-bars::after { transform: translateY(7px); }
  .nav.is-open .menu-toggle-bars { background: transparent; }
  .nav.is-open .menu-toggle-bars::before { transform: rotate(45deg); }
  .nav.is-open .menu-toggle-bars::after { transform: rotate(-45deg); }

  .nav-cta { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--sans); font-size: 13px; font-weight: 600;
    letter-spacing: 0.04em;
    padding: 11px 20px;
    border-radius: 2px;
    border: 1px solid transparent;
    transition: all .15s;
    line-height: 1;
    text-transform: uppercase;
  }
  .btn-primary { background: var(--navy); color: var(--paper); }
  .btn-primary:hover { background: var(--navy-deep); }
  .btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
  .btn-outline:hover { background: var(--navy); color: var(--paper); }
  .btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
  .btn-ghost:hover { border-color: var(--ink); }
  .btn-accent { background: var(--accent); color: var(--paper); }
  .btn-accent:hover { background: var(--accent-deep); }
  .btn-lg { padding: 16px 28px; font-size: 14px; }

  /* ========== SECTION 1: HERO ========== */
  .hero {
    padding: 64px 0 96px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; right: -160px; top: -160px;
    width: 520px; height: 520px;
    background: radial-gradient(circle, var(--cream-2), transparent 70%);
    pointer-events: none;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
  }
  .hero-left .eyebrow { margin-bottom: 22px; display: inline-flex; align-items: center; gap: 10px; }
  .hero-left .eyebrow .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; display: inline-block; }
  .hero h1 { margin-bottom: 24px; color: var(--navy-ink); }
  .hero h1 em { font-style: italic; font-weight: 600; color: var(--accent); }
  .hero-sub {
    font-size: 21px;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 560px;
    margin-bottom: 36px;
    font-weight: 300;
  }
  .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

  .hero-meta {
    display: flex; gap: 32px; margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--rule);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    color: var(--gray);
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .hero-meta strong { color: var(--ink); font-weight: 700; font-family: var(--serif); font-size: 16px; letter-spacing: 0; text-transform: none; display: block; margin-top: 4px; }

  /* Video placeholder */
  .video-card {
    aspect-ratio: 4/5;
    background: linear-gradient(160deg, #1e3556 0%, #0c1a33 60%, #0a1429 100%);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px -30px rgba(12,26,51,.4), 0 8px 20px -10px rgba(12,26,51,.2);
  }
  .video-card::before {
    /* Faux lake horizon */
    content: '';
    position: absolute; left: 0; right: 0; top: 38%; bottom: 0;
    background: linear-gradient(180deg, rgba(30,90,120,.5), rgba(8,18,40,.9));
  }
  .video-card::after {
    content: '';
    position: absolute; left: 0; right: 0; top: 38%; height: 1px;
    background: rgba(255,255,255,.18);
  }
  .video-hills {
    position: absolute; left: 0; right: 0; top: 30%; height: 12%;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.4));
    clip-path: polygon(0 100%, 0 60%, 12% 30%, 22% 65%, 35% 20%, 48% 55%, 60% 25%, 72% 60%, 84% 35%, 100% 70%, 100% 100%);
    opacity: .6;
  }
  .video-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 88px; height: 88px;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 40px rgba(0,0,0,.3);
    cursor: pointer;
    transition: transform .2s;
  }
  .video-play:hover { transform: translate(-50%, -50%) scale(1.06); }
  .video-play svg { width: 28px; height: 28px; fill: var(--navy); margin-left: 4px; }
  .video-label {
    position: absolute; bottom: 24px; left: 24px; right: 24px;
    color: rgba(255,255,255,.92);
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: flex; justify-content: space-between; align-items: center;
  }
  .video-label .live { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.7); }
  .video-label .live .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
  .video-caption {
    margin-top: 14px;
    font-family: var(--sans);
    font-size: 11px;
    color: var(--gray);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: right;
  }

  /* ========== SECTION 2: IDENTITY BLOCK ========== */
  .identity { background: var(--paper); padding: 110px 0 100px; }
  .identity-inner { max-width: 780px; margin: 0 auto; padding: 0 40px; }
  .identity .eyebrow { text-align: center; display: block; margin-bottom: 32px; color: var(--gray); }
  .identity-lede {
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1.35;
    color: var(--navy-ink);
    font-weight: 400;
    margin: 0 0 36px;
    text-align: center;
    text-wrap: balance;
  }
  .identity-lede em { font-style: italic; color: var(--accent); }
  .identity-body {
    font-size: 18px;
    line-height: 1.7;
    color: var(--ink-soft);
    column-count: 1;
  }
  .identity-body p { margin-bottom: 18px; }
  .identity-body p:last-child {
    font-family: var(--serif);
    font-style: italic;
    font-size: 22px;
    color: var(--navy);
    text-align: center;
    border-top: 1px solid var(--rule);
    padding-top: 28px;
    margin-top: 32px;
  }

  /* ========== SECTION 3: BY THE NUMBERS ========== */
  .stats { background: var(--navy-ink); color: var(--paper); padding: 84px 0; position: relative; }
  .stats::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
  }
  .stats-eyebrow {
    text-align: center;
    color: rgba(250,246,238,.55);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 48px;
  }
  .stats-eyebrow span { margin: 0 12px; }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
  }
  .stat {
    text-align: center;
    padding: 8px 16px;
    border-right: 1px solid rgba(255,255,255,.12);
  }
  .stat:last-child { border-right: none; }
  .stat-num {
    font-family: var(--serif);
    font-size: clamp(38px, 4vw, 56px);
    font-weight: 700;
    color: var(--paper);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
  }
  .stat-num small { font-size: 0.5em; vertical-align: super; opacity: .7; font-weight: 400; }
  .stat-label {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(250,246,238,.7);
  }

  /* ========== SECTION 4: COMMAND CENTER ========== */
  .command { background: var(--cream); padding: 110px 0; }
  .section-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 56px; gap: 40px;
  }
  .section-head-left { max-width: 680px; }
  .section-head h2 { color: var(--navy-ink); margin-top: 14px; }
  .section-head p { color: var(--ink-soft); font-size: 18px; margin: 18px 0 0; max-width: 520px; }
  .section-head-link {
    font-family: var(--sans); font-size: 13px; font-weight: 600;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--navy);
    flex-shrink: 0;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--accent);
    transition: gap .15s;
  }
  .section-head-link:hover { color: var(--accent); }

  .cmd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .cmd-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 32px 28px 28px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    display: flex; flex-direction: column;
    position: relative;
    min-height: 220px;
  }
  .cmd-card:hover {
    transform: translateY(-4px);
    border-color: var(--navy);
    box-shadow: 0 18px 40px -16px rgba(20,35,63,.18);
  }
  .cmd-num {
    position: absolute; top: 18px; right: 22px;
    font-family: var(--sans);
    font-size: 11px;
    color: var(--gray-soft);
    letter-spacing: 0.1em;
  }
  .cmd-card h3 {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
  }
  .cmd-card p {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 auto;
  }
  .cmd-card .arrow {
    margin-top: 24px;
    font-family: var(--sans); font-size: 12px; font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .cmd-card.featured {
    background: var(--navy);
    color: var(--paper);
    border-color: var(--navy);
  }
  .cmd-card.featured h3 { color: var(--paper); }
  .cmd-card.featured p { color: rgba(250,246,238,.78); }
  .cmd-card.featured .arrow { color: var(--cream-2); }
  .cmd-card.featured .cmd-num { color: rgba(255,255,255,.4); }
  .cmd-card.featured::before {
    content: 'YOURS, AS A RESIDENT';
    position: absolute;
    top: 16px; left: 22px;
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--accent);
    background: rgba(164,36,60,.18);
    padding: 4px 8px;
    border-radius: 2px;
  }
  .cmd-card.featured h3 { margin-top: 28px; }

  /* ========== SECTION 5: HEATHER INTRO ========== */
  .heather { background: var(--paper); padding: 120px 0; }
  .heather-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.05fr;
    gap: 80px;
    align-items: center;
  }
  .heather-photo {
    aspect-ratio: 4/5;
    background: linear-gradient(160deg, #d8c9a8, #b59872 60%, #8b6f47);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
  }
  .heather-photo::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse at 50% 30%, rgba(255,240,220,.4), transparent 50%),
      radial-gradient(circle at 50% 38%, rgba(80,60,40,.4) 14%, transparent 14.5%),
      radial-gradient(ellipse 30% 22% at 50% 70%, rgba(60,40,30,.5), transparent 60%);
  }
  .heather-photo-tag {
    position: absolute; bottom: 20px; left: 20px;
    background: rgba(20,35,63,.85);
    color: var(--paper);
    padding: 8px 12px;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 2px;
  }
  .heather-right .eyebrow { margin-bottom: 22px; display: inline-block; }
  .heather-right h2 {
    color: var(--navy-ink);
    margin-bottom: 32px;
    font-style: italic;
    font-weight: 600;
    max-width: 540px;
  }
  .heather-body p { font-size: 17px; line-height: 1.65; color: var(--ink-soft); margin-bottom: 18px; }
  .heather-body strong { color: var(--ink); font-weight: 700; }
  .heather-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
  .heather-signature {
    margin-top: 28px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 26px;
    color: var(--navy);
    letter-spacing: 0.02em;
  }
  .heather-credentials {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--rule);
    display: flex; flex-wrap: wrap; gap: 8px 18px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray);
  }
  .heather-credentials span { display: inline-flex; align-items: center; gap: 6px; }
  .heather-credentials span::before { content: ''; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }

  /* ========== SECTION 6: NEIGHBORHOODS PREVIEW ========== */
  .neighborhoods { background: var(--cream); padding: 110px 0 100px; }
  .nb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
  }
  .nb-card {
    background: var(--paper);
    padding: 28px 24px 26px;
    display: flex; flex-direction: column;
    min-height: 240px;
    transition: background .2s;
    cursor: pointer;
    position: relative;
  }
  .nb-card:hover { background: var(--cream-2); }
  .nb-card .nb-num {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.16em;
    margin-bottom: 16px;
  }
  .nb-card h3 {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--navy);
    margin: 0 0 10px;
    line-height: 1.15;
  }
  .nb-card .nb-range {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    color: var(--gray);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
  }
  .nb-card p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0 0 auto;
  }
  .nb-card .arrow {
    margin-top: 18px;
    color: var(--navy);
    font-size: 18px;
    transition: transform .2s;
  }
  .nb-card:hover .arrow { transform: translateX(4px); color: var(--accent); }

  /* ========== SECTION 7: SCHOOLS SNAPSHOT ========== */
  .schools { background: var(--paper); padding: 110px 0; }
  .schools-table {
    border-top: 2px solid var(--navy);
    border-bottom: 1px solid var(--rule);
  }
  .school-row {
    display: grid;
    grid-template-columns: 60px 1fr 140px 120px 100px 50px;
    align-items: center;
    padding: 22px 4px;
    border-bottom: 1px solid var(--rule);
    transition: background .15s;
    cursor: pointer;
  }
  .school-row:hover { background: var(--cream); }
  .school-row:last-child { border-bottom: none; }
  .school-row .sr-num {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--accent);
    font-weight: 700;
  }
  .school-row .sr-name {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.2;
  }
  .school-row .sr-name small {
    display: block;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    color: var(--gray);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 4px;
  }
  .school-row .sr-students,
  .school-row .sr-feeds {
    font-family: var(--sans);
    font-size: 13px;
    color: var(--ink-soft);
  }
  .school-row .sr-students strong,
  .school-row .sr-feeds strong { display: block; font-weight: 700; color: var(--ink); font-size: 16px; }
  .rating-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: var(--navy);
    color: var(--paper);
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
  }
  .rating-cell { display: flex; align-items: center; gap: 10px; }
  .rating-cell small {
    font-family: var(--sans); font-size: 10px; font-weight: 600;
    color: var(--gray); letter-spacing: 0.06em; text-transform: uppercase;
  }
  .school-row .arrow { color: var(--navy); font-size: 18px; text-align: right; transition: transform .2s; }
  .school-row:hover .arrow { transform: translateX(4px); color: var(--accent); }

  .schools-disclaimer {
    margin-top: 32px;
    padding: 24px 28px;
    background: var(--cream);
    border-left: 3px solid var(--accent);
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-soft);
  }
  .schools-disclaimer strong {
    display: block;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 8px;
  }

  /* ========== SECTION 8: LIVE MARKET PULSE ========== */
  .market {
    background: var(--navy-ink);
    color: var(--paper);
    padding: 90px 0;
    position: relative;
  }
  .market-grid {
    display: grid;
    grid-template-columns: 1fr 2.2fr;
    gap: 60px;
    align-items: center;
  }
  .market-head .eyebrow { color: var(--accent); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
  .market-head .eyebrow .pulse {
    width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(164,36,60,.5); }
    70% { box-shadow: 0 0 0 12px rgba(164,36,60,0); }
  }
  .market-head h2 {
    color: var(--paper);
    font-size: 36px;
    margin-bottom: 12px;
    line-height: 1.1;
  }
  .market-head .market-date {
    font-family: var(--sans); font-size: 12px; font-weight: 600;
    color: rgba(255,255,255,.55); letter-spacing: 0.1em; text-transform: uppercase;
  }
  .market-head .market-intro {
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    color: rgba(250,246,238,.85);
    margin: 14px 0 14px;
    line-height: 1.4;
  }
  .market-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    border-left: 1px solid rgba(255,255,255,.15);
    padding-left: 60px;
  }
  .market-stat .market-label {
    font-family: var(--sans); font-size: 11px; font-weight: 600;
    color: rgba(255,255,255,.6); letter-spacing: 0.14em; text-transform: uppercase;
    margin-bottom: 12px;
  }
  .market-stat .market-num {
    font-family: var(--serif);
    font-size: 48px; font-weight: 700; line-height: 1;
    color: var(--paper);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
  }
  .market-stat .market-delta {
    font-family: var(--sans); font-size: 12px; font-weight: 600;
    letter-spacing: 0.04em;
  }
  .market-delta.up { color: #7fc59f; }
  .market-delta.down { color: #d68a8a; }
  .market-delta.flat { color: rgba(255,255,255,.5); }
  .market-cta {
    margin-top: 36px;
    grid-column: 1 / -1;
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 32px; border-top: 1px solid rgba(255,255,255,.12);
  }
  .market-cta-link {
    font-family: var(--sans); font-size: 13px; font-weight: 600;
    color: var(--cream-2);
    letter-spacing: 0.06em; text-transform: uppercase;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 4px;
  }
  .market-cta-link:hover { color: var(--paper); }
  .market-updated {
    font-family: var(--sans); font-size: 11px;
    color: rgba(255,255,255,.45);
    letter-spacing: 0.06em;
  }

  /* ========== SECTION 9: LIVING HERE ========== */
  .living { background: var(--paper); padding: 110px 0; }
  .living-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }
  .living-photo {
    aspect-ratio: 5/6;
    background: linear-gradient(160deg, #c8ccb4 0%, #9eb290 45%, #5e7c5c 100%);
    position: relative;
    border-radius: 2px;
    overflow: hidden;
  }
  .living-photo::before {
    content: '';
    position: absolute; inset: 0;
    background:
      linear-gradient(180deg, rgba(150,180,210,.3) 0%, transparent 30%),
      radial-gradient(ellipse at 30% 80%, rgba(50,80,40,.4), transparent 50%);
  }
  .living-photo-cap {
    position: absolute; bottom: 20px; left: 20px; right: 20px;
    color: var(--paper);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(20,35,63,.7);
    padding: 10px 14px;
    border-radius: 2px;
  }
  .living-right .eyebrow { margin-bottom: 20px; display: inline-block; }
  .living-right h2 { color: var(--navy-ink); margin-bottom: 30px; max-width: 480px; }
  .living-prose {
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.55;
    color: var(--ink);
    font-weight: 400;
    margin-bottom: 32px;
    max-width: 540px;
  }
  .living-prose em { font-style: italic; color: var(--accent); }
  .living-links { display: flex; flex-direction: column; gap: 14px; }
  .living-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px;
    border: 1px solid var(--rule);
    transition: all .2s;
  }
  .living-link:hover { border-color: var(--navy); background: var(--cream); }
  .living-link-text {
    font-family: var(--sans); font-size: 13px; font-weight: 600;
    color: var(--navy); letter-spacing: 0.06em; text-transform: uppercase;
  }
  .living-link-text small {
    display: block; font-family: var(--body); font-size: 13px; font-weight: 400;
    color: var(--gray); letter-spacing: 0; text-transform: none;
    margin-top: 4px;
  }
  .living-link .arrow { color: var(--accent); font-size: 18px; }

  /* ========== SECTION 10: FAQ ========== */
  .faq { background: var(--cream); padding: 110px 0; }
  .faq-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.4fr;
    gap: 80px;
    align-items: flex-start;
  }
  .faq-sidebar { position: sticky; top: 100px; }
  .faq-sidebar .eyebrow { margin-bottom: 18px; display: block; }
  .faq-sidebar h2 { color: var(--navy-ink); margin-bottom: 20px; }
  .faq-sidebar p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; max-width: 360px; }
  .faq-list { border-top: 1px solid var(--rule); }
  .faq-item { border-bottom: 1px solid var(--rule); }
  .faq-q {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 24px;
    padding: 24px 0;
    background: none; border: none;
    width: 100%; text-align: left;
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
  }
  .faq-q:hover { color: var(--accent); }
  .faq-toggle {
    width: 24px; height: 24px; flex-shrink: 0;
    border: 1px solid var(--rule);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--sans);
    font-size: 14px; font-weight: 400;
    color: var(--navy);
    background: var(--paper);
    transition: all .2s;
    margin-top: 4px;
  }
  .faq-item.open .faq-toggle { background: var(--accent); color: var(--paper); border-color: var(--accent); transform: rotate(45deg); }
  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.65;
  }
  .faq-item.open .faq-a { max-height: 600px; }
  .faq-a-inner { padding: 0 40px 28px 0; }
  .faq-a p:last-child { margin-bottom: 0; }
  .faq-a a { color: var(--accent); border-bottom: 1px solid var(--accent); }

  /* ========== SECTION 11: RECENT POSTS ========== */
  .posts { background: var(--paper); padding: 110px 0; }
  .posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .post-card {
    display: flex; flex-direction: column;
    transition: transform .2s;
    cursor: pointer;
  }
  .post-card:hover { transform: translateY(-4px); }
  .post-thumb {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--cream-2), var(--cream));
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--rule);
  }
  .post-thumb::after {
    content: 'PHOTO';
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-family: var(--sans);
    font-size: 10px; font-weight: 600;
    color: var(--gray-soft);
    letter-spacing: 0.2em;
  }
  .post-thumb.p1 { background: linear-gradient(135deg, #c4d4c0, #9fb89a); }
  .post-thumb.p2 { background: linear-gradient(135deg, #d8c9a8, #b59872); }
  .post-thumb.p3 { background: linear-gradient(135deg, #b8c8d4, #7e98b0); }
  .post-meta {
    font-family: var(--sans); font-size: 11px; font-weight: 600;
    color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 8px;
    display: flex; gap: 12px; align-items: center;
  }
  .post-meta .dot { width: 3px; height: 3px; background: var(--gray-soft); border-radius: 50%; }
  .post-meta .meta-date { color: var(--gray); }
  .post-card h3 {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--navy);
    line-height: 1.2;
    margin: 0 0 10px;
  }
  .post-card p { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }

  /* ========== SECTION 12: SPLIT CTA ========== */
  .cta-split { background: var(--cream-2); padding: 100px 0; }
  .cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .cta-card {
    background: var(--paper);
    padding: 40px 36px 36px;
    border-top: 3px solid var(--accent);
    display: flex; flex-direction: column;
    min-height: 280px;
    transition: transform .2s, box-shadow .2s;
  }
  .cta-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px -20px rgba(20,35,63,.2);
  }
  .cta-card h3 {
    font-family: var(--serif);
    font-size: 26px;
    color: var(--navy-ink);
    margin: 0 0 16px;
    line-height: 1.2;
  }
  .cta-card p {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 auto;
  }
  .cta-card .btn { margin-top: 24px; align-self: flex-start; }
  .cta-card.simple { border-top-color: var(--navy); background: var(--navy); color: var(--paper); }
  .cta-card.simple h3 { color: var(--paper); }
  .cta-card.simple p { color: rgba(250,246,238,.78); font-style: italic; font-family: var(--serif); font-size: 18px; }
  .cta-card.simple .btn { background: var(--accent); color: var(--paper); border-color: var(--accent); }
  .cta-card.simple .btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
  .section-head-compact { margin-bottom: 40px; }

  /* ========== FOOTER ========== */
  footer.site-foot {
    background: var(--navy-ink);
    color: rgba(250,246,238,.7);
    padding: 60px 0 32px;
  }
  .foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
  }
  .foot-brand {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--paper);
    margin-bottom: 16px;
  }
  .foot-brand strong { font-weight: 700; }
  .foot-tag {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(250,246,238,.6);
    max-width: 280px;
  }
  .foot-col h4 {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    color: var(--paper);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 18px;
  }
  .foot-col ul { list-style: none; padding: 0; margin: 0; }
  .foot-col li { margin-bottom: 10px; font-size: 14px; }
  .foot-col a { color: rgba(250,246,238,.7); transition: color .15s; }
  .foot-col a:hover { color: var(--accent); }
  .foot-bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--sans);
    font-size: 12px;
    color: rgba(250,246,238,.45);
  }
  .foot-bottom .disclaimer { max-width: 600px; line-height: 1.5; }

  /* ========== RESPONSIVE ========== */
  @media (max-width: 900px) {
    .nav-inner { flex-wrap: wrap; }
    .nav-links { order: 3; flex-basis: 100%; flex-wrap: wrap; }
    .utility-inner { padding: 8px 20px; gap: 18px; font-size: 10px; }
    .hero-grid, .heather-grid, .living-grid, .market-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
    .cmd-grid, .posts-grid, .cta-grid { grid-template-columns: 1fr; }
    .nb-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 0; }
    .stat { border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 24px; }
    .market-stats { padding-left: 0; border-left: none; border-top: 1px solid rgba(255,255,255,.15); padding-top: 32px; }
    .school-row { grid-template-columns: 40px 1fr auto; gap: 12px; }
    .school-row .sr-students, .school-row .sr-feeds, .school-row .arrow { display: none; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  }

  @media (max-width: 900px) {
    .nav { position: sticky; }
    .nav-inner {
      flex-wrap: nowrap;
      gap: 14px;
      padding: 14px 20px;
    }
    .menu-toggle { display: inline-flex; }
    .nav-panel {
      display: none;
      position: absolute;
      left: 0;
      right: 0;
      top: 100%;
      z-index: 60;
      flex-direction: column;
      align-items: stretch;
      gap: 18px;
      padding: 8px 20px 22px;
      background: rgba(255,255,255,.98);
      border-bottom: 1px solid var(--rule);
      box-shadow: 0 22px 44px -28px rgba(20,35,63,.35);
    }
    .nav.is-open .nav-panel { display: flex; }
    .nav-links {
      order: initial;
      flex-basis: auto;
      flex-direction: column;
      flex-wrap: nowrap;
      gap: 0;
    }
    .nav-links a {
      display: block;
      padding: 14px 0;
      border-bottom: 1px solid var(--rule-soft);
    }
    .nav-action {
      justify-content: center;
      width: 100%;
    }
  }

  @media (max-width: 782px) {
    body.admin-bar .nav { top: 46px; }
  }

  @media (max-width: 640px) {
    body { font-size: 16px; }
    .wrap,
    .wrap-narrow {
      padding-left: 20px;
      padding-right: 20px;
    }
    section,
    section.tight {
      padding: 64px 0;
    }
    .hero { padding: 46px 0 68px; }
    h1 { font-size: clamp(40px, 14vw, 58px); }
    h2 { font-size: clamp(30px, 10vw, 42px); }
    .hero-sub {
      font-size: 18px;
      line-height: 1.55;
    }
    .hero-ctas .btn {
      width: 100%;
      justify-content: center;
    }
    .hero-meta {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
      margin-top: 36px;
    }
    .video-card { aspect-ratio: 16 / 12; }
    .identity-inner { padding: 0 20px; }
    .identity-lede { font-size: 28px; }
    .identity-body {
      columns: 1;
      column-gap: 0;
    }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-num { font-size: 36px; }
    .nb-grid,
    .school-row,
    .foot-grid {
      grid-template-columns: 1fr;
    }
    .school-row { padding: 20px 0; }
    .market,
    .faq,
    .posts,
    .cta-split {
      padding: 72px 0;
    }
    .faq-sidebar { position: static; }
    .faq-a-inner { padding-right: 0; }
    .posts-grid,
    .cta-grid {
      gap: 22px;
    }
    .cta-card { padding: 32px 24px; }
    .btn {
      min-height: 44px;
      justify-content: center;
      line-height: 1.2;
      text-align: center;
    }
    .foot-bottom {
      flex-direction: column;
      align-items: flex-start;
      gap: 14px;
    }
  }

  @media (max-width: 420px) {
    .utility-inner {
      justify-content: space-between;
      gap: 12px;
      letter-spacing: .08em;
    }
    .brand { font-size: 20px; }
    .brand-domain { display: none; }
    .nav-inner { padding-left: 16px; padding-right: 16px; }
    .hero-meta { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
  }

  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
      scroll-behavior: auto !important;
      transition-duration: .01ms !important;
    }
  }
