/* =========================================================
   Marley Rose Group Home — Consolidated Stylesheet
   ---------------------------------------------------------
   Logical sections (rules kept in original cascade order
   to preserve the tuned desktop + mobile behavior):
     Base / Typography / Header / Navigation / Hero /
     Mission / Services / Care Philosophy / Admissions /
     Leadership / Medical & Clinical Support / Story /
     Contact / Footer / Thank You Page / Responsive (Mobile)
   ========================================================= */

  :root {
    --rose: #8B1A1A;
    --rose-light: #C0392B;
    --rose-pale: #F8EEEE;
    --green: #1B2A6B;
    --green-light: #2E4099;
    --green-pale: #EEF1FA;
    --gold: #C8922A;
    --gold-light: #E8B84B;
    --cream: #F9F8F5;
    --charcoal: #1A1A2E;
    --muted: #5A5A72;
    --border: #DDD8CC;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    overflow-x: hidden;
  }

  /* ─── NAV ─── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(251,248,244,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 3rem;
    height: 72px; flex-wrap: wrap;
  }
  .nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem; font-weight: 600;
    color: var(--rose);
    letter-spacing: 0.02em;
    line-height: 1.2;
  }
  .nav-logo img {
    height: 92px;
    width: auto;
    display: block;
  }
  .nav-logo span { display: block; font-size: 0.75rem; font-family: 'DM Sans', sans-serif; font-weight: 300; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a { text-decoration: none; color: var(--charcoal); font-size: 0.875rem; font-weight: 400; letter-spacing: 0.03em; transition: color 0.2s; }
  .nav-links a:hover { color: var(--rose); }
  .nav-links a.active { color: var(--rose); }
  .mobile-menu a.active { color: var(--rose); }
  #mission, #services, #philosophy, #admissions, #about, #story, #contact { scroll-margin-top: 100px; }
  .nav-cta {
    background: #8B1A1A; color: white;
    padding: 0.6rem 1.5rem; border-radius: 2rem;
    text-decoration: none; font-size: 0.875rem; font-weight: 500;
    transition: background 0.2s, transform 0.15s;
  }
  .nav-cta:hover { background: #6e1515; transform: translateY(-1px); }

  /* ─── HERO ─── */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8.5rem 2rem 5.5rem;
    gap: 1.5rem;
    background: radial-gradient(circle at top, rgba(255,255,255,0.96) 0%, rgba(249,248,245,0.98) 42%, rgba(244,240,236,0.95) 100%);
  }
  .hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    position: relative;
    text-align: center;
    max-width: 920px;
    gap: 0;
    width: 100%;
    margin: 0 auto;
  }
  .hero-left::after {
    display: none;
  }
  .hero-tag {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: rgba(248,238,238,0.72);
    border: 1px solid rgba(139,26,26,0.75);
    color: var(--rose);
    padding: 0.75rem 1.5rem; border-radius: 999px;
    font-size: 0.92rem; font-weight: 500; letter-spacing: 0.16em;
    text-transform: uppercase; margin-bottom: 1.1rem; width: fit-content;
    box-shadow: 0 10px 30px rgba(26,26,46,0.05);
    backdrop-filter: blur(8px);
    animation: luxuryFadeUp 0.9s 0.25s ease both;
  }
  .hero-tag::before { content: none !important; }
  .hero-h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(4.4rem, 8vw, 7.2rem);
    font-weight: 600;
    line-height: 0.94;
    letter-spacing: -0.035em;
    color: var(--charcoal);
    margin: 0.35rem 0 1.35rem;
    text-wrap: balance;
    animation: luxuryFadeUp 1s 0.42s ease both;
  }
  .hero-h1 em { font-style: italic; color: var(--rose); font-weight: 600; }
  .hero-sub {
    font-size: 1.28rem;
    line-height: 1.85;
    color: #62627D;
    max-width: 760px;
    margin-bottom: 2.6rem;
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.01em;
    animation: luxuryFadeUp 1s 0.58s ease both;
  }
  .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    animation: luxuryFadeUp 1s 0.74s ease both;
  }
  .hero-logo {
    width: 100%;
    max-width: 576px;
    height: auto;
    display: block;
    margin: 0 auto 1rem;
    filter: drop-shadow(0 16px 34px rgba(0,0,0,0.12));
    animation: heroLogoLift 1.15s ease both;
    transform-origin: center;
  }
  .btn-primary {
    background: linear-gradient(135deg, #8B1A1A 0%, #A61E1E 100%);
    color: white;
    padding: 1rem 2.35rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: all 0.28s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 14px 34px rgba(139,26,26,0.22);
  }
  .btn-primary:hover { background: linear-gradient(135deg, #7A1515 0%, #961B1B 100%); transform: translateY(-3px); box-shadow: 0 18px 38px rgba(139,26,26,0.28); }
  .btn-secondary {
    background: rgba(255,255,255,0.78);
    color: var(--charcoal);
    padding: 1rem 2.35rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    border: 1.5px solid rgba(221,216,204,0.95);
    transition: all 0.25s;
    box-shadow: 0 10px 30px rgba(26,26,46,0.05);
  }
  .btn-secondary:hover { border-color: var(--rose); color: var(--rose); }

  .hero-right {
    display: none;
  }
  .hero-right::before { display: none; }
  .hero-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 300; font-style: italic;
    color: rgba(255,255,255,0.95); line-height: 1.4;
    text-align: center; margin-bottom: 2rem;
    position: relative; z-index: 1;
    animation: fadeUp 0.9s 0.4s ease both;
  }
  .hero-quote-attr {
    color: #E8B84B; font-size: 0.875rem; letter-spacing: 0.1em;
    text-transform: uppercase; text-align: center; position: relative; z-index: 1;
    animation: fadeUp 0.9s 0.5s ease both;
  }

  .hero-stats {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.5rem; margin-top: 4rem; width: 100%;
    position: relative; z-index: 1;
    animation: fadeUp 0.9s 0.6s ease both;
  }
  .stat-box {
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
    border-radius: 1rem; padding: 1.25rem;
    backdrop-filter: blur(8px);
  }
  .stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem; font-weight: 600; color: white;
    display: block; line-height: 1;
  }
  .stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-top: 0.35rem; letter-spacing: 0.05em; }


  /* ─── SUPPORTING IMAGERY ─── */
  .section-photo-block {
    margin-top: 2rem;
    border-radius: 1.75rem;
    overflow: hidden;
    border: 1px solid rgba(221,216,204,0.9);
    box-shadow: 0 18px 50px rgba(26,26,46,0.08);
    background: #fff;
  }
  .section-photo-block img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  .section-photo-block--wide img {
    aspect-ratio: 16 / 9;
  }
  .section-photo-block--soft {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.14);
    box-shadow: 0 20px 50px rgba(0,0,0,0.16);
  }
  .section-photo-block--soft img {
    opacity: 0.96;
  }
  .mission-photo {
    margin-top: 2.25rem;
  }
  .services-photo-wrap,
  .admissions-photo-wrap {
    max-width: 780px;
    margin: 0 auto 3rem;
  }
  .philosophy-photo-wrap {
    margin-top: 2rem;
  }

  .hero {
    position: relative;
    overflow: hidden;
    background:
      linear-gradient(rgba(249,248,245,0.42), rgba(249,248,245,0.34)),
      url('/assets/images/hero-prepped-faded.jpg') center/cover no-repeat;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(249,248,245,0.30) 0%, rgba(249,248,245,0.14) 24%, rgba(249,248,245,0.34) 100%);
    pointer-events: none;
  }
  .hero-left,
  .hero-right {
    position: relative;
    z-index: 1;
  }
  .hero-left {
    background: rgba(249,248,245,0.36);
    border: 1px solid rgba(255,255,255,0.34);
    border-radius: 2rem;
    padding: 1.5rem 1.5rem 1.25rem;
    box-shadow: 0 24px 60px rgba(26,26,46,0.10);
    backdrop-filter: blur(6px);
  }
  @media (min-width: 768px) {
    .hero-left {
      padding: 2rem 2.25rem 1.75rem;
    }
  }

  /* ─── SECTION SHARED ─── */
  section { padding: 6rem 6rem; }
  .section-tag {
    display: flex; align-items: center; justify-content: center; gap: 0.75rem;
    color: var(--gold); font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1rem;
  }
  .section-tag::before,
  .section-tag::after { content: ''; display: block; width: 32px; height: 1px; background: linear-gradient(90deg, transparent, currentColor); opacity: 0.8; }
  .section-tag::after  { background: linear-gradient(90deg, currentColor, transparent); }
  .section-tag span {
    display: inline-flex; align-items: center; gap: 0.65rem;
  }
  .section-tag span::before {
    content: '◆'; font-size: 0.5rem; color: currentColor; opacity: 0.9;
  }
  .section-h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 4vw, 3.8rem); font-weight: 600;
    line-height: 1.1; color: var(--charcoal); margin-bottom: 1rem;
    text-align: center;
  }
  .section-h2 em { font-style: italic; color: var(--rose); }
  .section-lead { font-size: 1.05rem; color: var(--muted); line-height: 1.75; font-weight: 300; max-width: 600px; text-align: center; margin: 0 auto; }

  /* ─── MISSION ─── */
  #mission { background: white; }
  .mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .mission-text p { font-size: 1.05rem; line-height: 1.8; color: var(--muted); font-weight: 300; margin-top: 1.5rem; }
  .mission-visual {
    display: flex; flex-direction: column; gap: 0;
  }
  .mission-visual h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem; font-weight: 600; color: var(--charcoal);
    margin-bottom: 1.5rem; text-align: center;
    letter-spacing: -0.01em;
  }
  .values-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .values-list li {
    display: flex; flex-direction: column; gap: 0.5rem;
    padding: 1.5rem; border-radius: 1.25rem;
    background: white; border: 1px solid var(--border);
    position: relative; overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
  }
  .values-list li:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
  .values-list li::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--rose), #C8922A);
  }
  .values-list li strong { color: var(--charcoal); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; }
  .values-list li span { color: var(--muted); font-weight: 300; font-size: 0.85rem; line-height: 1.55; }

  /* ─── SERVICES ─── */
  #services { background: var(--cream); }
  .services-intro { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; margin-bottom: 4rem; }
  .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .service-card {
    background: white; border-radius: 1.5rem; padding: 2rem;
    border: 1px solid var(--border); position: relative; overflow: hidden;
    transition: all 0.3s; cursor: default;
  }
  .service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #C8922A, #E8B84B);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s;
  }
  .service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); border-color: var(--rose-light); }
  .service-card:hover::before { transform: scaleX(1); }
  .service-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: var(--charcoal); margin-bottom: 0.75rem; }
  .service-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; font-weight: 300; }

  /* ─── PHILOSOPHY ─── */
  #philosophy { background: #1B2A6B; }
  .philosophy-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 6rem; align-items: center; }
  .philosophy-heading .section-tag { color: var(--rose-light); }
  .philosophy-heading .section-tag::before, .philosophy-heading .section-tag::after { background: none; }
  .philosophy-heading .section-h2 { color: white; text-align: center; }
  .philosophy-heading .section-h2 em { color: var(--rose-light); }
  .philosophy-heading p { color: rgba(255,255,255,0.7); line-height: 1.75; font-weight: 300; margin-top: 1.5rem; }
  .philosophy-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .pillar {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 1rem; padding: 1.5rem;
    backdrop-filter: blur(8px);
  }
  .pillar h4 { color: var(--rose-light); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.6rem; }
  .pillar p { color: rgba(255,255,255,0.75); font-size: 0.9rem; line-height: 1.6; font-weight: 300; }

  /* ─── ADMISSIONS ─── */
  #admissions { background: var(--charcoal); }
  #admissions .section-tag { color: var(--gold); }
  #admissions .section-tag::before, #admissions .section-tag::after { background: var(--gold); }
  #admissions .section-h2 { color: white; }
  #admissions .section-h2 em { color: var(--gold); }
  #admissions .section-lead { color: rgba(255,255,255,0.6); margin-bottom: 3rem; }

  .admissions-intro { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }

  /* Eligibility numbered steps */
  .eligibility-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; margin-bottom: 3rem; }
  .eligibility-step {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.5rem; padding: 2rem 1.5rem;
    display: flex; flex-direction: column; gap: 0.75rem;
    position: relative; overflow: hidden;
    transition: background 0.3s, transform 0.3s;
  }
  .eligibility-step:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
  .eligibility-step::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--rose), var(--gold));
  }
  .step-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem; font-weight: 600; line-height: 1;
    color: rgba(255,255,255,0.12); position: absolute; top: 1rem; right: 1.25rem;
  }
  .eligibility-step h4 {
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--gold);
  }
  .eligibility-step p { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.65; font-weight: 300; }

  /* Bottom two-col */
  .admissions-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .admissions-area {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.5rem; padding: 2.5rem;
  }
  .admissions-area h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem; font-weight: 600; color: white; margin-bottom: 0.5rem;
  }
  .admissions-area .sub { font-size: 0.85rem; color: rgba(255,255,255,0.4); margin-bottom: 1.5rem; font-weight: 300; }
  .area-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
  .area-list li {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 0.95rem; color: rgba(255,255,255,0.75); font-weight: 300;
    padding: 0.75rem 1rem; background: rgba(255,255,255,0.05);
    border-radius: 0.75rem; border: 1px solid rgba(255,255,255,0.08);
  }
  .area-list li::before { content: '◆'; color: var(--gold); font-size: 0.45rem; flex-shrink: 0; }
  .admissions-referral {
    background: linear-gradient(135deg, rgba(139,26,26,0.3), rgba(200,146,42,0.2));
    border: 1px solid rgba(200,146,42,0.25);
    border-radius: 1.5rem; padding: 2.5rem;
    display: flex; flex-direction: column; justify-content: space-between;
  }
  .admissions-referral h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem; font-weight: 600; color: white; margin-bottom: 0.75rem;
  }
  .admissions-referral p { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.7; font-weight: 300; margin-bottom: 1.5rem; }
  .referral-sources { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .referral-tag {
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
    border-radius: 2rem; padding: 0.35rem 0.9rem;
    font-size: 0.78rem; color: rgba(255,255,255,0.75); font-weight: 400;
  }

  /* ─── FOUNDER ─── */
  #about { background: var(--cream); overflow: hidden; }
  .founder-grid {
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.2fr);
    gap: 3rem;
    align-items: start;
    margin-top: 3.5rem;
    position: relative;
  }
  
