/* BNE Royals — CourtScout layout, red + white palette.
   Mobile-first. No build step. */
:root {
  --bg: #ffffff;
  --bg-elevated: #fff7f7;
  --bg-card: #ffffff;
  --bg-card-hover: #fff3f4;
  --navy-2: #3a0a10;
  --text: #1a1112;
  --text-muted: #6b5658;
  --text-soft: #3a2a2c;
  --orange: #c4121a;
  --orange-hot: #e01822;
  --orange-dim: rgba(196, 18, 26, 0.12);
  --cyan: #9b1018;
  --cyan-dim: rgba(155, 16, 24, 0.10);
  --line: rgba(196, 18, 26, 0.14);
  --line-strong: rgba(196, 18, 26, 0.28);
  --success: #1f7a4d;
  --danger: #c4121a;
  --shadow: 0 24px 60px rgba(26, 17, 18, 0.10);
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 72px;
  --max: 1120px;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #e01822;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: var(--cyan);
  color: #ffffff;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2.5rem));
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}

.brand img,
.brand-logo {
  width: auto;
  height: 40px;
  flex-shrink: 0;
  border-radius: 0;
}

.brand-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.72rem;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
  color: var(--text);
}

.brand-name span {
  color: var(--orange);
}

.brand:hover,
.brand:hover .brand-name {
  color: var(--text);
}

.footer-brand .brand-name {
  font-size: 1.55rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.header-cta {
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.8rem 1.25rem;
  line-height: 1.2;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 24px rgba(196, 18, 26, 0.22);
}

.btn-primary:hover {
  background: var(--orange-hot);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(196, 18, 26, 0.32);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(196, 18, 26, 0.5);
  background: var(--cyan-dim);
}

.btn-lg {
  padding: 0.95rem 1.5rem;
  font-size: 1.02rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 2.4rem 0 3.5rem;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(700px 420px at 15% 0%, rgba(196, 18, 26, 0.16), transparent 60%),
    radial-gradient(600px 400px at 95% 20%, rgba(196, 18, 26, 0.1), transparent 62%),
    linear-gradient(180deg, #fff7f7 0%, var(--bg) 100%);
}

.hero-court {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 500' fill='none'%3E%3Crect x='80' y='40' width='640' height='420' stroke='%23c4121a' stroke-width='2'/%3E%3Cpath d='M80 250h640' stroke='%23c4121a' stroke-width='1.5'/%3E%3Ccircle cx='400' cy='250' r='62' stroke='%23c4121a' stroke-width='1.5'/%3E%3Cpath d='M80 120c90 0 140 80 140 130s-50 130-140 130' stroke='%23c4121a' stroke-width='1.5'/%3E%3Cpath d='M720 120c-90 0-140 80-140 130s50 130 140 130' stroke='%23c4121a' stroke-width='1.5'/%3E%3Crect x='80' y='165' width='110' height='170' stroke='%23c4121a' stroke-width='1.5'/%3E%3Crect x='610' y='165' width='110' height='170' stroke='%23c4121a' stroke-width='1.5'/%3E%3Ccircle cx='190' cy='250' r='52' stroke='%23c4121a' stroke-width='1.2'/%3E%3Ccircle cx='610' cy='250' r='52' stroke='%23c4121a' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 70% 20%;
  background-size: min(920px, 140vw);
}

.hero-grid {
  display: grid;
  gap: 2.4rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 1rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-dim);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.55rem, 11vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 1.15rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.lede {
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 36rem;
}

.lede-follow {
  margin: 0 0 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.hero-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Profile card mock (CSS/SVG only — labels, no invented player data) */
.profile-card {
  background: linear-gradient(180deg, #162036 0%, #10192b 100%);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(196, 18, 26, 0.08);
  overflow: hidden;
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
}

.profile-card-top {
  position: relative;
  height: 118px;
  background:
    radial-gradient(120px 80px at 80% 30%, rgba(196, 18, 26, 0.35), transparent 70%),
    linear-gradient(135deg, #1a2740, #0e1626);
  overflow: hidden;
}

.profile-card-top svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}

.profile-chip {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(7, 11, 20, 0.7);
  border: 1px solid rgba(196, 18, 26, 0.3);
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
}

.profile-card-body {
  padding: 0 1.2rem 1.2rem;
}

.profile-id {
  display: flex;
  align-items: flex-end;
  gap: 0.9rem;
  margin-top: -28px;
  margin-bottom: 1.1rem;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #0b1220;
  border: 3px solid #10192b;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.profile-id h2 {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.profile-id p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.field {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
}

.field span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 60%);
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  border-radius: inherit;
  opacity: 0.85;
}

.field.wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.field.wide .meta {
  min-width: 0;
}

.field.wide .meta strong {
  display: block;
  font-size: 0.92rem;
}

/* ---------- Shared sections ---------- */
section {
  padding: 3.25rem 0;
}

.section-label {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 2.7rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
}

.section-intro {
  margin: 0 0 2rem;
  color: var(--text-soft);
  max-width: 38rem;
}

/* Steps */
.steps {
  display: grid;
  gap: 1rem;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.4rem;
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--orange);
  text-stroke: 1.4px var(--orange);
  margin-bottom: 0.7rem;
}

.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.step p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* Network / coach outreach */
.network {
  background:
    linear-gradient(180deg, transparent, rgba(16, 25, 43, 0.55) 8%, rgba(16, 25, 43, 0.55) 92%, transparent);
}

.network-grid {
  display: grid;
  gap: 1rem;
}

.network-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem 1.45rem;
}

.network-card-stat {
  border-color: rgba(196, 18, 26, 0.28);
  background:
    radial-gradient(280px 140px at 0% 0%, rgba(196, 18, 26, 0.12), transparent 70%),
    var(--bg-card);
}

.network-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--orange-dim);
  color: var(--orange);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
}

.network-icon svg {
  width: 22px;
  height: 22px;
}

.network-figure {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--orange);
  margin: 0 0 0.55rem;
}

.network-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.network-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.level-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.level-pills li {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(196, 18, 26, 0.28);
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
}

/* Audiences */
.audiences {
  background:
    linear-gradient(180deg, transparent, rgba(16, 25, 43, 0.65) 8%, rgba(16, 25, 43, 0.65) 92%, transparent);
}

.audience-grid {
  display: grid;
  gap: 1rem;
}

.audience {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem 1.55rem;
}

.audience h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.audience p {
  margin: 0;
  color: var(--text-soft);
}

/* Profile contents */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.feature {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 0.95rem 1.05rem;
  min-width: 0;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--orange-dim);
  color: var(--orange);
  display: grid;
  place-items: center;
  margin-bottom: 0.7rem;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 720px;
}

.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.15rem 0.2rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--orange);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1;
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--text-soft);
}

/* Signup */
.signup {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.signup-panel {
  background:
    radial-gradient(500px 220px at 0% 0%, rgba(196, 18, 26, 0.12), transparent 60%),
    var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 1.6rem 1.25rem 1.7rem;
}

.signup-panel h2 {
  margin-top: 0.3rem;
}

.form {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  gap: 0.9rem;
}

.field-block label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.optional {
  color: var(--text-muted);
  font-weight: 500;
}

.field-block input,
.field-block select {
  width: 100%;
  background: #0b1220;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  color: var(--text);
  appearance: none;
}

.field-block select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239aa6b7' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.2rem;
}

.field-block input:focus,
.field-block select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-dim);
}

.field-block input::placeholder {
  color: #6d7a8c;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  display: none;
  color: var(--danger);
  font-size: 0.9rem;
  margin: 0;
}

.form-error.show {
  display: block;
}

.form-legal {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.thankyou {
  display: none;
  text-align: center;
  padding: 1.5rem 0.5rem 0.5rem;
}

.thankyou.show {
  display: block;
}

.thankyou-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(61, 220, 151, 0.12);
  color: var(--success);
  display: grid;
  place-items: center;
}

.thankyou h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.thankyou p {
  margin: 0;
  color: var(--text-soft);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.footer-brand img,
.footer-logo {
  width: auto;
  height: 36px;
  border-radius: 0;
}

.footer-brand strong {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0 0 0.7rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 40rem;
}

.credit {
  color: var(--text-soft) !important;
}

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .signup-panel {
    padding: 2.2rem 2rem 2.1rem;
  }
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }

  .hero {
    padding: 3.4rem 0 4rem;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 3rem;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
  }

  .audience-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }

  .features {
    grid-template-columns: repeat(12, 1fr);
  }

  .feature {
    grid-column: span 3;
  }

  .network-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
    align-items: stretch;
  }

  section {
    padding: 4.4rem 0;
  }

  .profile-card {
    margin-inline: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.cta-short { display: none; }

@media (max-width: 479px) {
  .cta-full { display: none; }
  .cta-short { display: inline; }
  .brand img,
  .brand-logo { height: 34px; }
  .brand-name { font-size: 1.42rem; }
  .header-cta { padding: 0.7rem 0.95rem; }
}

@media (max-width: 360px) {
  .wrap {
    width: min(var(--max), calc(100% - 1.75rem));
  }
  .site-header .wrap {
    width: min(var(--max), calc(100% - 1.75rem));
  }
}

@media (max-width: 859px) {
  .hero-court {
    opacity: 0.11;
    background-position: center 118%;
    background-size: 165%;
  }
}

@media (max-width: 479px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

.form.is-sent,
.form[hidden] {
  display: none !important;
}

/* keep logo proportions at every size */
.brand-logo, .footer-logo { width: auto !important; max-width: none; object-fit: contain; flex-shrink: 0; }

/* =========================================================
   Join / athlete intake (/join/)
   ========================================================= */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.btn-sm { padding: 0.6rem 0.95rem; font-size: 0.9rem; }
.req { color: var(--orange); font-weight: 700; }
[hidden] { display: none !important; }

.join-main {
  padding: 1.6rem 0 3.5rem;
  background:
    radial-gradient(600px 320px at 0% 0%, rgba(196, 18, 26, 0.12), transparent 60%),
    radial-gradient(520px 320px at 100% 10%, rgba(196, 18, 26, 0.07), transparent 62%);
}
.join-wrap { max-width: 780px; }
.join-head { margin-bottom: 1.2rem; }
.join-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 9vw, 3.2rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 0.7rem;
}
.join-sub { margin: 0; color: var(--text-soft); max-width: 40rem; }

/* Progress */
.join-progress {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0 0.7rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.join-progress-meta {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 0.82rem; font-weight: 600; margin-bottom: 0.45rem;
}
#progress-count { color: var(--orange); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.74rem; }
#progress-title { color: var(--text-soft); text-align: right; }
.join-progress-track { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.join-progress-fill {
  height: 100%; width: 10%;
  background: linear-gradient(90deg, var(--orange), var(--orange-hot));
  border-radius: inherit; transition: width 0.3s ease;
}
.join-steps { display: none; list-style: none; margin: 0.7rem 0 0; padding: 0; gap: 0.35rem; }
.join-steps button {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text-muted);
  font-size: 0.8rem; font-weight: 700; cursor: pointer;
}
.join-steps .is-done button { background: var(--orange-dim); color: var(--orange); border-color: rgba(196, 18, 26, 0.4); }
.join-steps .is-current button { background: var(--orange); color: #fff; border-color: var(--orange); }

/* Card */
.join-card {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 1.35rem 1.1rem 1.2rem;
}
.step-head { margin-bottom: 1.2rem; }
.step-kicker { margin: 0 0 0.3rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); }
.step-head h2 {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(1.6rem, 6vw, 2.1rem); line-height: 1.05; letter-spacing: 0.02em; margin: 0 0 0.6rem;
}
.step-head h2:focus { outline: none; }
.step-intro { margin: 0; color: var(--text-soft); font-size: 0.96rem; }

/* Question grid */
.q-grid { display: grid; grid-template-columns: 1fr; gap: 1rem 0.9rem; }
.q { min-width: 0; }
.q-label { display: block; font-size: 0.9rem; font-weight: 600; margin: 0 0 0.4rem; line-height: 1.35; }
.q-help { margin: -0.15rem 0 0.5rem; color: var(--text-muted); font-size: 0.83rem; line-height: 1.45; }
.q-heading {
  margin: 0.8rem 0 -0.2rem; padding-top: 1rem; border-top: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text);
}
.q-note { margin: 0; color: var(--text-soft); font-size: 0.9rem; background: rgba(196, 18, 26, 0.06); border: 1px solid rgba(196, 18, 26, 0.18); border-radius: 10px; padding: 0.7rem 0.85rem; }
.q-err { margin: 0.35rem 0 0; color: var(--danger); font-size: 0.83rem; min-height: 0; }
.q-err:empty { display: none; }
.q-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.q-fieldset legend { padding: 0; }

.input {
  width: 100%;
  background: #0b1220;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 0.78rem 0.85rem;
  color: var(--text);
  font-size: 16px; /* stops iOS zoom on focus */
  min-height: 48px;
  appearance: none;
  -webkit-appearance: none;
}
textarea.input { resize: vertical; min-height: 96px; line-height: 1.5; }
select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239aa6b7' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.2rem;
  text-overflow: ellipsis;
}
input[type="date"].input { color-scheme: dark; }
.input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-dim); }
.input::placeholder { color: #6d7a8c; }
.has-error .input, .has-error .choices, .has-error .file-row { border-color: var(--danger) !important; }
.has-error .choice-solo { border-color: var(--danger); }
.q-count { margin: 0.3rem 0 0; font-size: 0.78rem; color: var(--text-muted); text-align: right; }
.q-count.over { color: var(--danger); }

/* Choices */
.choices { display: grid; gap: 0.45rem; border: 1px solid transparent; border-radius: 10px; }
.choices.inline { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.choice {
  display: flex; align-items: flex-start; gap: 0.65rem; cursor: pointer;
  background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line);
  border-radius: 9px; padding: 0.7rem 0.8rem; font-size: 0.93rem; line-height: 1.4;
}
.choice:hover { border-color: var(--line-strong); }
.choice input {
  flex-shrink: 0; width: 20px; height: 20px; margin: 0.05rem 0 0;
  accent-color: var(--orange); cursor: pointer; color-scheme: dark;
}
.choice:has(input:checked) { border-color: rgba(196, 18, 26, 0.55); background: var(--orange-dim); }
.choice-solo { font-size: 0.92rem; }

/* Computed + lock */
.computed { margin: 0; font-size: 0.88rem; color: var(--cyan); display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.computed:has(span:empty) { display: none; }
.q-computed-wrap { align-self: end; }
.computed.classof {
  color: var(--text); font-weight: 600; background: var(--orange-dim);
  border: 1px solid rgba(196, 18, 26, 0.4); border-radius: 10px; padding: 0.7rem 0.85rem;
}
.lock-ic { display: inline-block; vertical-align: -2px; flex-shrink: 0; }
.lock-tag {
  display: inline-flex; align-items: center; gap: 0.25rem; margin-left: 0.35rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.1rem 0.45rem; vertical-align: 1px; white-space: nowrap;
}
.lock-note {
  display: flex; align-items: center; gap: 0.45rem; margin: 0;
  font-size: 0.85rem; font-weight: 600; color: var(--cyan);
}
.lock-note-lg {
  margin: 0 0 0.8rem; padding: 0.6rem 0.8rem; border-radius: 10px;
  background: var(--cyan-dim); border: 1px solid rgba(196, 18, 26, 0.3);
}
.link-btn {
  background: none; border: 0; padding: 0.2rem 0; cursor: pointer;
  color: var(--cyan); font-weight: 600; font-size: 0.86rem; text-decoration: underline; text-underline-offset: 3px;
}

/* Files */
.file-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; border: 1px dashed var(--line-strong); border-radius: 10px; padding: 0.7rem; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-input:focus-visible + .file-btn { outline: 2px solid var(--cyan); outline-offset: 2px; }
.file-btn { cursor: pointer; }
.file-hint { color: var(--text-muted); font-size: 0.82rem; }
.file-list { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.35rem; }
.file-list:empty { display: none; }
.file-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
  background: rgba(61, 220, 151, 0.07); border: 1px solid rgba(61, 220, 151, 0.25);
  border-radius: 8px; padding: 0.45rem 0.7rem; font-size: 0.86rem;
}
.file-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* Stats grid */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.stat span { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.2rem; }
.stat .input { padding: 0.6rem; min-height: 44px; text-align: center; }

/* Repeaters */
.rep-list { display: grid; gap: 0.8rem; }
.rep-item { border: 1px solid var(--line-strong); border-radius: 12px; padding: 0.9rem 0.85rem 1rem; background: rgba(7, 11, 20, 0.35); }
.rep-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.7rem; }
.rep-head span { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); }
.rep-add { margin-top: 0.7rem; }
.rep-list:empty { display: none; }
.rep-list:empty + .rep-add { margin-top: 0; }

