/* Liga F-inspired palette: original layout, adapted visual language. */
:root {
  --navy: #062a68;
  --blue: #0b4c9e;
  --cyan: #00a9e0;
  --cyan-light: #7be1ff;
  --pale: #eaf5fc;
  --gold: #f2b234;
  --ink: #092660;
  --muted: #53708f;
  --line: #d4e1ec;
  --card: #fff;
  --page-gutter: clamp(16px, 4vw, 48px);
  --content-width: 1600px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Montserrat", Arial, sans-serif; line-height: 1.55; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-weight: 900; letter-spacing: -0.045em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.08; margin-bottom: 14px; text-wrap: balance; }
h3 { font-size: 1.45rem; line-height: 1.2; margin-bottom: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #f8fafc; padding: 0 var(--page-gutter) 88px; background: linear-gradient(120deg, #062a68 0%, #083778 55%, #0a5baa 135%); }
.hero::before { content: ""; position: absolute; width: 45rem; height: 45rem; right: -20rem; top: -26rem; border: 1px solid rgba(0, 169, 224, .48); border-radius: 50%; box-shadow: 0 0 0 64px rgba(0, 169, 224, .04), 0 0 0 128px rgba(0, 169, 224, .025); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000, transparent 76%); }
.hero-inner { position: relative; z-index: 1; max-width: var(--content-width); margin: auto; }
.brand { display: flex; align-items: center; gap: 10px; margin: 0; min-height: 76px; border-bottom: 1px solid rgba(255,255,255,.18); font-weight: 800; letter-spacing: .03em; }
.brand::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--cyan-light); box-shadow: 0 0 0 5px rgba(123,225,255,.16); }
.brand span { color: #bcd2e6; font-size: .78rem; font-weight: 600; letter-spacing: 0; }
.hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 64px; align-items: end; margin-top: 64px; }
.hero h1 { max-width: 820px; margin-bottom: 20px; font-size: clamp(2.5rem, 6vw, 5.4rem); line-height: .98; }
.hero-copy { max-width: 640px; color: #d1dee0; font-size: 1.08rem; }
.hero-note { padding: 20px 0 20px 23px; border-left: 3px solid var(--cyan-light); border-radius: 0 12px 12px 0; background: linear-gradient(90deg, rgba(255,255,255,.08), transparent); }
.hero-note p { margin: 7px 0 0; font-size: 1.04rem; }
.note-label, .hero .eyebrow { color: var(--cyan-light); }
.note-label { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* Tabs: sticky so navigation stays reachable on long panels. */
.tab-bar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: flex-start; margin-top: -26px; padding: 8px var(--page-gutter); pointer-events: none; }
.tab-strip { display: flex; gap: 4px; max-width: 100%; overflow-x: auto; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 8px 22px rgba(9,38,96,.14); pointer-events: auto; scrollbar-width: none; }
.tab-strip::-webkit-scrollbar { display: none; }
.tab-trigger { flex: 0 0 auto; border: 0; border-radius: 999px; padding: 9px 15px; color: #31517e; background: transparent; font: 700 .78rem "Montserrat", Arial, sans-serif; cursor: pointer; }
.tab-trigger:hover { background: var(--pale); }
.tab-trigger.active { color: #fff; background: var(--blue); }
@media (min-width: 1100px) { .tab-bar { justify-content: center; } }

/* Layout */
main { max-width: var(--content-width); margin: auto; padding: 0 var(--page-gutter); }
.tab-panel[hidden] { display: none; }
.panel-section, .split-section, .method-section { padding: 64px 0; }
.split-section { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
.split-section + .split-section { border-top: 1px solid var(--line); }
.section-heading { max-width: 900px; margin-bottom: 30px; }
.section-heading > p:not(.eyebrow), .split-section > div > p:not(.eyebrow) { color: var(--muted); max-width: 680px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 10px; border-radius: 999px; color: var(--blue); background: #e6f4fb; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.hero .eyebrow { display: block; padding: 0; background: none; }
.hero .eyebrow::before { display: none; }
.fine-print { color: var(--muted); font-size: .82rem; }

/* KPIs */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; box-shadow: 0 14px 30px rgba(9,38,96,.08); }
.kpi-grid article { position: relative; padding: 32px 28px 24px; background: #fff; border-right: 1px solid var(--line); }
.kpi-grid article:last-child { border-right: 0; }
.kpi-grid article::before { content: ""; position: absolute; width: 29px; height: 3px; left: 28px; top: 19px; border-radius: 2px; background: var(--cyan); }
.kpi-grid span, .kpi-grid small { display: block; color: var(--muted); font-size: .82rem; }
.kpi-grid strong { display: block; margin: 6px 0 4px; font-size: 2.2rem; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }

/* Cards and charts */
.chart-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 48px rgba(9,38,96,.07); overflow: hidden; }
.chart-card::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--blue), var(--cyan), transparent 62%); }
.chart { width: 100%; min-height: clamp(380px, 32vw, 560px); }
.pitch-card { background: #f3f9f1; }
.research-answer { margin-top: 18px; padding: 16px 18px; border-left: 3px solid var(--cyan); border-radius: 0 10px 10px 0; background: var(--pale); color: var(--ink) !important; max-width: 900px !important; }

/* Controls */
.select-label, .controls label { display: block; margin: 24px 0 7px; color: var(--muted); font-size: .82rem; font-weight: 700; }
select { width: 100%; max-width: 340px; appearance: none; cursor: pointer; padding: 12px 40px 12px 14px; border: 1px solid #a9cbe1; border-radius: 10px; color: var(--ink); font: inherit; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230b4c9e' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 15px center; box-shadow: 0 3px 10px rgba(9,38,96,.04); }
.controls { display: flex; flex-wrap: wrap; align-items: end; gap: 16px 24px; margin: 0 0 12px; }
.controls label { margin-top: 0; }
.segmented { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.12); }
.segment, .pca-model-trigger { border: 1px solid transparent; border-radius: 999px; padding: 9px 15px; font: 700 .78rem "Montserrat", Arial, sans-serif; cursor: pointer; }
.segment { color: #d8e8f8; background: transparent; }
.segment.active { color: var(--navy); background: #fff; }

/* Attacking */
.team-summary { margin-top: 24px; padding: 18px 20px; border-radius: 12px; box-shadow: inset 3px 0 var(--cyan); background: linear-gradient(100deg, #e8f5fc, #fff); }
.team-summary__name, .team-cell { display: flex; align-items: center; gap: 10px; }
.team-summary__name strong { font-size: 1.3rem; }
.team-summary dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 14px 0 0; }
.team-summary dt { color: var(--muted); font-size: .76rem; font-weight: 700; }
.team-summary dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.team-badge { width: 22px; height: 22px; object-fit: contain; flex: 0 0 auto; }
.team-badge--large { width: 42px; height: 42px; }
.shot-summary { margin-top: 18px; font-weight: 700; color: var(--ink) !important; }

/* Styles (PCA and clusters) */
.pca-model-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.pca-model-trigger { color: var(--blue); background: #fff; border-color: #b8d7e9; }
.pca-model-trigger:hover, .pca-model-trigger.active { color: #fff; border-color: var(--blue); background: var(--blue); }
.pca-model-status { max-width: 880px; margin: 0 0 20px; color: var(--muted); font-size: .87rem; }
.pca-reading { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; margin-top: 26px; padding: 30px; border: 1px solid #cde1ef; border-radius: 18px; background: linear-gradient(120deg, #eaf6fc, #fff); }
.pca-summary { color: #31517e; font-weight: 600; }
.pca-influence { margin: 16px 0; padding: 13px 14px; border-radius: 9px; color: #325270; background: #dceef8; font-size: .86rem; }
.pca-component-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.component-card { padding: 19px; border: 1px solid #d5e5ef; border-radius: 12px; background: #fff; box-shadow: 0 7px 18px rgba(9,38,96,.05); }
.component-card h4 { margin: 0 0 12px; font-size: 1.05rem; }
.component-label { margin: 0 0 5px; color: var(--blue); font-size: .73rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.component-interpretation { padding: 13px; border-left: 3px solid var(--blue); background: #edf7fc; color: #49627d; font-size: .84rem; }
.component-interpretation p { margin: 0 0 9px; }
.component-interpretation p:last-child { margin-bottom: 0; }
.component-interpretation--caution { border-left-color: #d08d19; background: #fff8e8; }
.interpretation-caution { color: #7a5717; }
.component-card details { margin-top: 15px; padding-top: 11px; border-top: 1px solid #e5edf3; }
.component-card summary { cursor: pointer; color: var(--blue); font-weight: 700; font-size: .8rem; }
.loading-list { margin: 10px 0 0; padding: 0; list-style: none; }
.loading-list li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid #eef3f7; color: #4d6580; font-size: .78rem; }
.loading-list strong { font-variant-numeric: tabular-nums; }
.loading-list .positive { color: #087e4d; }
.loading-list .negative { color: #b2454e; }
.cluster-reading { margin-top: 28px; padding: 32px; border-radius: 18px; color: #eff7ff; background: linear-gradient(130deg, var(--navy), var(--blue)); }
.cluster-heading { max-width: 920px; }
.cluster-heading .eyebrow { color: var(--cyan-light); background: rgba(255,255,255,.1); }
.cluster-heading .eyebrow::before { background: var(--cyan-light); }
.cluster-heading > p:not(.eyebrow) { color: #d6e8fb; }
.cluster-profiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 23px; }
.cluster-card { padding: 20px; border: 1px solid rgba(255,255,255,.2); border-top: 4px solid var(--gold); border-radius: 13px; background: rgba(255,255,255,.08); }
.cluster-card--2 { border-top-color: #4d8fe0; }
.cluster-card--3 { border-top-color: var(--cyan); }
.cluster-card h4 { margin: 3px 0 9px; color: #fff; font-size: 1.06rem; }
.cluster-rank { margin: 0; color: var(--cyan-light); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cluster-teams { color: #dbeeff; font-size: .8rem; }
.cluster-metrics { margin: 16px 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.cluster-metrics li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.14); color: #cce1f7; font-size: .78rem; }
.cluster-metrics strong { color: #fff; font-variant-numeric: tabular-nums; }
.cluster-context { margin: 0; color: #d6e8fb; font-size: .8rem; }

/* Creators */
.creators { margin: 32px calc(var(--page-gutter) * -1) 0; padding: 64px var(--page-gutter); color: #eff7f3; background: linear-gradient(125deg, var(--navy), #0b4692); border-radius: 24px; }
.creators .eyebrow { color: var(--cyan-light); background: rgba(255,255,255,.1); }
.creators h2 { color: #fff; }
.creators .section-heading p:not(.eyebrow), .creators .fine-print { color: #c3d2e6; }
.creators .controls label { color: #d8e8f8; }
.creators .chart-card { margin-top: 8px; }
.table-wrap { overflow-x: auto; margin-top: 24px; border-radius: 13px; background: #fff; box-shadow: 0 15px 35px rgba(0,0,0,.16); }
table { width: 100%; border-collapse: collapse; color: var(--ink); font-size: .9rem; }
th { padding: 13px 16px; background: #dce9f3; text-align: left; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
td { padding: 12px 16px; border-top: 1px solid var(--line); }
td:nth-child(n+3), th:nth-child(n+3) { text-align: right; font-variant-numeric: tabular-nums; }
tbody tr:hover { background: #edf8fd; }
.team-cell { white-space: nowrap; font-size: .86rem; font-weight: 600; }

/* Method */
.method-section { display: grid; grid-template-columns: .6fr 1.4fr; gap: 56px; }
.method-intro { color: var(--muted); }
.method-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.method-grid article { padding: 23px; border: 1px solid #dce5ee; border-top: 3px solid var(--blue); border-radius: 0 0 12px 12px; box-shadow: 0 8px 22px rgba(9,38,96,.04); }
.method-grid article:nth-child(3n+2) { border-top-color: var(--cyan); }
.method-grid article:nth-child(3n) { border-top-color: var(--gold); }
.method-grid h3 { font-size: 1rem; letter-spacing: -.02em; }
.method-grid p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Site navigation (shared by the story and the dashboard) */
.site-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 76px; border-bottom: 1px solid rgba(255,255,255,.18); }
.site-bar .brand { min-height: 0; border: 0; color: #fff; text-decoration: none; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; color: #d7e7fb; font-size: .82rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover { background: rgba(255,255,255,.1); }
.site-nav a[aria-current="page"] { color: var(--navy); background: #fff; }
.hero-copy a { color: var(--cyan-light); }
.hero--compact { padding-bottom: 72px; }
.hero--compact .hero-grid { grid-template-columns: 1fr; margin-top: 40px; }
.hero--compact h1 { font-size: clamp(2.2rem, 5vw, 4rem); }

/* Buttons and links */
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; padding: 12px 20px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; color: #fff; font-size: .88rem; font-weight: 800; text-decoration: none; }
.button:hover { background: rgba(255,255,255,.1); }
.button--primary { border-color: #fff; color: var(--navy); background: #fff; }
.button--primary:hover { background: var(--pale); }
.about .button { border-color: var(--blue); color: var(--blue); }
.about .button--primary { color: #fff; background: var(--blue); }
.text-link { color: var(--blue); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Story */
.story-hero { max-width: 900px; padding-top: 64px; }
.byline { margin: 18px 0 0; color: #bcd2e6; font-size: .85rem; font-weight: 600; }
.story { max-width: var(--content-width); }
.findings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: -48px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(9,38,96,.12); position: relative; z-index: 2; }
.findings article { padding: 26px 28px; border-right: 1px solid var(--line); }
.findings article:last-child { border-right: 0; }
.finding-number { display: block; margin-bottom: 8px; color: var(--cyan); font-size: .78rem; font-weight: 900; letter-spacing: .1em; }
.findings strong { display: block; margin-bottom: 8px; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.03em; }
.findings p { margin: 0; color: var(--muted); font-size: .88rem; }
.story-body { max-width: 760px; margin: 0 auto; padding: 32px 0 24px; }
.story-body > section { padding: 48px 0 24px; border-bottom: 1px solid var(--line); }
.story-body > section:last-child { border-bottom: 0; }
.story-body h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.story-body p, .story-body li { font-family: "Source Serif 4", Georgia, serif; font-size: 1.12rem; line-height: 1.7; color: #1f2d45; }
.story-body .eyebrow { font-family: "Montserrat", Arial, sans-serif; }
.story-body strong { color: var(--ink); }
.story-figure { margin: 32px calc(min(160px, (100vw - 760px) / 2 - 24px) * -1); }
.story-figure figcaption { margin-top: 10px; color: var(--muted); font-size: .82rem; }
.pull-quote { margin: 32px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--cyan); font-size: 1.35rem !important; font-style: italic; color: var(--ink) !important; }
.takeaways { padding-left: 20px; }
.takeaways li { margin-bottom: 14px; }
.about { margin-top: 24px; padding: 32px !important; border: 0 !important; border-radius: 18px; background: var(--pale); }
.about h2 { font-size: 1.4rem; }
.about p { font-size: 1rem !important; }

.player-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.player-chips li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 10px; background: #fff; font-family: "Montserrat", Arial, sans-serif !important; font-size: .85rem !important; line-height: 1.35 !important; }
.player-chips strong { display: block; }
.player-chips small { color: var(--muted); font-size: .76rem; }

/* Dashboard additions */
.chart--short { min-height: 300px; }
.chart--tall { min-height: clamp(460px, 38vw, 620px); }
.controls--light label { color: var(--muted); }
.table-wrap--light { box-shadow: 0 8px 24px rgba(9,38,96,.06); border: 1px solid var(--line); }
.table-caption { padding: 14px 16px 6px; caption-side: top; text-align: left; color: var(--ink); font-size: .85rem; font-weight: 800; }
.table-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.table-grid .table-wrap { margin-top: 0; }
tr.is-best td { background: #edf8fd; font-weight: 800; }
td:first-child { text-align: left; }
.similarity-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 28px; margin-bottom: 8px; }
.similarity-controls .select-label { margin-top: 0; }
.similarity-controls > div { flex: 0 1 420px; }
.text-input { width: min(420px, 100%); padding: 12px 14px; border: 1px solid #a9cbe1; border-radius: 10px; color: var(--ink); font: inherit; }
.checkbox { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 12px; color: var(--muted); font-size: .88rem; font-weight: 700; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--blue); }
.similarity-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; margin-top: 16px; }
.similar-target { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px; color: #fff; background: linear-gradient(120deg, var(--navy), var(--blue)); }
.similar-target strong { display: block; font-size: 1.15rem; }
.similar-target span { color: #cfe3f6; font-size: .82rem; }
.similar-list { margin: 12px 0 0; padding: 0; list-style: none; }
.similar-item { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 6px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.similar-item:hover { border-color: var(--cyan); }
.similar-item.active { border-color: var(--cyan); background: #edf8fd; box-shadow: inset 3px 0 var(--cyan); }
.similar-rank { width: 20px; color: var(--muted); font-size: .8rem; font-weight: 800; }
.similar-name { flex: 1; min-width: 0; }
.similar-name strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .92rem; }
.similar-name small { color: var(--muted); font-size: .78rem; }
.similar-score { color: var(--blue); font-weight: 900; font-variant-numeric: tabular-nums; }

footer { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; padding: 30px var(--page-gutter); color: #ccdbe6; background: var(--navy); font-size: .82rem; }
footer { align-items: center; flex-wrap: wrap; }
footer a { color: #fff; }
.data-credit { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; background: #fff; color: var(--muted) !important; font-size: .74rem; font-weight: 700; text-decoration: none; }
.data-credit img { width: 118px; height: auto; display: block; }
.load-error { position: fixed; z-index: 100; inset: 16px 16px auto; margin: 0; padding: 12px 16px; border-radius: 8px; color: #7f1d1d; background: #fee2e2; box-shadow: 0 6px 20px rgba(0,0,0,.14); }

@media (max-width: 900px) {
  .hero-grid, .split-section, .method-section, .pca-reading { grid-template-columns: 1fr; gap: 28px; }
  .cluster-profiles, .pca-component-cards { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid article:nth-child(2) { border-right: 0; }
  .kpi-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .findings, .table-grid, .similarity-layout { grid-template-columns: 1fr; }
  .findings article { border-right: 0; border-bottom: 1px solid var(--line); }
  .findings article:last-child { border-bottom: 0; }
  .story-figure { margin-left: 0; margin-right: 0; }
}
@media (max-width: 600px) {
  .hero { padding-bottom: 64px; }
  .hero-grid { margin-top: 40px; }
  .brand span { display: none; }
  .panel-section, .split-section, .method-section { padding: 44px 0; }
  .tab-trigger { padding: 8px 12px; font-size: .72rem; }
  .kpi-grid strong { font-size: 1.7rem; }
  .kpi-grid article { padding: 28px 18px 18px; }
  .kpi-grid article::before { left: 18px; }
  .pca-reading, .cluster-reading { padding: 20px; }
  .creators { padding: 44px var(--page-gutter); border-radius: 0; }
  .team-summary dl { grid-template-columns: 1fr 1fr; }
  .story-body p, .story-body li { font-size: 1.04rem; }
  .story-hero { padding-top: 40px; }
  .site-bar { padding: 12px 0; }
  footer { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
