/* ==========================================================================
   Bentley Financial Management — site styles
   Traditional institutional: serif display, navy/charcoal, muted brass accent
   ========================================================================== */

:root {
  /* Palette */
  --navy:        #12243b;
  --navy-deep:   #0d1a2b;
  --ink:         #1f2530;
  --slate:       #5c6675;
  --slate-light: #8a94a3;
  --ivory:       #faf8f3;
  --paper:       #ffffff;
  --gold:        #a67c34;
  --gold-soft:   #c3a367;
  --line:        #e6e1d6;
  --line-dark:   #24374f;

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --wrap: 1140px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

/* Reset ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--navy); }

/* Type -------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.2px;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.1rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.1em; }
.lead { font-size: 1.2rem; color: var(--slate); line-height: 1.7; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 1.1rem;
}
.eyebrow--light { color: var(--gold-soft); }

.rule { width: 54px; height: 2px; background: var(--gold); border: 0; margin: 0 0 1.6rem; }
.rule--center { margin-left: auto; margin-right: auto; }

/* Layout helpers ---------------------------------------------------------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--ivory { background: var(--ivory); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #dfe5ee; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.measure { max-width: 720px; }
.measure--center { max-width: 720px; margin-left: auto; margin-right: auto; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 0.85rem 1.7rem;
  border: 1px solid var(--navy);
  border-radius: 2px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(18, 36, 59, 0.5); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-deep); color: #fff; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--gold:hover { background: #8f6a2c; border-color: #8f6a2c; color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, 0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--navy); }
.brand:hover { color: var(--navy); }
.monogram {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--navy);
  border: 1.5px solid var(--gold);
  padding: 0.28rem 0.5rem;
  line-height: 1;
}
.brand-text {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: 1.55rem; }
.site-nav a {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--navy); }
.site-nav a[aria-current="page"] { color: var(--navy); }
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--gold);
  transition: width 0.28s ease;
}
.site-nav a:not(.nav-cta):hover::after,
.site-nav a[aria-current="page"]::after { width: 100%; }
.site-nav a.nav-cta {
  border: 1px solid var(--navy); color: var(--navy); padding: 0.5rem 1.1rem; border-radius: 2px;
}
.site-nav a.nav-cta:hover { background: var(--navy); color: #fff; }
.site-nav a.nav-cta::after { display: none; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; color: var(--navy);
}
.nav-toggle svg { display: block; }

/* Hero -------------------------------------------------------------------- */
.hero {
  background: var(--navy); color: #dfe5ee; position: relative; overflow: hidden;
  border-top: 2px solid var(--gold);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(1200px 420px at 82% -12%, rgba(166,124,52,0.20), transparent 62%),
    linear-gradient(180deg, rgba(13,26,43,0) 58%, rgba(13,26,43,0.55) 100%);
}
/* Oversized serif monogram bleeding off the right edge — bespoke texture */
.hero::before {
  content: "B";
  position: absolute; right: -3.5%; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 600; font-size: 46rem; line-height: 0.8;
  color: rgba(255, 255, 255, 0.035); pointer-events: none; z-index: 0; user-select: none;
}
@media (max-width: 720px) { .hero::before { font-size: 26rem; right: -8%; opacity: 0.7; } }
/* Subtle premium motion — slow light drift + a breathing monogram */
.hero-aura {
  position: absolute; inset: -25% -12% -25% -12%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(42% 52% at 22% 32%, rgba(166, 124, 52, 0.18), transparent 68%),
    radial-gradient(40% 50% at 82% 18%, rgba(96, 126, 176, 0.16), transparent 68%);
  filter: blur(6px);
  animation: auraDrift 26s ease-in-out infinite alternate;
}
.hero::before { animation: monoDrift 32s ease-in-out infinite alternate; }
@keyframes auraDrift {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1); }
  100% { transform: translate3d(2.5%, 2%, 0) scale(1.1); }
}
@keyframes monoDrift {
  0%   { transform: translateY(-50%) translateX(0) scale(1); }
  100% { transform: translateY(-53%) translateX(-2%) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { .hero-aura, .hero::before { animation: none; } }
.hero-inner { position: relative; z-index: 1; padding: clamp(4rem, 11vw, 8rem) 0 clamp(3.5rem, 9vw, 6.5rem); max-width: 860px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 4.8vw, 3.7rem); max-width: 15ch; }
.hero .lead { color: #c7d0dc; max-width: 640px; }
.hero .lead + .lead { margin-top: -0.4rem; color: #aab6c6; font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.page-hero { background: var(--navy); color: #dfe5ee; }
.page-hero-inner { padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem); max-width: 820px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.1rem); }
.page-hero .lead { color: #c7d0dc; }
.page-hero .lead + .lead { color: #aab6c6; font-size: 1.06rem; margin-top: -0.3rem; }

/* Feature cards ----------------------------------------------------------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 2rem 1.9rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px -26px rgba(18, 36, 59, 0.4);
}
.card h3 { color: var(--navy); }
.card p:last-child { margin-bottom: 0; }
.card .num {
  font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); font-weight: 700; display: block; margin-bottom: 0.6rem;
}

/* Principle rows ---------------------------------------------------------- */
.principle {
  display: grid; grid-template-columns: 90px 1fr; gap: 1.8rem; align-items: start;
  padding: 2.2rem 0; border-top: 1px solid var(--line);
}
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle .p-num { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold); line-height: 1; font-weight: 600; }
.principle h3 { margin-bottom: 0.4rem; }
.principle p:last-child { margin-bottom: 0; }

/* Split ------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.split--narrow { grid-template-columns: 1.1fr 0.9fr; }

.stat-list { list-style: none; margin: 0; padding: 0; }
.stat-list li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; }
.stat-list li:last-child { border-bottom: 0; }
.stat-list .k { color: var(--slate); }
.stat-list .v { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); }

.panel {
  background: var(--paper); border: 1px solid var(--line); padding: clamp(1.8rem, 4vw, 2.6rem);
}

/* Pull quote -------------------------------------------------------------- */
.quote { text-align: center; max-width: 860px; margin: 0 auto; }
.quote p {
  font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.3rem); line-height: 1.35; color: #fff; font-weight: 500;
}
.quote cite { display: block; margin-top: 1.2rem; font-family: var(--font-body); font-style: normal; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); }

