/* ============================================================
   BSP — Styles v3
   Premium institutional aesthetic — patient equity meets AI
   ============================================================ */

:root {
  --navy:       #1a1f4e;
  --navy-light: #272d6b;
  --navy-deep:  #12163a;
  --blue:       #3B5BDB;
  --blue-light: #5c7cfa;
  --gold:       #C9862A;
  --gold-light: #daa04a;
  --white:      #ffffff;
  --off-white:  #F8F8FC;
  --warm-gray:  #f3f1ef;
  --border:     #E4E4EA;
  --border-light: #EDEDF2;
  --text:       #1a1f4e;
  --text-mid:   #4A4A6A;
  --text-light: #7A7A96;
  --font:       'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'DM Serif Display', 'Georgia', serif;
  --radius:     8px;
  --radius-lg:  12px;
  --container:  1140px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm:  0 1px 3px rgba(26, 31, 78, 0.04), 0 1px 2px rgba(26, 31, 78, 0.02);
  --shadow-md:  0 4px 16px rgba(26, 31, 78, 0.06), 0 2px 4px rgba(26, 31, 78, 0.03);
  --shadow-lg:  0 12px 40px rgba(26, 31, 78, 0.1), 0 4px 12px rgba(26, 31, 78, 0.04);
  --shadow-xl:  0 24px 60px rgba(26, 31, 78, 0.14), 0 8px 20px rgba(26, 31, 78, 0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Focus-visible for accessibility */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Smooth selection styling */
::selection {
  background: rgba(201, 134, 42, 0.15);
  color: var(--navy);
}

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

/* ---- Typography ---- */
.display {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.3;
}
h4 { font-size: 1rem; font-weight: 600; line-height: 1.4; }
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  color: var(--text-mid);
}
.overline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---- Navigation ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.5rem 0;
  transition: all var(--transition);
}
.nav--scrolled {
  background: rgba(26, 31, 78, 0.92);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}
.nav__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { display: flex; align-items: center; gap: 0.75rem; }
.nav__logo img { height: 60px; width: auto; transition: height var(--transition); }
.footer .nav__logo img { height: 48px; width: auto; }
.nav--scrolled .nav__logo img { height: 46px; }
.nav__links { display: flex; align-items: center; gap: 0.35rem; }
.nav__link {
  font-size: 0.87rem; font-weight: 500;
  color: rgba(255,255,255,0.55);
  transition: all var(--transition);
  letter-spacing: 0.01em;
  padding: 0.5rem 0.95rem;
  border-radius: 6px;
  position: relative;
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav__link--active { color: var(--white); }
.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 2px;
  background: var(--gold);
  border-radius: 1px;
}
.nav__cta { padding: 0; }
.nav__cta:hover { background: none; }
.nav__cta .btn {
  font-size: 0.82rem; padding: 0.45rem 1.2rem; border-radius: 6px;
  background: linear-gradient(135deg, var(--gold), #d49330);
  box-shadow: 0 2px 12px rgba(201, 134, 42, 0.3);
  border: none;
}
.nav__cta .btn:hover {
  box-shadow: 0 4px 20px rgba(201, 134, 42, 0.45);
}
.nav__toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 22px; position: relative; z-index: 102;
  -webkit-tap-highlight-color: transparent;
  padding: 4px;
}
.nav__toggle span {
  display: block; width: 100%; height: 2px; background: var(--white);
  position: absolute; left: 0; transition: all 0.3s;
}
.nav__toggle span:nth-child(1) { top: 2px; }
.nav__toggle span:nth-child(2) { top: 10px; }
.nav__toggle span:nth-child(3) { top: 18px; }
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg); top: 10px; }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 10px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 6px;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em;
  transition: all var(--transition); border: none; cursor: pointer;
  position: relative;
}
.btn--primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(26, 31, 78, 0.2);
}
.btn--primary:hover {
  background: var(--navy-light);
  box-shadow: 0 4px 16px rgba(26, 31, 78, 0.3);
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold), #d49330);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(201, 134, 42, 0.25);
}
.btn--gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 4px 20px rgba(201, 134, 42, 0.4), 0 0 40px rgba(201, 134, 42, 0.1);
  transform: translateY(-1px);
}
.btn--sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.btn--outline {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn--outline:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
}
.btn--outline-dark {
  background: transparent; color: var(--navy);
  border: 1px solid var(--border);
}
.btn--outline-dark:hover {
  border-color: var(--navy);
  background: rgba(26, 31, 78, 0.03);
  transform: translateY(-1px);
}
.btn-arrow { width: 16px; height: 16px; transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---- Hero ---- */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 11rem 0 7rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
/* Subtle gradient mesh overlay */
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(59, 91, 219, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(201, 134, 42, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero__content { max-width: 700px; position: relative; z-index: 1; }
.hero .display { color: var(--white); margin-bottom: 1.5rem; }
.hero .lead { color: rgba(255,255,255,0.5); margin-bottom: 2.5rem; }
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Subtle decorative grid lines on hero */
.hero__grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 30% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, black 30%, transparent 70%);
}

/* Floating accent orb */
.hero__orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  right: 10%;
  top: 20%;
  background: radial-gradient(circle, rgba(201, 134, 42, 0.06) 0%, transparent 70%);
  animation: hero-orb-float 20s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hero-orb-float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-20px, 30px); }
  66% { transform: translate(15px, -20px); }
}

