/* ============================================================
   YOGHURT LOVE — Redesign
   Concept 04: Slow & Fermented
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400;1,700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --clay: #3D2B1F;
  --terracotta: #C4967A;
  --linen: #E8DED2;
  --sage: #8FA882;
  --cream: #F5F0E8;
  --clay-80: rgba(61, 43, 31, 0.8);
  --clay-60: rgba(61, 43, 31, 0.6);
  --clay-40: rgba(61, 43, 31, 0.4);
  --clay-12: rgba(61, 43, 31, 0.12);
  --clay-08: rgba(61, 43, 31, 0.08);
  --serif: 'Libre Baskerville', Georgia, serif;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--cream);
  color: var(--clay);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--clay); line-height: 1.15; }
.display { font-style: italic; font-weight: 700; letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.kicker {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay-60);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--clay-12);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav-logo svg { height: 57px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--clay-80); transition: color .2s;
  position: relative; padding: 4px 0;
}
.main-nav a:hover, .main-nav a.active { color: var(--clay); }
.main-nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--terracotta);
}
.header-actions { display: flex; align-items: center; gap: 18px; }
.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--clay-12);
  color: var(--clay-60); transition: all .2s; cursor: pointer; background: none;
}
.icon-btn:hover { border-color: var(--terracotta); color: var(--clay); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  padding: 11px 22px; border-radius: 2px; cursor: pointer; transition: all .2s;
  border: 1px solid transparent;
}
.btn-primary { background: var(--clay); color: var(--cream); }
.btn-primary:hover { background: #2c1f16; }
.btn-ghost { background: transparent; color: var(--clay); border-color: var(--clay); }
.btn-ghost:hover { background: var(--clay); color: var(--cream); }
.btn-terra { background: var(--terracotta); color: #fff; }
.btn-terra:hover { filter: brightness(0.95); }

/* ---------- Rules ---------- */
.rule { height: 1px; background: var(--clay-12); border: 0; }
.orn-rule {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--terracotta); margin: 0 auto;
}
.orn-rule::before, .orn-rule::after {
  content: ''; height: 1px; width: 60px; background: var(--terracotta); opacity: .5;
}
.orn-rule .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--terracotta); }

