/* ═══════════════════════════════════════════════════════
   TOKENS & RESET
═══════════════════════════════════════════════════════ */
:root {
  --color-amber:       #219653;
  --color-amber-dark:  #16703d;
  --color-teal-light:  #99C2B9;
  --color-dark:        #262626;
  --color-body:        #707070;
  --color-muted:       #8D8D8D;
  --color-divider:     #E0E0E0;
  --color-bg-light:    #F7F7F7;
  --color-bg-white:    #FFFFFF;
  --color-footer:      #f1f1f1;

  --font-heading: 'Lexend Deca', sans-serif;
  --font-body:    'Nunito Sans', 'Avenir Next', 'Avenir', sans-serif;

  --max-w:   1640px;   /* 1920 - 2×140px margins */
  --pad-x:   clamp(1.25rem, 7.3vw, 8.75rem); /* scales from 20px → 140px */
  --pad-sec: clamp(3.5rem, 6vw, 6rem);

  --radius-card: 12px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);

  --transition: 0.35s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-body);
  background: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }

/* ═══════════════════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.text-center { text-align: center; }

/* Eyebrow divider line above headings */
.section-eyebrow-line {
  width: 56px;
  height: 3px;
  background: var(--color-amber);
  margin-bottom: 1.25rem;
  border-radius: 2px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-subheading {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  color: var(--color-body);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.body-text {
  font-size: clamp(0.9rem, 1vw, 1.05rem);
  line-height: 1.75;
  color: var(--color-body);
  margin-bottom: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.85rem;
  border-radius: 4px;
  letter-spacing: 0.01em;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary {
  background: var(--color-amber);
  color: white;
  border: 2px solid var(--color-amber);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--color-amber-dark);
  border-color: var(--color-amber-dark);
}

.btn-outline {
  background: transparent;
  color: var(--color-dark);
  border: 2px solid var(--color-dark);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--color-dark);
  color: #fff;
}

/* Split-section layout */
.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0;
  min-height: 520px;
}

/* Breathing room between every pair of sections */
section + section {
  margin-top: clamp(3rem, 4vw, 5rem);
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad-sec) var(--pad-x);
}

.split-image {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  min-height: 420px;
  align-self: stretch;
}

.split-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* ═══════════════════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════════════════ */
.animate-from-left,
.animate-from-right,
.animate-in {
  opacity: 0;
  transform: translateX(0) translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.animate-from-left  { transform: translateX(-50px); }
.animate-from-right { transform: translateX(50px);  }
.animate-in         { transform: translateY(40px);  }

.is-visible.animate-from-left,
.is-visible.animate-from-right,
.is-visible.animate-in {
  opacity: 1;
  transform: translate(0);
}

/* ═══════════════════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg-white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 80px;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-logo-tagline {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-body);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-dark);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--color-amber);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--color-amber); }

.nav-links a:hover::after,
.nav-links a:focus-visible::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(8.75px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8.75px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  background: var(--color-bg-white);
  border-top: 1px solid var(--color-divider);
  padding: 1rem var(--pad-x) 1.5rem;
}

.mobile-menu.open { display: block; }

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu a {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-dark);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-divider);
  transition: color var(--transition);
}

.mobile-menu a:hover { color: var(--color-amber); }

/* Prevent buttons from stretching full-width inside flex columns */
.split-content .btn,
.how-content .btn { align-self: flex-start; }
.hero {
  display: block;
  position: relative;
  min-height: calc(100vh - 80px);
  /* background is now an <img class="hero-bg-img"> — no CSS background needed */
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 6rem) var(--pad-x);
  background: var(--color-bg-white);
  /* round only the right edge of the white panel */
  border-radius: 0 52px 52px 0;
  /* card width — leave the image visible on the right */
  width: min(50%, 860px);
  min-height: calc(100vh - 80px);
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.hero-heading {
  font-family: var(--font-heading);
  /* font-size: clamp(2.2rem, 3.8vw, 4rem); */
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.12;
  margin-bottom: 2.25rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Desktop-only: the mobile image strip is hidden above 768px */
.hero-mobile-img { display: none; }

/* Desktop hero background image – always shows man's face */
.hero-bg-img {
  position: absolute;
  /* extends 56px left of the card edge so the image shows through the border-radius curves */
  top: 0; bottom: 0; right: 0;
  left: calc(min(50%, 860px) - 56px);
  width: auto;
  height: 100%;
  object-fit: cover;
  /* 30% = slightly left-of-centre in the photo → man's face */
  object-position: 30% top;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  align-self: stretch;
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
}

/* ═══════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════ */
.about { background: var(--color-bg-white); }

.about .about-content { padding-right: clamp(2rem, 5vw, 5rem); }

/* about section: image is on the right, round its LEFT (inner) edge */
.about .split-image {
  overflow: hidden;
  border-radius: 52px 0 0 52px;
}

/* why-2pi: image is on the LEFT, round its RIGHT (inner) edge */
.why-2pi .split-image {
  overflow: hidden;
  border-radius: 0 52px 52px 0;
}

/* how-it-works: image is on the RIGHT, round its LEFT (inner) edge */
.how-it-works .split-image {
  overflow: hidden;
  border-radius: 52px 0 0 52px;
}

/* retirement-cta: image is on the LEFT, round its RIGHT (inner) edge */
.retirement-cta .split-image {
  overflow: hidden;
  border-radius: 0 52px 52px 0;
}

/* ═══════════════════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════════════════ */
.features {
  background: var(--color-bg-light);
  padding: var(--pad-sec) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
}

.feature-icon {
  height: 52px;
  width: auto;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.35;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   WHY 2PI
═══════════════════════════════════════════════════════ */
.why-2pi { background: var(--color-bg-white); }

.why-content { padding-left: clamp(2rem, 5vw, 5rem); }

.why-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.8rem;
  border-top: 1px solid var(--color-divider);
}

.why-item { border-bottom: 1px solid var(--color-divider); }

.why-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.1rem 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-dark);
  transition: color var(--transition);
}

