/* PÚBLICO landing, "Ruta de público": the windshield destination board, painted stop lists, plate numbers.
   Fonts from the PÚBLICO art kit, SIL OFL: Archivo (variable width + weight), Overpass (road-sign sans), Caveat Brush (painted accents). */
@font-face { font-family: "Archivo"; src: url(f2/Archivo-var.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Overpass"; src: url(f2/Overpass-var.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Caveat Brush"; src: url(f2/CaveatBrush.woff2) format("woff2"); font-display: swap; }

:root {
  --paper: #ECE6DA; --paper-2: #E2DACB; --ink: #121212; --ink-2: #3B3833; --ink-3: #6B655C;
  --yellow: #FFD400; --red: #C8231B; --plate-blue: #1D3A8A; --sea: #1F7F86;
  --gutter: 16px; --max: 1200px; --safe-b: env(safe-area-inset-bottom, 0px);
  --cond: "Archivo", "Arial Narrow", sans-serif; --sign: "Overpass", "Arial", sans-serif; --brush: "Caveat Brush", "Comic Sans MS", cursive;
  color-scheme: light;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--ink); font: 450 17px/1.5 var(--cond); font-stretch: 100%; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: normal; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--yellow); color: var(--ink); padding: 12px 16px; font: 800 16px/1 var(--sign); }