/* ---------- Photo placeholders (brand-tinted) ---------- */
.photo {
  position: relative; overflow: hidden; background: var(--linen);
  border-radius: 3px;
}
.photo::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(61,43,31,0.04) 0, rgba(61,43,31,0.04) 1px, transparent 1px, transparent 7px);
  opacity: .6; pointer-events: none;
}
.ph-clay   { background: linear-gradient(150deg, #4a3526 0%, #2c1f16 100%); }
.ph-terra  { background: linear-gradient(150deg, #d4a98e 0%, #b07a5c 100%); }
.ph-sage   { background: linear-gradient(150deg, #a3b899 0%, #6f8a64 100%); }
.ph-linen  { background: linear-gradient(150deg, #efe7da 0%, #d9cbb8 100%); }
.ph-warm   { background: linear-gradient(150deg, #e8c4a6 0%, #9c6f53 60%, #5e4030 100%); }
.photo .ph-mark {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0.16; z-index: 1;
}
.photo .ph-mark svg { width: 64px; height: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--clay); color: var(--cream); margin-top: 0; }
.footer-top { padding: 72px 0 52px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand .nav-logo svg { height: 42px; }
.footer-brand p {
  margin-top: 20px; font-size: 14px; font-weight: 300;
  color: rgba(245,240,232,0.7); max-width: 280px; line-height: 1.7;
}
.footer-col h4 {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 18px;
}
.footer-col a {
  display: block; font-size: 14px; font-weight: 300; color: rgba(245,240,232,0.75);
  padding: 6px 0; transition: color .2s;
}
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(245,240,232,0.12);
  padding: 24px 0; display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom p { font-size: 12px; color: rgba(245,240,232,0.5); }
.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(245,240,232,0.2);
  color: rgba(245,240,232,0.7); transition: all .2s;
}
.social-row a:hover { border-color: var(--terracotta); color: var(--cream); }

/* ---------- Newsletter band ---------- */
.news-band { background: var(--linen); padding: 80px 0; }
.news-inner { max-width: 620px; margin: 0 auto; text-align: center; }
.news-inner h2 { font-size: 34px; font-style: italic; margin: 18px 0 14px; }
.news-inner p { font-size: 16px; font-weight: 300; color: var(--clay-80); margin-bottom: 28px; }
.news-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.news-fineprint { font-size: 12px; color: var(--clay-40); margin: 14px 0 0; }
.news-form input {
  flex: 1; padding: 13px 18px; border: 1px solid var(--clay-12);
  background: var(--cream); font-family: var(--sans); font-size: 14px; color: var(--clay);
  border-radius: 2px;
}
.news-form input::placeholder { color: var(--clay-40); }
.news-form input:focus { outline: none; border-color: var(--terracotta); }

/* ---------- Tags & meta ---------- */
.meta-row { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--clay-60); }
.meta-row .dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--clay-40); }
.cat-tag {
  display: inline-block; font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--terracotta);
}

/* ---------- Cards ---------- */
.card { display: flex; flex-direction: column; }
.card .photo { aspect-ratio: 3/2; }
.card h3 { font-size: 21px; font-weight: 700; margin: 16px 0 8px; transition: color .2s; }
.card:hover h3 { color: var(--terracotta); }
.card p { font-size: 14px; font-weight: 300; color: var(--clay-80); line-height: 1.6; }
.card .meta-row { margin-top: 14px; }

/* ---------- Section heading ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }
.sec-head h2 { font-size: 30px; font-style: italic; }
.sec-head a.more { font-size: 13px; font-weight: 500; color: var(--terracotta); }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .main-nav { display: none; }
  .sec-head h2 { font-size: 24px; }
}

/* ============================================================
   PREMIUM PASS — texture + depth, editorial flourishes
   ============================================================ */

/* ---- Paper grain overlay (whole page, subtle) ---- */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
  opacity: 0.045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Card depth: warm layered shadows + slow lift ---- */
.card .photo {
  box-shadow: 0 4px 16px rgba(61, 43, 31, 0.05);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s cubic-bezier(.2,.7,.2,1);
}
.card:hover .photo {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px rgba(61, 43, 31, 0.16);
}
.guide-card { box-shadow: 0 4px 16px rgba(61, 43, 31, 0.04); }
.guide-card:hover { box-shadow: 0 22px 46px rgba(61, 43, 31, 0.13); }
.recipe-card, .value-card { box-shadow: 0 10px 30px rgba(61, 43, 31, 0.06); }
.feature-photo { box-shadow: 0 10px 34px rgba(61, 43, 31, 0.08); transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s; }
.feature-photo:hover { transform: translateY(-5px); box-shadow: 0 26px 52px rgba(61, 43, 31, 0.16); }

/* ---- Drop cap (editorial intro) ---- */
.lead-para::first-letter {
  font-family: var(--serif); font-weight: 700; font-style: normal;
  float: left; font-size: 78px; line-height: 0.78;
  padding: 9px 14px 0 0; color: var(--terracotta);
}

/* ---- Pull-quote: large quotation mark ---- */
.pullquote blockquote::before {
  content: '\201C';
  display: block; font-family: var(--serif); font-weight: 700;
  font-size: 96px; line-height: 0.3; color: var(--terracotta);
  opacity: 0.32; margin: 26px 0 22px;
}

/* ---- Reading progress bar ---- */
.read-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--terracotta); z-index: 100;
  transition: width .12s linear;
}

/* ---- Sticky table of contents (left rail, wide screens) ---- */
.toc {
  position: fixed; top: 50%; transform: translateY(-50%);
  left: max(28px, calc(50% - 600px));
  width: 184px; z-index: 40;
  opacity: 0; visibility: hidden; transition: opacity .4s;
}
.toc.visible { opacity: 1; visibility: visible; }
.toc .toc-label {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--terracotta);
  margin-bottom: 18px;
}
.toc ul { list-style: none; }
.toc li { margin: 0; }
.toc a {
  display: block; font-size: 13px; font-weight: 400; line-height: 1.4;
  color: var(--clay-60); padding: 8px 0 8px 16px;
  border-left: 2px solid var(--clay-12); transition: all .25s;
}
.toc a:hover { color: var(--clay); }
.toc a.active { color: var(--clay); border-left-color: var(--terracotta); font-weight: 500; }
@media (max-width: 1240px) { .toc { display: none; } }

/* ---- Interactive ingredient checklist ---- */
.ingredients li {
  cursor: pointer; align-items: center; transition: color .2s;
}
.ingredients li::before {
  flex: 0 0 16px; height: 16px; width: 16px; border-radius: 50%;
  background: transparent; border: 1.5px solid var(--terracotta);
  margin-top: 0; transition: all .2s; position: relative;
}
.ingredients li:hover::before { background: rgba(196, 150, 122, 0.18); }
.ingredients li.done { color: var(--clay-40); text-decoration: line-through; text-decoration-color: var(--clay-40); }
.ingredients li.done::before {
  background: var(--sage); border-color: var(--sage);
  box-shadow: inset 0 0 0 2px var(--cream);
}

/* ---- Real imagery: fill the .photo box, keep grain on top ---- */
.photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.photo .ph-mark { z-index: 1; }

/* ---- Top utility bar: greeting + live local clock ---- */
.top-bar { background: var(--clay); color: var(--cream); position: relative; z-index: 60; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.tb-greeting {
  font-family: var(--serif); font-style: italic; font-size: 13px;
  color: rgba(245, 240, 232, 0.72);
}
.tb-clock {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245, 240, 232, 0.82);
}
.tb-clock .tb-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--terracotta); }
.tb-clock #tbTime { color: var(--terracotta); font-variant-numeric: tabular-nums; }
@media (max-width: 880px) {
  .tb-greeting { display: none; }
  .top-bar-inner { justify-content: center; }
}