.why-btn:hover { color: var(--color-amber); }

.why-title {
  flex: 1;
  line-height: 1.5;
}

.why-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-muted);
  transition: transform var(--transition);
}

.why-btn[aria-expanded="true"] .why-chevron { transform: rotate(180deg); }

.why-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0;
}

.why-body.open {
  max-height: 520px;
  padding: 0 0 1.1rem;
}

.why-body p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-body);
}

/* ═══════════════════════════════════════════════════════
   PHCC PARTNERSHIP
═══════════════════════════════════════════════════════ */
.phcc-section {
  background: var(--color-bg-light);
  padding: var(--pad-sec) var(--pad-x);
  display: flex;
  justify-content: center;
}

.phcc-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 6vw, 5rem);
  max-width: 860px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.phcc-logo {
  height: 80px;
  width: auto;
}

.phcc-text {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  color: var(--color-body);
  line-height: 1.75;
  font-style: italic;
}

.phcc-text mark {
  background: none;
  color: var(--color-amber);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════
   WHO WE HELP – CAROUSEL
═══════════════════════════════════════════════════════ */
.who-we-help {
  background: var(--color-bg-white);
  padding: var(--pad-sec) 0;
}

.who-we-help .container { margin-bottom: 0; }

.carousel-wrapper {
  position: relative;
  padding: 1.5rem var(--pad-x) 0;
  max-width: var(--max-w);
  margin-inline: auto;
}

.carousel {
  overflow: hidden;
  border-radius: var(--radius-card);
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  display: grid;
  grid-template-columns: 40% 60%;
  flex: 0 0 auto;   /* sized by JS via inline width */
  height: 270px;    /* fixed height — keeps card compact */
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.slide-image { overflow: hidden; }

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem 2.5rem;
}

.slide-title {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.5vw, 1.5rem);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.9rem;
}

.slide-text {
  font-size: clamp(0.88rem, 0.95vw, 1rem);
  color: var(--color-body);
  line-height: 1.7;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.5rem 0 0;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-divider);
  border: none;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.dot.active {
  background: var(--color-amber);
  transform: scale(1.2);
}

/* ═══════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════ */
.how-it-works { background: var(--color-bg-light); }

.how-content { padding-right: clamp(2rem, 4vw, 4rem); }

.how-cta { margin-top: 2rem; }

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0.5rem;
  border-top: 1px solid var(--color-divider);
}

.step-item { border-bottom: 1px solid var(--color-divider); }

.step-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.1rem 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-dark);
  transition: color var(--transition);
}

.step-btn:hover { color: var(--color-amber); }

.step-label {
  font-weight: 700;
  color: var(--color-amber);
  flex-shrink: 0;
  min-width: 4.5rem;
}

.step-title { flex: 1; }

.step-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-muted);
  transition: transform var(--transition);
}

.step-btn[aria-expanded="true"] .step-chevron { transform: rotate(180deg); }

.step-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 0 0 5.5rem;
}

.step-body.open {
  max-height: 200px;
  padding: 0 0 1.1rem 5.5rem;
}

.step-body p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-body);
}

/* ═══════════════════════════════════════════════════════
   RETIREMENT CTA
═══════════════════════════════════════════════════════ */
.retirement-cta { background: var(--color-bg-white); }

.retirement-content { padding-left: clamp(2rem, 5vw, 5rem); }

/* ═══════════════════════════════════════════════════════
   EXPERTISE / TEAM
═══════════════════════════════════════════════════════ */
.expertise { background: var(--color-bg-light); }

.expertise-content { padding-right: clamp(2rem, 4vw, 4rem); }

.team-grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: var(--pad-sec) var(--pad-x);
}

.team-member {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--color-bg-white);
  border-radius: var(--radius-card);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-card);
}

.team-photo-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--color-amber);
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info { flex: 1; }

.team-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.2rem;
}

.team-title {
  font-size: 0.83rem;
  color: var(--color-muted);
}

