/* Grand Awakening — funnel (join.html) and thank-you page. Loads after site.css. */
.fnav { position: absolute; top: 0; left: 0; right: 0; z-index: 10; padding: 18px 0; }
.fnav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fnav__date { color: var(--mute); }

.jhero { position: relative; padding: 110px 0 60px; overflow: hidden; isolation: isolate; }
.jhero__bg { position: absolute; inset: 0; z-index: -2; }
.jhero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .32; }
.jhero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 15, 21, .7), var(--night) 92%), linear-gradient(90deg, rgba(14, 90, 100, .4), transparent 50%, rgba(255, 140, 50, .3)); }
.jhero .hero__sun { top: 30%; width: min(900px, 160vw); opacity: .8; }
.jgrid { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(30px, 5vw, 80px); align-items: start; }
.jcopy h1 { font-size: clamp(54px, 8vw, 120px); margin-top: 14px; }
.jcopy .lead { margin-top: 20px; }
.jlist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.jlist li { display: flex; gap: 14px; align-items: flex-start; color: #d4dfe1; }
.jlist li::before { content: ''; flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 16px var(--sun); }
.jmeta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.jmeta span { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(5, 15, 21, .5); font-size: 14px; font-weight: 600; }
.jcoaches { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.jcoaches .av { display: flex; }
.jcoaches .av img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--night); object-fit: cover; }
.jcoaches .av img + img { margin-left: -14px; }
.jcoaches p { margin: 0; font-size: 15px; color: #c9d6d8; line-height: 1.4; }
.jcoaches b { color: var(--chalk); }
.jhero .count { justify-self: start; margin-top: 30px; }

/* the form card */
.card { position: relative; border-radius: 28px; padding: clamp(22px, 3vw, 34px); background: linear-gradient(170deg, rgba(18, 48, 60, .92), rgba(8, 24, 32, .94)); border: 1px solid rgba(155, 238, 240, .18); box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 154, 60, .05) inset; backdrop-filter: blur(14px); scroll-margin-top: 20px; }
.card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card__steps { display: flex; gap: 6px; }
.card__steps i { width: 30px; height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .12); transition: background .4s; }
.card__steps i.on { background: var(--dawn); }
.card h2 { font: 400 clamp(30px, 3vw, 40px)/1 var(--display); text-transform: uppercase; margin: 18px 0 6px; }
.card .sub { margin: 0 0 20px; color: #b7c7ca; font-size: 15px; }
.pane { display: none; }
.pane.on { display: block; animation: paneIn .55s cubic-bezier(.2, .8, .2, 1); }
@keyframes paneIn { from { opacity: 0; transform: translateX(24px); } }
.pane.back { animation-name: paneBack; }
@keyframes paneBack { from { opacity: 0; transform: translateX(-24px); } }

.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-weight: 600; font-size: 15px; line-height: 1.25; transition: border-color .25s, background .25s, transform .25s; }
.opt span em { font-style: normal; font-size: 20px; }
.opt:hover span { border-color: rgba(63, 208, 218, .45); }
.opt input:checked + span { border-color: var(--sun); background: rgba(255, 154, 60, .12); transform: scale(1.02); }
.opt input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 2px; }
.opts--wide { grid-template-columns: 1fr; }
@media (max-width: 420px) { .opts { grid-template-columns: 1fr; } }

.seats { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 14px 14px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); margin-bottom: 18px; }
.seats b { font: 400 40px/1 var(--display); min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; }
.seats__ctl { display: flex; align-items: center; gap: 12px; }
.seats button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); font-size: 22px; cursor: pointer; transition: background .2s; }
.seats button:hover { background: rgba(255, 154, 60, .2); }
.seats small { display: block; color: var(--mute); font-size: 13px; }

