:root {
  --paper: #ffffff;
  --ink: #171916;
  --muted: #4d5049;
  --brand-blue: #00aaad;
  --brand-blue-ink: #006b6e;
  --brand-blue-hover: #00565a;
  --rule: #c3c2b7;
}

html {
  scroll-padding-top: 24px;
  background: var(--paper);
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.65;
}

.page-width {
  width: min(100% - 64px, 1120px);
  margin-inline: auto;
}

.site-header {
  font-family: Arial, Helvetica, sans-serif;
}

.masthead {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 4px double var(--ink);
}

.brand-lockup {
  flex: 0 0 170px;
  line-height: 0;
}

.brand-lockup img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.masthead nav > a:not(.button) {
  padding-block: 12px;
  font-size: 14px;
}

.masthead nav > a:not(.button):hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 11px 18px;
  border: 1px solid var(--brand-blue);
  color: var(--ink);
  background: var(--brand-blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.button:hover {
  border-color: var(--brand-blue-hover);
  color: white;
  background: var(--brand-blue-hover);
  text-decoration: none;
}

.button:focus-visible {
  outline-offset: 8px;
}

/* Static liquid edges: decorative masks leave the text and focus outline intact. */
@supports (mask-image: linear-gradient(black, black)) {
  .button::before,
  .button::after {
    content: '';
    position: absolute;
    left: -1px;
    right: -1px;
    height: 8px;
    background: inherit;
    pointer-events: none;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M0 3 C16 0 34 0 50 3 S84 6 100 3 V8 H0 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  }

  .button::before {
    top: -6px;
  }

  .button::after {
    bottom: -6px;
    transform: rotate(180deg);
  }
}

@media (forced-colors: active) {
  .sales-letter::before,
  .button::before,
  .button::after {
    display: none;
  }
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  color: var(--brand-blue-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.menu-button {
  min-width: 64px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  font-size: 14px;
}

.mobile-navigation {
  padding: 8px 24px;
  border-bottom: 1px solid var(--rule);
}

.mobile-navigation a {
  display: block;
  padding: 10px 0;
  font-size: 16px;
}

.sales-letter {
  position: relative;
  isolation: isolate;
  padding-block: 44px 38px;
}

/* Use only the open desktop space; decorative, non-interactive and behind the copy. */
@media (min-width: 1280px) {
  .sales-letter::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 76px;
    right: 0;
    width: 320px;
    aspect-ratio: 245 / 206;
    background: url('./beverage-people-mark.png') center / contain no-repeat;
    opacity: .085;
    pointer-events: none;
  }
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--brand-blue-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

h1 {
  max-width: 1020px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -.035em;
  font-weight: 700;
  text-wrap: balance;
}

.standfirst {
  max-width: 840px;
  margin-top: 22px;
  font-size: clamp(21px, 2.1vw, 27px);
  line-height: 1.45;
}

.introduction {
  max-width: 800px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 24px;
}

.customer-proof {
  padding-block: 22px;
  border-block: 1px solid var(--rule);
}

.customer-proof h2 {
  font-size: 19px;
  font-weight: 700;
}

.brand-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.brand-row li {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
}

.brand-row img {
  width: 100%;
  height: 48px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.services {
  padding-block: 38px 28px;
}

.services > h2,
.contact-section h2 {
  margin-bottom: 22px;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 700;
}

.service-columns h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 700;
}

.service-columns p,
.contact-section p {
  color: var(--muted);
  font-size: 17px;
}

.service-columns p + p,
.contact-section p + p {
  margin-top: 12px;
}

.additional-service {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 16px;
}

.additional-service li + li {
  margin-top: 8px;
}

.additional-service strong {
  color: var(--ink);
}

.support-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 22px 24px;
  color: #171717;
  background: #fafafa;
  box-shadow: 6px 6px 0 #bdbdbd;
}

.support-note h2 {
  margin-bottom: 6px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
}

.support-note p {
  max-width: 690px;
  font-size: 16px;
}

.support-note p + p {
  margin-top: 8px;
}

.support-note > a {
  flex-shrink: 0;
  color: var(--brand-blue-ink);
}

.support-note > a:hover {
  color: var(--brand-blue-hover);
}

.contact-section {
  padding-block: 38px;
}

.contact-section h2 {
  margin-bottom: 14px;
}

.contact-details {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
}

.contact-details > a:not(.button) {
  padding-block: 8px;
  color: var(--brand-blue-ink);
  font-size: 16px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-details > .button {
  margin-bottom: 6px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 18px 24px;
  border-top: 4px double var(--ink);
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

@media (min-width: 768px) {
  .brand-row {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .service-columns > article + article {
    padding-left: 24px;
    border-left: 1px solid var(--rule);
  }

  .contact-details {
    padding-left: 24px;
    border-left: 1px solid var(--rule);
  }
}

@media (max-width: 639px) {
  .page-width {
    width: calc(100% - 40px);
  }

  .masthead {
    min-height: 86px;
  }

  .brand-lockup {
    flex-basis: 140px;
  }

  .sales-letter {
    padding-block: 30px;
  }

  .introduction {
    font-size: 17px;
  }

  .brand-row {
    gap: 12px;
  }

  .brand-row img {
    height: 38px;
  }

  .support-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
  }
}
