/* Poster style (2026-10-15): the website in the style of the app's poster header —
   big Oswald capitals, the athlete standing in front of the words, a blue
   glow, an outlined number, the sport figures in brand blues, app-like tiles. */

.poster-kicker {
  display: inline-block;
  margin: 0;
  font: 600 13px/1 var(--font-display);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.poster-word {
  position: relative;
  margin: 10px 0 0;
  font: 700 clamp(76px, 25vw, 150px) / 0.84 var(--font-display);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #f1f5f9;
}
.poster-word .accent { color: var(--accent-soft); }

.poster-glow {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 130%;
  height: 90%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.55), rgba(37, 99, 235, 0.18) 55%, rgba(37, 99, 235, 0));
  pointer-events: none;
}

/* ── Home: the poster ── */
.poster-hero {
  position: relative;
  overflow: hidden;
  padding: 26px 0 10px;
}
.poster-hero-grid { display: grid; gap: 8px; }

.poster-art {
  position: relative;
  height: clamp(390px, 112vw, 600px);
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.poster-number {
  position: absolute;
  right: -4%;
  top: 22%;
  font: 700 clamp(230px, 74vw, 420px) / 0.8 var(--font-display);
  color: transparent;
  -webkit-text-stroke: 2px rgba(96, 165, 250, 0.32);
  pointer-events: none;
}
.poster-art .poster-word { z-index: 1; }
.poster-cutout {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  height: 74%;
  transform: translateX(-30%);
  -webkit-mask-image: linear-gradient(#000 58%, transparent 97%);
  mask-image: linear-gradient(#000 58%, transparent 97%);
  pointer-events: none;
}

.poster-copy p.lead {
  margin: 0;
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.55;
}
.poster-copy .cta-row { margin-top: 18px; }
.poster-copy .cta-note { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Who it is for, as the app's tiles */
.role-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.role-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 92px;
  padding: 14px 10px;
  border: 1.5px solid rgba(59, 130, 246, 0.6);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.38), rgba(15, 23, 42, 0.6));
  color: #f1f5f9;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.role-tile svg { width: 30px; height: 30px; color: var(--accent); }

/* Every sport: the figures in a row, fading out at the feet */
.sport-strip {
  padding: 30px 0 12px;
  text-align: center;
}
.fig-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: clamp(86px, 24vw, 150px);
  margin-top: 18px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.fig {
  flex: 0 0 auto;
  height: 100%;
  aspect-ratio: var(--ar, 0.8);
  margin: 0 -2px;
  background: linear-gradient(180deg, #93c5fd 0%, #3b82f6 45%, #1e40af 78%, rgba(30, 58, 138, 0) 100%);
  -webkit-mask: var(--src) center bottom / contain no-repeat;
  mask: var(--src) center bottom / contain no-repeat;
}

/* The video moves under the poster */
.video-band { padding: 22px 0 8px; }
.video-band .shot-wrap { max-width: 420px; margin: 0 auto; }

/* ── Team Plans: the poster ── */
.plans-poster {
  position: relative;
  padding-top: 8px;
}
.plans-poster .poster-glow { top: 74%; }
.plans-poster .poster-word { font-size: clamp(64px, 19vw, 132px); }
.roster-line {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: clamp(150px, 44vw, 260px);
  margin-top: -36px;
}
.roster-line .fig { margin: 0 -14px; }
.roster-line .fig.mid { height: 112%; }
.plans-lead {
  position: relative;
  margin: 6px 0 0;
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.55;
}

/* Cards: the price says what it is per athlete; the billing line is said once, under the group */
.plan-card .plan-name {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-soft);
}
.plan-card .plan-price .amount { font-size: 64px; letter-spacing: -0.01em; }
.plan-card .plan-per-athlete {
  margin: 2px 0 2px;
  color: #e2e8f0;
  font-weight: 600;
}
.plan-card .plan-per-athlete span { color: var(--muted); font-weight: 400; }
.plan-terms {
  margin: 14px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

@media (min-width: 900px) {
  .poster-hero { padding: 48px 0 20px; }
  .poster-hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
  .poster-hero-grid .poster-copy { order: -1; }
  .role-tiles { grid-template-columns: repeat(4, 1fr); }
  .plans-poster { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px; }
  .roster-line { margin-top: 0; }
  .plans-lead { max-width: 640px; margin-top: 14px; }
}

/* "Coaches start free." said once, big, before what the plans add */
.plans-free {
  position: relative;
  margin: 10px 0 0;
  font: 700 clamp(30px, 8vw, 44px) / 1.05 var(--font-display);
  text-transform: uppercase;
  color: #f1f5f9;
}
.plan-card .plan-season {
  margin: 0 0 14px;
  color: #e2e8f0;
  font-weight: 600;
}
.plan-card .plan-season span { color: var(--muted); font-weight: 400; }
.plan-switch {
  margin: 6px auto 0;
  max-width: 640px;
  text-align: center;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.5;
}
.plan-switch a { color: var(--accent-soft); }

/* Real athletes (cut out of photos) instead of the silhouettes */
/* The shadow sits on the row, not on each picture: a picture's fade mask cut its own
   shadow off at the edges of its box, which showed as hard lines around every athlete */
.roster-line--photos { gap: 0; filter: drop-shadow(0 12px 22px rgba(2, 6, 23, 0.55)); }
.roster-line--photos img {
  position: relative;
  height: 100%;
  width: auto;
  margin: 0 -22px;
  -webkit-mask-image: linear-gradient(#000 62%, transparent 98%);
  mask-image: linear-gradient(#000 62%, transparent 98%);
}
.roster-line--photos img.mid { height: 114%; z-index: 1; }
.fig-row--photos img {
  flex: 0 0 auto;
  height: 100%;
  width: auto;
  margin: 0 -6px;
  -webkit-mask-image: linear-gradient(#000 65%, transparent 100%);
  mask-image: linear-gradient(#000 65%, transparent 100%);
}

/* Lighter cards: one price at a time (Monthly / Per season), the rest small */
.price-toggle {
  display: inline-flex;
  margin: 2px 0 18px;
  padding: 4px;
  border-radius: 999px;
  background: #1e293b;
}
.price-toggle button {
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  background: transparent;
  color: var(--muted);
  font: 600 14px var(--font-body);
  cursor: pointer;
}
.price-toggle button.is-on { background: var(--accent); color: #fff; }
.plan-card .plan-per-athlete {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}
.plan-card .plan-features li { font-size: 14px; }

/* Every sport: a big headline in three brand colours, then one card per sport,
   the athlete in brand blues standing in it */
.sport-strip { text-align: left; padding: 40px 0 16px; overflow: hidden; }
.season-title {
  margin: 10px 0 0;
  font: 700 clamp(58px, 17vw, 120px) / 0.9 var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.season-title span { display: block; color: #f1f5f9; }
.season-title .c2 { color: var(--accent); }
.season-title .c3 { color: #93c5fd; }
.sport-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.sport-card {
  position: relative;
  container-type: inline-size;
  height: clamp(220px, 62vw, 320px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.25);
}
.sport-card.sc-1 { background: radial-gradient(120% 90% at 30% 20%, #2563eb 0%, #1e3a8a 45%, #0f172a 100%); }
.sport-card.sc-2 { background: radial-gradient(120% 90% at 70% 20%, #0ea5e9 0%, #1e40af 50%, #0f172a 100%); }
.sport-card.sc-3 { background: radial-gradient(120% 90% at 30% 25%, #6366f1 0%, #1e3a8a 50%, #0f172a 100%); }
.sport-card.sc-4 { background: radial-gradient(120% 90% at 70% 25%, #3b82f6 0%, #172554 55%, #0f172a 100%); }
.sport-card img {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 88%;
  max-width: 108%;
  object-fit: contain;
  object-position: bottom;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(#000 70%, transparent 100%);
  mask-image: linear-gradient(#000 70%, transparent 100%);
  filter: drop-shadow(0 10px 18px rgba(2, 6, 23, 0.55));
}
.sport-word {
  position: absolute;
  left: 50%;
  top: 14%;
  transform: translateX(-50%);
  font: 700 clamp(40px, 12vw, 64px) / 1 var(--font-display);
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(191, 219, 254, 0.35);
}
.sport-name {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #f1f5f9;
  font: 600 13px var(--font-body);
  letter-spacing: 0.02em;
}
@media (min-width: 900px) {
  .sport-cards { grid-template-columns: repeat(4, 1fr); }
  .sport-card { height: 340px; }
}

/* Home, take 4: the headline, then the video at the top; the athletes stand in front of "season." */
.poster-hero--video .poster-word--hero { font-size: clamp(74px, 23vw, 140px); margin-bottom: 14px; }
.poster-hero--video .hero-video { margin-top: 22px; grid-area: auto; }
@media (max-width: 899px) {
  .poster-hero--video .poster-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .poster-hero--video .hero-video { grid-column: 1 / -1; }
}
.poster-hero--video .role-tiles { margin-top: 26px; }
.season-poster { position: relative; }
.season-poster .poster-glow { top: 70%; }
/* The athletes come up over the bottom of "season." only, so every word still reads */
.sport-strip .season-title { position: relative; z-index: 0; font-size: clamp(64px, 20.5vw, 140px); line-height: 0.88; }
.season-collage {
  position: relative;
  z-index: 1;
  height: clamp(170px, 50vw, 320px);
  margin-top: -0.3em;
  font-size: clamp(64px, 19vw, 132px);
}
.season-collage img { margin: 0 -24px; }
.season-collage img.mid { height: 100%; }
@media (max-width: 599px) {
  .season-collage img:nth-child(5) { display: none; }
}
@media (min-width: 900px) {
  .poster-hero--video .poster-hero-grid { grid-template-columns: 1fr 1fr; }
  .poster-hero--video .poster-hero-grid .poster-copy { order: 0; }
  .poster-hero--video .hero-video { margin-top: 0; grid-area: auto; }
  .season-collage { justify-content: flex-start; }
}

/* Take 5: the athletes in brand blues, girls and boys, one per sport; "season." white so it reads over them */
.sport-strip .season-title .c3 { color: #ffffff; text-shadow: 0 2px 18px rgba(2, 6, 23, 0.6); }
/* Take 6: "whole season." is the blue pair (David); the shadow keeps "season." clear over the athletes */
.sport-strip .season-title .l4 { text-shadow: 0 2px 18px rgba(2, 6, 23, 0.6); }
.season-collage { margin-top: -0.16em; }
.season-collage img { margin: 0 -18px; }

/* Take 6: one poster at every width. The words and the athletes share one size
   (a share of the poster's width), so a laptop gets the phone's poster scaled up:
   four stacked lines on a phone, two lines across the full width from a tablet up,
   big athletes, only as many as fit whole (four on a phone, five wider). A basketball player
   shoots from the left and the ball sits on the W of "whole". */
.season-poster { container-type: inline-size; }
.sport-strip .season-title,
.season-collage { font-size: calc(100cqw / 4.45); }
/* Each line pulled left by its first letter's built-in space (O, F, W, S), so the ink lines up
   with "Every sport" above instead of starting a few pixels in */
.season-title .l1 { margin-left: -0.042em; }
.season-title .l2 { margin-left: -0.052em; }
.season-title .l3 { margin-left: -0.02em; }
.season-title .l4 { margin-left: -0.035em; }
.season-title .season-w { display: inline; position: relative; color: inherit; }
/* The ball: a lighter blue than the W so it reads on it, real size next to the shooter (about
   a twelfth of his picture), up and a little ahead of his hand where the W meets the H */
.season-ball {
  position: absolute;
  left: 0.79em;
  top: 0.6em;
  width: 0.3em;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(2, 6, 23, 0.55));
  pointer-events: none;
}
/* Phone: four athletes, every one whole (none cut off at the edge); the catcher crouches, so
   smaller, and stands off a little so his glove stays clear of the lacrosse player */
.season-collage { height: 2.1em; justify-content: flex-start; }
.season-collage img { margin: 0 -0.3em; }
.season-collage > :nth-child(n + 5) { display: none; }
.season-collage > :nth-child(4) { height: 70%; margin-left: 0.05em; }
/* The shooter faces right from the left edge, his hand under the ball. He is wrapped so a thin
   dark outline can go round him (on his own picture the fade mask would clip it) and his hands
   read over the blue "season."; pushed down a touch so his head stays under the words */
.season-collage .season-shooter {
  position: relative;
  display: block;
  flex: none;
  height: 120%;
  margin: 0 -0.3em 0 0;
  transform: translateY(0.14em);
  z-index: 2;
  filter: drop-shadow(0 0 1.5px rgba(2, 6, 23, 0.9));
}
.season-collage .season-shooter img { display: block; height: 100%; width: auto; margin: 0; }
/* the soccer player's back leg would crowd his legs: she stands a little further off */
.season-collage .season-shooter + img { margin-left: -0.12em; }
@container (min-width: 560px) {
  .sport-strip .season-title,
  .season-collage { font-size: calc(100cqw / 7.1); }
  .season-title > span { display: inline; }
  .season-title .l2::after { content: '\A'; white-space: pre; }
  .season-title .l2, .season-title .l4 { margin-left: 0; }
  /* "whole" starts the last line here: he stands lower and nearer with his hand just under
     the W; five athletes, the catcher a bit smaller (full size looked odd) */
  .season-collage { height: 2.45em; margin-top: -0.05em; }
  .season-collage img { margin: 0 -0.22em; }
  .season-collage > :nth-child(4) { height: 85%; margin-left: -0.06em; }
  /* the volleyball player a little bigger, out to the right where her ball fills the space after "season." */
  .season-collage > :nth-child(5) { display: block; height: 112%; margin-left: 0.12em; }
  .season-collage .season-shooter { height: 120%; margin: 0 -0.22em 0 0; transform: translateY(0.58em); }
  .season-collage .season-shooter + img { margin-left: -0.05em; }
  .season-ball { width: 0.35em; left: 0.815em; top: 0.575em; }
}

/* Team plans hero, take 2: clean athletes in brand blues like home (the old full-colour cut-outs were
   rough), every one whole, facing the words; on a phone they only graze the bottom of "roster." */
.plans-roster { margin-top: calc(clamp(64px, 19vw, 132px) * -0.16); height: clamp(170px, 50vw, 230px); }
.plans-roster img { margin: 0 -14px; }
.plans-roster .ath-wide { display: none; }
@media (min-width: 900px) {
  /* the words a little smaller in a capped column, so the athletes get room beside them */
  .plans-poster { grid-template-columns: minmax(0, min(400px, 40vw)) minmax(0, 1fr); }
  .plans-poster .poster-word { font-size: min(110px, 11vw); }
  /* sized off their own width so all three always fit whole; they reach a little toward the words */
  .plans-roster { container-type: inline-size; height: auto; margin: 0 0 0 -8%; justify-content: flex-end; }
  .plans-roster .ath-wide { display: block; }
  .plans-roster img { height: 40cqw; margin: 0 -3cqw; }
  .plans-roster img:first-child { margin-left: 0; }
  .plans-roster img:last-child { margin-right: 0; }
  /* the skater leans low, so a bit smaller; his stick tucks behind the next player */
  .plans-roster .ath-wide { height: 34cqw; margin-right: -7cqw; }
}
