/* ============================================
   HIGH ALTITUDE PARTNERS
   Design: Editorial · Warm · Distinctive
============================================ */

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

/* ============================================
   AURORA GRADIENT ANIMATION
============================================ */
@keyframes auroraShift {
  0%   { background-position: 0%   0%;   }
  25%  { background-position: 100% 30%;  }
  50%  { background-position: 80%  100%; }
  75%  { background-position: 20%  70%;  }
  100% { background-position: 0%   0%;   }
}

/* Shared aurora mixin — applied to all dark sections */
.aurora {
  background: linear-gradient(
    135deg,
    #060D1A   0%,
    #0A2F52  18%,
    #102766  36%,
    #271060  52%,
    #0B4A6A  68%,
    #063352  84%,
    #060D1A  100%
  );
  background-size: 400% 400%;
  animation: auroraShift 18s ease infinite;
}

:root {
  --navy:      #0D1F35;
  --navy-mid:  #162C48;
  --cream:     #F5EDE0;
  --warm-off:  #FDFAF6;
  --sky:       #45B8E3;
  --sky-light: #D6EFF8;
  --stone:     #7A6B5A;
  --dark-text: #181818;
  --border:    #DDD5C8;
  --white:     #FFFFFF;
  --nav-height: 76px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--warm-off);
  color: var(--dark-text);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.1;
  color: var(--dark-text);
  font-weight: 400;
}

h1 { font-size: clamp(2.2rem, 6vw + .5rem, 5.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 4vw + .5rem, 3.2rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.05rem, 2.5vw, 1.3rem); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
section    { padding: 100px 0; }

.overline {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
}

/* ============================================
   NAVBAR
============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  height: var(--nav-height);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.06); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.logo { display: inline-flex; align-items: center; }
.logo img { height: 52px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--stone);
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--dark-text); }

.btn-nav {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: .83rem;
  font-weight: 500;
  letter-spacing: .03em;
  transition: background .2s;
}
.btn-nav:hover { background: var(--navy-mid) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--dark-text);
  border-radius: 1px;
  transition: transform .3s ease, opacity .3s ease;
  transform-origin: center;
}
/* Animated X when open */
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================
   HERO — dark navy, editorial
============================================ */
.hero {
  padding: calc(var(--nav-height) + 100px) 0 0;
  background: linear-gradient(
    135deg,
    #060D1A   0%,
    #0A2F52  18%,
    #102766  36%,
    #271060  52%,
    #0B4A6A  68%,
    #063352  84%,
    #060D1A  100%
  );
  background-size: 400% 400%;
  animation: auroraShift 18s ease infinite;
}

.hero-logo {
  margin-bottom: 40px;
}
.hero-logo img {
  height: 80px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.hero-overline {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 28px;
}

.hero h1 {
  color: var(--white);
  max-width: 760px;
  margin-bottom: 28px;
  font-style: italic;
}
.hero h1 em { font-style: normal; color: var(--sky); }

.hero-sub {
  color: rgba(255,255,255,.6);
  font-size: 1.1rem;
  max-width: 500px;
  line-height: 1.78;
  margin-bottom: 44px;
}

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

.btn-primary-sky {
  display: inline-block;
  background: var(--sky);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 4px;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: background .2s, box-shadow .2s,
              transform .65s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}
.btn-primary-sky:hover {
  background: #30a8d5;
}

.btn-ghost-white {
  display: inline-block;
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .02em;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255,255,255,.25);
  transition: all .2s;
}
.btn-ghost-white:hover { color: var(--white); border-color: rgba(255,255,255,.7); }

/* ---- Hero animated background ---- */
.hero { position: relative; overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }

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

.hero-blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.blob-1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, #45B8E3 0%, transparent 70%);
  opacity: .13;
  top: -220px; right: -120px;
  animation: blobFloat1 14s ease-in-out infinite;
}
.blob-2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #3B2FA0 0%, transparent 70%);
  opacity: .1;
  bottom: -160px; left: -100px;
  animation: blobFloat2 11s ease-in-out infinite;
}
.blob-3 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #1B8FD0 0%, transparent 70%);
  opacity: .09;
  top: 35%; left: 38%;
  animation: blobFloat3 9s ease-in-out infinite;
}
.blob-4 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #6B4FD0 0%, transparent 70%);
  opacity: .08;
  top: 8%; left: 18%;
  animation: blobFloat4 13s ease-in-out infinite;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0,    0)   scale(1);    }
  33%       { transform: translate(-40px, 30px) scale(1.08); }
  66%       { transform: translate(25px, -20px) scale(0.95); }
}
@keyframes blobFloat2 {
  0%, 100% { transform: translate(0,    0)    scale(1);    }
  40%       { transform: translate(50px, -35px) scale(1.12); }
  70%       { transform: translate(-25px, 45px) scale(0.92); }
}
@keyframes blobFloat3 {
  0%, 100% { transform: translate(0,    0)   scale(1);    }
  50%       { transform: translate(-50px, 35px) scale(1.15); }
}
@keyframes blobFloat4 {
  0%, 100% { transform: translate(0,    0)    scale(1);   }
  35%       { transform: translate(35px, -45px) scale(1.1); }
  70%       { transform: translate(-30px, 25px) scale(0.9); }
}

