/* The Lion Diet — site styles
   Mirrors liondiet.com: Cormorant Garamond for serif headings,
   Roboto for body, Barlow for small UI labels.
*/

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Roboto', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --ui:    'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;
  --ink: #1a1a1a;
  --line: #1a1a1a;
  --link-hover: #4a90c2;
  --muted: #6a6a6a;
  --cream: #f4f1ec;
}
html, body { height: 100%; }
body { font-family: var(--sans); color: var(--ink); background: #fff; line-height: 1.6; font-size: 16px; font-weight: 400; -webkit-font-smoothing: antialiased; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--link-hover); }

img { max-width: 100%; height: auto; display: block; }
iframe { max-width: 100%; }

/* ---------- newsletter popup (appears 6s after page load) ---------- */
.newsletter-popup[hidden] { display: none; }
.newsletter-popup {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(10, 8, 6, 0);
  display: flex; justify-content: center; align-items: center;
  padding: 1.5rem;
  transition: background .22s ease;
}
.newsletter-popup.is-open { background: rgba(10, 8, 6, .55); }
.newsletter-popup-panel {
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.45);
  padding: 2rem 2.25rem 1.75rem;
  width: 100%; max-width: 460px;
  text-align: center;
  transform: translateY(20px); opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}
.newsletter-popup.is-open .newsletter-popup-panel {
  transform: translateY(0); opacity: 1;
}
.newsletter-popup-close {
  position: absolute; top: .55rem; right: .85rem;
  background: none; border: 0; cursor: pointer;
  font-size: 1.85rem; line-height: 1; color: var(--muted);
  padding: .15rem .5rem;
}
.newsletter-popup-close:hover { color: var(--ink); }
.newsletter-popup-logo {
  margin-bottom: 1rem;
}
.newsletter-popup-logo img {
  height: 44px; width: auto; display: inline-block;
}
.newsletter-popup-title {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.85rem; line-height: 1.15; margin: 0 0 .6rem;
  color: var(--ink);
}
.newsletter-popup-blurb {
  font-family: var(--sans); font-size: .95rem; line-height: 1.55;
  color: #2a2a2a; margin: 0 0 1.2rem;
}
.newsletter-popup-form {
  display: grid; grid-template-columns: 1fr auto;
  border: 1px solid var(--ink); border-radius: 6px;
  overflow: hidden;
  margin-bottom: .85rem;
}
.newsletter-popup-form input[type=email] {
  border: 0; padding: .75rem .9rem;
  font-family: var(--sans); font-size: .98rem;
  background: #fff; outline: none; min-width: 0;
}
.newsletter-popup-form input[type=email]:focus {
  box-shadow: inset 0 0 0 2px rgba(74,144,194,.18);
}
.newsletter-popup-form button {
  background: var(--ink); color: #fff; border: 0;
  padding: 0 1.4rem;
  font-family: var(--serif); font-size: 1rem; font-weight: 500;
  letter-spacing: .03em; cursor: pointer;
  transition: background .15s;
}
.newsletter-popup-form button:hover { background: var(--link-hover); }
.newsletter-popup-foot {
  font-family: var(--sans); font-size: .78rem;
  color: var(--muted); margin: 0;
}
@media (max-width: 500px) {
  .newsletter-popup-panel { padding: 1.6rem 1.4rem 1.4rem; }
  .newsletter-popup-title { font-size: 1.55rem; }
}

