/* =========================================================================
   Quantum funnel pages: Partner With Us, the workshop, and the application.
   Loads after quantum.css.
   ========================================================================= */

/* ---------- Top strip (funnel pages) ---------- */

.strip { margin: 0; padding: 10px var(--gutter); background: var(--indigo); color: #fff; text-align: center; font: 700 11.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.strip span + span::before { content: "·"; margin: 0 .9em; opacity: .55; }
.strip b { font-weight: 700; color: var(--gold-2); }
.strip [hidden] { display: none; }
@media (max-width: 600px) { .strip { font-size: 11px; letter-spacing: .12em; } .strip span:nth-child(2) { display: none; } }

/* ---------- Split hero with the film (Partner With Us) ---------- */

.hero--split { padding: clamp(36px, 5vw, 72px) 0 clamp(56px, 7vw, 100px); }
.hero__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); } }
.hero__copy { container-type: inline-size; min-width: 0; }
.hero--split .h1 { font-size: clamp(38px, 9vw, 72px); }
@supports (font-size: 1cqw) { .hero--split .h1 { font-size: clamp(37px, 11.4cqw, 78px); } }
.hero--split .hero__sub { margin-inline: 0; max-width: 32em; text-wrap: pretty; }
/* The promise lockup in a narrow column: a rounded card instead of a pill, sized to the column */
.hero--split .promise { padding: 12px 24px 12px 12px; border-radius: 28px; }
.hero--split .promise__text b { font-size: clamp(18px, 1.75vw, 23px); }
.hero--split .promise + .hero__sub { margin-top: clamp(18px, 2vw, 24px); }
@media (max-width: 560px) { .hero--split .promise { padding: 12px 18px 12px 12px; border-radius: 26px; } }
.hero--split .hero__cta { justify-content: flex-start; }
.hero--split .hero__micro { max-width: 46ch; }

.proof { list-style: none; margin: clamp(22px, 2.4vw, 30px) 0 0; padding: 0; display: grid; gap: 12px; max-width: 36em; }
.proof li { display: flex; gap: 14px; align-items: flex-start; font: 600 16.5px/1.45 var(--sans); color: var(--ink); }
.proof li > span:last-child { padding-top: 5px; }
.proof__ic { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--sky-100); color: var(--blue-600); }
.proof li:nth-child(even) .proof__ic { background: var(--lav-200); color: var(--violet-700); }
.proof__ic .ic { width: 18px; height: 18px; }

.hero__video { min-width: 0; }
.hero__video .theater { padding: clamp(10px, 1.4vw, 18px); }
.hero__video-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 14px 8px 4px; font: 600 14px/1.4 var(--sans); color: var(--body); }
.hero__video-note b { font: italic 400 21px/1.2 var(--serif); color: var(--violet-700); }

/* ---------- Symptoms ---------- */

.symptoms { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.symptoms li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); font: 600 clamp(17px, 1.5vw, 19.5px)/1.4 var(--sans); letter-spacing: -.01em; text-wrap: pretty; }
.reframe { position: relative; margin-top: 28px; padding: 24px 26px 24px 30px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-1); font-size: clamp(16.5px, 1.4vw, 18px); line-height: 1.6; color: var(--ink); overflow: hidden; }
.reframe::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, #039CFD, #7457FD 55%, #9743FE); }
.reframe b { font-weight: 700; }
.reframe-link { margin-top: 22px; }

/* ---------- Engine cards (compact) ---------- */

