/* Modern Nesting design system measured against the published website.
   Keep typography, spacing and responsive rules here; edit content in HTML. */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,400&display=swap');

:root {
  --bg:#faf8f5; --paper:#faf8f5; --ink:#322e2a; --muted:#777069;
  --sage:#69785e; --olive:#536047; --terracotta:#b8846f;
  --secondary:#f1ece4; --line:#e4ddd3; --radius:32px;
  --serif:'Cormorant Garamond',Georgia,serif; --sans:'DM Sans',sans-serif;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--bg); color:var(--ink); font:400 16px/1.5 var(--sans); -webkit-font-smoothing:antialiased; }
h1,h2,h3,h4,p,blockquote { margin:0; }
h1,h2,h3,h4 { font-family:var(--serif); font-weight:400; }
a { color:inherit; text-decoration:none; }
img { display:block; max-width:100%; }
button,input,textarea { font:inherit; }
button,a { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
[hidden] { display:none!important; }
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible { outline:2px solid var(--sage); outline-offset:4px; }
.site-header { height:80px; max-width:1440px; padding:0 40px; margin:auto; display:flex; align-items:center; justify-content:space-between; gap:24px; position:sticky; top:0; z-index:20; background:var(--bg); }
.wordmark { display:flex; flex-direction:column; flex-shrink:0; }
.wordmark span { font-family:var(--serif); font-size:26px; line-height:28px; }
.wordmark small { font-size:9px; line-height:13.5px; letter-spacing:1.8px; margin-top:4px; text-transform:uppercase; color:var(--muted); }
.desktop-nav { display:flex; align-items:center; gap:32px; }
.desktop-nav a { font-size:12px; line-height:16px; text-transform:uppercase; }
.desktop-nav a:hover,.desktop-nav a[aria-current=page] { color:var(--terracotta); }
.header-actions { display:flex; align-items:center; gap:12px; }
.search-pill { min-width:150px; width:150px; padding:8px 16px; border-radius:999px; background:var(--secondary); color:var(--muted); font-size:14px; line-height:20px; }
.newsletter-btn { display:inline-flex; border-radius:999px; background:var(--sage); color:var(--bg); padding:12px 20px; font-size:12px; line-height:16px; }
.icon-btn { display:none; border:0; background:transparent; padding:8px; font-size:24px; }
.drawer-backdrop { position:fixed; inset:0; z-index:50; background:#322e2a55; }
.drawer { margin-left:auto; width:min(390px,90vw); height:100%; background:var(--bg); padding:24px; }
.drawer-close { float:right; background:none; border:0; font-size:28px; }
.drawer nav { padding-top:60px; display:flex; flex-direction:column; gap:24px; }
.drawer nav a { font:400 28px/1.2 var(--serif); }
.eyebrow { font-size:11.2px; line-height:16.8px; letter-spacing:2.24px; text-transform:uppercase; color:var(--terracotta); }
.hero { max-width:1440px; margin:auto; padding:48px 40px 0; display:grid; grid-template-columns:5fr 7fr; gap:48px; align-items:center; }
.hero h1 { font:400 64px/1 var(--serif); margin:24px 0 0; letter-spacing:normal; }
.hero>div>p:not(.eyebrow) { max-width:448px; font-size:18px; line-height:29.25px; color:var(--muted); margin-top:28px; }
.hero img { width:100%; height:auto; aspect-ratio:16/11; object-fit:cover; border-radius:32px; }
.home-hero-actions { display:flex; gap:16px; flex-wrap:wrap; margin-top:36px; }
.primary,.secondary { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:14px 28px; border-radius:999px; font-size:14px; line-height:20px; letter-spacing:.35px; border:1px solid transparent; }
.primary { background:var(--sage); color:var(--bg); }
.primary:hover { background:var(--olive); }
.secondary { border-color:#322e2a4d; }
.content-section { max-width:1440px; margin:auto; padding:128px 40px; }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:48px; }
.section-heading .eyebrow { margin-bottom:12px; }
.section-heading h2,.newsletter h2 { font-size:48px; line-height:1; }
.section-heading>a { font-size:14px; line-height:20px; }
.category-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.category-tile { display:flex; align-items:end; aspect-ratio:4/5; padding:16px; border-radius:16px; background-size:cover; background-position:center; overflow:hidden; }
.category-tile span { font:400 20px/28px var(--serif); color:white; }
.featured-home { max-width:1280px; padding-top:16px; padding-bottom:16px; }
.featured-home .section-heading>a { display:none; }
.article-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:56px 32px; }
.featured-home .article-grid { grid-template-columns:repeat(6,minmax(0,1fr)); }
.featured-home .card { grid-column:span 2; }
.featured-home .card:nth-child(-n+2) { grid-column:span 3; margin-bottom:0; }
.card img { width:100%; aspect-ratio:4/3; height:auto; object-fit:cover; border-radius:16px; background:var(--secondary); }
.featured-home .card:nth-child(-n+2) img { aspect-ratio:16/10; }
.card .eyebrow { margin:20px 0 12px; }
.card h3 { font-size:30px; line-height:36px; margin-bottom:16px; }
.featured-home .card:nth-child(-n+2) h3 { font-size:36px; line-height:40px; }
.card>p:not(.eyebrow) { color:var(--muted); line-height:26px; margin-bottom:16px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.card small { display:block; font-size:12px; color:var(--muted); line-height:16px; }
.card small b,.byline b { font-weight:400; margin:0 8px; }
.read { display:inline-flex; align-items:center; gap:8px; font-size:14px; line-height:20px; margin-top:20px; }
.curated-home { margin-top:32px; }
.curated-intro { display:block; }
.curated-copy { text-align:center; max-width:672px; margin:0 auto 56px; }
.curated-copy .eyebrow { margin-bottom:12px; }
.curated-copy h2 { font:400 48px/1 var(--serif); }
.curated-copy p:not(.eyebrow) { margin-top:20px; color:var(--muted); font-size:18px; line-height:28px; }
.curated-copy .primary { display:none; }
.curated-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:24px; }
.curated-card { position:relative; overflow:hidden; border-radius:16px; }
.curated-card:after { content:''; position:absolute; inset:0; background:linear-gradient(to top,#322e2a99,transparent 65%); pointer-events:none; }
.curated-card img { width:100%; aspect-ratio:4/5; object-fit:cover; }
.curated-card h3 { position:absolute; bottom:16px; left:16px; right:16px; z-index:1; color:white; font:400 20px/28px var(--serif); }
.brand-quote { background:#f1ece499; text-align:center; padding:144px 24px; }
.brand-quote blockquote { max-width:848px; margin:auto; font:italic 400 36px/1.375 var(--serif); }
.brand-quote>p { margin-top:28px; color:var(--muted); font-size:12px; letter-spacing:2.4px; }
.newsletter { text-align:center; padding:128px 20px; }
.newsletter>* { max-width:672px; margin-left:auto; margin-right:auto; }
.newsletter .eyebrow { margin-bottom:20px; }
.newsletter h2 { line-height:1; }
.newsletter>p:not(.eyebrow) { margin-top:24px; color:var(--muted); font-size:18px; line-height:28px; }
.newsletter form { display:flex; justify-content:center; gap:12px; margin-top:32px; max-width:576px; }
.newsletter input { flex:1; min-width:0; background:transparent; border:1px solid var(--line); border-radius:999px; padding:14px 20px; }
.newsletter button { background:var(--terracotta); color:var(--bg); border:0; border-radius:999px; padding:14px 28px; font-size:14px; }
footer { border-top:1px solid var(--line); padding:64px 40px 32px; max-width:1440px; margin:auto; display:grid; grid-template-columns:2fr repeat(3,1fr); gap:48px; }
footer h3 { font-size:30px; line-height:36px; }
footer>div { display:flex; flex-direction:column; align-items:start; gap:12px; }
footer>div>p:not(.eyebrow),footer a,footer span { font-size:14px; color:var(--muted); line-height:22px; }
footer .eyebrow { margin-bottom:8px; color:var(--ink); }
.social { display:flex; gap:12px; }
.social span { border:1px solid var(--line); border-radius:50%; width:36px; height:36px; display:grid; place-items:center; }
.copyright { grid-column:1/-1; width:100%; flex-direction:row; justify-content:space-between; border-top:1px solid var(--line); padding-top:24px; margin-top:16px; font-size:12px; color:var(--muted); }
.top-space { padding-top:80px; }
.section-title { text-align:center; max-width:768px; margin:0 auto 64px; }
.section-title .eyebrow { margin-bottom:20px; }
.section-title h1 { font:400 60px/1 var(--serif); }
.section-title>p:last-child:not(.eyebrow) { margin:24px auto 0; font-size:18px; line-height:28px; color:var(--muted); max-width:576px; }
.filters { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin:0 0 56px; }
.filters button { border:0; background:var(--secondary); padding:8px 20px; border-radius:999px; font-size:14px; line-height:20px; color:var(--ink); }
.filters button.active { background:var(--sage); color:var(--bg); }
.article-page { max-width:1280px; margin:auto; padding:56px 40px 96px; }
.back { display:inline-flex; gap:8px; margin-bottom:40px; font-size:14px; }
.article-page>.eyebrow,.article-page>h1,.byline { text-align:center; }
.article-page>h1 { max-width:896px; margin:20px auto 24px; font:400 60px/1.05 var(--serif); }
.byline { font-size:14px; color:var(--muted); margin-bottom:48px; }
.article-hero { width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:32px; }
.article-body { max-width:768px; margin:64px auto; font-size:18px; line-height:1.8; }
.article-body p,.legal>p { margin:0 0 24px; }
.article-body h2 { font-size:36px; line-height:40px; margin:48px 0 20px; }
.article-body h3 { font-size:28px; margin:32px 0 16px; }
.article-body li { margin-bottom:12px; }
.dropcap:first-letter { float:left; font:400 72px/.8 var(--serif); margin:9px 10px 0 0; color:var(--terracotta); }
.tags { max-width:768px; margin:auto; display:flex; flex-wrap:wrap; gap:12px; color:var(--muted); }
.article-page hr { border:0; border-top:1px solid var(--line); margin:64px 0; }
.collection-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px 24px; }
.collection-grid img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:16px; }
.collection-grid h3 { font-size:30px; line-height:36px; margin-top:20px; }
.collection-grid p { color:var(--muted); margin-top:12px; }
.disclaimer { text-align:center; margin:0 auto 48px; max-width:768px; font-size:14px; color:var(--muted); }
.empty,.product-placeholder { max-width:768px; margin:auto; text-align:center; padding:64px 24px; background:var(--secondary); border-radius:16px; }
.empty h2,.product-placeholder h2 { font-size:36px; margin-bottom:24px; }
.empty p,.product-placeholder p { color:var(--muted); margin-bottom:32px; }
.about-intro { max-width:1280px; margin:auto; padding:80px 40px 0; display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.about-intro h1 { font-size:60px; line-height:1.05; margin-top:20px; }
.about-intro p:not(.eyebrow) { font-size:18px; line-height:29.25px; color:var(--muted); margin-top:28px; }
.about-intro p+p:not(.eyebrow) { margin-top:20px; }
.about-intro img { width:100%; aspect-ratio:3/4; border-radius:32px; object-fit:cover; }
.about-story { max-width:768px; margin:auto; text-align:center; padding:128px 20px; }
.about-story h2 { font-size:36px; line-height:40px; }
.about-story p { text-align:left; color:var(--muted); font-size:18px; line-height:29.25px; margin-top:24px; }
.values { max-width:1280px; margin:auto; padding:0 40px 96px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.values>div { padding:32px; border-radius:16px; background:#f1ece499; }
.values h3 { font-size:24px; line-height:32px; margin-bottom:12px; }
.values p { color:var(--muted); line-height:26px; }
.contact-form { max-width:672px; margin:auto; display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.contact-form input,.contact-form textarea { width:100%; border:1px solid var(--line); border-radius:12px; padding:12px 16px; background:#fffdf9; }
.contact-form textarea { grid-column:1/-1; min-height:180px; }
.contact-form button { width:max-content; }
.search-large { display:flex; gap:12px; max-width:672px; margin:0 auto 48px; padding:12px 20px; border-radius:999px; background:var(--secondary); }
.search-large input { min-width:0; width:100%; background:transparent; border:0; outline:0; }
.search-status { text-align:center; color:var(--muted); margin-bottom:40px; }
.legal { max-width:848px; }
.legal h2 { font-size:32px; margin:40px 0 16px; }
.legal>p { font-size:18px; line-height:1.8; }

@media(min-width:1440px) { .site-header { gap:48px; } }
@media(max-width:1199px) { .desktop-nav { gap:24px; } .site-header { gap:16px; } }
@media(max-width:1023px) {
  .desktop-nav,.search-pill { display:none; }
  .icon-btn { display:inline-flex; }
  .hero { grid-template-columns:1fr; gap:32px; }
  .hero h1 { font-size:60px; }
  .hero img { aspect-ratio:4/3; }
  .featured-home .card { grid-column:span 3; }
  .featured-home .card:nth-child(-n+2) img { aspect-ratio:4/3; }
  .curated-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .about-intro { grid-template-columns:1fr; }
}
@media(max-width:767px) {
  .site-header { padding:0 20px; }
  .hero { padding:32px 20px 0; }
  .hero h1 { font-size:41.6px; line-height:1.05; }
  .hero>div>p:not(.eyebrow) { font-size:18px; }
  .content-section { padding:96px 20px; }
  .featured-home { padding-top:16px; padding-bottom:16px; }
  .section-heading h2,.newsletter h2,.curated-copy h2 { font-size:36px; line-height:40px; }
  .category-grid,.category-grid.wide { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
  .article-grid,.collection-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .featured-home .article-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .featured-home .card,.featured-home .card:nth-child(-n+2) { grid-column:auto; }
  .featured-home .card:nth-child(-n+2) h3 { font-size:30px; line-height:36px; }
  .curated-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .brand-quote { padding:96px 24px; }
  .brand-quote blockquote { font-size:30px; }
  .newsletter { padding:96px 20px; }
  footer { padding:64px 20px 32px; grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px 24px; }
  .top-space { padding-top:56px; }
  .section-title h1,.article-page>h1 { font-size:48px; }
  .article-page { padding:40px 20px 80px; }
  .article-hero { border-radius:24px; }
  .about-intro { padding:56px 20px 0; }
  .about-intro h1 { font-size:48px; }
  .about-story { padding:96px 20px; }
  .values { padding:0 20px 96px; grid-template-columns:1fr; }
}
@media(max-width:639px) {
  .newsletter-btn { display:none; }
  .article-grid,.collection-grid,.featured-home .article-grid { grid-template-columns:1fr; }
  .newsletter form { flex-direction:column; }
  .newsletter input { width:100%; }
  .copyright { flex-direction:column; }
  .contact-form { grid-template-columns:1fr; }
  .section-heading { gap:16px; }
  .section-heading>a { font-size:12px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*:before,*:after { animation:none!important; transition:none!important; } }

/* Editorial article hierarchy */
.article-body h2{font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(1.65rem,3vw,2.15rem);line-height:1.2;margin:2.2rem 0 .8rem;color:#34362e}.article-body p{margin:0 0 1.2rem}.article-body ul{padding-left:1.4rem;margin:1rem 0 1.6rem}.article-body li{margin:.45rem 0}.filters{flex-wrap:wrap;gap:.5rem}.card[hidden]{display:none!important}

.article-inset{margin:2rem 0}.article-inset img{width:100%;display:block;border-radius:18px}.article-inset figcaption,.article-image-caption{font-family:"DM Sans",Arial,sans-serif;font-size:.8rem;line-height:1.5;color:#73756c;margin:.65rem 0 1.4rem}.article-image-caption{text-align:center}.article-body a{text-decoration:underline;text-underline-offset:3px}

/* Sourdough story */
.recipe-quickfacts{max-width:780px;margin:1.5rem auto 2.2rem;padding:1.2rem 1.5rem;background:#eeede5;border-radius:14px;font-size:.95rem;line-height:1.7}.recipe-quickfacts p{margin:.35rem 0}.recipe-story .recipe-affiliate{max-width:780px;margin:1.2rem auto}.article-hero.sourdough-photo{object-position:center bottom}.product-photo.sourdough-product-photo{object-fit:cover;object-position:center bottom}

/* Full, centered owner photograph — no cropping. */
.article-hero.sourdough-photo{display:block;width:min(100%,720px);max-width:100%;height:auto;aspect-ratio:auto;object-fit:contain;object-position:center;margin:2rem auto;border-radius:20px}.card a[href$="articles/25/index.html"]>img{object-fit:cover;object-position:50% 60%}.product-photo.sourdough-product-photo{object-fit:contain;object-position:center}

.article-affiliate{max-width:780px;margin:1rem auto 1.5rem}
