    /* ===== CSS RESET & VARIABLES ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --gold:         #C9A84C;
      --gold-light:   #D4A843;
      --gold-dim:     #8B6E2E;
      --dark:         #F8F9FA;
      --dark-2:       #F0F2F5;
      --dark-3:       #F8F9FA;
      --dark-4:       #E8EAED;
      --dark-5:       #DDE1E7;
      --text:         #0A2342;
      --text-muted:   #2D3748;
      --text-dim:     #4A5568;
      --border:       rgba(10,35,66,0.12);
      --border-hover: rgba(201,168,76,0.55);
      --radius:       4px;
      --font-serif:   'Cormorant Garamond', Georgia, serif;
      --font-sans:    'Inter', system-ui, sans-serif;
      --max-w:        1160px;
      --section-gap: 100px;
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--dark-2);
      color: var(--text);
      font-family: var(--font-sans);
      font-size: 16px;
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }

    /* ===== UTILITY ===== */
    .container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
    .gold { color: var(--gold); }
    .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

    .section-label {
      font-family: var(--font-sans);
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .section-label::before {
      content: '';
      display: block;
      width: 28px;
      height: 1px;
      background: var(--gold);
      flex-shrink: 0;
    }

    .section-title {
      font-family: var(--font-serif);
      font-size: clamp(2rem, 4vw, 2.8rem);
      font-weight: 300;
      line-height: 1.15;
      color: var(--text);
      margin-bottom: 20px;
    }

    .divider {
      width: 48px;
      height: 1px;
      background: linear-gradient(90deg, var(--gold), transparent);
      margin-bottom: 40px;
    }

    /* ===== NAVIGATION ===== */
    #navbar {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      background: rgba(10,35,66,0.97);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(201,168,76,0.22);
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
      max-width: var(--max-w);
      margin: 0 auto;
      padding: 0 24px;
    }

    .nav-brand {
      font-family: var(--font-serif);
      font-size: 1.15rem;
      font-weight: 500;
      color: #FFFFFF;
      text-decoration: none;
      letter-spacing: 0.02em;
    }
    .nav-brand span { color: var(--gold); }

    .nav-links {
      display: flex;
      list-style: none;
      gap: 32px;
      align-items: center;
    }

    .nav-links a {
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.75);
      text-decoration: none;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--gold); }

    .nav-links a.nav-active { color: var(--gold); border-bottom: 2px solid var(--gold); }

    .nav-cta {
      background: transparent !important;
      border: 1px solid var(--gold) !important;
      color: var(--gold) !important;
      padding: 7px 18px !important;
      border-radius: var(--radius) !important;
      transition: background 0.2s, color 0.2s !important;
    }
    .nav-cta:hover {
      background: var(--gold) !important;
      color: #FFFFFF !important;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 4px;
    }
    .hamburger span {
      display: block;
      width: 22px;
      height: 1.5px;
      background: #FFFFFF;
      transition: transform 0.3s, opacity 0.3s;
    }

    /* ===== HERO ===== */
    #hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
      padding-top: 128px;
      background: var(--dark-2);
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 70% 60% at 80% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 10% 90%, rgba(10,35,66,0.04) 0%, transparent 55%);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: start;
      position: relative;
      z-index: 1;
    }

    .hero-eyebrow {
      font-size: clamp(1.1rem, 2.2vw, 1.45rem);
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #0A2342;
      margin-bottom: 20px;
      line-height: 1.3;
    }

    .hero-title {
      font-family: var(--font-serif);
      font-size: clamp(2.8rem, 5.5vw, 4.4rem);
      font-weight: 300;
      line-height: 1.08;
      color: var(--text);
      margin-bottom: 12px;
    }
    .hero-title strong {
      font-weight: 600;
      display: block;
    }

    .hero-subtitle {
      font-family: var(--font-serif);
      font-size: clamp(1.1rem, 2vw, 1.35rem);
      font-weight: bold;
      color: var(--gold-dim);
      letter-spacing: 0.03em;
      margin-bottom: 28px;
      font-style: italic;
    }

    .hero-desc {
      font-size: 15px;
      line-height: 1.8;
      color: var(--text-muted);
      max-width: 480px;
      margin-bottom: 40px;
    }

    .hero-actions {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--gold);
      color: var(--dark);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      text-decoration: none;
      padding: 14px 28px;
      border-radius: var(--radius);
      border: none;
      cursor: pointer;
      transition: background 0.2s, transform 0.15s;
    }
    .btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

    .btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      color: var(--text);
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      text-decoration: none;
      padding: 13px 28px;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      cursor: pointer;
      transition: border-color 0.2s, color 0.2s;
    }
    .btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

    .hero-photo-frame {
      position: relative;
      display: flex;
      align-items: stretch;
      align-self: flex-start;
    }
    .hero-photo-frame::before {
      content: '';
      position: absolute;
      inset: -3px;
      border-radius: 10px;
      background: linear-gradient(135deg, #E5E4E2 0%, rgba(229,228,226,0.4) 50%, #E5E4E2 100%);
      z-index: 0;
    }
    .hero-photo-frame::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 8px;
      box-shadow:
        0 0 40px rgba(201,168,76,0.15),
        0 20px 60px rgba(10,35,66,0.18);
      z-index: 2;
      pointer-events: none;
    }
    .hero-photo {
      width: 100%;
      height: 100%;
      min-height: 480px;
      object-fit: cover;
      object-position: center top;
      border-radius: 8px;
      display: block;
      position: relative;
      z-index: 1;
    }

    .hero-locations {
      margin-top: 28px;
      padding-top: 28px;
      border-top: 1px solid var(--border);
    }
    .hero-locations h4 {
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--text-dim);
      margin-bottom: 14px;
    }

    .location-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: var(--text-muted);
      margin: 4px 6px 4px 0;
    }
    .location-pill::before {
      content: '';
      display: block;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--gold);
      flex-shrink: 0;
    }

    /* ===== STATS BAR ===== */
    #stats {
      background: var(--dark-2);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 48px 0;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: var(--border);
    }

    .stat-item {
      background: var(--dark-2);
      padding: 28px 32px;
      text-align: center;
    }

    .stat-number {
      font-family: var(--font-serif);
      font-size: 2.6rem;
      font-weight: 300;
      color: var(--gold);
      line-height: 1;
      margin-bottom: 8px;
    }

    .stat-label {
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-muted);
    }

    /* ===== ABOUT ===== */
    #about {
      padding: var(--section-gap) 0;
      background: var(--dark-2);
    }

    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 48px;
      align-items: start;
    }

    .about-body {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.9;
    }
    .about-body p + p { margin-top: 20px; }
    .about-body strong { color: var(--text); font-weight: 500; }

    .qualifications-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-top: 32px;
    }

    .qual-item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 14px 18px;
      background: var(--dark-3);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      font-size: 13px;
    }

    .qual-badge {
      font-family: var(--font-serif);
      font-size: 1rem;
      font-weight: 600;
      color: var(--gold);
      min-width: 64px;
      letter-spacing: 0.02em;
    }

    .qual-desc {
      color: var(--text-muted);
      font-size: 12px;
    }

    .profile-links {
      margin-top: 28px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .profile-link {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-muted);
      text-decoration: none;
      padding: 8px 14px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      transition: border-color 0.2s, color 0.2s;
    }
    .profile-link:hover { border-color: var(--gold); color: var(--gold); }
    .profile-link svg { flex-shrink: 0; }

    .text-link {
      color: var(--gold-dim);
      font-weight: 600;
      text-decoration: none;
      border-bottom: 1px solid rgba(201,168,76,0.35);
      transition: color 0.2s, border-color 0.2s;
    }
    .text-link:hover { color: var(--gold); border-color: var(--gold); }

    /* ===== EXPERTISE ===== */
    #expertise {
      padding: var(--section-gap) 0;
      padding-top: 10rem;
      background: var(--dark-2);
    }

    /* ===== CONDITIONS (in expertise section) ===== */
    .conditions-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .condition-tag {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 16px;
      background: var(--dark-3);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      font-size: 12px;
      color: var(--text-muted);
      transition: border-color 0.2s, color 0.2s;
    }
    .condition-tag:hover { border-color: var(--gold); color: var(--text); }
    .condition-tag::before {
      content: '';
      display: block;
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: var(--gold);
      flex-shrink: 0;
    }

    .condition-learn-more {
      display: block;
      margin-top: 6px;
      font-size: 11px;
      font-style: italic;
      color: var(--gold);
      text-decoration: none;
      opacity: 0.85;
      transition: opacity 0.2s;
    }
    .condition-learn-more:hover { opacity: 1; }

    /* ===== DIAGNOSTIC INVESTIGATION BUTTONS ===== */
    .inv-btn {
      display: block;
      width: 100%;
      padding: 9px 14px;
      background: #0A2342;
      color: var(--gold);
      border: 1px solid var(--gold-dim);
      border-radius: 6px;
      font-size: 12px;
      font-weight: 500;
      font-family: var(--font-sans);
      text-align: left;
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s;
    }
    .inv-btn:hover {
      background: #0d2d56;
      border-color: var(--gold);
    }

    /* ===== DIAGNOSTIC INVESTIGATION MODAL ===== */
    .inv-modal-overlay {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(10,35,66,0.82);
      z-index: 10000;
      justify-content: center;
      align-items: center;
    }
    .inv-modal-overlay.active { display: flex; }
    .inv-modal-box {
      background: var(--dark);
      border: 1px solid var(--gold-dim);
      border-radius: 10px;
      padding: 2rem 2rem 1.75rem;
      max-width: 520px;
      width: 92%;
      position: relative;
      max-height: 90vh;
      overflow-y: auto;
    }
    .inv-modal-title {
      font-size: 1.1rem;
      font-weight: 700;
      color: #0A2342;
      margin-bottom: 0;
      padding-right: 2rem;
      line-height: 1.3;
    }
    .inv-modal-img {
      display: block;
      width: 100%;
      max-height: 300px;
      object-fit: contain;
      background-color: white;
      border-radius: 6px;
      margin: 14px 0 4px;
    }
    .inv-modal-links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 18px;
    }
    .inv-modal-body {
      font-size: 13.5px;
      color: var(--text-muted);
      line-height: 1.75;
      margin-top: 10px;
    }
    .inv-modal-link {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      color: var(--gold);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-decoration: none;
      text-transform: uppercase;
      border-bottom: 1px solid transparent;
      transition: color 0.2s, border-color 0.2s;
    }
    .inv-modal-link:hover { color: var(--gold-light); border-bottom-color: var(--gold-light); }
    .inv-modal-close {
      position: absolute;
      top: 0.85rem;
      right: 1rem;
      background: none;
      border: none;
      font-size: 1.4rem;
      color: #0A2342;
      cursor: pointer;
      line-height: 1;
    }
    .inv-modal-close:hover { color: var(--gold); }

    /* ===== PATIENT EDUCATION ===== */
    #patient-education {
      padding: var(--section-gap) 0;
      background: var(--dark-2);
    }

    .edu-intro {
      font-size: 15px;
      color: var(--text-muted);
      max-width: 580px;
      line-height: 1.8;
      margin-top: 4px;
    }

    .edu-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
      margin-top: 48px;
    }

    .edu-card {
      background: var(--dark-3);
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .edu-card:hover {
      border-color: rgba(201,168,76,0.32);
      box-shadow: 0 4px 28px rgba(10,35,66,0.07);
    }

    .ecg-display {
      position: relative;
      height: 90px;
      background: #0A1F3D;
      overflow: hidden;
    }
    .ecg-canvas {
      display: block;
      width: 100%;
      height: 100%;
    }
    .ecg-bpm-badge {
      position: absolute;
      top: 8px;
      right: 10px;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.06em;
      color: rgba(74,222,128,0.9);
      background: rgba(10,31,61,0.75);
      padding: 3px 9px;
      border-radius: 20px;
      border: 1px solid rgba(74,222,128,0.22);
      pointer-events: none;
      font-family: var(--font-sans);
    }

    .edu-card-body {
      padding: 22px 24px 20px;
    }
    .edu-card-title {
      font-family: var(--font-serif);
      font-size: 1.15rem;
      font-weight: 500;
      color: var(--text);
      margin-bottom: 8px;
      line-height: 1.2;
    }
    .edu-card-summary {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.75;
    }

    .edu-expand-btn {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      margin-top: 12px;
      background: none;
      border: none;
      padding: 0;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--gold-dim);
      cursor: pointer;
      transition: color 0.2s;
      font-family: var(--font-sans);
    }
    .edu-expand-btn:hover { color: var(--gold); }
    .edu-expand-btn svg { transition: transform 0.3s ease; flex-shrink: 0; }
    .edu-card.expanded .edu-expand-btn svg { transform: rotate(180deg); }

    .edu-card-detail {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
    }
    .edu-card.expanded .edu-card-detail { max-height: 280px; }

    .edu-card-detail-inner {
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1px solid var(--border);
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.8;
    }

    /* 5th card: centre it in the 2-col grid */
    .edu-card:last-child:nth-child(odd) {
      grid-column: 1 / span 2;
      justify-self: start;
      width: calc(50% - 12px);
    }

    @media (max-width: 768px) {
      .edu-grid { grid-template-columns: 1fr; }
      .edu-card:last-child:nth-child(odd) {
        grid-column: 1;
        width: 100%;
      }
    }

    /* ===== HEART SCHEMATICS ===== */
    .heart-schematic {
      padding: 14px 20px 0;
      background: #F0F2F5;
      border-bottom: 1px solid var(--border);
    }
    .heart-schematic svg {
      display: block;
      width: 100%;
      max-width: 220px;
      height: auto;
      margin: 0 auto;
    }
    .heart-caption {
      text-align: center;
      font-size: 11px;
      color: var(--text-dim);
      line-height: 1.5;
      font-style: italic;
      padding: 6px 0 10px;
      margin: 0;
    }
    .cc-attribution { text-align: center; font-size: 11px; color: var(--text-dim); margin-top: 18px; }

    /* ===== SCHEMATIC MODAL ===== */
    .heart-schematic { cursor: pointer; }
    .heart-schematic::after {
      content: "Click to enlarge";
      display: block;
      text-align: center;
      font-size: 10px;
      font-style: italic;
      color: var(--text-dim);
      padding-bottom: 8px;
      opacity: 0.7;
    }
    .schematic-modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(8,18,40,0.88);
      z-index: 9999;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
    .schematic-modal.active { display: flex; }
    .schematic-modal-box {
      position: relative;
      background: #F0F2F5;
      border-radius: 14px;
      padding: 56px 28px 28px;
      max-width: 90vw;
      max-height: 90vh;
      width: 600px;
      overflow-y: auto;
      box-shadow: 0 24px 64px rgba(0,0,0,0.55);
    }
    .schematic-modal-box svg {
      width: 100%;
      height: auto;
      min-height: 500px;
      display: block;
    }
    .schematic-modal-close {
      position: absolute;
      top: 14px; right: 16px;
      width: 38px; height: 38px;
      background: none;
      border: 2px solid #bbb;
      border-radius: 50%;
      font-size: 22px;
      line-height: 1;
      cursor: pointer;
      color: #444;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.15s, border-color 0.15s, color 0.15s;
    }
    .schematic-modal-close:hover { background: #E63946; border-color: #E63946; color: white; }
    .schematic-modal-caption {
      text-align: center;
      font-size: 14px;
      color: var(--text-dim);
      line-height: 1.6;
      font-style: italic;
      margin-top: 14px;
      margin-bottom: 0;
    }


    /* ===== ARRHYTHMIA EXPLORER ===== */
    .ae-panel {
      display: grid;
      grid-template-columns: 175px 1fr 230px;
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 14px;
      overflow: hidden;
      margin-bottom: 40px;
      box-shadow: 0 4px 24px rgba(10,35,66,0.08);
    }
    .ae-sidebar {
      background: var(--dark-2);
      border-right: 1px solid #e2e8f0;
      padding: 10px 0;
      display: flex;
      flex-direction: column;
      gap: 1px;
    }
    .ae-btn {
      display: block;
      width: 100%;
      text-align: left;
      padding: 9px 14px;
      background: none;
      border: none;
      border-left: 3px solid transparent;
      font-family: var(--font-sans);
      font-size: 12px;
      font-weight: 500;
      color: var(--text-muted);
      cursor: pointer;
      transition: background 0.15s, color 0.15s, border-color 0.15s;
      line-height: 1.35;
    }
    .ae-btn:hover { background: rgba(10,35,66,0.07); color: var(--text); }
    .ae-btn.ae-active {
      background: rgba(10,35,66,0.11);
      color: var(--text);
      border-left-color: var(--gold);
      font-weight: 700;
    }
    .ae-heart-wrap {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background: #f9f6f1;
      border-right: 1px solid #e2e8f0;
      padding: 18px 14px 0;
    }
    #heart-schematic-main {
      width: 100%;
      max-width: 380px;
      height: auto;
      display: block;
      cursor: pointer;
    }
    #heart-schematic-main:focus-visible {
      outline: 2px solid var(--gold);
      outline-offset: 4px;
      border-radius: 4px;
    }
    .ae-overlay {
      opacity: 0;
      transition: opacity 0.35s ease;
      pointer-events: none;
    }
    .ae-overlay.ae-active { opacity: 1; }
    .ae-attribution {
      font-size: 10.5px;
      color: var(--text-dim, #94a3b8);
      text-align: center;
      padding: 6px 8px 10px;
      width: 100%;
    }
    .ae-attribution a { color: var(--gold); }
    .ae-info-wrap {
      display: flex;
      flex-direction: column;
      padding: 22px 18px 18px;
      background: #fff;
      min-height: 380px;
    }
    .ae-info {
      display: none;
      flex-direction: column;
      gap: 9px;
      flex: 1;
    }
    .ae-info.ae-active { display: flex; }
    .ae-cond-label {
      font-size: 10.5px;
      font-weight: 700;
      letter-spacing: 0.09em;
      text-transform: uppercase;
      color: var(--gold);
      margin: 0;
    }
    .ae-cond-name {
      font-size: 15px;
      font-weight: 700;
      color: var(--text);
      margin: 0;
      line-height: 1.3;
    }
    .ae-cond-desc {
      font-size: 12.5px;
      color: var(--text-muted);
      line-height: 1.65;
      margin: 0;
    }
    .ae-ecg-wrap {
      margin-top: auto;
      padding-top: 14px;
      border-top: 1px solid #e8e4de;
    }
    .ae-ecg-wrap canvas {
      width: 100%;
      height: 58px;
      border-radius: 6px;
      background: #0A2342;
      display: block;
    }
    @media (max-width: 768px) {
      .ae-panel { grid-template-columns: 1fr; }
      .ae-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 8px;
        gap: 4px;
      }
      .ae-btn {
        width: auto;
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 6px 11px;
        font-size: 11.5px;
      }
      .ae-btn.ae-active { border-left-color: transparent; border-bottom-color: var(--gold); }
      .ae-heart-wrap { border-right: none; border-bottom: 1px solid #e2e8f0; padding: 14px 14px 0; }
      .ae-info-wrap { min-height: unset; }
    }

    /* ===== AE HEART ENLARGE MODAL ===== */
    .ae-enlarge-hint {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      font-size: 11px;
      color: var(--text-dim, #94a3b8);
      padding: 6px 0 10px;
      user-select: none;
      pointer-events: none;
    }
    .ae-enlarge-hint svg { opacity: 0.65; flex-shrink: 0; }
    #heart-modal {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 500;
      background: rgba(8,22,48,0.82);
      align-items: center;
      justify-content: center;
      padding: 20px;
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
    }
    #heart-modal-box {
      position: relative;
      background: #f9f6f1;
      border-radius: 16px;
      padding: 52px 28px 24px;
      max-width: min(700px, 94vw);
      width: 100%;
      box-shadow: 0 32px 80px rgba(0,0,0,0.55);
      max-height: 94vh;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
    }
    #heart-modal-title {
      font-size: 15px;
      font-weight: 700;
      color: var(--text);
      text-align: center;
      margin: 0;
      letter-spacing: 0.01em;
    }
    #heart-modal-svg {
      width: 100%;
      max-width: 600px;
      height: auto;
      display: block;
    }
    #heart-modal-close {
      position: absolute;
      top: 14px; right: 16px;
      width: 38px; height: 38px;
      background: none;
      border: 2px solid #bbb;
      border-radius: 50%;
      font-size: 22px;
      line-height: 1;
      cursor: pointer;
      color: #555;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.15s, border-color 0.15s, color 0.15s;
    }
    #heart-modal-close:hover { background: var(--text); border-color: var(--text); color: #fff; }

    /* ===== BIO MODAL ===== */
    .bio-modal-btn {
      display: block !important;
      width: fit-content;
      margin-top: 20px;
      margin-bottom: 4px;
      padding: 11px 20px;
      background: #0A2342 !important;
      color: #C9A84C !important;
      border: 1px solid #C9A84C;
      border-radius: var(--radius);
      font-size: 13px;
      font-family: var(--font-sans);
      font-weight: 500;
      letter-spacing: 0.02em;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.2s, color 0.2s;
    }
    .bio-modal-btn:hover { background: #C9A84C !important; color: #0A2342 !important; }

    .bio-modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(8,18,40,0.88);
      z-index: 9999;
      align-items: flex-start;
      justify-content: center;
      padding: 40px 20px;
      overflow-y: auto;
    }
    .bio-modal-overlay.active { display: flex; }

    .bio-modal-box {
      position: relative;
      background: #FDFAF5;
      border-radius: 14px;
      padding: 52px 40px 40px;
      max-width: 720px;
      width: 100%;
      box-shadow: 0 24px 64px rgba(0,0,0,0.5);
      margin: auto;
    }

    .bio-modal-close {
      position: absolute;
      top: 14px; right: 16px;
      width: 38px; height: 38px;
      background: none;
      border: 2px solid #ccc;
      border-radius: 50%;
      font-size: 22px;
      line-height: 1;
      cursor: pointer;
      color: #444;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.15s, border-color 0.15s, color 0.15s;
    }
    .bio-modal-close:hover { background: #0A2342; border-color: #0A2342; color: #fff; }

    .bio-modal-title {
      font-family: var(--font-serif);
      font-size: clamp(1.15rem, 3vw, 1.45rem);
      font-weight: 500;
      color: #0A2342;
      margin-bottom: 6px;
      line-height: 1.3;
    }
    .bio-modal-subtitle {
      font-size: 12px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 28px;
    }
    .bio-modal-divider {
      height: 1px;
      background: #ddd;
      margin-bottom: 24px;
    }
    .bio-modal-body p {
      font-size: 14px;
      color: #333;
      line-height: 1.85;
      margin-bottom: 16px;
    }
    .bio-modal-body p:last-child { margin-bottom: 0; }

    @media (max-width: 600px) {
      .bio-modal-box { padding: 52px 20px 28px; }
    }

    /* ===== LOCATIONS ===== */
    #locations {
      padding: var(--section-gap) 0;
      background: var(--dark-2);
    }

    .locations-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      margin-top: 56px;
    }

    .location-card {
      background: var(--dark-3);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 40px;
      position: relative;
      overflow: hidden;
      transition: border-color 0.3s;
    }
    .location-card:hover { border-color: var(--gold-dim); }

    .location-card::after {
      content: '';
      position: absolute;
      top: 0; right: 0;
      width: 120px;
      height: 120px;
      background: radial-gradient(circle at top right, rgba(201,168,76,0.07), transparent 70%);
    }

    .location-flag {
      font-size: 2rem;
      margin-bottom: 20px;
      display: block;
    }

    .location-country {
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 6px;
    }

    .location-name {
      font-family: var(--font-serif);
      font-size: 1.55rem;
      font-weight: 500;
      color: var(--text);
      margin-bottom: 20px;
      line-height: 1.2;
    }

    .location-desc {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 24px;
    }

    .location-orgs {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .location-org {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 12px;
      color: var(--text-muted);
    }
    .location-org::before {
      content: '';
      display: block;
      width: 16px;
      height: 1px;
      background: var(--gold);
      flex-shrink: 0;
    }

    .location-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--gold);
      text-decoration: none;
      margin-top: 24px;
      transition: color 0.2s;
    }
    .location-link:hover { color: var(--gold-light); }

    /* ===== RESEARCH ===== */
    #research {
      padding: var(--section-gap) 0;
    }

    .research-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }

    .research-body {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.9;
    }
    .research-body p + p { margin-top: 20px; }
    .research-body strong { color: var(--text); }

    .research-highlights {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .research-item {
      padding: 20px 24px;
      background: var(--dark-3);
      border: 1px solid var(--border);
      border-left: 2px solid var(--gold);
      border-radius: 0 var(--radius) var(--radius) 0;
    }

    .research-item h4 {
      font-size: 13px;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 4px;
    }

    .research-item p {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* ===== CONTACT ===== */
    #contact {
      padding: var(--section-gap) 0;
      background: var(--dark-2);
    }

    .contact-layout {
      display: grid;
      grid-template-columns: 1fr 1.4fr;
      gap: 80px;
    }

    .contact-info-block {
      display: flex;
      flex-direction: column;
      gap: 28px;
    }

    .contact-item {
      padding: 20px 24px;
      background: var(--dark-3);
      border: 1px solid var(--border);
      border-radius: var(--radius);
    }

    .contact-item-label {
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--text-dim);
      margin-bottom: 8px;
    }

    .contact-item-value {
      font-size: 14px;
      color: var(--text);
    }
    .contact-item-value a {
      color: var(--text);
      text-decoration: none;
      transition: color 0.2s;
    }
    .contact-item-value a:hover { color: var(--gold); }

    /* ===== FORM ===== */
    .enquiry-form {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .form-group label {
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-dim);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
      background: var(--dark-3);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      color: var(--text);
      font-family: var(--font-sans);
      font-size: 14px;
      padding: 12px 16px;
      outline: none;
      transition: border-color 0.2s;
      width: 100%;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      border-color: var(--gold);
    }

    .form-group select {
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A5568' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 14px center;
      padding-right: 36px;
      cursor: pointer;
    }

    .form-group select option { background: var(--dark-3); }

    .form-group textarea { resize: vertical; min-height: 130px; }

    .form-disclaimer {
      font-size: 11px;
      color: var(--text-dim);
      line-height: 1.6;
    }

    .form-submit {
      align-self: flex-start;
    }

    /* ===== FOOTER ===== */
    footer {
      background: #0A2342;
      border-top: 1px solid rgba(201,168,76,0.22);
      padding: 48px 0 32px;
    }

    .footer-inner {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 60px;
      margin-bottom: 40px;
    }

    .footer-brand {
      font-family: var(--font-serif);
      font-size: 1.3rem;
      font-weight: 500;
      color: #FFFFFF;
      margin-bottom: 12px;
    }
    .footer-brand span { color: var(--gold); }

    .footer-tagline {
      font-size: 13px;
      color: rgba(255,255,255,0.65);
      max-width: 280px;
      line-height: 1.7;
    }

    .footer-col h4 {
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.40);
      margin-bottom: 16px;
    }

    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

    .footer-col a {
      font-size: 13px;
      color: rgba(255,255,255,0.65);
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-col a:hover { color: var(--gold); }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 24px;
      border-top: 1px solid rgba(255,255,255,0.10);
      font-size: 12px;
      color: rgba(255,255,255,0.40);
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 768px) {
      :root { --section-gap: 48px; }

      /* --- Navigation: hamburger menu --- */
      .nav-links { display: none; }
      .hamburger { display: flex; }

      .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px; left: 0; right: 0;
        background: #0A2342;
        border-bottom: 1px solid rgba(201,168,76,0.22);
        padding: 20px 24px;
        gap: 18px;
        z-index: 99;
      }

      .nav-links.open a { font-size: 13px; }

      /* --- Container & global spacing --- */
      .container { padding: 0 16px; }

      section[style*="padding-top: 7rem"] { padding-top: 5rem !important; }

      /* --- Typography scaling --- */
      .section-title { font-size: clamp(1.5rem, 6vw, 2rem); margin-bottom: 12px; }
      .hero-eyebrow { font-size: 0.9rem; letter-spacing: 0.05em; }
      .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
      .hero-subtitle { font-size: 1rem; }
      .hero-desc { font-size: 14px; margin-bottom: 28px; max-width: 100%; }

      /* --- Hero: stack text then photo --- */
      .hero-grid { grid-template-columns: 1fr; gap: 28px; }
      .hero-photo { min-height: 300px; object-position: center top; }

      /* --- About page --- */
      .about-grid { grid-template-columns: 1fr; }
      .profile-links { gap: 8px; }
      .profile-link { font-size: 10px; padding: 7px 10px; }
      .bio-modal-btn { width: 100% !important; box-sizing: border-box; }

      /* --- Locations grid --- */
      .locations-grid { grid-template-columns: 1fr !important; }
      .location-card { padding: 28px 20px; }

      /* --- Expertise page: inline-styled grids → single column --- */
      .symptoms-outer-grid { grid-template-columns: 1fr !important; }
      .symptoms-inner-grid { grid-template-columns: 1fr !important; }
      .inv-cathlab-grid    { grid-template-columns: 1fr !important; }

      /* --- Conditions grid --- */
      .conditions-grid { grid-template-columns: 1fr; }

      /* --- Stats --- */
      .stats-grid { grid-template-columns: repeat(2, 1fr); }

      /* --- Contact --- */
      .contact-layout { grid-template-columns: 1fr; gap: 40px; }
      .form-row { grid-template-columns: 1fr; }

      /* --- Research --- */
      .research-layout { grid-template-columns: 1fr; gap: 40px; }

      /* --- Footer --- */
      .footer-inner { grid-template-columns: 1fr; gap: 32px; }
      .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

      /* --- Divider spacing --- */
      .divider { margin-bottom: 28px; }
    }

    @media (max-width: 480px) {
      .stats-grid { grid-template-columns: 1fr 1fr; }
      .hero-actions { flex-direction: column; }
      .btn-primary, .btn-secondary { justify-content: center; }
      .hero-photo { min-height: 240px; }
      .location-card { padding: 22px 16px; }
    }
