/* Skate Anywhere: the game's own look (night ink, concrete, the orange line). */
@font-face { font-family: "Lilita One"; src: url("../fonts/LilitaOne-Regular.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/Nunito-Variable.woff") format("woff"); font-weight: 200 1000; font-display: swap; }

:root {
  --ink: #14161b;
  --ink-2: #1b1e28;
  --ink-3: #252a38;
  --line: rgba(238, 232, 220, 0.12);
  --concrete: #eee8dc;
  --text: #d9d5cc;
  --muted: #a3a8b8;
  --orange: #ff5a1f;
  --orange-dark: #c23c0a;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 500 18px/1.6 "Nunito", system-ui, sans-serif; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--concrete); }
h1, h2, h3 { font-family: "Lilita One", "Nunito", sans-serif; font-weight: 400; color: var(--concrete); line-height: 1.08; margin: 0 0 0.4em; letter-spacing: 0.01em; }
h2 { font-size: clamp(36px, 5vw, 60px); }
h3 { font-size: clamp(22px, 2.2vw, 27px); }
p { margin: 0 0 1em; }
.orange { color: var(--orange); }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* The brand line: a stroke that flicks up at the end, under titles. */
.flick { display: block; width: min(260px, 70%); height: 26px; margin: 2px 0 22px; overflow: visible; }
.center .flick { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 800 17px/1 "Nunito", sans-serif; letter-spacing: 0.02em; text-decoration: none; color: var(--concrete); padding: 15px 22px; border-radius: 12px; border: 2px solid rgba(238, 232, 220, 0.5); transition: transform 0.15s, box-shadow 0.15s, background 0.15s; }
.btn:hover { transform: translateY(-2px); }
.btn-hot { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 4px 0 var(--orange-dark); }
.btn-hot:hover { box-shadow: 0 6px 0 var(--orange-dark); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.soon { display: inline-block; font: 400 15px/1 "Lilita One", sans-serif; letter-spacing: 0.12em; color: #fff; background: var(--orange); padding: 8px 12px 7px; border-radius: 999px; white-space: nowrap; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(20, 22, 27, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { max-width: var(--max); margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 20px; }
.top .mark img { width: 132px; height: auto; }
.top nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.top nav a { text-decoration: none; font-weight: 800; font-size: 15px; color: var(--muted); }
.top nav a:hover { color: var(--concrete); }
@media (max-width: 760px) { .top nav a:not(.soon) { display: none; } }

/* Hero: the spots moving behind the title */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 22, 27, 0.94) 0%, rgba(20, 22, 27, 0.78) 34%, rgba(20, 22, 27, 0.1) 68%, rgba(20, 22, 27, 0) 100%), linear-gradient(0deg, var(--ink) 0%, rgba(20, 22, 27, 0) 22%); }
@media (max-width: 760px) { .hero-bg { object-position: 90% 40%; } .hero::before { background: linear-gradient(0deg, rgba(20, 22, 27, 0.97) 30%, rgba(20, 22, 27, 0.55) 70%, rgba(20, 22, 27, 0.3) 100%); } .hero { align-items: flex-end; } }
.hero-in { max-width: var(--max); width: 100%; margin: 0 auto; padding: clamp(48px, 9vw, 110px) var(--gutter); }
.hero-copy { max-width: 600px; }
.hero .wordmark { width: min(100%, 440px); height: auto; margin: 0 0 22px -6px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); }
.hero .lede { font-size: clamp(18px, 1.7vw, 21px); color: var(--text); max-width: 540px; }
.hero .platform { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--muted); font-weight: 800; margin: 22px 0 28px; }

