/* ============================================
   Tomer Jakov — style.css v2.0
   ============================================ */

/* ======== 1. RESET ======== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  background: #050c1a;
  color: #f5f5f5;
  font-family: 'Heebo', system-ui, sans-serif;
  font-size: clamp(17px, 1.3vw, 32px);
  line-height: 1.92;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ======== AMBIENT BACKGROUND ORBS ======== */
@keyframes orb-drift-a {
  0%   { transform: translate(0px,   0px)  scale(1);    }
  33%  { transform: translate(40px,  28px) scale(1.08); }
  66%  { transform: translate(-28px, 45px) scale(0.95); }
  100% { transform: translate(0px,   0px)  scale(1);    }
}
@keyframes orb-drift-b {
  0%   { transform: translate(0px,   0px)  scale(1);    }
  40%  { transform: translate(-32px, 38px) scale(1.06); }
  70%  { transform: translate(20px, -28px) scale(0.97); }
  100% { transform: translate(0px,   0px)  scale(1);    }
}
@keyframes orb-drift-c {
  0%   { transform: translate(0px,  0px)   scale(1);    }
  50%  { transform: translate(26px, -32px) scale(1.05); }
  100% { transform: translate(0px,  0px)   scale(1);    }
}
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}
.orb--a {
  width: 70vw;
  height: 38vh;
  top: -4%;
  left: -8%;
  background: radial-gradient(ellipse, rgba(22,52,110,0.55) 0%, transparent 70%);
  animation: orb-drift-a 30s ease-in-out infinite;
}
.orb--b {
  width: 55vw;
  height: 32vh;
  top: 36%;
  right: -10%;
  background: radial-gradient(ellipse, rgba(14,40,92,0.48) 0%, transparent 70%);
  animation: orb-drift-b 36s ease-in-out infinite;
  animation-delay: -12s;
}
.orb--c {
  width: 58vw;
  height: 28vh;
  bottom: 8%;
  left: 4%;
  background: radial-gradient(ellipse, rgba(18,44,96,0.42) 0%, transparent 70%);
  animation: orb-drift-c 24s ease-in-out infinite;
  animation-delay: -7s;
}
.orb--d {
  width: 42vw;
  height: 22vh;
  top: 60%;
  right: 8%;
  background: radial-gradient(ellipse, rgba(10,28,68,0.38) 0%, transparent 70%);
  animation: orb-drift-a 40s ease-in-out infinite reverse;
  animation-delay: -20s;
}
@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
}

/* ======== A11Y UTILITIES ======== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10000;
  padding: 12px 20px;
  background: #ffbe00;
  color: #1a0a00;
  font-family: 'Heebo', system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  border-radius: 6px;
  transform: translateY(-200%);
  transition: transform 0.18s ease-out;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid #050c1a;
  outline-offset: 2px;
}

/* ======== SELF-HOSTED FONTS ========
   Heebo only, hebrew+latin subsets, served from /assets/fonts/.
   Replaces the Google Fonts CDN: no third-party origin, CSP can forbid external
   font/style. Upright only — Heebo ships no italic, so existing
   font-style:italic stays faux/synthesized. font-display:swap = no FOIT. */
@font-face{font-family:'Heebo';font-style:normal;font-weight:300;font-display:swap;src:url('assets/fonts/heebo-300.woff2') format('woff2');}
@font-face{font-family:'Heebo';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/heebo-400.woff2') format('woff2');}
@font-face{font-family:'Heebo';font-style:normal;font-weight:500;font-display:swap;src:url('assets/fonts/heebo-500.woff2') format('woff2');}
@font-face{font-family:'Heebo';font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/heebo-700.woff2') format('woff2');}
@font-face{font-family:'Heebo';font-style:normal;font-weight:900;font-display:swap;src:url('assets/fonts/heebo-900.woff2') format('woff2');}

/* ======== 2. CSS CUSTOM PROPERTIES ======== */
:root {
  /* Backgrounds */
  --color-navy-deep:    #050c1a;
  --color-navy-mid:     #091528;
  --color-navy-card:    #0f1f38;
  --color-navy-photo:   #071020;
  --color-blue-brand:   #213c73;
  --color-blue-dark:    #002561;

  /* Gold accent */
  --color-gold:         #ffbe00;
  --color-gold-hover:   #ffd040;
  --color-gold-dim:     rgba(255,190,0,0.15);
  --color-gold-ghost:   rgba(255,190,0,0.08);
  --color-gold-trace:   rgba(255,190,0,0.06);

  /* Text */
  --color-text-primary: #f5f5f5;
  --color-text-muted:   #6e90b8;
  --color-text-dim:     rgba(110,144,184,0.45);
  --color-text-warm:    rgba(245,245,245,0.82);

  /* Structural */
  --color-border:       rgba(255,190,0,0.12);
  --color-border-blue:  rgba(110,144,184,0.18);
  --color-divider:      rgba(110,144,184,0.1);

  /* Fonts */
  --font-display:    'Heebo', system-ui, sans-serif;
  --font-body:       'Heebo', system-ui, sans-serif;

  /* Type scale */
  --text-hero:     clamp(48px, 6.6vw, 150px);
  --text-hero-m:   clamp(39px, 9.7vw, 110px);
  --text-h2:       clamp(36px, 4.2vw, 80px);
  --text-h3:       clamp(20px, 1.8vw, 46px);
  --text-body:     clamp(17px, 1.3vw, 32px);
  --text-body-sm:  clamp(15px, 1.1vw, 28px);
  --text-small:    15px;
  --text-label:    15px;

  /* Line heights */
  --lh-hero:  1.06;
  --lh-h2:    1.15;
  --lh-body:  1.92;
  --lh-cards: 1.78;
  --lh-bio:   2.00;

  /* Letter spacing */
  --ls-label: 0.22em;
  --ls-nav:   0.15em;

  /* Spacing */
  --section-pad-v:  80px;
  --section-pad-h:  7%;
  --card-pad:       36px;
  --card-radius:    16px;

  /* Shadows */
  --shadow-card:  0 4px 24px rgba(0,0,0,0.25);
  --shadow-gold:  0 14px 32px rgba(255,190,0,0.32);

  /* Easing */
  --ease-out:     cubic-bezier(.22,1,.36,1);
  --ease-reveal:  cubic-bezier(.16,1,.3,1);
  --ease-photo:   cubic-bezier(.25,.46,.45,.94);

  /* Radius */
  --r-photo: 20px;
}

/* ======== 3. BASE TYPOGRAPHY ======== */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--color-text-primary);
  line-height: var(--lh-h2);
}
h2 { font-size: var(--text-h2); font-weight: 900; }
h3 { font-size: var(--text-h3); font-weight: 700; }

.eyebrow {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--color-gold);
}

.gold { color: var(--color-gold); }

/* ======== 4. KEYFRAMES ======== */

/* Page load */
@keyframes riseUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Hero effects */
@keyframes scanSweep {
  0%, 100% { top: -2px; opacity: 0; }
  5%       { opacity: 1; }
  95%      { opacity: 1; }
  50%      { top: 100%; }
}
@keyframes scrollWheel {
  0%        { transform: translateY(0); opacity: 0; }
  20%       { opacity: 1; }
  100%      { transform: translateY(10px); opacity: 0; }
}
@keyframes sparkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%      { opacity: 0.8; transform: scale(1.3); }
}

