:root {
  --red: #d60000;
  --dark-red: #b30000;
  --logo-orange: #ff4b00;
  --yellow: #ffd51d;
  --ink: #111;
  --muted: #565656;
  --line: #dedede;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.utility {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px max(18px, calc((100vw - 1160px) / 2));
  color: #333;
  font-size: 13px;
  text-transform: uppercase;
}

.utility a {
  font-weight: 800;
}

.brand-bar {
  background: var(--logo-orange);
  color: #fff;
  padding: 18px 20px 14px;
  text-align: center;
}

.brand {
  display: inline-grid;
  justify-items: center;
}

.brand img {
  display: block;
  width: min(700px, 86vw);
  height: auto;
  filter: brightness(0) invert(1);
}

.brand em {
  margin-top: 7px;
  color: #fff;
  font-size: 19px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.main-nav a {
  padding: 16px 22px;
  font-weight: 800;
  white-space: nowrap;
}

.main-nav a:first-child {
  color: var(--red);
}

main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 18px 44px;
}

.hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.hero-tile {
  min-height: 175px;
  border-radius: 4px;
  background: radial-gradient(circle at center, #f52a2a 0, var(--red) 46%, #8e0000 100%);
  color: #fff;
  padding: 24px;
  text-align: center;
  text-transform: uppercase;
}

.hero-main {
  grid-row: span 2;
  display: grid;
  align-content: center;
  min-height: 370px;
  border: 4px solid #fff;
  outline: 1px solid var(--line);
}

.hero-tile span {
  display: inline-block;
  background: var(--yellow);
  color: #111;
  padding: 5px 12px;
  font-size: 24px;
  font-weight: 900;
  transform: rotate(-2deg);
}

.hero h1 {
  margin: 14px 0 8px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: .86;
  font-weight: 900;
  text-shadow: 3px 3px #111;
}

.hero p {
  margin: 0;
  font-size: 19px;
  font-weight: 900;
}

.hero strong {
  display: block;
  margin: 14px 0 8px;
  font-size: 50px;
  line-height: .92;
  font-weight: 900;
}

.hero-tile.yellow {
  background: var(--yellow);
  color: #111;
  border: 2px dashed #111;
}

.tile-logo {
  display: block;
  width: min(150px, 70%);
  height: auto;
  margin: 0 auto 12px;
}

.store-finder {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 0;
  align-items: stretch;
  margin: 34px 0;
  border: 1px solid var(--line);
  background: var(--logo-orange);
}

.about {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin: 34px 0;
  padding: 28px;
  background: #f6f6f6;
}

.store-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.store-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  color: #fff;
}

.store-copy span {
  align-self: flex-start;
  margin-bottom: 12px;
  background: var(--yellow);
  color: #111;
  padding: 6px 12px;
  font-size: 19px;
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

h2 {
  margin: 0;
  font-size: 29px;
  line-height: 1.05;
  text-transform: uppercase;
}

.store-copy p,
.about p {
  margin: 8px 0 0;
  color: inherit;
  line-height: 1.45;
}

.store-copy a,
footer button {
  flex: 0 0 auto;
  align-self: flex-start;
  margin-top: 18px;
  border: 0;
  border-radius: 3px;
  background: #111;
  color: #fff;
  padding: 13px 22px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.section-head a {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.category-grid a {
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px;
  text-align: center;
}

.category-grid strong,
.category-grid span {
  display: block;
}

.category-grid strong {
  font-size: 18px;
  text-transform: uppercase;
}

.category-grid span {
  margin-top: 6px;
  color: var(--muted);
}

.brands {
  display: grid;
  grid-template-columns: minmax(140px, 230px) 1fr;
  gap: 26px;
  align-items: center;
  margin: 34px 0;
  padding: 28px;
  text-align: left;
  background: #fafafa;
}

.brand-stamp {
  width: 100%;
  height: auto;
  max-height: 210px;
  object-fit: contain;
}

.brand-copy {
  min-width: 0;
}

.brands p {
  margin: 0 0 4px;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.brands span {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: 900;
}

.product-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

article {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
}

.pack {
  display: grid;
  place-items: center;
  min-height: 170px;
  color: #fff;
  border-radius: 3px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.purple { background: #6431a5; }
.black { background: #191919; }
.blue { background: #1265b3; }
.green { background: #4b9f27; }

article small {
  display: block;
  margin: 12px 0 6px;
  color: var(--muted);
  font-weight: 800;
}

article h3 {
  min-height: 44px;
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

article p {
  margin: 8px 0 0;
  color: var(--red);
  font-size: 22px;
  font-weight: 900;
}

.about {
  display: block;
}

footer {
  border-top: 1px solid var(--line);
  padding: 30px max(18px, calc((100vw - 1160px) / 2));
}

footer form {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 440px);
  gap: 22px;
  align-items: end;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

footer form p {
  margin: 8px 0 0;
  color: var(--muted);
}

footer form div {
  display: flex;
}

footer input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 3px 0 0 3px;
  padding: 0 14px;
}

footer button {
  border-radius: 0 3px 3px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 28px;
  padding: 24px 0;
}

.footer-logo img {
  display: block;
  width: min(240px, 70vw);
  height: auto;
}

.footer-grid p,
footer small {
  color: var(--muted);
}

.footer-grid h3 {
  margin: 0 0 10px;
  text-transform: uppercase;
}

.footer-grid a:not(.footer-logo) {
  display: block;
  margin: 8px 0;
}

@media (max-width: 760px) {
  .utility,
  .store-finder,
  footer form,
  .footer-grid {
    display: block;
  }

  .utility span {
    display: none;
  }

  .hero,
  .brands,
  .store-finder,
  .category-grid,
  .product-row {
    grid-template-columns: 1fr;
  }

  .hero-main {
    min-height: 330px;
  }

  .store-photo {
    min-height: 240px;
  }

  footer form div {
    margin-top: 14px;
  }
}
