@import url("tokens.css?v=3179768ec672");

/* Light is the default for everyone (owner decision) — the OS setting is ignored;
     dark mode exists only when chosen with the ◐ toggle. */

* {
  box-sizing: border-box;
  margin: 0;
}
html {
  background: var(--bg);
}
body {
  background: var(--bg);
  color: var(--ink);
  font:
    400 16px/1.55 "Archivo",
    sans-serif;
  font-stretch: 100%;
}
a {
  color: inherit;
}
ul {
  list-style: none;
  padding: 0;
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.wrap {
  width: min(1320px, 100% - 32px);
  margin-inline: auto;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ── intro ── */
.intro {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 400px);
  align-items: end;
  gap: 40px;
  padding: clamp(20px, 4vw, 48px) 0 24px;
}
.intro > * {
  min-width: 0;
}
.intro h1 {
  overflow-wrap: anywhere;
  hyphens: auto;
}
.intro h1 {
  font: 900 clamp(60px, 11vw, 180px) / 0.8 "Archivo";
  font-stretch: 62%;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}
.intro p {
  color: var(--ink-2);
  font-size: 17px;
}
.hint {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 12px;
}

/* mini court: follows the open panel */
.mini {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.mini .court {
  width: 100%;
  height: 118px;
  display: block;
  color: color-mix(in oklab, var(--v, var(--ink)) 78%, var(--tone));
}
.mini figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.mini figcaption b {
  color: var(--ink);
}

/* line-draw: any .court inside a .drawn container animates */
.court .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.court .fade {
  opacity: 0;
}
.drawn .court .draw {
  animation: draw 1.5s cubic-bezier(0.6, 0, 0.2, 1) forwards;
  animation-delay: var(--d, 0s);
}
.drawn .court .fade {
  animation: fade 0.6s forwards;
  animation-delay: calc(var(--d, 0s) + 0.9s);
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fade {
  to {
    opacity: 1;
  }
}

/* ── accordion ── */
.deck {
  display: flex;
  gap: 8px;
  height: clamp(520px, 74vh, 760px);
  margin-bottom: 24px;
}
/* Individual sports stay readable as cards, outside the team accordion. */
.coming-soon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 110px;
}
.coming-soon:empty {
  display: none;
}
.coming-soon .panel {
  min-height: 460px;
}
.coming-soon .detail {
  display: block;
  position: relative;
  left: auto;
  bottom: auto;
  width: auto;
  margin: 180px 24px 28px;
}
.coming-soon .detail .sport {
  font-size: clamp(32px, 3.4vw, 52px);
}
.panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--on-media);
  background: color-mix(in oklab, var(--v) 55%, var(--media-black));
  transition: flex-grow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  isolation: isolate;
}
.panel:not(.is-open) {
  cursor: pointer;
}
.panel.is-open {
  flex-grow: 4.2;
}
.panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  transform: scale(1.06);
  transition: transform 1.2s;
}
.panel.is-open img {
  transform: scale(1);
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, var(--panel-top) 0%, var(--panel-middle) 45%, var(--scrim) 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--v) 55%, transparent) 0%, transparent 40%);
}
.panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--v);
}
.panel .bigglyph {
  position: absolute;
  right: -12%;
  top: 8%;
  width: 90%;
  color: var(--glyph-muted);
  z-index: -1;
}
.panel .bigglyph svg {
  width: 100%;
  height: auto;
  stroke-width: 1;
}
/* the court, chalked onto the floor in perspective */
.floor {
  position: absolute;
  left: 50%;
  bottom: 44%;
  width: 90%;
  z-index: -1;
  color: var(--chalk);
  opacity: 0;
  transform: translateX(-50%) perspective(640px) rotateX(62deg);
  transform-origin: 50% 100%;
  filter: url(#chalk);
  transition: opacity 0.3s;
}
.floor svg {
  width: 100%;
  height: auto;
  display: block;
}
.panel.is-open .floor {
  opacity: 1;
}

.spine {
  position: absolute;
  left: 18px;
  bottom: 26px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font: 900 clamp(34px, 3.4vw, 54px) / 1 "Archivo";
  font-stretch: 62%;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.3s;
}
.num {
  position: absolute;
  top: 18px;
  left: 20px;
  font: 700 13px/1 "Archivo";
  letter-spacing: 0.12em;
}
.status {
  position: absolute;
  top: 14px;
  right: 14px;
  font: 800 11px/1 "Archivo";
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--status-surface);
  backdrop-filter: blur(6px);
  padding: 7px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-live);
  margin-right: 6px;
  vertical-align: 1px;
}
.status.soon i {
  background: var(--status-soon);
}
.panel:not(.is-open) .status {
  font-size: 0;
  padding: 7px;
} /* dot only while collapsed */
.panel:not(.is-open) .status i {
  margin: 0;
}
/* Upcoming sports keep their status readable while collapsed: the pill turns vertical,
   like the spine, instead of shrinking to a dot. */