.founder-card {
  background: white; 
  border-radius: 2rem; 
  overflow: hidden;
  border: 1px solid var(--border);
  position: sticky; 
  top: 100px;
  display: flex;
  flex-direction: column;
}
.founder-img-container {
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: #f0f0f0;
}
.founder-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

  .founder-card::before {
    content: '';
    position: absolute;
    inset: 1.2rem 1.2rem -1.2rem -1.2rem;
    border: 1px solid rgba(200,146,42,0.28);
    border-radius: 2.4rem;
    pointer-events: none;
  }
  .founder-card-header {
    position: relative;
    overflow: visible;
    border-radius: 2.2rem;
    background: linear-gradient(180deg, rgba(26,26,46,0.02), rgba(26,26,46,0.18));
    box-shadow: 0 30px 80px rgba(26,26,46,0.12);
  }
  .founder-card-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,26,46,0.02) 0%, rgba(26,26,46,0.06) 55%, rgba(26,26,46,0.22) 100%);
    pointer-events: none;
  }
  .founder-img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center center;
    display: block;
    border-radius: 2.2rem;
  }
  .founder-caption {
    display: none;
  }
  .founder-bio {
    position: relative;
    margin: 0;
    padding: 3rem 3.25rem 3rem 3.5rem;
    max-width: 760px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.5rem;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(26,26,46,0.08);
    border-radius: 2rem;
    box-shadow: 0 28px 70px rgba(26,26,46,0.13);
    backdrop-filter: blur(10px);
    z-index: 1;
  }
  .founder-bio::before {
    content: '';
    position: absolute;
    top: 3rem;
    bottom: 0.75rem;
    left: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(200,146,42,0.75) 12%, rgba(139,26,26,0.22) 50%, rgba(200,146,42,0.75) 88%, transparent);
  }
  .founder-editorial-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
  }
  .founder-editorial-tag::before {
    content: '◆';
    font-size: 0.6rem;
    color: var(--rose);
  }
  .founder-editorial-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.6rem, 4vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: -0.02em;
    color: var(--charcoal);
    max-width: 11ch;
  }
  .founder-editorial-headline em {
    font-style: italic;
    color: var(--rose);
  }
  .founder-bio .brand-motif {
    justify-content: flex-start;
    margin: 0.15rem 0;
  }
  .founder-bio .brand-motif::before,
  .founder-bio .brand-motif::after {
    width: 58px;
  }
  .founder-bio-content {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
  }
  .founder-bio-content p {
    font-size: 1.02rem;
    line-height: 1.92;
    color: var(--muted);
    font-weight: 300;
    margin: 0;
  }
  .founder-bio-content p:first-child {
    font-size: 1.18rem;
    line-height: 1.85;
    color: var(--charcoal);
    font-weight: 400;
  }
  .founder-bio-content p:first-child::first-letter {
    float: left;
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.8rem;
    line-height: 0.8;
    padding-right: 0.5rem;
    padding-top: 0.18rem;
    color: var(--rose);
  }
  .founder-bio-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gold);
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .founder-bio-footer::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(200,146,42,0.7), transparent);
  }

  /* ─── STORY / MILESTONES ─── */
  #story { background: white; }
  .story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
  .story-text p { font-size: 1rem; line-height: 1.8; color: var(--muted); font-weight: 300; margin-bottom: 1.25rem; }
  .story-text p:first-child { font-size: 1.1rem; font-weight: 400; color: var(--charcoal); }
  .timeline { display: flex; flex-direction: column; gap: 0; margin-top: 1rem; }
  .timeline-item { display: flex; gap: 1.5rem; position: relative; }
  .timeline-item::before {
    content: '';
    position: absolute; left: 32px; top: 40px; bottom: -1px;
    width: 1px; background: var(--border);
  }
  .timeline-item:last-child::before { display: none; }
  .timeline-dot {
    width: 64px; height: 40px; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; position: relative; z-index: 1;
  }
  .timeline-dot span {
    width: 14px; height: 14px; border-radius: 50%;
    background: #C8922A; border: 2px solid white;
    box-shadow: 0 0 0 2px #E8B84B;
    display: block;
  }
  .timeline-content { padding: 0.25rem 0 2rem; }
  .timeline-year { font-size: 0.75rem; font-weight: 500; color: var(--rose); letter-spacing: 0.1em; margin-bottom: 0.3rem; }
  .timeline-content p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; font-weight: 300; }


  /* ─── REUSABLE LEADERSHIP SYSTEM ─── */
  .leadership-system-section { background: var(--cream); }
  .leadership-system {
    --leadership-card-height: 760px;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    margin-top: 3.5rem;
  }
  .leadership-entry {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: 3rem;
    align-items: start;
  }
  .leadership-entry--reverse {
    grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.78fr);
  }
  .leadership-entry--reverse .leadership-media { order: 2; }
  .leadership-entry--reverse .leadership-content { order: 1; }
  .leadership-media {
    position: relative;
    align-self: start;
  }
  .leadership-frame {
    height: var(--leadership-card-height);
    min-height: 0;
    border-radius: 2rem;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(26,26,46,0.02), rgba(26,26,46,0.12));
    box-shadow: 0 24px 60px rgba(26,26,46,0.10);
    position: relative;
    padding: 0;
  }
  .leadership-frame::before {
    content: '';
    position: absolute;
    inset: 1rem 1rem -1rem -1rem;
    border: 1px solid rgba(200,146,42,0.22);
    border-radius: 2.15rem;
    pointer-events: none;
  }
  .leadership-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 2rem;
  }
  .leadership-frame--cropped { height: var(--leadership-card-height); }
  .leadership-portrait--cropped { object-position: center 14%; }
  #founder-profile .leadership-portrait { object-position: center top; }
  .leadership-content {
    position: relative;
    height: var(--leadership-card-height);
    padding: 3rem 3.25rem 3rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.35rem;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(26,26,46,0.08);
    border-radius: 2rem;
    box-shadow: 0 28px 70px rgba(26,26,46,0.13);
    backdrop-filter: blur(10px);
    overflow: hidden;
  }
  .leadership-content--scroll {
    overflow: hidden;
  }
  .leadership-content::before {
    content: '';
    position: absolute;
    top: 3rem;
    bottom: 0.75rem;
    left: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(200,146,42,0.75) 12%, rgba(139,26,26,0.22) 50%, rgba(200,146,42,0.75) 88%, transparent);
  }
  .leadership-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
  }
  .leadership-kicker::before { content: '◆'; font-size: 0.6rem; color: var(--rose); }
  .leadership-identity { display: flex; flex-direction: column; gap: 0.35rem; }
  .leadership-person-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 2.8vw, 3rem);
    line-height: 1;
    color: var(--charcoal);
  }
  .leadership-person-role {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .leadership-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.02em;
    color: var(--charcoal);
    max-width: 12ch;
    margin: 0;
  }
  .leadership-headline em { font-style: italic; color: var(--rose); }
  .leadership-content .brand-motif { justify-content: flex-start; margin: 0.15rem 0; }
  .leadership-content .brand-motif::before,
  .leadership-content .brand-motif::after { width: 58px; }
  .leadership-copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    overflow-y: auto;
    padding-right: 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(139,26,26,0.35) rgba(26,26,46,0.06);
  }
  .leadership-copy::-webkit-scrollbar { width: 8px; }
  .leadership-copy::-webkit-scrollbar-track {
    background: rgba(26,26,46,0.06);
    border-radius: 999px;
  }
  .leadership-copy::-webkit-scrollbar-thumb {
    background: rgba(139,26,26,0.35);
    border-radius: 999px;
  }
  .leadership-copy p {
    font-size: 1.02rem;
    line-height: 1.92;
    color: var(--muted);
    font-weight: 300;
    margin: 0;
  }
  .leadership-copy p:first-child {
    font-size: 1.12rem;
    line-height: 1.85;
    color: var(--charcoal);
    font-weight: 400;
  }
  .leadership-copy p:first-child::first-letter {
    float: left;
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.8rem;
    line-height: 0.8;
    padding-right: 0.5rem;
    padding-top: 0.18rem;
    color: var(--rose);
  }
  .leadership-signoff {
    margin-top: auto;
    padding-top: 1.35rem;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    border-top: 1px solid rgba(26,26,46,0.08);
  }
  .leadership-entry-template {
    display: none;
  }

  /* ─── CONTACT ─── */
  #contact { background: var(--charcoal); }
  .contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
  .contact-left .section-tag { color: var(--rose-light); }
  .contact-left .section-tag::before, .contact-left .section-tag::after { background: none; }
  .contact-left .section-h2 { color: white; }
  .contact-left .section-h2 em { color: var(--rose-light); }
  .contact-left p { color: rgba(255,255,255,0.6); line-height: 1.75; font-weight: 300; margin-top: 1.5rem; }
  .contact-details { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
  .contact-item { display: flex; align-items: center; gap: 1rem; }
  .contact-item .icon { width: 40px; height: 40px; background: rgba(255,255,255,0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
  .contact-item div strong { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.4); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.15rem; }
  .contact-item div span { font-size: 0.95rem; color: rgba(255,255,255,0.85); font-weight: 300; }
  .contact-form { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 1.5rem; padding: 2.5rem; }
  .form-group { margin-bottom: 1.25rem; }
  .form-group label { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.5rem; }
  .form-group input, .form-group textarea, .form-group select {
    width: 100%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 0.75rem; padding: 0.875rem 1rem;
    color: white; font-size: 0.95rem; font-family: 'DM Sans', sans-serif;
    outline: none; transition: border-color 0.2s;
  }
  .form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--rose); }
  .form-group textarea { resize: none; height: 120px; }
  .form-group select option { background: var(--charcoal); }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .submit-btn {
    width: 100%; background: var(--rose); color: white;
    border: none; border-radius: 2rem; padding: 1rem;
    font-size: 1rem; font-weight: 500; font-family: 'DM Sans', sans-serif;
    cursor: pointer; transition: all 0.2s; margin-top: 0.5rem;
  }
  .submit-btn:hover { background: #6e1515; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(200,112,122,0.3); }

  /* ─── FOOTER ─── */
  footer { background: #1a1a1a; padding: 3rem 6rem; border-top: 1px solid rgba(255,255,255,0.06); }
  .footer-inner { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.25rem; text-align: center; }
  .footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: white; }
  .footer-logo span { display: block; font-size: 0.7rem; font-family: 'DM Sans', sans-serif; color: rgba(255,255,255,0.35); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.15rem; }
  .footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
  .footer-motif {
    width: min(100%, 320px);
    margin: 0.15rem auto 0;
  }


  /* ─── BRAND MOTIF ─── */
  .brand-motif {
    --motif-color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    color: var(--motif-color);
    width: 100%;
  }
  .brand-motif::before,
  .brand-motif::after {
    content: '';
    height: 1px;
    flex: 0 0 42px;
    background: linear-gradient(90deg, transparent, var(--motif-color));
    opacity: 0.7;
  }
  .brand-motif::after {
    background: linear-gradient(90deg, var(--motif-color), transparent);
  }
  .brand-motif span {
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    line-height: 1;
    opacity: 0.88;
  }
  .brand-motif-light {
    --motif-color: rgba(255,255,255,0.7);
  }


  /* ─── LEADERSHIP FEATURE ─── */
  #clinical-director { background: white; overflow: hidden; }
  .leadership-grid {
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.2fr);
    gap: 3rem;
    align-items: start;
    margin-top: 3.5rem;
  }
  .leadership-grid.reverse {
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.95fr);
  }
  .leadership-grid.reverse .leadership-card { order: 2; }
  .leadership-grid.reverse .leadership-bio { order: 1; }
  .leadership-card {
    position: relative;
    align-self: start;
    background: transparent;
  }
  .leadership-card::before {
    content: '';
    position: absolute;
    inset: 1.2rem 1.2rem -1.2rem -1.2rem;
    border: 1px solid rgba(200,146,42,0.24);
    border-radius: 2.4rem;
    pointer-events: none;
  }
  .leadership-card-header {
    position: relative;
    overflow: hidden;
    border-radius: 2.2rem;
    background: linear-gradient(180deg, rgba(26,26,46,0.02), rgba(26,26,46,0.12));
    box-shadow: 0 30px 80px rgba(26,26,46,0.12);
  }
  .leadership-img {
    width: 100%;
    height: auto;
    display: block;
  }
  .leadership-bio {
    position: relative;
    margin: 0;
    padding: 3rem 3.25rem 3rem 3.5rem;
    max-width: 760px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(221,216,204,0.9);
    border-radius: 2rem;
    box-shadow: 0 28px 60px rgba(26,26,46,0.08);
  }
  .leadership-panel-identity { margin-bottom: 1.25rem; }
  .leadership-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.1rem, 4vw, 3rem);
    line-height: 1;
    color: var(--charcoal);
    margin-bottom: 0.4rem;
  }
  .leadership-role {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rose);
    font-weight: 600;
  }
  .leadership-editorial-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.75rem, 2.6vw, 2.45rem);
    line-height: 1.1;
    color: var(--charcoal);
    margin: 0 0 1.2rem 0;
  }
  .leadership-editorial-headline em { color: var(--rose); font-style: italic; }
  .leadership-bio-content p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--muted);
    font-weight: 300;
    margin-bottom: 1.15rem;
  }
  .leadership-bio-content p:last-child { margin-bottom: 0; }


  /* ─── LEADERSHIP EDITORIAL FEATURE ─── */
  .leadership-featurehead {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
    gap: 2.5rem;
    align-items: end;
    margin-bottom: 4rem;
  }
  .leadership-featurehead-copy { max-width: 760px; }
  .leadership-featurehead .section-tag { justify-content: flex-start; margin-bottom: 1.1rem; }
  .leadership-featurehead .section-tag::before { background: linear-gradient(90deg, transparent, var(--gold)); }
  .leadership-featurehead .section-tag::after { background: linear-gradient(90deg, var(--gold), transparent); }
  .leadership-feature-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 0.94;
    letter-spacing: -0.03em;
    color: var(--charcoal);
    margin: 0;
  }
  .leadership-feature-title em { color: var(--rose); font-style: italic; }
  .leadership-feature-standfirst {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--muted);
    font-weight: 300;
    max-width: 34ch;
    margin-left: auto;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(200,146,42,0.45);
  }
  .leadership-editorial {
    display: flex;
    flex-direction: column;
    gap: 5.5rem;
  }
  .leadership-row,
  .leadership-row--reverse {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
  }
  .leadership-row--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  }
  .leadership-row--reverse .leadership-copy-panel { order: 1; }
  .leadership-row--reverse .leadership-visual { order: 2; }
  .leadership-row--stagger { padding-left: 4.5rem; }
  .leadership-visual {
    position: relative;
    align-self: start;
  }
  .leadership-portrait-shell {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
    background: linear-gradient(180deg, rgba(26,26,46,0.03), rgba(26,26,46,0.12));
    box-shadow: 0 24px 60px rgba(26,26,46,0.12);
    border: 1px solid rgba(221,216,204,0.9);
  }
  .leadership-portrait-shell::after {
    content: '';
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 1.2rem;
    pointer-events: none;
  }
  .leadership-portrait {
    width: 100%;
    height: auto;
    display: block;
  }
  .leadership-caption-chip {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(221,216,204,0.95);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    min-width: 0;
    box-shadow: 0 12px 30px rgba(26,26,46,0.12);
    backdrop-filter: blur(10px);
  }
  .leadership-caption-chip strong,
  .leadership-caption-chip span { display: block; }
  .leadership-caption-chip strong {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: 0.18rem;
  }
  .leadership-caption-chip span {
    font-size: 0.9rem;
    color: var(--charcoal);
  }
  .leadership-copy-panel {
    position: relative;
    padding: 2.4rem 2.6rem 2.3rem 2.8rem;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(221,216,204,0.95);
    border-radius: 1.9rem;
    box-shadow: 0 24px 60px rgba(26,26,46,0.08);
  }
  .leadership-copy-panel::before {
    content: '';
    position: absolute;
    top: 2.35rem;
    left: 2.1rem;
    width: 86px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
  }
  .leadership-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding-left: 0;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
  }
  .leadership-kicker::before { content: '◆'; font-size: 0.52rem; color: var(--rose); }
  .leadership-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.15rem, 3vw, 3.25rem);
    line-height: 0.95;
    color: var(--charcoal);
    margin: 0 0 0.35rem 0;
  }
  .leadership-role {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rose);
    font-weight: 600;
    margin-bottom: 1rem;
  }
  .leadership-dek {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.1;
    color: var(--charcoal);
    max-width: 20ch;
    margin-bottom: 1.1rem;
  }
  .leadership-dek em { color: var(--rose); font-style: italic; }
  .leadership-copy-panel .brand-motif { justify-content: flex-start; margin: 0.35rem 0 1.35rem; }
  .leadership-copy-panel .brand-motif::before,
  .leadership-copy-panel .brand-motif::after { flex-basis: 52px; }
  .leadership-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.15rem;
  }
  .leadership-summary p,
  .leadership-expanded p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--muted);
    font-weight: 300;
    margin: 0;
  }
  .leadership-inline-meta {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    margin-bottom: 1.2rem;
  }
  .leadership-inline-thumb {
    width: 84px;
    aspect-ratio: 1 / 1.15;
    object-fit: cover;
    border-radius: 1rem;
    border: 1px solid rgba(221,216,204,0.95);
    box-shadow: 0 10px 24px rgba(26,26,46,0.10);
  }
  .leadership-inline-note {
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--muted);
    padding-top: 0.25rem;
  }
  .leadership-expand {
    border-top: 1px solid rgba(26,26,46,0.08);
    padding-top: 1rem;
  }
  .leadership-expand summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--charcoal);
  }
  .leadership-expand summary::-webkit-details-marker { display: none; }
  .leadership-expand summary::after {
    content: '+';
    color: var(--rose);
    font-size: 1rem;
    line-height: 1;
  }
  .leadership-expand[open] summary::after { content: '–'; }
  .leadership-expanded {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }
  .leadership-signoff {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(26,26,46,0.08);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
  }

  /* cinematic motion variants */
  .fade-in-up, .fade-in-left, .fade-in-right, .fade-in {
    opacity: 0;
    filter: blur(10px);
    transition:
      opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1),
      transform 1.15s cubic-bezier(0.22, 1, 0.36, 1),
      filter 1.15s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 1.15s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform, filter;
  }
  .fade-in-up { transform: translate3d(0, 42px, 0) scale(0.985); }
  .fade-in-left { transform: translate3d(-56px, 0, 0) scale(0.985); }
  .fade-in-right { transform: translate3d(56px, 0, 0) scale(0.985); }
  .fade-in { transform: translate3d(0, 28px, 0) scale(0.992); }

  .fade-in-up.visible, .fade-in-left.visible, .fade-in-right.visible, .fade-in.visible {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }

  .leadership-row,
  .leadership-row--reverse,
  .story-grid,
  .contact-inner {
    transform-style: preserve-3d;
  }

  .leadership-portrait-shell,
  .leadership-copy-panel {
    transition:
      transform 1.15s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 1.15s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .leadership-visual.fade-in-right,
  .leadership-visual.fade-in-left {
    filter: blur(14px);
  }

  .leadership-visual.visible {
    filter: blur(0);
  }

  .leadership-visual.visible .leadership-portrait-shell {
    transform: translate3d(0, 0, 0) scale(1.01);
    box-shadow: 0 34px 80px rgba(26,26,46,0.16);
  }

  .leadership-copy-panel.visible,
  .leadership-copy-panel.fade-in-left.visible,
  .leadership-copy-panel.fade-in-right.visible {
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 28px 72px rgba(26,26,46,0.12);
  }

  .leadership-row.visible .leadership-copy-panel,
  .leadership-row--reverse.visible .leadership-copy-panel {
    transition-delay: 0.08s;
  }

  .leadership-row.visible .leadership-visual,
  .leadership-row--reverse.visible .leadership-visual {
    transition-delay: 0.18s;
  }

  .leadership-row.visible .leadership-copy-panel .leadership-summary p:nth-child(1),
  .leadership-row--reverse.visible .leadership-copy-panel .leadership-summary p:nth-child(1) {
    transition-delay: 0.18s;
  }

  @media (prefers-reduced-motion: reduce) {
    .fade-in-up, .fade-in-left, .fade-in-right, .fade-in,
    .leadership-portrait-shell, .leadership-copy-panel {
      transition: none !important;
      transform: none !important;
      filter: none !important;
      opacity: 1 !important;
    }
  }

  /* ─── ANIMATIONS ─── */
  @keyframes luxuryFadeUp {
    from { opacity: 0; transform: translateY(26px); filter: blur(10px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
  }

  @keyframes heroLogoLift {
    from { opacity: 0; transform: translateY(22px) scale(0.9); filter: blur(10px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }



  /* ─── RESPONSIVE ─── */

  @media (max-width: 1180px) {
    .leadership-row,
    .leadership-row--reverse {
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
    }
    .leadership-row--stagger { padding-left: 2rem; }
  }
  @media (max-width: 1024px) {
    nav { padding: 0 2rem; }
    .leadership-featurehead { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
    .leadership-feature-standfirst { max-width: none; margin-left: 0; padding-left: 1.1rem; }
    .leadership-editorial { gap: 4rem; }
    .leadership-row, .leadership-row--reverse { grid-template-columns: 1fr; gap: 2rem; }
    .leadership-row--stagger { padding-left: 0; }
    .leadership-row--reverse .leadership-copy-panel, .leadership-row--reverse .leadership-visual { order: initial; }
    .leadership-copy-panel { padding: 2rem 1.75rem 1.85rem; }
    .leadership-copy-panel::before { left: 1.75rem; width: 72px; }
    .leadership-inline-meta { grid-template-columns: 72px 1fr; }
    .leadership-inline-thumb { width: 72px; }
    .leadership-caption-chip { left: 1rem; bottom: 1rem; min-width: 0; }
    section { padding: 4rem 2rem; }
    .hero { padding: 7rem 1.5rem 4.5rem; gap: 1.2rem; }
    .hero-left { padding: 0; max-width: 100%; }
    .hero-logo { width: 90%; max-width: 416px; height: auto; }
    .hero-right { padding: 4rem 2rem; min-height: 60vh; }
    .mission-grid, .services-intro, .founder-grid, .leadership-grid, .story-grid, .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .leadership-grid.reverse .leadership-card, .leadership-grid.reverse .leadership-bio { order: initial; }
    .founder-grid, .leadership-grid, .leadership-grid.reverse { grid-template-columns: 1fr; gap: 2rem; }
    .leadership-bio { padding: 2.25rem 2rem; }
    
.founder-card {
  background: white; 
  border-radius: 2rem; 
  overflow: hidden;
  border: 1px solid var(--border);
  position: sticky; 
  top: 100px;
  display: flex;
  flex-direction: column;
}
.founder-img-container {
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: #f0f0f0;
}
.founder-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

    .founder-card::before { inset: 0.85rem 0.85rem -0.85rem -0.85rem; }
    .founder-img { min-height: 0; height: auto; aspect-ratio: 4 / 5; object-position: center 8%; }
    .founder-bio { margin: 0; padding: 2.25rem 1.5rem 2rem; max-width: none; min-height: 0; gap: 1.2rem; border-radius: 1.5rem; }
    .founder-bio::before { top: 2.25rem; bottom: 2rem; }
    .founder-editorial-headline { max-width: none; font-size: clamp(2.1rem, 8vw, 3rem); }
    .leadership-entry,
    .leadership-entry--reverse {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    .leadership-entry--reverse .leadership-media,
    .leadership-entry--reverse .leadership-content {
      order: initial;
    }
    .leadership-frame,
    .leadership-frame--cropped {
      height: auto;
    }
    .leadership-content {
      padding: 2.4rem 2rem 2.2rem 2.3rem;
    }
    .leadership-headline {
      max-width: none;
      font-size: clamp(2.2rem, 7vw, 3.3rem);
    }
    .eligibility-steps { grid-template-columns: 1fr 1fr; }
    .admissions-bottom { grid-template-columns: 1fr; }
    .philosophy-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .philosophy-pillars { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
    footer { padding: 2rem; }
    .form-row { grid-template-columns: 1fr; }
  }
  @media (max-width: 768px) {
    .hero-logo { width: 90%; max-width: 416px; height: auto; }
    .nav-logo img { height: 78px; }
    .hero-h1 { font-size: clamp(3rem, 12vw, 4.6rem); line-height: 0.98; }
    .hero-sub { font-size: 1.08rem; line-height: 1.75; max-width: 92vw; }
    .hero-tag { font-size: 0.78rem; padding: 0.65rem 1.1rem; letter-spacing: 0.12em; }
  }
  @media (max-width: 640px) {
    .services-grid { grid-template-columns: 1fr; }
    .hero-logo { width: 92%; max-width: 336px; height: auto; }
    .hero-h1 { font-size: clamp(2.65rem, 11vw, 4rem); line-height: 1; margin-bottom: 1rem; }
    .hero-sub { font-size: 1rem; line-height: 1.72; }
    .hero-tag { font-size: 0.72rem; padding: 0.6rem 0.95rem; }
    .hero { padding: 6.5rem 1rem 4rem; }
    .founder-grid, .leadership-grid { gap: 1.5rem; }
    .founder-card::before { inset: 0.6rem 0.6rem -0.6rem -0.6rem; }
    .founder-bio { margin: 0; padding: 2rem 1.15rem 1.8rem; }
    .founder-bio .brand-motif::before,
    .founder-bio .brand-motif::after { width: 34px; }
    .founder-bio-content p { font-size: 0.98rem; line-height: 1.82; }
    .founder-bio-content p:first-child { font-size: 1.08rem; }
    .founder-bio-content p:first-child::first-letter { font-size: 3.7rem; padding-right: 0.35rem; }
    .leadership-frame,
    .leadership-frame--cropped {
      height: auto;
    }
    .hero-logo { width: 92%; max-width: 336px; height: auto; }
    .nav-logo img { height: 72px; }
    .hero-actions { gap: 0.85rem; }
    .btn-primary, .btn-secondary { padding: 0.95rem 1.8rem; width: min(100%, 320px); justify-content: center; }
    .leadership-content {
      padding: 2rem 1.15rem 1.8rem 1.45rem;
    }
    .leadership-content::before {
      top: 2rem;
      bottom: 1.8rem;
    }
    .leadership-copy p {
      font-size: 0.98rem;
      line-height: 1.82;
    }
    .leadership-copy p:first-child {
      font-size: 1.08rem;
    }
    .leadership-copy p:first-child::first-letter {
      font-size: 3.7rem;
      padding-right: 0.35rem;
    }
  }

  /* ─── HAMBURGER / MOBILE MENU ─── */
  .hamburger {
    display: none;
    flex-direction: column; justify-content: center; gap: 5px;
    cursor: pointer; padding: 6px; background: none; border: none;
  }
  .hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--charcoal); border-radius: 2px;
    transition: all 0.3s;
  }
  .mobile-menu {
    display: none;
    position: fixed; top: 72px; left: 0; right: 0; z-index: 99;
    background: rgba(249,248,245,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 2rem;
    flex-direction: column; gap: 0;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    text-decoration: none; color: var(--charcoal);
    font-size: 1rem; font-weight: 400; padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
  }
  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu a:hover { color: var(--rose); }

  @media (max-width: 900px) {
    nav { padding: 0 1.25rem; }
    .nav-links { display: none !important; }
    .hamburger { display: flex; }
    .nav-cta { padding: 0.7rem 1.5rem; }
  }
  @media (min-width: 901px) {
    .hamburger { display: none !important; }
    .mobile-menu { display: none !important; }
  }

  /* leadership review fixes */
  .leadership-system-section {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
    overflow: hidden;
  }
  .leadership-featurehead {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-bottom: 3.25rem;
    max-width: 860px;
  }
  .leadership-featurehead-copy { max-width: 860px; }
  .leadership-feature-title {
    max-width: 14ch;
    line-height: 0.98;
  }
  .leadership-row,
  .leadership-row--reverse {
    grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
    gap: 2.4rem;
    align-items: start;
  }
  .leadership-row--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 290px);
  }
  .leadership-row--stagger { padding-left: 2.5rem; }
  .leadership-portrait-shell {
    border-radius: 1.4rem;
  }
  .leadership-caption-chip {
    left: 0.85rem;
    bottom: 0.85rem;
    padding: 0.55rem 0.85rem;
  }
  .leadership-caption-chip strong { font-size: 0.62rem; }
  .leadership-caption-chip span { font-size: 0.82rem; }
  .leadership-copy-panel {
    padding: 2.1rem 2.1rem 2rem 2.3rem;
    border-radius: 1.55rem;
  }
  .leadership-copy-panel::before {
    top: 2rem;
    left: 1.7rem;
    width: 72px;
  }
  .leadership-name {
    font-size: clamp(1.95rem, 2.4vw, 2.8rem);
  }
  .leadership-dek {
    font-size: clamp(1.2rem, 1.6vw, 1.55rem);
    max-width: 24ch;
  }
  .leadership-inline-meta {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0.85rem;
    margin-bottom: 1rem;
  }
  .leadership-inline-thumb {
    width: 64px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-position: center 12%;
  }
  .leadership-inline-note {
    font-size: 0.8rem;
    line-height: 1.65;
    padding-top: 0.15rem;
  }
  .leadership-summary p,
  .leadership-expanded p {
    font-size: 0.98rem;
    line-height: 1.78;
  }
  .leadership-expand summary {
    font-size: 0.76rem;
    letter-spacing: 0.12em;
  }
  #clinical-director-profile .leadership-portrait,
  #clinical-director-profile .leadership-inline-thumb {
    display: block;
  }
  @media (max-width: 1024px) {
    .leadership-featurehead {
      margin-bottom: 2.5rem;
    }
    .leadership-row,
    .leadership-row--reverse {
      grid-template-columns: 1fr;
      gap: 1.6rem;
    }
    .leadership-row--stagger { padding-left: 0; }
    .leadership-row--reverse .leadership-copy-panel,
    .leadership-row--reverse .leadership-visual { order: initial; }
    .leadership-visual {
      max-width: 320px;
    }
  }


  /* leadership cleanup */
  .leadership-caption-chip,
  .leadership-inline-meta {
    display: none !important;
  }
  .leadership-portrait-shell {
    max-width: 320px;
  }
  .leadership-portrait {
    width: 100%;
    height: auto;
    display: block;
  }
  .leadership-visual {
    display: flex;
    justify-content: center;
  }
  @media (max-width: 1024px) {
    .leadership-portrait-shell {
      max-width: 280px;
      margin-inline: auto;
    }
  }


  /* founder / leadership section repair */
  .leadership-editorial-clean {
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
  }
  .leadership-editorial-clean .leadership-row,
  .leadership-editorial-clean .leadership-row--reverse {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: stretch;
  }
  .leadership-editorial-clean .leadership-row--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .leadership-editorial-clean .leadership-row--stagger {
    padding-left: 0;
  }
  .leadership-editorial-clean .leadership-visual {
    display: flex;
    justify-content: stretch;
    align-self: stretch;
    min-height: 100%;
  }
  .leadership-editorial-clean .leadership-portrait-shell {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 100%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    background: transparent;
    border: none;
  }
  .leadership-editorial-clean .leadership-portrait-shell::after {
    display: none;
  }
  .leadership-editorial-clean .leadership-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .leadership-editorial-clean .leadership-copy-panel {
    background: white;
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 2.25rem 2rem;
    box-shadow: 0 16px 34px rgba(0,0,0,0.05);
  }
  .leadership-editorial-clean .leadership-copy-panel::before {
    content: '';
    display: block;
    width: 72px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin-bottom: 1.15rem;
  }
  .leadership-editorial-clean .leadership-summary,
  .leadership-editorial-clean .leadership-expanded {
    display: block;
  }
  .leadership-editorial-clean .leadership-summary p,
  .leadership-editorial-clean .leadership-expanded p {
    margin: 0 0 1rem;
    line-height: 1.8;
    color: var(--muted);
  }
  .leadership-editorial-clean .leadership-expand {
    margin-top: 0.75rem;
  }
  .leadership-editorial-clean .leadership-signoff {
    margin-top: 1.25rem;
  }
  @media (max-width: 1024px) {
    .leadership-editorial-clean .leadership-row,
    .leadership-editorial-clean .leadership-row--reverse {
      grid-template-columns: 1fr;
      gap: 1.75rem;
    }
    .leadership-editorial-clean .leadership-row--stagger {
      padding-left: 0;
    }
    .leadership-editorial-clean .leadership-row--reverse .leadership-copy-panel,
    .leadership-editorial-clean .leadership-row--reverse .leadership-visual {
      order: initial;
    }
    .leadership-editorial-clean .leadership-portrait-shell {
      max-width: 280px;
      margin-inline: auto;
    }
    .leadership-editorial-clean .leadership-copy-panel {
      padding: 2rem 1.35rem;
    }
  }



  /* final leadership polish */
  .leadership-editorial-clean .leadership-row,
  .leadership-editorial-clean .leadership-row--reverse {
    grid-template-columns: minmax(340px, 42vw) minmax(0, 1fr);
    gap: 2.2rem;
    align-items: start;
  }
  .leadership-editorial-clean .leadership-row--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 42vw);
  }
  .leadership-editorial-clean .leadership-visual {
    display: block;
    width: 100%;
  }
  .leadership-editorial-clean .leadership-portrait-shell,
  .leadership-portrait-shell {
    width: 100%;
    max-width: none;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .leadership-editorial-clean .leadership-portrait-shell::after,
  .leadership-portrait-shell::after {
    display: none;
  }
  .leadership-editorial-clean .leadership-portrait,
  .leadership-portrait {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
  }
  .fade-in-up, .fade-in-left, .fade-in-right, .fade-in,
  .leadership-visual.fade-in-right,
  .leadership-visual.fade-in-left,
  .leadership-visual.visible {
    filter: none !important;
  }
  .fade-in-up, .fade-in-left, .fade-in-right, .fade-in {
    transition:
      opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.52s cubic-bezier(0.22, 1, 0.36, 1) !important;
    will-change: opacity, transform;
  }
  .leadership-portrait-shell,
  .leadership-copy-panel {
    transition:
      transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.52s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.52s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }
  .leadership-row.visible .leadership-copy-panel,
  .leadership-row--reverse.visible .leadership-copy-panel {
    transition-delay: 0.03s;
  }
  .leadership-row.visible .leadership-visual,
  .leadership-row--reverse.visible .leadership-visual {
    transition-delay: 0.08s;
  }
  @media (max-width: 1024px) {
    .leadership-editorial-clean .leadership-row,
    .leadership-editorial-clean .leadership-row--reverse {
      grid-template-columns: 1fr;
      gap: 1.4rem;
    }
  }


  @media (max-width: 1024px) {
    .leadership-editorial-clean .leadership-row,
    .leadership-editorial-clean .leadership-row--reverse {
      grid-template-columns: 1fr;
    }
    .leadership-editorial-clean .leadership-visual {
      min-height: auto;
    }
    .leadership-editorial-clean .leadership-portrait-shell {
      height: auto;
    }
    .leadership-editorial-clean .leadership-portrait {
      height: auto;
    }
  }



  /* final portrait sizing fix */
  .leadership-editorial-clean .leadership-row,
  .leadership-editorial-clean .leadership-row--reverse {
    align-items: stretch !important;
  }
  .leadership-editorial-clean .leadership-visual {
    height: auto;
    align-self: stretch;
  }
  .leadership-editorial-clean .leadership-portrait-shell {
    height: 100% !important;
    min-height: 100% !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  .leadership-editorial-clean .leadership-portrait {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    background: transparent !important;
  }
  @media (max-width: 1024px) {
    .leadership-editorial-clean .leadership-row,
    .leadership-editorial-clean .leadership-row--reverse {
      align-items: start !important;
    }
    .leadership-editorial-clean .leadership-visual,
    .leadership-editorial-clean .leadership-portrait-shell,
    .leadership-editorial-clean .leadership-portrait {
      height: auto !important;
      min-height: 0 !important;
    }
  }


  /* subtle portrait hover zoom */
  .leadership-portrait-shell {
    overflow: hidden;
  }

  .leadership-portrait {
    transition: transform 0.45s ease;
    transform-origin: center center;
  }

  .leadership-portrait-shell:hover .leadership-portrait,
  .leadership-portrait-shell:focus-within .leadership-portrait {
    transform: scale(1.035);
  }

  @media (prefers-reduced-motion: reduce) {
    .leadership-portrait {
      transition: none;
    }

    .leadership-portrait-shell:hover .leadership-portrait,
    .leadership-portrait-shell:focus-within .leadership-portrait {
      transform: none;
    }
  }


  /* portrait-to-text height match override */
  .leadership-editorial-clean .leadership-row,
  .leadership-editorial-clean .leadership-row--reverse {
    grid-template-columns: 300px minmax(0, 1fr) !important;
    gap: 2rem !important;
    align-items: stretch !important;
  }
  .leadership-editorial-clean .leadership-row--reverse {
    grid-template-columns: minmax(0, 1fr) 300px !important;
  }
  .leadership-editorial-clean .leadership-visual {
    width: 300px !important;
    height: 100% !important;
    align-self: stretch !important;
  }
  .leadership-editorial-clean .leadership-row--reverse .leadership-visual {
    margin-left: auto;
  }
  .leadership-editorial-clean .leadership-portrait-shell {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    background: transparent !important;
  }
  .leadership-editorial-clean .leadership-portrait {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 18px !important;
    display: block !important;
  }
  #clinical-director-profile .leadership-portrait {
    object-position: center 18% !important;
  }
  @media (max-width: 1024px) {
    .leadership-editorial-clean .leadership-row,
    .leadership-editorial-clean .leadership-row--reverse {
      grid-template-columns: 1fr !important;
      gap: 1.4rem !important;
      align-items: start !important;
    }
    .leadership-editorial-clean .leadership-visual {
      width: min(300px, 100%) !important;
      height: auto !important;
      margin: 0 auto !important;
    }
    .leadership-editorial-clean .leadership-portrait-shell,
    .leadership-editorial-clean .leadership-portrait {
      height: auto !important;
      min-height: 0 !important;
    }
  }


  /* leadership baseline alignment and responsive rhythm */
  .leadership-editorial-clean {
    --leadership-visual-width: 320px;
    --leadership-baseline-offset: clamp(7.25rem, 2vw + 6.5rem, 8.75rem);
    --leadership-portrait-height: clamp(22rem, 34vw, 30rem);
  }
  .leadership-editorial-clean .leadership-row,
  .leadership-editorial-clean .leadership-row--reverse {
    grid-template-columns: var(--leadership-visual-width) minmax(0, 1fr) !important;
    gap: 2.5rem !important;
    align-items: start !important;
  }
  .leadership-editorial-clean .leadership-row--reverse {
    grid-template-columns: minmax(0, 1fr) var(--leadership-visual-width) !important;
  }
  .leadership-editorial-clean .leadership-visual {
    width: var(--leadership-visual-width) !important;
    height: auto !important;
    align-self: start !important;
    padding-top: var(--leadership-baseline-offset);
  }
  .leadership-editorial-clean .leadership-row--reverse .leadership-visual {
    margin-left: auto;
  }
  .leadership-editorial-clean .leadership-portrait-shell {
    height: var(--leadership-portrait-height) !important;
    min-height: 0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    background: transparent !important;
  }
  .leadership-editorial-clean .leadership-portrait {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
  .leadership-editorial-clean .leadership-copy-panel {
    min-height: 0 !important;
  }
  @media (max-width: 1024px) {
    .leadership-editorial-clean {
      --leadership-baseline-offset: 0rem;
      --leadership-visual-width: min(320px, 100%);
      --leadership-portrait-height: auto;
    }
    .leadership-editorial-clean .leadership-row,
    .leadership-editorial-clean .leadership-row--reverse {
      grid-template-columns: 1fr !important;
      gap: 1.5rem !important;
    }
    .leadership-editorial-clean .leadership-visual {
      margin: 0 auto !important;
      padding-top: 0 !important;
    }
    .leadership-editorial-clean .leadership-portrait-shell,
    .leadership-editorial-clean .leadership-portrait {
      height: auto !important;
    }
  }


@media (max-width: 1024px) {
  .founder-img-container { height: 350px !important; }
  .hero-logo { height: 80px !important; } /* Scales down logo slightly for mobile screens */
}


@media (max-width: 768px) {
  .header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .top-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .cta-row {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
  }

  .cta-row .btn {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    font-size: 14px;
  }

  .call-btn {
    max-width: 60%;
  }
}

.logo-link { display:inline-flex; align-items:center; text-decoration:none; color:inherit; }
.mobile-link { text-decoration:none; color:inherit; }


#backToTop {
  position: fixed;
  right: 20px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(221,216,204,0.95);
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #1A1A2E;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 34px rgba(26,26,46,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.25s ease, background 0.25s ease;
}
#backToTop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#backToTop:hover {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 18px 40px rgba(26,26,46,0.16);
  transform: translateY(-2px);
}
#backToTop:active {
  transform: translateY(0);
}
.back-to-top-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8B1A1A 0%, #A61E1E 100%);
  color: #fff;
  font-size: 0.95rem;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(139,26,26,0.22);
}
.back-to-top-label {
  white-space: nowrap;
}
@media (max-width: 768px) {
  #backToTop {
    right: 14px;
    bottom: 20px;
    padding: 0.72rem 0.9rem;
    font-size: 0.82rem;
  }
  .back-to-top-arrow {
    width: 24px;
    height: 24px;
    font-size: 0.9rem;
  }
}



