/* Global Supermarket — header, hero and home-page sections. */

/* ---------- Announcement + header ---------- */

.announce {
  background: var(--gold);
  color: var(--on-gold);
  text-align: center;
  padding: 9px 20px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(16, 12, 9, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 10px var(--pad);
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand { cursor: pointer; display: flex; flex-direction: column; line-height: 1; background: none; border: 0; padding: 0; text-align: left; }
.brand-name { font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: 0.01em; color: var(--ink); }
.brand-sub { font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }

.site-nav { display: flex; gap: 30px; margin-left: auto; font-size: 14px; letter-spacing: 0.04em; }
.site-nav a { color: var(--nav); }
.site-nav a:hover { color: var(--gold-lt); }

.cart-btn {
  border: 1px solid var(--line-3);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color .18s ease, color .18s ease;
}
.cart-btn:hover { border-color: var(--gold); color: var(--gold-lt); }
.cart-pill {
  background: var(--gold);
  color: var(--on-gold);
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  padding: 0 6px;
}

/* ---------- Hero ---------- */

/* Hero — Calgary skyline as the section ground.
   The photograph carries at ~95% across the skyline, bridge and river. A
   directional scrim sits only behind the copy: measured cream-on-photo was
   4.31:1 at the region mean and 1.11:1 over the LRT light trails, so a flat
   5% wash would have made the headline unreadable. */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: var(--bg);
  background-image: url("../images/hero-calgary-lg.webp");
  background-size: cover;
  background-position: 62% 50%;
  background-repeat: no-repeat;
}
/* 5% overall wash — the "95% visible" layer */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 12, 9, 0.05);
  pointer-events: none;
}
/* readability scrim, strong only under the text column */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Reaches to ~64%, which is where the 620px copy column ends on a 1400px
     viewport. Everything right of that — skyline, bridge, reflections — stays
     at the 5% wash. */
  background: linear-gradient(
    100deg,
    rgba(16, 12, 9, 0.95) 0%,
    rgba(16, 12, 9, 0.91) 30%,
    rgba(16, 12, 9, 0.80) 50%,
    rgba(16, 12, 9, 0.36) 64%,
    rgba(16, 12, 9, 0.06) 78%,
    rgba(16, 12, 9, 0) 100%
  );
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero-grid {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 620px;
}
.hero-copy { padding: 104px 0; max-width: 620px; }
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.04;
  font-weight: 600;
  margin: 0 0 26px;
  letter-spacing: -0.015em;
}
/* Hero copy sits on photography, so it runs brighter and slightly heavier than
   body text elsewhere — measured 3.07:1 against the river reflections at
   --muted, which fails AA. */
.hero p {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 36px;
  font-weight: 400;
  text-wrap: pretty;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-addr {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-top: 1px solid rgba(244, 239, 230, 0.22);
  padding-top: 26px;
}
.hero-addr .mark { color: var(--gold); font-size: 12px; line-height: 2; }
.hero-addr .text {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.hero-addr .text span { color: var(--nav); }

/* The badge deliberately overhangs the photo's left edge, so this box must not
   clip — the <img> is clipped by its own object-fit instead. */
.hero-media {
  position: relative;
  overflow: visible;
  height: 640px;
}
.hero-media img { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.hero-badge {
  position: absolute;
  bottom: 34px;
  left: -56px;
  z-index: 2;
  background: #1A130D;
  border: 1px solid var(--line-2);
  padding: 20px 26px;
  max-width: 250px;
  box-shadow: 0 18px 40px rgba(8, 6, 4, 0.55);
}
.hero-badge b { font-family: var(--serif); font-size: 26px; color: var(--gold-lt); font-weight: 600; display: block; }
.hero-badge span { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.6; display: block; }

/* ---------- Section headers ---------- */

.section { max-width: var(--shell); margin: 0 auto; padding: 104px var(--pad) 0; }
.section-lg { padding-top: 112px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}
.section-head p { font-size: 15px; color: var(--dim); max-width: 330px; margin: 0; line-height: 1.7; font-weight: 300; }
.section-note { font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: 0.08em; }

/* ---------- Categories ---------- */

.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cat-card {
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--bg-card);
  overflow: hidden;
  text-align: left;
  padding: 0;
  font: inherit;
  color: inherit;
  transition: border-color .18s ease;
}
.cat-card:hover { border-color: var(--gold); }
.cat-body { padding: 18px 18px 20px; }
.cat-name { font-family: var(--serif); font-size: 22px; color: var(--ink); line-height: 1.2; }
.cat-count { font-size: 12.5px; color: var(--faint); margin-top: 8px; letter-spacing: 0.04em; }

/* ---------- Split bands (injera / butcher / about / visit) ---------- */

.band {
  margin-top: 112px;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band-grid {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: stretch;
}
/* Photo fills the full band height rather than floating inside it. */
.band-media { min-height: 600px; }
.band-copy { padding: 96px 0; }
.band-copy .eyebrow { margin-bottom: 20px; }
.band-copy h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.06; font-weight: 600; margin: 0 0 22px; }
.band-copy p { max-width: 480px; margin: 0 0 32px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-2);
  margin-bottom: 34px;
  max-width: 520px;
}
.stat-row > div { padding: 20px 22px; border-right: 1px solid var(--line-2); }
.stat-row > div:last-child { border-right: 0; }
.stat-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 8px;
}
.stat-v { font-family: var(--serif); font-size: 24px; color: var(--gold-lt); }

