:root {
  --ink: #24160f;
  --muted: #695d54;
  --paper: #fffaf2;
  --cream: #f5ebdc;
  --line: rgba(36, 22, 15, 0.12);
  --leaf: #28c948;
  --leaf-dark: #188c32;
  --coffee: #6b3f25;
  --clay: #b56e3d;
  --shadow: 0 18px 50px rgba(47, 31, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Trebuchet MS", Verdana, sans-serif;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 250, 242, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(22px);
}

.nav-shell {
  width: min(1180px, calc(100% - 48px));
  height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr 116px;
  align-items: center;
  gap: 24px;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 4vw, 56px);
  font-size: 13px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--leaf);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.icon-link {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
}

.icon-link svg,
.trust-row svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart span {
  position: absolute;
  top: -3px;
  right: -5px;
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  border-radius: 8px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #eee0cf;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 250, 242, 0.96) 0%, rgba(255, 250, 242, 0.83) 31%, rgba(255, 250, 242, 0.12) 58%, rgba(255, 250, 242, 0) 100%);
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 80px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coffee);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(48px, 7.6vw, 88px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 450px;
  margin: 22px 0 0;
  color: #4c3d32;
  font-size: 18px;
  line-height: 1.55;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border: 1px solid var(--leaf);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #073913;
  background: linear-gradient(180deg, #48e864, #2bc947);
  box-shadow: 0 16px 30px rgba(43, 201, 71, 0.25);
}

.btn-primary span {
  margin-left: 18px;
}

.btn-ghost {
  min-width: 132px;
  background: rgba(255, 250, 242, 0.72);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 26px;
}

.trust-row div {
  display: grid;
  grid-template-columns: 28px minmax(0, 96px);
  gap: 10px;
  align-items: center;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
}

.section-pad {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0;
}

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

.section-head h2,
.split-band h2,
.location-band h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.06;
  letter-spacing: 0;
}

