:root {
  --blue: #4549f5;
  --ink: #151820;
  --line: #e5e7ef;
  --bg: #f7f8fc;
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: var(--ink); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; max-width: 100%; }
.container { max-width: 1160px; margin: auto; padding-inline: 24px; }
.strip { background: var(--blue); color: white; text-align: center; padding: 7px; font-size: 12px; letter-spacing: .06em; }
header { position: sticky; top: 0; z-index: 10; background: white; border-bottom: 1px solid var(--line); }
.nav, nav, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.nav { min-height: 76px; justify-content: space-between; }
nav { font-size: 14px; font-weight: 700; }
nav a:hover, nav a:focus-visible { color: var(--blue); }
footer a:hover { text-decoration: underline; }
section { padding-block: 78px; }
.hero { background: url("hero.webp") right center / 48% auto no-repeat, linear-gradient(120deg, #f0f0ff, white 65%); }
.hero > .hero-grid { min-height: clamp(300px, 34vw, 480px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 45px; }
.eyebrow { color: var(--blue); font-size: 12px; letter-spacing: .17em; font-weight: 850; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.045em; margin: 14px 0 20px; }
h1 { font-size: clamp(42px, 6vw, 80px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: 23px; }
p { color: #545d6b; }
.hero p { font-size: 19px; max-width: 550px; }
.actions { gap: 12px; margin-top: 25px; }
.btn { display: inline-block; border: 1px solid var(--blue); background: var(--blue); color: white; border-radius: 6px; padding: 12px 21px; font-weight: 750; }
.btn.alt { background: white; color: var(--blue); }
.btn:hover { box-shadow: 0 0 0 2px var(--blue); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
article { background: white; border: 1px solid var(--line); border-radius: 13px; padding: 25px; }
article p { margin-bottom: 0; }
.soft { background: var(--bg); }
footer { background: #171b28; color: white; padding-block: 48px; }
footer p, footer a { color: #c7cad7; }
@media (max-width: 720px) {
  section { padding-block: 48px; }
  .hero { background: linear-gradient(120deg, #f0f0ff, white 65%); }
  .hero > .hero-grid::after {
    content: "";
    width: min(100%, 440px);
    aspect-ratio: 1367 / 1202;
    justify-self: center;
    background: url("hero.webp") center / contain no-repeat;
  }
  .hero > .hero-grid { min-height: 0; }
  .hero-grid, .grid { grid-template-columns: 1fr; gap: 18px; }
  .nav { gap: 14px; padding-block: 14px; }
  nav { gap: 12px; }
}

.feature-photo { width: 100%; max-height: 420px; object-fit: contain; }
article .btn { margin-top: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; }

.location-map {
  filter: grayscale(1);
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.partner-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 920px;
  align-items: center;
  gap: 24px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}
.partner-logos img {
  width: 172.5px;
  height: 80.5px;
  object-fit: contain;
}

.coffee-bags { width: 120%; max-width: none; max-height: 504px; justify-self: center; }
@media (max-width: 720px) {
  .coffee-bags { max-width: calc(100% + 32px); }
}

@media (max-width: 720px) {
  .partner-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
#shop { overflow: hidden; }
#shop .coffee-bags { width: 149.6%; max-height: 649px; }
@media (max-width: 720px) {
  #shop .coffee-bags { max-width: calc(100% + 40px); }
}

#drinks { padding-bottom: 0; }
#drinks .hero-grid > div { padding-bottom: 48px; }
#drinks .feature-photo { align-self: end; object-position: center bottom; }
@media (max-width: 720px) {
  #drinks .hero-grid > div { padding-bottom: 0; }
}

#drinks .feature-photo {
  transform: scale(1.0925);
  transform-origin: center bottom;
}
#drinks { overflow: hidden; }

main section[id] { scroll-margin-top: 100px; }

.menu-toggle { display: none; }
@media (max-width: 720px) {
  .menu-toggle:not([hidden]) {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: white;
    color: var(--ink);
    cursor: pointer;
  }
  .menu-toggle:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
  }
  .menu-toggle:not([hidden]) + nav {
    flex: 0 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .menu-toggle[aria-expanded="false"]:not([hidden]) + nav { display: none; }
  .menu-toggle:not([hidden]) + nav a { padding: 10px 0; }
}
