/* =========================================================================
   Malhotra Ventures: editorial warm-neutral design system
   Rebuilt from design_handoff_malhotra_site/ ("Eleos" reference).
   Plain CSS, desktop-first with breakpoints at 1024 / 860 / 480.
   ========================================================================= */

:root {
  /* Color: matched to boldcommunities.org (white + sage green) */
  --paper:        #FFFFFF;  /* canvas (Bold white) */
  --ink:          #141413;  /* primary text / logo (near-black) */
  --body:         #4B4A43;  /* body text (warm olive-gray, ~Bold #59584b) */
  --muted:        #6C6A61;
  --label:        #8A8980;  /* small mono labels */
  --rule-faint:   #B6BBB3;
  --hair:         #E6E6E0;  /* hairlines */
  --hair-2:       #DDDCD5;
  --amber:        #728A74;  /* sage-green accent (Bold): numbers, links, hover */
  --gold:         #9CB19E;  /* light sage: on dark */
  --warm-amber:   #5D7A5F;
  --red:          #CA2A2A;  /* sharp emphasis accent (Bold), used sparingly */

  --dark:         #2C352D;  /* deep sage band */
  --dark-border:  #3A463B;
  --dark-border2: #4D5B4E;
  --dark-text:    #D4DBD3;
  --dark-text2:   #BAC4B9;
  --dark-label:   #97A698;

  /* Type */
  --sans: 'Nunito Sans', system-ui, -apple-system, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;

  /* Layout */
  --maxw: 1440px;
  --pad: clamp(20px, 4vw, 40px);
}

