/* =========================================================================
   Marina Wyss × AI/ML Career Launchpad · pitch site (system A)
   Light, cool, precise. Keyed to the slate-teal of her studio portraits.
   Structure mirrors the pitch-deck format (hero + sample deliverables).
   ========================================================================= */

@font-face { font-family: "Space Grotesk"; src: url("assets/fonts/space-grotesk-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("assets/fonts/jetbrains-mono-var.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  --bg: #f4f5f3;
  --bg-2: #eceeeb;
  --surface: #ffffff;
  --surface-2: #f7f8f6;
  --line: rgba(21, 32, 31, 0.12);
  --line-soft: rgba(21, 32, 31, 0.07);

  --text: #15201f;
  --text-2: #586664;
  --text-3: #5d6a68;

  --accent: #1d6b63;
  --accent-2: #2a8c82;
  --accent-deep: #174f4a;
  --accent-ink: #f4f5f3;
  --accent-soft: rgba(47, 107, 255, 0.10);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1120px;
  --gutter: clamp(20px, 5vw, 32px);
  --section-y: clamp(72px, 11vh, 132px);
  --radius: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------- Base --------------------------------- */
[hidden] { display: none !important; } /* mode-switched elements must stay hidden even when a component sets display */
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
/* page canvas: light corner tech-frame accents + brushed diagonal streaks (gradients.md #10 + #9) */
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 40% at 100% 0%, rgba(47, 107, 255, 0.10), transparent 60%),
    radial-gradient(50% 40% at 0% 100%, rgba(47, 107, 255, 0.07), transparent 60%),
    repeating-linear-gradient(115deg, rgba(21, 32, 31, 0.018) 0 1px, transparent 1px 9px),
    linear-gradient(115deg, var(--bg), var(--bg-2)); }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 140px 140px; }
body {
  margin: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }

/* ------------------------------ Typography ------------------------------ */
.eyebrow {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.section__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

/* Small directional arrows */
.arrow, .arrow-down {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  vertical-align: middle;
  margin-left: 7px;
  transition: transform 0.3s var(--ease);
}
.arrow { transform: rotate(-45deg); }
.arrow-down { transform: rotate(45deg); margin-left: 8px; }

/* -------------------------------- Reveal -------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.hero__inner .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero__inner .reveal:nth-child(2) { transition-delay: 0.18s; }
.hero__inner .reveal:nth-child(3) { transition-delay: 0.3s; }

/* -------------------------------- Buttons ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 13px 26px;
  border-radius: 980px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    border-color 0.3s var(--ease), opacity 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: var(--accent-ink); position: relative; overflow: hidden; }
.btn--primary::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%); background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent); transition: transform 0.6s var(--ease); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(47, 107, 255, 0.45); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--lg { padding: 17px 40px; font-size: 1.1rem; }

/* --------------------------------- Hero --------------------------------- */
.hero {
  text-align: center;
  padding-top: clamp(80px, 13vh, 148px);
  padding-bottom: clamp(24px, 4vh, 48px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -5% 0 -5%;
  background: radial-gradient(120% 70% at 50% -10%, rgba(47, 107, 255, 0.10), transparent 60%);
  pointer-events: none;
  animation: glowDrift 16s ease-in-out infinite alternate;
}
.hero__inner { position: relative; }
.hero__title {
  margin: 0 auto;
  max-width: 1080px;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  text-wrap: balance;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
}
/* Word-by-word reveal (applied once JS splits the headline) */
.hero__title.split { opacity: 1; transform: none; transition: none; } /* the words carry the entrance; no transition on the h1 itself so GSAP never samples a half-way state */
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.42em);
  filter: blur(6px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
  will-change: opacity, transform, filter;
}
.hero__title.is-in .word { opacity: 1; transform: none; filter: blur(0); }

.mark { position: relative; white-space: nowrap; color: var(--accent-deep); }
.mark::after {
  content: "";
  position: absolute;
  left: -1px; right: -1px; bottom: -0.04em;
  height: 0.09em;
  background: var(--accent);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease) 0.5s;
}
.hero__title.is-in .mark::after { transform: scaleX(1); }

.hero__actions { margin-top: 40px; display: flex; justify-content: center; }
.hero__actions .arrow-down { animation: chevBob 2.2s var(--ease) infinite; }

/* -------------------------------- Player -------------------------------- */
.hplayer { margin: 44px auto 0; max-width: 760px; }
.hplayer__stage {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; background: #05060a; border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(21, 32, 31, 0.28);
}
.hplayer__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #05060a; }

/* dark scrim behind the big play button (idle only) */
.hplayer__scrim { position: absolute; inset: 0; pointer-events: none; transition: opacity 0.45s var(--ease);
  background: radial-gradient(120% 120% at 50% 45%, rgba(0,0,0,0.12), rgba(0,0,0,0.55)); }
.hplayer__stage:not([data-state="idle"]) .hplayer__scrim { opacity: 0; }

