/* ─── CSS Variables ─────────────────────────────────────────── */
    :root {
      --primary:        #0D3B8E;
      --primary-deep:   #174EA6;
      --accent:         #E53945;
      --bg:             #F6F8FC;
      --card-bg:        #FFFFFF;
      --text-dark:      #1E2B52;
      --text-mid:       #3D4F7C;
      --text-light:     #667085;
      --border:         #E4E9F4;
      --grad-blue:      linear-gradient(135deg, #0D3B8E 0%, #174EA6 100%);
      --grad-card:      linear-gradient(160deg, rgba(13,59,142,0.04) 0%, rgba(13,59,142,0) 100%);
      --shadow-sm:      0 2px 8px rgba(13,59,142,0.07);
      --shadow-md:      0 8px 32px rgba(13,59,142,0.12);
      --shadow-lg:      0 20px 60px rgba(13,59,142,0.16);
      --radius-card:    28px;
      --radius-tab:     18px;
      --radius-btn:     14px;
      --radius-feat:    16px;
      --transition:     0.26s cubic-bezier(0.4,0,0.2,1);
      --font-display:   'Playfair Display', Georgia, serif;
      --font-body:      'Inter', system-ui, sans-serif;
    }

    /* ─── Reset ─────────────────────────────────────────────────── */
    /* *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-body);
      background: var(--bg);
      color: var(--text-dark);
      -webkit-font-smoothing: antialiased;
    }
    /* img { display: block; max-width: 100%; } */
     /* button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
    a { text-decoration: none; color: inherit; } */

    /* ─── Section Wrapper ───────────────────────────────────────── */
    .coe-section {
      padding: 96px 0 112px;
      background: var(--bg);
      position: relative;
      overflow: hidden;
    }
    .coe-section::before {
      content: '';
      position: absolute;
      top: -180px; right: -180px;
      width: 520px; height: 520px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(13,59,142,0.055) 0%, transparent 70%);
      pointer-events: none;
    }
    .coe-section::after {
      content: '';
      position: absolute;
      bottom: -140px; left: -140px;
      width: 400px; height: 400px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(229,57,69,0.04) 0%, transparent 70%);
      pointer-events: none;
    }

    .coe-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
      position: relative;
      z-index: 1;
    }

    /* ─── Section Header ────────────────────────────────────────── */
    .coe-header {
      text-align: center;
      margin-bottom: 56px;
    }

    .coe-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--primary);
      margin-bottom: 18px;
      background: rgba(13,59,142,0.07);
      padding: 7px 18px;
      border-radius: 100px;
    }
    .coe-eyebrow-dot {
      width: 5px; height: 5px;
      border-radius: 50%;
      background: var(--accent);
      flex-shrink: 0;
    }

    /* ECG divider */
    .ecg-divider {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 12px 0 20px;
      gap: 0;
    }
    .ecg-divider svg {
      width: 160px; height: 28px;
      overflow: visible;
    }

    .coe-heading {
      font-family: var(--font-display);
      font-size: clamp(36px, 5vw, 54px);
      font-weight: 800;
      color: var(--text-dark);
      line-height: 1.12;
      letter-spacing: -0.02em;
      margin-bottom: 16px;
    }
    .coe-heading .word-accent {
      color: var(--accent);
      position: relative;
    }

    .coe-subtitle {
      font-size: 16px;
      font-weight: 400;
      color: var(--text-light);
      letter-spacing: 0.02em;
      line-height: 1.6;
    }

    /* ─── Navigation Tabs ───────────────────────────────────────── */
    .coe-tabs-wrapper {
      position: relative;
      margin-bottom: 44px;
    }
    .coe-tabs {
      display: flex;
      gap: 10px;
      overflow-x: auto;
      padding: 6px 4px 8px;
      scrollbar-width: none;
      -ms-overflow-style: none;
      scroll-snap-type: x mandatory;
    }
    .coe-tabs::-webkit-scrollbar { display: none; }

    .coe-tab {
      display: flex;
      align-items: center;
      gap: 9px;
      padding: 13px 22px;
      border-radius: var(--radius-tab);
      background: var(--card-bg);
      border: 1.5px solid var(--border);
      box-shadow: var(--shadow-sm);
      font-size: 13.5px;
      font-weight: 500;
      color: var(--text-mid);
      white-space: nowrap;
      scroll-snap-align: start;
      flex-shrink: 0;
      transition: all var(--transition);
      position: relative;
      overflow: hidden;
    }
    .coe-tab::after {
      content: '';
      position: absolute;
      bottom: 0; left: 50%;
      transform: translateX(-50%) scaleX(0);
      width: 40%; height: 3px;
      background: var(--accent);
      border-radius: 3px 3px 0 0;
      transition: transform var(--transition);
    }
    .coe-tab:hover:not(.active) {
      border-color: rgba(13,59,142,0.25);
      box-shadow: var(--shadow-md);
      transform: translateY(-2px);
      color: var(--primary);
    }
    .coe-tab.active {
      background: var(--grad-blue);
      border-color: transparent;
      color: #fff;
      box-shadow: 0 8px 28px rgba(13,59,142,0.28);
      transform: translateY(-3px);
    }
    .coe-tab.active::after {
      transform: translateX(-50%) scaleX(1);
    }
    .coe-tab .tab-icon {
      font-size: 15px;
      flex-shrink: 0;
      opacity: 0.85;
    }
    .coe-tab.active .tab-icon { opacity: 1; }

    /* fade edge on scroll */
    .coe-tabs-wrapper::after {
      content: '';
      position: absolute;
      top: 0; right: 0;
      width: 48px; height: 100%;
      background: linear-gradient(to right, transparent, var(--bg));
      pointer-events: none;
    }

    /* ─── Main Card ─────────────────────────────────────────────── */
    .coe-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-lg);
      overflow: hidden;
      display: grid;
      grid-template-columns: 48% 52%;
      min-height: 560px;
      border: 1px solid rgba(228,233,244,0.6);
      opacity: 0;
      transform: translateY(18px);
      animation: cardIn 0.36s cubic-bezier(0.4,0,0.2,1) forwards;
      transition: box-shadow var(--transition), transform var(--transition);
    }
    .coe-card:hover {
      box-shadow: 0 28px 80px rgba(13,59,142,0.2);
      transform: translateY(-4px);
    }
    @keyframes cardIn {
      to { opacity: 1; transform: translateY(0); }
    }
    .card-fade {
      animation: cardIn 0.34s cubic-bezier(0.4,0,0.2,1) forwards;
    }
    .card-out {
      animation: cardOut 0.18s cubic-bezier(0.4,0,0.2,1) forwards;
    }
    @keyframes cardOut {
      to { opacity: 0; transform: translateY(10px); }
    }

    /* ─── Image Side ────────────────────────────────────────────── */
    .card-image-wrap {
      position: relative;
      overflow: hidden;
      border-radius: var(--radius-card) 0 0 var(--radius-card);
    }
    .card-image {
      width: 100%; height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
      transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
    }
    .coe-card:hover .card-image {
      transform: scale(1.03);
    }
    .card-image-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(13,59,142,0.35) 0%, rgba(13,59,142,0.08) 60%, rgba(0,0,0,0.06) 100%);
      pointer-events: none;
    }
    .card-image-badge {
      position: absolute;
      bottom: 24px; left: 24px;
      background: rgba(255,255,255,0.15);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255,255,255,0.25);
      border-radius: 12px;
      padding: 10px 16px;
      display: flex;
      align-items: center;
      gap: 10px;
      color: #fff;
    }
    .card-image-badge .badge-icon {
      font-size: 18px;
      opacity: 0.9;
    }
    .badge-text {
      display: flex;
      flex-direction: column;
      gap: 1px;
    }
    .badge-text strong {
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.01em;
    }
    .badge-text span {
      font-size: 10.5px;
      opacity: 0.82;
    }

    /* ─── Content Side ──────────────────────────────────────────── */
    .card-content {
      padding: 52px 52px 48px 48px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 0;
    }

    .content-label {
      font-size: 10.5px;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .content-label::before {
      content: '';
      display: block;
      width: 22px; height: 2px;
      background: var(--accent);
      border-radius: 2px;
    }

    .content-heading {
      font-family: var(--font-display);
      font-size: clamp(26px, 3vw, 38px);
      font-weight: 800;
      color: var(--primary);
      line-height: 1.18;
      letter-spacing: -0.02em;
      margin-bottom: 8px;
    }
    .content-heading .heading-accent {
      color: var(--accent);
    }

    .content-description {
      font-size: 14.5px;
      color: var(--text-light);
      line-height: 1.75;
      margin-bottom: 30px;
      margin-top: 14px;
      max-width: 480px;
    }

    /* ─── Feature Grid ──────────────────────────────────────────── */
    .feature-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-bottom: 36px;
    }

    .feature-card {
      background: var(--bg);
      border: 1.5px solid var(--border);
      border-radius: var(--radius-feat);
      padding: 16px 16px 14px;
      display: flex;
      align-items: flex-start;
      gap: 12px;
      transition: all var(--transition);
      cursor: default;
    }
    .feature-card:hover {
      background: #fff;
      box-shadow: var(--shadow-md);
      border-color: rgba(13,59,142,0.15);
      transform: translateY(-3px);
    }

    .feature-icon-wrap {
      width: 40px; height: 40px;
      border-radius: 50%;
      background: rgba(13,59,142,0.09);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: background var(--transition);
    }
    .feature-card:hover .feature-icon-wrap {
      background: rgba(13,59,142,0.14);
    }
    .feature-icon-wrap i {
      font-size: 15px;
      color: var(--primary);
    }

    .feature-text strong {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-dark);
      margin-bottom: 3px;
      line-height: 1.3;
    }
    .feature-text span {
      font-size: 11.5px;
      color: var(--text-light);
      line-height: 1.5;
    }

    /* ─── CTA Button ────────────────────────────────────────────── */
    .coe-cta {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--grad-blue);
      color: #fff;
      font-size: 14px;
      font-weight: 600;
      padding: 15px 30px;
      border-radius: var(--radius-btn);
      box-shadow: 0 6px 22px rgba(13,59,142,0.28);
      transition: all var(--transition);
      letter-spacing: 0.01em;
      align-self: flex-start;
    }
    .coe-cta:hover {
      box-shadow: 0 12px 36px rgba(13,59,142,0.38);
      transform: translateY(-3px) scale(1.015);
    }
    .coe-cta:active {
      transform: translateY(-1px);
    }
    .coe-cta .arrow-icon {
      font-size: 13px;
      transition: transform var(--transition);
    }
    .coe-cta:hover .arrow-icon {
      transform: translateX(4px);
    }

    /* ─── Responsive ────────────────────────────────────────────── */
    @media (max-width: 900px) {
      .coe-section { padding: 72px 0 88px; }
      .coe-card {
        grid-template-columns: 1fr;
        min-height: unset;
      }
      .card-image-wrap {
        border-radius: var(--radius-card) var(--radius-card) 0 0;
        height: 280px;
      }
      .card-content {
        padding: 36px 32px 36px;
      }
      .feature-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 600px) {
      .coe-section { padding: 56px 0 72px; }
      .coe-header { margin-bottom: 36px; }
      .card-image-wrap { height: 220px; }
      .card-content { padding: 28px 22px 28px; }
      .feature-grid { grid-template-columns: 1fr; }
      .coe-tab { padding: 11px 16px; font-size: 12.5px; }
    }

    /* ─── Focus & Accessibility ─────────────────────────────────── */
    .coe-tab:focus-visible,
    .coe-cta:focus-visible {
      outline: 3px solid var(--accent);
      outline-offset: 3px;
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    }
    
    /* ─── CSS Variables (mirrored from centers-of-excellence.html) ── */
    :root {
      --primary:       #0D3B8E;
      --primary-deep:  #174EA6;
      --accent:        #E53945;
      --bg:            #F6F8FC;
      --card-bg:       #FFFFFF;
      --text-dark:     #1E2B52;
      --text-mid:      #3D4F7C;
      --text-light:    #667085;
      --border:        #E4E9F4;
      --grad-blue:     linear-gradient(135deg, #0D3B8E 0%, #174EA6 100%);
      --shadow-sm:     0 2px 8px rgba(13,59,142,0.07);
      --shadow-md:     0 8px 32px rgba(13,59,142,0.12);
      --shadow-lg:     0 20px 60px rgba(13,59,142,0.16);
      --radius-card:   28px;
      --radius-btn:    14px;
      --radius-feat:   16px;
      --transition:    0.26s cubic-bezier(0.4,0,0.2,1);
      --font-display:  'Playfair Display', Georgia, serif;
      --font-body:     'Inter', system-ui, sans-serif;
    }

    /* ─── Reset ─────────────────────────────────────────────────── */
    /* *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-body);
      background: var(--bg);
      color: var(--text-dark);
      -webkit-font-smoothing: antialiased;
    }
    a { text-decoration: none; color: inherit; }
    button { cursor: pointer; font-family: var(--font-body); border: none; background: none; } */

    /* ─── Section Wrapper ───────────────────────────────────────── */
    .ms-section {
      padding: 96px 0 112px;
      background: var(--bg);
      position: relative;
      overflow: hidden;
    }
    .ms-section::before {
      content: '';
      position: absolute;
      top: -160px; left: -160px;
      width: 480px; height: 480px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(13,59,142,0.055) 0%, transparent 70%);
      pointer-events: none;
    }
    .ms-section::after {
      content: '';
      position: absolute;
      bottom: -120px; right: -120px;
      width: 380px; height: 380px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(229,57,69,0.04) 0%, transparent 70%);
      pointer-events: none;
    }

    /* ─── Container ─────────────────────────────────────────────── */
    .ms-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
      position: relative;
      z-index: 1;
    }

    /* ─── Section Header ────────────────────────────────────────── */
    .ms-header {
      text-align: center;
      margin-bottom: 56px;
    }

    /* Eyebrow pill */
    .ms-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--primary);
      margin-bottom: 18px;
      background: rgba(13,59,142,0.07);
      padding: 7px 18px;
      border-radius: 100px;
    }
    .ms-eyebrow-dot {
      width: 5px; height: 5px;
      border-radius: 50%;
      background: var(--accent);
      flex-shrink: 0;
    }

    /* ECG divider */
    .ms-ecg-divider {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 12px 0 20px;
    }
    .ms-ecg-divider svg {
      width: 160px; height: 28px;
      overflow: visible;
    }

    /* Heading */
    .ms-heading {
      font-family: var(--font-display);
      font-size: clamp(36px, 5vw, 54px);
      font-weight: 800;
      color: var(--text-dark);
      line-height: 1.12;
      letter-spacing: -0.02em;
      margin-bottom: 16px;
    }
    .ms-heading .word-accent { color: var(--accent); }

    /* Subtitle */
    .ms-subtitle {
      font-size: 16px;
      font-weight: 400;
      color: var(--text-light);
      letter-spacing: 0.02em;
      line-height: 1.6;
      max-width: 580px;
      margin: 0 auto;
    }

    /* ─── Grid ──────────────────────────────────────────────────── */
    .ms-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    /* ─── Department Card ───────────────────────────────────────── */
    .ms-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      border: 1px solid rgba(228,233,244,0.8);
      box-shadow: var(--shadow-sm);
      padding: 28px 24px 26px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      cursor: pointer;
      text-decoration: none;
      color: inherit;
      opacity: 0;
      transform: translateY(20px);
      transition:
        box-shadow var(--transition),
        transform var(--transition),
        border-color var(--transition),
        opacity var(--transition);
    }
    .ms-card.ms-visible {
      opacity: 1;
      transform: translateY(0);
    }
    .ms-card.ms-hidden {
      display: none;
    }
    .ms-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-6px);
      border-color: rgba(13,59,142,0.18);
    }

    /* Icon container — base */
    .ms-icon-wrap {
      width: 56px; height: 56px;
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 18px;
      flex-shrink: 0;
      transition: transform var(--transition), box-shadow var(--transition);
    }
    .ms-card:hover .ms-icon-wrap {
      transform: scale(1.1);
      box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    }
    .ms-icon-wrap i {
      font-size: 22px;
      color: #fff;
    }

    /* ── Per-department colour palettes ─────────────────────────
       Each card gets a vibrant gradient that feels medical-premium
       yet distinct. Icons switch to white for contrast.
    ─────────────────────────────────────────────────────────── */
    /* 1  Cardiology          – crimson-rose */
    .ms-card[href="#cardiology"]        .ms-icon-wrap { background: linear-gradient(135deg,#E53945,#FF6B7A); }
    /* 2  Cardiothoracic      – deep rose-plum */
    .ms-card[href="#cardiothoracic"]    .ms-icon-wrap { background: linear-gradient(135deg,#C0392B,#E55A77); }
    /* 3  Dental              – teal-aqua */
    .ms-card[href="#dental"]            .ms-icon-wrap { background: linear-gradient(135deg,#00B4D8,#48CAE4); }
    /* 4  Dermatology         – peach-amber */
    .ms-card[href="#dermatology"]       .ms-icon-wrap { background: linear-gradient(135deg,#F77F00,#FCBF49); }
    /* 5  Endocrinology       – violet-indigo */
    .ms-card[href="#endocrinology"]     .ms-icon-wrap { background: linear-gradient(135deg,#7B2FBE,#A855F7); }
    /* 6  ENT                 – warm amber-gold */
    .ms-card[href="#ent"]               .ms-icon-wrap { background: linear-gradient(135deg,#D4930A,#F4C430); }
    /* 7  Eye Hospital        – cobalt-sky */
    .ms-card[href="#eye-hospital"]      .ms-icon-wrap { background: linear-gradient(135deg,#0D3B8E,#3B82F6); }
    /* 8  Gastroenterology    – forest-lime */
    .ms-card[href="#gastroenterology"]  .ms-icon-wrap { background: linear-gradient(135deg,#1A7A4A,#34C77B); }
    /* 9  General Surgery     – steel-slate */
    .ms-card[href="#general-surgery"]   .ms-icon-wrap { background: linear-gradient(135deg,#374151,#6B7280); }
    /* 10 General Medicine    – ocean-blue */
    .ms-card[href="#general-medicine"]  .ms-icon-wrap { background: linear-gradient(135deg,#0369A1,#38BDF8); }
    /* 11 Gynaecology         – fuchsia-pink */
    .ms-card[href="#gynaecology"]       .ms-icon-wrap { background: linear-gradient(135deg,#BE185D,#F472B6); }
    /* 12 Hematology          – blood-ruby */
    .ms-card[href="#hematology"]        .ms-icon-wrap { background: linear-gradient(135deg,#9B1C1C,#EF4444); }
    /* 13 Nephrology          – deep teal */
    .ms-card[href="#nephrology"]        .ms-icon-wrap { background: linear-gradient(135deg,#0F766E,#2DD4BF); }
    /* 14 Neurology           – electric purple */
    .ms-card[href="#neurology"]         .ms-icon-wrap { background: linear-gradient(135deg,#4C1D95,#8B5CF6); }
    /* 15 Oncology            – mauve-rose */
    .ms-card[href="#oncology"]          .ms-icon-wrap { background: linear-gradient(135deg,#9D174D,#EC4899); }
    /* 16 Orthopaedics        – warm brown-sand */
    .ms-card[href="#orthopaedics"]      .ms-icon-wrap { background: linear-gradient(135deg,#92400E,#F59E0B); }
    /* 17 Paediatrics         – sky-cyan */
    .ms-card[href="#paediatrics"]       .ms-icon-wrap { background: linear-gradient(135deg,#0284C7,#7DD3FC); }
    /* 18 Psychiatry          – sage-green */
    .ms-card[href="#psychiatry"]        .ms-icon-wrap { background: linear-gradient(135deg,#166534,#4ADE80); }
    /* 19 Pulmonology         – sky-periwinkle */
    .ms-card[href="#pulmonology"]       .ms-icon-wrap { background: linear-gradient(135deg,#1D4ED8,#60A5FA); }
    /* 20 Spine Surgery       – graphite-blue */
    .ms-card[href="#spine-surgery"]     .ms-icon-wrap { background: linear-gradient(135deg,#1E3A5F,#4A90D9); }
    /* 21 Urology             – deep ocean */
    .ms-card[href="#urology"]           .ms-icon-wrap { background: linear-gradient(135deg,#065F46,#10B981); }

    /* Department name */
    .ms-dept-name {
      font-size: 15px;
      font-weight: 700;
      color: var(--text-dark);
      line-height: 1.3;
      margin-bottom: 8px;
    }

    /* Description */
    .ms-dept-desc {
      font-size: 13px;
      color: var(--text-light);
      line-height: 1.65;
      flex: 1;
    }

    /* Arrow reveal */
    .ms-card-arrow {
      margin-top: 16px;
      font-size: 12px;
      font-weight: 600;
      color: var(--primary);
      display: inline-flex;
      align-items: center;
      gap: 6px;
      opacity: 0;
      transform: translateX(-4px);
      transition: opacity var(--transition), transform var(--transition);
    }
    .ms-card:hover .ms-card-arrow {
      opacity: 1;
      transform: translateX(0);
    }
    .ms-card-arrow i {
      font-size: 11px;
      transition: transform var(--transition);
    }
    .ms-card:hover .ms-card-arrow i {
      transform: translateX(3px);
    }

    /* ─── Toggle Button ─────────────────────────────────────────── */
    .ms-controls {
      text-align: center;
      margin-top: 44px;
    }
    .ms-toggle-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--grad-blue);
      color: #fff;
      font-family: var(--font-body);
      font-size: 14px;
      font-weight: 600;
      padding: 15px 34px;
      border-radius: var(--radius-btn);
      border: none;
      cursor: pointer;
      box-shadow: 0 6px 22px rgba(13,59,142,0.28);
      letter-spacing: 0.01em;
      transition: all var(--transition);
    }
    .ms-toggle-btn:hover {
      box-shadow: 0 12px 36px rgba(13,59,142,0.38);
      transform: translateY(-3px) scale(1.015);
    }
    .ms-toggle-btn:active { transform: translateY(-1px); }
    .ms-toggle-btn:focus-visible {
      outline: 3px solid var(--accent);
      outline-offset: 3px;
    }
    .ms-toggle-btn .btn-icon {
      font-size: 13px;
      transition: transform var(--transition);
    }
    .ms-toggle-btn.ms-expanded .btn-icon {
      transform: rotate(180deg);
    }

    /* ─── Reveal animation ──────────────────────────────────────── */
    @keyframes ms-card-in {
      from { opacity: 0; transform: translateY(18px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .ms-card.ms-reveal {
      display: flex;
      animation: ms-card-in 0.34s cubic-bezier(0.4,0,0.2,1) both;
    }

    /* ─── Responsive ────────────────────────────────────────────── */
    @media (max-width: 1024px) {
      .ms-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 768px) {
      .ms-section { padding: 72px 0 88px; }
      .ms-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
      .ms-header { margin-bottom: 40px; }
    }
    @media (max-width: 480px) {
      .ms-section { padding: 56px 0 72px; }
      .ms-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
      .ms-card { padding: 22px 18px 20px; }
      .ms-icon-wrap { width: 48px; height: 48px; }
      .ms-icon-wrap i { font-size: 19px; }
      .ms-dept-name { font-size: 13.5px; }
      .ms-dept-desc { font-size: 12px; }
      .ms-controls { margin-top: 32px; }
    }
    @media (max-width: 360px) {
      .ms-grid { grid-template-columns: 1fr; }
    }

    /* ─── Reduced motion ────────────────────────────────────────── */
    @media (prefers-reduced-motion: reduce) {
      .ms-card, .ms-card-arrow, .ms-toggle-btn .btn-icon {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
      }
    }

/* ─── Section wrapper ────────────────────────────────────────── */
  .as-section {
    padding: 96px 0 112px;
    background: var(--bg);
    position: relative;
    overflow: hidden;
  }
  /* Decorative radial glows — same as coe-section */
  .as-section::before {
    content: '';
    position: absolute;
    top: -160px; right: -160px;
    width: 480px; height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,59,142,0.05) 0%, transparent 70%);
    pointer-events: none;
  }
  .as-section::after {
    content: '';
    position: absolute;
    bottom: -120px; left: -120px;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229,57,69,0.035) 0%, transparent 70%);
    pointer-events: none;
  }

  /* ─── Container ──────────────────────────────────────────────── */
  .as-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
  }

  /* ─── Section header — mirrors coe-header exactly ───────────── */
  .as-header {
    text-align: center;
    margin-bottom: 56px;
  }
  .as-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 18px;
    background: rgba(13,59,142,0.07);
    padding: 7px 18px;
    border-radius: 100px;
  }
  .as-eyebrow-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
  }
  .as-ecg-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0 20px;
  }
  .as-ecg-divider svg { width: 160px; height: 28px; overflow: visible; }
  .as-heading {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
  }
  .as-heading .word-accent { color: var(--accent); }
  .as-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.6;
    letter-spacing: 0.02em;
  }

  /* ─── Bento layout: big left + two stacked right ─────────────── */
  .as-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;   /* left card stretches to match combined right height */
  }

  /* ─── Shared card shell ──────────────────────────────────────── */
  .as-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    border: 1px solid rgba(228,233,244,0.6);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;       /* image on top, content below */
    transition: box-shadow var(--transition), transform var(--transition);
    text-decoration: none;
    color: inherit;
  }
  .as-card:hover {
    box-shadow: 0 28px 80px rgba(13,59,142,0.2);
    transform: translateY(-5px);
  }

  /* LEFT card spans both rows and fills their combined height */
  .as-card-main {
    grid-row: 1 / 3;
    height: 100%;           /* fill the full two-row track height */
  }
  /* Let the image in the main card grow to consume leftover space */
  .as-card-main .as-img-wrap {
    flex: 1;                /* grow to fill space not taken by content */
    min-height: 280px;      /* never collapse below a readable height */
  }

  /* ─── Image block — top of every card ───────────────────────── */
  .as-img-wrap {
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
  }
  /* Main card image height handled by flex:1 on .as-card-main .as-img-wrap above */
  /* Side cards: shorter image */
  .as-card-side .as-img-wrap {
    height: 220px;
  }
  .as-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
  }
  .as-card:hover .as-img-wrap img {
    transform: scale(1.04);
  }

  /* ─── Content block — below image ───────────────────────────── */
  .as-content {
    padding: 36px 40px 40px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  /* Compact padding on the smaller side cards */
  .as-card-side .as-content {
    padding: 28px 32px 32px;
  }

  /* Eyebrow label inside card — matches .content-label from COE */
  .as-card-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .as-card-label::before {
    content: '';
    display: block;
    width: 22px; height: 2px;
    background: var(--accent);
    border-radius: 2px;
  }

  /* Card heading — Playfair, matches .content-heading */
  .as-card-heading {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
  }
  /* Smaller heading on side cards */
  .as-card-side .as-card-heading {
    font-size: clamp(18px, 1.9vw, 24px);
    margin-bottom: 10px;
  }

  /* Card description */
  .as-card-desc {
    font-size: 14.5px;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 28px;
    flex: 1;
  }
  .as-card-side .as-card-desc {
    font-size: 13.5px;
    margin-bottom: 22px;
  }

  /* Feature chips — small icon+text highlights under description */
  .as-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
  }
  .as-feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(13,59,142,0.06);
    border: 1px solid rgba(13,59,142,0.1);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-mid);
    transition: background var(--transition), border-color var(--transition);
  }
  .as-feature-chip i {
    font-size: 11px;
    color: var(--primary);
  }
  .as-card:hover .as-feature-chip {
    background: rgba(13,59,142,0.1);
    border-color: rgba(13,59,142,0.18);
  }

  /* CTA — identical to .coe-cta */
  .as-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--grad-blue);
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: var(--radius-btn);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 22px rgba(13,59,142,0.28);
    transition: all var(--transition);
    letter-spacing: 0.01em;
    align-self: flex-start;
    text-decoration: none;
  }
  .as-cta:hover {
    box-shadow: 0 12px 36px rgba(13,59,142,0.38);
    transform: translateY(-3px) scale(1.015);
  }
  .as-cta:active { transform: translateY(-1px); }
  .as-cta:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
  .as-cta .as-arrow {
    font-size: 13px;
    transition: transform var(--transition);
  }
  .as-cta:hover .as-arrow { transform: translateX(4px); }

  /* ─── Responsive ─────────────────────────────────────────────── */
  @media (max-width: 900px) {
    .as-section { padding: 72px 0 88px; }
    .as-grid {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
    }
    .as-card-main { grid-row: auto; }
    .as-card-main .as-img-wrap { height: 280px; }
    .as-content { padding: 30px 32px 32px; }
    .as-card-side .as-content { padding: 24px 28px 28px; }
  }
  @media (max-width: 600px) {
    .as-section { padding: 56px 0 72px; }
    .as-header { margin-bottom: 36px; }
    .as-card-main .as-img-wrap,
    .as-card-side .as-img-wrap { height: 220px; }
    .as-content,
    .as-card-side .as-content { padding: 24px 22px 26px; }
    .as-card-desc,
    .as-card-side .as-card-desc { font-size: 13.5px; }
    .as-features { gap: 8px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .as-card, .as-img-wrap img, .as-cta .as-arrow {
      transition-duration: 0.01ms !important;
    }
  }

/* ─── Section wrapper ────────────────────────────────────────── */
  .ps-section {
    padding: 96px 0 112px;
    background: var(--bg);
    position: relative;
    overflow: hidden;
  }
  .ps-section::before {
    content: '';
    position: absolute;
    top: -160px; left: -160px;
    width: 480px; height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,59,142,0.05) 0%, transparent 70%);
    pointer-events: none;
  }
  .ps-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
  }

  /* ─── Section header ─────────────────────────────────────────── */
  .ps-header {
    text-align: center;
    margin-bottom: 56px;
  }
  .ps-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 18px;
    background: rgba(13,59,142,0.07);
    padding: 7px 18px;
    border-radius: 100px;
  }
  .ps-eyebrow-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
  }
  .ps-ecg-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0 20px;
  }
  .ps-ecg-divider svg { width: 160px; height: 28px; overflow: visible; }
  .ps-heading {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
  }
  .ps-heading .word-accent { color: var(--accent); }
  .ps-subtitle {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
    letter-spacing: 0.02em;
    max-width: 680px;
    margin: 0 auto;
  }

  /* ─── Carousel wrapper ───────────────────────────────────────── */
  .ps-carousel-outer {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
  }

  /* Prev / Next arrow buttons */
  .ps-arrow {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--card-bg);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    font-size: 15px;
    transition: all var(--transition);
    flex-shrink: 0;
  }
  .ps-arrow:hover {
    background: var(--grad-blue);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-md);
    transform: scale(1.08);
  }
  .ps-arrow:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

  /* Slide track */
  .ps-track {
    flex: 1;
    overflow: hidden;
  }
  .ps-slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--card-bg);
    border-radius: var(--radius-card);
    border: 1px solid rgba(228,233,244,0.6);
    box-shadow: var(--shadow-lg);
    padding: 48px;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.32s cubic-bezier(0.4,0,0.2,1),
                transform 0.32s cubic-bezier(0.4,0,0.2,1);
  }
  .ps-slide.ps-active {
    display: grid;
  }
  .ps-slide.ps-visible {
    opacity: 1;
    transform: translateX(0);
  }

  /* Thumbnail */
  .ps-thumb-wrap {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--bg);
    box-shadow: var(--shadow-md);
  }
  .ps-thumb-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }
  /* Play button overlay */
  .ps-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13,59,142,0.18);
    transition: background var(--transition);
    cursor: pointer;
    border: none;
  }
  .ps-play-btn:hover { background: rgba(13,59,142,0.32); }
  .ps-play-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
    transition: transform var(--transition), box-shadow var(--transition);
  }
  .ps-play-btn:hover .ps-play-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 28px rgba(0,0,0,0.22);
  }
  .ps-play-icon i {
    font-size: 18px;
    color: var(--primary);
    margin-left: 3px; /* optical centre for play triangle */
  }

  /* Quote / text side */
  .ps-quote-side {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  /* Large decorative quote mark */
  .ps-quote-mark {
    font-size: 72px;
    line-height: 0.6;
    color: var(--accent);
    font-family: Georgia, serif;
    margin-bottom: 20px;
    opacity: 0.25;
    user-select: none;
  }
  .ps-patient-name {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
  }
  .ps-patient-quote {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
  }
  /* Rating stars */
  .ps-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
  }
  .ps-stars i { font-size: 14px; color: #F4C430; }
  /* Department tag */
  .ps-dept-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(13,59,142,0.07);
    border: 1px solid rgba(13,59,142,0.12);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    align-self: flex-start;
  }
  .ps-dept-tag i { font-size: 11px; }

  /* Dots indicator */
  .ps-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
  }
  .ps-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    border: none;
    transition: all var(--transition);
  }
  .ps-dot.ps-dot-active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
  }

  /* ─── Responsive ─────────────────────────────────────────────── */
  @media (max-width: 900px) {
    .ps-section { padding: 72px 0 88px; }
    .ps-slide { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
    .ps-carousel-outer { gap: 12px; }
    .ps-arrow { width: 40px; height: 40px; font-size: 13px; }
  }
  @media (max-width: 600px) {
    .ps-section { padding: 56px 0 72px; }
    .ps-slide { padding: 24px 20px; }
    .ps-arrow { display: none; }
    .ps-dots { margin-top: 24px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .ps-slide { transition-duration: 0.01ms !important; }
  }

/* ─── Section wrapper ────────────────────────────────────────── */
  .wc-section {
    padding: 96px 0 112px;
    background: linear-gradient(160deg, #EEF3FB 0%, #D8E6F8 100%);
    position: relative;
    overflow: hidden;
  }
  .wc-section::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 440px; height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,59,142,0.08) 0%, transparent 70%);
    pointer-events: none;
  }
  .wc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }

  /* ─── Left: text + stats ─────────────────────────────────────── */
  .wc-left {}

  /* Eyebrow label — matches content-label from COE */
  .wc-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .wc-label::before {
    content: '';
    display: block;
    width: 22px; height: 2px;
    background: var(--accent);
    border-radius: 2px;
  }

  .wc-heading {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.16;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
  }
  .wc-heading .word-accent { color: var(--accent); }

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

  /* 2×2 stats grid — matches the screenshot's bordered tiles */
  .wc-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .wc-stat {
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(13,59,142,0.14);
    border-radius: var(--radius-feat);
    padding: 24px 22px;
    transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  }
  .wc-stat:hover {
    background: rgba(255,255,255,0.85);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
  }
  .wc-stat-value {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 4px;
  }
  .wc-stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-mid);
    line-height: 1.4;
  }

  /* ─── Right: hospital image ──────────────────────────────────── */
  .wc-right {
    position: relative;
  }
  .wc-img-wrap {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
  }
  .wc-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
  }
  .wc-img-wrap:hover img { transform: scale(1.03); }

  /* Floating stat badge — bottom-left of image */
  .wc-badge {
    position: absolute;
    bottom: -20px; left: -20px;
    background: var(--grad-blue);
    color: #fff;
    border-radius: 20px;
    padding: 18px 24px;
    box-shadow: 0 8px 32px rgba(13,59,142,0.3);
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .wc-badge-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
  }
  .wc-badge-text strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: 2px;
  }
  .wc-badge-text span {
    font-size: 11px;
    opacity: 0.82;
    font-weight: 500;
    letter-spacing: 0.04em;
  }

  /* ─── Responsive ─────────────────────────────────────────────── */
  @media (max-width: 900px) {
    .wc-section { padding: 72px 0 88px; }
    .wc-container { grid-template-columns: 1fr; gap: 48px; }
    .wc-badge { bottom: -16px; left: 16px; }
    .wc-right { padding-bottom: 24px; }
  }
  @media (max-width: 600px) {
    .wc-section { padding: 56px 0 72px; }
    .wc-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .wc-desc { font-size: 14px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .wc-stat, .wc-img-wrap img { transition-duration: 0.01ms !important; }
  }

.fc-banner {
    background: var(--grad-blue);
    padding: 56px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  /* Subtle radial glow top-centre */
  .fc-banner::before {
    content: '';
    position: absolute;
    top: -80px; left: 50%; transform: translateX(-50%);
    width: 500px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
    pointer-events: none;
  }
  .fc-inner {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  .fc-headline {
    font-family: var(--font-display);
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 24px;
  }
  /* Divider line */
  .fc-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin-bottom: 28px;
  }
  /* Contact row */
  .fc-contacts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }
  .fc-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition);
  }
  .fc-contact-item:hover { color: #fff; }
  .fc-contact-item i {
    font-size: 16px;
    opacity: 0.75;
  }

  @media (max-width: 600px) {
    .fc-banner { padding: 44px 20px; }
    .fc-contacts { flex-direction: column; gap: 20px; }
  }

/* ─── Section wrapper ────────────────────────────────────────── */
  .vp-section {
    padding: 96px 0 112px;
    background: var(--bg);
    position: relative;
    overflow: hidden;
  }
  .vp-section::before {
    content: '';
    position: absolute;
    top: -140px; right: -140px;
    width: 460px; height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,59,142,0.055) 0%, transparent 70%);
    pointer-events: none;
  }
  .vp-section::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 360px; height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229,57,69,0.04) 0%, transparent 70%);
    pointer-events: none;
  }
  .vp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
  }

  /* ─── Section header ─────────────────────────────────────────── */
  .vp-header {
    text-align: center;
    margin-bottom: 52px;
  }
  .vp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 18px;
    background: rgba(13,59,142,0.07);
    padding: 7px 18px;
    border-radius: 100px;
  }
  .vp-eyebrow-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
  }
  .vp-ecg-divider {
    display: flex; align-items: center; justify-content: center;
    margin: 12px 0 20px;
  }
  .vp-ecg-divider svg { width: 160px; height: 28px; overflow: visible; }
  .vp-heading {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.5vw, 50px);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
  }
  .vp-heading .word-accent { color: var(--accent); }
  .vp-subtitle {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
  }

  /* ─── Two-column layout ──────────────────────────────────────── */
  .vp-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 24px;
    align-items: stretch;  /* equal height both columns */
  }

  /* ─── LEFT: Featured player card ────────────────────────────── */
  .vp-player-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    border: 1px solid rgba(228,233,244,0.6);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;  /* stretch to match playlist panel */
  }

  /* Video thumbnail + click-to-play — no iframe until user clicks */
  .vp-embed-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
  }
  .vp-embed-wrap img.vp-thumb-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity var(--transition);
  }
  .vp-embed-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    border: none;
    display: none;
  }
  /* Large centred play button */
  .vp-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13,30,80,0.28);
    transition: background var(--transition);
  }
  .vp-embed-wrap:hover .vp-play-overlay { background: rgba(13,30,80,0.42); }
  .vp-play-circle {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.93);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 28px rgba(0,0,0,0.28);
    transition: transform var(--transition), box-shadow var(--transition);
  }
  .vp-embed-wrap:hover .vp-play-circle {
    transform: scale(1.1);
    box-shadow: 0 10px 36px rgba(0,0,0,0.36);
  }
  .vp-play-circle i {
    font-size: 24px;
    color: var(--primary);
    margin-left: 4px;
  }

  /* Caption bar below the embed */
  .vp-caption {
    padding: 20px 24px 0;
  }
  .vp-caption p {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.5;
  }

  /* Social/platform bar */
  .vp-platforms {
    margin: 18px 20px 20px;
    background: rgba(13,59,142,0.06);
    border: 1.5px solid rgba(13,59,142,0.12);
    border-radius: var(--radius-btn);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  .vp-platforms span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-mid);
    margin-right: 4px;
  }
  .vp-platform-link {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: all var(--transition);
    flex-shrink: 0;
  }
  .vp-platform-link:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229,57,69,0.35);
  }
  .vp-platform-link.yt  { background: #FF0000; }
  .vp-platform-link.yt:hover  { background: #cc0000; }
  .vp-platform-link.sp  { background: #1DB954; }
  .vp-platform-link.sp:hover  { background: #17a34a; }
  .vp-platform-link.fb  { background: #1877F2; }
  .vp-platform-link.fb:hover  { background: #1464d1; }

  /* ─── RIGHT: Playlist panel ──────────────────────────────────── */
  .vp-playlist {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    border: 1px solid rgba(228,233,244,0.6);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* height controlled by grid stretch */
  }

  /* Scrollable inner list */
  .vp-playlist-inner {
    overflow-y: auto;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
  }
  .vp-playlist-inner::-webkit-scrollbar { width: 4px; }
  .vp-playlist-inner::-webkit-scrollbar-track { background: transparent; }
  .vp-playlist-inner::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

  /* Individual episode row */
  .vp-episode {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: background var(--transition);
  }
  .vp-episode:last-child { border-bottom: none; }
  .vp-episode:hover { background: rgba(13,59,142,0.04); }
  .vp-episode.vp-ep-active { background: rgba(13,59,142,0.07); }

  /* Thumbnail */
  .vp-ep-thumb {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    position: relative;
    flex-shrink: 0;
  }
  .vp-ep-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  /* Small play icon on thumb */
  .vp-ep-thumb::after {
    content: '\25B6';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    background: rgba(13,59,142,0.38);
    opacity: 0;
    transition: opacity var(--transition);
  }
  .vp-episode:hover .vp-ep-thumb::after { opacity: 1; }

  /* Episode meta */
  .vp-ep-meta { display: flex; flex-direction: column; gap: 6px; }
  .vp-ep-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .vp-ep-active .vp-ep-title { color: var(--primary); }
  .vp-ep-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(13,59,142,0.08);
    color: var(--primary);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 100px;
    align-self: flex-start;
    border: 1px solid rgba(13,59,142,0.15);
  }
  .vp-ep-active .vp-ep-tag {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
  }

  /* ─── Responsive ─────────────────────────────────────────────── */
  @media (max-width: 1024px) {
    .vp-layout { grid-template-columns: 1fr 340px; }
  }
  @media (max-width: 860px) {
    .vp-section { padding: 72px 0 88px; }
    .vp-layout { grid-template-columns: 1fr; }
    .vp-playlist { max-height: 380px; }
  }
  @media (max-width: 600px) {
    .vp-section { padding: 56px 0 72px; }
    .vp-episode { grid-template-columns: 80px 1fr; }
    .vp-platforms { gap: 10px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .vp-platform-link { transition-duration: 0.01ms !important; }
  }

/* ─── Section wrapper ────────────────────────────────────────── */
  .hb-section {
    padding: 96px 0 112px;
    background: var(--bg);
    position: relative;
    overflow: hidden;
  }
  .hb-section::before {
    content: '';
    position: absolute;
    top: -140px; left: -140px;
    width: 440px; height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,59,142,0.05) 0%, transparent 70%);
    pointer-events: none;
  }
  .hb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
  }

  /* ─── Section header ─────────────────────────────────────────── */
  .hb-header {
    text-align: center;
    margin-bottom: 52px;
  }
  .hb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 18px;
    background: rgba(13,59,142,0.07);
    padding: 7px 18px;
    border-radius: 100px;
  }
  .hb-eyebrow-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
  }
  .hb-ecg-divider {
    display: flex; align-items: center; justify-content: center;
    margin: 12px 0 20px;
  }
  .hb-ecg-divider svg { width: 160px; height: 28px; overflow: visible; }
  .hb-heading {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
  }
  .hb-heading .word-accent { color: var(--accent); }
  .hb-subtitle {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
  }

  /* ─── Blog layout: 1 tall left + 3×2 grid right ─────────────── */
  .hb-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 44px;
  }

  /* ─── Featured article (left) ────────────────────────────────── */
  .hb-featured {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    border: 1px solid rgba(228,233,244,0.6);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: box-shadow var(--transition), transform var(--transition);
  }
  .hb-featured:hover {
    box-shadow: 0 28px 80px rgba(13,59,142,0.2);
    transform: translateY(-5px);
  }
  .hb-feat-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    flex-shrink: 0;
  }
  .hb-feat-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
  }
  .hb-featured:hover .hb-feat-img img { transform: scale(1.04); }
  .hb-feat-body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
  }
  .hb-feat-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(13,59,142,0.07);
    border: 1px solid rgba(13,59,142,0.12);
    padding: 4px 12px;
    border-radius: 100px;
    align-self: flex-start;
  }
  .hb-feat-title {
    font-family: var(--font-display);
    font-size: clamp(17px, 1.8vw, 21px);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.28;
    letter-spacing: -0.01em;
  }
  .hb-feat-date {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.04em;
  }

  /* ─── Right grid of 6 small articles (3 rows × 2 cols) ──────── */
  .hb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 16px;
  }

  /* Small article card */
  .hb-card {
    background: var(--card-bg);
    border-radius: var(--radius-feat);
    border: 1px solid rgba(228,233,244,0.7);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    gap: 0;
    text-decoration: none;
    color: inherit;
    transition: box-shadow var(--transition), transform var(--transition);
  }
  .hb-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
  }
  .hb-card-img {
    width: 100px;
    height: 100px;   /* 1:1 square */
    flex-shrink: 0;
    overflow: hidden;
    align-self: center;
  }
  .hb-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
  }
  .hb-card:hover .hb-card-img img { transform: scale(1.07); }
  .hb-card-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .hb-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