/* SVG geometric outlines */
.hero-geo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.geo-1 { opacity: .07; animation: geoSpin  20s linear infinite;         transform-origin: 1050px 130px; }
.geo-2 { opacity: .06; animation: geoSpin  17s linear infinite reverse;  transform-origin: 180px 600px;  }
.geo-3 { opacity: .04; animation: geoSpin  28s linear infinite;          transform-origin: 700px 400px;  }
.geo-4 { opacity: .06; animation: geoSpin  22s linear infinite reverse;  transform-origin: 80px 150px;   }
.geo-5 { opacity: .05; animation: geoSpin  19s linear infinite;          transform-origin: 1280px 625px; }
.geo-line { opacity: .04; animation: geoFade 10s ease-in-out infinite; }

@keyframes geoSpin { to { transform: rotate(360deg); } }
@keyframes geoFade {
  0%, 100% { opacity: .04; }
  50%       { opacity: .01; }
}

/* Stats strip inside hero — <dl> with visual order: number on top, label below */
.hero-stats {
  display: flex;
  margin-top: 88px;
  border-top: 1px solid rgba(255,255,255,.1);
  /* Reset <dl> browser default */
  margin-left: 0; margin-right: 0;
}
.hero-stat {
  flex: 1;
  padding: 40px 40px 44px 0;
  display: flex;
  flex-direction: column;
}
.hero-stat + .hero-stat {
  padding-left: 40px;
  border-left: 1px solid rgba(255,255,255,.1);
}
/* dt = label: sits below the number visually */
.hero-stat dt { order: 2; }
/* dd = number: sits on top visually; reset browser indent */
.hero-stat dd { order: 1; margin: 0; }
.hero-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8rem;
  color: var(--white);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 1px;
}
.hero-stat-num sup {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--sky);
  margin-left: 2px;
}
.hero-stat-label {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-top: 8px;
}

/* ============================================
   APPROACH — PREMIUM DARK CARDS
============================================ */
.approach {
  background: linear-gradient(
    145deg,
    #060C18 0%,
    #091E38 28%,
    #0C2D50 55%,
    #091E38 78%,
    #060C18 100%
  );
  background-size: 300% 300%;
  animation: auroraShift 20s ease infinite 2s;
}

/* Centered intro block */
.diff-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.diff-overline { color: var(--sky); }
.diff-header h2 { color: var(--white); margin: 14px 0 20px; }
.diff-header p  { color: rgba(255,255,255,.55); font-size: 1.05rem; line-height: 1.82; }

/* 2×2 card grid */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Card base — glassmorphism, hidden until scroll reveal */
.diff-card {
  position: relative;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  padding: 48px 44px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),      /* top-edge highlight */
    inset 0 0 28px rgba(255,255,255,.04),      /* soft inner luminescence */
    0 8px 40px rgba(0,0,0,.22);                /* depth shadow */
  transition: transform .28s ease, border-color .28s ease,
              box-shadow .28s ease, background .28s ease;
}

