/* ═══════════════════════════════════════════════════════════
   WatchSplit Brand CSS
   Source of truth: computed styles from watchsplit.org live site
   ═══════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --ws-purple:        #6B4FA0;
  --ws-purple-dark:   #3B2E86;
  --ws-green:         #7FBF00;
  --ws-green-light:   #9AD068;
  --ws-teal:          #116686;
  --ws-teal-light:    #1E9FCC;
  --ws-card-border:   #5BB8D4;
  --ws-card-bg:       #FFFFFF;
  --ws-page-bg:       #F7F9FA;
  --ws-text:          #333333;
  --ws-text-light:    #555555;

  /* Dashboard gradient */
  --ws-dash-grad: linear-gradient(120deg, #1B2140 0%, #3B2E86 45%, #7B5CFA 85%, #FF5FA2 130%);

  --ws-font-heading: 'Montserrat', sans-serif;
  --ws-font-body:    'Open Sans', sans-serif;
}

/* ── Reset / Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--ws-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ws-text);
  background: var(--ws-page-bg);
}

img { max-width: 100%; height: auto; }
a   { color: var(--ws-teal); }

/* ── Site Header (public pages) ────────────────────────── */
.ws-site-header {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  min-height: 80px;
}

.ws-site-logo {
  max-width: 220px;
  width: 100%;
}

/* ── Public page wrapper ───────────────────────────────── */
.ws-public-page {
  background: var(--ws-page-bg);
}

/* ── Hero ──────────────────────────────────────────────── */
.ws-hero {
  width: 100%;
}

.ws-hero__img {
  width: 100%;
  height: auto;
  display: block;
}

.ws-hero__logo-overlay { display: none; }

/* ── Court intro block ─────────────────────────────────── */
.ws-court-intro {
  text-align: center;
  padding: 40px 24px 20px;
  background: #fff;
}

.ws-court-seal {
  max-width: 130px;
  margin: 0 auto 20px;
  display: block;
}

.ws-court-intro h1 {
  font-family: var(--ws-font-heading);
  font-weight: 800;
  font-size: 2rem;
  color: var(--ws-purple);
  margin: 0 0 4px;
}

.ws-court-intro .ws-welcomes {
  font-family: var(--ws-font-heading);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--ws-text);
  margin: 0 0 4px;
}

.ws-court-intro .ws-films-title {
  font-family: var(--ws-font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--ws-green);
  margin: 0;
}

/* ── Dear Parent letter card ───────────────────────────── */
.ws-letter-card {
  max-width: 760px;
  margin: 28px auto;
  background: #fff;
  border: 2px solid var(--ws-card-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.ws-letter-card__top-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--ws-teal-light) 0%, var(--ws-purple) 100%);
}

.ws-letter-card__body {
  padding: 32px 40px;
  color: var(--ws-text);
  font-size: 1.05rem;
  line-height: 1.75;
}

.ws-letter-card__body p:first-child {
  margin-top: 0;
}

.ws-letter-card__sig {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--ws-card-border);
}

.ws-letter-card__sig-seal {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ws-card-border);
}

.ws-letter-card__sig-name {
  font-weight: 600;
  color: var(--ws-purple);
  font-size: 0.9rem;
}

/* ── Content band wrapper ──────────────────────────────── */
.ws-band {
  max-width: 860px;
  margin: 0 auto;
  padding: 8px 24px;
}

.ws-band--step { margin-bottom: 8px; }

/* ── Step cards ─────────────────────────────────────────── */
.ws-step-wrap {
  position: relative;
  margin-bottom: 32px;
  padding-top: 20px; /* room for badge overhanging top */
}

.ws-step__badge {
  position: absolute;
  top: 0;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ws-font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  z-index: 2;
}

