/* Baird's Homestead Store — refined parchment editorial.
   Palette and arrowhead mark from the family's flyer; ornament kept quiet. */

@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-var.woff") format("woff"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-italic-var.woff") format("woff"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("../fonts/libre-baskerville-var.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("../fonts/libre-baskerville-italic-var.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Satisfy"; src: url("../fonts/satisfy.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --parchment: #f7f0e3;
  --parchment-deep: #efe4d0;
  --cream: #fbf7ef;
  --brown: #3b2412;
  --brown-deep: #2a1a0e;
  --brown-soft: #5e4333;
  --red: #9e2a22;
  --red-deep: #7d1f1a;
  --kraft: #c4a574;
  --ink: #3b2412;
  --line: color-mix(in srgb, var(--brown) 22%, var(--parchment));
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-serif: "Libre Baskerville", Palatino, Georgia, serif;
  --font-script: "Satisfy", "Brush Script MT", cursive;
  --wrap: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: #d9c7ab;
  background-image:
    linear-gradient(color-mix(in srgb, #d9c7ab 55%, transparent), color-mix(in srgb, #d9c7ab 55%, transparent)),
    url("../img/kraft.jpg");
  background-size: auto, 420px;
}

img, svg { max-width: 100%; height: auto; display: block; }
iframe { border: 0; width: 100%; }
picture { display: block; }

a { color: var(--red-deep); text-underline-offset: 0.16em; }
a:hover { color: var(--red); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: 0.75rem; top: -4rem; z-index: 200;
  padding: 0.5rem 0.85rem; background: var(--brown); color: var(--cream); text-decoration: none;
}
.skip-link:focus { top: 0; color: var(--cream); }

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

/* Framed sheet
   -------------------------------------------------- */
.page {
  width: min(100% - 0.7rem, 76rem);
  margin: 0.55rem auto 1.6rem;
  background-color: var(--parchment);
  background-image:
    linear-gradient(color-mix(in srgb, var(--parchment) 78%, transparent), color-mix(in srgb, var(--parchment) 78%, transparent)),
    url("../img/flour-sack.jpg");
  background-size: auto, 520px;
  border: 1.5px solid var(--brown);
  box-shadow:
    0 0 0 5px var(--parchment),
    0 0 0 6.5px var(--brown),
    0 18px 44px rgba(42, 26, 14, 0.18);
}

.wrap { width: min(100% - 1.6rem, var(--wrap)); margin-inline: auto; }

/* Header
   -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--parchment) 88%, white);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--brown);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "brand phone" "nav nav";
  align-items: center;
  gap: 0.4rem 1rem;
  padding: 0.55rem 0 0.6rem;
}

.brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--brown);
  min-width: 0;
}
.brand:hover { color: var(--brown-deep); }
.brand-mark { width: 2.85rem; height: auto; flex: none; }
.brand-mark img { width: 100%; height: auto; }

.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brown);
}
.brand-sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown-soft);
  margin-top: 0.22rem;
}

.nav {
  grid-area: nav;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.65rem;
  justify-content: center;
}
.nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--brown);
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-size: 0 1px;
  background-repeat: no-repeat;
  padding-bottom: 0.08rem;
  transition: color 0.2s var(--ease), background-size 0.25s var(--ease);
}
.nav a:hover { color: var(--red); background-size: 100% 1px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.35rem;
  padding: 0.58rem 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 1.5px solid var(--brown);
  line-height: 1.2;
  background: var(--brown);
  color: var(--cream);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: var(--brown-deep); color: var(--cream); border-color: var(--brown-deep); }

.btn-red { background: var(--red); border-color: var(--red-deep); color: var(--cream); }
.btn-red:hover { background: var(--red-deep); color: var(--cream); border-color: var(--brown); }

.btn-ghost { background: transparent; color: var(--brown); }
.btn-ghost:hover { background: var(--brown); color: var(--cream); }

.btn-phone {
  grid-area: phone;
  width: auto;
  justify-self: end;
  padding: 0.42rem 0.8rem;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

@media (min-width: 64rem) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand nav phone";
    padding: 0.7rem 0;
  }
  .nav { justify-content: flex-end; gap: 0.15rem 1.15rem; }
  .nav a { font-size: 0.95rem; letter-spacing: 0.02em; }
  .btn-phone { font-size: 0.9rem; padding: 0.48rem 0.95rem; }
  .brand-mark { width: 3.15rem; }
  .brand-name { font-size: 1.28rem; }
}

/* Black Friday — typographic announcement, hidden after Nov 28, 2026
   -------------------------------------------------- */
.bf-band {
  margin: 0;
  padding: 1.35rem 0 1.5rem;
  background: color-mix(in srgb, var(--parchment-deep) 70%, var(--cream));
  border-bottom: 1px solid var(--brown);
}
.bf-band[hidden] { display: none; }

.bf-inner { max-width: 42rem; text-align: center; }

.bf-label {
  display: inline-block;
  margin: 0 0 0.55rem;
  padding: 0.28rem 0.95rem;
  background: var(--red);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.bf-date {
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--brown);
}
.bf-hours {
  margin: 0 0 1.05rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  color: var(--brown);
}

.bf-highlights {
  display: grid;
  gap: 0.55rem 1.25rem;
  margin: 0 auto 1rem;
  padding: 0.85rem 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bf-highlights li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--brown);
  line-height: 1.35;
}
@media (min-width: 44rem) {
  .bf-highlights {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: stretch;
  }
  .bf-highlights li {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.4rem;
  }
  .bf-highlights li + li {
    border-left: 1px solid var(--line);
    padding-left: 1.15rem;
  }
}

.bf-list {
  list-style: none;
  margin: 0 auto 0.95rem;
  padding: 0;
  max-width: 32rem;
  display: grid;
  gap: 0.15rem;
  text-align: center;
}
.bf-list li {
  padding: 0.12rem 0;
  color: var(--brown);
}
.check-list li {
  position: relative;
  padding: 0.12rem 0 0.12rem 1.05rem;
  color: var(--brown);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.28rem;
  height: 0.28rem;
  background: var(--brown);
  border-radius: 50%;
  transform: translateY(-50%);
}

.bf-tagline {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--brown-soft);
  text-wrap: balance;
}
.script-callout {
  margin: 0.7rem 0 0;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  color: var(--red);
  line-height: 1.3;
}

/* Hero
   -------------------------------------------------- */
.hero { padding: 2rem 0 2.6rem; text-align: center; }

.lockup { margin: 0 auto 0.35rem; max-width: 40rem; }
.lockup-mark { width: min(9.25rem, 52vw); height: auto; margin: 0 auto 0.85rem; }
.lockup-mark img { width: 100%; height: auto; }

.lockup-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.55rem, 10vw, 4.6rem);
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--brown);
  line-height: 0.92;
}
.lockup-name .rule {
  flex: 1;
  height: 1px;
  background: var(--brown);
  max-width: 4.25rem;
  opacity: 0.85;
}
.lockup-sub {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.72rem, 2.1vw, 0.98rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--brown);
}
.lockup-badge {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--brown-soft);
}