/* ============================================================
   PAGE LAYOUTS (consolidated from mockup pages)
   ============================================================ */

/* ---- Home: hero rotator ---- */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 20px; display: block; }
.hero-copy h1 { font-size: 46px; line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 22px; }
.hero-copy h1 em { font-style: italic; color: var(--terracotta); }
.hero-copy .lede { font-size: 18px; font-weight: 300; line-height: 1.7; color: var(--clay-80); max-width: 480px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; align-items: center; }
.hero-photo { aspect-ratio: 4/5; }
.hero-photo .tagline { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 28px; background: linear-gradient(transparent, rgba(61,43,31,0.82)); color: var(--cream); }
.hero-photo .tagline em { font-family: var(--serif); font-style: italic; font-size: 20px; display:block; }
.hero-photo .tagline span { font-size: 12px; font-weight: 300; opacity: .85; }
.hero-copy { min-height: 400px; }
.hero-copy, .hero-photo { transition: opacity .6s ease; }
.hero-grid.fading .hero-copy, .hero-grid.fading .hero-photo { opacity: 0; }
.hero-dots { display: flex; gap: 10px; margin-top: 36px; }
.hero-dots button { width: 9px; height: 9px; padding: 0; border: none; cursor: pointer; border-radius: 50%; background: var(--clay-12); transition: all .35s ease; }
.hero-dots button:hover { background: var(--clay-40); }
.hero-dots button.active { width: 30px; border-radius: 5px; background: var(--terracotta); }

.hot { background: var(--linen); padding: 64px 0; }
.hot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.cat-section { padding: 72px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.editorial { background: var(--clay); color: var(--cream); padding: 0; }
.ed-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; }
.ed-photo { background: var(--clay); }
.ed-copy { padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; }
.ed-copy .eyebrow { margin-bottom: 22px; }
.ed-copy h2 { color: var(--cream); font-size: 38px; font-style: italic; line-height: 1.2; margin-bottom: 22px; }
.ed-copy p { font-weight: 300; font-size: 16px; line-height: 1.8; color: rgba(245,240,232,0.78); margin-bottom: 28px; max-width: 420px; }
.guides { padding: 72px 0; }
.guide-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.guide-card { border: 1px solid var(--clay-12); border-radius: 4px; padding: 30px; transition: all .2s; background: var(--cream); box-shadow: 0 4px 16px rgba(61,43,31,.04); }
.guide-card:hover { border-color: var(--terracotta); transform: translateY(-3px); box-shadow: 0 22px 46px rgba(61,43,31,.13); }
.guide-card .num { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--terracotta); }
.guide-card h3 { font-size: 20px; margin: 12px 0 8px; }
.guide-card p { font-size: 13.5px; font-weight: 300; color: var(--clay-80); }

