/*
Theme Name: Robertson Investment Management
Theme URI: 
Author: Antigravity
Author URI: 
Description: Custom WordPress Theme for Robertson Investment Management.
Version: 1.0
Text Domain: robertson
*/

/* ============================================================
   ROBERTSON — Master Palette and Type System
   ============================================================ */
:root {
  /* Master neutrals */
  --black:        #000000;
  --ink:          #1A1A1A;
  --paper:        #F4EFE6;
  --paper-deep:   #EDE5D0;
  --linen:        #DDE0E2;
  --rule:         #C9C2B0;
  --rule-faint:   #E2DDCB;
  --white:        #FFFFFF;
  --muted:        #6B6B6B;

  /* Vertical accents (shown on parent pages only as link colors / accents) */
  --navy:         #0A1F30;
  --navy-soft:    #1D5B8D;
  --mist-blue:    #A2CAEB;
  --platinum:     #A8B0BA;

  --forest:       #0A4028;
  --forest-soft:  #3D7C5C;
  --sage-mist:    #7AAB91;

  --gold:         #B8973F;

  /* Type system */
  --serif:           'Times New Roman', 'Times', serif;
  --sans-display:    'Inter', 'Avenir Next LT Pro', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
  --sans-body:       'Inter', 'Arial Nova', Arial, 'Helvetica Neue', sans-serif;
  --display-italic:  'Cormorant Garamond', 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ============== HEADER / NAV ============== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  color: var(--white);
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.22em;
  font-weight: 400;
  color: var(--white);
}
nav.primary { display: flex; gap: 40px; align-items: center; }
nav.primary a {
  font-family: var(--sans-display);
  font-size: 10.5px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
  position: relative;
}
nav.primary a:hover { color: var(--white); }
nav.primary a.active { color: var(--white); }
nav.primary a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -28px;
  height: 2px;
  background: var(--gold);
}
nav.primary a.cta {
  border: 0.5px solid rgba(255,255,255,0.45);
  padding: 8px 18px;
  color: var(--white);
}
nav.primary a.cta:hover { background: var(--white); color: var(--ink); }

/* Dropdown menu trigger items */
nav.primary .nav-dropdown {
  position: relative;
  display: inline-block;
}
nav.primary .nav-trigger {
  cursor: default;
  user-select: none;
}
nav.primary .nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  border: 0.5px solid rgba(255,255,255,0.10);
  padding: 8px 0;
  margin-top: 28px;
  min-width: 360px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
nav.primary .nav-dropdown:hover .nav-dropdown-menu,
nav.primary .nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}
nav.primary .nav-dropdown-menu a {
  display: block;
  padding: 12px 24px;
  font-family: var(--sans-display);
  font-size: 10.5px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  white-space: normal;
  transition: background 0.15s ease, color 0.15s ease;
}
nav.primary .nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.04);
  color: var(--white);
}

/* ============== FOOTER ============== */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 80px 40px 40px;
  border-top: 0.5px solid rgba(255,255,255,0.08);
}
.footer-inner { max-width: 1320px; margin: 0 auto; }
.footer-mark {
  text-align: center;
  margin-bottom: 64px;
  padding-bottom: 56px;
  border-bottom: 0.5px solid rgba(255,255,255,0.10);
}
.footer-mark .wm {
  font-family: var(--serif);
  font-size: 36px;
  letter-spacing: 0.24em;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-mark .est {
  font-family: var(--sans-display);
  font-size: 9px;
  letter-spacing: 0.36em;
  color: rgba(255,255,255,0.50);
  text-transform: uppercase;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-bottom: 64px;
}
.footer-col h4 {
  font-family: var(--sans-display);
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin: 0 0 20px 0;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.78); line-height: 1.5; }
.footer-col a:hover { color: var(--white); }
.footer-legal {
  border-top: 0.5px solid rgba(255,255,255,0.10);
  padding-top: 32px;
  font-size: 10.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.50);
}
.footer-legal p { margin: 0 0 12px 0; }
.footer-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 0.5px solid rgba(255,255,255,0.06);
  font-family: var(--sans-display);
  font-size: 9px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.mockup-banner {
  background: var(--gold);
  color: var(--ink);
  text-align: center;
  padding: 8px 12px;
  font-family: var(--sans-display);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}


/* ============== HERO BAND â€” compact, no photo ============== */
  .hero-band {
    background: var(--paper-deep);
    color: var(--ink);
    padding: 80px 40px 64px;
    border-bottom: 0.5px solid var(--rule);
  }
  .hero-band-inner {
    max-width: 1240px;
    margin: 0 auto;
  }
  .hero-band h1 {
    font-family: var(--serif);
    font-size: 48px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 14px 0;
    color: var(--ink);
  }
  .hero-band .tagline {
    font-family: var(--serif);
    font-style: normal;
    font-size: 20px;
    line-height: 1.4;
    color: var(--ink);
    max-width: 700px;
    margin: 0;
    font-weight: 400;
    opacity: 0.85;
  }

  
