/* Spark Event Studios — shared styles
   Layout concept: a broadcast control room. Dark "stage" ground, program-monitor
   panels, timecodes and tally lights as the recurring detail, lower-thirds for people.
   Single deliberate dark look (the brand logo is white-on-dark). */
:root {
  --ink: #0A0D12;          /* page ground */
  --panel: #121821;        /* raised surfaces */
  --panel-2: #18202B;      /* inputs, hover */
  --line: #253041;         /* hairlines */
  --fg: #EDF2F8;           /* primary text */
  --muted: #9AA8B9;        /* secondary text */
  --spark: #1873D3;        /* brand blue */
  --spark-deep: #125CB0;
  --spark-hi: #5AB1F7;     /* highlights on dark */
  --tally: #FF4438;        /* on-air light, used only for LIVE */
  --ok: #3FD08A;
  --warn: #F2B33D;

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--spark-hi); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, label:focus-within {
  outline: 2px solid var(--spark-hi);
  outline-offset: 3px;
}
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .98; margin: 0; text-wrap: balance; letter-spacing: .005em; text-transform: uppercase; }
h1 { font-size: clamp(2.9rem, 7.4vw, 6.2rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.eyebrow {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--spark-hi); display: inline-flex; align-items: center; gap: .6em;
}
.blue { color: var(--spark-hi); }
.muted { color: var(--muted); }
.tc { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--ink) 86%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--fg); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--spark-hi); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--fg); border-radius: 8px; padding: 8px 12px; font: inherit; font-size: .9rem; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--panel); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .brand img { height: 36px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--body); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 1em 1.4em; border-radius: 8px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--spark); color: #fff; box-shadow: 0 0 0 1px rgba(90,177,247,.35) inset, 0 10px 30px -10px rgba(24,115,211,.7); }
.btn-primary:hover { background: var(--spark-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--spark-hi); }
.btn-lg { font-size: 1.1rem; padding: 1.15em 1.7em; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-note { font-family: var(--mono); font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* ---------- live tally ---------- */
.tally { display: inline-flex; align-items: center; gap: .5em; font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg); }
.tally::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--tally); box-shadow: 0 0 10px var(--tally); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- sections ---------- */
section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.rule-top { border-top: 1px solid var(--line); }
.band { background: var(--panel); border-block: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(24,115,211,.28), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 2px var(--spark-hi); }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } }

/* program monitor */
.monitor { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); min-width: 0; }
.monitor-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.monitor-body { padding: clamp(18px, 3vw, 26px); display: grid; gap: 18px; }
.funnel-step { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 12px; }
.funnel-step .label { font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.funnel-step .num { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.funnel-step .bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--panel-2); overflow: hidden; }
.funnel-step .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--spark), var(--spark-hi)); border-radius: 4px; }
.monitor-foot { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding: 14px clamp(18px, 3vw, 26px); }

/* proof strip */
.proof { border-block: 1px solid var(--line); }
.proof .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof-item { padding: 26px 20px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-item b { font-family: var(--display); font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1; font-weight: 800; }
.proof-item span { font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) {
  .proof .wrap { grid-template-columns: 1fr 1fr; }
  .proof-item { padding: 20px 14px; }
  .proof-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- grids & cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); display: grid; gap: 12px; align-content: start; min-width: 0; }
.card p { color: var(--muted); }
.card .tag { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--spark-hi); }

