/* EFF Interview Studio by REACH
   A dark, lit interview set. Everything is decorative CSS: no images other than the EFF logo,
   no external scripts. Motion is switched off under prefers-reduced-motion. */

:root {
  --purple: #42127f;
  --purple-lit: #5b1fb0;
  --coral: #ff6f61;
  --sun: #ffd35a;
  --lav: #efe7fb;
  --night: #1d0a38;
  --void: #0d0519;
  --ink: #1b1227;
  --lilac: #b799e3;
  --teal: #7fd3c7;
  --sky: #6fb3ff;
  --cream: #fff7eb;
  --paper: #fffbf4;
  --text: #fff7eb;
  --text-soft: rgba(255, 247, 235, 0.84);
  --text-dim: rgba(255, 247, 235, 0.7);
  --muted: #5f566b;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-2: rgba(255, 255, 255, 0.1);
  --edge: rgba(255, 247, 235, 0.16);
  --edge-strong: rgba(255, 247, 235, 0.3);
  --line: rgba(27, 18, 39, 0.14);
  --success: #157a55;
  --success-lit: #7fe0b4;
  --warning: #8a4f00;
  --danger: #b4233c;
  --radius-lg: 26px;
  --radius-md: 18px;
  --display: "Georama", "Poppins", ui-sans-serif, system-ui, sans-serif;
  --ui: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #0d0519; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(1100px 620px at 78% -10%, rgba(91, 31, 176, 0.55), transparent 60%),
    radial-gradient(900px 560px at 6% 8%, rgba(255, 111, 97, 0.12), transparent 60%),
    linear-gradient(180deg, var(--night) 0, #150729 900px, var(--void) 1600px);
  background-color: var(--void);
  color: var(--text);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.6;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}
.hidden { display: none !important; }
.app-shell { min-height: 100vh; overflow-x: clip; }
img { max-width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 72px;
  padding: 10px clamp(14px, 4vw, 56px);
  background: rgba(13, 5, 25, 0.8);
  border-bottom: 1px solid var(--edge);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: var(--text); text-decoration: none; }
.brand img { flex: 0 0 auto; width: 44px; height: 44px; object-fit: contain; border-radius: 12px; background: var(--cream); padding: 3px; }
.brand strong { display: block; font-family: var(--display); font-weight: 900; font-size: 1.12rem; letter-spacing: -0.02em; line-height: 1.1; }
.brand > span > span { display: block; color: var(--sun); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.on-air-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  margin-right: 4px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 111, 97, 0.35);
  border-radius: 6px;
  color: rgba(255, 247, 235, 0.45);
  font-family: var(--display);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.on-air-pill i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 111, 97, 0.4); }