.btn-bio {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-amber);
  border: 1.5px solid var(--color-amber);
  border-radius: 3px;
  padding: 0.35rem 0.9rem;
  transition: background var(--transition), color var(--transition);
}

.btn-bio:hover, .btn-bio:focus-visible {
  background: var(--color-amber);
  color: var(--color-dark);
}

/* ═══════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════ */
.faq {
  background: var(--color-bg-white);
  padding: var(--pad-sec) 0;
}

.faq .section-heading { margin-bottom: 2.5rem; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-divider);
}

.faq-item { border-bottom: 1px solid var(--color-divider); }

.faq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: clamp(0.88rem, 1vw, 1rem);
  font-weight: 500;
  color: var(--color-dark);
  transition: color var(--transition);
}

.faq-btn:hover { color: var(--color-amber); }

.faq-chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--color-muted);
  transition: transform var(--transition);
}

.faq-btn[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }

.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-body.open {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

.faq-body p {
  font-size: clamp(0.88rem, 0.95vw, 1rem);
  line-height: 1.75;
  color: var(--color-body);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--color-footer);
  color: rgba(255,255,255,0.85);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  /*padding-top: clamp(2rem, 4vw, 3.5rem);*/
  /*padding-bottom: clamp(1.5rem, 3vw, 2.5rem);*/
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  height: 52px;
  width: 52px;
  /* filter: brightness(0) invert(1); */
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-amber);
  letter-spacing: 0.02em;
}

.footer-contact {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    color: #219653;
    text-align: right;
}

.footer-disclaimer {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

    .footer-disclaimer p {
        font-size: 0.75rem;
        line-height: 1.75;
        color: #219653;
    }

/* ═══════════════════════════════════════════════════════
   BIO MODAL
═══════════════════════════════════════════════════════ */
.bio-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(38,38,38,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn 0.25s ease;
}

.bio-overlay[hidden] { display: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.bio-modal {
  background: var(--color-bg-white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2.5rem;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bio-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  transition: background var(--transition);
}

.bio-close:hover { background: var(--color-divider); }
.bio-close svg { width: 18px; height: 18px; }

.bio-modal-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.bio-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--color-amber);
}

.bio-text { flex: 1; }

.bio-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.bio-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-amber);
  margin-bottom: 1rem;
}

.bio-body {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--color-body);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE – TABLET (≤ 1024px)
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .section-split {
    grid-template-columns: 1fr;
  }

  .split-image {
    min-height: 360px;
    order: -1;
  }

  .split-content {
    padding: var(--pad-sec) var(--pad-x);
  }

  /* Restore content order for alternating sections */
  .about .about-content,
  .how-it-works .how-content,
  .retirement-cta .retirement-content,
  .expertise .expertise-content {
    order: 1;
  }

  .about .about-image,
  .how-it-works .how-image,
  .retirement-cta .retirement-image,
  .expertise .team-grid {
    order: 0;
  }

  /* Overrides for padding */
  .about .about-content,
  .why-content,
  .how-content,
  .retirement-content,
  .expertise-content { padding: var(--pad-sec) var(--pad-x) !important; }

  .hero {
    min-height: auto;   /* no longer a grid — remove stale grid-template-columns */
  }

  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

  .team-grid { padding: 2rem var(--pad-x); }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE – HERO MOBILE (≤ 768px)
═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Hide CSS background image — the explicit <img> below takes over */
  .hero {
    display: flex;
    flex-direction: column;
  }

  /* Hide desktop bg image; show mobile strip instead */
  .hero-bg-img  { display: none; }

  /* White card goes full-width, shrinks to content height, loses the side radius */
  .hero-content {
    width: 100%;
    min-height: auto;
    border-radius: 0;
    padding: 2rem 1.5rem 2.5rem;
  }

  /* Heading: keep 2-line layout comfortably at all phone widths */
  .hero-heading {
    font-size: clamp(1.65rem, 5.8vw, 2.2rem);
    margin-bottom: 1.5rem;
  }

  /* Show the photo strip below the card */
  .hero-mobile-img {
    display: block;
    width: 100%;
    height: 58vw;
    min-height: 220px;
    max-height: 380px;
    object-fit: cover;
    object-position: center top;
  }

  /* Hero mobile: no gap between card and photo strip */
  .hero { display: flex; flex-direction: column; }
  .hero-mobile-img { flex-shrink: 0; }

  /* About image radius was designed for 2-col; reset for stacked mobile */
  .about .split-image,
  .why-2pi .split-image,
  .how-it-works .split-image,
  .retirement-cta .split-image { border-radius: 0; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE – MOBILE (≤ 640px)
═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .features-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  .carousel-slide {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .slide-image { height: 220px; }

  .slide-content { padding: 1.5rem; }

  .bio-modal-content { flex-direction: column; align-items: center; text-align: center; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-contact { text-align: left; }
}

u {
  text-decoration: underline var(--color-amber) 4px; /* Changes only the line to amber */
}