/* =========================================================================
   Kaseena × Making Marriage Sexy · pitch site (system A)
   "After hours": aubergine-black canvas, candle-warm blush light, a rose
   accent and an editorial serif. Built for Diego / Creator Growth Solutions.
   Deliberately NOT the funnel brand (cream / wine / hot pink / Fraunces).
   ========================================================================= */

@font-face { font-family: "Instrument Serif"; src: url("assets/fonts/instrument-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("assets/fonts/instrument-serif-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-var.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --bg: #160f13;
  --bg-2: #1c1318;
  --surface: #21171d;
  --surface-2: #2a1e25;
  --line: rgba(247, 239, 233, 0.14);
  --line-soft: rgba(247, 239, 233, 0.08);

  --text: #f7efe9;
  --text-2: #c9b8bd;
  --text-3: #a8959c;

  --accent: #eaa6a9;          /* blush rose */
  --accent-2: #f4c7bd;        /* candle peach */
  --accent-deep: #f2b7b4;
  --accent-ink: #22121a;
  --accent-soft: rgba(234, 166, 169, 0.12);
  --rose-rgb: 234, 166, 169;

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif; /* labels: Manrope caps, letterspaced */

  --container: 1160px;
  --gutter: clamp(20px, 5vw, 32px);
  --section-y: clamp(80px, 12vh, 140px);
  --radius: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --hero-half: 440px;         /* half the hero copy column; the photos live outside it */
}

/* --------------------------------- Base --------------------------------- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
/* page canvas: one continuous after-hours wash (no seams between sections) */
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(70% 50% at 50% -8%, rgba(var(--rose-rgb), 0.16), transparent 62%),
    radial-gradient(45% 40% at 0% 55%, rgba(178, 58, 90, 0.10), transparent 70%),
    radial-gradient(45% 40% at 100% 85%, rgba(244, 199, 189, 0.07), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg-2)); }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.05;
  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: 19px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -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); }
em { font-style: italic; }

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

/* The signature detail: a small four-point spark (her ⚡ and 🩷, made quiet) */
.spark { display: inline-block; width: 14px; height: 14px; flex: none; vertical-align: -1px; background: currentColor;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }

/* ------------------------------ Typography ------------------------------ */
.eyebrow {
  margin: 0 0 22px;
  display: block; text-wrap: balance;
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.section__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.6vw, 4rem);
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.section__title em, .cta__title em { color: var(--accent); }

.arrow, .arrow-down { display: inline-block; width: 7px; height: 7px; border-right: 1.7px solid currentColor; border-bottom: 1.7px 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: 10px; margin-top: -4px; }

/* -------------------------------- 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; }
.hero__inner .reveal:nth-child(4) { transition-delay: 0.4s; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* -------------------------------- Buttons ------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 15px 30px; min-height: 52px; border-radius: 980px;
  font-size: 1.08rem; font-weight: 600; letter-spacing: -0.005em; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.btn:active { transform: scale(0.97); }
.btn--ghost { background: rgba(247, 239, 233, 0.03); color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: 0 14px 36px -16px rgba(var(--rose-rgb), 0.45); }

/* --------------------------------- Hero --------------------------------- */
.hero { position: relative; text-align: center; padding-top: clamp(104px, 14vh, 150px); padding-bottom: clamp(24px, 4vh, 48px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -10% -5% 0 -5%; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 30%, rgba(var(--rose-rgb), 0.10), transparent 65%);
  animation: glowDrift 16s ease-in-out infinite alternate; }
.hero__inner { position: relative; z-index: 2; max-width: calc(var(--hero-half) * 2); }
.hero__title {
  margin: 0 auto;
  max-width: calc(var(--hero-half) * 2);
  font-family: var(--display);
  font-size: clamp(2.1rem, 3.1vw, 2.85rem);
  text-wrap: balance;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.1;
  letter-spacing: -0.012em;
}
.hero__title.split { opacity: 1; transform: none; transition: none; }
.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; font-style: italic; color: var(--accent); }
.mark::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 0.02em; height: 0.07em; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease) 0.5s; }
.hero__title.is-in .mark::after { transform: scaleX(1); }