body.on-air .on-air-pill { color: #fff; background: #d92d45; border-color: #ff8a7d; box-shadow: 0 0 22px rgba(255, 70, 90, 0.7); }
body.on-air .on-air-pill i { background: #fff; animation: blink 1s infinite; }
.top-actions { display: flex; align-items: center; gap: 6px; }
.text-button, .icon-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
}
.text-button { min-height: 44px; padding: 10px 12px; border-radius: 999px; transition: background 0.2s ease, color 0.2s ease; }
.text-button:hover { background: var(--glass-2); color: var(--sun); }
.icon-button { width: 44px; height: 44px; border: 1px solid var(--edge); border-radius: 50%; }

/* ---------- Screens and scene changes ---------- */
.screen { position: relative; min-height: calc(100vh - 72px); }
.screen[aria-hidden="true"] { display: none; }
.screen[aria-hidden="false"] { animation: sceneIn 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes sceneIn {
  from { opacity: 0; transform: translateY(18px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--sun);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow-dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(255, 111, 97, 0.18), 0 0 18px var(--coral); animation: blink 1.6s infinite; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.02; }
h1, h2 { font-family: var(--display); font-weight: 900; letter-spacing: -0.04em; }
h1 { font-size: clamp(3.2rem, 8.2vw, 8.4rem); line-height: 0.92; }
h2 { font-size: clamp(2.1rem, 5vw, 4.6rem); line-height: 0.98; }
h3 { font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }

/* ---------- Buttons ---------- */
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8676, var(--coral) 55%, #f2564a);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(255, 111, 97, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(255, 111, 97, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.button.secondary { background: rgba(255, 211, 90, 0.08); border-color: rgba(255, 211, 90, 0.7); color: var(--sun); box-shadow: none; }
.button.secondary:hover { background: rgba(255, 211, 90, 0.16); }
.button.light { background: var(--cream); color: var(--purple); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.button.ghost { background: var(--glass); border-color: var(--edge-strong); color: var(--text); box-shadow: none; }
.button.ghost:hover { background: var(--glass-2); }
.button.danger { background: transparent; border-color: rgba(255, 130, 140, 0.5); color: #ffb3bb; box-shadow: none; }
.button:disabled, .button:disabled:hover { cursor: not-allowed; background: rgba(255, 255, 255, 0.07); border-color: var(--edge); color: rgba(255, 247, 235, 0.55); transform: none; box-shadow: none; }
.coaching-sheet .button:disabled { background: #ece6f2 !important; color: #6f6580 !important; border-color: transparent; }

/* ---------- Landing: the studio at night ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  min-height: calc(100vh - 72px - 110px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 30% 100%, rgba(66, 18, 127, 0.55), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 120px);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 96px) clamp(20px, 5vw, 80px);
}
.hero-copy h1 { max-width: 980px; margin-bottom: 26px; text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.hero-copy h1 em {
  display: block;
  padding-bottom: 0.06em;
  font-style: normal;
  background: linear-gradient(100deg, var(--sun) 0%, #ffb36b 45%, var(--coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 6px 30px rgba(255, 145, 90, 0.35));
}
.hero-copy .lead { max-width: 680px; color: var(--text-soft); font-size: clamp(1.04rem, 1.5vw, 1.24rem); }
.privacy-line {
  max-width: 680px;
  margin: 24px 0 0;
  padding: 12px 16px;
  border-left: 3px solid var(--teal);
  border-radius: 0 12px 12px 0;
  background: rgba(127, 211, 199, 0.08);
  color: var(--text-soft);
  font-size: 0.88rem;
}
.hero-stage {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 620px;
  padding: 110px 34px 170px;
  perspective: 1200px;
}
.studio { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.studio-wall {
  position: absolute;
  inset: 0 0 26% 0;
  background:
    radial-gradient(70% 60% at 50% 30%, rgba(91, 31, 176, 0.45), transparent 70%),
    repeating-linear-gradient(90deg, rgba(183, 153, 227, 0.07) 0 2px, transparent 2px 64px),
    linear-gradient(180deg, #160830, #1f0c3f);
  box-shadow: inset 0 -40px 60px rgba(0, 0, 0, 0.45);
}
.studio-floor {
  position: absolute;
  inset: 74% -20% 0 -20%;
  background:
    radial-gradient(50% 70% at 50% 0%, rgba(255, 211, 90, 0.16), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 80px),
    linear-gradient(180deg, #2a1150, #0d0519);
  transform: perspective(500px) rotateX(58deg);
  transform-origin: top center;
}
.spot {
  position: absolute;
  top: -12%;
  width: 46%;
  height: 120%;
  background: conic-gradient(from 180deg at 50% 0%, transparent 0deg 162deg, rgba(255, 237, 190, 0.2) 172deg, rgba(255, 247, 235, 0.28) 180deg, rgba(255, 237, 190, 0.2) 188deg, transparent 198deg 360deg);
  filter: blur(6px);
  mix-blend-mode: screen;
  transform-origin: 50% 0%;
}
.spot-a { left: 6%; animation: sweepA 11s ease-in-out infinite alternate; }
.spot-b { right: 4%; animation: sweepB 13s ease-in-out infinite alternate; }
@keyframes sweepA { from { transform: rotate(-16deg); } to { transform: rotate(12deg); } }
@keyframes sweepB { from { transform: rotate(14deg); } to { transform: rotate(-12deg); } }
.on-air-sign {
  position: absolute;
  top: 34px;
  right: 30px;
  padding: 8px 16px;
  border: 2px solid #ff8a7d;
  border-radius: 8px;
  background: #b51f36;
  color: #fff;
  font-family: var(--display);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  box-shadow: 0 0 0 4px rgba(13, 5, 25, 0.8), 0 0 40px rgba(255, 60, 80, 0.75), inset 0 0 14px rgba(255, 200, 200, 0.4);
  animation: neon 4.5s infinite;
}
@keyframes neon { 0%, 18%, 22%, 60%, 100% { opacity: 1; } 20%, 61% { opacity: 0.55; } }
.studio-set { position: absolute; left: 50%; bottom: 2%; width: min(620px, 118%); height: auto; transform: translateX(-50%); }
.interview-card {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  padding: 26px 28px 24px;
  border: 1px solid rgba(255, 247, 235, 0.22);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(91, 31, 176, 0.5), rgba(29, 10, 56, 0.9) 70%), #1d0a38;
  box-shadow: 0 0 0 10px #0d0519, 0 0 0 11px rgba(255, 247, 235, 0.12), 0 40px 90px rgba(0, 0, 0, 0.65), 0 0 80px rgba(183, 153, 227, 0.25);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}
.interview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px), linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 38%);
  pointer-events: none;
}
.stage-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--sun); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.stage-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(255, 111, 97, 0.2), 0 0 12px var(--coral); animation: blink 1.4s infinite; }
.interview-card blockquote { margin: 44px 0 34px; font-family: var(--display); font-weight: 800; font-size: clamp(1.55rem, 2.8vw, 2.4rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--cream); }
.score-strip { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.score-strip strong { font-family: var(--display); font-weight: 900; font-size: 2.8rem; color: var(--sun); line-height: 1; }
.score-strip span { color: var(--text-soft); font-size: 0.92rem; }

/* Call sheet */
.steps-band {
  position: relative;
  z-index: 3;
  width: min(1240px, calc(100% - 32px));
  margin: -40px auto 64px;
  border: 1px solid rgba(27, 18, 39, 0.2);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.callsheet-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
  padding: 14px 24px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.callsheet-title { font-family: var(--display); font-weight: 900; font-size: 1rem; letter-spacing: 0.2em; color: var(--sun); }
.callsheet-crew { margin-left: auto; color: rgba(255, 247, 235, 0.78); }
.callsheet-rows { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { padding: 22px clamp(16px, 2.6vw, 30px) 24px; border-right: 1px dashed rgba(27, 18, 39, 0.22); }
.step:last-child { border-right: 0; }
.step span { display: inline-block; padding: 3px 9px; border-radius: 6px; background: var(--purple); color: var(--cream); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.step strong { display: block; margin-top: 12px; font-family: var(--display); font-weight: 800; font-size: 1.18rem; line-height: 1.15; letter-spacing: -0.01em; }
.step small { display: block; margin-top: 6px; color: var(--muted); font-size: 0.86rem; }

/* ---------- Shared page frames ---------- */
.selection, .overview, .setup, .report { width: min(1240px, calc(100% - 32px)); margin: 0 auto; padding: clamp(40px, 6vw, 84px) 0; }
.section-intro { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr); gap: 34px; align-items: end; margin-bottom: 34px; }
.section-intro h2 { margin-bottom: 0; }
.section-intro p:last-child { color: var(--text-soft); font-size: 1.04rem; }
.panel {
  position: relative;
  padding: clamp(22px, 3.6vw, 44px);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.panel h3 { color: var(--cream); }
.disclaimer { color: var(--text-dim); font-size: 0.84rem; }

/* ---------- Path picker: marquee + audition cards ---------- */
.marquee-rail {
  position: relative;
  padding: 12px;
  border-radius: 20px;
  background: linear-gradient(180deg, #2a1150, #170830);
  box-shadow: inset 0 0 0 1px rgba(255, 211, 90, 0.35), 0 18px 40px rgba(0, 0, 0, 0.4);
}
.marquee-rail::before, .marquee-rail::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  height: 6px;
  background: radial-gradient(circle, var(--sun) 0 2px, transparent 2.5px) 0 0 / 18px 6px repeat-x;
  filter: drop-shadow(0 0 4px rgba(255, 211, 90, 0.9));
  opacity: 0.9;
  animation: chase 1.6s linear infinite;
}
.marquee-rail::before { top: 3px; }
.marquee-rail::after { bottom: 3px; animation-direction: reverse; }
@keyframes chase { to { background-position: 18px 0; } }
.category-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 8px 2px; scrollbar-width: thin; scrollbar-color: var(--lilac) transparent; }
.category-tab {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.category-tab:hover { color: var(--cream); background: rgba(255, 255, 255, 0.1); }
.category-tab.active { background: var(--sun); color: var(--ink); border-color: var(--sun); box-shadow: 0 0 22px rgba(255, 211, 90, 0.6); }
.career-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; perspective: 1100px; }
.career-card {
  position: relative;
  min-height: 210px;
  padding: 24px 24px 22px 28px;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03) 60%), rgba(29, 10, 56, 0.85);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.2s ease, box-shadow 0.25s ease;
  animation: cardIn 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  animation-delay: calc(var(--i, 0) * 60ms);
}
@keyframes cardIn { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
.career-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--tone, var(--coral)); box-shadow: 0 0 12px var(--tone, var(--coral)); }
.career-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.1) 46%, transparent 60%); transform: translateX(-100%); transition: transform 0.6s ease; pointer-events: none; }
.career-card:hover { border-color: var(--tone, var(--coral)); box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--tone, var(--coral)); translate: 0 -4px; }
.career-card:hover::after { transform: translateX(100%); }
.card-take { display: block; margin-bottom: 10px; color: var(--text-dim); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.career-card small { display: block; margin-bottom: 14px; color: var(--tone, var(--sun)); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.career-card h3 { margin-bottom: 10px; font-family: var(--display); font-weight: 900; font-size: 1.55rem; color: var(--cream); letter-spacing: -0.02em; }
.career-card p { margin-bottom: 0; color: var(--text-soft); font-size: 0.94rem; }

/* ---------- Overview ---------- */
.overview > .text-button { margin-bottom: 18px; color: var(--sun); }
.overview-grid, .setup-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 22px; }
.title-panel {
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 20% 0%, rgba(255, 211, 90, 0.22), transparent 60%),
    linear-gradient(160deg, var(--purple-lit), var(--purple) 50%, var(--night));
  border-color: rgba(255, 211, 90, 0.35);
}
.title-panel h2 { color: var(--cream); overflow-wrap: anywhere; }
.title-panel p { color: var(--text-soft); }
.competency-list { display: flex; flex-wrap: wrap; gap: 9px; margin: 26px 0; padding: 0; list-style: none; }
.competency-list li { padding: 8px 13px; border: 1px solid rgba(255, 247, 235, 0.25); border-radius: 999px; background: rgba(13, 5, 25, 0.35); color: var(--cream); font-size: 0.88rem; font-weight: 500; }
.format-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.format-stat { padding: 18px 20px; border: 1px solid var(--edge); border-radius: var(--radius-md); background: rgba(13, 5, 25, 0.4); }
.format-stat strong { display: block; font-family: var(--display); font-weight: 900; font-size: 2.3rem; line-height: 1.05; color: var(--sun); }
.format-stat span { color: var(--text-soft); font-size: 0.9rem; }
.tip-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.tip-list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: var(--text-soft); }
.tip-list li::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(127, 211, 199, 0.18); color: var(--teal); font-weight: 900; font-size: 0.8rem; }