/* ---------- site-wide search overlay ---------- */
.site-search-overlay[hidden] { display: none; }
.site-search-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10, 8, 6, .55);
  display: flex; justify-content: center; align-items: flex-start;
  padding: 6rem 1.5rem 2rem;
  overflow-y: auto;
}
.site-search-panel {
  background: #fff; width: 100%; max-width: 760px;
  border-radius: 8px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.45);
  padding: 1.5rem 1.75rem 1.75rem;
}
.site-search-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.site-search-title { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 0; color: var(--ink); }
.site-search-close {
  background: none; border: 0; cursor: pointer;
  font-size: 1.75rem; line-height: 1; color: var(--muted);
  padding: .1rem .4rem;
}
.site-search-close:hover { color: var(--ink); }
.site-search-inputwrap { position: relative; }
.site-search-inputwrap svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.site-search-inputwrap input {
  width: 100%; padding: .85rem 1rem .85rem 3rem;
  font-family: var(--sans); font-size: 1.05rem;
  border: 1px solid #dcdcdc; border-radius: 6px;
  background: #fafaf7; color: var(--ink); outline: none;
}
.site-search-inputwrap input:focus { border-color: var(--ink); background: #fff; }
.site-search-hint { font-family: var(--sans); font-size: .9rem; color: var(--muted); margin: .85rem 0 0; }
.site-search-results { margin-top: 1rem; max-height: 60vh; overflow-y: auto; }
.site-search-result {
  display: grid; grid-template-columns: 1fr; gap: .2rem;
  padding: .85rem 0; border-bottom: 1px solid #ececec;
  text-decoration: none; color: var(--ink);
  transition: padding-left .12s;
}
.site-search-result:last-child { border-bottom: 0; }
.site-search-result:hover { padding-left: .3rem; }
.site-search-result-type {
  font-family: var(--sans); font-size: .7rem; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
}
.site-search-result-title {
  font-family: var(--serif); font-weight: 500; font-size: 1.2rem;
  line-height: 1.25; color: var(--ink);
}
.site-search-result:hover .site-search-result-title { color: var(--link-hover); }
.site-search-result-excerpt {
  font-family: var(--sans); font-size: .9rem; line-height: 1.5;
  color: #4a4a4a;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-search-result mark { background: #fff5b8; color: inherit; padding: 0 .1em; }
.site-search-noresults { font-family: var(--sans); color: var(--muted); padding: 2rem 0; text-align: center; }
@media (max-width: 700px) {
  .site-search-overlay { padding: 1.5rem .75rem; }
  .site-search-panel { padding: 1.1rem 1.1rem 1.25rem; }
}

/* ---------- header ---------- */
header { background: #fff; padding: 1rem 2.5rem .9rem; }
header > nav {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 2rem;
  max-width: 1700px; margin: 0 auto;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; }
.logo-img { height: 60px; width: auto; display: block; }
.footer-logo-img { height: 46px; }

.nav-links {
  list-style: none; display: flex; gap: 2.4rem; justify-content: center;
  font-family: var(--serif); font-size: 1.25rem; font-weight: 500;
}
.nav-links a { color: var(--ink); padding: .25rem 0; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--link-hover); }

.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.search-btn { background: none; border: none; cursor: pointer; padding: .25rem; color: var(--ink); display: grid; place-items: center; }
.social-icons { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 12px; }
.social-icons a { color: var(--ink); display: grid; place-items: center; width: 16px; height: 16px; }
.social-icons a:hover { opacity: .55; }

/* Mobile hamburger button (hidden by default, shown ≤950px) */
.mobile-menu-btn {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: .35rem; width: 32px; height: 32px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.mobile-menu-bar {
  display: block; width: 22px; height: 2px; background: var(--ink);
  border-radius: 1px;
}

/* Mobile slide-in drawer */
.mobile-drawer[hidden] { display: none; }
.mobile-drawer {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10, 8, 6, 0); /* fade in */
  transition: background .2s ease;
}
.mobile-drawer.is-open { background: rgba(10, 8, 6, .55); }
.mobile-drawer-panel {
  position: absolute; top: 0; right: 0;
  width: min(82vw, 360px); height: 100%;
  background: #fff;
  padding: 1.25rem 1.5rem 2rem;
  box-shadow: -8px 0 32px -10px rgba(0,0,0,.25);
  transform: translateX(100%);
  transition: transform .22s ease;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.is-open .mobile-drawer-panel { transform: translateX(0); }
.mobile-drawer-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.5rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.mobile-drawer-logo img { height: 40px; width: auto; display: block; }
.mobile-drawer-close {
  background: none; border: 0; cursor: pointer;
  font-size: 2rem; line-height: 1; color: var(--muted);
  padding: 0 .4rem;
}
.mobile-drawer-close:hover { color: var(--ink); }
.mobile-drawer-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: .25rem;
}
.mobile-drawer-links li { margin: 0; }
.mobile-drawer-links a {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.35rem; color: var(--ink); text-decoration: none;
  display: block; padding: .8rem .25rem;
  border-bottom: 1px solid #f0f0f0;
}
.mobile-drawer-links a:hover,
.mobile-drawer-links a.active { color: var(--link-hover); }
.mobile-drawer-socials {
  display: flex; gap: 1.2rem; margin-top: 1.75rem;
  padding-top: 1.25rem; border-top: 1px solid var(--line);
}
.mobile-drawer-socials a {
  color: var(--ink); display: grid; place-items: center;
  width: 22px; height: 22px;
}
.mobile-drawer-socials a:hover { color: var(--link-hover); }
.mobile-drawer-socials svg { width: 18px; height: 18px; }

/* ---------- hero (homepage) ---------- */
.hero { color: #fff; }
.hero-home {
  position: relative; min-height: 88vh;
  background-color: #0a0606;
  background-image:
    linear-gradient(95deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 35%, rgba(0,0,0,.12) 60%, transparent 75%),
    url('https://liondiet.com/wp-content/uploads/2024/02/The-Lion-Diet-02.webp');
  background-size: cover; background-position: center right; background-repeat: no-repeat;
  display: flex; align-items: center;
}
.hero-inner {
  max-width: 1500px; margin: 0 auto; width: 100%;
  padding: 6rem 3rem;
  display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: 3rem;
}
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  line-height: 1.08; letter-spacing: -.005em;
  font-size: clamp(2.8rem, 5.4vw, 5.2rem);
  margin-bottom: 2.5rem;
  color: #fff;
}
.hero p {
  max-width: 28rem;
  font-family: var(--sans); font-weight: 300;
  font-size: 1rem; line-height: 1.65;
  color: rgba(255,255,255,.95);
  margin-bottom: 1.2rem;
}

/* hero for non-home pages (blog landing, listings, etc.) */
.hero-blog {
  background: #000; color: #fff;
  padding: 3.5rem 2rem;
  text-align: center;
}
.hero-inner-narrow { max-width: 1300px; margin: 0 auto; }
.hero-blog h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  color: #fff; line-height: 1.1; margin-bottom: 1.2rem;
}
.hero-intro {
  font-family: var(--sans); font-weight: 300;
  font-size: 1.1rem; line-height: 1.65;
  color: rgba(255,255,255,.88);
  max-width: none;
  margin: 0 auto;
  text-align: center;
  text-wrap: balance;
}
.hero-intro a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero-intro a:hover { color: var(--link-hover); }
.hero-cta {
  display: inline-block; margin-top: 1.8rem;
  font-family: var(--serif); font-weight: 500; font-size: 1.25rem;
  color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.4);
  padding: .55rem 1.8rem; text-decoration: none; letter-spacing: .01em;
  border-radius: 6px;
  transition: all .15s;
}
.hero-cta:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Getting Started (homepage) ---------- */
.getting-started {
  padding: 6rem 2rem; text-align: center;
  max-width: 900px; margin: 0 auto;
}
.getting-started h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  margin-bottom: 2rem; line-height: 1.1;
}
.getting-started p {
  font-family: var(--sans); font-weight: 400;
  font-size: 1.05rem; line-height: 1.7;
  color: #2a2a2a; margin-bottom: 1.4rem; text-align: left;
}
.getting-started .learn-more {
  display: inline-block; margin-top: 1.5rem;
  font-family: var(--serif); font-size: 1.2rem; font-weight: 500;
  color: var(--ink); border: 1px solid var(--ink); padding: .85rem 2.2rem;
  border-radius: 6px;
  transition: all .2s;
}
.getting-started .learn-more:hover { background: var(--ink); color: #fff; }

/* ---------- blog list section ---------- */
.blog-section { padding: 5rem 2rem 6rem; border-top: 1px solid var(--ink); background: #fff; }
.blog-section h2 {
  text-align: center; font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.6rem, 4.5vw, 3.8rem); margin-bottom: 3.5rem; line-height: 1.1;
}
.post-list { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 2.5rem; }
.post-row {
  display: grid; grid-template-columns: 320px 1fr; gap: 2.5rem;
  align-items: center; color: var(--ink);
  padding-bottom: 2.5rem; border-bottom: 1px solid #e0e0e0;
}
.post-row:hover { color: var(--ink); }
.post-row:last-child { border-bottom: 0; padding-bottom: 0; }
.post-thumb {
  width: 100%; aspect-ratio: 16/9;
  background-size: cover; background-position: center;
  background-color: #1a0a04;
}
.post-thumb.square { aspect-ratio: 1/1; max-width: 220px; margin: 0 auto; }
.post-thumb-empty { background: var(--cream); }
.post-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.2;
  margin-bottom: .5rem;
}
.post-row:hover .post-title { color: var(--link-hover); }
.post-date {
  font-family: var(--sans); font-weight: 400;
  font-size: .85rem; color: var(--muted);
  letter-spacing: .02em; margin-bottom: 1rem;
}
.post-excerpt { font-family: var(--sans); font-weight: 400; font-size: 1rem; line-height: 1.65; color: #2a2a2a; margin-bottom: 1rem; max-width: 50rem; }
.post-readmore { color: var(--link-hover); font-family: var(--sans); font-size: .95rem; font-weight: 500; }

/* Dark variant of the blog-section (used on the homepage's "Don't Eat That Blog" teaser) */
.blog-section-dark { background: #000; color: rgba(255,255,255,.92); border-top: 1px solid #000; }
.blog-section-dark h2 { color: #fff; }
.section-title-link { color: inherit; text-decoration: none; transition: opacity .15s; }
.section-title-link:hover { opacity: .72; }
.blog-section-dark .post-row { border-bottom-color: rgba(255,255,255,.14); color: rgba(255,255,255,.92); }
.blog-section-dark .post-row:hover { color: #fff; }
.blog-section-dark .post-title { color: #fff; }
.blog-section-dark .post-row:hover .post-title { color: var(--link-hover); }
.blog-section-dark .post-date { color: rgba(255,255,255,.55); }
.blog-section-dark .post-excerpt { color: rgba(255,255,255,.78); }
.blog-section-dark .post-tag { background: rgba(255,255,255,.08); color: rgba(255,255,255,.78); }
.blog-section-dark .post-readmore { color: var(--link-hover); }
.blog-section-cta { text-align: center; margin-top: 3rem; }
.blog-section-cta-link {
  font-family: var(--serif); font-size: 1.2rem;
  color: #fff; border: 1px solid rgba(255,255,255,.45); padding: .85rem 2.2rem;
  text-decoration: none; transition: all .15s; display: inline-block;
}
.blog-section-cta-link:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- newsletter (homepage) ---------- */
.newsletter {
  background: var(--cream); padding: 6rem 2rem;
  text-align: center;
  border-top: 1px solid var(--ink);
}
.newsletter-inner { max-width: 700px; margin: 0 auto; }
.newsletter h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 1.5rem; line-height: 1.1;
}
.newsletter p { font-family: var(--sans); font-weight: 400; font-size: 1rem; line-height: 1.65; color: #2a2a2a; margin-bottom: 2rem; }
.newsletter form {
  display: grid; grid-template-columns: 1fr auto; gap: 0;
  max-width: 480px; margin: 0 auto;
  border: 1px solid var(--ink);
  border-radius: 6px; overflow: hidden;
}
.newsletter input[type=email] {
  border: 0; padding: 1rem 1.2rem; font-family: var(--sans); font-size: 1rem;
  background: transparent; outline: none;
}
.newsletter button {
  background: var(--ink); color: #fff; border: 0;
  padding: 0 2rem; font-family: var(--serif); font-size: 1.1rem;
  cursor: pointer; letter-spacing: .03em;
}
.newsletter button:hover { background: var(--link-hover); }
.newsletter small { display: block; margin-top: 1rem; font-family: var(--sans); font-size: .8rem; color: var(--muted); }

/* ---------- individual post / page ---------- */
.post { max-width: 760px; margin: 0 auto; padding: 4rem 2rem 6rem; }
.post-header { text-align: center; margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px solid #e0e0e0; }
.post-header h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.1; margin: 1rem 0 1rem; }
.post-header .post-date { font-family: var(--sans); font-size: .85rem; color: var(--muted); margin-bottom: 0; letter-spacing: .04em; }
.post-meta-cat { display: inline-block; font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--link-hover); }

.post-body { font-family: var(--sans); font-weight: 400; font-size: 1.05rem; line-height: 1.75; color: #1a1a1a; }
.post-body p { margin: 0 0 1.4rem; }
.post-body h2 { font-family: var(--serif); font-weight: 600; font-size: 2rem; margin: 2.5rem 0 1rem; line-height: 1.2; }
.post-body h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin: 2rem 0 .8rem; line-height: 1.25; }
.post-body h4 { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; margin: 1.5rem 0 .6rem; }
.post-body ul, .post-body ol { margin: 0 0 1.4rem 1.5rem; }
.post-body li { margin-bottom: .5rem; }
.post-body a { color: var(--link-hover); text-decoration: underline; }
.post-body img { margin: 2rem auto; border-radius: 4px; box-shadow: 0 8px 24px -10px rgba(0,0,0,.2); }
.post-body blockquote { border-left: 3px solid var(--ink); padding-left: 1.5rem; margin: 2rem 0; font-style: italic; color: #2a2a2a; font-family: var(--serif); font-size: 1.3rem; }
.post-body figure { margin: 2rem 0; }
.post-body figcaption { font-size: .9rem; color: var(--muted); text-align: center; margin-top: .5rem; font-family: var(--sans); }

.video-embed { position: relative; padding-top: 56.25%; margin: 2rem 0; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.post-footer { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid #e0e0e0; text-align: center; }
.back-link { font-family: var(--serif); font-size: 1.2rem; color: var(--link-hover); }
.back-link:hover { text-decoration: underline; }

/* ---------- footer ---------- */
footer { background: #fff; padding: 4.5rem 2.5rem 2rem; border-top: 1px solid var(--line); margin-top: 0; }

.footer-top {
  max-width: 1300px; margin: 0 auto 3rem;
  display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 3.5rem;
  align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: .75rem; }
.footer-logo { display: inline-flex; align-items: center; }
.footer-logo .logo-img { height: 56px; width: auto; }
.footer-tagline {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.4rem; line-height: 1.3; color: var(--ink);
  max-width: 36ch; margin: 0;
}
.footer-tagline-soft {
  font-family: var(--sans); font-size: .85rem; line-height: 1.55;
  color: var(--muted); margin: 0; max-width: 36ch;
}
.footer-brand .footer-socials {
  margin-top: 1rem;
}

.footer-explore { display: flex; flex-direction: column; gap: .65rem; }
.footer-explore-title {
  font-family: var(--serif); font-weight: 500; font-size: 1.6rem;
  line-height: 1.1; margin: 0 0 .55rem; color: var(--ink);
}
.footer-explore a {
  font-family: var(--sans); font-size: 1rem; font-weight: 400;
  color: var(--ink); text-decoration: none;
  transition: color .15s;
}
.footer-explore a:hover { color: var(--link-hover); }

.footer-newsletter { display: flex; flex-direction: column; }
.footer-news-title { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.1; margin-bottom: .55rem; }
.footer-news-blurb { font-family: var(--sans); font-size: .92rem; color: var(--muted); margin-bottom: 1.1rem; line-height: 1.55; max-width: 42ch; }
.footer-news-form {
  display: grid; grid-template-columns: 1fr auto;
  max-width: 460px; border: 1px solid var(--ink); background: #fff;
  border-radius: 6px; overflow: hidden;
}
.footer-news-form input[type=email] {
  border: 0; padding: .9rem 1.1rem;
  font-family: var(--sans); font-size: .98rem;
  background: transparent; outline: none; min-width: 0;
}
.footer-news-form input[type=email]:focus { box-shadow: inset 0 0 0 2px rgba(74,144,194,.18); }
.footer-news-form button {
  background: var(--ink); color: #fff; border: 0;
  padding: 0 1.8rem;
  font-family: var(--serif); font-size: 1.05rem; letter-spacing: .03em;
  cursor: pointer; transition: background .15s;
}
.footer-news-form button:hover { background: var(--link-hover); }

.footer-bottom {
  max-width: 1300px; margin: 0 auto;
  padding-top: 1.5rem; border-top: 1px solid #ececec;
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copyright { font-family: var(--sans); font-size: .8rem; color: var(--muted); letter-spacing: .02em; }
.footer-socials { display: flex; gap: 1rem; align-items: center; }
.footer-socials a { color: var(--ink); display: grid; place-items: center; width: 22px; height: 22px; transition: color .2s; }
.footer-socials a:hover { color: var(--link-hover); }
.footer-socials svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column-reverse; gap: 1.2rem; text-align: center; }
}

/* ---------- MediaVine Create full recipe block (with ingredients + instructions) ---------- */
.mv-recipe-full {
  background: var(--cream); border-radius: 8px;
  padding: 2rem 2rem 2.25rem; margin: 2rem 0;
  max-width: 800px;
}
.mv-recipe-full .mv-recipe-img {
  aspect-ratio: 16/9; max-height: 420px; width: 100%;
  background-size: cover; background-position: center;
  background-color: #1a0a04; border-radius: 6px;
  margin-bottom: 1.5rem;
}
.mv-recipe-full-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15;
  margin: 0 0 .75rem; color: var(--ink);
}
.mv-recipe-desc {
  font-family: var(--sans); font-size: 1rem; line-height: 1.65;
  color: #2a2a2a; margin: 0 0 1.25rem;
}
.mv-recipe-meta {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  padding: 1rem 0; border-top: 1px solid #ddd1bc; border-bottom: 1px solid #ddd1bc;
  margin-bottom: 1.5rem;
}
.mv-recipe-meta-item { display: flex; flex-direction: column; gap: .15rem; }
.mv-recipe-meta-label {
  font-family: var(--sans); font-size: .7rem; font-weight: 500;
  letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted);
}
.mv-recipe-meta-value {
  font-family: var(--serif); font-weight: 500; font-size: 1.05rem;
  color: var(--ink);
}
.mv-recipe-section { margin-bottom: 1.5rem; }
.mv-recipe-section:last-child { margin-bottom: 0; }
.mv-recipe-section h4 {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.35rem; line-height: 1.2;
  margin: 0 0 .75rem; color: var(--ink);
}
.mv-recipe-ingredients {
  list-style: none; padding: 0; margin: 0;
  font-family: var(--sans); font-size: 1rem; line-height: 1.65;
  color: #2a2a2a;
}
.mv-recipe-ingredients li {
  padding: .35rem 0 .35rem 1.4rem; position: relative;
  border-bottom: 1px solid #e8dfca;
}
.mv-recipe-ingredients li:last-child { border-bottom: 0; }
.mv-recipe-ingredients li::before {
  content: ''; position: absolute; left: .25rem; top: .85rem;
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink);
}
.mv-recipe-instructions {
  padding: 0 0 0 1.5rem; margin: 0;
  font-family: var(--sans); font-size: 1rem; line-height: 1.7;
  color: #2a2a2a;
}
.mv-recipe-instructions li { padding-left: .25rem; margin-bottom: .6rem; }
.mv-recipe-instructions li:last-child { margin-bottom: 0; }
@media (max-width: 700px) {
  .mv-recipe-full { padding: 1.25rem; }
  .mv-recipe-full .mv-recipe-img { aspect-ratio: 4/3; margin-bottom: 1.1rem; }
}

/* ---------- MediaVine Create recipe placeholder card (fallback) ---------- */
.mv-recipe-card {
  display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem;
  align-items: center;
  background: var(--cream); border-radius: 6px;
  padding: 1.25rem; margin: 1.5rem 0;
  max-width: 700px;
}
.mv-recipe-img {
  aspect-ratio: 1/1; background-size: cover; background-position: center;
  background-color: #1a0a04; border-radius: 4px;
}
.mv-recipe-label {
  font-family: var(--sans); font-size: .7rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
  margin: 0 0 .35rem;
}
.mv-recipe-title {
  font-family: var(--serif); font-weight: 500; font-size: 1.5rem;
  line-height: 1.15; margin: 0 0 .5rem; color: var(--ink);
}
.mv-recipe-note {
  font-family: var(--sans); font-size: .9rem; line-height: 1.5;
  color: var(--muted); margin: 0 0 .8rem;
}
.mv-recipe-link {
  font-family: var(--sans); font-size: .95rem; font-weight: 500;
  color: var(--link-hover); text-decoration: none;
}
.mv-recipe-link:hover { text-decoration: underline; }
@media (max-width: 700px) {
  .mv-recipe-card { grid-template-columns: 1fr; }
  .mv-recipe-img { aspect-ratio: 4/3; }
}

/* ---------- recipes page: cooking tips accordion at the top ---------- */
.recipe-tips { padding: 3rem 2rem 1.5rem; }
.recipe-tips-inner { max-width: 900px; margin: 0 auto; }
.recipe-tips-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem); line-height: 1.15;
  margin-bottom: .5rem;
}
.recipe-tips-intro {
  font-family: var(--sans); font-size: 1rem; line-height: 1.7;
  color: var(--muted); margin-bottom: 1.5rem; max-width: 60ch;
}

/* ---------- FAQ → Recipes callout ---------- */
.faq-recipes-callout {
  background: var(--cream); border-left: 3px solid var(--ink);
  padding: 1.4rem 1.5rem; margin: 1.5rem 0 1rem;
  border-radius: 4px;
}
.faq-recipes-callout h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.4rem; line-height: 1.2; margin-bottom: .35rem;
}
.faq-recipes-callout p {
  font-family: var(--sans); font-size: .95rem; line-height: 1.55;
  color: #2a2a2a; margin-bottom: .8rem;
}
.faq-recipes-link {
  font-family: var(--sans); font-size: .95rem; font-weight: 500;
  color: var(--link-hover); text-decoration: none;
}
.faq-recipes-link:hover { text-decoration: underline; }

/* ---------- recipes (photo gallery) ---------- */
.recipe-hero { padding: 4rem 2rem 2.5rem; max-width: 880px; margin: 0 auto; text-align: center; }
.recipe-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(3rem, 5.5vw, 5rem); line-height: 1.05; margin-bottom: 1.4rem; }
.recipe-welcome { font-family: var(--sans); font-size: 1.05rem; line-height: 1.7; color: #2a2a2a; max-width: 62ch; margin: 0 auto; text-align: left; }

.recipe-controls { background: #fff; border-top: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; padding: 1.4rem 2rem; position: sticky; top: 0; z-index: 30; backdrop-filter: blur(8px); background: rgba(255,255,255,.92); }
.recipe-controls-inner { max-width: 1500px; margin: 0 auto; display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.recipe-search { display: flex; align-items: center; gap: .6rem; background: #f6f4ef; border-radius: 999px; padding: .6rem 1.2rem; min-width: 280px; flex: 0 0 auto; }
.recipe-search svg { color: var(--muted); }
.recipe-search input { border: 0; background: transparent; font-family: var(--sans); font-size: .95rem; outline: none; width: 100%; padding: .15rem 0; }
.recipe-chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.recipe-chip {
  font-family: var(--sans); font-size: .88rem; font-weight: 500;
  color: var(--ink); background: #fff;
  border: 1px solid #c8c8c8; padding: .5rem 1rem;
  border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: all .15s;
}
.recipe-chip:hover { border-color: var(--ink); background: #fafaf7; }
.recipe-chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.recipe-chip .chip-count { font-size: .75rem; font-weight: 400; padding: .1rem .45rem; background: #f0eee8; border-radius: 99px; min-width: 1.6rem; text-align: center; color: var(--muted); }
.recipe-chip.is-active .chip-count { background: rgba(255,255,255,.18); color: rgba(255,255,255,.9); }

.recipes-wrap { padding: 2rem 0 5rem; }
.recipe-section { max-width: 1500px; margin: 4rem auto; padding: 0 2rem; }
.recipe-section:first-child { margin-top: 3rem; }
.recipe-section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.recipe-section-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.1; margin-bottom: .8rem; }
.recipe-section-head p { font-family: var(--sans); font-size: 1rem; line-height: 1.65; color: var(--muted); max-width: 60ch; margin: 0 auto; }

.recipe-grid { columns: 4; column-gap: 1.4rem; }
.recipe-tile {
  break-inside: avoid; display: block; margin-bottom: 1.4rem;
  text-decoration: none; color: var(--ink);
  position: relative; overflow: hidden; border-radius: 4px;
  transition: transform .25s, box-shadow .25s;
  background: #1a0a04;
  box-shadow: 0 8px 24px -16px rgba(0,0,0,.3);
}
.recipe-tile:hover { transform: scale(1.01); box-shadow: 0 16px 40px -16px rgba(0,0,0,.45); }
.recipe-img {
  width: 100%; aspect-ratio: 4/5;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.recipe-tile:nth-child(3n+1) .recipe-img { aspect-ratio: 4/5; }
.recipe-tile:nth-child(3n+2) .recipe-img { aspect-ratio: 1/1; }
.recipe-tile:nth-child(3n+3) .recipe-img { aspect-ratio: 4/6; }
.recipe-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.3rem;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.15) 55%, transparent 100%);
  color: #fff;
}
.recipe-tag { font-family: var(--sans); font-size: .68rem; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: .45rem; }
.recipe-title { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; line-height: 1.2; }

.recipes-empty { text-align: center; padding: 4rem 1rem; color: var(--muted); font-family: var(--sans); }

@media (max-width: 1100px) { .recipe-grid { columns: 3; } }
@media (max-width: 800px) { .recipe-grid { columns: 2; } }
@media (max-width: 500px) { .recipe-grid { columns: 1; } }

/* ---------- FAQ listing page ---------- */
.faq-list-section { max-width: 900px; margin: 0 auto; padding: 4rem 2rem 6rem; }
.faq-list { display: flex; flex-direction: column; gap: 3rem; }
.faq-section {
  display: flex; flex-direction: column; gap: 1rem;
  margin-bottom: 2.5rem;
  scroll-margin-top: 1.5rem;
}
.faq-section:last-child { margin-bottom: 0; }
.faq-cat-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.7rem, 3.2vw, 2.2rem); line-height: 1.15;
  margin-bottom: .25rem;
  display: flex; align-items: baseline; gap: .8rem;
}
.faq-cat-count {
  font-family: var(--sans); font-size: .8rem; font-weight: 400;
  color: var(--muted); letter-spacing: .02em;
}

.faq-items { display: flex; flex-direction: column; gap: .5rem; }
.faq-item {
  border-bottom: 1px solid #e8e8e8;
  transition: background .15s;
}
.faq-item:hover { background: #fafaf7; }
.faq-item[open] { background: #fafaf7; }

.faq-question {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.2rem; line-height: 1.35; color: var(--ink);
  padding: 1.1rem 3rem 1.1rem 1rem;
  cursor: pointer; list-style: none; position: relative;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+'; position: absolute; right: 1.2rem; top: 50%;
  transform: translateY(-50%); font-family: var(--sans); font-weight: 300;
  font-size: 1.6rem; color: var(--muted); line-height: 1;
  transition: transform .2s, color .2s;
}
.faq-item[open] .faq-question::after { content: '−'; color: var(--ink); }
.faq-question:hover { color: var(--link-hover); }

.faq-answer {
  padding: 0 1rem 1.4rem;
  font-family: var(--sans); font-size: 1rem; line-height: 1.7;
  color: #2a2a2a;
}
.faq-answer p { margin-bottom: 1rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--link-hover); text-decoration: underline; }
.faq-answer ul, .faq-answer ol { margin: .8rem 0 1rem 1.5rem; }
.faq-answer li { margin-bottom: .3rem; }
.faq-answer h2, .faq-answer h3, .faq-answer h4 { font-family: var(--serif); margin: 1.2rem 0 .6rem; line-height: 1.2; }
.faq-answer h2 { font-size: 1.3rem; }
.faq-answer h3 { font-size: 1.15rem; }
.faq-answer img { margin: 1rem 0; border-radius: 3px; }
.faq-answer blockquote { border-left: 3px solid var(--ink); padding-left: 1rem; margin: 1rem 0; color: var(--muted); }

/* ---------- my experience page (alternating bands) ---------- */
.exp-band { padding: 3.5rem 2rem; }
.exp-band-dark { background: #000; color: rgba(255,255,255,.92); }
.exp-band-inner {
  max-width: 1100px; margin: 0 auto;
  font-family: var(--sans); font-size: 1rem; line-height: 1.75;
  color: inherit;
}
.exp-band-inner p { margin-bottom: 1.4rem; }
.exp-band-inner p:last-child { margin-bottom: 0; }
.exp-band-inner a { color: var(--link-hover); text-decoration: underline; }
.exp-band-dark .exp-band-inner a { color: var(--link-hover); }
.exp-band-dark .exp-band-inner strong { color: #fff; }
.exp-band-inner img {
  max-width: 100%; height: auto; display: block; margin: 1.5rem auto;
  border-radius: 4px;
}
.exp-band-inner figure { margin: 1.5rem auto; max-width: 600px; }
.exp-band-inner figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .5rem; }
.exp-band-dark figcaption { color: rgba(255,255,255,.6); }
.exp-band-inner h2, .exp-band-inner h3 { font-family: var(--serif); font-weight: 500; margin: 2rem 0 1rem; line-height: 1.2; }
.exp-band-inner h2 { font-size: 1.8rem; }
.exp-band-inner h3 { font-size: 1.4rem; }
.exp-band-inner ul, .exp-band-inner ol { margin: 0 0 1.4rem 1.5rem; }
.exp-band-inner li { margin-bottom: .4rem; }

.exp-cta-section { text-align: center; padding: 4rem 2rem 6rem; }
.exp-cta {
  display: inline-block; font-family: var(--serif); font-weight: 500; font-size: 1.25rem;
  color: var(--ink); border: 1px solid var(--ink); padding: 1rem 2.6rem;
  border-radius: 6px;
  text-decoration: none; transition: all .2s;
}
.exp-cta:hover { background: var(--ink); color: #fff; }

/* ---------- get started page ---------- */
.gs-hero { padding: 4rem 2rem 3rem; max-width: 1100px; margin: 0 auto; text-align: center; }
.gs-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(3rem, 5.5vw, 5rem); line-height: 1; margin-bottom: 2rem; }
.gs-hero-rule { width: 100%; max-width: 1100px; height: 1px; background: var(--ink); margin: 0 auto; }

.gs-section { max-width: 1100px; margin: 0 auto; padding: 4rem 2rem; }
.gs-h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; text-align: center; margin-bottom: 2.5rem; }
.gs-h2.on-dark { color: #fff; }
.gs-prose { font-family: var(--sans); font-size: 1rem; line-height: 1.75; color: var(--ink); }
.gs-prose p { margin-bottom: 1.4rem; }
.gs-prose a { color: var(--link-hover); text-decoration: underline; }
.gs-prose a:hover { color: var(--ink); }
.gs-prose strong { font-weight: 600; }

.gs-band { padding: 4rem 2rem; }
.gs-band-dark { background: #000; color: rgba(255,255,255,.92); }
.gs-band-inner { max-width: 1100px; margin: 0 auto; }

.gs-toc-grid { display: grid; grid-template-columns: repeat(3, auto); gap: 1.2rem 3.5rem; justify-content: center; }
.gs-purchase-grid { display: grid; grid-template-columns: repeat(2, auto); gap: 1.1rem 5rem; justify-content: center; }
.gs-toc-link {
  display: flex; align-items: center; gap: 1rem;
  text-decoration: none; color: rgba(255,255,255,.92);
  padding: .55rem 0; font-family: var(--sans); font-size: 1rem; line-height: 1.3;
  transition: color .15s, transform .15s;
}
.gs-toc-link svg { color: rgba(255,255,255,.85); flex-shrink: 0; }
.gs-toc-link:hover { color: #fff; transform: translateX(3px); }
.gs-toc-link:hover svg { color: var(--link-hover); }

.gs-prose.on-dark { color: rgba(255,255,255,.88); }
.gs-prose.on-dark a { color: var(--link-hover); }
.gs-prose.on-dark a:hover { color: #fff; }
.gs-prose.on-dark strong { color: #fff; }

.gs-reintro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.gs-reintro-imgs { display: flex; flex-direction: column; gap: 1.5rem; }
.gs-reintro-img { width: 100%; aspect-ratio: 4/3; background-size: cover; background-position: center; border-radius: 3px; box-shadow: 0 12px 30px -16px rgba(0,0,0,.5); }

/* Tips numbered list — restyle */
.gs-tips { list-style: none; counter-reset: tip; padding-left: 0; }
.gs-tips > li {
  counter-increment: tip;
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.4rem;
  line-height: 1.7;
}
.gs-tips > li::before {
  content: counter(tip) ".";
  position: absolute; left: 0; top: 0;
  font-family: var(--serif); font-weight: 500;
  color: var(--link-hover); font-size: 1.2rem;
}

/* Side effects nested bullets */
.gs-bullets { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.4rem; }
.gs-bullets > li { margin-bottom: 1rem; line-height: 1.7; }
.gs-bullets > li > ul { list-style: circle; margin: .6rem 0 0 1rem; padding-left: 1rem; }
.gs-bullets > li > ul > li { margin-bottom: .35rem; }

@media (max-width: 900px) {
  .gs-toc-grid { grid-template-columns: 1fr 1fr; }
  .gs-purchase-grid { grid-template-columns: 1fr; gap: .8rem; }
  .gs-reintro-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .gs-toc-grid { grid-template-columns: 1fr; }
}

/* ---------- contact page ---------- */
.contact-page { max-width: 1200px; margin: 0 auto; padding: 3rem 2rem 4rem; }
.contact-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 3rem; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-form .form-grid { gap: 1.2rem; }

.contact-aside { display: flex; flex-direction: column; gap: 1.2rem; justify-content: flex-start; position: sticky; top: 2rem; }
.contact-card { background: #fafaf7; border-left: 3px solid var(--ink); padding: 1.2rem 1.4rem; }
.contact-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; margin-bottom: .4rem; }
.contact-card p { font-family: var(--sans); font-size: .92rem; line-height: 1.5; color: #2a2a2a; margin-bottom: .7rem; }
.contact-card-link {
  display: inline-block;
  font-family: var(--sans); font-weight: 500; font-size: .92rem;
  color: var(--link-hover); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
}
.contact-card-link:hover { color: var(--ink); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-aside { position: static; }
}

/* ---------- research page ---------- */
.research-layout {
  max-width: 1300px; margin: 0 auto;
  padding: 4rem 2rem 6rem;
  display: grid; grid-template-columns: 230px 1fr; gap: 3.5rem;
  align-items: start;
}
.research-toc-inner {
  position: sticky; top: 1.5rem;
  padding-top: .25rem;
}
.toc-title {
  font-family: var(--serif);
  font-size: 1.25rem; font-weight: 500;
  color: var(--ink); margin-bottom: 1.4rem;
  line-height: 1.3;
  text-align: left;
}
.toc-nav {
  display: flex; flex-direction: column;
  gap: .9rem; padding-left: 0;
  align-items: flex-start; text-align: left;
}
.toc-link {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 400;
  color: var(--ink); text-decoration: none;
  line-height: 1.4;
  text-align: left;
  transition: color .15s;
  cursor: pointer;
  background: transparent; border: 0; padding: 0;
  display: flex; align-items: baseline; gap: .55rem;
}
.toc-link:hover { color: var(--link-hover); }
.toc-link.is-active { font-weight: 600; color: var(--ink); }

.research-main { min-width: 0; }
.research-search-wrap {
  position: relative; margin-bottom: 2.5rem;
}
.research-search-wrap svg {
  position: absolute; left: .95rem; top: 50%;
  transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
  width: 16px; height: 16px;
}
.research-search-wrap input {
  width: 100%;
  padding: .65rem 1rem .65rem 2.6rem;
  font-family: var(--sans); font-size: .95rem;
  border: 1px solid #e2e2e2; border-radius: 6px;
  background: #fff; color: var(--ink);
}
.research-search-wrap input:focus {
  outline: none; border-color: var(--ink);
}
.research-search-wrap input::-webkit-search-cancel-button {
  cursor: pointer;
}
.research-empty {
  font-family: var(--sans); font-size: 1rem; line-height: 1.6;
  color: var(--muted); padding: 2rem 0; text-align: center;
}

.research-wrap { padding: 0; }
.research-section { margin-bottom: 2.25rem; scroll-margin-top: 1.5rem; }
.research-section:last-child { margin-bottom: 0; }
.research-section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem); line-height: 1.15;
  margin-bottom: .75rem;
  display: flex; align-items: baseline; gap: .8rem;
}
.research-count {
  font-family: var(--sans); font-size: .8rem; font-weight: 400;
  color: var(--muted); letter-spacing: .02em;
}
.research-papers { display: flex; flex-direction: column; }
.research-paper-card {
  padding: .65rem 0;
}
.research-paper-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.25; margin-bottom: .45rem;
  letter-spacing: -.005em;
}
.research-paper-title a {
  color: var(--ink); text-decoration: none;
  transition: color .15s;
}
.research-paper-title a:hover { color: var(--link-hover); }
.research-abstract {
  font-family: var(--sans); font-size: 1rem;
  line-height: 1.65; color: #2a2a2a;
  margin-bottom: .6rem;
}
.research-paper-link {
  font-family: var(--sans); font-size: .9rem; font-weight: 500;
  color: var(--link-hover); text-decoration: none;
  display: inline-flex; align-items: center; gap: .35rem;
  transition: gap .15s;
}
.research-paper-link:hover { gap: .55rem; }
.research-arrow {
  font-family: var(--serif); font-size: 1.05rem;
  transition: transform .15s;
}
@media (max-width: 900px) {
  .research-layout {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.25rem 4rem;
    gap: 1.5rem;
  }
  .research-toc-inner { position: static; }
  .toc-title { margin-bottom: .75rem; }
  .toc-nav { padding-left: 0; gap: .55rem; }
  .toc-link { font-size: .95rem; }
  .research-paper-card { padding: 1.5rem 0; }
}

/* ---------- resources page ---------- */
.res-band { padding: 5rem 2rem; }
.res-band-dark { background: #000; color: #fff; }
.res-band-dark a { color: #fff; }
.res-inner { max-width: 1300px; margin: 0 auto; }
.res-section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 4.5vw, 3.4rem); text-align: center; margin-bottom: 3rem; line-height: 1.1; }
.res-band-dark .res-section-title { color: #fff; }
.res-intro { font-family: var(--sans); font-size: 1.05rem; line-height: 1.7; max-width: 64rem; margin: 0 auto 2.5rem; color: rgba(255,255,255,.85); text-align: left; }

.res-link-grid { display: grid; grid-template-columns: repeat(3, auto); gap: 1rem 4rem; justify-content: center; }
.res-link-grid-two { grid-template-columns: repeat(2, auto); gap: .75rem 5rem; }
.res-link { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; text-decoration: none; transition: color .15s, transform .1s; color: inherit; }
.res-link:hover { color: var(--link-hover); transform: translateX(2px); }
.res-icon { display: inline-grid; place-items: center; width: 20px; height: 20px; flex-shrink: 0; }
.res-icon svg { width: 20px; height: 20px; display: block; }
.res-label { font-family: var(--sans); font-size: 1rem; line-height: 1.4; }
.res-band-dark .res-link { color: #fff; }
.res-band-dark .res-link:hover { color: var(--link-hover); }

.meat-list { list-style: disc; padding-left: 1.4rem; font-family: var(--sans); font-size: 1.05rem; line-height: 2; max-width: 720px; margin: 0 auto 2rem; }
.meat-list-2col { column-count: 2; column-gap: 3.5rem; }
.meat-list li { margin-bottom: .25rem; color: rgba(255,255,255,.95); break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; }
.meat-list a { color: var(--link-hover); text-decoration: none; }
.meat-list a:hover { text-decoration: underline; }
.meat-suffix { color: rgba(255,255,255,.6); font-style: italic; padding-left: .25rem; font-size: .92rem; }
.meat-note { font-family: var(--sans); font-size: 1rem; color: rgba(255,255,255,.85); text-align: center; max-width: 720px; margin: 0 auto; }
.meat-note a { color: var(--link-hover); text-decoration: underline; }

.experts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; max-width: 1100px; margin: 0 auto; }
.expert-group h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; text-align: center; padding-bottom: .8rem; margin-bottom: 1.2rem; border-bottom: 1px solid rgba(255,255,255,.25); letter-spacing: .02em; }
.expert-row { display: flex; justify-content: space-between; align-items: center; padding: .55rem 0; }
.expert-name { font-family: var(--sans); font-size: 1rem; color: #fff; }
.expert-socials { display: inline-flex; gap: .8rem; align-items: center; }
.expert-socials a { display: inline-grid; place-items: center; width: 26px; height: 26px; color: #fff; background: #1a1a1a; transition: background .15s; border-radius: 3px; }
.expert-socials a:hover { background: var(--link-hover); }
.expert-socials svg { width: 14px; height: 14px; display: block; }

.books-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.book-card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .15s; }
.book-card:hover { transform: translateY(-3px); }
.book-cover {
  aspect-ratio: 2/3;
  background-color: #1a1a1a;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  border-radius: 3px; box-shadow: 0 12px 24px -12px rgba(0,0,0,.45);
}
.book-meta { padding: 1rem 0 0; text-align: center; }
.book-title-line { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; line-height: 1.25; margin-bottom: .35rem; color: var(--ink); }
.book-author { font-family: var(--sans); font-size: .9rem; color: var(--muted); margin-bottom: .35rem; }
.book-link { font-family: var(--sans); font-size: .85rem; color: var(--link-hover); font-weight: 500; }

@media (max-width: 950px) {
  .res-link-grid, .res-link-grid-two { grid-template-columns: 1fr 1fr; gap: .75rem 2rem; }
  .experts-grid { grid-template-columns: 1fr; gap: 3rem; }
  .books-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .res-link-grid, .res-link-grid-two { grid-template-columns: 1fr; }
  .meat-list-2col { column-count: 1; }
  .books-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- blog controls (search + tag chips) ---------- */
.blog-controls { background: #fafaf7; border-bottom: 1px solid #e0e0e0; padding: 2.5rem 2rem 2rem; }
.blog-controls-inner { max-width: 1100px; margin: 0 auto; }
.blog-search {
  position: relative; max-width: 540px; margin: 0 auto 1.8rem;
  display: flex; align-items: center;
}
.blog-search svg { position: absolute; left: 1.1rem; color: var(--muted); pointer-events: none; }
.blog-search input {
  width: 100%; font-family: var(--sans); font-size: 1.05rem; color: var(--ink);
  padding: .95rem 3rem .95rem 3.2rem;
  border: 1px solid #c8c8c8; background: #fff; border-radius: 999px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.blog-search input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(74,144,194,.15); }
#blog-search-clear {
  position: absolute; right: 1rem; background: none; border: 0; color: var(--muted);
  font-size: 1.5rem; cursor: pointer; line-height: 1; padding: .25rem .5rem;
}
#blog-search-clear:hover { color: var(--ink); }

.tag-chips {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .5rem; margin-bottom: 1.2rem;
}
.tag-chip {
  font-family: var(--sans); font-size: .88rem; font-weight: 500;
  color: var(--ink); background: #fff;
  border: 1px solid #c8c8c8; padding: .5rem 1rem;
  border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: all .15s;
}
.tag-chip:hover { border-color: var(--ink); background: #f4f1ec; }
.tag-chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-count {
  font-size: .75rem; color: var(--muted); font-weight: 400;
  padding: .1rem .45rem; background: #f0eee8; border-radius: 99px;
  min-width: 1.6rem; text-align: center;
}
.tag-chip.is-active .chip-count { background: rgba(255,255,255,.18); color: rgba(255,255,255,.85); }

.blog-count {
  font-family: var(--sans); font-size: .9rem; color: var(--muted);
  margin-bottom: 1.5rem; letter-spacing: .02em;
}
.blog-empty { text-align: center; color: var(--muted); font-family: var(--sans); padding: 4rem 1rem; }

/* per-post tag pills (small) */
.post-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; margin-bottom: 1rem; }
.post-meta-row .post-date { margin-bottom: 0; }
.post-tag {
  font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase; color: var(--link-hover);
  padding: .15rem .55rem; background: #eaf2f9; border-radius: 99px;
}

/* ---------- submit story form page ---------- */
/* Universal: kill the browser's dotted underline under <abbr> */
abbr[title] { text-decoration: none; border-bottom: 0; cursor: help; }

.form-page-tight { max-width: 880px; margin: 0 auto; padding: 3.5rem 2rem 5rem; }
.story-form { display: flex; flex-direction: column; gap: 2.5rem; }

.form-row { display: grid; gap: 1.4rem; }
.form-row-2 { grid-template-columns: 1fr 1fr; margin-bottom: 1.4rem; }
@media (max-width: 700px) { .form-row-2 { grid-template-columns: 1fr; } }

/* Form field — fresh "ff-*" namespace so it doesn't collide with the older .field/.contact-form rules */
.ff { display: flex; flex-direction: column; align-items: stretch; }
.ff-half { max-width: calc(50% - .7rem); }
@media (max-width: 700px) { .ff-half { max-width: 100%; } }

.ff-label {
  font-family: var(--sans); font-weight: 500; font-size: .92rem;
  color: var(--ink); margin-bottom: .45rem; line-height: 1.3;
}
.req { color: var(--link-hover); font-weight: 600; font-style: normal; padding-left: .12em; }

.ff-hint {
  font-family: var(--sans); font-size: .82rem; color: var(--muted);
  margin-top: .35rem; line-height: 1.45;
}
.ff > .ff-hint:first-of-type { margin-top: 0; margin-bottom: .45rem; }

.ff-input {
  font-family: var(--sans); font-size: .95rem; line-height: 1.5; color: var(--ink);
  padding: .55rem .8rem;
  border: 1px solid #dcdcdc; background: #fafaf7;
  border-radius: 2px; outline: none;
  transition: border-color .15s, background .15s, box-shadow .15s;
  width: 100%;
}
textarea.ff-input { resize: vertical; min-height: 80px; }
.ff-input:focus { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 2px rgba(74,144,194,.15); }

/* Anonymous checkbox row (sits below the Name input, left-aligned, no stretched click area) */
.ff-check {
  display: inline-flex; align-items: center; gap: .55rem;
  align-self: flex-start;
  margin-top: .7rem; padding: 0;
  font-family: var(--sans); font-size: .9rem; color: var(--ink);
  cursor: pointer; user-select: none;
  background: transparent;
}
.ff-check input[type=checkbox] {
  width: 15px; height: 15px; margin: 0;
  cursor: pointer;
  accent-color: var(--ink);
  flex-shrink: 0;
}
.ff-check input[type=checkbox]:focus { outline: none; box-shadow: none; }
.ff-check input[type=checkbox]:focus-visible { outline: 2px solid var(--link-hover); outline-offset: 2px; }

/* Disabled field state (used by JS when "Submit anonymously" is checked) */
.ff.is-disabled { opacity: .45; }
.ff.is-disabled .ff-label { color: var(--muted); }
.ff.is-disabled .ff-input { background: #efece4; cursor: not-allowed; pointer-events: none; }

/* Tag picker — selectable chips above the textarea */
.tag-picker { display: flex; flex-wrap: wrap; gap: .4rem; margin: .25rem 0 1rem; }
.tag-pick {
  font-family: var(--sans); font-size: .82rem; font-weight: 500;
  color: var(--ink); background: #fff;
  border: 1px solid #c8c8c8; padding: .35rem .85rem;
  border-radius: 999px; cursor: pointer;
  transition: all .15s;
}
.tag-pick:hover { border-color: var(--ink); background: #fafaf7; }
.tag-pick.is-selected { background: var(--ink); color: #fff; border-color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Legend (section heading) — make sure the required asterisk inside legends looks right */
.form-section legend .req { font-size: .9em; vertical-align: top; }
.form-section { border: none; padding: 0; }
.form-section legend { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; padding-bottom: .8rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--ink); width: 100%; line-height: 1.1; }
.section-help { font-family: var(--sans); font-size: .95rem; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.55; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field.field-wide { grid-column: 1 / -1; }
.field > span { font-family: var(--sans); font-weight: 500; font-size: .92rem; color: var(--ink); }
.field > span em { font-style: normal; font-weight: 400; color: var(--muted); font-size: .88em; }
.field > span abbr { color: var(--link-hover); text-decoration: none; border: 0; cursor: help; }
.field > small { font-family: var(--sans); font-size: .85rem; color: var(--muted); margin-top: -.15rem; }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 1rem; line-height: 1.5; color: var(--ink);
  padding: .75rem .95rem;
  border: 1px solid #c8c8c8; background: #fafafa;
  border-radius: 2px; outline: none;
  transition: border-color .15s, background .15s, box-shadow .15s;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(74,144,194,.15); }
.field textarea { resize: vertical; min-height: 80px; font-family: var(--sans); }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 14px;
  padding-right: 2.5rem; cursor: pointer;
}
.field select:invalid { color: var(--muted); }

.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.photo-drop {
  position: relative; cursor: pointer; display: block;
  aspect-ratio: 1/1;
  border: 2px dashed #c8c8c8; border-radius: 4px;
  background-color: #fafafa; background-size: cover; background-position: center; background-repeat: no-repeat;
  transition: border-color .2s, background-color .2s;
  overflow: hidden;
}
.photo-drop:hover, .photo-drop.is-dragover { border-color: var(--ink); }
.photo-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.photo-drop-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .6rem; padding: 2rem; text-align: center; color: var(--ink);
  background: rgba(250,250,250,.0); transition: background .2s;
}
.photo-drop.has-photo .photo-drop-inner { background: rgba(255,255,255,.88); }
.photo-drop-inner svg { color: var(--muted); }
.photo-drop-label { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; }
.photo-drop-hint { font-family: var(--sans); font-size: .88rem; color: var(--muted); max-width: 18rem; }

.consent { padding-top: 1rem; }
.consent-check { display: flex; gap: .8rem; align-items: flex-start; cursor: pointer; }
.consent-check input { margin-top: .35rem; cursor: pointer; width: 18px; height: 18px; flex-shrink: 0; }
.consent-check span { font-family: var(--sans); font-size: .95rem; line-height: 1.6; color: #2a2a2a; }
.consent-check a { color: var(--link-hover); text-decoration: underline; }

.form-submit {
  font-family: var(--serif); font-weight: 500; font-size: 1.3rem;
  background: var(--ink); color: #fff;
  border: 0; padding: 1.1rem 3rem; cursor: pointer;
  align-self: flex-start;
  transition: background .2s, transform .1s;
}
.form-submit:hover { background: var(--link-hover); }
.form-submit:active { transform: translateY(1px); }

@media (max-width: 700px) {
  .form-grid, .photo-grid { grid-template-columns: 1fr; }
  .form-page { padding: 2.5rem 1.25rem 4rem; }
}

/* ---------- individual transformation page ---------- */
.trans-page { max-width: 760px; margin: 0 auto; padding: 3.5rem 2rem 5rem; }
.trans-page-header { text-align: center; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e0e0e0; }
.trans-page-header h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.1; margin: 1rem 0 .8rem; }
.trans-page-header .post-meta-cat { color: var(--link-hover); }
.trans-page-header .post-date { font-family: var(--sans); font-size: .9rem; color: var(--muted); }
.trans-page-img { margin: 0 auto 3rem; max-width: 560px; }
.trans-page-img img { width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.35); }

/* ---------- success stories listing (Blog Card layout) ---------- */
.story-band { background: var(--cream); padding: 5rem 2rem; }
.story-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.story-card {
  text-decoration: none; color: var(--ink); display: flex; flex-direction: column;
  background: #fff; border-radius: 4px; overflow: hidden;
  box-shadow: 0 8px 22px -14px rgba(40,30,15,.2);
  transition: transform .2s, box-shadow .25s;
}
.story-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -20px rgba(40,30,15,.35);
}
.story-img {
  aspect-ratio: 1/1;
  background-size: cover; background-position: center;
  background-color: #1a0a04;
}
.story-img-empty { background: linear-gradient(135deg, #d8d2c4, #b8b0a0); }

.story-card-body { padding: 1.6rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; }
.story-name {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.8rem; line-height: 1.1; letter-spacing: -.005em;
  color: var(--link-hover);
}
.story-card:hover .story-name { color: var(--ink); }
.story-subtitle {
  font-family: var(--sans); font-size: .9rem; line-height: 1.5;
  color: var(--muted); margin-bottom: .2rem;
}
.story-excerpt {
  font-family: var(--sans); font-size: .95rem; line-height: 1.6;
  color: #2a2a2a; margin-top: .3rem;
}
.story-tags {
  display: flex; flex-wrap: wrap; gap: .3rem;
  margin-top: .6rem;
}
.story-tag-pill {
  font-family: var(--sans); font-size: .7rem; font-weight: 500;
  padding: .2rem .55rem;
  background: #f4f1ec; color: var(--muted);
  border-radius: 99px; letter-spacing: .02em;
  white-space: nowrap;
}
.story-more {
  font-family: var(--sans); font-size: .9rem; color: var(--link-hover);
  font-weight: 500; margin-top: auto;
  padding-top: 1rem; border-top: 1px solid #f0eee8;
}

/* Filter sidebar — matches research page TOC */
.story-layout {
  background: #fff;
  max-width: 1500px; margin: 0 auto;
  padding: 4rem 2rem 6rem;
  display: grid; grid-template-columns: 240px 1fr; gap: 3.5rem;
  align-items: start;
}
.story-toc-inner {
  position: sticky; top: 1.5rem;
  padding-top: .25rem;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
}
.story-toc .toc-link {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: flex; align-items: baseline; gap: .6rem;
}
.story-toc .toc-count {
  font-family: var(--sans); font-size: .75rem; font-weight: 400;
  color: var(--muted);
  margin-left: auto; flex-shrink: 0;
}
.story-toc .toc-link.is-active .toc-count { color: var(--ink); }
.story-main { min-width: 0; }
.story-count {
  font-family: var(--sans); font-size: .9rem;
  color: var(--muted); margin-bottom: 1.5rem;
}
.story-empty {
  font-family: var(--sans); color: var(--muted);
  text-align: center; padding: 2rem;
}
.story-band { background: transparent; padding: 0; }
.story-grid {
  max-width: none; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
}
@media (max-width: 900px) {
  .story-layout {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.25rem 4rem;
    gap: 1.5rem;
  }
  .story-toc-inner { position: static; max-height: none; }
  .story-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.story-chip.is-active span { background: rgba(255,255,255,.18); color: rgba(255,255,255,.85); }
.story-count {
  font-family: var(--sans); font-size: .85rem; color: var(--muted);
  text-align: center; margin-top: 1.2rem; letter-spacing: .02em;
}
.story-empty { text-align: center; padding: 4rem 2rem; color: var(--muted); font-family: var(--sans); }

@media (max-width: 1100px) and (min-width: 901px) { .story-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }

/* ---------- responsive ---------- */
@media (max-width: 1300px) { .nav-links { gap: 1.8rem; font-size: 1.1rem; } }
@media (max-width: 1100px) { .nav-links { gap: 1.4rem; font-size: 1rem; } }
@media (max-width: 950px) {
  .nav-links { display: none; }
  .nav-right > .social-icons { display: none; }
  .mobile-menu-btn { display: flex; }
  header { padding: 1rem 1.5rem .9rem; }
  header > nav { gap: 1rem; }
  .nav-right { gap: .75rem; }
  .hero-inner { grid-template-columns: 1fr; padding: 4rem 1.5rem; }
  .post-row { grid-template-columns: 1fr; gap: 1.2rem; }
  .post-thumb { max-width: 100%; }
  .post-thumb.square { max-width: 100%; aspect-ratio: 16/9; }
  .footer-nav { gap: 1rem; font-size: 1rem; }
  .post { padding: 3rem 1.5rem 4rem; }
}