/* Semester slots */
.sem { border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(7, 11, 20, 0.35); }
.sem > summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
  padding: 0.85rem 0.9rem; font-weight: 600;
}
.sem > summary::-webkit-details-marker { display: none; }
.sem > summary::after { content: "+"; color: var(--orange); font-size: 1.2rem; margin-left: 0.25rem; }
.sem[open] > summary::after { content: "–"; }
.sem-meta { margin-left: auto; font-size: 0.78rem; font-weight: 600; color: var(--text-muted); }
.sem > .q-grid { padding: 0 0.85rem 0.95rem; }
.sem .rep-item { background: rgba(16, 25, 43, 0.6); }

/* Nav */
.join-error { margin: 1rem 0 0; color: var(--danger); font-size: 0.9rem; font-weight: 600; }
.join-error:empty { display: none; }
.join-nav {
  display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
  margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--line);
}
.join-nav .btn { min-width: 104px; }
.join-saved { font-size: 0.78rem; color: var(--text-muted); text-align: center; flex: 1; }
#btn-next:disabled { opacity: 0.6; cursor: wait; }

/* Review */
.review { display: grid; gap: 0.85rem; }
.rv-card {
  border-radius: 14px; padding: 1rem 1.05rem;
  background: radial-gradient(260px 120px at 100% 0%, rgba(196, 18, 26, 0.22), transparent 70%), linear-gradient(135deg, #1a2740, #0e1626);
  border: 1px solid var(--line-strong);
}
.rv-kicker { margin: 0 0 0.2rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.rv-name { margin: 0; font-family: var(--font-display); font-size: 1.7rem; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.1; }
.rv-line { margin: 0.25rem 0 0; font-size: 0.92rem; }
.rv-muted { color: var(--text-muted); font-size: 0.86rem; margin: 0; }
.rv-step { padding: 0.85rem 0.95rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(7, 11, 20, 0.3); }
.rv-head { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.rv-head h3 { margin: 0; font-size: 1rem; }
.rv-step dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 0.1rem; }
.rv-step dt { color: var(--text-muted); font-size: 0.8rem; margin-top: 0.45rem; }
.rv-step dd { margin: 0; font-size: 0.92rem; overflow-wrap: anywhere; }
.rv-sub { margin-top: 0.6rem; padding-left: 0.7rem; border-left: 2px solid rgba(196, 18, 26, 0.4); }
.rv-subhead { margin: 0; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }

/* Done */
.join-done { text-align: center; padding: 2rem 1.2rem; }
.join-done:focus { outline: none; }
.join-done h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 7vw, 2.4rem); text-transform: uppercase; letter-spacing: 0.03em; margin: 0 0 0.8rem; }
.join-done p { color: var(--text-soft); max-width: 34rem; margin: 0 auto 0.8rem; }
.join-preview-note { font-size: 0.85rem; color: var(--text-muted) !important; border: 1px dashed var(--line-strong); border-radius: 10px; padding: 0.6rem 0.8rem; }
.join-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 1.3rem; }

.join-page .site-footer { margin-top: 0; }

@media (min-width: 640px) {
  .q-grid { grid-template-columns: 1fr 1fr; }
  .q { grid-column: 1 / -1; }
  .q.half { grid-column: span 1; }
  .join-card { padding: 1.9rem 1.8rem 1.5rem; }
  .stat-grid { grid-template-columns: repeat(9, 1fr); }
  .join-steps { display: flex; flex-wrap: wrap; }
  .rv-step dl { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0.2rem 1rem; }
  .rv-step dt { margin-top: 0.3rem; }
  .rv-step dd { margin-top: 0.3rem; }
  .rv-sub { grid-column: 1 / -1; }
  .rv-sub dl { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}

@media (max-width: 479px) {
  .join-nav { flex-wrap: wrap; }
  .join-nav .btn { min-width: 0; padding: 0.8rem 1.05rem; }
  #btn-next { flex: 1; }
  .join-saved { order: 3; flex-basis: 100%; font-size: 0.75rem; }
  .join-done-actions .btn { width: 100%; }
}

/* =========================================================
   Pricing (/pricing/)
   ========================================================= */
.pricing-hero {
  padding-top: 2.2rem;
  background:
    radial-gradient(600px 320px at 0% 0%, rgba(196, 18, 26, 0.14), transparent 60%),
    radial-gradient(520px 320px at 100% 10%, rgba(196, 18, 26, 0.07), transparent 62%);
}
.pricing-title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.3rem, 10vw, 4rem); line-height: 0.95; letter-spacing: 0.01em; margin: 0 0 0.9rem;
}
.pricing-title em { font-style: normal; color: var(--orange); }
.billing-toggle {
  display: inline-flex; gap: 0.25rem; padding: 0.3rem; margin: 0 0 1.5rem;
  background: var(--bg-card); border: 1px solid var(--line-strong); border-radius: 999px;
}
.billing-opt {
  border: 0; background: transparent; color: var(--text-soft); cursor: pointer;
  font-weight: 600; font-size: 0.92rem; padding: 0.6rem 1.05rem; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px;
}
.billing-opt.is-active { background: var(--orange); color: #fff; }
.billing-save {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--cyan-dim); color: var(--cyan); border-radius: 999px; padding: 0.15rem 0.45rem;
}
.billing-opt.is-active .billing-save { background: rgba(255, 255, 255, 0.2); color: #fff; }
.plans { display: grid; gap: 1rem; align-items: start; }
.plan {
  position: relative; background: var(--bg-card); border: 1px solid var(--line-strong);
  border-radius: 18px; padding: 1.5rem 1.25rem 1.4rem;
}
.plan-featured {
  border-color: rgba(196, 18, 26, 0.6);
  background: radial-gradient(320px 160px at 100% 0%, rgba(196, 18, 26, 0.16), transparent 70%), var(--bg-card);
  box-shadow: var(--shadow), 0 0 0 1px rgba(196, 18, 26, 0.25);
}
.plan-badge {
  position: absolute; top: -0.75rem; left: 1.25rem; margin: 0;
  background: var(--orange); color: #fff; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; border-radius: 999px; padding: 0.3rem 0.7rem;
}
.plan-name {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: 1.7rem; letter-spacing: 0.04em; margin: 0 0 0.15rem;
}
.plan-tagline { margin: 0 0 1rem; color: var(--text-muted); font-size: 0.93rem; }
.plan-price { margin: 0; display: flex; align-items: baseline; gap: 0.25rem; }
.plan-price .amount { font-family: var(--font-display); font-weight: 700; font-size: 2.9rem; line-height: 1; }
.plan-featured .plan-price .amount { color: var(--orange); }
.plan-price .per { color: var(--text-soft); font-weight: 600; }
.plan-billing { margin: 0.4rem 0 1.1rem; color: var(--text-muted); font-size: 0.85rem; min-height: 1.3em; }
.plan-cta { width: 100%; }
.plan-features { list-style: none; margin: 1.2rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.65rem; }
.plan-features li { position: relative; padding-left: 1.6rem; font-size: 0.94rem; color: var(--text-soft); line-height: 1.45; }
.plan-features li::before {
  content: ""; position: absolute; left: 0; top: 0.2rem; width: 1rem; height: 1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5c1a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l5 5 9-10'/%3E%3C/svg%3E") no-repeat center / contain;
}
.plan-features li:has(strong) { padding-left: 0; color: var(--text); }
.plan-features li:has(strong)::before { display: none; }
.plan-features li.no { color: var(--text-muted); }
.plan-features li.no::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa6b7' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}
.pricing-note { margin: 1.4rem 0 0; color: var(--text-muted); font-size: 0.88rem; }
.footer-links a { color: var(--text-soft); }
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: stretch; }
}

/* Link to the sample profile from other pages */
.sample-link { margin: 1.4rem 0 0; }
.sample-link a { font-weight: 600; }

/* =========================================================
   Player profile (/profile/sample/)
   ========================================================= */
.pf-page { --pf-tabs-h: 50px; --max: 1240px; }
.pf-wrap { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }

/* Hero */
.pf-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 560px; display: flex; background: #05080f;
}
.pf-hero-media {
  position: absolute; inset: 0; z-index: -2;
  background: url("/assets/sample-hero-portrait.jpg") 62% 0 / cover no-repeat;
}
.pf-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0.55) 0%, rgba(7, 11, 20, 0) 20%, rgba(7, 11, 20, 0.5) 42%, rgba(7, 11, 20, 0.94) 72%, #ffffff 100%);
}
.pf-hero-inner { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 1rem 0 1.8rem; }
.pf-sample-pill {
  align-self: flex-start; margin: 0; display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text-soft);
  background: rgba(7, 11, 20, 0.6); border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 0.3rem 0.7rem; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pf-sample-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.pf-eyebrow { margin: 0 0 0.5rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); }
