:root {
  --navy: #0a1f44;
  --navy-deep: #06142e;
  --blue: #1f4e9c;
  --ink: #0a1f44;
  --ink-soft: #2a3a55;
  --muted: #5b6b82;
  --white: #ffffff;
  --bg-alt: #f3f6fb;
  --line: #dfe5ef;
  --gold: #c9a227;
  --gold-light: #e0bd4c;
  --font: "Manrope", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--font); color: var(--ink); font-weight: 800; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.5rem, 5.8vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); max-width: 20ch; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin-bottom: 1em; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.hidden { display: none; }

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font: 700 .95rem var(--font);
  padding: 15px 28px;
  border: 2px solid var(--gold);
  border-radius: 0;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-size: 1.25rem; font-weight: 800; color: var(--white); text-decoration: none; letter-spacing: .08em; text-transform: uppercase; }
.logo span { font-weight: 500; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: rgba(255, 255, 255, .8); text-decoration: none; font-size: .9rem; font-weight: 600; }
.nav-links a:hover { color: var(--white); }
.nav-links a.btn { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; }

/* Hero */
.hero {
  padding: 120px 0 96px;
  background:
    radial-gradient(circle at 85% 20%, rgba(31, 78, 156, .55), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(255, 255, 255, .78);
}
.hero h1 { max-width: 15ch; color: var(--white); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .eyebrow { color: rgba(255, 255, 255, .7); }
.lede { font-size: 1.2rem; max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 72px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, .15); max-width: 800px; }
.hero-stats dt { font-size: 2rem; font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.hero-stats dd { margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .6); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }

/* Sections */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); }

.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps li { border-top: 3px solid var(--navy); padding-top: 24px; }
.step-num { display: block; font-size: 2.4rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 16px; }
.steps p { color: var(--muted); }

.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 56px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--white); padding: 36px 32px; border-top: 3px solid transparent; transition: border-color .2s; }
.card:hover { border-top-color: var(--gold); }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Insights */
.insights { margin-top: 48px; border-top: 2px solid var(--navy); }
.insight { border-bottom: 1px solid var(--line); }
.insight summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 48px 26px 0;
  position: relative;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.insight summary::-webkit-details-marker { display: none; }
.insight summary::after { content: "+"; position: absolute; right: 6px; top: 22px; font-size: 1.6rem; font-weight: 500; color: var(--gold); }
.insight[open] summary::after { content: "–"; }
.tag { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.insight-body { max-width: 68ch; padding-bottom: 24px; color: var(--muted); }
.insight-body strong { color: var(--ink); font-weight: 700; }
.insight-body ul { margin: 0 0 1em; padding-left: 1.2em; }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.member { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 36px 32px; }
.avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: grid; place-items: center;
  font-size: 1.5rem; font-weight: 800;
  margin-bottom: 22px; overflow: hidden;
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--gold);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { margin-bottom: .15em; }
.role { color: var(--blue); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.member p:last-child { color: var(--muted); font-size: .96rem; margin: 0; }
.license { font-size: .82rem; color: var(--muted); }

/* Contact */
.contact { background: var(--navy); color: rgba(255, 255, 255, .75); }
.contact h2 { color: var(--white); }
.contact .eyebrow { color: rgba(255, 255, 255, .7); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; }
.contact-direct a { color: var(--gold); font-size: 1.05rem; font-weight: 700; }
.form { display: grid; gap: 18px; background: var(--white); padding: 40px; border-top: 4px solid var(--gold); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .06em; }
.form input, .form select, .form textarea {
  font: 500 1rem var(--font);
  padding: 13px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  width: 100%;
  text-transform: none;
  letter-spacing: 0;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
.form ::placeholder { color: #9aa7b8; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); }
.form .check input { width: auto; margin-top: 4px; }
.form .btn { background: var(--navy); border-color: var(--navy); color: var(--white); justify-self: start; }
.form .btn:hover { background: var(--blue); border-color: var(--blue); }

/* Footer */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .55); padding: 56px 0 40px; font-size: .86rem; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .1); margin-bottom: 28px; }
.footer-top nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-top nav a { color: rgba(255, 255, 255, .8); text-decoration: none; font-weight: 600; }
.footer-top nav a:hover { color: var(--gold); }
.disclaimer { max-width: 90ch; line-height: 1.6; }
.copy { margin: 0; }

/* Simple pages */
.page { padding: 80px 0; }
.page .wrap { max-width: 760px; }
.page h2 { font-size: 1.35rem; margin-top: 1.6em; max-width: none; }