/* Elite form conversion upgrade */
.elite-form-intro {
  margin-bottom: 1.5rem;
}
.elite-form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}
.elite-form-subtext {
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  margin: 0 0 0.25rem 0;
  font-weight: 300;
}
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 0.75rem;
  align-items: center;
}
.clear-btn {
  flex: 0 0 auto;
  min-width: 132px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.86);
  padding: 1rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.25s ease;
}
.clear-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.42);
}
.form-success-note {
  margin-top: 0.9rem !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  color: rgba(255,255,255,0.72) !important;
}
@media (max-width: 768px) {
  .form-actions {
    flex-direction: column;
    gap: 10px;
  }
  .form-actions .submit-btn,
  .form-actions .clear-btn {
    width: 100%;
  }
}



/* Premium unified profile cards */
.team-card,
.leadership-card,
.founder-card,
.consultant-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(249,248,245,0.98) 100%);
  border: 1px solid rgba(221,216,204,0.95);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: 0 22px 48px rgba(26,26,46,0.08);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.team-card:hover,
.leadership-card:hover,
.founder-card:hover,
.consultant-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px rgba(26,26,46,0.12);
  border-color: rgba(200,169,126,0.55);
}
.team-card img,
.leadership-card img,
.founder-card img,
.consultant-card img,
.leadership-portrait img,
.founder-image img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  margin-bottom: 1rem;
}
.team-card h3,
.leadership-card h3,
.founder-card h3,
.consultant-card h3 {
  margin: 0 0 0.35rem 0;
  color: #1A1A2E;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.team-card .role,
.leadership-card .role,
.founder-card .role,
.consultant-card .role {
  margin: 0 0 0.85rem 0;
  color: #8B1A1A;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.team-card .description,
.leadership-card .description,
.founder-card .description,
.consultant-card .description {
  margin: 0;
  color: #5A5A72;
  font-size: 1rem;
  line-height: 1.82;
}
.consulting-section-intro {
  max-width: 760px;
  margin: 0 auto 1.25rem auto;
  text-align: center;
}
.consulting-section-intro p {
  margin: 0;
  color: #5A5A72;
  line-height: 1.8;
}
.consulting-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .team-card,
  .leadership-card,
  .founder-card,
  .consultant-card {
    padding: 1.2rem;
    border-radius: 24px;
  }
}



/* Consultant section alignment and sizing fix */
#medical-support-consultation .leadership-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
  gap: 1.5rem;
}
#medical-support-consultation .leadership-card {
  max-width: 420px;
  margin: 0 auto;
}
#medical-support-consultation .leadership-card img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  margin-bottom: 1rem;
}
#medical-support-consultation .role {
  margin: 0 0 0.85rem 0;
  color: #8B1A1A;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#medical-support-consultation .description {
  margin: 0;
  color: #5A5A72;
  font-size: 1rem;
  line-height: 1.82;
}



