/* ==========================================================================
   PREMIUM DESIGN SYSTEM TOKENS & SPATIAL SYSTEM
   ========================================================================== */
:root {
  /* Core Bold Brand Colours (from RGB Colour Codes.pdf) */
  --sapphire-gold: rgb(187, 154, 77);
  /* #bb9a4d */
  --sapphire-purple-navy: rgb(47, 47, 135);
  /* #2F2F87 */

  /* Harmonized Deep Purple-Navy Scale (replacing cold slate #040A16 / #081326) */
  --navy-950: #12123A;
  --navy-900: #1B1B54;
  --navy-850: #22226B;
  --navy-800: #2F2F87;
  --navy-700: #4A4A9E;

  --gold: #bb9a4d;

  /* New Paler Brand Colours (from RGB Colour Codes.pdf) */
  --pastel-periwinkle: rgb(140, 139, 181);
  /* #8C8BB5 */
  --pastel-mauve: rgb(182, 148, 185);
  /* #B694B9 */
  --pastel-cornflower: rgb(150, 163, 196);
  /* #96A3C4 */
  --pastel-powder-blue: rgb(174, 195, 205);
  /* #AEC3CD */
  --pastel-seafoam: rgb(200, 212, 205);
  /* #C8D4CD */
  --pastel-warm-quartz: rgb(212, 201, 205);
  /* #D4C9CD */
  --pastel-pale-celadon: rgb(216, 220, 202);
  /* #D8DCCA */
  --pastel-soft-lavender: rgb(187, 171, 198);
  /* #BBABC6 */
  --pastel-blush-coral: rgb(224, 148, 147);
  /* #E09493 */

  --canvas: #FFFFFF;
  --surface-alabaster: #FBFBFA;
  --surface-subtle: #F6F7F9;
  --border-light: rgba(47, 47, 135, 0.10);
  --border-gold-subtle: rgba(187, 154, 77, 0.28);

  /* Authoritative Brand Tokens */
  --navy-darkest: #12123A;
  --navy-primary: #2F2F87;
  --hero-overlay: #12123A;
  --gold-accent: var(--gold);
  --surface-white: #ffffff;
  --surface-cream: #F2F4EE;
  --surface-gray: #F3EFF5;
  --border-hairline: rgba(140, 139, 181, 0.25);
  --body-text-gray: #475569;

  /* ==========================================================================
     SECTION THEME CONFIGURATION (Soft Pastel Brand Washes)
     ========================================================================== */
  --bg-journey: #F7F1F7;
  /* Soft Mauve tint (rgb 182, 148, 185) */
  --bg-journey-peach: #FAF3F2;
  /* Alternative Peach tint (rgb 224, 148, 147) */
  --bg-why-sapphire: #F3EFF5;
  /* Soft Lavender / Warm Quartz tint (rgb 187, 171, 198) */
  --bg-about: #FFFFFF;
  /* Pure White */
  --bg-testimonial: #E6EFF2;
  /* Powder Blue / Seafoam tint (rgb 174, 195, 205) */

  --text-headline: #2F2F87;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-white: #FFFFFF;
  --text-gold: var(--gold);

  /* Typography Tokens */
  --font-serif: 'Merriweather', Georgia, serif;
  --font-sans: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: var(--font-serif);
  --font-body: var(--font-sans);

  /* Strict Tag-Locked Scale Tokens */
  --text-h1: 52px;
  --text-h2: 38px;
  --text-h3: 20px;
  --text-h4: 16px;
  --text-lead: 18px;
  --text-body: 15px;
  --text-nav: 17px;
  --text-action: 14px;
  --text-small: 13px;
  --text-micro: 11px;

  /* Spatial Tokens: Enhanced Breathing Room */
  --section-spacing: 130px;
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  /* Shadows */
  --shadow-premium: 0 24px 60px rgba(8, 19, 38, 0.07);
  --shadow-elevated: 0 32px 80px rgba(8, 19, 38, 0.12);
  --shadow-glow: 0 10px 30px rgba(187, 154, 77, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text-body);
  background-color: var(--canvas);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Strict Tag Hierarchy: 1 Size Per Tag Across Whole Document */
h1 {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  line-height: 1.25;
  font-weight: 700;
  color: var(--navy-primary);
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  line-height: 1.35;
  font-weight: 700;
}

h4 {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  line-height: 1.4;
  font-weight: 700;
}

p {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
}

small {
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: 1.5;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 36px;
}

/* ==========================================================================
   TOP B2B AGENT UTILITY BAR (Integrated with Hero Section Gradient)
   ========================================================================== */
.agent-strip {
  background-color: #17132c;
  background-image:
    /* Layer 1: Top-Left Rose & Mauve Glow */
    radial-gradient(ellipse 48% 120px at 0% 0%,
      rgba(196, 163, 197, 0.42) 0%,
      rgba(185, 160, 195, 0.28) 35%,
      rgba(173, 159, 197, 0.14) 60%,
      transparent 80%),
    /* Layer 2: Top-Right Sunlit Gold Glow */
    radial-gradient(ellipse 50% 120px at 100% 0%,
      rgba(219, 197, 115, 0.32) 0%,
      rgba(211, 185, 145, 0.20) 35%,
      rgba(195, 149, 153, 0.10) 60%,
      transparent 75%),
    /* Layer 3: Primary Flow */
    linear-gradient(135deg,
      rgba(55, 38, 85, 0.90) 0%,
      rgba(48, 42, 102, 0.84) 18%,
      rgba(48, 62, 135, 0.68) 40%,
      rgba(73, 95, 155, 0.50) 60%,
      rgba(41, 93, 145, 0.35) 80%,
      rgba(39, 45, 95, 0.20) 100%);
  color: #CBD5E1;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1001;
}

.agent-strip.hero-mode-flipped-less-transparent {
  background-image:
    radial-gradient(ellipse 48% 120px at 0% 0%,
      rgba(196, 163, 197, 0.42) 0%,
      rgba(185, 160, 195, 0.28) 35%,
      rgba(173, 159, 197, 0.14) 60%,
      transparent 80%),
    radial-gradient(ellipse 50% 120px at 100% 0%,
      rgba(219, 197, 115, 0.24) 0%,
      rgba(211, 185, 145, 0.15) 35%,
      rgba(195, 149, 153, 0.08) 60%,
      transparent 75%),
    linear-gradient(135deg,
      rgba(55, 38, 85, 0.90) 0%,
      rgba(48, 42, 102, 0.84) 18%,
      rgba(48, 62, 135, 0.72) 40%,
      rgba(60, 82, 145, 0.62) 60%,
      rgba(38, 78, 132, 0.50) 80%,
      rgba(31, 36, 86, 0.38) 100%);
}

.agent-strip.hero-mode-landscape {
  background-image:
    radial-gradient(ellipse 52% 120px at 0% 0%,
      rgba(196, 163, 197, 0.42) 0%,
      rgba(185, 160, 195, 0.28) 35%,
      rgba(166, 97, 144, 0.16) 60%,
      transparent 80%),
    radial-gradient(ellipse 52% 120px at 0% 100%,
      rgba(218, 196, 127, 0.36) 0%,
      rgba(210, 182, 148, 0.22) 35%,
      rgba(185, 130, 150, 0.10) 60%,
      transparent 80%),
    linear-gradient(90deg,
      rgba(65, 33, 75, 0.90) 0%,
      rgba(83, 36, 98, 0.82) 20%,
      rgba(59, 37, 100, 0.68) 42%,
      rgba(44, 45, 102, 0.45) 65%,
      rgba(34, 42, 98, 0.18) 100%);
}

.agent-strip.hero-mode-navy-2f307e {
  background-image:
    radial-gradient(ellipse 48% 120px at 0% 0%,
      rgba(92, 93, 178, 0.34) 0%,
      rgba(65, 66, 148, 0.20) 40%,
      transparent 78%),
    radial-gradient(ellipse 50% 120px at 100% 0%,
      rgba(72, 74, 156, 0.20) 0%,
      rgba(47, 48, 126, 0.10) 45%,
      transparent 75%),
    linear-gradient(135deg,
      rgba(47, 48, 126, 0.92) 0%,
      rgba(47, 48, 126, 0.85) 22%,
      rgba(56, 58, 142, 0.68) 45%,
      rgba(68, 70, 155, 0.50) 65%,
      rgba(47, 48, 126, 0.35) 84%,
      rgba(38, 39, 108, 0.24) 100%);
}

.agent-strip.hero-mode-lavender-8c8bb5 {
  background-image:
    radial-gradient(ellipse 48% 120px at 0% 0%,
      rgba(168, 167, 206, 0.36) 0%,
      rgba(140, 139, 181, 0.22) 40%,
      transparent 78%),
    radial-gradient(ellipse 50% 120px at 100% 0%,
      rgba(160, 159, 198, 0.22) 0%,
      rgba(140, 139, 181, 0.12) 45%,
      transparent 75%),
    linear-gradient(135deg,
      rgba(98, 97, 142, 0.94) 0%,
      rgba(116, 115, 160, 0.88) 22%,
      rgba(140, 139, 181, 0.74) 45%,
      rgba(140, 139, 181, 0.56) 65%,
      rgba(112, 111, 156, 0.40) 84%,
      rgba(88, 87, 134, 0.28) 100%);
}

.agent-strip-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.agent-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.agent-pill {
  background: rgba(187, 154, 77, 0.16);
  color: var(--gold);
  border: 1px solid var(--border-gold-subtle);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.agent-right {
  display: flex;
  gap: 24px;
}

.agent-right a {
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.agent-right a:hover {
  color: var(--gold);
}

.agent-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.agent-phone-icon {
  color: var(--gold);
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.agent-right a:hover .agent-phone-icon {
  transform: scale(1.15);
}

/* ==========================================================================
   MAIN HEADER WITH RIGHT-SIDE SLIDE-OUT MENU TRIGGER
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* ==========================================================================
   EXPERIMENTAL GRADIENT HEADER MODE (Matches Brand PDF Horizontal Banner)
   Remove 'header-gradient' class from <header> to revert to White Header
   ========================================================================== */
.site-header.header-gradient {
  background: linear-gradient(100deg,
      rgb(106, 105, 152) 0%,
      rgb(116, 131, 170) 30%,
      rgb(138, 163, 177) 58%,
      rgb(178, 194, 202) 82%,
      rgb(236, 241, 244) 100%);
  border-bottom: 1px solid rgba(106, 105, 152, 0.28);
  box-shadow: 0 4px 20px rgba(18, 18, 58, 0.15);
}

.brand-logo-white-header {
  display: none;
}

.site-header.header-gradient .brand-logo-colour-header {
  display: none;
}

.site-header.header-gradient .brand-logo-white-header {
  display: block;
  filter: drop-shadow(0 1px 6px rgba(47, 47, 135, 0.18));
}

.site-header.header-gradient .site-nav-link {
  color: #FFFFFF;
  text-shadow: 0 1px 8px rgba(47, 47, 135, 0.32);
}

.site-header.header-gradient .site-nav-link:hover {
  color: #FFFFFF;
}

.site-header.header-gradient .site-nav-link::after {
  background: #FFFFFF;
  box-shadow: 0 1px 4px rgba(47, 47, 135, 0.25);
}

/* Optional sub-variant: Gradient Header with Sapphire Purple-y Navy nav text */
.site-header.header-gradient.header-gradient-navy-text .site-nav-link {
  color: var(--sapphire-purple-navy);
  text-shadow: none;
}

.site-header.header-gradient.header-gradient-navy-text .site-nav-link:hover {
  color: var(--navy-950);
}

.site-header.header-gradient.header-gradient-navy-text .site-nav-link::after {
  background: var(--sapphire-purple-navy);
  box-shadow: none;
}

/* ==========================================================================
   EXPERIMENTAL SLATE HEADER MODE (Solid #6a6a99 Bar with White Cutout Hamburger)
   ========================================================================== */
.site-header.header-slate-white {
  background: #6a6a99;
  border-bottom: 1px solid rgba(106, 106, 153, 0.25);
  box-shadow: 0 4px 20px rgba(18, 18, 58, 0.12);
}

.site-header.header-slate-white .brand-logo-colour-header {
  display: none;
}

.site-header.header-slate-white .brand-logo-white-header {
  display: block;
  filter: drop-shadow(0 1px 6px rgba(47, 47, 135, 0.18));
}

.site-header.header-slate-white .site-nav-link {
  color: #FFFFFF;
  text-shadow: 0 1px 8px rgba(47, 47, 135, 0.32);
}

.site-header.header-slate-white .site-nav-link:hover {
  color: #FFFFFF;
}

.site-header.header-slate-white .site-nav-link::after {
  background: #FFFFFF;
  box-shadow: 0 1px 4px rgba(47, 47, 135, 0.25);
}

.site-header.header-slate-white .header-controls {
  filter: drop-shadow(0 4px 12px rgba(18, 18, 58, 0.22));
}

.site-header.header-slate-white .nav-hamburger-circle {
  background: #FFFFFF;
  box-shadow: none;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23fff' fill-rule='evenodd' d='M0 0H48V48H0ZM15 16H33A1 1 0 0 1 33 18H15A1 1 0 0 1 15 16ZM15 23H33A1 1 0 0 1 33 25H15A1 1 0 0 1 15 23ZM15 30H33A1 1 0 0 1 33 32H15A1 1 0 0 1 15 30Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23fff' fill-rule='evenodd' d='M0 0H48V48H0ZM15 16H33A1 1 0 0 1 33 18H15A1 1 0 0 1 15 16ZM15 23H33A1 1 0 0 1 33 25H15A1 1 0 0 1 15 23ZM15 30H33A1 1 0 0 1 33 32H15A1 1 0 0 1 15 30Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.site-header.header-slate-white .nav-hamburger-circle:hover {
  background: rgba(255, 255, 255, 0.90);
  transform: scale(1.05);
}

.site-header.header-slate-white .nav-hamburger-circle .hamburger-line {
  background: transparent;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
}

.brand-logo-img:hover {
  opacity: 0.88;
}

.brand-logo-drawer {
  height: 36px;
}

.brand-logo-footer-img {
  height: 42px;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Main Desktop Navigation Bar (Standard non-responsive across header-inner) */
.site-nav {
  display: flex;
  align-items: center;
  margin: 0 32px;
}

.site-nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.site-nav-link {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sapphire-purple-navy);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}

.site-nav-link:hover,
.site-nav-item.has-dropdown:hover .site-nav-link,
.site-nav-item.has-dropdown:focus-within .site-nav-link {
  color: var(--gold);
}

.site-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.site-nav-link:hover::after,
.site-nav-item.has-dropdown:hover .site-nav-link::after,
.site-nav-item.has-dropdown:focus-within .site-nav-link::after {
  width: 100%;
}

.nav-dropdown-chevron {
  opacity: 0.75;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.site-nav-item.has-dropdown:hover .nav-dropdown-chevron,
.site-nav-item.has-dropdown:focus-within .nav-dropdown-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Desktop Header Dropdown Submenu */
.site-nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: -14px;
  min-width: 280px;
  background: #FFFFFF;
  border: 1px solid rgba(47, 47, 135, 0.10);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 20px 44px rgba(18, 18, 58, 0.14), 0 4px 12px rgba(18, 18, 58, 0.06);
  padding: 10px;
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.22s ease;
  z-index: 1010;
}

/* Invisible hover bridge between nav trigger and dropdown menu */
.site-nav-dropdown::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}

.site-nav-item.has-dropdown:hover .site-nav-dropdown,
.site-nav-item.has-dropdown:focus-within .site-nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav-dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sapphire-purple-navy);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s cubic-bezier(0.2, 0, 0, 1), background-color 0.15s ease;
}

.site-nav-dropdown-link .dropdown-item-arrow {
  font-size: 14px;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: transform 0.18s cubic-bezier(0.2, 0, 0, 1), opacity 0.16s ease;
}

.site-nav-dropdown-link:hover,
.site-nav-dropdown-link:focus-visible {
  background: rgba(106, 106, 153, 0.08);
  color: var(--navy-950);
  transform: translateX(3px);
}

.site-nav-dropdown-link:hover .dropdown-item-arrow,
.site-nav-dropdown-link:focus-visible .dropdown-item-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Solid Brand Gold Hamburger Circle (from original site) */
.nav-hamburger-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 4px 14px rgba(187, 154, 77, 0.3);
  transition: transform 0.25s ease, background 0.2s ease;
}

.nav-hamburger-circle:hover {
  background: var(--gold);
  transform: scale(1.05);
}

.nav-hamburger-circle .hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
}