/* ---- Single article ---- */
.article-head { padding: 56px 0 40px; }
.art-narrow { max-width: 720px; margin: 0 auto; }
.breadcrumb { font-size: 12px; color: var(--clay-60); margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--terracotta); }
.article-head h1 { font-size: 44px; line-height: 1.12; margin: 14px 0 20px; }
.article-head .standfirst { font-size: 19px; font-weight: 300; line-height: 1.7; color: var(--clay-80); }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.byline .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--terracotta); display: grid; place-items: center; color: #fff; font-family: var(--serif); font-style: italic; font-size: 18px; }
.byline .who { font-size: 14px; font-weight: 500; }
.byline .when { font-size: 12px; color: var(--clay-60); }
/* Default shape only; templates set aspect-ratio inline from the image's real dimensions. */
.hero-img { aspect-ratio: 16/9; margin: 8px 0 0; }
/* Portrait heroes: keep the natural shape but hold them to a sensible width. */
.hero-img.is-tall { max-width: 620px; margin-left: auto; margin-right: auto; }
.article-body { padding: 56px 0 24px; }
.article-body p { font-size: 17px; font-weight: 300; line-height: 1.85; color: var(--clay); margin-bottom: 26px; }
.article-body h2 { font-size: 28px; font-style: italic; margin: 44px 0 18px; }
.article-body h3 { font-size: 21px; margin: 36px 0 14px; }
.article-body strong { font-weight: 600; }
.article-body img { border-radius: 4px; margin: 12px 0 28px; }
.article-body ul, .article-body ol { margin: 0 0 26px 22px; font-weight: 300; font-size: 17px; line-height: 1.8; color: var(--clay); }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 2px; }
.article-body blockquote { margin: 40px 0; padding-left: 26px; border-left: 3px solid var(--terracotta); font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.5; color: var(--clay); }
.lead-para::first-letter { font-family: var(--serif); font-weight: 700; font-style: normal; float: left; font-size: 78px; line-height: 0.78; padding: 9px 14px 0 0; color: var(--terracotta); }
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--terracotta); z-index: 100; transition: width .12s linear; }
.toc { position: fixed; top: 50%; transform: translateY(-50%); left: max(28px, calc(50% - 600px)); width: 184px; z-index: 40; opacity: 0; visibility: hidden; transition: opacity .4s; }
.toc.visible { opacity: 1; visibility: visible; }
.toc .toc-label { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 18px; }
.toc ul { list-style: none; }
.toc a { display: block; font-size: 13px; font-weight: 400; line-height: 1.4; color: var(--clay-60); padding: 8px 0 8px 16px; border-left: 2px solid var(--clay-12); transition: all .25s; }
.toc a:hover { color: var(--clay); }
.toc a.active { color: var(--clay); border-left-color: var(--terracotta); font-weight: 500; }
@media (max-width: 1240px) { .toc { display: none; } }
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 40px 0; }
.tag-row a { font-size: 12px; padding: 7px 14px; border: 1px solid var(--clay-12); border-radius: 20px; color: var(--clay-80); transition: all .2s; }
.tag-row a:hover { border-color: var(--terracotta); color: var(--clay); }
.related { background: var(--linen); padding: 72px 0; }

/* ---- Category / archive ---- */
.cat-hero { background: var(--linen); padding: 64px 0 56px; }
.cat-hero .eyebrow { display:block; margin-bottom: 16px; }
.cat-hero h1 { font-size: 52px; font-style: italic; margin-bottom: 18px; }
.cat-hero p { font-size: 18px; font-weight: 300; color: var(--clay-80); max-width: 560px; line-height: 1.7; }
.feature { padding: 64px 0 24px; }
.feature-grid { display:grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: stretch; }
.feature-photo { aspect-ratio: 4/3; box-shadow: 0 10px 34px rgba(61,43,31,0.08); }
.feature-copy { display:flex; flex-direction: column; justify-content: center; }
.feature-copy h2 { font-size: 36px; line-height: 1.15; margin: 14px 0 16px; }
.feature-copy h2:hover { color: var(--terracotta); }
.feature-copy p { font-size: 17px; font-weight: 300; color: var(--clay-80); line-height: 1.7; margin-bottom: 22px; }
.grid-section { padding: 48px 0 72px; }
.pager { display:flex; justify-content:center; gap: 8px; margin-top: 56px; }
.pager a, .pager span { width: 40px; height: 40px; display:grid; place-items:center; border-radius: 3px; border: 1px solid var(--clay-12); font-size: 14px; color: var(--clay-80); transition: all .2s; }
.pager a:hover, .pager span.on { background: var(--clay); color: var(--cream); border-color: var(--clay); }

