@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700;800;900&family=JetBrains+Mono:wght@300;400;500&display=swap");

/* ──────────────────────────────────────────────────────────────
   Kunfits design tokens — see dist/kunfits-brandbook.html
   ────────────────────────────────────────────────────────────── */
:root {
  --coral: #FF4D1F;
  --coral-soft: #FF8866;
  --ink: #0A0A0A;
  --graphite: #2A2A2A;
  --slate: #6B6B6B;
  --mist: #ECECEA;
  --bone: #FAFAF7;
  --bone-deep: #F4F2EC;

  --font-sans: 'Montserrat', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden] {
  display: none;
}

html {
  font-family: "Montserrat", sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

a:focus {
  outline: thin dotted;
}

a:active,
a:hover {
  outline: 0;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

mark {
  background: #ff0;
  color: #000;
}

code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  font-size: 1em;
}

pre {
  white-space: pre-wrap;
}

q {
  quotes: "“" "”" "‘" "’";
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 0;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
}

button,
input {
  line-height: normal;
}

button,
select {
  text-transform: none;
}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

input[type=checkbox],
input[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

input[type=search] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
  vertical-align: top;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

::selection {
  background-color: var(--coral);
  color: var(--bone);
}

::-moz-selection {
  background-color: var(--coral);
  color: var(--bone);
}

html {
  background: var(--bone);
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bone);
  color: var(--ink);
  overflow: hidden;
}

/* ── Site header — shared across home + inner pages ── */
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
}

header .logo,
header .home-logo {
  display: inline-block;
  line-height: 0;
}

header .logo img,
header .home-logo img {
  display: block;
  width: 130px;
  height: auto;
  filter: brightness(0);
}

header nav {
  display: flex;
  gap: 28px;
}

header nav a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.2s ease;
}

header nav a:hover,
header nav a.active {
  color: var(--coral);
}

@media screen and (max-width: 640px) {
  header { padding: 18px 16px; }
  header .logo img,
  header .home-logo img { width: 100px; }
  header nav { gap: 16px; }
  header nav a { font-size: 10px; }
}

/* ── Site footer — minimal mono strip, shared across pages ── */
footer.site-footer {
  padding: 22px 32px;
  border-top: 1px solid var(--mist);
  background: var(--bone);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

footer.site-footer .footer-brand {
  color: var(--ink);
  font-weight: 500;
}

footer.site-footer .footer-brand sup {
  color: var(--coral);
  font-size: 9px;
  margin-left: 1px;
  top: -0.6em;
}

footer.site-footer .footer-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Home: absolute strip at the bottom so cards still control the layout */
body.home footer.site-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 32px;
  border-top: 1px solid var(--mist);
  z-index: 5;
}

@media screen and (max-width: 640px) {
  footer.site-footer {
    padding: 18px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  footer.site-footer .footer-meta { gap: 12px; justify-content: flex-start; }
  body.home footer.site-footer { padding: 12px 16px; }
}

main {
  position: relative;
  width: 100%;
  height: 100vh;
}

#slider {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  position: relative;
}

#slider canvas {
  width: 150%;
  height: 150%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  z-index: 2;
  -webkit-mask-image: radial-gradient(ellipse 35% 90% at center, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 0) 80%);
  mask-image: radial-gradient(ellipse 35% 90% at center, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 0) 80%);
}

#slider>img {
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

.slider-inner {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1060px;
  height: 100%;
  margin: 0 auto;
  z-index: 5;
}

#slider-content {
  padding: 0 10px;
}

#slider-content h2 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-style: normal;
  font-size: 30px;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 30px;
  margin: 20px 0 60px;
}

@media screen and (min-width: 800px) {
  #slider-content h2 {
    font-size: 110px;
    line-height: 100px;
  }
}

#slider-content span {
  display: none;
}

#slider-content .meta {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--slate);
  text-transform: uppercase;
  position: relative;
}

@media screen and (min-width: 800px) {
  #slider-content .meta {
    font-size: 11px;
  }
}

#slider-content .meta:after {
  content: "";
  display: block;
  position: absolute;
  top: 5px;
  right: -55px;
  width: 45px;
  height: 1px;
  background-color: var(--coral);
}

#slider-content #slide-status {
  margin-top: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 18px;
  color: var(--graphite);
  letter-spacing: -0.01em;
}

@media screen and (min-width: 800px) {
  #slider-content #slide-status {
    font-size: 34px;
  }
}

#slide-equipment {
  margin-top: 15px;
}

.equipment-group {
  display: none;
  gap: 12px;
  flex-wrap: wrap;
}

.equipment-group.active {
  display: flex;
}

.equip-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 24px;
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}

.equip-btn:hover {
  color: var(--bone);
  background: var(--coral);
  border-color: var(--coral);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 77, 31, 0.2);
}

.equip-btn:hover .equip-icon {
  filter: brightness(0) invert(1);
  transform: scale(1.1);
}

#pagination {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 30px;
  z-index: 20;
}

