@import url("/assets/css/fonts.css");

/* ==========================================================================
   Influence Lab — design tokens
   ========================================================================== */
:root {
  --navy-900: #060a2e;
  --navy-800: #0b0d63;
  --navy-700: #101a6b;
  --blue-700: #00589d;
  --blue-600: #0a6cbd;
  --blue-500: #1e88e5;
  --blue-400: #4aa3f0;
  --gold: #ffc142;
  --gold-soft: #ffe0a3;

  --ink: #0a1030;
  --body: #4a5464;
  --muted: #7a8598;

  --bg: #ffffff;
  --bg-tint: #f4f7fc;
  --bg-tint-2: #eef3fa;
  --border: #e2e9f4;
  --border-strong: #cfdaea;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(10, 16, 48, 0.06);
  --shadow: 0 10px 30px -12px rgba(10, 16, 48, 0.18);
  --shadow-lg: 0 32px 64px -24px rgba(10, 16, 48, 0.32);
  --shadow-blue: 0 16px 40px -14px rgba(0, 88, 157, 0.55);

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 128px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 1.35rem + 4.2vw, 4.15rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.7vw, 3.05rem); font-weight: 800; letter-spacing: -0.032em; }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-500); }

img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--navy-800);
  color: #fff;
  padding: 12px 22px;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

section { padding-block: var(--section-y); }

.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;
}