.hero__sub { margin: 26px auto 0; max-width: 46ch; font-size: 1.2rem; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }

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

/* -------------------------------- Player -------------------------------- */
.hplayer { margin: 48px auto 0; max-width: 800px; }
.hplayer__stage { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #0b0709; border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(var(--rose-rgb), 0.06), 0 30px 120px -60px rgba(var(--rose-rgb), 0.45); }
.hplayer__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #0b0709; }
.hplayer__scrim { position: absolute; inset: 0; pointer-events: none; transition: opacity 0.45s var(--ease);
  background: radial-gradient(120% 120% at 50% 45%, rgba(22, 15, 19, 0.10), rgba(22, 15, 19, 0.62)); }
.hplayer__stage:not([data-state="idle"]) .hplayer__scrim { opacity: 0; }

.hplayer__big { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 92px; height: 92px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4); 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: var(--accent-ink); 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(var(--rose-rgb), 0.5); } 70% { box-shadow: 0 0 0 24px rgba(var(--rose-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--rose-rgb), 0); } }

.hplayer__cc { position: absolute; left: 50%; bottom: 76px; transform: translateX(-50%); max-width: 84%; text-align: center;
  font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.12rem); line-height: 1.4; color: #fff; pointer-events: none; transition: bottom 0.3s var(--ease); }
.hplayer__cc span { background: rgba(14, 9, 12, 0.66); 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; }

.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(10, 6, 9, 0.86), rgba(10, 6, 9, 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: 38px; height: 38px; flex: none; display: grid; place-items: center; border: none; background: transparent; color: #fff; cursor: pointer; border-radius: 8px; opacity: 0.85; transition: opacity 0.2s var(--ease), background 0.2s var(--ease); }
.hp-btn:hover { opacity: 1; background: rgba(var(--rose-rgb), 0.16); }
.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 { display: none; } /* no timestamps anywhere (hero-video-player.md rule 1) */

.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), var(--accent-2)); box-shadow: 0 0 10px rgba(var(--rose-rgb), 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); }