/* ---- About ---- */
.about-hero { background: var(--clay); color: var(--cream); padding: 96px 0; text-align: center; }
.about-hero .eyebrow { display:block; margin-bottom: 22px; }
.about-hero h1 { color: var(--cream); font-size: 56px; font-style: italic; line-height: 1.1; max-width: 760px; margin: 0 auto 24px; }
.about-hero p { font-size: 19px; font-weight: 300; color: rgba(245,240,232,0.78); max-width: 560px; margin: 0 auto; line-height: 1.7; }
.intro { padding: 80px 0; }
.intro-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.intro-copy h2 { font-size: 34px; font-style: italic; margin-bottom: 22px; }
.intro-copy p { font-size: 17px; font-weight: 300; line-height: 1.85; color: var(--clay-80); margin-bottom: 20px; }
.intro-photo { aspect-ratio: 4/5; }
.values { background: var(--linen); padding: 80px 0; }
.values .sec-head { justify-content: center; text-align: center; flex-direction: column; gap: 8px; }
.values .sec-head h2 { font-size: 34px; font-style: italic; }
.values-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 12px; }
.value-card { background: var(--cream); border-radius: 5px; padding: 40px 32px; box-shadow: 0 10px 30px rgba(61,43,31,.06); }
.value-card .mark { width: 40px; height: 44px; margin-bottom: 20px; }
.value-card h3 { font-size: 24px; font-style: italic; margin-bottom: 12px; }
.value-card p { font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--clay-80); }
.find { padding: 88px 0; }
.find .sec-head { justify-content: center; text-align: center; flex-direction: column; gap: 8px; margin-bottom: 48px; }
.find .sec-head h2 { font-size: 34px; font-style: italic; }
.find .sec-head p { font-size: 16px; font-weight: 300; color: var(--clay-80); max-width: 540px; margin: 6px auto 0; line-height: 1.7; }
.find-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.find-card { display: flex; gap: 22px; padding: 34px; border: 1px solid var(--clay-12); border-radius: 5px; background: var(--cream); transition: all .35s cubic-bezier(.2,.7,.2,1); box-shadow: 0 4px 16px rgba(61,43,31,.04); }
.find-card:hover { border-color: var(--terracotta); transform: translateY(-4px); box-shadow: 0 20px 44px rgba(61,43,31,.12); }
.find-card .fc-mark { flex: 0 0 36px; height: 40px; color: var(--terracotta); }
.find-card .cat-tag { display: block; margin-bottom: 7px; }
.find-card h3 { font-size: 22px; margin-bottom: 9px; }
.find-card p { font-size: 14.5px; font-weight: 300; color: var(--clay-80); line-height: 1.65; margin-bottom: 14px; }
.find-card .go { font-size: 13px; font-weight: 500; color: var(--terracotta); }
.cta { background: var(--clay); color: var(--cream); padding: 88px 0; text-align: center; }
.cta h2 { color: var(--cream); font-size: 40px; font-style: italic; margin-bottom: 18px; }
.cta p { font-weight: 300; color: rgba(245,240,232,0.78); max-width: 460px; margin: 0 auto 30px; }