/* ==========================================================================
   Shared pieces
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--blue-500);
  border-radius: 2px;
}
.eyebrow--light { color: var(--gold); }
.eyebrow--light::before { background: var(--gold); }
.eyebrow--center { justify-content: center; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--body); }

.lede { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); color: var(--body); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 32px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1.005rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  white-space: nowrap;
}
.btn svg { flex: none; }

.btn--primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700) 60%, #024a86);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 22px 48px -14px rgba(0, 88, 157, 0.7);
}
.btn--primary:active { transform: translateY(0); }

.btn--gold {
  background: linear-gradient(135deg, #ffd071, var(--gold) 55%, #f0a91f);
  color: var(--navy-900);
  box-shadow: 0 16px 40px -14px rgba(255, 193, 66, 0.65);
}
.btn--gold:hover {
  color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: 0 22px 48px -14px rgba(255, 193, 66, 0.8);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; transform: translateY(-2px); }

.btn--outline {
  background: #fff;
  color: var(--navy-800);
  border: 1.5px solid var(--border-strong);
}
.btn--outline:hover { border-color: var(--blue-500); color: var(--blue-700); transform: translateY(-2px); }

.btn--sm { padding: 12px 22px; font-size: 0.94rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.btn-row--center { justify-content: center; }

.microcopy {
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.microcopy--light { color: rgba(255, 255, 255, 0.62); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(1.6);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px -12px rgba(10, 16, 48, 0.22);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}
.brand { flex: none; margin-right: auto; }
.brand img { height: 38px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
/* the in-nav CTA is the mobile-menu one — the header keeps its own at desktop */
.nav > .btn { display: none; }
.nav a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding-block: 6px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--blue-500);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav a:hover { color: var(--blue-700); }
.nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex: none;
  width: 46px; height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  position: relative;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: background 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed;
    inset: 76px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px var(--gutter) 28px;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s, transform 0.22s var(--ease), visibility 0.22s;
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
  }
  .nav a::after { display: none; }
  .nav > .btn { display: inline-flex; margin-top: 20px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(900px 560px at 88% 8%, rgba(30, 136, 229, 0.34), transparent 62%),
    radial-gradient(760px 620px at 4% 96%, rgba(0, 88, 157, 0.4), transparent 60%),
    linear-gradient(168deg, #0d1170 0%, var(--navy-800) 42%, var(--navy-900) 100%);
  color: rgba(255, 255, 255, 0.82);
  padding-block: clamp(52px, 7vw, 92px) clamp(72px, 9vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.28;
  mask-image: radial-gradient(76% 66% at 50% 34%, #000, transparent 78%);
  z-index: -1;
  pointer-events: none;
}
.hero h1 {
  color: #fff;
  /* balance keeps the ragged edge tidy but shortens lines; normal wrapping fills
     the column better at the sizes this headline actually renders at */
  text-wrap: normal;
  font-size: clamp(2.15rem, 1.4rem + 3.2vw, 3.85rem);
  margin-bottom: 0;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold) 12%, var(--gold-soft) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Three blocks so the proof card can slot between the headline and the copy on
   narrow screens — the Perk number has to be visible without scrolling. */
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  grid-template-areas:
    "head  proof"
    "body  proof";
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: clamp(36px, 5vw, 64px);
}
.hero__head { grid-area: head; }
.hero__body { grid-area: body; }
.hero__proof { grid-area: proof; align-self: center; }

.hero__lede {
  font-size: clamp(1.02rem, 0.97rem + 0.32vw, 1.18rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.76);
  max-width: 34em;
  margin: 24px 0 30px;
}
.hero .btn-row { margin-bottom: 22px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: clamp(0.73rem, 0.66rem + 0.28vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 26px;
  backdrop-filter: blur(8px);
}
.hero__badge b {
  background: var(--gold);
  color: var(--navy-900);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Hero proof — Patrick's face for trust, the Perk number for proof, overlapping */
.hero__proof { position: relative; }
/* only the home page pairs the card with a portrait to overlap */
.hero__proof--overlap { padding-bottom: clamp(60px, 7vw, 96px); }

.hero__portrait-wrap {
  position: relative;
  width: min(100%, 358px);
  margin-left: auto;
  aspect-ratio: 4 / 5;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(74, 163, 240, 0.42), transparent 68%),
    linear-gradient(170deg, rgba(30, 136, 229, 0.3), rgba(6, 10, 46, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-lg);
}
.hero__portrait {
  position: absolute;
  left: 50%;
  bottom: -2%;
  width: 108%;
  max-width: none;
  transform: translateX(-50%);
}

.proof-card {
  position: relative;
  width: 100%;
  z-index: 2;
  background: linear-gradient(155deg, rgba(11, 13, 99, 0.82), rgba(6, 10, 46, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}
.proof-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.proof-card__label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
/* The source logo is black art baked onto an opaque white plate, so it can't be
   knocked out reliably on a dark card — give it a deliberate white chip instead. */
.proof-card__logo {
  height: 18px;
  width: auto;
  background: #fff;
  padding: 6px 9px;
  border-radius: 7px;
  box-sizing: content-box;
}
.proof-card__figure {
  font-size: clamp(2.9rem, 2.1rem + 3.4vw, 3.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  color: #fff;
  margin-bottom: 10px;
}
.proof-card__figure span {
  background: linear-gradient(100deg, var(--gold), var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.proof-card__caption {
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 16px;
}
.proof-card__caption b { color: #fff; font-weight: 700; }
.proof-card__caption b.is-highlight { color: var(--gold); }

.proof-card__note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
}
.proof-card__note svg { flex: none; margin-top: 3px; color: var(--gold); }

.hero__proof--overlap .proof-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(100%, 340px);
}

/* Below the two-column breakpoint the card sits right under the headline */
@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "proof" "body";
    row-gap: 30px;
  }
  .hero__proof--overlap { padding-bottom: 0; }
  .hero__portrait-wrap { display: none; }
  .hero__proof--overlap .proof-card { position: relative; width: 100%; }
  .hero h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3rem); }
  .hero__lede { margin-bottom: 26px; }
}

/* ==========================================================================
   Stat band
   ========================================================================== */
.stats {
  background: var(--navy-900);
  padding-block: 0;
}
.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: translateY(-1px);
}
.stat {
  background: var(--navy-900);
  padding: clamp(26px, 3.4vw, 42px) clamp(18px, 2.4vw, 30px);
  text-align: center;
}
.stat__value {
  font-size: clamp(1.75rem, 1.2rem + 2.1vw, 2.7rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 8px;
}
.stat__value span { color: var(--gold); }
.stat__label {
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 720px) {
  .stats__inner { grid-template-columns: repeat(2, 1fr); border-radius: var(--radius); }
}

/* ==========================================================================
   Logo strip
   ========================================================================== */
.logos { padding-block: clamp(40px, 5vw, 62px); background: var(--bg); }
.logos__label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 30px;
}
.logos__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(30px, 6vw, 72px);
}
.logos__row img {
  height: clamp(26px, 3.4vw, 36px);
  width: auto;
  opacity: 0.62;
  filter: grayscale(1) contrast(1.15);
  mix-blend-mode: multiply;
  transition: opacity 0.25s, filter 0.25s;
}
/* square source files carry a lot of padding — let them run taller */
.logos__row img.is-square { height: clamp(48px, 6vw, 68px); }
.logos__row img:hover { opacity: 1; filter: grayscale(0); }

/* ==========================================================================
   Pain
   ========================================================================== */
.pain { background: var(--bg-tint); }
.pain__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: clamp(40px, 5vw, 56px);
}
.pain__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.pain__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}
.pain__item svg { flex: none; margin-top: 2px; color: #e0607b; }
.pain__item p { font-size: 0.99rem; color: var(--ink); font-weight: 500; }

.pain__punch {
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900));
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 48px) clamp(26px, 4vw, 56px);
  box-shadow: var(--shadow-lg);
}
.pain__punch p { font-size: clamp(1.08rem, 1rem + 0.5vw, 1.32rem); line-height: 1.55; }
.pain__punch strong { color: var(--gold); font-weight: 600; }
.pain__punch p:last-of-type { color: #fff; font-weight: 500; }

/* ==========================================================================
   Method
   ========================================================================== */
.method__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
.pillar {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 38px);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-700));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pillar:hover::before { transform: scaleX(1); }
.pillar__icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(140deg, #e8f2fd, #d5e7fa);
  color: var(--blue-700);
  margin-bottom: 22px;
}
.pillar h3 { margin-bottom: 10px; }
.pillar p { font-size: 0.99rem; }

