/* Runners: store-run ticket. Rust on warm paper. Dash is a closed silhouette. */
:root {
  --container: 72rem;
  --font-display: "Archivo", "Iowan Old Style", Palatino, serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
}
html, body {
  background:
    radial-gradient(circle at 88% 0, #fde8c8 0 16%, transparent 40%),
    #f6efe4;
  font-family: var(--font-body);
}
h1, h2, h3, .run-n, .lockup__word--typeset {
  font-family: var(--font-display);
}
.site-header { background: #3a2718; color: #f6efe4; border-bottom: 0; }
.site-header a, .nav-desktop a, .nav-mobile summary { color: #f6efe4; }
.site-header .lockup__mark { background: #f6efe4; }
.site-header .lockup__word--typeset { color: #f6efe4; }
.nav-mobile__sheet { background: #3a2718; }
.nav-desktop {
  flex-wrap: nowrap;
  white-space: nowrap;
}
.nav-desktop a {
  white-space: nowrap;
  flex: 0 0 auto;
}
@media (min-width: 860px) {
  .nav-desktop {
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}

.run-app {
  max-width: 72rem;
  width: min(72rem, calc(100% - 2 * var(--pad-inline, 1.5rem)));
  margin-inline: auto;
  padding: 1rem var(--pad-inline, 1.5rem) 2rem;
}
.run-hero {
  position: relative;
  isolation: isolate;
  min-height: 20rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(8rem, 0.5fr);
  align-items: stretch;
  overflow: hidden;
  background: #3a2718;
  margin: 0 0 0.85rem;
}
.run-hero__stock {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.run-hero__copy {
  position: relative;
  z-index: 1;
  padding: 1.2rem 1.2rem 1.25rem;
  background: linear-gradient(
    90deg,
    color-mix(in oklab, #3a2718 88%, transparent) 0%,
    color-mix(in oklab, #3a2718 62%, transparent) 68%,
    transparent 100%
  );
  color: #f6efe4;
  max-width: 40rem;
}
.run-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.05;
  color: #f6efe4;
}
.run-hero .lede,
.run-hero p {
  margin: 0 0 0.65rem;
  max-width: 38rem;
  color: #f6efe4;
}
.run-hero .lede { font-size: 1.02rem; line-height: 1.42; }
.run-hero a { color: #fde8c8; }
.run-hero a.aff {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  white-space: nowrap;
}
.run-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 0;
}
.run-hero__cta a {
  background: #b45309;
  color: #f6efe4;
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  white-space: nowrap;
}
.run-hero__cta a:nth-child(n + 2) {
  background: #3a2718;
  box-shadow: inset 0 0 0 1px #f6efe466;
}
.run-hero__dash {
  position: relative;
  z-index: 2;
  align-self: end;
  justify-self: end;
  width: auto;
  height: auto;
  max-height: min(18rem, 86%);
  margin: 0 0.2rem 0 0;
  object-fit: contain;
  object-position: bottom right;
  filter: none;
  mix-blend-mode: normal;
  pointer-events: none;
}

.kit-mosaic { margin: 0 0 0.85rem; }
.kit-mosaic__head {
  display: grid;
  grid-template-columns: minmax(11rem, 16rem) minmax(0, 1fr);
  gap: 0.45rem 0.9rem;
  align-items: start;
  margin: 0 0 0.6rem;
}
.kit-mosaic__head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem);
}
.kit-mosaic__head p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #5c4030;
}
.kit-mosaic__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.7rem;
  align-items: stretch;
}
.kit-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.35rem;
  margin: 0;
  padding: 0.55rem 0.6rem 0.7rem;
  background: #fffaf4;
  border: 1px solid #e7d3b8;
  min-width: 0;
  height: 100%;
  overflow: visible;
}
.kit-card img {
  width: 100%;
  height: auto !important;
  min-height: 12rem !important;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #fde8c8;
}
.kit-card h3 {
  margin: 0.05rem 0 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}
.kit-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #5c4030;
}
.get-this {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  margin: 0.2rem 0 0;
  padding: 0.35rem 0.85rem;
  min-height: 2.4rem;
  background: #b45309;
  color: #f6efe4;
  font-weight: 800;
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
  overflow: visible;
}

.run-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  gap: 0.45rem;
}
.run-steps > li {
  display: block !important;
  min-width: 0;
  grid-column: span 3;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
}
.run-steps > li:nth-child(n + 5) {
  grid-column: span 4;
}
.run-steps a {
  display: grid !important;
  grid-template-columns: 1.7rem minmax(0, 1fr) !important;
  gap: 0.45rem;
  align-items: start;
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
  background: #fffaf4;
  border: 1px solid #e7d3b8;
  padding: 0.55rem 0.7rem;
  text-decoration: none;
  color: inherit;
  overflow: visible;
}
.run-steps p { margin: 0.15rem 0 0; font-size: 0.8rem; line-height: 1.3; color: #5c4030; }
.run-n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: #b45309;
}
.merchant-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}
.merchant-row a {
  background: #3a2718;
  color: #f6efe4;
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}
.run-stills {
  display: none;
}
@media (max-width: 820px) {
  .run-hero {
    grid-template-columns: 1fr;
    min-height: 22rem;
  }
  .run-hero__copy {
    background: linear-gradient(
      180deg,
      color-mix(in oklab, #3a2718 86%, transparent) 0%,
      color-mix(in oklab, #3a2718 42%, transparent) 70%,
      transparent 100%
    );
    max-width: none;
    padding-right: 6rem;
    padding-bottom: 4.25rem;
  }
  .run-hero__dash {
    position: absolute;
    right: 0.2rem;
    bottom: 0;
    max-height: 14rem;
    z-index: 2;
  }
  .kit-mosaic__head { grid-template-columns: 1fr; }
  .kit-mosaic__grid { grid-template-columns: 1fr; }
  .run-steps { grid-template-columns: 1fr; }
  .run-steps > li,
  .run-steps > li:nth-child(n + 5) { grid-column: auto; }
}