/* ---- Newsletter form (MailPoet) ---- */
.news-band .mailpoet_form { max-width: 440px; margin: 0 auto; }
.news-band .mailpoet_paragraph { margin-bottom: 10px; }
.news-band .mailpoet_text { width: 100%; padding: 13px 18px; border: 1px solid var(--clay-12); background: var(--cream); font-family: var(--sans); font-size: 14px; color: var(--clay); border-radius: 2px; }
.news-band .mailpoet_submit { background: var(--clay); color: var(--cream); border: none; font-family: var(--sans); font-size: 13px; font-weight: 500; padding: 12px 24px; border-radius: 2px; cursor: pointer; }
.news-band .mailpoet_submit:hover { background: #2c1f16; }
.news-band .mailpoet_message { font-size: 13px; margin-top: 10px; }

@media (max-width: 880px) {
  .hero-grid, .ed-grid, .feature-grid, .intro-grid, .values-grid, .find-grid { grid-template-columns: 1fr; gap: 32px; }
  .hot-grid, .grid-3, .grid-4, .guide-row { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 34px; } .hero-copy { min-height: 0; }
  .article-head h1 { font-size: 32px; }
  .cat-hero h1, .about-hero h1 { font-size: 34px; }
  .ed-photo { min-height: 280px; } .ed-copy { padding: 48px 28px; }
}

/* ---- Dynamic-content tweaks ---- */
.article-body .art-narrow > p:first-of-type::first-letter {
  font-family: var(--serif); font-weight: 700; font-style: normal;
  float: left; font-size: 78px; line-height: 0.78; padding: 9px 14px 0 0; color: var(--terracotta);
}
.fc-mark svg, .value-card .mark svg { width: 100%; height: 100%; display: block; }
.value-card .mark { display: block; }

/* ---- Newsletter form (The Newsletter Plugin) ---- */
.news-band .news-form-wrap { max-width: 460px; margin: 0 auto; }
.news-band .tnp { max-width: 460px; margin: 0 auto; }
.news-band .tnp form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; align-items: stretch; }
.news-band .tnp-field { margin: 0; }
.news-band .tnp-field-email { flex: 1; min-width: 220px; align-self: center; }
.news-band .tnp-field-button { align-self: center; }
.news-band .tnp-field-email label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.news-band .tnp-email { width: 100%; padding: 13px 18px; border: 1px solid var(--clay-12); background: var(--cream); font-family: var(--sans); font-size: 14px; color: var(--clay); border-radius: 2px; box-sizing: border-box; }
.news-band .tnp-email::placeholder { color: var(--clay-40); }
.news-band .tnp-email:focus { outline: none; border-color: var(--terracotta); }
.news-band .tnp-submit { background: var(--clay); color: var(--cream); border: none; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.02em; padding: 13px 26px; border-radius: 2px; cursor: pointer; transition: background .2s; }
.news-band .tnp-submit:hover { background: #2c1f16; }
.news-band .tnp-field-privacy, .news-band .tnp-privacy-field { flex-basis: 100%; font-size: 12px; font-weight: 300; color: var(--clay-60); text-align: center; margin-top: 6px; }
.news-band .tnp-field-privacy a { color: var(--terracotta); }

/* ---- Mobile menu ---- */
.nav-toggle { display: none; width: 38px; height: 38px; border: 1px solid var(--clay-12); border-radius: 50%; background: none; cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--clay); transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-nav { display: none; position: sticky; top: 76px; z-index: 49; background: var(--cream); border-bottom: 1px solid var(--clay-12); padding: 12px 32px 24px; flex-direction: column; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 16px; font-weight: 500; color: var(--clay-80); padding: 14px 0; border-bottom: 1px solid var(--clay-08); }
.mobile-nav a.active { color: var(--terracotta); }
.mobile-nav a.btn { border: none; color: var(--cream); text-align: center; }
body.nav-open { overflow: hidden; }
@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .subscribe-btn { display: none; }
}

/* ---- 404 ---- */
.error-404 { padding: 110px 0 96px; text-align: center; }
.error-404 .big { font-family: var(--serif); font-style: italic; font-size: 96px; line-height: 1; color: var(--terracotta); }
.error-404 h1 { font-size: 36px; margin: 18px 0 14px; }
.error-404 p { font-size: 17px; font-weight: 300; color: var(--clay-80); max-width: 460px; margin: 0 auto 30px; line-height: 1.7; }
.error-404 .e404-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.error-404 form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; }
.error-404 input[type=search] { flex: 1; padding: 13px 18px; border: 1px solid var(--clay-12); background: var(--cream); font-family: var(--sans); font-size: 14px; color: var(--clay); border-radius: 2px; }
.error-404 input[type=search]:focus { outline: none; border-color: var(--terracotta); }