/* Light refraction gradient across the glass face */
.diff-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.10) 0%,
    rgba(255,255,255,.03) 40%,
    transparent          70%,
    rgba(69,184,227,.04) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Scroll-triggered entrance */
.diff-card.is-visible {
  animation: cardReveal .65s ease forwards;
}

/* Hover: glass brightens, border glows, lifts */
.diff-card.is-visible:hover {
  transform: translateY(-7px);
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.32);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 0 36px rgba(69,184,227,.07),
    0 0 0 1px rgba(69,184,227,.18),            /* outer border glow ring */
    0 0 48px rgba(69,184,227,.18),
    0 24px 64px rgba(0,0,0,.36);
}

@keyframes cardReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SCROLL REVEAL — site-wide
============================================ */
.reveal,
.reveal-left,
.reveal-scale {
  opacity: 0;
  will-change: opacity, transform;
}
.reveal       { transform: translateY(36px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-scale { transform: scale(.93); }

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .55s ease-out, transform .55s ease-out;
}

/* Staggered delay helpers — set via data-delay attribute in JS */

/* ============================================
   CUSTOM CURSOR — fine-pointer devices only
============================================ */
@media (pointer: fine) {
  body,
  a, button,
  [role="button"],
  input, textarea, select, label {
    cursor: none !important;
  }
}

.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 5px; height: 5px;
  background: var(--sky);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform .12s ease, opacity .3s ease;
  will-change: left, top;
}
.cursor-dot.is-clicking {
  transform: translate(-50%, -50%) scale(.6);
}

.cursor-trail {
  position: fixed;
  top: 0; left: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(69,184,227,.45);
  background: rgba(69,184,227,.10);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .35s cubic-bezier(0.34, 1.56, 0.64, 1),
              height .35s cubic-bezier(0.34, 1.56, 0.64, 1),
              background .3s ease,
              border-color .3s ease,
              opacity .3s ease;
  will-change: left, top;
}
.cursor-trail.is-hovering {
  width: 52px; height: 52px;
  background: rgba(69,184,227,.08);
  border-color: rgba(69,184,227,.75);
}

/* Giant watermark number */
.diff-num {
  position: absolute;
  top: -16px;
  right: 20px;
  font-family: 'DM Serif Display', serif;
  font-size: 9rem;
  line-height: 1;
  color: rgba(255,255,255,.07);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* Card text */
.diff-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  letter-spacing: -.01em;
}
.diff-card p {
  font-size: .93rem;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}


/* ============================================
   PROCESS — left title, right numbered list
============================================ */
.process { background: linear-gradient(200deg, #F5EDE0 0%, #EBF3FA 50%, #F0E8DC 100%); }

.process-inner {
  display: grid;
  grid-template-columns: 2fr 5fr;
  gap: 80px;
  align-items: start;
}

.process-left h2 { margin: 12px 0 20px; }
.process-left p  { color: var(--stone); font-size: .97rem; line-height: 1.72; }

.process-steps { list-style: none; border-top: 1px solid var(--border); }

.process-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 24px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.step-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  color: var(--sky);
  line-height: 1;
  opacity: .5;
}

.step-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: .01em;
}
.step-body p { font-size: .93rem; color: var(--stone); line-height: 1.75; }

/* ============================================
   FULL TRANSPARENCY
============================================ */
.transparency-section {
  background: linear-gradient(
    135deg,
    #060D1A   0%,
    #0A2F52  18%,
    #102766  36%,
    #271060  52%,
    #0B4A6A  68%,
    #063352  84%,
    #060D1A  100%
  );
  background-size: 400% 400%;
  animation: auroraShift 18s ease infinite 3s;
  padding: 0;
  overflow: hidden;
}

.transparency-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.transparency-image {
  position: relative;
}

.transparency-image img {
  width: 100%;
  height: auto;
  display: block;
}

.transparency-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
}

.transparency-heading {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.05;
}

.transparency-content p {
  color: rgba(255,255,255,.6);
  font-size: 1.05rem;
  line-height: 1.82;
}
.transparency-content p + p { margin-top: 20px; }