/* Luxury healthcare typography + spacing refinement */
:root {
  --section-space-desktop: 5.5rem;
  --section-space-mobile: 3.75rem;
  --content-max: 1180px;
  --text-max: 760px;
}

body {
  letter-spacing: -0.005em;
}

p,
li {
  font-size: 1rem;
  line-height: 1.82;
}

h1, h2, h3, .leadership-feature-title, .leadership-name {
  letter-spacing: -0.03em;
  text-wrap: balance;
}

section {
  padding-top: var(--section-space-desktop);
  padding-bottom: var(--section-space-desktop);
}

.leadership-shell,
.container,
.section-shell {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

.section-tag span,
.leadership-kicker,
.leadership-role,
.role {
  letter-spacing: 0.12em !important;
}

.section-lead,
.leadership-featurehead-copy p,
.leadership-summary p,
.description {
  max-width: var(--text-max);
}

.leadership-featurehead {
  margin-bottom: 2rem !important;
}

.leadership-feature-title {
  margin-bottom: 0.7rem !important;
  line-height: 0.96 !important;
  font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
}

.leadership-row {
  gap: clamp(1.5rem, 3vw, 3rem) !important;
  align-items: stretch;
  margin-bottom: 2rem !important;
}

.leadership-copy-panel {
  padding: 2rem 2rem 1.85rem 2rem !important;
  border-radius: 30px !important;
}

.leadership-name {
  line-height: 1.02 !important;
  margin-bottom: 0.55rem !important;
}

.leadership-role {
  margin-bottom: 0.8rem !important;
}

.leadership-dek {
  line-height: 1.5 !important;
  margin-bottom: 1.1rem !important;
}

.brand-motif {
  margin: 1rem 0 1rem 0 !important;
}

.leadership-summary p + p,
.description p + p {
  margin-top: 0.95rem !important;
}

.leadership-expand {
  margin-top: 1.1rem !important;
}

.leadership-expanded p + p {
  margin-top: 0.9rem !important;
}

.leadership-signoff {
  margin-top: 1rem !important;
  letter-spacing: 0.12em !important;
}

.hero p,
.hero-copy p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form,
.service-card,
.leadership-copy-panel,
.leadership-portrait-shell {
  box-shadow: 0 22px 52px rgba(26,26,46,0.07) !important;
}

.submit-btn,
.btn-primary,
.nav-cta {
  letter-spacing: 0.01em;
}

#medical-support-consultation .section-lead {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

#medical-support-consultation .leadership-row {
  align-items: flex-start !important;
}

