:root {
  color-scheme: light;
  --kuldig: #0082BA;
  --accent: #FAEE09;
  --ink: #101010;
  --ink-soft: #555555;
  --paper: #f5f5f3;
  --white: #ffffff;
  --line: rgba(0, 0, 0, .14);
  --shadow: 0 24px 70px rgba(0, 0, 0, .14);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

html {
  background: var(--paper);
}

body {
  overflow-x: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, .035) 1px, transparent 1px),
    var(--paper);
  background-size: 64px 64px;
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: none;
}

a {
  color: inherit;
}

svg {
  display: block;
}

.station-shell {
  display: grid;
  width: min(1720px, 100%);
  min-height: 100dvh;
  grid-template-rows: auto 1fr auto;
  margin: 0 auto;
  padding: clamp(24px, 3.1vw, 58px) clamp(24px, 5vw, 90px) clamp(22px, 2.4vw, 42px);
}

.station-header,
.station-footer,
.card-topline,
.card-action,
.brand,
.event-badge,
.touch-hint {
  display: flex;
  align-items: center;
}

.station-header {
  justify-content: space-between;
  gap: 28px;
}

.brand {
  gap: 18px;
  text-decoration: none;
}

.brand img {
  width: clamp(64px, 5.5vw, 92px);
  height: clamp(64px, 5.5vw, 92px);
  border-radius: 3px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: clamp(17px, 1.4vw, 23px);
  font-weight: 800;
  letter-spacing: -.025em;
}

.brand-copy span {
  color: var(--ink-soft);
  font-size: clamp(12px, .92vw, 15px);
  font-weight: 600;
}

.event-badge {
  gap: 11px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .035em;
}

.event-badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--kuldig);
  box-shadow: 0 0 0 5px var(--accent);
}

.selection-main {
  display: grid;
  grid-template-columns: minmax(280px, .68fr) minmax(600px, 1.55fr);
  align-items: center;
  gap: clamp(40px, 5vw, 92px);
  padding: clamp(42px, 5vh, 82px) 0 clamp(32px, 4vh, 64px);
}

.intro {
  align-self: center;
  max-width: 460px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 25px;
  color: var(--kuldig);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 38px;
  height: 3px;
  background: var(--kuldig);
  content: '';
}

h1 {
  margin: 0;
  font-size: clamp(48px, 5vw, 86px);
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: .99;
}

h1 span {
  color: var(--kuldig);
}

.intro-copy {
  max-width: 420px;
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.15vw, 20px);
  font-weight: 500;
  line-height: 1.65;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 1.8vw, 30px);
}

.experience-card {
  position: relative;
  display: grid;
  min-height: clamp(510px, 58vh, 680px);
  grid-template-rows: auto minmax(150px, .86fr) auto auto;
  overflow: hidden;
  padding: clamp(25px, 2vw, 35px);
  border: 1px solid transparent;
  border-radius: 30px;
  box-shadow: var(--shadow);
  text-decoration: none;
  transform: translateZ(0);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  -webkit-tap-highlight-color: transparent;
}

.experience-card::after {
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  content: '';
  pointer-events: none;
  transition: border-color .25s ease;
}

.experience-card:hover,
.experience-card:focus-visible {
  box-shadow: 0 32px 86px rgba(0, 0, 0, .22);
  transform: translateY(-8px);
}

.experience-card:hover::after,
.experience-card:focus-visible::after {
  border-color: var(--accent);
}

.experience-card:focus-visible {
  outline: 5px solid rgba(0, 130, 186, .28);
  outline-offset: 5px;
}

.experience-card--businesses {
  background: var(--kuldig);
  color: var(--white);
}

.experience-card--games {
  border-color: var(--kuldig);
  background: var(--white);
  color: var(--ink);
}

.card-topline {
  position: relative;
  z-index: 2;
  justify-content: space-between;
}

.card-number {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .13em;
}

.card-type {
  padding: 8px 13px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .78;
}

.experience-card--businesses .card-type,
.experience-card--games .card-type {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
  opacity: 1;
}

.experience-card--games .card-number,
.experience-card--games .card-kicker,
.experience-card--games .card-action {
  color: var(--kuldig);
}

.card-visual {
  position: relative;
  align-self: center;
  width: calc(100% + 34px);
  margin-left: -17px;
}

.card-visual > svg {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: visible;
}

.card-visual--businesses svg {
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .10));
}

.landscape-back {
  fill: rgba(255, 255, 255, .24);
}

.landscape-front {
  fill: rgba(255, 255, 255, .44);
}

.building {
  fill: #fff;
}

