@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #060f22;
  --navy-900: #0a1730;
  --navy-800: #0f2148;
  --navy-700: #173368;
  --white: #ffffff;
  --grey-light: #f2f1ee;
  --gold: #d3a92e;
  --gold-soft: #e9c766;
  --gold-ink: #8a6b12;
  --green: #25d366;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(10, 23, 48, 0.12);
  --muted-dark: rgba(255, 255, 255, 0.65);
  --muted-light: rgba(10, 23, 48, 0.6);
  --display: "Archivo", "Arial Black", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bone: #f2f1ee;
  --ball-size: 30px;
  --slant: clamp(30px, 4.5vw, 88px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shift: min(70px, 3vw);
  --hero-scrim:
    linear-gradient(90deg, rgba(6, 15, 34, 0.88) 0%, rgba(6, 15, 34, 0.55) 40%, rgba(6, 15, 34, 0.15) 75%),
    linear-gradient(0deg,
      rgb(6, 15, 34) 0%,
      rgb(6, 15, 34) 12%,
      rgba(6, 15, 34, 0.93) 17%,
      rgba(6, 15, 34, 0.74) 22%,
      rgba(6, 15, 34, 0.48) 28%,
      rgba(6, 15, 34, 0.27) 34%,
      rgba(6, 15, 34, 0.14) 42%,
      rgba(6, 15, 34, 0.1) 68%,
      rgba(6, 15, 34, 0.35) 100%);
  --cta-scrim: linear-gradient(180deg, rgba(6, 15, 34, 0.55), rgba(6, 15, 34, 0.96));
}

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

html {
  scroll-padding-top: 90px;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  font-family: var(--body);
  font-weight: 400;
  color: var(--navy-900);
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 112%;
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-wrap: balance;
}

h3 {
  font-family: var(--body);
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
select {
  font: inherit;
  color: inherit;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--gold);
  color: var(--navy-950);
  padding: 12px 20px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

.wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 130px 0;
  overflow: hidden;
}

.cut-l,
.cut-r {
  position: relative;
  z-index: 1;
  margin-top: calc(var(--slant) * -1);
  padding-top: calc(130px + var(--slant));
}

.cut-l {
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
}

.cut-r {
  clip-path: polygon(0 0, 100% var(--slant), 100% 100%, 0 100%);
}

.stack-group {
  position: relative;
  background: var(--navy-950);
}

.on-navy {
  background: var(--navy-950);
  color: var(--white);
}

.on-navy-2 {
  background: var(--navy-900);
  color: var(--white);
}

.on-white {
  background: var(--white);
  color: var(--navy-900);
}

.on-grey {
  background: var(--grey-light);
  color: var(--navy-900);
}

.eyebrow {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  font-stretch: 78%;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow.on-light {
  color: var(--gold-ink);
}

.eyebrow-rule {
  display: flex;
  align-items: center;
  gap: 20px;
}

.eyebrow-rule::after {
  content: "";
  flex: 0 1 150px;
  height: 1px;
  opacity: 0.7;
  background: linear-gradient(90deg, currentColor, transparent);
}

.section-top {
  max-width: 720px;
  margin-bottom: 70px;
}

.section-top h2 {
  font-size: clamp(2rem, 3.9vw, 3.2rem);
  margin-top: 18px;
}

.section-top p {
  margin-top: 20px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted-light);
}

.on-navy .section-top p,
.on-navy-2 .section-top p,
.section-top.on-dark p {
  color: var(--muted-dark);
}

.section-top-spaced {
  margin-top: 90px;
}

.section-top-right {
  margin-left: auto;
  text-align: right;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 90px;
  align-items: center;
}

.split-text > .reveal {
  margin-bottom: 34px;
}

.split-text h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
  margin-top: 18px;
}

.split-text .lede {
  margin-top: 20px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--muted-light);
}

.on-navy .split-text .lede,
.on-navy-2 .split-text .lede {
  color: var(--muted-dark);
}

.cut-media {
  position: relative;
}

.cut-media img {
  width: 100%;
  height: auto;
  transform: scale(1.06);
  transition: transform 1.6s var(--ease);
}

.reveal.in .cut-media img,
.reveal:not(.pre) .cut-media img {
  transform: scale(1);
}

.band {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
}

.band > .wrap {
  position: relative;
  z-index: 1;
}

.band .section-top p,
.band .split-text .lede {
  color: rgba(255, 255, 255, 0.78);
}

.band .section-top .eyebrow,
.band .split-text .eyebrow,
.on-navy .section-top .eyebrow,
.on-navy-2 .section-top .eyebrow,
.section-top.on-dark .eyebrow {
  color: var(--gold);
}

.muted-note {
  font-size: 0.85rem;
  opacity: 0.75;
}

.ic-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ic-badge svg {
  width: 26px;
  height: 26px;
}

.ic-badge.on-light {
  border-color: var(--gold-ink);
  color: var(--gold-ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-950);
}

.btn-gold:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
}

.btn-line-dark {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-line-dark:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.btn-line-light {
  border-color: rgba(10, 23, 48, 0.28);
  color: var(--navy-900);
}

.btn-line-light:hover {
  border-color: var(--gold-ink);
  color: var(--gold-ink);
}

.btn-whatsapp {
  background: #1f2937;
  color: var(--white);
  border-color: var(--green);
}

.btn-whatsapp svg {
  color: var(--green);
  transition: color 0.25s ease;
}

.btn-whatsapp:hover {
  background: var(--green);
  color: #06210f;
}

.btn-whatsapp:hover svg {
  color: #06210f;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 26px 0;
  transition: padding 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
  padding: 14px 0;
  background: rgba(6, 15, 34, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  height: 42px;
  width: auto;
}

.brand .word {
  color: var(--white);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.brand .word span {
  display: block;
  font-weight: 400;
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-links a.is-active {
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-small {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.nav-small:hover {
  color: var(--gold-soft);
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  background: rgba(6, 15, 34, 0.4);
  cursor: pointer;
  padding: 13px 11px;
  flex-direction: column;
  justify-content: space-between;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-panel[hidden] {
  display: none;
}

.nav-panel.open {
  opacity: 1;
}

.nav-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 420px;
  padding: 0 32px;
}

.nav-panel-inner > a {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 105%;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 7vw, 2.2rem);
  color: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
}

.nav-panel-inner a:hover {
  color: var(--gold-soft);
}

.nav-panel-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.nav-panel-actions a {
  font-size: 0.8rem;
  padding: 15px 28px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background-image: var(--hero-scrim), url("../img/hero-poster.webp");
  background-size: cover;
  background-position: center 35%;
}

.hero-film {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}

.hero-film.on {
  opacity: 1;
}

.hero-film video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-film::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(6, 15, 34, 0.2), rgba(6, 15, 34, 0.2)), var(--hero-scrim);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 60px;
}

.hero-tag {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 6.4rem);
  font-stretch: 118%;
  line-height: 0.86;
  letter-spacing: -0.035em;
  max-width: 15ch;
}

.hero h1 span {
  display: block;
}

.hero-motto {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
}

.hero-motto span:first-child {
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.hero-motto span:last-child {
  padding-left: 16px;
  border-left: 1px solid rgba(233, 199, 102, 0.4);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  margin-top: 26px;
}

.hero-desc {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 10px;
  max-width: 520px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 38px;
}

/* the banner and the cue share the foot of the hero, stacked from the bottom up */
.hero-foot {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
}

.scroll-cue {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 0 26px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-cue .line {
  width: 1px;
  height: 30px;
  background: linear-gradient(var(--gold), transparent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* ------------------------------------------------------------------ ticker */

/*
 * The scrolling banner. Same belt as the legend and logo rails: three sets of
 * the same messages, a third of the track translated away, so the wrap lands
 * exactly on a set boundary and is never seen. The duration is written by PHP
 * from the width of one set, so the pace does not change with the wording.
 */
.ticker {
  --ticker-fade: 160px;
  --ticker-fade-end: 130px;
  /* room kept clear at the right end, for whatever floats over that corner */
  --ticker-clear: 0px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 15, 34, 0.62);
  /* the belt runs off both ends rather than stopping on a hard edge */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--ticker-fade), #000 calc(100% - var(--ticker-clear) - var(--ticker-fade-end)), transparent calc(100% - var(--ticker-clear)));
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--ticker-fade), #000 calc(100% - var(--ticker-clear) - var(--ticker-fade-end)), transparent calc(100% - var(--ticker-clear)));
}

.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: ticker-roll var(--ticker-time, 60s) linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-roll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-100% / 3), 0, 0); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  height: 42px;
  white-space: nowrap;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.ticker-item b {
  font-size: 0.55rem;
  font-weight: 400;
  color: var(--gold);
}

/* the right end is emptied before the WhatsApp button, never behind it */
.ticker-hero {
  --ticker-clear: 200px;
  --ticker-fade-end: 130px;
}

.ticker-header {
  margin-top: 20px;
  background: rgba(6, 15, 34, 0.78);
  backdrop-filter: blur(10px);
  transition: margin-top 0.4s ease;
}

.site-header.has-ticker {
  padding-bottom: 0;
}

.site-header.has-ticker.scrolled .ticker-header {
  margin-top: 10px;
}

/* the banner is part of the fixed head, so an anchor has to clear it too */
html:has(.site-header.has-ticker) {
  scroll-padding-top: 140px;
}

.club-place {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-soft);
  font-weight: 600;
}