.cards3 { display: grid; gap: 18px; }
@media (min-width: 900px) { .cards3 { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.ecard { display: flex; flex-direction: column; padding: 12px; border-radius: 30px; background: var(--tint, var(--sky-100)); transition: transform .5s var(--ease), box-shadow .5s ease; }
.ecard:nth-child(2) { --tint: #E6E8FF; }
.ecard:nth-child(3) { --tint: var(--lav-100); }
@media (hover: hover) { .ecard:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -44px rgba(38, 20, 110, .55); } }
.ecard__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 20px; background: var(--soft-2); }
.ecard__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ecard__media--top img { object-position: 50% 8%; }
.ecard__media--head img { object-position: 50% 0; }   /* keep the top of the photo, so the whole face is in frame */
.ecard__media--tall { aspect-ratio: 4 / 5; }          /* an approved ad, shown whole */
.ecard__media .chip-ui.chip-ui--mid { bottom: auto; top: 40%; }
.ecard__media .chip-ui { left: 12px; bottom: 12px; }
.ecard__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 14px 18px; }
.ecard__num { display: flex; align-items: center; gap: 12px; font: 700 12.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--violet-700); }
.ecard__num b { font: italic 400 30px/1 var(--serif); letter-spacing: 0; color: var(--ink); }
.ecard--plain { padding: clamp(24px, 2.6vw, 34px); background: #fff; box-shadow: var(--shadow-1); }
.ecard--plain .ecard__body { padding: 0; gap: 14px; }
.ecard.ecard--plain h3 { font-size: clamp(22px, 2.2vw, 28px); }
.ecard h3 { font: 800 clamp(20px, 1.9vw, 24px)/1.18 var(--sans); letter-spacing: -.025em; text-wrap: balance; }
.ecard__body > p:last-child { font-size: 16px; line-height: 1.55; color: var(--body); }

/* ---------- Objection panel ---------- */

.objection { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: clamp(22px, 4vw, 64px); padding: clamp(40px, 6vw, 92px) clamp(24px, 5vw, 76px); border-radius: clamp(26px, 3.4vw, 44px); background: var(--indigo); color: #fff; }
.objection::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 100% 0%, rgba(151, 67, 254, .4), transparent 60%), radial-gradient(50% 80% at 0% 100%, rgba(20, 135, 248, .28), transparent 60%); }
@media (min-width: 900px) { .objection { grid-template-columns: .85fr 1.15fr; align-items: center; } }
.objection__q { font: italic 400 clamp(36px, 4.8vw, 64px)/1.04 var(--serif); color: var(--gold-2); text-wrap: balance; }
.objection__a { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; color: rgba(255, 255, 255, .9); max-width: 34em; text-wrap: pretty; }
.objection__a b { color: #fff; font-weight: 700; }

/* ---------- Workshop page ---------- */

.event-wrap { padding: clamp(16px, 2.4vw, 28px) 0 0; }
.event { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: clamp(32px, 5vw, 72px); padding: clamp(40px, 6vw, 92px) clamp(22px, 5vw, 76px); border-radius: clamp(26px, 3.6vw, 48px); background: var(--indigo); color: #fff; }
.event::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 80% at 0% 0%, rgba(20, 135, 248, .34), transparent 62%), radial-gradient(60% 90% at 100% 100%, rgba(151, 67, 254, .46), transparent 62%); }
.event::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--grad); }
@media (min-width: 1000px) { .event { grid-template-columns: 1.12fr .88fr; align-items: center; } }
.event .eyebrow { color: var(--gold-2); }
.event .eyebrow::before { background: var(--gold); }
.event__copy { container-type: inline-size; min-width: 0; }
.event .h1 { color: #fff; font-size: clamp(38px, 8.4vw, 68px); }
@supports (font-size: 1cqw) { .event .h1 { font-size: clamp(36px, 10.6cqw, 76px); } }
.event__call { display: block; color: var(--gold-2); }
.event__sub { margin-top: clamp(18px, 2.2vw, 26px); font-size: clamp(17.5px, 1.6vw, 21px); line-height: 1.5; color: rgba(255, 255, 255, .88); max-width: 33em; text-wrap: pretty; }
.event__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(26px, 3vw, 36px); }
.event__micro { margin-top: 18px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .7); max-width: 44ch; }
@media (max-width: 560px) { .event__cta .btn { width: 100%; } }

