/* =========================================================================
   Haley Kowalewski · pitch site (system A)
   Midnight plum, champagne type and a lavender accent, keyed to the dark
   navy-wall series from her brand shoot. Fraunces + Plus Jakarta Sans.
   Every size here is set 2px above the house default for easy reading.
   ========================================================================= */
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-latin-full-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-latin-full-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("assets/fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("assets/fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("assets/fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("assets/fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("assets/fonts/dm-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("assets/fonts/dm-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #15111b;
  --bg-2: #1b1523;
  --surface: #1f1928;
  --surface-2: #271f32;
  --line: rgba(245, 239, 230, 0.12);
  --line-soft: rgba(245, 239, 230, 0.07);
  --text: #f5efe6;
  --text-2: #c9bfcf;
  --text-3: #a499ad;
  --accent: #c9b6ec;
  --accent-2: #e9c9d2;
  --accent-deep: #8a74bd;
  --accent-ink: #1a1420;
  --accent-soft: rgba(201, 182, 236, 0.12);
  --font: "Jakarta", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --container: 1160px;
  --gutter: clamp(16px, 5vw, 32px);
  --section-y: clamp(72px, 11vh, 132px);
  --radius: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(55% 40% at 85% 0%, rgba(138, 116, 189, 0.30), transparent 65%),
    radial-gradient(45% 35% at 0% 30%, rgba(233, 201, 210, 0.10), transparent 70%),
    radial-gradient(60% 45% at 50% 100%, rgba(138, 116, 189, 0.16), 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.045;
  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; }
body { margin: 0; background: transparent; color: var(--text); font-family: var(--font); font-size: 19px; line-height: 1.55; letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; 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; }

.eyebrow { margin: 0 0 18px; font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.section__title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5vw, 54px); line-height: 1.08; letter-spacing: -0.02em; font-variation-settings: "SOFT" 50, "opsz" 72; }
.section__title em { font-style: italic; color: var(--accent-2); }
.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: 8px; transition: transform 0.3s var(--ease); }
.arrow { transform: rotate(-45deg); } .arrow-down { transform: rotate(45deg); }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px) scale(0.985); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.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: 15px 30px; min-height: 52px; border-radius: 980px; font-size: 18px; font-weight: 500; 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); }
.btn:active { transform: scale(0.97); }
.btn--ghost { background: rgba(245, 239, 230, 0.03); color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* --------------------------------- HERO --------------------------------- */
.hero { text-align: center; padding-top: clamp(96px, 14vh, 156px); padding-bottom: clamp(28px, 4vh, 52px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -10% -5% 0 -5%; pointer-events: none; background: radial-gradient(110% 70% at 50% -10%, rgba(201, 182, 236, 0.16), transparent 60%); animation: glowDrift 16s ease-in-out infinite alternate; }
.hero__inner { position: relative; z-index: 3; }
.hero__title { margin: 0 auto; max-width: 960px; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.16; letter-spacing: -0.018em; text-wrap: balance; font-variation-settings: "SOFT" 50, "opsz" 72; }
.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); }
.hero__title.is-in .word { opacity: 1; transform: none; filter: blur(0); }
.mark { position: relative; white-space: nowrap; color: var(--accent-2); font-style: italic; }
.mark::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -0.02em; height: 0.07em; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease) 0.6s; }
.hero__title.is-in .mark::after { transform: scaleX(1); }
.hero__actions { margin-top: 44px; display: flex; justify-content: center; }
.hero__actions .arrow-down { animation: chevBob 2.2s var(--ease) infinite; }

/* ------------------------- photo swarm (signature) ------------------------
   Photos of Haley fly in from every edge, settle around the headline and
   video, then stay there floating. Desktop and phone. Two nested layers so the
   fly-in and the float never fight over the same transform. */
