:root {
  --cream: #f2eee3;
  --paper: #e5ded0;
  --black: #171516;
  --red: #ed1b24;
  --dark-red: #6d211b;
  --blue: #0757a6;
  --yellow: #ffd400;
  --line: #1715162e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.site-noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: .035;
  pointer-events: none;
  background-image: repeating-linear-gradient(37deg, #000 0 1px, transparent 1px 4px);
  mix-blend-mode: multiply;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 clamp(18px, 4vw, 64px);
  background: #171516f4;
  color: var(--cream);
  border-bottom: 4px solid var(--yellow);
}

.topbar::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 50%;
  height: 4px;
  background: var(--blue);
  content: "";
}

.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  color: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: .84;
  letter-spacing: -.04em;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  padding: 3px;
  background: var(--cream);
  object-fit: contain;
}

.brand small {
  font-size: 7px;
  letter-spacing: .18em;
}

.topbar nav {
  display: flex;
  gap: 24px;
}

.topbar a {
  color: inherit;
}

.topbar nav a,
.top-cta {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.topbar nav a:hover {
  color: var(--yellow);
}

.top-cta {
  justify-self: end;
  padding: 13px 15px;
  border: 1px solid var(--cream);
}

.top-cta span {
  margin-left: 15px;
  color: var(--red);
  font-size: 18px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .62;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #090808ee 0%, #090808b8 42%, #09080822 78%), linear-gradient(0deg, #090808bd, transparent 50%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(800px, 92%);
  padding: clamp(44px, 9vw, 126px) clamp(22px, 8vw, 120px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 26px;
  height: 4px;
  background: var(--red);
}

.eyebrow.dark {
  color: #6c6257;
}

.hero h1 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(70px, 10vw, 148px);
  font-weight: 900;
  line-height: .78;
  letter-spacing: -.09em;
  text-transform: uppercase;
}

.hero h1 em,
.order-heading em {
  color: var(--red);
  font-style: normal;
}

.hero-intro {
  max-width: 470px;
  margin: 35px 0 30px;
  font-size: 17px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  gap: 25px;
  align-items: center;
}

.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  min-width: 220px;
  padding: 16px 17px;
  border: 2px solid currentColor;
  color: inherit;
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button b {
  font-size: 18px;
  font-weight: 400;
}

.button-red {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.button-black {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}

.text-link {
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-underline-offset: 6px;
  text-transform: uppercase;
}

.hero-stamp {
  position: absolute;
  right: 5vw;
  bottom: 6vw;
  z-index: 1;
  padding: 14px;
  border: 2px solid #fff;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .12em;
  transform: rotate(-5deg);
}

.hero-stamp b {
  color: var(--yellow);
  font-size: 17px;
}

.hero-stamp small {
  font-size: 7px;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--red);
  color: #fff;
  border-bottom: 1px solid var(--black);
}

.ticker div {
  padding: 17px 20px;
  border-right: 1px solid #fff7;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-align: center;
}

.intro-band,
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: clamp(55px, 8vw, 110px) clamp(22px, 8vw, 120px);
  background: var(--paper);
  border-bottom: 1px solid var(--black);
}

h2 {
  margin: 0;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 900;
  line-height: .82;
  letter-spacing: -.08em;
  text-transform: uppercase;
}

.intro-band h2 span,
.section-heading h2 span {
  color: var(--red);
}

.intro-band > p,
.section-heading > p {
  max-width: 500px;
  align-self: end;
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}

.beers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--black);
}

.beer-card {
  min-height: 690px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--black);
}

.beer-card:last-child {
  border-right: 0;
}

.beer-world {
  position: relative;
  isolation: isolate;
  flex: 1;
  min-height: 410px;
  overflow: hidden;
  background: var(--black);
}

.beer-world > img:first-child {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .76;
  object-fit: cover;
  transition: transform .8s;
}

.beer-card:hover .beer-world > img:first-child {
  transform: scale(1.05);
}

.beer-world::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #000b, transparent 50%);
  content: "";
}

