:root {
  --navy:#070f20; --panel:#0e1e38; --text:#f4f8ff; --muted:#b1c1d9; --line:#2c405b; --ice:#77d6ff; --blue:#1165d8;
  --display:"Barlow","Arial Black","Segoe UI",Arial,sans-serif;
  --body:"DM Sans","Segoe UI",Arial,sans-serif;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth;scroll-padding-top:1.4rem}
body {margin:0;background:var(--navy);color:var(--text);font:1rem/1.6 var(--body)}
a {color:inherit;text-decoration:none}
button {font:inherit;cursor:pointer}
a:focus-visible,button:focus-visible,summary:focus-visible {outline:3px solid #ffa940;outline-offset:4px}
.wrap {width:min(89%,1200px);margin-inline:auto}
h1,h2,h3,p,figure,dl,dd,ul {margin:0}
h1,h2,h3 {font-family:var(--display);text-wrap:balance}
h2 {font-size:clamp(2.05rem,4.2vw,3.8rem);letter-spacing:-.065em;line-height:1.02;font-weight:850}
.skip {position:absolute;top:-10rem;left:1rem;z-index:10;background:white;color:black;padding:.6rem 1rem}
.skip:focus {top:.5rem}
.mast {background:#080f1d;border-bottom:1px solid #223047}
.header-row {min-height:68px;display:flex;align-items:center;gap:1.5rem}
.brand {display:flex;gap:.7rem;align-items:center;font:900 1.16rem/1 var(--display);letter-spacing:-.04em}
.brand img {border-radius:9px;border:1px solid #4684cc}
.brand b {color:#b4c7de;font-weight:520}
.langs {margin-left:auto;display:flex;align-items:center;gap:.2rem}
.langs a {display:inline-grid;place-items:center;min-width:32px;min-height:36px;font-size:.78rem;font-weight:750;color:var(--muted)}
.langs a[aria-current] {color:var(--ice);box-shadow:inset 0 -2px var(--ice)}
.cta,.secondary {display:inline-flex;justify-content:center;align-items:center;gap:.65rem;line-height:1.2;font-weight:750;padding:.94rem 1.3rem;border-radius:7px}
.cta {background:#2068e7;color:white;border:1px solid #5086ee}
.cta:hover {background:#275cc1}
.cta img {width:21px;height:18px;filter:brightness(0) invert(1)}
.header-row .cta {padding:.65rem 1rem;font-size:.88rem}
.hero {position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 83% 45%,#113e80 0%,#101f40 43%,#091426 80%)}
.hero:before {content:"";position:absolute;inset:0;z-index:-1;background:repeating-linear-gradient(135deg,transparent 0 70px,#83b9ff0d 71px 72px,transparent 73px 95px);mask-image:linear-gradient(to right,transparent,#000)}
.hero-inner {position:relative;display:grid;grid-template-columns:1.12fr 1fr;align-items:center;min-height:480px;gap:4%;padding-block:3.3rem}
.intro {z-index:1}
.over {display:flex;align-items:center;gap:.75rem;color:var(--ice);margin-bottom:.85rem;font-size:.8rem;text-transform:uppercase;letter-spacing:.11em;font-weight:760}
.over:before {content:"";display:inline-block;width:28px;height:3px;background:currentColor;transform:skewX(-25deg)}
h1 {font-size:clamp(4.7rem,8vw,7.7rem);letter-spacing:-.075em;line-height:.83;font-weight:950}
h1 span {display:block;color:#addfff;font-size:.62em;letter-spacing:-.065em;margin-top:.16em}
.lead {margin:1.25rem 0 1.4rem;max-width:28rem;color:#dce9f8;font-size:clamp(1rem,1.6vw,1.28rem);line-height:1.4}
.actions {display:flex;gap:.7rem;flex-wrap:wrap}
.secondary {border:1px solid #5b718b;background:#07162c66;color:#e0edff}
.secondary:hover {background:#284263}
.population {display:flex;align-items:baseline;gap:.45rem;color:#acbfd9;margin-top:1.2rem;font-size:.94rem}
.population strong {color:white;font-size:1.2rem}
.art {position:relative;display:grid;place-items:center;isolation:isolate}
.art:before {content:"";position:absolute;inset:-12%;z-index:-1;background:radial-gradient(ellipse,#1b65ff44,transparent 68%)}
.art img {width:min(100%,435px);height:auto;display:block;object-fit:contain;mask-image:radial-gradient(ellipse 71% 66% at center,#000 52%,transparent 87%);transform:rotate(-3deg)}
.directory {background:#0e1b30;border-block:1px solid var(--line)}
.directory .wrap {display:flex;gap:clamp(1.25rem,3.7vw,4rem);flex-wrap:wrap}
.directory a {display:flex;align-items:center;min-height:55px;font-weight:650;color:#cbdcf0;font-size:.94rem}
.directory a:hover {color:white;box-shadow:inset 0 -2px var(--ice)}
.section {padding-block:clamp(3.4rem,6.3vw,6rem)}
.split {display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(2rem,8vw,8rem);align-items:start}
.about-copy {border-left:3px solid #289eff;padding-left:1.5rem}
.about-copy p:first-child {font-size:clamp(1.16rem,1.9vw,1.52rem);line-height:1.45;letter-spacing:-.025em}
.about-copy p+p {margin-top:.85rem;color:var(--muted)}
.pale {background:#e8f1fc;color:#0b2241}
.pale .over {color:#1955a2}
.sub {max-width:29rem;line-height:1.6;color:var(--muted);margin-top:1rem}
.pale .sub {color:#465a72}
.rules {border-top:2px solid #1c5194}
.rule {display:grid;grid-template-columns:minmax(140px,.8fr) 1.2fr;gap:1rem;border-bottom:1px solid #becbda;padding:.95rem 0;align-items:baseline}
.rule dt {font-weight:800;letter-spacing:-.03em;color:#0d4387}
.rule dd {color:#344961}
.team {border-top:1px solid var(--line)}
.staff {border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr 1.25fr;align-items:baseline;padding:.95rem 0;gap:1rem}
.staff dt {color:var(--muted);font-size:.93rem}
.staff dd {font-size:clamp(1.13rem,2vw,1.55rem);font-weight:750;letter-spacing:-.04em}
.squad {border-block:1px solid #233957;background:linear-gradient(115deg,#102440,#0b192e)}
.section-row {display:flex;justify-content:space-between;align-items:end;gap:2rem}
.section-row .sub {max-width:24rem}
.groups {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:2rem}
.group {display:flex;flex-direction:column;background:#0e213b;border:1px solid #2e4869;border-top:3px solid #669be2;border-radius:6px;overflow:hidden}
.group:first-child {border-top-color:var(--ice)}
.group header {display:flex;justify-content:space-between;align-items:center;gap:.65rem;padding:1.05rem 1.2rem;border-bottom:1px solid #2b405b}
.group h3,figure h3 {font-size:1.25rem;line-height:1.2;letter-spacing:-.035em}
.group header span {font-size:.87rem;color:#b3d6fb;font-variant-numeric:tabular-nums}
.group ul {list-style:none;padding:.55rem 1.2rem 1rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
.group li {font-size:.98rem;overflow-wrap:anywhere}
.group p {margin-top:auto;padding:0 1.2rem 1rem;font-size:.88rem;color:var(--ice)}
.captains {display:flex;flex-wrap:wrap;gap:1rem 2.4rem;margin-top:1.3rem;color:var(--muted)}
.captains b {margin-left:.35rem;color:white}
.chronicle {border-top:2px solid #578dce}
details {border-bottom:1px solid var(--line)}
summary {cursor:pointer;list-style:none;display:grid;grid-template-columns:1fr auto;padding:1.15rem .2rem;align-items:center}
summary::-webkit-details-marker {display:none}
summary small,figcaption small {color:var(--ice);font-weight:700;font-size:.77rem;letter-spacing:.08em;text-transform:uppercase}
summary b {font:750 clamp(1.22rem,2.5vw,1.7rem)/1.24 var(--display);grid-row:2;letter-spacing:-.045em}
summary:after {content:"+";font-size:1.5rem;color:#bcd9f5;grid-column:2;grid-row:1/3}
details[open]>summary:after {content:"−"}
.chapter-body {padding:0 .2rem 1.25rem;color:#becfe2}
.chapter-body p+p {margin-top:.8rem}
.gallery {background:#0c1a30;border-block:1px solid var(--line)}
.photos {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem 1.4rem;margin-top:2rem}
.shot {display:block;overflow:hidden;border-radius:8px;background:#192f4d}
.shot img {width:100%;height:auto;display:block;transition:transform .2s ease-out}
.shot:hover img {transform:scale(1.025)}
figcaption {padding-top:.75rem}
figure h3 {margin:.3rem 0}
figure p {color:#b6c8dd;max-width:56ch;font-size:.94rem}
.invite {display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:clamp(1.5rem,4vw,3.7rem);background:linear-gradient(110deg,#103970,#144e9c);border:1px solid #34629a;border-radius:10px}
.invite h2 {max-width:18ch;font-size:clamp(2rem,3.4vw,3.1rem)}
.invite p {color:#c7dcf7;margin-top:.65rem}
.invite .cta {background:white;color:#0c2c5e;border-color:white;flex-shrink:0}
.invite .cta img {filter:brightness(0) saturate(0)}
footer {padding:1.5rem 0 2rem;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:1rem;font-size:.89rem;color:var(--muted)}
dialog {padding:0;width:min(92vw,1000px);background:#0b1d34;color:white;border:1px solid #365576;border-radius:12px;overflow:auto;max-height:90vh}
dialog::backdrop {background:#020714db}
.large-photo {display:block;width:100%;max-height:72vh;object-fit:contain}
dialog h3 {padding:1rem 1.2rem;letter-spacing:-.025em}
.close {position:absolute;top:.55rem;right:.55rem;background:#0a1b30;color:white;border:1px solid #89a4bd;border-radius:50%;width:42px;height:42px;font-size:1.45rem;line-height:1}
@media(max-width:850px){.groups{gap:.7rem}.group ul{grid-template-columns:1fr}.hero-inner{min-height:420px}.split{gap:2rem}.rule{grid-template-columns:1fr}.rule dd{margin-top:-.5rem}}
@media(max-width:660px){
  .wrap{width:90%}.header-row{min-height:60px;gap:.25rem}.header-row .cta{display:none}.brand img{width:38px;height:38px}
  .hero-inner{min-height:0;grid-template-columns:1fr;padding-block:2.3rem 1.2rem;gap:1.1rem}
  h1{font-size:clamp(4.3rem,19vw,6.5rem)}.art img{width:min(68vw,255px)}.over{margin-bottom:.85rem}
  .directory .wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:0 .7rem}.directory a{min-height:40px;font-size:.87rem}
  .split,.groups,.photos{grid-template-columns:1fr}.split{gap:1.45rem}.about-copy{padding-left:1rem}.rule{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:.7rem}.rule dd{margin:0}
  .section-row,.invite{display:block}.section-row .sub{margin-top:.65rem}.groups{gap:.8rem;margin-top:1.3rem}.group ul{grid-template-columns:repeat(2,1fr)}
  .invite .cta{margin-top:1.2rem}.photos{gap:1.75rem}.staff{grid-template-columns:1fr 1fr}.captains{gap:.5rem 1rem}
  footer{flex-wrap:wrap}.secondary,.cta{padding:.82rem 1rem}.section{padding-block:3rem}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