.club-pin {
  color: var(--gold-soft);
  flex-shrink: 0;
}

.club-pin svg {
  width: 20px;
  height: 20px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.fact {
  border-top: 3px solid var(--gold);
  padding-top: 14px;
}

.fact-value {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 112%;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  font-size: 2.9rem;
  color: var(--white);
  margin-bottom: 0;
}

.fact-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-top: 6px;
  font-weight: 600;
}

.phil-band {
  background: var(--navy-950);
  color: var(--white);
  padding: calc(70px + var(--slant)) 0 var(--slant);
}

.phil-band .section-top {
  margin-bottom: 60px;
  max-width: none;
}

.phil-band .section-top h2 {
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  font-stretch: 118%;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-top: 22px;
}

.phil-band .section-top p {
  max-width: 620px;
}

.phil-words {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  list-style: none;
}

.phil-word {
  padding: 44px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.phil-word:last-child {
  border-right: none;
}

.phil-label {
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.values-stack {
  display: flex;
  flex-direction: column;
  gap: 46px;
}

.value-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: start;
  gap: 8px;
  padding-left: 26px;
  border-left: 2px solid rgba(211, 169, 46, 0.55);
  transition: transform 0.4s var(--ease), border-color 0.4s ease;
}

.value-row:hover {
  transform: translateX(6px);
  border-left-color: var(--gold);
}

.value-icon {
  color: var(--gold-ink);
  display: block;
  padding-top: 2px;
}

.value-icon svg {
  width: 46px;
  height: 46px;
  stroke-width: 1.1;
}

.value-key {
  font-family: var(--display);
  font-size: 0.76rem;
  font-stretch: 78%;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 6px;
  font-weight: 800;
}

.value-row h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.value-text {
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--muted-light);
  max-width: 46ch;
}

.pathway {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.path-step {
  background: var(--navy-900);
  padding: 44px 30px;
  position: relative;
  transition: background 0.3s ease;
}

.path-step:hover {
  background: var(--navy-800);
}

.path-index {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 112%;
  font-variant-numeric: tabular-nums;
  font-size: 3.4rem;
  color: rgba(255, 255, 255, 0.12);
  position: absolute;
  top: 24px;
  right: 24px;
}

.path-step h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.path-age {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 700;
  margin-bottom: 22px;
}

.path-text {
  font-size: 0.88rem;
  color: var(--muted-dark);
  line-height: 1.7;
}

.dev-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 74px;
  counter-reset: dev;
}

.dev-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(211, 169, 46, 0.5) 18%, rgba(211, 169, 46, 0.5) 82%, transparent);
}

.dev-cell {
  position: relative;
  counter-increment: dev;
  background: var(--white);
  border: 1px solid rgba(10, 23, 48, 0.07);
  border-radius: 20px 34px 20px 34px;
  box-shadow: 0 20px 44px rgba(10, 23, 48, 0.13);
  padding: 56px 26px 46px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}

.dev-cell:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 54px rgba(10, 23, 48, 0.15);
}

.dev-cell::before {
  content: counter(dev, decimal-leading-zero);
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 112%;
  font-variant-numeric: tabular-nums;
  font-size: 1.35rem;
  color: var(--gold-ink);
  letter-spacing: 0.02em;
}

.dev-cell::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: 24px;
  width: 22px;
  height: 8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: skewX(45deg) scaleY(0.6);
  opacity: 0.85;
  transition: transform 0.35s var(--ease);
}

.dev-cell:hover::after {
  transform: skewX(45deg) scaleY(0.6) translateX(5px);
}

.dev-badge {
  position: absolute;
  top: -30px;
  left: 24px;
  width: 62px;
  height: 62px;
  background: var(--navy-950);
  border: 0;
  color: var(--gold);
  box-shadow: 0 10px 24px rgba(10, 23, 48, 0.28);
}

.dev-badge svg {
  width: 28px;
  height: 28px;
}

.dev-cell h3 {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 4px;
}

.dev-cell h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  background: var(--gold);
  margin-top: 12px;
}

.dev-cell p {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--muted-light);
  margin-top: 14px;
  line-height: 1.7;
}

.family-band {
  padding-bottom: 70px;
}

.family-band .section-top {
  margin-bottom: 36px;
}

.fam-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.fam-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(16, 38, 82, 0.93), rgba(6, 15, 34, 0.97));
  border: 1px solid rgba(211, 169, 46, 0.55);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(2, 7, 18, 0.5);
  padding: 30px 28px 34px;
  transition: transform 0.4s var(--ease), border-color 0.4s ease;
}

.fam-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.fam-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.fam-card h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  background: var(--gold);
  margin: 12px 0 14px;
}

.fam-card p {
  position: relative;
  z-index: 1;
  font-size: 0.88rem;
  color: var(--muted-dark);
  line-height: 1.7;
  max-width: 30ch;
}

.fam-motif {
  position: absolute;
  right: -24px;
  bottom: -28px;
  width: 116px;
  height: 116px;
  border: 0;
  color: var(--gold);
  opacity: 0.16;
  pointer-events: none;
}

.fam-motif svg {
  width: 104px;
  height: 104px;
  stroke-width: 0.5;
}

.pro-band {
  --photo: min(72vw, 1450px);
  position: relative;
  background: var(--navy-950);
  color: var(--white);
  border-top: 1px solid var(--line-dark);
}

.pro-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: var(--photo);
}

.pro-media picture,
.pro-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.pro-media img {
  object-fit: cover;
  object-position: 52% 42%;
}

.pro-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgb(6, 15, 34) 0%,
      rgba(6, 15, 34, 0.94) 12%,
      rgba(6, 15, 34, 0.62) 24%,
      rgba(6, 15, 34, 0.22) 34%,
      rgba(6, 15, 34, 0.04) 44%,
      rgba(6, 15, 34, 0) 58%,
      rgba(6, 15, 34, 0) 100%),
    linear-gradient(180deg,
      rgba(6, 15, 34, 0.97) 0%,
      rgba(6, 15, 34, 0.72) 9%,
      rgba(6, 15, 34, 0.34) 19%,
      rgba(6, 15, 34, 0.08) 30%,
      rgba(6, 15, 34, 0) 42%,
      rgba(6, 15, 34, 0) 68%,
      rgba(6, 15, 34, 0.32) 86%,
      rgba(6, 15, 34, 0.95) 100%);
}

.pro-inner {
  position: relative;
  z-index: 1;
  max-width: clamp(1260px, 78vw, 1680px);
}

.pro-head {
  max-width: min(100%, 50%);
}

.pro-head .pro-title {
  font-size: clamp(2.1rem, 4.3vw, 4.6rem);
  line-height: 0.95;
  margin-top: 20px;
}

.pro-title .hl {
  display: block;
  color: var(--gold);
}