/* Scroll reveal — NEW in v2 */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes revealCard {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes revealPhoto {
  from { opacity: 0; transform: scale(1.06); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes revealSlide {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes orbitPulse {
  0%   { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes drawLine {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}
@keyframes revealFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ======== 5. SCROLL REVEAL STATES ======== */
[data-reveal] {
  opacity: 0;
}
[data-reveal].is-revealed {
  animation-fill-mode: both;
}
[data-reveal="up"].is-revealed {
  animation: revealUp 0.85s var(--ease-reveal) both;
}
[data-reveal="card"].is-revealed {
  animation: revealCard 0.7s var(--ease-reveal) both;
}
[data-reveal="photo"].is-revealed {
  animation: revealPhoto 1s var(--ease-photo) both;
}
[data-reveal="slide"].is-revealed {
  animation: revealSlide 0.9s var(--ease-reveal) both;
}
[data-reveal="line"].is-revealed {
  animation: drawLine 0.6s var(--ease-reveal) both;
}
[data-reveal="fade"].is-revealed {
  animation: revealFade 0.85s var(--ease-reveal) both;
}

/* Delay classes */
[data-reveal-delay="80"].is-revealed  { animation-delay: 80ms; }
[data-reveal-delay="100"].is-revealed { animation-delay: 100ms; }
[data-reveal-delay="160"].is-revealed { animation-delay: 160ms; }
[data-reveal-delay="200"].is-revealed { animation-delay: 200ms; }
[data-reveal-delay="220"].is-revealed { animation-delay: 220ms; }
[data-reveal-delay="240"].is-revealed { animation-delay: 240ms; }
[data-reveal-delay="300"].is-revealed { animation-delay: 300ms; }
[data-reveal-delay="320"].is-revealed { animation-delay: 320ms; }
[data-reveal-delay="360"].is-revealed { animation-delay: 360ms; }

/* ======== 6. BUTTONS ======== */
.btn-primary {
  display: inline-block;
  color: #1a0a00;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(15px, 1.2vw, 17px);
  border: none;
  cursor: pointer;
  position: relative;
  background: linear-gradient(175deg,
    #ffd24a 0%,
    #ffbe00 50%,
    #c98e00 100%
  );
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.50),
    inset 0 -1.5px 0 rgba(80,40,0,0.22),
    0 1px 2px rgba(255,190,0,0.18),
    0 8px 24px rgba(5,12,26,0.55),
    0 2px 6px rgba(5,12,26,0.4);
  transition: box-shadow 0.22s, transform 0.22s;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7) 50%, transparent);
  border-radius: 100px;
  pointer-events: none;
}
.btn-primary:hover {
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.55),
    inset 0 -1.5px 0 rgba(80,40,0,0.25),
    0 1px 2px rgba(255,190,0,0.25),
    0 12px 32px rgba(5,12,26,0.65),
    0 3px 8px rgba(5,12,26,0.45);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  color: rgba(245, 248, 255, 0.88);
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(15px, 1.2vw, 17px);
  border: none;
  cursor: pointer;
  position: relative;
  background: rgba(200, 220, 255, 0.07);
  backdrop-filter: blur(32px) saturate(200%) brightness(1.2);
  -webkit-backdrop-filter: blur(32px) saturate(200%) brightness(1.2);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.25),
    inset 0 -1px 0 rgba(255,255,255,0.06),
    0 0 0 1px rgba(255,255,255,0.14),
    0 6px 24px rgba(0,0,0,0.18),
    0 2px 6px rgba(0,0,0,0.15);
  transition: box-shadow 0.22s, transform 0.22s, color 0.22s;
}
/* Inline modifier: tighter pill that hugs its text — used in bio block etc. */
.btn-ghost.btn-ghost--inline {
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  align-self: flex-start;
  width: auto;
}
.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.12) 0%,
    rgba(255,255,255,0.03) 35%,
    transparent 60%
  );
  pointer-events: none;
}
.btn-ghost::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6) 50%, transparent);
  border-radius: 100px;
  pointer-events: none;
}
.btn-ghost:hover {
  color: #fff;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.32),
    0 0 0 1px rgba(255,190,0,0.35),
    0 8px 32px rgba(0,0,0,0.22);
  transform: translateY(-1px);
}

/* ======== 7. NAVIGATION ======== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(4%, 28px);
  height: 54px;
  border-radius: 0;
  /* Liquid Chrome glass */
  background: linear-gradient(160deg,
    rgba(30, 55, 100, 0.38) 0%,
    rgba(6, 14, 30, 0.28) 50%,
    rgba(10, 22, 45, 0.35) 100%
  );
  backdrop-filter: blur(48px) saturate(200%) brightness(1.12);
  -webkit-backdrop-filter: blur(48px) saturate(200%) brightness(1.12);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(255,255,255,0.06),
    inset 1px 0 0 rgba(255,255,255,0.08),
    inset -1px 0 0 rgba(255,255,255,0.08),
    0 0 0 0.5px rgba(180,200,255,0.2),
    0 0 0 1px rgba(143,163,192,0.12),
    0 8px 32px rgba(0,0,0,0.28),
    0 2px 8px rgba(0,0,0,0.2);
  animation: fadeDown 0.8s var(--ease-out) both;
}
/* Inner light gradient — refraction body */
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.14) 0%,
    rgba(255,255,255,0.04) 30%,
    transparent 55%,
    rgba(255,190,0,0.03) 100%
  );
  pointer-events: none;
}
/* Specular highlight streak on top edge */
.nav::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.55) 35%,
    rgba(255,255,255,0.65) 50%,
    rgba(255,255,255,0.55) 65%,
    transparent 100%
  );
  border-radius: 0;
  pointer-events: none;
}
.nav-brand a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s;
  position: relative;
  z-index: 1;
}
.nav-brand a:hover {
  opacity: 1;
}
.nav-logo-img {
  height: 30px;
  width: auto;
  display: block;
}
.nav-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-text-primary);
  letter-spacing: var(--ls-nav);
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 1;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: rgba(210, 228, 248, 0.9);
  letter-spacing: var(--ls-nav);
  transition: color 0.2s;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.nav-links a:hover {
  color: #f5f5f5;
}
.nav-links a[aria-current="page"] {
  color: var(--color-gold);
}
.nav-links a[aria-current="page"]::after {
  content: '';
  display: block;
  height: 1px;
  margin-top: 4px;
  background: var(--color-gold);
  opacity: 0.7;
}
.nav-cta {
  display: inline-block;
  color: #1a0a00;
  padding: 7px 18px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  position: relative;
  background: linear-gradient(175deg,
    #ffd24a 0%,
    #ffbe00 50%,
    #c98e00 100%
  );
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.50),
    inset 0 -1.5px 0 rgba(80,40,0,0.22),
    0 1px 2px rgba(255,190,0,0.18),
    0 6px 18px rgba(5,12,26,0.5),
    0 2px 5px rgba(5,12,26,0.4);
  transition: box-shadow 0.2s, transform 0.15s;
}
.nav-cta::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7) 50%, transparent);
  border-radius: 100px;
  pointer-events: none;
}
.nav-cta:hover {
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.55),
    inset 0 -1.5px 0 rgba(80,40,0,0.25),
    0 1px 2px rgba(255,190,0,0.25),
    0 8px 22px rgba(5,12,26,0.6),
    0 2px 6px rgba(5,12,26,0.45);
  transform: translateY(-1px);
}

/* ======== 8. HERO ======== */
.hero {
  position: relative;
  min-height: clamp(560px, 95vh, 1040px);
  max-height: 1040px;
  display: flex;
  align-items: center;
  padding: 100px var(--section-pad-h) 43px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 95%, rgba(218,165,32,0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 72% 40%, rgba(20,45,90,0.50) 0%, transparent 60%),
    linear-gradient(to top, rgba(218,165,32,0.06) 0%, transparent 35%),
    var(--color-navy-deep);
}

/* Dot-grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(rgba(110,144,184,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Scrim overlay — darkens behind text, fades toward video */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    to left,
    rgba(5, 12, 26, 0.55) 0%,
    rgba(5, 12, 26, 0.3) 40%,
    rgba(5, 12, 26, 0.08) 70%,
    transparent 100%
  );
}

.hero-bridge {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 80%;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  animation: fadein 2.5s ease 0.4s both;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.15) 70%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.15) 70%, rgba(0,0,0,0) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 760px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.2vw, 28px);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: #9ab0c4;
  text-shadow: 0 1px 8px rgba(5, 12, 26, 0.6);
  margin-bottom: 14px;
  cursor: default;
  pointer-events: none;
  animation: riseUp 0.9s var(--ease-out) 0.3s both;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 92px);
  font-weight: 900;
  line-height: 1.12;
  color: #dbe2f7;
  text-shadow: 0 2px 16px rgba(5, 12, 26, 0.7), 0 1px 3px rgba(5, 12, 26, 0.9);
  margin-bottom: 18px;
  animation: riseUp 0.9s var(--ease-out) 0.46s both;
}
.hero-h1-gold {
  color: var(--color-gold);
}