#medical-support-consultation .leadership-visual,
#medical-support-consultation .leadership-copy-panel,
#medical-support-consultation .leadership-portrait-shell {
  align-self: flex-start !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#medical-support-consultation .leadership-portrait {
  object-position: center top !important;
}

@media (max-width: 991px) {
  section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .leadership-feature-title {
    font-size: clamp(2.1rem, 8vw, 3.4rem) !important;
    line-height: 1.0 !important;
  }

  .leadership-copy-panel {
    padding: 1.5rem !important;
    border-radius: 24px !important;
  }

  .leadership-row {
    gap: 1.25rem !important;
    margin-bottom: 1.5rem !important;
  }
}

@media (max-width: 768px) {
  section {
    padding-top: var(--section-space-mobile);
    padding-bottom: var(--section-space-mobile);
  }

  p,
  li {
    font-size: 0.98rem;
    line-height: 1.78;
  }

  .leadership-featurehead {
    margin-bottom: 1.35rem !important;
  }

  .leadership-feature-title {
    font-size: clamp(2rem, 11vw, 3rem) !important;
    margin-bottom: 0.6rem !important;
  }

  .leadership-name {
    font-size: clamp(1.75rem, 8vw, 2.4rem) !important;
  }

  .leadership-role,
  .section-tag span,
  .leadership-kicker,
  .role {
    font-size: 0.78rem !important;
    letter-spacing: 0.11em !important;
  }

  .leadership-copy-panel {
    padding: 1.35rem !important;
  }

  .leadership-summary p + p,
  .leadership-expanded p + p {
    margin-top: 0.8rem !important;
  }
}



/* Final polish everything */
:root {
  --luxury-shadow-soft: 0 18px 42px rgba(26,26,46,0.06);
  --luxury-shadow-card: 0 24px 56px rgba(26,26,46,0.08);
  --luxury-border: rgba(221,216,204,0.94);
  --luxury-text: #5A5A72;
  --luxury-ink: #1A1A2E;
  --luxury-gold: #C8A97E;
}
body {
  color: var(--luxury-ink);
  background: #F9F8F5;
}
nav {
  border-bottom: 1px solid rgba(221,216,204,0.72);
  box-shadow: 0 8px 24px rgba(26,26,46,0.03);
}
.section-tag span,
.leadership-kicker,
.leadership-role,
.role {
  color: var(--luxury-gold) !important;
}
.leadership-feature-title,
.leadership-name,
h1, h2, h3 {
  color: var(--luxury-ink);
  text-wrap: balance;
}
.section-lead,
.leadership-summary,
.leadership-summary p,
.description,
p, li {
  color: var(--luxury-text);
}
.leadership-copy-panel,
.contact-form,
.service-card,
.leadership-portrait-shell {
  border: 1px solid var(--luxury-border);
  box-shadow: var(--luxury-shadow-card) !important;
}
.leadership-copy-panel:hover,
.service-card:hover,
.contact-form:hover {
  box-shadow: 0 28px 64px rgba(26,26,46,0.10) !important;
}
.leadership-portrait-shell img,
.leadership-portrait {
  filter: saturate(1.01) contrast(1.01);
}
.btn-primary,
.nav-cta,
.submit-btn,
#backToTop {
  transition: transform 0.24s ease, box-shadow 0.24s ease, opacity 0.24s ease;
}
.btn-primary:hover,
.nav-cta:hover,
.submit-btn:hover,
#backToTop:hover {
  transform: translateY(-2px);
}
#medical-support-consultation .section-lead {
  text-align: left !important;
  margin-left: 0 !important;
  max-width: 780px !important;
}
#medical-support-consultation .leadership-row {
  align-items: flex-start !important;
}
#medical-support-consultation .leadership-visual,
#medical-support-consultation .leadership-copy-panel,
#medical-support-consultation .leadership-portrait-shell {
  align-self: flex-start !important;
}
#medical-support-consultation .leadership-portrait {
  object-position: center top !important;
}
#medical-support-consultation .leadership-role {
  letter-spacing: 0.11em !important;
}
@media (max-width: 768px) {
  #medical-support-consultation .leadership-feature-title {
    max-width: 10ch;
  }
  #medical-support-consultation .section-lead {
    max-width: 100% !important;
  }
}



/* Medical & Clinical Support mobile optimization */
#medical-support-consultation .leadership-feature-title {
  max-width: 12ch;
}
@media (max-width: 768px) {
  #medical-support-consultation .leadership-feature-title {
    max-width: 10ch !important;
    line-height: 1.02 !important;
  }
  #medical-support-consultation .section-lead {
    max-width: 100% !important;
  }
}



/* Call Us button contrast fix */
nav > .btn-primary,
.mobile-header-actions .btn-primary,
.hero-actions .btn-primary {
  background: linear-gradient(135deg, #B22E2E 0%, #8F1F1F 100%) !important;
  color: #FFFFFF !important;
  opacity: 1 !important;
  box-shadow: 0 12px 28px rgba(139, 26, 26, 0.22) !important;
  border: 1px solid rgba(139, 26, 26, 0.18) !important;
}

nav > .btn-primary span,
nav > .btn-primary a,
.mobile-header-actions .btn-primary span,
.mobile-header-actions .btn-primary a,
.hero-actions .btn-primary span,
.hero-actions .btn-primary a {
  color: #FFFFFF !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

nav > .btn-primary:hover,
.mobile-header-actions .btn-primary:hover,
.hero-actions .btn-primary:hover {
  background: linear-gradient(135deg, #A62727 0%, #7F1717 100%) !important;
  box-shadow: 0 16px 34px rgba(139, 26, 26, 0.28) !important;
}

@media (max-width: 768px) {
  nav > .btn-primary,
  .mobile-header-actions .btn-primary,
  .hero-actions .btn-primary {
    min-height: 48px !important;
    height: 48px !important;
    font-size: 0.98rem !important;
  }
}

/* Leadership section cleanup */
#about .leadership-featurehead,
#about .leadership-editorial,
#about .leadership-row,
#about .leadership-row--reverse,
#about .leadership-row--stagger,
#about .leadership-visual,
#about .leadership-portrait-shell,
#about .leadership-copy-panel,
#about .leadership-summary,
#about .leadership-expanded,
#about .leadership-expand,
#about .leadership-signoff,
#about .leadership-kicker,
#about .leadership-name,
#about .leadership-role,
#about .leadership-dek {
  all: unset;
  box-sizing: border-box;
}
#about {
  background: var(--cream);
}
#about .leadership-shell {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
#about .leadership-featurehead {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 1rem;
}
#about .leadership-featurehead-copy {
  max-width: 900px;
}
#about .leadership-featurehead .section-tag {
  justify-content: flex-start;
  margin-bottom: 1rem;
}
#about .leadership-feature-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  margin: 0;
}
#about .leadership-feature-title em { color: var(--rose); font-style: italic; }