/* ==========================================================================
   RIGHT-SIDE SLIDE-OUT MENU DRAWER & BACKDROP
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 22, 0.78);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.slide-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  background: #6a6a99;
  /* Optional gradient: background: linear-gradient(165deg, #6a6a99 0%, #52527e 100%); */
  color: #FFFFFF;
  z-index: 9999;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s ease;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  contain: layout paint;
  isolation: isolate;
}

.slide-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  box-shadow: -20px 0 60px rgba(18, 18, 58, 0.55);
}

.drawer-header {
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s ease;
}

.drawer-close-btn:hover {
  background: #FFFFFF;
  color: var(--sapphire-purple-navy);
  border-color: #FFFFFF;
  transform: rotate(90deg);
}

.drawer-body {
  padding: 40px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-nav-item a,
.drawer-nav-item .drawer-nav-heading {
  font-family: var(--font-body);
  font-size: var(--text-nav);
  font-weight: 600;
  color: #FFFFFF;
  /* Full White Main Menu Options */
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-nav-item>a {
  transition: transform 0.18s cubic-bezier(0.2, 0, 0, 1);
}

.drawer-nav-item .drawer-nav-heading {
  cursor: default;
}

.drawer-nav-item a span.item-arrow {
  font-family: var(--font-body);
  font-size: 16px;
  color: #FFFFFF;
  opacity: 0.8;
  transform: translateX(-10px);
  transition: transform 0.18s cubic-bezier(0.2, 0, 0, 1), opacity 0.18s ease;
}

.drawer-nav-item>a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.drawer-nav-item>a:hover span.item-arrow {
  opacity: 1;
  color: var(--gold);
  transform: translateX(0);
}

.drawer-sublinks {
  margin-top: 8px;
  padding-left: 16px;
  border-left: 2px solid rgba(255, 255, 255, 0.35);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-body);
  font-size: var(--text-small);
}

.drawer-sublinks a {
  color: #FFFFFF;
  border-bottom: none;
  padding: 4px 0;
  font-size: var(--text-small);
  font-weight: 500;
  transition: transform 0.18s cubic-bezier(0.2, 0, 0, 1), opacity 0.18s ease;
}

.drawer-sublinks a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

/* ==========================================================================
   BUTTONS & ACCENT STYLES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: var(--text-action);
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease;
}

.btn>* {
  position: relative;
  z-index: 2;
}

.btn-text {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Brand Pastel Iridescent Gradient Overlay on Mouse Hover (files/Gradient-50%.png + RGB fallback) */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    url('images/Gradient-50%.png'),
    linear-gradient(135deg,
      rgb(182, 148, 185) 0%,
      rgb(140, 139, 181) 22%,
      rgb(150, 163, 196) 45%,
      rgb(174, 195, 205) 70%,
      rgb(216, 220, 202) 100%);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  pointer-events: none;
}