/* Services list ----------------------------------------------------------- */
.service {
  border-top: 1px solid var(--line); padding: 2.4rem 0; display: grid; grid-template-columns: 0.9fr 2fr; gap: 2rem;
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service h3 { margin-top: 0; }
.service .s-label { font-family: var(--font-display); font-size: 1.7rem; color: var(--navy); }
.service ul { margin: 0.6rem 0 0; padding-left: 1.1rem; color: var(--slate); }
.service ul li { margin-bottom: 0.4rem; }

/* Contact ----------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 4rem); align-items: start; }
.contact-item { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .k { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold); font-weight: 700; margin-bottom: 0.25rem; }
.contact-item .v { font-size: 1.05rem; color: var(--ink); }
.people-list { list-style: none; margin: 0; padding: 0; }
.people-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.people-list li:first-child { padding-top: 0; }
.people-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.pl-name { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); font-weight: 600; }
.pl-role { display: block; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); font-weight: 700; margin: 0.15rem 0 0.35rem; }
.pl-email { font-size: 0.95rem; }

form.contact-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--slate); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 1rem; padding: 0.8rem 0.9rem; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--gold-soft); outline-offset: 0; border-color: var(--gold); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--slate-light); }

/* CTA band ---------------------------------------------------------------- */
.cta-band { background: var(--navy); color: #dfe5ee; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #c7d0dc; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--navy-deep); color: #aeb9c8; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 2.5rem; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 1rem; }
.site-footer .brand-text { color: #fff; }
.site-footer .monogram { color: #fff; border-color: var(--gold); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a { color: #aeb9c8; }
.footer-links a:hover { color: #fff; }
.footer-tag { max-width: 320px; margin-top: 1rem; color: #93a0b2; }
.disclosures { border-top: 1px solid var(--line-dark); padding-top: 1.8rem; padding-bottom: 2.5rem; }
.disclosures p { font-size: 0.78rem; line-height: 1.6; color: #7f8da0; margin-bottom: 0.9rem; }
.disclosures .placeholder { color: var(--gold-soft); }

/* Team -------------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.team-member {
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  padding: 2rem 1.8rem; transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.team-member:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -26px rgba(18, 36, 59, 0.4); }
.tm-avatar {
  width: 54px; height: 54px; border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--navy); letter-spacing: 0.03em; margin-bottom: 1.15rem;
}
.team-member h3 { margin: 0 0 0.2rem; }
.tm-title { color: var(--gold); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; margin-bottom: 0.7rem; }
.team-member p { color: var(--slate); margin: 0; font-size: 0.97rem; }
.team-grid .flip-face { padding-left: 1.5rem; padding-right: 1.5rem; }
.team-grid .flip-front h3 { font-size: 1.16rem; line-height: 1.16; margin-bottom: 0.28rem; }
.team-grid .flip-front .tm-title { font-size: 0.66rem; letter-spacing: 0.07em; margin-bottom: 0.6rem; }
.team-grid .flip-front p:not(.tm-title) { font-size: 0.9rem; }
.tm-photo {
  display: block; width: calc(100% + 3rem); max-width: none; height: auto; aspect-ratio: 1 / 1;
  object-fit: cover; object-position: center;
  margin: -2rem -1.5rem 1.5rem; background: #000;
}
.tm-photo--mono {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 3.6rem; letter-spacing: 0.05em;
  color: var(--gold); background: radial-gradient(circle at 50% 40%, #1c1c1c, #050505);
}
/* Nudge a portrait's subject ~10% larger within its frame (black bg crops in) */
.tm-photo--zoom { transform: scale(1.1); transform-origin: center 42%; }
/* Raise a single portrait's subject higher in the frame (head alignment) */
.tm-photo--up { transform: scale(1.1) translateY(-5.4%); }

/* Flip cards (team + approach) -------------------------------------------- */
.flip-card { perspective: 1400px; cursor: pointer; display: grid; }
.flip-inner { height: 100%; }
.flip-card:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
.flip-inner { position: relative; width: 100%; display: grid; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); transform-style: preserve-3d; }
.flip-card.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  padding: 2rem 1.9rem; display: flex; flex-direction: column; overflow: hidden;
}
.flip-card:hover .flip-face { box-shadow: 0 22px 44px -26px rgba(18, 36, 59, 0.4); }
.flip-face h3 { margin: 0 0 0.4rem; }
.flip-face p { color: var(--slate); font-size: 0.97rem; margin: 0 0 0.7rem; }
.flip-face .num { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); font-weight: 700; display: block; margin-bottom: 0.5rem; }
.flip-face .check-list li { font-size: 0.95rem; margin-bottom: 0.5rem; }
.flip-back { transform: rotateY(180deg); }
.flip-hint { margin-top: auto; padding-top: 1.1rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .flip-inner { transition: none; } }

/* Support team ------------------------------------------------------------ */
.support-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 3.4rem; margin-top: 1.9rem; }
.support-member { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.s-mono {
  width: 68px; height: 68px; border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.55rem;
}
.s-photo {
  width: 80px; height: 80px; display: block; object-fit: cover; object-position: center 25%;
  border: 1.5px solid var(--gold); filter: grayscale(1);
}
.s-name { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); }
.s-years { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-light); font-weight: 600; margin-top: -0.4rem; }

/* Marker list (panel bullets) --------------------------------------------- */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.8rem; color: var(--ink); }
.check-list li:last-child { margin-bottom: 0; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.panel-cap { font-family: var(--font-body); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold); font-weight: 700; margin: 0 0 0.9rem; }

/* Chip row (who we serve) ------------------------------------------------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.6rem; }
.chip { border: 1px solid var(--line); background: var(--paper); padding: 0.55rem 1.05rem; font-size: 0.92rem; color: var(--navy); font-weight: 600; }

/* Rotating "who we serve" ------------------------------------------------- */
.serve-panel { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2.6rem 1.8rem; min-height: 210px; }
.serve-label { font-family: var(--font-body); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold); font-weight: 700; margin: 0 0 1.1rem; }
.serve-rotator { min-height: 4rem; display: flex; align-items: center; justify-content: center; text-align: center; }
.serve-word { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.15rem); color: var(--navy); font-weight: 600; line-height: 1.15; max-width: 100%; transition: opacity 0.4s ease, transform 0.4s ease; }
.serve-word.out { opacity: 0; transform: translateY(-8px); }

