:root {
  color-scheme: light;
  --royal: #002f87;
  --royal-deep: #061d4d;
  --night: #06132d;
  --paper: #f6f7f3;
  --white: #fff;
  --ink: #15243f;
  --muted: #52617a;
  --line: #d6deeb;
  --focus: #ffd66d;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link { position: absolute; z-index: 10; top: -80px; left: 12px; padding: 12px 16px; background: var(--white); color: var(--night); font-weight: 700; }
.skip-link:focus { top: 12px; }

.site-header {
  min-height: 80px;
  padding: 14px max(24px, env(safe-area-inset-right)) 14px max(24px, env(safe-area-inset-left));
  background: var(--night);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.site-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand-mark { display: grid; place-items: center; width: 45px; height: 45px; background: var(--white); color: var(--royal-deep); font-weight: 900; font-size: .8rem; letter-spacing: -.05em; }
.brand-name { font-size: .76rem; font-weight: 900; line-height: 1.2; letter-spacing: .15em; }
.brand-name small { display: block; margin-top: 3px; color: #b6c7ed; font-size: .58rem; letter-spacing: .18em; }
.site-header nav { display: flex; align-items: center; gap: clamp(2px, 2vw, 28px); }
.site-header nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 7px; font-size: .8rem; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.site-header nav a:hover { color: #dbe7ff; }

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  background: radial-gradient(circle at 4% 11%, rgba(91,144,250,.26), transparent 35%), linear-gradient(130deg, #09265c, var(--night) 75%);
  color: var(--white);
  isolation: isolate;
}
.hero-copy { align-self: center; padding: clamp(38px, 5vw, 92px) clamp(28px, 5vw, 92px) clamp(44px, 5vw, 90px) max(28px, calc((100vw - 1480px) / 2)); }
.eyebrow, .section-index, .round, .final-score > span, .final-score small { font-family: Arial, Helvetica, sans-serif; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #c6d8fb; font-size: .68rem; line-height: 1.5; }
.eyebrow-line { width: 24px; height: 2px; flex: 0 0 auto; background: #9bc5ff; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: -.055em; }
h1 { max-width: 10ch; margin: 23px 0 28px; font-size: clamp(3.45rem, 5.8vw, 7.5rem); line-height: .92; text-wrap: balance; }
h1 em, h2 em { font-weight: 400; }
.hero-deck { max-width: 50ch; margin: 0 0 32px; color: #e5edfc; font-size: clamp(1.03rem, 1.4vw, 1.34rem); line-height: 1.55; }
.final-score { max-width: 530px; padding: 20px 22px 22px; border-top: 3px solid #9ec2ff; border-bottom: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.08); }
.final-score > span { color: #d9e5ff; font-size: .64rem; }
.final-score strong { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 12px 0 8px; font-size: clamp(.95rem, 1.5vw, 1.3rem); letter-spacing: -.03em; }
.final-score b { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.3rem, 4vw, 3.9rem); line-height: 1; white-space: nowrap; }
.final-score b span { padding: 0 .09em; color: #83a6e4; font-weight: 400; }
.final-score small { color: #c6d8fb; font-size: .63rem; }
.hero-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 23px; padding: 0 20px; border: 1px solid #a4c2fb; color: var(--white); text-decoration: none; font-size: .79rem; font-weight: 800; letter-spacing: .02em; }
.hero-link span { margin-left: 15px; font-size: 1.2rem; }
.hero-link:hover { background: rgba(255,255,255,.13); }
.hero-figure { position: relative; align-self: stretch; min-width: 0; margin: 0; background: radial-gradient(circle at 50% 45%, #315592, #10234e 78%); overflow: hidden; }
.hero-figure picture, .hero-figure img { width: 100%; height: 100%; }
.hero-figure img { object-fit: contain; object-position: center; }
.hero-figure::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(2,15,44,.19), transparent 35%), linear-gradient(0deg, rgba(2,15,44,.7), transparent 28%); }
.hero-figure figcaption { position: absolute; z-index: 1; right: 25px; bottom: 21px; left: 25px; display: flex; justify-content: space-between; gap: 20px; color: var(--white); font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-shadow: 0 1px 3px #051327; text-transform: uppercase; }

.result-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1480px; margin: 0 auto; padding: 0 24px; background: var(--paper); }
.result-band > div { min-height: 150px; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 22px; border-right: 1px solid var(--line); }
.result-band > div:first-child { border-left: 1px solid var(--line); }
.result-band strong { color: var(--royal); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.5rem, 4.6vw, 5rem); line-height: 1; letter-spacing: -.07em; }
.result-band span { max-width: 13ch; color: var(--muted); font-size: .82rem; font-weight: 800; line-height: 1.25; text-transform: uppercase; }

.story-section { max-width: 1480px; margin: 0 auto; padding: clamp(68px, 8vw, 120px) max(24px, calc((100vw - 1390px) / 2)); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(45px, 8vw, 140px); }
.section-index { margin: 0 0 21px; color: var(--royal); font-size: .65rem; }
h2 { margin: 0; font-size: clamp(2.6rem, 4.5vw, 5rem); line-height: 1; text-wrap: balance; }
.section-intro > p:last-child { max-width: 46ch; margin: 27px 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.run-list { list-style: none; padding: 0; margin: 0; border-top: 3px solid var(--royal); }
.run-list li { padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.round { display: block; margin-bottom: 13px; color: var(--royal); font-size: .66rem; }
.run-list li > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: clamp(.92rem, 1.2vw, 1.13rem); }
.run-list li > div strong { color: var(--night); }
.run-list li > div span { text-align: right; color: var(--muted); }
.run-list b { display: inline-block; margin-left: 6px; font-family: Georgia, 'Times New Roman', serif; font-size: 1.55em; }
.run-list small { display: block; margin-top: 10px; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.run-final { background: linear-gradient(90deg, rgba(0,47,135,.07), transparent 75%); }

.team-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: radial-gradient(circle at 100% 0%, rgba(81,134,235,.18), transparent 34%), var(--royal-deep); color: var(--white); }
.detail-figure { display: flex; flex-direction: column; min-width: 0; margin: 0; background: #17376d; }
.detail-figure picture { flex: 1 1 auto; min-height: 0; }
.detail-figure picture, .detail-figure img { display: block; width: 100%; height: 100%; }
.detail-figure img { object-fit: cover; object-position: center; }
.detail-figure figcaption { padding: 13px 25px; color: #e8efff; background: #081e4a; font-size: .67rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.team-copy { max-width: 750px; padding: clamp(55px, 6vw, 105px) clamp(28px, 5vw, 90px); }
.team-copy .section-index { color: #bcd5ff; }
.team-lede { max-width: 54ch; margin: 25px 0 22px; color: #e5edfc; font-size: 1.05rem; line-height: 1.65; }
.court-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.3); }
.court-list li { display: grid; grid-template-columns: 105px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.3); }
.court-list li span { color: #adc8f6; font-size: .59rem; font-weight: 900; letter-spacing: .1em; }
.court-list li strong { font-size: clamp(.94rem, 1.25vw, 1.15rem); line-height: 1.35; }
.team-note { max-width: 52ch; margin: 23px 0 0; color: #cad9f2; font-size: .9rem; line-height: 1.58; }

.source-section { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(35px, 7vw, 100px); max-width: 1480px; margin: 0 auto; padding: clamp(65px, 8vw, 110px) 24px; }
.source-section h2 { max-width: 13ch; }
.source-section p:not(.section-index) { max-width: 53ch; margin: 24px 0 0; color: var(--muted); line-height: 1.65; }
.source-section ul { align-self: center; list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--royal); }
.source-section li { border-bottom: 1px solid var(--line); }
.source-section li a { display: grid; grid-template-columns: 95px minmax(0, 1fr) 20px; align-items: center; gap: 15px; min-height: 84px; padding: 12px 4px; text-decoration: none; }
.source-section li a:hover { color: var(--royal); background: rgba(0,47,135,.035); }
.source-section li span:first-child { color: var(--royal); font-size: .63rem; font-weight: 900; letter-spacing: .1em; }
.source-section li strong { font-size: .94rem; line-height: 1.3; }
.source-section li span:last-child { justify-self: end; font-size: 1.25rem; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 160px; padding: 38px max(24px, env(safe-area-inset-right)) 38px max(24px, env(safe-area-inset-left)); background: var(--night); color: #e8efff; }
.footer-brand { color: var(--white); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-decoration: none; white-space: nowrap; }
.footer-brand span { padding-left: 7px; }
.site-footer p { max-width: 45ch; margin: 0; font-size: .75rem; line-height: 1.5; }
.site-footer > a:last-child { min-height: 44px; display: inline-flex; align-items: center; font-size: .8rem; font-weight: 800; white-space: nowrap; }

@media (max-width: 1050px) {
  .hero { min-height: 600px; }
  .hero-copy { padding-left: 28px; }
  .story-section { padding-right: 30px; padding-left: 30px; }
  .result-band > div { gap: 12px; }
  .result-band span { font-size: .7rem; }
}
@media (max-width: 860px) {
  .hero, .story-section, .team-section, .source-section { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-copy { padding: 52px 28px 48px; }
  h1 { max-width: 14ch; font-size: clamp(3.4rem, 8vw, 5.7rem); }
  .hero-figure { aspect-ratio: 4 / 3; }
  .hero-figure img { object-fit: cover; object-position: center bottom; }
  .story-section, .source-section { gap: 40px; }
  .detail-figure { aspect-ratio: auto; }
  .detail-figure picture { aspect-ratio: 4 / 3; }
  .team-copy { max-width: none; }
  .site-footer { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .site-header { min-height: 68px; gap: 8px; padding: 10px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left)); }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: .63rem; }
  .brand-name small { font-size: .48rem; }
  .site-header nav { gap: 0; }
  .site-header nav a { font-size: .71rem; padding: 0 6px; }
  .site-header nav a:nth-child(2) { display: none; }
  .hero-copy { padding: 43px 20px 37px; }
  h1 { margin: 18px 0 22px; font-size: clamp(3.2rem, 11.8vw, 4.5rem); }
  .hero-deck { font-size: 1rem; }
  .hero-figure figcaption { position: static; flex-direction: column; gap: 3px; padding: 12px 16px; background: #081e4a; font-size: .75rem; line-height: 1.4; letter-spacing: .06em; text-shadow: none; }
  .hero-figure figcaption span:last-child { text-align: left; }
  .hero-figure { aspect-ratio: auto; }
  .hero-figure picture { display: block; height: auto; aspect-ratio: 4 / 3; }
  .hero-figure img { object-fit: contain; }
  .hero-figure::after { display: none; }
  .result-band { padding: 0 12px; }
  .result-band > div { min-height: 102px; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 8px; }
  .result-band strong { font-size: clamp(2rem, 9vw, 3rem); }
  .result-band span { font-size: .58rem; line-height: 1.28; }
  .story-section, .source-section { padding: 68px 20px; }
  .story-section { gap: 33px; }
  h2 { font-size: clamp(2.55rem, 10vw, 3.7rem); }
  .run-list li > div { font-size: .88rem; }
  .run-list li > div span { max-width: 47%; }
  .detail-figure figcaption { padding: 11px 18px; font-size: .58rem; }
  .team-copy { padding: 63px 20px 68px; }
  .source-section { gap: 28px; }
  .source-section li a { grid-template-columns: 73px minmax(0, 1fr) 15px; gap: 9px; }
  .source-section li span:first-child { font-size: .53rem; }
  .source-section li strong { font-size: .82rem; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 34px max(20px, env(safe-area-inset-right)) 34px max(20px, env(safe-area-inset-left)); }
}
@media (max-width: 340px) {
  .site-header nav a:nth-child(3) { display: none; }
  .eyebrow { font-size: .58rem; }
  .final-score { padding-right: 14px; padding-left: 14px; }
  .court-list li { grid-template-columns: 82px minmax(0, 1fr); gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