.hero-subtext {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.25vw, 22px);
  font-weight: 400;
  line-height: 1.75;
  color: #c8d4e0;
  text-shadow: 0 1px 10px rgba(5, 12, 26, 0.6), 0 1px 2px rgba(5, 12, 26, 0.8);
  max-width: none;
  margin-bottom: 24px;
  animation: riseUp 0.9s var(--ease-out) 0.62s both;
}
.hero-subtext-emphasis {
  font-weight: 500;
  color: #e2eaf2;
}

/* Hero CTA buttons */
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 38px;
  animation: riseUp 0.9s var(--ease-out) 0.78s both;
}
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 42px;
  animation: riseUp 0.9s var(--ease-out) 0.92s both;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--color-gold);
  text-shadow: 0 2px 12px rgba(5, 12, 26, 0.6);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 300;
  color: var(--color-text-muted);
  text-shadow: 0 1px 6px rgba(5, 12, 26, 0.5);
  line-height: 1.4;
}

/* Vertical label */
.hero-vertical-label {
  position: absolute;
  left: 2.5%;
  top: 50%;
  z-index: 10;
  transform: translateY(-50%) rotate(90deg);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(110,144,184,0.3);
  white-space: nowrap;
  animation: fadein 0.6s ease 2s both;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 7%;
  z-index: 10;
  animation: fadein 0.7s ease 2.1s both;
}
.scroll-mouse {
  width: 20px;
  height: 32px;
  border: 1px solid rgba(80,69,50,0.15);
  border-radius: 12px;
  position: relative;
}
.scroll-mouse::after {
  content: '';
  width: 3px;
  height: 6px;
  background: rgba(110,144,184,0.5);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2.5s ease-in-out infinite;
}

/* Sparkle decoration */
.sparkle {
  position: absolute;
  width: 24px;
  height: 24px;
  z-index: 10;
  animation: sparkle 4s ease-in-out infinite;
  pointer-events: none;
}

/* ======== 9. SECTORS LINE + BLUE SEPARATOR ======== */
/* Thin gradient line separating the rotating logos strip
   above from the static sectors line below. Fades at edges
   to read as a soft demarcation, not a hard divider. */
.section-blue-sep {
  height: 1px;
  margin: 22px 0 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(94,140,200,0.45) 50%,
    transparent 100%
  );
}

.sectors-line {
  padding: 18px 24px 4px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #0c2545;
}
.sectors-item {
  display: inline-block;
  padding: 0 4px;
}
.sectors-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--color-gold);
  border-radius: 50%;
  margin: 0 14px;
  vertical-align: middle;
  opacity: 0.85;
}
@media (max-width: 640px) {
  .sectors-line {
    font-size: 12px;
    letter-spacing: 0.04em;
    padding: 16px 16px 2px;
  }
  .sectors-dot { margin: 0 8px; }
}

/* ======== 9b. LOGOS STRIP ======== */
.logos-strip {
  padding: 12px 0 14px;
  background: #f4f1e8;
  border-top: 1px solid rgba(12,37,69,0.12);
  border-bottom: 1px solid rgba(12,37,69,0.12);
  overflow: hidden;
}

.logos-strip__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0c2545;
  opacity: 0.7;
  text-align: center;
  margin-bottom: 20px;
}

/* Ticker viewport — clips the scrolling track, fades edges */
.logos-ticker {
  overflow: hidden;
  direction: ltr; /* force LTR so logos lay out left→right regardless of page RTL */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

/* Scrolling track — duplicated logos for seamless loop.
   Animation: from -50% → 0% moves the track rightward so logos
   enter from the left and exit to the right, then loop seamlessly. */
.logos-ticker__track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: logos-scroll 40s linear infinite;
  padding: 4px 0;
  direction: ltr;
}

@keyframes logos-scroll {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-item img {
  height: 36px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: opacity 0.2s, filter 0.2s;
  mix-blend-mode: multiply;
}

.logos-ticker__track:hover .logo-item img {
  opacity: 1;
}

/* ======== 10. SECTIONS — SHARED ======== */
.section {
  padding: var(--section-pad-v) var(--section-pad-h);
}
.section--alt {
  background: transparent;
  border-top: 0.5px solid var(--color-divider);
  border-bottom: 0.5px solid var(--color-divider);
}
.section-header {
  margin-bottom: 48px;
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 900;
  line-height: var(--lh-h2);
}

/* ======== 11. PROBLEM SECTION ======== */
.problem-section {
  background: transparent;
  padding: 96px var(--section-pad-h) 112px;
}
.problem-header {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.problem-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 20px;
}
.problem-subhead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 18px);
  color: #9ab0c4;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1160px;
  margin: 0 auto;
}
.problem-card {
  background: var(--color-navy-card);
  border: 1px solid rgba(143, 163, 192, 0.1);
  border-radius: var(--card-radius);
  padding: 36px 32px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.problem-card:hover {
  border-color: rgba(255, 190, 0, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.problem-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 190, 0, 0.08);
  border: 1px solid rgba(255, 190, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.problem-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.35;
  color: #ffffff;
  margin: 0;
}
.problem-card__body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-body-sm);
  color: #9ab0c4;
  line-height: 1.7;
  margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .problem-section {
    padding: 64px var(--section-pad-h) 72px;
  }
  .problem-header {
    margin-bottom: 40px;
  }
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .problem-card {
    padding: 28px 24px;
  }
}

/* ======== 12. BIOGRAPHY SECTION ======== */
.bio-section {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow: hidden;
  background: transparent;
}
.bio-text {
  flex: 1 1 auto;
  padding: 80px 7% 80px 5%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  z-index: 10;
}
.bio-eyebrow {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
}
.bio-h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 75px);
  font-weight: 900;
  line-height: var(--lh-h2);
  margin-bottom: 24px;
}
.bio-h2 .dim-line {
  display: block;
  color: rgba(110,144,184,0.6);
  font-weight: 700;
  font-style: italic;
}
.bio-h2 .payoff-line {
  display: block;
  color: var(--color-text-primary);
  font-weight: 900;
}
.bio-body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: var(--lh-bio);
  color: var(--color-text-warm);
  margin-bottom: 16px;
}
.bio-stats {
  display: flex;
  flex-direction: row;
  gap: 48px;
  margin: 32px 0;
  padding-top: 28px;
  border-top: 0.5px solid rgba(110,144,184,0.18);
}
.bio-stat-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 6px;
}
.bio-stat-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: var(--color-text-muted);
  max-width: 100px;
  line-height: 1.4;
}

.bio-photo {
  flex: 0 0 360px;
  align-self: stretch;
  margin: 80px 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-photo, 18px);
  background: transparent;
}
.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.bio-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 60%, var(--color-navy-deep) 100%),
    linear-gradient(to right, transparent 70%, var(--color-navy-deep) 100%);
  pointer-events: none;
  z-index: 2;
}
.bio-orbit { display: none; }

