/* ============================================================
   Brooks Capital Partners — brookscapitalpartners.com
   Palette: Onyx #111111 · Charcoal #1A1A1A · Ink #2A2A2E
            Gold #B08D4A · Warm Gray #F7F5F2 · White #FFFFFF
   Type:    Cormorant Garamond (display) · Inter (body)
   ============================================================ */

:root {
  --onyx: #111111;
  --charcoal: #1a1a1a;
  --ink: #2a2a2e;
  --gold: #b08d4a;
  --gold-soft: #c8a866;
  --warm: #f7f5f2;
  --white: #ffffff;
  --gray: #8a8a86;
  --line: #e4e1db;
  --line-dark: #333333;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --maxw: 1440px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Type scale ---------- */
h1, h2, h3, .display { font-family: var(--serif); font-weight: 500; line-height: 1.12; color: inherit; }
h1 { font-size: clamp(2.75rem, 7vw, 5.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.005em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.25rem;
}

.lede { font-size: 1.125rem; line-height: 1.8; color: var(--gray); max-width: 42rem; }
.on-dark .lede { color: #b9b7b2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.1rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--onyx);
  transition: background 0.25s ease, color 0.25s ease;
  cursor: pointer;
}
.btn:hover { background: transparent; color: var(--gold); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.textlink {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.textlink .arrow { transition: transform 0.25s ease; }
.textlink:hover .arrow { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  padding: 1.4rem 0;
}
.site-header.on-light { background: rgba(255,255,255,0.96); box-shadow: 0 1px 0 var(--line); }
.site-header.on-light .nav-link { color: var(--ink); }
.site-header.on-light .wordmark { color: var(--onyx); }
.site-header.scrolled { background: rgba(17,17,17,0.96); box-shadow: 0 1px 0 rgba(255,255,255,0.06); padding: 1rem 0; }
.site-header.on-light.scrolled { background: rgba(255,255,255,0.97); box-shadow: 0 1px 0 var(--line); }
.site-header.on-light.scrolled .nav-link { color: var(--ink); }

.header-inner { display: flex; align-items: center; justify-content: space-between; }

/* Logo image */
.logo-img { height: 82px; width: auto; display: block; }
.site-footer .logo-img { height: 60px; }
@media (max-width: 900px) { .logo-img { height: 56px; } }


/* Wordmark (typed) */
.wordmark { color: var(--white); line-height: 1; }
.wordmark .wm-primary {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  display: block;
}
.wordmark .wm-rule { display: block; height: 1px; background: currentColor; opacity: 0.6; margin: 0.35rem 0; }
.wordmark .wm-secondary {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: var(--gold);
  display: block;
}

.nav { display: flex; align-items: center; gap: 2.1rem; margin-left: auto;
  margin-right: min(0px, calc((var(--maxw) - 100vw) / 2 + 2rem)); }
.nav .btn { margin-left: 1.4rem; }
.nav-link {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding-bottom: 3px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--gold); }
.nav .btn { padding: 0.8rem 1.6rem; }

/* Dropdown */
.nav-item { position: relative; }
.nav-item .caret { font-size: 0.6em; opacity: 0.7; margin-left: 0.2rem; }
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 1.15rem; opacity: 0; visibility: hidden; transition: opacity 0.2s ease; z-index: 120; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; }
.dropdown-inner { background: #141414; border: 1px solid #2c2c2c; min-width: 205px; padding: 0.5rem 0; }
.dropdown-inner a { display: block; padding: 0.75rem 1.5rem; font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: #d5d3cf; white-space: nowrap; transition: color 0.2s ease, background 0.2s ease; }
.dropdown-inner a:hover { color: var(--gold); background: rgba(255,255,255,0.04); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; z-index: 110; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); margin: 6px 0; transition: 0.3s; }
.on-light .nav-toggle span { background: var(--onyx); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #111111;
  padding: 9rem 0 6rem;
}
.hero::before {
  content: "";
  position: absolute; inset: -4%;
  background:
    url("../img/hero.jpg") center/cover no-repeat,
    radial-gradient(ellipse at 75% 30%, #262420 0%, #111111 65%);
  animation: kenburns 24s ease-in-out infinite alternate;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(10,10,10,0.92) 0%, rgba(17,17,17,0.72) 55%, rgba(17,17,17,0.55) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
@keyframes kenburns {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.08) translateY(-2%); }
}
.hero-content { max-width: 46rem; }
/* Hero shares the header's column: "Disciplined" aligns exactly with the logo's left edge.
   width:100% is required because .hero is a flex parent — without it the container
   shrinks to its content and centers, which is the misalignment we saw. */
.hero .container { width: 100%; }
.hero h1 { margin: 0.5rem 0 2rem; }
.hero .lede { color: #c9c7c2; margin-bottom: 3rem; }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.section--dark { background: var(--charcoal); color: var(--white); }
.section--darker { background: var(--onyx); color: var(--white); }
.section--warm { background: var(--warm); }
.section-head { max-width: 48rem; margin-bottom: clamp(3rem, 6vw, 5rem); }

/* ---------- Fact band ---------- */
.factband { background: var(--onyx); color: var(--white); padding: 3.5rem 0; border-top: 1px solid rgba(255,255,255,0.06); }
.factband-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.fact { text-align: center; padding: 0 1rem; position: relative; }
.fact + .fact::before {
  content: "";
  position: absolute;
  left: -1rem; top: 15%; bottom: 15%;
  width: 1px;
  background: rgba(255,255,255,0.12);
}
.fact-value { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--gold); line-height: 1.2; }
.fact-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: #a9a7a2; margin-top: 0.6rem; }

/* ---------- Platform cards ---------- */
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.card-strategy {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card-strategy:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(17,17,17,0.18); }
.card-strategy .card-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.card-strategy:hover .card-bg { transform: scale(1.04); }
.card-strategy--mf .card-bg {
  background-image: linear-gradient(180deg, rgba(17,17,17,0.15) 0%, rgba(17,17,17,0.88) 100%), url("../img/multifamily.jpg"), linear-gradient(160deg, #3a352c 0%, #1a1a1a 80%);
}
.card-strategy--sf .card-bg {
  background-image: linear-gradient(180deg, rgba(17,17,17,0.15) 0%, rgba(17,17,17,0.88) 100%), url("../img/residential.jpg"), linear-gradient(200deg, #2c3038 0%, #1a1a1a 80%);
}
.card-body { position: relative; padding: 2.75rem; }
.card-body h3 { margin-bottom: 0.9rem; }
.card-body p { color: #c9c7c2; font-size: 0.98rem; margin-bottom: 1.6rem; max-width: 30rem; }

/* ---------- Approach ---------- */
.approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.step { border-top: 1px solid var(--line); padding-top: 1.75rem; }
.section--dark .step, .section--darker .step { border-top-color: var(--line-dark); }
.step-num { font-family: var(--serif); font-size: 1rem; color: var(--gold); letter-spacing: 0.1em; }
.step h3 { margin: 0.8rem 0 0.9rem; }
.step p { font-size: 0.95rem; color: var(--gray); }
.section--dark .step p { color: #a9a7a2; }

/* ---------- Quote ---------- */
.quote-section { text-align: center; }
.quote-mark { font-family: var(--serif); font-size: 4rem; color: var(--gold); line-height: 0.5; display: block; margin-bottom: 1.5rem; }
blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.45;
  max-width: 52rem;
  margin: 0 auto 2rem;
}
.quote-attr { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gray); }

/* Rotating quotes */
.quote-stack { display: grid; }
.quote-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: opacity 1.1s ease, transform 1.1s ease, visibility 1.1s; }
.quote-slide.active { opacity: 1; visibility: visible; transform: translateY(0); }
.quote-slide blockquote { margin-bottom: 1.75rem; }
.quote-dots { display: flex; justify-content: center; gap: 0.7rem; margin-top: 2.75rem; }
.quote-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.22); cursor: pointer; transition: background 0.4s ease, transform 0.4s ease; }
.quote-dot.active { background: var(--gold); transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) { .quote-slide { transition: none; } }

/* ---------- Split (text + visual) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split-visual {
  min-height: 460px;
  background:
    linear-gradient(180deg, rgba(17,17,17,0.05) 0%, rgba(17,17,17,0.2) 100%),
    url("../img/about.jpg") center/cover no-repeat,
    linear-gradient(150deg, #35312a 0%, #1e1d1b 75%);
}
.split-visual--mf {
  background:
    linear-gradient(180deg, rgba(17,17,17,0.05) 0%, rgba(17,17,17,0.2) 100%),
    url("../img/mf-overview.jpg") center/cover no-repeat,
    linear-gradient(150deg, #35312a 0%, #1e1d1b 75%);
}
.split-visual--sf {
  background:
    linear-gradient(180deg, rgba(17,17,17,0.05) 0%, rgba(17,17,17,0.2) 100%),
    url("../img/sf-overview.jpg") center/cover no-repeat,
    linear-gradient(150deg, #35312a 0%, #1e1d1b 75%);
}

/* ---------- Principles / value list ---------- */
.principle { border-top: 1px solid var(--line); padding: 2rem 0; display: grid; grid-template-columns: 4rem 1fr; gap: 1.5rem; align-items: baseline; }
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle-num { font-family: var(--serif); color: var(--gold); font-size: 1.1rem; }
.principle h3 { margin-bottom: 0.5rem; }
.principle p { color: var(--gray); font-size: 0.98rem; max-width: 44rem; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.team-card { background: var(--white); border: 1px solid var(--line); padding: 2.75rem; }
.team-card--feature { display: flex; gap: 2.75rem; align-items: flex-start; }
.team-photo--circle { width: 148px; height: 148px; border-radius: 50%; object-fit: cover;
  object-position: 50% 10%; flex-shrink: 0; border: 1px solid var(--line); display: block; }
.team-info h3 { margin-bottom: 0.35rem; }
.team-info .team-role { margin-bottom: 1.1rem; }
@media (max-width: 700px) {
  .team-card--feature { flex-direction: column; align-items: flex-start; }
}
section[id] { scroll-margin-top: 7.5rem; }
.team-photo {
  width: 128px; height: 128px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(160deg, #d9d5cd, #b9b5ad);
  margin-bottom: 1.75rem;
}
.team-card h3 { margin-bottom: 0.25rem; }
.team-role { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 1.25rem; }
.team-card p { font-size: 0.96rem; color: var(--gray); }

/* ---------- Process timeline (strategy page) ---------- */
.process { border-left: 1px solid var(--line); margin-left: 0.5rem; }
.process-step { position: relative; padding: 0 0 2.75rem 2.5rem; }
.process-step:last-child { padding-bottom: 0; }
.process-step::before {
  content: "";
  position: absolute;
  left: -5px; top: 0.55rem;
  width: 9px; height: 9px;
  background: var(--gold);
  border-radius: 50%;
}
.process-step h3 { font-size: 1.3rem; }
.process-duration { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.process-step p { color: var(--gray); font-size: 0.96rem; max-width: 40rem; margin-top: 0.5rem; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 42rem; margin: 0.5rem auto 1.5rem; }
.cta-band .lede { margin: 0 auto 2.75rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); }
.contact-line { border-top: 1px solid var(--line); padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.contact-line:last-child { border-bottom: 1px solid var(--line); }
.contact-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gray); }
.contact-value { font-family: var(--serif); font-size: 1.25rem; }
.contact-value a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: var(--onyx); color: #b9b7b2; padding: 5rem 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer-desc { font-size: 0.92rem; max-width: 24rem; margin-top: 1.5rem; }
.footer-heading { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--white); margin-bottom: 1.4rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a { font-size: 0.9rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--gold); }
.footer-legal { border-top: 1px solid var(--line-dark); padding-top: 2.25rem; }
.footer-disclaimer { font-size: 0.8rem; line-height: 1.7; color: #8a8a86; max-width: 62rem; margin-bottom: 1.5rem; }
.footer-copy { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: #6c6c68; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1); }
[data-parallax] { will-change: transform; }

.arc-section { background: #111111; color: var(--white); }

/* Value arc (animated SVG, Leverage-style with icons + captions) */
.value-arc-wrap { margin-top: 1.25rem; }
.value-arc { width: 100%; height: auto; display: block; }
.value-arc .arc-line { stroke: var(--gold); stroke-width: 2.5; fill: none;
  stroke-dasharray: 1300; stroke-dashoffset: 1300; }
.value-arc.drawn .arc-line { transition: stroke-dashoffset 2.6s cubic-bezier(0.4,0,0.2,1); stroke-dashoffset: 0; }
.value-arc .arc-drop { stroke: rgba(255,255,255,0.16); stroke-width: 1; stroke-dasharray: 3 4; }
.value-arc .arc-dot { fill: var(--gold); opacity: 0; }
.value-arc.drawn .arc-dot { transition: opacity 0.5s ease; opacity: 1; }
.value-arc.drawn .arc-dot:nth-of-type(2) { transition-delay: 0.8s; }
.value-arc.drawn .arc-dot:nth-of-type(3) { transition-delay: 1.5s; }
.value-arc.drawn .arc-dot:nth-of-type(4) { transition-delay: 2.2s; }
.value-arc .arc-icon { stroke: var(--gold); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: translateY(8px); }
.value-arc.drawn .arc-icon { transition: opacity 0.6s ease, transform 0.6s ease; opacity: 1; transform: translateY(0); }
.value-arc.drawn .arc-icon-1 { transition-delay: 0.9s; }
.value-arc.drawn .arc-icon-2 { transition-delay: 1.6s; }
.value-arc.drawn .arc-icon-3 { transition-delay: 2.3s; }
.value-arc.drawn .arc-icon-4 { transition-delay: 3.0s; }
.value-arc .arc-label { fill: var(--white); font-family: var(--sans); font-size: 17px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; opacity: 0; }
.value-arc .arc-caption { fill: #9a9894; font-family: var(--sans); font-size: 14.5px; opacity: 0; }
.value-arc.drawn .arc-label, .value-arc.drawn .arc-caption { transition: opacity 0.6s ease 1s; opacity: 1; }
.value-arc .arc-base { stroke: rgba(255,255,255,0.12); stroke-width: 1; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  [data-parallax] { transform: none !important; }
  .value-arc .arc-line { stroke-dashoffset: 0; }
  .value-arc .arc-dot, .value-arc text { opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .card-strategy, .card-strategy .card-bg, .btn, .btn .arrow { transition: none; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--onyx);
  color: var(--white);
  padding: 12rem 0 5.5rem;
}
.page-hero h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); margin-top: 0.5rem; }
.page-hero .lede { margin-top: 1.5rem; }

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards-2, .split, .team-grid, .contact-grid { grid-template-columns: 1fr; }
  /* On reversed split sections, put the heading above the timeline when stacked */
  #residential .split > *:first-child { order: 2; }
  #residential .split > *:last-child { order: 1; }
  .approach-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .card-strategy { min-height: 420px; }
  .split-visual { min-height: 320px; }

  .nav {
    position: fixed;
    inset: 0;
    background: var(--onyx);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 6.75rem 1.75rem 3rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .nav.open { transform: translateX(0); }
  .nav-link {
    color: var(--white) !important;
    font-size: 0.92rem;
    text-align: left;
    padding: 1.15rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-link::after { display: none; }
  .nav-item { display: block; }
  .nav-item > .nav-link {
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-item .caret {
    display: inline-block; font-size: 0.7em; opacity: 0.6; margin-left: 0.5rem;
    transition: transform 0.25s ease;
  }
  .nav-item.open .caret { transform: rotate(180deg); opacity: 1; color: var(--gold); }
  /* Sub-items collapsed until the parent is tapped */
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    display: none; padding: 0.9rem 0 1.1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-item.open .dropdown { display: block; }
  .dropdown-inner {
    background: none; border: none; padding: 0;
    display: flex; flex-direction: column; gap: 0.7rem;
  }
  .dropdown-inner a {
    padding: 0.2rem 0 0.2rem 1.1rem;
    font-size: 0.74rem; color: #9a9894; text-align: left;
    border-left: 1px solid rgba(255,255,255,0.14);
  }
  .nav .btn { margin-top: 2.25rem; justify-content: center; }
  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--white); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--white); }
}

@media (max-width: 560px) {
  .factband-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .fact + .fact::before { display: none; }
  .approach-grid { grid-template-columns: 1fr; }
  .principle { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* ---------- Insights carousel ---------- */
.carousel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem;
  margin-bottom: 2.5rem; flex-wrap: wrap; }
.carousel-nav { display: flex; gap: 0.75rem; }
.car-btn { width: 46px; height: 46px; border: 1px solid var(--line); background: transparent;
  color: var(--ink); font-size: 1.05rem; cursor: pointer; transition: all 0.25s ease; }
.car-btn:hover { border-color: var(--gold); color: var(--gold); }

.carousel { display: flex; gap: 1.75rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 1rem; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }

.article-card { flex: 0 0 355px; scroll-snap-align: start; border: 1px solid var(--line);
  background: var(--white); display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.article-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(17,17,17,0.10);
  border-color: var(--concrete, #d9d5cd); }
.card-media { height: 200px; background-size: cover; background-position: center; }
.card-media--plain { background: var(--onyx); display: flex; align-items: center; justify-content: center; }
.card-media--plain span { font-family: var(--serif); font-size: 1.6rem; letter-spacing: 0.28em;
  color: var(--gold); padding-left: 0.28em; }
.card-text { padding: 1.9rem; display: flex; flex-direction: column; flex: 1; }
.card-date { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.9rem; }
.card-text h3 { font-size: 1.4rem; line-height: 1.25; margin-bottom: 0.85rem; }
.card-text p { font-size: 0.95rem; color: var(--gray); margin-bottom: 1.6rem; flex: 1; }

@media (max-width: 560px) {
  .article-card { flex: 0 0 84vw; }
  .carousel-head { align-items: flex-start; }
}

/* Mobile: Single Family heading should precede its timeline */
@media (max-width: 900px) {
  #residential .split > *:first-child { order: 2; }
  #residential .split > *:last-child { order: 1; }
}
