:root {
  color-scheme: dark;
  --bg: #11181c;
  --bg-2: #172127;
  --panel: #1e2a30;
  --panel-2: #27353c;
  --cream: #fff6e8;
  --muted: #c8d0cd;
  --line: rgba(255, 246, 232, 0.18);
  --blue: #6ec6ff;
  --orange: #f26935;
  --gold: #d3b66a;
  --green: #72d68a;
  --danger: #ff7a6d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at top left, rgba(110, 198, 255, 0.12), transparent 32rem),
    radial-gradient(circle at 78% 12%, rgba(211, 182, 106, 0.08), transparent 24rem),
    var(--bg);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  color: var(--cream);
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  cursor: pointer;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(17, 24, 28, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  padding: 9px 12px;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  border-color: rgba(110, 198, 255, 0.3);
  background: rgba(110, 198, 255, 0.08);
  color: var(--cream);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--cream);
}

.section-shell {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 86px clamp(18px, 4vw, 40px);
}

.hero {
  display: grid;
  min-height: calc(100vh - 72px);
  align-items: center;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.9fr);
  gap: clamp(34px, 5vw, 70px);
  overflow: hidden;
}

.court-grid {
  position: absolute;
  inset: 26px clamp(18px, 4vw, 40px);
  pointer-events: none;
  border: 1px solid rgba(244, 237, 223, 0.08);
  opacity: 0.65;
}

.court-grid::before,
.court-grid::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(211, 182, 106, 0.2);
}

.court-grid::before {
  inset: 10% 6%;
}

.court-grid::after {
  top: 50%;
  left: 50%;
  width: min(28vw, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero-copy,
.guide-panel,
.snapshot,
.featured,
.showcase,
.players,
.reports,
.dashboard,
.methodology,
.skills,
.about,
.contact {
  position: relative;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--orange);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Arial Narrow", "Roboto Condensed", Impact, ui-sans-serif, sans-serif;
  font-stretch: condensed;
  line-height: 0.98;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.2vw, 6.4rem);
  text-transform: uppercase;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 3.4vw, 3.8rem);
  text-transform: uppercase;
}

h3 {
  color: var(--cream);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.15;
}

.hero-lede {
  max-width: 760px;
  color: var(--cream);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.hero-note,
.section-heading p,
.case-copy p,
.project-card p,
.report-card p,
.method-card p,
.skill-grid p,
.about-panel p,
.contact-layout p {
  color: var(--muted);
}

.hero-note {
  max-width: 680px;
  margin-bottom: 28px;
}

.hero-actions,
.button-row,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn,
.contact-links a,
.report-card a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 15px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover,
.contact-links a:hover,
.report-card a:hover {
  transform: translateY(-2px);
}

.btn.primary {
  border-color: rgba(242, 105, 53, 0.7);
  background: var(--orange);
  color: #111;
}

.btn.secondary {
  border-color: rgba(110, 198, 255, 0.6);
  background: rgba(110, 198, 255, 0.11);
}

.btn.ghost {
  color: var(--muted);
}

.proof-strip {
  display: grid;
  max-width: 760px;
  margin-top: 30px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(30, 42, 48, 0.78);
}

.proof-strip div {
  padding: 14px;
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  display: block;
  color: var(--cream);
  font-size: 1.5rem;
}

.proof-strip span {
  color: var(--muted);
  font-size: 0.82rem;
}

.guide-panel {
  padding: 18px;
  border: 1px solid rgba(244, 237, 223, 0.18);
  background: rgba(30, 42, 48, 0.88);
  box-shadow: var(--shadow);
}

.guide-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
  text-transform: uppercase;
}

