@font-face {
  font-family: "Roboto Condensed";
  src: url("/fonts/roboto-condensed.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #071d38;
}

img,
video {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

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

/* The trade show page: the stand's blue and orange with site markings, built for a phone first.
   One dark ground from top to bottom, and four numbered chapters that share one layout. */
.root {
  --blue: #1362b5;
  --navy: #16518f;
  --ink: #0b2a4d;
  --night: #071d38;
  --orange: #ed762c;
  --gutter: 20px;

  position: relative;
  min-height: 100dvh;
  padding-bottom: 92px;
  overflow-x: clip;
  background: var(--night);
  color: #fff;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.38;
  -webkit-font-smoothing: antialiased;
}

.root :focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.root h1,
.root h2,
.root h3 {
  margin: 0;
  font-weight: 700;
  line-height: 0.96;
  text-transform: uppercase;
}

.root h1 span,
.root h1 em,
.root h2 em {
  display: block;
}

.root em {
  color: var(--orange);
  font-style: normal;
}

/* Hero: Alliance's own warehouse footage under a blue wash. */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(92svh, 760px);
  overflow: hidden;
  background: var(--navy);
}

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(19, 98, 181, 0.6) 0%, rgba(19, 98, 181, 0.28) 30%, rgba(7, 29, 56, 0.86) 74%, var(--night) 100%),
    linear-gradient(90deg, rgba(7, 29, 56, 0.55), transparent 70%);
}

.heroInner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  padding: 20px var(--gutter) 40px;
}

/* The stacked logo: Alliance does not use the landscape one where it can be avoided. */
.logo {
  display: block;
  width: 84px;
  height: auto;
  margin-bottom: clamp(48px, 13svh, 150px);
}

.tag {
  margin: 0 0 14px;
}

/* The slanted label from the stand's banner. */
.tag span {
  display: inline-block;
  padding: 7px 14px 6px;
  background: var(--orange);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: skewX(-9deg);
}

.root h1 {
  font-size: clamp(50px, 16.4vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.005em;
  text-shadow: 0 4px 24px rgba(7, 29, 56, 0.45);
}

.lede {
  max-width: 34ch;
  margin: 16px 0 22px;
  font-size: 20px;
  line-height: 1.3;
}

.quick,
.call {
  margin: 12px 0 0;
  font-size: 16px;
  text-align: center;
  opacity: 0.9;
}

.call a,
.foot a {
  color: #fff;
  font-weight: 700;
}

/* Site hazard stripe, in the brand's orange. */
.hazard {
  position: relative;
  z-index: 2;
  height: 14px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 16px, var(--night) 16px 32px);
}

.button {
  display: block;
  width: 100%;
  min-height: 60px;
  padding: 17px 18px 15px;
  border: 0;
  border-radius: 6px;
  background: var(--orange);
  box-shadow: 0 10px 26px rgba(237, 118, 44, 0.38);
  color: #fff;
  font: inherit;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.button:active {
  transform: scale(0.98);
}

.button:disabled {
  opacity: 0.7;
  cursor: progress;
}

/* Chapters: the same numbered heading, the same column, one after another. */
.chapter {
  width: calc(100% - 2 * var(--gutter));
  max-width: 560px;
  margin-inline: auto;
  padding-top: 56px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker b {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 34px;
  background: var(--orange);
  font-size: 19px;
  letter-spacing: 0.04em;
  transform: skewX(-9deg);
}

.kicker::after {
  content: "";
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.28);
}

.root h2 {
  font-size: clamp(40px, 11.8vw, 58px);
}

.intro {
  margin: 14px 0 0;
  font-size: 19px;
  line-height: 1.32;
}

/* 01 Who we are: three plain facts, then every brand Alliance works with. */
.facts {
  margin: 24px 0 0;
}

.facts div {
  display: grid;
  grid-template-columns: minmax(0, 44%) 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 2px solid rgba(255, 255, 255, 0.22);
}

.facts dt {
  color: var(--orange);
  font-size: clamp(60px, 19vw, 92px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.01em;
}

.facts dd {
  margin: 0;
  font-size: 19px;
  line-height: 1.22;
}

.trustedTitle {
  margin: 0 0 12px;
  padding-top: 22px;
  border-top: 2px solid rgba(255, 255, 255, 0.22);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

/* The logo rail runs edge to edge, out past the column. */
.trusted {
  display: grid;
  gap: 6px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.logoTrack {
  display: flex;
  gap: 6px;
  width: max-content;
  padding-right: 6px;
  animation: rail 110s linear infinite;
}

.logoTrack span {
  position: relative;
  flex: none;
  width: 128px;
  height: 70px;
  border-radius: 4px;
  background: #fff;
}

.logoTrack img {
  position: absolute;
  top: 14px;
  left: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 28px);
  object-fit: contain;
}

@keyframes rail {
  to {
    transform: translateX(-50%);
  }
}

/* 02 What we do: four photo tiles. */
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.services li {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 232px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--navy);
}

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

.services li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 29, 56, 0) 20%, rgba(7, 29, 56, 0.7) 55%, rgba(7, 29, 56, 0.96) 100%);
}

