@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/outfit@5.2.5/latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/outfit@5.2.5/latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/outfit@5.2.5/latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/outfit@5.2.5/latin-700-normal.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #12151a;
  --bg-2: #181c22;
  --ink: #eef1f6;
  --mute: #9aa3ae;
  --line: rgba(238, 241, 246, 0.12);
  --blue: #006aff;
  --blue-2: #0056d6;
  --on-blue: #f7f9fc;
  --nav-h: 64px;
  --pad: clamp(20px, 4vw, 48px);
  --max: 1180px;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #eef1f4;
    --bg-2: #e4e8ee;
    --ink: #14181f;
    --mute: #5b6570;
    --line: rgba(20, 24, 31, 0.12);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.skip,
.skip {
  position: absolute;
  left: -999px;
}

.skip:focus,
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 40;
  padding: 8px 12px;
  background: var(--bg-2);
}

.nav-probe {
  display: block;
  height: 1px;
  overflow: hidden;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  color: #eef1f6;
  transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.is-solid {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.mark {
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 1.12rem;
  text-decoration: none;
}

.nav-desk {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-desk a {
  text-decoration: none;
}

.nav-desk a:not(.btn):hover {
  color: var(--blue);
}

.nav-mob {
  display: none;
}

.nav-mob summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
}

.nav-mob summary::-webkit-details-marker {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--blue);
  color: var(--on-blue);
}

.btn-primary:hover {
  background: var(--blue-2);
}

.btn-ghost {
  background: transparent;
  color: #eef1f6;
  border-color: rgba(238, 241, 246, 0.38);
}

.btn-ghost:hover {
  background: rgba(238, 241, 246, 0.1);
}

.hero {
  position: relative;
  min-height: 100dvh;
  margin-top: calc(var(--nav-h) * -1);
  padding: calc(var(--nav-h) + 24px) var(--pad) 72px;
  display: flex;
  align-items: flex-end;
  color: #eef1f6;
  overflow: hidden;
  background: #12151a;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(18, 21, 26, 0.18) 0%, rgba(18, 21, 26, 0.78) 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.5rem, 6.2vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.hero p {
  margin: 16px 0 28px;
  max-width: 36ch;
  font-size: 1.05rem;
  color: rgba(238, 241, 246, 0.82);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.proof p {
  margin: 0;
  padding: 22px var(--pad);
  border-right: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.92rem;
}

.proof p:last-child {
  border-right: 0;
}

.proof b {
  display: block;
  color: var(--ink);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.how {
  background: var(--bg);
}

.stack {
  position: sticky;
  top: var(--nav-h);
  min-height: calc(100dvh - var(--nav-h));
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: var(--bg-2);
  overflow: hidden;
}

.stack:nth-child(1) {
  z-index: 1;
}
.stack:nth-child(2) {
  z-index: 2;
}
.stack:nth-child(3) {
  z-index: 3;
}

.stack-media {
  min-height: calc(100dvh - var(--nav-h));
  overflow: hidden;
}

.stack-media img {
  width: 100%;
  height: 100%;
  min-height: calc(100dvh - var(--nav-h));
  object-fit: cover;
}

.stack-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px var(--pad) 64px;
}

.stack-copy h2,
.fleet h2,
.yards h2,
.place h2,
.end h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
  max-width: 12ch;
}

.stack-copy p {
  margin: 0;
  max-width: 36ch;
  color: var(--mute);
}

.lede {
  margin: 0 0 28px;
  max-width: 46ch;
  color: var(--mute);
}

.fleet {
  position: relative;
  min-height: 70dvh;
  display: flex;
  align-items: flex-end;
  color: #eef1f6;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(18, 21, 26, 0.82) 0%, rgba(18, 21, 26, 0.2) 58%),
    #12151a url("images/fleet-yard.jpg") center / cover no-repeat;
}

.fleet-copy {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin: 0 auto;
  padding: 88px 0;
}

.wipe {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--bg);
  transform: translateY(0);
  pointer-events: none;
}

.wipe-side {
  transform: translateX(0);
}

.reveal.is-in .wipe {
  transform: translateY(-101%);
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-in .wipe-side {
  transform: translateX(-101%);
}

.fleet ul {
  margin: 28px 0 0;
  padding: 0;
  max-width: 22rem;
}

.fleet li {
  list-style: none;
  padding: 12px 0;
  border-top: 1px solid rgba(238, 241, 246, 0.18);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.yards {
  position: relative;
  min-height: 72dvh;
  display: flex;
  align-items: flex-end;
  color: #eef1f6;
  overflow: hidden;
}

.yards-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yards::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 21, 26, 0.12), rgba(18, 21, 26, 0.82));
}

.yards-copy {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin: 0 auto;
  padding: 88px 0;
}