.guide-header strong {
  color: var(--cream);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.filter-bar button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  padding: 8px 11px;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.filter-bar button.active,
.filter-bar button:hover {
  border-color: rgba(110, 198, 255, 0.48);
  background: rgba(110, 198, 255, 0.1);
  color: var(--cream);
}

.report-preview-panel {
  display: grid;
  gap: 12px;
}

.report-preview-cover {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(110, 198, 255, 0.25);
  background:
    linear-gradient(135deg, rgba(110, 198, 255, 0.12), transparent 42%),
    linear-gradient(315deg, rgba(242, 105, 53, 0.13), transparent 50%),
    var(--panel);
  transition: transform 240ms ease, border-color 240ms ease;
}

.report-preview-cover h2 {
  max-width: 480px;
  margin: 14px 0 12px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.report-preview-cover:hover {
  border-color: rgba(242, 105, 53, 0.62);
  transform: translateY(-4px);
}

.report-preview-evidence {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.report-preview-evidence div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.035);
}

.report-preview-evidence span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.report-preview-evidence strong {
  color: var(--cream);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid currentColor;
  border-radius: 8px;
  padding: 3px 8px;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.badge.team {
  color: var(--blue);
}

.badge.player {
  color: var(--green);
}

.badge.shot {
  color: var(--gold);
}

.badge.lineup {
  color: #d1e1e5;
}

.badge.scouting {
  color: var(--orange);
}

.badge.model {
  color: var(--danger);
}

.mini-metrics,
.player-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.mini-metrics span,
.player-stats span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--muted);
}

.mini-metrics b {
  color: var(--cream);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.62fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
}

.snapshot-grid,
.site-map-grid,
.project-grid,
.report-grid,
.method-grid,
.skill-grid,
.player-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.profile-card,
.project-card,
.report-card,
.method-card,
.skill-grid article,
.player-card,
.identity-card,
.validation-panel,
.dashboard-shell,
.about-panel,
.contact-form,
.large-chart,
.case-study,
.chart-stack figure {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(30, 42, 48, 0.84);
}

.profile-card {
  min-height: 150px;
  padding: 18px;
}

.site-map-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.site-map-grid .profile-card {
  min-height: 210px;
}

.site-map-grid .profile-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.profile-card span,
.metric-tiles span,
.takeaway-grid span,
.identity-label,
.question-box span,
.target-list h3,
.panel-note span,
.report-card li,
.site-footer span {
  color: var(--muted);
}

.profile-card strong {
  display: block;
  margin-top: 14px;
  font-size: 1.12rem;
}

.tag-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.tag-strip span {
  border: 1px solid rgba(211, 182, 106, 0.28);
  border-radius: 8px;
  padding: 8px 11px;
  color: var(--cream);
  background: rgba(211, 182, 106, 0.07);
}

.case-study {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.78fr);
  gap: 20px;
  margin-bottom: 26px;
  padding: 20px;
}

.case-copy {
  padding: 12px;
}

.case-copy h3 {
  margin: 14px 0;
  font-size: clamp(1.9rem, 3.2vw, 3.4rem);
  font-family: "Arial Narrow", Impact, sans-serif;
  line-height: 0.98;
  text-transform: uppercase;
}

.question-box {
  margin: 22px 0;
  border-left: 3px solid var(--orange);
  padding-left: 16px;
}

.question-box strong {
  display: block;
  margin-top: 6px;
  max-width: 720px;
}

