/* =============================================================================
   CODY THOMPSON — STYLES
   Dark, clean, local-not-corporate. Brand: #62AFDC (sky) / #0E5B9A (royal).
   You shouldn't need to edit this file to update content — use data.js.
   ============================================================================= */

:root {
  --sky: #62AFDC;
  --royal: #0E5B9A;
  --sky-soft: #8ec8e6;

  --bg: #070b12;
  --bg-2: #0b111c;
  --bg-3: #0f1726;
  --card: #111a2b;
  --card-hi: #16223a;
  --line: rgba(98, 175, 220, 0.16);
  --line-hi: rgba(98, 175, 220, 0.32);

  --text: #eef4fb;
  --muted: #a7b6cb;
  --muted-2: #7588a0;

  --maxw: 1140px;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.75);
  --shadow-blue: 0 18px 50px -18px rgba(14, 91, 154, 0.55);

  /* layered "lit-from-above" depth: inner top highlight + ambient + key light */
  --shadow-card: inset 0 1px 0 rgba(255,255,255,0.05),
                 0 2px 6px -2px rgba(0,0,0,0.55),
                 0 14px 34px -16px rgba(0,0,0,0.7);
  --shadow-lift: inset 0 1px 0 rgba(255,255,255,0.08),
                 0 6px 14px -6px rgba(0,0,0,0.55),
                 0 30px 60px -22px rgba(0,0,0,0.85),
                 0 0 0 1px rgba(98,175,220,0.10);

  /* black-glass system: translucent dark surfaces, glossy top edge, frosted blur */
  --glass:        linear-gradient(180deg, rgba(24,34,54,0.55) 0%, rgba(13,19,32,0.42) 100%);
  --glass-strong: linear-gradient(180deg, rgba(32,46,72,0.62) 0%, rgba(15,23,38,0.5) 100%);
  --glass-border: rgba(255,255,255,0.10);
  --glass-hi:     inset 0 1px 0 rgba(255,255,255,0.13);
  --blur:         blur(16px) saturate(130%);

  --font-head: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 520px at 86% -8%, rgba(14, 91, 154, 0.16), transparent 55%),
    radial-gradient(900px 480px at 0% 18%, rgba(98, 175, 220, 0.06), transparent 50%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Fixed Leading Edge mark — stationary backdrop, behind all content */
.bg-monogram {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; user-select: none;
  background-image: url("assets/logo/le-mark.png");
  background-repeat: no-repeat; background-position: center;
  background-size: min(64vh, 62vw);
  opacity: 0.10;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head);
  font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  font-size: 1rem; line-height: 1;
  padding: .85em 1.6em; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: .6em 1.1em; font-size: .9rem; }
.btn-lg { padding: 1em 1.9em; font-size: 1.1rem; }
.btn-primary {
  background: linear-gradient(135deg, #7cc0e6 0%, var(--sky) 40%, var(--royal) 100%);
  color: #051018;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 5px rgba(5, 16, 24, 0.28),
    0 10px 22px -8px rgba(14, 91, 154, 0.6),
    0 3px 8px -2px rgba(0, 0, 0, 0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 5px rgba(5, 16, 24, 0.25),
    0 18px 36px -10px rgba(98, 175, 220, 0.7),
    0 6px 14px -4px rgba(0, 0, 0, 0.55);
}
.btn-primary:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 2px 6px rgba(5, 16, 24, 0.4),
    0 5px 12px -8px rgba(14, 91, 154, 0.55);
}
.btn-ghost {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  color: var(--text); border-color: var(--line-hi);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 8px 18px -12px rgba(0, 0, 0, 0.7);
}
.btn-ghost:hover {
  border-color: var(--sky); color: var(--sky); transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 12px 26px -12px rgba(98, 175, 220, 0.4);
}
.btn-ghost:active { transform: translateY(1px); box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4); }

/* ---- Logo (transparent PNG — reads on any dark background) -------------- */
.brand-logo {
  height: 38px; width: auto;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 16px rgba(98, 175, 220, 0.18));
}

/* ---- Headings ---------------------------------------------------------- */
.section-title {
  font-family: var(--font-head);
  font-weight: 800; line-height: 1.04;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -0.01em;
}
.kicker {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .18em; font-size: .82rem; color: var(--sky); margin-bottom: .6rem;
}