/* Responsive */
@media (max-width: 900px) {
  .steps, .grid-cards, .team { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 18px;
    background: var(--navy); padding: 24px 16px;
  }
  .nav-links.open { display: flex; }
  .hero { padding: 72px 0 64px; }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
  .section { padding: 72px 0; }
  .steps, .grid-cards, .team, .row { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
}

/* ---------- High-end refinements ---------- */
:root {
  --gold: #c5a572;
  --gold-light: #d8bf94;
  --display: "Montserrat", "Manrope", sans-serif;
}
h1, h2 { font-family: var(--display); font-weight: 300; letter-spacing: -0.02em; line-height: 1.12; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h2 strong, h1 strong { font-weight: 500; }
h3 { font-family: var(--display); font-weight: 500; }
.btn { font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; padding: 17px 32px; }
.btn-sm { padding: 11px 20px; font-size: .72rem; }
.eyebrow { font-weight: 600; letter-spacing: .24em; font-size: .7rem; }

/* Nav floats over the hero on the homepage, then turns solid */
.home .nav { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; transition: background .3s, border-color .3s; }
.home .nav.scrolled { background: rgba(10, 31, 68, .97); border-bottom-color: rgba(255, 255, 255, .08); }
.logo { font-family: var(--display); font-weight: 500; letter-spacing: .32em; font-size: 1.05rem; }
.logo span { font-weight: 300; }
.nav-links a { font-weight: 500; letter-spacing: .06em; font-size: .82rem; text-transform: uppercase; }

/* Full-screen hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 120px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 20, 46, .55) 0%, rgba(6, 20, 46, .35) 40%, rgba(6, 20, 46, .85) 100%); }
.hero-inner { position: relative; z-index: 1; width: 100%; }
.hero h1 { font-size: clamp(3rem, 8vw, 6.4rem); font-weight: 300; max-width: 12ch; letter-spacing: -0.035em; line-height: 1.02; }
.hero h1 em { font-style: normal; font-weight: 500; color: var(--gold); }
.hero .eyebrow { color: rgba(255, 255, 255, .75); }
.lede { font-size: 1.15rem; max-width: 46ch; color: rgba(255, 255, 255, .78); margin-top: 1.4em; }
.hero-cta { margin: 44px 0 0; }
.scroll-cue { position: absolute; z-index: 1; left: 50%; bottom: 36px; width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); }

/* Difference */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.split h2 { margin: 0; }
.intro { font-size: 1.12rem; color: var(--muted); margin: 0; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 80px; border-top: 1px solid var(--line); }
.values > div { padding: 36px 32px 0 0; }
.values > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.values h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: .8em; }
.values h3::before { content: ""; display: block; width: 24px; height: 2px; background: var(--gold); margin-bottom: 20px; }
.values p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Stats band */
.stats-band { background: var(--navy); padding: 88px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.stats > div { padding: 0 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats dt { font-family: var(--display); font-weight: 300; font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--white); letter-spacing: -0.03em; line-height: 1.1; }
.stats dd { margin: 10px 0 0; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* Quieter cards and steps */
.step-num { font-family: var(--display); font-weight: 300; font-size: 3rem; }
.steps li { border-top-width: 1px; }
.member { border-top-width: 1px; }
.avatar { font-family: var(--display); font-weight: 400; }
.insights { border-top-width: 1px; }
.insight summary { font-family: var(--display); font-weight: 400; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
  .values { grid-template-columns: 1fr 1fr; }
  .values > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 720px) {
  .home .nav-links { background: var(--navy); }
  .values { grid-template-columns: 1fr; margin-top: 48px; }
  .values > div, .values > div + div { padding: 28px 0 0; border-left: 0; }
  .stats-band { padding: 64px 0; }
}

/* ---------- California edition ---------- */
.hero { background: linear-gradient(180deg, #06142e 0%, #0a1f44 55%, #1a2f5c 82%, #3a3a5c 100%); }
.hero-sun {
  position: absolute; left: 62%; bottom: -18%; width: 70vw; max-width: 980px; aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(197, 165, 114, .42) 0%, rgba(197, 165, 114, .14) 32%, transparent 62%);
  animation: sun-breathe 9s ease-in-out infinite;
}
@keyframes sun-breathe { 0%, 100% { opacity: .85; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.05); } }
.hero-skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 42vh; max-height: 360px; color: var(--gold); opacity: .55; }
.hero-skyline path { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 3.2s ease-out .3s forwards; }
.hero-skyline .windows rect { opacity: 0; animation: blink 4s ease-in-out infinite; }
.hero-skyline .windows rect:nth-child(3n) { animation-delay: 1.3s; }
.hero-skyline .windows rect:nth-child(3n+1) { animation-delay: 2.6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes blink { 0%, 100% { opacity: 0; } 40%, 60% { opacity: .9; } }
.hero-overlay { background: linear-gradient(90deg, rgba(6, 20, 46, .7) 0%, rgba(6, 20, 46, .2) 60%, transparent 100%); }
.hero h1 { max-width: 15ch; font-size: clamp(2.8rem, 6.6vw, 5.6rem); }
.hero h1 em { display: inline; }
.hero-inner > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-inner > :nth-child(2) { animation-delay: .12s; }
.hero-inner > :nth-child(3) { animation-delay: .24s; }
.hero-inner > :nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Property-type ticker */
.ticker { background: var(--navy-deep); border-top: 1px solid rgba(197, 165, 114, .25); border-bottom: 1px solid rgba(197, 165, 114, .25); overflow: hidden; padding: 20px 0; }
.ticker-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ticker span { font-family: var(--display); font-weight: 300; font-size: 1.05rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(255, 255, 255, .75); padding: 0 36px; white-space: nowrap; }
.ticker span::after { content: "◆"; color: var(--gold); font-size: .5rem; margin-left: 72px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Markets */
.markets { background: var(--navy); color: rgba(255, 255, 255, .75); position: relative; overflow: hidden; }
.markets::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(31, 78, 156, .45), transparent 65%); }
.markets-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.markets h2 { color: var(--white); }
.markets .eyebrow { color: rgba(255, 255, 255, .7); }
.markets .intro { color: rgba(255, 255, 255, .7); margin-bottom: 32px; }
.link-arrow { color: var(--gold); text-decoration: none; font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 6px; }
.market-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.market-list li { display: flex; align-items: baseline; gap: 24px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-family: var(--display); font-weight: 300; font-size: clamp(1.3rem, 2.2vw, 1.75rem); color: var(--white); letter-spacing: -0.01em; transition: padding .3s, color .3s; }
.market-list li:hover { padding-left: 12px; color: var(--gold); }
.market-list span { font-family: var(--font); font-size: .72rem; font-weight: 600; letter-spacing: .14em; color: var(--gold); }

.contact-place, .footer-place { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin: 8px 0 0; }

/* Scroll reveals (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-sun, .ticker-track, .hero-inner > *, .hero-skyline path, .hero-skyline .windows rect { animation: none; }
  .hero-skyline path { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 900px) {
  .markets-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 720px) {
  .hero-skyline { height: 28vh; opacity: .4; }
  .hero-sun { width: 140vw; left: 70%; }
  .ticker span { font-size: .85rem; padding: 0 20px; }
  .ticker span::after { margin-left: 40px; }
}
.hero-skyline { height: 32vh; max-height: 270px; opacity: .5; }
.hero-overlay { background: linear-gradient(90deg, rgba(6, 20, 46, .8) 0%, rgba(6, 20, 46, .35) 55%, transparent 100%); }

/* Two-person team */
.team-two { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
.member .bio { color: var(--muted); font-size: .96rem; }
.member p.license { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
@media (max-width: 720px) { .team-two { grid-template-columns: 1fr; } }

/* Numbered financing cards */
.card-num { display: block; font-family: var(--display); font-weight: 300; font-size: 1.6rem; color: var(--gold); line-height: 1; margin-bottom: 18px; }
.market-list li.nationwide { color: var(--gold); font-weight: 400; }
.team-note { max-width: 80ch; margin: 32px 0 0; font-size: .82rem; color: var(--muted); }
.footer .tagline { color: var(--gold); font-family: var(--display); letter-spacing: .2em; text-transform: uppercase; font-size: .72rem; margin-right: 12px; }
.disclaimer strong { color: rgba(255, 255, 255, .85); font-weight: 600; }

/* ---------- Sage edition ---------- */
:root {
  --sage: #949f95;
  --sage-pale: #eef1ec;
  --stone: #d7c9b2;
  --navy: #2f3b36;
  --navy-deep: #232d29;
  --blue: #4f689b;
  --blue-deep: #3d5585;
  --ink: #1f2925;
  --ink-soft: #33403a;
  --muted: #5d6a63;
  --bg-alt: var(--sage-pale);
  --line: #d9ded7;
  --gold: var(--stone);
  --gold-light: #e6dcc8;
  --grid: linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px) 0 0 / 64px 64px,
          linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px) 0 0 / 64px 64px;
}

.btn { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.nav-links a.btn { color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(31, 41, 37, .45); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Light-background accents move to the brand blue */
.eyebrow::before, .values h3::before { background: var(--blue); }
.step-num, .card-num, .insight summary::after { color: var(--blue); }
.card:hover { border-top-color: var(--blue); }
.form { border-top-color: var(--blue); }
.avatar { background: var(--sage); color: var(--white); box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--blue); }

/* Nav sits on sage, turns deep green on scroll */
.home .nav .logo { opacity: 0; transition: opacity .3s; }
.home .nav.scrolled .logo { opacity: 1; }
.home .nav:not(.scrolled) .nav-links a:not(.btn) { color: var(--ink); }
.home .nav:not(.scrolled) .nav-toggle span { background: var(--ink); }
.home .nav.scrolled { background: rgba(35, 45, 41, .97); }
.logo span { color: var(--stone); }

/* Brand hero: the artwork itself, edge to edge, on a sage grid */
.brand-hero { background: var(--sage); padding-top: 72px; line-height: 0; }
.brand-hero-art { width: 100%; height: auto; animation: fade-in 1.2s ease both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.hero-intro { background: var(--grid), var(--sage); padding: 88px 0 104px; color: var(--ink-soft); }
.hero-intro .eyebrow { color: var(--ink); }
.hero-intro .eyebrow::before { background: var(--white); }
.hero-intro h1 { font-family: var(--display); font-weight: 300; font-size: clamp(2.6rem, 6vw, 5.2rem); max-width: 16ch; letter-spacing: -0.03em; line-height: 1.04; color: var(--ink); }
.hero-intro h1 em { font-style: normal; font-weight: 500; color: var(--white); }
.hero-intro .lede { color: var(--ink-soft); font-size: 1.15rem; max-width: 50ch; margin-top: 1.4em; }
.hero-intro .hero-cta { margin: 40px 0 0; }

/* Dark sections: deep green with stone accents and the grid */
.markets { background: var(--grid), var(--navy); }
.markets::before { background: radial-gradient(circle, rgba(79, 104, 155, .55), transparent 65%); }
.stats-band { background: var(--navy); }
.ticker { background: var(--sage); border-color: rgba(255, 255, 255, .25); }
.ticker span { color: var(--white); }
.ticker span::after { color: var(--blue); }
.form ::placeholder { color: #9aa49d; }
.form .btn { background: var(--blue); border-color: var(--blue); }
.form .btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }

@media (max-width: 720px) {
  .brand-hero { padding-top: 64px; }
  .nav-inner { height: 64px; }
  .nav-links { top: 64px; }
  .home .nav-links { background: var(--navy); }
  .home .nav:not(.scrolled) .nav-links.open a:not(.btn) { color: var(--white); }
  .hero-intro { padding: 56px 0 72px; }
}
@media (prefers-reduced-motion: reduce) { .brand-hero-art { animation: none; } }

/* Team headshots */
.avatar { width: 120px; height: 120px; }
.avatar img { filter: saturate(.9); }
.member { display: flex; flex-direction: column; }
.member p.license { margin-top: auto; }
.member .bio { margin-bottom: 20px; }

/* ---------- Veradia family (shared by Collective and Foundation) ---------- */
.split-hero { background: var(--grid), var(--sage); padding: 120px 0 0; overflow: hidden; }
.split-hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: end; }
.split-hero .hero-inner { padding-bottom: 96px; }
.split-hero .eyebrow { color: var(--ink); }
.split-hero .eyebrow::before { background: var(--white); }
.split-hero h1 { font-family: var(--display); font-weight: 300; font-size: clamp(2.6rem, 5.4vw, 4.8rem); max-width: 14ch; letter-spacing: -0.03em; line-height: 1.04; color: var(--ink); }
.split-hero h1 em { font-style: normal; font-weight: 500; color: var(--white); }
.split-hero .lede { color: var(--ink-soft); font-size: 1.12rem; max-width: 48ch; margin-top: 1.4em; }
.split-hero .hero-cta { margin: 40px 0 0; }
.split-hero-art { align-self: end; justify-self: end; width: 100%; max-width: 460px; box-shadow: 0 30px 60px -30px rgba(31, 41, 37, .5); animation: fade-in 1.2s ease both; }

/* Family of companies */
.family { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.family-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .3s, box-shadow .3s; }
.family-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(31, 41, 37, .45); }
.family-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.family-card div { padding: 28px 28px 32px; }
.family-card h3 { margin-bottom: .2em; }
.family-card .role { display: block; margin-bottom: 14px; }
.family-card p { color: var(--muted); font-size: .96rem; margin: 0; }
.family-card .here { position: absolute; top: 16px; left: 16px; background: var(--ink); color: var(--white); font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: 7px 12px; }

/* Flow / pathway */
.flow { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255, 255, 255, .18); }
.flow li { padding: 28px 24px 0 0; position: relative; }
.flow li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .18); }
.flow .who { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin-bottom: 12px; }
.flow h3 { color: var(--white); font-size: 1.05rem; }
.flow p { color: rgba(255, 255, 255, .7); font-size: .92rem; margin: 0; }