.metric-row,
.metric-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.metric-row div,
.metric-tiles div {
  border: 1px solid rgba(244, 237, 223, 0.13);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.metric-row b,
.metric-tiles strong {
  display: block;
  color: var(--cream);
  font-size: 1.45rem;
}

.metric-row span,
.metric-tiles span {
  display: block;
  font-size: 0.82rem;
}

.chart-stack {
  display: grid;
  gap: 12px;
}

.chart-stack figure,
.large-chart {
  margin: 0;
  padding: 14px;
}

.chart-stack img,
.large-chart img,
.dashboard-charts img {
  width: 100%;
  min-height: 170px;
  border-radius: 6px;
  background: #f7f4ec;
  object-fit: contain;
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.project-card,
.report-card,
.method-card,
.skill-grid article,
.player-card {
  position: relative;
  padding: 18px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.project-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.project-card:hover,
.report-card:hover,
.method-card:hover,
.skill-grid article:hover,
.player-card:hover {
  border-color: rgba(110, 198, 255, 0.38);
  background: rgba(39, 53, 60, 0.94);
  transform: translateY(-4px);
}

.project-card.is-hidden,
.report-card.is-hidden {
  display: none;
}

.project-card h3,
.report-card h3 {
  margin-top: 16px;
}

.project-card dl {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.project-card dt {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card dd {
  margin: 2px 0 0;
  color: var(--muted);
}

.insight {
  display: block;
  margin-top: 18px;
  color: var(--gold);
}

.project-actions {
  margin-top: auto;
  padding-top: 18px;
}

.team-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
  gap: 16px;
}

.identity-card {
  padding: 22px;
}

.identity-card h3 {
  margin: 14px 0 6px;
  font-size: clamp(1.9rem, 3.2vw, 3.4rem);
  font-family: "Arial Narrow", Impact, sans-serif;
  text-transform: uppercase;
}

.identity-label {
  margin: 22px 0;
  border: 1px solid rgba(242, 105, 53, 0.35);
  border-radius: 8px;
  padding: 12px;
  background: rgba(242, 105, 53, 0.08);
  color: var(--cream);
  font-weight: 800;
}

.metric-tiles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-tiles.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.takeaway-grid {
  display: grid;
  gap: 10px;
}

.takeaway-grid div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.takeaway-grid strong {
  display: block;
  margin-top: 4px;
}

.player-report-stage {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  border-radius: 8px;
  padding: clamp(24px, 5vw, 56px);
  background:
    linear-gradient(90deg, rgba(242, 105, 53, 0.1), transparent 32%),
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    #f0eee8;
  background-size: auto, 38px 38px, auto;
  color: #111;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
}

.player-report-card {
  position: relative;
  min-height: 470px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 8px;
  padding: 28px;
  background: linear-gradient(135deg, #fff3ce, #fffefa 45%, #f4f1ea);
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.15);
  transform: rotate(-5deg);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.player-report-card:hover {
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.22);
  transform: rotate(-3deg) translateY(-4px);
}

.card-rank {
  color: #050505;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
}

.card-team {
  position: absolute;
  top: 34px;
  left: 92px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 50%;
  background: #66b7f5;
  color: #101010;
  font-weight: 900;
  font-size: 0.76rem;
}

.player-report-card h3 {
  margin: 28px 0 6px;
  color: #111;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.player-report-card p {
  color: #4b4b4b;
}

.portrait-box {
  position: relative;
  display: grid;
  min-height: 260px;
  margin-top: 22px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.38), transparent 22%),
    linear-gradient(135deg, #68b8ff, #4d9af0);
}

.portrait-silhouette {
  position: relative;
  width: 108px;
  height: 178px;
  border-radius: 54px 54px 26px 26px;
  background: #101010;
  transform: translateY(18px);
}

.portrait-silhouette::before {
  position: absolute;
  top: -54px;
  left: 26px;
  content: "";
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #101010;
}

.portrait-silhouette::after {
  position: absolute;
  top: 34px;
  left: -60px;
  content: "";
  width: 228px;
  height: 24px;
  border-radius: 999px;
  background: #101010;
  transform: rotate(-12deg);
}

.court-arc {
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 190px;
  height: 190px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.player-report-content .eyebrow {
  color: #0b6fad;
}

.player-name {
  max-width: 720px;
  margin: 0 0 26px;
  color: #050505;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(3.4rem, 8vw, 8.4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.bio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 34px;
  max-width: 680px;
  margin-bottom: 28px;
}

.bio-grid span {
  display: block;
  color: #7a7770;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.bio-grid strong {
  display: block;
  color: #1a1a1a;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.player-thesis {
  max-width: 760px;
  color: #1c1c1c;
  font-size: clamp(1.05rem, 1.8vw, 1.38rem);
}

.trait-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.trait-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #1e1e1e;
  font-weight: 800;
}

.trait-row b {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  background: #fff8df;
  color: #0b6fad;
}

.expand-player {
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff7e9;
  padding: 11px 18px;
  font-weight: 900;
}

.player-deep-dive {
  display: grid;
  max-height: 0;
  gap: 16px;
  overflow: hidden;
  transition: max-height 260ms ease, margin-top 260ms ease;
}

.player-deep-dive.is-open {
  max-height: 520px;
  margin-top: 24px;
}

.player-deep-dive div {
  border-top: 1px solid rgba(0, 0, 0, 0.14);
  padding-top: 14px;
}

.player-deep-dive h4 {
  margin: 0 0 6px;
  color: #111;
  font-size: 1rem;
}

.player-deep-dive p {
  margin: 0;
  color: #303030;
}

.compact-player-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.compact-player-rail article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(30, 42, 48, 0.84);
}

.compact-player-rail strong,
.compact-player-rail span,
.compact-player-rail b {
  display: block;
}

.compact-player-rail span {
  margin: 5px 0 12px;
  color: var(--muted);
}

.compact-player-rail b {
  color: var(--blue);
}

.report-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.report-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding-left: 18px;
}

.report-card a {
  width: fit-content;
  color: var(--cream);
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
}

.dashboard-shell aside {
  border-right: 1px solid var(--line);
  padding-right: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--cream);
  padding: 11px 12px;
}