/* ---------- Setup ---------- */
.options-panel { margin-bottom: 22px; }
.style-choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.style-card { position: relative; display: block; cursor: pointer; }
.style-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.style-card span { display: block; height: 100%; padding: 18px; border: 1px solid var(--edge); border-radius: var(--radius-md); background: rgba(13, 5, 25, 0.45); transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; }
.style-card strong { display: block; font-family: var(--display); font-weight: 900; font-size: 1.3rem; color: var(--cream); letter-spacing: -0.01em; }
.style-card small { display: block; margin-top: 4px; color: var(--text-soft); font-size: 0.88rem; }
.style-card input:checked + span { border-color: var(--coral); background: linear-gradient(160deg, rgba(255, 111, 97, 0.22), rgba(66, 18, 127, 0.4)); box-shadow: inset 0 0 0 1px var(--coral), 0 0 30px rgba(255, 111, 97, 0.3); }
.style-card input:checked + span strong::after { content: " · selected"; color: var(--sun); font-family: var(--ui); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.style-card input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 3px; }
.toggle-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.toggle { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 16px; border: 1px solid var(--edge); border-radius: var(--radius-md); background: rgba(13, 5, 25, 0.45); cursor: pointer; }
.toggle input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--coral); }
.toggle strong { display: block; color: var(--cream); }
.toggle small { display: block; color: var(--text-soft); font-size: 0.86rem; }
.media-preview { position: relative; overflow: hidden; min-height: 420px; border-radius: 22px; background: radial-gradient(circle at 50% 40%, #2a1150, #0b0416); box-shadow: 0 0 0 1px var(--edge), var(--shadow); }
.media-preview video { display: block; width: 100%; height: 100%; min-height: 420px; object-fit: cover; transform: scaleX(-1); }
.media-placeholder { position: absolute; inset: 0; display: grid; place-items: center; padding: 48px; color: var(--text-soft); text-align: center; }
.media-placeholder strong { font-family: var(--display); font-size: 1.3rem; color: var(--cream); }
.status-list { display: grid; gap: 4px; margin: 18px 0; }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--edge); color: var(--cream); }
.status-pill { padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: var(--cream); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em; }
.status-pill.ready { background: rgba(127, 224, 180, 0.18); color: var(--success-lit); box-shadow: inset 0 0 0 1px rgba(127, 224, 180, 0.4); }
.privacy-box { margin-top: 20px; padding: 16px; border-left: 3px solid var(--teal); border-radius: 0 12px 12px 0; background: rgba(127, 211, 199, 0.08); color: var(--text-soft); font-size: 0.92rem; }
.privacy-box strong { color: var(--cream); }

