@font-face { font-family: "Chakra Petch"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/chakra-petch-bold.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/chakra-petch-semibold.woff2") format("woff2"); }

  :root {
    --bg: #05060a;
    --bg2: #0a0c13;
    --text: #e9ebf2;
    --muted: #98a0b4;
    --red: #ff4a3d;
    --red-solid: #d92b20;
    --line: #1a1e2b;
    --ph: #ffb020;
    --gutter: 20px;
    --display: "Chakra Petch", system-ui, sans-serif;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0; background: var(--bg); color: var(--text);
    font-family: var(--font); font-size: 18px; line-height: 1.65;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
  }
  a { color: inherit; }
  .wrap { width: 100%; max-width: 40rem; margin: 0 auto; padding: 0 var(--gutter); }
  section { padding: 84px 0; position: relative; }
  .eyebrow {
    font-size: 13px; letter-spacing: .28em; text-transform: uppercase;
    color: var(--red); font-weight: 600; margin: 0 0 14px;
  }
  h2 {
    font-size: clamp(28px, 7vw, 40px); line-height: 1.12; margin: 0 0 28px;
    font-weight: 700; letter-spacing: .01em;
  }
  p { margin: 0 0 1.15em; }
  .lede { font-size: 1.12em; color: #fff; }
  .muted { color: var(--muted); }
  .em { color: #fff; font-weight: 600; }

  /* placeholders: visible in preview, easy to find */
  .ph {
    color: var(--ph); border-bottom: 1px dashed var(--ph);
    font-weight: 600; white-space: nowrap;
  }

  /* HERO */
  .hero { min-height: 100svh; display: flex; align-items: center; padding: 56px 0 64px; overflow: hidden; position: relative; }
  .hero::before {
    content: ""; position: absolute; left: 50%; top: 38%; width: 120vmax; height: 120vmax;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(255,74,61,.10), rgba(255,74,61,0) 60%);
    pointer-events: none;
  }
  .hero .wrap { position: relative; text-align: center; }
  .wordmark {
    font-size: clamp(38px, 11.5vw, 68px); font-weight: 700; letter-spacing: .12em;
    line-height: 1.02; margin: 0; text-transform: uppercase;
  }
  .wordmark .dot { color: var(--red); }
  .sub {
    font-size: 15px; letter-spacing: .5em; text-transform: uppercase; color: var(--muted);
    margin: 12px 0 34px; padding-left: .5em;
  }
  .hero-lines { font-size: clamp(19px, 5vw, 24px); line-height: 1.5; margin: 0 0 34px; }
  .hero-lines span { display: block; color: var(--muted); }
  .hero-lines span:first-child { color: #fff; font-weight: 600; margin-bottom: .6em; }
  .btn {
    display: inline-block; background: var(--red-solid); color: #fff; text-decoration: none;
    font-weight: 700; letter-spacing: .06em; padding: 16px 26px; border-radius: 4px;
    font-size: 16px; border: 1px solid rgba(255,255,255,.12);
    transition: background .2s, transform .2s;
  }
  .btn:hover { background: #ee3427; transform: translateY(-1px); }
  .btn:focus-visible, a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
  .meta { font-size: 14px; color: var(--muted); margin: 16px 0 0; letter-spacing: .04em; }

  /* phone frame with looping screenshots */
  .phone-wrap { margin: 48px auto 0; width: min(250px, 68vw); position: relative; }
  .phone { border-radius: 34px; padding: 8px; background: #12151f;
    box-shadow: 0 0 0 1px #262b3b, 0 30px 80px rgba(0,0,0,.7), 0 0 90px rgba(255,74,61,.10); }
  .screen { position: relative; width: 100%; aspect-ratio: 923 / 1794; border-radius: 27px; overflow: hidden; background: #02030a; }
  .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
    animation: show 25.6s linear infinite; }
  @keyframes show { 0% {opacity:0} 2.5% {opacity:1} 12.50% {opacity:1} 15.00% {opacity:0} 100% {opacity:0} }
  .caption { position: relative; height: 1.6em; margin: 22px 0 0; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
  .cap { position: absolute; inset: 0; opacity: 0; animation: show 25.6s linear infinite; }

  /* PROLOGUE */
  .prologue .date { font-size: clamp(34px, 9vw, 52px); font-weight: 700; margin: 0 0 30px; line-height: 1.1; }
  .pull { border-left: 2px solid var(--red); padding-left: 18px; margin: 34px 0 0; }
  .pull p { margin: 0 0 .5em; color: #fff; }

  /* alt sections get a faint band */
  .band { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

  /* DISTANCE */
  .bignum { font-size: clamp(24px, 6.4vw, 32px); font-weight: 700; color: #fff; line-height: 1.25; margin: 0 0 26px; }
  .stops { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
  .stops li {
    font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px;
    border: 1px solid var(--line); border-radius: 99px; color: var(--muted);
  }
  .question { font-size: 1.25em; color: #fff; font-weight: 600; line-height: 1.35; margin-top: 34px; }

  /* WAITS */
  .waits { list-style: none; padding: 0; margin: 0 0 30px; }
  .waits li { padding: 20px 0 20px 26px; border-top: 1px solid var(--line); position: relative; }
  .waits li:last-child { border-bottom: 1px solid var(--line); }
  .waits li::before {
    content: ""; position: absolute; left: 4px; top: 33px; width: 8px; height: 8px;
    border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red);
  }

  /* NAME */
  .name { background: #010103; min-height: 92svh; display: flex; align-items: center; text-align: center; overflow: hidden; }
  .name .rp {
    position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border-radius: 50%;
    background: var(--red); transform: translate(-50%, -50%); opacity: .55;
    box-shadow: 0 0 22px 6px rgba(255,74,61,.35); animation: breathe 5s ease-in-out infinite;
  }
  @keyframes breathe { 0%,100% { opacity: .28; } 50% { opacity: .7; } }
  .name .wrap { position: relative; padding-top: 120px; padding-bottom: 20px; }
  .name h2 { font-size: clamp(26px, 7vw, 38px); margin-bottom: 30px; }
  .name p { color: var(--muted); }

  /* BEHIND THE WHEEL */
  .sign { color: #fff; font-weight: 600; margin-top: 30px; }
  .links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 16px; }
  .links a { text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
  .links a:hover { border-color: var(--red); }

  /* BETA */
  .steps { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 34px; }
  .steps li { counter-increment: s; position: relative; padding: 0 0 24px 54px; }
  .steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--red); color: var(--red); display: grid; place-items: center; font-weight: 700; font-size: 16px; }

  /* CLOSING */
  .closing { text-align: center; padding: 110px 0 70px; background: radial-gradient(60% 50% at 50% 40%, rgba(255,74,61,.09), transparent 70%); }
  .closing h2 { margin-bottom: 18px; }
  .closing .closer { color: var(--muted); font-size: 1.12em; margin-bottom: 38px; }
  footer { margin-top: 90px; font-size: 14px; color: var(--muted); display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; }
  footer a { text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 1px; }
  footer a:hover { border-color: var(--red); }

  /* reveal on scroll, only when JS runs */
  @media (scripting: enabled) {
    .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
    .rv.in { opacity: 1; transform: none; }
  }

  @media (min-width: 720px) {
    body { font-size: 19px; }
    section { padding: 120px 0; }
    .hero .wrap { max-width: 44rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    .name .rp { animation: none; }
    .slide, .cap { animation: none; }
    .slide:first-child, .cap:first-child { opacity: 1; }
    .rv { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
  }

  h1, h2, .eyebrow, .btn, .sub, .date, .bignum, .question, .caption, .stops li, .steps li::before, .wordmark, .meta { font-family: var(--display); }
  .meta, .stops li { font-weight: 600; }
  .slide:nth-child(1), .cap:nth-child(1) { animation-delay: 0.0s; }
  .slide:nth-child(2), .cap:nth-child(2) { animation-delay: 3.2s; }
  .slide:nth-child(3), .cap:nth-child(3) { animation-delay: 6.4s; }
  .slide:nth-child(4), .cap:nth-child(4) { animation-delay: 9.6s; }
  .slide:nth-child(5), .cap:nth-child(5) { animation-delay: 12.8s; }
  .slide:nth-child(6), .cap:nth-child(6) { animation-delay: 16.0s; }
  .slide:nth-child(7), .cap:nth-child(7) { animation-delay: 19.2s; }
  .slide:nth-child(8), .cap:nth-child(8) { animation-delay: 22.4s; }

/* FLEET */
.wrap.wide { max-width: 56rem; }
.fleet { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 96px), 1fr)); gap: 8px; margin: 30px 0 22px; padding: 0; list-style: none; }
.ship { margin: 0; }
.ship-view { display: block; width: 100%; aspect-ratio: 1; --poster-color: transparent; --progress-bar-color: var(--red); }
.ship-view:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ship figcaption { text-align: center; font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
