@font-face{font-family:"Sofia Text";font-weight:400 700;font-display:swap;src:url(/assets/fonts/text-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Sofia Text";font-weight:400 700;font-display:swap;src:url(/assets/fonts/text-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Sofia Text";font-weight:400 700;font-display:swap;src:url(/assets/fonts/text-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Sofia Display";font-weight:600 800;font-display:swap;src:url(/assets/fonts/display-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Sofia Display";font-weight:600 800;font-display:swap;src:url(/assets/fonts/display-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Sofia Display";font-weight:600 800;font-display:swap;src:url(/assets/fonts/display-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Snowboarding: two screens. A real sky and peaks from the game, then snow. */
:root {
  --snow: #eef2f8; --shadow: #cdd7e6; --ink: #142238; --ink-2: #44546a;
  --toe: #f4661b; --heel: #12a5a2; --night: #16263d;
  --gutter: clamp(16px, 4vw, 64px);
  --display: "Sofia Display", "Hiragino Sans", "PingFang SC", "Apple SD Gothic Neo", sans-serif;
  color-scheme: light;
}
:root:is(:lang(ja), :lang(ko), :lang(zh-Hans)) { --display: "Hiragino Sans", "PingFang SC", "Apple SD Gothic Neo", sans-serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--snow); color: var(--ink); overflow-x: clip;
  font: 400 1.125rem/1.45 "Sofia Text", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "PingFang SC", "Apple SD Gothic Neo", sans-serif; }
h1, h2, p, ul, ol, figure { margin: 0; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--toe); outline-offset: 3px; border-radius: 4px; }
.quiet { color: var(--ink-2); font-size: 1rem; }

.btn { display: inline-block; padding: .75em 1.5em; border-radius: 99px; background: var(--toe); color: var(--ink);
  font-weight: 700; text-decoration: none; transition: transform .15s; }
.btn:hover { transform: translateY(-2px); }
.btn.line { background: none; box-shadow: inset 0 0 0 2px var(--ink); }

.top { position: absolute; z-index: 5; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 14px var(--gutter); }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 700; text-decoration: none; }
.brand img { border-radius: 8px; }
.top nav { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem); font-size: 1rem; font-weight: 600; }
.top nav > a { text-decoration: none; }
.top nav > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.langs { position: relative; }
.langs summary { cursor: pointer; list-style: none; }
.langs summary::-webkit-details-marker { display: none; }
.langs div { position: absolute; right: 0; top: 2em; display: grid; min-width: 9rem; padding: .4rem; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px #14223855; }
.langs a { padding: .35rem .6rem; border-radius: 8px; text-decoration: none; }
.langs a:hover, .langs a[aria-current] { background: var(--snow); }

/* First screen: the mountain, the words, the run */
.hero { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name video" "pitch video"; grid-template-rows: auto 1fr;
  column-gap: clamp(1.5rem, 5vw, 5rem); min-height: 88svh; padding: 84px var(--gutter) 3.5rem;
  background: linear-gradient(transparent 72%, var(--snow) 100%), url(/assets/hero.jpg) 60% bottom / cover no-repeat #7fa3cc; }
h1 { grid-area: name; align-self: end; font: 600 clamp(1.375rem, 2.4vw, 2.25rem)/1.15 "Sofia Text", -apple-system, sans-serif; }
h1 span { display: block; font: 800 min(calc(var(--fit) * .58), 11rem)/.92 var(--display); letter-spacing: -.012em; margin-bottom: .08em; }
.pitch { grid-area: pitch; max-width: 30rem; margin-top: 1.1rem; }
.pitch .btn { margin-top: 1.1rem; }
.hero video { grid-area: video; align-self: center; height: min(74svh, 700px); width: auto; aspect-ratio: 640 / 1312; border-radius: 26px; background: var(--shadow); box-shadow: 0 18px 48px #14223840; }

/* The run: the track and the board are added by app.js */
.run { position: relative; }
.track, .rider { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.track { z-index: 0; } .rider { z-index: 3; }
.groove { fill: none; stroke: var(--shadow); stroke-width: 24; stroke-linecap: round; opacity: .7; }
.edge { fill: none; stroke-width: 4.5; stroke-linecap: butt; }
.edge.toe { stroke: var(--toe); } .edge.heel { stroke: var(--heel); }
.gate, .shots { position: relative; z-index: 1; }
.gate { padding: clamp(1.25rem, 3vw, 2.5rem) var(--gutter) clamp(1.5rem, 3vw, 2.5rem); }
.in { width: min(70%, 54rem); }
h2 { font: 800 clamp(2.5rem, 5vw, 4.25rem)/1 var(--display); text-wrap: balance; margin-bottom: .2em; }
:is(:lang(ja), :lang(ko), :lang(zh-Hans)) h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 700; line-height: 1.2; }
.levels { list-style: none; padding: 0; margin-top: 1.1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .55rem 1.5rem; font-weight: 600; line-height: 1.2; }
.levels li { display: flex; align-items: center; gap: .65rem; }
.pole { flex: none; width: 2.25rem; height: 2.25rem; border-radius: 9px; display: grid; place-items: center; color: #fff; font: 800 1.375rem/1 var(--display); background: #218f54; }
.levels li:nth-child(n+3) .pole { background: #2668d8; }
.levels li:nth-child(n+5) .pole { background: #d13333; }
.levels li:nth-child(7) .pole { background: var(--ink); }

.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(11rem, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding: 0 var(--gutter) 1.5rem; }
.shots img { width: 100%; aspect-ratio: 660 / 1120; object-fit: cover; object-position: top; border-radius: 16px; scroll-snap-align: center; }

footer { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; padding: 1.1rem var(--gutter) 1.4rem; background: var(--night); color: var(--shadow); }
footer small { font-size: .9375rem; max-width: 40rem; }
footer nav { display: flex; gap: 1.5rem; font-size: .9375rem; }

/* Support and privacy */
.plain .top { position: static; }
.doc { max-width: 44rem; margin: 0 auto; padding: 1.5rem var(--gutter) 3.5rem; }
.doc h1 { font: 800 clamp(2.5rem, 6vw, 3.75rem)/1 var(--display); margin-bottom: .25em; }
.doc h2 { font: 700 1.5rem/1.2 var(--display); margin: 1.5rem 0 .3rem; }
.short { margin-top: 1.25rem; }
.contact { display: grid; grid-template-columns: 1fr auto; gap: .9rem 1rem; align-items: center; margin-top: 1.5rem; font-size: 1rem; }
.contact strong { display: block; font-size: 1.125rem; }
.contact .btn { justify-self: end; padding: .6em 1.3em; }
.rows { margin-top: 1.75rem; }
.rows details { border-top: 1px solid var(--shadow); }
.rows summary { cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; list-style: none; font-weight: 600; line-height: 1.3; }
.rows summary::-webkit-details-marker { display: none; }
.rows summary::after { content: "+"; flex: none; font-size: 1.375rem; line-height: 1; color: var(--ink-2); transition: transform .15s; }
.rows details[open] summary::after { transform: rotate(45deg); }
.rows details p { padding-bottom: 1rem; color: var(--ink-2); font-size: 1.0625rem; }

@media (max-width: 760px) {
  .brand span { display: none; }
  .hero { grid-template-columns: 1fr 38vw; grid-template-areas: "name name" "pitch video"; grid-template-rows: auto auto; column-gap: 14px; padding: 66px var(--gutter) 2.5rem; align-content: start; background-position: 62% bottom, 62% bottom; }
  h1 { font-size: 1.375rem; }
  h1 span { font-size: min(var(--fit), 8.5rem); }
  .pitch { margin-top: .8rem; font-size: 1rem; }
  .pitch .btn { padding: .65em 1.05em; font-size: 1rem; }
  .hero video { align-self: start; margin-top: .8rem; height: auto; width: 100%; border-radius: 18px; }
  .groove { stroke-width: 14; }
  .edge { stroke-width: 3; }
  .gate { padding-right: 58px; }
  .in { width: 100%; }
  .levels { grid-template-columns: 1fr 1fr; gap: .45rem .6rem; font-size: 1rem; }
  .pole { width: 2rem; height: 2rem; font-size: 1.25rem; }
  .shots { grid-auto-columns: 44vw; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .rows summary::after { transition: none; }
  .btn:hover { transform: none; }
}