.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 10rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -40%; right: -15%;
  width: 60%;
  height: 180%;
  background: radial-gradient(ellipse at center, rgba(59, 91, 219, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 134, 42, 0.2), transparent);
}
.page-header .overline { color: var(--gold); margin-bottom: 1rem; display: block; }
.page-header h1 { color: var(--white); margin-bottom: 1rem; }
.page-header .lead { color: rgba(255,255,255,0.45); max-width: 600px; }

/* ---- Sections ---- */
.section { padding: 6.5rem 0; }
.section--light { background: var(--off-white); }
.section--warm { background: var(--warm-gray); }
.section--navy {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section--navy::before {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 50%;
  height: 160%;
  background: radial-gradient(ellipse at center, rgba(59, 91, 219, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.section-header { margin-bottom: 3.5rem; }
.section-header h2 { margin-top: 0.75rem; }
.section-header .lead { margin-top: 1rem; max-width: 640px; }
.section-header--center { text-align: center; }
.section-header--center .lead { margin-left: auto; margin-right: auto; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.grid { display: grid; gap: 2rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Cards ---- */
.card {
  padding: 2rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  background: var(--white);
  position: relative;
}
.card:hover {
  border-color: rgba(26, 31, 78, 0.15);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(59, 91, 219, 0.08), rgba(59, 91, 219, 0.04));
  color: var(--blue);
  margin-bottom: 1.25rem;
}
.card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.card__text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-mid);
}

/* Navy card variant */
.section--navy .card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}
.section--navy .card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.section--navy .card__title { color: var(--white); }
.section--navy .card__text { color: rgba(255,255,255,0.55); }

/* ---- Value Steps ---- */
.value-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}
.value-step {
  padding: 2rem 2rem 0 0;
  border-top: 3px solid transparent;
  margin-top: -2px;
  transition: all var(--transition);
}
.value-step:hover {
  border-top-color: var(--gold);
}
.value-step__number {
  font-size: 0.72rem; font-weight: 800;
  color: var(--gold); letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  font-family: var(--font);
}
.value-step__title {
  font-family: var(--font-serif);
  font-size: 1.15rem; font-weight: 400;
  margin-bottom: 0.5rem;
}
.value-step__text { font-size: 0.9rem; line-height: 1.6; color: var(--text-mid); }

/* ---- Comparison ---- */
.comparison { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.comparison__header {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  background: var(--navy); color: var(--white);
  padding: 1rem 1.5rem; font-weight: 600; font-size: 0.9rem;
}
.comparison__row {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); font-size: 0.9rem;
}
.comparison__row:last-child { border-bottom: none; }
.comparison__row:nth-child(even) { background: var(--off-white); }
.comparison__label { font-weight: 500; }
.comparison__bsp { color: var(--text-mid); }
.comparison__pe { color: var(--text-light); }

/* ---- Case Cards ---- */
.case-card {
  padding: 2rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  background: var(--white);
}
.case-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.case-card__sector {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-light); margin-bottom: 0.75rem;
}
.case-card__result { font-size: 0.95rem; line-height: 1.65; color: var(--text-mid); }
.case-card__highlight {
  font-weight: 700;
  color: var(--navy);
  background: linear-gradient(135deg, rgba(201, 134, 42, 0.1), rgba(201, 134, 42, 0.02));
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  white-space: nowrap;
}
.case-card__tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.25rem 0.65rem; border-radius: 4px; margin-bottom: 0.75rem;
}
.case-card__tag--ai { background: rgba(59, 91, 219, 0.08); color: var(--blue); }
.case-card__tag--build { background: rgba(201, 134, 42, 0.1); color: var(--gold); }