/* ============================================
   CANDIDATE PRESENTATION
============================================ */
.candidate-section {
  background: linear-gradient(150deg, #FDFAF6 0%, #F5EDE0 55%, #EBF5FB 100%);
  padding: 100px 0;
}

.candidate-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
  align-items: start;
}

.candidate-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 14px;
}

.candidate-heading {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--dark-text);
  margin-bottom: 28px;
  line-height: 1.1;
}

.candidate-content p {
  color: var(--stone);
  font-size: 1.02rem;
  line-height: 1.82;
}
.candidate-content p + p { margin-top: 18px; }

.candidate-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cand-img-1,
.cand-img-2,
.cand-img-3 {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(13,31,53,.12);
}

@media (max-width: 960px) {
  .candidate-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}


/* ============================================
   INDUSTRIES — row links (home page)
============================================ */
.industries-home { background: linear-gradient(170deg, #FDFAF6 0%, #EDF5FB 50%, #F8F2E8 100%); }

.industries-home-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}
.industries-home-header h2 { max-width: 380px; }
.industries-home-header p  {
  max-width: 340px;
  font-size: .97rem;
  color: var(--stone);
  line-height: 1.72;
  text-align: right;
}

.industry-rows { border-top: 1px solid var(--border); }

.industry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0 30px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left .25s ease;
  color: var(--dark-text);
}
.industry-row:hover { padding-left: 16px; }
.industry-row:hover .industry-row-arrow { transform: translateX(6px); color: var(--sky); }

.industry-row-left {
  display: flex;
  align-items: center;
  gap: 24px;
}
.industry-row-num {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--stone);
  opacity: .5;
}
.industry-row-name {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -.01em;
}
.industry-row-tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
  opacity: .6;
}
.industry-row-arrow {
  font-size: 1.4rem;
  color: rgba(0,0,0,.2);
  transition: all .25s ease;
}

/* ============================================
   CTA — dark
============================================ */
.cta-section {
  background: linear-gradient(
    135deg,
    #060D1A   0%,
    #0A2F52  18%,
    #102766  36%,
    #271060  52%,
    #0B4A6A  68%,
    #063352  84%,
    #060D1A  100%
  );
  background-size: 400% 400%;
  animation: auroraShift 18s ease infinite 6s;
  padding: 100px 0;
  text-align: center;
}
.cta-section .overline { color: rgba(255,255,255,.35); }
.cta-section h2 {
  color: var(--white);
  margin: 12px auto 20px;
  max-width: 560px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}
.cta-section p {
  color: rgba(255,255,255,.55);
  font-size: 1.05rem;
  max-width: 420px;
  margin: 0 auto 44px;
  line-height: 1.75;
}
.btn-cta {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.35);
  color: var(--white);
  padding: 15px 40px;
  border-radius: 4px;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .05em;
  transition: background .2s, border-color .2s,
              transform .65s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}
.btn-cta:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.65);
}

/* ============================================
   INLINE CONTEXTUAL LINKS (body copy)
============================================ */
.inline-link {
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  transition: color .2s, border-color .2s;
}
.inline-link:hover {
  color: var(--sky);
  border-color: var(--sky);
}

/* ============================================
   RELATED PAGES BLOCK
============================================ */
.related-section {
  background: var(--cream);
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.related-header {
  margin-bottom: 48px;
}
.related-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-top: 12px;
}

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

.related-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(69,184,227,.4);
  box-shadow: 0 12px 40px rgba(13,31,53,.08);
}

.related-card-tag {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 12px;
}

.related-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  line-height: 1.25;
}

.related-card p {
  font-size: .9rem;
  color: var(--stone);
  line-height: 1.72;
  flex: 1;
  margin-bottom: 24px;
}

.related-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .83rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--dark-text);
  transition: color .2s, gap .2s;
  margin-top: auto;
}
.related-card:hover .related-card-link {
  color: var(--sky);
  gap: 10px;
}