.pf-hero h1 {
  margin: 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(3.4rem, 16vw, 7rem); line-height: 0.86; letter-spacing: 0.005em;
}
.pf-hero h1 span { display: block; color: var(--text); }
.pf-hero h1 { color: var(--orange); }
.pf-chips { list-style: none; padding: 0; margin: 1.1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pf-chips li {
  font-size: 0.88rem; font-weight: 600; padding: 0.42rem 0.85rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pf-chips li span { color: var(--text-muted); font-weight: 500; margin-left: 0.2rem; }
.pf-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.pf-badge { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 600; border-radius: 10px; padding: 0.5rem 0.8rem; }
.pf-badge svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pf-badge-ok { color: #7cf0bf; background: rgba(61, 220, 151, 0.12); border: 1px solid rgba(61, 220, 151, 0.35); }
.pf-badge-level { color: #fff; background: var(--orange); box-shadow: 0 8px 24px rgba(196, 18, 26, 0.3); }
.pf-badge-level strong { font-weight: 700; margin-left: 0.15rem; }

/* Fact bar */
.pf-factbar { background: var(--bg-elevated); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pf-factbar dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.pf-factbar dl > div { padding: 0.85rem 0; min-width: 0; }
.pf-factbar dl > div:nth-child(odd) { padding-right: 0.8rem; }
.pf-factbar dl > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.pf-factbar dt { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.pf-factbar dd { margin: 0.15rem 0 0; font-weight: 600; font-size: 0.92rem; }

/* Tabs */
.pf-tabs {
  position: sticky; top: var(--header-h); z-index: 30;
  background: rgba(7, 11, 20, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.pf-tabs .pf-wrap { display: flex; gap: 1.5rem; overflow-x: auto; scrollbar-width: none; }
.pf-tabs .pf-wrap::-webkit-scrollbar { display: none; }
.pf-tabs a {
  flex-shrink: 0; padding: 0.95rem 0 0.85rem; color: var(--text-muted); text-decoration: none;
  font-weight: 600; font-size: 0.9rem; border-bottom: 2px solid transparent;
}
.pf-tabs a:hover { color: var(--text); }
.pf-tabs a.is-active { color: var(--text); border-bottom-color: var(--orange); }
.pf-page [id] { scroll-margin-top: calc(var(--header-h) + var(--pf-tabs-h) + 16px); }

/* Layout + cards */
.pf-layout { display: grid; gap: 1rem; padding: 1.25rem 0 3rem; }
.pf-main, .pf-side { display: grid; gap: 1rem; align-content: start; min-width: 0; }
.pf-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 18px; padding: 1.25rem; min-width: 0; }
.pf-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.25rem 1rem; margin-bottom: 1rem; }
.pf-card-head h2 { margin: 0; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.15rem; }
.pf-card-head > span { color: var(--text-muted); font-size: 0.78rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.pf-card-head-stack { flex-direction: column; align-items: flex-start; }
.pf-muted { color: var(--text-muted); }
.pf-fine { margin: 0.9rem 0 0; color: var(--text-muted); font-size: 0.78rem; }
.tick {
  display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px;
  background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23070b14' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* Stats */
.pf-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.pf-stat { border-radius: 14px; padding: 0.9rem 1rem; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.pf-stat .v { display: block; font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; letter-spacing: 0.01em; }
.pf-stat .k { display: block; margin-top: 0.35rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.pf-stat-lead { background: linear-gradient(145deg, rgba(196, 18, 26, 0.22), rgba(196, 18, 26, 0.05)); border-color: rgba(196, 18, 26, 0.45); }
.pf-stat-lead .v { color: var(--orange-hot); }
.pf-shooting { display: grid; gap: 0.6rem; margin-top: 1.1rem; }
.pf-shooting > div { display: grid; grid-template-columns: 30px 1fr 44px; align-items: center; gap: 0.75rem; }
.pf-shooting .k { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; color: var(--text-muted); }
.pf-shooting .v { font-weight: 700; text-align: right; font-size: 0.92rem; }
.pf-shooting .pf-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.pf-shooting .pf-bar i { display: block; height: 100%; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--orange-hot)); }

/* Measurements */
.pf-meas { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.pf-meas > div { position: relative; padding: 0.85rem 0.9rem; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.pf-meas dt { font-size: 0.74rem; color: var(--text-muted); font-weight: 600; }
.pf-meas dd { margin: 0.2rem 0 0; font-family: var(--font-display); font-weight: 600; font-size: 1.85rem; line-height: 1; }
.pf-meas small { font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; color: var(--text-muted); margin-left: 0.2rem; }
.pf-meas .c {
  position: absolute; top: 0.8rem; right: 0.8rem; width: 16px; height: 16px; border-radius: 50%; overflow: hidden; text-indent: 100px; white-space: nowrap;
  background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23070b14' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Film */
.pf-film { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.pf-clip { margin: 0; min-width: 0; }
.pf-clip-main { grid-column: 1 / -1; }
.pf-thumb {
  position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line-strong); display: grid; place-items: center; cursor: pointer;
}
.pf-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7, 11, 20, 0.7)); }
.pf-thumb.t1 { background: url("/assets/sample-hero.jpg") 72% 30% / 135% auto no-repeat, #ffffff; }
.pf-thumb.t2, .pf-thumb.t3 {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 180' fill='none' stroke='%23c4121a' stroke-opacity='0.16' stroke-width='1.2'%3E%3Crect x='14' y='14' width='292' height='152'/%3E%3Cpath d='M160 14v152'/%3E%3Ccircle cx='160' cy='90' r='22'/%3E%3Crect x='14' y='62' width='50' height='56'/%3E%3Crect x='256' y='62' width='50' height='56'/%3E%3Cpath d='M14 34c62 0 86 28 86 56s-24 56-86 56M306 34c-62 0-86 28-86 56s24 56 86 56'/%3E%3C/svg%3E") center / cover no-repeat,
    radial-gradient(70% 90% at 30% 20%, rgba(196, 18, 26, 0.35), transparent 60%),
    linear-gradient(135deg, #1b2a45, #0a111e);
}
.pf-thumb.t3 { background-blend-mode: normal; filter: hue-rotate(-12deg) saturate(0.9); }
.pf-thumb.t3 { background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 180' fill='none' stroke='%23c4121a' stroke-opacity='0.16' stroke-width='1.2'%3E%3Crect x='14' y='14' width='292' height='152'/%3E%3Cpath d='M160 14v152'/%3E%3Ccircle cx='160' cy='90' r='22'/%3E%3Crect x='14' y='62' width='50' height='56'/%3E%3Crect x='256' y='62' width='50' height='56'/%3E%3Cpath d='M14 34c62 0 86 28 86 56s-24 56-86 56M306 34c-62 0-86 28-86 56s24 56 86 56'/%3E%3C/svg%3E") center / cover no-repeat,
    radial-gradient(70% 90% at 75% 25%, rgba(196, 18, 26, 0.22), transparent 60%),
    linear-gradient(135deg, #142238, #090f1b); filter: none; }
.pf-thumb .play {
  position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(196, 18, 26, 0.95); box-shadow: 0 10px 30px rgba(196, 18, 26, 0.45);
  transition: transform 0.15s ease;
}
.pf-thumb .play::before { content: ""; position: absolute; left: 21px; top: 16px; border-left: 15px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.pf-clip:not(.pf-clip-main) .play { width: 40px; height: 40px; }
.pf-clip:not(.pf-clip-main) .play::before { left: 16px; top: 12px; border-left-width: 12px; border-top-width: 8px; border-bottom-width: 8px; }
.pf-thumb:hover .play { transform: scale(1.06); }
.pf-thumb .tag { position: absolute; z-index: 1; top: 8px; left: 8px; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(7, 11, 20, 0.75); border-radius: 6px; padding: 0.2rem 0.45rem; }
.pf-thumb .dur { position: absolute; z-index: 1; bottom: 8px; right: 8px; font-size: 0.7rem; font-weight: 700; background: rgba(7, 11, 20, 0.8); border-radius: 6px; padding: 0.15rem 0.45rem; }
.pf-clip figcaption { margin-top: 0.5rem; font-size: 0.84rem; font-weight: 600; color: var(--text-soft); }

/* Academics */
.pf-acad { display: grid; grid-template-columns: 116px 1fr; gap: 1.1rem; align-items: center; }
.pf-ring {
  width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--orange) calc(var(--p) * 1%), rgba(255, 255, 255, 0.08) 0);
}
.pf-ring > div { width: 94px; height: 94px; border-radius: 50%; background: var(--bg-card); display: grid; place-content: center; text-align: center; }
.pf-ring .v { font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; line-height: 1; }
.pf-ring .k { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.2rem; }
.pf-acad-list { list-style: none; margin: 0; padding: 0; }
.pf-acad-list li { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line); font-size: 0.86rem; }
.pf-acad-list li:last-child { border-bottom: 0; }
.pf-acad-list span { color: var(--text-muted); }
.pf-acad-list strong { font-weight: 600; text-align: right; white-space: nowrap; }
.pf-acad-list .ok { color: var(--success); }

/* History */
.pf-history { list-style: none; margin: 0; padding: 0; }
.pf-history li { display: grid; grid-template-columns: 52px 1fr; gap: 0.75rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.pf-history li:first-child { padding-top: 0; }
.pf-history .yr { font-family: var(--font-display); font-weight: 600; color: var(--orange); font-size: 1.05rem; }
.pf-history strong { display: block; font-size: 0.95rem; }
.pf-history div span { font-size: 0.82rem; color: var(--text-muted); }
.pf-honours { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pf-honours li { font-size: 0.78rem; font-weight: 600; padding: 0.35rem 0.7rem; border-radius: 999px; background: var(--orange-dim); color: #ffb08c; border: 1px solid rgba(196, 18, 26, 0.3); }

/* About */
.pf-about > p { margin: 0; color: var(--text-soft); }
.pf-about blockquote { margin: 1rem 0 0; padding: 0.9rem 1rem; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border-left: 3px solid var(--orange); }
.pf-about blockquote p { margin: 0; font-style: italic; }
.pf-about blockquote footer { margin-top: 0.4rem; font-size: 0.78rem; color: var(--text-muted); }

/* Sidebar */
.pf-rec {
  border-color: rgba(196, 18, 26, 0.45);
  background: radial-gradient(120% 80% at 100% 0%, rgba(196, 18, 26, 0.22), transparent 60%), var(--bg-card);
}
.pf-kicker { margin: 0; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); }
.pf-rec h2 { margin: 0.3rem 0 0.2rem; font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; line-height: 1; text-transform: uppercase; }
.pf-rec-sub { margin: 0 0 1rem; font-size: 0.8rem; color: var(--text-muted); }
.pf-plan { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0.6rem; }
.pf-plan li { counter-increment: s; position: relative; padding-left: 2.1rem; font-size: 0.86rem; color: var(--text-soft); }
.pf-plan li::before {
  content: counter(s); position: absolute; left: 0; top: 0.1rem; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; background: rgba(196, 18, 26, 0.18); color: var(--orange-hot);
}
.pf-plan strong { display: block; color: var(--text); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }

.pf-private { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.72rem !important; font-weight: 700; color: var(--cyan) !important; }
.pf-private svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pf-act-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 1rem; }
.pf-act-sum > div { padding: 0.75rem 0.9rem; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.pf-act-sum .v { display: block; font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1; }
.pf-act-sum .k { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.pf-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.pf-timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--line-strong); }
.pf-timeline li { position: relative; display: flex; justify-content: space-between; gap: 0.75rem; padding: 0 0 0.95rem 1.5rem; }
.pf-timeline li:last-child { padding-bottom: 0; }
.pf-timeline li::before { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg-card); border: 2px solid var(--text-muted); }
.pf-timeline li.good::before { border-color: var(--success); background: var(--success); }
.pf-timeline li.sent::before { border-color: var(--orange); background: var(--orange); }
.pf-timeline strong { display: block; font-size: 0.9rem; }
.pf-timeline div span { font-size: 0.78rem; color: var(--text-muted); }
.pf-timeline time { flex-shrink: 0; font-size: 0.74rem; color: var(--text-muted); font-weight: 600; }

.pf-contact p { margin: 0 0 0.2rem; font-size: 0.92rem; }
.pf-contact-btn { width: 100%; margin-top: 0.9rem; }

/* CTA band */
.pf-cta {
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
  background: radial-gradient(600px 240px at 15% 0%, rgba(196, 18, 26, 0.16), transparent 65%), var(--bg-elevated);
}
.pf-cta .pf-wrap { display: grid; gap: 1.2rem; }
.pf-cta h2 { margin: 0 0 0.35rem; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.8rem, 6vw, 2.6rem); letter-spacing: 0.02em; line-height: 1; }
.pf-cta p { margin: 0; color: var(--text-soft); max-width: 34rem; }
.pf-cta-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

@media (max-width: 479px) {
  .pf-cta-actions .btn { flex: 1 1 100%; }
  .pf-acad { grid-template-columns: 96px 1fr; gap: 0.9rem; }
  .pf-ring { width: 96px; height: 96px; }
  .pf-ring > div { width: 78px; height: 78px; }
  .pf-ring .v { font-size: 1.7rem; }
  .pf-acad-list li { font-size: 0.8rem; }
}

/* Below desktop: one column, with the staff recommendation straight after the hero */
@media (max-width: 1039px) {
  .pf-layout { display: flex; flex-direction: column; }
  .pf-main, .pf-side { display: contents; }
  .pf-rec { order: -1; }
}

@media (min-width: 640px) {
  .pf-meas { grid-template-columns: repeat(3, 1fr); }
  .pf-stats { grid-template-columns: repeat(4, 1fr); }
  .pf-card { padding: 1.5rem; }
  .pf-factbar dl { grid-template-columns: repeat(4, 1fr); }
  .pf-factbar dl > div { border-bottom: 0 !important; padding: 1rem 1.2rem 1rem 0; }
  .pf-factbar dl > div + div { padding-left: 1.2rem; border-left: 1px solid var(--line); }
}

@media (min-width: 900px) {
  .pf-hero { min-height: 600px; }
  .pf-hero-media { background-image: url("/assets/sample-hero.jpg"); background-position: 70% 35%; }
  .pf-hero::after {
    background:
      linear-gradient(90deg, #ffffff 0%, rgba(7, 11, 20, 0.88) 28%, rgba(7, 11, 20, 0.35) 55%, rgba(7, 11, 20, 0) 75%),
      linear-gradient(180deg, rgba(7, 11, 20, 0) 60%, #ffffff 100%);
  }
  .pf-hero-inner { padding: 1.6rem 0 3rem; }
  .pf-hero-text { max-width: 640px; }
  .pf-hero h1 { font-size: clamp(5rem, 8vw, 7.5rem); }
  .pf-film { grid-template-columns: 2fr 1fr; }
  .pf-clip-main { grid-column: 1; grid-row: 1 / span 2; }
  .pf-cta .pf-wrap { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 1040px) {
  .pf-layout { grid-template-columns: minmax(0, 1fr) 370px; gap: 1.5rem; padding-top: 1.75rem; }
  .pf-main, .pf-side { gap: 1.5rem; }
  .pf-side { position: sticky; top: calc(var(--header-h) + var(--pf-tabs-h) + 20px); }
  .pf-card { padding: 1.75rem; }
  .pf-acad { grid-template-columns: 140px 1fr; gap: 2rem; }
  .pf-ring { width: 140px; height: 140px; }
  .pf-ring > div { width: 114px; height: 114px; }
  .pf-ring .v { font-size: 2.5rem; }
  .pf-main-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
@media (max-width: 639px) {
  .pf-clip:not(.pf-clip-main) .tag { display: none; }
  .pf-clip:not(.pf-clip-main) .dur { font-size: 0.64rem; bottom: 6px; right: 6px; }
}
.q.q-note { background: none; border: 0; padding: 0; border-radius: 0; }

/* Homepage hero: mini sample-profile card */
.mini-card {
  display: block; width: 100%; max-width: 420px; margin-inline: auto;
  color: var(--text); text-decoration: none; overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--line-strong); border-radius: 20px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(196, 18, 26, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.mini-card:hover { color: var(--text); transform: translateY(-3px); border-color: rgba(196, 18, 26, 0.5); }
.mini-top {
  position: relative; aspect-ratio: 16 / 9;
  background: url("/assets/sample-hero-bright.jpg") 72% 35% / cover no-repeat, #05080f;
}
.mini-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 20, 0) 50%, var(--bg-card) 100%); }
.mini-pill {
  position: absolute; z-index: 1; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.7rem; font-weight: 600; color: var(--text-soft); background: rgba(7, 11, 20, 0.7);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.25rem 0.6rem;
}
.mini-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.mini-body { padding: 0.4rem 1.2rem 1.25rem; }
.mini-name { margin: 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 2rem; line-height: 1; color: var(--orange); letter-spacing: 0.01em; }
.mini-name span { color: var(--text); }
.mini-meta { margin: 0.35rem 0 0; font-size: 0.86rem; color: var(--text-soft); }
.mini-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.8rem; }
.mini-badge { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.72rem; font-weight: 600; border-radius: 8px; padding: 0.35rem 0.6rem; }
.mini-badge svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mini-badge-ok { color: #7cf0bf; background: rgba(61, 220, 151, 0.12); border: 1px solid rgba(61, 220, 151, 0.35); }
.mini-badge-level { color: #fff; background: var(--orange); }
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.45rem; margin-top: 1rem; }
.mini-stats div { text-align: center; padding: 0.55rem 0.2rem; border-radius: 10px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.mini-stats div:first-child { background: rgba(196, 18, 26, 0.12); border-color: rgba(196, 18, 26, 0.4); }
.mini-stats .v { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.1; }
.mini-stats div:first-child .v { color: var(--orange-hot); }
.mini-stats .k { display: block; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; color: var(--text-muted); }
.mini-club {
  margin: 0.7rem 0 0;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.mini-club .k {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.mini-club .v {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-soft);
}
.mini-film { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.8rem; padding: 0.65rem 0.75rem; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.mini-play { position: relative; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); box-shadow: 0 6px 18px rgba(196, 18, 26, 0.35); }
.mini-play::before { content: ""; position: absolute; left: 14px; top: 11px; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.mini-film-text { min-width: 0; }
.mini-film-text strong { display: block; font-size: 0.88rem; }
.mini-film-text span { font-size: 0.76rem; color: var(--text-muted); }
.mini-link { display: block; margin-top: 0.9rem; font-size: 0.84rem; font-weight: 600; color: var(--cyan); }
@media (min-width: 860px) { .mini-card { margin-inline: auto 0; } }

/* ---------- QA pass: shared fixes ---------- */
.q-help-after { margin: 0.4rem 0 0; }

/* Mobile menu */
.menu-toggle { display: none; }
@media (max-width: 859px) {
  .site-header .wrap { position: relative; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
    width: 44px; height: 44px; flex-shrink: 0; margin-left: -0.4rem;
    background: transparent; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer;
  }
  .menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.2s ease, opacity 0.2s ease; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-header nav { order: 0; }
  .site-header .nav-links {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255, 255, 255, 0.98); border-bottom: 1px solid var(--line-strong);
    padding: 0.5rem 1.25rem 1rem; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  }
  .site-header.menu-open .nav-links { display: flex; }
  .site-header .nav-links a { display: block; padding: 0.85rem 0.2rem; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
  .site-header .nav-links li:last-child a { border-bottom: 0; }
  .site-header .brand { margin-right: auto; }
}
@media (max-width: 479px) {
  .site-header .wrap { gap: 0.6rem; }
}

/* FAQ: title column + answers column on desktop */
@media (min-width: 960px) {
  .faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 3rem; align-items: start; }
  .faq-intro { position: sticky; top: calc(var(--header-h) + 24px); }
  .faq-layout .faq-list { max-width: none; }
}

/* Hero text hierarchy (QA) */
.hero .lede { font-size: 0.98rem; line-height: 1.65; max-width: 40rem; }
.hero .lede-intro { font-size: 1.14rem; line-height: 1.55; color: var(--text); margin-bottom: 1.1rem; }
.hero-court { opacity: 0.13; }
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.8fr); gap: 3.5rem; }
}
@media (max-width: 479px) {
  .hero-actions .hero-how { display: none; }
}

/* Tablet layouts (QA) */
@media (min-width: 640px) and (max-width: 859px) {
  .audience-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .step { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 1rem; }
  .step .step-num { grid-row: span 2; margin: 0; }
}

/* Join form fixes (QA) */
div.q.q-heading { margin: 0; padding: 0; border: 0; }
.q-check .q-help { margin: 0.45rem 0 0 0.15rem; }
.join-wrap { max-width: 820px; }

/* ---------- Legal pages ---------- */
.legal-hero { padding: 2.6rem 0 1.4rem; background: radial-gradient(600px 300px at 10% 0%, rgba(196, 18, 26, 0.12), transparent 60%); }
.legal-wrap { max-width: 1100px; }
.legal-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.1rem, 7vw, 3.4rem); line-height: 1; letter-spacing: 0.01em; margin: 0.2rem 0 0.8rem; }
.legal-meta { margin: 0 0 0.8rem; color: var(--text-muted); font-size: 0.88rem; line-height: 1.9; }
.legal-intro { margin: 0; color: var(--text-soft); font-size: 1.05rem; max-width: 44rem; }
.legal-body { padding: 1rem 0 4rem; }
.legal-grid { display: grid; gap: 1.6rem; }
.legal-toc { background: var(--bg-card); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; font-size: 0.9rem; }
.legal-toc p { margin: 0 0 0.5rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.legal-toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.3rem; }
.legal-toc a { color: var(--text-soft); text-decoration: none; }
.legal-toc a:hover { color: var(--text); text-decoration: underline; }
.legal-content { min-width: 0; max-width: 46rem; }
.legal-sec { padding: 1.4rem 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-sec:first-child { border-top: 0; padding-top: 0.4rem; }
.legal-sec h2 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.3rem; margin: 0 0 0.7rem; }
.legal-sec p, .legal-sec li { color: var(--text-soft); font-size: 0.98rem; line-height: 1.7; }
.legal-sec p { margin: 0 0 0.8rem; }
.legal-sec ul { margin: 0 0 0.8rem; padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.legal-sec strong { color: var(--text); }
.legal-sec a, .legal-foot a, .site-footer p a { color: var(--cyan); }

.legal-sec ol { margin: 0 0 0.8rem; padding-left: 1.25rem; display: grid; gap: 0.55rem; }
.legal-sec ol li { color: var(--text-soft); font-size: 0.98rem; line-height: 1.7; }
.guide-example {
  margin: 0 0 0.9rem;
  padding: 0.75rem 0.95rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
  word-break: break-word;
}
.guide-example strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.q-help a { color: var(--cyan); }

.legal-foot { margin-top: 1.2rem; padding: 0.8rem 1rem; border: 1px dashed var(--line-strong); border-radius: 10px; color: var(--text-muted); font-size: 0.88rem; }
@media (min-width: 960px) {
  .legal-grid { grid-template-columns: 250px minmax(0, 1fr); gap: 3rem; align-items: start; }
  .legal-toc { position: sticky; top: calc(var(--header-h) + 20px); }
  .legal-hero { padding: 3.6rem 0 1.8rem; }
}

/* ---------- Contact page ---------- */
.contact-hero { padding: 2.6rem 0 4rem; background: radial-gradient(600px 320px at 10% 0%, rgba(196, 18, 26, 0.13), transparent 60%); }
.contact-grid { display: grid; gap: 2rem; max-width: 1100px; }
.contact-direct { margin: 1.4rem 0 1.2rem; padding: 1rem 1.1rem; background: var(--bg-card); border: 1px solid var(--line); border-radius: 14px; }
.contact-direct-k { margin: 0 0 0.3rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.contact-direct-v { margin: 0; font-size: 1.05rem; }
.contact-direct { text-align: center; }
.contact-direct .contact-direct-k { margin-bottom: 0.8rem; }
.contact-socials { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.contact-social { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem; padding: 0.9rem 0.6rem; border: 1px solid var(--line-strong); border-radius: 10px; text-decoration: none; color: var(--text); transition: border-color .2s; }
.contact-social:hover { border-color: var(--orange); }
.contact-social-name { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.contact-social-handle { font-size: 1rem; font-weight: 600; color: var(--cyan); }
.contact-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; color: var(--text-soft); font-size: 0.95rem; }
.contact-points li { padding-left: 1.5rem; position: relative; }
.contact-points li::before { content: ""; position: absolute; left: 0.2rem; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.field-block textarea { width: 100%; background: #0b1220; border: 1px solid var(--line-strong); border-radius: 8px; padding: 0.75rem 0.85rem; color: var(--text); font: inherit; resize: vertical; min-height: 140px; line-height: 1.5; }
.field-block textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-dim); }
.field-block textarea::placeholder { color: #6d7a8c; }
.form-legal a { color: var(--cyan); }
.thankyou .join-preview-note { margin-top: 0.8rem; }
.thankyou:focus { outline: none; }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3.5rem; align-items: start; }
  .contact-hero { padding: 3.6rem 0 5rem; }
}

/* Homepage contact CTA */
.contact-cta { padding-top: 1rem; padding-bottom: 4rem; }
.contact-cta-panel {
  display: grid; gap: 1.4rem; align-items: center;
  background: radial-gradient(500px 220px at 0% 0%, rgba(196, 18, 26, 0.14), transparent 60%), var(--bg-card);
  border: 1px solid var(--line-strong); border-radius: 20px; padding: 1.6rem 1.25rem;
}
.contact-cta-panel .section-intro { margin-bottom: 0; }
.contact-cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 860px) {
  .contact-cta-panel { grid-template-columns: minmax(0, 1.4fr) auto; padding: 2.2rem 2.4rem; gap: 2.5rem; }
}
@media (max-width: 479px) {
  .contact-cta-actions { flex-direction: column; }
  .contact-cta-actions .btn { width: 100%; }
}

/* Footer links wrap nicely */
.footer-links { line-height: 2; }
@media (min-width: 860px) and (max-width: 1279px) {
  .nav-links { gap: 0.65rem; }
  .nav-links a { font-size: 0.82rem; white-space: nowrap; }
  .site-header .header-cta .cta-full { display: none; }
  .site-header .header-cta .cta-short { display: inline; }
}
.site-footer .footer-links a { color: var(--text-soft); }


/* ---------- Events page ---------- */
.events-hero { padding: 2.6rem 0 1.6rem; background: radial-gradient(600px 320px at 10% 0%, rgba(196, 18, 26, 0.13), transparent 60%); }
.events-hero .section-intro { margin-bottom: 0; max-width: 40rem; }
.partner-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 1.6rem 0 0;
  max-width: 34rem;
}
.partner-tile {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.9rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  min-width: 0;
}
.partner-tile img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.partner-caption {
  margin: 0.7rem 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.events-list { padding: 0.4rem 0 3.2rem; }
.event-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.2rem;
}
.event-filters button {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
  border-radius: 999px;
  padding: 0.48rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
}
.event-filters button:hover { color: var(--text); border-color: rgba(196, 18, 26, 0.5); background: var(--cyan-dim); }
.event-filters button.is-active,
.event-filters button[aria-pressed="true"] {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.event-filters button.is-active:hover,
.event-filters button[aria-pressed="true"]:hover {
  background: var(--orange-hot);
  border-color: var(--orange-hot);
  color: #fff;
}
.event-grid { display: grid; gap: 1rem; }
.event-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}
.event-type {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(196, 18, 26, 0.25);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
}
.event-card h2 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.35rem;
  line-height: 1.15;
  margin: 0;
}
.event-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  display: grid;
  gap: 0.28rem;
}
.event-meta li { display: flex; gap: 0.5rem; min-width: 0; line-height: 1.45; }
.event-meta-k {
  flex: 0 0 4.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 0.18rem;
}
.event-meta-v { color: var(--text-soft); min-width: 0; }
.event-card > p { margin: 0.15rem 0 0; color: var(--text-soft); font-size: 0.95rem; flex: 1; }
.event-card .btn { margin-top: 0.7rem; align-self: flex-start; }
.event-empty { margin: 0.4rem 0 0; color: var(--text-muted); }
.events-host { padding: 0 0 4rem; }
.events-host-panel {
  display: grid;
  gap: 1.2rem;
  align-items: center;
  background: radial-gradient(500px 220px at 0% 0%, rgba(196, 18, 26, 0.1), transparent 60%), var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 1.6rem 1.25rem;
}
.events-host-panel .section-intro { margin-bottom: 0; }
.events-host-panel .section-title { font-size: clamp(1.5rem, 4.5vw, 2.1rem); }

/* Homepage events teaser */
.events-teaser { padding-top: 1rem; padding-bottom: 1rem; }
.events-teaser-panel {
  display: grid;
  gap: 1.3rem;
  align-items: center;
  background: radial-gradient(500px 220px at 0% 0%, rgba(196, 18, 26, 0.1), transparent 60%), var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 1.6rem 1.25rem;
}
.events-teaser-panel .section-intro { margin-bottom: 0; }
.events-teaser-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

@media (min-width: 640px) {
  .partner-strip { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 860px) {
  .event-grid { grid-template-columns: 1fr 1fr; gap: 1.15rem; }
  .events-hero { padding: 3.4rem 0 2rem; }
  .events-host-panel,
  .events-teaser-panel { grid-template-columns: minmax(0, 1.4fr) auto; padding: 2.2rem 2.4rem; gap: 2.5rem; }
}
@media (max-width: 479px) {
  .events-teaser-actions .btn,
  .events-host-panel .btn,
  .event-card .btn { width: 100%; }
}

/* Coming-soon empty states */
.empty-state {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.4rem 1.5rem;
  text-align: center;
  max-width: 38rem;
  margin: 0 auto;
}
.empty-state-title {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.35rem, 3.5vw, 1.7rem);
  line-height: 1.15;
  margin: 0 0 0.7rem;
}
.empty-state p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.55;
}
.empty-state a:not(.btn) { color: var(--cyan); }
.empty-state .btn { margin-top: 1.25rem; }
.partner-strip--teaser {
  margin: 1.15rem 0 0;
  max-width: 28rem;
}
.partner-strip--teaser .partner-tile { min-height: 100px; padding: 0.7rem 0.9rem; }
.partner-strip--teaser .partner-tile img { max-height: 68px; }

/* ---------- Team page ---------- */
.team-hero { padding: 2.6rem 0 1.6rem; background: radial-gradient(600px 320px at 10% 0%, rgba(196, 18, 26, 0.13), transparent 60%); }
.team-hero .section-intro { margin-bottom: 0; max-width: 42rem; }
.team-list { padding: 0.4rem 0 3.2rem; }
.team-grid { display: grid; gap: 1rem; }
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}
.team-photo {
  display: block;
  width: 100%;
  margin: 0;
  aspect-ratio: 4 / 5;
  background: var(--navy-2);
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.team-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.2rem 1.2rem 1.4rem;
  flex: 1;
}
.team-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.45rem;
  line-height: 1.15;
  margin: 0;
}
.team-role {
  margin: 0;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
}
.team-card-body > p:not(.team-role) {
  margin: 0.25rem 0 0;
  color: var(--text-soft);
  font-size: 0.96rem;
}
.team-cta { padding: 0 0 4rem; }
.nav-links a[aria-current="page"] { color: var(--text); font-weight: 600; }

@media (min-width: 960px) {
  .team-hero { padding: 3.4rem 0 2rem; }
  .team-grid { grid-template-columns: 1fr 1fr 1fr; gap: 1.15rem; align-items: stretch; }
}
@media (max-width: 479px) {
  .team-cta .contact-cta-actions .btn { width: 100%; }
}

/* ---------- Privacy callout ---------- */
.privacy-callout {
  background: rgba(196, 18, 26, 0.07);
  border: 1px solid rgba(196, 18, 26, 0.22);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin: 1.15rem 0 0;
  max-width: 46rem;
}
.privacy-callout-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.15rem;
  color: var(--text);
}
.privacy-callout p { margin: 0; color: var(--text-soft); font-size: 0.98rem; line-height: 1.6; }
.privacy-callout a { color: var(--cyan); }
.hero .privacy-callout,
.hero-note + .privacy-callout { margin-top: 0.9rem; }
.join-head .privacy-callout { margin: 1rem 0 0; }
#profile .privacy-callout { margin: 0 0 1rem; }
.profile-parent-note {
  margin: 0 0 1.6rem;
  color: var(--text-soft);
  max-width: 42rem;
  font-size: 0.98rem;
  line-height: 1.6;
}
.network-card-coaches {
  grid-column: 1 / -1;
}
.pf-privacy-note {
  align-self: flex-start;
  max-width: 36rem;
  margin: 0;
  padding: 0.75rem 0.9rem;
  background: rgba(7, 11, 20, 0.72);
  border: 1px solid rgba(196, 18, 26, 0.28);
  border-radius: 12px;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.55;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.pf-privacy-note strong { color: var(--text); }

/* ---------- Our Athletes page ---------- */
.athletes-hero,
.commitments-hero { padding: 2.6rem 0 1.4rem; background: radial-gradient(600px 320px at 10% 0%, rgba(196, 18, 26, 0.13), transparent 60%); }
.athletes-hero .section-intro,
.commitments-hero .section-intro { margin: 1rem 0 0; max-width: 42rem; }
.athletes-list { padding: 0.4rem 0 3.2rem; }
.athlete-table { display: grid; gap: 0.65rem; }
.athlete-row.athlete-row-head {
  display: none;
  padding: 0 1rem 0.15rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.athlete-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "photo name"
    "photo class"
    "photo plan";
  column-gap: 0.95rem;
  row-gap: 0.2rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem 0.9rem;
  min-width: 0;
}
.athlete-photo-col { grid-area: photo; }
.athlete-name-col { grid-area: name; min-width: 0; }
.athlete-class-col { grid-area: class; min-width: 0; }
.athlete-plan-col { grid-area: plan; min-width: 0; }
.athlete-k {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.1rem;
}
.athlete-photo svg {
  width: 30px;
  height: 30px;
  display: block;
}
.athlete-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy-2);
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}
.athlete-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--text);
}
.athlete-class { color: var(--text-soft); font-weight: 600; font-size: 0.95rem; }
.plan-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
}
.plan-pill-free { color: var(--text-soft); background: rgba(255, 255, 255, 0.04); }
.plan-pill-pro { color: #fff; background: var(--orange); border-color: var(--orange); }
.plan-pill-elite { color: #062026; background: var(--cyan); border-color: var(--cyan); }
.athletes-note { margin: 1rem 0 0; color: var(--text-muted); font-size: 0.9rem; max-width: 40rem; }
.athletes-cta,
.commitments-cta { padding: 0 0 4rem; }

@media (min-width: 760px) {
  .athlete-row.athlete-row-head {
    display: grid;
    grid-template-columns: 56px minmax(0, 1.6fr) minmax(7rem, 0.7fr) minmax(6rem, 0.55fr);
    gap: 0.95rem;
    align-items: end;
  }
  .athlete-row {
    grid-template-columns: 56px minmax(0, 1.6fr) minmax(7rem, 0.7fr) minmax(6rem, 0.55fr);
    grid-template-areas: "photo name class plan";
    align-items: center;
    padding: 0.7rem 1rem;
  }
  .athlete-k { display: none; }
  .athlete-name-col { padding-right: 0; }
}

/* ---------- Commitments page ---------- */
.commitments-list { padding: 0.4rem 0 3.2rem; }
.commitment-grid { display: grid; gap: 1rem; }
.commitment-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.commitment-photo svg {
  width: 42%;
  max-width: 7.5rem;
  height: auto;
  display: block;
}
.commitment-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--navy-2), #0c1320);
  border-bottom: 1px solid var(--line);
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.2rem;
  letter-spacing: 0.04em;
}
.commitment-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.15rem 1.2rem 1.35rem;
  flex: 1;
}
.commitment-body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.4rem;
  line-height: 1.15;
  margin: 0;
}
.commitment-meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.commitment-meta span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 0.35rem;
}
.commitment-college {
  margin: 0;
  color: var(--cyan);
  font-size: 0.98rem;
  font-weight: 600;
}
.commitment-college strong { color: var(--text); font-weight: 700; }
.commitment-body > p:last-child {
  margin: 0.2rem 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (min-width: 860px) {
  .athletes-hero,
  .commitments-hero { padding: 3.4rem 0 1.8rem; }
  .commitment-grid { grid-template-columns: 1fr 1fr 1fr; gap: 1.15rem; align-items: stretch; }
}
@media (max-width: 479px) {
  .athletes-cta .contact-cta-actions .btn,
  .commitments-cta .contact-cta-actions .btn { width: 100%; }
}

/* More nav items (Our Athletes, Commitments): keep the hamburger until 1099px */
@media (max-width: 1099px) {
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
    width: 44px; height: 44px; flex-shrink: 0; margin-left: -0.4rem;
    background: transparent; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer;
  }
  .menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.2s ease, opacity 0.2s ease; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-header nav { order: 0; }
  .site-header .nav-links {
    display: none;
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255, 255, 255, 0.98); border-bottom: 1px solid var(--line-strong);
    padding: 0.5rem 1.25rem 1rem; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  }
  .site-header.menu-open .nav-links { display: flex; }
  .site-header .nav-links a { display: block; padding: 0.85rem 0.2rem; font-size: 1.02rem; border-bottom: 1px solid var(--line); white-space: normal; }
  .site-header .nav-links li:last-child a { border-bottom: 0; }
  .site-header .brand { margin-right: auto; }
}
@media (min-width: 1100px) {
  .nav-links { display: flex; gap: 0.62rem; }
  .nav-links a { font-size: 0.82rem; white-space: nowrap; }
  .site-header .wrap { width: min(1280px, calc(100% - 2rem)); }
  .menu-toggle { display: none; }
}
@media (min-width: 1100px) and (max-width: 1399px) {
  .nav-links { gap: 0.48rem; }
  .nav-links a { font-size: 0.78rem; }
  .site-header .header-cta .cta-full { display: none; }
  .site-header .header-cta .cta-short { display: inline; }
}

