/* Yellowbird Web Studio. Page styles; the engine files are untouched. */

@font-face { font-family: "Outfit"; src: url("fonts/Outfit-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --sc-canvas:     #0b0e13;
  --sc-surface:    #151a22;
  --sc-ink:        #f3f0e8;
  --sc-ink-soft:   #c6ccd5;
  --sc-accent:     #f4c542;
  --sc-accent-ink: #17130a;
  --sc-font-display: "Outfit", system-ui, sans-serif;
  --sc-font-text:    "Instrument Sans", system-ui, sans-serif;
  --sc-shadow-color: 218 45% 3%;

  --top: clamp(1.25rem, 3.2vh, 2.25rem);
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ------------------------------------------------------------- chrome --
   One bar: the sun-bird logo, the four stops of the flight as tabs (the one
   you are in is underlined in yellow), and the action. A hairline closes it. */
.bar {
  position: fixed; z-index: var(--sc-z-chrome);
  top: 0; left: var(--sc-gutter); right: var(--sc-gutter);
  height: 5.25rem;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  border-bottom: 1px solid color-mix(in oklab, var(--sc-ink) 18%, transparent);
}
.logo {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 0.8rem;
  color: var(--sc-ink); text-decoration: none;
}
.logo__mark { width: 2.4rem; height: 2.4rem; flex: none; }
.logo__type { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--sc-font-display); font-weight: 600;
  font-size: 1.4rem; letter-spacing: -0.02em;
}
.logo__sub {
  margin-top: 0.32rem;
  font-size: 0.62rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: color-mix(in oklab, var(--sc-ink) 72%, transparent);
}
.route { justify-self: center; align-self: end; }
.route__stops { list-style: none; margin: 0; padding: 0; display: flex; gap: 2.25rem; }
.route__stops a {
  display: block; margin-bottom: -1px;
  padding: 0 0 1.5rem; line-height: 1rem;
  font-size: 0.9rem; letter-spacing: 0.01em;
  color: color-mix(in oklab, var(--sc-ink) 66%, transparent);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out);
}
.route__stops a[aria-current="step"] { color: var(--sc-ink); border-bottom-color: var(--sc-accent); }
@media (hover: hover) and (pointer: fine) {
  .route__stops a:hover { color: var(--sc-ink); }
}
.bar .cta--small { justify-self: end; }
.cta--small {
  min-height: 2.5rem; padding: 0 1rem;
  border-radius: 10px; font-size: 0.95rem;
}

/* ------------------------------------------------------------- copy ---- */
.scrim {
  background:
    linear-gradient(to bottom,
      color-mix(in oklab, var(--sc-canvas) 64%, transparent) 0%,
      color-mix(in oklab, var(--sc-canvas) 26%, transparent) 10%,
      transparent 18%),
    linear-gradient(to right,
      color-mix(in oklab, var(--sc-canvas) 92%, transparent) 0%,
      color-mix(in oklab, var(--sc-canvas) 88%, transparent) 30%,
      color-mix(in oklab, var(--sc-canvas) 50%, transparent) 48%,
      transparent 62%);
}
.copy { max-width: min(36rem, 44vw); }
.copy .sc-body { color: var(--sc-ink-soft); }

.copy--hero { left: var(--sc-gutter); bottom: clamp(3rem, 13vh, 8.5rem); }
.hero__title {
  font-size: min(clamp(2.6rem, 1.6rem + 3.8vw, 4.75rem), 10.5vh);
  line-height: 1;
  max-width: 13ch;
}
.hero__sub { margin-top: var(--sc-5); max-width: 40ch; }
.copy--hero .cta { margin-top: var(--sc-6); }

.copy--design { left: var(--sc-gutter); top: clamp(7rem, 22vh, 12rem); }
.copy--launch { left: var(--sc-gutter); top: 50%; translate: 0 -50%; }
.copy__title {
  font-size: min(clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem), 8.5vh);
  letter-spacing: var(--sc-track-snug);
  line-height: 1.04;
  max-width: 16ch;
}
.copy__title + .sc-body { margin-top: var(--sc-4); max-width: 38ch; }

.copy--finale { left: var(--sc-gutter); bottom: clamp(2.5rem, 9vh, 6rem); }

