/* Van Trip: the game's site. Warm and sunny like the game: cream paper, the van's orange, ink-brown outlines. */
:root {
  --ink: #2b1d14;
  --ink-soft: #5a4636;
  --cream: #fff7e8;
  --paper: #fdf0d6;
  --sand: #f6dfb3;
  --orange: #f07a2c;
  --orange-deep: #d4561a;
  --teal: #1f9e9a;
  --sky: #59c3ee;
  --grass: #63b944;
  --night: #1b2140;
  --pink: #e0679f;
  --radius: 22px;
  --shadow: 0 10px 0 rgba(43, 29, 20, 0.18);
  --display: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Arial Rounded MT Bold", "Nunito", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--orange-deep); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 10px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4.4vw, 50px); }
h3 { font-size: 22px; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow {
  display: inline-block; font: 800 13px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-deep); margin-bottom: 14px;
}
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 640px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { text-align: center; justify-items: center; }
.section-head.center .lead { margin-inline: auto; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; border: 3px solid var(--ink); border-radius: 999px;
  padding: 13px 26px; font: 800 18px/1 var(--display); text-decoration: none; cursor: pointer;
  background: var(--orange); color: #fff; box-shadow: 0 5px 0 var(--ink); transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.btn svg { width: 20px; height: 20px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 12px 22px;
  background: rgba(255, 247, 232, 0.92); color: var(--ink); font: 800 15px/1.2 var(--display);
  border: 3px solid var(--ink);
}
.pill .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grass); box-shadow: 0 0 0 4px rgba(99, 185, 68, 0.25); }

