
:root {
  --navy: #0b1320;
  --navy-2: #122033;
  --gold: #c19a45;
  --gold-deep: #c19a45;
  --text: #18212d;
  --muted: #5c6977;
  --line: #dde3ea;
  --soft: #f6f4ef;
  --white: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1280px, calc(100% - 56px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11,19,32,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.header-inner {
  min-height: 108px; display:flex; align-items:center; justify-content:space-between; gap: 28px;
}
.hero .grid-2 { align-items: end; }
.brand { display:flex; align-items:flex-start; gap:10px; }
.brand img { width: 58px; height: 58px; object-fit: contain; flex: 0 0 auto; margin-top: 0; }
.brand-wordmark { color:#fff; }
.brand-wordmark .name { font-family: Georgia, "Times New Roman", serif; font-size: 38.4px; letter-spacing: .38em; font-weight: 300; line-height: 1; color:#fff; }
.brand-wordmark .descriptor { margin-top: 7px; font-family: Georgia, "Times New Roman", serif; font-size: 14.7px; letter-spacing: .12em; text-transform: uppercase; color:#fff; line-height: 1; }
.nav { display:flex; gap: 26px; flex-wrap: wrap; justify-content: flex-end; font-family: Arial, Helvetica, sans-serif; }
.nav a { color:#e5ebf0; font-size: 16px; }
.nav a:hover, .nav a.active { color: var(--gold); }
.hero {
  position: relative; min-height: 72vh; display:flex; align-items:flex-end; color:#fff; background: var(--navy);
}
.hero::before {
  content:""; position:absolute; inset:0;
  background-image: var(--hero-image);
  background-size: cover; background-position: center;
}
.hero::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(6,10,19,.78), rgba(6,10,19,.28) 48%, rgba(6,10,19,.55));
}
.hero-inner { position:relative; z-index:1; padding: 96px 0 72px; width:100%; max-width: 1380px; margin: 0 auto; }
.hero h1 { font-size: clamp(48px, 8vw, 86px); line-height: .96; margin: 0; font-weight: 300; }
.hero .subtitle { margin-top: 18px; max-width: 1080px; font-size: clamp(20px, 2.6vw, 34px); color:#dde5ee; font-weight: 300; }
.hero .lede { max-width: 1080px; margin-top: 28px; font-size: 27.14px; line-height: 1.7; color:#e7edf4; }
.hero .tagline { margin-top: 32px; min-width: 500px; width:auto; padding-top: 24px; border-top: 1px solid #c19a45; margin-left:auto; font-style: italic; color: #c19a45; font-size: clamp(28px, 3.6vw, 52px); text-align:left; display:flex; flex-wrap:nowrap; white-space:nowrap; justify-content:flex-start; gap: 0 12px; align-self:end; }
.hero .tagline-word { opacity: 0; transform: translateY(10px); display:inline-block; animation: farosFadeUp .55s ease forwards; white-space: nowrap; }
.hero .tagline-word:nth-child(1) { animation-delay: .25s; }
.hero .tagline-word:nth-child(2) { animation-delay: .55s; }
.hero .tagline-word:nth-child(3) { animation-delay: .85s; }
.hero .tagline-word:nth-child(4) { animation-delay: 1.15s; }
@keyframes farosFadeUp { from { opacity:0; transform: translateY(10px); } to { opacity:1; transform: translateY(0); } }
.section { padding: 92px 0; }
.section.alt { background: var(--soft); }
.section.dark { background: var(--navy); color:#fff; }
.h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.08; margin:0; font-weight: 400; }
.lead { margin-top: 22px; font-size: 19px; line-height: 1.8; color: var(--muted); }
.dark .lead { color:#cfd7e1; }
.metric-strip { border-bottom: 1px solid var(--line); background:#fff; }
.metric-grid { display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; padding: 36px 0 26px; }
.metric-card h3 { margin:0; font-size: 24px; font-weight: 500; }
.metric-card p { margin:8px 0 0; color: var(--muted); line-height: 1.6; font-family: Arial, Helvetica, sans-serif; font-size: 16px; }
.grid-2 { display:grid; grid-template-columns: 1.08fr .72fr; gap: 48px; align-items:start; }
.grid-3 { display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.card {
  background:#fff; border:1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: 0 8px 24px rgba(10,18,31,.05);
}
.card.soft { background:#f8fafc; }
.card.dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.10); color:#fff; box-shadow:none; }
.card h3 { margin:0; font-size: 30px; line-height:1.14; font-weight: 400; }
.card p, .card li { margin-top: 14px; color: var(--muted); line-height: 1.8; font-family: Arial, Helvetica, sans-serif; }
.card.dark p, .card.dark li { color: #d6deea; }
.card-image { height: 220px; width:100%; object-fit:cover; border-radius: 28px 28px 0 0; }
.action-link { margin-top: 18px; display:inline-flex; align-items:center; gap:8px; font-family: Arial, Helvetica, sans-serif; font-size:14px; }
.image-panel { position: relative; }
.image-panel img { width:100%; height: 560px; object-fit: cover; border-radius: 32px; box-shadow: 0 24px 50px rgba(10,18,31,.12); }
.floating-note {
  position:absolute; left:-22px; bottom:-28px; max-width: 320px; background: var(--navy); color:#fff; border:1px solid rgba(255,255,255,.12); border-radius: 28px; padding: 28px; box-shadow: 0 20px 44px rgba(10,18,31,.25);
}
.floating-note h3 { margin:0; font-size: 30px; font-weight: 400; }
.floating-note p { margin:14px 0 0; color:#d2dbe5; line-height:1.8; font-family: Arial, Helvetica, sans-serif; }
.cta-band { border:1px solid rgba(255,255,255,.10); background: var(--navy); border-radius: 32px; padding: 34px 38px; display:flex; align-items:center; justify-content:space-between; gap: 32px; }
.btn {
  display:inline-flex; align-items:center; justify-content:center; padding: 14px 24px; border-radius: 999px; font-family: Arial, Helvetica, sans-serif; font-size: 15px; transition:.2s ease; cursor:pointer;
}
.btn.primary { background: #c19a45; color:#131a24; }
.btn.secondary { border:1px solid rgba(255,255,255,.18); color:#fff; }
.btn.dark { background: var(--navy); color:#fff; }
.btn.outline { border:1px solid var(--line); color:var(--text); }
.list, .tabs-content ul { list-style:none; padding:0; margin: 20px 0 0; }
.list li, .tabs-content li { position:relative; padding-left: 24px; margin: 12px 0; line-height: 1.75; font-family: Arial, Helvetica, sans-serif; }
.list li::before, .tabs-content li::before {
  content: "›"; position:absolute; left:0; top:0; color: #c19a45; font-size: 20px; line-height:1.2;
}
.page-grid { display:grid; grid-template-columns: 360px 1fr; gap: 40px; align-items:start; }
.profile-card { position: sticky; top: 106px; }
.tabs { display:flex; flex-wrap:wrap; gap:10px; margin-bottom: 28px; }
.tab { padding: 10px 16px; border-radius: 999px; border:1px solid #ccd5de; font-family: Arial, Helvetica, sans-serif; font-size: 14px; background:#fff; cursor:pointer; }
.tab.active { background: #c19a45; border-color: #c19a45; color:#1b2430; }
.tabs-content { background:#f8fafc; border:1px solid var(--line); border-radius: 30px; padding: 32px; }
.tabs-content h3 { margin:0; font-size: 34px; font-weight:400; }
.tabs-content p { margin: 16px 0 0; line-height: 1.85; color: var(--muted); font-family: Arial, Helvetica, sans-serif; }
.contact-grid { display:grid; grid-template-columns: .84fr 1.16fr; gap: 36px; }
.contact-item { display:flex; gap:16px; align-items:flex-start; }
.contact-item strong { display:block; text-transform:uppercase; letter-spacing: .16em; font-size: 11px; font-family: Arial, Helvetica, sans-serif; color:#7a8592; }
.form-grid { display:grid; gap: 16px; }
.input, select, textarea {
  width:100%; padding: 16px 18px; border:1px solid #cfd7df; border-radius: 18px; font: 15px Arial, Helvetica, sans-serif; background:#fff;
}
textarea { min-height: 170px; resize: vertical; }

/* Contact form submit button: remove native browser button chrome that can appear as faint extra lines. */
.form-grid button.btn.dark[type="submit"] {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  box-shadow: none;
  background-image: none;
  background-color: var(--navy);
  color: #fff;
}
.form-grid button.btn.dark[type="submit"]::-moz-focus-inner {
  border: 0;
  padding: 0;
}
.site-footer { background: var(--navy); color:#fff; border-top: 1px solid rgba(255,255,255,.10); }
.footer-grid { display:grid; grid-template-columns: auto 1fr auto auto; gap: 34px; padding: 40px 0; align-items:center; }
.footer-links { display:grid; gap: 10px; font-family: Arial, Helvetica, sans-serif; }
.footer-meta { display:grid; gap: 10px; color:#c4ced8; font-family: Arial, Helvetica, sans-serif; font-size: 14px; }
.small { font-family: Arial, Helvetica, sans-serif; }
@media (max-width: 1180px) {
  .nav { display:none; }
  .metric-grid, .grid-2, .grid-3, .contact-grid, .page-grid, .footer-grid { grid-template-columns: 1fr; }
  .image-panel img { height: 420px; }
  .floating-note { position: static; max-width:none; margin-top: 20px; }
  .profile-card { position: static; }
  .hero .tagline { margin-left:0; text-align:left; min-width: 0; width: auto; flex-wrap: nowrap; white-space: nowrap; }
  .cta-band { flex-direction: column; align-items:flex-start; }
}

.about-intro { display:flex; align-items:center; }
.about-intro-inner { max-width: 720px; margin: 0 auto; }
.profile-card .h2, .profile-card h2 { white-space: nowrap; font-size: clamp(34px, 2.6vw, 40px) !important; }
.profile-role { white-space: nowrap; font-size: 18px !important; }


.footer-brand { display:flex; align-items:flex-start; gap:12px; }
.footer-brand img { width:45.31px; height:45.31px; object-fit: contain; flex:0 0 auto; margin-top: 0; }
.footer-brand .brand-wordmark .name { font-family: Georgia, "Times New Roman", serif; font-size:30px !important; letter-spacing:.38em; font-weight:300; line-height:1; color:#fff; }
.footer-brand .brand-wordmark .descriptor { margin-top:6px; font-family: Georgia, "Times New Roman", serif; font-size:11.48px; letter-spacing:.12em; text-transform:uppercase; color:#fff; line-height:1; }
.footer-tagline { display:flex; justify-content:center; align-items:center; text-align:center; min-height:100%; transform: translateX(-28px); }
.footer-tagline .footer-tagline-text { color: #c19a45; font-style: italic; font-size: 24px; line-height:1.15; white-space: nowrap; }
.hero-page-grid { display:grid; grid-template-columns: 1.08fr .72fr; gap:48px; align-items:end; }
.hero-page-grid .tagline { margin-top: 32px; min-width: 500px; width:auto; padding-top: 24px; border-top: 1px solid #c19a45; margin-left:auto; font-style: italic; color: #c19a45; font-size: clamp(28px, 3.6vw, 52px); text-align:left; display:flex; flex-wrap:nowrap; white-space:nowrap; justify-content:flex-start; gap: 0 12px; align-self:end; }
.hero-page-grid .tagline-word { opacity: 0; transform: translateY(10px); display:inline-block; animation: farosFadeUp .55s ease forwards; white-space: nowrap; }
.hero-page-grid .tagline-word:nth-child(1) { animation-delay: .25s; }
.hero-page-grid .tagline-word:nth-child(2) { animation-delay: .55s; }
.hero-page-grid .tagline-word:nth-child(3) { animation-delay: .85s; }
.hero-page-grid .tagline-word:nth-child(4) { animation-delay: 1.15s; }
@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-tagline { justify-content:flex-start; text-align:left; }
  .footer-tagline .footer-tagline-text { white-space: normal; }
  .hero-page-grid { grid-template-columns: 1fr; }
  .hero-page-grid .tagline { margin-left:0; min-width:0; }
}



/* readability */
.hero h1,
.hero .subtitle,
.hero .lede,
.hero .tagline {
  text-shadow: 0 3px 12px rgba(0,0,0,0.75);
}

/* lower text */
.hero-inner {
  padding: 165px 0 35px;
}



/* Home page image tuning ONLY */
.hero-home::before {
  filter: brightness(1.08) contrast(1.08);
  image-rendering: auto;
}

.hero-home::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(90deg,
    rgba(6,10,19,.22),
    rgba(6,10,19,.06) 48%,
    rgba(6,10,19,.14));
}

/* Home page hero composition */
.hero-home h1,
.hero-home .subtitle {
  display: none;
}

.hero-home .hero-inner {
  padding: 170px 0 18px;
}

.hero-home .grid-2 {
  align-items: end;
}

@media (max-width: 980px) {
  .hero-home .hero-inner {
    padding: 138px 0 24px;
  }

  }


/* Home CTA gold filled with black text */
.hero-home .home-hero-actions .btn,
.hero-home .home-hero-actions .btn.primary,
.hero-home .home-hero-actions .btn.secondary {
  background: #c19a45;
  color: #000000;
  border: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.hero-home .home-hero-actions .btn:hover {
  background: #c19a45;
  color: #000000;
}


/* Contact page tuned hero treatment for stronger tagline legibility */
.contact-hero::before {
  filter: brightness(0.96) contrast(1.05) saturate(0.97);
}
.contact-hero::after {
  background: linear-gradient(90deg, rgba(6,10,19,.42), rgba(6,10,19,.18) 48%, rgba(6,10,19,.30));
}
.contact-hero .tagline {
  border-top-color: #c19a45;
  color: #c19a45;
  text-shadow: 0 4px 16px rgba(0,0,0,.92);
}
.contact-hero h1,
.contact-hero .lede {
  text-shadow: 0 4px 16px rgba(0,0,0,.88);
}



/* Align non-home hero content lower to match the home page feel */
.hero:not(.hero-home) .hero-inner {
  padding: 170px 0 18px;
}

@media (max-width: 980px) {
  .hero:not(.hero-home) .hero-inner {
    padding: 138px 0 24px;
  }
}


.about-home-center .about-intro-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.portrait-card img {
  display: block;
}


.footer-legal {
  padding: 18px 0 34px;
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #c4ced8;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}


@media (max-width: 980px) {
  .footer-tagline { transform: none; }
}


/* Interior pages without hero tagline */
.hero-page-grid {
  grid-template-columns: 1fr;
}


.founder-portrait-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8px 0 22px;
}

.founder-quote {
  width: 78%;
  max-width: 420px;
  text-align: left;
  padding: 0 8px 18px;
}

.founder-quote-text {
  font-style: italic;
  color: var(--text);
  font-size: 20px;
  line-height: 1.6;
}

.founder-quote-attrib {
  margin-top: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .founder-quote {
    width: 86%;
  }
}


.broader-capabilities-card {
  grid-template-columns: 1.02fr 0.78fr;
  gap: 36px;
}

.broader-capabilities-copy {
  padding: 34px;
}

@media (max-width: 980px) {
  .broader-capabilities-card {
    grid-template-columns: 1fr;
  }

  .broader-capabilities-copy {
    padding: 34px;
  }
}


.cta-band .h2,
.cta-band .lead {
  color: #fff;
}

.section.alt .cta-band .lead {
  color: #d6deea;
}


/* About page hero lowered */
.about-hero .hero-inner {
  padding: 195px 0 26px;
}

@media (max-width: 980px) {
  .about-hero .hero-inner {
    padding: 150px 0 28px;
  }
}


/* Contact page hero lowered to match other interior pages */
.contact-hero .hero-inner {
  padding: 195px 0 26px;
}

@media (max-width: 980px) {
  .contact-hero .hero-inner {
    padding: 150px 0 28px;
  }
}


.hero-home .hero-inner {
  position: relative;
  min-height: 72vh;
  padding-top: 96px;
  padding-bottom: 6px;
}

.hero-home .hero-home-layout {
  position: relative;
  min-height: 54vh;
}

.hero-home .tagline {
  position: absolute;
  top: 10px;
  right: 0;
  left: auto;
  margin-top: 0;
  margin-left: 0;
  min-width: 0;
  width: auto;
  max-width: 42%;
  padding-top: 18px;
  border-top: none;
  align-self: auto;
}

/* keep the phrase over the water on narrower screens */
@media (max-width: 1100px) {
  .hero-home .tagline {
    max-width: 48%;
    top: 0;
  }
  }

@media (max-width: 760px) {
  .hero-home .hero-inner {
    min-height: 68vh;
  }
  .hero-home .hero-home-layout {
    min-height: 52vh;
  }
  .hero-home .tagline {
    position: static;
    max-width: none;
    margin-left: 0;
    padding-top: 14px;
  }
  }


@media (max-width: 1200px) {
  }

@media (max-width: 900px) {
  }


@media (max-width: 1200px) {
  }

@media (max-width: 900px) {
  }


@media (max-width: 1200px) {
  }

@media (max-width: 900px) {
  }


@media (max-width: 1200px) {
  }

@media (max-width: 900px) {
  }


.hero-home .lede {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -28px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  color: #e7edf4;
  text-align: left;
  font-size: clamp(46px, 3.45vw, 54px);
  line-height: 0.98;
  font-weight: 300;
  letter-spacing: -0.016em;
}

@media (max-width: 1200px) {
  .hero-home .lede {
    bottom: -22px;
    font-size: clamp(38px, 3.2vw, 46px);
    line-height: 1.00;
  }
}

@media (max-width: 900px) {
  
}


/* Home hero phrase: lowered into the water and enlarged */
.hero-home .hero-inner {
  min-height: 72vh;
  padding-bottom: 0 !important;
}

.hero-home .hero-home-layout {
  min-height: 72vh;
}

.hero-home .lede {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px !important;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  color: #e7edf4;
  text-align: left;
  font-size: clamp(50px, 3.7vw, 56px) !important;
  line-height: 0.97;
  font-weight: 300;
  letter-spacing: -0.016em;
}

@media (max-width: 1200px) {
  .hero-home .hero-inner {
    padding-bottom: 0 !important;
  }
  .hero-home .hero-home-layout {
    min-height: 68vh;
  }
  .hero-home .lede {
    bottom: 6px !important;
    font-size: clamp(40px, 3.3vw, 46px) !important;
    line-height: 0.99;
  }
}

@media (max-width: 900px) {
  .hero-home .hero-home-layout {
    min-height: auto;
  }
  
}


/* Refine home hero phrase spacing and size */
.hero-home .lede {
  bottom: 20px !important;
  font-size: clamp(52px, 3.9vw, 60px) !important;
  line-height: 0.98 !important;
}

@media (max-width: 1200px) {
  .hero-home .lede {
    bottom: 18px !important;
    font-size: clamp(42px, 3.45vw, 48px) !important;
    line-height: 1.00 !important;
  }
}


/* Final refinement: larger text, balanced two lines */
.hero-home .lede {
  font-size: clamp(56px, 4.2vw, 64px) !important;
  line-height: 0.97 !important;
}

@media (max-width: 1200px) {
  .hero-home .lede {
    font-size: clamp(46px, 3.8vw, 52px) !important;
  }
}


/* Accessibility helpers */
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  padding: 10px 14px;
  background: #ffffff;
  color: #0b1320;
  border: 2px solid #0b1320;
  border-radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
}
.skip-link:focus {
  top: 12px;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
main:focus {
  outline: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}


.jp-contact-block {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.jp-icon-wrap {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  color: var(--text);
}

.jp-icon {
  width: 20px;
  height: 20px;
  display: block;
}


/* Spacing adjustments for professional card */
.jp-contact-block {
  margin-top: 8px !important; /* more space from designations */
}

.jp-contact-block + .btn {
  margin-top: 16px !important; /* space before CTA */
}


/* Home hero phrase should stay low over the water as the window narrows */
@media (max-width: 900px) {
  .hero-home .hero-home-layout {
    position: relative !important;
    min-height: 54vh !important;
  }

  .hero-home .lede {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 10px !important;
    margin-top: 0 !important;
    width: 100% !important;
    font-size: clamp(30px, 5.4vw, 40px) !important;
    line-height: 1.02 !important;
  }
}

@media (max-width: 760px) {
  .hero-home .hero-home-layout {
    position: relative !important;
    min-height: 52vh !important;
  }

  .hero-home .lede {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 12px !important;
    margin-top: 0 !important;
    width: 100% !important;
    font-size: clamp(26px, 6vw, 36px) !important;
    line-height: 1.03 !important;
  }
}


/* Final lock: keep home hero phrase low as window narrows */
@media (max-width: 1100px) {
  .hero-home .hero-inner {
    padding-top: 108px !important;
    padding-bottom: 20px !important;
  }

  .hero-home .hero-home-layout {
    position: relative !important;
    min-height: 50vh !important;
  }

  .hero-home .lede {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 12px !important;
    top: auto !important;
    margin-top: 0 !important;
    transform: none !important;
  }
}

@media (max-width: 900px) {
  .hero-home .hero-home-layout {
    min-height: 48vh !important;
  }

  .hero-home .lede {
    bottom: 14px !important;
  }
}

@media (max-width: 760px) {
  .hero-home .hero-home-layout {
    min-height: 46vh !important;
  }

  .hero-home .lede {
    bottom: 16px !important;
  }
}

/* FIX: keep home hero phrase anchored low on narrow windows */
@media (max-width: 900px) {
  .hero-home .lede {
    position: absolute !important;
    bottom: 12px !important;
    top: auto !important;
    margin: 0 !important;
  }
}
@media (max-width: 760px) {
  .hero-home .lede {
    position: absolute !important;
    bottom: 14px !important;
    top: auto !important;
    margin: 0 !important;
  }
}

/* Investigations: slightly brighter/sharper only */
.investigations-hero::before {
  filter: brightness(1.08) contrast(1.06) !important;
}


/* Subtle overlay for img-based heroes (Disputes + Investigations) */
.disputes-hero::after,
.investigations-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(6,10,19,0.38),
    rgba(6,10,19,0.20) 48%,
    rgba(6,10,19,0.28)
  );
  z-index: 1;
  pointer-events: none;
}

.disputes-hero .hero-inner,
.investigations-hero .hero-inner {
  position: relative;
  z-index: 2;
}


/* Lighter text color for hero phrases (not tagline) */
.hero h1 {
  color: #e7edf4;
}
.hero .subtitle {
  color: #e7edf4;
}


/* Investigations hero - slightly less bright */
.investigations-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,10,19,0.08), rgba(6,10,19,0.03) 48%, rgba(6,10,19,0.06));
}


/* Professionals selector */
.professional-selector-section { padding-top: 28px; }
.professional-selector { display:flex; flex-wrap:wrap; justify-content:center; gap:14px; }
.professional-toggle {
  appearance:none;
  border:1px solid var(--line);
  background:#fff;
  color:var(--navy);
  border-radius:999px;
  padding:12px 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size:18px;
  line-height:1.2;
  cursor:pointer;
  transition:all .2s ease;
}
.professional-toggle:hover,
.professional-toggle:focus-visible {
  border-color: rgba(198,174,121,.9);
  box-shadow: 0 10px 22px rgba(15,23,42,.08);
  outline:none;
}
.professional-toggle.active {
  background: var(--navy);
  color:#fff;
  border-color: var(--navy);
}
.professional-profile { padding-top: 28px; }
.professional-profile:not(.active) { display:none; }

@media (max-width: 980px) {
  .professional-selector-section { padding-top: 20px; }
  .professional-toggle { width:100%; max-width:420px; }
  .professional-profile { padding-top: 20px; }
}


.professional-selector-section{
  padding-bottom: 0 !important;
}
.professional-selector{
  margin-bottom: 26px;
}
.professional-profile .container.page-grid{
  padding-top: 8px;
}



/* Professionals page card width fix */
.professional-profile .container.page-grid {
  grid-template-columns: 360px minmax(0, 1fr);
}
.professional-profile .profile-card {
  width: 100%;
  max-width: 360px !important;
  box-sizing: border-box;
}
.professional-profile .profile-card .h2 {
  overflow-wrap: anywhere;
}



/* Professionals page name wrap and CTA spacing refinement */
.professional-profile .profile-card h2.h2 {
  line-height: 1.08;
}
.professional-profile .profile-card h2.h2 br {
  display: block;
}



/* Professionals page title/credential consistency */
.professional-profile .profile-role {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  margin: 4px 0;
}



/* Final home hero fix: keep the phrase low when the browser is squeezed */
@media (max-width: 1200px) {
  .hero-home {
    min-height: 72vh !important;
    display: flex !important;
    align-items: flex-end !important;
  }

  .hero-home .hero-inner {
    min-height: 72vh !important;
    height: 72vh !important;
    display: flex !important;
    align-items: flex-end !important;
    padding-top: 132px !important;
    padding-bottom: 14px !important;
  }

  .hero-home .hero-home-layout {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 620px !important;
    height: 620px !important;
  }

  .hero-home .lede {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding-bottom: 0 !important;
    transform: none !important;
  }
}

@media (max-width: 980px) {
  .hero-home {
    min-height: 68vh !important;
  }

  .hero-home .hero-inner {
    min-height: 68vh !important;
    height: 68vh !important;
    padding-top: 122px !important;
    padding-bottom: 12px !important;
  }
}



/* Specific sync for consultation-band CTA */
.cta-band .btn.primary,
.section.alt .cta-band .btn.primary,
.cta-band a.btn.primary {
  background: #c19a45 !important;
  border-color: #c19a45 !important;
}
.cta-band .btn.primary:hover,
.section.alt .cta-band .btn.primary:hover,
.cta-band a.btn.primary:hover {
  background: #c19a45 !important;
  border-color: #c19a45 !important;
}

/* FINAL FIX — consultation CTA matches Home CTA EXACTLY */
.cta-band .btn.primary,
.section.alt .cta-band .btn.primary,
.cta-band a.btn.primary {
  background: #c19a45 !important;
  color: #000000 !important;
  border: none !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35) !important;
}

.cta-band .btn.primary:hover,
.section.alt .cta-band .btn.primary:hover,
.cta-band a.btn.primary:hover {
  background: #c19a45 !important;
  color: #000000 !important;
}

/* TRUE FIX — professional bubbles EXACT gold */
.tabs .tab.active {
  background-color: #c19a45 !important;
  background: #c19a45 !important;
}

.tabs .tab.active span,
.tabs .tab.active {
  color: #000000 !important;
}

/* enforce all bubble gold */
.tab.active,
.tabs .tab.active,
.tabs .tab.active span {
  background: #c19a45 !important;
  border-color: #c19a45 !important;
}

.tab:hover,
.tabs .tab:hover {
  border-color: #c19a45 !important;
}


/* Ensure Schedule a consultation CTA uses exact hero gold */
.cta-band .btn.primary,
.section.alt .cta-band .btn.primary,
.cta-band a.btn.primary {
  background: #c19a45 !important;
  background-color: #c19a45 !important;
  border-color: #c19a45 !important;
  color: #000000 !important;
  border: none !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35) !important;
}

.cta-band .btn.primary:hover,
.section.alt .cta-band .btn.primary:hover,
.cta-band a.btn.primary:hover {
  background: #c19a45 !important;
  background-color: #c19a45 !important;
  border-color: #c19a45 !important;
  color: #000000 !important;
  border: none !important;
}


.footer-legal { color:#c4ced8; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.7; padding-bottom: 28px; }
.footer-legal a { color: #c19a45; text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }


.contact-item a { color: var(--text); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }
.contact-info-card {
  padding: 24px;
  border-radius: 24px;
}

.contact-info-stack {
  gap: 16px !important;
}

.footer-meta a { color: inherit; text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; }
.form-note { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 1.65; color: var(--muted); }
.form-note a { color: var(--text); text-decoration: underline; }


/* Mobile optimization */
.mobile-nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  color: #fff;
  border-radius: 999px;
  width: 48px;
  height: 48px;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus-visible {
  background: rgba(255,255,255,.10);
  border-color: rgba(193,154,69,.75);
  outline: none;
}
.mobile-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .22s ease, opacity .22s ease;
}
body.nav-open .mobile-nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
body.nav-open .mobile-nav-toggle span:nth-child(2) {
  opacity: 0;
}
body.nav-open .mobile-nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
body.nav-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .container {
    width: min(1280px, calc(100% - 36px));
  }

  .site-header {
    backdrop-filter: blur(12px);
  }

  .header-inner {
    min-height: 84px;
    gap: 16px;
    align-items: center;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand-wordmark .name {
    font-size: 27px;
    letter-spacing: .34em;
  }

  .brand-wordmark .descriptor {
    margin-top: 5px;
    font-size: 9.8px;
    letter-spacing: .09em;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .nav {
    display: flex !important;
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    z-index: 25;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 8px 18px 26px;
    background: rgba(11,19,32,.98);
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 18px 40px rgba(0,0,0,.24);
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  body.nav-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    display: block;
    padding: 14px 0;
    font-size: 18px;
    line-height: 1.25;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 72px 0;
  }

  .grid-2,
  .grid-3,
  .contact-grid,
  .page-grid,
  .footer-grid,
  .hero-page-grid,
  .metric-grid {
    gap: 24px;
  }

  .hero {
    min-height: 54vh !important;
  }

  .hero h1 {
    font-size: clamp(36px, 7vw, 56px);
    line-height: 1.02;
  }

  .hero .subtitle {
    font-size: clamp(18px, 3vw, 24px);
    margin-top: 14px;
  }

  .hero .lede {
    font-size: clamp(24px, 4.5vw, 36px);
    line-height: 1.08;
  }

  .hero .tagline,
  .hero-page-grid .tagline {
    font-size: clamp(20px, 4vw, 30px);
    min-width: 0;
  }

  .hero:not(.hero-home) .hero-inner,
  .about-hero .hero-inner,
  .contact-hero .hero-inner {
    padding: 136px 0 22px !important;
  }

  .metric-grid {
    padding: 28px 0 18px;
  }

  .metric-card h3 {
    font-size: 22px;
  }

  .metric-card p {
    font-size: 15px;
    line-height: 1.55;
  }

  .lead {
    font-size: 18px;
    line-height: 1.75;
  }

  .card,
  .tabs-content,
  .cta-band {
    border-radius: 24px;
  }

  .card {
    padding: 24px;
  }

  .card h3,
  .floating-note h3,
  .tabs-content h3 {
    font-size: 28px;
  }

  .image-panel img,
  img[style*="height:720px"] {
    height: 420px !important;
  }

  .floating-note {
    margin-top: 18px;
  }

  .cta-band {
    padding: 28px 24px;
  }

  .cta-band .h2 {
    font-size: clamp(34px, 5vw, 46px) !important;
    line-height: 1.05;
  }

  .professional-profile .container.page-grid,
  .professional-profile .profile-card {
    max-width: none !important;
  }

  .professional-profile .profile-card h2.h2,
  .professional-card-body .h2,
  .professional-card-body .h2.name-single-line,
  .profile-card .h2,
  .profile-card h2,
  .profile-role,
  .hero h1[style*="white-space:nowrap"],
  .section [style*="white-space:nowrap"] {
    white-space: normal !important;
  }

  .professional-card-link img {
    height: 380px;
  }

  .jp-contact-block a {
    overflow-wrap: anywhere;
  }

  .tabs {
    gap: 10px;
  }

  .tab {
    font-size: 14px;
  }

  .footer-grid {
    align-items: start;
    text-align: left;
    padding: 34px 0;
  }

  .footer-brand .brand-wordmark .name {
    font-size: 24px !important;
    letter-spacing: .34em;
  }

  .footer-brand .brand-wordmark .descriptor {
    font-size: 8.71px;
    letter-spacing: .09em;
  }

  .footer-meta,
  .footer-links {
    gap: 8px;
  }

  .footer-legal {
    padding: 18px 0 26px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1280px, calc(100% - 24px));
  }

  .header-inner {
    min-height: 78px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand-wordmark .name {
    font-size: 24px;
    letter-spacing: .34em;
  }

  .brand-wordmark .descriptor {
    font-size: 8.8px;
    letter-spacing: .08em;
  }

  .mobile-nav-toggle {
    width: 44px;
    height: 44px;
  }

  .nav {
    top: 78px;
    max-height: calc(100vh - 78px);
    padding-bottom: 20px;
  }

  .nav a {
    font-size: 17px;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    min-height: 46vh !important;
  }

  .hero:not(.hero-home) .hero-inner,
  .about-hero .hero-inner,
  .contact-hero .hero-inner {
    padding: 120px 0 18px !important;
  }

  .hero h1 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .hero .subtitle {
    font-size: 18px;
  }

  .hero-home {
    min-height: 64vh !important;
  }

  .hero-home .hero-inner {
    min-height: 64vh !important;
    height: 620px !important;
    padding-top: 112px !important;
    padding-bottom: 14px !important;
  }

  .hero-home .hero-home-layout {
    min-height: 42vh !important;
  }

  .hero-home .tagline {
    position: static !important;
    max-width: none !important;
    font-size: clamp(18px, 6vw, 24px) !important;
    line-height: 1.1;
    gap: 0 8px;
    padding-top: 0;
  }

  .hero-home .lede {
    position: relative !important;
    bottom: auto !important;
    font-size: clamp(26px, 7.2vw, 34px) !important;
    line-height: 1.08 !important;
    margin-top: 14px !important;
  }

  .metric-grid {
    gap: 18px;
  }

  .metric-card p br,
  .hero-home .lede br,
  .professional-card-body h2 br,
  .professional-profile .profile-card h2 br {
    display: none;
  }

  .card,
  .tabs-content {
    padding: 22px;
  }

  .card h3,
  .floating-note h3,
  .tabs-content h3 {
    font-size: 24px;
  }

  .lead,
  .card p,
  .card li,
  .tabs-content p,
  .list li,
  .tabs-content li {
    font-size: 16px;
    line-height: 1.7;
  }

  .image-panel img,
  img[style*="height:720px"],
  .professional-card-link img {
    height: 320px !important;
  }

  .founder-quote {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .founder-quote-text {
    font-size: 18px;
  }

  .founder-quote-attrib {
    font-size: 14px;
  }

  .tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tab {
    width: 100%;
    text-align: left;
    font-size: 15px;
    padding: 12px 15px;
  }

  .card ul.list,
  .tabs-content ul,
  ul.list,
  ul[style*="column-count:2"] {
    column-count: 1 !important;
    columns: 1 !important;
  }

  .professional-card-body {
    padding: 20px 20px 24px;
  }

  .professional-card-body .h2,
  .professional-card-body .h2.name-single-line,
  .profile-card .h2,
  .profile-card h2 {
    font-size: 30px !important;
    line-height: 1.08 !important;
  }

  .profile-role {
    font-size: 16px !important;
    line-height: 1.45 !important;
  }

  .jp-contact-block > div {
    align-items: flex-start !important;
  }

  .cta-band {
    padding: 24px 20px;
  }

  .cta-band .h2 {
    font-size: clamp(30px, 9vw, 40px) !important;
  }

  .cta-band .btn,
  .btn {
    width: 100%;
    max-width: 100%;
  }

  .section .lead[style*="display:inline-block"] {
    display: block !important;
    white-space: normal !important;
    font-size: 1.25rem !important;
  }

  .contact-item .small,
  .contact-item [style*="font-size:20.7px"],
  .contact-item [style*="font-size:18px"] {
    font-size: 16px !important;
  }

  .contact-info-card {
    padding: 22px;
  }

  .footer-brand .brand-wordmark .name {
    font-size: 21px !important;
    letter-spacing: .34em;
  }

  .footer-brand .brand-wordmark .descriptor {
    font-size: 7.7px;
    letter-spacing: .08em;
  }

  .footer-tagline .footer-tagline-text {
    font-size: 20px;
  }

  .footer-legal {
    font-size: 13px;
  }
}


/* Mobile refinement pass — keep home hero copy anchored lower and stack profile pages cleanly */
@media (max-width: 980px) {
  .hero-home .hero-inner {
    display: flex !important;
    align-items: flex-end !important;
  }

  .hero-home .hero-home-layout {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    width: 100% !important;
    min-height: calc(68vh - 134px) !important;
    padding-bottom: 18px !important;
  }

  .hero-home .tagline {
    margin-top: auto !important;
    align-self: flex-start !important;
  }

  .hero-home .lede {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    max-width: 12ch !important;
  }

  .professional-profile .container.page-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .professional-profile .profile-card {
    max-width: none !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 760px) {
  .hero-home .hero-home-layout {
    min-height: calc(64vh - 126px) !important;
    padding-bottom: 20px !important;
  }

  .hero-home .lede {
    max-width: 11ch !important;
  }

  .professional-profile .container.page-grid > div:last-child {
    min-width: 0 !important;
    width: 100% !important;
  }

  .tabs {
    width: 100% !important;
  }
}

/* Mobile-only home hero refinement: dedicated bottom band for the white phrase */
@media (max-width: 760px) {
  .hero-home::after {
    background: linear-gradient(
      180deg,
      rgba(6,10,19,.18) 0%,
      rgba(6,10,19,.16) 42%,
      rgba(6,10,19,.42) 62%,
      rgba(6,10,19,.74) 82%,
      rgba(6,10,19,.88) 100%
    ) !important;
  }

  .hero-home .hero-inner {
    min-height: 70vh !important;
    padding-top: 92px !important;
    padding-bottom: 0 !important;
    display: flex;
    align-items: flex-end;
  }

  .hero-home .hero-home-layout {
    position: relative !important;
    min-height: 58vh !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .hero-home .lede {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    width: calc(100% + 56px) !important;
    max-width: none !important;
    margin: 0 0 0 -28px !important;
    padding: 42px 28px 18px !important;
    background: linear-gradient(
      180deg,
      rgba(8,13,21,0) 0%,
      rgba(8,13,21,.38) 24%,
      rgba(8,13,21,.72) 58%,
      rgba(8,13,21,.84) 100%
    );
    color: #f2f6fb;
    font-size: clamp(24px, 7vw, 31px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.012em;
    text-wrap: balance;
    text-shadow: 0 3px 12px rgba(0,0,0,.78);
  }

  .hero-home .lede br {
    display: none;
  }
}

/* Final tablet / intermediate-width cleanup before launch */
@media (min-width: 761px) and (max-width: 1180px) {
  .hero-home {
    min-height: clamp(520px, 72vh, 760px) !important;
  }

  .hero-home::after {
    background: linear-gradient(
      180deg,
      rgba(6,10,19,.12) 0%,
      rgba(6,10,19,.10) 34%,
      rgba(6,10,19,.18) 52%,
      rgba(6,10,19,.46) 74%,
      rgba(6,10,19,.74) 100%
    ) !important;
  }

  .hero-home .hero-inner {
    min-height: inherit !important;
    padding-top: clamp(96px, 10vw, 118px) !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: flex-end !important;
  }

  .hero-home .hero-home-layout {
    position: relative !important;
    width: 100% !important;
    min-height: 430px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding-bottom: 20px !important;
  }

  .hero-home .tagline {
    position: absolute !important;
    top: auto !important;
    bottom: 64px !important;
    right: clamp(18px, 4vw, 42px) !important;
    left: auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
    font-size: clamp(22px, 2.6vw, 34px) !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
    text-shadow: 0 2px 10px rgba(0,0,0,.32);
    z-index: 2 !important;
  }

  .hero-home .lede {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: min(50%, 520px) !important;
    max-width: min(50%, 520px) !important;
    margin: 0 !important;
    padding: clamp(26px, 3.4vw, 38px) clamp(24px, 3vw, 30px) clamp(18px, 2.8vw, 28px) 0 !important;
    background: linear-gradient(
      90deg,
      rgba(8,13,21,.88) 0%,
      rgba(8,13,21,.80) 42%,
      rgba(8,13,21,.50) 72%,
      rgba(8,13,21,0) 100%
    ) !important;
    color: #f2f6fb !important;
    font-size: clamp(36px, 4.2vw, 50px) !important;
    line-height: .97 !important;
    letter-spacing: -0.014em !important;
    text-shadow: 0 3px 14px rgba(0,0,0,.82) !important;
    text-wrap: balance;
    z-index: 2 !important;
  }

  .hero-home .lede br {
    display: none !important;
  }

  img[alt="Jimmy S. Pappas portrait"],
  img[alt="John Pappas portrait"] {
    height: 440px !important;
    object-fit: cover !important;
    object-position: center bottom !important;
    object-position: center top !important;
    background: var(--soft) !important;
    padding-top: 8px !important;
  }
}

@media (min-width: 761px) and (max-width: 1180px) and (max-height: 760px) {
  .hero-home {
    min-height: 480px !important;
  }

  .hero-home .hero-home-layout {
    min-height: 340px !important;
    padding-bottom: 14px !important;
  }

  .hero-home .tagline {
    top: auto !important;
    bottom: 54px !important;
    font-size: clamp(20px, 2.2vw, 28px) !important;
  }

  .hero-home .lede {
    width: min(46%, 450px) !important;
    max-width: min(46%, 450px) !important;
    font-size: clamp(32px, 3.7vw, 42px) !important;
    padding-top: 8px !important;
    padding-bottom: 14px !important;
  }
}

/* iPad Pro portrait / wider tablet header cleanup */
@media (min-width: 981px) and (max-width: 1180px) {
  .site-header {
    backdrop-filter: blur(12px);
  }

  .header-inner {
    min-height: 84px;
    gap: 16px;
    align-items: center;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand-wordmark .name {
    font-size: 27px;
    letter-spacing: .34em;
  }

  .brand-wordmark .descriptor {
    margin-top: 5px;
    font-size: 9.8px;
    letter-spacing: .09em;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .nav {
    display: flex !important;
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    z-index: 25;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 8px 18px 26px;
    background: rgba(11,19,32,.98);
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 18px 40px rgba(0,0,0,.24);
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  body.nav-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    display: block;
    padding: 14px 0;
    font-size: 18px;
    line-height: 1.25;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .nav a:last-child {
    border-bottom: 0;
  }
}


/* Mobile hero line-balance refinements for Home and About */
.hero-line { display:inline; }

@media (max-width: 760px) {
  .hero-home .lede.home-mobile-balance {
    width: calc(100% + 40px) !important;
    margin-left: -20px !important;
    padding: 36px 20px 18px !important;
    font-size: clamp(23px, 6.45vw, 29px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.014em !important;
  }

  .hero-home .lede.home-mobile-balance .hero-line,
  .about-mobile-balance .hero-line {
    display: block !important;
  }

  .about-hero h1.about-mobile-balance {
    max-width: 12ch;
    font-size: clamp(31px, 8.2vw, 42px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.012em;
    text-wrap: balance;
  }
}

@media (min-width: 761px) {
  .hero-home .lede.home-mobile-balance .hero-line,
  .about-mobile-balance .hero-line {
    display: inline;
  }
}


/* Mobile About page image crop fix */
@media (max-width: 760px) {
  .about-main-image {
    height: 620px !important;
    object-fit: cover !important;
    object-position: center bottom !important;
    display: block;
  }
}