/* ---- Search header ---- */
.search-hero .query { color: var(--terracotta); font-style: italic; }

/* ---- Comments ---- */
.comments { padding: 8px 0 24px; }
.comments .comments-title { font-family: var(--serif); font-size: 24px; font-style: italic; margin-bottom: 28px; }
.comments .commentlist { list-style: none; margin: 0 0 40px; padding: 0; }
.comments .commentlist li { padding: 22px 0; border-bottom: 1px solid var(--clay-08); }
.comments .commentlist .children { list-style: none; margin: 14px 0 0 28px; padding-left: 20px; border-left: 1px solid var(--clay-12); }
.comments .comment-author { font-weight: 600; font-size: 14px; }
.comments .comment-author .says { display: none; }
.comments .comment-meta { font-size: 12px; color: var(--clay-60); margin-bottom: 8px; }
.comments .comment-meta a { color: var(--clay-60); }
.comments .comment-content p { font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--clay); margin-bottom: 10px; }
.comments .reply a { font-size: 12px; font-weight: 500; color: var(--terracotta); }
.comment-respond { margin-top: 8px; }
.comment-respond .comment-reply-title { font-family: var(--serif); font-size: 22px; font-style: italic; margin-bottom: 8px; }
.comment-respond label { display: block; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--clay-60); margin: 14px 0 6px; }
.comment-respond input[type=text], .comment-respond input[type=email], .comment-respond input[type=url], .comment-respond textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--clay-12); background: var(--cream); font-family: var(--sans); font-size: 14px; color: var(--clay); border-radius: 2px; box-sizing: border-box;
}
.comment-respond textarea:focus, .comment-respond input:focus { outline: none; border-color: var(--terracotta); }
.comment-respond .form-submit input { background: var(--clay); color: var(--cream); border: none; font-family: var(--sans); font-size: 13px; font-weight: 500; padding: 13px 26px; border-radius: 2px; cursor: pointer; margin-top: 16px; }
.comment-respond .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; }
.comment-respond .comment-form-cookies-consent label { text-transform: none; letter-spacing: 0; margin: 0; color: var(--clay-80); }