#about .leadership-editorial {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
#about .leadership-row {
  display: grid;
  grid-template-columns: 320px minmax(0,1fr);
  gap: 2.5rem;
  align-items: start;
}
#about .leadership-row--reverse {
  grid-template-columns: minmax(0,1fr) 320px;
}
#about .leadership-row--reverse .leadership-visual { order: 2; }
#about .leadership-row--reverse .leadership-copy-panel { order: 1; }

#about .leadership-visual {
  display: block;
}
#about .leadership-portrait-shell {
  display: block;
  width: 320px;
  overflow: hidden;
  border-radius: 20px;
  line-height: 0;
}
#about .leadership-portrait-shell img,
#about .leadership-portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
}
#about #medical-director-profile .leadership-portrait,
#about #medical-director-profile .leadership-portrait-shell img {
  object-position: center 18%;
}
#about #clinical-director-profile .leadership-portrait,
#about #clinical-director-profile .leadership-portrait-shell img {
  object-position: center 10%;
}
#about .leadership-copy-panel {
  display: block;
  padding: 2.25rem 2.5rem;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(221,216,204,0.95);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(26,26,46,0.08);
}
#about .leadership-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem 0;
}
#about .leadership-kicker::before {
  content: '◆';
  font-size: 0.5rem;
  color: var(--rose);
}
#about .leadership-name {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
  color: var(--charcoal);
  margin: 0 0 0.35rem 0;
}
#about .leadership-role {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--rose);
  margin: 0 0 1rem 0;
}
#about .leadership-dek {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.12;
  color: var(--charcoal);
  margin: 0 0 1.15rem 0;
  max-width: 22ch;
}
#about .leadership-dek em { color: var(--rose); font-style: italic; }
#about .brand-motif {
  justify-content: flex-start;
  margin: 0.15rem 0 1.1rem 0;
}
#about .leadership-summary,
#about .leadership-expanded {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}
#about .leadership-summary p,
#about .leadership-expanded p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.82;
  color: var(--muted);
  font-weight: 300;
}
#about .leadership-expand {
  display: block;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(26,26,46,0.08);
}
#about .leadership-expand summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
}
#about .leadership-expand summary::-webkit-details-marker { display:none; }
#about .leadership-expand summary::after {
  content: '+';
  color: var(--rose);
  font-size: 1rem;
  line-height: 1;
}
#about .leadership-expand[open] summary::after { content: '–'; }
#about .leadership-signoff {
  display: block;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(26,26,46,0.08);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 600;
}
@media (max-width: 980px) {
  #about .leadership-row,
  #about .leadership-row--reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  #about .leadership-row--reverse .leadership-visual,
  #about .leadership-row--reverse .leadership-copy-panel {
    order: initial;
  }
  #about .leadership-portrait-shell {
    width: min(100%, 380px);
  }
  #about .leadership-copy-panel {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 1024px) {
  .founder-img-container { height: 350px !important; }
  .hero-logo { height: 80px !important; } /* Scales down logo slightly for mobile screens */
}

  /* Final authoritative logo sizing fix */
  .nav-logo-img {
    height: 72px !important;
    width: auto !important;
    display: block !important;
  }

  .hero-logo {
    width: 92% !important;
    max-width: 576px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto 1rem !important;
    filter: drop-shadow(0 16px 34px rgba(0,0,0,0.12)) !important;
    animation: heroLogoLift 1.15s ease both !important;
    transform-origin: center !important;
  }

  @media (max-width: 1024px) {
    .hero-logo {
      width: 90% !important;
      max-width: 496px !important;
    }
  }

  @media (max-width: 768px) {
    .nav-logo-img {
      height: 68px !important;
    }
    .hero-logo {
      width: 94% !important;
      max-width: 448px !important;
    }
  }

  @media (max-width: 480px) {
    .nav-logo-img {
      height: 62px !important;
    }
    .hero-logo {
      width: 96% !important;
      max-width: 432px !important;
      margin-bottom: 0.8rem !important;
    }
  }

  img { max-width: 100%; }

.credentials {
  font-size: 0.72em;
  letter-spacing: 0.06em;
  color: #7a7a7a;
  margin-left: 6px;
  white-space: nowrap;
}

#mission .section-tag span::before { content: none !important; }

#services .section-tag span::before,
#philosophy .section-tag span::before,
#admissions .section-tag span::before {
  content: none !important;
}

#about .section-tag span::before,
#leadership .section-tag span::before,
#story .section-tag span::before,
#milestones .section-tag span::before,
#contact .section-tag span::before {
  content: none !important;
}

.hero h1 {
  font-size: 2.2rem !important;
}
@media (min-width: 768px) {
  .hero h1 {
    font-size: 2.8rem !important;
  }
}

@media (max-width: 768px) {
  .footer-nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    text-align: center;
  }
  .footer-nav a {
    font-size: 14px;
    display: block;
  }
}

/* Mobile optimization fix */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  nav {
    padding: 0 1rem !important;
    height: auto !important;
    min-height: 72px !important;
  }

  .nav-links {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
    margin-left: auto !important;
  }

  .mobile-menu {
    top: 72px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  section,
  .hero,
  .contact-inner,
  .story-grid,
  .founder-grid,
  .leadership-grid,
  .mission-grid,
  .philosophy-inner,
  .admissions-bottom,
  .services-grid,
  .eligibility-steps {
    width: 100% !important;
    max-width: 100% !important;
  }

  section {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .hero {
    min-height: auto !important;
    padding: 7rem 1rem 3rem !important;
  }

  .hero-logo,
  img,
  iframe {
    max-width: 100% !important;
    height: auto !important;
  }

  .contact-inner,
  .story-grid,
  .founder-grid,
  .leadership-grid,
  .mission-grid,
  .philosophy-inner,
  .admissions-bottom,
  .services-grid,
  .eligibility-steps,
  .form-row {
    grid-template-columns: 1fr !important;
    display: grid !important;
    gap: 1.5rem !important;
  }

  .contact-form,
  .founder-bio,
  .leadership-bio,
  .leadership-content,
  .admissions-area,
  .admissions-referral,
  .service-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .btn-primary,
  .btn-secondary,
  .submit-btn,
  .nav-cta {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
  }

  input,
  select,
  textarea,
  button {
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 6.5rem !important;
  }

  .hero-h1 {
    font-size: clamp(2.3rem, 10vw, 3.2rem) !important;
    line-height: 1.02 !important;
  }

  .hero-sub {
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
  }

  .nav-logo img {
    height: 64px !important;
  }

  .contact-form,
  .founder-bio,
  .leadership-content,
  .admissions-area,
  .admissions-referral {
    padding: 1.25rem !important;
  }
}

@media (max-width: 768px) {
  .hero-left {
    padding: 1.15rem !important;
    border-radius: 1.5rem !important;
    background: rgba(249,248,245,0.44) !important;
  }
  .services-photo-wrap,
  .admissions-photo-wrap {
    margin-bottom: 2rem !important;
  }
}

.call-btn, .contact-btn, .nav-cta, .btn-primary {
  font-size: 1rem !important;
  height: 48px !important;
  padding: 0 1.5rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hero-actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}

.nav-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08) !important;
  transition: all 0.25s ease !important;
}

.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12) !important;
}

.nav-cta a {
  color: inherit !important;
  text-decoration: none !important;
  margin-left: 6px !important;
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .nav-cta {
    width: 100% !important;
    max-width: 320px !important;
  }
}