/* Numbered steps reuse .principle rows; nothing extra needed here. */

/* Scroll reveal ----------------------------------------------------------- */
.js-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.js-reveal.in { opacity: 1; transform: none; }

/* Insights ---------------------------------------------------------------- */
.post-list { display: grid; gap: 1.4rem; max-width: 780px; margin: 0 auto; }
.post-card {
  display: block; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  padding: 1.8rem 1.9rem; transition: transform 0.28s ease, box-shadow 0.28s ease;
}
a.post-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(18, 36, 59, 0.4); }
.post-date { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); font-weight: 700; margin-bottom: 0.5rem; }
.post-card h3 { color: var(--navy); margin: 0 0 0.5rem; }
.post-card p { color: var(--slate); margin: 0 0 0.9rem; }
.read-more { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--navy); }

/* Article ----------------------------------------------------------------- */
.article { max-width: 720px; margin: 0 auto; }
.article h1 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.12; margin-bottom: 0.3rem; }
.article-meta { color: var(--slate); font-size: 0.95rem; margin: 0 0 2rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.article p { margin-bottom: 1.15rem; }
.article h3 { margin: 2rem 0 0.6rem; }
.back-link { display: inline-block; margin-top: 2.6rem; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* Article figures (charts, data callouts) --------------------------------- */
.article-figure {
  margin: 2.2rem 0;
  padding: 1.6rem 1.5rem 1.3rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.figure-title {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0 0 1rem;
}
.article-figure svg { width: 100%; height: auto; display: block; }
.article-figure figcaption {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--slate-light);
}

/* Placeholder marker (for unfinished factual content) --------------------- */
.ph { background: rgba(166,124,52,0.14); border-bottom: 1px dashed var(--gold); padding: 0 3px; font-style: italic; }

/* Responsive -------------------------------------------------------------- */
/* 7 single-line nav labels exceed the 1140px container at the base sizing —
   compress nav gap/type slightly at every desktop width (mobile drawer keeps base sizes) */
@media (min-width: 1081px) {
  .site-nav { gap: 0.95rem; }
  .site-nav a { font-size: 0.8rem; }
  .brand-text { font-size: 1.14rem; }
}
/* Team cards need width — stack to one centered column before they get cramped */
@media (max-width: 1080px) {
  .team-grid { max-width: 440px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 1080px) {
  .grid-3, .grid-2, .split, .split--narrow, .contact-grid, .footer-grid, .team-grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 0.6rem; }
  .principle { grid-template-columns: 60px 1fr; gap: 1.1rem; }

  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  }
  .site-nav.open { max-height: 420px; }
  .site-nav a { padding: 1rem var(--pad); border-top: 1px solid var(--line); text-align: left; }
  .site-nav a::after { display: none; }
  .site-nav a.nav-cta { border: 0; border-radius: 0; margin: 0; }
  .site-nav a.nav-cta:hover { background: var(--navy); color: #fff; }
}

@media (max-width: 480px) {
  .brand-text { font-size: 1.05rem; }
  .monogram { font-size: 0.92rem; padding: 0.24rem 0.42rem; }
  .header-inner { min-height: 64px; }
}

/* Compliance -------------------------------------------------------------- */
.bc-float {
  position: fixed; bottom: 18px; right: 18px; z-index: 90;
  display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
  padding: 8px 12px; box-shadow: 0 4px 14px rgba(18, 36, 59, 0.18);
  opacity: 0.94; transition: opacity 0.2s, box-shadow 0.2s;
}
.bc-float:hover { opacity: 1; box-shadow: 0 6px 18px rgba(18, 36, 59, 0.28); }
.bc-float img { display: block; width: 118px; height: auto; }
@media (max-width: 640px) { .bc-float { bottom: 12px; right: 12px; padding: 6px 9px; } .bc-float img { width: 100px; } }
.disclosures a { color: #a9b6c8; text-decoration: underline; }
