/* HomeGrown Meats — self-hosted fonts and site styles */

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-condensed-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/barlow-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --slate: #151515;
  --slate-deep: #0a0a0a;
  --slate-light: #262626;
  --red: #d8101c;
  --red-bright: #ff2f3b;
  --red-deep: #7c0910;
  --chrome: #d6d6d6;
  --bone: #f3efe8;
  --bone-dim: #b9b3aa;
  --focus: #ff5a63;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--slate);
  color: var(--bone);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, :focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ---------- Hero: slate, ribbons, logo ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  max-height: 1100px;
  background:
    radial-gradient(90% 55% at 50% 12%, rgba(255,255,255,.075), transparent 65%),
    radial-gradient(70% 45% at 82% 60%, rgba(216,16,28,.13), transparent 70%),
    radial-gradient(120% 60% at 50% 110%, rgba(0,0,0,.75), transparent 60%),
    linear-gradient(180deg, var(--slate-light) 0%, var(--slate) 45%, var(--slate-deep) 100%);
}
/* stone grain */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .34;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.6 0 0 0 0 0.6 0 0 0 0 0.6 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
/* engraved farmland along the bottom */
.hero__farm {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  height: clamp(150px, 26vh, 260px);
  pointer-events: none;
}
.hero__farm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 100%);
}
.hero__ribbons {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 3;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  padding: clamp(24px, 6vh, 64px) 16px 0;
}
.hero__logo {
  align-self: center;
  width: min(80vw, 112vh, 700px);
  margin-bottom: 2vh;
  filter: drop-shadow(0 22px 26px rgba(0,0,0,.6)) drop-shadow(0 2px 3px rgba(0,0,0,.5));
  animation: settle 900ms cubic-bezier(.2,.7,.2,1) both;
}
.hero__logo img { width: 100%; }

/* Grand opening plate, cut like the ribbon on the badge */
.plate {
  position: relative;
  align-self: end;
  margin-bottom: clamp(28px, 7vh, 72px);
  padding: 12px 40px 13px;
  background: #101010;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 3.6vw, 36px);
  line-height: 1.05;
  letter-spacing: .03em;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%, 14px 50%);
  box-shadow: 0 18px 30px rgba(0,0,0,.55);
  animation: settle 900ms 180ms cubic-bezier(.2,.7,.2,1) both;
}
.plate::before {
  content: "";
  position: absolute;
  inset: 4px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%, 12px 50%);
  border: 2px solid var(--red);
  pointer-events: none;
}
.plate small {
  display: block;
  margin-top: 3px;
  font-family: var(--body);
  font-weight: 400;
  font-size: .48em;
  letter-spacing: .01em;
  color: var(--bone-dim);
}

@keyframes settle {
  from { opacity: 0; transform: translateY(10px) scale(.975); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Photos ---------- */
.shop {
  position: relative;
  background: var(--slate-deep);
  border-top: 3px solid var(--red);
  padding: 0 0 6px;
}
.shop h2 {
  margin: 0;
  padding: 26px 16px 18px;
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: .02em;
  color: var(--bone);
}
.shop ul {
  list-style: none;
  margin: 0;
  padding: 0 16px 16px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.shop ul::-webkit-scrollbar { display: none; }
.shop li {
  scroll-snap-align: center;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #1d1d1d;
}
.shop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.04);
}
@media (min-width: 720px) {
  .shop ul {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-columns: auto;
    gap: 6px;
    padding: 0 6px 6px;
    overflow: visible;
  }
  .shop li { aspect-ratio: 4 / 5; }
}

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(255,255,255,.05), transparent 70%),
    var(--slate);
  padding: clamp(44px, 7vw, 84px) 16px clamp(28px, 4vw, 44px);
}
.contact__grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  gap: 34px 28px;
}
@media (min-width: 720px) {
  .contact__grid { grid-template-columns: repeat(3, 1fr); }
}
.contact h2 {
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  letter-spacing: .02em;
  color: #fff;
}
.contact p {
  margin: 0;
  font-size: 19px;
  line-height: 1.45;
}
.contact p + p { margin-top: 6px; }
.contact .opening { color: var(--red-bright); font-weight: 600; }
.contact a {
  display: inline-block;
  border-bottom: 1px solid rgba(243,239,232,.35);
  transition: border-color .15s, color .15s;
}
.contact a:hover { color: #fff; border-color: var(--red-bright); }
.contact address { font-style: normal; }
.contact__foot {
  max-width: 1040px;
  margin: clamp(40px, 6vw, 72px) auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
  font-size: 14px;
  color: var(--bone-dim);
}

/* Phones: bigger badge, ribbons tucked up behind its lower point, no cropped stub of the upper swoosh */
@media (max-width: 600px) {
  .hero__logo { width: 92vw; }
  .hero__ribbons { transform: translateY(-8%); }
  .hero__upper { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__logo, .plate { animation: none; }
  .contact a { transition: none; }
}