.text-link {
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.text-link span {
  margin-left: 8px;
}

.quick-menu {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mini-card {
  min-height: 126px;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 32px;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 24px rgba(47, 31, 20, 0.06);
}

.mini-card h3,
.product-card h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
}

.mini-card p {
  min-height: 34px;
  margin: 8px 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.42;
}

.mini-card strong {
  font-size: 13px;
}

.mini-card button {
  align-self: end;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.badge {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(40, 201, 72, 0.16);
  color: var(--leaf-dark);
  font-size: 10px;
  font-weight: 900;
}

.drink,
.product-visual {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--cream);
}

.drink {
  width: 104px;
  height: 104px;
}

.drink::before,
.drink::after,
.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.drink.iced::before {
  inset: 12px 24px 10px;
  border-radius: 8px 8px 18px 18px;
  background: linear-gradient(#f7efe2 0 17%, #a56639 18% 56%, #efe0cd 57%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.54);
}

.drink.iced::after {
  top: 17px;
  left: 32px;
  width: 40px;
  height: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.drink.robusta::before,
.drink.cookie::before {
  inset: 16px;
  background: radial-gradient(circle at 38% 34%, #8a5130 0 7%, transparent 8%), radial-gradient(circle at 62% 55%, #3b2014 0 8%, transparent 9%), radial-gradient(circle at 48% 70%, #6a3b23 0 9%, transparent 10%), #c08655;
}

.drink.robusta::after {
  inset: 7px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
}

.drink.latte::before {
  inset: 18px;
  background: radial-gradient(circle, #f8e8ca 0 20%, #bf7a3d 21% 58%, #81502e 59%);
  box-shadow: 0 0 0 8px #e8d3b8, 0 0 0 10px rgba(74, 45, 28, 0.12);
}

.drink.latte::after {
  left: 41px;
  top: 35px;
  width: 22px;
  height: 32px;
  background: rgba(255, 255, 255, 0.82);
  transform: rotate(28deg);
}

.drink.cookie {
  background: #f1dfc5;
}

.drink.cookie::after {
  top: 21px;
  left: 24px;
  width: 56px;
  height: 56px;
  background: radial-gradient(circle at 28% 24%, #3d2317 0 7%, transparent 8%), radial-gradient(circle at 64% 28%, #3d2317 0 8%, transparent 9%), radial-gradient(circle at 48% 65%, #3d2317 0 8%, transparent 9%), #c7864a;
}

.split-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.pickup-panel,
.story-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(210px, 1fr);
  gap: 26px;
  align-items: center;
}

.story-panel {
  grid-template-columns: minmax(0, 0.75fr) minmax(240px, 1.15fr);
}

.pickup-panel p:not(.eyebrow),
.story-panel p:not(.eyebrow),
.location-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.pickup-panel img,
.story-panel img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.catalog {
  padding-top: 62px;
}

.catalog-head {
  align-items: center;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-btn {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.filter-btn.is-active {
  border-color: var(--leaf);
  background: #dcfbe3;
  color: #0b5b1c;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(47, 31, 20, 0.07);
  transition: transform 180ms ease, opacity 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
}

.product-card.is-hidden {
  display: none;
}

.product-visual {
  height: 180px;
  border-radius: 0;
}

.product-visual span {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.86);
  font-size: 11px;
  font-weight: 900;
}

.product-visual::before {
  left: 50%;
  top: 34px;
  width: 92px;
  height: 124px;
  border-radius: 12px 12px 5px 5px;
  transform: translateX(-50%);
  background: linear-gradient(160deg, #d9a46b, #8b4b2c);
  box-shadow: 18px 18px 40px rgba(52, 27, 14, 0.18);
}

.product-visual::after {
  left: 50%;
  bottom: 22px;
  width: 230px;
  height: 32px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 18% 50%, #3b2115 0 8px, transparent 9px), radial-gradient(circle at 35% 50%, #7d4a2e 0 8px, transparent 9px), radial-gradient(circle at 52% 50%, #4e2c1c 0 8px, transparent 9px), radial-gradient(circle at 69% 50%, #9a613a 0 8px, transparent 9px), radial-gradient(circle at 84% 50%, #3b2115 0 8px, transparent 9px);
}

.robusta-pack { background: linear-gradient(135deg, #f2d8b3, #d3a168); }
.arabica-pack { background: linear-gradient(135deg, #e1ead5, #a8bd82); }
.liberica-pack { background: linear-gradient(135deg, #ead4be, #b58158); }
.cold-brew { background: linear-gradient(135deg, #d6eff0, #8ba9aa); }
.milk-coffee { background: linear-gradient(135deg, #f7ead6, #d49a5d); }
.starter-kit { background: linear-gradient(135deg, #efdfce, #75614d); }

.cold-brew::before,
.milk-coffee::before {
  width: 72px;
  height: 128px;
  border-radius: 12px 12px 20px 20px;
  background: linear-gradient(#2a1811 0 12%, #74401f 13% 64%, #ead8c2 65%);
}

.milk-coffee::before {
  background: linear-gradient(#f8f0e5 0 20%, #a76433 21% 58%, #ead8c2 59%);
}

.starter-kit::before {
  width: 126px;
  height: 112px;
  border-radius: 14px;
  background: linear-gradient(90deg, #b77944 0 45%, #e2ba7f 46% 100%);
}

.product-body {
  padding: 18px;
}

.product-type {
  margin: 0 0 8px;
  color: var(--leaf-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.product-body p:not(.product-type) {
  min-height: 48px;
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.product-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.product-foot button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.location-band {
  width: min(1180px, calc(100% - 48px));
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2e1d14, #654025);
  color: #fffaf2;
}

.location-copy p {
  max-width: 680px;
  color: rgba(255, 250, 242, 0.78);
}

.location-band .eyebrow {
  color: #91f0a3;
}

.location-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.09);
}

.location-card span {
  color: rgba(255, 250, 242, 0.78);
}

.benefits {
  width: min(1180px, calc(100% - 48px));
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefits div {
  min-height: 82px;
  display: grid;
  align-content: center;
  padding: 0 26px;
  border-right: 1px solid var(--line);
}

.benefits div:last-child {
  border-right: 0;
}

.benefits strong {
  font-size: 13px;
}

.benefits span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  width: min(1180px, calc(100% - 48px));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

@media (max-width: 1080px) {
  .quick-menu,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-shell {
    width: min(100% - 32px, 1180px);
    height: 66px;
    grid-template-columns: 1fr auto auto;
  }

  .brand {
    font-size: 26px;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .nav-actions {
    order: 2;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 250, 242, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
    gap: 4px;
  }

  .nav-links a {
    padding: 12px;
  }

  .hero {
    min-height: 740px;
    align-items: end;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(255, 250, 242, 0.18) 0%, rgba(255, 250, 242, 0.42) 28%, rgba(255, 250, 242, 0.98) 62%, #fffaf2 100%);
  }

  .hero-image {
    height: 54%;
    object-position: 62% 50%;
  }

  .hero-content {
    width: min(100% - 32px, 1180px);
    padding: 0 0 34px;
  }

  .hero h1 {
    max-width: 520px;
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .section-pad,
  .location-band,
  .benefits,
  .site-footer {
    width: min(100% - 32px, 1180px);
  }

  .section-head,
  .catalog-head {
    align-items: start;
    flex-direction: column;
  }

  .filters {
    justify-content: start;
  }

  .pickup-panel,
  .story-panel,
  .location-band {
    grid-template-columns: 1fr;
  }

  .story-panel img {
    order: -1;
  }

  .location-band {
    padding: 24px;
  }

  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefits div:nth-child(2) {
    border-right: 0;
  }

  .benefits div {
    border-bottom: 1px solid var(--line);
  }

  .benefits div:nth-child(n+3) {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .nav-actions {
    gap: 8px;
  }

  .quick-menu,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .mini-card {
    grid-template-columns: 92px minmax(0, 1fr) 30px;
  }

  .drink {
    width: 92px;
    height: 92px;
  }

  .hero-buttons .btn {
    flex: 1 1 100%;
  }

  .trust-row {
    gap: 16px;
  }

  .trust-row div {
    grid-template-columns: 28px minmax(0, 1fr);
    width: 100%;
  }

  .pickup-panel img,
  .story-panel img {
    height: 190px;
  }

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

  .benefits div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .benefits div:last-child {
    border-bottom: 0;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}