.swarm { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.swarm__ph { position: absolute; width: var(--w, 132px); aspect-ratio: 4 / 5; left: var(--x); top: var(--y); opacity: 0; transform: translate(var(--ox), var(--oy)) rotate(var(--r0, 0deg)) scale(0.9); will-change: transform, opacity; }
.swarm__fl { width: 100%; height: 100%; border-radius: 16px; overflow: hidden; border: 3px solid rgba(245, 239, 230, 0.92); background: var(--surface);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(201, 182, 236, 0.2); transform: rotate(var(--r, 0deg)); }
.swarm__fl img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swarm.is-on .swarm__ph { animation: swarmIn 1.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: var(--dl, 0s); }
.swarm.is-on .swarm__fl { animation: swarmFloat var(--fd, 7s) ease-in-out infinite alternate; animation-delay: calc(var(--dl, 0s) + 1.5s); }
@keyframes swarmIn { from { opacity: 0; transform: translate(var(--ox), var(--oy)) rotate(var(--r0, 0deg)) scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes swarmFloat {
  0% { transform: translate(0, 0) rotate(var(--r, 0deg)); }
  50% { transform: translate(var(--fx, 6px), var(--fy, -12px)) rotate(calc(var(--r, 0deg) + 1.5deg)); }
  100% { transform: translate(calc(var(--fx, 6px) * -0.6), calc(var(--fy, -12px) * 0.5)) rotate(calc(var(--r, 0deg) - 1deg)); }
}
/* desktop placement: two columns of photos either side of the headline and video */
.swarm__ph:nth-child(1) { --x: calc(50% - 680px); --y: 84px;  --w: 150px; --r: -7deg; --ox: -70vw; --oy: -30vh; --dl: 0s;    --fx: 8px;  --fy: -14px; --fd: 7s; }
.swarm__ph:nth-child(2) { --x: calc(50% + 530px); --y: 78px;  --w: 150px; --r: 6deg;  --ox: 70vw;  --oy: -30vh; --dl: 0.08s; --fx: -8px; --fy: -12px; --fd: 8s; }
.swarm__ph:nth-child(3) { --x: calc(50% - 600px); --y: 330px; --w: 168px; --r: 4deg;  --ox: -70vw; --oy: 0vh;   --dl: 0.16s; --fx: 6px;  --fy: 12px;  --fd: 9s; }
.swarm__ph:nth-child(4) { --x: calc(50% + 432px); --y: 320px; --w: 168px; --r: -5deg; --ox: 70vw;  --oy: 0vh;   --dl: 0.24s; --fx: -6px; --fy: 14px;  --fd: 7.5s; }
.swarm__ph:nth-child(5) { --x: calc(50% - 690px); --y: 560px; --w: 140px; --r: -3deg; --ox: -70vw; --oy: 40vh;  --dl: 0.32s; --fx: 10px; --fy: -10px; --fd: 8.5s; }
.swarm__ph:nth-child(6) { --x: calc(50% + 550px); --y: 550px; --w: 140px; --r: 7deg;  --ox: 70vw;  --oy: 40vh;  --dl: 0.4s;  --fx: -10px; --fy: -12px; --fd: 9.5s; }
.swarm__ph:nth-child(7) { --x: calc(50% - 570px); --y: 770px; --w: 124px; --r: 6deg;  --ox: -60vw; --oy: 60vh;  --dl: 0.48s; --fx: 6px;  --fy: 10px;  --fd: 8s; }
.swarm__ph:nth-child(8) { --x: calc(50% + 446px); --y: 760px; --w: 124px; --r: -6deg; --ox: 60vw;  --oy: 60vh;  --dl: 0.56s; --fx: -6px; --fy: 10px;  --fd: 7s; }
@media (max-width: 1360px) {
  .swarm__ph:nth-child(odd) { --x: 16px !important; } .swarm__ph:nth-child(even) { --x: calc(100% - var(--w) - 16px) !important; }
  .swarm__ph:nth-child(1), .swarm__ph:nth-child(2) { --w: 130px; --y: 84px; } .swarm__ph:nth-child(3), .swarm__ph:nth-child(4) { --w: 150px; }
}
@media (max-width: 1180px) {
  .swarm__ph { --w: 116px !important; }
  .swarm__ph:nth-child(odd) { --x: 14px !important; } .swarm__ph:nth-child(even) { --x: calc(100% - 130px) !important; }
  .swarm__ph:nth-child(1), .swarm__ph:nth-child(2) { --y: 70px; } .swarm__ph:nth-child(3), .swarm__ph:nth-child(4) { --y: 380px; }
  .swarm__ph:nth-child(5), .swarm__ph:nth-child(6) { --y: 560px; } .swarm__ph:nth-child(7), .swarm__ph:nth-child(8) { --y: 740px; }
  .hero__title { max-width: 760px; }
}
/* tablet + phone: a floating fan of photos above the headline (its own reserved band),
   with two more peeking in beside the video */
@media (max-width: 900px) {
  .hero { padding-top: 250px; }
  .swarm__ph { --w: 92px !important; }
  .swarm__ph:nth-child(1) { --x: calc(50% - 46px - 190px) !important; --y: 74px !important;  --r: -10deg; }
  .swarm__ph:nth-child(2) { --x: calc(50% - 46px - 96px) !important;  --y: 40px !important;  --r: -4deg; }
  .swarm__ph:nth-child(3) { --x: calc(50% - 46px) !important;          --y: 26px !important;  --r: 2deg; --w: 104px !important; }
  .swarm__ph:nth-child(4) { --x: calc(50% - 46px + 96px) !important;  --y: 40px !important;  --r: 5deg; }
  .swarm__ph:nth-child(5) { --x: calc(50% - 46px + 190px) !important; --y: 74px !important;  --r: 10deg; }
  .swarm__ph:nth-child(6), .swarm__ph:nth-child(7), .swarm__ph:nth-child(8) { display: none; }
}
@media (max-width: 480px) {
  .hero { padding-top: 214px; }
  .swarm__ph { --w: 76px !important; }
  .swarm__ph:nth-child(1) { --x: calc(50% - 38px - 132px) !important; --y: 70px !important; }
  .swarm__ph:nth-child(2) { --x: calc(50% - 38px - 68px) !important;  --y: 42px !important; }
  .swarm__ph:nth-child(3) { --x: calc(50% - 44px) !important;         --y: 26px !important; --w: 88px !important; }
  .swarm__ph:nth-child(4) { --x: calc(50% - 38px + 68px) !important;  --y: 42px !important; }
  .swarm__ph:nth-child(5) { --x: calc(50% - 38px + 132px) !important; --y: 70px !important; }
  .swarm__fl { border-width: 2px; border-radius: 12px; }
}

/* ------------------------------- player -------------------------------- */
.hplayer { margin: 46px auto 0; max-width: 780px; position: relative; z-index: 3; }
.hplayer__stage { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #0c0a10; border: 1px solid var(--line); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(201, 182, 236, 0.08); }
.hplayer__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #0c0a10; }
.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.05), rgba(0, 0, 0, 0.5)); }
.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: linear-gradient(135deg, var(--accent-2), var(--accent)); transition: transform 0.4s var(--ease), opacity 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); }
.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(201, 182, 236, 0.5); } 70% { box-shadow: 0 0 0 24px rgba(201, 182, 236, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 182, 236, 0); } }
.hplayer__cc { position: absolute; left: 50%; bottom: 76px; transform: translateX(-50%); max-width: 84%; text-align: center; font-size: 18px; color: #fff; pointer-events: none; }
.hplayer__cc span { background: rgba(10, 8, 14, 0.66); padding: 3px 10px; border-radius: 7px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hplayer__cc:empty { display: none; }
.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, 8, 14, 0.88), rgba(10, 8, 14, 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: 40px; height: 40px; flex: none; display: grid; place-items: center; border: none; background: transparent; color: #fff; cursor: pointer; border-radius: 8px; opacity: 0.85; }
.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: 14px; color: rgba(255, 255, 255, 0.75); font-variant-numeric: tabular-nums; min-width: 38px; text-align: center; }
.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); }
.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(201, 182, 236, 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); }
.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 9px; font-size: 14px; font-weight: 700; }
.hp-speed__menu { position: absolute; bottom: 46px; left: 50%; transform: translateX(-50%); min-width: 78px; padding: 6px; background: rgba(18, 14, 24, 0.97); border: 1px solid var(--line); border-radius: 12px; 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: 14px; font-weight: 600; padding: 7px 10px; border-radius: 7px; cursor: pointer; }
.hp-speed__menu button:hover { background: rgba(255, 255, 255, 0.09); color: #fff; }
.hp-speed__menu button.is-on { background: rgba(201, 182, 236, 0.3); color: #fff; }
.hplayer__embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #0c0a10; }
.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--full { display: none; } .hplayer__big { width: 76px; height: 76px; } }

/* --------------------------- agency lockup --------------------------- */
.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; }
.agency-bar span { font-family: var(--mono); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-2); }
@media (max-width: 900px) { .agency-bar { left: 50%; transform: translateX(-50%); top: 14px; white-space: nowrap; } .agency-bar span { font-size: 11px; } }

