@font-face { font-family: 'Lilita One'; src: url(fonts/lilita-one.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Nunito'; src: url(fonts/nunito-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url(fonts/nunito-800.woff2) format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --plum: #2e2148;
  --plum-2: #3d2b55;
  --rose: #7a3d63;
  --ember: #e07a52;
  --gold: #f6b766;
  --sand: #f7c879;
  --sand-deep: #d8894d;
  --cream: #fff3dc;
  --cream-2: #ffe2b0;
  --brown: #3a1d10;
  --rust: #b4532f;
  --glow: #5fe6ff;
  --ink: #fff3dc;
  --ink-soft: #e9cdb3;
  --gutter: 16px;
  --wide: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--plum);
  color: var(--ink);
  font: 600 17px/1.55 'Nunito', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--cream-2); }
h1, h2, h3 { font-family: 'Lilita One', system-ui, sans-serif; font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: 0.01em; }
.wrap { width: min(var(--wide), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Top bar */
.bar { position: absolute; inset: 0 0 auto; z-index: 5; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; }
.studio { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font: 400 20px 'Lilita One', system-ui; letter-spacing: 0.02em; }
.studio svg { width: 30px; height: 30px; }
.bar nav { display: flex; gap: 18px; }
.bar nav a { color: var(--ink-soft); text-decoration: none; font-weight: 800; font-size: 15px; }
.bar nav a:hover { color: var(--cream); }

/* Hero: the desert at sunset */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 84px 0 0;
  background: linear-gradient(var(--plum) 0%, var(--rose) 45%, var(--ember) 78%, var(--gold) 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero::before { /* the low sun */
  content: '';
  position: absolute; z-index: -1;
  width: 520px; height: 520px; right: -120px; top: 34%;
  border-radius: 50%;
  background: radial-gradient(circle, #fff1c9 0 22%, rgba(255, 211, 138, 0.55) 23%, rgba(255, 211, 138, 0) 68%);
}
.dunes { position: absolute; inset: auto 0 0; z-index: -1; width: 100%; height: 30%; min-height: 160px; }
.hero .wrap { display: grid; gap: 28px; align-items: center; padding-bottom: 72px; }
.hero__text { text-align: center; }
.hero__logo { width: min(520px, 92%); margin: 0 auto; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.25)); }
.hero__pitch { max-width: 30ch; margin: 14px auto 0; font-size: clamp(19px, 2.4vw, 23px); font-weight: 800; color: var(--cream); text-shadow: 0 2px 10px rgba(46, 33, 72, 0.6); }
.hero__meta { margin: 18px 0 0; color: var(--cream-2); font-weight: 800; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border-radius: 999px; border: 0;
  font: 800 18px 'Nunito', system-ui; text-decoration: none; cursor: pointer;
  color: var(--brown); background: #ffcf6e; box-shadow: 0 5px 0 var(--rust), 0 12px 24px rgba(58, 29, 16, 0.3);
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--rust), 0 16px 28px rgba(58, 29, 16, 0.32); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--rust); }
.btn--ghost { color: var(--cream); background: rgba(46, 33, 72, 0.45); box-shadow: inset 0 0 0 2px rgba(255, 243, 220, 0.55); backdrop-filter: blur(4px); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--cream); }
.btn[aria-disabled='true'] { cursor: default; opacity: 0.92; background: var(--cream-2); }
.btn[aria-disabled='true']:hover { transform: none; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* The trailer in a phone */
.phone {
  position: relative; justify-self: center;
  width: min(300px, 78vw); aspect-ratio: 9 / 19.5; padding: 10px;
  border-radius: 44px; background: #1b1424;
  box-shadow: 0 0 0 2px #4d3b5e, 0 30px 60px rgba(30, 15, 30, 0.55), 0 0 90px rgba(95, 230, 255, 0.18);
}
.phone video { width: 100%; height: 100% !important; object-fit: cover; border-radius: 34px; background: #2e2148; }
.sound {
  position: absolute; right: 20px; bottom: 22px;
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 0; border-radius: 999px;
  font: 800 13px 'Nunito', system-ui; color: var(--cream); background: rgba(27, 20, 36, 0.72); cursor: pointer;
}
.sound svg { width: 16px; height: 16px; }

/* Sections */
section { padding: 84px 0; }
.kicker { margin: 0 0 8px; color: var(--glow); font-weight: 800; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.title { font-size: clamp(34px, 5vw, 52px); color: var(--cream); }
.lede { max-width: 56ch; margin: 14px 0 0; color: var(--ink-soft); font-size: 18px; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

.loop { background: var(--plum-2); }
.steps { display: grid; gap: 18px; margin-top: 40px; counter-reset: step; }
.step { position: relative; border-radius: 22px; overflow: hidden; background: #261c3b; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25); }
.step img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center var(--y, 60%); }
.step div { padding: 18px 20px 22px; }
.step h3 { font-size: 28px; color: var(--cream-2); }
.step h3::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 10px; border-radius: 50%; background: var(--sand); color: var(--brown); font-size: 20px; vertical-align: 3px; }
.step p { margin: 8px 0 0; color: var(--ink-soft); }

.fights { background: linear-gradient(#3d2b55, #5a3159); }
.hazards { display: grid; gap: 14px; margin-top: 36px; }
.hazard { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: 18px; background: rgba(255, 243, 220, 0.07); }
.hazard svg { width: 52px; height: 52px; }
.hazard h3 { font-size: 22px; color: var(--cream); }
.hazard p { margin: 4px 0 0; color: var(--ink-soft); font-size: 16px; }

.shots { background: var(--plum); padding-bottom: 60px; }
.gallery {
  display: flex; gap: 14px; margin-top: 34px; padding: 4px var(--gutter) 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--rose) transparent;
}
.gallery img { flex: none; width: min(240px, 62vw); aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; scroll-snap-align: center; box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35); }
.gallery img.wide { width: min(560px, 86vw); aspect-ratio: 16 / 9; }

.features { background: var(--plum-2); }
.feature-list { display: grid; gap: 12px; margin: 34px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 12px; align-items: baseline; padding: 14px 18px; border-radius: 16px; background: rgba(255, 243, 220, 0.06); }
.feature-list li::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 2px; transform: rotate(45deg); background: var(--glow); box-shadow: 0 0 10px var(--glow); }

.final { position: relative; text-align: center; background: linear-gradient(var(--plum), var(--rose) 55%, var(--ember)); overflow: hidden; padding-bottom: 140px; }
.final img.icon { width: 120px; height: 120px; margin: 0 auto 22px; border-radius: 28px; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35); }
.final .dunes { height: 110px; min-height: 0; }

/* Footer */
footer { padding: 40px 0 48px; background: #1f1630; color: var(--ink-soft); font-size: 15px; }
footer .wrap { display: grid; gap: 22px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 243, 220, 0.08); color: var(--cream); text-decoration: none; font-weight: 800; }
.socials a:hover { background: rgba(255, 243, 220, 0.16); }
.socials svg { width: 18px; height: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { color: var(--ink-soft); }
.small { margin: 0; font-size: 13px; opacity: 0.8; }

/* Text pages (privacy, press) */
.page { min-height: 100svh; background: linear-gradient(var(--plum), var(--plum-2)); }
.page .bar { position: static; }
.page main { padding: 30px 0 70px; }
.page article { max-width: 760px; }
.page h1 { font-size: clamp(36px, 6vw, 54px); color: var(--cream); }
.page h2 { margin-top: 38px; font-size: 28px; color: var(--cream-2); }
.page p, .page li { color: var(--ink-soft); }
.page strong { color: var(--cream); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 18px 0 0; }
.facts dt { color: var(--cream); font-weight: 800; }
.facts dd { margin: 0; color: var(--ink-soft); }
.downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 18px; }
.downloads a { display: grid; gap: 8px; padding: 10px; border-radius: 14px; background: rgba(255, 243, 220, 0.06); color: var(--cream); text-decoration: none; font-weight: 800; font-size: 14px; }
.downloads a:hover { background: rgba(255, 243, 220, 0.12); }
.downloads img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.copy { padding: 16px 18px; border-radius: 14px; background: rgba(0, 0, 0, 0.2); color: var(--cream); }

@media (min-width: 760px) {
  :root { --gutter: 28px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .hazards { grid-template-columns: repeat(2, 1fr); }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
  .gallery { justify-content: flex-start; padding-inline: max(var(--gutter), (100% - var(--wide)) / 2); }
  footer .wrap { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 980px) {
  .hero .wrap { grid-template-columns: 1.15fr 0.85fr; gap: 40px; min-height: calc(100svh - 84px); }
  .hero__text { text-align: left; }
  .hero__logo { margin: 0; }
  .hero__pitch { margin-left: 0; }
  .hero .ctas { justify-content: flex-start; }
  .phone { width: 320px; }
}
@media (max-width: 520px) {
  .bar nav { gap: 12px; }
  .bar nav a.hide-sm { display: none; }
  section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
.final .lede { margin-inline: auto; }