/* Push-Down Effect & White Text on Hover */
.btn:hover {
  transform: translateY(3px);
  color: #FFFFFF;
}

.btn:hover::after {
  opacity: 1;
}

.btn:hover .btn-text {
  color: #FFFFFF;
}

/* Push-Down Effect on Active Press */
.btn:active {
  transform: translateY(4px);
}

.btn-gold {
  background: var(--gold);
  color: #FFFFFF;
  /* White text on Gold Button */
  box-shadow: 0 4px 14px rgba(187, 154, 77, 0.35);
}

.btn-gold:hover {
  color: #FFFFFF;
  /* Crisp White text on iridescent gradient hover */
  box-shadow: 0 2px 8px rgba(47, 47, 135, 0.35);
}

.btn-gold:active {
  box-shadow: 0 1px 3px rgba(47, 47, 135, 0.45);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(18, 18, 58, 0.25);
}

.btn-glass:hover {
  color: #FFFFFF;
  /* Crisp White text on iridescent gradient hover */
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 2px 8px rgba(18, 18, 58, 0.4);
}

.btn-glass:active {
  box-shadow: 0 1px 3px rgba(18, 18, 58, 0.5);
}

.btn-navy-outline {
  background: transparent;
  color: var(--sapphire-purple-navy);
  border: 1px solid var(--sapphire-purple-navy);
}

.btn-navy-outline:hover {
  color: #FFFFFF;
  /* Crisp White text on iridescent gradient hover */
  border-color: transparent;
  box-shadow: 0 2px 6px rgba(47, 47, 135, 0.35);
}

/* ==========================================================================
   HERO SECTION — ULTRA-SPACIOUS & ELEVATED (Muted Rose Top-Left like sparkle-icon.png)
   ========================================================================== */