/* ---------------------------- deliverables ---------------------------- */
.deliverables { padding-top: clamp(32px, 5vh, 60px); }
.deliverables__title { text-align: center; margin-bottom: clamp(52px, 8vh, 88px); }
.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: 38px; }
.group__rule { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); max-width: 240px; transform: scaleX(0); 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: 24px; font-weight: 400; font-style: italic; color: var(--text); }
.group__count { font-family: var(--mono); font-size: 13px; color: var(--text-3); letter-spacing: 0.2em; }
.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(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 12px 12px 22px; cursor: pointer; display: flex; flex-direction: column; transform-style: preserve-3d; box-shadow: 0 20px 50px -34px rgba(0, 0, 0, 0.8);
  transition: transform 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.pcard:hover { border-color: rgba(201, 182, 236, 0.35); box-shadow: 0 40px 70px -36px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(201, 182, 236, 0.1); }
.pcard:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.pcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(201, 182, 236, 0.12), transparent 45%); opacity: 0; transition: opacity 0.35s var(--ease); }
.pcard:hover::after { opacity: 1; }
.thumb { position: relative; display: block; border-radius: 13px; overflow: hidden; background: var(--surface-2); aspect-ratio: 4 / 3; border: 1px solid var(--line-soft); }
.thumb--wide { aspect-ratio: 16 / 7; }
.thumb__bar { position: absolute; left: 0; right: 0; top: 0; height: 28px; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: rgba(28, 22, 36, 0.92); border-bottom: 1px solid var(--line-soft); backdrop-filter: blur(6px); }
.thumb__bar i { width: 8px; height: 8px; border-radius: 50%; } .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: 15px; border-radius: 7px; background: rgba(255, 255, 255, 0.06); display: flex; align-items: center; padding: 0 8px; font-family: var(--mono); font-size: 10px; color: var(--text-3); white-space: nowrap; overflow: hidden; }
.thumb__img { position: absolute; 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, .pcard.is-pan .thumb__img { object-position: 50% 38%; }
.thumb--wide .thumb__img { object-position: 50% 50%; }
.pcard:hover .thumb--wide .thumb__img { transform: scale(1.02); }
.pcard__body { padding: 18px 8px 0; }
.pcard__kicker { display: block; font-family: var(--mono); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.pcard__title { display: block; font-family: var(--display); font-size: 26px; font-weight: 400; line-height: 1.2; color: var(--text); }
.pcard__desc { display: block; margin-top: 8px; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.pcard__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 16px; font-weight: 600; color: var(--accent); transition: gap 0.3s var(--ease); }
.pcard:hover .pcard__link { gap: 10px; }
.pcard__link .arrow { margin-left: 0; }
.pcard--wide .pcard__body { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.pcard--wide .pcard__link { margin-top: 0; }

/* -------------------------------- CTA -------------------------------- */
.cta { text-align: center; overflow: hidden; }
.cta__wrap { position: relative; }
.cta__title { margin: 0 0 30px; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.03em; }
.cal-inline { position: relative; width: min(940px, 100%); margin: 0 auto; height: min(780px, 92vh); border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8); }
.cal-inline iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ----------------------- who built this (social proof) ----------------------- */
.builder { padding-top: clamp(40px, 6vh, 72px); }
.builder__head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vh, 64px); }
.builder__avatar { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; margin: 0 auto 22px; border: 3px solid rgba(245, 239, 230, 0.9); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8); }
.builder__title { margin-bottom: 14px; }
.builder__sub { margin: 0 auto; font-size: 19px; color: var(--text-2); max-width: 56ch; }
.builder__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1000px; margin: 0 auto; }
.bvid { text-align: center; }
.bvid__media { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #0c0a10; border: 1px solid var(--line); }
.bvid__media img, .bvid__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.bvid__name { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 20px 0 6px; }
.bvid__desc { margin: 0 auto; font-size: 17px; color: var(--text-2); max-width: 40ch; }
.builder__links { display: flex; justify-content: center; gap: 16px; margin-top: clamp(40px, 6vh, 60px); flex-wrap: wrap; }
.social { display: inline-flex; align-items: center; gap: 14px; padding: 14px 24px 14px 16px; min-height: 60px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); transition: transform 0.3s var(--ease), border-color 0.3s var(--ease); }
.social:hover { transform: translateY(-2px); border-color: var(--accent); }
.social svg { width: 32px; height: 32px; flex: none; }
.social b { display: block; font-size: 17px; font-weight: 600; line-height: 1.2; } .social i { display: block; font-style: normal; font-size: 15px; color: var(--text-3); }