/* ============== TWO-COLUMN BODY ============== */
  .contact-body {
    background: var(--white);
    padding: 80px 40px 96px;
  }
  .contact-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
  }

  /* Left column â€” office details */
  .office-info {
    /* container */
  }
  .info-block {
    margin-bottom: 36px;
  }
  .info-block:last-child { margin-bottom: 0; }
  .info-eyebrow {
    font-family: var(--sans-display);
    font-size: 9.5px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 0.5px solid var(--rule);
  }
  .info-block p,
  .info-block address {
    font-style: normal;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink);
    margin: 0;
  }
  .info-block a {
    color: var(--ink);
    border-bottom: 0.5px solid var(--rule);
    transition: border-color 0.2s;
  }
  .info-block a:hover {
    border-bottom-color: var(--ink);
  }
  .info-block .firm-name {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
  }

  /* Right column â€” form */
  .contact-form {
    /* container */
  }
  .form-eyebrow {
    font-family: var(--sans-display);
    font-size: 9.5px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 0.5px solid var(--rule);
  }
  .form-intro {
    font-family: var(--display-italic);
    font-style: italic;
    font-size: 17px;
    line-height: 1.5;
    color: var(--ink);
    margin: 0 0 32px 0;
    font-weight: 500;
  }
  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 28px;
  }
  .form-field {
    display: flex;
    flex-direction: column;
  }
  .form-field.span-2 {
    grid-column: span 2;
  }
  .form-field label {
    font-family: var(--sans-display);
    font-size: 9.5px;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
    font-weight: 600;
  }
  .form-field input,
  .form-field select,
  .form-field textarea {
    font-family: var(--sans-body);
    font-size: 15px;
    color: var(--ink);
    padding: 12px 0;
    border: none;
    border-bottom: 0.5px solid var(--rule);
    background: transparent;
    width: 100%;
    transition: border-color 0.2s;
  }
  .form-field input:focus,
  .form-field select:focus,
  .form-field textarea:focus {
    outline: none;
    border-bottom-color: var(--ink);
  }
  .form-field textarea {
    min-height: 120px;
    resize: vertical;
    font-family: var(--sans-body);
    line-height: 1.5;
  }
  .form-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%231A1A1A' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 24px;
    cursor: pointer;
  }
  .form-submit-row {
    grid-column: span 2;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .form-disclaimer {
    font-size: 11px;
    line-height: 1.5;
    color: var(--muted);
    font-style: italic;
    flex: 1;
    max-width: 440px;
  }
  button.submit-btn {
    font-family: var(--sans-display);
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--ink);
    padding: 16px 36px;
    border: 0.5px solid var(--ink);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
  }
  button.submit-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink);
  }

  
/* ============== INQUIRY EXPECTATIONS ============== */
  .expectations {
    background: var(--paper);
    padding: 64px 40px 72px;
    border-top: 0.5px solid var(--rule);
  }
  .expectations-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }
  .expectation {
    /* container */
  }
  .expectation .eyebrow {
    font-family: var(--sans-display);
    font-size: 9.5px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 0.5px solid var(--gold);
  }
  .expectation h3 {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--ink);
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 10px 0;
    letter-spacing: 0.02em;
  }
  .expectation p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--ink);
    margin: 0;
  }

  
/* ============== CONTACT â€” simplified ============== */
  .contact-body {
    background: var(--white);
    padding: 96px 40px 120px;
  }
  .contact-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 64px !important;
    text-align: left;
  }
  .contact-inner .info-block { padding: 0; }
  .contact-inner .info-eyebrow {
    font-family: var(--sans-display);
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--muted);
    padding-bottom: 12px;
    border-bottom: 0.5px solid var(--gold);
    margin-bottom: 18px;
  }
  .contact-inner .firm-name {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--ink);
    line-height: 1.4;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
  }
  .contact-inner address,
  .contact-inner p {
    font-family: var(--sans-body);
    font-style: normal;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink);
    margin: 0;
  }
  .contact-inner a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 0.5px solid var(--rule);
    transition: border-color 0.2s, color 0.2s;
  }
  .contact-inner a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
  }
  @media (max-width: 768px) {
    .contact-inner { grid-template-columns: 1fr !important; gap: 48px !important; }
  }

/* Home page sections have been moved to assets/css/sections.css */

  
/* ============== MOCKUP ANNOTATION (dev hand-off only, easily removable) ============== */
  .mockup-banner {
    background: var(--gold);
    color: var(--ink);
    text-align: center;
    padding: 8px 12px;
    font-family: var(--sans-display);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
  }