/* ------------------------------------------------------------ header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s, padding .25s;
  padding: 14px 0;
}
.site-header.solid { background: rgba(255, 247, 232, 0.96); box-shadow: 0 2px 0 rgba(43, 29, 20, 0.12); padding: 8px 0; backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 46px; width: auto; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.25)); }
.site-header.solid .brand img { height: 38px; filter: none; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  color: #fff; text-decoration: none; font: 700 15px/1 var(--display); padding: 10px 12px; border-radius: 999px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.nav a:hover { background: rgba(255, 255, 255, 0.18); }
.site-header.solid .nav a { color: var(--ink); text-shadow: none; }
.site-header.solid .nav a:hover { background: var(--sand); }
.lang {
  display: inline-flex; border: 2px solid rgba(255, 255, 255, 0.8); border-radius: 999px; overflow: hidden; margin-left: 6px;
}
.lang a { font: 800 13px/1 var(--display); padding: 8px 10px; color: #fff; text-decoration: none; }
.lang a[aria-current="true"] { background: #fff; color: var(--ink); }
.site-header.solid .lang { border-color: var(--ink); }
.site-header.solid .lang a { color: var(--ink); }
.site-header.solid .lang a[aria-current="true"] { background: var(--ink); color: var(--cream); }
.page .site-header { background: var(--cream); box-shadow: 0 2px 0 rgba(43, 29, 20, 0.12); position: sticky; padding: 10px 0; }
.page .site-header .nav a { color: var(--ink); text-shadow: none; }
.page .site-header .lang { border-color: var(--ink); }
.page .site-header .lang a { color: var(--ink); }
.page .site-header .lang a[aria-current="true"] { background: var(--ink); color: var(--cream); }
.page .site-header .brand img { height: 38px; filter: none; }
@media (max-width: 760px) { .nav .hide-sm { display: none; } .brand img { height: 38px; } }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative; min-height: max(620px, 100svh); display: grid; align-items: end; color: #fff; overflow: hidden;
  background: #3b6f2a url("../img/hero_poster.jpg") center / cover no-repeat;
}
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-aspect-ratio: 4/5) { .hero { background-image: url("../img/hero_poster_portrait.jpg"); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(20, 14, 10, 0.55) 0%, rgba(20, 14, 10, 0) 22%),
    linear-gradient(to top, rgba(20, 14, 10, 0.88) 0%, rgba(20, 14, 10, 0.45) 38%, rgba(20, 14, 10, 0) 62%);
}
.hero-inner { position: relative; z-index: 2; padding: 120px 0 clamp(48px, 8vh, 88px); display: grid; gap: 22px; justify-items: start; }
.hero .logo { width: min(500px, 82vw); height: auto; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.25)); }
.hero h1 { font-size: clamp(30px, 4.6vw, 54px); text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35); max-width: 760px; }
.hero p { font-size: clamp(17px, 1.7vw, 21px); max-width: 640px; color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 6px; }
.platforms { display: flex; gap: 10px; flex-wrap: wrap; font: 800 13px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.platforms span { border: 2px solid rgba(255, 255, 255, 0.55); border-radius: 999px; padding: 7px 12px; }

/* a wavy road edge between sections */
.edge { height: 34px; background: var(--cream); mask: radial-gradient(22px 18px at 50% 0, transparent 98%, #000) 0 0 / 44px 34px repeat-x; -webkit-mask: radial-gradient(22px 18px at 50% 0, transparent 98%, #000) 0 0 / 44px 34px repeat-x; margin-top: -34px; position: relative; z-index: 3; }

/* ------------------------------------------------------------ features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px;
  display: grid; gap: 12px; align-content: start;
}
.card .ico { width: 74px; height: 74px; border-radius: 20px; display: grid; place-items: center; background: var(--paper); border: 3px solid var(--ink); }
.card .ico img { width: 52px; height: 52px; }
.card p { color: var(--ink-soft); font-size: 16px; }
.card:nth-child(6n+1) .ico { background: #ffe1c9; }
.card:nth-child(6n+2) .ico { background: #d8f3ee; }
.card:nth-child(6n+3) .ico { background: #fde7f1; }
.card:nth-child(6n+4) .ico { background: #e6f4d9; }
.card:nth-child(6n+5) .ico { background: #ddeefa; }
.card:nth-child(6n+6) .ico { background: #fff1c2; }
@media (max-width: 940px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ places */
.band { background: var(--paper); border-block: 3px solid var(--ink); }
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.place {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 3px solid var(--ink); box-shadow: var(--shadow);
  aspect-ratio: 3 / 2; background: var(--sand);
}
.place img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.place:hover img { transform: scale(1.05); }
.place figcaption {
  position: absolute; left: 12px; bottom: 12px; background: rgba(255, 247, 232, 0.95); border: 3px solid var(--ink);
  border-radius: 999px; padding: 6px 14px; font: 800 16px/1.2 var(--display);
}
.place .num { position: absolute; top: 12px; left: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; border: 3px solid var(--ink); font: 800 15px/1 var(--display); }
@media (max-width: 860px) {
  .places { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; }
  .place { scroll-snap-align: start; }
}
.stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; justify-content: center; }
.stat { background: #fff; border: 3px solid var(--ink); border-radius: 18px; padding: 14px 22px; text-align: center; box-shadow: 0 6px 0 rgba(43, 29, 20, 0.15); }
.stat b { display: block; font: 800 34px/1 var(--display); color: var(--orange-deep); }
.stat span { font: 700 14px/1.3 var(--display); color: var(--ink-soft); }
@media (max-width: 600px) { .stats { display: grid; grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------ split sections */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.flip { grid-template-columns: 1fr 1.05fr; }
.split.flip .media { order: 2; }
.media { border-radius: var(--radius); overflow: hidden; border: 3px solid var(--ink); box-shadow: var(--shadow); background: var(--sand); }
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 34px; position: relative; color: var(--ink-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--grass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  border: 2px solid var(--ink);
}
@media (max-width: 860px) { .split, .split.flip { grid-template-columns: 1fr; } .split.flip .media { order: 0; } }

/* ------------------------------------------------------------ secrets (night) */
.night { background: var(--night); color: #fff; }
.night .eyebrow { color: #ffb36b; }
.night .lead { color: rgba(255, 255, 255, 0.78); }
.secrets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.secret { border-radius: var(--radius); overflow: hidden; border: 3px solid #0d1024; background: #262d55; box-shadow: 0 10px 0 rgba(0, 0, 0, 0.35); }
.secret img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.secret div { padding: 18px 20px 22px; display: grid; gap: 8px; }
.secret p { color: rgba(255, 255, 255, 0.75); font-size: 16px; }
@media (max-width: 860px) { .secrets { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ vans */
.vans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8px; }
.van { background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.van img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.van figcaption { padding: 12px 16px 14px; font: 800 19px/1.2 var(--display); display: grid; gap: 3px; border-top: 3px solid var(--ink); }
.van figcaption small { font: 600 14px/1.3 var(--body); color: var(--ink-soft); }
@media (max-width: 940px) { .vans { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------ trailer */
.trailer { position: relative; border-radius: calc(var(--radius) + 4px); overflow: hidden; border: 4px solid var(--ink); box-shadow: 0 14px 0 rgba(43, 29, 20, 0.2); background: #000; aspect-ratio: 16 / 9; }
.trailer video, .trailer .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trailer .play {
  position: absolute; inset: 0; margin: auto; width: 108px; height: 108px; border-radius: 50%; border: 4px solid var(--ink);
  background: var(--orange); box-shadow: 0 7px 0 var(--ink); cursor: pointer; display: grid; place-items: center; transition: transform .15s;
}
.trailer .play:hover { transform: scale(1.06); }
.trailer .play svg { width: 44px; height: 44px; margin-left: 6px; }
.trailer.playing .play, .trailer.playing .poster { display: none; }

/* ------------------------------------------------------------ family + tv */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tile { border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; background: #fff; display: grid; grid-template-rows: auto 1fr; }
.tile img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; border-bottom: 3px solid var(--ink); }
.tile div { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; }
.tile p { color: var(--ink-soft); }
.tag { display: inline-flex; align-items: center; gap: 8px; font: 800 13px/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--pink); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 12px; justify-self: start; }
.tag.tv { background: var(--teal); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ final call */
.finale { position: relative; overflow: hidden; color: #fff; text-align: center; background: #2c5a22 url("../img/keyart.jpg") center 40% / cover no-repeat; }
.finale::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20, 14, 10, 0.25), rgba(20, 14, 10, 0.72)); }
.finale .wrap { position: relative; display: grid; justify-items: center; gap: 20px; padding: clamp(90px, 14vw, 170px) 0; }
.finale h2 { font-size: clamp(36px, 6vw, 72px); text-shadow: 0 4px 0 rgba(0, 0, 0, 0.35); }
.finale p { font-size: 19px; max-width: 560px; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--ink); color: rgba(255, 247, 232, 0.8); padding: 44px 0 36px; font-size: 15px; }
.site-footer .wrap { display: grid; gap: 18px; }
.site-footer .row { display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--cream); text-decoration: none; font-weight: 700; }
.site-footer a:hover { text-decoration: underline; }
.site-footer img { height: 34px; width: auto; }
.site-footer small { font-size: 12px; color: rgba(255, 247, 232, 0.55); }

/* ------------------------------------------------------------ text pages (privacy, support) */
.page main { padding: 48px 0 90px; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 8px; }
.prose .updated { color: var(--ink-soft); font-size: 15px; margin-bottom: 30px; }
.prose h2 { font-size: 26px; margin: 34px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.faq { display: grid; gap: 14px; margin-top: 26px; }
.faq details { background: #fff; border: 3px solid var(--ink); border-radius: 18px; padding: 16px 20px; box-shadow: 0 6px 0 rgba(43, 29, 20, 0.12); }
.faq summary { font: 800 18px/1.3 var(--display); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--orange-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; }
.contact { margin-top: 34px; background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; }

/* ------------------------------------------------------------ reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