/* ------------------------------- footer ------------------------------- */
.footer { position: relative; height: 72px; background: rgba(255, 255, 255, 0.03); border-top: 1px solid var(--line-soft); }
.footer__inner { height: 100%; display: flex; align-items: center; justify-content: center; }
.footer__note { font-family: var(--mono); font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); line-height: 48px; }

/* ----------------------------- 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: 16px 26px; min-height: 52px; border-radius: 980px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: var(--accent-ink); font-size: 18px; font-weight: 600; box-shadow: 0 14px 40px rgba(201, 182, 236, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.2);
  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__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(26, 20, 32, 0.55); } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }
@media (max-width: 560px) { .stickycta { left: 16px; right: 16px; justify-content: center; } .footer { height: 72px; margin-bottom: 84px; } }

/* ------------------------------ lightbox ------------------------------ */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: clamp(14px, 4vw, 56px); background: rgba(10, 8, 14, 0.82); 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: 1120px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.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); }
.lightbox__stage--embed { height: 80vh; background: #fff; }
.lightbox__frame { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.lightbox__title { margin: 0; font-size: 18px; font-weight: 600; color: #fff; text-align: center; }
.lightbox__open { margin-left: 12px; font-size: 16px; font-weight: 500; color: rgba(255, 255, 255, 0.75); border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
.lightbox__close { position: absolute; top: clamp(12px, 3vw, 26px); right: clamp(12px, 3vw, 26px); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 28px; 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.2); transform: rotate(90deg); }

@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); } }

@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .grid--3 { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .pcard--wide .pcard__body { grid-template-columns: 1fr; }
  .thumb--wide { aspect-ratio: 16 / 10; }
  .group__rule { max-width: 60px; }
  .hero__actions .btn { width: 100%; }
  .builder__grid { grid-template-columns: 1fr; }
  .cal-inline { height: 80vh; border-radius: 16px; }
  .lightbox__stage--embed { height: 78vh; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before, .hplayer__big-glow, .hero__actions .arrow-down, .stickycta__dot { animation: none; }
  .mark::after, .group__rule { transition: none; transform: scaleX(1); }
  .swarm__ph { opacity: 1; transform: none; }
  .swarm.is-on .swarm__ph, .swarm.is-on .swarm__fl { 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__fl { 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; } }
.swarm.is-static .swarm__ph { opacity: 1; transform: none; }
