/* ========================================
   HALE & ASSOCIATES — Estate Green Theme
   Warm light palette, Lora + Jost
   ======================================== */

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

:root {
  --green: #228244;
  --green-dark: #1A6634;
  --bg: #FFFFFF;
  --bg-alt: #F4F4F4;
  --bg-card: #FFFFFF;
  --text: #2B2B2B;
  --text-muted: #6B6B6B;
  --text-light: #999999;
  --border: rgba(0,0,0,0.08);
  --font-sans: 'Jost', sans-serif;
  --font-serif: 'Lora', Georgia, serif;
  --max-width: 1140px;
  --section-pad: clamp(80px, 8vw, 120px);
  color-scheme: light;
}

/* Dark Reader (or any extension that flips color-scheme to dark) inverts our
   subtle 0.08-alpha borders into ~0.08-alpha-on-dark, which is too dim to see.
   Bump the alpha when the page is being rendered dark. */
@media (prefers-color-scheme: dark) {
  :root {
    --border: rgba(0,0,0,0.28);
  }
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
h1, h2, h3, h4, p, li, span, a { text-wrap: balance; }
h1, h2, h3, h4 { color: var(--text); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 18px 36px;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  border-radius: 12px;
  transition: all 0.25s;
  border: 2px solid var(--green);
  cursor: pointer;
  font-family: var(--font-sans) !important;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn--sm { padding: 10px 22px; font-size: 0.85rem; border-radius: 10px; }
.btn--large { padding: 20px 52px; font-size: 1.05rem; }
.btn--outline { background: transparent; border-color: var(--green); color: var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--hero {
  padding: 18px 48px;
  font-size: 1.7rem;
  letter-spacing: 0.05em;
  border-radius: 50px;
  color: #fff;
  border: 2.5px solid rgba(255,255,255,0.6);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.link-arrow {
  color: var(--green);
  font-size: 1.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.2s;
}
.link-arrow:hover { gap: 14px; }

/* ---- EYEBROW ---- */
.eyebrow {
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text);
  margin-bottom: 12px;
}
.eyebrow--center { text-align: center; }
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 3.2rem);
  font-weight: 400;
  text-align: center;
  line-height: 1.1;
  margin-bottom: 64px;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 210;
  background: transparent;
  backdrop-filter: blur(8px);
  transition: background 0.3s;
}
.nav.scrolled {
  background: var(--bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__logo { flex-shrink: 0; }
.nav__logo img { height: 26px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-shrink: 0;
}
.nav__links a:not(.btn) {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav__links .btn {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  padding: 12px 26px;
}
.nav__links a:not(.btn):hover { color: #fff; }
.nav.scrolled .nav__links a:not(.btn) { color: var(--text); }
.nav.scrolled .nav__links a:not(.btn):hover { color: #000; }
.nav__links .btn { color: #fff; }
.nav.scrolled .nav__links .btn { color: #fff; }
.nav__links .btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle {
  color: #fff;
}
.nav.scrolled .nav__toggle,
.nav__toggle.active { color: var(--text); }
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: 0.3s;
}
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Nav on inner pages (no hero image — always use scrolled style) */
.page--inner .nav { background: var(--bg); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.page--inner .nav .nav__links a:not(.btn) { color: var(--text); }
.page--inner .nav .nav__links a:not(.btn):hover { color: #000; }
.page--inner .nav__toggle { color: var(--text); }

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(14,15,17,0.35) 0%,
    rgba(14,15,17,0.25) 30%,
    rgba(14,15,17,0.35) 60%,
    rgba(14,15,17,0.7) 100%
  );
}
.hero__content {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.hero__content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 40px;
  max-width: 720px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--bg-alt);
  padding: 52px 0;
  border-bottom: 1px solid var(--border);
}
.trust-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-item { text-align: center; flex: 1; }
.trust-item__number {
  display: block;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
}
.trust-item__label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.trust-divider { width: 1px; height: 40px; background: var(--border); }

/* ---- SECTIONS ---- */
.approach { padding: var(--section-pad) 0; }
.approach--alt { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.story { padding: var(--section-pad) 0; background: var(--bg-alt); border-bottom: 1px solid var(--border); }

/* ---- SPLIT LAYOUT ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split--reverse .split__img { order: -1; }
.split__text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 3.2rem);
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.1;
}
.split__text p:not([class]) {
  color: var(--text);
  margin-bottom: 16px;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.6;
}
.split__text .btn { margin-top: 20px; }
.split__img img {
  border-radius: 6px;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

#story .container { max-width: 1240px; }
#story .split { gap: clamp(48px, 6vw, 120px); }
#story .eyebrow { margin-bottom: 6px; }
#story .split__text h2 { margin-bottom: 0; }
#story .services__cta { margin-top: 16px; }

/* ---- VIDEO PLACEHOLDER ---- */
.video-placeholder {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
}
.video-placeholder img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: brightness(0.85);
  transition: filter 0.3s;
}
.video-placeholder:hover img { filter: brightness(0.7); }
.video-placeholder__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.3);
}
.video-placeholder:hover .video-placeholder__play { background: rgba(34,130,68,0.3); }
.video-placeholder__play svg { width: 20px; height: 20px; color: #fff; margin-left: 2px; }
.video-placeholder__label {
  position: absolute;
  bottom: 20px; left: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
  background: rgba(0,0,0,0.4);
  padding: 6px 14px;
  border-radius: 3px;
}

/* ---- SERVICES (landing page grid) ---- */
.services {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.services__swoosh {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.services__swoosh.visible { opacity: 1; }
.services__swoosh svg { width: 100%; height: 280px; display: block; }
.services .container { position: relative; z-index: 1; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.service-card {
  background: var(--bg-card);
  padding: 44px 36px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 220px;
  overflow: visible;
  border-radius: 16px;
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateX(-120px);
  will-change: transform, opacity;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s, box-shadow 0.3s;
}
.service-card.visible {
  opacity: 1;
  transform: translateX(0);
}
.service-card:hover { background: #f2f7f4; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.service-card h3 {
  font-size: 2.3rem;
  font-weight: 500;
  margin-bottom: 0;
  font-family: var(--font-sans);
  transition: transform 0.3s ease;
}
.service-card:hover h3 { transform: translateY(-16px); }
.service-card__hover-text {
  position: absolute;
  left: 36px;
  right: 36px;
  top: 55%;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(10px);
}
.service-card:hover .service-card__hover-text { opacity: 1; transform: translateY(0); }
.services__cta { text-align: center; margin-top: 48px; position: relative; z-index: 1; }

/* ---- CTA ---- */
.cta {
  padding: clamp(60px, 8vw, 120px) 0;
  text-align: center;
  background: var(--bg-alt);
}
.cta--white { background: var(--bg); }
.cta__inner {
  max-width: 600px;
  margin: 0 auto;
}
.cta__inner h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 20px;
}
.cta__inner > p {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 40px;
  font-weight: 400;
}
.cta__sub {
  display: block;
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

/* Green box variant (homepage Book-a-Call card) */
.cta__inner--green {
  background: #228244;
  color: #fff;
  border-radius: 20px;
  padding: clamp(32px, 6vw, 64px) clamp(20px, 4vw, 48px);
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta__inner--green h2 { color: #fff; }
.cta__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  font-size: 1.5rem;
  line-height: 1.7;
  text-align: left;
  color: rgba(255, 255, 255, 0.85);
}
.cta__list li {
  padding-left: 1.8em;
  text-indent: -1.8em;
}
.cta__btn {
  margin-top: clamp(20px, 3vw, 32px);
  font-size: 1.8rem;
  padding: 20px 40px;
  background: #fff;
  color: #228244;
  border-color: #fff;
}
.cta__btn:hover {
  background: #f4f4f4;
  border-color: #f4f4f4;
}

/* ---- FOOTER ---- */
/* ---- FOOTER ---- */
.footer {
  background: #2B2B2B;
  color: #9B958A;
}
.footer__strip {
  height: 4px;
  background: linear-gradient(90deg, #1A6634 0%, #228244 30%, #2a9e54 50%, #228244 70%, #1A6634 100%);
}
.footer__main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 32px 48px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Brand column */
.footer__brand-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}
.footer__brand-row img {
  height: 28px;
  width: auto;
  opacity: 0.85;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer__brand-row p {
  font-size: 0.85rem;
  color: #6B665C;
  line-height: 1.6;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer__brand img {
  height: 26px;
  width: auto;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
  align-self: flex-start;
  opacity: 0.85;
  margin-left: -35px;
}
.footer__tagline {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  font-weight: 400;
  color: #c5c0b8;
  margin: -12px 0 0 0;
  line-height: 1.45;
  letter-spacing: 0.01em;
}
.footer__social {
  display: flex;
  gap: 12px;
  padding-left: 0;
}
.footer__social a {
  display: flex;
  align-items: center;
  color: #999999;
  transition: color 0.2s;
}
.footer__social a:hover {
  color: var(--green);
}
.footer__social svg { width: 18px; height: 18px; }

/* Footer column headings */
.footer__heading {
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 0.9vw, 0.95rem);
  font-weight: 600;
  color: #c5c0b8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Footer nav column */
.footer__nav-col {
  display: flex;
  flex-direction: column;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer__nav a {
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  color: #c5c0b8;
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--green); }

/* Footer contact column */
.footer__contact-col {
  display: flex;
  flex-direction: column;
}
.footer__contact-col .footer__contact {
  padding-left: 0;
}
.footer__contact--mobile {
  display: none;
  padding-left: 22px;
}
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer__contact-icon svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}
.footer__contact-label {
  font-size: clamp(0.7rem, 0.75vw, 0.8rem);
  color: #6B665C;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.footer__contact-value {
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  color: #c5c0b8;
  line-height: 1.3;
  transition: color 0.2s;
}
a.footer__contact-value:hover { color: var(--green); }

/* Footer bottom bar */
.footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 32px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 80px;
}
.footer__bottom-left {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}
.footer__bottom-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
@media (min-width: 901px) {
  .footer__bottom-stack {
    margin-left: clamp(-160px, -12.5vw, -64px);
  }
}
@media (max-width: 900px) {
  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
  }
  .footer__bottom-left {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
  }
  .footer__bottom-stack {
    align-items: center;
  }
  .footer__bottom .footer__copyright {
    text-align: center;
  }
}
.bbb-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 8px 14px;
  transition: border-color 0.2s;
}
.bbb-badge:hover { border-color: rgba(255,255,255,0.18); }
.bbb-badge__icon { width: 28px; height: 28px; flex-shrink: 0; }
.bbb-badge__text {
  font-size: clamp(0.7rem, 0.78vw, 0.82rem);
  color: #9B958A;
  line-height: 1.3;
  text-align: left;
  white-space: nowrap;
}
.bbb-badge__text strong {
  display: block;
  color: #c5c0b8;
  font-size: clamp(0.74rem, 0.82vw, 0.88rem);
  font-weight: 600;
}
.footer__copyright {
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  color: #c5c0b8;
  line-height: 1.55;
}
.footer__disclosure {
  padding: 20px 40px;
  font-size: clamp(0.72rem, 0.82vw, 0.85rem);
  line-height: 1.6;
  color: #6B665C;
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer__disclosure p { text-wrap: auto; }
.footer__disclosure p + p { margin-top: 12px; }
.footer__legal {
  display: flex;
  gap: 20px;
}
.footer__bottom-stack .footer__legal {
  flex-direction: column;
  gap: 8px;
}
.footer__legal a {
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  color: #c5c0b8;
  transition: color 0.2s;
}
.footer__legal a:hover { color: var(--green); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: var(--bg);
}
.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 3.2rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.page-hero__sub {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 400;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ---- SERVICES DETAIL (accordion) ---- */
.services-detail {
  padding: var(--section-pad) 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.accordion { max-width: 800px; margin: 0 auto; }
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__item:first-child { border-top: 1px solid var(--border); }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  text-align: left;
  color: var(--text);
  transition: color 0.2s;
}
.accordion__trigger:hover { color: var(--green); }
.accordion__num {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.1em;
  flex-shrink: 0;
  width: 28px;
}
.accordion__title { font-size: 1.3rem; font-weight: 500; flex: 1; }
.accordion__icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--text-light);
  transition: transform 0.3s;
}
.accordion__icon svg { width: 100%; height: 100%; }
.accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg);
  color: var(--green);
}
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.accordion__content { padding: 0 0 32px 48px; }
.accordion__content p {
  color: var(--text-muted);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 16px;
}
.accordion__content ul { list-style: none; padding: 0; }
.accordion__content li {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.7;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}
.accordion__content li::before {
  content: '';
  position: absolute;
  left: 0; top: 16px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.accordion__content li strong { color: var(--text); font-weight: 500; }

/* ---- TEAM: LEADERSHIP CARDS ---- */
.team-leadership {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.leader-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.leader-card:last-child { margin-bottom: 0; }
.leader-card--reverse { direction: rtl; }
.leader-card--reverse > * { direction: ltr; }
.leader-card__photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 6px;
}
.leader-card__info h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.2;
}
.leader-card__license {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.leader-card__info p {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 14px;
}
.leader-card__email { margin-top: 8px; }
.leader-card__email a {
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 400;
  transition: opacity 0.2s;
}
.leader-card__email a:hover { opacity: 0.7; }

/* ---- TEAM: MEMBER GRID ---- */
.team-grid-section { padding: var(--section-pad) 0; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.team-member { text-align: center; }
.team-member__photo { margin-bottom: 20px; }
.team-member__placeholder {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.team-member__placeholder svg { width: 48px; height: 48px; color: var(--text-light); }
.team-member h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 4px; }
.team-member p { font-size: 0.875rem; color: var(--text-muted); }
.team-member__email { margin-top: 6px; }
.team-member__email a {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 400;
  transition: opacity 0.2s;
}
.team-member__email a:hover { opacity: 0.7; }

/* ---- OFFICES ---- */
.offices-section {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.office-card {
  background: var(--bg-card);
  padding: 40px 36px;
  position: relative;
}
.office-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
}
.office-card__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
  background: var(--green);
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 16px;
}
.office-card__address {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 16px;
}
.office-card__contact p { margin-bottom: 4px; }
.office-card__contact a {
  color: var(--text);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.office-card__contact a:hover { color: var(--green); }

/* ---- PRIVACY ---- */
.privacy-section {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.privacy-content { max-width: 800px; margin: 0 auto; }
.privacy-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 48px;
  margin-bottom: 16px;
}
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 32px;
  margin-bottom: 12px;
}
.privacy-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 14px;
}
.privacy-content a { color: var(--green); transition: opacity 0.2s; }
.privacy-content a:hover { opacity: 0.7; }
.privacy-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}
.privacy-content li {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  padding: 6px 0 6px 20px;
  position: relative;
}
.privacy-content li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.privacy-content li strong { color: var(--text); font-weight: 500; }
.privacy-table-wrap { overflow-x: auto; margin: 24px 0; }
.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.privacy-table th {
  background: var(--bg);
  color: var(--text);
  font-weight: 600;
  text-align: left;
  padding: 14px 16px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.privacy-table td {
  padding: 14px 16px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  line-height: 1.7;
  vertical-align: top;
}

/* ---- ABOUT HERO ---- */
.about-hero {
  padding: 160px 0 var(--section-pad);
}
.split__text-h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.2;
}

/* ---- TEAM: LEADERSHIP GRID ---- */
.team-grid-section--leadership {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.team-grid--leadership {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 48px;
  max-width: none;
  margin: 0 auto;
}
.team-grid--leadership .team-card__photo img {
  aspect-ratio: 1/1;
}
.team-grid--leadership .team-card h3 { font-size: 1.5rem; }
.team-grid--leadership .team-card__title { font-size: 1rem; }

/* ---- TEAM CARD GRID (about page) ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 32px;
}
.team-card {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.team-card:hover { transform: translateY(-4px); }
.team-card__photo {
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-alt);
}
.team-card__photo img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: top center;
  transition: filter 0.3s;
}
.team-card:hover .team-card__photo img { filter: brightness(0.9); }
.team-card h3 { font-size: 1.05rem; font-weight: 500; margin-bottom: 4px; }
.team-card__title { font-size: 0.85rem; color: var(--text-muted); }
.team-card__email { font-size: 0.85rem; margin-top: 6px; }
.team-card__email a { color: var(--text-muted); transition: color 0.2s; }
.team-card__email a:hover { color: var(--green); }
.team-card__brokercheck { font-size: 0.8rem; margin-top: 4px; }
.team-card__brokercheck a { color: var(--green); transition: color 0.2s; }
.team-card__brokercheck a:hover { color: var(--green-dark); }

/* ---- BIO MODAL ---- */
.bio-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.bio-modal.active { opacity: 1; pointer-events: auto; }
.bio-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}
.bio-modal__content {
  position: relative;
  background: var(--bg-card);
  border-radius: 10px;
  max-width: 820px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  transform: translateY(20px);
  transition: transform 0.3s;
}
.bio-modal.active .bio-modal__content { transform: translateY(0); }
.bio-modal__close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.bio-modal__close:hover { color: var(--text); }
.bio-modal__inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}
.bio-modal__photo img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
}
.bio-modal__photo video,
.bio-modal__photo iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 6px;
  background: #000;
  display: block;
}
.bio-modal__photo video { object-fit: cover; }

/* When the modal contains a video, keep the two-column layout
   (video left, info right) but widen the modal + left slot for 16:9 media. */
.bio-modal__content:has(.bio-modal__inner--has-video) {
  max-width: 1240px;
}
.bio-modal__inner--has-video {
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.bio-modal__inner--has-video .bio-modal__photo {
  max-width: none;
  width: 100%;
}
.bio-modal__inner--has-video .bio-modal__photo video,
.bio-modal__inner--has-video .bio-modal__photo iframe {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
}
.bio-modal__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bio-modal__info h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 3.2rem);
  font-weight: 400;
  margin: 0;
  padding: 0;
  line-height: 1.1;
}
.bio-modal__info .bio-modal__contact-line {
  display: block;
  margin: 0;
  padding: 0 0 0 3px;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
}
.bio-modal__contact-line .bio-modal__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.bio-modal__contact-line a {
  color: var(--text);
  font-size: 1rem;
  transition: opacity 0.2s;
}
.bio-modal__contact-line a:hover { opacity: 0.7; }
.bio-modal__bio {
  margin-top: 12px;
}
.bio-modal__bio p {
  color: var(--text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* ---- MOBILE NAV DROPDOWN ---- */
.nav__sidebar {
  display: none;
  position: absolute;
  top: 100%;
  right: 16px;
  width: 220px;
  background: #fff;
  flex-direction: column;
  padding: 24px 28px;
  gap: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 200;
}
.nav__sidebar.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav__sidebar a:not(.btn) { color: var(--text); font-size: 1.15rem; font-weight: 500; display: block; }
.nav__sidebar .btn { color: #fff; text-align: center; margin-top: 12px; display: block; }
.nav__overlay { display: none !important; }

@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; z-index: 201; position: relative; }
  .nav__sidebar { display: flex; }
  .nav__inner { position: relative; }
}

/* ---- FADE-IN ON SCROLL ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   DARK MODE OVERRIDES — disabled 2026-05-07.
   Replaced by <meta name="darkreader" content="bg #2B2B2B, text #FFFFFF, link #6FE89F">
   in HTML <head>. Dark Reader now picks our charcoal palette directly,
   so we no longer need html.dr-on overrides. Block preserved as
   reference for the charcoal design system (cards, nav, modal, etc.)
   in case any element needs a targeted override later.
   Inner section dividers below were originally CSS comments; rewritten
   as bracketed labels because CSS comments cannot nest.
   ============================================================ */
/*
html.dr-on:root {
  --bg: #2B2B2B !important;
  --bg-alt: #353535 !important;
  --bg-card: #353535 !important;
  --text: #FFFFFF !important;
  --text-muted: #D9D5CC !important;
  --text-light: #9A968D !important;
  --border: rgba(255,255,255,0.12) !important;
  color-scheme: dark;
}
html.dr-on,
html.dr-on body {
  background: #2B2B2B !important;
  color: #FFFFFF !important;
}
html.dr-on h1,
html.dr-on h2,
html.dr-on h3,
html.dr-on h4:not(.footer__heading) { color: #FFFFFF !important; }
html.dr-on .eyebrow,
html.dr-on .trust-item__number,
html.dr-on .accordion__title,
html.dr-on .privacy-content li strong { color: #FFFFFF !important; }
html.dr-on .page-hero__sub,
html.dr-on .split__text p,
html.dr-on .trust-item__label,
html.dr-on .service-card__hover-text,
html.dr-on .team-card__title,
html.dr-on .office-card__address,
html.dr-on .accordion__content p,
html.dr-on .accordion__content li,
html.dr-on .privacy-content p,
html.dr-on .privacy-content li,
html.dr-on .privacy-table td,
html.dr-on .cta__inner > p,
html.dr-on .cta__sub { color: #D9D5CC !important; }

[ Nav: dark always while an extension is processing the page. ]
html.dr-on .nav {
  background: rgba(43,43,43,0.85) !important;
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,0.12) !important;
}
html.dr-on body:not(.page--inner) .nav:not(.scrolled) {
  background: transparent !important;
  backdrop-filter: none;
  border-bottom-color: transparent !important;
}
html.dr-on .nav.scrolled,
html.dr-on .page--inner .nav {
  background: rgba(43,43,43,0.95) !important;
  border-bottom: 1px solid rgba(255,255,255,0.12) !important;
}
html.dr-on .nav__links a:not(.btn),
html.dr-on .nav.scrolled .nav__links a:not(.btn),
html.dr-on .page--inner .nav .nav__links a:not(.btn),
html.dr-on .nav__sidebar a:not(.btn) { color: #FFFFFF !important; }
html.dr-on .nav__links a:not(.btn):hover,
html.dr-on .nav.scrolled .nav__links a:not(.btn):hover,
html.dr-on .page--inner .nav .nav__links a:not(.btn):hover { color: #FFFFFF !important; }
html.dr-on .nav__toggle span,
html.dr-on .nav.scrolled .nav__toggle span,
html.dr-on .page--inner .nav__toggle span,
html.dr-on .nav__toggle.active span { background: #FFFFFF !important; }
html.dr-on .nav__sidebar {
  background: #353535 !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5) !important;
}
html.dr-on .services__cta .link-arrow {
  color: #58FC71 !important;
}

[ Surfaces ]
html.dr-on .trust-bar,
html.dr-on .approach--alt,
html.dr-on .story,
html.dr-on .team-leadership,
html.dr-on .team-grid-section--leadership,
html.dr-on .offices-section,
html.dr-on .privacy-section,
html.dr-on .cta { background: #353535 !important; }
html.dr-on .approach,
html.dr-on .services,
html.dr-on .services-detail,
html.dr-on .page-hero,
html.dr-on .team-grid-section,
html.dr-on .cta--white { background: #2B2B2B !important; }
html.dr-on [style*="background: var(--bg-card)"],
html.dr-on [style*="background:var(--bg-card)"] { background: #353535 !important; }

[ Cards ]
html.dr-on .service-card,
html.dr-on .team-card,
html.dr-on .office-card {
  background: #353535 !important;
  border-color: rgba(255,255,255,0.12) !important;
  color: #FFFFFF !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4) !important;
}
html.dr-on .service-card:hover {
  background: #353535 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4) !important;
}
html.dr-on .team-card__photo,
html.dr-on .team-member__placeholder { background: #353535 !important; border-color: rgba(255,255,255,0.12) !important; }
html.dr-on .office-card__contact a { color: #FFFFFF !important; }
html.dr-on .office-card__contact a:hover { color: var(--green) !important; }

[ Outline button ]
html.dr-on .btn--outline {
  background: transparent !important;
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
}
html.dr-on .btn--outline:hover {
  background: #FFFFFF !important;
  border-color: #FFFFFF !important;
  color: #2B2B2B !important;
}
html.dr-on .cta__inner[style*="background: #228244"] .btn,
html.dr-on .cta__inner[style*="background:#228244"] .btn {
  background: #2B2B2B !important;
  border-color: #2B2B2B !important;
  color: #6FF96F !important;
  -webkit-text-fill-color: #6FF96F !important;
}
html.dr-on .cta__inner[style*="background: #228244"] .btn:hover,
html.dr-on .cta__inner[style*="background:#228244"] .btn:hover {
  background: #353535 !important;
  border-color: #353535 !important;
  color: #6FF96F !important;
  -webkit-text-fill-color: #6FF96F !important;
}

[ Accordions / dividers ]
html.dr-on hr,
html.dr-on .trust-bar,
html.dr-on .approach--alt,
html.dr-on .story,
html.dr-on .services,
html.dr-on .services-detail,
html.dr-on .team-leadership,
html.dr-on .team-grid-section--leadership,
html.dr-on .offices-section,
html.dr-on .privacy-section,
html.dr-on .accordion__item,
html.dr-on .accordion__item:first-child,
html.dr-on .privacy-table th,
html.dr-on .privacy-table td { border-color: rgba(255,255,255,0.12) !important; }
html.dr-on .accordion__trigger { color: #FFFFFF !important; }
html.dr-on .accordion__trigger:hover,
html.dr-on .accordion__trigger[aria-expanded="true"] .accordion__icon { color: var(--green) !important; }
html.dr-on .accordion__num,
html.dr-on .accordion__icon { color: #9A968D !important; }
html.dr-on .privacy-table th { background: #353535 !important; color: #FFFFFF !important; }

[ Bio modal ]
html.dr-on .bio-modal__content {
  background: #353535 !important;
  color: #FFFFFF !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45) !important;
}
html.dr-on .bio-modal__backdrop { background: rgba(0,0,0,0.65) !important; }
html.dr-on .bio-modal__info h2 { color: #FFFFFF !important; }
html.dr-on .bio-modal__contact-line,
html.dr-on .bio-modal__bio p { color: #D9D5CC !important; }
html.dr-on .bio-modal__label,
html.dr-on .bio-modal__close { color: #9A968D !important; }
html.dr-on .bio-modal__close:hover { color: #FFFFFF !important; }
*/

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .hero__bg img { object-position: 70% center; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split--reverse .split__img { order: 0; }
  #story .split__img { order: -1; }
  .services__grid { grid-template-columns: 1fr; }
  .service-card {
    min-height: 84px;
    height: auto;
    padding: 24px 20px;
    position: relative;
  }
  .service-card h3 { font-size: 1.6rem; transition: none; }
  .service-card:hover h3 { transform: none; }
  .service-card:hover .service-card__hover-text { opacity: 0; }
  .services .service-card__hover-text {
    position: static;
    font-size: 1.28rem;
    line-height: 1.5;
    text-wrap: balance;
    display: none;
  }
  .service-card.tapped .service-card__hover-text {
    display: block;
    opacity: 1;
    transform: none;
    margin-top: 12px;
  }
  .footer__social { justify-content: flex-start; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__bottom-left { flex-direction: column; align-items: center; }
  .footer__legal { justify-content: center; }
  .leader-card { grid-template-columns: 1fr; gap: 40px; }
  .leader-card--reverse { direction: ltr; }
  .leader-card__photo img { aspect-ratio: 4/3; }
  .about-hero { padding-top: 120px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid--leadership { grid-template-columns: repeat(2, 1fr) !important; }
  .team-grid--leadership .team-card:nth-child(1),
  .team-grid--leadership .team-card:nth-child(2) { grid-column: auto; }
  .team-card h3 { font-size: 1.3rem; }
  .team-card__title { font-size: 1.05rem; }
  .bio-modal__inner { grid-template-columns: 200px 1fr; gap: 28px; }
  .bio-modal__inner--has-video { grid-template-columns: 1fr 1fr; gap: 28px; }
  .bio-modal__content { padding: 36px; }
  .offices-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero__bg img { object-position: 70% center; }
  .hero__content { padding: 0 24px; }
  .hero__content h1 {
    max-width: 100%;
    font-size: clamp(1.8rem, 7vw, 2.4rem) !important;
  }
  .btn--hero { padding: 14px 36px; font-size: 0.9rem; }
  .trust-bar__inner { flex-wrap: wrap; }
  .trust-item { flex: 1 1 45%; padding: 16px 0; }
  .trust-divider { display: none; }
  .footer__main { padding: 40px 20px 36px; }
  .footer__brand-row { flex-direction: column; gap: 12px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-grid--leadership { grid-template-columns: 1fr !important; max-width: none; }
  .team-card { text-align: left; }
  .team-card h3 { font-size: 1.4rem; }
  .team-card__title { font-size: 1.1rem; }
  .bio-modal__inner { grid-template-columns: 1fr; }
  .bio-modal__photo { max-width: 200px; margin: 0 auto; }
  .bio-modal__inner--has-video .bio-modal__photo { max-width: none; margin: 0; }
  .bio-modal__content { padding: 28px; }
  .bio-modal__content:has(.bio-modal__inner--has-video) { padding: 16px; }
  .accordion__content { padding-left: 0; }
  .container { padding-left: 24px; padding-right: 24px; }
  #story {
    padding-top: 52px !important;
    padding-bottom: 52px;
  }
  #story .split {
    gap: 24px !important;
  }
  #story .split__text {
    margin-bottom: 4px;
  }
  #story .services__cta {
    margin-top: 24px !important;
  }
  section:not(.page-hero), .story, .services, .cta { padding-top: 35px !important; }
  .page-hero { padding-top: 120px !important; }
}