/* Palette override for ib-mergers-acquisitions.html */
body.page-template-page-ib-mergers-acquisitions {
  --forest: #0A1F30;
  --forest-soft: #1D5B8D;
  --sage-mist: #A2CAEB;
  --gold: #A8B0BA;
}

/* ============== HERO BAND â€” photo with scrim ============== */
  .hero-band {
    position: relative;
    color: var(--white);
    padding: 140px 40px 64px 40px;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
  }
  .hero-bg {
    position: absolute; inset: 0;
    background-image: none; /* Removed massive base64 at line 936 */
    background-size: cover;
    background-position: center 50%;
    background-color: var(--forest);
    z-index: 0;
  }
  /* Neutral scrim â€” keeps the photo true-to-color, just darkens for legibility */
  .hero-scrim {
    position: absolute; inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.82) 100%);
  }
  .hero-band-inner {
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
  }
  .hero-band .crumb {
    font-family: var(--sans-display);
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 18px;
  }
  .hero-band .crumb a { color: var(--white); transition: color 0.2s; }
  .hero-band .crumb a:hover { color: var(--sage-mist); }
  .hero-band .crumb .current { color: var(--gold); letter-spacing: 0.32em; }
  .hero-band .crumb .sep { color: rgba(255,255,255,0.40); margin: 0 8px; }
  .hero-band h1 {
    font-family: var(--serif);
    font-size: 48px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 18px 0;
    color: var(--white);
    max-width: none;
    white-space: normal;
  }
  .hero-band .tagline {
    font-family: var(--serif);
    font-style: normal;
    font-size: 20px;
    line-height: 1.4;
    color: rgba(255,255,255,0.95);
    max-width: none;
    margin: 0;
    font-weight: 400;
    white-space: normal;
  }

  
/* ============== STATEMENT BAND ============== */
  .statement {
    background: var(--paper);
    padding: 56px 40px 48px;
    border-bottom: 0.5px solid var(--rule);
  }
  .statement-inner {
    max-width: 1240px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    padding-left: 28px;
    border-left: 2px solid var(--gold);
  }
  .statement-eyebrow {
    font-family: var(--sans-display);
    font-size: 9px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
  }
  .statement-quote {
    font-family: var(--serif);
    font-style: normal;
    font-size: 22px;
    line-height: 1.5;
    color: var(--ink);
    margin: 0;
    font-weight: 400;
    max-width: 1100px;
  }
  .statement-quote strong { font-weight: 600; font-style: normal; color: var(--forest); }

  
/* ============== STACKED SERVICES ============== */
  .services {
    background: var(--white);
    padding: 56px 40px 96px;
  }
  .services-inner {
    max-width: 1240px;
    margin: 0 auto;
  }
  .service-block {
    padding: 32px 0 40px;
  }
  .service-block:first-child { padding-top: 0; }
  .service-block:last-child { padding-bottom: 0; }
  .service-block .header-row {
    padding-bottom: 18px;
    margin-bottom: 24px;
    border-bottom: 0.5px solid var(--gold);
  }
  .service-block .name {
    font-family: var(--serif);
    font-size: 32px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--forest);
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
  }
  .service-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 56px;
    row-gap: 0;
  }
  .service-block ul li {
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink);
    padding: 8px 0 8px 22px;
    position: relative;
  }
  

  
/* ============== ENGAGEMENT NOTE / CONTACT TEASE ============== */
  .engage {
    background: var(--paper);
    padding: 80px 40px;
    border-top: 0.5px solid var(--rule);
  }
  .engage-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
  }
  .engage-text .eyebrow {
    font-family: var(--sans-display);
    font-size: 9px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--forest-soft);
    margin-bottom: 12px;
  }
  .engage-text h3 {
    font-family: var(--serif);
    font-size: 26px;
    letter-spacing: 0.04em;
    color: var(--forest);
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
    max-width: 720px;
  }
  .engage-cta a {
    display: inline-block;
    font-family: var(--sans-display);
    font-size: 10.5px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--forest);
    padding: 16px 32px;
    border: 0.5px solid var(--forest);
    transition: all 0.2s;
  }
  .engage-cta a:hover { background: var(--forest); color: var(--white); }
  .engage-cta a .arr { margin-left: 10px; }

  
/* ============== SPONSOR PARTNERS STRIP ============== */
  .sponsors {
    background: var(--paper);
    padding: 64px 40px 72px;
    border-top: 0.5px solid var(--rule);
  }
  .sponsors-inner {
    max-width: 1240px;
    margin: 0 auto;
  }
  .sponsors-eyebrow {
    font-family: var(--sans-display);
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 0.5px solid var(--gold);
  }
  .sponsors-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 48px;
    align-items: center;
  }
  .sponsor-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: all 0.25s;
  }
  .sponsor-tile:hover {
    filter: grayscale(0%);
    opacity: 1;
  }
  .sponsor-tile img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
  }
  .sponsors-note {
    margin-top: 28px;
    font-size: 11px;
    line-height: 1.5;
    color: var(--muted);
    font-style: italic;
    max-width: 800px;
  }

  