.hp-speed { position: relative; }
.hp-btn--speed { width: auto; padding: 0 10px; font-size: 0.82rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hp-speed__menu { position: absolute; bottom: 46px; left: 50%; transform: translateX(-50%); min-width: 80px; padding: 6px; background: rgba(20, 13, 17, 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.82); font-size: 0.84rem; font-weight: 600; padding: 8px 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(var(--rose-rgb), 0.38); color: #fff; }
.hplayer__embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #0b0709; }
.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; }

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

/* ------------------- Hero photo constellation (signature) --------------- */
/* Kaseena + Taylor drift in from the edges on load, then float gently in place, forever
   on screen. Desktop: mirrored pairs in the gutters either side of the copy column.
   Below 1240px: a fanned band of cards above the eyebrow, in normal flow, so it can never
   sit on the headline. pointer-events none throughout. */
.swarm { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.swarm__ph { --w: clamp(112px, 9.4vw, 148px); --k: 0.3; --t: 20%; --r: 0deg; --ox: 0px; --oy: 0px; --dur: 7s;
  position: absolute; top: var(--t); width: var(--w); aspect-ratio: 4 / 5;
  transform: translate(0, 0); opacity: 1; will-change: transform, opacity; }
.swarm__card { display: block; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.22); transform: rotate(var(--r));
  box-shadow: 0 26px 50px -22px rgba(0, 0, 0, 0.8), 0 0 0 4px rgba(247, 239, 233, 0.04); }
.swarm__card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* desktop gutters: left cards = odd index, right cards = even pair partner */
.swarm__ph:nth-child(odd)  { left: calc(50% - (var(--hero-half) + (50vw - var(--hero-half)) * var(--k)) - var(--w) / 2); --ox: -46vw; }
.swarm__ph:nth-child(even) { left: calc(50% + (var(--hero-half) + (50vw - var(--hero-half)) * var(--k)) - var(--w) / 2); --ox: 46vw; }
.swarm__ph:nth-child(1), .swarm__ph:nth-child(2) { --t: 9%;  --k: 0.7;  --dur: 7.4s; }
.swarm__ph:nth-child(3), .swarm__ph:nth-child(4) { --t: 29%; --k: 0.36; --dur: 8.2s; }
.swarm__ph:nth-child(5), .swarm__ph:nth-child(6) { --t: 50%; --k: 0.72; --dur: 6.8s; }
.swarm__ph:nth-child(7), .swarm__ph:nth-child(8) { --t: 67%; --k: 0.37; --dur: 7.8s; }
.swarm__ph:nth-child(1) { --r: -7deg; } .swarm__ph:nth-child(2) { --r: 7deg; }
.swarm__ph:nth-child(3) { --r: 4deg; }  .swarm__ph:nth-child(4) { --r: -4deg; }
.swarm__ph:nth-child(5) { --r: -5deg; } .swarm__ph:nth-child(6) { --r: 5deg; }
.swarm__ph:nth-child(7) { --r: 6deg; }  .swarm__ph:nth-child(8) { --r: -6deg; }
.swarm__ph:nth-child(2) img { object-position: 55% 50%; }

/* entrance (JS adds .is-on once the photos are ready) + endless gentle float */
html.js .swarm__ph { opacity: 0; transform: translate(var(--ox), var(--oy)) scale(0.9); }
html.js .swarm.is-on .swarm__ph { animation: swarmIn 1.6s var(--ease) both; animation-delay: calc(var(--i) * 0.06s); }
html.js .swarm.is-on .swarm__card { animation: swarmFloat var(--dur) ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.9s); }
@keyframes swarmIn {
  0%   { opacity: 0; transform: translate(var(--ox), var(--oy)) scale(0.9); }
  100% { opacity: 1; transform: translate(0, 0) scale(1); }
}
@keyframes swarmFloat {
  0%   { transform: translate3d(0, 0, 0) rotate(var(--r)); }
  50%  { transform: translate3d(5px, -11px, 0) rotate(calc(var(--r) + 1.4deg)); }
  100% { transform: translate3d(-4px, 7px, 0) rotate(calc(var(--r) - 1deg)); }
}

/* tablet + phone: the fanned band, in flow above the eyebrow */
@media (max-width: 1339px) {
  .hero { padding-top: clamp(84px, 11vh, 120px); }
  .swarm { position: relative; inset: auto; display: flex; justify-content: center; align-items: center;
    height: clamp(118px, 16vw, 170px); margin: 0 auto clamp(26px, 4vw, 40px); max-width: 100%; }
  .swarm__ph { --w: clamp(62px, 11vw, 112px); position: relative; top: auto; left: auto !important; flex: none;
    margin-inline: calc(var(--w) * -0.13); --ox: 0px; --oy: 60px; }
  .swarm__ph:nth-child(odd), .swarm__ph:nth-child(even) { --ox: 0px; }
  /* arc: centre cards sit higher and larger, edge cards lower */
  .swarm__ph:nth-child(1) { --r: -12deg; transform: translateY(18px); z-index: 1; }
  .swarm__ph:nth-child(2) { --r: -8deg;  z-index: 2; }
  .swarm__ph:nth-child(3) { --r: -5deg;  z-index: 3; }
  .swarm__ph:nth-child(4) { --r: -2deg;  z-index: 4; }
  .swarm__ph:nth-child(5) { --r: 2deg;   z-index: 4; }
  .swarm__ph:nth-child(6) { --r: 5deg;   z-index: 3; }
  .swarm__ph:nth-child(7) { --r: 8deg;   z-index: 2; }
  .swarm__ph:nth-child(8) { --r: 12deg;  z-index: 1; }
  .swarm__ph:nth-child(1), .swarm__ph:nth-child(8) { margin-top: 26px; }
  .swarm__ph:nth-child(2), .swarm__ph:nth-child(7) { margin-top: 10px; }
  .swarm__ph:nth-child(4), .swarm__ph:nth-child(5) { margin-top: -10px; }
  .swarm__card { border-radius: 12px; border-width: 2px; border-color: rgba(247, 239, 233, 0.5); }
  html.js .swarm__ph { transform: translate(0, 60px) scale(0.9); }
  @keyframes swarmFloat {
    0%   { transform: translate3d(0, 0, 0) rotate(var(--r)); }
    50%  { transform: translate3d(0, -7px, 0) rotate(calc(var(--r) + 1.2deg)); }
    100% { transform: translate3d(0, 4px, 0) rotate(calc(var(--r) - 0.8deg)); }
  }
}
@media (max-width: 420px) {
  .swarm__ph { --w: 56px; margin-inline: -7px; }
}