/* ======== 13. WHO I WORK WITH ======== */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.profile-card {
  background: linear-gradient(145deg,
    rgba(30, 55, 100, 0.3) 0%,
    rgba(6, 14, 30, 0.22) 55%,
    rgba(10, 22, 45, 0.28) 100%
  );
  backdrop-filter: blur(20px) saturate(180%) brightness(1.08);
  -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(1.08);
  border-radius: var(--card-radius);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.14),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 0 0 0.5px rgba(180,200,255,0.15),
    0 0 0 1px rgba(143,163,192,0.08),
    0 4px 24px rgba(0,0,0,0.2);
  transition: box-shadow 0.25s, transform 0.2s;
}
/* Inner light gradient */
.profile-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--card-radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, transparent 45%);
  pointer-events: none;
}
/* Specular streak */
.profile-card::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3) 50%, transparent);
  border-radius: 100px;
  pointer-events: none;
}
.profile-card > * { position: relative; z-index: 1; }
.profile-card:hover {
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.18),
    0 0 0 1px rgba(255,190,0,0.2),
    0 8px 32px rgba(0,0,0,0.25),
    0 0 20px rgba(255,190,0,0.05);
  transform: translateY(-2px);
}
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255,200,0,0.18) 0%, rgba(255,160,0,0.1) 100%);
  backdrop-filter: blur(8px);
  box-shadow:
    inset 0 1px 0 rgba(255,220,80,0.3),
    0 0 0 1px rgba(255,190,0,0.2),
    0 2px 8px rgba(255,190,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--color-gold);
}
.profile-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}
.profile-who {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}
.profile-divider {
  width: 40px;
  height: 1px;
  background: rgba(255,190,0,0.3);
  margin: 20px 0;
}
.profile-situation {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 400;
  line-height: var(--lh-cards);
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
.profile-outcomes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profile-outcomes li {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-muted);
  display: flex;
  gap: 10px;
}
.profile-outcomes li::before {
  content: '←';
  color: var(--color-gold);
  flex-shrink: 0;
}

/* --- Featured layout: one large card + two stacked secondaries --- */
/* Cards swap between three slots (feat / sec1 / sec2) on hover.
   Slot styling is driven by [data-slot]; FLIP animation is in main.js. */
.profile-grid--featured {
  --swap-dur:   760ms;
  --swap-delay: 500ms;
  --swap-ease:  cubic-bezier(0.22, 1, 0.36, 1);

  grid-template-columns: 1.4fr 1fr;
  grid-template-areas:
    "feat sec1"
    "feat sec2";
  grid-auto-rows: minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  position: relative;
}

.profile-grid--featured .profile-card {
  cursor: pointer;
  will-change: transform;
}

/* Slot assignment via attribute */
.profile-card[data-slot="feat"] { grid-area: feat; }
.profile-card[data-slot="sec1"] { grid-area: sec1; }
.profile-card[data-slot="sec2"] { grid-area: sec2; }

/* --- Featured slot --- */
.profile-card[data-slot="feat"] {
  padding: 44px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(160deg,
    rgba(33,60,115,0.45) 0%,
    rgba(15,31,56,0.55) 50%,
    rgba(9,21,40,0.6) 100%);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.16),
    inset 0 0 0 1px rgba(143,163,192,0.10),
    0 12px 40px rgba(0,0,0,0.35);
  cursor: default;
}
.profile-card[data-slot="feat"] h3 {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 10px;
}
.profile-card[data-slot="feat"] .profile-who {
  margin-bottom: 0;
}
.profile-card[data-slot="feat"] .profile-situation--long {
  display: block;
  font-size: var(--text-body-sm);
  line-height: 1.7;
  max-width: 46ch;
  margin-bottom: 0;
  margin-top: 24px;
}

/* --- Secondary slots --- */
.profile-card[data-slot="sec1"],
.profile-card[data-slot="sec2"] {
  padding: 28px;
  background: rgba(15,31,56,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 0.5px solid var(--color-border-blue);
  box-shadow: none;
  transition: border-color 0.25s, background 0.25s;
}
.profile-card[data-slot="sec1"]::before,
.profile-card[data-slot="sec1"]::after,
.profile-card[data-slot="sec2"]::before,
.profile-card[data-slot="sec2"]::after {
  display: none;
}
.profile-card[data-slot="sec1"]:hover,
.profile-card[data-slot="sec2"]:hover {
  border-color: rgba(255,190,0,0.4);
  background: rgba(15,31,56,0.55);
}
.profile-card[data-slot="sec1"] h3,
.profile-card[data-slot="sec2"] h3 {
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}
.profile-card[data-slot="sec1"] .profile-who,
.profile-card[data-slot="sec2"] .profile-who {
  font-size: var(--text-small);
  margin-bottom: 12px;
}
.profile-card[data-slot="sec1"] .profile-situation--short,
.profile-card[data-slot="sec2"] .profile-situation--short {
  display: block;
  font-size: var(--text-small);
  line-height: 1.65;
  margin-bottom: 0;
  color: var(--color-text-muted);
}

/* --- Show/hide internal elements per slot --- */
.profile-situation--long,
.profile-situation--short { display: none; }

/* Card icon — featured only */
.profile-card[data-slot="sec1"] .card-icon,
.profile-card[data-slot="sec2"] .card-icon {
  display: none;
}

/* Numbered label — secondaries only */
.profile-num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  margin-bottom: 10px;
  display: none;
}
.profile-card[data-slot="sec1"] .profile-num,
.profile-card[data-slot="sec2"] .profile-num {
  display: block;
}

/* Badge — only on contractors card while featured */
.profile-badge {
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  padding: 6px 12px;
  border: 0.5px solid rgba(255,190,0,0.3);
  border-radius: 100px;
  margin-bottom: 22px;
  width: fit-content;
  display: none;
}
.profile-card[data-id="contractors"][data-slot="feat"] .profile-badge {
  display: inline-block;
}

/* Hover affordance — small chevron on secondary cards */
.profile-card[data-slot="sec1"]::after,
.profile-card[data-slot="sec2"]::after {
  content: '';
  display: block;
  position: absolute;
  top: 18px;
  left: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,190,0,0.08);
  border: 0.5px solid rgba(255,190,0,0.2);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffbe00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17 17 7M7 7h10v10'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.25s, transform 0.25s var(--swap-ease);
}
.profile-card[data-slot="sec1"]:hover::after,
.profile-card[data-slot="sec2"]:hover::after {
  opacity: 1;
  transform: scale(1);
}

/* During swap: lock pointer events + freeze every property except
   the FLIP transform itself. Without this, the cards' own
   border/background hover transitions fire alongside the slide and
   the chevron ::after flickers as slots reassign. Backdrop-filter
   is also disabled — recomputing the blur every frame while the
   source is in motion is the largest single perf cost in this
   animation. The inline `transition: transform ... !important` set
   by the JS still wins on specificity, so the slide itself runs. */
.profile-grid.is-swapping .profile-card {
  pointer-events: none;
  transition: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.profile-grid.is-swapping .profile-card::after {
  opacity: 0 !important;
  transition: none !important;
}

@media (max-width: 768px) {
  .profile-grid--featured {
    grid-template-columns: 1fr;
    grid-template-areas: "feat" "sec1" "sec2";
  }
  .profile-card[data-slot="feat"] {
    padding: 32px 28px;
  }
  .profile-card[data-slot="feat"] h3 {
    font-size: 22px;
  }
}

/* ======== 13B. TESTIMONIALS ======== */
.testimonials-section {
  padding-bottom: 64px;
}
.testimonials-carousel {
  --cards-visible: 2;
  --carousel-gap: 24px;
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 28px 0;
}
.testimonials-track {
  display: flex;
  gap: var(--carousel-gap);
  transition: transform 0.5s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}
.testimonials-track.no-transition {
  transition: none;
}
.testimonial-card {
  min-width: var(--card-width, 320px);
  max-width: var(--card-width, 320px);
  flex-shrink: 0;
  padding: 40px 32px 36px;
  background: linear-gradient(175deg, #fdfaf2 0%, #f4f1e8 45%, #e8e2d0 100%);
  border: 1px solid rgba(12, 37, 69, 0.1);
  border-radius: var(--card-radius);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -3px 14px rgba(12,37,69,0.09),
    0 16px 48px rgba(5,12,26,0.4),
    0 2px 8px rgba(5,12,26,0.2);
  transition: box-shadow 0.3s, transform 0.3s;
}
/* Cable-stay bridge pattern — pylon bottom-left, cables fan to top-right */
.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--card-radius);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='480' viewBox='0 0 400 480'%3E%3Cg fill='none'%3E%3Cline x1='70' y1='480' x2='70' y2='115' stroke='rgba(20%2C55%2C120%2C0.2)' stroke-width='1.2'/%3E%3Cline x1='70' y1='115' x2='160' y2='480' stroke='rgba(20%2C55%2C120%2C0.15)' stroke-width='0.8'/%3E%3Cline x1='70' y1='115' x2='220' y2='480' stroke='rgba(20%2C55%2C120%2C0.14)' stroke-width='0.8'/%3E%3Cline x1='70' y1='115' x2='290' y2='480' stroke='rgba(20%2C55%2C120%2C0.13)' stroke-width='0.8'/%3E%3Cline x1='70' y1='115' x2='360' y2='480' stroke='rgba(20%2C55%2C120%2C0.11)' stroke-width='0.8'/%3E%3Cline x1='70' y1='115' x2='410' y2='420' stroke='rgba(20%2C55%2C120%2C0.10)' stroke-width='0.8'/%3E%3Cline x1='70' y1='115' x2='410' y2='300' stroke='rgba(20%2C55%2C120%2C0.10)' stroke-width='0.8'/%3E%3Cline x1='70' y1='115' x2='410' y2='180' stroke='rgba(20%2C55%2C120%2C0.09)' stroke-width='0.8'/%3E%3Cline x1='70' y1='115' x2='350' y2='0' stroke='rgba(20%2C55%2C120%2C0.08)' stroke-width='0.8'/%3E%3Cline x1='70' y1='115' x2='220' y2='0' stroke='rgba(20%2C55%2C120%2C0.07)' stroke-width='0.8'/%3E%3Cline x1='0' y1='380' x2='400' y2='380' stroke='rgba(20%2C55%2C120%2C0.09)' stroke-width='0.7'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: bottom left;
  -webkit-mask-image: linear-gradient(130deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 35%, rgba(0,0,0,0.15) 65%, transparent 100%);
  mask-image: linear-gradient(130deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 35%, rgba(0,0,0,0.15) 65%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
/* Specular highlight sweep across top-right */
.testimonial-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--card-radius);
  background: linear-gradient(160deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.1) 28%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}