.method__closer {
  margin-top: clamp(32px, 4vw, 48px);
  text-align: center;
  font-size: clamp(1.15rem, 1rem + 0.9vw, 1.6rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.method__closer span { color: var(--blue-700); }

/* ==========================================================================
   Case study
   ========================================================================== */
.case { background: var(--bg-tint); }
.case__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}
@media (max-width: 900px) { .case__grid { grid-template-columns: 1fr; } }

.case__list { display: grid; gap: 14px; margin: 28px 0 32px; }
.case__list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--body);
}
.case__list svg { flex: none; margin-top: 4px; color: var(--blue-600); }
.case__list b { color: var(--ink); font-weight: 600; }

.case__panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow);
}
.case__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}
.case__panel-head img { height: 20px; width: auto; opacity: 0.85; }
.case__panel-head span {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.case__bars { display: grid; gap: 22px; }
.case__bar-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.case__bar-label b { font-size: 1.28rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.case__bar-track {
  height: 12px;
  border-radius: 999px;
  background: var(--bg-tint-2);
  overflow: hidden;
}
.case__bar-fill {
  display: block; /* it is an <i>; inline would ignore the height */
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-700));
  width: 0;
  transition: width 1.3s var(--ease);
}
.case__bar-fill--gold { background: linear-gradient(90deg, var(--gold-soft), var(--gold)); }
.case__panel-foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--muted);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quotes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
.quote {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 3.4vw, 42px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quote__mark {
  font-size: 4.6rem;
  line-height: 0.72;
  font-weight: 800;
  color: var(--blue-400);
  opacity: 0.28;
  margin-bottom: 4px;
}
.quote blockquote {
  margin: 0 0 26px;
  font-size: 1.04rem;
  line-height: 1.62;
  color: var(--ink);
  flex: 1;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.quote figcaption img { height: 26px; width: auto; opacity: 0.7; mix-blend-mode: multiply; }
.quote__who { font-size: 0.92rem; line-height: 1.45; }
.quote__who b { display: block; color: var(--ink); font-weight: 600; }
.quote__who span { color: var(--muted); }

/* ==========================================================================
   Services
   ========================================================================== */
.services { background: var(--bg-tint); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(18px, 2.2vw, 26px);
  align-items: start;
}
.service {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service--featured {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border-color: transparent;
  color: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-lg);
}
.service--featured h3, .service--featured .service__num { color: #fff; }
.service--featured .service__meta { color: var(--gold); }
.service--featured .service__list li { color: rgba(255, 255, 255, 0.8); }
.service--featured .service__list svg { color: var(--gold); }
.service--featured .service__foot { border-top-color: rgba(255, 255, 255, 0.16); }

.service__flag {
  position: absolute;
  top: 0; right: clamp(20px, 3vw, 34px);
  transform: translateY(-50%);
  background: var(--gold);
  color: var(--navy-900);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 7px 15px;
  border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(255, 193, 66, 0.9);
}
.service__num {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 12px;
}
.service h3 { margin-bottom: 6px; }
.service__meta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-700);
  margin-bottom: 16px;
}
.service > p { font-size: 0.99rem; margin-bottom: 22px; }
.service__list { display: grid; gap: 12px; margin-bottom: 28px; flex: 1; }
.service__list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.5;
}
.service__list svg { flex: none; margin-top: 4px; color: var(--blue-600); }
.service__foot { padding-top: 22px; border-top: 1px solid var(--border); }