p.hb-card-title:hover, p.hb-card-date:hover {
  cursor: pointer !important;
  text-decoration: none !important; 
}


  .hb-card:hover .hb-card-title { color: var(--primary); }
  .hb-card-date {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.03em;
  }

  /* ─── Bottom controls: View All + social bar ─────────────────── */
  .hb-controls {
    text-align: center;
  }
  .hb-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--grad-blue);
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 15px 36px;
    border-radius: var(--radius-btn);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 22px rgba(13,59,142,0.28);
    transition: all var(--transition);
    letter-spacing: 0.01em;
    text-decoration: none;
    margin-bottom: 28px;
  }
  .hb-view-btn:hover {
    box-shadow: 0 12px 36px rgba(13,59,142,0.38);
    transform: translateY(-3px) scale(1.015);
  }
  .hb-view-btn:active { transform: translateY(-1px); }

  /* Social follow bar */
  .hb-social-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  .hb-social-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
  }
  .hb-social-link {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--text-dark);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
    transition: all var(--transition);
  }
  .hb-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.22);
  }
  /* Brand colours on hover */
  .hb-social-link.tw:hover  { background: #000; }
  .hb-social-link.li:hover  { background: #0A66C2; }
  .hb-social-link.fb:hover  { background: #1877F2; }
  .hb-social-link.ig:hover  { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
  .hb-social-link.th:hover  { background: #000; }
  .hb-social-link.yt:hover  { background: #FF0000; }
  .hb-social-link.sp:hover  { background: #1DB954; }

  /* ─── Responsive ─────────────────────────────────────────────── */
  @media (max-width: 1024px) {
    .hb-layout { grid-template-columns: 280px 1fr; }
  }
  @media (max-width: 860px) {
    .hb-section { padding: 72px 0 88px; }
    .hb-layout { grid-template-columns: 1fr; }
    .hb-feat-img { aspect-ratio: 16 / 8; }
  }
  @media (max-width: 600px) {
    .hb-section { padding: 56px 0 72px; }
    .hb-grid { grid-template-columns: 1fr; }
    .hb-card { grid-template-columns: 88px 1fr; }
    .hb-card-img { width: 88px; }
    .hb-social-label { width: 100%; text-align: center; }
  }
  @media (prefers-reduced-motion: reduce) {
    .hb-featured, .hb-card, .hb-view-btn, .hb-social-link {
      transition-duration: 0.01ms !important;
    }
  }

