:root {
  --deep-water: #061e2c;
  --night-water: #0b2c3b;
  --liner-blue: #11b9cf;
  --pool-blue: #078fb8;
  --plaster: #f2eee2;
  --cloud: #e6f0f1;
  --tile: #c7d6d8;
  --coral: #f26543;
  --sun: #f6c952;
  --white: #fbfdfd;
  --ink: #071c28;
  --display: "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --utility: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--plaster);
  font-family: var(--body);
  line-height: 1.5;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 4px;
}

.topbar {
  min-height: 88px;
  padding: 16px clamp(20px, 5vw, 76px);
  color: var(--white);
  background: var(--deep-water);
  border-bottom: 5px solid var(--liner-blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.phone {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 48px;
  aspect-ratio: 1;
  border: 2px solid var(--liner-blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--liner-blue);
  font: 800 14px/1 var(--utility);
  letter-spacing: .08em;
}

.brand strong,
.brand small,
.phone small,
.phone strong {
  display: block;
}

.brand strong {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.brand small,
.phone small {
  color: #a8c2cb;
  font: 700 10px/1.6 var(--utility);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.phone {
  text-align: right;
}

.phone strong {
  color: var(--liner-blue);
  font: 800 16px/1.4 var(--utility);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: clamp(70px, 10vw, 140px) clamp(20px, 7vw, 108px) 70px;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 20%, rgba(17, 185, 207, .25), transparent 26%),
    linear-gradient(135deg, var(--deep-water) 0 58%, #0c4150 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, .55fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: end;
}

.hero::after {
  content: "";
  position: absolute;
  width: 430px;
  aspect-ratio: 1;
  right: -120px;
  top: -180px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(255, 255, 255, .025), 0 0 0 88px rgba(255, 255, 255, .02);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--liner-blue);
  font: 800 11px/1.4 var(--utility);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font: 900 clamp(72px, 10vw, 154px)/.75 var(--display);
  letter-spacing: -.075em;
  text-transform: uppercase;
}

.hero h1 em {
  color: var(--sun);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .78em;
  font-weight: 400;
  letter-spacing: -.055em;
  text-transform: none;
}

.intro {
  max-width: 650px;
  margin: 40px 0 0;
  color: #c9d9de;
  font-size: clamp(17px, 2vw, 22px);
}

.route-key {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, .3);
}

.route-key p {
  margin: 0;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.route-key strong {
  color: var(--sun);
  font: 900 36px/1 var(--display);
}

.route-key span {
  color: #b8cbd0;
  font: 700 11px/1 var(--utility);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lane-rule {
  position: absolute;
  inset: auto 0 0;
  height: 18px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.lane-rule span {
  background: var(--liner-blue);
  border-right: 6px solid var(--deep-water);
}

.lane-rule span:nth-child(2n) {
  background: var(--sun);
}

.lane-rule span:nth-child(3n) {
  background: var(--coral);
}

.routes {
  padding: clamp(70px, 9vw, 130px) clamp(20px, 5vw, 76px) clamp(90px, 10vw, 150px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 54px;
}

.section-heading h2 {
  margin: 0;
  font: 900 clamp(42px, 6vw, 76px)/.95 var(--display);
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin: 22px 0 0;
  color: #4e6872;
  font-size: 18px;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 54px);
}

.route {
  --route: var(--pool-blue);
  min-width: 0;
  background: var(--white);
  border-top: 9px solid var(--route);
  box-shadow: 0 20px 55px rgba(6, 30, 44, .11);
  transition: transform .2s ease, box-shadow .2s ease;
}

.route:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 70px rgba(6, 30, 44, .17);
}

.route-clean { --route: #39c9e4; }
.route-bold { --route: #ff5c57; }
.route-luxury { --route: #c8a96a; }
.route-local { --route: #f3c44e; }
.route-retro { --route: #ca5f48; }
.route-night { --route: #2d7383; }
.route-direct { --route: #fb6939; }

.screen {
  overflow: hidden;
  background: #d5e1e3;
}

.browser-bar {
  min-height: 38px;
  padding: 0 13px;
  color: #69828a;
  background: #e7eeee;
  border-bottom: 1px solid #c8d5d7;
  display: flex;
  align-items: center;
  gap: 6px;
  font: 600 9px/1 var(--utility);
}

.browser-bar span {
  width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #9db0b5;
}

.browser-bar span:first-child { background: var(--coral); }
.browser-bar span:nth-child(2) { background: var(--sun); }
.browser-bar span:nth-child(3) { background: var(--liner-blue); }

.browser-bar b {
  overflow: hidden;
  margin-left: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen picture {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.route-copy {
  padding: clamp(24px, 3vw, 38px);
}

.route-number {
  margin: 0 0 12px;
  color: var(--route);
  font: 900 11px/1.2 var(--utility);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.route h3 {
  margin: 0;
  font: 900 clamp(32px, 4vw, 48px)/.95 var(--display);
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.vibe {
  min-height: 54px;
  margin: 18px 0 28px;
  color: #4e6872;
  font-size: 16px;
}

.open-link,
.footer-call {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-decoration: none;
  font: 900 11px/1.2 var(--utility);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.open-link {
  width: 100%;
  padding: 16px 18px;
  color: var(--deep-water);
  background: var(--route);
}

.open-link span {
  font-size: 18px;
}

footer {
  padding: 60px clamp(20px, 7vw, 108px);
  color: #b8cbd0;
  background: var(--deep-water);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

footer p {
  max-width: 650px;
  margin: 0;
}

footer .eyebrow {
  margin-bottom: 12px;
}

.footer-call {
  flex: 0 0 auto;
  padding: 16px 20px;
  color: var(--deep-water);
  background: var(--liner-blue);
}

.error-page {
  min-height: 100vh;
  padding: clamp(40px, 8vw, 110px);
  color: var(--white);
  background: var(--deep-water);
  display: grid;
  place-items: center;
}

.error-card {
  max-width: 780px;
  padding: clamp(34px, 7vw, 90px);
  border: 1px solid rgba(255, 255, 255, .25);
  border-top: 14px solid var(--liner-blue);
}

.error-card h1 {
  margin: 0;
  font: 900 clamp(68px, 16vw, 150px)/.75 var(--display);
  letter-spacing: -.08em;
  text-transform: uppercase;
}

.error-card h1 em {
  color: var(--sun);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .65em;
  font-weight: 400;
  text-transform: none;
}

.error-card > p:not(.eyebrow) {
  max-width: 540px;
  margin: 36px 0;
  color: #c9d9de;
  font-size: 19px;
}

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

.error-actions a {
  padding: 15px 18px;
  color: var(--deep-water);
  background: var(--liner-blue);
  text-decoration: none;
  font: 900 11px/1 var(--utility);
  text-transform: uppercase;
}

.error-actions a:last-child {
  color: var(--white);
  background: transparent;
  border: 1px solid #59747e;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .route-key {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .route-key p {
    border-right: 1px solid rgba(255, 255, 255, .3);
    display: block;
  }

  .route-key span {
    display: block;
    margin-top: 7px;
  }

  .route-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar {
    min-height: 74px;
  }

  .brand-mark {
    width: 40px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small,
  .phone small {
    display: none;
  }

  .phone strong {
    font-size: 12px;
  }

  .hero {
    padding-top: 62px;
    padding-bottom: 54px;
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(62px, 22vw, 88px);
  }

  .intro {
    margin-top: 30px;
    font-size: 16px;
  }

  .route-key strong {
    font-size: 28px;
  }

  .route-key span {
    font-size: 8px;
  }

  .section-heading > p:last-child {
    font-size: 16px;
  }

  .screen picture {
    aspect-ratio: 4 / 3;
  }

  .vibe {
    min-height: 0;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .route {
    transition: none;
  }
}
