@font-face {
  font-family: Clarika;
  src: url('assets/landing/clarika-regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Clarika;
  src: url('assets/clarika-geo-700.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Clarika;
  src: url('assets/landing/clarika-black.otf') format('opentype');
  font-weight: 900;
  font-display: swap;
}
:root {
  font-family: Clarika, Arial, sans-serif;
  font-synthesis: none;
  color: #1c2947;
  background: #fff;
  --ink: #1c2947;
  --sky: #75beee;
  --line: #d7e4ed;
}
* { box-sizing: border-box }
body { margin: 0 }
a { color: inherit; text-decoration: none }
button { color: inherit; font: inherit; cursor: pointer }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation }
:where(button, a):focus-visible { outline: 3px solid #116496; outline-offset: 4px }
[hidden] { display: none !important }
.skip-link { position: fixed; left: 12px; top: -80px; padding: 12px 18px; background: var(--ink); color: #fff; z-index: 10 }
.skip-link:focus { top: 12px }
.site-header {
  min-height: 88px;
  padding: 8px max(5vw, calc((100vw - 1230px)/2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 3px var(--sky);
}
.brand img, .experience-brand img { display: block; width: 100%; height: auto }
.brand { width: 108px }
.experience-brand { width: 165px; margin: 0 }
.body-experience { padding: clamp(20px, 4vw, 48px) 5vw 28px }
.body-stage {
  --cover-width: clamp(265px, 45svh, 410px);
  --guide-width: clamp(190px, 23vw, 300px);
  --guide-top: 42px;
  --catalogue-gap: clamp(16px, 3vw, 44px);
  position: relative;
  max-width: 1230px;
  margin: auto;
  isolation: isolate;
}
.is-interactive[data-state="closed"] .body-stage {
  min-height: calc(var(--cover-width) * 1.25 + 76px);
}
.mascot-guide { position: absolute; inset: 0; pointer-events: none }
.mascot-actor { position: absolute; top: 0; left: 0; pointer-events: auto }
.mascot-button, .mascot-sprite, .mascot-poster, .mascot-motion { display: block; width: 100%; height: 100% }
.mascot-button { border: 0; background: none; padding: 0; border-radius: 18px }
.mascot-button:disabled { cursor: default }
.mascot-sprite { position: relative }
.mascot-poster, .mascot-motion { position: absolute; inset: 0; object-fit: contain; background: white }
.entry-invitation { position: absolute; inset: calc(var(--cover-width)*1.25 + 8px) 0 auto; text-align: center; z-index: 2 }
.ready-trigger, .return-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px; font-weight: 700;
}
.ready-trigger { border: 0; background: var(--ink); color: #fff; font-size: 16px }
.ready-trigger span { color: #a5dcff; font-size: 22px }
.body-experience[data-state="opening"] .entry-invitation { position: relative; inset: auto; text-align: right; margin-bottom: 8px }
.body-experience:is([data-state="open"],[data-state="closing"]) .entry-invitation { display: none }
.return-button {
  position: absolute; top: calc(var(--guide-top) + var(--guide-width)*1.25 + 12px);
  left: calc(var(--guide-width)/2); transform: translateX(-50%);
  background: white; border: 1px solid var(--line); font-size: 10px; white-space: nowrap;
}
.return-button:hover { border-color: var(--ink) }
.return-button span { font-size: 16px }
.catalogue { margin-left: calc(var(--guide-width) + var(--catalogue-gap)); outline: none }
.is-interactive:not([data-state="closed"]) .body-stage { min-height: calc(var(--guide-top) + var(--guide-width)*1.25 + 65px) }
.catalogue-title { font-size: clamp(33px, 3.4vw, 52px); line-height: 1; letter-spacing: -.045em; margin: 0 0 22px; font-weight: 900 }
.catalogue-title span { color: #3284bc }
.catalogue-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px }
.game-card {
  height: 100%; display: grid; grid-template-columns: clamp(76px, 7.5vw, 108px) minmax(0, 1fr);
  align-items: center; position: relative; gap: 14px; padding: 10px; border: 1px solid var(--line);
  border-radius: 15px; background: #fff; transition: border-color .18s, box-shadow .18s, transform .18s;
}
.game-picture { display: grid; place-items: center; width: 100%; aspect-ratio: 4/5; overflow: hidden; border-radius: 9px; background: #eef7fc }
.game-picture img { display: block; width: 100%; height: 100%; object-fit: contain }
.game-picture.runner img { padding: 6px }
.game-picture.kart { background: #e7f1f6 }
.game-picture.trivia { background: #fff }
.game-picture:is(.dt,.history,.gol) img { object-fit: cover }
.game-copy, .game-copy strong { display: block; min-width: 0 }
.game-wordmark { display: block; width: 100%; height: 49px; object-fit: contain; object-position: left center }
.game-description { display: block; margin: 5px 10px 0 0; font-size: 14px; line-height: 1.3; color: #4b6172 }
.card-arrow {
  position: absolute; right: 9px; top: 8px; display: grid; place-items: center;
  height: 23px; width: 23px; border-radius: 50%; background: #eff6fa; color: #205273; font: 16px/1 Arial, sans-serif;
}
.game-copy { padding: 8px 5px 5px 0 }
.game-copy strong { margin-right: 15px }
.game-copy .rhythm-name { font-size: clamp(19px, 2vw, 27px); font-weight: 900; line-height: .98; letter-spacing: -.035em; color: #183751; margin-bottom: 5px }
@media (hover: hover) {
  .game-card:hover { border-color: #75b1d7; box-shadow: 0 6px 18px #16415d14; transform: translateY(-2px) }
  .game-card:hover .card-arrow, .passport-link:hover { background: var(--ink); color: white }
  .passport-link:hover small { color: #d3e9f8 }
}
.passport-link { display: flex; align-items: center; gap: 15px; margin-top: 16px; padding: 15px 19px; background: #eaf6ff; color: #173e59; border: 1px solid #c6e3f7; border-radius: 13px }
.passport-link > span:first-child { font-size: 26px }
.passport-link > span:nth-child(2) { flex: 1 }
.passport-link strong { font-size: 13px; letter-spacing: .05em }
.passport-link small { display: block; font-size: 13px; margin-top: 3px; color: #4b6172 }
.sponsors { max-width: 750px; margin: clamp(32px, 5vw, 70px) auto 0; padding: 24px 12px 0; border-top: 1px solid var(--line) }
.sponsor-row { display: flex; align-items: center; justify-content: center }
.principal { gap: 7%; height: 28px }
.partners { gap: 4%; height: 20px; margin-top: 15px }
.friends { gap: 7%; height: 27px; margin-top: 15px }
.sponsor { display: flex; justify-content: center; min-width: 0; height: 100%; opacity: .8 }
.principal .sponsor { width: 19% } .partners .sponsor { width: 15% } .friends .sponsor { width: 16% }
.sponsor img, .sponsor svg { max-width: 100%; width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) }
footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 5vw; font-size: 10px; letter-spacing: .05em; color: #536678 }
footer a { font-weight: 700 }
.body-experience:not(.is-interactive) .catalogue { margin-inline: auto; max-width: 920px }
.body-experience:not(.is-interactive) :is(.mascot-guide,.entry-invitation) { display: none }
@media (max-width: 980px) and (min-width: 701px) {
  .catalogue-list { grid-template-columns: 1fr; gap: 9px }
  .game-card { grid-template-columns: 68px minmax(0, 1fr); gap: 14px; padding: 7px }
  .game-picture { aspect-ratio: 1 }
  .game-wordmark { height: 39px }
}
@media (max-width: 700px) {
  .site-header { min-height: 67px; padding: 5px 5vw }
  .brand { width: 84px } .experience-brand { width: 138px }
  .body-experience { padding: 16px 4vw 24px }
  .body-stage { --cover-width: min(78vw, 38svh, 325px); --guide-width: 68px; --guide-top: 0px }
  .catalogue { margin-left: 0 }
  .catalogue-title { min-height: 86px; display: flex; align-items: center; margin: 0 0 10px; padding-left: 80px }
  .catalogue-list { grid-template-columns: 1fr; gap: 9px }
  .game-card { gap: 13px; padding: 7px; grid-template-columns: 78px minmax(0, 1fr) 18px; border-radius: 12px }
  .game-picture { aspect-ratio: 1; border-radius: 7px }
  .game-wordmark { height: 37px; max-width: 170px }
  .game-copy { padding: 0 }
  .game-copy strong { margin-right: 0 }
  .game-description { margin: 2px 0 0; font-size: 14px }
  .card-arrow { position: static; width: 20px; height: 20px }
  .return-button { position: static; transform: none; margin: 16px auto 0; display: flex }
  .passport-link { gap: 12px; padding: 12px }
  .sponsors { padding: 20px 0 0; margin-top: 28px }
  .principal { height: 22px } .partners { height: 16px } .friends { height: 21px }
  footer { font-size: 8px } footer > span:nth-child(2) { display: none }
  .body-experience:not(.is-interactive) .catalogue-title { min-height: 0; padding: 0; margin: 10px 0 20px }
}
@media (prefers-reduced-motion: reduce) {
  .game-card { transition: none }
  .game-card:hover { transform: none }
}
.mascot-guide { inset: var(--guide-top) auto auto 0; width: var(--guide-width); height: calc(var(--cover-width)*1.25) }
.is-interactive[data-state="opening"] .body-stage, .is-interactive[data-state="closing"] .body-stage { min-height: max(calc(var(--cover-width)*1.25 + 76px), calc(var(--guide-top) + var(--guide-width)*1.25 + 65px)) }