/* Illustrative capital stack */
.stack-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.stack { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--white); }
.stack div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 22px; color: var(--white); font-size: .86rem; font-weight: 600; letter-spacing: .04em; }
.stack div span:last-child { font-family: var(--display); font-weight: 400; opacity: .85; }
.stack .s1 { height: 64px; background: #6f93b8; }
.stack .s2 { height: 84px; background: #4f689b; }
.stack .s3 { height: 64px; background: var(--sage); }
.stack .s4 { height: 150px; background: var(--navy); }
.stack .s5 { height: 54px; background: var(--stone); color: var(--ink); }
.stack-note { font-size: .8rem; color: var(--muted); margin-top: 14px; }

.dark { background: var(--grid), var(--navy); color: rgba(255, 255, 255, .75); }
.dark h2 { color: var(--white); }
.dark .eyebrow { color: rgba(255, 255, 255, .7); }
.dark .eyebrow::before { background: var(--stone); }
.dark .intro { color: rgba(255, 255, 255, .7); }

@media (max-width: 900px) {
  .split-hero-inner, .stack-wrap { grid-template-columns: 1fr; }
  .split-hero .hero-inner { padding-bottom: 0; }
  .split-hero-art { justify-self: center; max-width: 380px; }
  .family { grid-template-columns: 1fr; max-width: 520px; }
  .flow { grid-template-columns: 1fr; }
  .flow li, .flow li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
}
@media (max-width: 720px) {
  .split-hero { padding-top: 96px; }
}
/* Foundation accent: the pale sky triangle, deepened for text */
:root { --blue: #46709a; --blue-deep: #375a7e; }

/* Name story */
.name-story { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 56px; background: var(--line); border: 1px solid var(--line); }
.name-story > div { background: var(--white); padding: 44px 40px; }
.name-story .word { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); line-height: 1; margin-bottom: 14px; }
.name-story .gloss { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.name-story p { color: var(--muted); margin: 0; }
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.audience > div { border-top: 1px solid var(--navy); padding-top: 24px; }
.audience ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.audience li + li { margin-top: 8px; }
.safety-note { margin: 28px 0 0; font-size: .85rem; color: rgba(255, 255, 255, .6); }
@media (max-width: 900px) { .name-story, .audience { grid-template-columns: 1fr; } }

/* ---------- Foundation edition: open, editorial, community-first ---------- */
:root { --sky: #c9d9e4; }
.foundation .nav .logo { opacity: 1; }
.foundation .nav:not(.scrolled) .logo { color: var(--ink); }
.foundation .nav:not(.scrolled) .logo span { color: var(--blue); }
.tri { display: inline-block; width: 14px; height: 12px; background: var(--blue); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* Hero: centered statement over the street scene */
.f-hero { position: relative; background: var(--grid), var(--sage); padding: 150px 0 0; text-align: center; overflow: hidden; }
.f-hero .eyebrow { justify-content: center; color: var(--ink); }
.f-hero .eyebrow::before { display: none; }
.f-hero h1 { font-family: var(--display); font-weight: 300; font-size: clamp(2.5rem, 5.6vw, 4.9rem); letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); max-width: 17ch; margin: 0 auto; }
.f-hero h1 em { font-style: normal; font-weight: 500; color: var(--white); }
.f-hero .lede { color: var(--ink-soft); font-size: 1.15rem; max-width: 52ch; margin: 1.4em auto 0; }
.f-hero .hero-cta { justify-content: center; margin: 36px 0 56px; }
.f-hero-art { position: relative; max-width: 760px; margin: 0 auto; }
.f-hero-art img { width: 100%; height: auto; display: block; animation: fade-in 1.4s ease both; }
.f-hero-art::before { content: ""; position: absolute; left: -22%; bottom: 0; width: 46%; aspect-ratio: 1.3; background: var(--sky); opacity: .55; clip-path: polygon(0 100%, 100% 100%, 100% 0); }
.f-hero-art::after { content: ""; position: absolute; right: -18%; bottom: 0; width: 34%; aspect-ratio: 1; background: var(--blue); opacity: .35; clip-path: polygon(0 0, 100% 100%, 0 100%); }

/* Who we build for */
.f-who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; margin-top: 64px; }
.f-who-grid h3 { font-size: 1.35rem; font-weight: 400; line-height: 1.25; margin: 22px 0 14px; }
.f-who-grid p { color: var(--muted); margin: 0; }
.f-who-grid .tri { width: 22px; height: 19px; }

/* Statement band */
.f-statement { background: var(--sage-pale); padding: 112px 0; text-align: center; }
.f-statement blockquote { margin: 0 auto; max-width: 24ch; font-family: var(--display); font-weight: 300; font-size: clamp(1.9rem, 3.8vw, 3.1rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.f-statement blockquote span { color: var(--blue); font-weight: 500; }

/* Story timeline */
.f-story .intro { max-width: 52ch; }
.timeline { list-style: none; margin: 72px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline li { position: relative; width: 50%; padding: 0 64px 56px 0; text-align: right; }
.timeline li:nth-child(even) { margin-left: 50%; padding: 0 0 56px 64px; text-align: left; }
.timeline li::after { content: ""; position: absolute; top: 6px; right: -9px; width: 18px; height: 16px; background: var(--blue); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.timeline li:nth-child(even)::after { right: auto; left: -9px; }
.timeline .t-who { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.timeline h3 { font-size: 1.3rem; font-weight: 400; margin-bottom: 8px; }
.timeline p { color: var(--muted); margin: 0; max-width: 40ch; display: inline-block; }

/* What every project holds */
.f-holds { background: var(--grid), var(--sage); padding: 104px 0; }
.f-holds .eyebrow { color: var(--ink); }
.f-holds .eyebrow::before { background: var(--white); }
.f-holds h2 { color: var(--ink); }
.holds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .45); }
.holds > div { padding: 32px 28px 0 0; }
.holds > div + div { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .45); }
.holds strong { display: block; font-family: var(--display); font-weight: 300; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--white); letter-spacing: -0.02em; line-height: 1; margin-bottom: 16px; }
.holds p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

/* Role: definition list */
.f-role { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.f-role dl { margin: 0; border-top: 1px solid var(--line); }
.f-role dl > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.f-role dt { font-family: var(--display); font-weight: 500; color: var(--ink); }
.f-role dd { margin: 0; color: var(--muted); }

/* Funding by level */
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 56px; }
.levels h3 { display: flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); padding-bottom: 16px; border-bottom: 1px solid var(--ink); margin-bottom: 8px; font-family: var(--font); }
.levels ul { list-style: none; margin: 0; padding: 0; }
.levels li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: .96rem; line-height: 1.45; }
.levels-note { margin: 32px 0 0; font-size: .82rem; color: var(--muted); }

/* Accountability band */
.f-trust { background: var(--sage-pale); }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 48px; }
.trust h3 { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; font-weight: 500; }
.trust p { color: var(--muted); margin: 0; }

/* Grants callout */
.f-grants { padding: 96px 0; }
.f-grants-inner { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; border: 1px solid var(--line); padding: 56px; position: relative; overflow: hidden; }
.f-grants-inner::after { content: ""; position: absolute; right: 0; bottom: 0; width: 180px; height: 150px; background: var(--sky); opacity: .7; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.f-grants-inner h2 { margin: 0; max-width: 12ch; }
.f-grants-inner p { color: var(--muted); margin: 0; max-width: 54ch; position: relative; z-index: 1; }

@media (max-width: 900px) {
  .f-who-grid, .trust { grid-template-columns: 1fr; gap: 40px; }
  .holds, .levels { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .holds > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .f-role { grid-template-columns: 1fr; gap: 32px; }
  .f-grants-inner { grid-template-columns: 1fr; gap: 20px; padding: 40px 28px; }
  .timeline::before { left: 8px; }
  .timeline li, .timeline li:nth-child(even) { width: auto; margin-left: 0; padding: 0 0 44px 44px; text-align: left; }
  .timeline li::after, .timeline li:nth-child(even)::after { left: 0; right: auto; }
}
@media (max-width: 720px) {
  .f-hero { padding-top: 112px; }
  .f-hero-art::before, .f-hero-art::after { display: none; }
  .holds, .levels { grid-template-columns: 1fr; }
  .holds > div, .holds > div + div { padding: 24px 0 0; border-left: 0; }
  .f-role dl > div { grid-template-columns: 1fr; gap: 6px; }
  .f-statement { padding: 80px 0; }
}
.f-hero-art img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 42%); mask-image: linear-gradient(to bottom, transparent 0, #000 42%); }
.f-trust { background: var(--white); }
.f-grants { background: var(--sage-pale); }
.f-grants-inner { background: var(--white); }

/* Board of directors */
.f-board { background: var(--sage-pale); }
.seats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 64px; }
.seat { background: var(--white); border: 1px solid var(--line); padding: 36px 32px; position: relative; overflow: hidden; }
.seat::after { content: ""; position: absolute; right: 0; bottom: 0; width: 70px; height: 60px; background: var(--sky); opacity: .6; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.seat-title { margin: 20px 0 6px; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.seat h3 { font-weight: 400; color: var(--muted); font-size: 1.15rem; }
.seat p:last-child { color: var(--muted); margin: 0; font-size: .95rem; max-width: 30ch; }
.recruiting { margin-top: 56px; }
.recruiting h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 20px; }
.recruiting ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.recruiting li { padding: 20px 24px 0 0; color: var(--muted); font-size: .94rem; }
.recruiting li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.recruiting strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.f-board .link-arrow { color: var(--blue); }
@media (max-width: 900px) {
  .seats { grid-template-columns: 1fr; }
  .recruiting ul { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .recruiting li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 720px) {
  .recruiting ul { grid-template-columns: 1fr; }
  .recruiting li, .recruiting li + li { padding: 18px 0 0; border-left: 0; }
}
.f-grants { background: var(--white); }

/* Board: open, portrait-led, community feel */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; margin-top: 72px; text-align: center; }
.director-photo { position: relative; width: 168px; height: 168px; margin: 0 auto 28px; }
.director-photo::before { content: ""; position: absolute; left: -26px; bottom: -6px; width: 96px; height: 84px; background: var(--sky); clip-path: polygon(0 100%, 100% 100%, 0 0); }
.director-photo::after { content: ""; position: absolute; right: -18px; top: -4px; width: 54px; height: 48px; background: var(--blue); opacity: .35; clip-path: polygon(100% 0, 100% 100%, 0 0); }
.director-photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 6px solid var(--white); }
.director .seat-title { margin: 0 0 6px; }
.director h3 { font-size: 1.35rem; font-weight: 400; margin-bottom: 16px; color: var(--ink); }
.director p { color: var(--muted); font-size: .97rem; max-width: 34ch; margin: 0 auto; }
.director .focus { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.director .focus .tri { width: 10px; height: 9px; }
@media (max-width: 900px) { .board { grid-template-columns: 1fr; gap: 64px; } }

/* ---------- Header option B: bold, poster-style ---------- */
.fb-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; background: var(--grid), var(--sage); padding: 120px 0 0; overflow: hidden; }
.fb-shape { position: absolute; pointer-events: none; }
.fb-shape-1 { right: 0; bottom: 0; width: 58vw; height: 78vh; background: var(--blue); clip-path: polygon(100% 0, 100% 100%, 0 100%); opacity: .9; }
.fb-shape-2 { right: 24vw; bottom: 0; width: 30vw; height: 46vh; background: var(--sky); clip-path: polygon(0 100%, 100% 100%, 100% 0); opacity: .85; }
.fb-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: end; width: 100%; }
.fb-copy { padding-bottom: 96px; }
.fb-kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 28px; font-size: .78rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--white); }
.fb-kicker .tri { background: var(--white); }
.fb-hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(3.2rem, 8.2vw, 7.6rem); line-height: .95; letter-spacing: -0.04em; color: var(--ink); margin: 0; max-width: 9ch; animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.fb-hero h1 em { font-style: normal; color: var(--white); display: block; }
.fb-lede { font-size: 1.18rem; color: var(--ink); max-width: 40ch; margin: 32px 0 0; animation: rise .9s .15s cubic-bezier(.2, .7, .2, 1) both; }
.fb-hero .hero-cta { margin: 36px 0 0; animation: rise .9s .3s cubic-bezier(.2, .7, .2, 1) both; }
.fb-hero .btn { background: var(--ink); border-color: var(--ink); }
.fb-hero .btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.fb-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 0; padding: 0; }
.fb-tags li { padding: 8px 14px; border: 1px solid rgba(31, 41, 37, .35); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: rgba(255, 255, 255, .25); }
.fb-art { align-self: end; justify-self: end; width: 100%; max-width: 640px; }
.fb-art img { width: 100%; height: auto; display: block; border: 10px solid var(--white); border-bottom: 0; box-shadow: 0 40px 80px -30px rgba(31, 41, 37, .55); animation: fade-in 1.4s .2s ease both; }
@media (max-width: 900px) {
  .fb-hero { min-height: 0; padding-top: 104px; }
  .fb-inner { grid-template-columns: 1fr; gap: 24px; }
  .fb-copy { padding-bottom: 0; }
  .fb-art { justify-self: center; max-width: 480px; }
  .fb-shape-1 { width: 90vw; height: 46vh; }
  .fb-shape-2 { right: 40vw; width: 50vw; height: 26vh; }
}
@media (prefers-reduced-motion: reduce) { .fb-hero h1, .fb-lede, .fb-hero .hero-cta, .fb-art img { animation: none; } }
.fb-hero h1 { font-size: clamp(3rem, 6.4vw, 6rem); max-width: 11ch; }
.fb-hero .btn-ghost { background: transparent; border-color: rgba(31, 41, 37, .5); color: var(--ink); }
.fb-hero .btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.fb-copy { padding-bottom: 72px; }
.fb-art { align-self: end; }
.fb-art img { max-height: 62vh; width: auto; max-width: 100%; margin-left: auto; }
.fb-hero h1 { max-width: 14ch; }
.fb-inner { grid-template-columns: 1.25fr .75fr; }
.fb-hero h1 { font-size: clamp(2.8rem, 5.6vw, 5.4rem); }
@media (max-width: 900px) { .fb-inner { grid-template-columns: 1fr; } .fb-art img { max-height: none; width: 100%; } }

