/* DairyFolks — dairyfolks.com
   Plain HTML + CSS rebuild of the original WordPress site. */

:root {
  --red: #e20916;
  --red-dark: #b10f18;
  --ink: #161616;
  --black: #110000;
  --grey: #444;
  --muted: #888;
  --line: #d9d9d9;
  --kraft: #b98a56;
  --wrap: 1140px;
  --sans: Montserrat, Helvetica, Arial, sans-serif;
  --serif: "IM Fell English", Georgia, "Times New Roman", serif;
  --display: "IM Fell Double Pica", "IM Fell English", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0 0 20px; }
ul { margin: 0; padding: 0; list-style: none; }

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: #fff; color: #000; padding: 10px 16px; font-family: var(--sans); }
.skip:focus { left: 10px; top: 10px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- Navigation ---------- */
.menu { display: flex; flex-wrap: wrap; justify-content: center; }
.menu a {
  display: block;
  padding: 0 20px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 55px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--grey);
}
.menu a:hover, .menu a:focus, .menu a[aria-current] { color: var(--red); }

/* Home hero menu: white on kraft */
.hero .menu { padding-top: 18px; }
.hero .menu a { color: #fff; }
.hero .menu a:hover, .hero .menu a:focus { color: var(--black); }

/* White bar: sticks to the top once reached */
.bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid #ededed;
}
.bar .wrap { display: flex; align-items: center; min-height: 55px; }
.bar__logo { flex: none; margin-right: 46px; }
.bar__logo img { width: 154px; height: 70px; object-fit: contain; margin: -8px 0; }
.bar .menu { justify-content: flex-start; }
.bar--inner .wrap { min-height: 90px; }
.bar--inner .menu { margin-left: auto; }
.bar--inner .bar__logo img { margin: 0; }