/* ---- Reset / base ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--ink); color: var(--paper); }

/* ---- Under-construction password gate ---- */
.gate {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--dark); color: var(--paper); padding: 24px var(--pad);
}
.mv-unlocked .gate { display: none; }
body.gated { overflow: hidden; }
.gate__inner { width: 100%; max-width: 440px; }
.gate__mark { width: 44px; height: auto; margin: 0 auto 26px; opacity: .92; }
.gate__title { font-size: clamp(32px, 6vw, 58px); font-weight: 500; letter-spacing: -.025em; line-height: 1.02; }
.gate__text { margin-top: 16px; font-size: 16px; line-height: 1.6; color: var(--dark-text); }
.gate__form { margin-top: 28px; display: flex; gap: 10px; }
.gate__input {
  flex: 1 1 auto; min-width: 0; background: transparent; border: 1px solid var(--dark-border2);
  color: var(--paper); padding: 13px 15px; border-radius: 5px; font-size: 16px;
  font-family: var(--sans); outline: none; transition: border-color .2s ease;
}
.gate__input::placeholder { color: var(--dark-label); }
.gate__input:focus { border-color: var(--gold); }
.gate__btn {
  flex: 0 0 auto; background: var(--paper); color: var(--ink); border: 0;
  padding: 13px 24px; border-radius: 5px; font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background .2s ease;
}
.gate__btn:hover { background: #fff; }
.gate__error { margin-top: 14px; font-size: 14px; color: #E7A6A0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }

/* Justify body/prose copy throughout (hyphens reduce the gaps justify creates). */
.approach__lead,
.appr-desc p,
.pillar__body,
.card__desc,
.founder__tag,
.founder__text,
.stats__note,
.board__text,
.model__lead,
.partner__lead {
  text-align: justify;
  hyphens: auto;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px; border-radius: 0 0 6px 0; font-size: 14px;
}
.skip-link:focus { left: 0; }

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

/* ---- Shared bits ---- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(72px, 9vw, 120px) var(--pad); }
/* Approach flows straight into Current Developments — trim the gap between them. */
.approach.section { padding-bottom: clamp(40px, 5vw, 64px); }

/* Uniform section label used throughout (no leading rule/dash). */
.eyebrow {
  font-family: var(--mono); font-size: 14px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--label);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow__rule { display: none; }
.eyebrow--dark { color: var(--dark-label); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; letter-spacing: .02em; line-height: 1;
  padding: 16px 30px; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease;
  font-family: var(--sans);
}
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: #2f2f2d; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }

/* arched image mask: the signature motif */
.arch {
  overflow: hidden;
  border-radius: 1000px 1000px 6px 6px / 360px 360px 6px 6px;
  background: #E7EAE5;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 16px var(--pad);
  color: var(--paper);
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
}
/* Once scrolled past the hero, fade in a translucent dark backdrop (with blur)
   so the header text sits on its own layer and never overlaps page content. */
.site-header.scrolled {
  background: rgba(28, 34, 29, .62);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom-color: rgba(255, 255, 255, .12);
}
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: clamp(10px, 1.4vw, 16px); }
.brand__mark { height: clamp(28px, 3.2vw, 52px); width: auto; flex-shrink: 0; }
.brand__word {
  font-size: clamp(20px, 2.6vw, 40px); font-weight: 600; letter-spacing: .12em;
  white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.navlink {
  position: relative; font-size: clamp(14px, 1.5vw, 18px); letter-spacing: .04em;
}
.navlink::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0;
  background: currentColor; transition: width .35s cubic-bezier(.4,0,.2,1);
}
.navlink:hover::after, .navlink[aria-current="page"]::after { width: 100%; }
.nav-pill {
  font-size: clamp(14px, 1.5vw, 18px); letter-spacing: .03em;
  border: 1px solid currentColor; padding: 12px 24px; border-radius: 100px;
  transition: background .2s ease, color .2s ease;
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px;
  align-items: center; justify-content: center; background: none; border: 0;
  cursor: pointer; color: inherit;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .25s ease, opacity .25s ease; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.hero__media { position: absolute; inset: 0; overflow: hidden; background: var(--dark); }
/* Crossfading background videos stack over the dark backdrop; only the .is-visible
   one is shown, and the script fades between them (FADE in JS = this duration). */
.hero__video {
  position: absolute; inset: 0; display: block;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero__video.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__video { transition: none; } }

.hero__scrim-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(15,14,9,.6) 0%, rgba(15,14,9,.12) 26%, rgba(15,14,9,.2) 60%, rgba(15,14,9,.82) 100%);
}
.hero__scrim-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 82% 60% at 50% 42%, rgba(15,14,9,.84) 0%, rgba(15,14,9,.55) 38%, rgba(15,14,9,.12) 66%, rgba(15,14,9,0) 80%);
}
.hero__inner {
  position: relative; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  gap: 44px; padding: 112px var(--pad) 56px; color: var(--paper);
}
.hero__title {
  margin: 0;
  /* Scales with viewport so "BRIDGING THE HOUSING GAP" stays on ONE line. */
  font-size: clamp(32px, 6vw, 88px); font-weight: 500; line-height: .98;
  letter-spacing: -.025em; white-space: nowrap;
  text-shadow: 0 2px 40px rgba(15,14,9,.65), 0 1px 6px rgba(15,14,9,.5);
}
.hero__sub {
  display: block; max-width: 640px; margin: .5em auto 0; font-size: clamp(15px, 2vw, 26px);
  font-weight: 400; letter-spacing: -.01em; opacity: .68; line-height: 1.25;
  white-space: normal; text-wrap: balance; /* the tagline still wraps normally */
}
/* Let the headline wrap once the screen is too narrow for one line. */
@media (max-width: 600px) { .hero__title { white-space: normal; text-wrap: balance; } }
.hero__down {
  display: inline-flex; align-items: center; justify-content: center;
  width: 88px; height: 88px; border-radius: 50%;
  border: 1px solid rgba(236,232,223,.6); color: var(--paper); font-size: 28px;
  transition: background .25s ease, transform .25s ease;
}
.hero__down:hover { background: rgba(236,232,223,.14); transform: translateY(3px); }

/* =========================================================================
   OUR APPROACH: two columns; the accordion fills the column height so the
   collapsed steps no longer leave a blank gap below them.
   ========================================================================= */
.approach__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.approach__left { display: flex; flex-direction: column; }
.approach__headline {
  margin: 0; font-size: clamp(26px, 2.9vw, 46px); line-height: 1.08; letter-spacing: -.02em;
}
.approach__lead { margin: 30px 0 0; font-size: 17px; line-height: 1.62; color: var(--body); max-width: 480px; }
.approach__photo {
  margin-top: 40px; flex: 1 1 auto; min-height: 300px; border-radius: 6px; overflow: hidden; background: #E7EAE5;
}
.approach__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Large "Approach" heading sits above the accordion; the steps fill the rest. */
.approach__right { display: flex; flex-direction: column; }
.approach__label {
  margin: 0 0 clamp(22px, 2.2vw, 34px); font-size: clamp(34px, 4vw, 64px);
  font-weight: 500; line-height: 1; letter-spacing: -.025em;
}
/* Distribute the four steps across the full column height (matches the left
   column's photo), so there is no dead space under the last collapsed step. */