.lbl { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b7c7ca; margin: 16px 0 8px; }
.lbl:first-child { margin-top: 0; }
.in { width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(5, 15, 21, .55); color: var(--chalk); font: 500 16px var(--body); transition: border-color .25s, box-shadow .25s; }
.in::placeholder { color: #6f878e; }
.in:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(63, 208, 218, .15); }
.in.bad { border-color: #ff6b5a; box-shadow: 0 0 0 4px rgba(255, 107, 90, .15); }
select.in { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ember) 50%), linear-gradient(135deg, var(--ember) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
select.in option { background: var(--deep); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 460px) { .row2 { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 14px; color: #b7c7ca; cursor: pointer; }
.consent input { width: 20px; height: 20px; accent-color: var(--sun); margin-top: 1px; flex: none; }
.consent.bad { color: #ff9a8e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.card__nav { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-top: 22px; }
.card__nav .btn { flex: 1; justify-content: space-between; }
.link-back { background: none; border: 0; color: var(--mute); cursor: pointer; font-weight: 700; padding: 12px 6px; }
.link-back:hover { color: var(--chalk); }
.err { color: #ff9a8e; font-size: 14px; margin: 12px 0 0; min-height: 1em; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; font-size: 13px; color: var(--mute); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(5, 15, 21, .3); border-top-color: var(--night); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 920px) {
  .jgrid { grid-template-columns: 1fr; }
  .jcopy { text-align: left; }
}

/* proof strip under the form */
.jproof { padding: clamp(60px, 9vw, 120px) 0; }
.jproof__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.jproof figure { margin: 0; border-radius: 22px; overflow: hidden; position: relative; aspect-ratio: 4 / 5; border: 1px solid var(--line); }
.jproof figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.jproof figure:hover img { transform: scale(1.06); }
.jproof figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px; background: linear-gradient(transparent, rgba(5, 15, 21, .95)); }
.jproof figcaption b { display: block; font: 400 28px/1 var(--display); text-transform: uppercase; }
.jproof figcaption span { color: #c2d0d3; font-size: 14px; }
@media (max-width: 760px) { .jproof__grid { grid-template-columns: 1fr 1fr; } .jproof figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; } }

/* thank-you */
.ty { min-height: 100svh; padding: 110px 0 80px; position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.ty .hero__sun { top: 46%; }
.ty__badge { width: 96px; height: 96px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--night); box-shadow: 0 0 0 12px rgba(255, 154, 60, .15), 0 0 80px rgba(255, 154, 60, .6); }
.ty__badge svg { width: 44px; }
.ty__badge path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .8s .5s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ty h1 { font-size: clamp(54px, 10vw, 150px); margin-top: 26px; }
.ty .lead { margin: 18px auto 0; }
.ty .count { justify-self: center; justify-content: center; margin: 34px auto 0; }
.next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 60px; text-align: left; }
.next > div { border-radius: 24px; padding: 26px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(15, 42, 53, .8), rgba(10, 28, 37, .45)); display: flex; flex-direction: column; gap: 10px; }
.next .num { font: 400 15px/1 var(--display); color: var(--ember); letter-spacing: .1em; }
.next h3 { font: 400 32px/1 var(--display); text-transform: uppercase; margin: 0; }
.next p { margin: 0; color: #c2d0d3; font-size: 15px; }
.next .share, .next .acts { margin-top: auto; padding-top: 8px; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; }
.acts a, .acts button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); text-decoration: none; font-size: 14px; font-weight: 700; cursor: pointer; }
.acts a:hover, .acts button:hover { border-color: var(--teal); }
.next .share { margin-top: auto; }
.next .share a, .next .share button { padding: 11px 14px; }
@media (max-width: 900px) { .next { grid-template-columns: 1fr; } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; }

/* phones: headline, then the form, then the rest of the pitch */
@media (max-width: 920px) {
  .jgrid { display: flex; flex-direction: column; gap: 0; }
  .jcopy { display: contents; }
  .jcopy > * { order: 3; }
  .jcopy > .eyebrow, .jcopy > h1, .jcopy > .lead { order: 1; }
  .card { order: 2; margin: 30px 0 10px; }
}

/* ---------- v2: live sunrise behind the funnel and thank-you ---------- */
.jhero canvas[data-dawn], .ty canvas[data-dawn] { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.jhero canvas.no-gl, .ty canvas.no-gl { display: none; }
.jhero { background: linear-gradient(180deg, #03080b, #0b2f38 60%, #b8682f); }
.jhero::after, .ty::after { content: ''; position: absolute; inset: auto 0 0; height: 30%; z-index: -1; background: linear-gradient(transparent, var(--night)); }
.ty { background: linear-gradient(180deg, #2a5560, #f0a35d 70%, #3a1d0e); }
.jcopy h1 .serif, .ty h1 .serif { font-size: 1.08em; line-height: .85; }
.jcopy h1 { line-height: .95; }
.jcopy .lead, .jlist li, .jcoaches p { text-shadow: 0 2px 16px rgba(4, 9, 12, .6); }
.jlist { gap: 14px; margin-top: 32px; }
.jmeta, .jcoaches { margin-top: 34px; }
.card { background: linear-gradient(170deg, rgba(10, 30, 38, .9), rgba(5, 15, 21, .94)); }
.card h2 { margin-top: 22px; }
.ty h1 { font-size: clamp(56px, 9vw, 140px); line-height: .95; text-shadow: 0 10px 50px rgba(4, 9, 12, .4); }
.ty .lead { color: #f4ece0; text-shadow: 0 2px 16px rgba(4, 9, 12, .6); }
.next > div { background: linear-gradient(160deg, rgba(10, 30, 38, .88), rgba(5, 15, 21, .8)); backdrop-filter: blur(10px); }
.next .share a, .next .share button { background: rgba(255, 255, 255, .06); color: var(--cream); border-color: var(--line); }
.jproof__grid { gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.ty .count div { background: rgba(4, 12, 16, .6); border-color: rgba(255, 255, 255, .14); }