.hero h1 {
  margin: 1.15rem auto 0.35rem;
  max-width: 34rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.02rem, 2.1vw, 1.22rem);
  line-height: 1.45;
  color: var(--brown);
  text-wrap: balance;
}

.tagline-script {
  margin: 1.05rem auto 0.15rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: var(--red);
  line-height: 1.3;
}
.tagline-from {
  margin: 0 auto 1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--brown-soft);
}

.lead {
  margin: 0 auto 0.7rem;
  max-width: 36rem;
  font-style: italic;
  color: var(--brown-soft);
}
.family-lead {
  margin: 0 auto 1.25rem;
  max-width: 36rem;
  color: var(--brown);
}

.hero-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem;
  margin-bottom: 1.6rem;
}
@media (max-width: 24.99rem) {
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 20rem; margin-left: auto; margin-right: auto; }
}

.hero-photo {
  margin: 0 auto;
  max-width: 56rem;
  padding: 0.7rem;
  background: var(--cream);
  border: 1px solid var(--brown);
  box-shadow: 0 10px 28px rgba(42, 26, 14, 0.08);
}
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; }
.hero-photo figcaption,
.photo-card figcaption {
  margin: 0;
  padding: 0.7rem 0.4rem 0.25rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--brown-soft);
  text-align: center;
}

/* Sections
   -------------------------------------------------- */
.section { padding: 2.6rem 0 2.8rem; border-top: 1px solid var(--line); }

.section-title {
  margin: 0 auto 1.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  letter-spacing: 0.02em;
  color: var(--brown);
  text-align: center;
  line-height: 1.15;
}
.section-title::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--brown);
  margin: 0.7rem auto 0;
}

.section-kicker {
  margin: 0 0 0.2rem;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--brown-soft);
}

.prose { max-width: 40rem; margin: 0 auto; }
.prose p { margin: 0 0 0.95rem; }
.prose p:last-child { margin-bottom: 0; }

.about-grid { display: grid; gap: 1.75rem; align-items: start; }
@media (min-width: 52rem) {
  .about-grid { grid-template-columns: 1.05fr 0.95fr; gap: 2.4rem; align-items: center; }
  .about-copy .section-kicker,
  .about-copy .section-title { text-align: left; }
  .about-copy .section-title::after { margin-left: 0; }
  .about-copy .prose { margin: 0; }
}

/* Fresh from the oven
   -------------------------------------------------- */
.menu-intro { text-align: center; max-width: 38rem; margin: 0 auto 1.15rem; }

.check-list {
  list-style: none;
  margin: 0 auto 1.3rem;
  padding: 0;
  max-width: 32rem;
  display: grid;
  gap: 0.1rem 1.6rem;
}
@media (min-width: 32rem) { .check-list { grid-template-columns: 1fr 1fr; } }