@media (max-width: 960px) {
  .related-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 768px) {
  .related-section { padding: 60px 0; }
  .related-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FAQ PAGE
============================================ */
.faq-section {
  background: var(--warm-off);
  padding: 100px 0;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

/* h2 wrapper per WAI-ARIA Accordion pattern — strip heading presentation */
.faq-question-heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--dark-text);
  transition: color .2s;
}
.faq-question:hover { color: var(--sky); }
.faq-question:hover .faq-icon { border-color: var(--sky); color: var(--sky); }

.faq-q-text {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.01em;
  flex: 1;
}

/* Plus / minus icon */
.faq-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  transition: border-color .25s, color .25s, transform .35s cubic-bezier(0.34, 1.56, 0.64, 1), background .25s;
  position: relative;
}
/* Horizontal bar — always visible */
.faq-icon::before {
  content: '';
  position: absolute;
  width: 10px; height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: opacity .25s;
}
/* Vertical bar — hidden when open */
.faq-icon::after {
  content: '';
  position: absolute;
  width: 1.5px; height: 10px;
  background: currentColor;
  border-radius: 1px;
  transition: opacity .25s, transform .35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Open state */
.faq-item.is-open .faq-question { color: var(--sky); }
.faq-item.is-open .faq-icon {
  border-color: var(--sky);
  color: var(--sky);
  background: rgba(69,184,227,.06);
  transform: rotate(45deg);
}

/* Collapsible answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .42s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.is-open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 0 28px 0;
}
.faq-answer-inner p {
  color: var(--stone);
  font-size: 1rem;
  line-height: 1.82;
  max-width: 660px;
}

/* Reveal animation on FAQ items */
.faq-item.reveal { transform: translateY(24px); }

@media (max-width: 768px) {
  .faq-section { padding: 72px 0; }
  .faq-question { padding: 22px 0; gap: 16px; }
  .faq-answer-inner { padding: 0 0 22px; }
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: linear-gradient(
    135deg,
    #040912   0%,
    #081E38  25%,
    #0D1D4A  50%,
    #1A0A3B  75%,
    #040912  100%
  );
  background-size: 400% 400%;
  animation: auroraShift 22s ease infinite 9s;
  padding: 56px 0 36px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.footer-logo-wrap { display: inline-flex; }
.footer-logo-wrap img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .85;
}

.footer-links { display: flex; gap: 36px; }
.footer-links a {
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255,255,255,.4);
  transition: color .2s;
}
.footer-links a:hover { color: rgba(255,255,255,.85); }

.footer-contact {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: .84rem;
  color: rgba(255,255,255,.3);
}
.footer-contact a { color: rgba(255,255,255,.5); transition: color .2s; }
.footer-contact a:hover { color: rgba(255,255,255,.8); }

.footer-copy { font-size: .75rem; color: rgba(255,255,255,.18); }

/* ============================================
   PAGE HERO (inner pages)
============================================ */
.page-hero {
  padding: calc(var(--nav-height) + 80px) 0 80px;
  background: linear-gradient(
    135deg,
    #060D1A   0%,
    #0A2F52  18%,
    #102766  36%,
    #271060  52%,
    #0B4A6A  68%,
    #063352  84%,
    #060D1A  100%
  );
  background-size: 400% 400%;
  animation: auroraShift 18s ease infinite;
}
.page-hero .overline { color: rgba(255,255,255,.35); margin-bottom: 18px; }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 700px;
  margin-bottom: 20px;
  font-style: italic;
}
.page-hero p {
  color: rgba(255,255,255,.55);
  font-size: 1.05rem;
  max-width: 520px;
  line-height: 1.75;
}

/* ============================================
   ABOUT — FOUNDING STORY
============================================ */
.founding-story { background: var(--cream); }

.founding-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: start;
}
.founding-inner h2 { margin-top: 12px; }
.founding-body p {
  color: var(--stone);
  font-size: 1.05rem;
  line-height: 1.82;
}
.founding-body p + p { margin-top: 20px; }

/* ---- Team ---- */
.team-section { background: var(--warm-off); }

.team-header { margin-bottom: 64px; }
.team-header h2 { margin-top: 12px; }

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.team-card {
  background: var(--white);
  padding: 52px 44px;
}
.team-card:first-child { border-right: 1px solid var(--border); }