select {
  margin-bottom: 14px;
}

.panel-note {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  border: 1px solid rgba(114, 214, 138, 0.28);
  border-radius: 8px;
  padding: 12px;
}

.panel-note strong {
  color: var(--green);
}

.dashboard-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dashboard-charts figure {
  margin: 0;
}

.method-grid,
.skill-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.validation-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(320px, 1fr);
  gap: 24px;
  margin-top: 16px;
  padding: 20px;
}

.validation-panel ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.validation-panel li {
  border: 1px solid rgba(114, 214, 138, 0.25);
  border-radius: 8px;
  padding: 12px;
}

.validation-panel strong,
.validation-panel span {
  display: block;
}

.validation-panel strong {
  color: var(--green);
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 24px;
  padding: 24px;
}

.target-list {
  display: grid;
  align-content: start;
  gap: 8px;
}

.target-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}

.contact-form {
  display: grid;
  gap: 13px;
  padding: 18px;
}

.contact-form h3 {
  margin-bottom: 4px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form label span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 24, 28, 0.72);
  color: var(--cream);
  padding: 11px 12px;
  outline: none;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(242, 105, 53, 0.68);
}

.contact-form button {
  justify-self: start;
  margin-top: 2px;
}

.contact-note-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.contact-note-list li::marker {
  color: var(--orange);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
}

.site-footer strong {
  display: block;
  color: var(--cream);
}