.approach__steps {
  flex: 1 1 auto;
  border-bottom: 1px solid var(--hair);
  display: flex; flex-direction: column; justify-content: space-between;
}
.appr-step {
  display: flex; gap: 18px; padding: clamp(18px, 1.8vw, 26px) 0;
  border-top: 1px solid var(--hair); flex: 1 1 auto;
}
.appr-num {
  font-family: var(--mono); font-size: 13px; color: var(--amber);
  flex-shrink: 0; width: 26px; padding-top: 3px; transition: color .3s ease;
}
.appr-body { flex: 1; align-self: center; }
.appr-title {
  font-size: 16px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); line-height: 1.28; transition: color .3s ease; cursor: default;
}
.appr-desc {
  display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows .45s cubic-bezier(.4,0,.2,1), opacity .35s ease;
}
.appr-desc > div { overflow: hidden; min-height: 0; }
.appr-desc p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
/* hover (desktop) and .is-open (tap/keyboard) both expand */
.appr-step:hover .appr-desc,
.appr-step.is-open .appr-desc { grid-template-rows: 1fr; opacity: 1; }
.appr-step:hover .appr-num, .appr-step:hover .appr-title,
.appr-step.is-open .appr-num, .appr-step.is-open .appr-title { color: var(--amber); }

/* =========================================================================
   CURRENT DEVELOPMENTS (rail)
   ========================================================================= */
.devs { padding: 0 0 clamp(48px, 6vw, 80px); }
.devs__head {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.devs__headline { margin: 0; font-size: clamp(28px, 3.4vw, 54px); line-height: 1; letter-spacing: -.025em; }
.devs__meta { display: flex; align-items: center; gap: 28px; padding-bottom: 6px; }
.devs__all { font-size: 14px; letter-spacing: .03em; }

/* Responsive grid: 3 across on wide screens, reflowing to 2 then 1 as the
   window narrows. minmax(min(320px,100%),1fr) keeps it from overflowing on
   very small screens. */
.devs__grid {
  margin: 48px auto 0; max-width: var(--maxw); padding: 4px var(--pad);
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}
.card { min-width: 0; }
.card:focus { outline: none; }
.card:focus-visible .card__media { outline: 2px solid var(--amber); outline-offset: 3px; }
.card__media {
  position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; background: #E7EAE5;
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s ease;
}
.card:hover .card__media, .card:focus-within .card__media {
  transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(15,14,9,.55);
}
.card__media img, .card__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.card__video { transition: transform 1.1s cubic-bezier(.16,1,.3,1); }
.card:hover .card__video, .card:focus-within .card__video { transform: scale(1.05); }
.card__status {
  position: absolute; top: 16px; left: 16px; z-index: 2; font-family: var(--mono); font-size: 11px; letter-spacing: .06em;
  background: rgba(15,14,9,.55); color: var(--paper); padding: 6px 11px; border-radius: 100px; backdrop-filter: blur(4px);
}
.card__idx { position: absolute; top: 16px; right: 16px; z-index: 2; font-family: var(--mono); font-size: 11px; color: rgba(236,232,223,.85); }

/* Detail overlay — slides up over the media on hover / focus */
.card__overlay {
  position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-end; padding: 24px;
  background: linear-gradient(to top, rgba(15,14,9,.92) 0%, rgba(15,14,9,.74) 40%, rgba(15,14,9,0) 80%);
  opacity: 0; transition: opacity .4s ease;
}
.card:hover .card__overlay, .card:focus-within .card__overlay, .card.is-playing .card__overlay { opacity: 1; }
.card__overlay-inner { transform: translateY(16px); transition: transform .45s cubic-bezier(.16,1,.3,1); }
.card:hover .card__overlay-inner, .card:focus-within .card__overlay-inner, .card.is-playing .card__overlay-inner { transform: translateY(0); }
.card__desc { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(236,232,223,.92); }
.card__facts {
  list-style: none; margin: 16px 0 0; padding: 14px 0 0; display: flex; gap: 26px;
  border-top: 1px solid rgba(236,232,223,.22);
}
.card__facts li { display: flex; flex-direction: column; gap: 5px; }
.card__facts span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(236,232,223,.6); }
.card__facts strong { font-size: 18px; font-weight: 500; letter-spacing: -.01em; color: var(--paper); }