/* ---------- App Store / Google Play badges (coming soon) ---------- */
.app-cta {
  padding-top: 1rem;
  padding-bottom: 4rem;
}
.contact-cta {
  padding-bottom: 1rem;
}
.app-cta-panel {
  text-align: center;
  background:
    radial-gradient(520px 240px at 50% 0%, rgba(196, 18, 26, 0.16), transparent 62%),
    var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 2rem 1.35rem 2.15rem;
}
.app-cta-panel .section-intro {
  margin: 0 auto 1.55rem;
}
.app-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.05rem 1.15rem;
}
.store-badge-wrap {
  position: relative;
  display: inline-block;
  padding-top: 0.75rem;
}
.soon-ribbon {
  position: absolute;
  top: 0;
  right: -0.4rem;
  z-index: 1;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(196, 18, 26, 0.35);
  pointer-events: none;
  white-space: nowrap;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  height: 54px;
  padding: 0 1.05rem 0 0.85rem;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9px;
  font-family: var(--font-body);
  line-height: 1;
  cursor: default;
  user-select: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.store-badge__icon {
  flex-shrink: 0;
  display: block;
  width: 26px;
  height: 26px;
}
.store-badge__icon--apple {
  width: 22px;
  height: 26px;
}
.store-badge__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.16rem;
}
.store-badge__kicker {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
}
.store-badge--play .store-badge__kicker {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.store-badge__name {
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  color: #fff;
}
.app-cta-note {
  margin: 1rem auto 0;
  max-width: 28rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Footer badges */
.footer-apps {
  margin: 1.15rem 0 1.25rem;
}
.footer-apps-label {
  margin: 0 0 0.6rem !important;
  max-width: none !important;
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange) !important;
}
.footer-apps .app-badges {
  justify-content: flex-start;
  gap: 0.85rem 0.9rem;
}
.app-badges--footer .store-badge-wrap {
  padding-top: 0.72rem;
}
.app-badges--footer .store-badge {
  height: 44px;
  padding: 0 0.78rem 0 0.62rem;
  border-radius: 7px;
  gap: 0.52rem;
  box-shadow: none;
}
.app-badges--footer .store-badge__icon {
  width: 20px;
  height: 20px;
}
.app-badges--footer .store-badge__icon--apple {
  width: 16px;
  height: 20px;
}
.app-badges--footer .store-badge__kicker {
  font-size: 0.52rem;
}
.app-badges--footer .store-badge--play .store-badge__kicker {
  font-size: 0.48rem;
  letter-spacing: 0.08em;
}
.app-badges--footer .store-badge__name {
  font-size: 0.92rem;
}
.app-badges--footer .store-badge__text {
  gap: 0.1rem;
}
.app-badges--footer .soon-ribbon {
  font-size: 0.48rem;
  padding: 0.13rem 0.34rem;
  right: -0.28rem;
  top: 0;
}

@media (min-width: 860px) {
  .app-cta-panel {
    padding: 2.4rem 2.4rem 2.5rem;
  }
  .app-cta .store-badge {
    height: 58px;
    padding: 0 1.15rem 0 0.95rem;
  }
  .app-cta .store-badge__icon {
    width: 28px;
    height: 28px;
  }
  .app-cta .store-badge__icon--apple {
    width: 24px;
    height: 28px;
  }
  .app-cta .store-badge__name {
    font-size: 1.28rem;
  }
}

/* App CTA panel: equal-size badges, everything centred */
.app-cta-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.app-cta-panel .section-label,
.app-cta-panel .section-title,
.app-cta-panel .section-intro,
.app-cta-panel .app-cta-note {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.app-cta-panel .section-intro {
  max-width: 38rem;
  margin-bottom: 1.55rem;
}
.app-cta .app-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 0.7rem 1.15rem;
  width: 100%;
  margin: 0;
}
.app-cta .store-badge-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 190px;
  padding-top: 0;
  gap: 0.45rem;
}
.app-cta .soon-ribbon {
  position: static;
  top: auto;
  right: auto;
}
.app-cta .store-badge {
  width: 190px;
  box-sizing: border-box;
  justify-content: flex-start;
}
.app-cta .store-badge__text {
  text-align: left;
  align-items: flex-start;
}
/* sample profile photo: a touch brighter */
.pf-hero-media { filter: brightness(1.18) contrast(1.05); }