.testimonial-card > * { position: relative; z-index: 1; }
@media (hover: hover) {
  .testimonial-card:hover {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.6),
      0 0 0 1px rgba(255,190,0,0.5),
      0 12px 36px rgba(5,12,26,0.3);
    transform: translateY(-3px);
  }
}
.testimonial-text {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 400;
  line-height: var(--lh-cards);
  color: #1a2e4a;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  padding-top: 20px;
  position: relative;
}
.testimonial-author::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: rgba(12,37,69,0.25);
}
.testimonial-name {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--color-gold);
}
.testimonial-company {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 400;
  color: rgba(12,37,69,0.7);
}

/* Carousel arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15,31,56,0.8);
  border: 1px solid rgba(255,190,0,0.25);
  color: var(--color-gold);
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s, opacity 0.2s;
  opacity: 0;
}
.testimonials-carousel:hover .carousel-arrow,
.carousel-arrow:focus-visible {
  opacity: 1;
}
.carousel-arrow:hover {
  border-color: var(--color-gold);
  background: rgba(255,190,0,0.1);
}
.carousel-arrow:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}
.carousel-arrow--next {
  left: 0;
}
.carousel-arrow--prev {
  right: 0;
}

/* Carousel dots — rendered as <button> for keyboard accessibility */
.testimonials-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 28px;
}
.carousel-pause {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(110,144,184,0.7);
  cursor: pointer;
  margin-inline-end: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.2s;
}
.carousel-pause:hover {
  color: var(--color-gold);
}
.carousel-pause:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  color: var(--color-gold);
}
.carousel-pause__icon { display: block; }
.carousel-pause__icon--play { display: none; }
.testimonials-carousel.is-paused .carousel-pause__icon--pause { display: none; }
.testimonials-carousel.is-paused .carousel-pause__icon--play { display: block; }
/* The button itself is 24x24 (touch target); the visible bullet is
   drawn as a small inset background — keeps the look while satisfying
   WCAG 2.5.8. */
.testimonials-dots .dot {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background-color: transparent;
  background-image: radial-gradient(circle, rgba(110,144,184,0.25) 0 4px, transparent 5px);
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  transition: background-image 0.3s ease;
}
.testimonials-dots .dot.active {
  background-image: linear-gradient(var(--color-gold), var(--color-gold));
  background-size: 24px 8px;
  background-position: center;
  border-radius: 4px;
}
.testimonials-dots .dot:hover {
  background-image: radial-gradient(circle, rgba(110,144,184,0.5) 0 4px, transparent 5px);
}
.testimonials-dots .dot.active:hover {
  background-image: linear-gradient(var(--color-gold), var(--color-gold));
}
.testimonials-dots .dot:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 0;
  border-radius: 50%;
}

/* Keyboard focus on swappable profile cards */
.profile-card[tabindex="0"]:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

/* ======== 14. SERVICES ======== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: linear-gradient(145deg,
    rgba(30, 55, 100, 0.3) 0%,
    rgba(6, 14, 30, 0.22) 55%,
    rgba(10, 22, 45, 0.28) 100%
  );
  backdrop-filter: blur(20px) saturate(180%) brightness(1.08);
  -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(1.08);
  border-radius: var(--card-radius);
  padding: var(--card-pad) 28px;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.14),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 0 0 0.5px rgba(180,200,255,0.15),
    0 0 0 1px rgba(143,163,192,0.08),
    0 4px 24px rgba(0,0,0,0.2);
  transition: box-shadow 0.3s, transform 0.3s;
}
/* Inner light gradient */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--card-radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, transparent 45%);
  pointer-events: none;
}
/* Specular streak */
.service-card::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3) 50%, transparent);
  border-radius: 100px;
  pointer-events: none;
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover {
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.18),
    0 0 0 1px rgba(255,190,0,0.2),
    0 8px 32px rgba(0,0,0,0.25),
    0 0 20px rgba(255,190,0,0.05);
  transform: translateY(-4px);
}
.service-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 42px;
  background: linear-gradient(180deg, rgba(255,190,0,0.7) 0%, rgba(255,190,0,0.25) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
}
.service-title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 14px;
}
.service-body {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 400;
  line-height: var(--lh-cards);
  color: var(--color-text-muted);
  margin-bottom: 20px;
}
.service-arrow {
  color: var(--color-gold);
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.7;
  line-height: 0;
}
.service-arrow svg {
  display: block;
}
.service-card:hover .service-arrow {
  transform: translateY(-3px);
  opacity: 1;
}

/* ד: Gold top-edge trace (RTL: draws right → left) */
.service-trace {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  pointer-events: none;
}
.service-card:hover .service-trace {
  transform: scaleX(1);
}

/* ב: Icon stroke-draw on hover */
.service-arrow svg path,
.service-arrow svg rect,
.service-arrow svg circle,
.service-arrow svg line,
.service-arrow svg polyline {
  stroke-dasharray: var(--plen, 80);
  stroke-dashoffset: 0;
}
.service-card:hover .service-arrow svg path,
.service-card:hover .service-arrow svg rect,
.service-card:hover .service-arrow svg circle,
.service-card:hover .service-arrow svg line,
.service-card:hover .service-arrow svg polyline {
  animation: svc-stroke-redraw 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.06s forwards;
}
@keyframes svc-stroke-redraw {
  0%   { stroke-dashoffset: var(--plen, 80); }
  100% { stroke-dashoffset: 0; }
}

/* Service bullet points */
.service-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.service-bullets li {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  padding-right: 16px;
  position: relative;
}
.service-bullets li::before {
  content: '◆';
  color: rgba(255,190,0,0.5);
  font-size: 8px;
  position: absolute;
  right: 0;
  top: 0.5em;
}


/* Service outcome line */
.service-outcome {
  font-family: var(--font-body);
  font-size: 14px;
  font-style: italic;
  color: var(--color-gold);
  opacity: 0.7;
  line-height: 1.6;
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 190, 0, 0.15);
  transition: opacity 0.25s ease;
}
.service-card:hover .service-outcome {
  opacity: 1;
}

/* ======== 15. PHILOSOPHY QUOTE ======== */
.quote-section {
  padding: 0 var(--section-pad-h) 60px;
}
.quote-block {
  background: var(--color-navy-mid);
  border-right: 3px solid var(--color-gold);
  border-radius: 16px 0 0 16px;
  padding: 40px 48px;
  position: relative;
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  color: var(--color-text-primary);
}
.quote-block cite {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 300;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  margin-top: 20px;
}