/* =============================================================================
   HEADER
   ============================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 12, 20, 0.55);
  backdrop-filter: blur(18px) saturate(135%); -webkit-backdrop-filter: blur(18px) saturate(135%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--glass-border); background: rgba(8, 12, 20, 0.72);
  box-shadow: 0 14px 34px -20px rgba(0, 0, 0, 0.85);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  font-weight: 600; font-size: .95rem; color: var(--muted);
  transition: color .15s ease; position: relative;
}
.nav a:not(.btn):hover { color: var(--text); }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--sky); transition: width .2s ease;
}
.nav a:not(.btn):hover::after { width: 100%; }
.nav a:not(.btn).active { color: var(--text); }
.nav a:not(.btn).active::after { width: 100%; }
.nav-cta { color: #051018 !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--text); border-radius: 2px; transition: .25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =============================================================================
   HERO
   ============================================================================= */
.hero { position: relative; padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem); overflow: hidden; }
.hero-glow {
  position: absolute; top: -30%; right: -10%; width: 70vw; height: 70vw; max-width: 820px; max-height: 820px;
  background: radial-gradient(circle, rgba(14, 91, 154, 0.45) 0%, rgba(98, 175, 220, 0.12) 38%, transparent 68%);
  filter: blur(20px); pointer-events: none; z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 600; font-size: .9rem; color: var(--sky-soft);
  background: rgba(98, 175, 220, 0.08); border: 1px solid var(--line);
  padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.3rem;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(98,175,220,.2); }
.hero-title {
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem); line-height: .98; letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
}
.hero-title .accent { color: var(--sky); }
.hero-title .hook-line { display: block; }
.hero-sub { font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--muted); max-width: 40ch; margin-bottom: 1.3rem; }
.hero-sub strong { color: var(--text); font-weight: 700; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.9rem; }
.hero-point {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .9rem; font-weight: 600; color: var(--text);
  padding: .5rem .9rem .5rem .75rem; border-radius: 999px;
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi), 0 8px 20px -14px rgba(0, 0, 0, 0.8);
}
.hero-point svg { width: 16px; height: 16px; color: var(--sky); flex: 0 0 auto; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.8rem; }
.hero-slogan {
  font-family: var(--font-head); font-weight: 700; font-style: italic; text-transform: uppercase;
  letter-spacing: .04em; font-size: 1.25rem; color: var(--sky);
  display: inline-flex; align-items: center; gap: .6rem;
}
.hero-slogan::before { content: ""; width: 34px; height: 2px; background: var(--sky); }

.hero-photo { position: relative; display: flex; justify-content: center; perspective: 1000px; }
.photo-ring {
  position: relative; width: min(380px, 80vw); aspect-ratio: 1; border-radius: 50%;
  padding: 7px; background: linear-gradient(135deg, var(--sky), var(--royal));
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.4),
    0 30px 60px -20px rgba(0, 0, 0, 0.85),
    0 14px 36px -12px rgba(14, 91, 154, 0.6);
  transform-style: preserve-3d;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease;
  will-change: transform;
}
.photo-ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
/* glossy top-left sheen → reads as a lit, 3D orb */
.photo-ring::after {
  content: ""; position: absolute; inset: 7px; border-radius: 50%; pointer-events: none; z-index: 2;
  background: radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 52%);
}
.hero-namecard {
  position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%);
  background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px; padding: .85rem 1.4rem .9rem; text-align: center;
  box-shadow: var(--glass-hi), var(--shadow-lift); min-width: 78%; z-index: 3;
  overflow: hidden;
}
/* gradient hairline on top — same language as the result cards */
.hero-namecard::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--royal)); opacity: .9;
}
.hero-namecard strong {
  display: block; font-family: var(--font-head); font-size: 1.5rem;
  letter-spacing: .01em; line-height: 1.05;
}
.hero-namecard .nc-role {
  display: block; margin-top: .3rem;
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--sky);
}
.hero-namecard .nc-org {
  display: block; margin-top: .25rem;
  font-size: .76rem; color: var(--muted); letter-spacing: .01em;
}

/* =============================================================================
   PROOF BAR
   ============================================================================= */
.proof {
  border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border);
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.6) 0%, rgba(11, 17, 28, 0.5) 100%);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { text-align: center; padding: 2.2rem 1rem; position: relative; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-value {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1;
  background: linear-gradient(180deg, #d4ecfb 0%, var(--sky) 48%, var(--royal) 122%);
  -webkit-background-clip: text; background-clip: text;
  color: var(--sky); -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(98, 175, 220, 0.35));
  transition: filter .6s ease;
}
.stat-value.counting { filter: drop-shadow(0 0 24px rgba(98, 175, 220, 0.8)); }
.stat-label { color: var(--muted); font-size: .92rem; margin-top: .5rem; letter-spacing: .01em; }

/* =============================================================================
   SECTIONS
   ============================================================================= */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; position: relative; }