.pro-kicker {
  margin-top: 22px;
  font-family: var(--display);
  font-size: clamp(0.92rem, 1.15vw, 1.18rem);
  font-weight: 800;
  font-stretch: 96%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.pro-copy {
  margin-top: 26px;
  max-width: 48ch;
}

.pro-copy p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-dark);
}

.pro-copy p + p {
  margin-top: 14px;
}

.pro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
  max-width: min(100%, 54%);
}

.pro-card {
  display: flex;
  flex-direction: column;
  background: rgba(6, 15, 34, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  padding: 24px 22px 20px;
  transition: transform 0.4s var(--ease), border-color 0.4s ease;
}

.pro-card:hover {
  transform: translateY(-4px);
  border-color: rgba(211, 169, 46, 0.7);
}

.pro-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pro-card-top::after {
  content: "";
  flex: 0 1 62px;
  height: 1px;
  background: linear-gradient(90deg, rgba(211, 169, 46, 0.85), rgba(211, 169, 46, 0.1));
}

.pro-ic {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.pro-ic svg {
  width: 100%;
  height: 100%;
}

.pro-card h3 {
  margin-top: 22px;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pro-card > p:not(.pro-card-top) {
  margin-top: 14px;
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--muted-dark);
}

.pro-arrow {
  display: block;
  width: 26px;
  height: 26px;
  margin: auto 0 0 auto;
  padding-top: 22px;
  box-sizing: content-box;
  color: var(--gold);
}

.pro-arrow svg {
  width: 100%;
  height: 100%;
}

.pro-card:hover .pro-arrow {
  transform: translateX(4px);
}

.pro-arrow {
  transition: transform 0.35s var(--ease);
}

.partners-band {
  position: relative;
  background: var(--navy-950);
  color: var(--white);
  border-top: 1px solid var(--line-dark);
}

.partners-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../img/bg/partners.webp");
  background-size: cover;
  background-position: center 62%;
  pointer-events: none;
}

/* Sit the stadium back down into the navy so the band joins its neighbours. */
.partners-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgb(6, 15, 34) 0%,
      rgba(6, 15, 34, 0.58) 10%,
      rgba(6, 15, 34, 0.12) 24%,
      rgba(6, 15, 34, 0.08) 76%,
      rgba(6, 15, 34, 0.6) 90%,
      rgb(6, 15, 34) 100%),
    linear-gradient(90deg, rgba(6, 15, 34, 0.72) 0%, rgba(6, 15, 34, 0.34) 30%, rgba(6, 15, 34, 0) 56%, rgba(6, 15, 34, 0) 100%);
}

.partners-inner {
  position: relative;
  z-index: 1;
  max-width: clamp(1260px, 78vw, 1680px);
}

.part-top,
.leg-top {
  display: grid;
  align-items: start;
  gap: clamp(38px, 4.4vw, 84px);
}

.part-top {
  grid-template-columns: minmax(280px, 29%) 1fr;
}

.leg-top {
  grid-template-columns: minmax(260px, 25%) 1fr;
  margin-top: clamp(74px, 8vw, 128px);
}

.part-title {
  font-size: clamp(1.9rem, 3.3vw, 3.3rem);
  margin-top: 20px;
}

.leg-title {
  font-size: clamp(1.7rem, 2.7vw, 2.7rem);
  margin-top: 20px;
}

.part-title .hl,
.leg-title .hl {
  display: block;
  color: var(--gold);
}

.part-head .lede,
.leg-head .lede {
  margin-top: 26px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted-dark);
  max-width: 44ch;
}

/* ---------------------------------------------------------------- partners */

.part-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.part-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(158deg, rgba(23, 51, 104, 0.3), rgba(6, 15, 34, 0.52));
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 20px 22px 26px;
  transition: transform 0.4s var(--ease), border-color 0.4s ease, background 0.4s ease;
}

.part-card:hover {
  border-color: rgba(211, 169, 46, 0.7);
  background: linear-gradient(158deg, rgba(23, 51, 104, 0.42), rgba(6, 15, 34, 0.6));
}

.part-logo {
  --plate: clamp(102px, 8.4vw, 132px);
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--plate);
  padding: 8px 6px;
}

/*
 * Capping the width in pixels rather than in percent keeps the three logos at
 * the same relative size whatever the card is doing at that breakpoint.
 */
.part-logo img {
  width: auto;
  height: auto;
  max-width: calc(min(100%, 210px) * var(--logo, 1));
  max-height: var(--plate);
  filter: drop-shadow(0 2px 14px rgba(6, 15, 34, 0.85));
}

.part-role {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  font-stretch: 70%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.part-role::before {
  content: "";
  flex: 0 0 20px;
  height: 1px;
  background: var(--gold);
}

.part-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 16px;
  list-style: none;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.part-tags li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.part-tags li:not(:first-child)::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.part-text {
  margin-top: 16px;
  font-size: 0.85rem;
  line-height: 1.72;
  color: var(--muted-dark);
}

/* ----------------------------------------------------------------- legends */

/*
 * Card and gap stay whole pixels on purpose. A fluid vw width makes one set a
 * fractional number of pixels, the third of the track no longer lands exactly
 * on a set boundary, and the row visibly jumps once per cycle.
 */
.leg-rail {
  --leg-card: 200px;
  --leg-gap: 14px;
  --leg-time: 58s;
  position: relative;
  overflow: hidden;
  padding-bottom: 4px;
  /* the row runs off both ends rather than stopping on a hard edge */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.leg-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: leg-roll var(--leg-time) linear infinite;
}

.leg-rail:hover .leg-track,
.leg-rail:focus-within .leg-track {
  animation-play-state: paused;
}

/* one third of the track is exactly one set of legends, so the wrap is invisible */
@keyframes leg-roll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-100% / 3), 0, 0); }
}

.leg-card {
  flex: 0 0 var(--leg-card);
  margin-right: var(--leg-gap);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(23, 51, 104, 0.34), rgba(6, 15, 34, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  transition: transform 0.4s var(--ease), border-color 0.4s ease, background 0.4s ease;
}

.leg-card:hover {
  transform: translateY(-5px);
  border-color: rgba(211, 169, 46, 0.65);
  background: linear-gradient(180deg, rgba(23, 51, 104, 0.46), rgba(6, 15, 34, 0.7));
}

.leg-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.leg-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

/* the raking floodlight the players stand in: a soft wash, then a crisp streak */
.leg-photo::before,
.leg-photo::after {
  content: "";
  position: absolute;
  right: -18%;
  left: -18%;
  transform: rotate(-8deg);
  pointer-events: none;
}

.leg-photo::before {
  bottom: 4%;
  height: 34%;
  background: linear-gradient(180deg, rgba(211, 169, 46, 0) 0%, rgba(233, 199, 102, 0.3) 74%, rgba(211, 169, 46, 0) 100%);
  filter: blur(9px);
}

.leg-photo::after {
  z-index: 2;
  bottom: 13%;
  height: 3px;
  background: linear-gradient(90deg,
    rgba(211, 169, 46, 0) 0%,
    rgba(233, 199, 102, 0.55) 22%,
    rgba(255, 233, 176, 0.98) 48%,
    rgba(233, 199, 102, 0.5) 74%,
    rgba(211, 169, 46, 0) 100%);
  box-shadow: 0 0 22px 5px rgba(233, 199, 102, 0.55);
}

.leg-meta {
  padding: 16px 15px 20px;
}

.leg-meta h3 {
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 800;
  font-stretch: 104%;
  line-height: 1.14;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.leg-role {
  margin-top: 12px;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--muted-dark);
}

.leg-role::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 11px;
}

/* ----------------------------------------------------------------- network */

.network-band {
  padding-bottom: 120px;
}

.network-band .section-top {
  margin-bottom: 54px;
}

.network-band .section-top h2 .hl {
  display: block;
  color: var(--gold-ink);
}

/*
 * minmax(0, 1fr): without it the row's min-content is the whole max-content
 * track, and the grid column grows past the wrap instead of clipping.
 */
.net-rows {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 3.2vw, 46px);
}

.net-label {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  font-stretch: 74%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.net-label::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(138, 107, 18, 0.4), transparent);
}