/* big centered play */
.hplayer__big { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 88px; height: 88px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.35); background: var(--accent); backdrop-filter: blur(8px);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), opacity 0.4s var(--ease), border-color 0.4s var(--ease); }
.hplayer__big svg { width: 32px; height: 32px; fill: #fff; margin-left: 4px; position: relative; z-index: 1; }
.hplayer__big-glow { position: absolute; inset: 0; border-radius: 50%; animation: hpPulse 2.8s ease-out infinite; }
.hplayer__big:hover { transform: translate(-50%, -50%) scale(1.07); background: var(--accent-2); border-color: #fff; }
.hplayer__stage:not([data-state="idle"]) .hplayer__big { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(0.8); }
@keyframes hpPulse { 0% { box-shadow: 0 0 0 0 rgba(42,140,130,0.45); } 70% { box-shadow: 0 0 0 22px rgba(42,140,130,0); } 100% { box-shadow: 0 0 0 0 rgba(42,140,130,0); } }

/* captions overlay */
.hplayer__cc { position: absolute; left: 50%; bottom: 76px; transform: translateX(-50%); max-width: 84%; text-align: center;
  font-size: clamp(0.9rem, 0.8rem + 0.5vw, 1.08rem); line-height: 1.4; color: #fff; pointer-events: none;
  transition: bottom 0.3s var(--ease); }
.hplayer__cc span { background: rgba(6,8,14,0.64); padding: 3px 10px; border-radius: 7px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hplayer__cc:empty { display: none; }
.hplayer__stage:hover .hplayer__cc, .hplayer__stage[data-state="paused"] .hplayer__cc { bottom: 82px; }

/* control bar */
.hplayer__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: linear-gradient(to top, rgba(4,6,10,0.85), rgba(4,6,10,0.4) 60%, transparent);
  opacity: 0; transform: translateY(8px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.hplayer__stage:hover .hplayer__bar, .hplayer__stage[data-state="paused"] .hplayer__bar,
.hplayer__stage.hp-touch .hplayer__bar { opacity: 1; transform: none; }
.hplayer__stage[data-state="idle"] .hplayer__bar { opacity: 0; pointer-events: none; }

.hp-btn { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border: none; background: transparent;
  color: #fff; cursor: pointer; border-radius: 8px; opacity: 0.82; transition: opacity 0.2s var(--ease), background 0.2s var(--ease); }
.hp-btn:hover { opacity: 1; background: rgba(255,255,255,0.1); }
.hp-btn svg { width: 20px; height: 20px; fill: #fff; }
.hp-btn--mute svg, .hp-btn--full svg { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hp-i-play, .hp-i-sound { display: none; }
.hplayer__stage[data-state="paused"] .hp-i-pause, .hplayer__stage[data-state="idle"] .hp-i-pause { display: none; }
.hplayer__stage[data-state="paused"] .hp-i-play, .hplayer__stage[data-state="idle"] .hp-i-play { display: block; }

.hp-time { font-size: 0.72rem; color: rgba(255,255,255,0.75); font-variant-numeric: tabular-nums; min-width: 36px; text-align: center; }

/* scrub */
.hp-scrub { position: relative; flex: 1 1 auto; height: 28px; display: flex; align-items: center; cursor: pointer; }
.hp-scrub__track { position: relative; width: 100%; height: 4px; border-radius: 99px; background: rgba(255,255,255,0.22); transition: height 0.15s var(--ease); }
.hp-scrub:hover .hp-scrub__track, .hp-scrub.dragging .hp-scrub__track { height: 6px; }
.hp-scrub__buf { position: absolute; left: 0; top: 0; height: 100%; width: 0; border-radius: 99px; background: rgba(255,255,255,0.3); }
.hp-scrub__fill { position: absolute; left: 0; top: 0; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--accent-2), #7fd0c6); box-shadow: 0 0 10px rgba(42,140,130,0.6); }
.hp-scrub__knob { position: absolute; top: 50%; left: 0; width: 13px; height: 13px; border-radius: 50%; background: #fff;
  transform: translate(-50%, -50%) scale(0); transition: transform 0.18s var(--ease); box-shadow: 0 1px 5px rgba(0,0,0,0.45); }
.hp-scrub:hover .hp-scrub__knob, .hp-scrub.dragging .hp-scrub__knob { transform: translate(-50%, -50%) scale(1); }

/* CC toggle */
.hp-btn--cc { width: auto; padding: 0 9px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; }
.hp-btn--cc.is-on { background: rgba(42,140,130,0.55); opacity: 1; }

/* speed */
.hp-speed { position: relative; }
.hp-btn--speed { width: auto; padding: 0 9px; font-size: 0.76rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hp-speed__menu { position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%); min-width: 76px; padding: 6px;
  background: rgba(10,12,18,0.97); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  display: none; flex-direction: column; gap: 2px; }
.hp-speed__menu.open { display: flex; }
.hp-speed__menu button { border: none; background: transparent; color: rgba(255,255,255,0.8); font-size: 0.78rem; font-weight: 600;
  padding: 7px 10px; border-radius: 7px; cursor: pointer; text-align: center; font-variant-numeric: tabular-nums; }
.hp-speed__menu button:hover { background: rgba(255,255,255,0.09); color: #fff; }
.hp-speed__menu button.is-on { background: rgba(42,140,130,0.45); color: #fff; }

@media (max-width: 560px) {
  .hp-btn { width: 30px; height: 30px; }
  .hp-btn--full { display: none; }
  .hplayer__cc { bottom: 62px; }
}

/* ----------------------------- Deliverables ----------------------------- */
.deliverables { padding-top: clamp(28px, 4.5vh, 56px); }
.deliverables__title { text-align: center; margin-bottom: clamp(48px, 8vh, 84px); }

.group { margin-bottom: clamp(64px, 10vh, 112px); }
.group:last-child { margin-bottom: 0; }
.group__head { display: flex; align-items: center; justify-content: center; gap: 22px; margin-bottom: 36px; }
.group__rule { flex: 1; height: 1px; background: var(--line); max-width: 220px; transform: scaleX(0); transform-origin: center; transition: transform 0.9s var(--ease); }
.group__head.is-in .group__rule { transform: scaleX(1); }
.group__meta { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.group__label { font-family: var(--display); font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.group__count { font-family: var(--mono); font-size: 0.72rem; color: var(--text-3); letter-spacing: 0.18em; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-inline: auto; }
.grid--1 { grid-template-columns: 1fr; }

/* Preview card: a framed browser window + clear type hierarchy */
.pcard {
  appearance: none; font: inherit; color: inherit; text-align: left; position: relative;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 12px 12px 20px; cursor: pointer; display: flex; flex-direction: column; gap: 0;
  transform-style: preserve-3d; will-change: transform;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 10px 30px -22px rgba(21, 32, 31, 0.25);
  transition: transform 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.pcard:hover { border-color: rgba(47, 107, 255, 0.35); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 30px 60px -28px rgba(21, 32, 31, 0.32), 0 0 0 1px rgba(47, 107, 255, 0.08); }
.pcard:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.pcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(47, 107, 255, 0.10), transparent 44%); opacity: 0; transition: opacity 0.35s var(--ease); pointer-events: none; }
.pcard:hover::after { opacity: 1; }

/* the window frame */
.thumb { position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--surface-2); aspect-ratio: 4 / 3; border: 1px solid var(--line-soft); box-shadow: 0 14px 30px -18px rgba(21, 32, 31, 0.35); }
.thumb--wide { aspect-ratio: 16 / 7; }
.thumb__bar { position: absolute; left: 0; right: 0; top: 0; height: 26px; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)); border-bottom: 1px solid rgba(21, 32, 31, 0.08); backdrop-filter: blur(6px); }
.thumb__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(21, 32, 31, 0.14); }
.thumb__bar i:nth-child(1) { background: #ff5f57; } .thumb__bar i:nth-child(2) { background: #febc2e; } .thumb__bar i:nth-child(3) { background: #28c840; }
.thumb__url { margin-left: 8px; flex: 1; height: 14px; border-radius: 7px; background: rgba(21, 32, 31, 0.06); display: flex; align-items: center; padding: 0 8px; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.04em; color: var(--text-3); white-space: nowrap; overflow: hidden; }
.thumb__img { position: absolute; inset: 26px 0 0 0; width: 100%; height: calc(100% - 26px); object-fit: cover; object-position: 50% 0%; transition: object-position 2.2s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s var(--ease); }
.pcard:hover .thumb__img { object-position: 50% 38%; }
.thumb--wide .thumb__img { object-position: 50% 50%; }
.pcard:hover .thumb--wide .thumb__img { object-position: 50% 50%; transform: scale(1.02); }
.thumb::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); }

/* type */
.pcard__body { padding: 16px 8px 0; }
.pcard__kicker { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.pcard__title { display: block; font-family: var(--display); font-size: 1.22rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; color: var(--text); }
.pcard__desc { display: block; margin-top: 6px; font-size: 0.92rem; line-height: 1.5; color: var(--text-2); }
.pcard__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 0.86rem; font-weight: 600; color: var(--accent); letter-spacing: 0.005em; transition: gap 0.3s var(--ease); }
.pcard:hover .pcard__link { gap: 10px; }
.pcard__link .arrow { margin-left: 0; border-color: currentColor; }
.pcard--wide .pcard__body { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.pcard--wide .pcard__link { margin-top: 0; }

/* SVG mock palette (legacy) */
.mock { width: 100%; height: auto; }
.m-stroke { fill: none; stroke: rgba(21, 32, 31, 0.28); stroke-width: 2; }
.m-line { stroke: rgba(21, 32, 31, 0.12); stroke-width: 1.5; }
.m-fill { fill: var(--accent); }
.m-soft { fill: rgba(21, 32, 31, 0.16); }
.m-faint { fill: rgba(21, 32, 31, 0.07); }
.m-panel { fill: var(--surface-2); stroke: rgba(21, 32, 31, 0.12); stroke-width: 1; }

/* --------------------------------- CTA ---------------------------------- */
.cta { text-align: center; overflow: hidden; }
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 50% 120%, rgba(47, 107, 255, 0.12), transparent 70%);
  pointer-events: none;
}
.cta__wrap { position: relative; }
.cta__title {
  margin: 0 0 36px;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6.5vw, 4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

/* -------------------------------- Footer -------------------------------- */
.footer { position: relative; height: 72px; background: rgba(21, 32, 31, 0.04); }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: -140px; height: 140px; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(21, 32, 31, 0.04)); }
.footer__inner { height: 100%; display: flex; align-items: center; justify-content: center; }
.footer__note { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); line-height: 48px; }

/* ------------------------------ Sticky CTA ------------------------------ */
/* Booking one tap away for the whole scroll; yields only to the closing CTA. */
.stickycta {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 980px;
  background: var(--accent, var(--text));
  color: var(--accent-ink, var(--bg));
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 12px 40px color-mix(in srgb, var(--accent) 38%, transparent),
    0 0 0 1px rgba(21, 32, 31, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0s linear 0.35s;
}
.stickycta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(var(--mgx, 0px), var(--mgy, 0px)) scale(1);
  transition: opacity 0.35s var(--ease), transform 0.25s var(--ease), visibility 0s;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s;
}
.stickycta.is-visible:hover { transform: translate(var(--mgx, 0px), calc(var(--mgy, 0px) - 2px)) scale(1.02); }
.stickycta__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-ink, var(--bg));
  animation: stickyPulse 2.4s var(--ease) infinite;
}
@keyframes stickyPulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-ink) 55%, transparent); }
  70%, 100% { box-shadow: 0 0 0 7px transparent; }
}
@media (max-width: 560px) {
  .stickycta { left: clamp(16px, 3vw, 28px); right: clamp(16px, 3vw, 28px); justify-content: center; }
}