/* ---- MOBILE-ONLY FOOTER ELEMENTS (hidden on desktop) ---- */
.footer__legal--mobile { display: none; }
.footer__bottom--mobile { display: none; }

/* ---- MOBILE FOOTER LAYOUT ---- */
@media (max-width: 900px) {
  .footer__main { padding: 36px 28px 28px 15vw; }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    border-bottom: none;
    padding-bottom: 0;
  }
  .footer__contact-col { display: none !important; }
  .footer__nav-col { display: none !important; }
  .footer__brand .footer__contact--mobile { display: flex; padding-left: 0; }
  .footer__tagline { margin-left: 0; text-align: left; }
  .footer__social { padding-left: 0 !important; margin-left: -2px; }
  .footer__social svg { width: 25px; height: 25px; }

  .footer__legal--mobile {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 18px;
  }
  .footer__legal--mobile a {
    white-space: nowrap;
    color: #c5c0b8;
    transition: color 0.2s;
  }
  .footer__legal--mobile a:hover { color: var(--green); }

  .footer__legal { display: none !important; }
  .footer__bottom { display: none !important; }

  .footer__bottom--mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .footer__bottom--mobile .footer__copyright {
    font-size: clamp(0.78rem, 2.6vw, 0.92rem);
    line-height: 1.55;
    text-align: left;
  }
  .footer__bottom--mobile .bbb-badge {
    transform: scale(1.4);
    transform-origin: left center;
    margin-top: 20px;
  }
  .footer__disclosure { padding: 18px 28px 28px 15vw; }
  .footer__disclosure p + p { margin-top: 10px; }
}