/* ----------------------------- Deliverables ----------------------------- */
.deliverables { padding-top: clamp(40px, 6vh, 72px); }
.deliverables__title { text-align: center; margin-bottom: clamp(56px, 9vh, 96px); }

.group { margin-bottom: clamp(72px, 11vh, 120px); }
.group:last-child { margin-bottom: 0; }
.group__head { display: flex; align-items: center; justify-content: center; gap: 22px; margin-bottom: 40px; }
.group__rule { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line)); max-width: 240px; transform: scaleX(0); transform-origin: center; transition: transform 0.9s var(--ease); }
.group__rule:last-child { background: linear-gradient(90deg, var(--line), transparent); }
.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: clamp(1.7rem, 2.6vw, 2.1rem); font-weight: 400; letter-spacing: -0.01em; color: var(--text); line-height: 1.1; }
.group__count { font-family: var(--mono); font-size: 0.8rem; font-weight: 600; color: var(--accent); letter-spacing: 0.22em; }

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

.pcard { appearance: none; font: inherit; color: inherit; text-align: left; position: relative;
  background: linear-gradient(180deg, rgba(247, 239, 233, 0.045), rgba(247, 239, 233, 0.02)), var(--surface);
  border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 12px 12px 22px; 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.05) inset, 0 24px 50px -34px rgba(0, 0, 0, 0.85);
  transition: transform 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.pcard:hover { border-color: rgba(var(--rose-rgb), 0.38); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 36px 70px -34px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(var(--rose-rgb), 0.08), 0 20px 70px -40px rgba(var(--rose-rgb), 0.45); }
.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(var(--rose-rgb), 0.12), 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; aspect-ratio: 4 / 3; border: 1px solid var(--line-soft);
  background: #2a1e25; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.7); }
.thumb--wide { aspect-ratio: 16 / 7; }
.thumb__bar { position: absolute; left: 0; right: 0; top: 0; height: 28px; z-index: 3; display: flex; align-items: center; gap: 6px; padding: 0 10px;
  background: linear-gradient(180deg, rgba(48, 36, 43, 0.96), rgba(40, 29, 35, 0.92)); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.thumb__bar i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.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; min-width: 0; height: 16px; border-radius: 8px; background: rgba(255, 255, 255, 0.07); display: flex; align-items: center; padding: 0 9px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.03em; color: rgba(247, 239, 233, 0.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* graceful branded fallback behind every screenshot: a missing thumb never looks broken */
.thumb__fallback { position: absolute; inset: 28px 0 0 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background:
    radial-gradient(80% 70% at 50% 110%, rgba(var(--rose-rgb), 0.28), transparent 70%),
    radial-gradient(60% 60% at 0% 0%, rgba(178, 58, 90, 0.22), transparent 70%),
    linear-gradient(160deg, #2c1f27, #1b1217);
  color: var(--accent); }
.thumb__fallback b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; color: var(--text); letter-spacing: -0.01em; }
.thumb__fallback .spark { width: 18px; height: 18px; }
.eyebrow .spark { margin-right: 10px; }
.thumb__img { position: absolute; z-index: 2; inset: 28px 0 0 0; width: 100%; height: calc(100% - 28px); 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; z-index: 4; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }

.pcard__body { padding: 20px 10px 0; }
.pcard__kicker { display: block; font-family: var(--mono); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.pcard__title { display: block; font-family: var(--display); font-size: 1.85rem; font-weight: 400; letter-spacing: -0.01em; line-height: 1.1; color: var(--text); }
.pcard__desc { display: block; margin-top: 10px; font-size: 1.08rem; line-height: 1.55; color: var(--text-2); }
.pcard__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 1rem; font-weight: 700; color: var(--accent); 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: 28px; }
.pcard--wide .pcard__desc { max-width: 60ch; }
.pcard--wide .pcard__link { margin-top: 0; }

/* ---------------------------- Who built this ---------------------------- */
.sender { padding-bottom: clamp(32px, 5vh, 64px); }
.sender__title { text-align: center; }
.sender__name { margin: 18px 0 0; text-align: center; font-family: var(--mono); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-2); }
.sv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1040px; margin: clamp(48px, 7vh, 72px) auto 0; }
.sv-card { display: flex; flex-direction: column; align-items: center; }
.sv-media { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #0b0709 center / cover no-repeat; border: 1px solid var(--line);
  box-shadow: 0 30px 70px -36px rgba(0, 0, 0, 0.85); }
