@font-face {
  font-family: Franie;
  src: url("fonts/FranieVF.ttf") format("truetype");
  font-weight: 1 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Lexend;
  src: url("fonts/Lexend-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bastliga One";
  src: url("fonts/BastligaOne.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #1e1c1b;
  --cream: #e8e4d4;
  --cream-dim: rgba(232, 228, 212, 0.62);
  --lime: #cdd62b;
  --lime-hot: #d8e04a;
  --rust: #b65234;
  --slate: #8aa0a8;
  --line: rgba(232, 228, 212, 0.22);
  --pad: clamp(1.15rem, 4vw, 3.5rem);
  color-scheme: dark;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: Lexend, sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.45;
}

button, input, textarea { font: inherit; color: inherit; }

button { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 4px;
}

.logo-script {
  display: inline-block;
  margin: 0;
  color: var(--cream);
  font-family: "Bastliga One", cursive;
  font-size: clamp(4.6rem, 7vw, 6.4rem);
  font-weight: 400;
  line-height: 0.7;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}

.pill {
  appearance: none;
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--lime);
  color: var(--bg);
  font-family: Lexend, sans-serif;
  font-weight: 650;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 0.78rem 1.15rem;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.pill:hover { background: var(--lime-hot); }

.pill.ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.pill.ghost:hover {
  background: transparent;
  color: var(--lime);
  border-color: var(--lime);
}

.pill-lg {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  padding: 1.05rem 1.7rem;
}

.text-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-family: Lexend, sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.2rem;
}

.text-btn:hover { color: var(--lime); }

.age-gate {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: var(--pad);
  text-align: center;
}

.age-ok .age-gate { display: none; }

.age-title,
.age-block p {
  font-family: Lexend, sans-serif;
}

.age-mark {
  margin: 1.4rem 0 0.4rem;
  font-family: Franie, sans-serif;
  font-weight: 100;
  font-size: clamp(5rem, 22vw, 9rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--lime);
}

.age-title,
#age-block-title {
  margin: 0.2rem 0 1.4rem;
  font-family: Franie, sans-serif;
  font-weight: 100;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-style: normal;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-transform: none;
}

.age-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
}

.age-block { display: none; }

.age-gate.is-blocked .age-ask { display: none; }

.age-gate.is-blocked .age-block { display: block; }

.site { display: none; }

.age-ok .site { display: block; }

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding: 1.15rem var(--pad) 0.4rem;
}

.mast-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}

.hero {
  padding: clamp(4.8rem, 11vw, 8.5rem) var(--pad) 0;
  text-align: center;
}

.hero,
.hero-lockup {
  overflow: visible;
}

.hero-lockup {
  margin: 0 auto;
  max-width: 52rem;
  line-height: 0;
}

.hero-lockup img {
  display: block;
  width: min(92%, 880px);
  height: auto;
  margin: 0 auto;
  overflow: visible;
  line-height: 0;
}

.experts {
  max-width: 16em;
  margin: 0 0 1.15rem;
  text-align: left;
  font-family: Franie, sans-serif;
  font-weight: 100;
  font-size: clamp(1.8rem, 4.4vw, 3.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.pitch {
  max-width: 40rem;
  margin: 0;
  text-align: left;
  color: var(--cream);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.5;
}

.pitch strong,
.footer-desc strong {
  font-weight: 650;
  color: #f6f3ea;
}

.services {
  padding: clamp(4.8rem, 11vw, 8.5rem) var(--pad) 0;
  text-align: left;
}

.services ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: clamp(2.6rem, 4.5vw, 3.6rem) 0 0;
  text-align: left;
  background: none;
  border: 0;
  color: var(--cream);
}

.service h2 {
  margin: 0;
  font-family: Franie, sans-serif;
  font-weight: 100;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 0.84;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.service:nth-child(odd) h2 { color: var(--rust); }

.service:nth-child(even) h2 { color: var(--slate); }

.line {
  margin: 0.45rem 0 0;
  max-width: 28rem;
  text-align: left;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--cream);
}

.detail {
  margin: 0.55rem 0 0;
  max-width: 36rem;
  text-align: left;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--cream);
}

.clients {
  padding: clamp(4.8rem, 11vw, 8.5rem) var(--pad) 0;
  text-align: left;
}