.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 24px;
  border: 3px solid var(--border);
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card h3 {
  font-size: 2rem;
  margin-bottom: 4px;
}
.team-role {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 24px;
}
.team-card p { color: var(--stone); font-size: .96rem; line-height: 1.8; }
.team-card p + p { margin-top: 14px; }

.team-tag {
  display: inline-block;
  margin-top: 24px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 100px;
}

/* ---- Contrast Section ---- */
.contrast-section {
  background: linear-gradient(
    135deg,
    #060D1A   0%,
    #0A2F52  18%,
    #102766  36%,
    #271060  52%,
    #0B4A6A  68%,
    #063352  84%,
    #060D1A  100%
  );
  background-size: 400% 400%;
  animation: auroraShift 18s ease infinite 4s;
  padding: 100px 0;
}

.contrast-header {
  margin-bottom: 64px;
}
.contrast-header h2 {
  color: var(--white);
  margin: 12px 0 12px;
  max-width: 480px;
}
.contrast-header p {
  color: rgba(255,255,255,.5);
  font-size: 1rem;
}

.contrast-table {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 56px;
}

.contrast-divider {
  background: rgba(255,255,255,.1);
  width: 1px;
}

.contrast-col-label {
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding-bottom: 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.contrast-old .contrast-col-label { color: rgba(255,255,255,.3); }
.contrast-new .contrast-col-label { color: var(--sky); }

.contrast-item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .97rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contrast-old .contrast-item {
  color: rgba(255,255,255,.25);
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,.15);
}

.contrast-new .contrast-item {
  color: var(--white);
  font-weight: 500;
}

.check {
  color: var(--sky);
  font-size: 1rem;
  flex-shrink: 0;
}


/* ============================================
   INDUSTRIES PAGE — alternating sections
============================================ */
.industry-section { padding: 100px 0; }
.industry-section:nth-child(odd)  { background: var(--warm-off); }
.industry-section:nth-child(even) { background: var(--cream); }

.industry-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.industry-inner.reverse { direction: rtl; }
.industry-inner.reverse > * { direction: ltr; }

.industry-content .overline { display: block; }
.industry-content h2 { margin: 12px 0 20px; }
.industry-content p  { color: var(--stone); font-size: 1rem; line-height: 1.8; margin-bottom: 14px; }

/* h3 used for "Recent Roles Hired" — override default h3 size/style */
.roles-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 28px;
  margin-bottom: 10px;
}

.roles-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.roles-list li {
  font-size: .77rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--navy);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 100px;
}

.industry-visual {
  border-radius: 16px;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.industry-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Editorial stats on industries page */
.stats-editorial {
  background: var(--warm-off);
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

/* <dl> reset + visual order: number on top, label below */
.stats-editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
}

.stat-editorial {
  padding-right: 40px;
  margin-right: 40px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.stat-editorial:last-child { border-right: none; margin-right: 0; padding-right: 0; }
/* dt = label: below number visually */
.stat-editorial dt { order: 2; }
/* dd = number: on top visually; reset indent */
.stat-editorial dd { order: 1; margin: 0; }

.stat-editorial-num {
  font-family: 'DM Serif Display', serif;
  font-size: 3.2rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat-editorial-num sup {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--sky);
}
.stat-editorial-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
  opacity: .7;
}

/* ============================================
   RESPONSIVE — full mobile pass
============================================ */

/* ---- 960px: tablet ---- */
@media (max-width: 960px) {
  .approach-inner   { grid-template-columns: 1fr; gap: 48px; }
  .process-inner    { grid-template-columns: 1fr; gap: 40px; }
  .founding-inner   { grid-template-columns: 1fr; gap: 40px; }
  .team-grid        { grid-template-columns: 1fr; }
  .team-card:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .industry-inner   { grid-template-columns: 1fr; gap: 48px; }
  .industry-inner.reverse { direction: ltr; }
  .industries-home-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .industries-home-header p { text-align: left; }
  .stats-editorial-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 56px; }
  .stat-editorial { border-right: none; margin-right: 0; padding-right: 0; }
  .stat-editorial:nth-child(odd) {
    border-right: 1px solid var(--border);
    padding-right: 40px;
  }
  /* Transparency: stack, let image breathe */
  .transparency-image img { height: auto; max-height: 420px; object-fit: cover; }
  .transparency-content { padding: 52px 40px; }
}