.fb-cta { text-align: center; margin: 0 auto 1.6rem; }
.fb-cta .note {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--brown-soft);
}

.gallery {
  display: grid;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 36rem) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) {
  .gallery { grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
  .gallery li:nth-child(1),
  .gallery li:nth-child(2) { grid-column: span 3; }
  .gallery li:nth-child(3),
  .gallery li:nth-child(4),
  .gallery li:nth-child(5) { grid-column: span 2; }
}

.photo-card {
  margin: 0;
  background: var(--cream);
  border: 1px solid var(--brown);
  padding: 0.5rem 0.5rem 0;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-card figcaption { padding: 0.65rem 0.3rem 0.55rem; }

/* What we sell
   -------------------------------------------------- */
.card-grid {
  display: grid; gap: 1.15rem; list-style: none; margin: 0; padding: 0;
}
@media (min-width: 44rem) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.tag-card {
  background: color-mix(in srgb, var(--cream) 70%, var(--parchment-deep));
  border: 1px solid var(--brown);
  padding: 1.25rem 1.15rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 100%;
}
.tag-card h3 {
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  color: var(--brown);
  line-height: 1.25;
}
.tag-card p { margin: 0; color: var(--brown-soft); font-size: 0.98rem; }

.candle-accents {
  display: flex; gap: 0.5rem; margin-top: 0.55rem;
}
.candle-accents img {
  width: 5.1rem; height: 5.1rem; object-fit: cover;
  border: 1px solid var(--brown);
  flex: none;
}

/* Hours + visit
   -------------------------------------------------- */
.visit-grid { display: grid; gap: 1.25rem; }
@media (min-width: 52rem) {
  .visit-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: stretch; }
}

.hours-card, .kraft-card {
  border: 1px solid var(--brown);
  padding: 1.3rem 1.25rem 1.4rem;
  background: color-mix(in srgb, var(--cream) 65%, var(--parchment));
}
.hours-card h2, .kraft-card h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--brown);
  text-align: center;
}
.hours-card .section-kicker, .kraft-card .section-kicker { margin-bottom: 0.1rem; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td {
  text-align: left; padding: 0.55rem 0.2rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--brown);
}
.hours-table th { font-weight: 600; width: 48%; }
.hours-table td { text-align: right; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }

.note { margin: 0 0 0.9rem; color: var(--brown); }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  margin: 0 0 0.75rem;
  display: grid; grid-template-columns: 1.3rem 1fr; gap: 0.5rem; align-items: start;
}
.contact-list li:last-child { margin-bottom: 0; }
.contact-list .icon { width: 1.1rem; height: 1.1rem; margin-top: 0.35rem; color: var(--brown); }
.contact-list .label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown-soft);
}
.kraft-card a { color: var(--red-deep); font-weight: 700; }

.map-wrap { margin-top: 1.4rem; }
.map-frame {
  position: relative; margin: 0;
  border: 1px solid var(--brown);
  padding: 0.5rem;
  background: var(--cream);
  min-height: 18rem;
}
.map-fallback-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.4rem; text-align: center; min-height: 22rem; padding: 1.4rem 1rem;
  background: var(--parchment-deep);
}
.map-fallback-card p { margin: 0; }
.map-fallback-card .map-address { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.map-frame iframe {
  position: absolute; inset: 0.5rem;
  width: calc(100% - 1rem); height: calc(100% - 1rem);
  min-height: 22rem; background: transparent;
}
.map-fallback { margin: 0.55rem 0 0; font-size: 0.95rem; }

/* Footer
   -------------------------------------------------- */
.site-footer {
  background: var(--brown-deep);
  color: var(--parchment);
  padding: 1.7rem 0 1.85rem;
  font-size: 0.95rem;
}
.site-footer a { color: #f3e6d0; }
.site-footer a:hover { color: #fff; }
.footer-inner { text-align: center; }
.footer-name {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  font-size: 0.92rem;
}
.footer-meta { margin: 0 0 0.3rem; overflow-wrap: anywhere; }

/* Motion
   -------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero .lockup { animation: rise 0.8s var(--ease) both; }
  .hero h1 { animation: rise 0.8s var(--ease) 0.08s both; }
  .tagline-script, .tagline-from { animation: rise 0.8s var(--ease) 0.14s both; }
  .lead, .family-lead { animation: rise 0.8s var(--ease) 0.2s both; }
  .hero-actions { animation: rise 0.8s var(--ease) 0.26s both; }
  .hero-photo { animation: rise 0.9s var(--ease) 0.22s both; }

  .btn:hover { transform: translateY(-1px); }
  .photo-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(42, 26, 14, 0.12); }

  .reveal.is-visible { animation: rise 0.7s var(--ease) both; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero-actions, .map-frame, .bf-band { display: none; }
  body, .page { background: #fff; box-shadow: none; }
}
