:root {
  --ink: #0A0A0A;
  --white: #FFFFFF;
  --page: #E6E8EB;
  --line: #D9DCE0;
  --mid: #7C828A;
  --body: #30343A;
  --cyan: #1FD8FF;
  --blue: #1B6FD8;
  --hfill: #1590E6;
  --hstroke: #2AA8F2;
  --grad: linear-gradient(180deg, var(--cyan), var(--blue));
  --grad-x: linear-gradient(90deg, var(--cyan), var(--blue));
  --font: "Roboto Condensed", "Arial Narrow", sans-serif;
  --frame: 5px;
  --gutter: clamp(16px, 4vw, 48px);
  --glide: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.45;
}

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

a { color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 0.88;
  text-transform: uppercase;
}

.o { color: transparent; -webkit-text-stroke: 2px var(--ink); }

.wrap { max-width: 1280px; margin: 0 auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px var(--gutter);
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo .ball { width: 46px; height: 46px; flex: none; fill: none; stroke: var(--ink); stroke-width: 7; transition: rotate 0.6s var(--spring); }
.logo .ball path { stroke-width: 5; stroke-linecap: round; }
.logo:hover .ball { rotate: 360deg; }
.logo-words { display: flex; flex-direction: column; font-style: italic; font-weight: 900; font-size: 26px; line-height: 0.86; letter-spacing: -0.02em; }
.logo-club { background: var(--ink); color: var(--white); font-weight: 900; font-size: 13px; letter-spacing: 0.08em; padding: 6px 8px; }

.nav { margin-left: auto; display: flex; align-items: stretch; height: 46px; padding: 0 6px; background: var(--ink); }
.nav a { position: relative; display: flex; align-items: center; padding: 0 18px; color: var(--white); text-decoration: none; font-size: 19px; letter-spacing: 0.02em; white-space: nowrap; }
.nav a::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 6px;
  top: 9px;
  bottom: 9px;
  background: var(--grad-x);
  transform: skewX(-18deg) scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--glide);
}
.nav a span { position: relative; transition: color 0.2s; }
.nav a:hover::before, .nav a:focus-visible::before { transform: skewX(-18deg) scaleX(1); }
.nav a:hover span, .nav a:focus-visible span { color: var(--ink); }
.nav a:focus-visible { outline: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  font-family: var(--font);
  font-style: italic;
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: scale 0.22s var(--spring), color 0.2s;
}
.btn:hover { scale: 1.04; }
.btn:active { scale: 0.96; }
.btn:focus-visible { outline: 3px solid var(--hfill); outline-offset: 3px; }
.btn-grad { background: var(--grad-x); color: var(--ink); }
.btn-grad:hover { background: var(--ink); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--grad-x); color: var(--ink); }
.btn-top { min-height: 46px; padding: 0 20px; font-size: 19px; }

.tag {
  display: inline-flex;
  align-items: stretch;
  margin: 0 0 22px;
  padding-right: 14px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  line-height: 34px;
}
.tag::before { content: ""; width: 8px; margin-right: 12px; background: var(--grad); }

.rows {
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding-top: 4px;
  pointer-events: none;
  user-select: none;
  --row-h: 72px;
  --row-size: 68px;
}
.row {
  display: flex;
  height: var(--row-h);
  line-height: var(--row-h);
  white-space: nowrap;
  font-style: italic;
  font-weight: 900;
  font-size: var(--row-size);
  letter-spacing: -0.5px;
}
.run { display: flex; flex: none; }
.run .f, .run .o { padding-right: 0.24em; transition: color 0.25s, -webkit-text-stroke-color 0.25s; }
.run .f { color: var(--ink); }
.run .o { color: transparent; -webkit-text-stroke: 1.6px var(--ink); }

@keyframes kinLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes kinRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(calc(100vh - 70px), 900px);
  padding: clamp(28px, 5vw, 64px) var(--gutter);
}
.hero .run { animation: kinLeft 90s linear infinite; }
.hero .row:nth-child(even) .run { animation-name: kinRight; }

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 28px;
}

.window { background: var(--white); }

.lost .hero-inner { grid-template-columns: minmax(0, 760px); justify-content: center; }
.lost { min-height: 100vh; }

.hero-copy { padding: clamp(26px, 4vw, 56px); }
.hero-copy > * { animation: drop 0.6s var(--spring) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.hero-copy h1 { font-size: clamp(64px, 9.4vw, 148px); }
.hero-copy h1 span { display: block; }
.hero-copy h1 .o { -webkit-text-stroke-width: 3px; }
.lede { max-width: 560px; margin: 26px 0 30px; color: var(--body); font-size: clamp(18px, 1.5vw, 21px); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-render {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 460px;
  padding-top: 28px;
}
.rise { position: absolute; left: 14%; right: 14%; bottom: 0; height: 56%; background: var(--grad); }
.hero-render .rise { animation: rise 0.8s var(--glide) 0.25s both; }
.hero-render img {
  position: relative;
  width: min(86%, 400px);
  animation: pop 0.7s var(--spring) 0.4s both, bob 4.5s ease-in-out 1.2s infinite;
}

@keyframes drop { from { opacity: 0; translate: 0 -16px; } to { opacity: 1; translate: 0 0; } }
@keyframes rise { from { height: 0; } }
@keyframes pop { from { opacity: 0; scale: 0.9; } to { opacity: 1; scale: 1; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.band { background: var(--ink); color: var(--white); padding: clamp(56px, 8vw, 110px) var(--gutter); }
.band h2 { font-size: clamp(52px, 8vw, 116px); }
.band .o { -webkit-text-stroke-color: var(--white); }
.band-lede { max-width: 640px; margin: 22px 0 0; color: rgba(255, 255, 255, 0.78); font-size: clamp(18px, 1.5vw, 21px); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--frame); margin: 44px 0 0; padding: 0; list-style: none; }
.stats li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px 36px; background: var(--white); color: var(--ink); }
.stats li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--grad); }
.stats b { font-style: italic; font-weight: 900; font-size: clamp(52px, 6vw, 88px); line-height: 0.9; letter-spacing: -0.02em; }
.stats span { font-weight: 700; font-size: 16px; letter-spacing: 0.08em; }