/* Viewfinder framing (setup preview and the live camera) */
.viewfinder { position: absolute; inset: 14px; z-index: 2; pointer-events: none; }
.vf { position: absolute; width: 34px; height: 34px; border-color: rgba(255, 247, 235, 0.85); border-style: solid; border-width: 0; transition: border-color 0.3s ease; }
.vf-tl { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 6px; }
.vf-tr { top: 0; right: 0; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 6px; }
.vf-bl { bottom: 0; left: 0; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 6px; }
.vf-br { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 6px; }
.vf-cross { position: absolute; top: 50%; left: 50%; width: 26px; height: 26px; transform: translate(-50%, -50%); background: linear-gradient(rgba(255, 247, 235, 0.55), rgba(255, 247, 235, 0.55)) center / 2px 100% no-repeat, linear-gradient(rgba(255, 247, 235, 0.55), rgba(255, 247, 235, 0.55)) center / 100% 2px no-repeat; opacity: 0.5; }
.vf-cam { position: absolute; top: 8px; right: 46px; color: var(--cream); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7); }
.vf-tc { position: absolute; top: 28px; right: 46px; color: rgba(255, 247, 235, 0.72); font-family: var(--mono); font-size: 0.78rem; font-variant-numeric: tabular-nums; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7); }
body.on-air .vf-tc { color: #ffb3a9; }
.media-preview:has(.media-placeholder:not(.hidden)) .vf-cross, .camera-panel:has(.camera-fallback:not(.hidden)) .vf-cross { display: none; }
body.on-air .camera-panel .vf { border-color: var(--coral); }

/* ---------- Interview screen: on set ---------- */
.interview-screen {
  background:
    radial-gradient(60% 50% at 50% -5%, rgba(255, 237, 190, 0.12), transparent 70%),
    radial-gradient(40% 40% at 10% 100%, rgba(255, 111, 97, 0.1), transparent 70%);
}
.interview-layout { display: grid; grid-template-columns: minmax(280px, 0.8fr) minmax(400px, 1.35fr) minmax(300px, 0.9fr); gap: 16px; width: min(1520px, calc(100% - 28px)); margin: 0 auto; padding: 20px 0 38px; }
.interview-column { min-width: 0; }
.question-panel, .transcript-panel, .camera-panel { height: calc(100vh - 130px); min-height: 640px; }
.question-panel, .transcript-panel { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--edge); border-radius: 22px; background: linear-gradient(170deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)); box-shadow: var(--shadow); overflow-y: auto; }
.question-panel { background: linear-gradient(175deg, #1c0a37, #120624); }

.interviewer-card { position: relative; flex: 0 0 auto; display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; margin-bottom: 18px; padding: 12px 14px; border: 1px solid var(--edge); border-radius: 16px; background: rgba(255, 255, 255, 0.05); }
.iv-avatar { position: relative; width: 64px; height: 64px; }
.iv-avatar svg { display: block; width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 247, 235, 0.15); transition: box-shadow 0.3s ease; }
.iv-bg { fill: var(--purple-lit); }
.iv-body { fill: #d9c8f5; }
.iv-head { fill: #efe7fb; }
.iv-mouth { fill: var(--purple); transform-box: fill-box; transform-origin: center; }
.interviewer-card[data-slot="1"] .iv-bg { fill: #1b6b73; }
.interviewer-card[data-slot="2"] .iv-bg { fill: #a53a52; }
.interviewer-card[data-slot="3"] .iv-bg { fill: #275b9e; }
.iv-wave { position: absolute; right: -6px; bottom: -2px; display: flex; gap: 2px; align-items: flex-end; height: 18px; padding: 3px 5px; border-radius: 8px; background: var(--ink); opacity: 0; transition: opacity 0.2s ease; }
.iv-wave i { width: 3px; height: 4px; border-radius: 2px; background: var(--sun); }
.iv-plate { min-width: 0; padding: 6px 12px; border-left: 4px solid var(--sun); border-radius: 4px; background: linear-gradient(90deg, rgba(255, 247, 235, 0.14), rgba(255, 247, 235, 0.02)); }
.iv-plate strong { display: block; font-family: var(--display); font-weight: 900; font-size: 1.08rem; letter-spacing: -0.01em; color: var(--cream); }
.iv-plate span { display: block; color: var(--text-soft); font-size: 0.82rem; }
.iv-status { position: absolute; top: 8px; right: 12px; color: var(--sun); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0; transition: opacity 0.2s ease; }
body.is-speaking .iv-wave, body.is-speaking .iv-status { opacity: 1; }
body.is-speaking .iv-avatar svg { box-shadow: 0 0 0 3px var(--sun), 0 0 26px rgba(255, 211, 90, 0.55); }
body.is-speaking .iv-mouth { animation: talk 0.32s ease-in-out infinite alternate; }
body.is-speaking .iv-wave i { animation: bar 0.5s ease-in-out infinite alternate; }
body.is-speaking .iv-wave i:nth-child(2) { animation-delay: 0.12s; }
body.is-speaking .iv-wave i:nth-child(3) { animation-delay: 0.24s; }
body.is-speaking .iv-wave i:nth-child(4) { animation-delay: 0.06s; }
@keyframes talk { from { transform: scaleY(1); } to { transform: scaleY(2.6); } }
@keyframes bar { from { height: 3px; } to { height: 12px; } }
.panelist-line { display: none; }

.progress-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--text-soft); font-size: 0.82rem; font-weight: 600; }
.progress-meta #progressLabel { color: var(--sun); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.progress-meta #professionLabel { text-align: right; }
.progress-track { flex: 0 0 auto; overflow: hidden; height: 6px; margin: 12px 0 20px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); }
.progress-bar { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--coral), var(--sun)); box-shadow: 0 0 14px rgba(255, 211, 90, 0.6); transition: width 0.4s ease; }
.prompter {
  position: relative;
  flex: 0 0 auto;
  margin: 7px 7px 16px;
  padding: 20px 20px 22px;
  border-radius: 16px;
  background: radial-gradient(90% 80% at 50% 0%, rgba(91, 31, 176, 0.65), rgba(13, 5, 25, 0.9));
  box-shadow: 0 0 0 6px #08030f, 0 0 0 7px rgba(255, 247, 235, 0.14), 0 0 46px rgba(183, 153, 227, 0.22);
}
.prompter::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 4px); pointer-events: none; }
.prompter-label { display: block; margin-bottom: 10px; color: var(--sun); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.question-panel h2 { margin: 0; font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 2.35rem); line-height: 1.14; letter-spacing: -0.025em; color: var(--cream); text-shadow: 0 0 18px rgba(255, 247, 235, 0.22); }
.question-panel h2:focus { outline: none; }
.prompt-in { animation: promptIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes promptIn {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}
.question-tools { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 8px -12px; }
.question-tools .text-button { color: var(--sun); }
.approach-tip { margin-bottom: 14px; padding: 14px 16px; border-left: 3px solid var(--sun); border-radius: 0 12px 12px 0; background: rgba(255, 211, 90, 0.1); color: var(--cream); font-size: 0.92rem; }
.tough-badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: 0.68rem; letter-spacing: 0.08em; }
.question-category { margin-top: auto; padding-top: 10px; color: var(--teal); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.question-tip { padding-top: 14px; border-top: 1px solid var(--edge); color: var(--text-soft); font-size: 0.88rem; margin-bottom: 0; }

.camera-panel { position: relative; overflow: hidden; border-radius: 22px; background: radial-gradient(circle at 50% 40%, #2a1150, #07030d); box-shadow: 0 0 0 1px var(--edge), var(--shadow); transition: box-shadow 0.4s ease; }
body.on-air .camera-panel { box-shadow: 0 0 0 2px var(--coral), 0 0 50px rgba(255, 80, 90, 0.35), var(--shadow); }
.camera-panel video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.camera-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 56px 48px 120px; color: var(--text-soft); text-align: center; }
.camera-fallback strong { font-family: var(--display); font-size: 1.35rem; color: var(--cream); }
.recording-badge { position: absolute; top: 26px; left: 30px; z-index: 3; display: none; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 6px; background: rgba(13, 5, 25, 0.84); color: #fff; font-family: var(--mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; box-shadow: 0 0 0 1px rgba(255, 111, 97, 0.6); }
.recording-badge.active { display: inline-flex; }
.recording-badge i { width: 10px; height: 10px; border-radius: 50%; background: #ff3b55; box-shadow: 0 0 10px #ff3b55; animation: blink 1.1s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.camera-controls { position: absolute; right: 20px; bottom: 30px; left: 20px; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.record-button { min-width: 180px; min-height: 56px; background: var(--cream); color: var(--ink); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5); }
.record-button::before { content: ""; flex: 0 0 auto; width: 12px; height: 12px; margin-right: 10px; border-radius: 50%; background: #d92d45; box-shadow: 0 0 0 4px rgba(217, 45, 69, 0.2); }
.record-button.stop { background: #c81e3a; color: #fff; box-shadow: 0 0 0 4px rgba(255, 111, 97, 0.3), 0 14px 34px rgba(200, 30, 58, 0.5); }
.record-button.stop::before { border-radius: 3px; background: #fff; box-shadow: none; }

/* Studio gauges */
.target-clock { position: absolute; top: 70px; left: 30px; right: 30px; z-index: 3; max-width: 360px; padding: 10px 14px 12px; border: 1px solid var(--edge); border-radius: 12px; background: rgba(13, 5, 25, 0.84); color: var(--cream); font-size: 0.78rem; font-weight: 600; }
.target-track { position: relative; overflow: hidden; height: 9px; margin-top: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); }
.target-track::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(13, 5, 25, 0.8) calc(10% - 1px) 10%); pointer-events: none; }
.target-fill { height: 100%; width: 0; border-radius: inherit; background: var(--sky); transition: width 0.5s linear, background 0.3s ease; }
.target-clock.zone { border-color: rgba(127, 224, 180, 0.6); }
.target-clock.zone .target-fill { background: var(--success-lit); box-shadow: 0 0 12px rgba(127, 224, 180, 0.7); }
.target-clock.long { background: rgba(110, 58, 0, 0.92); border-color: var(--sun); }
.target-clock.long .target-fill { background: var(--sun); }
.think-layer { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 28px; background: radial-gradient(circle at 50% 35%, rgba(91, 31, 176, 0.96), rgba(13, 5, 25, 0.98) 70%); color: var(--cream); text-align: center; }
.think-layer h3 { margin: 12px 0 0; font-weight: 900; font-size: 1.9rem; letter-spacing: -0.02em; }
.think-layer p { max-width: 380px; color: var(--text-soft); }
.think-ring { position: relative; width: 148px; height: 148px; filter: drop-shadow(0 0 22px rgba(255, 211, 90, 0.35)); }
.think-ring::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 247, 235, 0.35) 0 1deg, transparent 1deg 15deg); -webkit-mask: radial-gradient(circle, transparent 66%, #000 67%); mask: radial-gradient(circle, transparent 66%, #000 67%); }
.think-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.think-ring circle { fill: none; stroke-width: 9; }
.think-bg { stroke: rgba(255, 255, 255, 0.14); }
.think-arc { stroke: var(--sun); stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 0; transition: stroke-dashoffset 0.25s linear; }
.think-ring strong { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 3rem; font-variant-numeric: tabular-nums; }

/* The script page (transcript) */
.transcript-panel h3 { margin-bottom: 6px; font-weight: 900; font-size: 1.6rem; color: var(--cream); }
.transcript-panel > p { color: var(--text-soft); font-size: 0.86rem; }
.transcript-panel textarea {
  flex: 1;
  width: 100%;
  min-height: 280px;
  padding: 18px 18px 18px 24px;
  resize: none;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(90deg, transparent 0 10px, rgba(255, 111, 97, 0.4) 10px 11px, transparent 11px) no-repeat, var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
  box-shadow: inset 0 0 0 1px rgba(27, 18, 39, 0.12), 0 10px 30px rgba(0, 0, 0, 0.35);
}
.transcript-panel textarea::placeholder { color: #6f6580; }
.speech-status { min-height: 24px; margin: 10px 0; color: var(--sun); font-size: 0.82rem; font-weight: 600; }
.transcript-actions { display: grid; gap: 9px; }

/* ---------- Overlays: slate, judges' card, story bank ---------- */
.coaching-overlay { position: fixed; inset: 0; z-index: 80; display: grid; place-items: end center; padding-top: 40px; background: radial-gradient(circle at 50% 30%, rgba(66, 18, 127, 0.55), rgba(8, 3, 16, 0.86)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fadeIn 0.3s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.coaching-sheet {
  overflow-y: auto;
  width: min(980px, 100%);
  max-height: calc(100vh - 40px);
  padding: clamp(22px, 4vw, 44px);
  border-radius: 28px 28px 0 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 -30px 100px rgba(0, 0, 0, 0.55);
  animation: sheetUp 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes sheetUp { from { transform: translateY(60px); opacity: 0; } to { transform: none; opacity: 1; } }
.coaching-sheet .eyebrow { color: var(--purple); }
.coaching-sheet h2, .coaching-sheet h3 { color: var(--ink); }
.coaching-sheet p { color: #3a3046; }
.coaching-sheet .disclaimer { color: var(--muted); }
.coaching-sheet .button { box-shadow: none; }
.coaching-sheet .button:not(.secondary):not(.ghost):not(.danger):not(.light) { background: var(--purple); color: #fff; }
.coaching-sheet .button.secondary { background: transparent; border-color: var(--purple); color: var(--purple); }
.coaching-sheet .button.secondary:hover, .coaching-sheet .button.ghost:hover { background: var(--lav); }
.coaching-sheet .button.ghost { background: transparent; border-color: rgba(27, 18, 39, 0.25); color: var(--ink); }
.coaching-sheet .button.danger { border-color: rgba(180, 35, 60, 0.45); color: var(--danger); }

.slate-sheet { position: relative; padding-top: 0; }
.slate { margin: 0 calc(-1 * clamp(22px, 4vw, 44px)) 28px; }
.slate-stick { height: 26px; background: repeating-linear-gradient(-45deg, var(--ink) 0 22px, var(--cream) 22px 44px); border-radius: 28px 28px 0 0; transform-origin: 6% 100%; animation: clap 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.15s both; }
@keyframes clap { 0% { transform: rotate(-12deg); } 70% { transform: rotate(0); } 85% { transform: rotate(-2deg); } 100% { transform: rotate(0); } }
.slate-board { display: flex; justify-content: space-between; gap: 12px; padding: 12px clamp(22px, 4vw, 44px); background: var(--ink); color: var(--cream); font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.slate-sheet h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }

.judge-card { padding-top: 0; }
.score-head {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  margin: 0 calc(-1 * clamp(22px, 4vw, 44px));
  padding: clamp(22px, 3.4vw, 34px) clamp(22px, 4vw, 44px);
  overflow: hidden;
  background: radial-gradient(70% 120% at 0% 0%, rgba(255, 211, 90, 0.25), transparent 60%), linear-gradient(140deg, var(--purple-lit), var(--purple) 50%, var(--night));
  color: var(--cream);
}
.score-head .eyebrow { color: var(--sun); }
.score-head h2 { margin-bottom: 12px; color: var(--cream); font-size: clamp(2rem, 4vw, 3.4rem); }
.score-orb { position: relative; display: grid; place-items: center; align-content: center; width: 132px; height: 132px; border-radius: 50%; background: radial-gradient(circle, #24103f 58%, transparent 59%), conic-gradient(var(--sun), var(--coral), var(--sun)); color: var(--sun); font-family: var(--display); font-weight: 900; font-size: 2.8rem; line-height: 1; box-shadow: 0 0 40px rgba(255, 211, 90, 0.4); }
.score-orb span { font-variant-numeric: tabular-nums; }
.score-orb small { display: block; margin-top: 4px; font: 600 0.7rem/1 var(--ui); color: var(--text-soft); letter-spacing: 0.1em; }
.coaching-sheet .lower-third { display: inline-block; margin: 0; padding: 7px 14px; border-left: 5px solid var(--coral); border-radius: 3px; background: rgba(13, 5, 25, 0.6); color: var(--cream); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.02em; animation: slideIn 0.6s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.judge-card[data-band="mastered"] .lower-third { border-left-color: var(--success-lit); background: rgba(21, 122, 85, 0.7); }
.judge-card[data-band="ready"] .lower-third { border-left-color: var(--sun); }
@keyframes slideIn { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
.rubric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 22px 0; }
.rubric-item { padding: 12px 14px; border: 1px solid rgba(66, 18, 127, 0.14); border-radius: 12px; background: #f6f0fc; }
.rubric-item span { display: block; color: var(--muted); font-size: 0.74rem; font-weight: 600; text-transform: capitalize; }
.rubric-item strong { color: var(--purple); font-family: var(--display); font-weight: 900; font-size: 1.25rem; }
.rubric-bar { display: block; height: 6px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: rgba(66, 18, 127, 0.12); }
.rubric-bar b { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--purple), var(--coral)); animation: grow 1s 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes grow { from { width: 0; } }
.feedback-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feedback-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; color: var(--ink); }
.feedback-card.full { grid-column: 1 / -1; border-color: rgba(66, 18, 127, 0.25); background: var(--lav); }
.feedback-card h3 { color: var(--purple); font-family: var(--ui); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.feedback-card ul { margin-bottom: 0; padding-left: 20px; }
.feedback-card li { margin-bottom: 4px; }
.feedback-card p { margin-bottom: 0; }
.tough-card { border-color: rgba(138, 79, 0, 0.3) !important; background: #fff4dc !important; }
.tough-card h3 { color: var(--warning) !important; }
.attempts { margin-top: 22px; }
.attempt-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.attempt { padding: 14px; border: 1px solid var(--line); border-left: 4px solid var(--coral); border-radius: 13px; background: #fff; color: var(--ink); }
.attempt strong, .attempt span { display: block; }
.attempt strong { font-family: var(--display); font-weight: 800; }
.attempt span { color: var(--muted); font-size: 0.82rem; }
.attempt video { width: 100%; margin-top: 10px; border-radius: 9px; }
.coaching-sheet .comparison-note { margin: 16px 0 0; color: var(--success); font-weight: 600; }
.story-save { margin-top: 16px; padding: 18px; border: 1px dashed rgba(66, 18, 127, 0.4); border-radius: var(--radius-md); background: #fff; }
.story-save p { margin-bottom: 10px; }
.story-form { display: grid; gap: 10px; margin-top: 12px; }
.story-form label, .pitch-builder label, .story-item label { display: grid; gap: 6px; font-size: 0.85rem; font-weight: 600; }
.story-form label, .story-item label { color: #3a3046; }
.story-form input, .story-item input, .story-item textarea, .pitch-builder textarea, .pitch-practice textarea { width: 100%; padding: 12px 14px; border: 1px solid rgba(27, 18, 39, 0.18); border-radius: 12px; background: var(--paper); color: var(--ink); font-weight: 400; font-size: 1rem; line-height: 1.55; }
.pitch-builder textarea::placeholder, .pitch-practice textarea::placeholder { color: #6f6580; }
.story-list { display: grid; gap: 12px; margin-top: 18px; }
.story-item { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line); border-left: 5px solid var(--coral); border-radius: var(--radius-md); background: #fff; }
.coaching-sheet .story-item .meta { color: var(--muted); font-size: 0.8rem; }
.story-item textarea { min-height: 140px; resize: vertical; }
.story-item .button-row { margin-top: 2px; }
.story-empty { padding: 22px; border-radius: var(--radius-md); background: var(--lav); color: #3a3046; }
.coaching-sheet .report-card { background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: none; }
.coaching-sheet .report-card h3 { color: var(--purple); }
.coaching-sheet .report-card p { color: #3a3046; }

/* ---------- Pitch: the 30-second spotlight ---------- */
.pitch-stage { position: relative; }
.pitch-stage::before { content: ""; position: absolute; top: -40px; left: 50%; width: min(900px, 100%); height: 520px; transform: translateX(-50%); background: conic-gradient(from 180deg at 50% 0%, transparent 0 160deg, rgba(255, 237, 190, 0.12) 172deg, rgba(255, 247, 235, 0.18) 180deg, rgba(255, 237, 190, 0.12) 188deg, transparent 200deg); filter: blur(8px); pointer-events: none; }
.pitch-stage > .text-button { position: relative; margin-bottom: 18px; color: var(--sun); }
.pitch-stage .section-intro { position: relative; }
.pitch-grid { align-items: start; }
.pitch-builder, .pitch-practice { display: grid; gap: 14px; }
.pitch-builder label { color: var(--cream); }
.pitch-practice > label { margin-bottom: -8px; color: var(--cream); font-size: 0.85rem; font-weight: 600; }
.pitch-practice textarea { resize: vertical; }
.pitch-count { margin: -6px 0 0; color: var(--text-soft); font-size: 0.85rem; }
.pitch-timer { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; overflow: hidden; border-radius: var(--radius-md); background: radial-gradient(80% 140% at 20% 0%, rgba(255, 211, 90, 0.25), transparent 60%), linear-gradient(140deg, #24103f, #0d0519); box-shadow: inset 0 0 0 1px rgba(255, 211, 90, 0.35), 0 16px 40px rgba(0, 0, 0, 0.4); transition: box-shadow 0.3s ease; }
.pitch-time { font-family: var(--display); font-weight: 900; font-size: 3.4rem; line-height: 1; color: var(--sun); font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(255, 211, 90, 0.45); }
.pitch-time.over { color: var(--coral); text-shadow: 0 0 24px rgba(255, 111, 97, 0.55); }
body.on-air .pitch-timer { box-shadow: inset 0 0 0 2px var(--coral), 0 0 40px rgba(255, 80, 90, 0.35); }
.pitch-feedback:empty { display: none; }
.pitch-feedback { padding: 20px; border-radius: var(--radius-md); background: var(--paper); color: var(--ink); }
.pitch-feedback h3 { margin-bottom: 10px; font-weight: 900; font-size: 1.4rem; color: var(--ink); }
.pitch-feedback .disclaimer { color: var(--muted); }
.pitch-feedback ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pitch-feedback li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; }
.pitch-feedback li::before { content: "○"; color: var(--warning); font-weight: 900; }
.pitch-feedback li.ok::before { content: "✓"; color: var(--success); }

/* ---------- Report: that's a wrap ---------- */
.report-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  padding: clamp(28px, 5vw, 60px);
  overflow: hidden;
  border: 1px solid rgba(255, 211, 90, 0.3);
  border-radius: var(--radius-lg);
  background: radial-gradient(70% 90% at 85% 0%, rgba(255, 211, 90, 0.25), transparent 60%), linear-gradient(150deg, var(--purple-lit), var(--purple) 45%, var(--night));
  color: var(--cream);
  box-shadow: var(--shadow);
}
.report-hero > * { position: relative; }
.report-hero > .report-spot { position: absolute; top: -30%; right: 4%; width: 46%; height: 170%; background: conic-gradient(from 180deg at 50% 0%, transparent 0 164deg, rgba(255, 247, 235, 0.16) 180deg, transparent 196deg); filter: blur(6px); pointer-events: none; }
.report-hero h2 { margin-bottom: 12px; color: var(--cream); overflow-wrap: anywhere; }
.report-hero p { color: var(--text-soft); }
.overall-score { display: grid; place-items: center; align-content: center; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, #24103f 60%, transparent 61%), conic-gradient(var(--sun), var(--coral), var(--sun)); box-shadow: 0 0 60px rgba(255, 211, 90, 0.4); }
.overall-score strong { display: block; font-family: var(--display); font-weight: 900; font-size: 4rem; line-height: 1; color: var(--sun); font-variant-numeric: tabular-nums; }
.overall-score span { display: block; margin-top: 6px; color: var(--text-soft); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.report-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0; }
.report-stat { padding: 20px; border: 1px solid var(--edge); border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.06); }
.report-stat strong { display: block; font-family: var(--display); font-weight: 900; font-size: 2.2rem; line-height: 1.1; color: var(--sun); }
.report-stat span { color: var(--text-soft); font-size: 0.9rem; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.report-card { padding: 24px; border: 1px solid var(--edge); border-radius: var(--radius-md); background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)); color: var(--cream); }
.report-card.wide { grid-column: 1 / -1; }
.report-card h3 { color: var(--sun); font-family: var(--ui); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.report-card p { color: var(--text-soft); }
.report-card p:last-child { margin-bottom: 0; }
.report > .disclaimer { margin-top: 18px; }

/* ---------- Banner and toast ---------- */
.session-banner { display: none; align-items: center; justify-content: space-between; gap: 14px; padding: 12px clamp(14px, 4vw, 56px); background: linear-gradient(90deg, rgba(255, 211, 90, 0.16), rgba(66, 18, 127, 0.45)); border-bottom: 1px solid rgba(255, 211, 90, 0.35); color: var(--cream); }
.session-banner.visible { display: flex; }
.session-banner p { margin: 0; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 120; max-width: min(360px, calc(100vw - 40px)); padding: 14px 18px; border-left: 4px solid var(--sun); border-radius: 13px; background: #1b0d33; color: var(--cream); box-shadow: var(--shadow); transform: translateY(160%); visibility: hidden; transition: transform 0.3s ease, visibility 0s linear 0.3s; }
.toast.show { transform: translateY(0); visibility: visible; transition: transform 0.3s ease; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-stage { min-height: 600px; }
  .career-grid { grid-template-columns: repeat(2, 1fr); }
  .interview-layout { grid-template-columns: minmax(260px, 0.85fr) minmax(380px, 1.15fr); }
  .transcript-panel { grid-column: 1 / -1; height: auto; min-height: 420px; }
  .question-panel, .camera-panel { height: 660px; }
  .toggle-list { grid-template-columns: 1fr; }
  .callsheet-rows { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n + 2) { border-bottom: 1px dashed rgba(27, 18, 39, 0.22); }
}
@media (max-width: 760px) {
  .topbar { min-height: 64px; gap: 8px; }
  .brand img { width: 38px; height: 38px; }
  .brand strong { font-size: 0.98rem; }
  .brand > span > span, .top-actions .text-button:first-child, .on-air-pill { display: none; }
  body.on-air .on-air-pill { display: inline-flex; position: fixed; top: auto; bottom: 14px; left: 12px; z-index: 60; margin: 0; }
  .top-actions { gap: 0; }
  .top-actions .text-button { padding: 8px 7px; font-size: 0.8rem; white-space: nowrap; }
  .brand { gap: 8px; }
  .brand strong { font-size: 0.9rem; }
  .stage-top { font-size: 0.64rem; }
  .hero-copy { padding: 44px 18px 26px; }
  .hero-copy h1 { font-size: clamp(2.9rem, 14.5vw, 5rem); }
  .hero-actions .button { width: 100%; }
  .hero-stage { min-height: 500px; padding: 90px 16px 140px; perspective: none; }
  .spot { width: 70%; }
  .on-air-sign { top: 22px; right: 16px; font-size: 0.78rem; }
  .interview-card { transform: none; padding: 22px; }
  .interview-card blockquote { margin: 30px 0 24px; }
  .steps-band { margin-top: -20px; }
  .callsheet-crew { margin-left: 0; }
  .callsheet-rows { grid-template-columns: 1fr; }
  .step, .step:nth-child(-n + 2) { border-right: 0; border-bottom: 1px dashed rgba(27, 18, 39, 0.22); }
  .step:last-child { border-bottom: 0; }
  .section-intro, .overview-grid, .setup-grid, .report-hero { grid-template-columns: 1fr; }
  .career-grid { grid-template-columns: 1fr; perspective: none; }
  .career-card { min-height: 160px; transform: none; }
  .style-choice { grid-template-columns: 1fr; }
  .interview-layout { display: flex; flex-direction: column; width: min(100% - 20px, 700px); }
  .question-panel, .camera-panel, .transcript-panel { height: auto; min-height: 0; }
  .question-panel { overflow: visible; }
  .camera-panel { min-height: 460px; }
  .transcript-panel textarea { min-height: 260px; }
  .rubric-grid, .report-stats { grid-template-columns: repeat(2, 1fr); }
  .feedback-grid, .report-grid { grid-template-columns: 1fr; }
  .feedback-card.full, .report-card.wide { grid-column: auto; }
  .attempt-list { grid-template-columns: 1fr; }
  .score-head { grid-template-columns: 1fr; }
  .score-orb { width: 108px; height: 108px; font-size: 2.3rem; }
  .overall-score { width: 150px; height: 150px; }
  .overall-score strong { font-size: 3.2rem; }
  .pitch-time { font-size: 2.6rem; }
  .button-row .button { flex: 1 1 auto; }
  .session-banner { flex-direction: column; align-items: stretch; }
}

/* ---------- Motion off ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .interview-card, .career-card { transform: none !important; translate: none !important; }
  .spot-a { transform: rotate(-6deg); }
  .spot-b { transform: rotate(6deg); }
}

/* ---------- Print: a plain report on white ---------- */
@media print {
  .topbar, .report .button-row, .session-banner, .story-save, .tough-card, .report-spot, .toast { display: none !important; }
  body { background: #fff !important; color: #000; }
  .screen[aria-hidden="false"] { animation: none; }
  .report { width: 100%; padding: 0; }
  .report-hero { color: #000; background: #fff; border: 1px solid #bbb; box-shadow: none; }
  .report-hero h2, .report-hero p, .report-hero .eyebrow { color: #000; }
  .overall-score { background: #fff; border: 2px solid #42127f; box-shadow: none; }
  .overall-score strong { color: #42127f; }
  .overall-score span, .report-stat span, .report-card p { color: #333; }
  .report-card, .report-stat { break-inside: avoid; box-shadow: none; background: #fff; border-color: #bbb; color: #000; }
  .report-stat strong, .report-card h3 { color: #42127f; }
  .disclaimer { color: #444; }
}