/* ---- Team ---- */
.team-member { display: flex; gap: 1.5rem; align-items: flex-start; }
.team-member__photo {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--off-white), #e8e8f0);
  display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
  font-weight: 700; font-size: 0.85rem; color: var(--navy);
  border: 2px solid var(--border-light);
  transition: all var(--transition);
}
.team-member:hover .team-member__photo {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 134, 42, 0.1);
}
.section--navy .team-member__photo {
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
  border-color: rgba(255,255,255,0.12);
  color: var(--white);
}
.section--navy .team-member:hover .team-member__photo {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 134, 42, 0.15);
}
.team-member__name { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 400; margin-bottom: 0.15rem; }
.team-member__role { font-size: 0.85rem; font-weight: 600; color: var(--blue); margin-bottom: 0.5rem; }
.section--navy .team-member__role { color: var(--gold); }
.team-member__bio { font-size: 0.9rem; line-height: 1.65; color: var(--text-mid); }
.section--navy .team-member__bio { color: rgba(255,255,255,0.5); }
.section--navy .team-member__name { color: var(--white); }

.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.partner-card {
  text-align: center;
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  background: var(--white);
}
.partner-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.section--navy .partner-card {
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.section--navy .partner-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
}
.partner-card__photo {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--off-white), #e8e8f0);
  display: flex; align-items: center;
  justify-content: center; margin: 0 auto 0.75rem;
  font-weight: 700; font-size: 0.8rem; color: var(--navy);
}
.section--navy .partner-card__photo { background: rgba(255,255,255,0.08); color: var(--white); }
.partner-card__name { font-family: var(--font-serif); font-size: 1rem; font-weight: 400; margin-bottom: 0.2rem; }
.section--navy .partner-card__name { color: var(--white); }
.partner-card__title { font-size: 0.82rem; color: var(--text-light); }
.section--navy .partner-card__title { color: rgba(255,255,255,0.4); }

/* ---- Timeline ---- */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--border));
  border-radius: 1px;
}
.timeline__item { position: relative; padding-bottom: 2.5rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ''; position: absolute; left: -2.5rem; top: 0.45rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
  transform: translateX(-4px);
  box-shadow: 0 0 0 4px rgba(201, 134, 42, 0.15);
}
.timeline__title { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 400; margin-bottom: 0.4rem; }
.timeline__text { font-size: 0.92rem; color: var(--text-mid); line-height: 1.65; }

/* ---- ELab Pillars ---- */
.pillar {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  background: var(--white);
}
.pillar:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(59, 91, 219, 0.15);
}
.pillar__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(59, 91, 219, 0.08), rgba(59, 91, 219, 0.03));
  color: var(--blue);
}
.pillar__title { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 400; margin-bottom: 0.3rem; }
.pillar__text { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; }