.butcher-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 72px; align-items: center; }
.butcher-grid h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.07; font-weight: 600; margin: 0 0 22px; }
.butcher-grid .lede { max-width: 470px; margin: 0 0 30px; }
.point-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 34px; }
.point {
  display: flex;
  gap: 14px;
  align-items: baseline;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 14px;
}
.point .mark { color: var(--gold); font-size: 12px; }
.point span:last-child { font-size: 15.5px; color: var(--nav); font-weight: 300; }

.butcher-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.butcher-media .media { aspect-ratio: 3 / 4; }
.butcher-media .media:last-child { margin-top: 40px; }

/* ---------- Favourites ---------- */

.fav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fav-card {
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--bg-card);
  display: flex;
  gap: 20px;
  padding: 20px;
  align-items: center;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: border-color .18s ease;
}
.fav-card:hover { border-color: var(--gold); }
.fav-name { font-family: var(--serif); font-size: 25px; color: var(--ink); line-height: 1.15; }
.fav-blurb { font-size: 13.5px; color: var(--dim); margin-top: 8px; line-height: 1.55; font-weight: 300; }

/* ---------- Essentials ---------- */

.essentials { text-align: center; padding: 96px var(--pad); max-width: var(--shell); margin: 0 auto; }
.essentials .eyebrow { margin-bottom: 20px; }
.essentials h2 { font-size: clamp(32px, 5vw, 54px); line-height: 1.08; font-weight: 600; margin: 0 auto 22px; max-width: 760px; }
.essentials > p { max-width: 600px; margin: 0 auto 46px; }
.ess-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: left; }
.ess-card { border: 1px solid var(--line); padding: 26px 24px; background: var(--bg-deep); }
.ess-num { font-family: var(--serif); font-size: 38px; color: var(--gold); line-height: 1; }
.ess-name { font-family: var(--serif); font-size: 23px; color: var(--ink); margin-top: 16px; }
.ess-blurb { font-size: 13.5px; color: var(--dim); margin-top: 10px; line-height: 1.6; font-weight: 300; }

/* ---------- Benefits ---------- */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.benefit { padding: 36px 30px 40px; border-right: 1px solid var(--line); }
.benefit:last-child { border-right: 0; }
.benefit-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.benefit-title { font-family: var(--serif); font-size: 27px; color: var(--ink); line-height: 1.2; margin-bottom: 12px; }
.benefit-text { font-size: 14.5px; color: var(--dim); line-height: 1.65; font-weight: 300; }

/* ---------- Product grid ---------- */

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  transition: border-color .18s ease;
}
.product-card:hover { border-color: #3F3225; }
.product-media {
  cursor: pointer;
  position: relative;
  aspect-ratio: 1 / 1;
  border: 0;
  padding: 0;
  width: 100%;
  font: inherit;
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 9px;
}
.product-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-name {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 23px;
  color: var(--ink);
  line-height: 1.2;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
}
.product-name:hover { color: var(--gold-lt); }
.product-unit { font-size: 12.5px; color: var(--faint); letter-spacing: 0.04em; }
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}
.product-price { font-family: var(--serif); font-size: 25px; color: var(--gold-lt); }

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 80px;
}
.about-grid h2 { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.1; font-weight: 600; margin: 0 0 22px; }
.about-grid p { font-size: 16.5px; line-height: 1.8; color: var(--muted); margin: 0 0 18px; font-weight: 300; text-wrap: pretty; }
.about-grid p:last-child { margin-bottom: 0; }
.about-media { height: 440px; }

/* ---------- Visit ---------- */

.visit-grid {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.visit-copy { padding: 88px 64px 88px 0; }
.visit-copy h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 600; margin: 0 0 34px; line-height: 1.1; }
.detail-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.detail {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-2);
}
.detail dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  padding-top: 4px;
  margin: 0;
}
.detail dd { font-size: 16px; color: var(--ink); line-height: 1.6; margin: 0; }
.detail dd span { color: var(--muted); }
.detail dd .hint { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.visit-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.visit-actions .btn { padding: 15px 30px; font-size: 13.5px; }
.visit-map { position: relative; min-height: 560px; background: #1D1712; }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(1.05); }

/* ---------- Reviews ---------- */

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.review-stars { color: var(--gold); letter-spacing: 0.2em; font-size: 14px; }
.review blockquote {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  font-style: italic;
}
.review-name {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- FAQ ---------- */

.faq-section { max-width: 900px; margin: 0 auto; padding: 104px var(--pad) 0; }
.faq-section h2 { margin: 0 0 40px; text-align: center; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--serif);
  font-size: 25px;
  color: var(--ink);
}
.faq-q:hover { color: var(--gold-lt); }
.faq-sign { color: var(--gold); font-size: 20px; flex: none; }
.faq-a {
  padding: 0 4px 26px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 660px;
  font-weight: 300;
}

/* ---------- Closing CTA ---------- */

.cta { max-width: var(--shell); margin: 104px auto 0; padding: 0 var(--pad); }
.cta-inner {
  background: var(--gold);
  color: var(--on-gold);
  padding: 84px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: clamp(30px, 4.8vw, 52px); line-height: 1.08; font-weight: 600; margin: 0 0 14px; max-width: 620px; }
.cta-inner p { font-size: 17px; margin: 0; opacity: 0.78; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-dark { background: var(--on-gold); color: var(--gold-lt); font-weight: 600; padding: 17px 36px; }
.btn-dark:hover { background: #241810; color: var(--gold-lt); }
.btn-onGold { border-color: rgba(26, 18, 10, 0.4); color: var(--on-gold); font-weight: 600; padding: 17px 36px; }
.btn-onGold:hover { background: rgba(26, 18, 10, 0.08); color: var(--on-gold); }