.clients h2 {
  margin: 0;
  font-family: Franie, sans-serif;
  font-weight: 100;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
}

.client-logos {
  display: grid;
  justify-items: center;
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
  max-width: 68rem;
  margin: clamp(2rem, 4vw, 2.8rem) auto 0;
  padding: 0;
}

.client-logos ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: clamp(1.1rem, 2.2vw, 1.8rem) clamp(0.35rem, 1.5vw, 1.6rem);
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.client-logos ul:last-child {
  width: 100%;
}

.client-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  height: clamp(1.65rem, 3.1vw, 2.7rem);
  background: none;
}

.client-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.client-logos img {
  display: block;
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.footer {
  display: grid;
  justify-items: start;
  gap: 0.85rem;
  margin-top: clamp(4.8rem, 11vw, 8.5rem);
  padding: clamp(3.2rem, 6vw, 4.5rem) var(--pad) 2.6rem;
  text-align: left;
}

.footer .logo-script {
  font-size: clamp(3rem, 6vw, 4.2rem);
  line-height: 0.8;
}

.footer-desc {
  max-width: 34rem;
  margin: 0.2rem 0 0.3rem;
  color: var(--cream);
  font-size: 1.02rem;
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.25rem;
}

.footer a {
  color: var(--cream);
  text-decoration: none;
}

.footer-nav a,
.footer p a {
  font-size: 0.95rem;
}

.footer-nav a:hover,
.footer p a:hover { color: var(--lime); }

.footer p {
  margin: 0;
  color: var(--cream-dim);
  font-size: 0.92rem;
  line-height: 1.4;
}

.footer-copy { margin-top: 0.4rem; }

.work {
  --ink: #ece8dc;
  --accent: #cdd62b;
  --muted: #a0b3ba;
  display: grid;
  justify-items: start;
  gap: 1.6rem;
  width: 100%;
  padding: clamp(4.8rem, 11vw, 8.5rem) var(--pad);
  color: var(--ink);
  text-align: left;
}

.work-copy { max-width: 36rem; }

.work h2 {
  margin: 0;
  font-family: Franie, sans-serif;
  font-weight: 100;
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.84;
  color: var(--ink);
}

.work-lead {
  margin: 1.15rem 0 0;
  max-width: 28rem;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.45;
}

.work-lead + .work-lead { margin-top: 0.7rem; }

.work-lead strong {
  color: var(--accent);
  font-weight: 650;
}

.shop-link {
  display: inline-block;
  margin-top: 1.8rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: Lexend, sans-serif;
  font-weight: 650;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 0.9rem 1.25rem;
  text-decoration: none;
}

.shop-link:hover { color: var(--accent); border-color: var(--accent); }

.work-panel {
  width: min(100%, 40rem);
  border: 1px solid rgba(236, 232, 220, 0.28);
  background: rgba(236, 232, 220, 0.04);
  padding: clamp(1.2rem, 3vw, 2rem);
  text-align: left;
}

.work form { display: grid; gap: 1rem; }

.work label,
.work legend {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 560;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.work input,
.work textarea {
  width: 100%;
  border: 1px solid rgba(236, 232, 220, 0.35);
  border-radius: 0;
  background: #1e1c1b;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.85rem 0.95rem;
}

.work textarea {
  resize: vertical;
  min-height: 9rem;
}

.work input:focus,
.work textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.work-submit {
  width: 100%;
  margin-top: 0.3rem;
  padding: 1.05rem 1.2rem;
  font-size: 0.95rem;
}

.work-error,
.work-success {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
}

.work-success {
  font-family: Franie, sans-serif;
  font-weight: 100;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 0.9;
  text-align: left;
  text-transform: uppercase;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.work button:disabled { opacity: 0.6; }

@media (max-width: 720px) {
  .masthead {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem;
  }

  .mast-actions {
    width: auto;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    min-width: 0;
    gap: 0.3rem;
  }

  .mast-actions .pill {
    flex: 0 1 auto;
    min-width: 0;
    font-size: clamp(0.5rem, 2.15vw, 0.66rem);
    letter-spacing: 0.03em;
    padding: 0.55rem 0.42rem;
  }

  .hero,
  .experts,
  .pitch,
  .services,
  .service,
  .line,
  .detail,
  .clients,
  .clients h2,
  .work,
  .work-copy,
  .work h2,
  .work-lead,
  .footer,
  .footer-desc {
    text-align: center;
  }

  .experts,
  .pitch,
  .line,
  .detail,
  .work-copy,
  .work-lead,
  .footer-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .service,
  .work,
  .footer { justify-items: center; }

  .footer-nav { justify-content: center; }

  .client-logos ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .client-logos li { height: clamp(2.6rem, 14vw, 4rem); }

  .work-panel {
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 389px) {
  .mast-actions .pill.ghost { display: none; }
}

@media (min-width: 860px) {
  .service {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    column-gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
    padding-top: clamp(3rem, 4.8vw, 4.2rem);
  }

  .service > div { min-width: 0; }

  .service h2 { font-size: clamp(2.3rem, 3.5vw, 3.5rem); }

  .detail {
    margin-top: 0.2rem;
    max-width: none;
  }
}

@media (min-width: 900px) {
  .work {
    grid-template-columns: minmax(16rem, 0.9fr) minmax(18rem, 1.05fr);
    align-items: start;
    column-gap: clamp(2rem, 5vw, 4.5rem);
  }

  .work-panel { width: 100%; }

  .client-logos li { height: clamp(2.2rem, 3.2vw, 3rem); }
}

.train {
  height: 440vh;
  background: #1e1c1b;
}

.train-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  background: #1e1c1b;
}

.train-scene {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #6eafdf;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sky {
  position: absolute;
  left: -4%;
  top: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  object-position: center 42%;
}

.convoy {
  --car-w: min(96vw, 1400px);
  --sign-w: min(calc(var(--car-w) * 0.42), 620px);
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: clamp(3rem, 8vw, 9rem);
  transform: translate3d(calc(50vw - min(48vw, 700px)), 0, 0);
  will-change: transform;
}

.car {
  display: block;
  width: var(--car-w);
  height: auto;
  flex: none;
  min-width: 0;
}

/* Source art has a different amount of empty space under each car.
   Shift the lighter pads down so the wheels and couplers share one line. */
.car[data-car="1"] { transform: translateY(2.9%); }
.car[data-car="2"] { transform: translateY(0.97%); }

.sign {
  position: relative;
  flex: none;
  width: var(--sign-w);
  min-width: 0;
  margin: 0 0 calc(var(--car-w) * 47 / 1500 - var(--sign-w) * 37 / 1000);
}

.sign img {
  display: block;
  width: 100%;
  height: auto;
}

.sign p {
  position: absolute;
  left: 8%;
  top: 13%;
  width: 84%;
  height: 44%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #1e1c1b;
  font-family: Lexend, sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.7rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  text-align: center;
  text-transform: none;
}

.sign p span {
  display: block;
  max-width: 18em;
  text-align: center;
}

.sign strong {
  font-family: Lexend, sans-serif;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.tracks {
  position: absolute;
  left: -8%;
  bottom: -4.5%;
  z-index: 3;
  width: 118%;
  height: auto;
  pointer-events: none;
}

@media (max-width: 700px) {
  .train { height: 380vh; }
  .convoy {
    --car-w: 120vw;
    --sign-w: calc(var(--car-w) * 0.5);
    gap: 8vw;
    transform: translate3d(-8vw, 0, 0);
  }
  .sign p { font-size: 0.78rem; }
}

@media (max-width: 700px) and (prefers-reduced-motion: no-preference) {
  .masthead {
    position: absolute;
    z-index: 6;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg);
  }

  .tracks {
    left: -80%;
    bottom: 0;
    width: 260%;
    height: 34vw;
    object-fit: cover;
    object-position: center bottom;
  }

  .convoy { bottom: 13vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .train { height: auto; }

  .train-pin {
    position: relative;
    height: auto;
  }

  .train-scene {
    height: auto;
    overflow: visible;
    background: #1e1c1b;
  }

  .sky { height: 72vh; }

  .tracks {
    top: 52vh;
    bottom: auto;
  }

  .convoy {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(100% - 2rem, 960px);
    margin: 0 auto;
    padding: 16vh 0 1rem;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
    transform: none !important;
  }

  .car,
  .sign { width: min(100%, 920px); }

  .car { transform: none; }

  .sign { margin-bottom: 0; }
}