.card__row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 18px; gap: 16px; }
.card__name { font-size: 22px; letter-spacing: -.01em; }
.card__units { font-family: var(--mono); font-size: 12px; color: var(--label); white-space: nowrap; }

/* Touch devices have no hover: keep the details visible instead of hidden. */
@media (hover: none) {
  .card__overlay { opacity: 1; }
  .card__overlay-inner { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .card__media, .card__video, .card__overlay-inner { transition: none; }
  .card:hover .card__media, .card:focus-within .card__media { transform: none; }
  .card:hover .card__video, .card:focus-within .card__video { transform: none; }
  .card__overlay-inner { transform: none; }
}

/* =========================================================================
   ADVISORY (dark "model")
   ========================================================================= */
.model { background: var(--dark); color: var(--paper); padding: clamp(44px, 5.5vw, 72px) var(--pad); }
.model__inner { max-width: var(--maxw); margin: 0 auto; }
/* Compact header: headline (left) + supporting copy (right), bottom-aligned. */
.model__intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 88px); align-items: end; }
.model__headline { margin: 14px 0 0; font-size: clamp(28px, 3.2vw, 50px); line-height: 1.04; letter-spacing: -.025em; }
.model__lead { margin: 0; font-size: 17px; line-height: 1.62; color: var(--dark-text); }
.model__link {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: .03em;
  border-bottom: 1px solid rgba(236,232,223,.4); padding-bottom: 6px;
}
.model__link:hover { border-color: var(--gold); color: var(--gold); }

.disc { margin-top: clamp(36px, 4.5vw, 52px); }
.disc__label {
  font-family: var(--mono); font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); padding-bottom: 18px; border-bottom: 1px solid var(--dark-border2); margin-bottom: 1px;
}
.disc__grid { display: grid; gap: 1px; background: var(--dark-border); border: 1px solid var(--dark-border); border-radius: 4px; overflow: hidden; }
.disc__grid--4 { grid-template-columns: repeat(4, 1fr); }
.disc__grid--3 { grid-template-columns: repeat(3, 1fr); }
.pillar { background: var(--dark); padding: 36px 30px 42px; }
.pillar__num { font-family: var(--mono); font-size: 12px; color: var(--dark-label); }
.pillar__title { margin: 20px 0 0; font-size: 21px; letter-spacing: -.01em; }
.pillar__body { margin: 14px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--dark-text2); }

/* Light variant of the discipline grid — used inside the Approach (light) section */
.disc--light .disc__label { color: var(--label); border-bottom-color: var(--hair-2); }
.disc--light .disc__grid { background: var(--hair); border-color: var(--hair); }
.disc--light .pillar { background: var(--paper); }
.disc--light .pillar__num { color: var(--label); }
.disc--light .pillar__title { color: var(--ink); }
.disc--light .pillar__body { color: var(--body); }

/* =========================================================================
   ABOUT / FOUNDER
   ========================================================================= */
/* Tighten the space above this section (its content starts with the stat ticker). */
.about.section { padding-top: clamp(40px, 5vw, 64px); }
.about__head { max-width: 760px; }
.about__title { margin: 0; font-size: clamp(34px, 4vw, 64px); font-weight: 500; line-height: 1; letter-spacing: -.025em; color: var(--ink); }

/* Founder row: vertical stat panel (left) | portrait | bio */
.founder {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: clamp(170px, 16vw, 210px) clamp(240px, 25vw, 330px) 1fr;
  grid-template-areas: "stats image bio";
  gap: clamp(28px, 3.5vw, 48px);
  align-items: start;
}
.founder__stats { grid-area: stats; }
.founder__media { grid-area: image; max-width: 340px; }
.founder__body { grid-area: bio; }
.founder__media .arch { aspect-ratio: 1/1; border-radius: 50%; }
.founder__media .arch img { object-position: center top; } /* show the head, not the torso */
.founder__name { margin: 22px 0 0; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.01em; }
.founder__tag { margin: 14px 0 0; font-size: 18px; line-height: 1.5; color: var(--ink); }
.founder__text { margin: 18px 0 0; font-size: 16px; line-height: 1.65; color: var(--body); }

/* =========================================================================
   WHO WE ARE — stat ticker
   ========================================================================= */