.site-footer p {
  max-width: 760px;
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero,
  .case-study,
  .team-layout,
  .player-report-stage,
  .contact-layout,
  .validation-panel,
  .about-panel {
    grid-template-columns: 1fr;
  }

  .snapshot-grid,
  .site-map-grid,
  .project-grid,
  .report-grid,
  .method-grid,
  .skill-grid,
  .player-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .guide-panel {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .site-nav {
    padding: 12px 16px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 67px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(17, 24, 28, 0.98);
    padding: 12px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .section-shell {
    padding: 64px 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4.6rem);
  }

  h2 {
    font-size: clamp(1.75rem, 9vw, 3rem);
  }

  .proof-strip,
  .metric-row,
  .metric-tiles,
  .metric-tiles.compact,
  .dashboard-charts,
  .validation-panel ul {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .snapshot-grid,
  .site-map-grid,
  .project-grid,
  .report-grid,
  .method-grid,
  .skill-grid,
  .player-grid,
  .compact-player-rail,
  .bio-grid {
    grid-template-columns: 1fr;
  }

  .player-report-stage {
    padding: 22px;
  }

  .player-report-card {
    min-height: 390px;
    transform: rotate(-2deg);
  }

  .player-name {
    font-size: clamp(3rem, 16vw, 5.4rem);
  }

  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-shell aside {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 16px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* CMS article and admin-facing public styles */
.report-meta,
.article-meta,
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.report-meta {
  margin: 12px 0 4px;
}

.report-meta span,
.article-meta span,
.article-tags span {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 5px 8px;
  font-size: 0.82rem;
}

.report-card .article-link {
  margin-top: 8px;
}

.article-page {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 42px 42px;
}

.article-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 42px clamp(18px, 4vw, 44px) 86px;
}

.article-back {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 8px 12px;
  margin-bottom: 24px;
}

.article-back:hover {
  border-color: rgba(110, 198, 255, 0.48);
  color: var(--cream);
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 30px;
}

.article-hero h1 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 0.98;
}

.article-subtitle,
.article-summary {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.02rem;
}

.article-summary {
  color: var(--cream);
}

.article-sidebar {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(30, 42, 48, 0.84);
  padding: 18px;
}

.article-sidebar h2 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.article-sidebar dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.article-sidebar dt {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-sidebar dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.article-structure {
  margin-top: 8px;
}

.article-structure ol {
  display: grid;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-structure a {
  display: block;
  align-items: start;
  border-bottom: 1px solid rgba(255, 246, 232, 0.09);
  color: var(--muted);
  padding: 8px 0;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.28;
  transition: border-color 160ms ease, color 160ms ease;
}

.article-structure a:hover,
.article-structure a:focus-visible {
  border-color: rgba(242, 105, 53, 0.42);
  color: var(--orange);
}

.article-body {
  display: grid;
  gap: 20px;
  max-width: 790px;
  padding-top: 34px;
}

.article-section {
  border-bottom: 1px solid rgba(255, 246, 232, 0.11);
  padding-bottom: 22px;
  scroll-margin-top: 96px;
}

.article-section h2 {
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 1.9vw, 1.72rem);
  line-height: 1.05;
}

.article-subheading {
  margin: 18px 0 8px;
  color: var(--cream);
  font-size: clamp(1.02rem, 1.15vw, 1.16rem);
  line-height: 1.28;
}

.article-section-structure h2,
.article-part-divider h2 {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.article-part-divider {
  padding: 18px 0 16px;
}

.article-section p,
.article-section li {
  color: var(--muted);
  font-size: 0.99rem;
  line-height: 1.72;
}

.article-section ul {
  margin: 0;
  padding-left: 22px;
}

.article-section ol {
  margin: 0;
  padding-left: 28px;
}

.article-table-wrap {
  margin: 18px 0 4px;
  overflow-x: auto;
  border: 1px solid rgba(255, 246, 232, 0.14);
  border-radius: 8px;
  background: rgba(9, 17, 20, 0.72);
}

.article-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.article-table th,
.article-table td {
  border-right: 1px solid rgba(255, 246, 232, 0.08);
  border-bottom: 1px solid rgba(255, 246, 232, 0.12);
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
}

.article-table th {
  color: var(--cream);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.045);
}

.article-table tr:last-child td {
  border-bottom: 0;
}

.article-table th:last-child,
.article-table td:last-child {
  border-right: 0;
}

.article-chart {
  margin: 22px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(30, 42, 48, 0.84);
  padding: 14px;
}

.article-chart img {
  width: 100%;
  border-radius: 6px;
  background: #f7f4ec;
}

.article-chart figcaption {
  font-style: italic;
}

.article-loading {
  min-height: 58vh;
  display: grid;
  align-content: center;
}

.article-loading h1 {
  font-size: clamp(2.7rem, 7vw, 6rem);
}

@media (max-width: 780px) {
  .article-hero {
    grid-template-columns: 1fr;
  }

  .article-shell {
    padding-top: 26px;
  }
}