.hero-premium {
  background-color: #17132c;
  /* Campus photography: University of Bath overlooking Pulteney Bridge */
  background-image: url('images/hero-bath-cropped-1024.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #FFF;
  min-height: calc(100vh - 130px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vh, 70px) 0 clamp(80px, 10vh, 120px);
  position: relative;
  box-sizing: border-box;
  z-index: 2;
}

.hero-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    /* Layer 1: Top-Left Muted Rose & Mauve Glow (Delicate, lighter pastel bloom matching sparkle-icon.png) */
    radial-gradient(ellipse 48% 42% at 0% 0%,
      rgba(196, 163, 197, 0.42) 0%,
      rgba(185, 160, 195, 0.28) 35%,
      rgba(173, 159, 197, 0.14) 60%,
      transparent 80%),
    /* Layer 2: Top-Right Sunlit Gold Glow (100% 0%) */
    radial-gradient(ellipse 50% 45% at 100% 0%,
      rgba(219, 197, 115, 0.32) 0%,
      rgba(211, 185, 145, 0.20) 35%,
      rgba(195, 149, 153, 0.10) 60%,
      transparent 75%),
    /* Layer 3: Primary Diagonal Flow (Deep Indigo/Plum -> Royal Sapphire -> Periwinkle -> Cerulean -> Navy) */
    linear-gradient(135deg,
      rgba(55, 38, 85, 0.90) 0%,
      rgba(48, 42, 102, 0.84) 18%,
      rgba(48, 62, 135, 0.68) 40%,
      rgba(73, 95, 155, 0.50) 60%,
      rgba(41, 93, 145, 0.35) 80%,
      rgba(39, 45, 95, 0.20) 100%),
    /* Layer 4: Bottom-Edge Deep Navy Anchor (Blends into #1f1b4d Glance Strip) */
    linear-gradient(180deg,
      transparent 40%,
      rgba(31, 27, 77, 0.40) 72%,
      rgba(31, 27, 77, 0.92) 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-position: left top, right top, center top, center bottom;
  background-repeat: no-repeat;
}

/* REVERSIBLE COMPARISON: .has-legibility-shield re-adds optional extra dark horizontal shield */
.hero-premium.has-legibility-shield::before {
  background-image:
    radial-gradient(ellipse 48% 42% at 0% 0%,
      rgba(196, 163, 197, 0.42) 0%,
      rgba(185, 160, 195, 0.28) 35%,
      rgba(173, 159, 197, 0.14) 60%,
      transparent 80%),
    radial-gradient(ellipse 50% 45% at 100% 0%,
      rgba(219, 197, 115, 0.32) 0%,
      rgba(211, 185, 145, 0.20) 35%,
      rgba(195, 149, 153, 0.10) 60%,
      transparent 75%),
    linear-gradient(135deg,
      rgba(55, 38, 85, 0.90) 0%,
      rgba(48, 42, 102, 0.84) 18%,
      rgba(48, 62, 135, 0.68) 40%,
      rgba(73, 95, 155, 0.50) 60%,
      rgba(41, 93, 145, 0.35) 80%,
      rgba(39, 45, 95, 0.20) 100%),
    linear-gradient(180deg,
      transparent 40%,
      rgba(31, 27, 77, 0.40) 72%,
      rgba(31, 27, 77, 0.92) 100%),
    /* Optional Extra Dark Horizontal Shield on Left */
    linear-gradient(90deg,
      rgba(23, 19, 44, 0.95) 0%,
      rgba(36, 32, 98, 0.84) 45%,
      rgba(41, 41, 99, 0.45) 75%,
      rgba(23, 19, 44, 0.15) 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-position: left top, right top, center top, center bottom, center left;
}

/* Hero Gradient Alternative: Landscape Mode (from Gradient-50%-landscape.png) */
.hero-premium.hero-mode-landscape::before {
  background-image:
    /* Layer 1: Top-Left Muted Rose/Mauve Glow (Delicate pastel bloom from sparkle-icon & landscape gradient) */
    radial-gradient(ellipse 52% 48% at 0% 0%,
      rgba(196, 163, 197, 0.42) 0%,
      rgba(185, 160, 195, 0.28) 35%,
      rgba(166, 97, 144, 0.16) 60%,
      transparent 80%),
    /* Layer 2: Bottom-Left Sunlit Gold & Warm Peach Glow (Landscape spectrum bottom-left anchor) */
    radial-gradient(ellipse 52% 48% at 0% 100%,
      rgba(218, 196, 127, 0.36) 0%,
      rgba(210, 182, 148, 0.22) 35%,
      rgba(185, 130, 150, 0.10) 60%,
      transparent 80%),
    /* Layer 3: Horizontal Flow Across (Deep Plum/Purple -> Imperial Violet -> Sapphire Navy) */
    linear-gradient(90deg,
      rgba(65, 33, 75, 0.90) 0%,
      rgba(83, 36, 98, 0.82) 20%,
      rgba(59, 37, 100, 0.68) 42%,
      rgba(44, 45, 102, 0.45) 65%,
      rgba(34, 42, 98, 0.18) 100%),
    /* Layer 4: Bottom-Edge Deep Navy Anchor (Blends into #1f1b4d Glance Strip) */
    linear-gradient(180deg,
      transparent 40%,
      rgba(31, 27, 77, 0.40) 72%,
      rgba(31, 27, 77, 0.92) 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-position: left top, left bottom, center center, center bottom;
  background-repeat: no-repeat;
}

/* Landscape Mode with Legibility Shield */
.hero-premium.hero-mode-landscape.has-legibility-shield::before {
  background-image:
    radial-gradient(ellipse 52% 48% at 0% 0%,
      rgba(196, 163, 197, 0.42) 0%,
      rgba(185, 160, 195, 0.28) 35%,
      rgba(166, 97, 144, 0.16) 60%,
      transparent 80%),
    radial-gradient(ellipse 52% 48% at 0% 100%,
      rgba(218, 196, 127, 0.36) 0%,
      rgba(210, 182, 148, 0.22) 35%,
      rgba(185, 130, 150, 0.10) 60%,
      transparent 80%),
    linear-gradient(90deg,
      rgba(65, 33, 75, 0.90) 0%,
      rgba(83, 36, 98, 0.82) 20%,
      rgba(59, 37, 100, 0.68) 42%,
      rgba(44, 45, 102, 0.45) 65%,
      rgba(34, 42, 98, 0.18) 100%),
    linear-gradient(180deg,
      transparent 40%,
      rgba(31, 27, 77, 0.40) 72%,
      rgba(31, 27, 77, 0.92) 100%),
    /* Optional Extra Dark Horizontal Shield on Left */
    linear-gradient(90deg,
      rgba(23, 19, 44, 0.95) 0%,
      rgba(36, 32, 98, 0.84) 45%,
      rgba(41, 41, 99, 0.45) 75%,
      rgba(23, 19, 44, 0.15) 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-position: left top, left bottom, center center, center bottom, center left;
  background-repeat: no-repeat;
}

/* Hero Gradient Alternative: Flipped with Less Transparency (Exact Copy of Flipped Rose Top-L with Right Side Slightly Darker) */
.hero-premium.hero-mode-flipped-less-transparent::before {
  background-image:
    /* Layer 1: Top-Left Muted Rose & Mauve Glow (Exact Copy of Flipped Rose Top-L - Untouched) */
    radial-gradient(ellipse 48% 42% at 0% 0%,
      rgba(196, 163, 197, 0.42) 0%,
      rgba(185, 160, 195, 0.28) 35%,
      rgba(173, 159, 197, 0.14) 60%,
      transparent 80%),
    /* Layer 2: Top-Right Sunlit Gold Glow (Gently toned down so top-right sits slightly darker) */
    radial-gradient(ellipse 50% 45% at 100% 0%,
      rgba(219, 197, 115, 0.24) 0%,
      rgba(211, 185, 145, 0.15) 35%,
      rgba(195, 149, 153, 0.08) 60%,
      transparent 75%),
    /* Layer 3: Primary Diagonal Flow (Left 0%-18% identical; right half slightly darker & less transparent) */
    linear-gradient(135deg,
      rgba(55, 38, 85, 0.90) 0%,
      rgba(48, 42, 102, 0.84) 18%,
      rgba(48, 62, 135, 0.72) 40%,
      rgba(60, 82, 145, 0.62) 60%,
      rgba(38, 78, 132, 0.50) 80%,
      rgba(31, 36, 86, 0.38) 100%),
    /* Layer 4: Bottom-Edge Deep Navy Anchor (Exact Copy of Flipped Rose Top-L) */
    linear-gradient(180deg,
      transparent 40%,
      rgba(31, 27, 77, 0.40) 72%,
      rgba(31, 27, 77, 0.92) 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-position: left top, right top, center top, center bottom;
  background-repeat: no-repeat;
}

/* Flipped Less Transparent with Legibility Shield */
.hero-premium.hero-mode-flipped-less-transparent.has-legibility-shield::before {
  background-image:
    radial-gradient(ellipse 48% 42% at 0% 0%,
      rgba(196, 163, 197, 0.42) 0%,
      rgba(185, 160, 195, 0.28) 35%,
      rgba(173, 159, 197, 0.14) 60%,
      transparent 80%),
    radial-gradient(ellipse 50% 45% at 100% 0%,
      rgba(219, 197, 115, 0.24) 0%,
      rgba(211, 185, 145, 0.15) 35%,
      rgba(195, 149, 153, 0.08) 60%,
      transparent 75%),
    linear-gradient(135deg,
      rgba(55, 38, 85, 0.90) 0%,
      rgba(48, 42, 102, 0.84) 18%,
      rgba(48, 62, 135, 0.72) 40%,
      rgba(60, 82, 145, 0.62) 60%,
      rgba(38, 78, 132, 0.50) 80%,
      rgba(31, 36, 86, 0.38) 100%),
    linear-gradient(180deg,
      transparent 40%,
      rgba(31, 27, 77, 0.40) 72%,
      rgba(31, 27, 77, 0.92) 100%),
    /* Optional Extra Dark Horizontal Shield on Left */
    linear-gradient(90deg,
      rgba(23, 19, 44, 0.95) 0%,
      rgba(36, 32, 98, 0.84) 45%,
      rgba(41, 41, 99, 0.45) 75%,
      rgba(23, 19, 44, 0.15) 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-position: left top, right top, center top, center bottom, center left;
  background-repeat: no-repeat;
}

/* Hero Gradient Alternative: Deep Sapphire Navy (#2f307e) */
.hero-premium.hero-mode-navy-2f307e::before {
  background-image:
    radial-gradient(ellipse 48% 42% at 0% 0%,
      rgba(92, 93, 178, 0.34) 0%,
      rgba(65, 66, 148, 0.20) 40%,
      transparent 78%),
    radial-gradient(ellipse 50% 45% at 100% 0%,
      rgba(72, 74, 156, 0.20) 0%,
      rgba(47, 48, 126, 0.10) 45%,
      transparent 75%),
    linear-gradient(135deg,
      rgba(47, 48, 126, 0.92) 0%,
      rgba(47, 48, 126, 0.85) 22%,
      rgba(56, 58, 142, 0.68) 45%,
      rgba(68, 70, 155, 0.50) 65%,
      rgba(47, 48, 126, 0.35) 84%,
      rgba(38, 39, 108, 0.24) 100%),
    linear-gradient(180deg,
      transparent 40%,
      rgba(47, 48, 126, 0.42) 72%,
      rgba(47, 48, 126, 0.94) 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-position: left top, right top, center top, center bottom;
  background-repeat: no-repeat;
}

/* Deep Sapphire Navy (#2f307e) with Legibility Shield */
.hero-premium.hero-mode-navy-2f307e.has-legibility-shield::before {
  background-image:
    radial-gradient(ellipse 48% 42% at 0% 0%,
      rgba(92, 93, 178, 0.34) 0%,
      rgba(65, 66, 148, 0.20) 40%,
      transparent 78%),
    radial-gradient(ellipse 50% 45% at 100% 0%,
      rgba(72, 74, 156, 0.20) 0%,
      rgba(47, 48, 126, 0.10) 45%,
      transparent 75%),
    linear-gradient(135deg,
      rgba(47, 48, 126, 0.92) 0%,
      rgba(47, 48, 126, 0.85) 22%,
      rgba(56, 58, 142, 0.68) 45%,
      rgba(68, 70, 155, 0.50) 65%,
      rgba(47, 48, 126, 0.35) 84%,
      rgba(38, 39, 108, 0.24) 100%),
    linear-gradient(180deg,
      transparent 40%,
      rgba(47, 48, 126, 0.42) 72%,
      rgba(47, 48, 126, 0.94) 100%),
    linear-gradient(90deg,
      rgba(28, 29, 84, 0.95) 0%,
      rgba(47, 48, 126, 0.84) 45%,
      rgba(47, 48, 126, 0.45) 75%,
      rgba(28, 29, 84, 0.15) 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-position: left top, right top, center top, center bottom, center left;
  background-repeat: no-repeat;
}

/* Hero Gradient Alternative: Soft Lavender (RGB 140, 139, 181) */
.hero-premium.hero-mode-lavender-8c8bb5::before {
  background-image:
    radial-gradient(ellipse 48% 42% at 0% 0%,
      rgba(168, 167, 206, 0.36) 0%,
      rgba(140, 139, 181, 0.22) 40%,
      transparent 78%),
    radial-gradient(ellipse 50% 45% at 100% 0%,
      rgba(160, 159, 198, 0.22) 0%,
      rgba(140, 139, 181, 0.12) 45%,
      transparent 75%),
    linear-gradient(135deg,
      rgba(98, 97, 142, 0.94) 0%,
      rgba(116, 115, 160, 0.88) 22%,
      rgba(140, 139, 181, 0.74) 45%,
      rgba(140, 139, 181, 0.56) 65%,
      rgba(112, 111, 156, 0.40) 84%,
      rgba(88, 87, 134, 0.28) 100%),
    linear-gradient(180deg,
      transparent 40%,
      rgba(110, 109, 154, 0.44) 72%,
      rgba(98, 97, 142, 0.94) 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-position: left top, right top, center top, center bottom;
  background-repeat: no-repeat;
}

/* Soft Lavender (RGB 140, 139, 181) with Legibility Shield */
.hero-premium.hero-mode-lavender-8c8bb5.has-legibility-shield::before {
  background-image:
    radial-gradient(ellipse 48% 42% at 0% 0%,
      rgba(168, 167, 206, 0.36) 0%,
      rgba(140, 139, 181, 0.22) 40%,
      transparent 78%),
    radial-gradient(ellipse 50% 45% at 100% 0%,
      rgba(160, 159, 198, 0.22) 0%,
      rgba(140, 139, 181, 0.12) 45%,
      transparent 75%),
    linear-gradient(135deg,
      rgba(98, 97, 142, 0.94) 0%,
      rgba(116, 115, 160, 0.88) 22%,
      rgba(140, 139, 181, 0.74) 45%,
      rgba(140, 139, 181, 0.56) 65%,
      rgba(112, 111, 156, 0.40) 84%,
      rgba(88, 87, 134, 0.28) 100%),
    linear-gradient(180deg,
      transparent 40%,
      rgba(110, 109, 154, 0.44) 72%,
      rgba(98, 97, 142, 0.94) 100%),
    linear-gradient(90deg,
      rgba(62, 61, 106, 0.95) 0%,
      rgba(98, 97, 142, 0.84) 45%,
      rgba(140, 139, 181, 0.45) 75%,
      rgba(62, 61, 106, 0.15) 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-position: left top, right top, center top, center bottom, center left;
  background-repeat: no-repeat;
}

.hero-container-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero Sparkle Graphic Badge (Replacing previous circular badge) */
.hero-sparkle-badge {
  position: absolute;
  right: clamp(16px, 4vw, 56px);
  top: 50%;
  transform: translateY(-50%) rotate(-6deg);
  display: inline-block;
  text-decoration: none;
  z-index: 10;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-sparkle-img {
  width: clamp(220px, 19vw, 290px);
  height: auto;
  aspect-ratio: 1/1;
  display: block;
  object-fit: contain;
  filter:
    drop-shadow(0 12px 26px rgba(8, 19, 38, 0.56)) drop-shadow(0 4px 10px rgba(10, 12, 34, 0.42));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.hero-sparkle-badge:hover {
  transform: translateY(-54%) scale(1.08) rotate(0deg);
}

.hero-sparkle-badge:hover .hero-sparkle-img {
  filter:
    drop-shadow(0 18px 36px rgba(8, 19, 38, 0.65)) drop-shadow(0 8px 16px rgba(10, 12, 34, 0.50));
}

/* Micro-texture disabled for testing (Reversible: set display: block to restore 5% gold dots) */
.hero-bg-texture {
  display: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(rgba(187, 154, 77, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.hero-content {
  width: 100%;
  max-width: 70%;
  position: relative;
  z-index: 4;
}

.hero-eyebrow {
  display: none;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(42px, 3.9vw, 54px);
  line-height: 1.40;
  font-weight: 700;
  margin-top: 38px;
  margin-bottom: 20px;
  letter-spacing: 0;
}

.hero-title .brand-highlight,
.hero-title em {
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
}

.hero-lead {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: #CBD5E1;
  margin-bottom: 40px;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-gold-thread {
  display: none;
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, var(--gold-accent), rgba(187, 154, 77, 0.1));
  z-index: 12;
  pointer-events: none;
}

/* ==========================================================================
   THIN FULL-WIDTH ACCREDITATIONS BAR (Between Hero and Glance Strip)
   ========================================================================== */
.hero-accreditations-bar {
  display: none;
  /* Removed for now per design direction */
  background: #FFFFFF;
  padding: 16px 0;
  position: relative;
  z-index: 15;
  border-bottom: 1px solid rgba(23, 19, 44, 0.08);
  box-shadow: 0 4px 16px rgba(18, 18, 58, 0.04);
}

.accred-bar-flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.trust-cards-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.trust-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-logo-img {
  height: 38px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
  display: block;
}

.trust-dual-logos {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-item-label {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  color: #17132c;
  letter-spacing: 0.01em;
}

.trust-card-divider {
  width: 1px;
  height: 28px;
  background: rgba(140, 139, 181, 0.38);
}

@media (max-width: 768px) {
  .trust-card-divider {
    display: none;
  }

  .trust-cards-row {
    gap: 20px;
  }
}

/* ==========================================================================
   PROGRAMME AT-A-GLANCE METRICS BAR (Dark #1f1b4d)
   ========================================================================== */
.programme-glance-strip {
  background: #1f1b4d;
  /* Rich Deep Sapphire Purple-Navy #1f1b4d */
  color: #FFF;
  padding: 44px 0 68px;
  margin: 0;
  border: none;
  position: relative;
  z-index: 10;
}

.programme-glance-strip.hero-mode-navy-2f307e {
  background: #232463;
}

.glance-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: center;
}

.glance-metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 6px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.glance-metric-item:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.glance-metric-val {
  font-family: var(--font-heading);
  font-size: clamp(28px, 1.8vw, 34px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.glance-metric-label {
  font-family: var(--font-body);
  font-size: 14px;
  color: #D8DCCA;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .glance-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 0;
  }

  .glance-metric-item:nth-child(odd) {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 560px) {
  .glance-metrics-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .glance-metric-item,
  .glance-metric-item:first-child,
  .glance-metric-item:nth-child(odd) {
    align-items: center;
    border-left: none;
    border-right: none;
    padding: 0;
  }
}

/* ==========================================================================
   SECTION SEAMS: REGULAR STIPPLE FRINGE & ROYAL SEAL
   Universal section-transition motif: 44px regular halftone stipple
   with single central gold diamond royal seal (74px)
   ========================================================================== */
.seam-stipple-fringe {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 44px;
  pointer-events: none;
  z-index: 1;
  background-repeat: repeat-x;
  background-position: center bottom;
  background-size: 240px 44px;
}

/* Stipple dot color matching the following section's background */
.seam-stipple-white {
  background-image: url('stipple_fringe_white.svg');
}

.seam-stipple-cream,
.seam-stipple-celadon {
  background-image: url('stipple_fringe_celadon.svg');
}

.seam-stipple-mauve {
  background-image: url('stipple_fringe_mauve.svg');
}

.seam-stipple-peach {
  background-image: url('stipple_fringe_peach.svg');
}

.seam-stipple-lavender {
  background-image: url('stipple_fringe_lavender.svg');
}

.seam-stipple-gray {
  background-image: url('stipple_fringe_gray.svg');
}

.seam-stipple-sapphire {
  background-image: url('stipple_fringe_sapphire.svg');
}

.seam-stipple-navy {
  background-image: url('stipple_fringe_navy.svg');
}

/* Dynamic theme connectors for effortless switching */
.seam-to-experience {
  background-image: var(--seam-into-experience);
}

.seam-to-testimonial {
  background-image: var(--seam-into-testimonial);
}

/* Single Central Royal Seal Diamond (Envelope Closure Effect) */
.seam-royal-seal-container {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.royal-seal-img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(8, 19, 38, 0.16));
  transition: transform 0.3s ease;
}

/* ==========================================================================
   SECTION: COMMON CONTENT STYLES & ASYMMETRIC HEADERS
   ========================================================================== */
.section-spacious {
  padding: var(--section-spacing) 0;
  position: relative;
}

/* Clean Monotonic Section Stacking Hierarchy:
   Ensures each section's royal seal is strictly ON TOP OF preceding section background and dots */
.programme-glance-strip {
  z-index: 10;
}

#journey {
  z-index: 20 !important;
}

#courses {
  z-index: 30 !important;
}

#experience {
  z-index: 40 !important;
}

#about {
  z-index: 50 !important;
}

#testimonial {
  z-index: 60 !important;
}

#contact {
  z-index: 70 !important;
}

.pre-footer-cta {
  z-index: 80 !important;
}

.section-header-centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-micro);
  font-weight: 700;
  color: var(--gold-accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  display: block;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  color: var(--navy-primary);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.section-subtext {
  font-family: var(--font-body);
  font-size: var(--text-lead);
  color: var(--text-muted);
  line-height: 1.7;
}

/* Asymmetric Header Split (Academic courses) */
.pathways-header-split {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 48px;
  align-items: flex-end;
  margin-bottom: 64px;
}

.pathways-header-left .section-heading {
  text-align: left;
  margin-bottom: 16px;
}

.pathways-header-left .section-subtext {
  text-align: left;
  margin: 0;
}

.pathways-stat-card {
  background: linear-gradient(135deg,
      rgba(187, 171, 198, 0.24) 0%,
      rgba(174, 195, 205, 0.26) 50%,
      rgba(216, 220, 202, 0.24) 100%);
  border: 1px solid rgba(140, 139, 181, 0.42);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: 0 10px 24px rgba(47, 47, 135, 0.05);
}

.pathways-stat-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-accent);
  display: block;
  margin-bottom: 6px;
}

.pathways-stat-val {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--sapphire-purple-navy);
  margin-bottom: 4px;
}

.pathways-stat-desc {
  font-size: 13px;
  color: var(--body-text-gray);
  line-height: 1.5;
  margin: 0;
}

.pathways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.course-card {
  background: var(--canvas);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(47, 47, 135, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(47, 47, 135, 0.10);
  border-color: var(--gold-accent);
}

.course-card-visual {
  height: 160px;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.course-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(47, 47, 135, 0.38) 0%,
      rgba(140, 139, 181, 0.18) 60%,
      transparent 100%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.course-card:hover .course-card-visual::after {
  opacity: 0.18;
}

.course-tag-pill {
  align-self: flex-start;
  display: inline-block;
  background: rgba(174, 195, 205, 0.94);
  /* Default Powder Blue */
  color: var(--sapphire-purple-navy);
  font-family: var(--font-body);
  font-size: var(--text-micro);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

/* Discipline-Specific Pastel Swatches (Standardised sequence from feedback) */
.course-card:nth-child(1) .course-tag-pill {
  background: rgba(182, 148, 185, 0.95);
  /* Mauve rgb(182, 148, 185) */
  color: #12123A;
}

.course-card:nth-child(2) .course-tag-pill {
  background: rgba(216, 220, 202, 0.95);
  /* Pale Celadon rgb(216, 220, 202) */
  color: var(--sapphire-purple-navy);
}

.course-card:nth-child(3) .course-tag-pill {
  background: rgba(224, 148, 147, 0.95);
  /* Blush Coral / Peach rgb(224, 148, 147) */
  color: #12123A;
}

.course-card:nth-child(4) .course-tag-pill {
  background: rgba(174, 195, 205, 0.95);
  /* Powder Blue rgb(174, 195, 205) */
  color: var(--sapphire-purple-navy);
}

.course-card:nth-child(5) .course-tag-pill {
  background: rgba(150, 163, 196, 0.95);
  /* Dusty Cornflower rgb(150, 163, 196) */
  color: #12123A;
}

.course-fee-pill {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--gold);
  color: var(--navy-950);
  font-family: var(--font-body);
  font-size: var(--text-micro);
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.course-card-content {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-card-content h3 {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  line-height: 1.35;
  color: var(--navy-primary);
  margin-bottom: 14px;
}

.course-card-content p {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.course-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--text-muted);
}

.course-action-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-small);
  color: var(--navy-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.course-card:hover .course-action-link {
  color: var(--gold);
  gap: 10px;
}

/* ==========================================================================
   DESIGNED FOR AMBITIOUS STUDENTS VISUAL FRAME & SUBTLE OVERLAY
   ========================================================================== */
.hero-visual-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(47, 47, 135, 0.08);
}

.hero-visual-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(47, 47, 135, 0.26) 0%,
      rgba(140, 139, 181, 0.14) 50%,
      transparent 100%);
  pointer-events: none;
  z-index: 1;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   SECTION: START YOUR SAPPHIRE JOURNEY (SOFT MAUVE PASTEL WASH)
   ========================================================================== */
.sapphire-journey-section {
  background-color: var(--bg-journey);
  padding: var(--section-spacing) 0;
  position: relative;
  border-top: none;
  border-bottom: none;
  z-index: 10;
}

.journey-gateway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.journey-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 44px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  align-items: center;
  border: 1px solid rgba(140, 139, 181, 0.28);
  border-top: 3px solid var(--pastel-periwinkle);
  box-shadow: 0 10px 30px rgba(47, 47, 135, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.journey-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.journey-card:nth-child(1) {
  border-top-color: var(--pastel-periwinkle);
  /* rgb(140, 139, 181) */
}

.journey-card:nth-child(2) {
  border-top-color: var(--pastel-powder-blue);
  /* rgb(174, 195, 205) */
}

.journey-card:nth-child(3) {
  border-top-color: var(--pastel-mauve);
  /* rgb(182, 148, 185) */
}

.journey-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(47, 47, 135, 0.10);
  border-color: var(--gold-accent);
}

.journey-card-title {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.3;
  color: var(--sapphire-purple-navy);
  margin-bottom: 16px;
  font-weight: 700;
  text-align: center;
}

.journey-card-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 32px;
  text-align: center;
  max-width: 320px;
}

.journey-card-action {
  width: 100%;
  display: flex;
  justify-content: center;
}

.journey-btn {
  width: auto;
  min-width: 200px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  border-radius: 999px;
}

/* ==========================================================================
   SECTION: WHY CHOOSE SAPPHIRE? (THEMED DYNAMICALLY VIA :ROOT)
   ========================================================================== */
#experience.section-spacious {
  background-color: var(--bg-why-sapphire);
  background-image: none;
  padding: var(--section-spacing) 0;
  position: relative;
  border-top: none;
  border-bottom: none;
}

.why-sapphire-split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 64px;
  align-items: start;
}

.why-sapphire-aside {
  position: sticky;
  top: 100px;
}

.why-sapphire-aside .section-heading {
  text-align: left;
  margin-bottom: 20px;
}

.why-lead-copy {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text-gray);
  margin-bottom: 32px;
}

.why-trust-badges-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.why-trust-badge {
  border-left: 3px solid var(--gold-accent);
  padding-left: 18px;
}

.why-badge-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy-primary);
}

.why-badge-label {
  font-size: 12px;
  color: var(--body-text-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.why-sapphire-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.pillar-card {
  border-radius: var(--radius-md);
}

.pillar-card-editorial {
  background: var(--surface-white);
  border: 1px solid var(--border-hairline);
  border-top: 3px solid var(--pastel-periwinkle);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: 0 10px 30px rgba(47, 47, 135, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pillar-card-editorial:nth-child(1) {
  border-top-color: var(--pastel-periwinkle);
  /* rgb(140, 139, 181) */
}

.pillar-card-editorial:nth-child(2) {
  border-top-color: var(--pastel-mauve);
  /* rgb(182, 148, 185) */
}

.pillar-card-editorial:nth-child(3) {
  border-top-color: var(--pastel-powder-blue);
  /* rgb(174, 195, 205) */
}

.pillar-card-editorial:nth-child(4) {
  border-top-color: var(--pastel-blush-coral);
  /* rgb(224, 148, 147) */
}

.pillar-card-editorial:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(47, 47, 135, 0.10);
  border-color: var(--gold-accent);
}

.pillar-num {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-accent);
  display: block;
  margin-bottom: 14px;
}

.pillar-card-editorial h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--navy-primary);
  margin-bottom: 12px;
}

.pillar-card-editorial p {
  font-size: 14px;
  color: var(--body-text-gray);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   SECTION: TESTIMONIAL & CONTACT WITH CLEAN ARCHITECTURAL CANVASES
   (De-smudged: localized radial blur removed to avoid display-dependent smudge)
   ========================================================================== */
.section-ambient-wash {
  position: relative;
  overflow: visible;
}

#about.section-spacious.bath-showcase-section {
  background-color: var(--navy-950);
  min-height: clamp(560px, 72vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 0;
  position: relative;
}

.bath-showcase-bg-stack {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bath-showcase-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 0.35s ease;
  will-change: opacity;
}

.bath-showcase-bg-img.is-active {
  opacity: 1;
}

.bath-showcase-card {
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
  background-color: #f3eff5;
  border: 1px solid rgba(47, 47, 135, 0.14);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 28px 18px 22px;
  box-shadow: var(--shadow-elevated);
  position: relative;
  z-index: 2;
  text-align: left;
}

.bath-showcase-heading {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.bath-showcase-body {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bath-showcase-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.bath-showcase-caption {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--navy-950);
  margin: 0;
}

.bath-showcase-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}

.bath-showcase-counter {
  font-family: var(--font-body);
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-primary);
}

.bath-showcase-nav-btn {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--navy-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.bath-showcase-nav-btn svg {
  filter: drop-shadow(0 2px 4px rgba(18, 18, 58, 0.28));
  transition: filter 0.2s ease;
}

.bath-showcase-nav-btn:hover {
  color: var(--gold);
  transform: translateY(-1px);
}

.bath-showcase-nav-btn:hover svg {
  filter: drop-shadow(0 3px 6px rgba(18, 18, 58, 0.36));
}

.bath-showcase-nav-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  #about.section-spacious.bath-showcase-section {
    min-height: 520px;
    padding: 96px 0;
  }

  .bath-showcase-card {
    padding: 24px 18px 20px;
  }

  .bath-showcase-nav-btn {
    width: 34px;
    height: 34px;
  }
}

#testimonial.section-spacious {
  background-color: var(--bg-testimonial);
  position: relative;
}