/* the one action */
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0 1.4rem;
  border-radius: var(--sc-r-md);
  background: var(--sc-accent); color: var(--sc-accent-ink);
  font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-base);
  letter-spacing: -0.005em; white-space: nowrap;
  text-decoration: none;
  box-shadow: var(--sc-e2), inset 0 1px 0 rgb(255 255 255 / 0.35);
  transition: transform 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out);
}
.cta:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .cta:hover { background: #f7d160; }
}

.start { margin-top: var(--sc-6); }
.start__label {
  display: block; margin-bottom: var(--sc-2);
  font-size: var(--sc-t-sm); color: var(--sc-ink-soft);
}
.start__row { display: flex; gap: var(--sc-3); flex-wrap: wrap; }
.start__input {
  flex: 1 1 14rem; min-width: 0; min-height: 3rem;
  padding: 0 1rem; border-radius: var(--sc-r-md);
  background: color-mix(in oklab, var(--sc-surface) 88%, transparent);
  border: 1px solid color-mix(in oklab, var(--sc-ink) 22%, transparent);
  box-shadow: inset 0 1px 2px hsl(var(--sc-shadow-color) / 0.4);
  color: var(--sc-ink);
  transition: border-color 160ms var(--sc-ease-out);
}
.start__input::placeholder { color: color-mix(in oklab, var(--sc-ink) 52%, transparent); }
.start__input:focus-visible { outline-offset: 2px; border-color: var(--sc-accent); }
@media (hover: hover) and (pointer: fine) {
  .start__input:hover { border-color: color-mix(in oklab, var(--sc-ink) 38%, transparent); }
}

.about {
  margin: var(--sc-6) 0 0; max-width: 44ch;
  font-size: var(--sc-t-sm); line-height: 1.55; color: var(--sc-ink-soft);
  text-wrap: pretty;
}
.about a { color: var(--sc-ink); }
.colophon {
  margin: var(--sc-3) 0 0;
  font-size: var(--sc-t-xs); color: color-mix(in oklab, var(--sc-ink-soft) 80%, transparent);
}

/* ----------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
}

/* ------------------------------------------------------------ phones --- */
@media (max-width: 860px) {
  :root { --top: max(0.9rem, env(safe-area-inset-top)); }
  .bar {
    height: auto; padding-top: var(--top);
    grid-template-columns: 1fr auto;
    grid-template-areas: "logo action" "route route";
    row-gap: 0.75rem;
  }
  .logo { grid-area: logo; gap: 0.6rem; }
  .logo__mark { width: 1.9rem; height: 1.9rem; }
  .logo__name { font-size: 1.1rem; }
  .logo__sub { font-size: 0.52rem; margin-top: 0.25rem; }
  .bar .cta--small { grid-area: action; min-height: 2.25rem; padding: 0 0.85rem; font-size: 0.85rem; }
  .route { grid-area: route; justify-self: stretch; }
  .route__stops { justify-content: space-between; gap: 0; }
  /* 44px to tap: the extra height grows upward into the row gap, so the
     underline stays on the hairline. */
  .route__stops a { font-size: 0.8rem; padding: 1.1rem 0.25rem 0.65rem; margin: -1.1rem -0.25rem -1px; }
  .route__stops li:first-child a { margin-left: 0; padding-left: 0; }
  .route__stops li:last-child a { margin-right: 0; padding-right: 0; }
  .scrim {
    background:
      linear-gradient(to bottom,
        color-mix(in oklab, var(--sc-canvas) 62%, transparent) 0%,
        transparent 14%),
      linear-gradient(to top,
      color-mix(in oklab, var(--sc-canvas) 92%, transparent) 0%,
      color-mix(in oklab, var(--sc-canvas) 80%, transparent) 32%,
      color-mix(in oklab, var(--sc-canvas) 30%, transparent) 52%,
      transparent 64%);
  }
  .copy { max-width: none; left: var(--sc-gutter); right: var(--sc-gutter); }
  .copy--hero, .copy--finale { bottom: max(1.75rem, env(safe-area-inset-bottom)); }
  .copy--design, .copy--launch { top: auto; bottom: max(2.5rem, env(safe-area-inset-bottom)); translate: none; }
  .hero__title { font-size: clamp(2.2rem, 1.5rem + 4vw, 2.6rem); max-width: 12ch; }
  .hero__sub { margin-top: var(--sc-4); }
  .copy--hero .cta { margin-top: var(--sc-5); }
  .copy__title { font-size: clamp(1.75rem, 1.3rem + 2.6vw, 2.2rem); }
  .start { margin-top: var(--sc-4); }
  .about { margin-top: var(--sc-4); }
}
@media (max-width: 860px) and (max-height: 720px) {
  /* On a short phone the finale reaches much higher up the screen, so the
     band has to as well. */
  .scrim {
    background:
      linear-gradient(to bottom,
        color-mix(in oklab, var(--sc-canvas) 62%, transparent) 0%,
        transparent 16%),
      linear-gradient(to top,
        color-mix(in oklab, var(--sc-canvas) 94%, transparent) 0%,
        color-mix(in oklab, var(--sc-canvas) 86%, transparent) 46%,
        color-mix(in oklab, var(--sc-canvas) 52%, transparent) 66%,
        transparent 82%);
  }
  .copy--finale .copy__title + .sc-body { margin-top: var(--sc-2); }
  .start, .about { margin-top: var(--sc-3); }
}

