/* OfferReady - component styles. All values come from css/tokens.css.
   Task 1 state: token-driven color/radius/borders. Typography (Task 2),
   landing de-templating (Task 3), interview room (Task 4), and scorecard
   drama (Task 5) build on top of this. */

/* legacy aliases for markup written against earlier token names */
:root {
  --text-soft: var(--text-muted);
  --line: var(--hairline-color);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-0);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(122, 31, 43, .18); }

a { color: var(--accent); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent-hover); }

.page { max-width: var(--page); margin: 0 auto; padding: 0 28px; }

/* ---- header ---- */
.masthead {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5); padding: var(--space-4) 0;
  background: rgba(250, 250, 248, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--hairline);
}
.wordmark {
  font-family: var(--logo-font);
  font-weight: 400; font-size: 27px; letter-spacing: .01em; line-height: 1; color: var(--text);
  transition: opacity .2s ease;
}
.wordmark:hover { color: var(--text); opacity: .75; }
/* Full "RepsDesk" by default; condensed "RD" mark on narrow screens. */
.wm-mark { display: none; }
@media (max-width: 560px) { .wm-full { display: none; } .wm-mark { display: inline; } }
.masthead nav { display: flex; gap: 26px; align-items: center; font-size: 14px; font-weight: 500; }
.masthead nav a { color: var(--text-muted); position: relative; }
.masthead nav a:hover { color: var(--text); }
.masthead nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--accent); border-radius: 1px;
  transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.masthead nav a:hover::after, .masthead nav a[aria-current="page"]::after { transform: scaleX(1); }
.masthead nav a[aria-current="page"] { color: var(--text); }
.masthead .cta { color: var(--accent); font-weight: 600; }
/* During a live interview, hide the nav so it's hard to click away mid-session
   (a beforeunload guard covers the wordmark). */
body.live .masthead nav { display: none; }
/* Mobile: let the nav become its own horizontal-scroll row under the wordmark
   instead of forcing the whole page to scroll sideways. */
@media (max-width: 760px) {
  .masthead { flex-wrap: wrap; gap: 8px var(--space-4); }
  .masthead nav {
    order: 3; width: 100%; gap: 18px; overflow-x: auto; padding-bottom: 4px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .masthead nav::-webkit-scrollbar { display: none; }
  .masthead nav a { white-space: nowrap; }
}

footer {
  margin-top: var(--space-9); padding: var(--space-6) 0 var(--space-8);
  border-top: var(--hairline);
  font-size: 12.5px; color: var(--text-muted);
}
footer p { max-width: 82ch; margin: 0 0 var(--space-2); }
.footlegal { margin-top: 8px; }
.footlegal a { color: var(--text-muted); text-decoration: underline; }
.footlegal a:hover { color: var(--accent); }

/* Legal pages (privacy / terms) — readable prose */
.legal h2 { font-size: var(--fs-1); margin: 30px 0 8px; }
.legal p, .legal li { max-width: 70ch; line-height: 1.62; }
.legal ul { margin: 8px 0 12px 20px; }
.legal li { margin: 5px 0; }

/* Consent checkbox in the sign-in dialog */
/* High specificity so it beats `dialog.login label` (block + uppercase) and
   `dialog.login input` (width:100%) - otherwise the checkbox floats centered
   above uppercase text. */
.consent,
dialog.login label.consent {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 13px; font-weight: 400; letter-spacing: normal; text-transform: none;
  color: var(--text-muted); margin: 10px 0 2px; line-height: 1.45;
}
.consent input,
dialog.login label.consent input {
  width: auto; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--accent);
}

/* ---- type scale (Geist; headings de-weighted and tightened) ---- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: var(--lh-tight); margin: 0; letter-spacing: var(--ls-display); }
h1 { font-size: var(--fs-display); }
h2 { font-size: clamp(var(--fs-2), 3vw, var(--fs-4)); }
h3 { font-size: var(--fs-1); font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; max-width: var(--measure); line-height: var(--lh-body); }

.grad { color: var(--accent); } /* gradient era over; class name kept for markup */

.kicker {
  display: inline-block; font-family: var(--mono);
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted);
}
.kicker.pill {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--sans); font-size: 12.5px; letter-spacing: .08em;
  color: var(--accent); background: var(--accent-tint);
  border: 1px solid rgba(122, 31, 43, .25);
  padding: 7px 15px; border-radius: var(--radius);
}
.sectionhead { display: flex; align-items: baseline; gap: var(--space-4); padding-top: var(--space-2); margin: var(--space-9) 0 var(--space-5); }
.sectionhead .no { font-family: var(--mono); font-size: 13px; font-weight: 600; min-width: 2.4em; color: var(--accent); }

.smallnote { font-size: 13px; color: var(--text-muted); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---- firm x round briefing (practice picker) ---- */
.brief {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--accent-tint);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}
.brief .brief-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.brief p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text); }

/* ---- firm logo, shown wherever a specific firm is in play ---- */
.firm-logo { width: auto; vertical-align: middle; object-fit: contain; }
/* flex-start, not center: when the text wraps to multiple lines (narrow
   columns), this keeps the logo pinned to the first line instead of
   floating centered against the whole wrapped block. */
.firmline { display: inline-flex; align-items: flex-start; gap: 9px; }
.firmline img { margin-top: 3px; }
.firm-logo.with-top-nudge { margin-top: 3px; }
/* The mark art is dark-on-transparent; on the dark "live" stage it needs a
   light chip behind it to stay legible. */
.logo-chip {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 4px; padding: 3px 7px; line-height: 0;
}

/* ---- buttons ---- */
.btn {
  display: inline-block; font-family: var(--sans); font-size: 15px; font-weight: 600;
  color: #fff; background: var(--accent);
  border: 1px solid var(--accent);
  padding: 12px 24px; border-radius: var(--radius); cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.btn:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active:not(:disabled) { transform: translateY(0); box-shadow: none; }
.btn:disabled { opacity: .4; cursor: default; }
.btn.secondary {
  background: var(--card); color: var(--text);
  border: var(--hairline); box-shadow: none;
}
.btn.secondary:hover { border-color: var(--accent); color: var(--accent); background: var(--card); }
.btn.quiet { background: transparent; color: var(--text-muted); border: var(--hairline); box-shadow: none; font-weight: 500; }
.btn.quiet:hover { color: var(--text); box-shadow: none; }

/* ---- tables ---- */
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 11px 14px 11px 0; border-bottom: var(--hairline); vertical-align: top; }
th { font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted); }
td.num, th.num { text-align: right; padding-right: 28px; }
tbody tr { transition: background .15s ease; }
tbody tr:hover { background: var(--accent-tint); }

/* ---- full-page backdrop (landing) ---- */
.backdrop {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background-image: radial-gradient(rgba(14, 19, 32, .10) 1px, transparent 1.4px);
  background-size: 30px 30px;
}
.backdrop::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 640px at 50% 0%, transparent 0%, rgba(250, 250, 248, .55) 92%),
    linear-gradient(180deg, transparent 65%, rgba(250, 250, 248, .9) 100%);
}
.backdrop i { position: absolute; border-radius: 50%; filter: blur(80px); }
.backdrop i:nth-child(1) { width: 540px; height: 540px; top: -170px; right: -150px; background: var(--accent); opacity: .05; animation: orb-a 26s ease-in-out infinite alternate; }
.backdrop i:nth-child(2) { width: 440px; height: 440px; top: 38%; left: -190px; background: var(--ink); opacity: .04; animation: orb-b 34s ease-in-out infinite alternate; }
.backdrop i:nth-child(3) { width: 500px; height: 500px; bottom: -190px; right: 10%; background: var(--partial); opacity: .05; animation: orb-c 40s ease-in-out infinite alternate; }
@keyframes orb-a { to { transform: translate(-70px, 90px) scale(1.08); } }
@keyframes orb-b { to { transform: translate(80px, -70px) scale(1.05); } }
@keyframes orb-c { to { transform: translate(-90px, -60px); } }

/* ---- bulge bracket logo wall ---- */
.logowall { margin: 84px 0 8px; text-align: center; position: relative; padding-bottom: 26px; }
.logolede {
  font-size: 11.5px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: var(--space-6);
}
.logos {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(20px, 3vw, 42px); flex-wrap: wrap;
}
.logos img {
  width: auto; /* heights are tuned per logo inline - the marks vary wildly in aspect ratio */
  filter: grayscale(1); opacity: .5;
  transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}
.logos img:hover { filter: none; opacity: 1; transform: translateY(-2px); }
.logonote { position: absolute; right: 0; bottom: 0; margin: 0; max-width: none; font-size: 11px; opacity: .75; }