/*
 * Card width stays a whole pixel for the same reason the legends row does: a
 * fluid width makes one set a fractional number of pixels and the row jumps
 * once per cycle. Only --net-base moves at a breakpoint. --net-w is the row's
 * own multiplier, and 1.5 lands on a whole pixel for all three bases.
 *
 * A short row is given the wider cell. With six logos at the dense width its
 * whole set fits inside the rail, so a logo that left on the right came back
 * on the left two seconds later and the row read as snapping back. --net-plate
 * is deliberately not tied to the cell: the extra width buys air, never a
 * bigger logo, so both rows keep the one gabarit the logos were baked to.
 */
.net-rail {
  --net-base: 218;
  --net-plate: 166;
  --net-w: 1;
  --net-speed: 50;
  --net-card-n: calc(var(--net-base) * var(--net-w));
  --net-card: calc(var(--net-card-n) * 1px);
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 14px;
}

/*
 * The fade is a pair of overlays rather than a mask on the rail: a mask would
 * take the panel's own border and rounded corners out with the logos.
 */
.net-rail::before,
.net-rail::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  width: clamp(46px, 7%, 110px);
  pointer-events: none;
}

.net-rail::before {
  left: 0;
  background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0));
}

.net-rail::after {
  right: 0;
  background: linear-gradient(270deg, var(--white), rgba(255, 255, 255, 0));
}

/*
 * The duration is derived, never typed: one set divided by a speed in pixels a
 * second. A typed duration makes the row crawl at the breakpoints, where the
 * card shrinks but the clock does not, and makes a short row race a long one.
 */
.net-rail-wide {
  --net-w: 1.5;
}

.net-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: net-roll calc(var(--net-count, 10) * var(--net-card-n) / var(--net-speed) * 1s) linear infinite;
}

/* the second row runs the other way, so the two never read as one long belt */
.net-back {
  animation-direction: reverse;
}

.net-rail:hover .net-track {
  animation-play-state: paused;
}

/* one third of the track is exactly one set of logos, so the wrap is invisible */
@keyframes net-roll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-100% / 3), 0, 0); }
}

.net-logo {
  flex: 0 0 var(--net-card);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 116px;
  border-left: 1px solid var(--line-light);
}

/* the plate follows --net-plate, never the cell, so every logo renders at one size */
.net-logo img {
  width: calc(var(--net-plate) * 1px);
  height: auto;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.86;
  transition: opacity 0.35s ease;
}

.net-logo:hover img {
  opacity: 1;
}

.life-band {
  padding-top: 70px;
  border-top: 1px solid var(--line-dark);
}

/*
 * Two independent columns, not a row aligned grid: the tiles of one column
 * must stack straight under each other whatever the other column is doing.
 */
.gallery {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.g-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.g-col-left { flex: 3 1 0; }
.g-col-right { flex: 2 1 0; }

.g-item {
  position: relative;
  display: block;
  aspect-ratio: var(--ar);
  overflow: hidden;
  border-radius: 4px;
  background: var(--navy-800);
  cursor: zoom-in;
}

.g-label {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 46px 22px 18px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 800;
  font-stretch: 104%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(0deg, rgba(6, 15, 34, 0.88), rgba(6, 15, 34, 0.34) 56%, transparent);
  pointer-events: none;
}

.g-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.5s ease;
}

.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  box-shadow: inset 0 0 0 0 var(--gold);
  transition: border-color 0.35s ease;
  pointer-events: none;
}

.g-item:hover img,
.g-item:focus-visible img {
  transform: scale(1.05);
  filter: saturate(1.08);
}

.g-item:hover::after,
.g-item:focus-visible::after {
  border-color: rgba(211, 169, 46, 0.75);
}

.g-zoom {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--gold);
  opacity: 0;
  transform: translateY(8px) scale(0.85);
  transition:
    opacity 0.32s var(--ease),
    transform 0.32s var(--ease);
  pointer-events: none;
}

.g-zoom svg {
  width: 18px;
  height: 18px;
}

.g-item:hover .g-zoom,
.g-item:focus-visible .g-zoom {
  opacity: 1;
  transform: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--navy-950);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.32s var(--ease),
    visibility 0.32s;
}

.lightbox[hidden] {
  display: none;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(16px, 4vw, 40px);
}

.lb-count {
  font-family: var(--display);
  font-weight: 900;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.lb-stage {
  position: relative;
  min-height: 0;
}

.lb-frame {
  position: absolute;
  inset: 0 clamp(56px, 8vw, 96px);
  display: block;
}

.lb-frame img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 3px;
  opacity: 0;
  transform: scale(0.985);
  transition:
    opacity 0.3s var(--ease),
    transform 0.45s var(--ease);
}

.lb-frame img.ready {
  opacity: 1;
  transform: none;
}

.lb-foot {
  padding: 16px clamp(16px, 4vw, 40px) 26px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted-dark);
  text-align: center;
  text-wrap: balance;
}

.lb-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.lb-btn svg {
  width: 20px;
  height: 20px;
}

.lb-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-950);
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(6, 15, 34, 0.62);
}

.lb-prev { left: clamp(6px, 2vw, 22px); }
.lb-next { right: clamp(6px, 2vw, 22px); }

.lb-nav:hover {
  transform: translateY(-50%);
}

.finder {
  background: var(--navy-950);
  color: var(--white);
  padding: 50px 46px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  border-left: 4px solid var(--gold);
}

.finder-lead {
  font-size: 0.95rem;
  color: var(--muted-dark);
  line-height: 1.7;
  max-width: 420px;
}

.finder-panel {
  min-width: 340px;
}

.finder-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
  font-weight: 600;
}

.finder-controls {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.select-shell {
  position: relative;
  flex: 1;
}

.select-shell select {
  appearance: none;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 46px 14px 18px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.select-shell select:hover {
  background: rgba(255, 255, 255, 0.1);
}

.select-shell select:focus {
  outline: none;
  border-color: var(--gold);
}

.select-shell select option {
  background: var(--navy-900);
  color: var(--white);
}

.select-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.finder-result:not(:empty) {
  margin-top: 18px;
}

.finder-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 3px solid var(--gold);
  padding: 24px 26px;
}

.finder-card .frow {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.9rem;
}

.finder-card .frow:last-of-type {
  border-bottom: none;
}

.finder-card .fk {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  flex-shrink: 0;
}

.finder-card .fv {
  color: var(--white);
  font-weight: 700;
  text-align: right;
}

.finder-error {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #d9776b;
  padding: 18px 22px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.finder-wa {
  margin-top: 18px;
  width: 100%;
}

.sched {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.sched td {
  font-variant-numeric: tabular-nums;
}

.sched th,
.sched td {
  padding: 22px 20px 22px 0;
  border-bottom: 1px solid var(--line-light);
  vertical-align: top;
}

.sched thead th {
  padding-top: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  font-weight: 800;
  border-top: 1px solid var(--line-light);
  padding-top: 18px;
}

.sched tbody th {
  font-weight: 800;
  font-size: 0.98rem;
  width: 34%;
}

.sched td {
  font-size: 0.86rem;
  color: var(--muted-light);
  font-weight: 600;
}

.sched .sched-time {
  font-style: italic;
  font-weight: 400;
}

/* four columns now, and the club's own group name needs the room */
.sched-grid tbody th {
  width: 26%;
}

.sched-grid .sched-girls {
  width: 22%;
  color: var(--gold-ink);
  font-weight: 700;
  font-size: 0.8rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.info-left {
  background: var(--white);
  border: 1px solid var(--line-light);
  padding: 46px 42px;
}

.info-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.94rem;
}

.info-row:first-child {
  padding-top: 0;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row dt {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-stretch: 78%;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.info-ic {
  flex-shrink: 0;
  display: block;
  color: var(--gold-ink);
}

.info-ic svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.3;
}

.info-row dd {
  margin-top: 7px;
  padding-left: 34px;
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.5;
}

.info-link {
  text-decoration: underline;
}

.info-wa {
  margin-top: 26px;
  width: 100%;
}

.info-map {
  position: relative;
  min-height: 440px;
  background: var(--navy-950);
  overflow: hidden;
}

.map-canvas {
  position: absolute;
  inset: 0;
  background: var(--navy-950);
}

.map-canvas .leaflet-container {
  background: var(--navy-950);
  font-family: var(--body);
}

.map-canvas .leaflet-control-attribution {
  background: rgba(6, 15, 34, 0.78);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.66rem;
}

.map-canvas .leaflet-control-attribution a {
  color: var(--gold-soft);
}

.map-canvas .leaflet-top {
  top: 44px;
}

.map-canvas .leaflet-control-zoom a {
  background: rgba(6, 15, 34, 0.9);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
}

.map-canvas .leaflet-control-zoom a:hover {
  background: var(--navy-800);
  color: var(--gold-soft);
}

.map-note {
  position: absolute;
  inset: 0 0 auto;
  z-index: 500;
  padding: 10px 14px;
  background: rgba(6, 15, 34, 0.82);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  pointer-events: none;
}

.final-cta {
  position: relative;
  color: var(--white);
  text-align: center;
  background-image: var(--cta-scrim), url("../img/hero.webp");
  background-size: cover;
  background-position: center 20%;
}

.final-cta h2 {
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  font-stretch: 114%;
  margin-bottom: 26px;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.65;
  font-size: 1.05rem;
}

.final-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.5);
  padding: 70px 0 34px;
}

.foot-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line-dark);
}