/* Numbers */
.stats { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-in { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat b { display: block; font: 400 clamp(44px, 6vw, 72px)/1 "Lilita One", sans-serif; color: var(--orange); }
.stat span { font: 400 clamp(15px, 1.6vw, 20px)/1.2 "Lilita One", sans-serif; letter-spacing: 0.06em; color: var(--concrete); text-transform: uppercase; }
@media (max-width: 640px) { .stats-in { grid-template-columns: repeat(2, 1fr); row-gap: 26px; } }

/* Sections */
.sec { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--gutter); }
.eyebrow { font: 900 14px/1 "Nunito", sans-serif; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.intro { max-width: 680px; font-size: clamp(18px, 1.6vw, 20px); }
.center { text-align: center; }
.center .intro { margin-left: auto; margin-right: auto; }
.band { background: var(--ink-2); }

/* Trailer */
.player { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line); margin-top: 34px; }
.player video { width: 100%; aspect-ratio: 16 / 9; }

/* Mixed reality */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.points li { padding-left: 34px; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: 10px; width: 20px; height: 6px; border-radius: 3px; background: var(--orange); }
.points b { color: var(--concrete); }
.stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stack a:first-child { grid-column: 1 / -1; }
.shot { border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: #000; }
.shot img { width: 100%; height: auto; transition: transform 0.4s; }
.shot:hover img { transform: scale(1.03); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Skate Spots */
.reel { margin: 36px 0 0; border-radius: var(--radius); overflow: hidden; background: #0c0d11; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.reel video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0 22px; }
.spots { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.spot { background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform 0.2s, border-color 0.2s; }
.spot:hover { transform: translateY(-4px); border-color: rgba(255, 90, 31, 0.7); }
.spot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #0c0d11; }
.spot div { padding: 12px 14px 14px; }
.spot h3 { font-size: 21px; margin: 0 0 4px; }
.spot p { font-size: 14.5px; line-height: 1.45; color: var(--muted); margin: 0; }
@media (max-width: 640px) { .pair { grid-template-columns: 1fr; } }

/* Park games and challenges */
.games { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.game { background: var(--ink-3); border-radius: var(--radius); padding: 24px 22px 20px; border-top: 4px solid var(--orange); }
.game svg { width: 46px; height: 46px; margin-bottom: 14px; }
.game h3 { font-size: 25px; }
.game p { color: var(--muted); font-size: 16px; margin: 0; }
.medals { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; margin-top: clamp(48px, 7vw, 80px); background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); }
.medal-row { display: flex; gap: 10px; }
.medal-row span { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font: 400 22px/1 "Lilita One", sans-serif; color: #1a1a1a; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.25); }
.medal-row .b { background: #c98a52; } .medal-row .s { background: #c9ced8; } .medal-row .g { background: #f3c443; } .medal-row .m { background: var(--orange); color: #fff; }
.medals p { margin: 0; }
@media (max-width: 960px) { .games { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .games { grid-template-columns: 1fr; } .medals { grid-template-columns: 1fr; } }

/* Soundtrack */
.eq { display: flex; justify-content: center; align-items: flex-end; gap: 6px; height: 64px; margin: 6px auto 26px; }
.eq i { width: 9px; border-radius: 3px; background: var(--orange); height: 30%; animation: eq 1.1s ease-in-out infinite alternate; }
.eq i:nth-child(2n) { animation-duration: 0.8s; } .eq i:nth-child(3n) { animation-duration: 1.4s; } .eq i:nth-child(5n) { animation-duration: 0.65s; }
.eq i:nth-child(4n+1) { animation-delay: -0.4s; } .eq i:nth-child(3n+2) { animation-delay: -0.9s; }
@keyframes eq { from { height: 14%; } to { height: 100%; } }
.genres { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.genres li { background: var(--ink-3); border: 1px solid var(--line); border-radius: 14px; padding: 14px 20px; min-width: 150px; }
.genres b { display: block; font: 400 24px/1.1 "Lilita One", sans-serif; color: var(--concrete); }
.genres span { font-size: 14px; color: var(--muted); font-weight: 800; }

/* Skaters */
.skaters { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 34px 0 0; }
.skater { margin: 0; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.skater img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.skater figcaption { font: 400 30px/1 "Lilita One", sans-serif; color: var(--concrete); padding: 16px 20px 18px; border-top: 4px solid var(--orange); }
@media (max-width: 560px) { .skaters { grid-template-columns: 1fr; } }

/* Ride your way */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.way { border-top: 3px solid var(--orange); padding-top: 16px; }
.way p { color: var(--muted); font-size: 16.5px; }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; } }

/* Coming soon */
.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 22, 27, 0.95) 0%, rgba(20, 22, 27, 0.75) 45%, rgba(20, 22, 27, 0.2) 100%); }
.cta .sec { padding-top: clamp(80px, 11vw, 140px); padding-bottom: clamp(80px, 11vw, 140px); }
.cta .wordmark { width: min(100%, 420px); height: auto; margin-bottom: 20px; }
.cta h2 { font-size: clamp(40px, 6vw, 72px); color: var(--orange); }
.cta p { max-width: 520px; }

/* Footer */
.foot { border-top: 1px solid var(--line); }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 34px var(--gutter) 46px; display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.foot-in nav { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 800; font-size: 15px; }
.foot-in a { color: var(--muted); }
.foot-in a:hover { color: var(--concrete); }
.foot-in p { margin: 0; }

/* Documents (the privacy policy) */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter) 80px; }
.doc h1 { font-size: clamp(40px, 6vw, 60px); margin-bottom: 0.15em; }
.doc h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 1.6em; }
.doc-date { color: var(--muted); font-size: 15px; }
.doc-lead { font-size: 19px; padding: 18px 22px; border-left: 4px solid var(--orange); background: var(--ink-2); border-radius: 0 12px 12px 0; color: var(--concrete); }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .eq i { animation: none; height: 60%; }
  .eq i:nth-child(2n) { height: 35%; }
  .btn, .spot, .shot img { transition: none; }
}
