:root {
  --ink: #0f172a;
  --muted: #526079;
  --line: #dce3ec;
  --paper: #ffffff;
  --surface: #f4f7fb;
  --navy: #08111f;
  --navy-2: #0d1b2e;
  --blue: #1478ff;
  --blue-dark: #075ed1;
  --cyan: #4dd9ff;
  --green: #17a673;
  --radius: 18px;
  --shadow: 0 24px 64px rgba(8, 17, 31, .11);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--paper); border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: #e8f0fb;
  background: rgba(8, 17, 31, .93);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; text-decoration: none; letter-spacing: -.02em; }
.brand > span { display: grid; place-items: center; width: 36px; height: 36px; color: var(--navy); background: var(--cyan); border-radius: 10px; font-size: .78rem; letter-spacing: .03em; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: .92rem; }
.site-nav a { color: #bdcadb; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }

.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; right: -160px; top: -280px; background: rgba(20,120,255,.25); filter: blur(2px); border-radius: 50%; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, black, transparent 90%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 84px; align-items: center; min-height: 680px; padding-block: 90px; }
.eyebrow { margin: 0 0 16px; color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow, .contact-band .eyebrow, .page-hero .eyebrow { color: var(--cyan); }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(2.9rem, 6.2vw, 5.6rem); }
h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { margin-bottom: 12px; font-size: 1.35rem; }
.hero-lead { max-width: 680px; margin: 0 0 34px; color: #c5d2e2; font-size: 1.18rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.top-gap { margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 11px 18px; border: 1px solid transparent; border-radius: 10px; font-size: .93rem; font-weight: 760; text-decoration: none; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { color: #e7eef8; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); }
.button-light { color: var(--navy); background: #fff; }
.button-outline-light { color: #fff; border-color: rgba(255,255,255,.35); }
.stack-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 0; padding: 0; list-style: none; }
.stack-list li { padding: 7px 10px; color: #9eb0c5; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); border-radius: 8px; font: 650 .74rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.hero-panel, .pipeline-card { border: 1px solid rgba(255,255,255,.13); background: linear-gradient(145deg, rgba(255,255,255,.095), rgba(255,255,255,.035)); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-panel { padding: 28px; }
.panel-label { margin: 0 0 20px; color: #899bb2; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.signal-list { display: grid; }
.signal-list > div { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.signal-list strong, .signal-list span { display: block; }
.signal-list strong { color: #fff; font-size: 1rem; }
.signal-list span { margin-top: 4px; color: #9dacbf; font-size: .87rem; }
.availability { display: flex; align-items: center; gap: 9px; margin-top: 22px; color: #cad4e1; font-size: .8rem; }
.status-dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; box-shadow: 0 0 0 5px rgba(74,222,128,.13); }

.section { padding-block: 108px; }
.section-muted { background: var(--surface); border-block: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 44px; }
.section-heading h2, .split-heading h2 { margin-bottom: 0; }
.text-link, .card-link { color: var(--blue-dark); font-weight: 760; text-decoration: none; }
.text-link { padding-bottom: 5px; border-bottom: 1px solid #a8cafa; white-space: nowrap; }

.featured-project { display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; margin-bottom: 24px; color: #fff; background: var(--navy); border-radius: 24px; }
.featured-copy { padding: 56px; }
.featured-copy h3 { max-width: 560px; margin: 20px 0; font-size: clamp(2rem, 3.5vw, 3.1rem); }
.featured-copy > p { max-width: 620px; color: #b8c6d8; font-size: 1.06rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 5px 9px; color: #5d6b80; background: #eef2f7; border: 1px solid #dfe6ee; border-radius: 999px; font-size: .7rem; font-weight: 780; letter-spacing: .04em; text-transform: uppercase; }
.featured-project .tag { color: #b8c7da; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.tag-live { color: #a7f3d0 !important; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 34px 0; }
.metric-grid div { padding-top: 15px; border-top: 1px solid rgba(255,255,255,.15); }
.metric-grid dt { color: #fff; font-size: 1.65rem; font-weight: 820; letter-spacing: -.03em; }
.metric-grid dd { margin: 2px 0 0; color: #94a6bc; font-size: .76rem; }
.pipeline-card { align-self: center; margin: 34px 34px 34px 0; padding: 28px; background: #0f2138; }
.pipeline-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.pipeline-list li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.pipeline-list li:last-child { border: 0; }
.pipeline-list li > span { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; color: var(--cyan); background: rgba(77,217,255,.08); border: 1px solid rgba(77,217,255,.2); border-radius: 9px; font: 700 .72rem ui-monospace, monospace; }
.pipeline-list strong, .pipeline-list small { display: block; }
.pipeline-list small { margin-top: 2px; color: #8ea0b6; }

.project-grid { display: grid; gap: 24px; }
.project-grid-two { grid-template-columns: repeat(2, 1fr); }
.project-grid-three { grid-template-columns: repeat(3, 1fr); }
.project-card { position: relative; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s, border-color .2s; }
.project-card:hover { transform: translateY(-4px); border-color: #b8c9df; box-shadow: 0 16px 42px rgba(15,23,42,.08); }
.project-card .tag-row { margin-bottom: 22px; }
.project-card h3 { font-size: 1.5rem; }
.project-card p { min-height: 76px; color: var(--muted); }
.project-number { position: absolute; right: 24px; top: 24px; color: #c2ccd8; font: 700 .76rem ui-monospace, monospace; }

.split-heading { display: grid; grid-template-columns: .72fr 1.28fr; gap: 84px; align-items: start; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.principles-grid article { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.principles-grid span { color: var(--blue); font: 800 .75rem ui-monospace, monospace; }
.principles-grid h3 { margin-top: 42px; font-size: 1.12rem; }
.principles-grid p { margin: 0; color: var(--muted); font-size: .9rem; }

.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.content-card { display: block; min-height: 258px; padding: 28px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.content-card:hover { transform: translateY(-4px); box-shadow: 0 16px 42px rgba(15,23,42,.08); }
.content-card-accent { color: #fff; background: var(--blue); border-color: var(--blue); }
.content-type { display: block; margin-bottom: 48px; color: var(--blue-dark); font-size: .72rem; font-weight: 820; letter-spacing: .1em; text-transform: uppercase; }
.content-card-accent .content-type, .content-card-accent p, .content-card-accent .card-link { color: #e5f0ff; }
.content-card p { color: var(--muted); }
.contact-band { padding-block: 70px; color: #fff; background: var(--blue-dark); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact-inner h2 { max-width: 760px; margin: 0; font-size: clamp(1.8rem, 3.5vw, 3rem); }

.site-footer { padding: 68px 0 26px; color: #a6b4c5; background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .6fr .6fr; gap: 70px; padding-bottom: 56px; }
.site-footer .brand { color: #fff; }
.site-footer p { max-width: 360px; font-size: .9rem; }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links a { color: #aab8c8; font-size: .88rem; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .76rem; }

/* Internal pages */
.page-hero { padding: 92px 0 80px; color: #fff; background: var(--navy); }
.page-hero h1 { max-width: 900px; margin-bottom: 22px; font-size: clamp(2.8rem, 6vw, 5rem); }
.page-hero .lead { max-width: 780px; margin: 0; color: #b8c6d8; font-size: 1.15rem; }
.breadcrumb { display: flex; gap: 8px; margin-bottom: 30px; color: #91a2b8; font-size: .8rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb span:last-child { color: #d9e2ee; }
.page-section { padding-block: 84px; }
.page-section + .page-section { border-top: 1px solid var(--line); }
.prose { max-width: 780px; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { margin-top: 54px; font-size: 2rem; }
.prose h3 { margin-top: 34px; }
.prose a { color: var(--blue-dark); }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: start; }
.fact-card { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.fact-list { display: grid; margin: 0; }
.fact-list div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.fact-list div:last-child { border: 0; }
.fact-list dt { color: #718096; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.fact-list dd { margin: 5px 0 0; font-weight: 700; }
.timeline { display: grid; gap: 0; margin-top: 38px; }
.timeline article { position: relative; padding: 0 0 34px 30px; border-left: 1px solid #b9c7d8; }
.timeline article::before { content: ""; position: absolute; left: -5px; top: 4px; width: 9px; height: 9px; background: var(--blue); border-radius: 50%; }
.timeline h3 { margin-bottom: 4px; font-size: 1.05rem; }
.timeline p { margin: 0; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0; }
.filter-button { padding: 9px 13px; color: #42516a; background: #fff; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.filter-button:hover, .filter-button.active { color: #fff; background: var(--ink); border-color: var(--ink); }
.project-card[hidden] { display: none; }

/* Articles */
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 250px; gap: 80px; align-items: start; }
.article-body h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.article-body h2 { margin-top: 52px; font-size: 1.75rem; }
.article-body h3 { margin-top: 36px; }
.article-body p, .article-body li { color: #3f4d62; }
.article-body code { padding: 2px 6px; background: #eef2f7; border-radius: 5px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; color: #77859a; font-size: .8rem; }
.article-summary { padding: 22px 24px; background: #edf6ff; border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; }
.article-summary p { margin: 0; color: #273851; }
.article-aside { position: sticky; top: 104px; }
.article-aside nav, .related-box { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.article-aside strong { display: block; margin-bottom: 12px; font-size: .8rem; }
.article-aside a { display: block; padding: 7px 0; color: #56667d; font-size: .82rem; text-decoration: none; }
.related-box { margin-top: 16px; }
.faq-list details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-weight: 750; }

/* Football pages */
.football-page { background: var(--surface); }
.football-header { color: #fff; background: var(--navy); }
.football-intro { padding: 54px 0 32px; }
.football-intro h1 { margin-bottom: 12px; font-size: clamp(2.3rem, 5vw, 4.2rem); }
.football-intro p { max-width: 720px; color: #b8c6d8; }
.story-inline-cta { margin-top: 10px; }
.football-toolbar { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: end; margin: 26px 0 20px; }
.search-field label { display: block; margin-bottom: 7px; color: #536279; font-size: .74rem; font-weight: 800; text-transform: uppercase; }
.search-field input { width: 100%; min-height: 48px; padding: 11px 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.result-count { padding-bottom: 12px; color: #637188; font-size: .82rem; }
.table-shell { overflow: hidden; margin-bottom: 50px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 45px rgba(15,23,42,.07); }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; min-width: 860px; border-collapse: collapse; }
.data-table th { position: sticky; top: 0; z-index: 2; padding: 14px 16px; color: #d8e4f2; background: #10223a; border: 0; text-align: left; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.data-table td { padding: 13px 16px; border-bottom: 1px solid #e8edf3; font-size: .84rem; }
.data-table tbody tr:hover:not(.group-row) { background: #f7faff; }
.data-table .team { font-weight: 720; }
.data-table .score { white-space: nowrap; font-weight: 800; }
.data-table .score a { color: var(--blue-dark); text-decoration: none; }
.score-detail { display: block; color: #718096; font-size: .7rem; }
.data-table .group-row td { padding: 11px 16px; color: #20324c; background: #eaf0f7; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.source-note { padding: 18px 20px; color: #68768a; background: #f8fafc; border-top: 1px solid var(--line); font-size: .76rem; }
.source-note a { color: var(--blue-dark); }
.ad-slot { min-height: 120px; margin: 22px 0; background: #edf1f5; border: 1px dashed #c5cfdb; border-radius: 12px; }
.ad-slot[hidden] { display: none; }

/* Legacy visualization wrapper */
.viz-page { margin: 0; background: var(--surface); }
.viz-shell { padding: 54px 0; }
.viz-shell h1 { margin-bottom: 14px; font-size: clamp(2.4rem, 5vw, 4rem); }
.viz-description { max-width: 760px; margin: 0 0 28px; color: var(--muted); }
.viz-card { overflow: hidden; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.chart-container { width: 100%; margin-top: 24px; }
.chart-container .item { width: 100% !important; min-width: 0; height: 500px !important; }
#controls { margin: 20px 0; }
.year-slider { display: block; width: min(100%, 520px); margin-top: 12px; }
#map { width: 100%; height: 600px; }

@media (max-width: 980px) {
  .hero-grid, .featured-project, .split-heading, .about-grid, .article-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; min-height: auto; }
  .hero-panel { max-width: 680px; }
  .pipeline-card { margin: 0 34px 34px; }
  .principles-grid, .project-grid-three { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr 1fr; }
  .article-aside { position: static; }
}
@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { align-items: flex-start; flex-direction: column; gap: 14px; padding-block: 16px; }
  .site-header { position: static; }
  .site-nav { width: 100%; gap: 18px; overflow-x: auto; padding-bottom: 2px; white-space: nowrap; }
  .hero-grid { padding-block: 70px; }
  h1 { font-size: 2.75rem; }
  .section { padding-block: 72px; }
  .section-heading, .contact-inner { align-items: flex-start; flex-direction: column; }
  .featured-copy { padding: 34px 24px; }
  .pipeline-card { margin: 0 16px 16px; padding: 22px; }
  .project-grid-two, .project-grid-three, .principles-grid, .content-grid { grid-template-columns: 1fr; }
  .project-card p { min-height: auto; }
  .split-heading { gap: 38px; }
  .metric-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .page-hero { padding: 62px 0; }
  .football-toolbar { grid-template-columns: 1fr; }
  .result-count { padding: 0; }
  .data-table th { top: 0; }
  .viz-card { padding: 12px; }
  .chart-container .item { height: 420px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Homepage: editorial portfolio */
.home-page {
  --ink: #18202b;
  --muted: #5e6671;
  --line: #d9d9d4;
  --paper: #f8f7f3;
  --surface: #eeede8;
  --navy: #17243a;
  --blue: #2758c7;
  --blue-dark: #193f9a;
  background: var(--paper);
}
.home-page .site-header {
  color: var(--ink);
  background: rgba(248, 247, 243, .96);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
}
.home-page .brand > span { color: #fff; background: var(--ink); border-radius: 4px; }
.home-page .site-nav a { color: #555c65; }
.home-page .site-nav a:hover,
.home-page .site-nav a[aria-current="page"] { color: var(--ink); }
.home-page .hero { color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
.home-page .hero::before,
.home-page .hero::after { display: none; }
.home-page .hero-grid { grid-template-columns: minmax(0, .88fr) minmax(440px, 1.12fr); gap: 70px; min-height: 620px; padding-block: 72px; }
.home-page .hero .eyebrow { color: var(--blue-dark); }
.home-page h1 { max-width: 680px; font-size: clamp(3.3rem, 6.5vw, 5.7rem); font-weight: 760; letter-spacing: -.055em; }
.home-page h2 { font-weight: 730; letter-spacing: -.045em; }
.home-page .hero-lead { max-width: 590px; color: var(--muted); font-size: 1.12rem; }
.home-page .button { border-radius: 4px; }
.home-page .button-primary { background: var(--ink); }
.home-page .button-primary:hover { background: #303946; }
.home-page .button-secondary { color: var(--ink); background: transparent; border-color: #a9aba8; }
.home-page .stack-list { margin-top: 28px; }
.home-page .stack-list li { color: #555c65; background: transparent; border-color: #cbc9c2; border-radius: 3px; }
.hero-showcase { position: relative; margin: 0; }
.hero-showcase::before { content: ""; position: absolute; inset: 32px -22px -22px 32px; background: #d9d6cc; }
.hero-showcase img { position: relative; display: block; width: 100%; aspect-ratio: 1.55; object-fit: cover; border: 1px solid #c8c6bf; box-shadow: 0 24px 55px rgba(24, 32, 43, .14); }
.hero-showcase figcaption { position: relative; display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; color: #70757b; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-showcase figcaption strong { color: var(--ink); font-weight: 720; }
.home-page .section { padding-block: 92px; }
.home-page .section-heading { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.home-page .featured-project { grid-template-columns: .82fr 1.18fr; background: var(--navy); border-radius: 4px; }
.home-page .featured-copy { padding: 52px 46px; }
.home-page .featured-copy h3 { font-size: clamp(2rem, 3.2vw, 3rem); }
.featured-visual { display: block; min-height: 100%; overflow: hidden; background: #0c1c33; }
.featured-visual img { display: block; width: 100%; height: 100%; object-fit: contain; }
.home-page .featured-project .button-primary { color: var(--navy); background: #fff; }
.home-page .featured-project .button-primary:hover { background: #e9edf3; }
.home-page .tag { border-radius: 3px; }
.home-page .project-grid { gap: 28px; }
.home-page .project-card { overflow: hidden; padding: 0; border-radius: 4px; box-shadow: none; }
.home-page .project-card:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(24, 32, 43, .09); }
.home-page .project-card > :not(.project-thumb):not(.project-number) { margin-right: 30px; margin-left: 30px; }
.home-page .project-card .tag-row { margin-top: 28px; }
.home-page .project-card .card-link { display: inline-block; margin-bottom: 30px; }
.home-page .project-number { top: 20px; color: #fff; z-index: 2; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.project-thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 8.6; color: #fff; text-decoration: none; }
.project-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-card:hover .project-thumb img { transform: scale(1.018); }
.project-thumb-data { padding: 40px; background: #2a4f97; }
.project-thumb-data::after { content: ""; position: absolute; right: -70px; bottom: -140px; width: 390px; height: 390px; background: #e6c463; border-radius: 50%; opacity: .9; }
.project-thumb-data .mini-kicker { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.project-thumb-data strong { display: block; margin-top: 28px; font-size: clamp(2rem, 4vw, 3.7rem); line-height: .98; letter-spacing: -.05em; }
.mini-chart { position: absolute; right: 34px; bottom: 28px; z-index: 1; display: flex; align-items: end; gap: 8px; height: 118px; }
.mini-chart i { width: 16px; background: #fff; border-radius: 2px 2px 0 0; opacity: .92; }
.mini-chart i:nth-child(1) { height: 34%; }
.mini-chart i:nth-child(2) { height: 58%; }
.mini-chart i:nth-child(3) { height: 46%; }
.mini-chart i:nth-child(4) { height: 76%; }
.mini-chart i:nth-child(5) { height: 64%; }
.mini-chart i:nth-child(6) { height: 92%; }
.home-page .section-muted { background: #e9e7e0; }
.home-page .principles-grid article { padding: 4px 24px 0 0; background: transparent; border: 0; border-top: 3px solid var(--ink); border-radius: 0; }
.home-page .principles-grid span { display: block; margin-top: 14px; color: var(--blue-dark); }
.home-page .principles-grid h3 { margin-top: 52px; }
.home-page .content-card { border-radius: 4px; }
.home-page .content-card-accent { background: var(--navy); border-color: var(--navy); }
.home-page .contact-band { background: #214f93; }
.home-page .site-footer { background: #151c26; }

/* Shareable football story generator */
.generator-page { background: #f1f3f6; }
.generator-hero { padding: 86px 0 78px; color: #fff; background: #101a2d; }
.generator-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 90px; align-items: end; }
.generator-heading h1 { max-width: 830px; margin-bottom: 0; font-size: clamp(3.2rem, 7vw, 6rem); }
.generator-heading > p { max-width: 520px; margin: 0 0 12px; color: #b8c5d8; font-size: 1.12rem; }
.generator-workspace { padding-block: 70px 90px; }
.generator-grid { display: grid; grid-template-columns: minmax(320px, .72fr) minmax(380px, 1.28fr); gap: 70px; align-items: start; }
.generator-controls { position: sticky; top: 105px; display: grid; gap: 12px; padding: 34px; background: #fff; border: 1px solid #d8dee8; border-radius: 18px; box-shadow: 0 18px 45px rgba(15, 23, 42, .08); }
.generator-controls h2 { margin-bottom: 18px; font-size: 2rem; }
.generator-controls label,
.generator-controls legend { color: #46556b; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.generator-controls select { width: 100%; min-height: 50px; margin-bottom: 14px; padding: 10px 13px; color: var(--ink); background: #fff; border: 1px solid #cbd4e0; border-radius: 9px; }
.generator-controls select:focus,
.generator-controls input:focus-visible { outline: 3px solid rgba(39, 88, 199, .2); outline-offset: 2px; }
.generator-controls fieldset { margin: 4px 0 8px; padding: 0; border: 0; }
.generator-controls legend { margin-bottom: 10px; }
.theme-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.theme-options label { position: relative; display: grid; gap: 6px; padding: 8px; color: #556176; background: #f7f8fa; border: 1px solid #dbe1e9; border-radius: 9px; cursor: pointer; font-size: .66rem; text-align: center; }
.theme-options input { position: absolute; opacity: 0; }
.theme-options label:has(input:checked) { color: #172033; border-color: #2758c7; box-shadow: 0 0 0 2px rgba(39, 88, 199, .12); }
.theme-swatch { display: block; height: 48px; border-radius: 6px; }
.theme-night { background: linear-gradient(135deg, #0e1b31 65%, #72e0d1 65%); }
.theme-energy { background: linear-gradient(135deg, #ff5b35 65%, #ffe45c 65%); }
.theme-classic { background: linear-gradient(135deg, #f2efe7 65%, #224f94 65%); }
.generator-status { min-height: 25px; margin: 4px 0; color: #67758a; font-size: .83rem; }
.generator-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.generator-actions .button { cursor: pointer; }
.generator-actions .button-secondary { color: #172033; background: #fff; border-color: #b9c3d0; }
.generator-actions .button:disabled { cursor: wait; opacity: .45; transform: none; }
.privacy-note { margin: 0; color: #8590a0; font-size: .72rem; text-align: center; }
.story-stage { display: grid; justify-items: center; gap: 16px; }
.story-stage > p { margin: 0; color: #768297; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.story-phone { width: min(100%, 520px); padding: 12px; background: #0b0d12; border-radius: 34px; box-shadow: 0 28px 70px rgba(15, 23, 42, .24); }
.story-phone canvas { display: block; width: 100%; height: auto; background: #0e1b31; border-radius: 24px; }
.generator-how { color: #fff; background: #101a2d; }
.generator-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; }
.generator-steps article { padding-top: 18px; border-top: 3px solid #72e0d1; }
.generator-steps span { color: #72e0d1; font: 800 .75rem ui-monospace, monospace; }
.generator-steps h2 { margin: 38px 0 10px; font-size: 1.55rem; }
.generator-steps p { margin: 0; color: #aebcd0; }
.story-tool-card { display: grid; grid-template-columns: 1fr 310px; gap: 54px; align-items: center; overflow: hidden; margin-bottom: 34px; padding: 54px; color: #fff; background: #19365f; border-radius: 20px; }
.story-tool-card h2 { max-width: 650px; margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3.25rem); }
.story-tool-card p:not(.eyebrow) { max-width: 640px; color: #c0cde0; }
.story-tool-preview { display: grid; gap: 10px; padding: 30px 24px; background: #0f1f38; border: 8px solid #0b1526; border-radius: 24px; box-shadow: 0 22px 50px rgba(0,0,0,.24); transform: rotate(3deg); }
.story-tool-preview span { color: #72e0d1; font-size: .65rem; font-weight: 800; letter-spacing: .12em; }
.story-tool-preview strong { margin: 8px 0 18px; font-size: 2.15rem; line-height: 1; }
.story-tool-preview i { padding: 11px 12px; color: #dce6f3; background: #1b3151; border-radius: 7px; font-size: .78rem; font-style: normal; font-weight: 750; }

@media (max-width: 980px) {
  .home-page .hero-grid { grid-template-columns: 1fr; }
  .home-page .hero-copy { max-width: 760px; }
  .home-page .hero-showcase { max-width: 820px; }
  .home-page .featured-project { grid-template-columns: 1fr; }
  .featured-visual { min-height: 360px; }
  .generator-heading,
  .generator-grid { grid-template-columns: 1fr; }
  .generator-heading { gap: 36px; }
  .generator-controls { position: static; }
  .story-tool-card { grid-template-columns: 1fr 250px; }
}
@media (max-width: 720px) {
  .home-page .hero-grid { padding-block: 58px 72px; }
  .home-page h1 { font-size: clamp(3rem, 14vw, 4.25rem); }
  .hero-showcase::before { inset: 18px -10px -12px 18px; }
  .hero-showcase figcaption { flex-direction: column; gap: 5px; }
  .home-page .featured-copy { padding: 34px 24px; }
  .featured-visual { min-height: 250px; }
  .project-thumb-data { padding: 28px; }
  .generator-hero { padding: 58px 0; }
  .generator-heading h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .generator-workspace { padding-block: 36px 64px; }
  .generator-controls { padding: 24px; border-radius: 14px; }
  .generator-actions,
  .generator-steps { grid-template-columns: 1fr; }
  .story-phone { width: min(100%, 430px); border-radius: 25px; }
  .story-phone canvas { border-radius: 17px; }
  .story-tool-card { grid-template-columns: 1fr; padding: 32px 24px; }
  .story-tool-preview { max-width: 280px; transform: none; }
}

/* Rodada a Rodada */
.br-page {
  --br-ink: #101714;
  --br-paper: #f5f3ea;
  --br-soft: #e8e6dc;
  --br-hot: #dfff00;
  --br-coral: #ff654d;
  --br-line: #c9cbc2;
  margin: 0;
  color: var(--br-ink);
  background: var(--br-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.br-shell { width: min(calc(100% - 40px), 1220px); margin-inline: auto; }
.br-header { position: sticky; top: 0; z-index: 30; color: #f7f5ed; background: rgba(16, 23, 20, .96); border-bottom: 1px solid #344038; backdrop-filter: blur(14px); }
.br-nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.br-brand { display: inline-flex; align-items: center; gap: 13px; color: inherit; text-decoration: none; }
.br-brand span { display: grid; place-items: center; width: 42px; height: 42px; color: var(--br-ink); background: var(--br-hot); font-size: .72rem; font-weight: 950; letter-spacing: -.02em; }
.br-brand strong { font-size: .96rem; letter-spacing: -.02em; }
.br-nav nav { display: flex; align-items: center; gap: 26px; }
.br-nav nav a { color: #aab5ae; font-size: .84rem; font-weight: 680; text-decoration: none; }
.br-nav nav a:hover, .br-nav nav a[aria-current="page"] { color: var(--br-hot); }
.br-kicker { margin: 0 0 14px; color: #66736b; font-size: .73rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.br-hero { overflow: hidden; color: #f6f4ec; background: var(--br-ink); }
.br-hero-grid { min-height: 690px; display: grid; grid-template-columns: 1.12fr .88fr; gap: 80px; align-items: center; padding-block: 78px; }
.br-hero .br-kicker, .br-page-hero .br-kicker, .br-round-hero .br-kicker, .br-team-hero .br-kicker, .br-section-dark .br-kicker, .br-share-section .br-kicker, .br-cta .br-kicker { color: var(--br-hot); }
.br-hero h1 { max-width: 720px; margin: 0 0 24px; font-size: clamp(4.5rem, 10vw, 8.4rem); font-weight: 920; line-height: .82; letter-spacing: -.085em; text-transform: uppercase; }
.br-hero h1 + p { max-width: 650px; margin: 0 0 34px; color: #b1bbb4; font-size: 1.12rem; }
.br-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.br-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; color: #f6f4ec; background: transparent; border: 1px solid #6e7972; border-radius: 0; cursor: pointer; font: 850 .8rem/1 system-ui; letter-spacing: .03em; text-decoration: none; text-transform: uppercase; }
.br-button:hover { border-color: #f6f4ec; transform: translateY(-2px); }
.br-button-hot { color: var(--br-ink); background: var(--br-hot); border-color: var(--br-hot); }
.br-cover { position: relative; min-height: 510px; display: flex; flex-direction: column; justify-content: flex-end; padding: 48px; color: var(--br-ink); background: var(--br-hot); box-shadow: 34px 34px 0 #29332e; }
.br-cover::before { content: ""; position: absolute; top: 92px; right: 46px; width: 220px; height: 220px; border: 44px solid var(--br-ink); border-radius: 50%; opacity: .14; }
.br-cover > span { position: absolute; top: 42px; left: 46px; font-size: .7rem; font-weight: 950; letter-spacing: .18em; }
.br-cover strong { position: relative; max-width: 100%; font-size: clamp(3.1rem, 5vw, 4.4rem); font-weight: 950; line-height: .84; letter-spacing: -.07em; text-transform: uppercase; white-space: nowrap; }
.br-cover strong.br-cover-team-long { font-size: clamp(2.7rem, 4vw, 3.65rem); }
.br-cover strong.br-cover-team-xlong { font-size: clamp(2.3rem, 3.5vw, 3.15rem); }
.br-cover p { margin: 13px 0 45px; font-size: 1.1rem; font-weight: 800; }
.br-cover b { font-size: .76rem; line-height: 1.6; letter-spacing: .18em; }
.br-ticker { color: #f6f4ec; background: var(--br-coral); }
.br-ticker .br-shell { min-height: 66px; display: flex; align-items: center; gap: 40px; overflow-x: auto; white-space: nowrap; }
.br-ticker span { color: var(--br-ink); font-size: .72rem; font-weight: 950; letter-spacing: .13em; text-transform: uppercase; }
.br-ticker strong { font-size: .86rem; }
.br-section { padding-block: 100px; }
.br-section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 44px; padding-bottom: 22px; border-bottom: 2px solid var(--br-ink); }
.br-section-head h2 { max-width: 760px; margin: 0; font-size: clamp(2.5rem, 5vw, 4.6rem); font-weight: 900; line-height: .95; letter-spacing: -.06em; }
.br-section-head > a { padding-bottom: 4px; color: inherit; border-bottom: 1px solid currentColor; font-size: .78rem; font-weight: 800; text-decoration: none; }
.br-dashboard { display: grid; grid-template-columns: .72fr .72fr 1.56fr; border: 1px solid var(--br-line); background: #fff; }
.br-ranking-card { min-height: 390px; display: flex; flex-direction: column; padding: 32px; border-right: 1px solid var(--br-line); }
.br-ranking-card > span, .br-split-stats span, .br-change-stack span { color: #68736c; font-size: .68rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.br-ranking-card strong { margin-top: auto; font-size: clamp(2.3rem, 4vw, 4rem); font-weight: 950; line-height: .88; letter-spacing: -.065em; overflow-wrap: anywhere; }
.br-ranking-card .br-leader-name { max-width: 100%; font-size: clamp(2.1rem, 2.65vw, 2.75rem); overflow-wrap: normal; white-space: nowrap; }
.br-ranking-card strong small { display: block; margin-top: 12px; color: #536057; font-size: .75rem; line-height: 1.4; letter-spacing: 0; }
.br-ranking-card b { margin-top: 22px; color: var(--br-coral); font-size: 2.4rem; }
.br-ranking-card > small { color: #677269; }
.br-ranking-card > a { margin-top: auto; color: inherit; font-size: .78rem; font-weight: 850; }
.br-ranking-card-hot { color: var(--br-ink); background: var(--br-hot); }
.br-table-card { min-width: 0; padding: 22px; }
.br-table-card > a { display: inline-block; margin: 18px 4px 0; font-size: .76rem; font-weight: 850; }
.br-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--br-line); }
.br-table-card .br-table-wrap { border: 0; }
.br-table { width: 100%; min-width: 650px; border-collapse: collapse; }
.br-table th, .br-table td { padding: 13px 14px; border-bottom: 1px solid #e1e3db; text-align: left; font-size: .82rem; }
.br-table thead th { color: #6e7871; background: #f0efe8; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.br-table tbody th { font-weight: 820; }
.br-table tbody th a { text-decoration: none; }
.br-table tbody tr:hover { background: #f7f8f2; }
.br-table tbody tr.g4 { box-shadow: inset 4px 0 var(--br-hot); }
.br-table tbody tr.z4 { box-shadow: inset 4px 0 var(--br-coral); }
.br-pos { display: grid; place-items: center; width: 28px; height: 28px; font-size: .72rem; font-weight: 900; }
.br-pos.g4 { background: var(--br-hot); }
.br-pos.z4 { color: #fff; background: var(--br-coral); }
.br-section-dark { color: #f6f4ec; background: var(--br-ink); }
.br-section-dark .br-section-head { border-color: #526058; }
.br-section-dark .br-section-head > a { color: #f6f4ec; }
.br-change-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #48544d; }
.br-change-grid article { min-height: 280px; padding: 30px; border-right: 1px solid #48544d; }
.br-change-grid article:last-child { border: 0; }
.br-change-grid span { color: var(--br-hot); font: 900 .75rem ui-monospace, monospace; }
.br-change-grid h3 { margin: 104px 0 12px; color: #f6f4ec; font-size: 1.4rem; }
.br-change-grid p { margin: 0; color: #aab5ae; }
.br-team-cloud { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--br-line); border-left: 1px solid var(--br-line); }
.br-team-chip { min-height: 84px; display: flex; align-items: center; padding: 20px; color: inherit; background: #fff; border-right: 1px solid var(--br-line); border-bottom: 1px solid var(--br-line); font-size: .92rem; font-weight: 850; text-decoration: none; }
.br-team-chip::after { content: "↗"; margin-left: auto; color: #8c978f; }
.br-team-chip:hover { color: var(--br-ink); background: var(--br-hot); }
.br-round-index { background: var(--br-soft); }
.br-round-links { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid #bfc3b9; border-left: 1px solid #bfc3b9; }
.br-round-links a { min-height: 116px; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; border-right: 1px solid #bfc3b9; border-bottom: 1px solid #bfc3b9; font-size: .76rem; font-weight: 820; text-decoration: none; }
.br-round-links a:hover { background: var(--br-hot); }
.br-round-links span { font-size: 2.1rem; font-weight: 930; letter-spacing: -.06em; }
.br-cta { padding-block: 110px; color: #f6f4ec; background: var(--br-coral); }
.br-cta h2 { max-width: 900px; margin: 0 0 24px; font-size: clamp(3.2rem, 7vw, 6.5rem); font-weight: 930; line-height: .88; letter-spacing: -.075em; }
.br-cta p:not(.br-kicker) { color: #fff; }
.br-cta .br-button { margin-top: 18px; }
.br-footer { padding-block: 56px; color: #a7b2ab; background: #0b100e; }
.br-footer strong { color: #f6f4ec; }
.br-footer p { max-width: 720px; font-size: .78rem; }
.br-footer div div { display: flex; gap: 20px; margin-top: 24px; }
.br-footer a { color: inherit; font-size: .78rem; }

/* Product and analysis pages */
.br-page-hero, .br-team-hero, .br-round-hero { padding-block: 104px 88px; color: #f6f4ec; background: var(--br-ink); }
.br-page-hero-hot { background: var(--br-coral); }
.br-page-hero-hot .br-kicker { color: var(--br-ink); }
.br-page-hero h1, .br-team-hero h1, .br-round-hero h1 { max-width: 1020px; margin: 0 0 24px; font-size: clamp(3.7rem, 8vw, 7rem); font-weight: 930; line-height: .88; letter-spacing: -.075em; }
.br-page-hero p:last-child, .br-round-hero p:last-child { max-width: 720px; margin: 0; color: #b1bbb4; font-size: 1.08rem; }
.br-page-hero-hot p:last-child { color: #fff; }
.br-feature-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.br-feature-links > a { min-height: 410px; display: flex; flex-direction: column; padding: 38px; color: inherit; background: #fff; border: 1px solid var(--br-line); text-decoration: none; }
.br-feature-links > a:last-child { background: var(--br-hot); }
.br-feature-links span { font: 900 .75rem ui-monospace, monospace; }
.br-feature-links h2 { max-width: 520px; margin: auto 0 18px; font-size: clamp(2.3rem, 4vw, 4rem); font-weight: 920; line-height: .92; letter-spacing: -.06em; }
.br-feature-links p { max-width: 500px; margin: 0; color: #5e6962; }
.br-top-gap { margin-top: 100px; }
.br-control { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 28px; padding: 20px 24px; color: #f6f4ec; background: var(--br-ink); }
.br-control label { font-size: .75rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.br-control select { min-width: 190px; padding: 11px 40px 11px 13px; color: var(--br-ink); background: var(--br-hot); border: 0; border-radius: 0; font-weight: 850; }
.br-analysis-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 28px; align-items: start; }
.br-chart-panel { min-width: 0; padding: 34px; color: #f6f4ec; background: var(--br-ink); }
.br-chart-panel h2 { margin-bottom: 28px; font-size: 2.3rem; }
.br-multi-chart, .br-line-chart { display: block; width: 100%; height: auto; }
.br-multi-chart line, .br-line-chart line { stroke: #435047; stroke-width: 1; }
.br-multi-chart text, .br-line-chart text { fill: #859189; font-size: 11px; font-weight: 700; }
.br-multi-chart polyline, .br-line-chart polyline { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.br-line-chart polyline { stroke: var(--br-hot); stroke-width: 7; }
.br-line-chart circle { fill: var(--br-hot); }
.br-chart-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin: 20px 0 0; padding: 0; list-style: none; }
.br-chart-legend li { display: flex; align-items: center; gap: 8px; color: #b8c1bb; font-size: .7rem; }
.br-chart-legend i { width: 15px; height: 3px; background: var(--legend); }
.br-note { margin: 26px 0 0; color: #89948d; font-size: .72rem; }
.br-scorer-table td:last-child strong { color: var(--br-coral); font-size: 1.1rem; }
.br-goal-bars { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.br-goal-bars li { display: grid; grid-template-columns: 28px 1fr 34px; gap: 10px; align-items: end; }
.br-goal-bars li > span { color: #7f8b83; font: 800 .7rem ui-monospace, monospace; }
.br-goal-bars li div { position: relative; padding-bottom: 9px; border-bottom: 4px solid #354139; }
.br-goal-bars strong, .br-goal-bars small { display: block; }
.br-goal-bars strong { font-size: .78rem; }
.br-goal-bars small { color: #849087; font-size: .62rem; }
.br-goal-bars i { position: absolute; left: 0; bottom: -4px; height: 4px; background: var(--br-hot); }
.br-goal-bars b { color: var(--br-hot); font-size: 1.2rem; }




.br-team-with-badge { display: inline-flex; min-width: 0; align-items: center; gap: .62em; vertical-align: middle; }
.br-team-with-badge > span { min-width: 0; }
.br-team-badge { width: 1.45em; height: 1.45em; flex: 0 0 auto; object-fit: contain; }
.br-team-with-badge-preview .br-team-badge { width: 1.35em; height: 1.35em; }

.br-team-with-badge-table { max-width: 100%; }
.br-team-with-badge-table .br-team-badge { width: 1.65em; height: 1.65em; }
.br-table th[scope="row"] a:has(.br-team-with-badge-table) { display: inline-flex; max-width: 100%; text-decoration: none; }

.br-team-with-badge-leader { align-items: flex-end; gap: .42em; }
.br-team-with-badge-leader .br-team-badge { width: 1.12em; height: 1.12em; }
.br-record-preview-grid strong .br-team-with-badge,
.br-record-preview-grid strong .br-team-with-badge > span,
.br-record-leaders strong .br-team-with-badge,
.br-record-leaders strong .br-team-with-badge > span { color: inherit; font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: none; }


.br-record-preview { padding-block: 88px; background: var(--br-soft); }
.br-record-preview .br-section-head { margin-bottom: 28px; }
.br-record-preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--br-line); border-left: 1px solid var(--br-line); }
.br-record-preview-grid article { min-height: 210px; display: flex; flex-direction: column; padding: 26px; background: #fff; border-right: 1px solid var(--br-line); border-bottom: 1px solid var(--br-line); }
.br-record-preview-grid span, .br-record-leaders span { color: #68736c; font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.br-record-preview-grid strong { margin-top: auto; font-size: 1.7rem; line-height: 1; }
.br-record-preview-grid b { margin-top: 13px; color: var(--br-coral); font-size: 1rem; }
.br-record-hero { background: var(--br-hot); color: var(--br-ink); }
.br-record-hero .br-kicker { color: #48544d; }
.br-record-hero p:last-child { color: #465149; }
.br-record-leaders { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--br-line); border-left: 1px solid var(--br-line); }
.br-record-leaders article { min-height: 270px; display: flex; flex-direction: column; padding: 28px; background: #fff; border-right: 1px solid var(--br-line); border-bottom: 1px solid var(--br-line); }
.br-record-leaders article:nth-child(2), .br-record-leaders article:nth-child(6) { background: var(--br-hot); }
.br-record-leaders strong { margin-top: auto; font-size: 2.15rem; line-height: .92; overflow-wrap: anywhere; }
.br-record-leaders b { margin-top: 14px; color: var(--br-coral); font-size: 1.25rem; }
.br-record-leaders small { margin-top: 5px; color: #68736c; }
.br-record-rankings { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.br-record-ranking { padding: 30px; background: #fff; border: 1px solid var(--br-line); }
.br-record-ranking h2 { margin-bottom: 22px; font-size: 2rem; }
.br-record-ranking ol { margin: 0; padding: 0; list-style: none; }
.br-record-ranking li { display: grid; grid-template-columns: 34px 1fr auto auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid #e0e2da; }
.br-record-ranking li > span { color: #8a958d; font: 800 .72rem ui-monospace, monospace; }
.br-record-ranking li a { min-width: 0; font-weight: 850; text-decoration: none; }
.br-record-ranking li a .br-team-with-badge { max-width: 100%; }
.br-record-ranking li a .br-team-with-badge > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-record-ranking li small { color: #79847c; font-size: .67rem; }
.br-record-ranking li strong { color: var(--br-coral); white-space: nowrap; }
.br-record-note { margin: 28px 0 0; color: #69746c; font-size: .75rem; }

.br-compare-promo { padding-block: 82px; color: var(--br-ink); background: var(--br-hot); }
.br-compare-promo-grid { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: end; }
.br-compare-promo h2 { max-width: 850px; margin: 0 0 18px; font-size: clamp(2.8rem, 6vw, 5.4rem); font-weight: 930; line-height: .9; letter-spacing: -.07em; }
.br-compare-promo p:not(.br-kicker) { max-width: 680px; margin: 0; color: #4f5a53; }
.br-compare-promo .br-button { color: var(--br-ink); border-color: var(--br-ink); white-space: nowrap; }
.br-compare-hero { background: var(--br-coral); }
.br-compare-hero .br-kicker { color: var(--br-ink); }
.br-compare-hero p:last-child { color: #fff; }
.br-compare-controls { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: end; margin-bottom: 10px; padding: 28px; color: #f6f4ec; background: var(--br-ink); }
.br-compare-controls label { display: grid; gap: 9px; font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.br-compare-controls select { width: 100%; padding: 14px; color: var(--br-ink); background: var(--br-hot); border: 0; border-radius: 0; font-weight: 850; }
.br-compare-controls > span { padding-bottom: 9px; color: var(--br-coral); font-size: 2.4rem; font-weight: 950; }
.br-compare-error { min-height: 28px; margin: 0 0 10px; color: #b7382a; font-size: .82rem; font-weight: 800; }
.br-compare-summary { display: grid; grid-template-columns: 1fr .9fr 1fr; margin-bottom: 28px; border: 1px solid var(--br-line); background: #fff; }
.br-compare-summary article, .br-compare-summary > div { min-height: 250px; display: flex; flex-direction: column; justify-content: center; padding: 30px; }
.br-compare-summary article:last-child { text-align: right; }
.br-compare-summary > div { color: #f6f4ec; background: var(--br-ink); text-align: center; }
.br-compare-summary span { color: var(--br-coral); font-size: 3.8rem; font-weight: 950; letter-spacing: -.07em; }
.br-compare-summary h2 { margin: 8px 0; font-size: clamp(2rem, 4vw, 3.6rem); overflow-wrap: anywhere; }
.br-compare-summary p { margin: 0; color: #69746c; }
.br-compare-summary > div p { color: #aeb8b1; }
.br-compare-summary > div strong { color: var(--br-hot); font-size: 1.5rem; }
.br-compare-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.br-duel-chart .team-a { stroke: var(--br-hot); }
.br-duel-chart .team-b { stroke: var(--br-coral); }
.br-duel-legend { display: flex; flex-wrap: wrap; gap: 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.br-duel-legend li { display: flex; align-items: center; gap: 8px; color: #c1cac4; font-size: .75rem; font-weight: 800; }
.br-duel-legend i { width: 22px; height: 4px; background: var(--br-hot); }
.br-duel-legend li + li i { background: var(--br-coral); }
.br-compare-stats { padding: 30px; background: #fff; border: 1px solid var(--br-line); }
.br-compare-stats h2 { margin-bottom: 22px; font-size: 2rem; }
.br-compare-stats > div { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid #e0e2da; text-align: center; }
.br-compare-stats span { color: #727e76; font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.br-compare-stats strong { font-size: 1.25rem; }
.br-compare-stats .is-best { color: #b94a39; }
.br-compare-share { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; margin-top: 28px; padding: 32px; color: #f6f4ec; background: var(--br-coral); }
.br-compare-share h2 { margin: 0 0 6px; font-size: 2rem; }
.br-compare-share p { margin: 0; }
.br-compare-share > p { grid-column: 1 / -1; min-height: 20px; font-size: .75rem; }

/* Team and round pages */
.br-team-hero { background: var(--br-hot); color: var(--br-ink); }
.br-team-hero .br-kicker { color: #48544d; }
.br-team-hero h1 { max-width: 1120px; margin-bottom: 44px; font-size: clamp(4.5rem, 11vw, 9.5rem); text-transform: uppercase; overflow-wrap: anywhere; }
.br-team-score { display: flex; align-items: center; gap: 28px; }
.br-team-score strong { font-size: 5rem; line-height: 1; letter-spacing: -.08em; }
.br-team-score span { padding-left: 28px; border-left: 2px solid var(--br-ink); font-size: .9rem; font-weight: 750; }
.br-team-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.br-team-grid > div:last-child { padding: 30px; background: #fff; border: 1px solid var(--br-line); }
.br-team-grid > div:last-child h2 { font-size: 2rem; }
.br-form-list, .br-results { margin: 0; padding: 0; list-style: none; }
.br-form-list li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid #e0e2da; }
.br-form-list strong, .br-form-list small { display: block; }
.br-form-list small { color: #78837b; font-size: .65rem; }
.br-form-list b { font-size: .75rem; }
.br-result { display: grid; place-items: center; width: 30px; height: 30px; color: #fff; background: #7c8780; font-size: .67rem; font-weight: 950; }
.br-result-v { color: var(--br-ink); background: var(--br-hot); }
.br-result-d { background: var(--br-coral); }
.br-split-stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 28px; border: 1px solid var(--br-line); }
.br-split-stats article { padding: 32px; background: #fff; }
.br-split-stats article + article { border-left: 1px solid var(--br-line); }
.br-split-stats strong { display: block; margin-top: 42px; font-size: 3rem; letter-spacing: -.06em; }
.br-split-stats p { color: #69746c; }
.br-share-section { padding-block: 100px; color: #f6f4ec; background: var(--br-ink); }
.br-share-grid { display: grid; grid-template-columns: 1fr 440px; gap: 90px; align-items: center; }
.br-share-grid h2 { max-width: 650px; margin-bottom: 22px; font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 920; line-height: .9; letter-spacing: -.07em; }
.br-share-grid > div:first-child > p:not(.br-kicker):not(.br-card-status) { color: #9ca8a0; }
.br-story-frame { padding: 12px; background: #050807; box-shadow: 34px 34px 0 #2b3630; }
.br-story-frame canvas { display: block; width: 100%; height: auto; }
.br-card-status { min-height: 24px; color: #aab6ae; font-size: .75rem; }
.br-round-hero { position: relative; overflow: hidden; }
.br-round-number { position: absolute; right: max(20px, calc((100vw - 1220px) / 2)); top: 15px; color: #2c3731; font-size: clamp(12rem, 30vw, 27rem); font-weight: 950; line-height: 1; letter-spacing: -.1em; }
.br-round-hero h1, .br-round-hero p { position: relative; }
.br-round-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; }
.br-round-grid h2 { font-size: 2.4rem; }
.br-results { border-top: 2px solid var(--br-ink); }
.br-results li { display: grid; grid-template-columns: 1fr 100px 1fr; gap: 15px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--br-line); }
.br-results li span:last-child { text-align: right; }
.br-results strong { padding: 7px; color: #f6f4ec; background: var(--br-ink); text-align: center; }
.br-change-stack { border-top: 2px solid var(--br-ink); }
.br-change-stack article { padding: 23px 0; border-bottom: 1px solid var(--br-line); }
.br-change-stack strong { display: block; margin-top: 12px; font-size: 1.25rem; }
.br-change-stack p { margin: 4px 0 0; color: #6b766f; }
.br-section-soft { background: var(--br-soft); }

@media (max-width: 980px) {
  .br-hero-grid, .br-dashboard, .br-analysis-grid, .br-team-grid, .br-share-grid, .br-round-grid, .br-compare-layout, .br-record-rankings { grid-template-columns: 1fr; }
  .br-record-preview-grid, .br-record-leaders { grid-template-columns: repeat(2, 1fr); }
  .br-feature-links { grid-template-columns: 1fr; }
  .br-hero-grid { gap: 60px; }
  .br-cover { max-width: 650px; }
  .br-dashboard { border-bottom: 0; }
  .br-ranking-card { min-height: 300px; border-right: 0; border-bottom: 1px solid var(--br-line); }
  .br-team-cloud { grid-template-columns: repeat(3, 1fr); }
  .br-round-links { grid-template-columns: repeat(4, 1fr); }
  .br-share-grid { gap: 56px; }
  .br-story-frame { width: min(100%, 440px); }
}
@media (max-width: 720px) {
  .br-shell { width: min(calc(100% - 28px), 1220px); }
  .br-header { position: static; }
  .br-nav { align-items: flex-start; flex-direction: column; gap: 12px; padding-block: 14px; }
  .br-nav nav { width: 100%; gap: 18px; overflow-x: auto; padding-bottom: 4px; white-space: nowrap; }
  .br-hero-grid { min-height: auto; padding-block: 58px 76px; }
  .br-hero h1 { font-size: clamp(3.8rem, 19vw, 6rem); }
  .br-cover { min-height: 420px; padding: 32px; box-shadow: 16px 16px 0 #29332e; }
  .br-cover > span { top: 28px; left: 30px; }
  .br-section { padding-block: 70px; }
  .br-section-head { align-items: flex-start; flex-direction: column; }
  .br-change-grid, .br-feature-links, .br-split-stats, .br-compare-promo-grid, .br-compare-summary, .br-compare-share, .br-record-preview-grid, .br-record-leaders { grid-template-columns: 1fr; }
  .br-record-ranking li { grid-template-columns: 28px 1fr auto; }
  .br-record-ranking li small { display: none; }
  .br-compare-controls { grid-template-columns: 1fr; }
  .br-compare-controls > span { padding: 0; text-align: center; }
  .br-compare-summary article, .br-compare-summary article:last-child { min-height: 190px; text-align: left; }
  .br-change-grid article { min-height: 220px; border-right: 0; border-bottom: 1px solid #48544d; }
  .br-change-grid h3 { margin-top: 64px; }
  .br-team-cloud { grid-template-columns: 1fr 1fr; }
  .br-round-links { grid-template-columns: repeat(3, 1fr); }
  .br-page-hero, .br-team-hero, .br-round-hero { padding-block: 72px 62px; }
  .br-page-hero h1, .br-team-hero h1, .br-round-hero h1 { font-size: clamp(3.2rem, 16vw, 5.4rem); }
  .br-control { align-items: flex-start; flex-direction: column; }
  .br-control select { width: 100%; }
  .br-chart-panel { padding: 22px 16px; }
  .br-chart-legend { grid-template-columns: 1fr; }
  .br-split-stats article + article { border-left: 0; border-top: 1px solid var(--br-line); }
  .br-share-section { padding-block: 70px; }
  .br-story-frame { box-shadow: 16px 16px 0 #2b3630; }
  .br-results li { grid-template-columns: 1fr 70px 1fr; font-size: .78rem; }
  .br-round-number { top: 50px; opacity: .65; }
}