/* Mixed-use building */
.f-mixed { background: var(--white); }
.f-mixed-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.mixed-points { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.mixed-points li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.mixed-points .tri { flex: none; width: 12px; height: 10px; }
.building { position: relative; max-width: 500px; justify-self: center; width: 100%; padding-top: 28px; }
.building::before { content: ""; position: absolute; right: -36px; top: 0; width: 120px; height: 104px; background: var(--sky); clip-path: polygon(100% 0, 100% 100%, 0 0); opacity: .8; }
.floor { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 22px; height: 64px; margin: 0 24px; border: 1px solid var(--white); border-bottom: 0; color: var(--white); font-size: .86rem; font-weight: 600; }
.floor em { font-style: normal; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .75; text-align: right; }
.f-roof { margin: 0 64px; height: 44px; background: var(--sage); color: var(--ink); justify-content: center; }
.f-homes { background: var(--blue); }
.f-live { background: #5b7ea6; }
.f-care { background: var(--navy); height: 76px; }
.f-street { background: var(--stone); color: var(--ink); height: 76px; }
.plaza { height: 40px; background: var(--sage-pale); border-top: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .f-mixed-inner { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 720px) { .floor { margin: 0 8px; padding: 0 14px; font-size: .8rem; } .f-roof { margin: 0 36px; } .floor em { display: none; } .building::before { right: 0; } }
.nav-links a, .logo { white-space: nowrap; }

/* Foundation contact: light and open */
.foundation .contact { background: var(--grid), var(--sage-pale); color: var(--ink-soft); }
.foundation .contact { --grid: linear-gradient(rgba(148, 159, 149, .18) 1px, transparent 1px) 0 0 / 64px 64px, linear-gradient(90deg, rgba(148, 159, 149, .18) 1px, transparent 1px) 0 0 / 64px 64px; }
.foundation .contact h2 { color: var(--ink); }
.foundation .contact .eyebrow { color: var(--blue); }
.foundation .contact .contact-direct a { color: var(--blue); }
.foundation .contact .contact-place { color: var(--muted); }
.foundation .contact .form { box-shadow: 0 30px 60px -36px rgba(31, 41, 37, .35); }

/* Four-seat board */
.board { grid-template-columns: repeat(4, 1fr); gap: 40px; }
.director p { max-width: 30ch; }
.director-photo.initials { display: grid; place-items: center; }
.director-photo.initials span { position: relative; z-index: 1; width: 100%; height: 100%; display: grid; place-items: center; border-radius: 50%; border: 6px solid var(--white); background: var(--blue); color: var(--white); font-family: var(--display); font-size: 2.6rem; font-weight: 300; letter-spacing: .06em; }
@media (max-width: 1100px) { .board { grid-template-columns: 1fr 1fr; row-gap: 64px; } }
@media (max-width: 720px) { .board { grid-template-columns: 1fr; } }

/* ---------- Foundation palette: white and sky blue (Capital keeps the sage green) ---------- */
.foundation { --sage-pale: #eef3f7; --line: #dbe3ea; --deep: #22384f; --fgrid: linear-gradient(rgba(70, 112, 154, .08) 1px, transparent 1px) 0 0 / 64px 64px, linear-gradient(90deg, rgba(70, 112, 154, .08) 1px, transparent 1px) 0 0 / 64px 64px; }
.foundation .fb-hero { background: var(--fgrid), var(--white); }
.foundation .fb-kicker { color: var(--blue); }
.foundation .fb-kicker .tri { background: var(--blue); }
.foundation .fb-hero h1 em { color: var(--blue); }
.foundation .fb-lede { color: var(--ink-soft); }
.foundation .fb-tags li { background: var(--white); border-color: var(--line); color: var(--ink); }
.foundation .fb-hero .btn { background: var(--blue); border-color: var(--blue); }
.foundation .fb-hero .btn:hover { background: var(--deep); border-color: var(--deep); }
.foundation .fb-hero .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.foundation .fb-art img { max-height: 76vh; border-width: 8px; }
.foundation .fb-shape-1 { opacity: .95; }
.foundation .fb-shape-2 { background: var(--sky); opacity: 1; }
.foundation .nav.scrolled { background: rgba(34, 56, 79, .97); }
.foundation .f-holds { background: var(--blue); }
.foundation .f-holds h2, .foundation .f-holds .eyebrow { color: var(--white); }
.foundation .f-holds .eyebrow::before { background: var(--sky); }
.foundation .holds { border-color: rgba(255, 255, 255, .35); }
.foundation .holds > div + div { border-color: rgba(255, 255, 255, .35); }
.foundation .holds p { color: rgba(255, 255, 255, .8); }
.foundation .contact { background: var(--fgrid), var(--sage-pale); }
.foundation .footer { background: var(--deep); }
.foundation .footer .tagline, .foundation .logo span { color: var(--sky); }
.foundation .nav:not(.scrolled) .logo span { color: var(--blue); }
.foundation .f-mixed .f-roof { background: var(--sky); }
@media (max-width: 720px) { .foundation .nav-links { background: var(--deep); } }
.director { display: flex; flex-direction: column; align-items: center; }
.director .focus { margin-top: auto; }
.director > p:not(.seat-title):not(.focus) { margin-bottom: 20px; }
.director .seat-title { min-height: 2.6em; display: flex; align-items: flex-end; justify-content: center; }