.foot-brand img {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
}

.foot-brand p {
  font-size: 0.84rem;
  color: var(--muted-dark);
  max-width: 280px;
  line-height: 1.7;
}

.foot-tagline {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 112%;
  text-transform: uppercase;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.foot-cols {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

.foot-col h2 {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gold-soft);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.foot-col a,
.foot-col p {
  display: block;
  font-size: 0.86rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.foot-col a:hover {
  color: var(--gold-soft);
}

.foot-bottom {
  padding-top: 28px;
  font-size: 0.76rem;
}

.wa-float {
  position: fixed;
  right: 26px;
  bottom: 62px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1b2a44;
  color: var(--white);
  border: 2px solid var(--green);
  padding: 14px 20px 14px 14px;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.wa-float svg {
  width: 24px;
  height: 24px;
  color: var(--green);
  transition: color 0.25s ease;
}

.wa-float:hover {
  background: var(--green);
  color: #06210f;
  transform: translateY(-2px);
}

.wa-float:hover svg {
  color: #06210f;
}

.wa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  position: absolute;
  top: 10px;
  right: 10px;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.25);
}

.ball-track {
  position: fixed;
  inset: auto 0 0;
  height: 46px;
  z-index: 190;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.ball-track[hidden] {
  display: none;
}

.ball-track.on {
  opacity: 1;
}

.ball-track::before {
  content: "";
  position: absolute;
  inset: auto 24px 13px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(211, 169, 46, 0.45) 20%, rgba(211, 169, 46, 0.45) 80%, transparent);
}

.ball {
  position: absolute;
  left: 24px;
  bottom: 13px;
  width: var(--ball-size);
  height: var(--ball-size);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: url("../img/ball.svg") center / contain no-repeat;
  cursor: pointer;
  pointer-events: auto;
  filter: drop-shadow(0 3px 7px rgba(0, 0, 0, 0.4));
  transform: translateX(var(--x, 0)) rotate(var(--r, 0deg));
}

.goal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(6, 15, 34, 0.82) 0%, rgba(6, 15, 34, 0.5) 28%, rgba(6, 15, 34, 0) 62%);
}

.goal span {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 118%;
  text-transform: uppercase;
  font-size: clamp(3rem, 16vw, 11rem);
  letter-spacing: -0.02em;
  color: var(--gold-soft);
  text-shadow:
    0 0 6px rgba(233, 199, 102, 0.55),
    0 0 44px rgba(211, 169, 46, 0.75),
    0 14px 44px rgba(0, 0, 0, 0.6);
  transform: scale(0.6);
}

.goal.on {
  visibility: visible;
  animation: goal-flash 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.goal.on span {
  animation: goal-pop 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes goal-flash {
  0% { opacity: 0; }
  12% { opacity: 1; }
  62% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes goal-pop {
  0% { transform: scale(0.55) rotate(-7deg); }
  18% { transform: scale(1.14) rotate(2deg); }
  34% { transform: scale(1) rotate(0deg); }
  70% { transform: scale(1.02) rotate(0deg); }
  100% { transform: scale(1.5) rotate(0deg); }
}

@keyframes goal-hold {
  0%,
  100% { transform: scale(1); }
}

.has-bg {
  position: relative;
  overflow: hidden;
}

.has-bg > .wrap {
  position: relative;
  z-index: 1;
}

.sec-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.sec-bg::before,
.sec-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}

.sec-bg::before {
  top: -260px;
  height: calc(100vh + 520px);
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transform: translate3d(0, var(--y, 0), 0);
}

.sec-bg::after {
  inset: 0;
}

.sec-bg-band::after {
  background:
    linear-gradient(90deg, rgba(6, 15, 34, 0.35) 0%, rgba(6, 15, 34, 0.68) 42%, rgba(6, 15, 34, 0.93) 100%),
    linear-gradient(180deg, rgba(6, 15, 34, 0.55) 0%, rgba(6, 15, 34, 0.15) 40%, rgba(6, 15, 34, 0.6) 100%);
}

.band .path-step {
  background: rgba(6, 15, 34, 0.52);
}

.band .path-step:hover {
  background: rgba(15, 33, 72, 0.6);
}

.band .fam-card {
  background: rgba(6, 15, 34, 0.52);
  border-color: rgba(255, 255, 255, 0.14);
}

.reveal {
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}

.stagger > * {
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease),
    background 0.4s ease;
}

.reveal.pre {
  opacity: 0;
  transform: translateY(34px);
}

.reveal-left.pre {
  transform: translate3d(calc(var(--shift) * -1), 14px, 0);
}

.reveal-right.pre {
  transform: translate3d(var(--shift), 14px, 0);
}

.reveal-fade.pre {
  transform: scale(0.96);
}

.reveal.pre.in {
  opacity: 1;
  transform: none;
}

.stagger.pre > * {
  opacity: 0;
  transform: translateY(26px) scale(0.99);
}

.stagger.pre.in > * {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 65ms);
}

.stagger.pre.in > .value-row:hover {
  transform: translateX(6px);
}

.stagger.pre.in > .dev-cell:hover {
  transform: translateY(-5px);
}

.stagger.pre.in > .fam-card:hover {
  transform: translateY(-4px);
}

.stagger.pre.in > .part-card:hover {
  transform: translateY(-4px);
}

.club-split {
  grid-template-columns: 1.06fr 0.94fr;
  gap: 60px;
  align-items: center;
}

.club-split .club-title {
  font-size: clamp(2.3rem, 4.5vw, 3.9rem);
  line-height: 0.9;
}

.club-media {
  --p: 1;
  align-self: end;
  opacity: calc(var(--p) * 1.7);
  transform: translate3d(calc((1 - var(--p)) * 260px), 0, 0);
  will-change: transform;
}

.cut-media-club img {
  max-width: 540px;
  margin-left: auto;
  transform: none;
  transition: none;
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.55));
}

.values-inner,
.dev-inner,
.family-inner {
  max-width: clamp(1260px, 78vw, 1680px);
}

.values-section {
  --photo: min(52vw, 1400px);
  position: relative;
}

.values-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(var(--photo) * 0.667 - var(--slant));
}

.values-head,
.values-stack {
  max-width: min(100%, 52%);
}

.values-head .values-title {
  font-size: clamp(2.4rem, 5vw, 5.6rem);
  line-height: 0.88;
  margin-top: 18px;
}

.values-title .hl {
  color: var(--gold-ink);
}

.values-head {
  margin-bottom: 46px;
}

.values-media {
  position: absolute;
  right: 0;
  bottom: calc(var(--slant) * -0.5);
  z-index: 0;
  width: var(--photo);
}

.dev-intro .dev-title {
  font-size: clamp(2.4rem, 5vw, 5.6rem);
  line-height: 0.88;
  margin-top: 24px;
}

.dev-title .hl {
  display: block;
  color: var(--gold-ink);
}

.dev-intro .lede {
  position: relative;
  margin-top: 36px;
  padding-top: 28px;
  max-width: 30ch;
}

.dev-intro .lede::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 4px;
  background: var(--navy-800);
}