.panel:not(.is-open) .status.soon {
  font-size: 11px;
  padding: 10px 7px;
  writing-mode: vertical-rl;
}
.panel:not(.is-open) .status.soon i {
  margin: 0 0 6px;
}

.detail {
  position: absolute;
  left: 28px;
  bottom: 34px;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.35s,
    transform 0.5s;
  pointer-events: none;
  width: min(560px, 100% - 56px);
}
.panel.is-open .detail {
  opacity: 1;
  transform: none;
  transition-delay: 0.18s;
}
.panel.is-open .spine {
  opacity: 0;
}
.detail .sport {
  display: block;
  font: 900 clamp(52px, 6.4vw, 108px) / 0.82 "Archivo";
  font-stretch: 62%;
  text-transform: uppercase;
  /* Long names (Leichtathletik) outgrow a panel shared by seven sports: hyphenate by the
     page language rather than clip. */
  overflow-wrap: break-word;
  hyphens: auto;
}
.detail .prod {
  display: block;
  font-weight: 700;
  margin: 12px 0 4px;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.detail .hl {
  display: block;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.3;
  color: var(--on-media-2);
  max-width: 30ch;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 20px;
}
.chips span {
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 10px;
  border: 1px solid var(--chip-line);
  border-radius: 999px;
}
.go {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: var(--on-media);
  color: var(--media-ink);
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  transition: gap 0.2s;
}
.panel.is-open .go {
  pointer-events: auto;
}
.go:hover {
  gap: 14px;
}
.go:focus-visible {
  outline: 3px solid var(--on-media);
  outline-offset: 3px;
}

/* ── platform ── */
.plat-h {
  margin-bottom: 36px;
}
.plat-h h2 {
  font: 900 clamp(48px, 7vw, 108px) / 0.84 "Archivo";
  font-stretch: 62%;
  text-transform: uppercase;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 110px;
}
.tiles li {
  overflow-wrap: anywhere;
  background: var(--bg-2);
  border-radius: 14px;
  padding: 26px 24px 30px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tiles b {
  display: block;
  font: 900 30px/0.95 "Archivo";
  font-stretch: 75%;
  text-transform: uppercase;
}
.tiles p {
  color: var(--ink-2);
  font-size: 15px;
  margin-top: 18px;
}
.tiles .n {
  font-weight: 800;
  font-size: 13px;
  color: var(--ink-2);
}

/* ── contact segment (full width; stable dark surface in both themes) ── */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--media-ink);
  color: var(--contact-ink);
  min-height: min(88vh, 820px);
  display: grid;
  align-items: center;
  padding: clamp(72px, 10vw, 128px) 0;
  scroll-margin-top: 0;
}
.contact-in {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.contact .k {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--contact-muted);
  margin-bottom: 16px;
}
.contact h2 {
  font: 900 clamp(60px, 10vw, 168px) / 0.8 "Archivo";
  font-stretch: 62%;
  text-transform: uppercase;
}
.contact .lede {
  margin-top: 22px;
  max-width: 42ch;
  font-size: 18px;
  color: var(--contact-lede);
}
.contact-card {
  border-top: 2px solid var(--contact-line);
  padding-top: 22px;
}
.big-mail {
  display: block;
  font: 800 clamp(30px, 4.2vw, 58px) / 1.05 "Archivo";
  font-stretch: 75%;
  color: var(--contact-accent);
  text-decoration: none;
  overflow-wrap: anywhere;
  letter-spacing: -0.01em;
}
.big-mail:hover {
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.12em;
}
.contact .btn {
  display: inline-flex;
  gap: 10px;
  margin-top: 26px;
  background: var(--contact-ink);
  color: var(--media-ink);
  text-decoration: none;
  font-weight: 800;
  padding: 16px 24px;
  border-radius: 999px;
}
.contact .btn:hover {
  gap: 16px;
}
.contact :focus-visible {
  outline-color: var(--contact-ink);
}
.contact .scale {
  position: absolute;
  right: -6%;
  top: 50%;
  width: min(900px, 72%);
  transform: translateY(-50%);
  z-index: -1;
  color: var(--contact-ink);
  opacity: 0.14;
}
.contact .scale svg {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 820px) {
  .intro,
  .contact-in {
    grid-template-columns: 1fr;
  }
  .coming-soon {
    grid-template-columns: minmax(0, 1fr);
  }
  .coming-soon .panel.is-open {
    height: auto;
  }
  .coming-soon .detail {
    right: auto;
  }
  .deck {
    flex-direction: column;
    height: auto;
  }
  .panel {
    flex: none;
    height: 84px;
    transition: height 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .panel.is-open {
    height: 500px;
  }
  .spine {
    writing-mode: horizontal-tb;
    transform: none;
    left: 60px;
    bottom: auto;
    top: 20px;
    /* Scales down on narrow phones so long names (Borilne veščine) stay in the row. */
    font-size: clamp(28px, 9vw, 40px);
  }
  /* In a collapsed row the status sits under the sport name, horizontally, in the
     strip between the name (ends 60px down at most) and the colour bar. */
  .panel:not(.is-open) .status.soon {
    writing-mode: horizontal-tb;
    top: auto;
    right: auto;
    left: 60px;
    bottom: 7px;
    padding: 3px 7px;
    font-size: 10px;
  }
  .panel:not(.is-open) .status.soon i {
    margin: 0 6px 0 0;
  }
  .num {
    top: 34px;
  }
  .detail {
    left: 20px;
    right: 20px;
    bottom: 24px;
    width: auto;
  }
  .floor {
    bottom: 50%;
    width: 90%;
  }
  .tiles {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact .scale {
    width: 130%;
    top: 22%;
    right: -40%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
  .court .draw,
  .drawn .court .draw {
    animation: none;
    stroke-dashoffset: 0;
  }
  .court .fade,
  .drawn .court .fade {
    animation: none;
    opacity: 1;
  }
}
.founding-band {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.founding-band h2 {
  font:
    900 clamp(36px, 6vw, 64px) / 1 "Archivo",
    sans-serif;
  font-stretch: 70%;
  max-width: 20ch;
}
.founding-band p {
  margin-top: 18px;
  max-width: 60ch;
  color: var(--ink-2);
}
.founding-band .btn {
  margin-top: 24px;
  background: var(--ink);
  color: var(--bg);
}
@media (max-width: 560px) {
  header {
    flex-wrap: wrap;
  }
  header nav {
    flex-wrap: wrap;
    gap: 12px;
  }
  header nav > a[data-founding-link] {
    display: inline-flex;
  }
}

/* Approved reference: 300px scene, SVG bounded in both axes, 38px upward offset. */
.coming-soon .court-scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  color: var(--on-media);
}
.coming-soon .court-scene svg {
  width: auto;
  height: auto;
  max-width: 72%;
  max-height: 62%;
  opacity: 0.6;
  margin-bottom: 38px;
}
.coming-soon .detail {
  margin-top: 0;
}
.court-scene.drawn .draw {
  animation: draw 2.2s cubic-bezier(0.6, 0, 0.2, 1) forwards;
}
.court-scene.drawn .fade {
  animation: fade 1s 1.6s both;
}
.court-scene .mover {
  fill: currentColor;
  stroke: none;
  opacity: 0;
}
.court-scene.drawn .mover {
  animation: show-mover 0.6s 2.2s forwards;
}
@keyframes show-mover {
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .court-scene .draw,
  .court-scene.drawn .draw {
    animation: none;
    stroke-dashoffset: 0;
  }
  .court-scene .fade,
  .court-scene.drawn .fade {
    animation: none;
    opacity: 1;
  }
  .court-scene .mover {
    display: none;
  }
}

.court-scene .movers {
  opacity: 0;
}
.court-scene.drawn .movers {
  animation: show-mover 0s 2.2s forwards;
}
@media (prefers-reduced-motion: reduce) {
  .court-scene .movers {
    display: none;
  }
}

/* Founding offer appears before discovery, using the approved short offer. */
.founding-band {
  margin: 0 0 48px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
}
.founding-band .wrap {
  width: 100%;
  padding: 0;
}
.founding-band h2 {
  font-size: clamp(32px, 4vw, 56px);
}
.founding-band p {
  max-width: 90ch;
  font-size: 17px;
}
.marketing-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}
.marketing-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
}
.marketing-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.marketing-card strong {
  font-size: 28px;
  line-height: 1.3;
}
.marketing-prices .marketing-card p {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 12px;
}
.sport-group-title {
  font-size: 22px;
  margin: 28px 0 16px;
}
.interest-note {
  max-width: 85ch;
  margin-top: 20px;
}
.coming-soon {
  margin-top: 0;
}
.coming-soon .panel {
  min-height: 260px;
  height: 260px;
}
.coming-soon .detail {
  padding: 20px;
}
.coming-soon .detail .hl,
.coming-soon .detail .chips {
  display: none;
}
@media (max-width: 600px) {
  .founding-band {
    padding: 20px;
  }
  .marketing-prices {
    grid-template-columns: 1fr;
  }
  .marketing-card {
    padding: 20px;
  }
  .marketing-card strong {
    font-size: 25px;
  }
  .coming-soon .panel.is-open {
    min-height: 235px;
    height: 235px;
  }
  .coming-soon .detail {
    padding: 20px;
  }
  .intro h1 {
    font-size: clamp(46px, 13vw, 78px);
    overflow-wrap: normal;
  }
}
.coming-soon .court-scene {
  position: absolute;
  inset: 0;
  height: 100%;
}
.coming-soon .court-scene svg {
  max-height: 45%;
  margin-bottom: 95px;
}
.coming-soon .detail {
  position: absolute;
  inset: auto 0 16px;
  width: auto;
  margin: 0;
  padding: 0 20px;
  pointer-events: auto;
}
.coming-soon .detail .sport {
  font-size: 32px;
}
.coming-soon .detail .prod {
  font-size: 12px;
  margin-top: 10px;
}
.coming-soon .detail .go {
  margin-top: 12px;
}
.coming-soon {
  margin-bottom: 0;
}
.founding-band .offer-deadline {
  color: var(--fimula-text);
  font-size: 18px;
  font-weight: 750;
}
.founding-band { margin-block: var(--space-12); padding: var(--space-8); }
.founding-band .marketing-prices { gap: var(--space-6); margin-block: var(--space-6); }
.founding-band .marketing-card { padding: var(--space-6); }
.founding-band .marketing-card h3 { margin-bottom: var(--space-4); }
.founding-band .marketing-card p { margin-top: var(--space-4); }
.founding-band .btn { margin-top: var(--space-6); }
.marketing-card { height: 100%; }
@media (max-width: 600px) { .founding-band { padding: var(--space-6); } }

/* Three payment options, one column when space is limited. */
.marketing-prices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media(max-width:760px) { .marketing-prices { grid-template-columns: 1fr; } }