/* ======== 16. TRACK RECORD ======== */
.record-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.record-item {
  padding: 24px 28px;
  border: 0.5px solid rgba(143,163,192,0.15);
  border-radius: 12px;
  background: rgba(19,40,71,0.3);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color 0.2s, background 0.2s;
}
.record-item:hover {
  border-color: rgba(255,190,0,0.3);
  background: rgba(19,40,71,0.55);
}
.record-arrow {
  font-size: 16px;
  color: var(--color-gold);
  flex-shrink: 0;
  line-height: 1.78;
}
.record-text {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 400;
  line-height: var(--lh-cards);
  color: var(--color-text-muted);
}
.record-text strong {
  color: var(--color-text-primary);
  font-weight: 500;
}

/* ======== 17. CTA SECTION ======== */
.cta-section {
  padding: 100px 40px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 50%, rgba(33,60,115,0.5) 0%, transparent 70%);
}
.cta-section--with-bg {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-section--with-bg .cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.cta-section--with-bg .cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
  filter: blur(1px);
}
.cta-section--with-bg .cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(5,12,26,0.55) 0%, var(--color-navy-deep) 75%);
}
.cta-section .eyebrow {
  justify-content: center;
}
.cta-section .eyebrow::before { display: none; }
.cta-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 900;
  line-height: var(--lh-h2);
  margin-bottom: 16px;
}
.cta-section p {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-text-muted);
  margin-bottom: 32px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ======== 18. FOOTER ======== */
.footer-tagline {
  flex-basis: 100%;
  text-align: center;
  font-style: italic;
  font-size: 15px;
  color: rgba(154,176,196,0.55);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.bio-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
}
.footer {
  background: transparent;
  border-top: 0.5px solid rgba(143,163,192,0.15);
  padding: 32px 40px 40px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(255,190,0,0.4);
  background: rgba(255,190,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11px;
  color: var(--color-gold);
}
.footer-name {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--color-text-muted);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-muted);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--color-text-primary);
}
.footer-copy {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-dim);
}

/* ======== 18b. LEGAL PAGES (accessibility, privacy) ======== */
.legal-section {
  padding: 140px var(--section-pad-h) 80px;
}
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}
.legal-content .eyebrow {
  margin-bottom: 14px;
}
.legal-content .section-title {
  margin-bottom: 12px;
}
.legal-meta {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 48px;
  letter-spacing: 0.04em;
}
.legal-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  color: #f5f5f5;
  margin: 40px 0 14px;
  line-height: 1.4;
}
.legal-body {
  color: #9ab0c4;
  font-size: var(--text-body-sm);
  line-height: 1.95;
  margin-bottom: 16px;
}
.legal-body a {
  color: var(--color-gold);
  border-bottom: 1px solid rgba(255,190,0,0.35);
  transition: border-color 0.2s;
}
.legal-body a:hover,
.legal-body a:focus-visible {
  border-color: var(--color-gold);
}
.legal-body strong {
  color: #f5f5f5;
  font-weight: 700;
}
.legal-list {
  color: #9ab0c4;
  font-size: var(--text-body-sm);
  line-height: 1.9;
  list-style: disc;
  padding-inline-start: 24px;
  margin: 8px 0 24px;
}
.legal-list li {
  margin-bottom: 10px;
}
.legal-list li::marker {
  color: rgba(255,190,0,0.6);
}
.legal-contact {
  background: rgba(15,31,56,0.4);
  border: 1px solid rgba(255,190,0,0.18);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 24px 0 32px;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 24px;
  align-items: baseline;
}
.legal-contact dt {
  font-weight: 500;
  color: var(--color-text-muted);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.legal-contact dd {
  color: #f5f5f5;
  font-size: var(--text-body-sm);
}
.legal-contact dd a {
  color: var(--color-gold);
  border-bottom: 1px solid rgba(255,190,0,0.35);
}
@media (max-width: 600px) {
  .legal-contact {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }
  .legal-contact dt {
    margin-top: 8px;
  }
}

/* ======== 18c. 404 PAGE ======== */
.not-found-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px var(--section-pad-h) 80px;
}
.not-found-content {
  max-width: 620px;
  text-align: center;
}
.not-found-code {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(96px, 18vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, rgba(255,190,0,0.6), rgba(255,190,0,0.05));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
  user-select: none;
}
.not-found-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  color: #f5f5f5;
  line-height: 1.2;
  margin-bottom: 18px;
}
.not-found-body {
  font-size: clamp(16px, 1.4vw, 19px);
  color: #9ab0c4;
  line-height: 1.7;
  margin-bottom: 18px;
}
.not-found-soft {
  color: var(--color-text-muted);
}
.not-found-suggest {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.not-found-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.not-found-links {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(143,163,192,0.12);
  padding-top: 28px;
}
.not-found-links a {
  font-size: 14px;
  color: var(--color-text-muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.not-found-links a:hover,
.not-found-links a:focus-visible {
  color: var(--color-gold);
  border-bottom-color: rgba(255,190,0,0.4);
}

/* ======== 19. CONTACT PAGE ======== */
.contact-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px var(--section-pad-h) 80px;
}
.contact-form {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-text-muted);
}
.form-group input,
.form-group textarea {
  background: rgba(15,31,56,0.6);
  border: 1px solid rgba(143,163,192,0.18);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  color: var(--color-text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus-visible,
.form-group textarea:focus-visible {
  outline: 2px solid #ffbe00;
  outline-offset: 2px;
  border-color: rgba(255,190,0,0.7);
}
.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #e07070;
}
.form-error {
  display: none;
  margin-top: 6px;
  font-size: 14px;
  color: #e07070;
  line-height: 1.4;
}
.form-error.is-visible {
  display: block;
}
.form-privacy {
  margin-top: 18px;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.form-privacy a {
  color: var(--color-gold);
  border-bottom: 1px solid rgba(255,190,0,0.35);
}
.form-privacy a:hover,
.form-privacy a:focus-visible {
  border-bottom-color: var(--color-gold);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ======== 20. SERVICES PAGE ======== */
/* === Services Page (Editorial) === */
.services-page-section {
  padding: 120px var(--section-pad-h) var(--section-pad-v);
}

/* Hero */
.services-page-hero {
  padding: 20px 0 40px;
  /* No title cap — the title spans the section width like about/courses titles;
     the lede paragraphs stay readable via their own max-width below. */
}
.services-page-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-h2);
  line-height: var(--lh-h2);
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  margin: 24px 0 28px;
}
.services-page-lede {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 300;
  line-height: 1.6;
  color: #9ab0c4;
  max-width: 680px;
}

/* Hairline rule between chapters */
.chapter-rule {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,190,0,0.22), transparent);
  margin: 0;
}

/* Chapter */
.chapter {
  position: relative;
  padding: 70px 0;
}
.chapter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 80px;
  position: relative;
}
.chapter--flip .chapter-grid {
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
}
.chapter--flip .chapter-content { order: 2; }
.chapter--flip .chapter-deliverables { order: 1; }

/* Big background numeral */
.chapter-numeral {
  position: absolute;
  top: 60px;
  left: -10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(160px, 22vw, 300px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, rgba(255,190,0,0.18), rgba(255,190,0,0.02));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.chapter--flip .chapter-numeral {
  left: auto;
  right: -10px;
}

/* Chapter content column */
.chapter-content {
  position: relative;
  z-index: 1;
}
.chapter-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.chapter-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--color-text-primary);
  margin-bottom: 32px;
  max-width: 620px;
}
.chapter-lead {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--color-text-primary);
  margin-bottom: 24px;
  max-width: 580px;
}
.chapter-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: #9ab0c4;
  margin-bottom: 40px;
  max-width: 580px;
}
.chapter-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.4;
  color: var(--color-text-primary);
  padding: 8px 28px 8px 0;
  border-right: 2px solid var(--color-gold);
  max-width: 540px;
  margin: 0;
}