/* ============== SECTORS ============== */
  .sectors {
    background: var(--paper);
    padding: 64px 40px 64px;
    border-top: 0.5px solid var(--rule);
  }
  .sectors-inner {
    max-width: 1240px;
    margin: 0 auto;
    text-align: center;
  }
  .sectors-eyebrow {
    font-family: var(--sans-display);
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 18px;
  }
  .sectors-list {
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.7;
    color: var(--ink);
    margin: 0;
    letter-spacing: 0.01em;
  }
  .sectors-list .sep {
    color: var(--gold);
    margin: 0 14px;
    font-weight: 300;
  }


/* Palette override for ib-private-capital-markets.html */
body.page-template-page-ib-private-capital-markets {
  --forest: #0A1F30;
  --forest-soft: #1D5B8D;
  --sage-mist: #A2CAEB;
  --gold: #A8B0BA;
}

/* ============== HERO BAND â€” photo with scrim ============== */
  .hero-band {
    position: relative;
    color: var(--white);
    padding: 140px 40px 64px 40px;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
  }
  .hero-bg {
    position: absolute; inset: 0;
    background-image: none; /* Removed massive base64 at line 1231 */
    background-size: cover;
    background-position: center 35%;
    background-color: var(--forest);
    z-index: 0;
  }
  /* Neutral scrim â€” keeps the photo true-to-color, just darkens for legibility */
  .hero-scrim {
    position: absolute; inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.82) 100%);
  }
  .hero-band-inner {
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
  }
  .hero-band .crumb {
    font-family: var(--sans-display);
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 18px;
  }
  .hero-band .crumb a { color: var(--white); transition: color 0.2s; }
  .hero-band .crumb a:hover { color: var(--sage-mist); }
  .hero-band .crumb .current { color: var(--gold); letter-spacing: 0.32em; }
  .hero-band .crumb .sep { color: rgba(255,255,255,0.40); margin: 0 8px; }
  .hero-band h1 {
    font-family: var(--serif);
    font-size: 48px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 18px 0;
    color: var(--white);
    max-width: none;
    white-space: normal;
  }
  .hero-band .tagline {
    font-family: var(--serif);
    font-style: normal;
    font-size: 20px;
    line-height: 1.4;
    color: rgba(255,255,255,0.95);
    max-width: none;
    margin: 0;
    font-weight: 400;
    white-space: normal;
  }

  
/* ============== HERO BAND â€” photo with scrim ============== */
  .hero-band {
    position: relative;
    color: var(--white);
    padding: 140px 40px 64px 40px;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
  }
  .hero-bg {
    position: absolute; inset: 0;
    background-image: none; /* Removed massive base64 at line 1299 */
    background-size: cover;
    background-position: center 35%;
    background-color: var(--forest);
    z-index: 0;
  }
  /* Neutral scrim â€” keeps the photo true-to-color, just darkens for legibility */
  .hero-scrim {
    position: absolute; inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.82) 100%);
  }
  .hero-band-inner {
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
  }
  .hero-band .crumb {
    font-family: var(--sans-display);
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 18px;
  }
  .hero-band .crumb a { color: var(--white); transition: color 0.2s; }
  .hero-band .crumb a:hover { color: var(--sage-mist); }
  .hero-band .crumb .current { color: var(--gold); letter-spacing: 0.32em; }
  .hero-band .crumb .sep { color: rgba(255,255,255,0.40); margin: 0 8px; }
  .hero-band h1 {
    font-family: var(--serif);
    font-size: 48px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 18px 0;
    color: var(--white);
    max-width: none;
    white-space: normal;
  }
  .hero-band .tagline {
    font-family: var(--serif);
    font-style: normal;
    font-size: 20px;
    line-height: 1.4;
    color: rgba(255,255,255,0.95);
    max-width: none;
    margin: 0;
    font-weight: 400;
    white-space: normal;
  }

  
/* ============== HERO BAND â€” photo with scrim ============== */
  .hero-band {
    position: relative;
    color: var(--white);
    padding: 140px 40px 64px 40px;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
  }
  .hero-bg {
    position: absolute; inset: 0;
    background-image: none; /* Removed massive base64 at line 1367 */
    background-size: cover;
    background-position: center 35%;
    background-color: var(--forest);
    z-index: 0;
  }
  /* Neutral scrim â€” keeps the photo true-to-color, just darkens for legibility */
  .hero-scrim {
    position: absolute; inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.82) 100%);
  }
  .hero-band-inner {
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
  }
  .hero-band .crumb {
    font-family: var(--sans-display);
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 18px;
  }
  .hero-band .crumb a { color: var(--white); transition: color 0.2s; }
  .hero-band .crumb a:hover { color: var(--sage-mist); }
  .hero-band .crumb .current { color: var(--gold); letter-spacing: 0.32em; }
  .hero-band .crumb .sep { color: rgba(255,255,255,0.40); margin: 0 8px; }
  .hero-band h1 {
    font-family: var(--serif);
    font-size: 48px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 18px 0;
    color: var(--white);
    max-width: none;
    white-space: normal;
  }
  .hero-band .tagline {
    font-family: var(--serif);
    font-style: normal;
    font-size: 20px;
    line-height: 1.4;
    color: rgba(255,255,255,0.95);
    max-width: none;
    margin: 0;
    font-weight: 400;
    white-space: normal;
  }

  