.toolbar { background: #000; color: #fff; font-family: var(--sans); font-size: 12px; line-height: 35px; }

/* ---------- Home: hero ---------- */
.hero {
  min-height: 100vh;
  background: var(--kraft) url("/images/kraft_paper_background.jpg") center / cover;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.hero__body { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 20vh 20px 12vh; }
.hero h1 { margin: 0; }
.hero h1 img { width: 600px; }
.hero__lede { margin: 90px 0 0; font-family: var(--display); font-size: 15px; line-height: 19px; }
.hero__arrow { display: block; margin-top: 20px; font-family: var(--display); font-size: 15px; text-decoration: none; }

/* ---------- Home: story ---------- */
.story {
  min-height: 841px;
  padding: 189px 20px 120px;
  background: #fff url("/images/our_cow_story.jpg") center / cover;
  text-align: center;
}
.kicker {
  margin: 0 0 40px;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: var(--red);
}
.story p { max-width: 605px; margin-left: auto; margin-right: auto; }
.story__sig { width: 112px; margin: 26px auto 0; }

/* ---------- Home: statement over the cow photo ---------- */
.statement {
  min-height: 841px;
  background: var(--kraft) url("/images/dairyfolks_cow_background.jpg") center / cover;
  display: grid;
  grid-template-columns: 25% 1fr;
  align-items: start;
  padding: 295px 15px 120px;
}
.statement img { width: 250px; }
.statement p {
  margin: 0;
  max-width: 1398px;
  font-family: var(--sans);
  font-size: clamp(26px, 2.36vw, 45px);
  font-weight: 700;
  line-height: 1.29;
  letter-spacing: -0.045em;
  color: var(--red);
}

/* ---------- Home: products ---------- */
.product-row { display: grid; grid-template-columns: 1fr 1fr; align-items: start; padding: 51px 0 0; }
.product-row__img { padding-left: 9.14vw; }
.product-row__text { padding: 60px 15px 0; max-width: 635px; }
.product-row h2 {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: clamp(40px, 3.15vw, 60px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.05em;
  color: var(--black);
}
.product-row h2 span { display: block; }
.tagline { margin: 0 0 18px; font-family: var(--display); font-style: italic; font-size: 26px; line-height: 33px; color: var(--red); }
.facts li { line-height: 26px; }
.flavours { color: var(--red-dark); }
.btn {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 20px;
  border: 2px solid #252525;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  line-height: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: #252525;
}
.btn:hover, .btn:focus { background: #252525; color: #fff; }

.quotes {
  max-width: 1070px;
  margin: 105px auto 100px;
  padding: 44px 0 40px;
  border-top: 1px dotted #b9b9b9;
  border-bottom: 1px dotted #b9b9b9;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.quotes blockquote { margin: 0; }
.quotes p { margin: 0 0 14px; font-family: var(--display); font-style: italic; font-size: 18px; line-height: 23px; color: #000; }
.quotes cite { font-family: var(--display); font-style: italic; font-size: 13px; line-height: 16px; color: var(--red-dark); }

.product-row--last { padding-bottom: 111px; }

/* ---------- Home: we adore our cows ---------- */
.adore {
  min-height: 841px;
  background: var(--kraft) url("/images/dairyfolks_background3.jpg") center / cover;
  padding: 75px 15px 80px;
}
.adore h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(44px, 5.25vw, 100px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.08em;
  color: var(--black);
}
.adore .tagline { font-size: clamp(24px, 2.1vw, 40px); line-height: 1.3; margin: 18px 0 99px; }
.adore__body { display: grid; grid-template-columns: 635px 1fr; align-items: start; }
.adore__body img { width: 496px; }

/* ---------- FAQ ---------- */
.faq { padding: 100px 0 90px; }
.faq .kicker { text-align: center; }
.faq dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; }
.faq div { border-top: 1px dotted #b9b9b9; padding: 24px 0 8px; }
.faq dt { font-family: var(--sans); font-size: 16px; font-weight: 700; line-height: 22px; color: var(--black); margin-bottom: 8px; }
.faq dd { margin: 0 0 16px; }
.faq a { color: var(--red-dark); }

/* ---------- Footer ---------- */
.footer { background: var(--kraft) url("/images/kraft_paper_background.jpg") center / cover; padding: 50px 0 45px; }
.footer .wrap { display: grid; grid-template-columns: 1fr 230px 230px; gap: 0; align-items: start; }
.footer__logo img { width: 250px; margin-left: 22px; }
.footer h2 {
  margin: 0 0 16px;
  max-width: 202px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 800;
  line-height: 23px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #070707;
}
.footer p, .footer address { max-width: 202px; margin: 0; font-style: normal; font-size: 14px; line-height: 23px; color: #1e1e1e; }
.footer a { text-decoration: none; }
.footer a:hover, .footer a:focus { text-decoration: underline; }
.subfooter { background: #1a1a1a; color: #fff; font-family: var(--sans); font-size: 11px; line-height: 16px; letter-spacing: 1px; text-transform: uppercase; padding: 22px 0; }
.subfooter a { color: #fff; text-decoration: none; }

/* ---------- Inner pages ---------- */
.page-title { background: #f6f6f6; padding: 36px 0; }
.page-title p, .page-title h1 { margin: 0; font-family: var(--sans); font-size: 18px; font-weight: 400; line-height: 24px; letter-spacing: 3px; text-transform: uppercase; color: #4d4d4d; }

.crumbs { font-family: var(--sans); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); padding: 18px 0 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }

/* Product detail */
.product { display: grid; grid-template-columns: 528px 1fr; gap: 44px; padding: 50px 20px 80px; }
.product__summary { position: relative; padding-top: 61px; }
.badge { position: absolute; right: 0; top: 18px; padding: 8px 14px; border: 1px solid #b5b5b5; font-family: var(--sans); font-size: 11px; line-height: 14px; color: #777; }
.product h1 { margin: 0 0 22px; font-family: var(--sans); font-size: 48px; font-weight: 700; line-height: 57px; letter-spacing: -0.02em; color: #000; }
.price { margin: 0 0 22px; font-size: 30px; line-height: 36px; color: var(--red); }
.product__summary p, .product__summary li { font-size: 14px; line-height: 22px; color: var(--muted); }
.product__summary h2 { margin: 22px 0 4px; font-family: var(--serif); font-size: 14px; font-weight: 700; line-height: 22px; color: var(--red-dark); }
.product__summary .note { font-style: italic; }
.product__next { margin-top: 30px; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.product__next a { color: #252525; }

/* CSS-only product gallery: radio buttons pick the large image */
.gallery { position: relative; }
.gallery input { position: absolute; opacity: 0; pointer-events: none; }
.gallery__stage { position: relative; aspect-ratio: 1 / 1; }
.gallery__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .3s; }
#g1:checked ~ .gallery__stage img:nth-child(1),
#g2:checked ~ .gallery__stage img:nth-child(2),
#g3:checked ~ .gallery__stage img:nth-child(3),
#g4:checked ~ .gallery__stage img:nth-child(4) { opacity: 1; }
.gallery__thumbs { display: flex; gap: 7px; justify-content: center; margin-top: 6px; }
.gallery__thumbs label { display: block; width: 81px; border: 2px solid transparent; cursor: pointer; }
.gallery__thumbs img { width: 100%; }
#g1:checked ~ .gallery__thumbs label[for=g1],
#g2:checked ~ .gallery__thumbs label[for=g2],
#g3:checked ~ .gallery__thumbs label[for=g3],
#g4:checked ~ .gallery__thumbs label[for=g4] { border-color: #000; }
#g1:focus-visible ~ .gallery__thumbs label[for=g1],
#g2:focus-visible ~ .gallery__thumbs label[for=g2],
#g3:focus-visible ~ .gallery__thumbs label[for=g3],
#g4:focus-visible ~ .gallery__thumbs label[for=g4] { outline: 2px solid var(--red); }

/* Our Farm photo grid: one large tile, then four small ones */
.farm-intro { padding: 44px 20px 40px; text-align: center; }
.farm-intro h1 { margin: 0 0 16px; font-family: var(--sans); font-size: 20px; font-weight: 700; line-height: 26px; letter-spacing: 7px; text-transform: uppercase; color: var(--red); }
.farm-intro p { max-width: 605px; margin: 0 auto; }
.farm { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; }
.farm figure { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #ddd; }
.farm figure:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; }
.farm a { display: block; height: 100%; }
.farm img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.farm figcaption {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.farm figure:hover figcaption, .farm a:focus + figcaption, .farm figure:focus-within figcaption { opacity: 1; }
.farm figure:hover img { transform: scale(1.04); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .product { grid-template-columns: 1fr 1fr; }
  .adore__body { grid-template-columns: 1fr 1fr; gap: 30px; }
  .quotes { grid-template-columns: repeat(2, 1fr); margin-left: 20px; margin-right: 20px; }
}
@media (max-width: 820px) {
  .menu a { padding: 0 11px; font-size: 12px; line-height: 44px; }
  .bar .wrap { flex-direction: column; padding-top: 8px; }
  .bar__logo { margin: 0; }
  .bar .menu, .bar--inner .menu { margin: 0; justify-content: center; }
  .hero h1 img { width: min(600px, 82vw); }
  .story, .statement, .adore { min-height: 0; }
  .story { padding-top: 100px; padding-bottom: 90px; }
  .statement { grid-template-columns: 1fr; gap: 30px; padding: 120px 20px 100px; }
  .product-row { grid-template-columns: 1fr; }
  .product-row__img { padding: 0 20px; }
  .product-row__img img { margin: 0 auto; }
  .product-row__text { padding: 40px 20px 0; max-width: none; }
  .adore { padding: 60px 20px; }
  .adore .tagline { margin-bottom: 50px; }
  .adore__body { grid-template-columns: 1fr; }
  .faq dl { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr; gap: 34px; }
  .footer__logo img { margin-left: 0; }
  .product { grid-template-columns: 1fr; }
  .product h1 { font-size: 36px; line-height: 44px; }
  .farm { grid-template-columns: repeat(2, 1fr); }
  .farm figcaption { opacity: 1; inset: auto 0 0 0; padding: 10px; font-size: 11px; line-height: 15px; letter-spacing: 1px; }
}
@media (max-width: 520px) {
  .quotes { grid-template-columns: 1fr; }
  .kicker { letter-spacing: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .farm img, .gallery__stage img, .farm figcaption { transition: none; }
}
.product__summary .price{font-size:30px;line-height:36px;color:#e20916}
.product__summary .badge{font-size:11px;line-height:14px;color:#777;margin:0}
.product__summary .product__next{font-size:11px;line-height:16px}