/* ---- Method Steps ---- */
.method-step {
  display: flex; gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.section--navy .method-step { border-color: rgba(255,255,255,0.06); }
.method-step:last-child { border-bottom: none; }
.method-step__num {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--off-white), #e8e8f0);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem; color: var(--navy); flex-shrink: 0;
}
.section--navy .method-step__num {
  background: linear-gradient(135deg, rgba(201, 134, 42, 0.2), rgba(201, 134, 42, 0.08));
  color: var(--gold);
}
.method-step__title { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 400; margin-bottom: 0.3rem; }
.section--navy .method-step__title { color: var(--white); }
.method-step__text { font-size: 0.92rem; color: var(--text-mid); line-height: 1.6; }
.section--navy .method-step__text { color: rgba(255,255,255,0.5); }

/* ---- Platforms ---- */
.platforms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.platform-card {
  padding: 2.25rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  background: var(--white);
}
.platform-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.platform-card__name {
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 400;
  color: var(--navy); margin-bottom: 0.75rem;
}
.platform-card__text { font-size: 0.92rem; color: var(--text-mid); line-height: 1.65; }

/* ---- Sector Tags ---- */
.sector-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sector-tag {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
}
.sector-tag:hover { border-color: var(--gold); }
.section--navy .sector-tag {
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.65);
}
.section--navy .sector-tag:hover {
  border-color: var(--gold);
  color: var(--white);
}

/* ---- Contact ---- */
.enquiry-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.enquiry-type {
  padding: 2.25rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
  background: var(--white);
}
.enquiry-type:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.enquiry-type__icon {
  width: 52px; height: 52px; margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(26, 31, 78, 0.06), rgba(26, 31, 78, 0.02));
}
.enquiry-type__title { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 400; margin-bottom: 0.5rem; }
.enquiry-type__text { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--border);
  border-radius: var(--radius); font-family: var(--font); font-size: 0.92rem;
  color: var(--text); background: var(--white);
  transition: all var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 31, 78, 0.08);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder {
  color: var(--text-light);
  opacity: 0.6;
}
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%237A7A96' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.contact-block { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.75rem; }
.contact-block__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(26, 31, 78, 0.06), rgba(26, 31, 78, 0.02));
}
.contact-block__label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); margin-bottom: 0.2rem; }
.contact-block__value a {
  color: var(--navy); font-weight: 500; transition: color var(--transition);
  border-bottom: 1px solid transparent;
}
.contact-block__value a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* ---- Legal/Prose Content ---- */
.prose h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}
.prose h3:first-child { margin-top: 0; }
.prose p {
  color: var(--text-mid);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ---- Form success/error ---- */
.form-message {
  padding: 1rem 1.5rem; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 500; text-align: center;
  margin-top: 1rem; display: none;
}
.form-message--success { background: #e8f5e9; color: #2e7d32; display: block; }
.form-message--error { background: #fce4ec; color: #c62828; display: block; }

/* ---- Maisie Voice Chat Button ---- */
.maisie {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.maisie__btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.35rem;
  border: none;
  border-radius: 50px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(26, 31, 78, 0.4), 0 2px 8px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
}
.maisie__btn:hover {
  background: var(--navy-light);
  box-shadow: 0 8px 32px rgba(26, 31, 78, 0.5), 0 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}
.maisie__btn:active { transform: translateY(0); }

/* Icon container */
.maisie__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.maisie__icon svg { width: 16px; height: 16px; }

/* Pulse ring behind button */
.maisie__pulse {
  display: none;
  position: absolute;
  inset: -4px;
  border-radius: 50px;
  border: 2px solid var(--gold);
  animation: maisie-pulse 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes maisie-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.12); }
}

/* Status text below */
.maisie__status {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-mid);
  background: var(--white);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: opacity 0.3s;
  white-space: nowrap;
}
.maisie__status:empty { display: none; }