/* ---- video hero (landing) ---- */
.videohero {
  position: relative; width: 100vw; margin-left: calc(50% - 50vw);
  min-height: 86vh; display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; background: var(--ink);
}
.videohero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.heroshade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14, 19, 32, .68) 0%, rgba(14, 19, 32, .36) 45%, rgba(14, 19, 32, .84) 100%);
}
.heroinner { position: relative; max-width: 1040px; padding: 110px 28px 90px; }
.videohero .kicker { color: rgba(255, 255, 255, .66); }
/* Sized so each phrase sits on ONE line on desktop; wraps only on narrow screens. */
.videohero h1 { color: #fff; font-size: clamp(30px, 4.8vw, 52px); }
@media (min-width: 900px) { .videohero h1 .line { white-space: nowrap; } }

/* Gold, classy-futuristic headline: a champagne→deep-gold gradient clipped to the
   text, a soft golden glow, and a slow sheen that drifts across it. */
.videohero h1.goldhead {
  font-size: clamp(34px, 6vw, 78px);
  letter-spacing: -.015em; line-height: 1.02;
  background: linear-gradient(115deg, #fbefc6 0%, #eccf76 34%, #c99a34 60%, #f4dd93 86%, #fff6da 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  /* NOTE: use text-shadow, NOT filter: drop-shadow(). A `filter` promotes this
     element to its own composited layer, and over the fullscreen hero <video>
     Chromium then drops the -webkit-background-clip:text paint entirely (the
     headline renders invisible). text-shadow gives the same golden glow safely. */
  text-shadow: 0 2px 26px rgba(224,182,74,.35);
  animation: goldSheen 7s ease-in-out infinite;
}
.videohero h1.goldhead .line { color: inherit; }
@keyframes goldSheen { 0%, 100% { background-position: 0% center; } 50% { background-position: 100% center; } }
@media (prefers-reduced-motion: reduce) { .videohero h1.goldhead { animation: none; } }
/* Center the two footnote lines under everything else (they lacked auto margins). */
.videohero .herosub, .videohero .herotrust { margin-left: auto; margin-right: auto; }
.videohero .grad { color: #D9AEB4; }
.videohero .lede { color: rgba(255, 255, 255, .85); margin: 22px auto 0; }
.videohero .actions { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; margin-top: var(--space-6); }
.herosub { margin-top: var(--space-3); color: rgba(255, 255, 255, .55); }
/* Primary hero CTA: still glassy/see-through, but the frosted blur + firmer fill,
   border and shadow lift it off the busy skyline so it's clearly readable. */
#cta-main {
  background: rgba(163, 29, 52, .48); color: #fff;
  border: 1px solid rgba(233, 128, 146, .85);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .38);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
#cta-main:hover:not(:disabled) { background: rgba(163, 29, 52, .64); border-color: rgba(233, 128, 146, 1); }
/* Secondary hero CTA: frost the backdrop and strengthen the outline to match. */
.videohero .actions .btn.ghost {
  background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .38);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
.btn.ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.btn.ghost:hover:not(:disabled) { background: rgba(255, 255, 255, .16); border-color: #fff; color: #fff; }

.videohero .kicker, .videohero .lede, .videohero .actions, .videohero .herosub { opacity: 0; animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.videohero h1 .line { display: block; opacity: 0; transform: translateY(28px); animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.videohero .kicker { animation-delay: .05s; }
.videohero h1 .line:nth-child(1) { animation-delay: .14s; }
.videohero h1 .line:nth-child(2) { animation-delay: .26s; }
.videohero .lede { animation-delay: .4s; }
.videohero .actions { animation-delay: .52s; }
.videohero .herosub { animation-delay: .62s; }

/* dark translucent masthead that sits over the video (full-bleed, content page-aligned) */
.masthead.dark {
  width: 100vw; margin-left: calc(50% - 50vw);
  padding-left: max(28px, calc((100vw - var(--page)) / 2 + 28px));
  padding-right: max(28px, calc((100vw - var(--page)) / 2 + 28px));
  background: rgba(14, 19, 32, .65); border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.masthead.dark .wordmark, .masthead.dark nav a { color: rgba(255, 255, 255, .85); }
.masthead.dark .wordmark:hover, .masthead.dark nav a:hover { color: #fff; }
.masthead.dark nav a::after { background: var(--accent-on-ink); }
.masthead.dark .cta { color: #D9AEB4; }
.masthead.dark .userchip { color: rgba(255, 255, 255, .65); }
.masthead.dark .userchip b { color: #fff; }
.masthead.dark .userchip button { color: #D9AEB4; }

/* the wheel: logos + names under the hero */
.wheel { margin: 0 0 var(--space-2); }
.wheel .logolede { text-align: center; margin: var(--space-6) 0 var(--space-3); }
.ticker .item { display: inline-flex; align-items: center; gap: 12px; }
.ticker .item img { height: 26px; width: auto; filter: grayscale(1); opacity: .6; transition: filter .2s ease, opacity .2s ease; }
.ticker .item img:hover { filter: none; opacity: 1; }
.ticker .item .nm { font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.tickernote { max-width: none; text-align: right; font-size: 11px; opacity: .75; margin: 6px 0 0; }

/* ---- landing ---- */
.hero { position: relative; padding: var(--space-9) 0 var(--space-4); }

/* app pages: smaller hero, readable centered column */
.hero.compact { padding: var(--space-7) 0 var(--space-2); }
.hero.compact h1 { font-size: clamp(26px, 3.4vw, 40px); }
.hero.compact .lede { font-size: var(--fs-0); margin-top: var(--space-3); }
/* Content columns start at the same left gutter as the masthead and every
   other page - left-aligned, not centred - so headings line up under the
   wordmark instead of floating inward. */
.narrow { max-width: 920px; margin-left: 0; margin-right: auto; }
.hero::before {
  content: ""; position: absolute; z-index: -2; pointer-events: none;
  inset: -180px -240px auto -240px; height: 640px;
  background:
    radial-gradient(620px 340px at 16% 28%, rgba(122, 31, 43, .07), transparent 65%),
    radial-gradient(540px 300px at 70% 10%, rgba(14, 19, 32, .05), transparent 65%);
  filter: blur(12px);
  animation: aurora 16s ease-in-out infinite alternate;
}
@keyframes aurora {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, 24px, 0) scale(1.07); }
}
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-muted); max-width: 58ch; margin-top: var(--space-5); }
.hero .actions { margin-top: var(--space-6); display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }

.driftbed { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.driftbed span {
  position: absolute; white-space: nowrap; font-weight: 700; letter-spacing: -.02em;
  color: var(--ink); opacity: .035; font-size: 44px;
  animation: drift-across linear infinite;
}
@keyframes drift-across { from { transform: translateX(105vw); } to { transform: translateX(-110%); } }

/* -- flowing firm ticker -- */
.ticker {
  border-top: var(--hairline); border-bottom: var(--hairline);
  overflow: hidden; padding: var(--space-4) 0; margin: var(--space-8) 0 var(--space-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker .track { display: flex; width: max-content; animation: ticker-flow 44s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
.ticker .item {
  display: inline-flex; align-items: baseline; gap: 10px; padding: 0 36px;
  font-size: 20px; font-weight: 700; letter-spacing: -.015em; color: var(--text); white-space: nowrap;
}
.ticker .item small { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.ticker .item::after { content: "·"; margin-left: 36px; color: var(--hairline-color); }
@keyframes ticker-flow { to { transform: translateX(-50%); } }

/* ---- cards ---- */
.transcript-specimen {
  margin: var(--space-8) 0 var(--space-2); border: var(--hairline); border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}
.transcript-specimen .caption {
  font-size: 12px; color: var(--text-muted);
  padding: var(--space-3) 20px; border-bottom: var(--hairline);
  display: flex; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap;
  background: var(--bg-2);
}
.transcript-specimen .body { padding: 22px 24px 8px; column-gap: 48px; }
@media (min-width: 820px) { .transcript-specimen .body { columns: 2; } }
.turn { break-inside: avoid; margin: 0 0 var(--space-4); max-width: none; }
.turn .who { font-size: 10.5px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 3px; }
.turn.iv .who { color: var(--accent); }
.turn p { margin: 0; font-size: 15px; color: var(--text); }
.transcript-specimen .footline {
  border-top: var(--hairline); padding: 13px 24px; font-size: 13px; color: var(--text-muted);
  background: var(--bg-2);
}
.transcript-specimen .footline b { color: var(--text); font-family: var(--mono); }
.caret::after { content: "▍"; color: var(--accent); animation: blink 1s steps(1) infinite; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }

/* ---- steps ---- */
.steps { counter-reset: step; margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-3); }
.steps li {
  display: grid; grid-template-columns: 60px 1fr; gap: 0 18px; padding: 22px 24px;
  border: var(--hairline); border-radius: var(--radius); background: var(--card);
  transition: transform .18s ease, border-color .18s ease;
}
.steps li:hover { transform: translateY(-2px); border-color: var(--accent); }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--mono); font-size: 15px; font-weight: 600; padding-top: 3px; color: var(--accent);
}
.steps h3 { margin-bottom: 5px; }
.steps p { margin: 0; color: var(--text-muted); font-size: 15px; }

blockquote.plain {
  margin: var(--space-6) 0; padding: 22px 26px; border-left: 3px solid var(--accent);
  background: var(--bg-2); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 18px; max-width: 60ch; color: var(--text);
}

dl.faq { max-width: var(--measure); }
dl.faq dt { font-weight: 700; margin: var(--space-5) 0 var(--space-2); font-size: 16.5px; }
dl.faq dd { margin: 0; color: var(--text-muted); font-size: 15px; }

/* ---- forms (scenario picker) ---- */
fieldset { border: 0; margin: 0 0 var(--space-6); padding: 0; }
legend { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--space-3); padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice label {
  display: block; position: relative; border: var(--hairline); background: var(--card);
  padding: 11px 38px 11px 18px; font-size: 14.5px; cursor: pointer; border-radius: var(--radius);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.choice small { display: block; color: var(--text-muted); font-size: 12px; margin-top: 2px; max-width: 30ch; }
.choice label:hover { border-color: var(--accent); transform: translateY(-1px); }
/* the selection "bubble": a visible ring around whatever is chosen, plus a check */
.choice input:checked + label {
  border-color: var(--accent); background: var(--accent-tint);
  box-shadow: 0 0 0 3px rgba(122, 31, 43, .22);
  transform: none;
}
.choice input:checked + label::after {
  content: "✓"; position: absolute; top: 10px; right: 13px;
  font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--accent);
}
.choice input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.choice input:disabled + label { opacity: .4; cursor: default; }

.ticket {
  border: var(--hairline); border-radius: var(--radius); background: var(--card);
  box-shadow: var(--shadow-sm);
  padding: 20px 24px; font-size: 14.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin: var(--space-6) 0;
}
.ticket .line b { font-weight: 700; }

select, input[type="password"], input[type="text"], input[type="email"] {
  font-family: var(--sans); font-size: 14px; color: var(--text);
  padding: 10px 12px; border: var(--hairline); background: var(--card);
  border-radius: var(--radius-sm); transition: border-color .15s ease, box-shadow .15s ease;
}
select:focus, input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }

/* ---- interview room ---- */
.room { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 44px; margin-top: 44px; }
@media (max-width: 860px) { .room { grid-template-columns: 1fr; } }

.log { border-top: var(--hairline); }
.log .turn { padding: var(--space-4) 0; margin: 0; border-bottom: var(--hairline); animation: turn-in .35s ease both; }
.log .turn p { font-size: 16px; max-width: var(--measure); color: var(--text); }
.log .turn.you p { color: var(--text-muted); }
.log .interim p { color: var(--text-muted); font-style: italic; }
@keyframes turn-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.deskpanel { font-size: 13.5px; }
.deskpanel .block {
  border: var(--hairline); border-radius: var(--radius); background: var(--card);
  padding: 18px 20px; margin-bottom: var(--space-4);
}
.deskpanel dt { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.deskpanel dd { margin: 2px 0 var(--space-3); }
.statusline { color: var(--text-muted); min-height: 1.5em; display: flex; align-items: center; transition: color .2s ease; }
.statusline.listening { color: var(--dodged); }
.controls { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-2); }

#typebox {
  width: 100%; min-height: 96px; font-family: var(--sans); font-size: 15.5px; color: var(--text);
  padding: 12px 14px; border: var(--hairline); background: var(--card); border-radius: var(--radius); resize: vertical;
}
#typebox:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }

.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; margin-right: 9px; }
.eq i { width: 3px; border-radius: 1px; background: var(--accent); animation: eq-bounce 1.1s ease-in-out infinite; transform-origin: bottom; }
.eq i:nth-child(1) { height: 40%; animation-delay: 0s; }
.eq i:nth-child(2) { height: 90%; animation-delay: .15s; }
.eq i:nth-child(3) { height: 60%; animation-delay: .3s; }
.eq i:nth-child(4) { height: 100%; animation-delay: .45s; }
.eq i:nth-child(5) { height: 50%; animation-delay: .6s; }
.eq.listening i { background: var(--dodged); }
@keyframes eq-bounce { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

/* ---- scorecard ---- */
.scorehead { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-5); flex-wrap: wrap; margin: 52px 0 var(--space-2); }
.hero-num { font-family: var(--mono); font-weight: 600; font-size: 74px; line-height: 1; letter-spacing: -.03em; color: var(--text); }
.hero-num small { font-size: 22px; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.bandline { font-size: 14px; color: var(--text-muted); margin-top: var(--space-2); }
.bandline b { color: var(--text); }

/* the score as one designed unit: number, band, percentile, distance from the bar */
.scoreunit { text-align: right; }
.scoreunit .hero-num { font-size: clamp(76px, 9vw, 116px); letter-spacing: -.045em; }
.bandchip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  font-size: 13.5px; font-weight: 600; padding: 6px 14px;
  border: 1px solid currentColor; border-radius: var(--radius);
}
.bandchip::before { content: "●"; font-size: 9px; }
.bandchip.strong { color: var(--band-strong); background: color-mix(in srgb, var(--band-strong) 8%, transparent); }
.bandchip.mid { color: #8A6520; background: color-mix(in srgb, var(--band-mid) 12%, transparent); }
.bandchip.weak { color: var(--band-weak); background: color-mix(in srgb, var(--band-weak) 8%, transparent); }
.scoreunit .pct { font-family: var(--mono); font-size: 12.5px; color: var(--text-muted); margin: 10px 0 0; max-width: none; }
.scoreunit .vsbar { font-family: var(--mono); font-size: 12.5px; font-weight: 600; margin: 3px 0 0; max-width: none; }
.scoreunit .vsbar.up { color: var(--band-strong); }
.scoreunit .vsbar.down { color: var(--band-weak); }
.viz .legend { display: inline-flex; gap: 14px; align-items: baseline; margin-right: 14px; }
.viz .legend i { font-style: normal; font-size: 9px; margin-right: 5px; }

.viz {
  margin: var(--space-6) 0 var(--space-2); padding: 22px 22px 14px;
  border: var(--hairline); border-radius: var(--radius); background: var(--card);
}
.viz svg { display: block; width: 100%; height: auto; }
.viz .axis, .viz .tick { font-family: var(--mono); font-size: 11.5px; fill: var(--text-muted); }
.viz .val { font-family: var(--mono); font-size: 12.5px; font-weight: 600; fill: var(--text); }
.viz .dimlab { font-family: var(--sans); font-size: 13px; fill: var(--text); }
.viz path[data-tip], .viz circle[data-tip] { transition: opacity .15s ease; }
.viz path[data-tip]:hover, .viz circle[data-tip]:hover { opacity: .8; }
.viz svg .bar-grow { transform-box: fill-box; transform-origin: left center; animation: bar-grow .7s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes bar-grow { from { transform: scaleX(0); } }
.viz figcaption { margin-top: var(--space-2); }

.viz-tip {
  position: fixed; z-index: 50; pointer-events: none; display: none;
  background: var(--ink); color: var(--text-on-ink); border: var(--hairline-on-ink);
  font-size: 12.5px; padding: 7px 11px; border-radius: var(--radius-sm); max-width: 280px;
}

.fixes { counter-reset: fix; list-style: none; margin: 0; padding: 0; max-width: 76ch; display: grid; gap: var(--space-3); }
.fixes li {
  display: grid; grid-template-columns: 48px 1fr; gap: 0 16px; padding: 20px 22px;
  border: var(--hairline); border-radius: var(--radius); background: var(--card);
  transition: transform .18s ease, border-color .18s ease;
}
.fixes li:hover { transform: translateY(-1px); border-color: var(--accent); }
.fixes li::before {
  counter-increment: fix; content: counter(fix);
  font-family: var(--mono); font-size: 24px; font-weight: 600; color: var(--accent);
}
.fixes b { display: block; margin-bottom: 3px; font-size: 16.5px; letter-spacing: -.01em; }
.fixes p { margin: 0; font-size: 14.5px; color: var(--text-muted); }
.fixes .quote { font-style: italic; color: var(--text); }

details.qa { border-bottom: var(--hairline); }
details.qa summary {
  cursor: pointer; padding: var(--space-4) 0; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; gap: var(--space-4); align-items: baseline;
  transition: color .15s ease;
}
details.qa summary:hover { color: var(--accent); }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary .score { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
details.qa summary .score.low { color: var(--dodged); }
details.qa .inner { padding: 0 0 20px; font-size: 15px; }
details.qa[open] .inner { animation: fold-in .3s ease both; }
@keyframes fold-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
details.qa .inner h4 { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin: 14px 0 4px; }
details.qa .inner p { margin: 0; }

.statrow { display: flex; gap: var(--space-3); margin: 22px 0; flex-wrap: wrap; }
.stat {
  flex: 1 1 130px; padding: 16px 18px;
  border: var(--hairline); border-radius: var(--radius); background: var(--card);
  transition: transform .16s ease, border-color .16s ease;
}
.stat:hover { transform: translateY(-1px); border-color: var(--accent); }
.stat .label { font-size: 10.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted); }
.stat .value { font-family: var(--mono); font-size: 26px; font-weight: 600; margin-top: 4px; }
.stat .value small { font-size: 12.5px; font-weight: 500; color: var(--text-muted); }

.empty {
  border: 1px dashed var(--hairline-color); border-radius: var(--radius);
  padding: var(--space-7); text-align: center; color: var(--text-muted); font-size: 14.5px; margin-top: var(--space-7);
}

/* ---- login dialog ---- */
dialog.login {
  border: var(--hairline); background: var(--card); color: var(--text);
  padding: 36px 38px; max-width: 410px; width: calc(100vw - 48px); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
dialog.login::backdrop { background: rgba(14, 19, 32, .5); backdrop-filter: blur(4px); }
dialog.login[open] { animation: dialog-in .3s cubic-bezier(.2, .7, .2, 1); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
dialog.login h3 { font-size: 24px; margin-bottom: 6px; }
dialog.login p { font-size: 14px; color: var(--text-muted); }
dialog.login label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted); margin: 18px 0 6px; }
dialog.login input { width: 100%; font-size: 15px; }
dialog.login .row { display: flex; gap: var(--space-2); margin-top: var(--space-5); align-items: center; }
/* Google sign-in button + the "or use email" divider */
.btn.google {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; color: #1f2328; border: 1px solid #dadce0; font-weight: 600; margin-top: 6px;
}
.btn.google:hover { background: #f7f8f8; border-color: #c6cad0; }
.btn.google svg { flex: 0 0 auto; }
.or-sep { display: flex; align-items: center; gap: 12px; margin: 16px 0 4px; color: var(--text-muted); font-size: 12px; letter-spacing: .04em; }
.or-sep::before, .or-sep::after { content: ""; flex: 1; height: 1px; background: rgba(0, 0, 0, .12); }

.userchip { font-size: 13px; color: var(--text-muted); }
.userchip b { color: var(--text); font-weight: 600; }
.userchip button { background: none; border: 0; color: var(--accent); font: inherit; cursor: pointer; padding: 0 0 0 8px; }
.userchip button:hover { text-decoration: underline; }

/* ---- persona cards (landing centerpiece) ---- */
.personagrid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
.personagrid .pcard { flex: 1 1 216px; }
.pcard {
  border: var(--hairline); border-top: 3px solid var(--pc, var(--hairline-color));
  border-radius: var(--radius); background: var(--pbg, var(--card));
  padding: 16px 20px 14px;
  transition: transform .18s ease, border-color .18s ease;
}
.pcard:hover { transform: translateY(-2px); }
.pcard .tag { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pc, var(--text-muted)); }
.pcard h3 { margin: 6px 0 3px; font-size: 17px; }
.pcard .temper { font-size: 13.5px; color: var(--text-muted); margin: 0 0 10px; }
.pcard .say {
  font-size: 17px; font-weight: 600; font-style: normal; letter-spacing: -.015em;
  line-height: 1.35; color: var(--text); margin: 2px 0 12px;
}
.pcard .say::before { content: "\201C"; color: var(--pc, var(--accent)); margin-right: 1px; }
.pcard .say::after { content: "\201D"; color: var(--pc, var(--accent)); margin-left: 1px; }
.pcard .trains {
  font-size: 12.5px; color: var(--text-muted); margin: 0;
  max-height: 0; opacity: 0; overflow: hidden; padding-top: 0; border-top: 0;
  transition: max-height .3s ease, opacity .3s ease, padding-top .3s ease;
}
.pcard:hover .trains, .pcard:focus-within .trains {
  max-height: 4.5em; opacity: 1; padding-top: 9px; border-top: var(--hairline);
}
@media (hover: none) {
  .pcard .trains { max-height: none; opacity: 1; padding-top: 9px; border-top: var(--hairline); }
}
.pcard.cold    { --pc: #3A4560; --pbg: #E9EFF9; }
.pcard.steel   { --pc: #34677F; --pbg: #E7F1F5; }
.pcard.warm    { --pc: var(--partial); --pbg: #FBF6EB; }
.pcard.oxblood { --pc: var(--accent); --pbg: #F9F1F1; }
.pcard.calm    { --pc: var(--correct); --pbg: #F1F6F2; }
.pcard.ink {
  --pc: #56617D; background: var(--ink); border-color: var(--ink);
}
.pcard.ink h3 { color: var(--text-on-ink); }
.pcard.ink .temper, .pcard.ink .trains { color: var(--text-muted-on-ink); }
.pcard.ink .say { color: var(--text-on-ink); }
.pcard.ink:hover .trains, .pcard.ink:focus-within .trains { border-top: var(--hairline-on-ink); }
@media (hover: none) { .pcard.ink .trains { border-top: var(--hairline-on-ink); } }

/* ---- the rubric as a product artifact: dense, gridded, mono ---- */
.rubric { border: var(--hairline); font-size: 13.5px; }
.rubric th, .rubric td { border: var(--hairline); padding: 8px 12px; }
.rubric thead th { background: var(--bg-2); font-size: 10.5px; }
.rubric td.num, .rubric th.num { padding-right: 12px; font-size: 13px; }
.rubric tbody tr:last-child td { border-bottom: var(--hairline); }
.rubric tfoot td { font-family: var(--mono); font-size: 11.5px; color: var(--text-muted); background: var(--bg-2); }
.rubric .dim { font-weight: 600; white-space: nowrap; }

/* ---- full-bleed dark band ---- */
.darkband {
  width: 100vw; margin-left: calc(50% - 50vw); margin-top: var(--space-9);
  background: var(--ink); color: var(--text-on-ink);
  padding: var(--space-7) 0 var(--space-8);
}
.darkband .inner { max-width: var(--page); margin: 0 auto; padding: 0 28px; }
.darkband .sectionhead { margin-top: var(--space-4); }
.darkband h2, .darkband dt { color: var(--text-on-ink); }
.darkband .sectionhead .no { color: var(--accent-on-ink); }
.darkband > .inner > p, .darkband dd { color: var(--text-muted-on-ink); }
.darkband .pcard { color: var(--text); }
/* On the dark band the ink card's own --ink background vanishes into the band;
   lift it to a lighter surface with a visible top accent so it reads as a card. */
.darkband .pcard.ink {
  color: var(--text-on-ink);
  background: var(--ink-soft, #1c2436);
  border-color: rgba(255, 255, 255, .22);
  border-top-color: var(--pc);
}
.darkband blockquote.plain {
  background: var(--ink-soft); border-left-color: var(--accent-on-ink); color: var(--text-on-ink);
}

/* ---- the live room (interview.html goes dark once the session starts) ---- */
body.live { background: var(--ink); color: var(--text-on-ink); }
/* Live-room header: a glassy top bar (matches the round controls below it) with a
   segmented, clearly-separated nav instead of a flat "thrown-on" navy strip. */
body.live .masthead {
  background: rgba(13, 18, 30, .5);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
}
body.live .masthead .wordmark { color: #fff; }
body.live .masthead .wordmark:hover { color: #fff; opacity: .8; }
/* Each nav item is its own glassy pill - clearly separated buttons that echo the
   round session controls just below the bar. */
body.live .masthead nav { gap: 8px; }
body.live .masthead nav a {
  color: rgba(255, 255, 255, .8);
  padding: 8px 16px; border-radius: 999px; line-height: 1;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
body.live .masthead nav a::after { display: none; }   /* pills replace the underline */
body.live .masthead nav a:hover { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .28); }
body.live .masthead nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .3); }
/* signed-in chip: its own pill so the person + sign-out read as one unit */
body.live .masthead .userchip {
  margin-left: 2px; padding: 7px 8px 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .72);
}
body.live .userchip b { color: #fff; }
body.live .userchip button { color: var(--accent-on-ink); padding-left: 10px; }
/* The room fills the screen and the disclaimer sits in the pinned bottom bar, so
   the site footer would only add empty scroll below the room - hide it while live. */
body.live footer { display: none; }
/* Keep the session controls (pause / mic / stop / end) pinned to the top while the
   page scrolls. overflow:visible frees the bar from the letterbox clip so it can
   stick; --mh (masthead height, set in interview.html) parks it under the nav. */
/* The room fills the space between the pinned nav and the screen bottom, so both
   letterbox bars sit at the viewport edges; overflow:visible frees the sticky top
   bar from the clip, and padding-bottom reserves space for the fixed bottom bar. */
body.live .boardroom {
  overflow: visible;
  height: calc(100dvh - var(--mh, 56px)); max-height: none;
  padding-bottom: var(--brboth, 96px);
}
body.live .br-bar-top {
  position: sticky; top: var(--mh, 56px); z-index: 39;
  background: rgba(8, 11, 18, .72);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
/* progress line stays glued just beneath the pinned controls */
body.live .br-timebar { position: sticky; top: calc(var(--mh, 56px) + var(--brtoph, 46px)); z-index: 38; }
/* caption + "Done" + typed input stay pinned to the bottom of the screen */
body.live .br-bar-bottom {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 39;
  background: rgba(8, 11, 18, .72);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid rgba(255, 255, 255, .06);
}

/* ---- the interview room: a cinematic Goldman-style boardroom, letterboxed ---- */
.boardroom {
  position: relative; overflow: hidden;
  width: 100vw; margin-left: calc(50% - 50vw);
  height: min(84vh, 820px);
  color: var(--text-on-ink);
  background: #000; /* the letterbox */
  isolation: isolate;
  display: flex; flex-direction: column;
}
/* black letterbox bars top & bottom */
.br-bar { position: relative; z-index: 6; background: #000; flex: 0 0 auto; }
/* Bar CONTENT aligns to the same centred column as the masthead (--page + 28px
   gutter), so the meta and controls line up under the nav; the photo stays
   full-bleed behind them. */
.br-bar-top, .br-bar-bottom { padding-inline: max(16px, calc((100% - var(--page)) / 2 + 28px)); }
.br-bar-top { display: flex; align-items: center; justify-content: space-between; padding-block: 8px; min-height: 46px; }
.br-bar-bottom { padding-block: 14px 12px; text-align: center; min-height: 92px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.br-timebar { position: relative; z-index: 6; height: 2px; background: rgba(255,255,255,.08); }
.br-timebar i { display: block; height: 100%; width: 0%; background: var(--accent-on-ink); transition: width 1s linear; }
.br-timebar i.over { background: var(--danger); }

/* When a real room photo is supplied, IT is the room: fill the whole boardroom
   with the exact image and hide the CSS-drawn scene. Controls + caption overlay
   with a soft top/bottom scrim so they stay legible over the photo. */
.boardroom.has-photo { background-size: cover; background-position: center; background-repeat: no-repeat; }
.boardroom.has-photo .br-scene { background: transparent; }
.boardroom.has-photo .br-scene > * { display: none; }
.boardroom.has-photo .br-bar-top { background: linear-gradient(180deg, rgba(0,0,0,.6), transparent); }
.boardroom.has-photo .br-bar-bottom { background: linear-gradient(0deg, rgba(0,0,0,.6), transparent); }
.boardroom.has-photo .br-timebar { background: transparent; }

/* pause overlay: dims the room and holds until resumed */
.pause-overlay {
  position: absolute; inset: 0; z-index: 30;
  display: flex; align-items: center; justify-content: center;
  background: rgba(4, 6, 10, .72); backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pause-overlay[hidden] { display: none; }
.pause-card {
  text-align: center; max-width: 420px; padding: 28px 30px;
  color: var(--text-on-ink);
}
.pause-card .pause-badge {
  display: inline-block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px; padding: 5px 14px; margin-bottom: 16px;
}
.pause-card p { color: rgba(255,255,255,.82); margin: 0 0 22px; font-size: 15px; }
.pause-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* the scene fills the space between the bars */
.br-scene { position: relative; flex: 1 1 auto; overflow: hidden; pointer-events: none;
  background: linear-gradient(180deg, #14161a 0%, #0c0d10 100%); }
/* grey fabric side walls */
.br-sidewall { position: absolute; top: 0; bottom: 0; width: 30%;
  background: linear-gradient(180deg, #4c4f55 0%, #2f3237 78%, #202226 100%); }
.br-sidewall::after { content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay;
  background: repeating-linear-gradient(90deg, rgba(0,0,0,.10) 0 1px, transparent 1px 4px); }
.br-sidewall-l { left: 0; box-shadow: inset -30px 0 40px rgba(0,0,0,.5); }
.br-sidewall-r { right: 0; box-shadow: inset 30px 0 40px rgba(0,0,0,.5); transform: scaleX(-1); }

/* central mahogany wood-panelled back wall */
.br-woodwall { position: absolute; left: 28%; right: 28%; top: 0; height: 66%;
  background:
    linear-gradient(180deg, #4a2b1c 0%, #3a2015 40%, #2a1710 100%),
    repeating-linear-gradient(90deg, rgba(0,0,0,.22) 0 2px, rgba(150,90,55,.10) 2px 4px, transparent 4px 34px);
  background-blend-mode: multiply, normal;
  box-shadow: inset 0 0 60px rgba(0,0,0,.45); }
.br-woodwall::after { content: ""; position: absolute; inset: 0; /* central panel seam + light */
  background: radial-gradient(70% 90% at 50% 30%, rgba(255,206,150,.14), transparent 62%); }

/* firm name on the wood wall in glassy silver, raised with a shadow */
.br-firm { position: absolute; left: 8%; right: 8%; top: 16%; text-align: center;
  font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: .01em;
  font-size: clamp(20px, 3.4vw, 44px); line-height: 1.0;
  background: linear-gradient(180deg, #ffffff 0%, #dfe2e7 18%, #a7abb4 46%, #f4f5f8 54%, #b9bdc6 78%, #e7e9ed 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(1px 2px 1px rgba(0,0,0,.65)) drop-shadow(0 0 1px rgba(255,255,255,.35)); }
.br-firm span { display: inline-block; }

/* dark wood credenza the lamps sit on, below the wall */
.br-credenza { position: absolute; left: 20%; right: 20%; top: 58%; height: 12%;
  background: linear-gradient(180deg, #3a2015 0%, #24140c 100%);
  box-shadow: inset 0 2px 0 rgba(255,220,180,.14), 0 8px 20px rgba(0,0,0,.5); }

/* two table lamps flanking the logo */
.br-lamp { position: absolute; top: 40%; width: clamp(70px, 10vw, 120px); height: 22%; }
.br-lamp-l { left: 30%; }
.br-lamp-r { right: 30%; }
.br-lamp .br-glow { position: absolute; left: 50%; top: 40%; width: 320%; height: 260%; transform: translate(-50%,-50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(255,210,150,.5), transparent 62%); filter: blur(14px); }
.br-lamp .br-shade { position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 90%; height: 56%; border-radius: 50% 50% 46% 46% / 70% 70% 30% 30%;
  clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, #fff7ea 0%, #f4e2c6 60%, #e6cfa6 100%);
  box-shadow: 0 0 26px rgba(255,224,180,.7); }
.br-lamp .br-base { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 40%; height: 46%; border-radius: 44% 44% 30% 30%;
  background: radial-gradient(circle at 40% 30%, #4a5a6a, #1c2430 70%); box-shadow: inset 0 -6px 10px rgba(0,0,0,.5); }

/* floor behind the table */
.br-floor { position: absolute; left: 0; right: 0; top: 66%; bottom: 0; background: #0a0b0d; }

/* the conference table: a glossy trapezoid receding toward the viewer */
.br-table { position: absolute; left: 0; right: 0; top: 62%; bottom: 0;
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, #3a271b 0%, #24160d 42%, #150c07 100%);
  box-shadow: inset 0 3px 0 rgba(255,232,198,.16); }
.br-table::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,228,190,.14), transparent 40%); }

/* black leather high-back chairs lining both sides, receding in perspective.
   Each chair back is a tall rounded shape with a leather sheen and a soft
   headrest curve; they hug the table's diagonal edge and shrink into the distance. */
.br-chairs { position: absolute; bottom: 0; width: 30%; height: 92%; }
.br-chairs-l { left: 0; }
.br-chairs-r { right: 0; transform: scaleX(-1); }
.br-chairs i { position: absolute; bottom: 0;
  border-radius: 46% 46% 14% 14% / 22% 22% 5% 5%;
  background: linear-gradient(102deg, #0c0d10 0%, #262b33 44%, #16191e 62%, #08090b 100%);
  box-shadow: inset 5px 3px 9px rgba(255,255,255,.06), inset -8px 0 16px rgba(0,0,0,.65), 0 8px 18px rgba(0,0,0,.55); }
.br-chairs i::after { content: ""; position: absolute; left: 50%; top: 8%; width: 8%; height: 74%;
  transform: translateX(-50%); border-radius: 40%; background: rgba(255,255,255,.05); } /* central leather seam highlight */
/* nearest chair biggest, receding ones smaller and higher toward the table head */
.br-chairs-l i:nth-child(1) { width: 46%; height: 88%; left: -4%; }
.br-chairs-l i:nth-child(2) { width: 30%; height: 58%; left: 34%; bottom: 16%; }
.br-chairs-l i:nth-child(3) { width: 20%; height: 40%; left: 60%; bottom: 30%; }
.br-chairs-r i:nth-child(1) { width: 46%; height: 88%; left: -4%; }
.br-chairs-r i:nth-child(2) { width: 30%; height: 58%; left: 34%; bottom: 16%; }
.br-chairs-r i:nth-child(3) { width: 20%; height: 40%; left: 60%; bottom: 30%; }
.brainbadge {
  display: inline-block; padding: 1px 7px; border-radius: 999px; margin-right: 6px;
  font-size: 10px; letter-spacing: .08em; cursor: help;
}
.brainbadge.ai { background: rgba(88, 180, 120, .18); color: #7fd6a0; }
.brainbadge.basic { background: rgba(196, 112, 123, .2); color: var(--accent-on-ink); }

/* ---- answer-mode toggle (speak / type) ---- */
.answermode { display: flex; align-items: center; gap: 12px; }
.answermode-label {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-muted);
}
.seg { display: inline-flex; border: var(--hairline); border-radius: 999px; padding: 2px; gap: 2px; }
.seg-btn {
  border: 0; background: transparent; cursor: pointer; padding: 6px 16px; border-radius: 999px;
  font: inherit; font-size: 14px; font-weight: 500; color: var(--text-muted);
}
.seg-btn.on { background: var(--accent); color: #fff; }
.seg-btn:disabled { opacity: .4; cursor: not-allowed; }
/* text-link-style button, used for the in-room mode switch */
.linkbtn {
  display: inline-block; margin-top: 10px; border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 13px; color: var(--accent-on-ink); text-decoration: underline;
  text-underline-offset: 2px;
}
.linkbtn:hover { color: #fff; }

/* spoken/heard words as a glassy subtitle plaque in the bottom black bar */
.caption { display: inline-flex; align-items: baseline; gap: 12px; max-width: min(1040px, 94vw);
  padding: 9px 22px; border-radius: 13px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 2px 22px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.28);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.caption[hidden] { display: none; }
.caption[data-who="you"] { border-color: rgba(196,112,123,.4); }
.caption-who { flex: 0 0 auto; font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.caption[data-who="you"] .caption-who { color: #dbb6bb; }
.caption-line { font-size: clamp(15px, 1.7vw, 21px); font-weight: 500; line-height: 1.35; color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.6); }

/* meta + controls live inside the top black bar (static, not overlaid) */
.room-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; color: var(--text-muted-on-ink); }
.metachip { background: rgba(255,255,255,.06); padding: 3px 9px; border-radius: 999px; }
.metachip[hidden] { display: none; }
.metachip.pressure { transition: background .3s ease, color .3s ease; }
.metachip.pressure[data-level="ramping"] { background: rgba(196,112,123,.28); color: #f4cbcf; }
.metachip.pressure[data-level="easing"] { background: rgba(96,160,110,.24); color: #bfe6c8; }
/* HireVue per-question countdown: a live clock chip that flips urgent under 15s. */
.metachip.qtimer { background: rgba(255,255,255,.12); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.metachip.qtimer::before { content: "⏱ "; opacity: .8; }
.metachip.qtimer.low { background: rgba(196,112,123,.32); color: #f4cbcf; animation: qtimer-pulse 1s ease-in-out infinite; }
@keyframes qtimer-pulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
.room-controls { display: flex; gap: 8px; }
.iconbtn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.82);
  cursor: pointer; transition: background .15s ease, color .15s ease, transform .15s ease, opacity .15s ease; }
.iconbtn:hover:not(:disabled) { background: rgba(255,255,255,.15); color: #fff; transform: translateY(-1px); }
.iconbtn:disabled { opacity: .32; cursor: not-allowed; }
.iconbtn.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.iconbtn.danger:hover:not(:disabled) { background: var(--danger); border-color: var(--danger); color: #fff; }
#ctl-mic:not(:disabled) { background: rgba(196,112,123,.24); border-color: rgba(196,112,123,.55); color: #f4cbcf; }

/* status + typed input inside the bottom bar */
.br-bar-bottom .statusline { justify-content: center; color: var(--text-muted-on-ink); font-size: 13px; min-height: 1.3em; }
.boardroom[data-state="listening"] .statusline { color: #ff9d9d; }
.boardroom[data-state="thinking"] .statusline { color: #f0c9a0; }
/* Prominent instant-submit while speaking, so people don't wait out the pause.
   Large, high-contrast, and gently pulsing so it's obviously the way to finish. */
.voice-done {
  margin-top: 8px; padding: 14px 30px; border-radius: 999px;
  font-size: 16px; font-weight: 700; letter-spacing: .01em;
  box-shadow: 0 2px 14px rgba(0,0,0,.35);
  animation: voiceDonePulse 1.8s ease-in-out infinite;
}
.voice-done:hover { transform: translateY(-1px) scale(1.02); }
.voice-done[hidden] { display: none; }
@keyframes voiceDonePulse {
  0%, 100% { box-shadow: 0 2px 14px rgba(0,0,0,.35), 0 0 0 0 rgba(196,112,123,.55); }
  50% { box-shadow: 0 2px 14px rgba(0,0,0,.35), 0 0 0 10px rgba(196,112,123,0); }
}
@media (prefers-reduced-motion: reduce) { .voice-done { animation: none; } }
.room-answerbox { width: min(680px, 92vw); }
.room-answerbox textarea { width: 100%; min-height: 64px; resize: vertical; font: inherit; font-size: 15px;
  background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: 11px 14px; }
.room-answerbox textarea:focus { outline: none; border-color: var(--accent-on-ink); box-shadow: 0 0 0 3px rgba(196,112,123,.2); }
.answerbox-row { display: flex; gap: 10px; justify-content: center; margin-top: 8px; }
.br-disclaimer { margin: 0; font-size: 10px; color: rgba(255,255,255,.32); }
body.live .btn.quiet { color: var(--text-muted-on-ink); border-color: rgba(255, 255, 255, .22); }
body.live .btn.quiet:hover { color: #fff; }

/* collapsible full transcript, hidden by default, out of the scene */
.transcript-panel { position: fixed; left: 12px; bottom: 12px; z-index: 30; max-width: min(440px, 92vw);
  background: rgba(12,9,8,.94); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; color: var(--text-on-ink); }
.transcript-panel > summary { cursor: pointer; padding: 8px 14px; list-style: none;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--text-muted-on-ink); }
.transcript-panel > summary::-webkit-details-marker { display: none; }
.transcript-panel[open] { max-height: 46vh; overflow: auto; padding-bottom: 8px; }
.transcript-panel .log { padding: 0 14px; }
body:not(.live) .transcript-panel { display: none; }
@media (max-width: 560px) {
  .room-controls .iconbtn { width: 38px; height: 38px; }
  .room-meta { font-size: 10px; }
}

/* transcript: interviewer speaks from the rule, you answer from the panel */
body.live .log { border-top: 0; margin-top: 28px; }
body.live .log .turn { border-bottom: 0; padding: 10px 0; }
body.live .log .turn.iv { border-left: 3px solid var(--accent-on-ink); padding-left: 16px; }
body.live .log .turn.iv .who { color: var(--accent-on-ink); }
body.live .log .turn.iv p { color: #fff; font-size: 16.5px; }
body.live .log .turn.you {
  margin: 10px 0 10px 48px; background: rgba(255, 255, 255, .05);
  border: var(--hairline-on-ink); border-radius: var(--radius); padding: 12px 16px;
}
body.live .log .turn.you .who { color: var(--text-muted-on-ink); }
body.live .log .turn.you p { color: var(--text-on-ink); }
body.live #typebox { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22); }
body.live #typebox:focus { border-color: var(--accent-on-ink); box-shadow: 0 0 0 3px rgba(196, 112, 123, .2); }

/* ---- history dashboard ---- */
.dimgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-3); margin: var(--space-4) 0; }
.dimcard { border: var(--hairline); border-radius: var(--radius); background: var(--card); padding: 14px 16px 12px; }
.dimcard.weak { border-color: var(--dodged); box-shadow: inset 0 0 0 1px var(--dodged); }
.dimcard .top { display: flex; align-items: baseline; gap: 8px; }
.dimcard .label { font-size: 10.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted); }
.dimcard .weaktag { font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dodged); margin-left: auto; }
.dimcard .row { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.dimcard .cur { font-family: var(--mono); font-size: 24px; font-weight: 600; }
.delta { font-family: var(--mono); font-size: 12px; font-weight: 600; }
.delta.up { color: var(--correct); }
.delta.down { color: var(--dodged); }
.delta.flat { color: var(--text-muted); }
.dimcard svg { display: block; width: 100%; height: 30px; margin-top: 10px; }

.focus {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap;
  border: var(--hairline); border-left: 3px solid var(--accent); border-radius: var(--radius);
  background: var(--card); padding: 18px 22px; margin: var(--space-5) 0;
}
.focus h3 { margin: 2px 0 6px; }
.focus p { margin: 0; color: var(--text-muted); font-size: 14.5px; max-width: 60ch; }

.filters { display: flex; gap: var(--space-3); align-items: center; margin: var(--space-6) 0 var(--space-3); flex-wrap: wrap; }
.filters label { font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted); }
tbody tr[data-href] { cursor: pointer; }

/* ---- rubric lead-in: weight bars, full table behind a disclosure ---- */
.weightbars { margin: var(--space-4) 0 var(--space-4); max-width: 640px; }
.wrow { display: grid; grid-template-columns: 210px 1fr 52px; gap: 12px; align-items: center; margin: 9px 0; }
.wrow .wlab { font-size: 13.5px; }
.wrow .wtrack { height: 10px; background: var(--bg-2); border-radius: 5px; overflow: hidden; }
.wrow .wtrack i { display: block; height: 100%; background: var(--data-accent); border-radius: 5px; }
.wrow .wval { font-family: var(--mono); font-size: 12.5px; font-weight: 600; text-align: right; }
@media (max-width: 620px) { .wrow { grid-template-columns: 1fr 60px; } .wrow .wtrack { grid-column: 1 / -1; } }
details.fulltable { margin: var(--space-4) 0; }
details.fulltable summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--accent);
}
details.fulltable summary::-webkit-details-marker { display: none; }
details.fulltable summary::before { content: "+"; font-family: var(--mono); font-weight: 600; transition: transform .2s ease; }
details.fulltable[open] summary::before { transform: rotate(45deg); }
details.fulltable .rubric { margin-top: var(--space-4); }

.pullquote {
  margin: var(--space-9) auto; max-width: 46ch; text-align: center;
  font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; letter-spacing: -.015em; line-height: 1.35;
}
.pullquote .mark { color: var(--accent); }

.herotrust {
  margin-top: 14px; font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5);
}
.videohero .herotrust { opacity: 0; animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: .72s; }

/* ---- dashboard ---- */
.dashgrid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin: var(--space-4) 0; }
@media (max-width: 760px) { .dashgrid { grid-template-columns: 1fr; } }
.panelcard { border: var(--hairline); border-radius: var(--radius); background: var(--card); padding: 20px 22px; }
.panelcard h3 { margin: 6px 0 10px; }
.panelcard .kv { display: flex; gap: 10px; font-size: 14px; margin: 5px 0; }
.panelcard .kv b { min-width: 78px; font-weight: 600; }
.stat .value .flame { color: #d9772b; }

/* readiness meter */
.meter { height: 10px; border-radius: 999px; background: var(--accent-tint); border: var(--hairline); overflow: hidden; margin: 14px 0 10px; }
.meter > i { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .6s cubic-bezier(.2,.7,.2,1); }
.meter > i.strong { background: var(--band-strong); } .meter > i.mid { background: var(--band-mid); } .meter > i.weak { background: var(--band-weak); }

/* recent sessions list */
.recentlist { display: flex; flex-direction: column; }
.recentrow { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 11px 0; border-top: var(--hairline); text-decoration: none; color: var(--text); }
.recentrow:first-child { border-top: 0; }
.recentrow:hover .rr-firm { color: var(--accent); }
.recentrow .rr-firm { font-weight: 600; font-size: 14.5px; }
.recentrow .rr-meta { grid-column: 1; grid-row: 2; font-size: 12px; color: var(--text-muted); }
.recentrow .bandchip { grid-column: 2; grid-row: 1 / span 2; }
.recentrow .rr-date { grid-column: 3; grid-row: 1 / span 2; font-family: var(--mono); font-size: 12px; color: var(--text-muted); }

/* achievements grid */
.achgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 12px; }
.ach2 { display: flex; align-items: center; gap: 12px; border: var(--hairline); border-radius: var(--radius); background: var(--card); padding: 14px 16px; transition: border-color .16s ease; }
.ach2:not(.locked):hover { border-color: var(--accent); }
.ach2.locked { opacity: .48; }
.ach2 .ic { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; font-size: 22px; border: var(--hairline); border-radius: 12px; background: var(--bg); }
.ach2 .t { font-weight: 600; font-size: 14.5px; }
.ach2 .d { font-size: 12.5px; color: var(--text-muted); margin-top: 1px; }

/* ---- scroll reveals ---- */
.reveal {
  opacity: 0; transform: translateY(34px); filter: blur(6px);
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1), filter .8s ease;
  transition-delay: var(--stagger, 0s);
}
.reveal.pop { transform: scale(.9) translateY(32px); filter: blur(8px); }
.reveal.in { opacity: 1; transform: none !important; filter: none !important; }

/* cards tilt in with a 3D pop, staggered one after another */
.steps li.reveal, .personagrid .pcard.reveal {
  transform: perspective(1100px) rotateX(12deg) translateY(44px) scale(.94);
  filter: blur(7px); transform-origin: 50% 100%;
}
.steps li:nth-child(1), .personagrid .pcard:nth-child(1) { transition-delay: .02s; }
.steps li:nth-child(2), .personagrid .pcard:nth-child(2) { transition-delay: .12s; }
.steps li:nth-child(3), .personagrid .pcard:nth-child(3) { transition-delay: .22s; }
.steps li:nth-child(4), .personagrid .pcard:nth-child(4) { transition-delay: .32s; }
.personagrid .pcard:nth-child(5) { transition-delay: .42s; }
.personagrid .pcard:nth-child(6) { transition-delay: .52s; }
.personagrid .pcard:nth-child(7) { transition-delay: .62s; }

/* ---- stats band + rolling odometer (ported from landing-page.html) ---- */
.statband { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--space-3); margin-top: var(--space-5); }
.statcard { border: var(--hairline); border-radius: var(--radius); background: var(--card); padding: 24px 22px 20px; }
.statband .statcard:nth-child(1) { transition-delay: .02s; }
.statband .statcard:nth-child(2) { transition-delay: .14s; }
.statband .statcard:nth-child(3) { transition-delay: .26s; }
.statband .statcard:nth-child(4) { transition-delay: .38s; }
.statcard .n { font-family: var(--mono); font-weight: 600; font-size: clamp(38px, 4.6vw, 58px); line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.statcard .l {
  font-size: 14px; color: var(--text-muted); margin-top: 12px;
  opacity: 0; transform: translateY(12px);
  transition: opacity .55s ease 2.7s, transform .55s ease 2.7s; /* rises after the wheel lands */
}
.statcard.in .l { opacity: 1; transform: none; }

.odometer { display: inline-flex; align-items: flex-start; font-variant-numeric: tabular-nums; line-height: 1; }
.odometer .reel { height: 1em; line-height: 1; overflow: hidden; display: inline-block; }
.odometer .reel-col {
  display: flex; flex-direction: column; transform: translateY(0);
  transition: transform 1.9s cubic-bezier(.16, 1, .3, 1), filter .5s ease;
}
.odometer .reel-col span { height: 1em; line-height: 1; display: block; }
.odometer .lit { display: inline-block; }
.odometer .suffix {
  display: inline-block; opacity: 0; transform: translateY(.15em);
  transition: opacity .5s ease 2.3s, transform .5s ease 2.3s; /* fades in after the digits lock */
}
.odometer.in .suffix { opacity: 1; transform: none; }

/* ---- hero entrance ---- */
.hero .kicker, .hero .lede, .hero .actions { opacity: 0; animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero h1 .line { display: block; opacity: 0; transform: translateY(28px); animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero .kicker { animation-delay: .05s; }
.hero h1 .line:nth-child(1) { animation-delay: .14s; }
.hero h1 .line:nth-child(2) { animation-delay: .26s; }
.hero .lede { animation-delay: .4s; }
.hero .actions { animation-delay: .52s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---- motion off: everything still reads ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .statcard .l, .odometer .suffix { opacity: 1; transform: none; }
  .hero .kicker, .hero .lede, .hero .actions, .hero h1 .line { opacity: 1; transform: none; }
  .driftbed, .hero::before { display: none; }
}

/* ---- Admin dashboard ---- */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.admin-card {
  border: 1px solid var(--rule, rgba(255,255,255,.14));
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.admin-card-head { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.admin-card-head .firm-logo { max-height: 18px; width: auto; }
.admin-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.08);
}
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-thumb-empty { font-size: 13px; opacity: .55; }
.admin-card-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.admin-card-controls input[type=file] { max-width: 100%; font-size: 12px; }
.admin-emails { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }
.admin-emails li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--rule, rgba(255,255,255,.14));
  border-radius: 10px;
}

/* ================= Shared form controls (voice picker etc.) ================= */
.field-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.voicerow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.select {
  appearance: none; -webkit-appearance: none;
  padding: 11px 38px 11px 14px; font-size: 14px; color: var(--text); cursor: pointer;
  border: var(--hairline); border-radius: var(--radius); background-color: var(--card);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235A6072' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  min-width: 300px; max-width: 100%;
}
.select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.advanced { margin-top: 16px; }
.advanced summary { cursor: pointer; font-size: 13px; color: var(--text-muted); width: fit-content; }
.advanced summary:hover { color: var(--text); }
.advanced[open] summary { margin-bottom: 4px; }

/* ================= Question Bank ================= */
.btn.small { padding: 8px 14px; font-size: 13px; }
.linklike { background: none; border: 0; color: var(--accent); cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }

/* upgrade banner */
.qb-upgrade {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--accent-tint); border: 1px solid rgba(122,31,43,.24);
  border-radius: 14px; padding: 20px 24px; margin-bottom: 28px;
}
.qb-upgrade-kicker { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 4px; }
.qb-upgrade h3 { margin: 0 0 4px; font-size: var(--fs-1); }
.qb-upgrade .smallnote { margin: 0; max-width: 52ch; }
.qb-upgrade-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.qb-price { font-family: var(--mono, monospace); font-weight: 600; color: var(--text); }

/* toolbar */
.qb-toolbar { display: flex; flex-direction: column; gap: 16px; margin: 8px 0 30px; }
.qb-search { position: relative; display: flex; align-items: center; }
.qb-search svg { position: absolute; left: 16px; color: var(--text-muted); pointer-events: none; }
.qb-search input {
  width: 100%; padding: 14px 16px 14px 46px; font-size: 15px;
  border: var(--hairline); border-radius: 12px; background: var(--card); color: var(--text);
  box-shadow: var(--shadow-sm);
}
.qb-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.qb-filters { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.chipgroup { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chipgroup-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-right: 2px; }
.chip {
  padding: 7px 14px; border-radius: 999px; border: var(--hairline); background: var(--card);
  color: var(--text-muted); font-size: 13px; font-weight: 500; cursor: pointer;
  transition: background .14s ease, color .14s ease, border-color .14s ease;
}
.chip:hover { color: var(--text); border-color: var(--text-muted); }
.chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* bank section */
.qb-bank { margin: 0 0 40px; }
.qb-bankhead { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.qb-bankhead h2 { margin: 0; font-size: var(--fs-2); letter-spacing: -.01em; }
.qb-count {
  font-size: 12px; color: var(--text-muted); background: var(--bg-2);
  padding: 4px 11px; border-radius: 999px; white-space: nowrap;
}

/* rows live inside one clean card per bank */
.qb-rows {
  display: flex; flex-direction: column;
  background: var(--card); border: var(--hairline); border-radius: 14px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.qrow + .qrow { border-top: var(--hairline); }
.qrow-head {
  width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  background: none; border: 0; cursor: pointer; text-align: left; color: var(--text);
  transition: background .14s ease;
}
.qrow-head:hover { background: var(--bg-2); }
.qrow.open > .qrow-head { background: var(--bg-2); }
.qrow-q { flex: 1; font-size: 16px; font-weight: 500; line-height: 1.45; }
.qrow-tags { display: flex; gap: 6px; flex-wrap: wrap; flex-shrink: 0; align-items: center; }
.qb-rows .tag {
  font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  background: var(--bg-2); color: var(--text-muted); border: 1px solid transparent;
}
.qb-rows .tag.type-technical { background: rgba(41,98,163,.12); color: #2b5b8f; }
.qb-rows .tag.type-behavioral { background: rgba(60,120,70,.12); color: #3a6a44; }
.qb-rows .tag.type-markets { background: rgba(150,90,20,.13); color: #8a5a10; }
.qb-rows .tag.type-brainteaser { background: rgba(110,70,150,.13); color: #6a4696; }
.qb-rows .tag.tier { background: transparent; border-color: var(--hairline-color); font-weight: 500; }
.qb-rows .tag.lock { background: var(--accent-tint); color: var(--accent); }
.qrow-chev { flex-shrink: 0; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s ease; opacity: .4; }
.qrow.open .qrow-chev { transform: rotate(225deg); opacity: .7; }

/* smooth expand: grid-rows 0fr -> 1fr */
.qrow-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.qrow.open .qrow-panel { grid-template-rows: 1fr; }
.qrow-panel-inner { overflow: hidden; position: relative; }
.qrow-body { padding: 6px 22px 24px; max-width: 78ch; }
.ans-section { margin-bottom: 20px; }
.ans-section:last-child { margin-bottom: 0; }
.ans-section h4 { margin: 0 0 9px; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; color: var(--text-muted); }
.ans-text p { margin: 0; line-height: 1.6; color: var(--text); }
/* the model answer is the headline content - give it a quiet panel */
.ans-section > .ans-text {
  background: var(--accent-tint); border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0; padding: 14px 16px;
}
.ans-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.ans-steps li { line-height: 1.5; }
.ans-placeholder { color: var(--text-muted); font-style: italic; }
.looking { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.looking li { position: relative; padding-left: 24px; line-height: 1.45; color: var(--text); }
.looking li::before {
  content: ""; position: absolute; left: 4px; top: 6px; width: 6px; height: 10px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(40deg);
}
.pushback { background: var(--bg-2); border-radius: 10px; padding: 13px 16px; margin: 10px 0; }
.pushback:first-of-type { margin-top: 0; }
.pushback-q { margin: 0 0 6px; font-weight: 500; line-height: 1.45; }
.pushback .ans-text p { color: var(--text-muted); }
.pushback-when { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-right: 8px; }

/* locked state */
.locked-body { filter: blur(6px); opacity: .5; pointer-events: none; user-select: none; }
.lock-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 20px;
  background: linear-gradient(180deg, rgba(250,250,248,.55), rgba(250,250,248,.92));
}
.lock-overlay .lock-ico { font-size: 22px; }
.lock-overlay p { margin: 0; color: var(--text-muted); font-size: 14px; max-width: 34ch; }

.qb-empty { text-align: center; color: var(--text-muted); padding: 40px 0; }

@media (max-width: 640px) {
  .qrow-head { flex-wrap: wrap; padding: 16px; }
  .qrow-q { flex-basis: 100%; }
  .qrow-body { padding: 6px 16px 20px; }
  .select { min-width: 100%; }
}

/* ================= Scorecard: verdict, coverage, credibility ================= */
/* Ranked-rating strip at the top of the scorecard (Phase 3c). */
.rankstrip {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  border-radius: var(--radius); padding: 12px 18px; margin: 0 0 18px;
  border: 1px solid var(--hairline-color); background: var(--card);
}
.rankstrip.loading, .rankstrip.unranked { color: var(--text-muted); }
.rankstrip.up   { border-color: rgba(60,120,70,.35);  background: rgba(60,120,70,.06); }
.rankstrip.down { border-color: rgba(122,31,43,.3);   background: var(--accent-tint); }
.rank-main { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rank-label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.rank-rating { font-family: var(--mono); font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.rank-delta { font-weight: 700; font-size: 15px; }
.rank-delta.up { color: #3a6a44; } .rank-delta.down { color: var(--accent); }
.rank-tier { font-size: 12.5px; color: var(--text-muted); padding: 2px 10px; border-radius: 999px; border: 1px solid var(--hairline-color); }
.rank-pq { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.rank-chip { font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--hairline-color); color: var(--text-muted); cursor: default; }
.rank-chip.up   { color: #3a6a44; border-color: rgba(60,120,70,.3); }
.rank-chip.down { color: var(--accent); border-color: rgba(122,31,43,.28); }

/* Leaderboard (Phase 3c) */
.lb-you { margin: 4px 0 18px; }
.lb-cta, .lb-standing { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 18px; border: 1px solid var(--hairline-color); border-radius: var(--radius); background: var(--card); }
.lb-cta p { margin: 0; max-width: none; }
.lb-cta .btn { margin-left: auto; }
.lb-joinrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-left: auto; }
.lb-joinrow input { padding: 9px 12px; border: 1px solid var(--hairline-color); border-radius: 10px; font: inherit; min-width: 220px; }
.lb-standing { background: var(--accent-tint); border-color: rgba(122,31,43,.25); }
.lb-standing-rank { font-family: var(--mono); font-size: 22px; font-weight: 700; }
.lb-standing-main { display: flex; flex-direction: column; }
.lb-standing-main .smallnote { margin-top: 2px; }
.lb-standing > button { margin-left: auto; }

.lb-tabs { display: flex; gap: 6px; margin: 6px 0 4px; flex-wrap: wrap; }
.lb-tab { font: inherit; font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--hairline-color); background: var(--card); color: var(--text-muted); cursor: pointer; }
.lb-tab.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.lb-subtabs { display: flex; gap: 6px; margin: 8px 0; }
.lb-subtab { font: inherit; font-size: 13px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--hairline-color); background: var(--card); color: var(--text-muted); cursor: pointer; }
.lb-subtab.on { color: var(--text); border-color: var(--accent); }
.lb-window { display: inline-flex; gap: 6px; margin: 8px 0 2px; }
.lb-win { font: inherit; font-size: 13px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--hairline-color); background: var(--card); color: var(--text-muted); cursor: pointer; }
.lb-win.on { color: var(--text); border-color: var(--accent); }

.lb-table { margin-top: 14px; border: 1px solid var(--hairline-color); border-radius: var(--radius); overflow: hidden; }
.lb-row { display: grid; grid-template-columns: 56px 1fr 56px 128px 76px 24px; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--hairline-color); }
.lb-row:last-child { border-bottom: 0; }
.lb-head { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); background: var(--card); }
.lb-row.you { background: var(--accent-tint); }
.lb-pinned { border-bottom: 2px solid var(--hairline-color); }
.lb-rank { font-family: var(--mono); font-weight: 700; color: var(--text-muted); }
.lb-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.lb-name b { font-weight: 600; }
.lb-school { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-muted); }
.lb-crest { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--accent-tint); color: var(--accent); font-size: 11px; font-weight: 700; }
.lb-prov { font-size: 10.5px; color: var(--text-muted); border: 1px solid var(--hairline-color); border-radius: 999px; padding: 1px 7px; }
.lb-track { font-family: var(--mono); font-size: 12px; color: var(--text-muted); }
.lb-tier { font-size: 12.5px; color: var(--text-muted); }
.lb-rating { font-family: var(--mono); font-weight: 700; font-size: 16px; text-align: right; }
.lb-trend { font-size: 12px; text-align: center; }
.lb-trend.up { color: #3a6a44; } .lb-trend.down { color: var(--accent); } .lb-trend.flat { color: var(--text-muted); }
.btn.small { padding: 7px 14px; font-size: 13px; }
@media (max-width: 640px) {
  .lb-row { grid-template-columns: 40px 1fr 64px 22px; }
  .lb-track, .lb-tier { display: none; }
  .lb-joinrow input { min-width: 0; flex: 1; }
}

/* School affiliation (Phase 3c) */
.school-callout { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 22px; padding: 18px 20px; border: 1px solid rgba(122,31,43,.25); border-radius: var(--radius); background: var(--accent-tint); }
.school-callout h3 { margin: 2px 0 4px; }
.school-callout .kicker { margin: 0; }
.school-callout > .btn, .school-callout > .btn.secondary { margin-left: auto; }
.school-current { display: flex; align-items: center; gap: 12px; }
.school-current .lb-crest { width: 34px; height: 34px; font-size: 16px; border-radius: 8px; }
.school-current > button { margin-left: auto; }
.verified { color: #3a6a44; font-size: 13px; font-weight: 600; }
.school-claimrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; }

.verdict {
  display: flex; align-items: flex-start; gap: 12px;
  border-radius: var(--radius); padding: 16px 18px; margin: 18px 0 22px;
  border: 1px solid var(--hairline-color);
}
.verdict-tag {
  flex-shrink: 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-top: 1px;
}
.verdict p { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.45; max-width: none; }
.verdict.ok    { background: rgba(60,120,70,.08);  border-color: rgba(60,120,70,.3); }
.verdict.ok .verdict-tag    { background: rgba(60,120,70,.16); color: #3a6a44; }
.verdict.low   { background: var(--accent-tint);   border-color: rgba(122,31,43,.28); }
.verdict.low .verdict-tag   { background: rgba(122,31,43,.16); color: var(--accent); }
.verdict.warn  { background: rgba(150,90,20,.09);  border-color: rgba(150,90,20,.32); }
.verdict.warn .verdict-tag  { background: rgba(150,90,20,.18); color: #8a5a10; }

.beforeafter {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  border: 1px solid var(--hairline-color); border-left: 3px solid var(--text-muted);
  border-radius: var(--radius); padding: 12px 16px; margin: 0 0 20px;
}
.beforeafter.up { border-left-color: var(--band-strong); background: rgba(60,120,70,.06); }
.beforeafter.down { border-left-color: var(--band-weak); background: var(--accent-tint); }
.beforeafter .ba-tag { flex-shrink: 0; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.beforeafter p { margin: 0; font-weight: 500; }

.coverage { margin-top: 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.coverage-track { flex: 1; min-width: 160px; height: 8px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.coverage-track i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.partial-num { font-family: var(--mono, monospace); font-weight: 600; font-size: 22px; margin: 8px 0 2px; color: var(--text); }
.mathline { margin: -6px 0 20px; opacity: .8; }

.cred-list { display: flex; flex-direction: column; gap: 12px; }
.cred-item { border: 1px solid var(--hairline-color); border-left: 3px solid var(--accent); border-radius: 8px; padding: 12px 14px; }
.cred-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.cred-badge.fabrication, .cred-badge.unverifiable { background: var(--accent-tint); color: var(--accent); }
.cred-badge.evasive { background: rgba(150,90,20,.13); color: #8a5a10; }
.cred-badge.contradiction { background: rgba(122,31,43,.16); color: var(--accent); }
.cred-quote { margin: 8px 0 6px; font-style: italic; color: var(--text); }
.qa-sub { margin: 0 0 10px; }
.qa.not-attempted {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 4px; border-bottom: var(--hairline); color: var(--text-muted);
}
.na-tag { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }

@media print {
  .masthead nav, .btn, .controls { display: none !important; }
  body { background: #fff; }
}