:root {
  color-scheme: dark;
  --bg: #0b1019;
  --surface: #111a29;
  --line: #2a364b;
  --text: #eff5ff;
  --muted: #b7c5d9;
  --accent: #8eb6ff;
  --ink: #0a162b;
  font: 16px/1.6 "Segoe UI", "Arial", sans-serif;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid #d5e6ff;
  outline-offset: 4px;
}
a:hover { color: var(--accent); }
[hidden] { display: none !important; }
p, h1, h2, h3 { margin: 0; }
section[id], article[id] { scroll-margin-top: 5.75rem; }
.shell { width: min(100% - 3.75rem, 72rem); margin-inline: auto; }
.skip {
  position: absolute;
  z-index: 3;
  top: 0.5rem;
  left: 0.5rem;
  transform: translateY(-160%);
  color: var(--ink);
  background: var(--accent);
  padding: 0.65rem 1rem;
}
.skip:focus { transform: translateY(0); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 4.5rem;
  gap: 1.5rem;
}
.wordmark {
  font-size: 1.42rem;
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1;
  text-decoration: none;
  justify-self: start;
}
.wordmark span, .hero h1 span { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.1rem); }
.site-nav a, .header-join, .menu-toggle {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 650;
}
.site-nav a { color: var(--muted); }
.site-nav a:hover { color: var(--text); }
.header-join {
  justify-self: end;
  color: var(--accent);
  border: 1px solid var(--line);
  padding: 0.46rem 0.9rem;
  border-radius: 0.35rem;
  white-space: nowrap;
}
.header-join:hover { border-color: var(--accent); }
.menu-toggle {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}
.hero {
  background: #10192a;
  border-bottom: 1px solid var(--line);
}
.hero-layout {
  min-height: 31rem;
  padding-block: clamp(3.75rem, 9.5vw, 7.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 20rem);
  align-items: center;
  column-gap: clamp(2.5rem, 7vw, 6.5rem);
}
.label {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.hero h1 {
  font-size: clamp(5.2rem, 15vw, 11rem);
  line-height: 0.8;
  font-weight: 900;
  letter-spacing: -0.085em;
  margin-left: -0.065em;
  margin-bottom: 1.95rem;
}
.hero h1 span { margin-inline-start: 0.035em; }
.hero-copy {
  max-width: 31rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.9vw, 1.35rem);
  line-height: 1.55;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.75rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  border: 1px solid transparent;
  border-radius: 0.35rem;
  padding: 0.62rem 1.05rem;
  text-decoration: none;
  font-weight: 750;
  font-size: 0.95rem;
}
.button-main { background: var(--accent); color: var(--ink); }
.button-main:hover { background: #c8dcff; color: var(--ink); }
.button-outline { border-color: var(--line); color: var(--text); }
.button-outline:hover { border-color: var(--accent); }
.hero-aside {
  background: var(--bg);
  border: 1px solid #3b4a64;
  border-left: 3px solid var(--accent);
  border-radius: 0.35rem;
  padding: 1.15rem 1.35rem;
}
.hero-aside strong { display: block; margin-bottom: 0.6rem; }
.hero-aside a {
  display: block;
  padding: 0.65rem 0;
  color: var(--accent);
  text-decoration: none;
  border-top: 1px solid var(--line);
}
.hero-aside a:hover { color: var(--text); text-decoration: underline; }
.hub { padding-block: clamp(2.6rem, 5vw, 4.5rem); }
.hub h2, .team-section h2 {
  font-size: clamp(2.05rem, 4.5vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
}
.hub-grid, .team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hub-grid { margin-top: 1.4rem; }
.hub-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid #5885d4;
  border-radius: 0.35rem;
  padding: clamp(1rem, 2.5vw, 1.55rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}
.hub-card h3 { font-size: 1.3rem; line-height: 1.2; }
.hub-card p { color: var(--muted); margin-bottom: auto; padding-bottom: 0.5rem; }
.team-section { background: var(--surface); border-block: 1px solid var(--line); }
.team-section .shell { padding-block: clamp(2.6rem, 5vw, 4.5rem); }
.team-section .body-lead { margin-top: 0.8rem; }
.team-grid { padding: 0; margin: 1.4rem 0 0; list-style: none; }
.team-grid a {
  display: flex;
  align-items: center;
  min-height: 3.3rem;
  gap: 0.7rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: var(--bg);
  text-decoration: none;
  font-weight: 650;
}
.team-grid a:hover { border-color: var(--accent); }
.team-grid span { min-width: 2.75rem; color: var(--accent); font-weight: 850; }
.crew-details .text-link { display: inline-block; margin-top: 1.2rem; }
.section, .band-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  column-gap: clamp(2.5rem, 9vw, 8rem);
  padding-block: clamp(3rem, 6vw, 5.1rem);
}
.section h2, .band h2, .join h2 {
  font-size: clamp(2.15rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.065em;
}
.body-lead { color: var(--muted); font-size: 1.07rem; max-width: 35rem; }
.section .body-lead { margin-top: 0.25rem; }
.text-link { color: var(--accent); text-underline-offset: 0.27em; font-weight: 650; }
.text-link:hover { color: var(--text); }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.band-layout { align-items: center; }
.band .body-lead { margin: 1rem 0 1.2rem; }
.ladder {
  border: 1px solid #3b4a64;
  border-radius: 0.45rem;
  background: var(--bg);
  padding: clamp(1.05rem, 3vw, 1.75rem);
}
.ladder h3 { font-size: 1.08rem; }
.ladder ol {
  margin: 1rem 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.ladder li {
  display: grid;
  place-items: center;
  min-width: 2.4rem;
  min-height: 2.4rem;
  padding: 0.25rem 0.55rem;
  background: #202f48;
  border-radius: 0.25rem;
  color: var(--text);
  font-size: 0.91rem;
  font-weight: 700;
}
.ladder li:last-child { background: var(--accent); color: var(--ink); }
.ladder p, .details-list p, .site-footer p { color: var(--muted); }
.details-list { border-top: 1px solid var(--line); }
.details-list details { border-bottom: 1px solid var(--line); }
.details-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  min-height: 3.4rem;
  padding: 0.85rem 0.25rem;
  font-size: 1.06rem;
  font-weight: 650;
}
.details-list summary::-webkit-details-marker { display: none; }
.details-list summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.details-list details[open] summary::after { content: "−"; }
.details-list summary:hover { color: var(--accent); }
.details-list p { padding: 0.05rem 1.8rem 1.05rem 0.25rem; }
.faq { border-top: 1px solid var(--line); }
.join { background: var(--surface); border-block: 1px solid var(--line); }
.join-layout, .footer-layout { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; }
.join-layout { justify-content: space-between; padding-block: clamp(2rem, 4vw, 3.5rem); }
.footer-layout { padding-block: 1.8rem; }
.footer-layout p { flex: 1; }
.footer-layout .text-link { font-size: 0.92rem; }
@media (max-width: 54rem) {
  .shell { width: min(100% - 2.5rem, 72rem); }
  .header-layout { grid-template-columns: auto 1fr auto; column-gap: 0.9rem; row-gap: 0; }
  .menu-toggle { justify-self: end; }
  .header-join { grid-column: 3; grid-row: 1; }
  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.3rem;
    padding-block: 0.75rem;
    border-top: 1px solid var(--line);
  }
  .hero-layout, .section, .band-layout { grid-template-columns: 1fr; min-height: 0; }
  .hero-layout { row-gap: 2.75rem; padding-block: 4rem 2rem; }
  .section, .band-layout { row-gap: 1.5rem; }
  .hero h1 { font-size: clamp(5rem, 19.5vw, 9rem); }
}
@media (max-width: 42rem) {
  .hub-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid a { align-items: flex-start; flex-direction: column; gap: 0.1rem; }
}
@media (max-width: 26rem) {
  .shell { width: calc(100% - 2rem); }
  .header-join { padding-inline: 0.6rem; }
  .footer-layout p { flex-basis: calc(100% - 4.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