.sv-media iframe { width: 100%; height: 100%; border: 0; display: block; }
.sv-title { margin: 20px 0 0; max-width: 34ch; text-align: center; font-family: var(--display); font-weight: 400; font-size: 1.55rem; line-height: 1.2; letter-spacing: -0.005em; text-wrap: balance; }
.sender__links { margin-top: clamp(40px, 6vh, 56px); display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.lpill { display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 12px 24px 12px 18px; border-radius: 980px;
  border: 1px solid var(--line); background: rgba(247, 239, 233, 0.04); font-size: 1.08rem; font-weight: 600; color: var(--text);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease); }
.lpill:hover { border-color: rgba(var(--rose-rgb), 0.55); background: rgba(var(--rose-rgb), 0.08); transform: translateY(-2px); }
.lpill__logo { width: 26px; height: 26px; flex: none; }
.lpill__logo--yt { fill: #ff0033; }

/* --------------------------------- CTA ---------------------------------- */
.cta { text-align: center; overflow: hidden; padding-bottom: clamp(96px, 14vh, 150px); }
.cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 50% 100%, rgba(var(--rose-rgb), 0.12), transparent 70%); }
.cta__wrap { position: relative; }
.cta__title { margin: 0 0 clamp(36px, 5vh, 52px); font-family: var(--display); font-size: clamp(3rem, 7.5vw, 5rem); font-weight: 400; line-height: 1; letter-spacing: -0.02em; }
.cal-inline { position: relative; width: min(1000px, 100%); margin: 0 auto; border-radius: 22px; overflow: hidden; background: #ffffff; border: 1px solid var(--line);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9), 0 30px 120px -70px rgba(var(--rose-rgb), 0.5); }
.cal-inline::before { content: "Loading the calendar"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1rem; color: #7a6a70; z-index: 0; }
.calendly-inline-widget { position: relative; z-index: 1; min-width: 300px; width: 100%; height: 780px; }
.calendly-inline-widget iframe { display: block; }

/* -------------------------------- Footer -------------------------------- */
.footer { position: relative; height: 78px; background: rgba(10, 6, 9, 0.6); }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: -140px; height: 140px; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(10, 6, 9, 0.6)); }
.footer__inner { height: 100%; display: flex; align-items: center; justify-content: center; }
.footer__note { font-family: var(--mono); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); line-height: 52px; text-align: center; }