.skip:focus { top: 12px; }
html[lang="en"] [lang="es"]:not(html), html[lang="es"] [lang="en"]:not(html) { display: none !important; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- the route board ---------- */
.board { background: var(--ink); color: var(--yellow); padding: env(safe-area-inset-top, 0px) 0 14px; }
.board-top { display: flex; justify-content: space-between; align-items: center; height: 58px; }
.mark { display: flex; align-items: center; gap: 9px; color: var(--paper); text-decoration: none; font: 800 16px/1 var(--sign); letter-spacing: .01em; }
.mark img { width: 30px; height: 30px; border-radius: 7px; }
.lang { display: none; border: 2px solid #3a3a3a; }
.js .lang { display: inline-flex; }
.lang button { appearance: none; border: 0; background: transparent; color: #a9a39a; min-width: 46px; min-height: 42px; font: 800 14px/1 var(--sign); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }
.dest { font: 900 clamp(46px, 13.6vw, 150px)/.86 var(--cond); font-stretch: 62%; text-transform: uppercase; letter-spacing: -.005em; margin: 4px 0 8px; color: var(--yellow); text-wrap: balance; }
.dest-sub { font: 700 clamp(19px, 5.2vw, 30px)/1.12 var(--cond); font-stretch: 72%; color: var(--paper); margin: 0; max-width: 24em; }
.stops { background: var(--ink); border-top: 6px solid var(--yellow); overflow: hidden; }
.stops p { margin: 0; display: flex; width: max-content; padding: 10px 0; font: 800 15px/1 var(--sign); color: var(--paper); white-space: nowrap; animation: stops 38s linear infinite; }
.stops span { padding: 0 0 0 var(--gutter); }
.stops span + span::before { content: "›"; color: var(--yellow); margin-right: var(--gutter); }
@keyframes stops { to { transform: translateX(-40%); } }
@media (prefers-reduced-motion: reduce) { .stops p { animation: none; } }

/* ---------- hero: the board, the game's city in 3D and the button share the first phone screen ---------- */
.hero { position: relative; background: var(--ink); color: var(--paper); }
.go { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 0 var(--gutter); background: var(--yellow); color: var(--ink); text-decoration: none; font: 900 25px/1 var(--cond); font-stretch: 70%; text-transform: uppercase; }
.go small { font: 800 15px/1 var(--sign); text-transform: none; white-space: nowrap; }
.go small::after { content: " ›"; }
.go.soon { cursor: default; }
a.go:active { filter: brightness(.92); }
.pitch { padding: 14px var(--gutter) 6px; margin: 0; font: 650 18px/1.3 var(--cond); font-stretch: 88%; }
.fine { margin: 0; padding: 4px var(--gutter) 16px; font: 600 13px/1.35 var(--sign); color: #bdb6aa; }
.hero .stage { position: relative; overflow: hidden; background: #2b4a6b; isolation: isolate; }
.stage .poster, .stage .poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; opacity: 0; transition: opacity .9s ease; }
.stage.live canvas { opacity: 1; }
.stage-cap { position: absolute; left: var(--gutter); bottom: 12px; z-index: 3; margin: 0; font: 700 12px/1.2 var(--sign); background: var(--yellow); color: var(--ink); padding: 5px 7px 4px; }
.tag3d { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s; will-change: transform; }
.stage.live .tag3d { opacity: 1; }
.chip { display: inline-block; padding: 6px 8px 5px; background: var(--ink); color: #35E0A6; font: 800 13px/1 var(--sign); white-space: nowrap; border-left: 4px solid currentColor; }
.chip.amber { color: var(--yellow); }
.fare3d { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; font: 900 26px/1 var(--cond); font-stretch: 70%; color: var(--yellow); text-shadow: 0 2px 10px rgba(0, 0, 0, .6); opacity: 0; }
.fare3d.pop { animation: fare 1.8s cubic-bezier(.22, 1, .36, 1); }
@keyframes fare { 0% { opacity: 0; margin-top: 10px; } 15% { opacity: 1; margin-top: 0; } 75% { opacity: 1; margin-top: -24px; } 100% { opacity: 0; margin-top: -36px; } }
.hero-pause { position: absolute; right: 8px; top: 8px; z-index: 6; width: 44px; height: 44px; border: 0; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; cursor: pointer; }
@media (max-width: 899px) {
  .first { display: flex; flex-direction: column; min-height: 100svh; background: var(--ink); }
  .first .hero { flex: 1 1 auto; display: flex; }
  .hero-grid { display: flex; flex-direction: column; flex: 1 1 auto; padding: 0; }
  .hero .stage { flex: 1 1 auto; min-height: 300px; }
}
@media (min-width: 900px) {
  .hero { padding: 0 0 70px; }
  .hero-grid { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(0, 640px); gap: 56px; align-items: start; }
  .hero .stage { order: 2; margin-top: 28px; height: 600px; border: 10px solid #000; outline: 6px solid var(--yellow); }
  .hero-side { order: 1; padding-top: 48px; display: flex; flex-direction: column; }
  .hero-side .cta { order: 2; }
  .pitch { order: 1; font-size: 30px; padding: 0 0 28px; max-width: 18em; }
  .fine { order: 3; padding: 14px 0 0; font-size: 14px; }
  .go { display: inline-flex; min-width: min(380px, 100%); padding: 0 22px; }
}

/* ---------- the actual game: footage ---------- */
.real { background: var(--ink) !important; color: var(--paper); padding-top: 44px; }
.real h2 { color: var(--yellow); }
.real p { color: #d6cfc2 !important; }
.screen { position: relative; background: #000; margin: 6px calc(var(--gutter) * -1) 0; }
.screen video { width: 100%; height: auto; aspect-ratio: 600 / 568; object-fit: cover; }
.vid-pause { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border: 0; background: rgba(0, 0, 0, .45); color: #fff; display: grid; place-items: center; cursor: pointer; }
@media (min-width: 900px) {
  .real-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 64px; align-items: center; }
  .screen { margin: 0; border: 10px solid #000; outline: 6px solid var(--yellow); }
}

/* ---------- sections ---------- */
.sec { padding: 56px 0; background: var(--paper); }
.sec h2 { font: 900 clamp(38px, 11vw, 84px)/.9 var(--cond); font-stretch: 66%; text-transform: uppercase; letter-spacing: -.005em; margin: 0 0 16px; text-wrap: balance; }
.lede, .sec p { font-size: 18px; color: var(--ink-2); max-width: 34em; }
.brush, .sec .brush { font: 400 40px/1 var(--brush); color: var(--red); transform: rotate(-6deg); display: inline-block; margin: 6px 0 0; }
@media (min-width: 900px) { .sec { padding: 110px 0; } }

/* a ride */
.ride-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ride-text { grid-column: 1 / -1; }
.phone { background: #000; border: 6px solid #000; border-radius: 22px; overflow: hidden; }
.phone img { width: 100%; }
.p2 { margin-top: 44px; }
@media (min-width: 900px) {
  .ride-grid { grid-template-columns: 1.1fr 260px 260px; gap: 28px; align-items: start; }
  .ride-text { grid-column: auto; padding-top: 20px; }
  .p2 { margin-top: 90px; }
}

/* places: each one a route board over the game's own shot */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px var(--gutter) 8px; scroll-padding: 0 var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.strip::-webkit-scrollbar { display: none; }
.stop { scroll-snap-align: start; background: var(--ink); }
.stop .ph { aspect-ratio: 1490 / 686; overflow: hidden; background: #222; }
.stop img { width: 100%; height: 100%; object-fit: cover; }
.stop figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 11px 12px 12px; }
.stop b { font: 900 25px/.95 var(--cond); font-stretch: 64%; text-transform: uppercase; color: var(--yellow); }
.stop span { font: 700 13px/1.2 var(--sign); color: #cfc8bb; white-space: nowrap; }
@media (min-width: 720px) { .strip { grid-auto-columns: 46%; } }
@media (min-width: 1100px) { .strip { grid-auto-columns: 31%; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); } }
.strip-nav { display: flex; gap: 8px; justify-content: flex-end; margin: 6px 0 0; }
.strip-nav button { appearance: none; width: 48px; height: 48px; border: 3px solid var(--ink); background: transparent; color: var(--ink); font: 800 20px/1 var(--sign); cursor: pointer; }
.no-js .strip-nav { display: none; }
.next { margin-top: 28px; padding: 4px 0 4px 16px; border-left: 6px solid var(--red); }
.next-h { font: 400 32px/1.05 var(--brush) !important; color: var(--red) !important; margin: 0 0 6px !important; }
.next p:last-child { margin: 0; font-size: 17px; }

/* weekly board */
.plate { display: inline-block; background: #fff; border: 3px solid var(--ink); border-radius: 10px; padding: 5px 14px 6px; margin: 0 0 18px; font: 900 34px/1 var(--sign) !important; color: var(--plate-blue) !important; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.plate small { display: block; font: 800 10px/1 var(--sign); letter-spacing: .16em; color: var(--red); text-align: center; margin-bottom: 4px; }
.weekly-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.weekly-text { grid-column: 1 / -1; }
.weekly .p2 { margin-top: 44px; }
.daily { border-left: 6px solid var(--yellow); padding: 2px 0 2px 14px; }
.daily b, .ticks b, .steps b, .beta b { font-weight: 800; }
.shot-note { grid-column: 1 / -1; margin: 4px 0 0 !important; font: 600 13px/1.35 var(--sign) !important; color: var(--ink-3) !important; }
@media (min-width: 900px) {
  .weekly-grid { grid-template-columns: 1.1fr 260px 260px; gap: 28px; align-items: start; }
  .weekly-text { grid-column: auto; padding-top: 20px; }
  .weekly .p2 { margin-top: 90px; }
  .shot-note { grid-column: 2 / -1; }
}

/* garage */
.garage { background: var(--paper-2); }
/* founder note */
.note-grid { display: grid; gap: 18px; align-items: start; }
.jan { width: 120px; height: 120px; object-fit: cover; filter: grayscale(.15) contrast(1.05); }
.note-text p { font: 500 19px/1.45 var(--cond); color: var(--ink); max-width: 30em; }
.sig { display: flex; align-items: baseline; gap: 14px; margin: 0; }
.sig .brush { font-size: 44px; margin: 0; }
.sig a { font: 700 15px/1 var(--sign); }
@media (min-width: 900px) { .note-grid { grid-template-columns: 220px 1fr; gap: 48px; max-width: 980px; } .jan { width: 220px; height: 220px; } .note-text p { font-size: 23px; } }

/* questions */
.faq { border-top: 6px solid var(--ink); }
.faq-grid { display: grid; gap: 8px; }
.qa details { border-bottom: 2px solid var(--ink); }
.qa summary { list-style: none; cursor: pointer; padding: 16px 44px 16px 0; font: 750 20px/1.25 var(--cond); font-stretch: 90%; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 800 26px/1 var(--sign); color: var(--red); }
.qa details[open] summary::after { content: "–"; }
.qa p { padding: 0 0 18px; margin: 0; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 60px; } .faq h2 { font-size: 64px; } }

/* last call */
.last { background: var(--yellow); padding: 48px 0 calc(48px + var(--safe-b)); text-align: left; }
.last-h { color: var(--ink); margin: 0 0 22px; }
.last .go { background: var(--ink); color: var(--yellow); }
.last .cta-note { color: var(--ink); }
.share { appearance: none; margin: 18px 0 0; min-height: 48px; padding: 0 18px; border: 3px solid var(--ink); background: transparent; color: var(--ink); font: 800 16px/1 var(--sign); cursor: pointer; }
.share[hidden] { display: none; }
.url { margin: 16px 0 0; font: 800 15px/1 var(--sign); color: var(--ink); }
@media (min-width: 900px) { .last .go { display: inline-flex; min-width: 380px; } }

/* footer */
.foot { background: var(--ink); color: #a9a39a; padding: 30px 0 calc(100px + var(--safe-b)); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 14px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--paper); font: 800 15px/1 var(--sign); }
.foot p { margin: 0 0 10px; max-width: 64em; }
@media (min-width: 900px) { .foot { padding-bottom: 40px; } }

/* sticky call to action on phones */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding-bottom: var(--safe-b); background: var(--yellow); transform: translateY(110%); transition: transform .3s cubic-bezier(.22, 1, .36, 1); pointer-events: none; box-shadow: 0 -2px 0 var(--ink); }
.dock.on { transform: none; pointer-events: auto; }
.no-js .dock { display: none; }
@media (min-width: 900px) { .dock { display: none; } }
@media (prefers-reduced-motion: reduce) { .dock { transition: none; } }

/* build 22: hero beta line, driver's seat, controls, first drive */
.beta { margin: 0; padding: 10px var(--gutter) 0; font: 600 15px/1.35 var(--sign); color: var(--paper); }
.beta b { display: inline-block; background: var(--yellow); color: var(--ink); padding: 3px 7px 2px; margin-right: 6px; font: 800 12px/1.2 var(--sign); text-transform: uppercase; letter-spacing: .06em; }
@media (min-width: 900px) { .beta { order: 2; padding: 0 0 22px; font-size: 16px; max-width: 30em; } .hero-side .cta { order: 3; } .fine { order: 4; } }
.wide { background: #000; border: 6px solid #000; border-radius: 18px; overflow: hidden; }
.wide img { width: 100%; }
.seat { background: var(--ink); color: var(--paper); }
.seat h2 { color: var(--yellow); }
.seat p { color: #d6cfc2; }
.seat-grid, .ctl-grid, .first-grid { display: grid; gap: 22px; }
.seat .wide { outline: 4px solid var(--yellow); }
@media (min-width: 900px) {
  .seat-grid { grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
}
.ctl { background: var(--paper-2); }
.ticks, .steps { list-style: none; margin: 0 0 1em; padding: 0; max-width: 34em; }
.ticks li, .steps li { position: relative; padding: 12px 0 12px 30px; border-top: 2px solid rgba(18, 18, 18, .14); font-size: 17px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 17px; width: 16px; height: 16px; background: var(--yellow); border: 3px solid var(--ink); border-radius: 50%; }
.ticks b, .steps b { color: var(--ink); }
.ctl-grid { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .ctl-grid { grid-template-columns: 1fr 1fr; gap: 28px 56px; align-items: start; }
  .ctl-text { grid-row: span 2; }
  .ctl-phones { grid-column: 2; }
}
.steps { counter-reset: step; }
.steps li { counter-increment: step; padding-left: 44px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 12px; width: 30px; height: 30px; display: grid; place-items: center; background: var(--ink); color: var(--yellow); font: 900 16px/1 var(--sign); border-radius: 6px; }
.postcard { max-width: 340px; width: 78%; justify-self: center; transform: rotate(-2deg); box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
@media (min-width: 900px) { .first-grid { grid-template-columns: 1fr 340px; gap: 80px; align-items: center; } .postcard { width: 340px; } }
.last-note { margin: 18px 0 0; max-width: 32em; font: 650 17px/1.35 var(--sign); color: var(--ink); }
/* builds 23-25: the seat in portrait, "¿Cómo quieres manejar?", Fiesta, the iPhone as the controller */
.seat-tall { max-width: 220px; width: 44%; justify-self: end; margin-top: -36px; transform: rotate(2deg); position: relative; outline: 4px solid var(--yellow); }
@media (min-width: 900px) {
  .seat-text { grid-row: span 2; }
  .seat-wide, .seat-tall { grid-column: 2; }
  .seat-tall { width: 220px; margin-top: -110px; margin-right: 24px; }
}
.ctl-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.ctl-pick { margin-top: 56px; }
.fiesta { background: var(--yellow); }
.fiesta .kick { display: inline-block; margin: 0 0 14px; padding: 6px 9px 5px; background: var(--ink); color: var(--yellow); font: 800 13px/1 var(--sign); letter-spacing: .12em; text-transform: uppercase; }
.fiesta .kick i { font-style: normal; letter-spacing: 0; margin: 0 .55em 0 .35em; }
.fiesta p, .fiesta .ticks li { color: var(--ink); }
.fiesta .ticks li { border-top-color: rgba(18, 18, 18, .2); }
.fiesta .ticks li::before { background: var(--paper); }
.fiesta-grid, .pad-grid { display: grid; gap: 22px; }
.fiesta-join { max-width: 420px; width: 74%; justify-self: end; margin-top: -26px; transform: rotate(-2deg); position: relative; box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
.pad { background: var(--ink); color: var(--paper); }
.pad h2 { color: var(--yellow); }
.pad p, .pad .ticks li { color: #d6cfc2; }
.pad .ticks li { border-top-color: rgba(255, 255, 255, .16); }
.pad .ticks b { color: var(--paper); }
.pad .pad-note { font: 600 14px/1.4 var(--sign); color: #a9a39a; }
.pad .wide { outline: 3px solid var(--yellow); }
.pad-wheel { width: 88%; justify-self: end; margin-top: -10px; transform: rotate(1.5deg); }
@media (min-width: 900px) {
  .fiesta-grid { grid-template-columns: 1fr 1.3fr; gap: 28px 56px; align-items: center; }
  .pad-grid { grid-template-columns: 1fr 1.25fr; gap: 28px 56px; align-items: center; }
  .fiesta-text, .pad-text { grid-row: span 2; }
  .fiesta-race, .fiesta-join, .pad-pair, .pad-wheel { grid-column: 2; }
  .fiesta-join { width: 420px; margin-top: -80px; }
  .pad-wheel { margin-top: -20px; }
}
/* builds 26-28: Ligas de panas, the guided first ride, the Apple TV hub and the phone's map */
.panas { background: var(--paper-2); }
.panas-grid { display: grid; gap: 22px; }
.panas-shot { max-width: 280px; width: 64%; justify-self: center; transform: rotate(1.5deg); box-shadow: 0 14px 30px rgba(0, 0, 0, .22); }
.first-shot { max-width: 300px; width: 64%; justify-self: center; transform: rotate(-1.5deg); box-shadow: 0 14px 30px rgba(0, 0, 0, .22); }
.pad-map { width: 84%; justify-self: start; margin-top: -10px; transform: rotate(-1.5deg); }
@media (min-width: 900px) {
  .panas-grid { grid-template-columns: 1fr 280px; gap: 80px; align-items: center; max-width: 980px; }
  .panas-shot { width: 280px; }
  .first-grid { grid-template-columns: 1fr 300px; }
  .first-shot { width: 300px; }
  .pad-text { grid-row: span 3; }
  .pad-tv, .pad-map { grid-column: 2; }
  .pad-map { margin-top: -20px; }
}
/* build 29: Panas en el mapa (a second row in the friends' section) */
.panas-maprow { display: grid; gap: 22px; margin-top: 18px; }
.panas-maprow h3 { font: 900 clamp(28px, 8vw, 44px)/.95 var(--cond); font-stretch: 66%; text-transform: uppercase; margin: 0 0 12px; }
.panas-map { width: 92%; max-width: 460px; justify-self: center; transform: rotate(-1.2deg); box-shadow: 0 14px 30px rgba(0, 0, 0, .22); }
@media (min-width: 900px) {
  .panas-maprow { grid-column: 1 / -1; grid-template-columns: 460px 1fr; gap: 64px; align-items: center; margin-top: 30px; }
  .panas-map { grid-row: 1; grid-column: 1; width: 100%; }
}
/* build 32: the light row in the places section */
.luz-row { display: grid; gap: 22px; margin-top: 34px; }
.luz-row h3 { font: 900 clamp(28px, 8vw, 44px)/.95 var(--cond); font-stretch: 66%; text-transform: uppercase; margin: 0 0 12px; }
.luz-row p:last-child { margin-bottom: 0; }
.luz-shot { width: 96%; justify-self: center; transform: rotate(1.2deg); box-shadow: 0 14px 30px rgba(0, 0, 0, .22); }
@media (min-width: 900px) {
  .luz-row { grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; margin-top: 56px; }
  .luz-shot { width: 100%; }
}
.ride .phone { align-self: start; }
/* build 35: the new opening and your own music (a section after the footage) */
.entrada { background: var(--paper-2); }
.entrada .kick { display: inline-block; margin: 0 0 14px; padding: 6px 9px 5px; background: var(--ink); color: var(--yellow); font: 800 13px/1 var(--sign); letter-spacing: .12em; text-transform: uppercase; }
.entrada-grid { display: grid; gap: 22px; }
.entrada-l { box-shadow: 0 14px 30px rgba(0, 0, 0, .22); }
.entrada-p { max-width: 240px; width: 46%; justify-self: end; margin-top: -48px; margin-right: 10px; transform: rotate(2deg); position: relative; box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
.musica-row { display: grid; gap: 22px; margin-top: 18px; }
.musica-row h3 { font: 900 clamp(28px, 8vw, 44px)/.95 var(--cond); font-stretch: 66%; text-transform: uppercase; margin: 0 0 12px; }
.musica-row p:last-child { margin-bottom: 0; }
.musica-shot { max-width: 280px; width: 64%; justify-self: center; transform: rotate(-1.5deg); box-shadow: 0 14px 30px rgba(0, 0, 0, .22); }
@media (min-width: 900px) {
  .entrada-grid { grid-template-columns: 1fr 1.15fr; gap: 28px 56px; align-items: start; }
  .entrada-text { grid-row: span 2; }
  .entrada-l, .entrada-p { grid-column: 2; }
  .entrada-p { width: 230px; margin-top: -120px; margin-right: 24px; }
  .musica-row { grid-column: 1 / -1; grid-template-columns: 1fr 280px; gap: 80px; align-items: center; margin-top: 40px; max-width: 980px; }
  .musica-shot { width: 280px; }
}
/* Anatomy figures (tools/anatomy): the card and controls; the drawing and its tokens load with assets/anatomy.css when near */
.anat { grid-column: 1 / -1; margin: 30px 0 0; min-width: 0; }
.no-js .anat { display: none; }
.anat-plate { background: #121212; color: #cfc8bb; border-top: 6px solid var(--yellow); padding: 14px 14px 12px; }
.anat[data-theme="light"] .anat-plate { background: #F6F2EA; color: var(--ink-2); border: 3px solid var(--ink); border-top-width: 6px; }
.anat-top { display: flex; align-items: center; gap: 12px; font: 800 12px/1 var(--sign); letter-spacing: .12em; text-transform: uppercase; }
.anat-n { color: var(--yellow); }
.anat[data-theme="light"] .anat-n { color: var(--red); }
.anat-t { flex: 1; text-align: right; }
.anat-pause { appearance: none; width: 36px; height: 36px; margin: -8px -6px -8px 0; border: 0; background: transparent; color: inherit; font: 700 13px/1 var(--sign); cursor: pointer; }
.anat-stage { aspect-ratio: 400 / 330; margin: 6px -6px 0; }
.anat[data-anatomy="liga"] .anat-stage { aspect-ratio: 400 / 290; }
@media (min-width: 720px) { .anat-stage, .anat[data-anatomy="liga"] .anat-stage { aspect-ratio: 640 / 300; } }
@media (min-width: 900px) { .anat-stage { max-width: 940px; margin: 0 auto; } }
.anat-stage svg { display: block; width: 100%; height: 100%; }
.anat-read { margin: 4px 0 0 !important; max-width: none !important; min-height: 4.1em; font: 700 15px/1.35 var(--sign) !important; color: inherit !important; font-variant-numeric: tabular-nums; }
.anat[data-theme="dark"] .anat-read { color: var(--paper) !important; }
.anat-ctl { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.anat-ctl button { appearance: none; min-height: 44px; padding: 0 12px; border: 3px solid var(--ink); background: transparent; color: var(--ink); font: 800 15px/1 var(--sign); cursor: pointer; }
.anat-ctl button small { font: inherit; opacity: .6; }
.anat-ctl button[aria-pressed="true"] { background: var(--yellow); }
.anat-sep { width: 100%; height: 0; }
.anat-cap { margin: 12px 0 0; font: 600 14px/1.45 var(--sign); color: var(--ink-3); max-width: 46em; }
@media (min-width: 720px) {
  .anat-plate { padding: 20px 24px 16px; }
  .anat-sep { width: 10px; }
  .anat-read { font-size: 17px !important; min-height: 0; }
}
@media (min-width: 900px) { .anat { margin-top: 56px; } }
/* the app's own icon beside the button, so the TestFlight install looks familiar on the home screen */
.appicon { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px var(--gutter) 0; font: 700 14px/1.25 var(--sign); color: #cfc8bb; }
.appicon img { width: 52px; height: 52px; border-radius: 23%; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 4px 12px rgba(0, 0, 0, .35); }
.hero .appicon { display: none; } /* phones: the first screen stays button + pitch; the icon shows at the closing button */
@media (min-width: 900px) { .hero .appicon { display: flex; order: 3; padding: 16px 0 4px; } }
.last .appicon { padding: 14px 0 0; color: var(--ink); }
.last .appicon img { box-shadow: 0 0 0 1px rgba(0, 0, 0, .15), 0 4px 10px rgba(0, 0, 0, .18); }
/* "Maneja como quieras": four ways to play, each shot whole, on the page's paper with room around them */
.ways { background: var(--paper-2); }
.ways-grid { display: grid; gap: 44px; margin-top: 28px; }
.way { margin: 0; min-width: 0; }
.way-shot { border-radius: 14px; overflow: hidden; background: #111; box-shadow: 0 14px 34px rgba(0, 0, 0, .2); }
.way-shot img { width: 100%; }
.way h3 { margin: 16px 0 6px; font: 900 clamp(26px, 7vw, 34px)/.95 var(--cond); font-stretch: 64%; text-transform: uppercase; }
.way p { margin: 0 !important; font: 600 15px/1.45 var(--sign) !important; color: var(--ink-2) !important; max-width: 32em; }
.way-ctl { display: grid; grid-template-columns: minmax(0, 42%) 1fr; gap: 20px; align-items: center; }
.way-ctl .phone { box-shadow: 0 14px 34px rgba(0, 0, 0, .25); transform: rotate(-2deg); }
.way-ctl h3 { margin-top: 0; }
@media (min-width: 900px) {
  .ways-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 64px 48px; margin-top: 44px; align-items: start; }
  .way-ctl { grid-column: 1 / 5; grid-template-columns: 1fr; gap: 0; align-items: start; }
  .way-ctl .phone { width: 250px; margin: 0 auto 6px; }
  .way-ctl h3 { margin-top: 20px; }
  .way-seat { grid-column: 5 / 13; align-self: center; }
  .way-fiesta { grid-column: 1 / 7; }
  .way-pad { grid-column: 7 / 13; margin-top: 64px; }
}
/* the garage: one car at a time, big, over the level track you climb (assets/ruta.js); without JS every car shows in a column */
.showroom { margin-top: 26px; }
.show-stage { display: grid; }
.show-car { margin: 0; }
.show-ph { border-radius: 14px; overflow: hidden; background: #2a2620; box-shadow: 0 14px 34px rgba(0, 0, 0, .22); aspect-ratio: 660 / 368; }
.show-ph img { width: 100%; height: 100%; object-fit: cover; }
.show-car figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-top: 14px; }
.show-car b { font: 900 clamp(30px, 8vw, 44px)/.95 var(--cond); font-stretch: 64%; text-transform: uppercase; }
.show-lvl { font: 800 14px/1 var(--sign); letter-spacing: .08em; text-transform: uppercase; color: var(--plate-blue); }
.show-line { flex-basis: 100%; font: 600 16px/1.4 var(--sign); color: var(--ink-2); }
.no-js .show-stage { gap: 30px; }
.no-js .track { display: none; }
.js .show-car { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.js .show-car.is-on { opacity: 1; visibility: visible; transition: opacity .45s ease; }
@media (prefers-reduced-motion: reduce) { .js .show-car, .js .show-car.is-on { transition: none; } }
/* the track: a road line with a stop per car; the stops up to the shown car are filled */
.track { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); margin: 26px 0 0; padding: 0; list-style: none; }
.track::before { content: ""; position: absolute; left: calc(100% / 16); right: calc(100% / 16); top: 11px; height: 4px; background: #cdc4b3; border-radius: 2px; }
.track::after { content: ""; position: absolute; left: calc(100% / 16); top: 11px; height: 4px; width: calc((100% - 100% / 8) * var(--at, 0) / 7); background: var(--ink); border-radius: 2px; transition: width .45s ease; }
.track li { position: relative; z-index: 1; display: flex; justify-content: center; }
.track button { appearance: none; border: 0; background: none; padding: 0 0 4px; min-width: 44px; min-height: 44px; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; color: var(--ink-3); font: 800 12px/1 var(--sign); letter-spacing: .04em; text-transform: uppercase; }
.stop-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--paper-2); border: 4px solid #cdc4b3; transition: background .3s, border-color .3s, transform .3s; }
.track button.done .stop-dot { border-color: var(--ink); background: var(--ink); }
.track button[aria-selected="true"] { color: var(--ink); }
.track button[aria-selected="true"] .stop-dot { border-color: var(--ink); background: var(--yellow); transform: scale(1.18); }
.stop-name { display: none; font-weight: 700; text-transform: none; letter-spacing: 0; text-align: center; }
@media (min-width: 900px) {
  .showroom { max-width: 1040px; }
  .show-ph { max-width: 640px; }
}
/* the shots are 660 px wide crops: keep them at about their own size, the name and line beside them */
@media (min-width: 1100px) {
  .show-car { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: 40px; align-items: center; }
  .show-car figcaption { flex-direction: column; align-items: flex-start; gap: 10px; padding: 0; }
  .show-car b { font-size: 52px; }
  .show-line { font-size: 18px; max-width: 16em; }
  .stop-name { display: block; font-size: 13px; line-height: 1.15; max-width: 9em; }
  .track { margin-top: 34px; }
}
/* under the buttons: the two TestFlight steps (iPhone, iPad, desktop) or, on Android, that it's iPhone only for now */
.steps2, .android-note { margin: 0; padding: 10px var(--gutter) 0; font: 600 14px/1.35 var(--sign); color: #cfc8bb; max-width: 30em; }
.steps2 b { color: var(--yellow); }
.android-note { display: none; }
.android .steps2, .android .appicon, .android .last-note, .android [data-share] { display: none !important; }
.android .android-note { display: block; }
.last .steps2, .last .android-note { padding: 10px 0 0; color: var(--ink); }
.last .steps2 b { color: var(--ink); }
@media (min-width: 900px) { .hero .steps2, .hero .android-note { order: 3; padding: 12px 0 0; } }