/* ============== HERO BAND â€” photo with scrim ============== */
  .hero-band {
    position: relative;
    color: var(--white);
    padding: 140px 40px 64px 40px;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
  }
  .hero-bg {
    position: absolute; inset: 0;
    background-image: none; /* Removed massive base64 at line 1435 */
    background-size: cover;
    background-position: center 35%;
    background-color: var(--forest);
    z-index: 0;
  }
  /* Neutral scrim â€” keeps the photo true-to-color, just darkens for legibility */
  .hero-scrim {
    position: absolute; inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.82) 100%);
  }
  .hero-band-inner {
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
  }
  .hero-band .crumb {
    font-family: var(--sans-display);
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 18px;
  }
  .hero-band .crumb a { color: var(--white); transition: color 0.2s; }
  .hero-band .crumb a:hover { color: var(--sage-mist); }
  .hero-band .crumb .current { color: var(--gold); letter-spacing: 0.32em; }
  .hero-band .crumb .sep { color: rgba(255,255,255,0.40); margin: 0 8px; }
  .hero-band h1 {
    font-family: var(--serif);
    font-size: 48px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 18px 0;
    color: var(--white);
    max-width: none;
    white-space: normal;
  }
  .hero-band .tagline {
    font-family: var(--serif);
    font-style: normal;
    font-size: 20px;
    line-height: 1.4;
    color: rgba(255,255,255,0.95);
    max-width: none;
    margin: 0;
    font-weight: 400;
    white-space: normal;
  }

  
/* ============== HERO BAND â€” marble wall photo ============== */
  .hero-band {
    position: relative;
    color: var(--white);
    padding: 140px 40px 64px 40px;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
  }
  .hero-bg {
    position: absolute; inset: 0;
    background-image: none; /* Removed massive base64 at line 1503 */
    background-size: cover;
    background-position: center 8%;
    background-color: var(--ink);
    z-index: 0;
  }
  .hero-scrim {
    position: absolute; inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.82) 100%);
  }
  .hero-band-inner {
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
  }
  .hero-band h1 {
    font-family: var(--serif);
    font-size: 48px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 18px 0;
    color: var(--white);
    max-width: none;
    white-space: normal;
  }
  .hero-band .tagline {
    font-family: var(--serif);
    font-style: normal;
    font-size: 20px;
    line-height: 1.4;
    color: rgba(255,255,255,0.95);
    max-width: none;
    margin: 0;
    font-weight: 400;
    white-space: normal;
  }

  
/* ============== STATEMENT BAND ============== */
  .statement {
    background: var(--paper);
    padding: 56px 40px 48px;
    border-bottom: 0.5px solid var(--rule);
  }
  .statement-inner {
    max-width: 1240px;
    margin: 0 auto;
    text-align: left;
    padding-left: 28px;
    border-left: 2px solid var(--gold);
  }
  .statement-quote {
    font-family: var(--serif);
    font-style: normal;
    font-size: 22px;
    line-height: 1.5;
    color: var(--ink);
    margin: 0;
    font-weight: 400;
    max-width: 1100px;
  }
  .statement-quote strong { font-weight: 600; font-style: normal; color: var(--ink); }

  
/* ============== LEADERSHIP SECTION ============== */
  .leadership {
    background: var(--white);
    padding: 80px 40px 96px;
  }
  .leadership-inner {
    max-width: 1240px;
    margin: 0 auto;
  }
  .section-header {
    margin-bottom: 56px;
    padding-bottom: 18px;
    border-bottom: 0.5px solid var(--gold);
  }
  .section-header h2 {
    font-family: var(--serif);
    font-size: 32px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
  }

  /* Top tier â€” 2 large cards (Managing Partners) */
  .leader-grid-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-bottom: 80px;
  }
  /* Second tier â€” 2 medium cards (Practice Head + Compliance) */
  .leader-grid-second {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    max-width: 920px;
    margin: 0 auto;
  }

  .leader-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: start;
  }
  .leader-card.tier-2 {
    grid-template-columns: auto 1fr;
    gap: 24px;
  }

  /* Headshot placeholder */
  .leader-photo {
    width: 180px;
    height: 220px;
    background: var(--paper-deep);
    border: 0.5px solid var(--rule);
    flex-shrink: 0;
  }
  .leader-card.tier-2 .leader-photo {
    width: 130px;
    height: 160px;
  }

  .leader-info {
    padding-top: 4px;
  }
  .leader-name {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--ink);
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 6px 0;
    letter-spacing: 0.02em;
  }
  .leader-card.tier-2 .leader-name {
    font-size: 20px;
  }
  .leader-title {
    font-family: var(--sans-display);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 16px 0;
  }
  .leader-bio {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink);
    margin: 0 0 14px 0;
  }
  .leader-card.tier-2 .leader-bio {
    font-size: 13px;
    line-height: 1.55;
  }
  .leader-bio:last-child { margin-bottom: 0; }
  .leader-creds {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 0.5px solid var(--rule-faint);
    font-family: var(--sans-display);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.6;
  }

  