/* pain list */
.pain { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.pain ul { list-style: none; margin: 0; padding: 0; display: grid; }
.pain li { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.pain li:last-child { border-bottom: 1px solid var(--line); }
.pain li .x { font-family: var(--mono); color: var(--tally); font-size: .9rem; padding-top: 3px; }
@media (max-width: 860px) { .pain { grid-template-columns: 1fr; } }

/* process (a real sequence, so it is numbered) */
.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.process li { list-style: none; padding: 22px 20px 4px 0; border-top: 2px solid var(--line); position: relative; display: grid; gap: 8px; align-content: start; }
.process li::before { counter-increment: step; content: "0" counter(step); font-family: var(--mono); font-size: .8rem; color: var(--spark-hi); }
.process li.now { border-top-color: var(--spark); }
.process li p { color: var(--muted); font-size: .95rem; }
.process h3 { font-size: 1.45rem; }
.process { padding: 0; margin: 0; }
@media (max-width: 980px) { .process { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* fit / not fit */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fit .card h3 { display: flex; align-items: center; gap: 12px; }
.fit ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.fit li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--fg); }
.fit li::before { font-family: var(--mono); font-weight: 600; }
.fit .yes li::before { content: "✓"; color: var(--ok); }
.fit .no li::before { content: "×"; color: var(--tally); }
.fit .no li { color: var(--muted); }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

/* run of show sample */
.ros { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.ros table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.ros th, .ros td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ros th { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.ros th.day { color: var(--fg); font-family: var(--display); font-size: 1.35rem; letter-spacing: .04em; font-weight: 800; }
.ros td.time { font-family: var(--mono); color: var(--spark-hi); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ros tr:last-child td { border-bottom: 0; }
.ros td small { display: block; color: var(--muted); font-size: .82rem; }

/* team lower-thirds */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 980px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team { grid-template-columns: 1fr; } }
.person { display: grid; gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.person .frame { aspect-ratio: 4 / 3.4; max-width: 100%; position: relative; background:
  radial-gradient(120% 90% at 50% 0%, rgba(90,177,247,.30), transparent 60%),
  linear-gradient(180deg, #16202D, #0D131B); display: grid; place-items: center; overflow: hidden; }
.person .frame img { width: 100%; height: 100%; object-fit: cover; }
.person .initials { font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 9vw, 6rem); color: rgba(237,242,248,.16); letter-spacing: .04em; }
.person .frame .tally { position: absolute; top: 14px; left: 14px; }
.lower-third { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; }
.lower-third .name { background: var(--spark); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.7rem; text-transform: uppercase; line-height: 1; padding: 10px 14px 8px; justify-self: start; }
.lower-third .role { background: rgba(10,13,18,.92); color: var(--fg); font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; padding: 8px 14px; justify-self: start; }
.person .bio { padding: 22px; display: grid; gap: 12px; color: var(--muted); font-size: .98rem; }
.person .bio .owns { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; color: var(--fg); }
.person.lead { grid-column: span 3; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.person.lead .frame { aspect-ratio: auto; min-height: 380px; }
.person.lead .bio { padding: clamp(24px, 4vw, 44px); align-content: center; font-size: 1.05rem; }
.person.lead .bio h3 { color: var(--fg); }
@media (max-width: 980px) { .person.lead { grid-column: span 2; } }
@media (max-width: 760px) { .person.lead { grid-column: span 1; grid-template-columns: 1fr; } .person.lead .frame { min-height: 300px; } }

/* FAQ */
.faq { display: grid; max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 600; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--mono); font-size: 1.4rem; color: var(--spark-hi); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* final CTA */
.final { text-align: left; }
.final .panel { background:
  radial-gradient(80% 140% at 100% 0%, rgba(24,115,211,.35), transparent 60%), var(--panel);
  border: 1px solid var(--line); border-radius: 16px; padding: clamp(32px, 6vw, 72px); display: grid; gap: 24px; }
.final h2 { max-width: 16ch; }

/* page hero (inner pages) */
.page-hero { padding-block: clamp(48px, 7vw, 88px) clamp(28px, 4vw, 48px); }
.page-hero .wrap { display: grid; gap: 22px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 40px; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 40px; width: auto; margin-bottom: 14px; }
.site-footer h4 { font-family: var(--mono); font-weight: 500; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg); margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--spark-hi); }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* mobile sticky CTA */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--ink) 92%, transparent); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
  .mobile-cta .btn { flex: 1; justify-content: center; }
  body.has-mobile-cta { padding-bottom: 84px; }
}

/* ---------- application form ---------- */
.apply-shell { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; padding-block: clamp(32px, 5vw, 64px) 96px; }
@media (max-width: 920px) { .apply-shell { grid-template-columns: 1fr; } .apply-aside { order: 2; } }
.apply-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; min-width: 0; }
.apply-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .76rem; color: var(--muted); letter-spacing: .06em; }
.progress { height: 4px; background: var(--panel-2); }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--spark), var(--spark-hi)); transition: width .35s ease; }
.step { padding: clamp(24px, 4vw, 44px); display: grid; gap: 22px; border: 0; margin: 0; min-width: 0; }
.step legend { padding: 0; float: left; width: 100%; }
.step legend + * { clear: both; }
.step h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.step .hint { color: var(--muted); }
.options { display: grid; gap: 10px; }
.opt { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.opt:hover { border-color: var(--spark-hi); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .key { flex: none; width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.opt:has(input:checked) { border-color: var(--spark); background: rgba(24,115,211,.16); }
.opt:has(input:checked) .key { background: var(--spark); border-color: var(--spark); color: #fff; }
.opt:has(input:focus-visible) { outline: 2px solid var(--spark-hi); outline-offset: 2px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--fg); background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 14px 16px;
}
.field input:focus, .field textarea:focus { border-color: var(--spark-hi); outline: none; box-shadow: 0 0 0 3px rgba(90,177,247,.2); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .88rem; color: var(--muted); align-items: start; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--spark); }
.err { color: #FF8A80; font-size: .9rem; min-height: 1.2em; }
.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px clamp(24px, 4vw, 44px); border-top: 1px solid var(--line); }
.step-nav .back { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; padding: 8px 0; }
.step-nav .back:hover { color: var(--fg); }
.step-nav .kbd { font-family: var(--mono); font-size: .74rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply-aside { display: grid; gap: 18px; }
.apply-aside .card { gap: 10px; }
.apply-aside ol { margin: 0; padding-left: 1.2em; color: var(--muted); display: grid; gap: 8px; font-size: .95rem; }

/* outcome pages */
.outcome { padding-block: clamp(48px, 7vw, 96px); }
.outcome .wrap { display: grid; gap: 28px; max-width: 900px; }
.cal-frame { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; min-height: 680px; }
.cal-frame iframe { width: 100%; min-height: 680px; border: 0; display: block; background: #fff; }
.cal-placeholder { padding: clamp(28px, 5vw, 56px); display: grid; gap: 14px; justify-items: start; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.checklist li .box { width: 24px; height: 24px; border: 1px solid var(--spark-hi); border-radius: 6px; display: grid; place-items: center; color: var(--spark-hi); font-size: .85rem; margin-top: 2px; }
.notice { font-family: var(--mono); font-size: .8rem; color: var(--warn); border: 1px dashed rgba(242,179,61,.5); border-radius: 8px; padding: 12px 14px; }

/* prose (privacy) */
.prose { max-width: 72ch; display: grid; gap: 18px; color: var(--muted); }
.prose h2 { font-size: 1.8rem; color: var(--fg); margin-top: 18px; }
.team-cta { grid-column: span 2; align-content: center; background: radial-gradient(90% 120% at 100% 0%, rgba(24,115,211,.28), transparent 60%), var(--panel); }
@media (max-width: 600px) { .team-cta { grid-column: span 1; } }
