:root {
  --ink: #1d1b17;
  --muted: #6d675d;
  --cream: #f7f2e9;
  --paper: #fffdf8;
  --sand: #e8decd;
  --olive: #33422d;
  --brown: #684329;
  --line: rgba(29, 27, 23, 0.16);
  --max-width: 1220px;
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-180%);
  background: var(--ink);
  color: white;
  padding: 0.65rem 1rem;
}
.skip-link:focus { transform: translateY(0); }

.page-shell {
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
}

.announcement {
  background: var(--ink);
  color: #f8f1e6;
  padding: 0.58rem 1.5rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.navbar {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}
.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1.55rem;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.78rem;
  color: #48433b;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--brown); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.15rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  transition: 160ms ease;
}
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: var(--brown); }
.button-outline { border-color: var(--ink); background: transparent; }
.button-outline:hover { background: var(--ink); color: white; }
.button-light { background: var(--cream); color: var(--ink); }
.button-light:hover { background: white; }
.button-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0 10px;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--ink);
  margin: 6px 0;
}

.hero {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 500px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem clamp(2rem, 4vw, 4.5rem);
}
.eyebrow {
  margin: 0 0 1rem;
  color: var(--brown);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow.light { color: #d9c7af; }
.hero h1,
.menu-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.hero h1 {
  font-size: clamp(3rem, 4.5vw, 5.25rem);
}
.hero-intro {
  max-width: 31rem;
  margin: 2rem 0 2rem;
  color: var(--muted);
  font-size: 1rem;
}
.fine-print {
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: 0.73rem;
  letter-spacing: 0.05em;
}
.hero-image {
  min-height: 500px;
  overflow: hidden;
  background: var(--sand);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section-pad { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.values { background: var(--paper); border-bottom: 1px solid var(--line); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.value-item {
  padding: 0.8rem 2rem 0.8rem 0;
  border-right: 1px solid var(--line);
}
.value-item + .value-item { padding-left: 2rem; }
.value-item:last-child { border-right: 0; }
.value-number { display: block; color: var(--brown); font-size: 0.72rem; letter-spacing: 0.1em; }
.value-item h2 { margin: 1.2rem 0 0.4rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }
.value-item p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.65; }

.baking-section { background: var(--paper); }
.section-heading { margin-bottom: 2.2rem; }
.split-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.section-heading h2,
.story-copy h2,
.order-heading h2,
.contact-panel h2,
.menu-category-heading h2,
.menu-note h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}
.section-heading h2 { font-size: clamp(2.8rem, 5vw, 5rem); }
.text-link { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 0.1rem; font-size: 0.82rem; }
.text-link:hover { color: var(--brown); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem; }
.product-card { min-width: 0; }
.product-image-wrap {
  display: block;
  overflow: hidden;
  background: var(--sand);
  aspect-ratio: 4 / 5;
}
.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 400ms ease;
}
.product-image-wrap:hover img { transform: scale(1.025); }
.product-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-top: 1rem; }
.product-kicker { margin: 0 0 0.25rem; color: var(--brown); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; }
.product-card h3 { margin: 0; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; line-height: 1.1; }
.price { white-space: nowrap; font-size: 0.82rem; font-weight: 600; }
.product-card > p { margin: 0.7rem 0 0; color: var(--muted); font-size: 0.82rem; line-height: 1.6; }

.story-section {
  display: grid;
  grid-template-columns: 58% 42%;
  min-height: 520px;
  background: var(--sand);
}
.story-image {
  min-height: 520px;
  overflow: hidden;
}
.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.story-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 6rem); }
.story-copy h2 { font-size: clamp(3rem, 5vw, 5.2rem); }
.story-copy p:not(.eyebrow) { max-width: 32rem; color: #514b42; margin: 1.5rem 0 0; }
.story-copy .text-link { align-self: flex-start; margin-top: 2rem; }

.order-section { background: var(--cream); }
.order-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); }
.order-heading h2 { font-size: clamp(3rem, 5vw, 5rem); }
.order-heading > p:last-child { max-width: 29rem; color: var(--muted); margin-top: 1.4rem; }
.steps-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.steps-list li { display: grid; grid-template-columns: 60px 1fr; gap: 1.4rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.steps-list li > span { color: var(--brown); font-size: 0.75rem; }
.steps-list h3 { margin: 0 0 0.35rem; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.steps-list p { margin: 0; color: var(--muted); font-size: 0.88rem; }

.contact-panel { background: var(--olive); color: #f9f3e8; padding: clamp(4rem, 8vw, 7rem) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: end; }
.contact-panel h2 { font-size: clamp(3rem, 6vw, 6rem); max-width: 760px; }
.contact-action { max-width: 330px; }
.contact-action p { margin: 0 0 1.3rem; color: #d9d2c7; font-size: 0.86rem; }

.site-footer { padding: 3rem 0; background: #171612; color: #ded8ce; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem 5rem; align-items: start; }
.footer-brand { color: white; }
.site-footer p { margin: 0.65rem 0 0; color: #aaa398; font-size: 0.78rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; }
.footer-links a { color: white; text-decoration: none; font-size: 0.78rem; }
.legal { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.16); }

/* MENU PAGE */
.menu-hero { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--cream); border-bottom: 1px solid var(--line); }
.menu-hero-grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: 4rem; align-items: end; }
.menu-hero h1 { font-size: clamp(4rem, 10vw, 9rem); }
.menu-intro { max-width: 450px; justify-self: end; }
.menu-intro p { margin: 0 0 1.5rem; color: var(--muted); }
.menu-section { background: var(--paper); }
.menu-category-heading { margin-bottom: 2rem; }
.menu-category-heading h2 { font-size: clamp(2.6rem, 5vw, 4.8rem); }
.category-spacing { margin-top: 6rem; }
.menu-list { border-top: 1px solid var(--line); }
.menu-item { display: grid; grid-template-columns: minmax(180px, 320px) 1fr; gap: clamp(1.5rem, 5vw, 4rem); padding: 2rem 0; border-bottom: 1px solid var(--line); }
.menu-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
  background: var(--sand);
}
.menu-item-copy { align-self: center; }
.menu-item-topline { display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline; }
.menu-item h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; }
.menu-item-copy > p { max-width: 620px; color: var(--muted); margin: 0.8rem 0 1.2rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag-row span { border: 1px solid var(--line); border-radius: 100px; padding: 0.28rem 0.65rem; color: #5e584f; font-size: 0.68rem; }
.menu-note { margin-top: 6rem; padding: 3rem; background: var(--sand); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.menu-note h2 { font-size: clamp(2.3rem, 4vw, 4rem); }
.menu-note > p { margin: 0; color: #514b42; align-self: end; }

@media (max-width: 980px) {
  .navbar { grid-template-columns: 1fr auto; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.5rem 1.5rem;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 0.55rem 0; }
  .menu-toggle { display: block; }
  .nav-order { display: none; }
  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: 460px;
  }
  .hero-image { min-height: 460px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .value-item:nth-child(2) { border-right: 0; }
  .value-item:nth-child(3) { padding-left: 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .story-section { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .page-shell { width: min(calc(100% - 2rem), var(--max-width)); }
  .announcement { font-size: 0.62rem; }
  .navbar { min-height: 66px; }
  .brand { font-size: 1.05rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { min-height: auto; padding: 4rem 1.25rem; }
  .hero-image { min-height: 300px; }
  .hero-image img { object-position: center; }
  .value-grid { grid-template-columns: 1fr; }
  .value-item,
  .value-item + .value-item { padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .split-heading { align-items: flex-start; flex-direction: column; }
  .product-grid { grid-template-columns: 1fr; }
  .story-section { grid-template-columns: 1fr; }
  .story-image { min-height: 320px; }
  .story-image img { height: 320px; }
  .order-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .menu-hero-grid { grid-template-columns: 1fr; }
  .menu-intro { justify-self: start; }
  .menu-item { grid-template-columns: 1fr; }
  .menu-item img { max-height: 360px; }
  .menu-note { grid-template-columns: 1fr; padding: 2rem; }
}





/* ========================================
   WHOLE-GRAIN STORY SECTION
======================================== */

.grain-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding: clamp(4rem, 7vw, 7rem) clamp(1.5rem, 7vw, 7rem);
  background: #f2eadc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Controls the overall photograph size */
.grain-story-image {
  width: 100%;
  max-width: 460px;
  height: 500px;
  justify-self: center;
  overflow: hidden;
}

/* Controls how the photograph is cropped */
.grain-story-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% 75%;
}

.grain-story-content {
  max-width: 680px;
}

.grain-story-content h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.6rem, 4.2vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.grain-story-content p {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.grain-story-content .grain-story-lead {
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.65;
}

.grain-story-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.grain-story-links a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
}

.grain-story-links a:hover {
  opacity: 0.65;
}

/* Phone and tablet layout */
@media (max-width: 850px) {
  .grain-story {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 1.5rem 3.5rem;
  }

  .grain-story-image {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 16 / 10;
  }

  .grain-story-content {
    max-width: none;
  }
}

.fresh-milling {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.grain-story-closing {
  margin-top: 2rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.4;
}






/*Legal*/
.cottage-food-notice {
  margin: 1.25rem 0;
  padding-left: 1rem;
  border-left: 2px solid var(--ink);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}