.testimonial-editorial-wrap {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.testimonial-editorial-card {
  background: var(--surface-white);
  border: 1px solid rgba(140, 139, 181, 0.35);
  border-radius: var(--radius-lg);
  padding: 50px 48px;
  box-shadow: var(--shadow-premium);
  position: relative;
  text-align: center;
}

.testimonial-watermark {
  font-family: var(--font-heading);
  font-size: 96px;
  line-height: 1;
  color: var(--pastel-soft-lavender);
  opacity: 0.48;
  position: absolute;
  top: 12px;
  left: 36px;
  pointer-events: none;
}

.testimonial-quote-text {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  color: var(--navy-primary);
  font-style: italic;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

.proof-person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
}

.proof-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sapphire-purple-navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.proof-author {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-primary);
  display: block;
}

.proof-meta small {
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--text-muted);
}

/* ==========================================================================
   PRE-FOOTER CONVERSION BAND (PURPLE-INFUSED BACKDROP OVERLAY)
   ========================================================================== */
.pre-footer-cta {
  background-color: #44446e;
  background-image:
    linear-gradient(180deg,
      rgba(82, 82, 126, 0.94) 0%,
      rgba(68, 68, 110, 0.92) 50%,
      rgba(48, 48, 86, 0.97) 100%),
    url('images/hero-bath.jpg');
  background-size: cover;
  background-position: center bottom;
  color: #FFF;
  padding: 130px 0 100px;
  margin-top: 0;
  text-align: center;
  position: relative;
  border-top: none;
  z-index: 10;
}