.dev-section {
  --photo: min(70vw, 1600px);
  position: relative;
}

.dev-inner {
  position: relative;
}

.dev-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: calc(var(--photo) * 0.686 - var(--slant) - 60px);
}

.dev-intro {
  position: relative;
  z-index: 2;
  max-width: min(100%, 42%);
}

.dev-media {
  position: absolute;
  right: calc(50% - 50vw);
  top: calc(var(--slant) * -1 - 60px);
  z-index: 0;
  width: var(--photo);
}

.dev-grid {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--photo) * -0.09);
}

.family-band {
  --photo: min(52vw, 1320px);
  position: relative;
}

.family-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: end;
  align-content: center;
  min-height: calc(var(--photo) * 0.815 - var(--slant) - 40px);
  left: clamp(0px, (100vw - 1340px) / 2, 70px);
}

.family-head,
.fam-grid {
  width: min(100%, 52%);
}

.family-head {
  margin-bottom: 40px;
}

.family-head .lede {
  margin-top: 24px;
}

.family-head .family-title {
  font-size: clamp(2rem, 3.3vw, 3.9rem);
  line-height: 0.92;
  margin-top: 20px;
}

.family-head .eyebrow,
.family-head .family-title,
.family-head .lede {
  text-shadow: 0 2px 22px rgba(6, 15, 34, 0.9);
}

.family-title .hl {
  display: block;
  color: var(--gold);
}

.family-media {
  position: absolute;
  left: 0;
  top: calc(var(--slant) * -1 - 40px);
  /*
   * Clearance, not 0: the photograph is taller than the band at some widths and
   * the band clips it, which cut the soft oval edge off in a straight line.
   */
  bottom: 30px;
  z-index: 0;
  display: flex;
  align-items: flex-end;
  width: var(--photo);
}

.family-media .family-photo {
  width: 100%;
}

.family-photo img {
  width: 100%;
  height: auto;
  /* second guard: the last stretch is already faded, so no hard edge can survive */
  -webkit-mask-image: linear-gradient(180deg, #000 90%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 90%, transparent 100%);
}

@media (max-width: 800px) {
  .hero {
    background-image: var(--hero-scrim), url("../img/hero-poster-sm.webp");
  }

  /*
   * The wide cell exists to outrun a wide rail. Below this the rail is short
   * enough that the short row already clears it, and the extra air would leave
   * two logos alone on a phone.
   */
  .net-rail,
  .net-rail-wide {
    --net-w: 1;
  }

  .final-cta {
    background-image: var(--cta-scrim), url("../img/hero-sm.webp");
  }
}

@media (max-width: 1100px) {
  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 0.73rem;
    letter-spacing: 0.02em;
  }

  .split {
    gap: 56px;
  }
}