/* ------------------------------- Lightbox ------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 64px);
  background: rgba(5, 9, 24, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__inner {
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.lightbox__stage {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  max-height: 78vh;
  transform-origin: top left;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}
.lightbox__stage img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; display: block; }
.lightbox__stage--embed { height: 78vh; background: #0a0c13; }
.lightbox__frame { width: 100%; height: 100%; border: 0; display: block; background: #0a0c13; }
.lightbox__open { margin-left: 12px; font-size: 0.85rem; font-weight: 500; color: rgba(255, 255, 255, 0.75); border-bottom: 1px solid rgba(255, 255, 255, 0.35); transition: color 0.3s var(--ease); }
.lightbox__open:hover { color: #fff; }
.lightbox__placeholder { padding: clamp(28px, 6vw, 64px); text-align: center; }
.lightbox__placeholder .mock { max-width: 560px; margin: 0 auto 22px; }
.lightbox__placeholder p { margin: 0; font-size: 0.9rem; color: var(--text-3); }
.lightbox__title { margin: 0; font-size: 1.05rem; font-weight: 600; color: #fff; }
.lightbox__close {
  position: absolute;
  top: clamp(16px, 3vw, 28px);
  right: clamp(16px, 3vw, 28px);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.15); transform: rotate(90deg); }

/* --------------------------- Calendly popup ----------------------------- */
.cal-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(21, 32, 31, 0.74);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}
.cal-modal.open { opacity: 1; visibility: visible; }
.cal-frame {
  position: relative;
  width: min(820px, 100%);
  height: min(1000px, 92vh);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
  transform: scale(0.98);
  transition: transform 0.28s var(--ease);
}
.cal-modal.open .cal-frame { transform: scale(1); }
.cal-frame iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; display: block; background: transparent; }
.cal-loader {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.3s var(--ease);
}
.cal-loader span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: calDot 1s ease-in-out infinite; }
.cal-loader span:nth-child(2) { animation-delay: 0.15s; }
.cal-loader span:nth-child(3) { animation-delay: 0.3s; }
.cal-modal.cal-ready .cal-loader { opacity: 0; }

/* ------------------------------- Keyframes ------------------------------ */
@keyframes glowDrift {
  0% { transform: translate3d(-1.5%, 0, 0); opacity: 0.8; }
  100% { transform: translate3d(1.5%, 1.5%, 0); opacity: 1; }
}
@keyframes playPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.16); }
  70%, 100% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); }
}
@keyframes chevBob {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50% { transform: rotate(45deg) translate(2px, 2px); }
}
@keyframes calDot {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 860px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .pcard--wide .pcard__body { grid-template-columns: 1fr; }
  .thumb--wide { aspect-ratio: 16 / 9; }
  .group__rule { max-width: 60px; }
  .hero__actions .btn { width: 100%; }
  .stickycta { padding: 12px 22px; }
  .cal-frame { height: 90vh; border-radius: 16px; }
}