.pre-footer-cta h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  color: var(--gold);
  line-height: 1.25;
  margin-bottom: 18px;
}

.pre-footer-cta p {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: #CBD5E1;
  max-width: 640px;
  margin: 0 auto 38px;
}

.pre-footer-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER ACCREDITATION LOGOS (OPTION A: TILES & OPTION B: RIBBON)
   ========================================================================== */
.footer-accred-tiles {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
  background-color: white;
  padding: 12px;
  width: 115%;
}

.footer-accred-tile {
  background: #FFFFFF;
  border-radius: 6px;
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);*/
}

.footer-accred-tile img {
  height: 34px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  display: block;
}

/* Option B: Dedicated Horizontal Trust Ribbon (2-col span in Experience grid, matching .pillar-card-editorial) */
.footer-trust-ribbon {
  background: var(--surface-white);
  border: 1px solid var(--border-hairline);
  border-top: 3px solid var(--pastel-periwinkle);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: 0 10px 30px rgba(47, 47, 135, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  z-index: 20;
  grid-column: 1 / -1;
}

.footer-trust-ribbon:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(47, 47, 135, 0.10);
  border-color: var(--gold-accent);
}

.footer-trust-ribbon-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.trust-ribbon-title {
  color: var(--sapphire-purple-navy);
}

