/* =========================================================================
   Joel & Moe · funnel skin v2 (VSL landing page + webinar register page)
   Layout comes from the page's inline CSS (carbon-pitch reference pages).
   This file loads after it and sets Joel & Moe's own look: near-black with
   a green cast, one teal accent, Space Grotesk headings, Satoshi body.
   ========================================================================= */
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk-var.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root{
  --bg:#0a0d0c; --bg-deep:#060908;
  --surface:#111816; --surface-2:#16201d;
  --line:rgba(220,240,234,.10); --line-soft:rgba(220,240,234,.06);
  --text:#eef3f1; --text-2:#a9b8b3; --text-3:#83948e;
  --accent:#2fceae; --accent-2:#62dcc4; --accent-ink:#03140f;
  --accent-soft:rgba(47,206,174,.13); --accent-glow:rgba(47,206,174,.32);
  --gold:#e3b65a;
  --font:"Satoshi",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --display:"Space Grotesk","Satoshi",sans-serif;
  --ease:cubic-bezier(.16,1,.3,1);
}
html{background:var(--bg-deep)}
/* one continuous canvas: a soft teal glow at the top fading into near-black */
body{background:
  radial-gradient(90% 36% at 50% 0%, rgba(47,206,174,.16), transparent 70%),
  radial-gradient(60% 22% at 85% 34%, rgba(47,206,174,.05), transparent 70%),
  linear-gradient(180deg,#0d1513 0%, var(--bg) 24%, var(--bg-deep) 100%) !important;
  background-attachment:scroll}
h1,h2,h3,.brand,.cd-num{font-family:var(--display)}
h3{font-weight:700}
.section,.hero,.tint{background-color:transparent}
.tint{background:none !important}
.hero::before{background:radial-gradient(110% 70% at 50% -10%, rgba(47,206,174,.12), transparent 60%) !important}

/* footer lockup: the JM mark + wide caps wordmark */
.brand{display:inline-flex;align-items:center;font-family:var(--display);text-transform:uppercase;letter-spacing:.16em;font-weight:700;font-size:14px !important;gap:12px;color:var(--text)}
.brand b{color:var(--accent);font-weight:700}
.brand img.mark{width:30px;height:30px;border-radius:8px}
.foot{background:linear-gradient(180deg,transparent,rgba(17,24,22,.9) 60%) !important;border-top:0 !important;padding:0 !important;height:72px;display:flex;align-items:center;justify-content:center;margin-top:40px}
.foot::before{display:none !important}
.eyebrow{letter-spacing:.2em}

/* portfolio strip (stands in for the brands carousel: Joel & Moe have no brand logos) */
.pstats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pstats div{padding:18px 12px;border-radius:16px;background:var(--accent-soft);text-align:center}
.pstats b{display:block;font-family:var(--display);font-size:clamp(24px,3vw,32px);letter-spacing:-.02em;color:var(--text)}
.pstats span{display:block;margin-top:4px;font-size:13.5px;color:var(--text-2);line-height:1.4}
@media(max-width:560px){.pstats{grid-template-columns:1fr}}

/* YouTube slots: 16:9 thumbnail, the real embed loads on click */
.yt{position:relative;aspect-ratio:16/9;border-radius:20px;overflow:hidden;border:1px solid var(--line);background:#000;box-shadow:0 30px 60px -36px rgba(0,0,0,.95)}
.yt img,.yt iframe{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border:0}
.yt .pp{position:absolute;inset:0;display:grid;place-items:center;border:0;padding:0;cursor:pointer;background:linear-gradient(180deg,rgba(3,10,8,0) 45%,rgba(3,10,8,.55))}
.yt .pp span{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:var(--accent-ink);box-shadow:0 0 0 9px rgba(47,206,174,.18);transition:transform .3s var(--ease)}
.yt .pp:hover span{transform:scale(1.06)}
.vitem.wide{flex-basis:calc((100% - 36px)/3)}
@media(max-width:860px){.vitem.wide{flex-basis:calc((100% - 18px)/2)}}
@media(max-width:560px){.vitem.wide{flex-basis:86%}}
.stu2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:960px;margin:0 auto}
.stu2 .stu h3{font-family:var(--display);font-size:19px;margin:18px 0 4px}
.stu2 .stu p{margin:0 auto;color:var(--text-2);font-size:15px;max-width:36ch}
.stu1{max-width:720px;margin:0 auto}
@media(max-width:720px){.stu2{grid-template-columns:1fr}}

/* win screenshot slots until Joel sends the real ones */
.witem .slot{width:100%;aspect-ratio:2/3;border-radius:22px;border:1px dashed rgba(47,206,174,.35);background:linear-gradient(180deg,var(--surface-2),var(--surface));display:grid;place-items:center;padding:20px;text-align:center;color:var(--text-3);font-size:13px;font-weight:700;letter-spacing:.06em}
.witem:not(:has(img)){cursor:default}

/* coach card + register hero: Joel and Moe sit side by side, so the photos are 16:9 and stack above the text */
.coach{grid-template-columns:1fr !important;max-width:860px !important}
.coach-photo{aspect-ratio:16/9 !important;min-height:0 !important}
.coach-photo img{object-position:50% 40% !important}
.coach-body{text-align:center}
.coach-stats{justify-content:center}
.hero-photo{width:min(100%,620px) !important;aspect-ratio:16/9 !important}
.hero-photo img{object-position:50% 40% !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; }

/* payout screenshots are tall phone captures: show them whole */
.witem img{aspect-ratio:9/16 !important;object-fit:cover;object-position:50% 50%;background:var(--surface)}
.witem:has(img){cursor:zoom-in}