.stats { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair-2); border: 1px solid var(--hair-2); border-radius: 4px; overflow: hidden; }
.stat { background: var(--paper); padding: 40px 34px; }
.stat__value { font-size: clamp(44px, 6vw, 84px); font-weight: 500; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.stat__plus { color: var(--amber); }
.stat__label { margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--label); }
/* Vertical stat panel (Who We Are founder row): stacked, smaller numbers */
.stats--vertical { margin-top: 0; grid-template-columns: 1fr; }
.stats--vertical .stat { padding: 22px 24px; }
.stats--vertical .stat__value { font-size: clamp(30px, 3vw, 44px); }
.stats--vertical .stat__label { margin-top: 10px; }
/* Note sits under the ticker, constrained to the stats column width. */
.stats__note { margin-top: 16px; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* Prior Experience Across California — location map (ported from the design handoff).
   Reuses the site's Nunito Sans (--sans) and uniform section header (.camap__title is
   added to the shared header rule below); the SVG keeps the handoff's exact geometry/colors. */
.camap { max-width: 900px; margin: clamp(32px, 4vw, 56px) auto 0; }
.camap__title { margin: 0 0 16px; }
.camap__svg { width: 100%; height: auto; display: block; }

/* Advisory board */
.board { margin-top: clamp(56px, 7vw, 88px); }
.board__grid { margin-top: clamp(22px, 3vw, 34px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.board__photo { width: clamp(124px, 14vw, 168px); aspect-ratio: 1/1; border-radius: 50%; overflow: hidden; background: #E7EAE5; margin-bottom: 20px; }
.board__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.board__name { margin: 0; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -.01em; }
.board__role { margin: 8px 0 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--label); }
.board__text { margin: 14px 0 0; font-size: 16px; line-height: 1.65; color: var(--body); }

/* =========================================================================
   PARTNER
   ========================================================================= */
.partner__head { max-width: 760px; }
.partner__headline { margin: 24px 0 0; font-size: clamp(26px, 3vw, 44px); line-height: 1.1; letter-spacing: -.02em; }
.partner__lead { margin: 24px 0 0; font-size: 17px; line-height: 1.62; color: var(--body); }

/* Thin hero image band behind the Partner With Us heading (dark scrim keeps text legible). */
.partner__head--hero {
  position: relative; max-width: none; overflow: hidden; border-radius: 8px;
  background: var(--dark); color: var(--paper);
}
.partner__head-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.partner__head-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,14,9,.9) 0%, rgba(15,14,9,.55) 100%); }
.partner__head-inner { position: relative; max-width: 720px; padding: clamp(34px, 4.5vw, 56px) clamp(26px, 4vw, 52px); }
.partner__head--hero .partner__heading,
.partner__head--hero .partner__headline { color: var(--paper); }
.partner__head--hero .partner__lead { color: var(--dark-text); }
.partner__grid { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(40px, 6vw, 72px); align-items: start; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-field { display: block; }
/* Vertical spacing only between top-level form blocks — NOT between the two
   fields inside a .form-row (that would push the right column down). */
form > .form-field + .form-field,
form > .form-row + .form-field,
form > .form-field + .form-row,
form > .form-row + .form-row { margin-top: 24px; }
.form-field label {
  display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--label); margin-bottom: 8px;
}
.form-field .req { color: var(--amber); }
.form-field .opt { opacity: .6; text-transform: none; letter-spacing: 0; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid #CFD3CB;
  padding: 9px 0; font-size: 16px; font-family: var(--sans); color: var(--ink);
  outline: none; border-radius: 0; transition: border-color .2s ease;
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field select {
  appearance: none; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238A8980' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right .2em center;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--amber); }
.form-error { display: none; margin: 8px 0 0; font-size: 12.5px; color: var(--red); }
.form-field.invalid input, .form-field.invalid select, .form-field.invalid textarea { border-color: var(--red); }
.form-field.invalid .form-error { display: block; }
form button[type="submit"] { margin-top: 32px; }

.form-status { display: none; margin-bottom: 8px; padding: 14px 18px; border-radius: 6px; font-size: 14.5px; line-height: 1.5; }
.form-status.show { display: block; }
.form-status.success { background: #E7EDE4; color: #3f5a3a; }
.form-status.error { background: #F7E3E1; color: #A32A1C; }

.contact { border-top: 1px solid var(--hair); padding-top: 28px; }
.contact__title { font-family: var(--mono); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--label); font-weight: 400; }
.contact__list { margin: 22px 0 0; }
.contact__list > div + div { margin-top: 22px; }
.contact__list dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--label); }
.contact__list dd { margin: 6px 0 0; font-size: 17px; color: var(--ink); line-height: 1.5; }
.contact__list dd a:hover { color: var(--amber); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--dark); color: var(--paper); padding: clamp(64px, 8vw, 100px) var(--pad) 40px; }
.site-footer .eyebrow { color: var(--dark-label); }
.site-footer__inner { max-width: var(--maxw); margin: 0 auto; }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: end; padding-bottom: 56px; border-bottom: 1px solid var(--dark-border2); }
.site-footer__big { margin: 22px 0 0; font-size: clamp(40px, 7vw, 120px); line-height: .92; letter-spacing: -.03em; }
.site-footer__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.site-footer__email { font-size: 18px; }
.site-footer__email:hover { color: var(--amber); }
.site-footer__phone { font-size: 16px; color: var(--dark-text); }
.site-footer__addr { font-family: var(--mono); font-size: 12.5px; color: var(--dark-label); line-height: 1.6; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; align-items: center; padding-top: 32px; }
.site-footer__word { font-size: 20px; font-weight: 600; letter-spacing: .12em; }
.site-footer__nav { display: flex; gap: 28px; font-family: var(--mono); font-size: 13px; flex-wrap: wrap; }
.site-footer__nav a:hover { color: var(--amber); }
.site-footer__copy { font-family: var(--mono); font-size: 12px; color: var(--dark-label); }

