@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b1120;
  --blue: #14346f;
  --blue-bright: #214d9d;
  --cream: #f7f1e6;
  --coral: #ff6156;
  --ice: #9fd2ff;
  --yellow: #f7df58;
  --header: 4.5rem;
  --interface-font: "Manrope", system-ui, sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--cream);
  color: var(--navy);
  padding: 0.6rem 0.9rem;
}

.skip:focus {
  top: 0.75rem;
}

.site-header,
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  min-height: var(--header);
  padding: 0.7rem 1.25rem;
  background: var(--navy);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(159, 210, 255, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand img {
  height: 2rem;
  width: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}

.footer-nav a,
.footer-nav button {
  color: var(--ice);
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-meta {
  margin: 0;
}

.cookie-banner {
  position: fixed;
  z-index: 40;
  inset: auto 1rem 1rem auto;
  width: min(28rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: .9rem 1rem 1rem;
  background: #fff;
  color: #18181b;
  color-scheme: light;
  border: 1px solid #d4d4da;
  border-radius: 1rem;
  box-shadow: 0 8px 30px #0006;
  line-height: 1.35;
}

.cookie-banner h2 { font-size: 1.5rem; margin: 0 0 .35rem; }
.cookie-banner p { margin: 0; font-size: .95rem; }
.cookie-banner [data-cookie-state]:empty { display: none; }

#cookie-details {
  margin-block-start: .75rem;
  padding: .65rem;
  background: #f4f4f6;
  border-radius: .5rem;
}

#cookie-details p + p { margin-block-start: .35rem; }

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-block-start: .75rem;
}

.cookie-actions button {
  flex: 1;
  padding: .35rem .45rem;
  min-height: 44px;
  color: inherit;
  background: #fff;
  border: 1px solid #a1a1aa;
  border-radius: .5rem;
  font: inherit;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
}

.cookie-actions button:hover { background: #f4f4f6; }
.cookie-actions [data-cookie="accept"] { border-color: #18181b; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.35rem;
  margin-left: auto;
}

.site-nav a,
.site-footer a:not(.brand) {
  color: var(--cream);
  text-decoration: none;
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover,
.site-footer a:not(.brand):hover,
.text-link:hover {
  color: var(--ice);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  min-height: 44px;
  min-width: 44px;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--cream);
  background: transparent;
  color: var(--cream);
  font: inherit;
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.hero,
.rally,
.crew,
.close {
  scroll-margin-top: 5.25rem;
}

h1,
h2 {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.92;
}

h1 {
  font-size: clamp(3rem, 5vw, 5.15rem);
}

h1 span {
  color: var(--coral);
}

.lede,
.rally p,
.crew p,
.close p {
  max-width: 36rem;
  margin: 1rem 0 0;
}

.marker {
  width: 2rem;
  height: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  background: var(--coral);
  color: var(--navy);
  text-decoration: none;
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.button:hover {
  background: var(--cream);
}

.text-link {
  color: var(--ice);
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.rally {
  display: grid;
  gap: 0.5rem 2rem;
  align-items: end;
  padding: 3.5rem 1.25rem 1rem;
  background: var(--cream);
  color: var(--navy);
  color-scheme: light;
}

.rally h2 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.rally__pose {
  display: block;
  width: min(240px, 62%);
  margin-top: 1.25rem;
}

.rally__court {
  display: block;
  width: 100%;
  height: auto;
}

.crew {
  padding: 3.5rem 1.25rem 2.5rem;
  background:
    linear-gradient(var(--blue), var(--blue)) 0 0 / 100% 100%;
  color: var(--cream);
}

.crew h2 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  max-width: 12ch;
}

.crew__players {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0 0;
  padding: 1rem 0.5rem 0;
  list-style: none;
  background: var(--cream);
}

.crew__players li {
  width: min(280px, 78%);
  margin: 0;
}

.crew__players img {
  display: block;
  width: 100%;
  height: auto;
}

.crew__lineup {
  width: min(1100px, 100%);
  margin: 1.75rem auto 0;
  scroll-margin-top: calc(var(--header) + 1rem);
}

.crew__lineup img {
  display: block;
  width: 100%;
}

.crew__lineup-names {
  display: grid;
  grid-template-columns: 22fr 12fr 27fr 14fr 25fr;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.crew__lineup-names .name {
  font-size: clamp(1.1rem, 3vw, 2rem);
}

.close {
  padding: 4.5rem 1.25rem 3rem;
  background: var(--navy);
}

.close h2 {
  font-size: clamp(2.8rem, 5.4vw, 5rem);
}

.close .button {
  margin-top: 1.6rem;
}

.site-footer {
  border-top: 1px solid rgba(159, 210, 255, 0.18);
  padding-bottom: 2rem;
}

.site-footer a:not(.brand) {
  margin-left: auto;
}

.site-footer a[href="#top"] {
  margin-left: 0;
}

.demo-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.85rem;
}

.demo-links__label {
  color: var(--ice);
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer .demo-links a {
  margin-left: 0;
  font-size: 1.05rem;
}

@media (min-width: 761px) {
  .crew__players {
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 0.25rem;
    padding: 1.25rem 1rem 0;
  }

  .crew__players li {
    width: auto;
    flex: 1 1 0;
    max-width: 280px;
  }
}

@media (min-width: 960px) {
  .rally {
    grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
    padding: 4rem 4vw 0;
  }
}

@media (max-width: 760px) {
  .brand img {
    height: 1.65rem;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 0.35rem 1.25rem 0.85rem;
    background: #0b1120;
    border-bottom: 1px solid rgba(159, 210, 255, 0.18);
  }

  .js .site-header.is-open .site-nav {
    display: flex;
  }

  .site-header {
    position: sticky;
  }

  .site-footer a:not(.brand) {
    margin-left: 0;
  }
}

@media (forced-colors: active) {
  .button,
  .nav-toggle {
    border: 1px solid ButtonText;
  }
}

.mark {
  white-space: nowrap;
}

.mark sup {
  font-size: 0.45em;
  line-height: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Shared surface and navigation for desktop and touch layouts. */
.site-header {
  border-bottom: 1px solid #ffffff20;
  box-shadow: 0 12px 36px #03071130;
}

.site-nav a {
  border-radius: .5rem;
  text-underline-offset: .35em;
}

.site-nav a[aria-current="page"] {
  color: var(--yellow);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.nav-toggle { border-radius: .6rem; }

.site-footer {
  gap: .65rem 1.5rem;
  border-top: 1px solid #ffffff26;
}

@media (max-width: 760px) {
  .js .site-nav { padding-block: .4rem .7rem; }
  .js .site-nav a { width: 100%; padding-inline: .35rem; }
  .site-footer { padding-inline: 1rem; }
}


/* The white navigation band uses the same red as the D in the wordmark. */
:root {
  --header-paper: #fff;
  --header-ink: #121214;
  --brand-d-red: #ea1a2b;
  --site-canvas: #0a0a0c;
}

body { background: var(--site-canvas); }
.rally, .crew, .close { background: var(--site-canvas); color: var(--cream); color-scheme: dark; }
.crew__players { background: #1a1a20; border-radius: 1rem; }

.site-header {
  gap: .55rem clamp(.6rem, 1.65vw, 1.5rem);
  background: var(--header-paper);
  border-bottom: 3px solid var(--brand-d-red);
  color: var(--header-ink);
  color-scheme: light;
}

.site-header .brand { flex: 0 0 auto; }
.site-header .brand img { width: clamp(10rem, 24vw, 19rem); height: auto; }

.header-paddle {
  flex: none;
  width: 2rem;
  height: 2rem;
  margin-inline-start: auto;
  object-fit: contain;
}

.site-header .site-nav { margin: 0; gap: .15rem clamp(.5rem, 1.45vw, 1.3rem); }

.site-header .site-nav a {
  display: inline-block;
  min-height: 44px;
  padding: .8rem .5rem;
  color: var(--header-ink);
  font: 750 clamp(.83rem, 1.1vw, .98rem)/1.1 var(--interface-font);
  letter-spacing: -.025em;
}

.site-header .nav-initial { color: var(--brand-d-red); }

.site-header .site-nav a:hover,
.site-header .site-nav a[aria-current="page"] {
  color: var(--header-ink);
  text-decoration: underline;
  text-decoration-color: var(--brand-d-red);
  text-decoration-thickness: 2px;
  background: #f5f5f6;
}

.site-header .nav-toggle {
  margin-inline-start: 0;
  padding: .4rem .65rem;
  border-color: #d3d3d7;
  color: var(--header-ink);
  font: 750 .85rem/1 var(--interface-font);
  letter-spacing: 0;
}

.site-header :focus-visible { outline: 2px solid var(--brand-d-red); outline-offset: 2px; }

@media (max-width: 920px) {
  .js .site-header .nav-toggle { display: inline-flex; align-items: center; }
  .js .site-header .site-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .4rem 1rem .65rem;
    background: var(--header-paper);
    border-bottom: 2px solid var(--brand-d-red);
    box-shadow: 0 12px 28px #0003;
  }

  .js .site-header.is-open .site-nav { display: flex; }
  .js .site-header .site-nav a { width: 100%; }
  .site-header .brand img { width: clamp(9rem, 46vw, 16rem); }
}

@media (max-width: 420px) {
  .site-header { gap: .4rem; padding-inline: .7rem; }
  .header-paddle { width: 1.5rem; height: 1.5rem; }
}

/* Public pages and the member workspace use the same display typography. */
.page :is(h1, h2) {
  font-family: var(--interface-font);
  letter-spacing: -.045em;
}

.page .text-link { text-underline-offset: .2em; }

/* Keep the court and the next steps side by side on wide screens. */
.home {
  --home-surface: #111114;
  --home-edge: #ffffff2b;
  --home-accent: #ff626b;
  --home-ink: #fafafa;
  --home-muted: #c6c6cd;
  --home-gutter: clamp(.85rem, 2.4vw, 2.5rem);
  --home-display: var(--interface-font);
  color: var(--home-ink);
  background: var(--site-canvas);
}

.hero {
  --hero-top: clamp(1rem, 3vh, 2.25rem);
  width: min(100% - 2 * var(--home-gutter), 112rem);
  margin-inline: auto;
  padding-block: var(--hero-top) 0;
  background: radial-gradient(ellipse at 7% 25%, #28151b, transparent 33rem);
}

.hero__intro { padding: clamp(.15rem, 2vw, 1.55rem) 0 1.2rem; }

.hero__title {
  margin: 0;
  font-family: var(--home-display);
  font-size: clamp(2.45rem, 4.55vw, 5.15rem);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.072em;
}

.hero__title > span { color: var(--home-accent); }

.hero__lede {
  max-width: 37ch;
  margin: clamp(.8rem, 2.1vw, 1.5rem) 0 0;
  color: var(--home-muted);
  font-size: clamp(.98rem, 1.45vw, 1.22rem);
  line-height: 1.45;
}

.hero__paths {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem 1rem;
  margin-top: clamp(.75rem, 2vw, 1.35rem);
}

.hero__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  container-type: inline-size;
  align-self: start;
  background: var(--home-surface);
  border: 1px solid var(--home-edge);
  border-radius: .8rem;
}

.hero__scene,
.blaze-spotlight {
  grid-area: 1 / 1;
}

.hero__scene img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .75rem;
}

a.club-action,
button.club-action,
.home .close .button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  min-height: 48px;
  padding: .65rem .95rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  background: #ff626b;
  color: #170b0e;
  font: 750 .875rem/1.25 var(--interface-font);
  letter-spacing: 0;
  text-align: left;
  text-decoration: none;
}

a.club-action:hover,
button.club-action:hover,
.home .close .button:hover { background: #ff9299; }

.club-invite-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  color: #f8f8fa;
  font: 700 .875rem/1.25 var(--interface-font);
  text-decoration-color: #ffffff75;
  text-underline-offset: .24em;
}

.club-invite-link:hover { text-decoration-color: #ff626b; }

.home :focus-visible { outline: 2px solid var(--home-accent); outline-offset: 3px; }

.blaze-spotlight {
  align-self: start;
  justify-self: end;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: .55rem;
  max-width: calc(100% - 1.5rem);
  margin: .75rem;
  text-decoration: none;
  color: #fff;
}

.blaze-spotlight > img {
  display: block;
  width: clamp(2rem, 6.8cqw, 7rem);
  height: auto;
  filter: drop-shadow(0 .3rem .65rem #000a);
}

.blaze-spotlight__caption {
  display: grid;
  gap: .15rem;
  padding: .6rem .85rem;
  background: rgb(10 10 13 / 58%);
  backdrop-filter: blur(4px);
  border: 1px solid #ffffff52;
  border-left: 3px solid var(--brand-d-red);
  border-radius: .55rem;
  box-shadow: 0 .3rem 1.1rem #0006;
  line-height: 1.25;
}

.blaze-spotlight__caption > span { font-size: .9rem; }
.blaze-spotlight:hover .blaze-spotlight__caption > span { text-decoration: underline; }

.blaze-spotlight strong,
.blaze-name {
  font: 700 1.65rem / 1 "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  letter-spacing: .02em;
}

.home :is(.rally, .crew, .close) {
  width: min(100% - 2 * var(--home-gutter), 112rem);
  margin: clamp(1.7rem, 4vw, 3.5rem) auto;
  padding: clamp(1.25rem, 3.3vw, 2.7rem) 0 0;
  background: transparent;
  border-top: 1px solid var(--home-edge);
  color: var(--home-ink);
}

.home :is(.rally, .crew, .close) h2 {
  font-family: var(--home-display);
  font-size: clamp(1.95rem, 4.3vw, 3.8rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.home :is(.rally, .crew, .close) p { color: var(--home-muted); }
.home .rally { align-items: start; }
.home :is(.rally,.crew) .text-link { gap: .5rem; color: var(--home-ink); }
.home .crew h2 { max-width: none; }

.home .crew__players {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: clamp(.3rem, 2vw, 1.5rem);
  padding: 0;
  background: transparent;
}

.home .crew__players li {
  display: grid;
  align-self: stretch;
  align-items: end;
  justify-items: center;
  width: 100%;
  max-width: none;
  padding: clamp(.25rem, 2vw, 1rem);
  border: 1px solid var(--home-edge);
  border-top-color: #ffffff50;
  background: linear-gradient(155deg, #24242a, var(--home-surface) 70%);
}

.home .crew__players figure {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  justify-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
}

.home .crew__players .name {
  margin-top: .45rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  text-align: center;
}

.home .crew__players figure img {
  width: auto;
  max-width: 100%;
  max-height: clamp(9rem, 30vw, 19rem);
  margin-inline: auto;
  object-fit: contain;
}

.home .close {
  padding: clamp(1.3rem, 4vw, 3rem);
  border-top: 2px solid var(--home-accent);
  background: linear-gradient(115deg, #241217, var(--home-surface) 70%);
}

@media (min-width: 850px) {
  .hero {
    --hero-gap: clamp(1.2rem, 3.3vw, 3.6rem);
    --court-height: max(12rem, 100svh - var(--header) - var(--hero-top) - 1.25rem);
    --court-width: min(65%, 100% - 17rem - var(--hero-gap), var(--court-height) * 16 / 9);
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--court-width));
    gap: var(--hero-gap);
  }

  .hero__intro { padding-right: .25rem; }
  .blaze-spotlight { margin: 12cqw 2.25cqw 0 0; }
}

@media (max-width: 600px) {
  .hero__title { font-size: clamp(2.2rem, 8.2vw, 3.4rem); }
  .hero__paths { gap: .2rem .75rem; }
  .blaze-spotlight { gap: .3rem; margin: .4rem; }
  .blaze-spotlight > img { width: clamp(1.7rem, 7.5cqw, 3rem); }
  .blaze-spotlight__caption { gap: .1rem; padding: .3rem .45rem; }
  .blaze-spotlight__caption strong { font-size: 1.25rem; }
  .blaze-spotlight__caption > span { font-size: .75rem; }
}