/* ---- Branded search form (searchform.php) ---- */
.yl-search { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.yl-search input[type=search] { flex: 1; padding: 13px 18px; border: 1px solid var(--clay-12); background: var(--cream); font-family: var(--sans); font-size: 14px; color: var(--clay); border-radius: 2px; }
.yl-search input[type=search]:focus { outline: none; border-color: var(--terracotta); }
.error-404 .yl-search { margin: 0 auto; }

/* No drop cap on generic pages (legal, contact) — keep it for articles only */
.page .article-body .art-narrow > p:first-of-type::first-letter {
  float: none; font-size: inherit; line-height: inherit; padding: 0;
  color: inherit; font-family: inherit; font-weight: inherit;
}

/* ---- Category description in archive hero ---- */
.cat-hero .cat-desc { font-size: 18px; font-weight: 300; color: var(--clay-80); max-width: 600px; line-height: 1.7; }
.cat-hero .cat-desc p { margin: 0; }

/* ---- Footer credit line ---- */
.footer-bottom .footer-credit p { font-size: 12px; color: rgba(245,240,232,0.5); margin: 0; }
.footer-bottom .made-by { margin-top: 4px; }
.footer-bottom .made-by a { color: var(--terracotta); transition: color .2s; }
.footer-bottom .made-by a:hover { color: var(--cream); }

/* ---- Author / publisher box (E-E-A-T) ---- */
.author-box { display: flex; gap: 20px; align-items: flex-start; margin: 44px 0; padding: 28px; background: var(--linen); border-radius: 6px; }
.author-box .ab-mark { flex: 0 0 40px; }
.author-box .ab-mark svg { width: 40px; height: 44px; display: block; }
.author-box .eyebrow { display: block; margin-bottom: 4px; }
.author-box h3 { font-family: var(--serif); font-size: 22px; margin: 0 0 8px; color: var(--clay); }
.author-box p { font-size: 14.5px; font-weight: 300; color: var(--clay-80); line-height: 1.65; margin: 0 0 10px; }
.author-box .ab-link { font-size: 13px; font-weight: 500; color: var(--terracotta); }
.byline .who a { color: inherit; }
.byline .who a:hover { color: var(--terracotta); }

/* ---------- Contact form honeypot: invisible to real visitors, catches simple spam bots ---------- */
.hp-field-wrap {
  position: absolute; left: -9999px; top: -9999px;
  height: 0; width: 0; overflow: hidden; margin: 0; padding: 0;
}

/* ---------- Lead magnet CTA (in-article cheat sheet offer) ---------- */
.lead-magnet {
  margin: 48px 0; padding: 34px 32px; background: var(--linen);
  border-radius: 6px; text-align: center;
}
.lead-magnet .lm-mark { width: 34px; margin: 0 auto 14px; }
.lead-magnet .lm-mark svg { width: 34px; height: 37px; display: block; }
.lead-magnet .lm-eyebrow {
  display: block; font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 10px;
}
.lead-magnet h3 {
  font-family: var(--serif); font-style: italic; font-size: 27px;
  line-height: 1.2; color: var(--clay); margin: 0 0 12px;
}
.lead-magnet > p {
  font-size: 15px; font-weight: 300; color: var(--clay-80);
  line-height: 1.65; margin: 0 auto 22px; max-width: 46ch;
}
.lead-magnet .lm-fineprint {
  font-size: 12px; font-weight: 300; color: var(--clay-40); margin: 14px 0 0;
}
/* form, mirrors the footer band treatment */
.lead-magnet .lm-form { max-width: 430px; margin: 0 auto; }
.lead-magnet .tnp { max-width: 430px; margin: 0 auto; }
.lead-magnet .tnp form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; align-items: center; }
.lead-magnet .tnp-field { margin: 0; }
.lead-magnet .tnp-field-email { flex: 1; min-width: 210px; align-self: center; }
.lead-magnet .tnp-field-button { align-self: center; }
.lead-magnet .tnp-field-email label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.lead-magnet .tnp-email {
  width: 100%; padding: 13px 18px; border: 1px solid var(--clay-12);
  background: var(--cream); font-family: var(--sans); font-size: 14px;
  color: var(--clay); border-radius: 2px; box-sizing: border-box;
}
.lead-magnet .tnp-email::placeholder { color: var(--clay-40); }
.lead-magnet .tnp-email:focus { outline: none; border-color: var(--terracotta); }
.lead-magnet .tnp-submit {
  background: var(--clay); color: var(--cream); border: none;
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  padding: 13px 24px; border-radius: 2px; cursor: pointer; transition: background .2s;
}
.lead-magnet .tnp-submit:hover { background: #2c1f16; }
@media (max-width: 600px) {
  .lead-magnet { padding: 28px 20px; }
  .lead-magnet h3 { font-size: 23px; }
  .lead-magnet .tnp-field-email { min-width: 100%; }
  .lead-magnet .tnp-submit { width: 100%; }
}

/* ---- Optional first name on the signup forms (added 11 Oct 2026) ---- */
.news-band .tnp-field-firstname, .lead-magnet .tnp-field-firstname { flex-basis: 100%; margin: 0; }
.news-band .tnp-field-firstname label, .lead-magnet .tnp-field-firstname label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.news-band .tnp-name, .lead-magnet .tnp-name {
  width: 100%; padding: 13px 18px; border: 1px solid var(--clay-12);
  background: var(--cream); font-family: var(--sans); font-size: 14px;
  color: var(--clay); border-radius: 2px; box-sizing: border-box;
}
.news-band .tnp-name::placeholder, .lead-magnet .tnp-name::placeholder { color: var(--clay-40); }
.news-band .tnp-name:focus, .lead-magnet .tnp-name:focus { outline: none; border-color: var(--terracotta); }

/* In-post photos (added 12 Oct 2026). Core block styles aren't loaded, so reset the figure's default side indent.
   Upright photos inside a post are held narrower so they don't fill the screen. */
.article-body figure { margin: 0; }
.article-body figure img { width: 100%; height: auto; }
.article-body figure.is-tall { max-width: 420px; margin-left: auto; margin-right: auto; }