/* ========================================
   MEDIUM / SQUARE VIEWPORT (641px–1200px)
   Adjustments here must NOT affect mobile (≤640px) or desktop (≥1201px).
   ======================================== */
@media (min-width: 641px) and (max-width: 1200px) {
  /* (Nav rules removed — sizing/padding handled by base rules with
     smooth clamp() so there's no abrupt jump at 1200/1201.) */

  /* ---- TRUST BAR ---- */
  .trust-item__label { font-size: 1.1rem; letter-spacing: 0.14em; }
  .trust-item__number { font-size: 2.8rem; }

  /* (.services__grid rules moved to a 901–1200px block at the bottom of
     this file so the four-card grid stays single-column at 641–900px.) */

  /* ---- HEADERS — section subtitle still sized here; heading sizes
         are governed by the shared rule in index.html so they match
         across sections at every viewport. ---- */
  .services .container > p { font-size: 1.5rem !important; margin-top: -32px !important; }
  /* (story split layout / spacing handled by the dedicated @media (min-width: 801px)
     block at the bottom of the file; intentionally not duplicated here so widths
     ≤800px stay stacked and untouched.) */

  /* ---- FOOTER: restore 3-column desktop layout, roughly center, bigger fonts ---- */
  .footer__main { padding: 64px 8vw 48px 12vw; }
  .footer__grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 32px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .footer__contact-col { display: block !important; }
  .footer__nav-col { display: block !important; }
  .footer__brand .footer__contact--mobile { display: none !important; }
  .footer__legal--mobile { display: none !important; }
  .footer__bottom--mobile { display: none !important; }
  .footer__heading { letter-spacing: 0.18em; margin-bottom: 20px; }
  .footer__nav { gap: 18px; }
  .footer__brand img { height: 30px; }
  .footer__social svg { width: 22px; height: 22px; }

  /* Bottom row centered */
  .footer__bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    gap: 12px;
  }
  .footer__bottom-left {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 24px;
  }
  .footer__legal {
    display: flex !important;
    justify-content: center !important;
  }
  .footer__copyright { text-align: center; }

  /* ---- TEAM GRIDS: People = 3 across, Leadership = 2 large cards ---- */
  .team-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .team-grid--leadership { grid-template-columns: repeat(2, 1fr) !important; gap: 64px; max-width: none !important; }
  .team-grid--leadership .team-card:nth-child(1),
  .team-grid--leadership .team-card:nth-child(2) { grid-column: auto !important; }
}