.services__note {
  margin-top: clamp(28px, 3.4vw, 40px);
  text-align: center;
  font-size: 0.98rem;
  color: var(--body);
}

/* ==========================================================================
   Curriculum
   ========================================================================== */
.curriculum__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.topic {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: transform 0.24s var(--ease), border-color 0.24s, box-shadow 0.24s;
}
.topic:hover { transform: translateY(-3px); border-color: var(--blue-400); box-shadow: var(--shadow); }
.topic h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-weight: 600;
}
.topic h4 i {
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--blue-400), var(--blue-700));
}
.topic p { font-size: 0.93rem; line-height: 1.55; }

.curriculum__media {
  margin-top: clamp(36px, 4.5vw, 56px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.curriculum__media img { width: 100%; object-fit: cover; max-height: 460px; }
.curriculum__media figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 28px 22px;
  background: linear-gradient(transparent, rgba(6, 10, 46, 0.88));
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
}

/* ==========================================================================
   Process
   ========================================================================== */
.process { background: var(--navy-900); color: rgba(255, 255, 255, 0.74); }
.process h2, .process h3 { color: #fff; }
.process .section-head p { color: rgba(255, 255, 255, 0.68); }
.process__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
  counter-reset: step;
}
.step {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 36px);
}
.step__num {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--blue-500), var(--blue-700));
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px -10px rgba(30, 136, 229, 0.9);
}
.step h3 { font-size: 1.18rem; margin-bottom: 10px; }
.step p { font-size: 0.97rem; }

/* ==========================================================================
   Lead magnet
   ========================================================================== */
.magnet__box {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 4vw, 56px);
  align-items: center;
  background: linear-gradient(145deg, #fffaf0, #fff4dd);
  border: 1px solid #f7e0b0;
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4.4vw, 60px);
}
@media (max-width: 860px) { .magnet__box { grid-template-columns: 1fr; } }
.magnet__box h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); }
.magnet__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-800);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.magnet__list { display: grid; gap: 12px; margin-top: 24px; }
.magnet__list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--ink);
}
.magnet__list svg { flex: none; margin-top: 4px; color: #c98a06; }
.magnet__cta {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 34px);
  box-shadow: var(--shadow);
  text-align: center;
}
.magnet__cta p { font-size: 0.95rem; }
.magnet__cta .btn { margin-block: 6px 14px; }

/* ==========================================================================
   About
   ========================================================================== */
.about { background: var(--bg-tint); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 66px);
  align-items: center;
}
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }
.about__photo {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--blue-600), var(--navy-800));
  padding-top: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__photo img { width: 100%; display: block; }