/* Stacked-slab rhythm: alternating sections rise as layered panels — rounded top,
   lit top edge, soft upward shadow — so the page reads as distinct zones, not one sheet. */
.section-alt, .section-cta {
  position: relative; z-index: 1;
  border-radius: 34px 34px 0 0;
  margin-top: -34px;
  padding-top: calc(clamp(3.5rem, 8vw, 6rem) + 34px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07),
              0 -34px 60px -34px rgba(0, 0, 0, 0.9);
}
.section-alt {
  background: linear-gradient(180deg, rgba(17, 26, 43, 0.72) 0%, rgba(9, 14, 24, 0.6) 100%);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.section-head { max-width: 60ch; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-intro { color: var(--muted); font-size: 1.08rem; margin-top: .8rem; }

/* ---- About ------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-photo img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover;
}
.about-copy .lead { font-size: 1.15rem; color: var(--text); margin-bottom: 1.1rem; }
.about-copy p { color: var(--muted); }
.about-copy .kicker { text-align: left; }

/* ---- Results ----------------------------------------------------------- */
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.result-card {
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  padding: 1.5rem 1.4rem; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  position: relative; overflow: hidden; box-shadow: var(--glass-hi), var(--shadow-card);
}
.result-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--royal)); opacity: .8;
}
.result-card:hover { transform: translateY(-5px); border-color: var(--line-hi); box-shadow: var(--shadow-lift); }
.result-sport {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: var(--sky-soft); background: rgba(98,175,220,.1); border: 1px solid var(--line);
  padding: .25rem .6rem; border-radius: 999px; margin-bottom: 1rem;
}
.result-amount { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--text); line-height: 1; transition: text-shadow .6s ease; }
.result-amount.counting { text-shadow: 0 0 18px rgba(98, 175, 220, 0.45); }
.result-amount .cur { color: var(--sky); }
.result-program { font-weight: 600; margin-top: .5rem; }
.result-year { color: var(--muted-2); font-size: .85rem; margin-top: .15rem; }
/* faded school-logo watermark, bleeding off the bottom-right of each card */
.result-card > .result-sport,
.result-card > .result-amount,
.result-card > .result-program,
.result-card > .result-year { position: relative; z-index: 2; }
.result-card::before { z-index: 3; }
.result-wm {
  position: absolute; right: -30px; bottom: -30px;
  width: 200px; height: 200px; object-fit: contain;
  opacity: .15; pointer-events: none; z-index: 1; filter: saturate(1.05);
}

/* ---- Products ---------------------------------------------------------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: start; }
/* center a lone trailing card so the last row isn't orphaned to the left (3-col only) */
@media (min-width: 961px) {
  .products-grid > .product-card:last-child:nth-child(3n + 1) { grid-column: 2; }
}