.building-line,
.ray {
  fill: none;
  stroke: var(--kuldig);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.sun {
  fill: var(--accent);
}

.card-visual--games {
  isolation: isolate;
}

.game-controller {
  fill: var(--kuldig);
}

.game-detail,
.game-spark {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 8;
}

.game-spark {
  stroke: var(--accent);
  stroke-width: 4;
}

.game-shape {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: var(--accent);
}

.game-shape--one {
  top: 9%;
  left: 8%;
  width: 90px;
  height: 90px;
}

.game-shape--two {
  right: 5%;
  bottom: 8%;
  width: 54px;
  height: 54px;
  background: var(--kuldig);
}

.card-content {
  position: relative;
  z-index: 2;
  align-self: end;
}

.card-kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  opacity: .68;
}

.card-content h2 {
  margin: 0;
  font-size: clamp(29px, 2.25vw, 42px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.04;
}

.card-content p {
  min-height: 3em;
  margin: 15px 0 0;
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 500;
  line-height: 1.55;
  opacity: .76;
}

.card-action {
  position: relative;
  z-index: 2;
  justify-content: space-between;
  margin-top: 26px;
  padding-top: 21px;
  border-top: 1px solid currentColor;
  font-size: 13px;
  font-weight: 800;
  opacity: .78;
}

.card-action svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform .2s ease;
}

.experience-card:hover .card-action svg,
.experience-card:focus-visible .card-action svg {
  transform: translateX(5px);
}

.station-footer {
  gap: 24px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .035em;
}

.touch-hint {
  flex: 0 0 auto;
  gap: 9px;
  color: var(--ink);
  font-weight: 800;
}

.touch-hint svg {
  width: 22px;
  fill: none;
  stroke: var(--kuldig);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.footer-line {
  width: 100%;
  height: 1px;
  background: var(--line);
}

.station-footer > span:last-child {
  flex: 0 0 auto;
}

.page-transition {
  position: fixed;
  z-index: 99;
  display: grid;
  inset: 0;
  place-items: center;
  background: var(--kuldig);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform .38s cubic-bezier(.75, 0, .2, 1), opacity .01s linear .38s;
}

.page-transition img {
  width: clamp(110px, 11vw, 180px);
  height: clamp(110px, 11vw, 180px);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .2s ease .2s, transform .3s ease .15s;
}

body.is-leaving .page-transition {
  opacity: 1;
  transform: translateY(0);
  transition: transform .38s cubic-bezier(.75, 0, .2, 1), opacity .01s linear;
}

body.is-leaving .page-transition img {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 1150px) {
  .station-shell {
    min-height: 100dvh;
  }

  .selection-main {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .intro {
    max-width: 760px;
  }

  h1 br {
    display: none;
  }

  .intro-copy {
    max-width: 650px;
    margin-top: 20px;
  }

  .experience-card {
    min-height: 500px;
  }
}

@media (max-width: 720px) {
  body {
    background-size: 44px 44px;
  }

  .station-shell {
    padding: 20px 18px 22px;
  }

  .brand-copy,
  .event-badge,
  .station-footer > span:last-child,
  .footer-line {
    display: none;
  }

  .station-header {
    justify-content: center;
  }

  .selection-main {
    gap: 28px;
    padding: 42px 0 34px;
  }

  .intro {
    text-align: center;
  }

  .eyebrow {
    justify-content: center;
    margin-bottom: 18px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .intro-copy {
    font-size: 15px;
    line-height: 1.55;
  }

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

  .experience-card {
    min-height: 510px;
    border-radius: 25px;
  }

  .station-footer {
    justify-content: center;
  }
}

@media (min-width: 721px) and (max-width: 1150px) and (max-height: 850px) {
  .station-shell {
    padding-top: 22px;
    padding-bottom: 18px;
  }

  .brand img {
    width: 64px;
    height: 64px;
  }

  .selection-main {
    gap: 20px;
    padding-top: 22px;
    padding-bottom: 18px;
  }

  .eyebrow {
    margin-bottom: 12px;
  }

  h1 {
    font-size: clamp(44px, 5.5vw, 58px);
  }

  .intro-copy {
    margin-top: 12px;
    font-size: 15px;
  }

  .experience-card {
    min-height: 400px;
    grid-template-rows: auto minmax(115px, .68fr) auto auto;
    padding: 25px 26px 22px;
  }

  .card-visual {
    max-height: 170px;
  }

  .card-visual > svg {
    max-height: 170px;
  }

  .card-content h2 {
    font-size: 28px;
  }

  .card-content p {
    min-height: auto;
    margin-top: 8px;
    font-size: 13px;
  }

  .card-kicker {
    margin-bottom: 7px;
  }

  .card-action {
    margin-top: 14px;
    padding-top: 14px;
  }
}

@media (max-height: 820px) and (min-width: 1151px) {
  .station-shell {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .selection-main {
    padding-top: 30px;
    padding-bottom: 25px;
  }

  .experience-card {
    min-height: 480px;
  }

  .brand img {
    width: 65px;
    height: 65px;
  }

  .card-visual {
    max-height: 175px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