/* ============== STAFF SECTIONS (compact 4-col grid) ============== */
  .staff-section {
    background: var(--white);
    padding: 32px 40px 64px;
  }
  .staff-section.alt-bg {
    background: var(--paper);
  }
  .staff-inner {
    max-width: 1240px;
    margin: 0 auto;
  }
  .staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 32px;
  }
  .staff-card {
    text-align: left;
  }
  .staff-photo {
    width: 180px;
    height: 220px;
    background: var(--paper-deep);
    border: 0.5px solid var(--rule);
    margin-bottom: 16px;
  }
  .staff-section.alt-bg .staff-photo {
    background: var(--white);
  }
  .staff-name {
    font-family: var(--serif);
    font-size: 17px;
    color: var(--ink);
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 4px 0;
    letter-spacing: 0.02em;
  }
  .staff-title {
    font-family: var(--sans-display);
    font-size: 9.5px;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--gold);
    line-height: 1.4;
    margin: 0;
  }

  
/* ============== EXPERIENCE BASE LOGO STRIP ============== */
  .experience {
    background: var(--paper);
    padding: 72px 40px 80px;
    border-top: 0.5px solid var(--rule);
  }
  .experience-inner {
    max-width: 1240px;
    margin: 0 auto;
  }
  .experience-eyebrow {
    font-family: var(--sans-display);
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 0.5px solid var(--gold);
  }
  .experience-heading {
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: 0.04em;
    color: var(--ink);
    line-height: 1.4;
    margin: 0 0 32px 0;
    font-weight: 400;
    max-width: 760px;
    font-style: italic;
  }
  .experience-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px 48px;
    align-items: center;
  }
  .exp-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    filter: grayscale(100%);
    opacity: 0.70;
    transition: all 0.25s;
  }
  .exp-tile:hover {
    filter: grayscale(0%);
    opacity: 1;
  }
  .exp-tile img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
  }
  .experience-note {
    margin-top: 32px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
    font-style: italic;
  }

  
/* ============== CONTACT CTA ============== */
  .contact-cta {
    background: var(--ink);
    color: var(--white);
    padding: 80px 40px;
    text-align: center;
  }
  .contact-cta h3 {
    font-family: var(--serif);
    font-size: 28px;
    letter-spacing: 0.04em;
    color: var(--white);
    font-weight: 400;
    line-height: 1.4;
    margin: 0 0 28px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  .contact-cta a.cta-link {
    display: inline-block;
    font-family: var(--sans-display);
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--white);
    padding: 14px 32px;
    border: 0.5px solid var(--gold);
    transition: all 0.2s;
  }
  .contact-cta a.cta-link:hover {
    background: var(--gold);
    color: var(--ink);
  }

  
/* ============== TEAM CARDS â€” photo / monogram unified treatment ============== */
  .leader-photo,
  .staff-photo {
    overflow: hidden;
    position: relative;
    background: var(--paper-deep);
  }
  .leader-photo.has-photo,
  .staff-photo.has-photo {
    background: var(--ink);
  }
  .leader-photo img,
  .staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    filter: saturate(0.95) contrast(1.02);
  }
  .leader-photo.monogram,
  .staff-photo.monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper-deep);
    border: 0.5px solid var(--rule);
  }
  .leader-photo.monogram .monogram-letters,
  .staff-photo.monogram .monogram-letters {
    font-family: var(--display-italic);
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.04em;
    line-height: 1;
  }
  .leader-photo.monogram .monogram-letters { font-size: 64px; }
  .staff-photo.monogram .monogram-letters  { font-size: 48px; }

  /* Stacked leader card layout (photo on top, info below) â€” supersedes old side-by-side */
  .leader-card {
    display: block;
    text-align: left;
  }
  .leader-photo {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    height: auto;
    margin-bottom: 22px;
    border: none;
  }
  .leader-info { padding-top: 0; }
  .leader-name {
    font-size: 26px;
    margin-bottom: 8px;
  }
  .leader-grid-top {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 920px;
    margin: 0 auto 0;
  }

  /* Staff card photo sizing â€” fixed aspect ratio, full card width */
  .staff-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    border: none;
  }
  .staff-name {
    font-size: 16px;
    margin-bottom: 4px;
  }
  .staff-section.alt-bg .staff-photo.monogram {
    background: var(--white);
  }

  @media (max-width: 768px) {
    .leader-grid-top { grid-template-columns: 1fr; gap: 56px; }
    .staff-grid { grid-template-columns: repeat(2, 1fr); }
  }