/* ---------- Accounts: header login link ---------- */
.header-actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.header-login {
  color: var(--text-soft); text-decoration: none; font-weight: 600; font-size: 0.9rem;
  white-space: nowrap; padding: 0.55rem 0.15rem; border-radius: 6px;
}
.header-login:hover { color: var(--text); }
.header-login.is-signed-in { color: var(--text); }
@media (min-width: 1100px) and (max-width: 1399px) { .header-login { font-size: 0.82rem; } .header-actions { gap: 0.8rem; } }
@media (max-width: 479px) {
  .header-actions { gap: 0.7rem; }
  .header-login { font-size: 0.86rem; }
}
@media (max-width: 379px) {
  .site-header .wrap { gap: 0.45rem; }
  .header-actions { gap: 0.55rem; }
  .header-cta { padding: 0.65rem 0.75rem; }
  .brand-name { font-size: 1.3rem; }
}

/* ---------- Accounts: login / account / staff ---------- */
.auth-main { padding: 3rem 0 4.5rem; background: radial-gradient(600px 300px at 10% 0%, rgba(196, 18, 26, 0.12), transparent 60%); }
.auth-wrap { max-width: 460px; }
.auth-card {
  background: var(--bg-card); border: 1px solid var(--line-strong); border-radius: 18px;
  padding: 1.6rem 1.3rem 1.4rem; box-shadow: var(--shadow);
}
.auth-card h1 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 7vw, 2.6rem); line-height: 1; margin: 0.2rem 0 0.6rem; }
.auth-sub { margin: 0 0 1.3rem; color: var(--text-soft); }
.auth-form { display: grid; gap: 1rem; }
.auth-form .btn { width: 100%; }
.auth-links { margin: 1.1rem 0 0; display: grid; gap: 0.45rem; font-size: 0.92rem; color: var(--text-muted); text-align: center; }
.auth-links a { font-weight: 600; }
.auth-error { margin: 0; color: var(--danger); font-size: 0.9rem; font-weight: 600; }
.auth-error:empty { display: none; }
@media (min-width: 640px) { .auth-card { padding: 2.1rem 2rem 1.8rem; } }