.ws-step__badge--1 { background: var(--ws-purple); }
.ws-step__badge--2 { background: var(--ws-teal-light); }
.ws-step__badge--3 { background: var(--ws-green); }
.ws-step__badge--4 { background: #E8944A; }
.ws-step__badge--5 { background: #C05FA0; }

.ws-step__card {
  background: var(--ws-page-bg);
  border: 2px solid var(--ws-card-border);
  border-radius: 14px;
  padding: 40px 32px 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ws-step__card--films {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 8px 0 0;
}

.ws-step__card h2 {
  font-family: var(--ws-font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ws-purple);
  margin: 0 0 12px;
}

.ws-step__card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ws-text);
  margin: 0;
}

.ws-accent { color: var(--ws-green); }

/* ── End-of-video overlay ──────────────────────────────── */
.ws-film__ended {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  z-index: 10;
}

.ws-film__ended-msg {
  color: #fff;
  font-family: var(--ws-font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 20px;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.ws-film__ended-btn {
  font-size: 1rem;
  padding: 14px 36px;
  background: var(--ws-green);
  color: #fff;
  border-radius: 999px;
  font-family: var(--ws-font-heading);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 20px rgba(127,191,0,0.5);
  transition: transform 0.15s, box-shadow 0.15s;
}

.ws-film__ended-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(127,191,0,0.65);
  color: #fff;
}

/* ── Film cards ────────────────────────────────────────── */
.ws-films {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ws-film {
  background: #fff;
  border: 2px solid var(--ws-card-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.ws-film__thumb {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
}

.ws-film__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}

.ws-film__thumb:hover .ws-film__poster { opacity: 0.88; }

.ws-film__play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.15s;
}

.ws-film__play-btn:hover { transform: scale(1.1); }

.ws-film__meta {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ws-film__meta h3 {
  font-family: var(--ws-font-heading);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--ws-purple);
  margin: 0 0 6px;
}

.ws-film__meta p {
  font-size: 0.87rem;
  color: var(--ws-text-light);
  flex: 1;
  margin-bottom: 14px;
}

.ws-film__btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── Buttons ───────────────────────────────────────────── */
.ws-btn {
  display: inline-block;
  font-family: var(--ws-font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
}

.ws-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.ws-btn:active { transform: translateY(0); }

.ws-btn--purple  { background: var(--ws-purple);  color: #fff; }
.ws-btn--teal    { background: var(--ws-teal);    color: #fff; }
.ws-btn--green   { background: var(--ws-green);   color: #fff; }
.ws-btn--outline { background: transparent; color: var(--ws-purple); border: 2px solid var(--ws-purple); }
.ws-btn--full    { display: block; text-align: center; width: 100%; margin-top: 14px; }

/* ── Password gate ─────────────────────────────────────── */
.ws-pw-gate {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--ws-page-bg);
}

.ws-pw-card {
  background: #fff;
  border: 1px solid var(--ws-card-border);
  border-radius: 16px;
  padding: 40px 36px;
  text-align: center;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.ws-pw-card__seal {
  max-height: 80px;
  margin: 0 auto 16px;
  display: block;
}

.ws-pw-card__title {
  font-family: var(--ws-font-heading);
  font-size: 1.5rem;
  color: var(--ws-purple);
  margin: 0 0 8px;
}

.ws-pw-card__sub {
  color: var(--ws-text-muted);
  font-size: 0.9rem;
  margin: 0 0 24px;
}

.ws-pw-card__error {
  color: #c0392b;
  font-size: 0.88rem;
  margin: 0 0 12px;
}

.ws-pw-card__input {
  width: 100%;
  border: 1px solid var(--ws-card-border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.ws-pw-card__btn {
  width: 100%;
}

/* ── Footer ────────────────────────────────────────────── */
.ws-footer {
  margin-top: 40px;
}

/* Questionnaire text footer (logo + tagline + contact) */
.ws-footer--q {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px 40px;
  border-top: 1px solid #e8e8e8;
  background: #fff;
}
.ws-footer--q .ws-footer__logo   { max-width: 140px; margin-bottom: 8px; }
.ws-footer--q .ws-footer__tagline { font-size: 0.85rem; color: #6B678A; margin: 4px 0; }
.ws-footer--q .ws-footer__contact { font-size: 0.82rem; color: var(--ws-teal); }

.ws-footer__banner-link {
  display: block;
}

.ws-footer__banner {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Dashboard layout ──────────────────────────────────── */
.ws-dash-header {
  background: var(--ws-dash-grad);
  padding: 28px 32px 0;
  color: #fff;
}

.ws-dash-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ws-dash-header__identity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ws-dash-header__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ws-purple);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ws-font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  flex-shrink: 0;
}

.ws-dash-header__titles h2 {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.8;
  margin: 0 0 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ws-dash-header__titles h1 {
  font-family: var(--ws-font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
}

.ws-dash-header__privacy {
  font-size: 0.78rem;
  opacity: 0.75;
  margin: 8px 0 20px;
}

/* Dashboard tabs */
.ws-dash-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 0;
}

.ws-dash-tab {
  padding: 9px 20px;
  border-radius: 999px 999px 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid rgba(255,255,255,0.45);
  border-bottom: none;
  color: rgba(255,255,255,0.85);
  background: transparent;
  transition: background 0.15s;
}

.ws-dash-tab.active,
.ws-dash-tab:hover {
  background: var(--ws-green);
  border-color: var(--ws-green);
  color: #fff;
}

/* Dashboard body */
.ws-dash-body {
  background: var(--ws-page-bg);
  padding: 28px 32px;
}

/* KPI cards */
.ws-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.ws-kpi-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  border-top: 4px solid var(--ws-purple);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ws-kpi-card:nth-child(2) { border-top-color: var(--ws-green); }
.ws-kpi-card:nth-child(3) { border-top-color: var(--ws-teal-light); }

.ws-kpi-card__number {
  font-family: var(--ws-font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--ws-purple);
  line-height: 1;
  margin-bottom: 4px;
}

.ws-kpi-card:nth-child(2) .ws-kpi-card__number { color: var(--ws-green); }
.ws-kpi-card:nth-child(3) .ws-kpi-card__number { color: var(--ws-teal-light); }

.ws-kpi-card__label {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Outcome ring cards */
.ws-outcome-section { margin-bottom: 32px; }

.ws-outcome-section__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ws-purple);
  margin-bottom: 4px;
}

.ws-outcome-section__heading {
  font-family: var(--ws-font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ws-text);
  margin: 0 0 16px;
}

.ws-outcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.ws-outcome-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ws-outcome-card__category {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* SVG donut ring */
.ws-ring {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 12px;
}

.ws-ring svg { transform: rotate(-90deg); }
.ws-ring__track { fill: none; stroke: #eee; stroke-width: 8; }
.ws-ring__fill  { fill: none; stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 0.6s ease; }

.ws-ring__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}

.ws-ring__pct {
  font-family: var(--ws-font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ws-text);
}

.ws-ring__n {
  font-size: 0.6rem;
  color: #aaa;
}

.ws-outcome-card__statement {
  font-size: 0.8rem;
  color: var(--ws-text);
  line-height: 1.4;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 640px) {
  .ws-video-grid        { grid-template-columns: 1fr; }
  .ws-kpi-row           { grid-template-columns: 1fr; }
  .ws-letter-card__body { padding: 20px 20px; }
  .ws-dash-body         { padding: 16px; }
  .ws-dash-header       { padding: 20px 16px 0; }
  .ws-judge-hero        { padding: 40px 20px 28px; }
  .ws-judge-wrap        { padding: 0 16px 60px; }
  .ws-films             { grid-template-columns: 1fr; }
  .ws-step__card h2     { font-size: 1.15rem; }
  .ws-court-intro h1    { font-size: 1.6rem; }
}

/* ── Questionnaire ─────────────────────────────────────── */
.ws-q-page {
  background: var(--ws-page-bg);
  min-height: 100vh;
}

.ws-q-header {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ws-q-header img { max-width: 180px; }

.ws-q-banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.ws-q-banner img { width: 100%; display: block; }

.ws-q-wrap {
  max-width: 780px;
  margin: 36px auto 60px;
  padding: 0 20px;
}

.ws-q-card {
  background: #fff;
  border: 1px solid #ECE7FB;
  border-radius: 22px;
  box-shadow: 0 12px 32px -12px rgba(90,60,200,0.25);
  overflow: hidden;
  margin-bottom: 20px;
}

.ws-q-card__stripe {
  height: 7px;
  background: linear-gradient(90deg, #8FC71E 0%, #1E9FCC 25%, #FFC145 50%, #7B5CFA 75%, #FF5FA2 100%);
}

.ws-q-card__body { padding: 32px 36px; }

.ws-q-eyebrow {
  font-family: var(--ws-font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #D63E8E;
  margin: 0 0 4px;
  text-transform: none;
  letter-spacing: normal;
}

.ws-q-eyebrow-rule {
  border: none;
  border-top: 3px solid #E8944A;
  margin: 10px 0 16px;
}

.ws-q-title {
  font-family: var(--ws-font-heading);
  font-weight: 800;
  font-size: 1.9rem;
  background: linear-gradient(90deg, #7B5CFA, #FF5FA2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 10px;
  line-height: 1.2;
}

.ws-q-intro {
  color: #6B678A;
  font-size: 0.9rem;
  margin: 0 0 8px;
  line-height: 1.6;
}

.ws-q-divider {
  border: none;
  border-top: 1px solid #ECE7FB;
  margin: 24px 0;
}

.ws-q-block { margin-bottom: 28px; }
.ws-q-block:last-child { margin-bottom: 0; }

.ws-q-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9B8EC4;
  display: block;
  margin-bottom: 4px;
}

.ws-q-label {
  font-family: var(--ws-font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: #4C2A85;
  display: block;
  margin-bottom: 14px;
  line-height: 1.4;
}

.ws-q-input, .ws-q-textarea {
  width: 100%;
  border: 1px solid #D1CBF0;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--ws-font-body);
  color: #1B2140;
  background: #FAFAFE;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ws-q-input { height: 46px; }

.ws-q-textarea {
  resize: vertical;
  min-height: 90px;
}

.ws-q-input:focus, .ws-q-textarea:focus {
  outline: none;
  border-color: #7B5CFA;
  box-shadow: 0 0 0 3px rgba(123,92,250,0.12);
}

/* Likert scale tiles */
.ws-q-likert {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.ws-q-likert-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 4px;
  border: 1px solid #D1CBF0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.72rem;
  color: #6B678A;
  text-align: center;
  line-height: 1.3;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.ws-q-likert-opt:has(input:checked) {
  background: #F0ECFF;
  border-color: #7B5CFA;
  color: #4C2A85;
  font-weight: 700;
}

.ws-q-likert-opt input[type=radio] {
  width: 18px;
  height: 18px;
  accent-color: #7B5CFA;
  margin: 0;
}

/* Checkbox options */
.ws-q-checks { display: flex; flex-direction: column; gap: 10px; }

.ws-q-check-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #D1CBF0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #1B2140;
  transition: background 0.15s, border-color 0.15s;
}

.ws-q-check-opt:has(input:checked) {
  background: #F0ECFF;
  border-color: #7B5CFA;
  color: #4C2A85;
  font-weight: 600;
}

.ws-q-check-opt input {
  width: 18px;
  height: 18px;
  accent-color: #7B5CFA;
  flex-shrink: 0;
}

/* Submit */
.ws-q-submit-row { margin-top: 32px; text-align: center; }

.ws-q-submit {
  background: var(--ws-purple);
  color: #fff;
  font-family: var(--ws-font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  padding: 16px 48px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.ws-q-submit:hover { background: #5a3d8a; transform: translateY(-1px); }

@media (max-width: 640px) {
  .ws-q-card__body  { padding: 20px 18px; }
  .ws-q-title       { font-size: 1.4rem; }
  .ws-q-likert      { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .ws-q-likert-opt  { padding: 8px 2px; font-size: 0.62rem; }
}

/* ── Judge Preview Portal ──────────────────────────────── */
.ws-judge-preview {
  background: var(--ws-page-bg);
  min-height: 100vh;
}

.ws-judge-hero {
  text-align: center;
  padding: 56px 24px 36px;
  background: linear-gradient(160deg, #3B2265 0%, #6B4FA0 100%);
  color: #fff;
}

.ws-judge-hero__seal {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: contain;
  border: 3px solid rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.ws-judge-hero__name {
  font-family: var(--ws-font-heading);
  font-weight: 800;
  font-size: 1.7rem;
  color: #fff;
  margin: 0 0 8px;
}

.ws-judge-hero__tagline {
  font-style: italic;
  font-size: 1rem;
  opacity: 0.85;
  margin: 0;
}

.ws-judge-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.ws-judge-section {
  margin-top: 48px;
}

.ws-judge-section__title {
  font-family: var(--ws-font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ws-purple);
  margin: 0 0 6px;
}

.ws-judge-section__desc {
  color: var(--ws-text-light);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.ws-judge-video {
  max-width: 640px;
}

.ws-judge-video__wrap {
  position: relative;
  background: #111;
  border-radius: 10px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #B9AEDD;
  overflow: hidden;
}

.ws-judge-video__label {
  position: absolute;
  bottom: 16px;
  left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   Court Parent Welcome Page (spw-*)
   Matches client design at staging.watchsplit.org/bruno
   ═══════════════════════════════════════════════════════════ */

/* Full-bleed image (header logo, footer) */
.spw-bleed {
  width: 100%;
  line-height: 0;
}
.spw-bleed img { width: 100%; display: block; height: auto; }

/* Hero section — white bg, centered */
.spw-hero-section {
  width: 100%;
  background: #fff;
  padding: 50px 20px 40px;
  text-align: center;
  box-sizing: border-box;
}

.spw-seal {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 8px;
  box-shadow: 0 4px 16px -4px rgba(0,0,0,0.25);
  margin: 0 auto 16px;
  display: block;
}

.spw-court-name {
  display: block;
  text-align: center;
  font-family: var(--ws-font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--ws-purple);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 4px;
}

.spw-welcome {
  display: block;
  text-align: center;
  font-family: var(--ws-font-heading);
  font-size: 34px;
  font-weight: 800;
  color: var(--ws-text);
  margin: 0 0 4px;
}

.spw-films-name {
  display: block;
  text-align: center;
  font-family: var(--ws-font-heading);
  font-size: 52px;
  font-weight: 500;
  color: var(--ws-green);
  line-height: 1.15;
  margin: 0;
}

/* Lavender full-width content bands */
.spw-band {
  width: 100%;
  background: #F7F5FB;
  padding: 40px 24px;
  box-sizing: border-box;
}

.spw-inner {
  max-width: 1072px;
  margin: 0 auto;
}

/* Letter card */
.ws-letter-card {
    max-width: none;
    margin: 0 20px 0 80px;
    background: #fff;
    border: 1px solid #ECE7FB;
    border-radius: 22px;
    box-shadow: 0 12px 32px -12px rgba(90,60,200,0.25);
    overflow: hidden;
}

.ws-letter-card__top-bar {
  height: 7px;
  background: linear-gradient(90deg, #1E9FCC, #57C4E0, #7B5CFA);
}

.ws-letter-card__body {
  padding: 44px 44px 38px;
  font-family: var(--ws-font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ws-text);
}

.ws-letter-card__body p { margin: 0 0 16px; }
.ws-letter-card__body p:first-child { margin-top: 0; font-weight: 700; color: #116686; }
.ws-letter-card__body p:last-of-type { margin-bottom: 0; }
.ws-letter-card__body strong { font-weight: 800; color: #1E9FCC; }

.ws-letter-card__sig {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #ECE7FB;
}

.ws-letter-card__sig-seal {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  border: none;
}

.ws-letter-card__sig-name {
  font-family: var(--ws-font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--ws-purple);
}

/* Step rows — number badge + card */
.spw-step-row {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.spw-step-row + .spw-step-row { margin-top: 0; }

.spw-num {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ws-font-heading);
  font-size: 20px;
  font-weight: 800;
  margin-top: 2px;
}

.spw-n1 { background: #6B4FA0; }
.spw-n2 { background: #1E9FCC; }
.spw-n3 { background: #7FBF00; }
.spw-n4 { background: #F7DE7D; color: #3D2265; }
.spw-n5 { background: #EAC3E0; color: #3D2265; }
.spw-num--spacer { background: none; }

/* Step cards */
.spw-card {
  flex: 1 1 0%;
  min-width: 0;
  background: #F7F9FA;
  border: 2px solid #5BB8D4;
  border-radius: 8px;
  padding: 32px 36px;
}

.spw-card h2 {
  font-family: var(--ws-font-heading);
  font-size: 30px;
  font-weight: 800;
  color: #6B4FA0;
  margin: 0 0 16px;
}

.spw-card p {
  font-family: var(--ws-font-body);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.65;
  color: #222;
  margin: 0 0 14px;
}

.spw-card p:last-of-type { margin-bottom: 0; }

/* Film grid inside step card */
.spw-films-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

/* Film card overrides to match client's lighter border */
.ws-film {
  background: #fff;
  border: 1px solid #E2E5E9;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: none;
}

/* Film buttons — smaller, rectangular, equal-width */
.spw-film-btns {
  display: flex;
  gap: 10px;
}

.spw-film-btn {
  flex: 1 1 0%;
  font-family: var(--ws-font-heading);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  display: inline-block;
}

.spw-film-btn--primary   { background: #6B4FA0; color: #fff; }
.spw-film-btn--secondary { background: #EFE9F7; color: #6B4FA0; }

/* Step CTA buttons (guide / share) */
.spw-cta {
  display: inline-block;
  font-family: var(--ws-font-heading);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  margin-top: 16px;
}

.spw-cta--gold { background: #F7DE7D; color: #3D2265; }
.spw-cta--pink { background: #EAC3E0; color: #3D2265; }

/* Responsive */
@media (max-width: 820px) {
  .spw-hero-section  { padding: 32px 16px 28px; }
  .spw-seal          { width: 120px; height: 120px; }
  .spw-court-name    { font-size: 22px; }
  .spw-welcome       { font-size: 26px; }
  .spw-films-name    { font-size: 38px; }
  .ws-letter-card__body { padding: 26px 18px; font-size: 17px; }
  .spw-films-grid    { grid-template-columns: 1fr; gap: 18px; }
  .spw-card          { padding: 24px 20px; }
  .spw-card h2       { font-size: 22px; }
  .spw-card p        { font-size: 17px; }
  .spw-film-btn      { flex: 1 1 100%; }
  .spw-band          { padding: 28px 16px; }
}