.yards .lede {
  color: rgba(238, 241, 246, 0.78);
}

.place {
  position: relative;
  min-height: 64dvh;
  color: #eef1f6;
  overflow: hidden;
}

.place img {
  width: 100%;
  height: 64dvh;
  min-height: 420px;
  object-fit: cover;
}

.place-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 72px var(--pad);
  background: linear-gradient(180deg, transparent, rgba(18, 21, 26, 0.88));
}

.place-copy h2,
.place-copy p {
  width: min(var(--max), 100%);
  margin-left: auto;
  margin-right: auto;
}

.place-copy p {
  margin: 0;
  max-width: 46ch;
  color: rgba(238, 241, 246, 0.82);
}

.end {
  position: relative;
  min-height: 70dvh;
  display: flex;
  align-items: flex-end;
  color: #eef1f6;
  overflow: hidden;
}

.end img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.end::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 21, 26, 0.2), rgba(18, 21, 26, 0.86));
}

.end-copy {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin: 0 auto;
  padding: 88px 0;
}

.end p {
  margin: 0 0 28px;
  max-width: 42ch;
  color: rgba(238, 241, 246, 0.8);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 28px var(--pad);
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--mute);
}

.foot p {
  margin: 0;
}

.foot a {
  text-decoration: none;
}

.foot a:hover {
  color: var(--blue);
}

.reveal .how-copy,
.reveal .fleet-copy,
.reveal .yards-copy,
.reveal .place-copy,
.reveal .end-copy,
.reveal.proof p,
.reveal .flow li,
.reveal.fleet li,
.reveal .how-shot {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.is-in .how-copy,
.reveal.is-in .fleet-copy,
.reveal.is-in .yards-copy,
.reveal.is-in .place-copy,
.reveal.is-in .end-copy,
.reveal.is-in.proof p,
.reveal.is-in .flow li,
.reveal.is-in.fleet li,
.reveal.is-in .how-shot {
  opacity: 1;
  transform: none;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-in.proof p:nth-child(2) {
  transition-delay: 0.08s;
}

.reveal.is-in.proof p:nth-child(3) {
  transition-delay: 0.16s;
}

.reveal.is-in .flow li:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal.is-in .flow li:nth-child(3) {
  transition-delay: 0.2s;
}

.reveal.is-in .how-shot {
  transition-delay: 0.12s;
}

.reveal.is-in.fleet li:nth-child(2) {
  transition-delay: 0.06s;
}
.reveal.is-in.fleet li:nth-child(3) {
  transition-delay: 0.12s;
}
.reveal.is-in.fleet li:nth-child(4) {
  transition-delay: 0.18s;
}
.reveal.is-in.fleet li:nth-child(5) {
  transition-delay: 0.24s;
}

.how-shot img,
.stack-media img {
  transform: scale(1.08);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media img {
    animation: ken 14s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .stack-media img {
    animation: ken-slow 18s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-timeline: view();
    animation-range: contain 0% contain 100%;
  }
}

@keyframes ken {
  from {
    transform: scale(1.14) translateY(3%);
  }
  to {
    transform: scale(1) translateY(0);
  }
}

@keyframes ken-slow {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}

.yards-bg,
.place img,
.end img {
  transform: scale(1.04);
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-in .yards-bg,
.reveal.is-in.place img,
.reveal.is-in.end img {
  transform: scale(1);
}

@media (prefers-reduced-motion: no-preference) {
  .rise,
  .rise {
    animation: rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .rise-1,
  .rise-1 {
    animation-delay: 0.08s;
  }

  .rise-2,
  .rise-2 {
    animation-delay: 0.2s;
  }

  .rise-3,
  .rise-3 {
    animation-delay: 0.32s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .nav-desk {
    display: none;
  }

  .nav-mob {
    display: block;
  }

  details.nav-mob[open] {
    position: absolute;
    right: var(--pad);
    top: 14px;
    min-width: 200px;
    padding: 12px 16px 16px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    color: var(--ink);
  }

  .nav-mob a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
  }

  .proof,
  .stack {
    grid-template-columns: 1fr;
  }

  .stack,
  .stack-media,
  .stack-media img {
    min-height: 70dvh;
  }

  .stack-copy {
    padding: 32px var(--pad) 40px;
  }

  .proof p {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rise,
  .rise,
  .reveal .how-copy,
  .reveal .fleet-copy,
  .reveal .yards-copy,
  .reveal .place-copy,
  .reveal .end-copy,
  .reveal.proof p,
  .reveal .flow li,
  .reveal.fleet li,
  .reveal .how-shot,
  .how-shot img,
  .hero-media img,
  .stack-media img,
  .yards-bg,
  .place img,
  .end img,
  .wipe {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}