@media (max-width: 980px) {
  .network-band {
    padding-bottom: 96px;
  }

  .net-rail {
    --net-base: 190;
    --net-plate: 145;
  }

  .net-logo {
    height: 104px;
  }

  .gallery,
  .g-col {
    gap: 12px;
  }

  .g-label {
    padding: 40px 18px 15px;
    font-size: 0.69rem;
  }

  .reveal-left.pre,
  .reveal-right.pre {
    transform: translateY(22px);
  }

  .wrap {
    padding: 0 24px;
  }

  section {
    padding: 90px 0;
  }

  .cut-l,
  .cut-r {
    padding-top: calc(90px + var(--slant));
  }

  .nav-links,
  .header-actions {
    display: none;
  }

  .burger {
    display: flex;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .club-split {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .cut-media-club img {
    max-width: 380px;
    margin: 0 auto;
  }

  .values-media,
  .dev-media,
  .family-media {
    position: static;
    width: auto;
    margin: 44px calc(50% - 50vw) 0;
  }

  .pro-media {
    position: relative;
    inset: auto;
    width: auto;
    margin: 0 calc(50% - 50vw) 44px;
  }

  .pro-media img {
    height: auto;
    aspect-ratio: 1448 / 1086;
    object-position: center;
  }

  .pro-media::after {
    background: linear-gradient(180deg,
      rgba(6, 15, 34, 0.8) 0%,
      rgba(6, 15, 34, 0.12) 26%,
      rgba(6, 15, 34, 0.12) 62%,
      rgb(6, 15, 34) 100%);
  }

  .pro-head,
  .pro-grid {
    max-width: none;
    width: auto;
  }

  .part-top,
  .leg-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .part-head .lede,
  .leg-head .lede {
    max-width: 62ch;
  }

  .leg-rail {
    --leg-card: 180px;
    --leg-time: 52s;
    margin: 0 -24px;
    padding-bottom: 4px;
  }

  .values-inner,
  .family-inner,
  .dev-top {
    display: block;
    min-height: 0;
  }

  .values-head,
  .values-stack,
  .family-head,
  .fam-grid,
  .dev-intro {
    max-width: none;
    width: auto;
  }

  .dev-media {
    margin-top: 40px;
  }

  .dev-grid {
    margin-top: 84px;
  }

  .eyebrow-rule::after {
    display: none;
  }

  .cut-media-values img,
  .cut-media-development img,
  .family-photo img {
    max-width: 760px;
    margin: 0 auto;
  }

  .cut-media-values img,
  .cut-media-development img {
    -webkit-mask-image: linear-gradient(180deg, #000 48%, rgba(0, 0, 0, 0.55) 76%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 48%, rgba(0, 0, 0, 0.55) 76%, transparent 100%);
  }

  .dev-intro .lede {
    max-width: 46ch;
  }

  .dev-grid {
    margin-top: 84px;
  }

  .fam-grid > :nth-child(n + 3) {
    margin-left: 0;
    margin-right: 0;
  }

  .section-top-right {
    text-align: left;
    margin-left: 0;
  }

  .pathway,
  .fam-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dev-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .phil-words {
    grid-template-columns: repeat(3, 1fr);
  }

  .phil-word:nth-child(3n) {
    border-right: none;
  }


  .finder {
    grid-template-columns: 1fr;
    padding: 40px 32px;
  }

  .finder-panel {
    min-width: 0;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .foot-cols {
    gap: 48px;
  }
}

@media (max-width: 700px) {
  .ticker-item {
    gap: 30px;
    padding-right: 30px;
    height: 36px;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }

  .ticker {
    --ticker-fade: 40px;
    --ticker-fade-end: 40px;
  }

  .ticker-hero {
    --ticker-clear: 78px;
    --ticker-fade-end: 50px;
  }

  .ticker-header {
    margin-top: 14px;
  }

  /*
   * One column. Two things flip with the direction: flex-grow would size the
   * heights instead of the widths, and align-items: flex-start would shrink the
   * columns to nothing, since a tile is only an aspect ratio with no width of
   * its own.
   */
  .gallery {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .g-col-left,
  .g-col-right {
    flex: 0 0 auto;
  }

  .g-item {
    aspect-ratio: var(--ar-sm);
  }

  .g-label {
    padding: 38px 16px 14px;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .club-media {
    display: none;
  }

  .club-section {
    padding-bottom: calc(var(--slant) + 14px);
  }

  .phil-band {
    padding-top: calc(46px + var(--slant));
  }

  #categories .section-top,
  #info .section-top {
    margin-bottom: 30px;
  }

  .finder {
    background: transparent;
    border-left: 0;
    padding: 0;
    gap: 20px;
  }

  .finder-lead {
    color: var(--muted-light);
    max-width: none;
  }

  .finder-panel {
    background: var(--navy-950);
    border-left: 3px solid var(--gold);
    padding: 24px 22px 26px;
  }

  .finder-controls {
    flex-direction: column;
  }

  .finder-controls .btn {
    width: 100%;
  }

  .sched tbody tr {
    padding: 16px 18px;
    border: 1px solid var(--line-light);
    border-radius: 12px;
    margin-bottom: 10px;
  }

  .sched tbody tr:first-child {
    border-top: 1px solid var(--line-light);
  }

  .dev-grid {
    display: flex;
    gap: 16px;
    margin: 44px -24px -58px;
    padding: 42px 24px 70px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .dev-grid::-webkit-scrollbar {
    display: none;
  }

  .dev-grid::before {
    display: none;
  }

  .pro-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .part-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .part-logo {
    --plate: 108px;
  }

  .leg-rail {
    --leg-card: 150px;
    --leg-gap: 12px;
    --leg-time: 44s;
  }

  .dev-cell {
    flex: 0 0 80%;
    scroll-snap-align: start;
    padding: 46px 24px 40px;
  }

  .sched thead {
    display: none;
  }

  .sched tbody th,
  .sched td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
  }

  .sched tbody tr {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-light);
  }

  .sched tbody tr:first-child {
    border-top: 1px solid var(--line-light);
  }

  .sched td {
    margin-top: 4px;
  }

  /* the column width has to be taken back by hand: two classes outrank the
     .sched td above, so width: auto there never reaches it */
  .sched-grid .sched-girls {
    width: auto;
  }
}

@media (max-width: 560px) {
  .net-rail {
    --net-base: 152;
    --net-plate: 116;
  }

  .net-logo {
    height: 88px;
  }

  .net-label {
    gap: 12px;
    font-size: 0.66rem;
    letter-spacing: 0.16em;
  }

  .hero {
    background-position: 72% 20%;
    align-items: flex-end;
  }

  .hero-inner {
    padding-top: 100px;
    padding-bottom: 92px;
  }

  .hero.has-ticker .hero-inner {
    padding-bottom: 138px;
  }

  .hero-ctas {
    gap: 14px;
  }

  .hero-ctas .btn {
    flex: 1 1 100%;
  }

  .pathway,
  .fam-grid {
    grid-template-columns: 1fr;
  }

  .facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 40px;
  }

  .fact {
    min-width: 0;
    padding: 12px 8px 0;
    border-top-width: 2px;
  }

  .fact:first-child {
    padding-left: 0;
  }

  .fact + .fact {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }

  .fact-value {
    font-size: 1.6rem;
  }

  .fact-label {
    font-size: clamp(0.5rem, 2.4vw, 0.6rem);
    letter-spacing: 0.03em;
    line-height: 1.35;
    overflow-wrap: break-word;
  }

  .cut-media-club img {
    max-width: 300px;
  }

  .values-stack {
    gap: 32px;
  }

  .value-row {
    grid-template-columns: 52px 1fr;
    padding-left: 18px;
  }

  .value-icon svg {
    width: 36px;
    height: 36px;
  }

  .value-row h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .fam-grid {
    gap: 14px;
  }

  .fam-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    column-gap: 16px;
    align-items: start;
    padding: 22px 20px 24px;
    border-radius: 14px;
  }

  .fam-card h3,
  .fam-card p {
    grid-column: 2;
  }

  .fam-card h3::after {
    margin: 10px 0 10px;
  }

  .fam-card p {
    max-width: none;
  }

  .fam-motif {
    position: static;
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 46px;
    height: 46px;
    opacity: 1;
    border: 1px solid rgba(211, 169, 46, 0.5);
    border-radius: 50%;
  }

  .fam-motif svg {
    width: 26px;
    height: 26px;
    stroke-width: 1.2;
  }

  .phil-words {
    grid-template-columns: repeat(2, 1fr);
  }

  .phil-word {
    padding: 32px 14px;
  }

  .phil-word:nth-child(3n) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .phil-word:nth-child(2n) {
    border-right: none;
  }

  .g-item {
    border-radius: 8px;
  }

  .g-zoom {
    display: none;
  }

  .lb-btn {
    width: 42px;
    height: 42px;
  }

  .lb-frame {
    inset: 0 14px;
  }

  .lb-foot {
    font-size: 0.76rem;
    padding-bottom: 20px;
  }

  .select-shell select {
    padding: 15px 46px 15px 18px;
  }

  .info-left {
    padding: 28px 22px;
  }

  .info-row {
    padding: 15px 0;
  }

  .final-btns .btn {
    width: 100%;
  }

  .foot-cols {
    gap: 36px;
  }

  .wa-float {
    right: 16px;
    bottom: 58px;
    padding: 14px;
    border-radius: 50%;
  }

  .wa-float-label {
    display: none;
  }

  .ball-track {
    height: 40px;
  }

  .ball {
    --ball-size: 24px;
    left: 16px;
    bottom: 11px;
  }

  .ball-track::before {
    inset: auto 16px 11px;
  }
}

@media (max-width: 400px) {
  .btn {
    white-space: normal;
    text-align: center;
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand .word {
    font-size: 0.78rem;
  }
}

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

  .hero-film {
    display: none;
  }

  .goal.on,
  .goal.on span {
    animation-duration: 1.2s !important;
  }

  .goal.on span {
    animation-name: goal-hold;
  }

  .ticker-track {
    animation: none;
  }

  .ticker {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  /* the legends and the logos stop rolling, so let them be scrolled by hand */
  .leg-rail {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .net-rail {
    overflow-x: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.join {
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.32s var(--ease);
}

.join.open {
  opacity: 1;
  pointer-events: auto;
}

.join[hidden],
.join [hidden] {
  display: none;
}

.join-veil {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 24, 0.72);
  backdrop-filter: blur(3px);
}

.join-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 940px);
  max-height: min(100%, 900px);
  background: var(--navy-950);
  border-radius: 16px;
  box-shadow: 0 40px 120px rgba(2, 6, 16, 0.55);
  color: var(--navy-900);
  transform: translateY(24px) scale(0.985);
  transition: transform 0.42s var(--ease);
  /*
   * clip, not hidden, and the two together on purpose. hidden makes the panel
   * a scroll container, which costs twice: a scrollIntoView on a field slides
   * the whole panel and hides its own header, and after a native file dialog
   * Chrome loses the rounded clip's content and paints nothing but the panel's
   * own background. clip rounds the corners the same way and does neither.
   * The hidden above it is the fallback for a browser too old to know clip.
   */
  overflow: hidden;
  overflow: clip;
}

.join.open .join-panel {
  transform: none;
}

.join-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 32px 24px;
  background: var(--navy-950);
  color: var(--white);
  border-bottom: 3px solid var(--gold);
}

.join-title {
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  margin-top: 10px;
}

.join-x {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.join-x:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.join-x svg {
  width: 17px;
  height: 17px;
}

.join-rail {
  position: relative;
  padding: 26px 32px 0;
  background: var(--white);
}

.join-rail::before {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  top: 37px;
  height: 2px;
  background: rgba(10, 23, 48, 0.12);
}

.join-steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  list-style: none;
}

.join-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1 1 0;
}

.join-step:first-child {
  align-items: flex-start;
}

.join-step:last-child {
  align-items: flex-end;
}

.join-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(10, 23, 48, 0.2);
  background: var(--white);
  transition: border-color 0.4s ease, background 0.4s ease;
}

.join-step.on .join-dot,
.join-step.done .join-dot {
  border-color: var(--gold-ink);
}

.join-step.done .join-dot {
  background: var(--gold);
}

.join-step-name {
  font-family: var(--display);
  font-size: 0.66rem;
  font-weight: 700;
  font-stretch: 78%;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-light);
  transition: color 0.4s ease;
}

.join-step.on .join-step-name {
  color: var(--gold-ink);
}

.join-ball {
  position: absolute;
  left: 32px;
  top: 27px;
  width: 22px;
  height: 22px;
  background: url("../img/ball.svg") center / contain no-repeat;
  filter: drop-shadow(0 2px 5px rgba(10, 23, 48, 0.3));
  transform: translate3d(var(--x, 0), 0, 0) rotate(var(--r, 0deg));
  transition: transform 0.6s var(--ease);
  pointer-events: none;
}

.join-count {
  padding: 18px 32px 20px;
  background: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--muted-light);
}

.join-count span {
  color: var(--gold-ink);
  padding: 0 4px;
}

.join-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--grey-light);
  padding: 26px 32px 32px;
  border-top: 1px solid var(--line-light);
  scrollbar-width: thin;
  scrollbar-color: rgba(10, 23, 48, 0.25) transparent;
}

.join-body::-webkit-scrollbar {
  width: 8px;
}

.join-body::-webkit-scrollbar-thumb {
  background: rgba(10, 23, 48, 0.2);
  border-radius: 4px;
}