/* --------------------------- Reduced motion ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .lightbox, .lightbox__stage { transition: none; }
  .hero::before, .hplayer__big-glow, .hero__actions .arrow-down { animation: none; }
  .mark::after { transition: none; transform: scaleX(1); }
  .group__rule { transition: none; transform: scaleX(1); }
  .thumb__img { transition: none; }
  .pcard { transition: none; }
  .stickycta { transform: none; transition: opacity 0.25s linear, visibility 0s linear 0.25s; }
  .stickycta.is-visible { transform: none; transition: opacity 0.25s linear; }
  .stickycta__dot { animation: none; }
  .cal-modal { transition: opacity 0.15s linear; }
  .cal-frame { transition: none; transform: none; }
  .cal-loader span { animation: none; }
}

/* ---------------------- Hero photo-swarm (signature) -------------------- */
/* Overlay above the already-visible hero. pointer-events none throughout. */
.swarm { position: absolute; inset: 0; pointer-events: none; z-index: 5; overflow: visible; }
.swarm__ph { position: absolute; width: clamp(84px, 9vw, 128px); aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65); box-shadow: 0 18px 40px -16px rgba(21, 32, 31, 0.35); background: var(--surface);
  opacity: 0; transform: translate(var(--ox), var(--oy)) rotate(var(--r, 0deg)) scale(0.92); will-change: transform, opacity; }
.swarm__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swarm.is-on .swarm__ph { animation: swarmIn 4s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes swarmIn {
  0%   { opacity: 0; transform: translate(var(--ox), var(--oy)) rotate(var(--r, 0deg)) scale(0.92); }
  10%  { opacity: 1; transform: translate(var(--ix), var(--iy)) rotate(calc(var(--r, 0deg) * 0.4)) scale(1); }
  82%  { opacity: 1; transform: translate(var(--ix), var(--iy)) rotate(calc(var(--r, 0deg) * 0.4)) scale(1); }
  100% { opacity: 0; transform: translate(var(--ox), var(--oy)) rotate(var(--r, 0deg)) scale(0.92); }
}
@media (prefers-reduced-motion: reduce) { .swarm { display: none; } }
@media (max-width: 760px) { .swarm { display: none; } }

/* reduced / static: jump to final states (no mid-transition captures, honours prefers-reduced-motion) */
html.reduced *, html.reduced *::before, html.reduced *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important; transition-delay: 0s !important; }

/* ------------------------- Sender options (pitch site) ------------------- */
/* Agency branding: small top-left lockup. Configured in PITCH_CONFIG.brand; removed when empty. */
.agency-bar { position: absolute; top: clamp(18px, 3vw, 28px); left: clamp(18px, 3vw, 32px); z-index: 6; display: inline-flex; align-items: center; gap: 10px; }
.agency-bar a { display: inline-flex; align-items: center; gap: 10px; }
.agency-bar img { height: 26px; width: auto; display: block; }
.agency-bar span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-2); }
.hero { position: relative; }

/* Hero embed (Loom / Wistia) */
.hplayer__embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #05060a; }
.hplayer__stage[data-state="embed"] .hplayer__scrim, .hplayer__stage[data-state="embed"] .hplayer__big, .hplayer__stage[data-state="embed"] .hplayer__bar, .hplayer__stage[data-state="embed"] .hplayer__cc { display: none; }