.ticket { position: relative; padding: clamp(22px, 2.6vw, 34px); border-radius: 30px; background: #fff; color: var(--ink); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7); }
.ticket::before { content: ""; position: absolute; right: -26px; top: -30px; width: 104px; height: 104px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #FFF2C4 0%, #F4CE70 28%, #DBA744 62%, #B37F1E 100%); box-shadow: inset 0 0 0 4px rgba(255, 238, 176, .6), inset 0 0 0 7px rgba(150, 100, 20, .22), 0 20px 40px -14px rgba(0, 0, 0, .55); }
.ticket__head { display: flex; align-items: center; gap: 14px; padding-right: 64px; }
.ticket__head img { flex: none; height: 44px; width: auto; }
.ticket__head b { font: 800 clamp(20px, 2vw, 24px)/1.12 var(--sans); letter-spacing: -.025em; }
.ticket__rows { margin: 22px 0 0; padding: 0; }
.ticket__rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 14px 0; border-top: 1px dashed var(--line-2); }
.ticket__rows dt { flex: none; font: 700 11.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ticket__rows dd { margin: 0; text-align: right; font: 700 16px/1.3 var(--sans); color: var(--ink); }
.ticket__engines { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.ticket__engines span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; background: var(--lav-100); font: 700 13.5px/1 var(--sans); color: var(--violet-700); }
.ticket__engines span:nth-child(1) { background: var(--sky-100); color: var(--blue-600); }
.ticket__engines .ic { width: 15px; height: 15px; }

.sessions { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.sessions[hidden] { display: none; }
.session { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.session b { font: 700 clamp(17px, 1.6vw, 20px)/1.3 var(--sans); letter-spacing: -.01em; }
.session span { flex: none; padding: 7px 12px; border-radius: 999px; background: var(--sky-100); color: var(--blue-600); font: 800 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.session.is-full b { color: var(--muted); text-decoration: line-through; }
.session.is-full span { background: var(--soft-2); color: var(--muted); }
.sessions-empty { padding: 26px 28px; border-radius: 22px; background: var(--lav-100); font-size: clamp(16.5px, 1.5vw, 18.5px); line-height: 1.55; color: var(--ink); }
.sessions-empty[hidden] { display: none; }

/* ---------- The application ---------- */

.apply { min-height: calc(100vh - 68px); padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 6vw, 96px); background: linear-gradient(180deg, var(--soft) 0%, #fff 70%); }
.apply__in { width: min(100% - 2 * var(--gutter), 720px); margin-inline: auto; transition: width .4s var(--ease); }
.apply[data-step="5"] .apply__in { width: min(100% - 2 * var(--gutter), 860px); }
.apply__top { text-align: center; }
.apply__step { display: inline-block; margin: 0; padding: 7px 12px; border-radius: 999px; background: var(--lav-200); color: var(--violet-700); font: 800 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.apply__bar { height: 6px; max-width: 300px; margin: 16px auto 0; border-radius: 6px; background: var(--soft-2); overflow: hidden; }
.apply__bar i { display: block; height: 100%; width: 20%; border-radius: 6px; background: var(--grad); transition: width .5s var(--ease); }
.apply__title { margin-top: 22px; font: 800 clamp(34px, 5.4vw, 58px)/1.02 var(--sans); letter-spacing: -.038em; text-wrap: balance; }
.apply__sub { margin: 14px auto 0; max-width: 34em; font-size: clamp(16.5px, 1.5vw, 18.5px); line-height: 1.55; color: var(--body); text-wrap: pretty; }
.apply__card { margin-top: clamp(24px, 4vw, 40px); padding: clamp(22px, 4vw, 44px); border-radius: clamp(22px, 3vw, 34px); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.apply__card [hidden] { display: none; }
.apply__card h2 { font: 800 clamp(22px, 2.8vw, 30px)/1.15 var(--sans); letter-spacing: -.028em; outline: none; text-wrap: balance; }
.apply__card h2 + p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--body); }
.apply__fine { margin-top: 18px; text-align: center; font-size: 13px; line-height: 1.5; color: var(--muted); }
.apply__fine[hidden] { display: none; }
.apply__fine a { color: var(--ink); text-underline-offset: 3px; }
.apply__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; min-height: 24px; }
.apply__nav [hidden] { display: none; }
.apply noscript p { margin-top: 14px; font-size: 16px; }

.opts { display: grid; gap: 10px; margin-top: 22px; }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 18px 15px 15px; border-radius: 18px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; text-align: left; font: 700 clamp(16px, 1.5vw, 18px)/1.3 var(--sans); color: var(--ink); transition: border-color .2s ease, background .2s ease, transform .25s var(--ease), box-shadow .25s ease; -webkit-tap-highlight-color: transparent; }
.opt:focus-visible { border-radius: 18px; }
@media (hover: hover) { .opt:hover { border-color: var(--violet); background: var(--lav-50); transform: translateY(-1px); } .opt:hover .opt__go { color: var(--violet); transform: translateX(4px); } }
.opt.is-picked { border-color: var(--violet); background: var(--lav-100); box-shadow: 0 0 0 3px rgba(106, 61, 242, .16); }
.opt__ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--lav-100); color: var(--violet); }
.opt.is-picked .opt__ic { background: var(--violet); color: #fff; }
.opt__label { flex: 1; }
/* A question that allows several picks: a tick box in place of the arrow, a hint, and a Continue button */
.ap-hint { margin-top: 8px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.opt__tick { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; border: 1.5px solid var(--line-2); background: #fff; color: transparent; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.opt__tick .ic { width: 15px; height: 15px; stroke-width: 3; }
.opt.is-picked .opt__tick { background: var(--violet); border-color: var(--violet); color: #fff; }
.ap-next { margin-top: 18px; }
.ap-next[hidden] { display: none; }
.ap-next[disabled] { opacity: .5; cursor: not-allowed; }
.opt__go { flex: none; display: grid; color: var(--faint); transition: transform .3s var(--ease), color .2s ease; }

.field { display: grid; gap: 8px; margin-top: 16px; }
.field label { font: 700 13.5px/1.2 var(--sans); color: var(--ink); }
.field label span { font-weight: 500; color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid #D6D3E0; background: #fff; color: var(--ink); font: 400 16px/1.4 var(--sans); transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field textarea:hover { border-color: var(--lav-300); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(106, 61, 242, .16); }
.field.is-bad input { border-color: #D2452F; }
.field__err { font-size: 13px; line-height: 1.4; color: #B5361F; }
.field__err[hidden] { display: none; }
.more { margin-top: 18px; border-top: 1px solid var(--line); }
.more summary { display: flex; align-items: center; gap: 10px; padding: 16px 0 2px; cursor: pointer; list-style: none; font: 700 14.5px/1.2 var(--sans); color: var(--violet); }
.more summary::-webkit-details-marker { display: none; }
.more summary .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.more[open] summary .ic { transform: rotate(45deg); }
.more summary span { margin-left: auto; font: 700 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-top: 18px; padding: 13px 16px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; color: #8F2A18; background: #FDECE8; border: 1px solid #F3B9AD; }
.form-error[hidden] { display: none; }
.apply__card .btn--block { margin-top: 22px; min-height: 58px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--body); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--violet); }

.ap-status { display: flex; gap: 16px; align-items: flex-start; }
.ap-status[hidden] { display: none; }
.ap-status:not([hidden]) + div:not([hidden]) { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
/* On the calendar step the page heading steps back so the calendar sits higher */
.apply[data-step="5"] .apply__sub { display: none; }
.apply[data-step="5"] .apply__title { font-size: clamp(24px, 3.2vw, 34px); margin-top: 16px; }
.ap-ok { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; box-shadow: 0 0 0 7px rgba(20, 135, 248, .14); }
.ap-ok .ic { width: 22px; height: 22px; stroke-width: 3; }
.ap-cal { position: relative; margin-top: 22px; min-height: 680px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.ap-cal iframe { display: block; width: 100%; min-height: 680px; border: 0; }
.ap-cal .calendly-spinner { display: none; }
.ap-cal__load { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 16px; background: var(--lav-50); font-size: 15px; color: var(--body); transition: opacity .4s ease; }
.ap-cal__load.is-done { opacity: 0; pointer-events: none; }
.ap-cal__load a { color: var(--violet); font-weight: 700; }
.spin { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--lav-200); border-top-color: var(--violet); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ap-after { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.ap-after[hidden] { display: none; }
@media (max-width: 560px) {
  .apply__card { padding: 20px 16px; }
  .apply[data-step="5"] .apply__card { padding-inline: 8px; }
  .apply[data-step="5"] .apply__card h2, .apply[data-step="5"] .apply__card h2 + p, .ap-status { padding-inline: 8px; }
  .ap-after .btn { width: 100%; }
}