/* Connecting state */
.maisie[data-state="connecting"] .maisie__btn {
  background: var(--navy-light);
}
.maisie[data-state="connecting"] .maisie__icon {
  animation: maisie-spin 1.2s linear infinite;
}
@keyframes maisie-spin {
  to { transform: rotate(360deg); }
}

/* Active / in-call state */
.maisie[data-state="active"] .maisie__btn {
  background: var(--gold);
  box-shadow: 0 6px 28px rgba(201, 134, 42, 0.45), 0 2px 8px rgba(0,0,0,0.1);
}
.maisie[data-state="active"] .maisie__btn:hover {
  background: #b87824;
}
.maisie[data-state="active"] .maisie__icon {
  background: rgba(255,255,255,0.2);
  animation: maisie-wave 1s ease-in-out infinite;
}
@keyframes maisie-wave {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Mobile: compact but still show label */
@media (max-width: 768px) {
  .maisie { bottom: 20px; right: 20px; }
  .maisie__btn { padding: 0.7rem 1rem; }
  .maisie__label { font-size: 0.78rem; }
}

/* ---- Stats ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3.5rem; }
.stat {
  text-align: center;
  padding: 1.75rem 1rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.stat:hover { background: rgba(26, 31, 78, 0.02); }
.stat__value {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.section--navy .stat:hover { background: rgba(255,255,255,0.03); }
.section--navy .stat__value { color: var(--white); }
.stat__label { font-size: 0.85rem; color: var(--text-mid); line-height: 1.5; }
.section--navy .stat__label { color: rgba(255,255,255,0.5); }

/* Stat dividers */
.stats .stat { position: relative; }
.stats .stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--border);
}
.section--navy .stats .stat:not(:last-child)::after {
  background: rgba(255,255,255,0.08);
}

/* ---- Gold accent line for key highlights ---- */
.accent-line {
  display: inline-block;
  position: relative;
}
.accent-line::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 1px;
}

/* ---- Hover underline for inline links ---- */
.link-hover {
  position: relative;
  transition: color var(--transition);
}
.link-hover::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.link-hover:hover::after { width: 100%; }

/* ---- Highlight badge for key metrics ---- */
.metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.8rem;
  background: linear-gradient(135deg, rgba(201, 134, 42, 0.1), rgba(201, 134, 42, 0.04));
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* ---- Section Dividers ---- */
.section--divider-top { position: relative; }
.section--divider-top::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ---- CTA Section ---- */
.cta-section {
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ---- Footer ---- */
.footer {
  background: var(--navy-deep);
  color: var(--white);
  padding: 5rem 0 2.5rem;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 134, 42, 0.3), transparent);
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer__brand p { font-size: 0.88rem; line-height: 1.65; color: rgba(255,255,255,0.4); margin-top: 1.25rem; }
.footer__heading {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.25rem;
}
.footer__link {
  display: block; font-size: 0.9rem; color: rgba(255,255,255,0.55);
  margin-bottom: 0.65rem; transition: all var(--transition);
}
a.footer__link:hover {
  color: var(--white);
  transform: translateX(2px);
}
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.82rem; color: rgba(255,255,255,0.25);
}

/* ---- Page Entrance ---- */
@keyframes page-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}
body {
  animation: page-enter 0.5s ease-out;
}

/* ---- Scroll to Top ---- */
.scroll-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 90;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}
@media (max-width: 768px) {
  .scroll-top { display: none; }
}

