:root {
  --ink: #253544;
  --navy: #17324d;
  --paper: #ffffff;
  --white: #fff;
  --gold: #b53f46;
  --green: #315f8c;
  --line: #dbe2e8;
  --muted: #657481;
  --shadow: 0 18px 45px rgba(23,42,58,.11);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: .18em; }
a:hover { color: var(--green); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 20; padding: .7rem 1rem; background: var(--white); }
.site-header { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0 47%, #fff 47% 53%, var(--gold) 53% 100%);
}
.header-inner, main, .footer-inner { width: min(1180px, calc(100% - 40px)); margin: auto; }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--navy); text-decoration: none; }
.brand img { width: 58px; height: 49px; object-fit: contain; }
.brand strong { font: 700 1.2rem/1 "Gill Sans", "Avenir Next", sans-serif; letter-spacing: .025em; }
nav ul { display: flex; flex-wrap: wrap; gap: .35rem 1.15rem; list-style: none; margin: 0; padding: 0; }
nav a { font-size: .93rem; font-weight: 650; text-decoration: none; }
nav a[aria-current="page"] { border-bottom: 2px solid var(--gold); }
main { padding: 4.8rem 0 6rem; }
.hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; padding: 2.5rem 0 5.5rem; }
.eyebrow { color: var(--green); font-size: .8rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { color: var(--navy); font-family: "Gill Sans", "Avenir Next", sans-serif; line-height: 1.08; }
h1 { font-size: clamp(2.65rem, 6vw, 5.4rem); letter-spacing: -.045em; margin: .4rem 0 1.25rem; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.025em; margin: 0 0 1rem; }
h3 { font-size: 1.4rem; margin: 0 0 .55rem; }
.lead { font-size: clamp(1.12rem, 2vw, 1.35rem); max-width: 680px; color: #43586a; }
.hero-mark { width: min(100%, 400px); margin: auto; filter: drop-shadow(0 25px 30px rgba(23,42,58,.12)); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: .76rem 1.15rem; background: var(--navy); color: var(--white); font-weight: 700; text-decoration: none; }
.button.secondary { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.notice { padding: 1.2rem 1.35rem; background: #eef4f9; border-left: 4px solid var(--green); border-radius: 0 14px 14px 0; }
.section { padding: 4.5rem 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 720px; margin-bottom: 2.2rem; }
.grid { display: grid; gap: 1.5rem; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card-body { padding: 1.45rem; }
.card h2 { font-size: 1.42rem; letter-spacing: 0; margin: 0 0 .55rem; }
.game-card img { aspect-ratio: 1; width: 100%; object-fit: contain; background: #fff; padding: .6rem; }
.status { display: inline-block; color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.team-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; background: #e7e2d8; }
.team-card p { color: var(--muted); }
.role { color: var(--green); font-weight: 750; margin: -.2rem 0 .6rem; }
.principle { padding: 1.7rem; border-top: 4px solid var(--green); background: #f7f9fb; }
.principle:nth-child(2) { border-top-color: var(--gold); }
.compact { max-width: 780px; }
.prose h2 { margin-top: 2.8rem; }
.prose h3 { margin-top: 2rem; }
.prose li + li { margin-top: .5rem; }
.contact-box { background: var(--navy); color: white; border-radius: var(--radius); padding: clamp(2rem, 5vw, 4rem); }
.contact-box h2, .contact-box a { color: white; }
.contact-box h2 {
  font-size: clamp(1.3rem, 3vw, 2.25rem);
  overflow-wrap: anywhere;
}
.site-footer { background: var(--navy); color: #e6ebed; }
.footer-inner { padding: 3rem 0; display: grid; grid-template-columns: 1fr auto; gap: 2rem; }
.footer-inner a { color: white; }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.small { color: #aeb9bf; font-size: .86rem; }

@media (max-width: 900px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 1rem 0; gap: .75rem; }
  .site-header { position: static; }
  .hero { grid-template-columns: 1fr; padding-top: 1rem; }
  .hero-mark { width: 260px; }
  .grid.three, .grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 590px) {
  body { font-size: 16px; }
  .header-inner, main, .footer-inner { width: min(100% - 26px, 1180px); }
  nav ul { gap: .3rem .85rem; }
  main { padding-top: 3rem; }
  .grid.three, .grid.four { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