.join-pane {
  display: grid;
  gap: 16px;
  padding: 0;
  overflow: visible;
}

.join-intro {
  border-left: 3px solid var(--gold);
  padding: 2px 0 2px 20px;
  margin-bottom: 6px;
}

.join-intro p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted-light);
}

.join-intro p + p {
  margin-top: 12px;
}

.join-intro strong {
  color: var(--navy-900);
  font-weight: 700;
}

.jf-q {
  background: var(--white);
  border: 1px solid rgba(10, 23, 48, 0.08);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(10, 23, 48, 0.06);
  padding: 22px 24px 24px;
}

.jf-q-note {
  background: transparent;
  border-color: transparent;
  border-left-color: var(--gold);
  border-radius: 0;
  box-shadow: none;
  padding: 2px 0 2px 20px;
}

.jf-set {
  border: 0;
}

.jf-label {
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy-900);
}

.jf-req {
  color: var(--gold-ink);
  padding-left: 6px;
  font-weight: 700;
}

.jf-rich {
  position: relative;
  margin-top: 14px;
  font-size: 0.85rem;
  line-height: 1.72;
  color: var(--muted-light);
}

.jf-rich strong {
  color: var(--navy-900);
  font-weight: 700;
}

.jf-rich p + p,
.jf-rich p + ol,
.jf-rich p + ul,
.jf-rich ol + p,
.jf-rich ul + p {
  margin-top: 12px;
}

.jf-h {
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 700;
  font-stretch: 84%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.jf-rich .jf-h {
  margin-top: 18px;
}

.jf-rich .jf-h:first-child {
  margin-top: 0;
}

.jf-em {
  font-style: italic;
}

.jf-ol,
.jf-ul {
  padding-left: 22px;
  display: grid;
  gap: 6px;
}

.jf-ol {
  list-style: decimal;
}

.jf-ul {
  list-style: none;
  padding-left: 16px;
}

.jf-ul li {
  position: relative;
  padding-left: 14px;
}

.jf-ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-ink);
}

.jf-ol li::marker {
  color: var(--gold-ink);
  font-weight: 700;
}

.jf-clamp .jf-rich-body {
  max-height: 190px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 52%, transparent 96%);
}

.jf-clamp.open .jf-rich-body {
  max-height: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.jf-more {
  margin-top: 18px;
  padding: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(138, 107, 18, 0.45);
  color: var(--gold-ink);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.jf-more:hover {
  border-bottom-color: var(--gold-ink);
}

.jf-options {
  display: grid;
  gap: 4px;
  margin-top: 16px;
}

.jf-opt {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 9px 12px 9px 10px;
  border-radius: 8px;
  font-size: 0.87rem;
  line-height: 1.55;
  color: var(--muted-light);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.jf-opt:hover {
  background: rgba(10, 23, 48, 0.04);
  color: var(--navy-900);
}

.jf-opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.jf-mark {
  position: relative;
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  border: 2px solid rgba(10, 23, 48, 0.28);
  border-radius: 50%;
  background: var(--white);
  transition: border-color 0.25s ease;
}

.jf-opt input[type="checkbox"] ~ .jf-mark {
  border-radius: 5px;
}

.jf-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold-ink);
  transform: scale(0);
  transition: transform 0.25s var(--ease);
}

.jf-opt input[type="checkbox"] ~ .jf-mark::after {
  border-radius: 2px;
}

.jf-opt input:checked ~ .jf-mark {
  border-color: var(--gold-ink);
}

.jf-opt input:checked ~ .jf-mark::after {
  transform: scale(1);
}

.jf-opt input:checked ~ .jf-opt-text {
  color: var(--navy-900);
  font-weight: 600;
}

.jf-opt input:focus-visible ~ .jf-mark {
  outline: 2px solid var(--gold-ink);
  outline-offset: 3px;
}

.jf-input {
  width: 100%;
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid rgba(10, 23, 48, 0.2);
  border-radius: 8px;
  color: var(--navy-900);
  font-family: var(--body);
  font-size: 0.92rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.jf-input:hover {
  border-color: rgba(10, 23, 48, 0.34);
}

.jf-input:focus {
  outline: none;
  border-color: var(--gold-ink);
  box-shadow: 0 0 0 3px rgba(211, 169, 46, 0.22);
}

.jf-area {
  resize: vertical;
  min-height: 88px;
  line-height: 1.6;
}

.jf-input::placeholder {
  color: rgba(10, 23, 48, 0.35);
}

.jf-file {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.jf-file input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.jf-file-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  background: var(--white);
  border: 1px solid rgba(138, 107, 18, 0.5);
  border-radius: 8px;
  color: var(--gold-ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.jf-file-btn:hover {
  background: rgba(211, 169, 46, 0.1);
  border-color: var(--gold-ink);
}

.jf-file input:focus-visible ~ .jf-file-btn {
  outline: 2px solid var(--gold-ink);
  outline-offset: 3px;
}

.jf-file-ic {
  display: block;
  width: 17px;
  height: 17px;
}

.jf-file-ic svg {
  width: 100%;
  height: 100%;
}

.jf-file-name {
  font-size: 0.82rem;
  color: var(--muted-light);
}

.jf-help {
  margin-top: 12px;
  font-size: 0.76rem;
  color: rgba(10, 23, 48, 0.45);
}

/* off screen rather than hidden: a bot fills what it can read in the markup */
.join-trap {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.jf-err {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #a4262c;
}

.jf-err::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.jf-q.bad .jf-label {
  color: #a4262c;
}

.jf-q.bad .jf-input {
  border-color: #a4262c;
  background: rgba(164, 38, 44, 0.04);
}

.jf-q.bad .jf-file-btn {
  border-color: #a4262c;
  color: #a4262c;
}

.jf-q.bad .jf-mark {
  border-color: #a4262c;
}

.join-alert {
  flex: 1 1 100%;
  order: -1;
  margin-bottom: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #a4262c;
}

.join-next[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

.join-done {
  place-items: center;
  text-align: center;
  padding: 40px 0 24px;
  gap: 18px;
  overflow: visible;
}

.join-done-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 2px solid var(--gold-ink);
  border-radius: 50%;
  background: var(--white);
  color: var(--gold-ink);
}

.join-done-mark svg {
  width: 32px;
  height: 32px;
}

.join-done h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 900;
  font-stretch: 112%;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  word-spacing: 0.12em;
  color: var(--navy-900);
}

.join-done p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted-light);
  max-width: 44ch;
}

.join-done-note {
  font-size: 0.78rem;
  color: rgba(10, 23, 48, 0.45);
  border-top: 1px solid var(--line-light);
  padding-top: 16px;
}

.join-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 18px 32px 22px;
  border-top: 1px solid var(--line-light);
  background: var(--white);
}

.join-note {
  font-size: 0.74rem;
  color: rgba(10, 23, 48, 0.45);
}

.join-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.join-next {
  gap: 12px;
}

.join-next-ball {
  width: 17px;
  height: 17px;
  background: url("../img/ball.svg") center / contain no-repeat;
  transition: transform 0.5s var(--ease);
}

.join-next:hover .join-next-ball {
  transform: translateX(4px) rotate(160deg);
}

@media (max-width: 760px) {
  .join {
    padding: 0;
  }

  .join-panel {
    width: 100%;
    max-height: 100%;
    height: 100%;
    border-radius: 0;
  }

  .join-head {
    padding: 18px 20px 16px;
  }

  .join-rail {
    padding: 20px 20px 0;
  }

  .join-rail::before {
    left: 20px;
    right: 20px;
    top: 31px;
  }

  .join-ball {
    left: 20px;
    top: 21px;
  }

  .join-step-name {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  .join-count {
    padding: 14px 20px 16px;
    font-size: 0.74rem;
  }

  .join-body {
    padding: 20px 20px 26px;
  }

  .jf-q {
    padding: 18px 18px 20px;
  }

  .join-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  }

  .join-note {
    order: 2;
    text-align: center;
  }

  .join-btns {
    order: 1;
  }

  .join-btns .btn {
    flex: 1 1 0;
  }
}

@media (max-width: 420px) {
  .join-step-name {
    display: none;
  }

  .join-step {
    gap: 0;
  }
}