/* Palette override for transactions.html */
body.page-template-page-transactions {
  --mist-blue: #A2CAEB;
  --gold: #A8B0BA;
}

/* ============== HERO BAND â€” photo with neutral scrim ============== */
  .hero-band {
    position: relative;
    color: var(--white);
    padding: 140px 40px 64px 40px;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
  }
  .hero-bg {
    position: absolute; inset: 0;
    background-image: none; /* Removed massive base64 at line 1939 */
    background-size: cover;
    background-position: center 40%;
    background-color: var(--ink);
    z-index: 0;
  }
  .hero-scrim {
    position: absolute; inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.82) 100%);
  }
  .hero-band-inner {
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
  }
  .hero-band h1 {
    font-family: var(--serif);
    font-size: 48px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 18px 0;
    color: var(--white);
    max-width: none;
    white-space: normal;
  }
  .hero-band .tagline {
    font-family: var(--serif);
    font-style: normal;
    font-size: 20px;
    line-height: 1.4;
    color: rgba(255,255,255,0.95);
    max-width: none;
    margin: 0;
    font-weight: 400;
    white-space: normal;
  }

  
/* ============== STATEMENT BAND ============== */
  .statement {
    background: var(--paper);
    padding: 56px 40px 48px;
    border-bottom: 0.5px solid var(--rule);
  }
  .statement-inner {
    max-width: 1240px;
    margin: 0 auto;
    text-align: left;
    padding-left: 28px;
    border-left: 2px solid var(--gold);
  }
  .statement-quote {
    font-family: var(--serif);
    font-style: normal;
    font-size: 22px;
    line-height: 1.5;
    color: var(--ink);
    margin: 0;
    font-weight: 400;
    max-width: 1100px;
  }
  .statement-quote strong { font-weight: 600; font-style: normal; color: var(--navy); }

  
/* ============== TOMBSTONE GRID ============== */
  .transactions {
    background: var(--white);
    padding: 80px 40px 96px;
  }
  .transactions-inner {
    max-width: 1320px;
    margin: 0 auto;
  }
  .tombstone-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
  .tombstone {
    background: var(--white);
    border: 0.5px solid var(--rule);
    padding: 28px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    aspect-ratio: 1 / 1;
    transition: all 0.2s;
  }
  .tombstone:hover {
    border-color: var(--ink);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  }
  .tombstone-logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 16px;
    min-height: 0;
  }
  .tombstone-logo img {
    max-width: 100%;
    max-height: 64px;
    object-fit: contain;
  }
  .tombstone-logo.text-only {
    font-family: var(--sans-display);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
    line-height: 1.3;
    font-weight: 600;
  }
  .tombstone-value {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--ink);
    margin-bottom: 4px;
    letter-spacing: 0.01em;
    font-weight: 600;
  }
  .tombstone-type {
    font-family: var(--sans-display);
    font-size: 9px;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.3;
  }
  /* Small accent rule above value */
  .tombstone-divider {
    width: 28px;
    height: 0.5px;
    background: var(--gold);
    margin-bottom: 12px;
  }

  
/* ============== DISCLAIMER ============== */
  .disclaimer {
    max-width: 1240px;
    margin: 64px auto 0;
    padding-top: 32px;
    border-top: 0.5px solid var(--rule);
    font-style: italic;
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
    text-align: center;
  }

/* --- Scroll Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger card animations slightly */
.leader-card.animate-on-scroll,
.staff-card.animate-on-scroll,
.transaction-card.animate-on-scroll {
  transition-duration: 0.8s;
}
/* --- Scroll Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger card animations slightly */
.leader-card.animate-on-scroll,
.staff-card.animate-on-scroll,
.tombstone.animate-on-scroll {
  transition-duration: 0.8s;
}

/* --- Responsive Adjustments --- */

.nav-toggle {
  display: none;
}