/* Deliverables block — liquid glass */
.chapter-deliverables {
  position: relative;
  z-index: 1;
  align-self: start;
  position: sticky;
  top: 100px;
  padding: 36px 32px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.015) 45%, rgba(255,190,0,0.04) 100%),
    rgba(15,31,56,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(255,190,0,0.06),
    0 20px 50px rgba(0,0,0,0.35),
    0 1px 2px rgba(0,0,0,0.2);
  overflow: hidden;
}
.chapter-deliverables::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(140% 70% at 50% 0%, rgba(255,255,255,0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.chapter-deliverables::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 60% at 100% 100%, rgba(255,190,0,0.07), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.chapter-deliverables > * {
  position: relative;
  z-index: 1;
}
.deliverables-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.deliverables-label span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.deliverables-rule {
  flex: 1;
  height: 1px;
  background: rgba(255,190,0,0.3);
}
.deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.deliverables-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  align-items: flex-start;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: #9ab0c4;
}
.deliverables-list li:first-child { padding-top: 0; }
.deliverables-list li:last-child { border-bottom: none; padding-bottom: 0; }
.deliverables-list li strong {
  color: var(--color-text-primary);
  font-weight: 500;
}
.deliv-marker {
  color: rgba(255,190,0,0.5);
  font-size: 10px;
  line-height: 1.6;
  margin-top: 4px;
  flex-shrink: 0;
}

/* Mobile: stack everything */
@media (max-width: 900px) {
  .services-page-section {
    padding: 80px 6% 60px;
  }
  .services-page-hero { padding: 20px 0 60px; }
  .chapter { padding: 70px 0; }
  .chapter-grid,
  .chapter--flip .chapter-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .chapter--flip .chapter-content { order: 1; }
  .chapter--flip .chapter-deliverables { order: 2; }
  .chapter-numeral {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    font-size: 120px;
    margin-bottom: -40px;
  }
  .chapter--flip .chapter-numeral { right: auto; }
  .chapter-deliverables {
    position: static;
    padding: 28px 24px;
  }
}

/* ======== 21. ABOUT PAGE ======== */
.about-hero {
  padding: 140px var(--section-pad-h) 80px;
}
.about-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.about-text {
  flex: 1;
}
.about-photo {
  flex: 0 0 360px;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-photo);
}
.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 13;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.about-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 60%, var(--color-navy-deep) 100%),
    linear-gradient(to right, transparent 70%, var(--color-navy-deep) 100%);
  pointer-events: none;
}
.about-body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: #9ab0c4;
  margin-bottom: 20px;
}

/* About — philosophy section */
.about-philosophy {
  padding: 80px var(--section-pad-h) 100px;
}
.about-philosophy-inner {
  /* no max-width — matches about-hero which fills full padded width */
}
.about-philosophy-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.about-philosophy-text {
  flex: 1;
}
.about-philosophy-text .section-title {
  margin-bottom: 32px;
}
.about-philosophy-photo {
  flex: 0 0 360px;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-photo);
  overflow: hidden;
  position: relative;
  background: #091528;
}
.about-philosophy-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.about-philosophy-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 55%, #091528 100%),
    linear-gradient(to left, transparent 70%, #091528 100%);
  pointer-events: none;
}
.about-philosophy-statement {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.5;
}

/* ======== 22. INSIGHTS PAGE ======== */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.insight-card {
  background: rgba(19,40,71,0.5);
  border: 0.5px solid rgba(143,163,192,0.15);
  border-radius: var(--card-radius);
  padding: 32px 28px;
  transition: border-color 0.22s, transform 0.22s;
}
.insight-card:hover {
  border-color: rgba(255,190,0,0.3);
  transform: translateY(-3px);
}
.insight-tag {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 14px;
}
.insight-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}
.insight-excerpt {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  line-height: var(--lh-cards);
  color: var(--color-text-muted);
}

/* ======== 23. RESPONSIVE — TABLET ======== */
@media (max-width: 1100px) {
  .hero-h1 {
    font-size: clamp(32px, 3.2vw, 42px);
  }
  .hero-content {
    max-width: 560px;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .services-grid .service-card:last-child {
    grid-column: 1 / -1;
  }
  .profile-grid {
    grid-template-columns: 1fr 1fr;
  }
  .profile-grid .profile-card:last-child {
    grid-column: 1 / -1;
  }
  .bio-text { flex: 0 0 50%; }
  .bio-photo { flex: 0 0 50%; min-height: 320px; }
  .insights-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-content {
    gap: 40px;
  }
  .about-photo {
    flex: 0 0 280px;
  }
  .testimonials-carousel {
    --cards-visible: 2;
    --carousel-gap: 20px;
  }
}

/* ======== 24. RESPONSIVE — MOBILE ======== */
@media (max-width: 768px) {
  .nav {
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    padding: 0 18px;
  }
  .nav::after {
    left: 8%;
    right: 8%;
  }
  .hero {
    padding: 100px 20px 48px;
  }
  .hero-h1 {
    font-size: 32px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  .hero-subtext {
    font-size: 15px;
    white-space: normal;
  }
  .hero-vertical-label { display: none; }
  .hero-bridge {
    object-position: center 70%;
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
  }
  .hero::after {
    background: linear-gradient(
      to top,
      rgba(5, 12, 26, 0.6) 0%,
      rgba(5, 12, 26, 0.35) 45%,
      rgba(5, 12, 26, 0.1) 75%,
      transparent 100%
    );
  }
  .hero-cta {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .scroll-hint { left: 20px; }

  .nav {
    padding: 0 20px;
  }
  .nav-links { display: none; }

  .section {
    padding: 56px 20px;
  }

  .logos-strip {
    padding: 20px 0 24px;
  }
  .logos-strip__label {
    margin-bottom: 16px;
  }
  .logo-item img {
    height: 28px;
    max-width: 100px;
  }

  .problem-section {
    padding: 64px 20px;
  }
  .problem-layout {
    flex-direction: column;
  }
  .problem-confessions {
    flex: none;
  }
  .problem-line-text {
    font-size: 19px;
  }
  .problem-divider {
    flex: none;
    width: 100%;
    height: 2px;
    margin: 32px 0;
    background: linear-gradient(to right, transparent, #ffbe00 20%, #ffbe00 80%, transparent);
  }
  .problem-quote {
    flex: none;
  }

  .bio-section {
    flex-direction: column;
  }
  .bio-photo {
    flex: none;
    height: 340px;
    width: 100%;
  }
  .bio-photo::after {
    background:
      linear-gradient(to bottom, transparent 50%, #071020 100%),
      linear-gradient(to right,  transparent 80%, #071020 100%),
      linear-gradient(to left,   transparent 80%, #071020 100%);
  }
  .bio-text {
    flex: none;
    padding: 48px 20px;
  }
  .bio-orbit { display: none; }
  .bio-stats { gap: 32px; }

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

  .services-grid {
    grid-template-columns: 1fr;
  }
  .services-grid .service-card:last-child {
    grid-column: auto;
  }

  .testimonials-carousel {
    --cards-visible: 1;
    --carousel-gap: 0px;
    max-width: 100%;
    padding: 0;
  }
  .carousel-arrow {
    display: none;
  }
  .testimonial-card {
    padding: 36px 24px 32px;
  }

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

  .quote-section { padding: 0 20px 48px; }
  .quote-block { padding: 28px 24px; }

  .cta-section { padding: 60px 20px; }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 20px;
  }

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

  .about-content {
    flex-direction: column;
  }
  .about-photo {
    flex: none;
    width: 100%;
  }
  .about-philosophy-content {
    flex-direction: column;
  }
  .about-philosophy-photo {
    flex: none;
    width: 100%;
    height: 280px;
  }
}

/* ======== 26. COURSES PAGE ======== */
.courses-page-section {
  padding: 140px var(--section-pad-h) 80px;
}

.courses-list {
  display: flex;
  flex-direction: column;
  margin-top: 80px;
}

.course-row {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  padding: 100px 0;
  border-bottom: 0.5px solid rgba(255,190,0,0.1);
}
.course-row:first-child {
  padding-top: 0;
}
.course-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.course-row:nth-child(even) {
  flex-direction: row-reverse;
}

/* Hero + mid-break full-bleed banners */
.courses-hero-banner,
.courses-mid-banner {
  position: relative;
  margin: 0 calc(var(--section-pad-h) * -1);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 460px;
}
.courses-hero-banner {
  margin-top: 56px;
  margin-bottom: 24px;
}
.courses-mid-banner {
  margin-top: 24px;
  margin-bottom: 24px;
}
.courses-hero-banner::after,
.courses-mid-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5,12,26,0.35) 0%, transparent 35%, transparent 60%, var(--color-navy-deep) 100%);
  pointer-events: none;
}
.courses-hero-banner img,
.courses-mid-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Course image stack (primary 4:5 + secondary 1:1) */
.course-media {
  flex: 0 0 clamp(340px, 32vw, 440px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 100px;
  align-self: flex-start;
}
.course-media__primary,
.course-media__secondary {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-photo);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,190,0,0.08), transparent 65%),
    linear-gradient(160deg, #122842 0%, #0a1628 60%, #050c1a 100%);
}
.course-media__primary {
  aspect-ratio: 4 / 5;
}
.course-media__secondary {
  aspect-ratio: 1 / 1;
  width: 70%;
  align-self: flex-end;
  border: 1px solid rgba(255,190,0,0.12);
}
.course-row:nth-child(even) .course-media__secondary {
  align-self: flex-start;
}
.course-media__primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(5,12,26,0.55) 100%);
  pointer-events: none;
}
.course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.course-text {
  flex: 1;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 8px;
}
.course-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 5.4vw, 84px);
  background: linear-gradient(180deg, rgba(255,190,0,0.85) 0%, rgba(255,190,0,0.3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 0.9;
  margin: 0;
}
.course-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 900;
  line-height: 1.18;
  margin: 0;
  color: var(--color-text-primary);
}
.course-body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: #9ab0c4;
  margin: 0;
}
.course-topics {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.course-topics li {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  color: #9ab0c4;
  padding-right: 22px;
  position: relative;
  line-height: 1.6;
}
.course-topics li::before {
  content: '—';
  position: absolute;
  right: 0;
  color: var(--color-gold);
  opacity: 0.7;
}
.course-meta {
  font-family: var(--font-body);
  font-size: var(--text-label);
  letter-spacing: 0.05em;
  color: rgba(255,190,0,0.7);
  margin: 12px 0 0;
  padding-top: 18px;
  border-top: 0.5px solid rgba(255,190,0,0.15);
}
.course-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .courses-page-section {
    padding: 100px var(--section-pad-h) 60px;
  }
  .courses-list {
    margin-top: 48px;
  }
  .course-row,
  .course-row:nth-child(even) {
    flex-direction: column;
    gap: 36px;
    padding: 60px 0;
  }
  .course-media {
    position: static;
    flex: 0 0 auto;
    width: 100%;
    gap: 14px;
  }
  .course-media__primary {
    aspect-ratio: 16 / 11;
    max-height: 360px;
  }
  .course-media__secondary {
    width: 60%;
  }
  .course-text {
    max-width: 100%;
    padding-top: 0;
  }
  .course-number {
    font-size: 56px;
  }
  .courses-hero-banner,
  .courses-mid-banner {
    aspect-ratio: 16 / 10;
    max-height: 260px;
  }
}