.section { padding: clamp(56px, 8vw, 110px) var(--gutter); }
.section.soft { background: var(--page); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(52px, 8vw, 116px); }
.section-head p { max-width: 420px; margin: 0; color: var(--body); }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile.wide { grid-column: span 2; }

.tile {
  position: relative;
  isolation: isolate;
  padding: var(--frame);
  background: var(--ink);
  transition: scale 0.32s var(--spring);
}
.tile::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--grad); opacity: 0; transition: opacity 0.3s; }
.tile-in { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; overflow: hidden; background: var(--white); }
.tiles .rows { position: relative; inset: auto; flex: none; height: calc(var(--row-h) * 3 + 4px); --row-h: 46px; --row-size: 43px; }
.tile-body { flex: 1; padding: 20px 24px 26px; }
.tile-body.split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; padding-bottom: 0; }
.tile-body.split > div:first-child { padding-bottom: 26px; }
.tile-body p { margin: 0; color: var(--body); font-size: 18px; }
.tile h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: clamp(30px, 2.6vw, 38px); }

.key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: 30px;
  min-width: 30px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}

.tile-render { position: relative; width: 200px; height: 236px; display: flex; align-items: flex-end; justify-content: center; }
.tile-render .rise { left: 8%; right: 8%; height: 62%; transition: height 0.4s var(--glide); }
.tile-render img { position: relative; width: 170px; transition: translate 0.4s var(--spring); }

.tile:hover { scale: 1.025; z-index: 2; }
.tile:hover::before { opacity: 1; }
.tile:hover .run .f { color: var(--hfill); }
.tile:hover .run .o { -webkit-text-stroke-color: var(--hstroke); }
.tile:hover .run { animation: kinLeft 18s linear infinite; }
.tile:hover .row:nth-child(even) .run { animation-name: kinRight; }
.tile:hover .key { background: var(--grad); color: var(--ink); }
.tile:hover .tile-render .rise { height: 74%; }
.tile:hover .tile-render img { translate: 0 -8px; }

.club-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.club-tile .tile-in { min-height: 470px; }
.club-tile .rows { --row-h: 52px; --row-size: 49px; }
.club-render { position: absolute; left: 9%; right: 9%; top: 15%; bottom: 11%; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.club-render .rise { left: 10%; right: 10%; height: 52%; }
.club-render img { position: relative; width: 94%; }
.club-copy h2 { font-size: clamp(52px, 6.4vw, 96px); }
.club-copy p:not(.tag) { max-width: 520px; margin: 22px 0 30px; color: var(--body); }

.mail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.mail {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 28px 28px 42px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: scale 0.25s var(--spring);
}
.mail::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: var(--grad); transition: width 0.35s var(--glide); }
.mail::after {
  content: "EMAIL";
  position: absolute;
  top: 24px;
  right: 24px;
  height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 30px;
}
.mail > span { position: relative; }
.mail-name { font-style: italic; font-weight: 900; font-size: clamp(48px, 5vw, 72px); line-height: 0.88; }
.mail-addr { font-weight: 700; font-size: clamp(18px, 1.7vw, 22px); overflow-wrap: anywhere; }
.mail:hover { scale: 1.02; }
.mail:hover::before { width: 100%; }
.mail:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }

.foot { padding: 32px var(--gutter); background: var(--white); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.foot p { margin: 0; color: var(--mid); font-size: 15px; }

.js .reveal {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.5s var(--glide) var(--d, 0ms), translate 0.6s var(--spring) var(--d, 0ms), scale 0.32s var(--spring);
}
.js .reveal.in { opacity: 1; translate: 0 0; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-render { min-height: 380px; }
  .hero-render img { width: min(62%, 320px); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile.wide:not(:first-child) { grid-column: span 1; }
  .club-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1040px) {
  .top { position: relative; flex-wrap: wrap; row-gap: 12px; }
  .btn-top { margin-left: auto; }
  .nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; padding: 0 4px; }
  .nav a { padding: 0 clamp(6px, 2vw, 18px); font-size: clamp(15px, 2.2vw, 19px); }
  .nav a::before { left: 2px; right: 0; }
  html { scroll-padding-top: 0; }
}

@media (max-width: 820px) {
  .hero { min-height: 0; }
}

@media (max-width: 640px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile.wide { grid-column: span 1; }
  .tile-render { width: 130px; height: 170px; }
  .tile-render img { width: 116px; }
  .mail-grid { grid-template-columns: minmax(0, 1fr); }
  .club-tile .tile-in { min-height: 340px; }
  .rows { --row-h: 52px; --row-size: 49px; }
  .tiles .rows { --row-h: 40px; --row-size: 37px; }
  .club-tile .rows { --row-h: 42px; --row-size: 39px; }
  .hero-copy h1 .o { -webkit-text-stroke-width: 2px; }
}

@media (max-width: 400px) {
  .logo-words { font-size: 22px; }
  .logo .ball { width: 38px; height: 38px; }
  .btn-top { padding: 0 14px; font-size: 17px; }
  .btn { padding: 0 20px; }
  .stats { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 370px) {
  .btn-top { display: none; }
  .nav a { padding: 0 4px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .run, .hero-copy > *, .hero-render .rise, .hero-render img { animation: none !important; }
  .js .reveal { opacity: 1; translate: none; transition: none; }
}