/* Sticky mobile call-to-action */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
    padding: .95rem 1rem; border-radius: 14px;
    font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
    color: #06223b;
    background: linear-gradient(135deg, #7cc0e6 0%, var(--sky) 45%, var(--royal) 100%);
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .75), var(--glass-hi);
    border: 1px solid rgba(255, 255, 255, .25);
    transition: opacity .25s ease, transform .25s ease;
  }
  .mobile-cta.hidden { opacity: 0; transform: translateY(120%); pointer-events: none; }
  body { padding-bottom: 80px; }
}
.product-card {
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  position: relative; box-shadow: var(--glass-hi), var(--shadow-card);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.product-card.featured {
  border-color: rgba(98, 175, 220, 0.28);
  background: var(--glass-strong);
}
.product-badge {
  position: absolute; top: -11px; left: 1.4rem; z-index: 3;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  font-size: .72rem; color: #051018;
  background: linear-gradient(135deg, var(--sky), var(--royal));
  padding: .3rem .8rem; border-radius: 999px;
  box-shadow: 0 6px 14px -6px rgba(98, 175, 220, 0.7);
}
.product-name { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; letter-spacing: .01em; line-height: 1.1; }
.product-desc { color: var(--muted); font-size: .96rem; margin: 0 0 1rem; }
.product-bestfor {
  font-size: .82rem; color: var(--sky-soft); border-top: 1px solid var(--line); padding-top: .8rem;
}
.product-bestfor span { color: var(--muted-2); }

/* ---- Collapsible cards (products + steps): heading + icon, expand to read */
.collapsible { padding: 0; overflow: visible; }
.card-head {
  width: 100%; display: flex; align-items: center; gap: .9rem;
  padding: 1.2rem 1.4rem; background: none; border: 0; cursor: pointer;
  color: inherit; font: inherit; text-align: left; border-radius: var(--radius);
}
.card-head:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.card-icon {
  flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 12px; color: var(--sky);
  background: rgba(98, 175, 220, 0.1); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 10px -6px rgba(0, 0, 0, 0.6);
  transition: background .2s ease, transform .2s ease;
}
.card-icon svg { width: 24px; height: 24px; }
.card-head .product-name, .card-head .step-title { flex: 1 1 auto; margin: 0; }
.card-chevron { flex: 0 0 auto; color: var(--muted-2); display: grid; transition: transform .3s ease, color .2s ease; }
.card-chevron svg { width: 20px; height: 20px; display: block; }
.card-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.card-body-inner { overflow: hidden; min-height: 0; }
.card-body-pad { padding: 0 1.4rem 1.35rem; }

/* Clicking the head opens any card (works on every device) */
.collapsible.open > .card-body { grid-template-rows: 1fr; }
.collapsible.open .card-chevron { transform: rotate(180deg); color: var(--sky); }
.collapsible.open .card-icon { background: rgba(98, 175, 220, 0.2); transform: translateY(-1px); }

@media (hover: hover) {
  /* Steps (Why It's Easy): hover peeks them open — kept as-is */
  .step-card:hover > .card-body { grid-template-rows: 1fr; }
  .step-card:hover .card-chevron { transform: rotate(180deg); color: var(--sky); }
  .step-card:hover .card-icon { background: rgba(98, 175, 220, 0.2); }
  .step-card:hover { transform: translateY(-4px); border-color: var(--line-hi); box-shadow: var(--shadow-lift); }

  /* Products (Ten Ways to Raise): CLICK to expand. Hover only gives a subtle,
     button-like lift + enlarge — it does NOT open the card. */
  .product-card:hover { transform: translateY(-3px) scale(1.02); border-color: var(--line-hi); box-shadow: var(--shadow-lift); }
  .product-card:hover .card-icon { background: rgba(98, 175, 220, 0.16); }
  .product-card .card-head { cursor: pointer; }
}

/* ---- How it works ------------------------------------------------------ */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 1.4rem; align-items: start; }
.step-card {
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  box-shadow: var(--glass-hi), var(--shadow-card);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.step-num {
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  width: 44px; height: 44px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--sky); border: 2px solid var(--line-hi);
  background: rgba(98,175,220,.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 4px 10px -6px rgba(0,0,0,.6);
}
.step-title { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; line-height: 1.1; }
.step-card .card-body-inner p { color: var(--muted); font-size: .95rem; }
.promise {
  max-width: 56ch; margin: 0 auto; text-align: center;
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.3rem, 3vw, 1.85rem);
  line-height: 1.3; color: var(--text); padding: .5rem 1rem 0; position: relative;
}
.promise::before, .promise::after { content: '"'; color: var(--sky); font-size: 1.4em; }

/* ---- Testimonials ------------------------------------------------------ */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; max-width: 760px; margin: 0 auto; }
.testimonial {
  background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--glass-hi), var(--shadow-lift);
}
.testimonial-quote { font-size: 1.1rem; line-height: 1.6; color: var(--text); margin-bottom: 1.3rem; }
.testimonial-stars { color: var(--sky); letter-spacing: .15em; margin-bottom: 1rem; font-size: 1rem; }
.testimonial-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.testimonial-role { color: var(--muted); font-size: .9rem; }

/* ---- Book CTA ---------------------------------------------------------- */
.section-cta {
  background: linear-gradient(160deg, rgba(22, 43, 67, 0.72) 0%, rgba(10, 19, 34, 0.6) 100%);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.book-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.book-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin: 1.6rem 0 2rem; }
.book-facts li {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border); border-radius: 999px;
  padding: .55rem 1.1rem; font-size: .92rem; color: var(--muted);
  box-shadow: var(--glass-hi), var(--shadow-card);
}
.book-facts li strong { color: var(--text); font-weight: 600; }
.book-facts svg { width: 16px; height: 16px; color: var(--sky); }

/* ---- Lead form --------------------------------------------------------- */
.form-wrap { max-width: 760px; margin: 0 auto; }
.lead-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem;
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border); border-radius: 20px;
  box-shadow: var(--glass-hi), var(--shadow-lift);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--muted); }