/* The merchandise photo is a cut-out, so it sits on the brand blue. */
.services li[data-merch] {
  background: radial-gradient(120% 90% at 70% 20%, #2a7dd3, var(--blue) 55%, var(--navy));
}

.services li[data-merch] img {
  top: 10px;
  height: 52%;
  object-fit: contain;
}

.services div {
  position: relative;
  z-index: 1;
  padding: 0 12px 12px;
  border-bottom: 5px solid var(--orange);
}

.services h3 {
  font-size: clamp(20px, 5.8vw, 30px);
}

.services p {
  margin: 5px 0 0;
  font-size: 15.5px;
  line-height: 1.22;
}

.make {
  margin: 22px 0 0;
  font-size: clamp(34px, 10vw, 48px);
  font-weight: 700;
  line-height: 0.98;
  text-transform: uppercase;
}

.make em {
  display: block;
}

/* 03 The store: their name on a crew store and their initials on the gear. */
.nameField {
  display: block;
  margin: 18px 0 14px;
}

.nameField input {
  width: 100%;
  min-height: 62px;
  padding: 14px 16px;
  border: 3px solid var(--orange);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 22px;
  font-weight: 700;
}

.nameField input::placeholder {
  color: #7a8aa0;
  font-weight: 400;
}

.shop {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  color: var(--ink);
}

.shopBar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--blue);
  color: #fff;
}

.shopLogo {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--orange);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.shopBar strong {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  font-size: 21px;
  line-height: 1.05;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.shopBar i {
  flex: none;
  padding: 4px 8px 3px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shopGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 12px;
  list-style: none;
}

.shopGrid li {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
}

.product {
  position: relative;
  display: block;
  margin-bottom: 6px;
  overflow: hidden;
  border: 1px solid #e3e8ef;
  border-radius: 6px;
  aspect-ratio: 1;
}

.product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stamp {
  position: absolute;
  color: var(--ink);
  font-size: clamp(9px, 3vw, 14px);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  transform: translate(-50%, -50%);
}

/* Steps: a numbered run down a single orange line. */
.steps {
  display: grid;
  gap: 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
}

.steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 46px;
  bottom: -20px;
  left: 20px;
  width: 3px;
  background: var(--orange);
  opacity: 0.5;
}

.steps b {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 3px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  font-size: 24px;
  line-height: 1;
}

.steps h3 {
  margin: 3px 0 5px;
  font-size: 27px;
}

.steps p {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  opacity: 0.92;
}

/* 04 The form */
.form {
  display: grid;
  gap: 15px;
  margin-top: 20px;
  padding: 18px 16px;
  border-top: 8px solid var(--orange);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  scroll-margin-top: 150px;
}

.form label,
.form legend {
  display: grid;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.optional {
  grid-template-columns: 1fr auto;
}

.optional span {
  font-weight: 400;
  opacity: 0.7;
}

.optional textarea {
  grid-column: 1 / -1;
}

.form input,
.form textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 14px;
  border: 2px solid #c5d0da;
  border-radius: 6px;
  background: #f6f8fb;
  color: var(--ink);
  font: inherit;
  /* 16px or more stops iOS zooming the page when a field is tapped. */
  font-size: 19px;
  font-weight: 400;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--blue);
  outline: none;
  background: #fff;
}

.form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form legend {
  margin-bottom: 8px;
  padding: 0;
}

.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.choices[data-columns="3"] {
  grid-template-columns: repeat(3, 1fr);
}

.choices button {
  min-height: 52px;
  padding: 8px 8px;
  border: 2px solid #c5d0da;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.12;
  cursor: pointer;
}

.choices button[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.form .button {
  box-shadow: none;
}

.error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: #fdeceb;
  color: #8f1d14;
  font-size: 16px;
}

.error a {
  color: inherit;
  font-weight: 700;
}

.small {
  margin: 0;
  font-size: 14px;
  text-align: center;
  opacity: 0.75;
}