#pagination button img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  pointer-events: none;
  filter: none;
}

#pagination button {
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0;
  width: 32px;
  height: 32px;
  background-color: transparent;
  border-radius: 100%;
  padding: 0;
  margin: clamp(4px, 1.5vh, 20px) 0;
  cursor: pointer;
  position: relative;
  opacity: 0.3;
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
  outline: none;
  font-size: 18px;
}

#pagination button:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

#pagination button.active {
  opacity: 1;
  transform: scale(1.2);
}

#pagination button.active:before {
  width: 150%;
  height: 150%;
  opacity: 1;
}

#pagination button:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 100%;
  border: 1px solid var(--coral);
  opacity: 0;
  transition: opacity 0.4s ease-in-out, width 0.4s ease-in-out, height 0.4s ease-in-out;
}

/* Page Loader */
.loading:before {
  content: "";
  position: fixed;
  z-index: 100000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bone);
}

.loading:after {
  content: "";
  position: fixed;
  z-index: 100000;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.4;
  background: var(--coral);
  animation: loaderAnim 0.7s linear infinite alternate forwards;
}

@keyframes loaderAnim {
  to {
    opacity: 1;
    transform: scale3d(0.5, 0.5, 1);
  }
}

/* ────────────────────────────────────────────────────────────
   HOME — expanding sport cards
   ──────────────────────────────────────────────────────────── */
body.home {
  overflow: hidden;
  background-color: var(--bone);
}

/* home-header inherits the unified header styles above */

body.home main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  height: 100vh;
  padding: 100px 40px 70px;
  box-sizing: border-box;
}

/* ── Home steps: 3-step descriptor above the cards ── */
.home-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 1200px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.home-steps li {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.home-steps .step-num {
  color: var(--coral);
}

@media screen and (max-width: 720px) {
  .home-steps {
    flex-direction: column;
    gap: 6px;
  }
}

.sport-options {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  max-width: 1200px;
  height: clamp(380px, 64vh, 540px);
  gap: 14px;
}

.sport-option {
  position: relative;
  overflow: hidden;
  min-width: 80px;
  flex: 1 1 0;
  cursor: pointer;
  border-radius: 30px;
  background-image: var(--option-bg);
  background-size: auto 120%;
  background-position: center;
  transition: all 0.55s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}

.sport-option.active {
  flex-grow: 10000;
  max-width: 720px;
  border-radius: 40px;
  background-size: auto 100%;
}

.sport-option .shadow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -40px;
  height: 160px;
  pointer-events: none;
  box-shadow: inset 0 -160px 0 -160px black, inset 0 -160px 0 -140px black;
  transition: 0.55s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}

.sport-option.active .shadow {
  bottom: 0;
  box-shadow: inset 0 -160px 140px -140px rgba(0, 0, 0, 0.95),
              inset 0 -160px 140px -120px rgba(0, 0, 0, 0.95);
}

.sport-option .label {
  display: flex;
  align-items: center;
  position: absolute;
  left: 12px;
  bottom: 12px;
  height: 44px;
  transition: 0.55s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}

.sport-option.active .label {
  left: 26px;
  bottom: 26px;
}

.sport-option .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  max-width: 44px;
  height: 44px;
  border-radius: 100%;
  background: #fff;
}

.sport-option .icon img {
  width: 22px;
  height: 22px;
  filter: brightness(0);
}

.sport-option .info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 14px;
  color: #fff;
  white-space: pre;
  overflow: hidden;
}

.sport-option .info > div {
  position: relative;
  transition: 0.55s cubic-bezier(0.05, 0.61, 0.41, 0.95), opacity 0.5s ease-out;
}

.sport-option .info .main {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.sport-option .info .sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
  transition-delay: 0.1s;
}

.sport-option:not(.active) .info > div {
  left: 20px;
  opacity: 0;
}

.sport-option.active .info > div {
  left: 0;
  opacity: 1;
}

/* Equipment pills — only visible on the active card */
.sport-option .equipment {
  position: absolute;
  top: 26px;
  right: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}

.sport-option.active .equipment {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.equip-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 0;
  background: var(--coral);
  border: 1px solid var(--coral);
  color: var(--bone);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.equip-pill::after {
  content: "→";
  font-size: 14px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.equip-pill:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
  transform: translateY(-2px);
}

.equip-pill:hover::after {
  transform: translateX(4px);
}

@media screen and (max-width: 720px) {
  body.home {
    overflow-y: auto;
  }
  body.home main {
    height: auto;
    min-height: 100vh;
    padding: 90px 12px 20px;
  }
  .sport-options {
    flex-direction: column;
    height: auto;
    gap: 10px;
  }
  .sport-option {
    min-height: 78px;
    border-radius: 22px;
  }
  .sport-option.active {
    min-height: 300px;
    max-width: none;
    border-radius: 28px;
  }
  .sport-option .equipment {
    top: auto;
    bottom: 90px;
    right: 18px;
    flex-direction: row;
    flex-wrap: wrap;
  }
}