.can {
  position: absolute;
  bottom: -8%;
  left: 50%;
  z-index: 1;
  width: 70%;
  height: 95%;
  filter: drop-shadow(18px 25px 15px #000b);
  object-fit: contain;
  transform: translateX(-50%);
  transition: transform .5s;
}

.beer-card:hover .can {
  transform: translateX(-50%) translateY(-9px) rotate(2deg);
}

.beer-copy {
  padding: 28px 28px 34px;
  background: var(--cream);
}

.beer-index {
  margin: 0 0 20px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.beer-copy h3 {
  margin: 0;
  font-size: 42px;
  line-height: .9;
  letter-spacing: -.08em;
  text-transform: uppercase;
}

.beer-copy .aside {
  margin: 8px 0 0;
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.style {
  margin: 9px 0 17px;
  color: #6c6257;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.beer-copy > p:not(.beer-index):not(.style):not(.aside) {
  min-height: 66px;
  margin: 0;
  font-size: 14px;
  line-height: 1.42;
}

.beer-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.beer-meta b {
  color: var(--red);
}

.catalogue-section {
  background: var(--cream);
  border-bottom: 1px solid var(--black);
}

.catalogue-section .section-heading {
  background: var(--cream);
}

.catalogue-group {
  padding: 56px clamp(22px, 6vw, 96px) 72px;
  border-bottom: 1px solid var(--black);
}

.group-title {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 26px;
}

.group-title > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.group-title h3 {
  margin: 0;
  font-size: clamp(30px, 3vw, 46px);
  line-height: .9;
  letter-spacing: -.06em;
  text-transform: uppercase;
}

.group-title p {
  margin: 0;
  color: #6c6257;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.case-mix-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.keg-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.case-mix-card,
.catalogue-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--black);
}

.case-mix-art {
  position: relative;
  min-height: 440px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
  background: var(--blue);
}

.case-nine .case-mix-art {
  background: var(--dark-red);
}

.case-mix-art::before {
  position: absolute;
  inset: 0;
  opacity: .26;
  background: repeating-linear-gradient(-35deg, transparent 0 34px, #fff 34px 37px);
  content: "";
}

.case-mix-art img {
  position: relative;
  z-index: 1;
  width: 31%;
  height: 390px;
  margin: 0 -2.5%;
  filter: drop-shadow(16px 24px 13px #0008);
  object-fit: contain;
}

.case-mix-art img:nth-of-type(1) {
  transform: rotate(-7deg) translateY(18px);
}

.case-mix-art img:nth-of-type(2) {
  z-index: 2;
}

.case-mix-art img:nth-of-type(3) {
  transform: rotate(7deg) translateY(18px);
}

.mix-count {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  width: 96px;
  height: 96px;
  display: grid;
  place-content: center;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-size: 42px;
  font-weight: 900;
  line-height: .65;
  text-align: center;
}

.mix-count small {
  font-size: 9px;
  letter-spacing: .08em;
}

.catalogue-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: var(--paper);
  object-fit: cover;
}

.catalogue-copy {
  padding: 24px;
  border-top: 1px solid var(--black);
}

.catalogue-copy > p {
  margin: 0 0 9px;
  color: var(--red);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.catalogue-copy h4 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: .9;
  letter-spacing: -.07em;
  text-transform: uppercase;
}

.catalogue-aside {
  display: block;
  margin-top: 8px;
  color: #6c6257;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.catalogue-copy > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.catalogue-copy > div b {
  color: var(--red);
  white-space: nowrap;
}

.catalogue-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding: 13px 0 0;
  border: 0;
  border-top: 2px solid var(--black);
  background: transparent;
  color: var(--black);
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.catalogue-button:hover {
  color: var(--red);
}

.catalogue-button span {
  font-size: 19px;
}

.launch-strip {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: center;
  padding: 42px clamp(22px, 8vw, 120px);
  background: var(--yellow);
  border-bottom: 1px solid var(--black);
}

.launch-strip p {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.launch-strip h3 {
  margin: 0 0 7px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: .9;
  letter-spacing: -.07em;
  text-transform: uppercase;
}

.launch-strip > div > span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.launch-strip > strong {
  font-size: clamp(30px, 4vw, 54px);
  letter-spacing: -.07em;
  white-space: nowrap;
}

.order-section {
  display: grid;
  grid-template-columns: .62fr 1.38fr;
  gap: 6vw;
  padding: clamp(60px, 9vw, 130px) clamp(22px, 8vw, 120px);
  background: var(--black);
  color: var(--cream);
}

.order-heading h2 {
  font-size: clamp(55px, 6vw, 92px);
}

.order-heading > p:last-child {
  max-width: 340px;
  margin-top: 32px;
  color: #ffffffb8;
  font-size: 14px;
  line-height: 1.5;
}

.order-builder {
  min-width: 0;
}

.pack-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 2px;
  background: var(--cream);
  border: 1px solid var(--cream);
}

.pack-tab {
  min-height: 78px;
  padding: 12px;
  border: 0;
  background: var(--black);
  color: var(--cream);
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}

.pack-tab small {
  display: block;
  margin-top: 8px;
  color: #aaa;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0;
}

.pack-tab.active {
  background: var(--blue);
  color: #fff;
}

.pack-tab.active small {
  color: #fff;
}

.order-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  margin-top: 22px;
  border: 1px solid #ffffff45;
}

.selection-panel {
  padding: 22px;
}

.selection-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ffffff45;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.selection-head span:last-child {
  color: var(--yellow);
  font-size: 8px;
  text-align: right;
}

.line-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #ffffff24;
}

.line-product {
  display: flex;
  gap: 12px;
  align-items: center;
}

.line-product img {
  width: 37px;
  height: 52px;
  object-fit: contain;
}

.line-product b {
  display: block;
  font-size: 13px;
}

.line-product small {
  display: block;
  margin-top: 5px;
  color: #ffffff85;
  font-size: 9px;
  line-height: 1.3;
}

.qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty button {
  width: 27px;
  height: 27px;
  border: 1px solid #ffffff70;
  background: transparent;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.qty button:hover {
  border-color: var(--yellow);
}

.qty output {
  min-width: 20px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.qty.keg output {
  color: var(--red);
}

.qty-labels {
  display: grid;
  grid-template-columns: 1fr 91px 91px;
  gap: 14px;
  padding-top: 10px;
  color: #ffffff70;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .1em;
  text-align: center;
}

.summary-panel {
  padding: 24px;
  background: var(--paper);
  color: var(--black);
}

.summary-kicker {
  margin: 0 0 26px;
  color: #6c6257;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: end;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--black);
}

.summary-total span {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.summary-total strong {
  font-size: 24px;
  letter-spacing: -.06em;
}

.summary-lines {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.summary-lines div {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 12px;
}

.shipping {
  margin: 17px 0 22px;
  color: #6c6257;
  font-size: 10px;
  line-height: 1.65;
}

.button.full {
  width: 100%;
  min-width: 0;
}

.order-message {
  min-height: 14px;
  margin: 14px 0 0;
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.4;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  padding: clamp(60px, 9vw, 120px) clamp(22px, 8vw, 120px);
  background: var(--red);
  color: #fff;
}

.contact h2 {
  font-size: clamp(56px, 7vw, 100px);
}

.contact > div:last-child {
  max-width: 500px;
  align-self: end;
}

.contact > div:last-child p {
  font-size: 17px;
  line-height: 1.45;
}

.contact .button {
  margin-top: 20px;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px clamp(22px, 8vw, 120px);
  background: var(--black);
  color: var(--cream);
  border-top: 4px solid var(--blue);
  box-shadow: inset 0 2px 0 var(--yellow);
}

footer img {
  width: 128px;
  height: auto;
}

footer span,
footer a {
  color: #ffffff88;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .topbar nav {
    gap: 14px;
  }

  .topbar nav a {
    font-size: 8px;
  }

  .catalogue-copy {
    padding: 19px;
  }

  .catalogue-copy h4 {
    font-size: 30px;
  }

  .pack-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .order-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .topbar nav {
    display: none;
  }

  .beers,
  .keg-product-grid {
    grid-template-columns: 1fr;
  }

  .beer-card {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--black);
  }

  .beer-world {
    min-height: 500px;
  }

  .intro-band,
  .section-heading,
  .contact {
    grid-template-columns: 1fr;
  }

  .intro-band > p,
  .section-heading > p {
    max-width: none;
  }

  .keg-product-grid .catalogue-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(250px, .9fr);
  }

  .catalogue-card > img {
    height: 100%;
  }

  .catalogue-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 0;
    border-left: 1px solid var(--black);
  }

  .order-grid {
    grid-template-columns: 1fr;
  }

  .summary-panel {
    border-top: 1px solid var(--black);
  }

  .hero-stamp {
    right: 22px;
    bottom: 22px;
  }

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

  .launch-strip .button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 650px) {
  .top-cta {
    padding: 10px 9px;
    font-size: 8px;
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: 700px;
  }

  .hero h1 {
    font-size: 68px;
  }

  .hero-intro {
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .ticker {
    grid-template-columns: 1fr 1fr;
  }

  .ticker div {
    padding: 13px 5px;
    font-size: 8px;
  }

  .beer-world {
    min-height: 420px;
  }

  .beer-copy {
    padding: 24px 20px;
  }

  .beer-copy h3 {
    font-size: 38px;
  }

  .catalogue-group {
    padding: 44px 16px 50px;
  }

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

  .group-title p {
    grid-column: 2;
  }

  .case-mix-grid,
  .keg-product-grid {
    grid-template-columns: 1fr;
  }

  .case-mix-art {
    min-height: 360px;
  }

  .case-mix-art img {
    height: 325px;
  }

  .keg-product-grid .catalogue-card {
    display: block;
  }

  .catalogue-copy {
    border-top: 1px solid var(--black);
    border-left: 0;
  }

  .launch-strip {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .launch-strip .button {
    grid-column: auto;
  }

  .pack-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .pack-tab {
    min-height: 66px;
  }

  .selection-panel {
    padding: 13px;
  }

  .selection-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .line-item {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .line-product {
    grid-row: 1 / 3;
  }

  .qty {
    grid-column: 2;
  }

  .qty-labels {
    display: none;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .beer-card:hover .can,
  .beer-card:hover .beer-world > img:first-child {
    transform: translateX(-50%);
    transition: none;
  }
}