.field .req { color: var(--sky); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: rgba(7, 11, 19, 0.6); border: 1px solid var(--glass-border); border-radius: var(--radius-sm);
  padding: .8rem .95rem; transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(98,175,220,.15);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2362AFDC' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem;
}
.field.invalid input, .field.invalid select { border-color: #e0556b; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.form-note { font-size: .92rem; color: var(--muted); }
.form-note.ok { color: #58d6a0; font-weight: 600; }
.form-note.err { color: #e0556b; font-weight: 600; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none !important; }

/* =============================================================================
   FOOTER
   ============================================================================= */
.site-footer {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, #0c131f 0%, #070b12 100%);
  border-radius: 34px 34px 0 0;
  margin-top: -34px;
  padding-top: calc(3rem + 34px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 -34px 60px -34px rgba(0, 0, 0, 0.9);
}
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; }
.footer-brand .brand-logo { height: 44px; margin-bottom: 1rem; }
.footer-tagline {
  font-family: var(--font-head); font-style: italic; font-weight: 700; text-transform: uppercase;
  color: var(--sky); letter-spacing: .03em; font-size: 1.1rem;
}
.footer-contact { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.footer-link { color: var(--muted); font-weight: 500; transition: color .15s ease; }
.footer-link:hover { color: var(--sky); }
.footer-socials { display: flex; gap: .7rem; margin-top: .5rem; }
.footer-socials a {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 10px; color: var(--muted); transition: .18s ease;
}
.footer-socials a:hover { color: var(--sky); border-color: var(--sky); transform: translateY(-2px); }
.footer-socials svg { width: 19px; height: 19px; }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 1.4rem 22px; margin-top: 0;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--muted-2); font-size: .85rem;
}
.footer-bottom #footerCredit { color: var(--muted); font-weight: 500; }

/* =============================================================================
   REVEAL ANIMATION
   ============================================================================= */
/* entrance: only the hidden state sets transform, so hover/tilt transforms
   on revealed cards aren't overridden once they've animated in */
.reveal { opacity: 0; transition: opacity .6s ease, transform .6s ease; }
.reveal:not(.in) { transform: translateY(22px); }
.reveal.in { opacity: 1; }

/* =============================================================================
   RESPONSIVE
   ============================================================================= */

/* Mobile perf: keep the black-glass *look* via translucency, but drop the
   expensive backdrop-blur on the many repeated cards so scrolling stays smooth.
   Blur is retained on the few single elements (header, nav, namecard, form). */
@media (max-width: 820px) {
  .result-card, .product-card, .step-card, .book-facts li, .hero-point,
  .section-alt, .section-cta, .proof {
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .result-card, .product-card, .step-card {
    background: linear-gradient(180deg, rgba(23, 33, 53, 0.92), rgba(13, 19, 32, 0.9));
  }
  .product-card.featured { background: linear-gradient(180deg, rgba(31, 45, 71, 0.94), rgba(15, 23, 38, 0.92)); }
  .hero-point, .book-facts li { background: rgba(20, 29, 47, 0.88); }
  .proof { background: linear-gradient(180deg, #111a2c, #0b1018); }
  .section-alt { background: linear-gradient(180deg, #131d30 0%, #0a1019 100%); }
  .section-cta { background: linear-gradient(160deg, #16293f 0%, #0a1322 100%); }
}

@media (max-width: 960px) {
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .nav {
    position: fixed; inset: 70px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(9, 13, 22, 0.82); backdrop-filter: blur(20px) saturate(135%); -webkit-backdrop-filter: blur(20px) saturate(135%);
    border-bottom: 1px solid var(--glass-border);
    padding: .5rem 22px 1.3rem;
    transform: translateY(-130%); transition: transform .3s ease; visibility: hidden;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav a { padding: .95rem 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: .9rem; text-align: center; border-bottom: none !important; }
  .nav-toggle { display: flex; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .hero-copy { order: 2; }
  .hero-photo { order: 1; margin-bottom: 1.2rem; }
  .photo-ring { width: min(248px, 64vw); }
  .hero-namecard { padding: .5rem 1rem; bottom: -7%; }
  .hero-namecard strong { font-size: 1.2rem; }
  .hero-namecard span { font-size: .74rem; }
  .eyebrow, .hero-slogan { margin-left: auto; margin-right: auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-points { justify-content: center; }
  .hero-cta { justify-content: center; }

  .about-grid { grid-template-columns: 1fr; }
  .about-photo { order: 2; }
  .about-copy .kicker { text-align: center; }
  .about-copy { text-align: center; }
}

@media (max-width: 560px) {
  .proof-grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--line); }
  .results-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .result-card { padding: 1.2rem 1rem; }
  .result-amount { font-size: 1.6rem; }
  .products-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .lead-form { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal:not(.in) { opacity: 1; transform: none; transition: none; }
  .photo-ring { transform: none !important; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