/* ------------------------------------------------------- short screens --
   A laptop window dragged short, or a phone turned on its side. Height runs
   out before width does, so the bar folds to one slim row, type is sized off
   the height, and every block sits on the bottom edge under a left column of
   shade. Last in the file so it wins over the phone rules above. */
@media (max-height: 560px) and (orientation: landscape) {
  .bar {
    height: 3.25rem; padding-top: 0;
    grid-template-columns: auto 1fr auto; grid-template-areas: none;
    column-gap: 1rem; row-gap: 0;
  }
  .logo, .route, .bar .cta--small { grid-area: auto; }
  .logo { gap: 0.5rem; }
  .logo__mark { width: 1.6rem; height: 1.6rem; }
  .logo__name { font-size: 1rem; }
  .logo__sub { font-size: 0.48rem; margin-top: 0.2rem; }
  .route { justify-self: center; align-self: end; }
  .route__stops { justify-content: center; gap: 1rem; }
  .route__stops a { font-size: 0.75rem; padding-bottom: 1rem; }
  .bar .cta--small { min-height: 2rem; padding: 0 0.75rem; font-size: 0.8rem; }

  .scrim {
    background:
      linear-gradient(to bottom,
        color-mix(in oklab, var(--sc-canvas) 62%, transparent) 0%,
        transparent 18%),
      linear-gradient(to right,
        color-mix(in oklab, var(--sc-canvas) 92%, transparent) 0%,
        color-mix(in oklab, var(--sc-canvas) 86%, transparent) 40%,
        color-mix(in oklab, var(--sc-canvas) 46%, transparent) 62%,
        transparent 78%);
  }
  .copy { max-width: min(36rem, 62vw); left: var(--sc-gutter); right: auto; }
  .copy--hero, .copy--finale, .copy--design, .copy--launch {
    top: auto; bottom: max(0.75rem, env(safe-area-inset-bottom)); translate: none;
  }
  .hero__title { font-size: min(clamp(2.6rem, 1.6rem + 3.8vw, 4.75rem), 10.5vh); max-width: 16ch; }
  .hero__sub { margin-top: 0.6rem; font-size: 0.875rem; line-height: 1.5; max-width: 52ch; }
  .copy--hero .cta { margin-top: 0.8rem; min-height: 2.5rem; }
  .copy__title { font-size: min(clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem), 8.5vh); }
  .copy__title + .sc-body { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.5; max-width: 52ch; }
  .start { margin-top: 0.75rem; }
  .start__label { margin-bottom: 0.3rem; font-size: 0.75rem; }
  .start__input { min-height: 2.5rem; flex-basis: 10rem; font-size: 0.875rem; }
  .start__row .cta { min-height: 2.5rem; }
  .about { margin-top: 0.75rem; font-size: 0.75rem; line-height: 1.45; max-width: 60ch; }
  .colophon { margin-top: 0.3rem; font-size: 0.68rem; }
}