.hero-trust-strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(221,216,204,0.9);
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  font-size: 0.85rem;
  font-weight: 500;
  color: #5A5A72;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
}
.hero-trust-strip .dot {
  width: 4px;
  height: 4px;
  background: #c8a97e;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.95;
}
.hero-trust-strip .highlight {
  color: #8B1A1A;
  font-weight: 600;
  position: relative;
}
.hero-trust-strip .highlight::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,26,26,0.65), transparent);
}
@media (max-width: 640px) {
  .hero-trust-strip {
    width: min(100%, 340px);
    font-size: 0.8rem;
    line-height: 1.45;
    gap: 0.45rem;
    padding: 0.8rem 0.95rem;
  }
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

img, iframe, video {
  max-width: 100%;
  height: auto;
}

.hero-logo,
.nav-logo img,
.founder-img,
.leadership-img,
.leadership-portrait,
img {
  image-rendering: auto;
}

section,
.hero,
.contact-inner,
.story-grid,
.founder-grid,
.leadership-grid,
.mission-grid,
.philosophy-inner,
.admissions-bottom,
.services-grid,
.eligibility-steps {
  contain: layout style;
}

@media (max-width: 768px) {
  section {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  nav {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .hero {
    min-height: auto !important;
    padding: 7rem 1rem 3.5rem !important;
  }

  .mission-grid,
  .services-grid,
  .founder-grid,
  .leadership-grid,
  .story-grid,
  .contact-inner,
  .philosophy-inner,
  .admissions-bottom,
  .eligibility-steps,
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .founder-card,
  .leadership-card,
  .contact-form,
  .admissions-area,
  .admissions-referral,
  .service-card,
  .founder-bio,
  .leadership-bio,
  .leadership-content {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-logo {
    max-width: 320px !important;
  }

  .nav-logo img {
    height: 64px !important;
  }
}

/* Defer offscreen rendering where supported */
#mission,
#services,
#philosophy,
#admissions,
#about,
#story,
#contact,
footer {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

@media (max-width: 768px) {
  *, *::before, *::after {
    scroll-behavior: auto;
  }

  .fade-in-up, .fade-in-left, .fade-in-right, .fade-in,
  .hero-logo, .hero-tag, .hero-h1, .hero-sub, .hero-actions {
    animation-duration: 0.45s !important;
    transition-duration: 0.35s !important;
    filter: none !important;
  }

  .leadership-portrait-shell,
  .leadership-copy-panel,
  .service-card,
  .values-list li {
    box-shadow: none !important;
  }
}

.hidden-honeypot { display:none !important; }
.form-success-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}
img, iframe, video {
  max-width: 100%;
  height: auto;
}
#mission, #services, #philosophy, #admissions, #about, #story, #contact, footer {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

@media (max-width: 768px) {
  nav {
    height: auto !important;
    min-height: 72px !important;
    padding: 0.85rem 1rem !important;
    row-gap: 0.75rem !important;
    align-items: center !important;
  }
  .nav-logo img {
    height: 60px !important;
    width: auto !important;
    display: block !important;
  }
  .hamburger {
    display: flex !important;
    margin-left: auto !important;
    align-self: center !important;
  }
  .nav-links { display: none !important; }

  section {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .mission-grid,
  .services-grid,
  .founder-grid,
  .leadership-grid,
  .story-grid,
  .contact-inner,
  .philosophy-inner,
  .admissions-bottom,
  .eligibility-steps,
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .founder-card,
  .leadership-card,
  .contact-form,
  .admissions-area,
  .admissions-referral,
  .service-card,
  .founder-bio,
  .leadership-bio,
  .leadership-content {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .nav-cta,
  .btn-primary {
    min-height: 46px !important;
    height: 46px !important;
    padding: 0 1rem !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .hero {
    min-height: auto !important;
    padding: 7.25rem 1rem 3.5rem !important;
  }

  .hero-logo {
    max-width: 320px !important;
  }

  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
    margin-top: 0.5rem !important;
  }
  .hero-actions > * {
    width: min(100%, 320px) !important;
    max-width: 320px !important;
  }
  .hero-actions .nav-cta,
  .hero-actions .btn-primary {
    width: 100% !important;
  }
  .hero-actions .btn-primary a,
  .hero-actions .nav-cta a {
    color: inherit !important;
    text-decoration: none !important;
  }

  .hero-trust-strip {
    width: min(100%, 340px) !important;
    margin-top: 0.8rem !important;
  }

  /* Lighter mobile rendering */
  .fade-in-up, .fade-in-left, .fade-in-right, .fade-in,
  .hero-logo, .hero-tag, .hero-h1, .hero-sub, .hero-actions {
    animation-duration: 0.45s !important;
    transition-duration: 0.35s !important;
    filter: none !important;
  }
  .leadership-portrait-shell,
  .leadership-copy-panel,
  .service-card,
  .values-list li {
    box-shadow: none !important;
  }
}

@media (max-width: 480px) {
  .nav-logo img { height: 54px !important; }
  .nav-cta, .btn-primary {
    font-size: 0.85rem !important;
    padding: 0 0.9rem !important;
  }
  .hero { padding-top: 7rem !important; }
}

@media (max-width: 768px) {
  nav {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "logo menu"
      "actions actions" !important;
    align-items: center !important;
    row-gap: 0.75rem !important;
    column-gap: 0.75rem !important;
    padding: 0.85rem 1rem 0.95rem !important;
    height: auto !important;
    min-height: 72px !important;
  }

  .nav-logo {
    grid-area: logo !important;
    justify-self: start !important;
    align-self: center !important;
  }

  .nav-logo img {
    height: 54px !important;
    width: auto !important;
    display: block !important;
  }

  .hamburger {
    grid-area: menu !important;
    display: flex !important;
    justify-self: end !important;
    align-self: center !important;
    margin: 0 !important;
    padding: 6px !important;
  }

  .nav-links {
    display: none !important;
  }

  .mobile-header-actions,
  .hero-actions {
    grid-area: actions !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.65rem !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .mobile-header-actions > *,
  .hero-actions > * {
    width: min(100%, 320px) !important;
    max-width: 320px !important;
  }

  .mobile-header-actions .nav-cta,
  .mobile-header-actions .btn-primary,
  .hero-actions .nav-cta,
  .hero-actions .btn-primary {
    width: 100% !important;
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 1rem !important;
    font-size: 0.92rem !important;
    line-height: 1 !important;
    justify-content: center !important;
  }

  .hero {
    padding-top: 8.4rem !important;
  }

  .hero-logo {
    max-width: 300px !important;
    margin-top: 0.25rem !important;
  }

  .hero-trust-strip {
    width: min(100%, 320px) !important;
    margin-top: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  .nav-logo img {
    height: 48px !important;
  }

  .mobile-header-actions > *,
  .hero-actions > * {
    width: min(100%, 300px) !important;
    max-width: 300px !important;
  }

  .mobile-header-actions .nav-cta,
  .mobile-header-actions .btn-primary,
  .hero-actions .nav-cta,
  .hero-actions .btn-primary {
    font-size: 0.88rem !important;
    min-height: 42px !important;
    height: 42px !important;
  }

  .hero {
    padding-top: 8rem !important;
  }
}

@media (max-width: 768px) {
  .hero > .hero-actions {
    display: none !important;
  }
}

#medical-support-consultation .section-lead { text-align:left !important; margin-left:0 !important;}
#medical-support-consultation .leadership-row {align-items:flex-start !important;}
#medical-support-consultation .leadership-visual,
#medical-support-consultation .leadership-copy-panel {align-self:flex-start !important;}
#medical-support-consultation .leadership-portrait {object-fit:cover; object-position:center top; min-height:520px;}

/* Premium Typography Polish */
h2 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

@media (max-width: 768px) {
  h2 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
}

.section-label, span {
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.7;
}

.spanish-header{display:inline-flex;align-items:center;justify-content:center;padding:.55rem 1rem;border-radius:999px;background:rgba(232,184,75,.16);border:1px solid rgba(232,184,75,.42);color:#8B1A1A;font-weight:700;font-size:.82rem;letter-spacing:.04em;white-space:nowrap;}
.spanish-mobile{display:block;margin-top:.75rem;color:#8B1A1A;font-weight:700;text-align:center;}
.spanish-hero{display:inline-flex;align-items:center;justify-content:center;padding:.4rem .95rem;border-radius:999px;background:rgba(255,255,255,.82);border:1px solid rgba(139,26,26,.22);color:#8B1A1A;font-weight:700;letter-spacing:.03em;}
.spanish-contact{display:inline-flex;margin:0 auto 1.5rem;padding:.5rem 1.1rem;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(232,184,75,.38);color:#E8B84B!important;font-weight:700;letter-spacing:.04em;}
.person-centered-photo{max-width:680px;margin:2.4rem auto 0;}
.person-centered-photo img{object-position:center center;}
.hero-trust-strip{justify-content:center;}
.hero-actions .btn-primary{min-width:230px;justify-content:center;}
.hero-actions .btn-secondary{min-width:168px;text-align:center;justify-content:center;}
.contact-form .submit-btn{box-shadow:0 14px 34px rgba(139,26,26,.24);}
@media (max-width: 900px){nav{gap:.75rem;}.spanish-header{order:3;width:100%;max-width:220px;margin:0 auto;font-size:.78rem;padding:.45rem .85rem;}}
@media (max-width: 768px){.hero{min-height:100svh;padding:5.35rem 1rem 3rem!important;background-image:linear-gradient(rgba(249,248,245,.28), rgba(249,248,245,.22)), url('/assets/images/hero-prepped-faded.jpg')!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center 5.5rem!important;background-color:#f9f8f5!important;}.hero::before{background:linear-gradient(180deg,rgba(249,248,245,.22) 0%,rgba(249,248,245,.10) 45%,rgba(249,248,245,.34) 100%)!important;}.hero-left{padding:1.15rem .95rem 1.2rem!important;border-radius:1.35rem!important;background:rgba(249,248,245,.74)!important;backdrop-filter:blur(8px);}.hero-logo{max-width:280px!important;margin-bottom:.45rem!important;}.hero-tag{font-size:.64rem!important;padding:.55rem .8rem!important;margin-bottom:.65rem!important;letter-spacing:.09em!important;}.hero-h1{font-size:clamp(2.35rem,10.5vw,3.35rem)!important;line-height:1.02!important;margin:.15rem 0 .8rem!important;}.hero-sub{font-size:.96rem!important;line-height:1.55!important;margin-bottom:1.2rem!important;}.hero-actions{gap:.7rem!important;}.hero-actions a{width:100%;max-width:320px;justify-content:center;}.hero-trust-strip{gap:.45rem!important;font-size:.68rem!important;margin-top:1rem!important;}.hero-trust-strip .dot{display:none!important;}.spanish-hero{width:100%;max-width:220px;margin:.15rem auto 0;font-size:.76rem;padding:.4rem .85rem;}.mission-grid{gap:2rem!important;}.person-centered-photo{max-width:100%;margin-top:1.6rem;}.section-photo-block{border-radius:1.2rem;}#contact .section-h2{margin-bottom:.75rem;}}
@media (max-width: 480px){.hero{padding-top:4.95rem!important;background-position:center 4.8rem!important;}.hero-logo{max-width:240px!important;}.hero-h1{font-size:2.45rem!important;}.hero-sub{font-size:.92rem!important;}.btn-primary,.btn-secondary{padding:.9rem 1.25rem!important;}}

  @media (max-width: 768px) {
    .hero {
      background-image:
        linear-gradient(180deg, rgba(249,248,245,0.70) 0%, rgba(249,248,245,0.78) 42%, rgba(249,248,245,0.96) 100%),
        url('/assets/images/hero-prepped-faded.jpg') !important;
      background-size: 100% auto !important;
      background-position: center 178px !important;
      background-repeat: no-repeat !important;
      background-color: #f9f8f5 !important;
      padding-top: 6.75rem !important;
    }
    .hero::before {
      background: linear-gradient(180deg, rgba(249,248,245,0.18) 0%, rgba(249,248,245,0.50) 44%, rgba(249,248,245,0.98) 100%) !important;
    }
    .hero-left {
      background: rgba(249,248,245,0.80) !important;
      border-color: rgba(255,255,255,0.72) !important;
      backdrop-filter: blur(8px) !important;
      box-shadow: 0 22px 56px rgba(26,26,46,0.11) !important;
      max-width: calc(100vw - 2rem) !important;
    }
  }
  @media (max-width: 480px) {
    .hero {
      background-position: center 160px !important;
      padding-top: 6.25rem !important;
    }
    .hero-left {
      padding: 1.05rem 0.85rem 1.15rem !important;
      border-radius: 1.35rem !important;
    }
    .hero-trust-strip { margin-top: 1.4rem !important; }
  }
  .inclusion-excellence-photo {
    margin: 2rem auto 0 !important;
    max-width: 680px !important;
  }
  .inclusion-excellence-photo img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center !important;
  }
  #contact .spanish-contact {
    display: block !important;
    width: fit-content !important;
    margin: 1.2rem auto 0 !important;
    text-align: center !important;
    padding: 0.78rem 1.35rem !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(232,184,75,0.32) !important;
    color: #F4E6D4 !important;
    letter-spacing: 0.06em !important;
  }
  .hero-actions .btn-primary, .nav-cta { box-shadow: 0 16px 36px rgba(139,26,26,0.24) !important; }
  .btn-primary:focus-visible, .btn-secondary:focus-visible, .nav-cta:focus-visible {
    outline: 3px solid rgba(232,184,75,0.70) !important;
    outline-offset: 3px !important;
  }
  @media (max-width: 640px) {
    .hero-actions .btn-primary, .hero-actions .btn-secondary { min-height: 54px !important; }
  }

/* Authoritative mobile hero fix: uses a dedicated portrait background so the image actually shows behind the logo/card. */
@media (max-width: 768px) {
  .hero {
    min-height: 100svh !important;
    padding: 5.75rem 1rem 3.25rem !important;
    background-image: url('/assets/images/hero-mobile-faded.jpg') !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-color: #f9f8f5 !important;
  }
  .hero::before {
    background: linear-gradient(180deg, rgba(249,248,245,0.06) 0%, rgba(249,248,245,0.18) 38%, rgba(249,248,245,0.72) 100%) !important;
  }
  .hero-left {
    max-width: min(94vw, 430px) !important;
    margin: 0 auto !important;
    background: rgba(249,248,245,0.58) !important;
    border: 1px solid rgba(255,255,255,0.58) !important;
    border-radius: 1.55rem !important;
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;
    box-shadow: 0 22px 54px rgba(26,26,46,0.10) !important;
  }
  .hero-logo {
    max-width: 265px !important;
    width: 86% !important;
    margin-bottom: 0.5rem !important;
  }
}
@media (max-width: 480px) {
  .hero {
    padding-top: 5.4rem !important;
    background-position: center top !important;
  }
  .hero-left {
    max-width: calc(100vw - 1.5rem) !important;
    padding: 0.95rem 0.8rem 1.15rem !important;
    background: rgba(249,248,245,0.55) !important;
  }
  .hero-logo {
    max-width: 235px !important;
  }
}

/* Final mobile hero fix: use a true portrait crop that fills the screen, not side slivers. */
@media (max-width: 768px) {
  .hero {
    min-height: 100svh !important;
    padding: 5.25rem 0.85rem 3rem !important;
    background-image: url('/assets/images/hero-mobile-cover-faded.jpg') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #f9f8f5 !important;
  }
  .hero::before {
    background: linear-gradient(180deg,
      rgba(249,248,245,0.10) 0%,
      rgba(249,248,245,0.16) 34%,
      rgba(249,248,245,0.46) 72%,
      rgba(249,248,245,0.70) 100%) !important;
  }
  .hero-left {
    max-width: calc(100vw - 1.35rem) !important;
    margin: 0 auto !important;
    padding: 1.05rem 0.9rem 1.2rem !important;
    background: rgba(249,248,245,0.40) !important;
    border: 1px solid rgba(255,255,255,0.52) !important;
    border-radius: 1.45rem !important;
    backdrop-filter: blur(1px) !important;
    -webkit-backdrop-filter: blur(1px) !important;
    box-shadow: 0 22px 52px rgba(26,26,46,0.10) !important;
  }
  .hero-logo {
    width: 84% !important;
    max-width: 250px !important;
    height: auto !important;
    margin-bottom: 0.45rem !important;
  }
  .hero-tag {
    background: rgba(249,248,245,0.70) !important;
    border-color: rgba(139,26,26,0.42) !important;
  }
  .hero-trust-strip {
    background: rgba(249,248,245,0.46) !important;
    border-color: rgba(232,184,75,0.18) !important;
    backdrop-filter: blur(1px) !important;
    -webkit-backdrop-filter: blur(1px) !important;
  }
}
@media (max-width: 480px) {
  .hero {
    padding: 5rem 0.75rem 2.75rem !important;
    background-position: center center !important;
  }
  .hero-left {
    max-width: calc(100vw - 1rem) !important;
    padding: 0.95rem 0.75rem 1.1rem !important;
    background: rgba(249,248,245,0.38) !important;
  }
  .hero-logo { max-width: 235px !important; }
  .hero-h1 { font-size: clamp(2.45rem, 11vw, 3.15rem) !important; }
}

/* Verified mobile hero logo fix: moves the logo fully inside the hero card and scales it down on phones. */
@media (max-width: 768px) {
  .hero {
    padding-top: 6.75rem !important;
    overflow: hidden !important;
  }
  .hero-left {
    overflow: visible !important;
    padding-top: 2.25rem !important;
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
  }
  .hero-left > div:first-child {
    width: 100% !important;
    margin: 0 auto 0.4rem !important;
    text-align: center !important;
    overflow: visible !important;
  }
  .hero-logo {
    display: block !important;
    width: 64% !important;
    max-width: 188px !important;
    min-width: 145px !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 auto 0.7rem !important;
    transform: none !important;
    animation: none !important;
  }
}
@media (max-width: 480px) {
  .hero {
    padding-top: 6.85rem !important;
  }
  .hero-left {
    padding-top: 2.35rem !important;
  }
  .hero-logo {
    width: 58% !important;
    max-width: 170px !important;
  }
  .hero-tag {
    margin-top: 0.1rem !important;
  }
}

/* FINAL CLEAN HERO FIX — single source of truth */

/* Hero structure */
.hero {
  background: #F9F8F5 !important;
  padding-top: 72px !important;
}

.hero-split {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr) !important;
  align-items: stretch !important;
  gap: clamp(1rem, 2vw, 1.5rem) !important;
  max-width: 1480px !important;
  margin: 0 auto !important;
  padding: clamp(1rem, 1.4vw, 1.35rem) !important;
  min-height: calc(100svh - 72px) !important;
}

/* Left content panel */
.hero-split-left {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(221,216,204,0.95) !important;
  border-radius: 2rem !important;
  box-shadow: 0 22px 70px rgba(26,26,46,0.11) !important;
  padding: clamp(3rem, 5.5vw, 6rem) clamp(2rem, 4vw, 4.5rem) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

/* Logo card — white card, no clipping */
.hero-logo-card {
  background: #ffffff !important;
  background-image: none !important;
  border-radius: 1.5rem !important;
  padding: 1.5rem 2rem !important;
  margin: 0 auto 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  max-width: 92% !important;
  overflow: visible !important;
  box-shadow: 0 18px 50px rgba(0,0,0,0.08) !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
}

.hero-logo-card .hero-logo,
.hero-logo {
  display: block !important;
  max-width: 420px !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent !important;
  margin: 0 auto !important;
  padding: 0 !important;
  transform: none !important;
}

/* Typography */
.hero-tag {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(248,238,238,0.72) !important;
  border: 1px solid rgba(139,26,26,0.55) !important;
  color: #8B1A1A !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: 999px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  margin: 0 auto 1.15rem !important;
  text-align: center !important;
}

.hero-h1 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(4rem, 6.35vw, 6.6rem) !important;
  line-height: 0.9 !important;
  letter-spacing: -0.035em !important;
  color: #1A1A2E !important;
  max-width: 10.5ch !important;
  margin: 0 auto 1.35rem !important;
  text-align: center !important;
}

.hero-h1 em {
  color: #8B1A1A !important;
  font-style: italic !important;
}

.hero-sub {
  max-width: 54ch !important;
  margin: 0 auto 1rem !important;
  color: #5A5A72 !important;
  line-height: 1.75 !important;
  text-align: center !important;
}

.hero-trust-line {
  max-width: 48ch !important;
  margin: 0 auto 1.45rem !important;
  color: #424258 !important;
  font-weight: 800 !important;
  line-height: 1.6 !important;
  text-align: center !important;
}

.hero-referral-note {
  max-width: 44ch !important;
  margin: 0.25rem auto 1rem !important;
  color: #6A6A83 !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  text-align: center !important;
}

/* Buttons */
.hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.85rem !important;
  width: 100% !important;
  margin: 0 auto 1rem !important;
}

.hero-actions a,
.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  min-width: 205px !important;
  min-height: 58px !important;
  padding: 1rem 1.55rem !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}

.hero-actions .btn-primary {
  background: linear-gradient(135deg, #8B1A1A 0%, #B52525 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(139,26,26,0.18) !important;
  box-shadow: 0 18px 36px rgba(139,26,26,0.26) !important;
}

.hero-actions .btn-secondary {
  background: #F9F8F5 !important;
  color: #1A1A2E !important;
  border: 1px solid rgba(221,216,204,1) !important;
  box-shadow: 0 12px 28px rgba(26,26,46,0.08) !important;
}

.hero-actions a:hover {
  transform: translateY(-1px) !important;
}

/* Centered trust strip */
.hero-trust-strip {
  width: fit-content !important;
  max-width: min(100%, 760px) !important;
  margin: 1rem auto 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.55rem !important;
  text-align: center !important;
  background: #F9F8F5 !important;
  border: 1px solid rgba(221,216,204,0.95) !important;
  border-radius: 999px !important;
  padding: 0.85rem 1.2rem !important;
  color: #5A5A72 !important;
  box-shadow: 0 12px 28px rgba(26,26,46,0.06) !important;
}

.hero-trust-strip .highlight,
.hero-trust-strip .spanish-hero {
  color: #8B1A1A !important;
  font-weight: 800 !important;
}

.hero-trust-strip .spanish-hero {
  background: #ffffff !important;
  border: 1px solid rgba(200,146,42,0.35) !important;
  border-radius: 999px !important;
  padding: 0.38rem 0.78rem !important;
}

/* Right image card — entire image visible */
.hero-split-right {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 2rem !important;
  background: #ffffff !important;
  border: 1px solid rgba(221,216,204,0.95) !important;
  box-shadow: 0 22px 70px rgba(26,26,46,0.11) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100% !important;
}

.hero-split-img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #ffffff !important;
  filter: none !important;
}

/* Trust bar spacing */
.quick-trust-bar {
  margin-top: 0 !important;
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    padding-top: 0 !important;
  }

  .hero-split {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    padding: 0.85rem !important;
    gap: 0.9rem !important;
  }

  .hero-split-left {
    grid-row: 1 !important;
    padding: 1.35rem 0.95rem 1.55rem !important;
    border-radius: 1.35rem !important;
  }

  .hero-logo-card {
    padding: 1rem 1.25rem !important;
    margin-bottom: 1rem !important;
    max-width: 94% !important;
    border-radius: 1.15rem !important;
  }

  .hero-logo-card .hero-logo,
  .hero-logo {
    max-width: 260px !important;
  }

  .hero-h1 {
    font-size: clamp(2.75rem, 12.6vw, 4rem) !important;
    line-height: 0.94 !important;
    max-width: 9.5ch !important;
  }

  .hero-tag {
    font-size: 0.64rem !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    max-width: 100% !important;
  }

  .hero-sub,
  .hero-trust-line,
  .hero-referral-note {
    max-width: 34rem !important;
  }

  .hero-actions {
    flex-direction: column !important;
    gap: 0.65rem !important;
  }

  .hero-actions a {
    width: 100% !important;
    max-width: 360px !important;
    min-height: 56px !important;
  }

  .hero-trust-strip {
    width: 100% !important;
    max-width: 360px !important;
    border-radius: 1.2rem !important;
    flex-direction: column !important;
    gap: 0.45rem !important;
    padding: 0.9rem !important;
    line-height: 1.35 !important;
  }

  .hero-trust-strip .dot {
    display: none !important;
  }

  .hero-split-right {
    grid-row: 2 !important;
    min-height: auto !important;
    aspect-ratio: auto !important;
    border-radius: 1.35rem !important;
  }

  .hero-split-img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

@media (max-width: 480px) {
  .hero-logo-card .hero-logo,
  .hero-logo {
    max-width: 240px !important;
  }

  .hero-h1 {
    font-size: clamp(2.55rem, 12vw, 3.4rem) !important;
  }
}

.quick-trust-bar { display: none !important; }

/* Revert right-side hero image to previous full-cover size */
.hero-split-right {
  min-height: 620px !important;
  background: #eee9df !important;
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
}

.hero-split-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: transparent !important;
}

@media (max-width: 768px) {
  .hero-split-right {
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    display: block !important;
  }

  .hero-split-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}

/* Mobile spacing + fade-in animation + stronger CTA contrast */

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-split-left,
.hero-split-right {
  animation: heroFadeUp 0.75s ease-out both !important;
}

.hero-split-right {
  animation-delay: 0.12s !important;
}

/* CTA contrast boost */
.hero-actions .btn-primary,
.hero-actions a.btn-primary {
  background: linear-gradient(135deg, #7A1010 0%, #B02020 100%) !important;
  color: #ffffff !important;
  border: 2px solid #7A1010 !important;
  box-shadow: 0 18px 38px rgba(122,16,16,0.30) !important;
}

.hero-actions .btn-secondary,
.hero-actions a.btn-secondary {
  background: #ffffff !important;
  color: #7A1010 !important;
  border: 2px solid rgba(122,16,16,0.28) !important;
  box-shadow: 0 12px 28px rgba(26,26,46,0.10) !important;
}

.hero-actions a:hover,
.mobile-floating-cta a:hover {
  transform: translateY(-2px) !important;
}

/* Mobile tightening */
@media (max-width: 768px) {
  .hero-split {
    padding: 0.55rem !important;
    gap: 0.6rem !important;
  }

  .hero-split-left {
    padding: 1rem 0.85rem 1.15rem !important;
    border-radius: 1.15rem !important;
  }

  .hero-logo-card {
    margin-bottom: 0.65rem !important;
    padding: 0.75rem 1rem !important;
    border-radius: 1rem !important;
  }

  .hero-logo-card .hero-logo,
  .hero-logo {
    max-width: 220px !important;
  }

  .hero-tag {
    margin-bottom: 0.6rem !important;
    padding: 0.42rem 0.8rem !important;
    font-size: 0.58rem !important;
    letter-spacing: 0.1em !important;
  }

  .hero-h1 {
    margin-bottom: 0.7rem !important;
    font-size: clamp(2.45rem, 11.4vw, 3.45rem) !important;
    line-height: 0.92 !important;
  }

  .hero-sub {
    margin-bottom: 0.55rem !important;
    line-height: 1.55 !important;
    font-size: 0.92rem !important;
  }

  .hero-trust-line {
    margin-bottom: 0.85rem !important;
    line-height: 1.45 !important;
    font-size: 0.9rem !important;
  }

  .hero-actions {
    margin-bottom: 0.65rem !important;
    gap: 0.5rem !important;
  }

  .hero-actions a {
    min-height: 50px !important;
    max-width: 340px !important;
    font-size: 0.95rem !important;
    padding: 0.82rem 1.05rem !important;
  }

  .hero-referral-note {
    margin-top: -0.1rem !important;
    margin-bottom: 0.75rem !important;
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
  }

  .hero-trust-strip {
    margin-top: 0.5rem !important;
    padding: 0.7rem 0.8rem !important;
    gap: 0.32rem !important;
    font-size: 0.7rem !important;
  }

  .hero-split-right {
    border-radius: 1.15rem !important;
  }
}

@media (max-width: 480px) {
  .hero-logo-card .hero-logo,
  .hero-logo {
    max-width: 205px !important;
  }

  .hero-h1 {
    font-size: clamp(2.35rem, 11vw, 3.05rem) !important;
  }

  .hero-sub {
    font-size: 0.88rem !important;
  }

  .hero-actions a {
    min-height: 48px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-split-left,
  .hero-split-right,
  .hero-actions a,
  .mobile-floating-cta a {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* FINAL MOBILE FIXES */

/* Anchor landing */
#contact {
  scroll-margin-top: 110px !important;
}

/* The logo was being clipped because the fixed mobile header was overlapping the hero.
   On mobile, let the header flow naturally so hero content starts below it. */
@media (max-width: 768px) {
  nav {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .hero {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .hero-split {
    padding-top: 0.6rem !important;
    gap: 0.75rem !important;
  }

  .hero-split-left {
    overflow: visible !important;
    padding-top: 1rem !important;
  }

  .hero-logo-card {
    margin-top: 0 !important;
    overflow: visible !important;
    padding: 0.95rem 1.15rem !important;
    background: #ffffff !important;
  }

  .hero-logo-card .hero-logo,
  .hero-logo {
    display: block !important;
    max-width: 235px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    background: transparent !important;
  }

  /* Right-side hero image is now explicitly visible on mobile. */
  .hero-split-right {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    min-height: 260px !important;
    border-radius: 1.25rem !important;
    overflow: hidden !important;
    position: relative !important;
  }

  .hero-split-img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  /* Tightened mobile spacing. */
  .hero-tag { margin-bottom: 0.55rem !important; }
  .hero-h1 { margin-bottom: 0.6rem !important; }
  .hero-sub { margin-bottom: 0.5rem !important; }
  .hero-trust-line { margin-bottom: 0.75rem !important; }
  .hero-referral-note { margin-bottom: 0.6rem !important; }
}

@media (max-width: 480px) {
  .hero-logo-card .hero-logo,
  .hero-logo {
    max-width: 220px !important;
  }

  .hero-split-right {
    min-height: 235px !important;
  }
}

/* =========================================================
   Thank You Page
   ========================================================= */
.thankyou-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 1.25rem;
  -webkit-font-smoothing: antialiased;
}
.ty-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: 0 24px 60px rgba(26,26,46,0.08);
  max-width: 560px; width: 100%;
  padding: 3.25rem 2.75rem;
  text-align: center;
}
.ty-logo { width: auto; height: 92px; margin: 0 auto 1.5rem; display: block; }
.ty-rule { width: 56px; height: 3px; background: var(--gold); border-radius: 3px; margin: 0 auto 1.75rem; }
.ty-card h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem; font-weight: 600; color: var(--rose);
  letter-spacing: 0.01em; line-height: 1.1; margin-bottom: 1.1rem;
}
.ty-msg { font-size: 1.05rem; font-weight: 300; color: var(--charcoal); line-height: 1.65; margin-bottom: 1.5rem; }
.ty-urgent {
  font-size: 0.95rem; color: var(--muted); line-height: 1.6;
  background: #FBF6EE; border: 1px solid #EBDFC4; border-radius: 0.75rem;
  padding: 0.95rem 1.1rem; margin-bottom: 2rem;
}
.ty-urgent a { color: var(--rose); font-weight: 600; text-decoration: none; white-space: nowrap; }
.ty-urgent a:hover { text-decoration: underline; }
.ty-btn {
  display: inline-block; background: var(--rose); color: #fff;
  border-radius: 2rem; padding: 0.95rem 2.4rem;
  font-size: 1rem; font-weight: 500; font-family: 'DM Sans', sans-serif;
  text-decoration: none; transition: all 0.2s; border: none; cursor: pointer;
}
.ty-btn:hover { background: #6e1515; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(139,26,26,0.28); }
@media (max-width: 540px) {
  .ty-card { padding: 2.5rem 1.5rem; border-radius: 1rem; }
  .ty-logo { height: 76px; }
  .ty-card h1 { font-size: 2.15rem; }
  .ty-msg { font-size: 1rem; }
  .ty-btn { width: 100%; }
}

/* =========================================================
   Form Privacy Notice
   ========================================================= */
.form-privacy-note {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  line-height: 1.55;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
}
.form-privacy-note a { color: rgba(255,255,255,0.9); font-weight: 500; text-decoration: underline; white-space: nowrap; }
.form-privacy-note a:hover { color: #fff; }
