/* whirring.io layout. Brand rules live in /brand.css. */

/* ---- header ------------------------------------------------------------------ */

.band.top { padding-block: 20px; }

.top__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
}

.top__brand {
  display: flex;
  align-items: flex-start;
  gap: 2px;
}

.top__logo img { width: 160px; }

.top__nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}

@media (min-width: 768px) {
  .band.top { padding-block: 28px; }
  .top__logo img { width: 184px; }
}

/* ---- page tops ------------------------------------------------------------------ */

.band.hero {
  padding-top: 32px;
  padding-bottom: 64px;
}

.hero .lead { margin-top: 24px; }
.hero__action { margin-top: 32px; }

@media (min-width: 768px) {
  .band.hero { padding-top: 48px; padding-bottom: 96px; }
  .band.hero--home { padding-top: 72px; padding-bottom: 128px; }
}

/* ---- home ------------------------------------------------------------------------ */

.band.strip {
  padding-block: 40px;
  border-bottom: 1px solid var(--hammertone);
}

.strip__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 64px;
}

.strip__logos img { width: 186px; }

.split {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: start;
  }
}

/* ---- products ----------------------------------------------------------------- */

.product {
  display: grid;
  gap: 40px;
  padding-block: 40px;
  border-top: 1px solid var(--hammertone);
  border-bottom: 1px solid var(--hammertone);
  color: var(--ink);
  text-decoration: none;
}

.product:hover { text-decoration: none; }

.product__about {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product__about .lockup img { width: 232px; }

.product__line {
  display: block;
  max-width: 30em;
  margin-top: 28px;
  font-size: 19px;
  line-height: 28px;
}

.product__tagline {
  display: block;
  margin-top: 12px;
  color: var(--deep-pine);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 28px;
}

.product__visit {
  margin-top: 20px;
  color: var(--deep-pine);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.product:hover .product__visit { text-decoration-thickness: 2px; }

.products__note { margin-top: 20px; }

@media (min-width: 900px) {
  .product {
    grid-template-columns: 1fr 420px;
    align-items: center;
    gap: 64px;
    padding-block: 56px;
  }
}

/* ---- about ------------------------------------------------------------------------ */

.founders__intro { margin-top: 16px; }

.founders {
  display: grid;
  gap: 48px;
  margin-top: 40px;
}

.founder__role {
  margin-top: 4px;
  margin-bottom: 16px;
  color: var(--muted);
}

.founder .rules { margin-top: 20px; }

@media (min-width: 900px) {
  .founders {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

/* ---- contact ---------------------------------------------------------------------- */

.contact {
  display: grid;
  gap: 24px;
  justify-items: start;
}

.contact .plate { width: 100%; }

/* ---- footer ------------------------------------------------------------------------ */

.band.foot {
  padding-block: 48px 40px;
  border-top: 4px solid var(--caution-yellow);
}

.foot__inner {
  display: grid;
  gap: 32px;
}

.foot__logo { justify-self: start; }
.foot__logo img { width: 240px; }

.foot__nav {
  display: grid;
  gap: 12px;
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.foot__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 14px;
  line-height: 20px;
}

@media (min-width: 900px) {
  .foot__inner {
    grid-template-columns: auto 1fr;
    column-gap: 64px;
  }

  .foot__nav { justify-items: end; }
  .foot__meta { grid-column: 1 / -1; }
}