/* =========================================================================
   Uniform section headers — same size + Title Case across every section.
   (Placed last so it wins over the per-section font sizes above.)
   ========================================================================= */
.approach__label,
.about__title,
.devs__headline,
.disc__label,
.board__heading,
.partner__heading,
.camap__title {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(26px, 3vw, 42px); line-height: 1.05; letter-spacing: -.02em;
  text-transform: none; color: var(--ink);
}
/* Disc labels were small bordered kickers — clear that for the header look. */
.disc__label { border-bottom: none; padding-bottom: 0; margin-bottom: clamp(20px, 2.4vw, 30px); }
.disc--light .disc__label { color: var(--ink); }
#advisory .disc__label { color: var(--paper); }
/* The two header labels that were eyebrows: drop the flex/gap residue. */
.board__heading, .partner__heading { display: block; gap: 0; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .disc__grid--4 { grid-template-columns: repeat(2, 1fr); }
  /* Stats + portrait on top, bio full-width below. */
  .founder { grid-template-columns: clamp(150px, 22vw, 200px) 1fr; grid-template-areas: "stats image" "bio bio"; }
}

@media (max-width: 860px) {
  /* Mobile nav: solid dropdown panel below a translucent dark bar */
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 56px 0 auto 0; flex-direction: column; align-items: flex-start;
    gap: 4px; background: var(--paper); color: var(--ink); padding: 16px var(--pad) 28px;
    border-bottom: 1px solid var(--hair-2); transform: translateY(-130%);
    transition: transform .32s cubic-bezier(.4,0,.2,1); box-shadow: 0 18px 40px rgba(15,14,9,.14);
  }
  .nav[data-open="true"] { transform: translateY(0); }
  .navlink { font-size: 20px; padding: 12px 0; width: 100%; }
  .nav-pill { margin-top: 10px; font-size: 16px; }
  body.menu-open { overflow: hidden; }

  .approach__grid { grid-template-columns: 1fr; }
  /* On a single column the photo height is fixed and the steps return to
     natural spacing (no need to stretch against the photo). */
  .approach__photo { flex: 0 0 auto; height: clamp(240px, 56vw, 360px); }
  .approach__steps { justify-content: flex-start; }
  .appr-step { flex: 0 0 auto; }
  .appr-body { align-self: flex-start; }
  .disc__grid--3 { grid-template-columns: 1fr; }
  .model__intro { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .founder { grid-template-columns: 1fr; grid-template-areas: "stats" "image" "bio"; }
  .founder__media .arch { aspect-ratio: 1/1; max-width: 320px; }
  .partner__grid { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .disc__grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .board__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .form-field + .form-field { margin-top: 24px; }
  .hero__down { width: 72px; height: 72px; }
}