@media (max-width: 1024px) {
  /* Navigation & Hamburger */
  .nav-toggle {
    display: block;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    padding: 0;
  }
  .hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background 0.3s;
  }
  .hamburger::before, .hamburger::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s, top 0.3s, bottom 0.3s;
  }
  .hamburger::before { top: -8px; left: 0; }
  .hamburger::after { bottom: -8px; left: 0; }

  .nav-open .hamburger { background: transparent; }
  .nav-open .hamburger::before { transform: translateY(8px) rotate(45deg); top: -8px; }
  .nav-open .hamburger::after { transform: translateY(-8px) rotate(-45deg); bottom: -8px; }

  nav.primary {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    padding: 100px 40px;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.4s;
    z-index: 1000;
    overflow-y: auto;
    align-items: flex-start;
    display: flex !important;
  }
  .nav-open nav.primary {
    opacity: 1;
    visibility: visible;
  }

  nav.primary .nav-dropdown { display: block; width: 100%; }
  nav.primary .nav-trigger { font-size: 20px; margin-bottom: 12px; display: block; cursor: pointer; }
  nav.primary .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0 0 10px 20px;
    margin-top: 0;
    display: block !important;
  }
  nav.primary .nav-dropdown-menu a { padding: 10px 0; font-size: 14px; }
  nav.primary a { font-size: 20px; }
  nav.primary a.cta { margin-top: 20px; border-width: 1px; display: inline-block; }
  nav.primary a.active::after { bottom: -10px; }

  body.no-scroll { overflow: hidden; }

  /* Grid Stacking Fixes */
  .verticals-grid, 
  .pillars,
  .leader-grid-top,
  .staff-grid,
  .transaction-grid,
  .transaction-details,
  .contact-inner,
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  
  .hero-mark { font-size: 14vw; }
  .hero-anniversary { font-size: 16px; }
  
  .section, section { padding: 80px 0; }
  .container { padding: 0 32px; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 0 24px; }
  .vertical-card { padding: 32px 24px; }
  .wordmark { font-size: 18px; }
  
  .essence-quote { font-size: 28px; }
  .leader-photo { height: 400px; }
}

@media (max-width: 768px) {
  .footer-cols {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    text-align: center;
  }
  .footer-col ul {
    padding: 0;
    list-style: none;
  }
  .footer-mark {
    text-align: center;
    margin-bottom: 48px;
  }
  .footer-legal {
    text-align: center;
  }
  .footer-meta {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}

@media (max-width: 1024px) {
  .tombstone-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }
}

@media (max-width: 768px) {
  .tombstone-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .hero-band-inner h1 {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .tombstone-grid {
    grid-template-columns: 1fr !important;
  }
  .transactions-inner {
    padding: 0 16px;
  }
}

@media (max-width: 1024px) {
  .hero-band {
    padding: 64px 32px 48px;
  }
  .hero-band h1 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .hero-band {
    padding: 48px 24px 32px;
  }
  .hero-band h1 {
    font-size: 32px;
    line-height: 1.2;
  }
}

@media (max-width: 480px) {
  .hero-band {
    padding: 40px 20px 24px;
  }
  .hero-band h1 {
    font-size: 28px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .hero-band .tagline {
    font-size: 14px;
  }
}

/* Global Headings & Section Titles Responsiveness */
@media (max-width: 1024px) {
  .verticals-title, .leadership h2, .section-header h2 {
    font-size: 32px !important;
  }
  .service-block .name {
    font-size: 28px !important;
  }
}

@media (max-width: 768px) {
  .verticals-title, .leadership h2, .section-header h2 {
    font-size: 28px !important;
  }
  .service-block .name {
    font-size: 24px !important;
  }
  .statement-quote {
    font-size: 20px !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 480px) {
  .verticals-title, .leadership h2, .section-header h2 {
    font-size: 24px !important;
  }
  .service-block .name {
    font-size: 22px !important;
  }
  .statement-quote {
    font-size: 18px !important;
  }
  .info-block .firm-name {
    font-size: 20px !important;
  }
}

/* FINAL FIX FOR HERO HEADINGS - Removing nowrap and ensuring wrap */
.hero-band h1 {
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  max-width: 100% !important;
}

@media (max-width: 1024px) {
  .hero-band h1 {
    font-size: 36px !important;
  }
}

@media (max-width: 768px) {
  .hero-band h1 {
    font-size: 30px !important;
  }
}

@media (max-width: 480px) {
  .hero-band h1 {
    font-size: 22px !important;
  }
  .hero-band {
    padding: 30px 15px !important;
  }
}


/* Hide nav toggle on desktop */
@media (min-width: 1025px) {
  .nav-toggle {
    display: none !important;
  }
}

/* Mobile Centering Fix */
@media (max-width: 768px) {
    .leader-card { text-align: center !important; }
    .leader-photo { margin-left: auto !important; margin-right: auto !important; }
}

/* Enhanced Mobile Centering Fix */
@media (max-width: 768px) {
    .leader-card { 
        display: block !important; 
        text-align: center !important; 
    }
    .leader-photo { 
        margin-left: auto !important; 
        margin-right: auto !important; 
        display: block !important;
    }
    .leader-info { 
        padding-top: 20px !important; 
    }


/* Modular sections have been moved to assets/css/sections.css */