/* ---- Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.stagger.visible > * { opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }

.text-center { text-align: center; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .two-col { gap: 3rem; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats .stat:not(:last-child)::after { display: none; }
}
@media (max-width: 768px) {
  /* Container */
  .container { padding: 0 1.25rem; }

  /* Typography */
  .display { font-size: clamp(2rem, 6vw, 2.6rem); }

  /* Nav */
  .nav { padding: 1rem 0; }
  .nav--scrolled { padding: 0.5rem 0; }
  .nav__logo img { height: 44px; }
  .nav--scrolled .nav__logo img { height: 38px; }
  .nav__links {
    display: flex; flex-direction: column; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    justify-content: center; align-items: center; gap: 1.75rem;
    z-index: 101;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .nav__toggle { display: block; }
  .nav__links.active {
    opacity: 1;
    visibility: visible;
  }
  /* When menu is open: solid background, kill backdrop-filter so
     position:fixed children reference the viewport, not the nav bar */
  .nav.nav--open,
  .nav.nav--open.nav--scrolled {
    background: var(--navy);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
  }
  .nav__links .nav__link {
    font-size: 1.5rem; color: rgba(255,255,255,0.7);
    padding: 0.5rem 1rem;
    opacity: 0; transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
  }
  .nav__links .nav__link:hover { color: var(--white); background: none; }
  .nav__links.active .nav__link {
    opacity: 1; transform: translateY(0);
  }
  .nav__links.active .nav__link:nth-child(1) { transition-delay: 0.08s; }
  .nav__links.active .nav__link:nth-child(2) { transition-delay: 0.14s; }
  .nav__links.active .nav__link:nth-child(3) { transition-delay: 0.2s; }
  .nav__links.active .nav__link:nth-child(4) { transition-delay: 0.26s; }
  .nav__links .nav__link::after { display: none; }
  /* CTA in mobile menu — render as text link */
  .nav__links .nav__cta { padding: 0; }
  .nav__links .nav__cta .btn {
    background: none; border: none; padding: 0;
    font-size: 1.5rem; font-weight: 500; letter-spacing: 0.01em;
    color: var(--gold); min-height: auto; box-shadow: none;
  }
  .nav__links .nav__cta .btn:hover { color: var(--white); transform: none; }
  .nav__links .nav__cta .btn .btn-arrow { display: none; }

  /* Hero & Page Header */
  .hero { padding: 7rem 0 3.5rem; min-height: auto; }
  .hero__orb { display: none; }
  .hero__grid { display: none; }
  .page-header { padding: 6.5rem 0 2.5rem; }
  .section { padding: 3.5rem 0; }

  /* Layout */
  .two-col { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid { gap: 1.5rem !important; }

  /* Stats */
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
  .stat { padding: 1rem 0.5rem; }
  .stats .stat:not(:last-child)::after { display: none; }

  /* Value steps */
  .value-steps { grid-template-columns: 1fr 1fr; }

  /* Contact */
  .enquiry-types { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Team members */
  .team-member { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }

  /* Partner grid */
  .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* Platforms */
  .platforms { grid-template-columns: 1fr; }

  /* Comparison table overflow */
  .comparison { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Buttons */
  .btn { padding: 0.9rem 1.75rem; font-size: 0.88rem; min-height: 44px; }
  .btn--sm { padding: 0.55rem 1.1rem; min-height: 40px; }
  .btn:hover { transform: none; }

  /* Section headers */
  .section-header { margin-bottom: 2.5rem; }

  /* Footer */
  .footer { padding: 3rem 0 1.5rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .fade-up, .stagger > * { opacity: 1; transform: none; }
  body { animation: none; }
  .hero__orb { animation: none; }
}

/* ---- Print ---- */
@media print {
  .nav, .footer, .maisie, .scroll-top, .hero__grid, .hero__orb { display: none !important; }
  .hero { min-height: auto; padding: 2rem 0; }
  .section { padding: 2rem 0; }
  .section--navy { background: #eee; color: #111; }
  body { font-size: 12pt; color: #111; }
  a { color: #111; }
  .btn { border: 1px solid #999; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .display { font-size: 1.75rem; }
  .hero { padding: 6.5rem 0 3rem; }
  .page-header { padding: 6rem 0 2rem; }
  .section { padding: 3rem 0; }
  .value-steps { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .stat__value { font-size: 1.8rem; }
  .card { padding: 1.5rem; }
  .pillar { padding: 1.25rem; flex-direction: column; }
  .enquiry-type { padding: 1.5rem; }
  .platform-card { padding: 1.5rem; }
  .case-card { padding: 1.5rem; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
}