/* ------------------------------ Sticky 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: 15px 26px; border-radius: 980px; background: var(--accent); color: var(--accent-ink); font-size: 1.06rem; font-weight: 700; letter-spacing: -0.005em; text-decoration: none;
  box-shadow: 0 14px 44px rgba(var(--rose-rgb), 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  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.35s var(--ease), visibility 0s; }
.stickycta.is-visible:hover { transform: translate(var(--mgx, 0px), calc(var(--mgy, 0px) - 2px)) scale(1.02); background: var(--accent-2); }
.stickycta__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-ink); animation: stickyPulse 2.4s var(--ease) infinite; }
@keyframes stickyPulse { 0% { box-shadow: 0 0 0 0 rgba(34, 18, 26, 0.55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(34, 18, 26, 0); } }
@media (max-width: 560px) {
  .stickycta { left: 16px; right: 16px; bottom: 16px; 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(14, 9, 12, 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: 1080px; 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: 80vh; transform-origin: top left; transition: transform 0.5s var(--ease); will-change: transform; }
.lightbox__stage img { width: 100%; height: auto; max-height: 80vh; object-fit: contain; display: block; }
.lightbox__stage--embed { height: 80vh; background: #fff; }
.lightbox__frame { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.lightbox__open { margin-left: 12px; font-size: 0.95rem; font-weight: 500; color: rgba(255, 255, 255, 0.78); 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 p { margin: 0; font-size: 1rem; color: var(--text-3); }
.lightbox__title { margin: 0; font-size: 1.12rem; font-weight: 600; color: #fff; text-align: center; }
.lightbox__close { position: absolute; top: clamp(16px, 3vw, 28px); right: clamp(16px, 3vw, 28px); width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; z-index: 2;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease); }
.lightbox__close:hover { background: rgba(var(--rose-rgb), 0.35); transform: rotate(90deg); }

/* --------------------- Sender options (agency lockup) ------------------- */
.agency-bar { position: absolute; top: clamp(20px, 3vw, 30px); left: clamp(18px, 3vw, 34px); z-index: 6; display: inline-flex; align-items: center; gap: 10px; }
.agency-bar a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.agency-bar img { height: 26px; width: auto; display: block; }
.agency-bar span { font-family: var(--mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-2); }

/* ------------------------------- Keyframes ------------------------------ */
@keyframes glowDrift { 0% { transform: translate3d(-1.5%, 0, 0); opacity: 0.8; } 100% { transform: translate3d(1.5%, 1.5%, 0); opacity: 1; } }
@keyframes chevBob { 0%, 100% { transform: rotate(45deg) translate(0, 0); } 50% { transform: rotate(45deg) translate(2px, 2px); } }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 960px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  body { font-size: 18px; }
  .grid--3, .sv-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .sv-grid { margin-top: 44px; }
  .pcard--wide .pcard__body { grid-template-columns: 1fr; gap: 0; }
  .pcard--wide .pcard__link { margin-top: 18px; }
  .thumb--wide { aspect-ratio: 16 / 10; }
  .group__rule { max-width: 56px; }
  .group__head { gap: 16px; }
  .hero__title { font-size: clamp(1.85rem, 7.6vw, 2.3rem); line-height: 1.12; }
  .hero__sub { font-size: 1.1rem; margin-top: 20px; }
  .hplayer { margin-top: 34px; }
  .hero__actions { margin-top: 32px; }
  .hero__actions .btn { width: 100%; }
  .agency-bar { left: 0; right: 0; justify-content: center; }
  .agency-bar span { font-size: 0.72rem; }
  .pcard__title { font-size: 1.7rem; }
  .sv-title { font-size: 1.4rem; }
  .lpill { width: 100%; max-width: 360px; justify-content: center; }
  .calendly-inline-widget { height: 1080px; }
  .cal-inline { border-radius: 16px; }
  .footer { height: auto; padding-block: 14px 90px; } /* clears the sticky pill */
  .footer__note { line-height: 1.6; font-size: 0.78rem; }
}

/* --------------------------- 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, .pcard { transition: none; }
  html.js .swarm__ph, html.js .swarm.is-on .swarm__ph { opacity: 1; animation: none; transform: none; }
  html.js .swarm.is-on .swarm__card { animation: 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; }
}
html.reduced *, html.reduced *::before, html.reduced *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important; transition-delay: 0s !important; }
html.reduced .swarm__ph { opacity: 1 !important; animation: none !important; }
html.reduced .swarm__card { animation: none !important; }

/* ---- mobile hardening (references/mobile.md) ---- */
img, svg, video, canvas, iframe { max-width: 100%; }
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; }
}