@media (max-width: 700px) {
  .course-media__secondary,
  .courses-mid-banner {
    display: none;
  }
}

/* ======== 25. REDUCED MOTION ======== */
@media (prefers-reduced-motion: reduce) {
  .logos-ticker__track {
    animation-play-state: paused !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1 !important;
  }
}

/* ======== FORCED-COLORS (Windows high-contrast) ========
   In high-contrast mode the OS overrides backgrounds and colors.
   Buttons lose their gold fill — give them a visible border so
   they remain identifiable as buttons. Use the `CanvasText` /
   `Canvas` system colors so the user's chosen palette wins. */
@media (forced-colors: active) {
  .btn-primary,
  .btn-ghost,
  .nav-cta {
    border: 1px solid CanvasText;
    forced-color-adjust: none;
  }
  .skip-link,
  .carousel-arrow,
  .testimonials-dots .dot,
  .carousel-pause,
  .form-group input:focus-visible,
  .form-group textarea:focus-visible,
  .profile-card[tabindex="0"]:focus-visible {
    outline: 2px solid CanvasText !important;
    outline-offset: 2px;
  }
  .testimonials-dots .dot.active {
    background: Highlight !important;
    background-image: none !important;
  }
  .carousel-arrow {
    border: 1px solid CanvasText;
  }
}

/* ======== PRINT ========
   Strip motion, navigation, and decorative chrome. Render the
   page as a readable document on a light background. */
@media print {
  *, *::before, *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
  }
  html, body {
    background: #fff !important;
    font-size: 11pt;
    line-height: 1.5;
  }
  .skip-link,
  .nav,
  .footer,
  .logos-strip,
  .hero-bridge,
  .bio-orbit,
  .carousel-arrow,
  .testimonials-dots,
  .carousel-pause,
  .cta-section,
  video,
  canvas {
    display: none !important;
  }
  .hero,
  .section,
  .legal-section,
  .about-hero,
  .about-philosophy,
  .services-page-section,
  .courses-page-section,
  .contact-section,
  .not-found-section {
    padding: 12pt 0 !important;
    min-height: 0 !important;
  }
  h1, h2, h3, h4 {
    color: #000 !important;
    page-break-after: avoid;
  }
  a {
    color: #000 !important;
    text-decoration: underline;
  }
  /* Print the URL after external/page links so the printed copy
     remains useful when read on paper. */
  main a[href^="http"]::after,
  main a[href^="mailto"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555 !important;
  }
  .legal-content,
  .not-found-content {
    max-width: 100%;
  }
  .testimonials-track {
    display: block !important;
    transform: none !important;
  }
  .testimonial-card {
    page-break-inside: avoid;
    border-bottom: 1px solid #ccc;
    padding-bottom: 12pt;
    margin-bottom: 12pt;
  }
  .testimonial-card.is-clone {
    display: none !important;
  }
}

/* ======== FAQ (services.html) ======== */
.faq-section {
  padding: 100px var(--section-pad-h) 60px;
  max-width: 920px;
  margin: 0 auto;
}
.faq-header {
  text-align: center;
  margin-bottom: 56px;
}
.faq-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.2;
  color: var(--color-text-primary);
  margin-top: 12px;
}
.faq-title .gold { color: var(--color-gold); }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: linear-gradient(145deg,
    rgba(30, 55, 100, 0.22) 0%,
    rgba(6, 14, 30, 0.18) 100%
  );
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 0.5px solid rgba(143, 163, 192, 0.12);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.faq-item[open] {
  border-color: rgba(255, 190, 0, 0.28);
  background: linear-gradient(145deg,
    rgba(30, 55, 100, 0.32) 0%,
    rgba(6, 14, 30, 0.24) 100%
  );
}
.faq-item:hover {
  border-color: rgba(255, 190, 0, 0.2);
}
.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.45;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  transition: color 0.2s ease;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '';
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-right: 1.5px solid var(--color-gold);
  border-bottom: 1.5px solid var(--color-gold);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.3s ease;
  opacity: 0.7;
}
.faq-item[open] .faq-question::after {
  transform: rotate(-135deg) translate(-2px, -2px);
  opacity: 1;
}
.faq-item:hover .faq-question { color: var(--color-gold); }
.faq-answer {
  padding: 0 28px 24px 28px;
  border-top: 1px solid rgba(255, 190, 0, 0.12);
  margin-top: 0;
}
.faq-answer p {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  line-height: 1.85;
  color: #9ab0c4;
  margin-top: 16px;
}
@media (max-width: 768px) {
  .faq-section { padding: 60px var(--section-pad-h) 40px; }
  .faq-header { margin-bottom: 36px; }
  .faq-question { padding: 18px 20px; }
  .faq-answer { padding: 0 20px 20px; }
}