.account-wrap { max-width: 860px; }
.account-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.account-head h1 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.1rem, 7vw, 3rem); line-height: 1; margin: 0.2rem 0 0; }
.account-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0.8rem; margin-bottom: 1.2rem; }
.account-tile { background: var(--bg-card); border: 1px solid var(--line-strong); border-radius: 14px; padding: 1rem 1.1rem; }
.account-tile .k { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.35rem; }
.account-tile .v { font-size: 1.08rem; font-weight: 600; overflow-wrap: anywhere; }
.status-pill { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.2rem 0.65rem; border-radius: 999px; font-size: 0.85rem; font-weight: 700; background: var(--cyan-dim); color: var(--cyan); }
.status-pill.is-draft { background: rgba(255, 255, 255, 0.07); color: var(--text-soft); }
.status-pill.is-submitted { background: var(--orange-dim); color: var(--orange-hot); }
.status-pill.is-reviewed { background: rgba(61, 220, 151, 0.14); color: var(--success); }
.account-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 0 0 1.6rem; }
.account-summary { background: var(--bg-card); border: 1px solid var(--line-strong); border-radius: 18px; padding: 1.3rem 1.2rem; }
.account-summary h2 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 1.35rem; letter-spacing: 0.03em; margin: 0 0 0.8rem; }
.account-summary dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 0.1rem; }
.account-summary dt { color: var(--text-muted); font-size: 0.8rem; margin-top: 0.55rem; }
.account-summary dd { margin: 0; font-size: 0.95rem; overflow-wrap: anywhere; }
.account-empty { margin: 0; color: var(--text-soft); }
@media (min-width: 640px) {
  .account-summary { padding: 1.6rem 1.7rem; }
  .account-summary dl { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 0.25rem 1.2rem; }
  .account-summary dt, .account-summary dd { margin-top: 0.4rem; }
}
.account-loading { color: var(--text-muted); }