.trust-ribbon-sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: #64748B;
}

.trust-ribbon-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-ribbon-logos img {
  height: 75px;
  width: auto;
  object-fit: contain;
  display: block;
}

.trust-ribbon-logos img.trust-logo-british-council {
  height: 108px;
}

.trust-ribbon-logos img.trust-logo-quality-english {
  height: 60px;
}

@media (max-width: 768px) {
  .footer-trust-ribbon-flex {
    flex-direction: column;
    align-items: center;
  }
}

/* ==========================================================================
   GLOBAL LUXURY FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-darkest);
  color: #94A3B8;
  padding: 90px 0 40px;
  font-family: var(--font-body);
  font-size: var(--text-small);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: #FFF;
  font-size: var(--text-h4);
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--gold);
}

.footer-link-inactive {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #94A3B8;
  cursor: default;
  transition: color 0.2s ease;
}

.footer-link-inactive:hover,
.footer-link-inactive:focus-visible {
  color: rgba(255, 255, 255, 0.65);
  outline: none;
}

.footer-link-inactive::after {
  content: attr(data-coming-soon);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
  background: rgba(18, 18, 58, 0.96);
  color: var(--gold);
  border: 1px solid rgba(187, 154, 77, 0.45);
  border-radius: 6px;
  padding: 3px 10px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 30;
}

.footer-link-inactive:hover::after,
.footer-link-inactive:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.2s ease,
              border-color 0.2s ease,
              color 0.2s ease,
              box-shadow 0.2s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(187, 154, 77, 0.28);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: var(--text-small);
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 1024px) {
  .site-nav {
    display: none;
  }

  .hero-container-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-sparkle-badge {
    order: -1;
    position: static;
    transform: rotate(-6deg);
    margin: 0 auto 20px;
    display: inline-block;
  }

  .hero-sparkle-badge:hover {
    transform: scale(1.05) rotate(0deg);
  }

  .hero-sparkle-img {
    width: 185px;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-title {
    margin-top: 8px;
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .pathways-header-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pathways-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-sapphire-split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-sapphire-aside {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .trust-floating-card {
    padding: 24px 20px;
  }

  .why-sapphire-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --section-spacing: 80px;
  }

  .hero-content {
    max-width: 100%;
  }

  .pathways-grid {
    grid-template-columns: 1fr;
  }

  .journey-gateway-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  h1,
  .hero-title {
    font-size: 36px;
    line-height: 1.18;
  }

  h2,
  .section-heading,
  .pre-footer-cta h2 {
    font-size: 28px;
    line-height: 1.25;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   HEADER & HERO EXPERIMENT SWITCHER PILL STATES
   ========================================================================== */
.header-switcher-btn.active,
.hero-grad-btn.active,
.hero-shield-btn.active {
  background: var(--gold) !important;
  color: #FFFFFF !important;
}

.header-switcher-btn:not(.active):hover,
.hero-grad-btn:not(.active):hover,
.hero-shield-btn:not(.active):hover {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #FFFFFF !important;
}