:root {
  --paper: #f5ecd2;
  --paper-2: #fff8df;
  --ink: #3e2615;
  --muted: #755d45;
  --line: #c9ae77;
  --red: #b94a2b;
  --green: #667a3c;
  --blue: #2f6173;
  --shadow: 5px 5px 0 rgba(62, 38, 21, .22);
  --max: 1040px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #e8d5aa; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  background:
    repeating-linear-gradient(90deg, rgba(185,74,43,.05) 0 1px, transparent 1px 24px),
    linear-gradient(180deg, #f4e8c6 0%, #dfc48d 100%);
}
a { color: inherit; }
.page { min-height: 100vh; }
.wrap { width: min(100% - 28px, var(--max)); margin-inline: auto; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}
.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}
.brand-sign {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 3px double var(--ink);
  background: var(--red);
  color: #fff8df;
  font-size: 34px;
  font-weight: 900;
  box-shadow: var(--shadow);
}
.brand strong { display: block; font-size: 24px; line-height: 1; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-family: Arial, sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.nav a,
.footer-links a,
.footer-contact {
  font-family: Arial, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255,248,223,.55);
  padding: 8px 10px;
}
.nav a:hover,
.footer-links a:hover,
.footer-contact:hover { background: #fff8df; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: 28px;
  align-items: stretch;
  padding: 26px 0 34px;
}
.hero-copy,
.shop-board,
.intro-card,
.card,
.error-card {
  border: 3px double var(--ink);
  background: rgba(255,248,223,.80);
  box-shadow: var(--shadow);
}
.hero-copy { padding: clamp(24px, 4vw, 42px); }
.kicker,
.mini-title {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 10px;
  background: var(--green);
  color: #fff8df;
  font-family: Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
}
h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: .92;
  letter-spacing: -.055em;
}
h2 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 38px); line-height: 1.02; }
.lead { margin: 0; color: var(--muted); font-size: 20px; line-height: 1.62; }
.note {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 7px solid var(--red);
  background: rgba(255,255,255,.42);
  color: var(--muted);
  line-height: 1.55;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  background: var(--red);
  color: #fff8df;
  font-family: Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  box-shadow: 3px 3px 0 rgba(62,38,21,.25);
}
.btn-light { background: var(--paper-2); color: var(--ink); }
.shop-board {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,248,223,.88), rgba(238,213,154,.92));
}
.awning {
  position: absolute;
  top: 22px;
  left: 24px;
  right: 24px;
  height: 86px;
  border: 3px solid var(--ink);
  background: repeating-linear-gradient(90deg, var(--red) 0 42px, #fff8df 42px 84px);
  box-shadow: var(--shadow);
}
.shelf {
  position: absolute;
  left: 56px;
  right: 56px;
  height: 18px;
  background: var(--ink);
}
.shelf::before,
.shelf::after {
  content: "";
  position: absolute;
  bottom: 18px;
  width: 38px;
  height: 54px;
  border: 2px solid var(--ink);
  background: var(--green);
}
.shelf::before { left: 18%; }
.shelf::after { right: 18%; background: var(--blue); }
.shelf-one { top: 184px; }
.shelf-two { top: 286px; }
.crate {
  position: absolute;
  left: 76px;
  bottom: 96px;
  width: 126px;
  height: 66px;
  border: 3px solid var(--ink);
  background: repeating-linear-gradient(45deg, #c89042 0 12px, #dbad62 12px 24px);
}
.shop-board figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 16px;
  background: rgba(62,38,21,.88);
  color: #fff8df;
  border: 2px solid rgba(255,248,223,.7);
}
.shop-board strong { display: block; font-size: 22px; margin-bottom: 4px; }
.shop-board span { color: rgba(255,248,223,.8); line-height: 1.45; }
.section { padding: 22px 0; }
.intro-card {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 24px;
  padding: clamp(22px, 4vw, 36px);
}
.text p,
.card p,
.footer p,
.error-card p { color: var(--muted); line-height: 1.72; }
.text p { margin: 0; }
.text p + p { margin-top: 14px; }
.text-link {
  color: #8d2f1b;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.text-link:hover { color: #5f1f12; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card { padding: 22px; }
.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--paper-2);
  font-size: 24px;
  margin-bottom: 14px;
}
.card h2 { font-size: 24px; }
.card p { margin: 0; }
.footer { padding: 28px 0 34px; }
.footer-box {
  border-top: 2px dashed var(--ink);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer p { max-width: 680px; margin: 0; font-size: 14px; }
.footer-links { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.footer-contact { cursor: pointer; }
.error-card { max-width: 720px; margin: 40px auto; padding: clamp(24px, 5vw, 44px); text-align: center; }
@media (max-width: 850px) {
  .hero,
  .intro-card,
  .cards { grid-template-columns: 1fr; }
  .shop-board { min-height: 360px; }
  .topbar { align-items: flex-start; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 22px, var(--max)); }
  .nav { width: 100%; justify-content: flex-start; }
  .brand strong { font-size: 20px; }
  h1 { font-size: clamp(36px, 14vw, 52px); }
  .actions .btn { width: 100%; }
  .shop-board { min-height: 320px; }
  .awning { left: 16px; right: 16px; }
  .shelf { left: 34px; right: 34px; }
}

.grocery-panel--photo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 500px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 230, 160, .22), transparent 28rem),
    linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .045)) !important;
}

.grocery-panel--photo > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  display: block;
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.04) brightness(.82);
}

.grocery-panel--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(48, 31, 18, .05) 0%, rgba(48, 31, 18, .78) 100%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, .04) 0 1px,
      transparent 1px 18px
    );
  pointer-events: none;
}

.grocery-panel--photo::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px solid rgba(255, 245, 220, .26);
  border-radius: 28px;
  pointer-events: none;
}

.grocery-panel--photo .grocery-shelf,
.grocery-panel--photo .grocery-basket {
  z-index: 3;
  opacity: .68;
  mix-blend-mode: screen;
}

.grocery-panel--photo .glass-card {
  z-index: 4;
}

.about-card {
  grid-template-columns: .78fr 1.22fr !important;
  background:
    linear-gradient(135deg, rgba(255, 235, 180, .13), rgba(120, 78, 42, .12)),
    var(--card) !important;
}

.about-card .eyebrow {
  margin-bottom: 18px;
}

.about-card h2 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .grocery-panel--photo,
  .grocery-panel--photo > img {
    min-height: 420px;
  }

  .about-card {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 620px) {
  .grocery-panel--photo,
  .grocery-panel--photo > img {
    min-height: 340px;
  }

  .grocery-panel--photo::after {
    inset: 12px;
    border-radius: 22px;
  }
}