.about__creds { display: grid; gap: 11px; margin: 26px 0 30px; }
.about__creds li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.99rem;
}
.about__creds svg { flex: none; margin-top: 4px; color: var(--blue-600); }
.about__creds b { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__list {
  max-width: 820px;
  margin-inline: auto;
  border-top: 1px solid var(--border);
}
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 4px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.02rem, 0.98rem + 0.28vw, 1.15rem);
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue-700); }
.faq__icon {
  flex: none;
  position: relative;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  margin-top: 2px;
  transition: transform 0.3s var(--ease), border-color 0.25s, background 0.25s;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 11px; height: 1.8px;
  background: var(--blue-700);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s, background 0.25s;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(135deg); background: var(--blue-700); border-color: var(--blue-700); }
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: #fff; }
.faq__answer { padding: 0 60px 26px 4px; font-size: 1rem; }
.faq__answer a { font-weight: 500; }

/* ==========================================================================
   Final CTA + contact
   ========================================================================== */
.cta {
  position: relative;
  background:
    radial-gradient(760px 460px at 78% 12%, rgba(30, 136, 229, 0.34), transparent 62%),
    linear-gradient(155deg, var(--navy-800), var(--navy-900));
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}
.cta h2 { color: #fff; }
.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: start;
}
@media (max-width: 900px) { .cta__grid { grid-template-columns: 1fr; } }
.cta__lede { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.22rem); color: rgba(255, 255, 255, 0.75); margin-bottom: 28px; }
.cta__points { display: grid; gap: 13px; margin-bottom: 32px; }
.cta__points li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.cta__points svg { flex: none; margin-top: 4px; color: var(--gold); }

.card-form {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(26px, 3.2vw, 38px);
  box-shadow: var(--shadow-lg);
  color: var(--body);
}
.card-form h3 { font-size: 1.28rem; margin-bottom: 6px; }
.card-form > p { font-size: 0.94rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.99rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.14);
}
.field textarea { resize: vertical; min-height: 104px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-status {
  margin-top: 14px;
  padding: 12px 15px;
  border-radius: 12px;
  font-size: 0.92rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-ok { background: #e7f6ec; color: #1c6b39; }
.form-status.is-err { background: #fdeced; color: #a52334; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-tint);
  border-top: 1px solid var(--border);
  padding-block: clamp(48px, 6vw, 72px) 0;
  font-size: 0.94rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 44px;
}
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
.site-footer__brand img { height: 40px; width: auto; margin-bottom: 18px; }
.site-footer__brand p { color: var(--body); max-width: 34ch; }
.site-footer h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.site-footer ul { display: grid; gap: 11px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--blue-700); text-decoration: underline; }
.site-footer__bottom {
  border-top: 1px solid var(--border);
  padding-block: 24px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
}
.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-row a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--navy-800);
  transition: transform 0.2s, border-color 0.2s, color 0.2s;
}
.social-row a:hover { transform: translateY(-2px); border-color: var(--blue-400); color: var(--blue-700); }

/* ==========================================================================
   Sticky mobile CTA
   ========================================================================== */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px -14px rgba(10, 16, 48, 0.4);
  transform: translateY(110%);
  transition: transform 0.3s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; padding-block: 14px; }
@media (max-width: 720px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 74px; }
}

/* ==========================================================================
   Legal / simple pages
   ========================================================================== */
.page-head {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: rgba(255, 255, 255, 0.75);
  padding-block: clamp(56px, 7vw, 96px);
}
.page-head h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.8vw, 3.2rem); }
.page-head p { color: rgba(255, 255, 255, 0.7); max-width: 60ch; }

.prose h2 { font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.8rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1.1em; }
.prose ul li { margin-bottom: 0.5em; }
.prose address { font-style: normal; line-height: 1.85; }

/* ==========================================================================
   Motion
   ========================================================================== */
/* Scoped to .js so that if the script never runs, every section stays visible
   instead of the page rendering half-empty. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