/* Closing call */
.foot {
  display: grid;
  gap: 4px;
  margin-top: 56px;
  font-size: 16px;
  text-align: center;
}

.foot p {
  margin: 30px 0 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.foot a {
  margin-bottom: 8px;
  font-size: 46px;
  line-height: 1.05;
  text-decoration: none;
}

/* The bar that keeps the way to the form in reach. */
.sticky {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(7, 29, 56, 0.94) 34%);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.sticky .button {
  max-width: 560px;
  margin-inline: auto;
}

.sticky[data-hidden] {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}

@media (prefers-reduced-motion: reduce) {
  .film {
    display: none;
  }

  .sticky,
  .button {
    transition: none;
  }

  .logoTrack {
    animation: none;
  }
}

@media (min-width: 700px) {
  .root {
    font-size: 19px;
  }

  .hero {
    min-height: 620px;
  }
}

/* Wide screens: the same four chapters, opened out into two columns so the page fills the screen. */
@media (min-width: 900px) {
  .root {
    --gutter: 48px;
    font-size: 20px;
  }

  .hero {
    min-height: min(86svh, 820px);
  }

  .heroInner {
    max-width: 1256px;
    padding-bottom: 64px;
  }

  .logo {
    width: 104px;
  }

  .root h1 {
    font-size: clamp(96px, 10.5vw, 150px);
  }

  .lede {
    max-width: 44ch;
    font-size: 24px;
  }

  .heroInner .button {
    width: auto;
    min-width: 340px;
    display: inline-block;
  }

  .quick,
  .call {
    text-align: left;
  }

  .chapter {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: 72px;
    align-items: start;
    max-width: 1160px;
    padding-top: 96px;
  }

  .chapter > * {
    grid-column: 1;
  }

  .kicker {
    grid-column: 1 / -1;
    margin-bottom: 20px;
  }

  .root h2 {
    font-size: clamp(64px, 6.2vw, 84px);
  }

  .intro {
    max-width: 30em;
    font-size: 22px;
  }

  /* 01: the claim on the left, the three facts on the right, the brands across the full width. */
  .chapter[data-chapter="who"] .facts {
    grid-column: 2;
    grid-row: 2 / span 2;
    margin-top: 0;
  }

  .facts dt {
    font-size: 96px;
  }

  .facts dd {
    font-size: 22px;
  }

  .trustedTitle,
  .trusted {
    grid-column: 1 / -1;
  }

  .trustedTitle {
    margin-top: 48px;
    font-size: 30px;
  }

  .logoTrack {
    gap: 10px;
    padding-right: 10px;
  }

  .logoTrack span {
    width: 190px;
    height: 100px;
  }

  .logoTrack img {
    top: 20px;
    left: 26px;
    width: calc(100% - 52px);
    height: calc(100% - 40px);
  }

  /* 02: four tiles in one row under the heading. */
  .chapter[data-chapter="what"] .make {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    margin: 0;
    font-size: 48px;
    text-align: right;
  }

  .services {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 36px;
  }

  .services li {
    min-height: 400px;
  }

  .services div {
    padding: 0 18px 18px;
  }

  .services h3 {
    font-size: 32px;
  }

  .services p {
    font-size: 18px;
  }

  /* 03: name and steps on the left, their store on the right. */
  .chapter[data-chapter="store"] .shop {
    grid-column: 2;
    grid-row: 2 / span 4;
  }

  .nameField {
    margin: 26px 0 0;
  }

  .stamp {
    font-size: 17px;
  }

  .shopGrid {
    gap: 14px;
    padding: 16px;
  }

  .shopGrid li {
    font-size: 18px;
  }

  .steps {
    margin-top: 36px;
  }

  /* 04: the ask on the left, the form on the right. */
  .chapter[data-chapter="start"] {
    grid-template-rows: auto 1fr 1fr;
  }

  .chapter[data-chapter="start"] h2 {
    align-self: end;
  }

  .form {
    grid-column: 2;
    grid-row: 2 / span 2;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 0;
    padding: 28px;
  }

  .form > fieldset,
  .form > .optional,
  .form > .button,
  .form > .error,
  .form > .small {
    grid-column: 1 / -1;
  }

  .form .choices:not([data-columns]) {
    grid-template-columns: repeat(4, 1fr);
  }

  .foot {
    margin-top: 96px;
  }

  .foot a {
    font-size: 64px;
  }

  /* The form is never far away on a wide screen, so the bar is not needed. */
  .sticky {
    display: none;
  }

  .root {
    padding-bottom: 56px;
  }
}