/* ---- 768px: mobile nav + layout ---- */
@media (max-width: 768px) {
  section { padding: 72px 0; }
  .container { padding: 0 24px; }

  /* Hamburger visible */
  .hamburger { display: flex; }

  /* Nav: smooth slide-down via max-height */
  .nav-links {
    display: flex;
    position: absolute;
    top: var(--nav-height); left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-top: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(0,0,0,.06);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height .38s ease, opacity .28s ease, padding .38s ease;
    padding: 0 24px;
  }
  .nav-links.open {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
    padding: 12px 24px 24px;
  }
  /* Touch-friendly nav items */
  .nav-links li { width: 100%; }
  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    width: 100%;
    font-size: .95rem;
  }
  .btn-nav {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: 100%;
    margin-top: 4px;
    text-align: center;
  }

  /* Hero */
  .hero-cta { flex-wrap: wrap; gap: 14px; }
  .btn-primary-sky {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    width: 100%;
  }
  .btn-ghost-white {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding-bottom: 0;
  }

  /* Hero stats: 2×2 grid */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .hero-stat {
    flex: unset;
    padding: 28px 20px;
    border-left: none !important;
  }
  .hero-stat:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,.1);
  }
  .hero-stat:nth-child(3),
  .hero-stat:nth-child(4) {
    border-top: 1px solid rgba(255,255,255,.1);
  }

  /* Transparency */
  .transparency-inner { grid-template-columns: 1fr; }
  .transparency-image img { height: auto; max-height: none; }
  .transparency-content { padding: 44px 24px; }

  /* Diff cards */
  .diff-grid { grid-template-columns: 1fr; }
  .diff-card { padding: 36px 28px; }

  /* Process */
  .process-step { grid-template-columns: 40px 1fr; gap: 16px; }

  /* Industry rows — generous touch targets */
  .industry-row { min-height: 64px; padding: 22px 0; }
  .industry-row-name { font-size: 1.4rem; }
  .industry-row-tag  { display: none; }

  /* Team */
  .team-card { padding: 40px 28px; }

  /* Contrast */
  .contrast-table { grid-template-columns: 1fr; gap: 40px; }
  .contrast-divider { display: none; }

  /* CTA button */
  .btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 36px;
  }
}

/* ---- 480px / 375px: small phones ---- */
@media (max-width: 480px) {
  section { padding: 60px 0; }
  .container { padding: 0 20px; }

  /* Hero */
  .hero { padding-top: calc(var(--nav-height) + 52px); }
  .hero-sub { font-size: .97rem; max-width: 100%; }
  .hero-stat { padding: 22px 16px; }
  .hero-stat-num { font-size: 2.2rem; }

  /* Page hero */
  .page-hero { padding: calc(var(--nav-height) + 52px) 0 60px; }

  /* Transparency */
  .transparency-content { padding: 36px 20px; }

  /* Diff cards */
  .diff-card { padding: 28px 22px; }
  .diff-num  { font-size: 6rem; }

  /* Candidate */
  .candidate-inner { gap: 36px; }

  /* Industry visual */
  .industry-visual { aspect-ratio: 16/7; }

  /* Stats editorial: 2×2 on small phones */
  .stats-editorial-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .stat-editorial { border-right: none !important; padding-right: 0 !important; }
  .stat-editorial:nth-child(odd) {
    border-right: 1px solid var(--border) !important;
    padding-right: 20px !important;
  }
  .stat-editorial-num { font-size: 2.4rem; }

  /* Team */
  .team-card { padding: 32px 20px; }

  /* Founding */
  .founding-inner { gap: 28px; }

  /* Process */
  .process-inner { gap: 32px; }
  .step-number { font-size: 1.8rem; }

  /* Industry rows */
  .industry-row-name { font-size: 1.2rem; }
}