/* Footer layout — desktop widths (typography handled by clamp() in base rules) */
@media (min-width: 1201px) {
  .footer__heading { letter-spacing: 0.18em; }
  .footer__nav { gap: 18px; }
  .footer__contact-col { display: block !important; }
  .footer__nav-col { display: block !important; }
  .footer__brand .footer__contact--mobile { display: none !important; }
  .footer__legal--mobile { display: none !important; }
  .footer__bottom--mobile { display: none !important; }
}

/* ========================================
   HERO TAGLINE — RESPONSIVE ART DIRECTION
   Placed at the very bottom of the file so these rules win the cascade
   over any earlier .hero__content h1 / .hero__bg img declarations.
   Mobile (<640px) is handled by the (max-width: 640px) block above
   and is intentionally NOT overridden here.

   MONOTONIC FONT-SIZE: a single clamp() formula governs h1 size
   across every breakpoint at 641px+, so the headline never shrinks
   when the viewport widens. Per-breakpoint blocks below ONLY adjust
   image positioning and text-block max-width, never font-size.
   The auto-fit JS in index.html owns sizing inside its zone
   (641–2400 wide, ≥500 tall) and clears the inline style elsewhere.
   ======================================== */
@media (min-width: 641px) {
  .hero__content h1 {
    font-size: clamp(44px, 5vw, 50px) !important;
    line-height: 1.18 !important;
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  /* Medium / square — keep hiker prominent right, narrower text block */
  .hero__bg img { object-position: 64% center !important; }
  .hero__content h1 { max-width: 620px !important; }
}
@media (min-width: 1025px) and (max-width: 1439px) {
  /* Desktop — balanced text + hiker */
  .hero__bg img { object-position: 70% center !important; }
  .hero__content h1 { max-width: 820px !important; }
}
@media (min-width: 1440px) {
  /* Ultra-wide — keep flex centering, just tighten the text-block width */
  .hero__bg img { object-position: 70% center !important; }
  .hero__content h1 { max-width: 900px !important; }
}

/* ========================================
   OUR STORY (homepage) — responsive grid
   Mobile + tablet stacked; flips to side-by-side at 1024px and up.
   See the reference image: stacks under 1024, side-by-side ≥1024,
   centered max-width container above 1440.
   ======================================== */
.our-story {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(60px, 8vw, 120px);
}
.our-story__inner {
  display: grid;
  /* auto-fit reflow: each column wants ≥360px (capped at 100% on narrow
     screens). Below ~720px container width the grid naturally drops to a
     single column without an abrupt media-query snap. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  column-gap: clamp(48px, 6vw, 120px);
  row-gap: clamp(28px, 4vw, 48px);
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: clamp(24px, 6vw, 96px);
  align-items: center;
}
.our-story__text {
  max-width: 520px;
  min-width: 0;
}
.our-story__text .eyebrow { margin-bottom: 6px; }
.our-story__text h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 3.2rem);
  line-height: 1.1;
  margin: 0;
}
.our-story__video {
  width: 100%;
  min-width: 0;
  justify-self: center;
}
.our-story__video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
}
.our-story__video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.our-story__link {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: clamp(8px, 2vw, 24px);
  font-size: 1.5rem;
}

/* ========================================
   PLAN WITH CONFIDENCE (services__grid) — 2×2 only at 901–1200px
   At 0–900px the grid stays single-column (mobile rule at line 1388).
   At 901–1200px we expand to a 2×2 with hover-text styling.
   At 1201px+ the base rule from line 363 (already 2 cols) takes over.
   ======================================== */
@media (min-width: 901px) and (max-width: 1200px) {
  .services__grid { grid-template-columns: repeat(2, 1fr) !important; }
  .services__grid .service-card { min-height: 220px; padding: 44px 36px; }
  .services__grid .service-card h3 { font-size: 2.3rem; transition: transform 0.3s ease; }
  .services__grid .service-card:hover h3 { transform: translateY(-32px); }
  .services__grid .service-card__hover-text {
    position: absolute;
    left: 36px; right: 36px;
    top: 62%;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    display: block;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .services__grid .service-card:hover .service-card__hover-text {
    opacity: 1;
    transform: translateY(0);
  }
  .services__grid .service-card.tapped .service-card__hover-text { display: block; }
}

/* ========================================
   PLAN WITH CONFIDENCE — desktop (≥1201px)
   Keeps the section heading and subtitle at least as large as the
   medium-block sizes, so the typography doesn't regress when crossing
   the 1200/1201 boundary.
   ======================================== */
@media (min-width: 1201px) {
  .services .section-heading { font-size: 3.1rem; }
  .services .container > p { font-size: 1.5rem; margin-top: -32px; }
}