/* Inline Calendly (replaces the CTA button + modal) */
.cta__title { margin-bottom: 28px; }
.cal-inline { position: relative; width: min(900px, 100%); margin: 0 auto; height: min(760px, 92vh); border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgba(21, 32, 31, 0.35); }
.cal-inline iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Case studies (optional, PITCH_CONFIG.caseStudies) */
.case-studies { padding-top: 0; }
.case-studies__title { text-align: center; margin-bottom: clamp(36px, 6vh, 60px); }
.cs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 960px; margin-inline: auto; }
.cs-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.cs-media { aspect-ratio: 16 / 9; background: var(--surface-2); }
.cs-media iframe, .cs-media img { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.cs-body { padding: 20px 22px 24px; text-align: center; }
.cs-result { margin: 0 0 8px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.cs-title { margin: 0 0 8px; font-family: var(--display); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.cs-text { margin: 0; font-size: 0.95rem; color: var(--text-2); line-height: 1.55; }
@media (max-width: 700px) { .cs-grid { grid-template-columns: 1fr; } .cal-inline { height: 80vh; border-radius: 16px; } }

/* ------------------------- Bridge (unaware mode) ------------------------- */
.bridge { padding-bottom: clamp(24px, 4vh, 48px); }
.bridge__head { text-align: center; margin-bottom: clamp(56px, 9vh, 96px); }
.bridge__head .eyebrow { margin-bottom: 14px; }
.beat { display: grid; grid-template-columns: 92px minmax(0, 1.25fr) minmax(280px, 0.9fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-block: clamp(40px, 6vh, 64px); border-top: 1px solid var(--line-soft); }
.beat:last-of-type { border-bottom: 1px solid var(--line-soft); }
.beat__num { display: flex; flex-direction: column; gap: 14px; padding-top: 6px; }
.beat__idx { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.2em; color: var(--accent); }
.beat__rule { width: 36px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease) 0.25s; }
.beat.is-in .beat__rule { transform: scaleX(1); }
.beat__kicker { margin: 0 0 12px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.beat__title { margin: 0 0 16px; font-family: var(--display); font-size: clamp(1.35rem, 2.3vw, 1.8rem); font-weight: 700; line-height: 1.16; letter-spacing: -0.022em; text-wrap: balance; }
.beat__text { margin: 0; font-size: 1.02rem; line-height: 1.65; color: var(--text-2); max-width: 56ch; }
.beat__aside { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px 24px; box-shadow: 0 18px 48px -28px rgba(21, 32, 31, 0.25); }
.aside__note { margin: 16px 0 0; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
/* 01 · price ladder */
.ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ladder li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: 0.95rem; }
.ladder li span { color: var(--text-2); }
.ladder li b { font-family: var(--display); font-weight: 700; white-space: nowrap; }
.ladder__gap { background: transparent !important; border: 1px dashed rgba(47, 107, 255, 0.45); }
.ladder__gap b { color: var(--accent); font-family: var(--mono); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; }
/* 02 · before / after */
.shift { display: grid; grid-template-columns: 1fr 28px 1fr; align-items: center; gap: 10px; }
.shift__col { display: grid; gap: 4px; padding: 14px 12px; border-radius: 12px; background: var(--surface-2); }
.shift__col--on { background: var(--accent-soft); border: 1px solid rgba(47, 107, 255, 0.25); }
.shift__label { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.shift__col b { font-family: var(--display); font-size: 1rem; line-height: 1.2; letter-spacing: -0.01em; }
.shift__col--on b { color: var(--accent-deep); }
.shift__sub { font-size: 0.8rem; color: var(--text-2); line-height: 1.35; }
.shift__arrow { width: 22px; height: 22px; border-right: 1.6px solid var(--accent); border-top: 1.6px solid var(--accent); transform: rotate(45deg) scale(0.6); justify-self: center; }
/* 03 · sums */
.sums { display: grid; gap: 10px; }
.sum { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); }
.sum b { font-family: var(--display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1; }
.sum span { font-size: 0.86rem; color: var(--text-2); line-height: 1.4; }
.sum--on { background: var(--accent-soft); border: 1px solid rgba(47, 107, 255, 0.25); }
.sum--on b { color: var(--accent-deep); }
/* 04 · the week */
.week { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.week li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: baseline; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.week b { font-family: var(--display); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.015em; }
.week span { font-size: 0.86rem; color: var(--text-2); line-height: 1.4; }
.bridge__close { text-align: center; padding-top: clamp(44px, 7vh, 72px); display: grid; gap: 24px; justify-items: center; }
.bridge__closing { margin: 0; max-width: 46ch; font-family: var(--display); font-size: clamp(1.15rem, 1.9vw, 1.45rem); font-weight: 600; line-height: 1.35; letter-spacing: -0.015em; text-wrap: balance; }
.cta__sub { margin: -12px auto 32px; max-width: 52ch; font-size: 1.02rem; line-height: 1.6; color: var(--text-2); }
@media (max-width: 900px) {
  .beat { grid-template-columns: 1fr; gap: 22px; }
  .beat__num { flex-direction: row; align-items: center; }
}

/* ---- mobile hardening (references/mobile.md) ---- */
img, svg, video, canvas, iframe { max-width: 100%; height: auto; }
p, li, td, th, blockquote, figcaption,
h1, h2, h3, h4, h5, h6 { overflow-wrap: anywhere; }
table, pre { display: block; max-width: 100%; overflow-x: auto; }
@media (max-width: 700px) {
  .tag, [class*="badge"], [class*="pill"] { margin-left: 0; }
}
@media (max-width: 420px) {
  .tok-merge, .tok-link, code { white-space: normal; }
}

/* =========================================================================
   BUILTPATH THEME (dark, like the Colby page). Change --accent per prospect
   if you want their brand colour; default is BuiltPath green.
   ========================================================================= */
:root {
  --bg: #0b0d0c; --bg-2: #0f1211; --surface: #141816; --surface-2: #181d1a;
  --line: rgba(255,255,255,0.10); --line-soft: rgba(255,255,255,0.06);
  --text: #f1f4f2; --text-2: #a6b0ab; --text-3: #8b958f;
  --accent: #4fbf7a; --accent-2: #6fd694; --accent-deep: #2f8a52; --accent-ink: #06150c; --accent-soft: rgba(79,191,122,0.12);
}
body::before { background:
  radial-gradient(60% 40% at 50% 0%, rgba(79,191,122,0.10), transparent 60%),
  linear-gradient(180deg, var(--bg), var(--bg-2)); }
.grid--2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 760px) { .grid--2 { grid-template-columns: 1fr; } }

/* My results */
.results { padding: var(--section-y) 0; text-align: center; }
.results__sub { margin: 14px auto 0; max-width: 620px; color: var(--text-2); }
.results__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 18px); margin-top: clamp(28px, 4vw, 44px); }
.rslot { margin: 0; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.rslot img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) { .results__grid { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================================
   v2 THEME: Rolex-style emerald on deep charcoal, clean fonts, no "coding" look
   ========================================================================= */
@font-face { font-family: "Clash Display"; src: url("assets/fonts/clash-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("assets/fonts/clash-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("assets/fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("assets/fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("assets/fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --bg: #111614; --bg-2: #0d1210; --surface: #171e1b; --surface-2: #1c2420;
  --line: rgba(255,255,255,0.09); --line-soft: rgba(255,255,255,0.05);
  --text: #f4f6f5; --text-2: #b4bdb8; --text-3: #8e9893;
  --accent: #0f8a5f; --accent-2: #2fd08a; --accent-deep: #006039; --accent-ink: #ffffff; --accent-soft: rgba(47,107,255,0.14);
  --font: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Clash Display", "Satoshi", -apple-system, sans-serif;
  --mono: var(--font);
}
body::before { background:
  radial-gradient(55% 40% at 50% 0%, rgba(30,64,175,0.30), transparent 65%),
  radial-gradient(40% 35% at 100% 100%, rgba(30,64,175,0.12), transparent 60%),
  linear-gradient(180deg, var(--bg), var(--bg-2)); }

/* labels: plain sans, sentence case, grey (no green terminal text) */
.eyebrow, .pcard__kicker, .group__count, .footer__note, .cs-result { font-family: var(--font); text-transform: none; letter-spacing: 0; }
.pcard__kicker { color: var(--text-3); font-weight: 500; font-size: 0.82rem; }
.footer__note { color: var(--text-3); font-size: 0.86rem; }
.thumb__url { font-family: var(--font); letter-spacing: 0; }

/* headline: white, one phrase in bright green */
.hero { padding-top: clamp(40px, 8vh, 96px); }
.hero__title { font-family: var(--display); font-weight: 600; color: var(--text); letter-spacing: -0.01em; max-width: 980px; margin-inline: auto; }
.mark { color: var(--accent-2); white-space: normal; }
.mark::after { display: none; }
.hero__sub { color: var(--text-2); font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.section__title { font-family: var(--display); font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); }

/* How it works: 3 steps at a glance */
.how { text-align: center; padding: clamp(64px, 10vh, 110px) 0 clamp(40px, 6vh, 70px); }
.how__sub { color: var(--text-2); margin: 12px 0 0; font-size: 1.1rem; }
.how__row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 14px; margin-top: clamp(30px, 5vh, 50px); }
.hstep { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: inherit; padding: 28px 22px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.hstep:hover { transform: translateY(-4px); border-color: rgba(96,150,255,0.45); box-shadow: 0 20px 50px rgba(30,64,175,0.25); }
.hstep__num { font-family: var(--display); font-weight: 600; font-size: 0.95rem; color: var(--accent-2); }
.hstep__name { font-family: var(--display); font-weight: 600; font-size: 1.6rem; color: var(--text); }
.hstep__text { color: var(--text-2); font-size: 0.98rem; line-height: 1.45; max-width: 240px; }
.hstep__tag { margin-top: auto; padding: 6px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; background: var(--accent-soft); color: var(--accent-2); }
.hstep__tag--done { background: rgba(255,255,255,0.07); color: var(--text); }
.how__arrow { align-self: center; width: 22px; height: 22px; border-top: 2px solid var(--text-3); border-right: 2px solid var(--text-3); transform: rotate(45deg); opacity: .7; }
@media (max-width: 760px) { .how__row { grid-template-columns: 1fr; } .how__arrow { transform: rotate(135deg); justify-self: center; } }

/* stage sections */
.stage { padding: clamp(60px, 9vh, 100px) 0; }
.stage__head { text-align: center; margin-bottom: clamp(26px, 4vh, 40px); }
.stage__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent); color: #fff; font-family: var(--display); font-weight: 600; margin-bottom: 16px; }
.stage__sub { color: var(--text-2); margin: 12px auto 0; max-width: 620px; font-size: 1.08rem; }
.step__label { margin: clamp(26px, 4vh, 40px) 0 16px; font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--text); text-align: center; }
.tstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tstat { padding: 26px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.tstat b { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--text); }
.tstat span { color: var(--text-2); font-size: 0.95rem; }
.tmath { text-align: center; color: var(--text-2); margin-top: 20px; }
@media (max-width: 760px) { .tstats { grid-template-columns: repeat(2, 1fr); } }
.cta__sub { color: var(--text-2); }
.tstats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tstat b { overflow-wrap: anywhere; }
@media (max-width: 760px) { .tstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =========================================================================
   v3 THEME: royal blue on black (like the Justin build), bigger headline
   ========================================================================= */
:root {
  --bg: #07080c; --bg-2: #0a0c13; --surface: #10131c; --surface-2: #151926;
  --line: rgba(255,255,255,0.09); --line-soft: rgba(255,255,255,0.05);
  --text: #ffffff; --text-2: #b7bdcc; --text-3: #8b92a5;
  --accent: #2563eb; --accent-2: #5b8cff; --accent-deep: #1d4ed8; --accent-ink: #ffffff; --accent-soft: rgba(37,99,235,0.16);
}
body::before { background:
  radial-gradient(60% 45% at 50% -5%, rgba(37,99,235,0.28), transparent 65%),
  radial-gradient(45% 40% at 100% 100%, rgba(37,99,235,0.10), transparent 60%),
  linear-gradient(180deg, var(--bg), var(--bg-2)); }

/* Headline: 2 tiers so it never reads like a paragraph */
.hero__title { max-width: 1060px; text-wrap: balance; }
.hero__line1 { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2.3rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.02em; color: #fff; }
.hero__line2 { display: block; margin-top: 18px; font-family: var(--display); font-weight: 600; font-size: clamp(1.35rem, 2.7vw, 2.15rem); line-height: 1.2; letter-spacing: -0.01em; color: #e6e9f2; }
.hlbox { display: inline; padding: 0.02em 0.22em 0.06em; border-radius: 10px; background: linear-gradient(180deg, #2f6bff, #1d4ed8); color: #fff;
  box-shadow: 0 10px 30px rgba(37,99,235,0.45), inset 0 1px 0 rgba(255,255,255,0.25); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.mark { color: var(--accent-2); }
.hero__sub { margin-top: 20px; font-size: clamp(1.05rem, 1.7vw, 1.2rem); }

/* Buttons + sticky pill in royal blue */
.btn--primary { background: linear-gradient(180deg, #2f6bff, #1d4ed8); color: #fff; box-shadow: 0 10px 28px rgba(37,99,235,0.35); }
.btn--primary:hover { background: linear-gradient(180deg, #3b77ff, #2563eb); }
.stickycta { background: linear-gradient(180deg, #2f6bff, #1d4ed8) !important; color: #fff !important; }

/* How it works */
.how__title { max-width: 900px; margin-inline: auto; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; }
.hstep { position: relative; }
.hstep:hover { border-color: rgba(91,140,255,0.55); box-shadow: 0 20px 50px rgba(37,99,235,0.28); }
.hstep__num { color: var(--accent-2); }
.hstep__tag { background: var(--accent-soft); color: var(--accent-2); }
.hstep--done { background: linear-gradient(180deg, rgba(37,99,235,0.10), rgba(255,255,255,0.02)); border-color: rgba(91,140,255,0.35); }
.hstep--done .hstep__name s { text-decoration-thickness: 3px; text-decoration-color: var(--accent-2); color: var(--text-2); }
.hstep__tag--done { background: var(--accent); color: #fff; }
.hstep__check, .done__check { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(180deg, #2f6bff, #1d4ed8); box-shadow: 0 8px 22px rgba(37,99,235,0.45); }
.hstep__check { position: absolute; top: -14px; right: -14px; }
.hstep__check::after, .done__check::after { content: ""; width: 12px; height: 7px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg) translate(1px, -2px); }

/* Traffic: one short "done" card */
.stage--short { padding: clamp(30px, 5vh, 50px) 0; }
.done { display: flex; align-items: center; gap: 22px; max-width: 760px; margin: 0 auto; padding: 26px 30px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(37,99,235,0.12), rgba(255,255,255,0.02)); border: 1px solid rgba(91,140,255,0.3); }
.done__check { flex: none; width: 56px; height: 56px; }
.done__check::after { width: 18px; height: 10px; border-width: 0 0 4px 4px; }
.done__num { margin: 0 0 4px; color: var(--accent-2); font-weight: 700; font-size: 0.9rem; }
.done__title { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2rem); color: #fff; }
.done__sub { margin: 6px 0 0; color: var(--text-2); }

/* Stage heads + part labels */
.stage__num { background: linear-gradient(180deg, #2f6bff, #1d4ed8); box-shadow: 0 8px 22px rgba(37,99,235,0.4); }
.stage .section__title { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.step__label { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.step__label span { padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); font-family: var(--font); font-weight: 700; font-size: 0.82rem; }
.grid--below { margin-top: clamp(16px, 2vw, 24px); }
.pcard:hover { border-color: rgba(91,140,255,0.45); }
.pcard__link { color: var(--accent-2); }
.hero__line1 { letter-spacing: 0; word-spacing: 0.08em; font-weight: 600; }
.hero__line2 { letter-spacing: 0; word-spacing: 0.06em; font-weight: 600; }
.how__title, .stage .section__title, .done__title, .cta__title, .results__title { letter-spacing: 0; word-spacing: 0.05em; }
@media (min-width: 900px) { .hlbox { white-space: nowrap; } }

/* ---- My results (v3) ---- */
.results__sub b { color: #fff; }
.rlabel { margin: clamp(40px, 6vh, 64px) 0 18px; text-align: center; font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: #fff; }
.rlabel--sm { margin-top: 30px; font-size: 1.15rem; color: var(--text-2); }
.rshot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
.rshot img { display: block; width: 100%; height: auto; }
.rshot--wide { margin-top: 16px; }
.rcreators { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.rstat { text-align: center; }
.rstat b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; color: #fff; text-shadow: 0 0 40px rgba(37,99,235,0.55); }
.rstat span { display: block; margin-top: 8px; color: var(--text-2); }
.rpay { display: grid; grid-template-columns: 0.9fr 1fr 1fr; gap: 16px; margin-top: 16px; align-items: start; }
.rpay__col { display: grid; gap: 16px; }
.rcalls { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.rlisten { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.rcall { position: relative; display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: #fff;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.rcall:hover { transform: translateY(-4px); border-color: rgba(91,140,255,0.55); box-shadow: 0 20px 50px rgba(37,99,235,0.3); }
.rcall img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; }
.rcall__body { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; }
.rcall__body b { font-family: var(--display); font-weight: 600; }
.rcall__go { color: var(--accent-2); font-weight: 700; font-size: 0.9rem; }
.rcall__go::after { content: " \2197"; }
@media (max-width: 860px) { .rcreators { grid-template-columns: repeat(2, minmax(0,1fr)); } .rpay { grid-template-columns: 1fr; } .rcalls, .rlisten { grid-template-columns: 1fr; } }

/* Hero "click to unmute" card: centred, mostly see-through */
.hplayer__stage { position: relative; }
.hunmute { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; border: 0; padding: 0; background: rgba(0,0,0,0.12); cursor: pointer; }
.hunmute__card { display: grid; justify-items: center; gap: 6px; padding: 18px 28px; border-radius: 16px; color: #fff;
  background: rgba(10,14,30,0.30); border: 1px solid rgba(255,255,255,0.22); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: transform .3s var(--ease), background .3s var(--ease); }
.hunmute:hover .hunmute__card { transform: scale(1.05); background: rgba(37,99,235,0.45); }
.hunmute svg { width: 34px; height: 34px; color: #fff; animation: hunPulse 1.8s ease-in-out infinite; }
.hunmute b { font-family: var(--font); font-weight: 700; font-size: 1rem; }
.hunmute__card > span { font-size: 0.9rem; color: rgba(255,255,255,0.85); }
@keyframes hunPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .hunmute svg { animation: none; } }

/* ---- My results: one bento grid (v4) ---- */
.results__sub { font-size: clamp(1.1rem, 2vw, 1.35rem); color: #e6e9f2; }
.hlbox--sm { padding: 0.04em 0.3em 0.08em; border-radius: 8px; font-weight: 700; box-shadow: 0 8px 22px rgba(37,99,235,0.4); }
.rgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; gap: 14px; margin-top: clamp(30px, 5vh, 48px); }
.rtile { position: relative; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #0d1018; box-shadow: 0 18px 44px rgba(0,0,0,0.35);
  aspect-ratio: 16 / 10; display: block; text-decoration: none; color: #fff; transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.rtile:hover { transform: translateY(-3px); border-color: rgba(91,140,255,0.5); box-shadow: 0 22px 50px rgba(37,99,235,0.25); }
.rtile img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.rtile--fit img { object-fit: contain; object-position: center; background: #111318; }
.rtile--strip { aspect-ratio: auto; }
.rtile--strip img { height: auto; object-fit: contain; }
.c3 { grid-column: span 3; } .c4 { grid-column: span 4; } .c12 { grid-column: span 12; }
.r2 { grid-row: span 2; aspect-ratio: auto; }
.rtile--call::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5,8,20,0.85)); }
.rtile__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; }
.rtile__cap b { font-family: var(--display); font-weight: 600; }
.rtile__cap span { color: #fff; font-weight: 700; font-size: 0.85rem; padding: 5px 10px; border-radius: 999px; background: var(--accent); }
.rtile__cap span::after { content: " \2197"; }
@media (max-width: 860px) {
  .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c3, .c4 { grid-column: span 1; } .c12 { grid-column: span 2; } .r2 { grid-row: span 1; aspect-ratio: 16 / 10; }
}
.hplayer__stage:has(.hunmute) .hplayer__big { opacity: 0; pointer-events: none; }

/* "Built for {creator}" pill above the headline */
.builtfor { display: inline-flex; align-items: center; gap: 10px; margin: 0 auto 22px; padding: 8px 18px; border-radius: 999px;
  background: rgba(37,99,235,0.14); border: 1px solid rgba(91,140,255,0.45); color: #fff; font-family: var(--font); font-weight: 700;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem); letter-spacing: 0.01em; box-shadow: 0 8px 26px rgba(37,99,235,0.25); }
.builtfor__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); }

/* =========================================================================
   v5 TOP CLEANUP: calmer, more professional hero
   ========================================================================= */
body::before { background:
  radial-gradient(50% 35% at 50% -8%, rgba(37,99,235,0.16), transparent 65%),
  linear-gradient(180deg, var(--bg), var(--bg-2)); }
.hero { padding-top: clamp(36px, 7vh, 80px); }
.builtfor { padding: 5px 12px; gap: 8px; margin-bottom: 20px; background: transparent; border: 1px solid rgba(255,255,255,0.14);
  box-shadow: none; font-weight: 500; font-size: 0.82rem; color: var(--text-2); }
.builtfor__dot { width: 6px; height: 6px; box-shadow: none; }
.hero__title--clean { max-width: 900px; font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.15; letter-spacing: 0; word-spacing: 0.04em; color: #fff; text-wrap: balance; }
.hero__title--clean .mark { color: var(--accent-2); }
.hero__sub { margin-top: 16px; font-size: clamp(1rem, 1.5vw, 1.1rem); color: var(--text-3); }
.hplayer__stage { border: 1px solid rgba(255,255,255,0.08) !important; box-shadow: 0 24px 60px rgba(0,0,0,0.5) !important; }
.hero .btn--primary { box-shadow: none; }
.swarm__ph { width: clamp(72px, 7.5vw, 108px); box-shadow: 0 12px 30px rgba(0,0,0,0.45); }
.stickycta { box-shadow: 0 10px 26px rgba(0,0,0,0.35) !important; }
@font-face { font-family: "Clash Display"; src: url("assets/fonts/clash-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
.hero__title--clean { font-weight: 500; font-size: clamp(1.85rem, 3.7vw, 2.9rem); line-height: 1.18; max-width: 860px; }
.hero__title--clean .ht1 { display: block; margin-bottom: 6px; color: var(--text-2); }
.hero__title--clean .mark { font-weight: 600; }
.stage__sub--tight { margin: -6px auto 18px; text-align: center; }


/* v6 HUMAN PASS: flat and solid, like a page someone built by hand.
   No glows, no gradients, no shine, no lift shadows. Plain bold Inter headings. */
:root {
  --bg: #141414; --bg-2: #141414; --surface: #1c1c1c; --surface-2: #222222;
  --line: rgba(255,255,255,0.08); --line-soft: rgba(255,255,255,0.05);
  --text: #f5f5f5; --text-2: #a3a3a3; --text-3: #8a8a8a;
  --accent: #2563eb; --accent-2: #4d8bff;
  --display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: var(--font);
}
html, body { background: var(--bg); }
body::before, body::after, .hero::before, .cta::before, .footer::before, .pcard::after, .thumb::after, .btn--primary::after { display: none !important; background: none !important; }
.hero__title, .hero__title--clean, .section__title, .hstep__name, .pcard__title, .step__label, .stage__num, .hstep__num, .cta__title { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; word-spacing: normal; }
.hero__title--clean { font-weight: 700; }
.hero__title--clean .ht1 { color: #f5f5f5; }
.hlbox, .mark { background: none !important; box-shadow: none !important; padding: 0; color: var(--accent-2); border-radius: 0; }
.btn--primary, .btn--primary:hover { background: var(--accent); box-shadow: none; transform: none; }
.btn--primary:hover { background: #1d4ed8; }
.btn, .btn:hover { box-shadow: none; }
.pcard, .pcard:hover, .hstep, .hstep:hover, .thumb, .done, .rtile, .beat__aside, .cal-inline { box-shadow: none; }
.pcard:hover, .hstep:hover { transform: none; border-color: rgba(255,255,255,0.18); }
.hplayer__big-glow { animation: none; display: none; }
.hplayer { box-shadow: none; border: 1px solid var(--line); }
.builtfor { background: transparent; border: 0; box-shadow: none; padding: 0; color: var(--text-2); }
.builtfor__dot { background: #22c55e; box-shadow: none; animation: none; }
.sticky-cta, .scta { box-shadow: none; }
.hplayer { border: 0; }
.hplayer__stage { box-shadow: none !important; border: 1px solid rgba(255,255,255,0.10) !important; outline: 0 !important; background: #0f0f0f; }
.hstep--done { background: var(--surface); border-color: rgba(255,255,255,0.14); }
.hstep__check, .done__check { background: var(--accent); box-shadow: none; }
.done { background: var(--surface) !important; border: 1px solid var(--line) !important; box-shadow: none !important; }
.rtile, .pcard, .thumb { border-color: var(--line); }
/* "Built for" moved to a quiet top-left line, like Brandon's brand mark */
.topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.topbar__in { max-width: 1240px; margin: 0 auto; padding: 26px var(--gutter) 0; }
.topbar .builtfor { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 600; color: var(--text); }
.topbar .builtfor__dot { width: 9px; height: 9px; border-radius: 50%; }
.hero { padding-top: clamp(96px, 13vh, 130px) !important; }
/* Step labels: blue text, matches "Step 1" on the traffic card */
.stage__step { font-size: 1rem; margin: 0 0 10px; }
/* "Personally built for": small, tucked into the top-left corner, live dot */
.topbar__in { max-width: none; padding: 20px 24px 0; }
.topbar .builtfor { font-size: 0.85rem; font-weight: 500; color: var(--text-2); gap: 8px; }
.topbar .builtfor__dot { width: 8px; height: 8px; background: #16a34a; animation: livePulse 2.4s ease-in-out infinite !important; }
@keyframes livePulse {
  0%, 100% { background: #15803d; box-shadow: 0 0 0 0 rgba(34,197,94,0); }
  50% { background: #4ade80; box-shadow: 0 0 8px 2px rgba(74,222,128,0.55); }
}
@media (prefers-reduced-motion: reduce) { .topbar .builtfor__dot { animation: none !important; background: #22c55e; } }
.hero__title--clean .ht1 { display: block; }
.hero__title .word:has(> .ht1) { display: block; }
/* Step 3: setter + closer on top, just a bit bigger than the 3 follow-up cards */
.grid--team { max-width: 900px; margin-inline: auto; }
.step__label--plain { margin-top: clamp(36px, 6vh, 56px); }

/* Results: intro above the sales-call row + "Sales call N" labels */
.rintro { padding: clamp(20px, 4vh, 36px) 4px 4px; }
.rintro h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 1.6rem); letter-spacing: -0.02em; color: #fff; }
.rintro p { margin: 0; max-width: 640px; color: var(--text-2); line-height: 1.55; }
.rtile__tag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 10px; border-radius: 8px; background: rgba(0,0,0,0.7); color: #fff; font-size: 0.8rem; font-weight: 700; }
.rintro { text-align: center; } .rintro p { margin: 0 auto; }

/* v7 final touch: a little more depth and life, still flat and professional */
:root { --bg: #0e0f11; --bg-2: #0e0f11; --surface: #17181b; --surface-2: #1d1f23; --line: rgba(255,255,255,0.08); }
html, body { background: var(--bg); }
/* $522K: heavier and brighter royal blue, with a thin solid underline. No glow, no box. */
.hero__title--clean .hlbox, .hero__title--clean .mark { font-weight: 800; color: #4f86ff;
  background-image: linear-gradient(#2563eb, #2563eb) !important; background-repeat: no-repeat !important;
  background-size: 100% 3px !important; background-position: 0 100% !important; padding-bottom: 2px; }
/* How-it-works tiles and deliverable cards: respond on hover with a blue edge and a small lift */
.hstep, .pcard, .rtile--call { transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.hstep:hover, .pcard:hover { transform: translateY(-3px) !important; border-color: rgba(59,130,246,0.55) !important; background-color: var(--surface-2); }
.hstep:hover .hstep__name, .pcard:hover .pcard__title { color: #fff; }
.rtile--call:hover { transform: translateY(-3px); border-color: rgba(59,130,246,0.55); }
@media (prefers-reduced-motion: reduce) { .hstep:hover, .pcard:hover, .rtile--call:hover { transform: none !important; } }
/* v7.1: hover stays quiet. No blue edge, just a slightly lighter grey border and a 2px lift */
.hstep:hover, .pcard:hover, .rtile--call:hover { border-color: rgba(255,255,255,0.16) !important; transform: translateY(-2px) !important; }