.staff-wrap { max-width: 1240px; }
.staff-tools { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin: 0 0 1rem; }
.staff-tools .input { max-width: 320px; }
.staff-count { color: var(--text-muted); font-size: 0.9rem; }
.staff-table-wrap { overflow-x: auto; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--bg-card); }
.staff-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 820px; }
.staff-table th, .staff-table td { text-align: left; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.staff-table th { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; background: rgba(7, 11, 20, 0.4); }
.staff-table tr:last-child td { border-bottom: 0; }
.staff-table td.muted { color: var(--text-muted); }
.staff-detail { margin-top: 0.4rem; }
.staff-detail summary { cursor: pointer; color: var(--cyan); font-weight: 600; font-size: 0.85rem; }
.staff-detail pre { white-space: pre-wrap; word-break: break-word; font-size: 0.78rem; background: #0b1220; border: 1px solid var(--line); border-radius: 8px; padding: 0.7rem; max-height: 360px; overflow: auto; }
.staff-denied { max-width: 520px; }

/* ---------- Sample profile: coach messages (static example) ---------- */
.pf-example-tag { display: inline-flex; align-items: center; padding: 0.18rem 0.6rem; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, 0.28); color: var(--text-soft) !important; font-size: 0.7rem !important; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.pf-msgs-intro { margin: -0.4rem 0 1rem; color: var(--text-muted); font-size: 0.88rem; }
.pf-thread { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.pf-msg { border: 1px solid var(--line); border-radius: 14px; padding: 0.9rem 1rem; background: rgba(7, 11, 20, 0.35); }
.pf-msg-athlete { background: rgba(196, 18, 26, 0.06); border-color: rgba(196, 18, 26, 0.25); margin-left: clamp(0rem, 5vw, 2.5rem); }
.pf-msg-coach { margin-right: clamp(0rem, 5vw, 2.5rem); }
.pf-msg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.7rem; margin-bottom: 0.55rem; }
.pf-msg-meta > div { display: grid; line-height: 1.25; min-width: 0; }
.pf-msg-meta strong { font-size: 0.95rem; }
.pf-msg-meta div span { color: var(--text-muted); font-size: 0.78rem; display: inline-flex; align-items: center; gap: 0.3rem; }
.pf-msg-meta time { margin-left: auto; color: var(--text-muted); font-size: 0.75rem; white-space: nowrap; }
.pf-msg p { margin: 0; color: var(--text-soft); font-size: 0.93rem; line-height: 1.55; }
.pf-avatar { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 0.78rem; font-weight: 700; background: var(--cyan-dim); color: var(--cyan); flex-shrink: 0; }
.pf-avatar-athlete { background: var(--orange-dim); color: var(--orange-hot); }
.pf-cc-tag { display: inline-flex; align-items: center; padding: 0.15rem 0.55rem; border-radius: 999px; background: rgba(61, 220, 151, 0.14); color: var(--success); font-size: 0.72rem; font-weight: 700; }
.pf-book { margin-top: 1.1rem; border: 1px solid var(--line-strong); border-radius: 14px; padding: 1rem; background: var(--bg-elevated); }
.pf-book-head { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; }
.pf-book-head h3 { margin: 0; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 1.05rem; }
.pf-book-sub { margin: 0.35rem 0 0.8rem; color: var(--text-muted); font-size: 0.85rem; }
.pf-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0.55rem; margin-bottom: 0.9rem; }
.pf-slot { display: grid; gap: 0.15rem; text-align: left; padding: 0.7rem 0.85rem; border-radius: 10px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font: inherit; cursor: default; opacity: 1; }
.pf-slot strong { font-size: 0.92rem; }
.pf-slot span { color: var(--text-muted); font-size: 0.82rem; }
.pf-slot.is-selected { border-color: var(--orange); background: var(--orange-dim); }
.pf-slot.is-selected span { color: var(--text-soft); }
.pf-book-btn { width: 100%; }
.pf-book-btn[disabled] { opacity: 0.85; cursor: not-allowed; transform: none; }
.pf-book-note { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0.85rem 0 0; color: var(--text-soft); font-size: 0.85rem; line-height: 1.5; }
.pf-book-note .tick { margin-top: 0.2rem; flex-shrink: 0; }
@media (min-width: 640px) { .pf-book-btn { width: auto; } }
.pf-book-tags { display: inline-flex; gap: 0.4rem; align-items: center; }
.pf-elite-tag { display: inline-flex; align-items: center; padding: 0.18rem 0.6rem; border-radius: 999px; background: var(--orange); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* Sample profile: social links (example handles) */
.pf-socials { list-style: none; margin: 0.55rem 0 0.2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pf-socials a { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.32rem 0.7rem 0.32rem 0.5rem; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(7, 11, 20, 0.55); color: var(--text-soft); text-decoration: none; font-size: 0.8rem; font-weight: 600; }
.pf-socials a:hover { color: var(--text); border-color: rgba(196, 18, 26, 0.5); }
.pf-socials svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; flex-shrink: 0; }
.pf-socials svg .f, .pf-socials svg.solid { fill: currentColor; stroke: none; }

/* Partner logos: clean white tiles, side by side, logos filling the tile */
.partner-strip { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.partner-tile { background: #000 !important; border: 0 !important; border-radius: 14px; padding: 0.6rem !important; display: flex !important; align-items: center; justify-content: center; height: 140px; min-height: 0 !important; overflow: hidden; }
.partner-tile picture { display: contents; }
.partner-tile img { width: auto !important; height: auto !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain; display: block; margin: 0 auto; }
@media (min-width: 760px) { .partner-tile { height: 180px; } }

/* ---------- Athlete profile pages (courtscout.au/<Name>) ---------- */
.pf-hero-plain { min-height: 420px; background: radial-gradient(700px 360px at 85% 10%, rgba(196, 18, 26, 0.16), transparent 60%), radial-gradient(600px 300px at 0% 100%, rgba(196, 18, 26, 0.08), transparent 60%), #05080f; }
.pf-owner-pill a { color: var(--cyan); font-weight: 700; }
.pf-film-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.pf-film-list a { display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 0.95rem; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(7, 11, 20, 0.35); color: var(--text); text-decoration: none; }
.pf-film-list a:hover { border-color: rgba(196, 18, 26, 0.5); }
.pf-film-tag { flex-shrink: 0; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); min-width: 6.2rem; }
.pf-film-cap { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 0.92rem; }
.pf-film-go { color: var(--text-muted); }
.account-link { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 0 0 1.2rem; padding: 1rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--bg-card); }
.account-link .k { width: 100%; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.account-link a { font-weight: 600; font-size: 1.02rem; overflow-wrap: anywhere; }
.account-link .rv-muted { width: 100%; }
.pf-meas .c-self { display: block; margin-top: 0.45rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- Header buttons: Log in / My account (outline) + Get started (filled), same size ---------- */
.site-header .header-actions { gap: 0.6rem; }
.site-header .header-actions .header-login,
.site-header .header-actions .header-cta {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  height: 38px; padding: 0 0.95rem; border-radius: 8px;
  font-size: 0.86rem; font-weight: 600; line-height: 1; white-space: nowrap; flex-shrink: 0;
  border: 1px solid transparent; transform: none;
}
.site-header .header-actions .header-login {
  color: var(--text); background: transparent; border-color: var(--line-strong); text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.site-header .header-actions .header-login:hover { border-color: rgba(196, 18, 26, 0.5); background: var(--cyan-dim); color: var(--text); }
.site-header .header-actions .btn-primary.header-cta { border-color: var(--orange); box-shadow: 0 6px 18px rgba(196, 18, 26, 0.2); }
.site-header .header-actions .btn-primary.header-cta:hover { border-color: var(--orange-hot); transform: none; }
.site-header .header-actions .btn-ghost.header-cta { border-color: var(--line-strong); }
@media (min-width: 1100px) and (max-width: 1399px) {
  .site-header .header-actions .header-login,
  .site-header .header-actions .header-cta { font-size: 0.82rem; padding: 0 0.85rem; }
}
@media (max-width: 479px) {
  .site-header .header-actions { gap: 0.45rem; }
  .site-header .header-actions .header-login,
  .site-header .header-actions .header-cta { height: 36px; padding: 0 0.7rem; font-size: 0.8rem; }
}
@media (max-width: 379px) {
  .site-header .header-actions { gap: 0.35rem; }
  .site-header .header-actions .header-login,
  .site-header .header-actions .header-cta { padding: 0 0.55rem; font-size: 0.76rem; }
}
@media (max-width: 1099px) {
  .site-header .menu-toggle { width: 38px; height: 38px; margin-left: 0; border-radius: 8px; }
}
@media (max-width: 479px) {
  .site-header .menu-toggle { width: 36px; height: 36px; }
}

/* Header buttons v2: smaller (desktop 34px, mobile 32px) */
.site-header .header-actions .header-login,
.site-header .header-actions .header-cta { height: 34px; padding: 0 0.85rem; font-size: 0.84rem; border-radius: 10px; }
.site-header .header-actions .btn-primary.header-cta { box-shadow: 0 3px 10px rgba(196, 18, 26, 0.16); }
@media (max-width: 1099px) { .site-header .menu-toggle { width: 34px; height: 34px; border-radius: 10px; } }
@media (max-width: 479px) {
  .site-header .wrap { gap: 8px; }
  .site-header .header-actions { gap: 8px; }
  .site-header .header-actions .header-login,
  .site-header .header-actions .header-cta { height: 32px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
  .site-header .menu-toggle { width: 32px; height: 32px; gap: 3.5px; }
  .site-header .menu-toggle span { width: 15px; }
  .site-header .brand-name { font-size: 1.32rem; }
}
@media (max-width: 379px) {
  .site-header .wrap { gap: 6px; }
  .site-header .header-actions { gap: 6px; }
  .site-header .header-actions .header-login,
  .site-header .header-actions .header-cta { padding: 0 10px; font-size: 13px; }
  .site-header .brand-name { font-size: 1.2rem; }
}

/* Account: plan change notice */
.account-plan-note { margin: 1rem 0 0; padding: 0.85rem 1rem; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(255,255,255,0.03); color: var(--muted, #a9b3c4); font-size: 0.92rem; line-height: 1.55; }
.account-plan-note a { color: var(--cyan, #3be0ff); }
.account-plan-note.is-warn { border-color: rgba(196, 18, 26, 0.55); background: rgba(196, 18, 26, 0.08); color: var(--text); }
.account-plan-note strong { color: var(--text); }
/* Staff: plan controls */
.staff-plan { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.staff-plan select, .staff-plan input { background: #0b1220; color: var(--text); border: 1px solid var(--line-strong); border-radius: 8px; padding: 4px 6px; font: inherit; font-size: 0.8rem; }
.staff-plan button { font-size: 0.78rem; padding: 4px 10px; height: auto; }
.staff-plan-pending { display: block; font-size: 0.78rem; color: var(--orange, #ff5c1a); margin-top: 4px; }
.staff-plan-msg { display: block; font-size: 0.78rem; margin-top: 4px; }
.staff-plan-pending .btn { padding: 2px 8px; font-size: 0.74rem; height: auto; min-height: 0; margin-left: 4px; }

/* Programs page */
.program-member-note { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; margin-top: 1.4rem; padding: 0.9rem 1.1rem; border: 1px solid rgba(196, 18, 26, 0.45); border-radius: 14px; background: rgba(196, 18, 26, 0.07); max-width: 760px; }
.program-member-note p { margin: 0; color: var(--text); font-size: 0.95rem; line-height: 1.5; flex: 1 1 260px; }
.program-member-note a { color: var(--cyan, #3be0ff); }
.program-soon { margin: 0 0 1.4rem; padding: 0.8rem 1rem; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--muted, #a9b3c4); font-size: 0.93rem; line-height: 1.5; }
.program-soon strong { color: var(--text); }
.program-card .event-meta { margin-top: auto; }
@media (min-width: 700px) and (max-width: 1099px) { .program-grid > .program-card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .event-grid.program-grid { grid-template-columns: repeat(6, 1fr); } .program-grid > .program-card { grid-column: span 2; } .program-grid > .program-card:nth-child(4) { grid-column: 2 / span 2; } }

/* ---------- Sample coach profile (/coach/sample/) ---------- */
.cp-hero { min-height: 460px; }
.cp-hero-row { display: flex; align-items: flex-end; gap: 1.4rem; flex-wrap: wrap; }
.cp-photo { flex: 0 0 auto; width: 132px; height: 132px; border-radius: 24px; display: grid; place-items: center; align-content: center; gap: 0.2rem;
  background: linear-gradient(145deg, rgba(196, 18, 26, 0.14), rgba(196, 18, 26, 0.14)), #0d1424; border: 1px dashed var(--line-strong); }
.cp-photo span { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--text); letter-spacing: 0.02em; }
.cp-photo small { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.cp-hero-row .pf-hero-text { flex: 1 1 320px; min-width: 0; }
.cp-info-grid { display: grid; grid-template-columns: 1fr; gap: 0 1.6rem; }
.cp-info-grid > ul + ul { border-top: 1px solid var(--line); }
.cp-info-grid .pf-acad-list strong { white-space: normal; }
.cp-text { margin: 1rem 0 0; color: var(--text-soft); font-size: 0.92rem; line-height: 1.6; }
.cp-class { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.cp-class:first-of-type { margin-top: 0.4rem; }
.cp-class-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.cp-class-head h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: 0.02em; text-transform: uppercase; }
.cp-status { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; padding: 0.3rem 0.7rem; border-radius: 999px; border: 1px solid; }
.cp-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.cp-status.is-active { color: #4ade80; border-color: rgba(74, 222, 128, 0.4); background: rgba(74, 222, 128, 0.08); }
.cp-status.is-eval { color: #fbbf24; border-color: rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.08); }
.cp-status.is-full { color: var(--text-muted); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.cp-class-intro { margin: 0.45rem 0 0.8rem; color: var(--text-soft); font-size: 0.88rem; }
.cp-needs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0.7rem; }
@media (min-width: 760px) { .cp-needs { grid-template-columns: 1fr 1fr; } }
.cp-need { padding: 0.95rem 1rem; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.55rem; }
.cp-need-top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem; }
.cp-need-top strong { font-size: 1rem; }
.cp-spots { font-family: var(--font-display); font-weight: 600; color: var(--orange); font-size: 1rem; white-space: nowrap; }
.cp-need-type { margin: 0; color: var(--text-soft); font-size: 0.86rem; line-height: 1.5; }
.cp-need-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.cp-need-tags li { font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.6rem; border-radius: 999px; background: var(--cyan-dim); color: #9eeeff; border: 1px solid rgba(196, 18, 26, 0.25); }
.cp-need-meta { margin: auto 0 0; display: grid; grid-template-columns: 1fr auto; gap: 0.6rem; padding-top: 0.55rem; border-top: 1px solid var(--line); }
.cp-need-meta dt { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.cp-need-meta dd { margin: 0.15rem 0 0; font-size: 0.86rem; font-weight: 600; }
.cp-list { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.55rem; color: var(--text-soft); font-size: 0.9rem; line-height: 1.55; }
.cp-list strong { color: var(--text); }
.cp-steps a { color: var(--cyan); }
.cp-cta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.1rem; }
.cp-cal li { grid-template-columns: 1fr; }
.network-sample-link { margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; }
.network-sample-link a { color: var(--cyan); font-weight: 600; text-decoration: none; }
.network-sample-link a:hover { text-decoration: underline; }
@media (max-width: 559px) { .cp-photo { width: 96px; height: 96px; border-radius: 18px; } .cp-photo span { font-size: 1.9rem; } }
.network-card-link { margin-top: 0.8rem; }
.network-card-link a { color: var(--cyan); font-weight: 600; text-decoration: none; }
.network-card-link a:hover { text-decoration: underline; }

/* ---------- Account type choice (login + join), coach sign-up, verify ---------- */
.acct-choice { display: grid; gap: 0.75rem; margin-top: 0.4rem; }
.acct-choice-btn { display: flex; align-items: center; gap: 0.9rem; width: 100%; text-align: left; padding: 1rem 1.1rem; border-radius: 14px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-strong); color: var(--text); font: inherit; cursor: pointer; text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease; }
.acct-choice-btn:hover, .acct-choice-btn:focus-visible { border-color: var(--orange); background: rgba(196, 18, 26, 0.08); outline: none; }
.acct-choice-btn.is-active { border-color: var(--orange); background: rgba(196, 18, 26, 0.1); }
.acct-choice-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-dim); color: var(--orange); }
.acct-choice-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.acct-choice-txt { display: grid; gap: 0.15rem; }
.acct-choice-txt strong { font-size: 1.08rem; }
.acct-choice-txt span { font-size: 0.86rem; color: var(--text-muted); }
.acct-choice-inline { grid-template-columns: 1fr 1fr; margin: 0 0 0.4rem; }
.acct-choice-inline .acct-choice-btn { padding: 0.8rem 0.9rem; }
@media (max-width: 479px) { .acct-choice-inline { grid-template-columns: 1fr; } }
.link-btn { background: none; border: 0; padding: 0; color: var(--cyan); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; letter-spacing: inherit; text-transform: inherit; }
.auth-wrap-wide { max-width: 640px; }
.auth-grid { grid-template-columns: 1fr; }
@media (min-width: 560px) { .auth-grid { grid-template-columns: 1fr 1fr; } .auth-grid .span2 { grid-column: 1 / -1; } }
.auth-grid .q-help { margin: 0.35rem 0 0; font-size: 0.8rem; color: var(--text-muted); }
.human-check { min-height: 65px; }
.coach-details { margin: 0 0 1rem; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.coach-details div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0.85rem; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.coach-details div:last-child { border-bottom: 0; }
.coach-details dt { color: var(--text-muted); }
.coach-details dd { margin: 0; font-weight: 600; text-align: right; }
.coach-dash-grid { display: grid; gap: 1rem; margin: 1.4rem 0; }
@media (min-width: 760px) { .coach-dash-grid { grid-template-columns: repeat(3, 1fr); } }
.coach-dash-grid h2 { font-size: 1.1rem; margin: 0.6rem 0 0.4rem; }
.coach-dash-grid p { margin: 0 0 0.9rem; color: var(--text-soft); font-size: 0.9rem; }
.verify-banner { margin: 0 0 1rem; padding: 0.85rem 1rem; border: 1px solid rgba(196, 18, 26, 0.55); border-radius: 12px; background: rgba(196, 18, 26, 0.08); font-size: 0.92rem; line-height: 1.5; }
.verify-banner a { color: var(--cyan); font-weight: 600; }
.staff-h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.3rem; margin: 1.6rem 0 0.8rem; }
.staff-domain-form { margin: 1rem 0 0; }
.staff-domain-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.staff-domain-row .input { flex: 1 1 240px; }

/* hello@ contact email */
.footer-email { margin: 0 0 0.9rem; font-size: 0.95rem; color: var(--text-muted); }
.footer-email a { color: var(--cyan); font-weight: 600; text-decoration: none; word-break: break-all; }
.footer-email a:hover { text-decoration: underline; }
.contact-email { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; padding: 0.9rem 0.6rem; margin-bottom: 0.75rem; border: 1px solid var(--line-strong); border-radius: 10px; text-decoration: none; color: var(--text); transition: border-color .2s; }
.contact-email:hover { border-color: var(--orange); }
.account-help { margin: 1rem 0 0; color: var(--text-muted); font-size: 0.95rem; }
.account-help a { color: var(--cyan); font-weight: 600; }

/* promo codes */
.promo-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92rem; color: var(--cyan); letter-spacing: 0.03em; white-space: nowrap; }
.staff-h3 { font-size: 1rem; margin: 1.4rem 0 0.6rem; }
.staff-promos .promo-max { width: 5.5rem; }
.staff-promos .promo-exp { width: 10rem; }
.account-promo { margin: 1.25rem 0 0; max-width: 32rem; }
.account-promo-row { display: flex; gap: 0.5rem; }
.account-promo-row .input { flex: 1; min-width: 0; }
.promo-banner.is-error { border-color: var(--orange); }

/* ---------- NCAA subject plan (ncaa/ncaa-plan.js) ---------- */
.np { background: linear-gradient(180deg, rgba(196, 18, 26, 0.07), rgba(16, 25, 43, 0.6)); border: 1px solid rgba(196, 18, 26, 0.28); border-radius: 16px; padding: 1.1rem 1rem 1rem; color: var(--text); }
.np.np-wait { background: rgba(255, 255, 255, 0.03); border-style: dashed; border-color: var(--line-strong); }
.np-head { margin-bottom: 0.55rem; }
.np-kicker { margin: 0 0 0.15rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.np-title { margin: 0; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.3rem; }
.np-summary, .np-empty { margin: 0 0 0.8rem; color: var(--text-soft); font-size: 0.95rem; line-height: 1.5; }
.np-empty { margin: 0; }
.np-empty a, .np-disc a, .np-src a, .np-edit a { color: var(--cyan); font-weight: 600; }
.np-warn { margin: 0 0 0.85rem; padding: 0.65rem 0.8rem; border-radius: 10px; background: var(--orange-dim); border: 1px solid rgba(196, 18, 26, 0.4); font-size: 0.9rem; line-height: 1.45; }
.np-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.45rem; margin: 0 0 0.5rem; }
.np-rule { display: flex; align-items: center; gap: 0.55rem; background: rgba(7, 11, 20, 0.45); border: 1px solid var(--line); border-radius: 10px; padding: 0.5rem 0.6rem; font-size: 0.82rem; line-height: 1.3; color: var(--text-soft); }
.np-num { flex-shrink: 0; width: 1.9rem; height: 1.9rem; border-radius: 8px; display: grid; place-items: center; background: var(--orange); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.np-small { margin: 0.35rem 0 0.8rem; font-size: 0.83rem; color: var(--text-muted); line-height: 1.5; }
.np-small strong { color: var(--text-soft); }
.np-steps { list-style: none; margin: 0.4rem 0 0.4rem; padding: 0; display: grid; gap: 0.55rem; }
.np-step { border: 1px solid var(--line-strong); border-radius: 12px; padding: 0.7rem 0.8rem; background: rgba(7, 11, 20, 0.4); }
.np-step.is-now { border-color: rgba(196, 18, 26, 0.6); box-shadow: inset 3px 0 0 var(--orange); }
.np-step.is-done { opacity: 0.72; }
.np-step-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.np-step-title { font-weight: 700; font-size: 1rem; }
.np-cal { color: var(--text-muted); font-weight: 500; font-size: 0.85rem; margin-left: 0.25rem; }
.np-pill { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: var(--text-soft); white-space: nowrap; }
.np-step.is-now .np-pill { background: var(--orange); color: #fff; }
.np-step.is-done .np-pill { background: rgba(61, 220, 151, 0.14); color: var(--success); }
.np-target { margin: 0.3rem 0 0.35rem; font-size: 0.85rem; font-weight: 600; color: var(--cyan); }
.np-bullets { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.25rem; font-size: 0.88rem; color: var(--text-soft); line-height: 1.45; }
.np-more { margin-top: 0.55rem; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(7, 11, 20, 0.35); }
.np-more > summary { cursor: pointer; list-style: none; padding: 0.7rem 0.85rem; font-weight: 600; font-size: 0.92rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.np-more > summary::-webkit-details-marker { display: none; }
.np-more > summary::after { content: "+"; color: var(--orange); font-size: 1.2rem; }
.np-more[open] > summary::after { content: "–"; }
.np-more > *:not(summary) { margin-left: 0.85rem; margin-right: 0.85rem; }
.np-more > *:last-child { margin-bottom: 0.85rem; }
.np-cols { display: grid; grid-template-columns: 1fr; gap: 0.7rem; }
.np-col h4, .np-avoid h4 { margin: 0 0 0.3rem; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-hot); }
.np-avoid { margin-top: 0.8rem; padding-top: 0.7rem; border-top: 1px dashed var(--line-strong); }
.np-avoid h4 { color: var(--text-muted); }
.np-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; font-size: 0.88rem; }
.np-list > li { line-height: 1.4; }
.np-note { display: block; color: var(--text-muted); font-size: 0.78rem; margin-top: 0.1rem; }
.np-tag { display: inline-block; margin-left: 0.35rem; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.05rem 0.4rem; border-radius: 999px; vertical-align: 1px; white-space: nowrap; }
.np-check { background: rgba(255, 196, 0, 0.14); color: #ffd25a; }
.np-no { background: rgba(255, 107, 107, 0.14); color: var(--danger); }
.np-disc { margin: 0.9rem 0 0.3rem; font-size: 0.82rem; color: var(--text-soft); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 10px; padding: 0.6rem 0.75rem; line-height: 1.5; }
.np-src { margin: 0.3rem 0 0; font-size: 0.74rem; color: var(--text-muted); line-height: 1.5; }
.np-edit { margin: 0.7rem 0 0; font-size: 0.88rem; color: var(--text-soft); }
.account-ncaa { margin-bottom: 1.2rem; padding: 0; background: none; border: 0; }
.np-step.is-done .np-bullets { display: none; }
@media (max-width: 479px) {
  .np { padding: 0.95rem 0.8rem 0.85rem; }
  .np-rules { grid-template-columns: 1fr; gap: 0.35rem; }
  .np-rule { padding: 0.4rem 0.55rem; }
  .np-num { width: 1.6rem; height: 1.6rem; font-size: 0.95rem; }
}
@media (min-width: 640px) {
  .np { padding: 1.3rem 1.3rem 1.15rem; }
  .np-rules { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .np-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .np-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* ---- BNE Royals light-theme overrides (red + white) ---- */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}
.site-header .nav-links {
  background: transparent;
}
@media (max-width: 1099px) {
  .site-header .nav-links {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(26, 17, 18, 0.12);
  }
}
@media (max-width: 859px) {
  .site-header .nav-links {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(26, 17, 18, 0.12);
  }
}
.hero-bg {
  background:
    radial-gradient(700px 420px at 15% 0%, rgba(196, 18, 26, 0.10), transparent 60%),
    radial-gradient(600px 400px at 95% 20%, rgba(196, 18, 26, 0.06), transparent 62%),
    linear-gradient(180deg, #fff7f7 0%, var(--bg) 100%);
}
.skip-link { background: var(--orange); color: #fff; }
.site-footer {
  background: #8b0e14;
  color: #fff;
  border-top: 0;
}
.site-footer a { color: #fff; text-decoration-color: rgba(255,255,255,0.45); }
.site-footer a:hover { color: #ffe8e8; }
.site-footer .brand-name,
.site-footer .brand-name span,
.footer-brand .brand-name { color: #fff; }
.site-footer p, .site-footer .credit, .site-footer .footer-email, .site-footer .footer-links { color: rgba(255,255,255,0.88); }
.page-hero, .legal-hero, .contact-hero, section.sub-hero {
  background:
    radial-gradient(600px 320px at 10% 0%, rgba(196, 18, 26, 0.10), transparent 60%),
    linear-gradient(180deg, #fff7f7 0%, var(--bg) 70%);
}
.feature, .step, .network-card, .card, .signup-panel, .contact-panel, .mini-card, .plan-card, .athlete-card, .shop-card {
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(26, 17, 18, 0.06);
  background: var(--bg-card);
}
input, select, textarea, .field-block input, .field-block select, .field-block textarea {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
.btn-ghost:hover { border-color: var(--orange); background: var(--orange-dim); color: var(--text); }
a:hover { color: var(--orange-hot); }
.brand img { height: 44px; width: auto; }
@media (max-width: 479px) { .brand img, .brand-logo { height: 34px; } }
.gallery, .testimonial-grid, .athlete-grid, .shot-grid {
  display: grid;
  gap: 1.1rem;
}
.testimonial-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .testimonial-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .testimonial-grid { grid-template-columns: 1fr 1fr 1fr; } }
.testimonial-grid img, .hero-photos img, .athlete-card img, .shot-grid img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
}
.athlete-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .athlete-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .athlete-grid { grid-template-columns: repeat(3, 1fr); } }
.athlete-card { padding: 0 0 1.1rem; overflow: hidden; border-radius: var(--radius); }
.athlete-card img { border-radius: 0; aspect-ratio: 4/5; object-fit: cover; object-position: top; background: #f3ecec; }
.athlete-card h3 { margin: 0.9rem 1rem 0.2rem; font-family: var(--font-display); letter-spacing: 0.02em; text-transform: uppercase; }
.athlete-card p { margin: 0 1rem; color: var(--text-muted); font-size: 0.92rem; }
.hero-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.hero-photos img:first-child { grid-column: 1 / -1; max-height: 340px; object-fit: cover; }
.flight-table, .sched {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}
.flight-table th, .flight-table td, .sched th, .sched td {
  text-align: left;
  padding: 0.65rem 0.7rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.flight-table th { color: var(--orange); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.note-callout, .privacy-callout, .warn-callout {
  border: 1px solid var(--line-strong);
  background: var(--orange-dim);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 1.2rem 0;
}
.warn-callout { background: #fff7f7; }
.plan-grid { display: grid; gap: 1.2rem; }
@media (min-width: 860px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }
.plan-card { padding: 1.4rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: 0.7rem; }
.plan-card h3 { margin: 0; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; }
.plan-card ul { margin: 0; padding-left: 1.1rem; }
.plan-card .btn { margin-top: auto; }
.shop-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.5rem; }
.shop-cats a { display: inline-flex; padding: 0.4rem 0.8rem; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; color: var(--text); font-size: 0.88rem; font-weight: 600; }
.shop-cats a[aria-current="page"], .shop-cats a:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.empty-shop { padding: 2rem; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.prose { max-width: 760px; }
.prose h2 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; margin: 2rem 0 0.6rem; }
.prose h3 { margin: 1.4rem 0 0.4rem; }
.prose p, .prose li { color: var(--text-soft); }
.waiver-block { font-size: 0.92rem; color: var(--text-soft); }
.waiver-block p { margin: 0 0 0.9rem; }
.form-legal { color: var(--text-muted); font-size: 0.85rem; }
.logo-img { height: 44px; width: auto; }
.page-kicker { color: var(--orange); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; margin: 0 0 0.5rem; }

.hero-lead { margin: 0 0 1rem; color: var(--text-soft); font-size: 1.05rem; max-width: 40rem; }
.hero-court { opacity: 0.14; }
.thankyou[hidden] { display: none !important; }
