/*
Theme Name: CRCTheme
Theme URI: https://example.com/crctheme
Author: Your Studio
Author URI: https://example.com
Description: A calm, fast, trust-first WordPress theme for digital-download brands serving stressed, time-poor visitors — built around a homepage that answers "what is this / is it for me / what do I do next," a blog template that works for both Pinterest and long-tail SEO traffic, and one reusable product landing page template for every digital kit.
Version: 1.1.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: crctheme
Tags: e-commerce, blog, custom-menu, custom-logo, featured-images, translation-ready
*/

/* =========================================================
   0. DESIGN TOKENS
   Palette: muted sage + warm tan/khaki on a pale mint
   background — a calm "paper planner" feel, not a clinical
   or corporate one. Soft green / soft red-pink reserved for
   sparing do/don't contrast only (never for hype or alarm).
   ========================================================= */
:root{
  /* color */
  --sage:        #5F7A63;
  --sage-dark:   #3C4F3F;
  --sage-pale:   #E7EEE4;
  --tan:         #C79A63;
  --tan-dark:    #A87C49;
  --tan-pale:    #F3E7D4;
  --mint:        #F4F6F0;
  --paper:       #FCFBF7;
  --ink:         #23271F;
  --ink-soft:    #565F52;
  --ink-faint:   #8A9285;
  --do:          #5F7A63;
  --do-bg:       #E9F0E6;
  --dont:        #B3695C;
  --dont-bg:     #F5E7E3;
  --border:      #DFE4D8;
  --white:       #FFFFFF;

  /* type — warm serif for headings, humanist sans for body, no mono/technical face */
  --font-display: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body:    'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* scale */
  --step-xs:   0.82rem;
  --step-sm:   0.94rem;
  --step-base: 1.0625rem;
  --step-md:   1.2rem;
  --step-lg:   1.6rem;
  --step-xl:   2.2rem;
  --step-2xl:  2.9rem;

  /* layout */
  --max-width: 1180px;
  --max-width-narrow: 740px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 1px 2px rgba(35,39,31,0.05), 0 6px 18px rgba(35,39,31,0.06);
  --shadow-raised: 0 12px 28px rgba(35,39,31,0.12);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* =========================================================
   1. RESET & BASE
   ========================================================= */
*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}
body{
  margin:0;
  font-family:var(--font-body);
  font-size:var(--step-base);
  line-height:1.65;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
ul, ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,h5,h6{ font-family:var(--font-display); font-weight:600; line-height:1.2; margin:0 0 0.5em; color:var(--sage-dark); }
p{ margin:0 0 1.15em; }
button{ font-family:inherit; }
input, textarea, select{ font-family:inherit; font-size:inherit; }

.screen-reader-text{ position:absolute !important; clip:rect(1px,1px,1px,1px); width:1px; height:1px; overflow:hidden; }
.screen-reader-text:focus{
  position:fixed; top:1rem; left:1rem; width:auto; height:auto; z-index:100000;
  padding:0.75rem 1.25rem; background:var(--sage-dark); color:var(--white); border-radius:var(--radius-sm); clip:auto;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible{
  outline:2px solid var(--tan-dark); outline-offset:2px;
}

.container{ max-width:var(--max-width); margin:0 auto; padding:0 1.5rem; }
.container-narrow{ max-width:var(--max-width-narrow); margin:0 auto; padding:0 1.5rem; }

.eyebrow{
  display:inline-flex; align-items:center; gap:0.5rem;
  font-family:var(--font-body); font-size:0.78rem; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--tan-dark); font-weight:700; margin-bottom:0.9rem;
}
.eyebrow::before{ content:""; width:18px; height:1px; background:var(--tan-dark); display:inline-block; }

/* =========================================================
   2. BUTTONS
   The .btn classes are applied directly on <a class="btn ..."> in
   PHP templates, but WordPress core's Button block puts additional
   classes on the *wrapping* <div class="wp-block-button">, while the
   actual visible, styled element is the inner <a
   class="wp-block-button__link">. Every rule below also targets that
   inner link so the Product Callout block pattern (which uses a real
   core/button block) picks up real theme colors instead of falling
   back to WordPress core's default dark button style.
   ========================================================= */
.btn,
.wp-block-button__link{
  display:inline-flex; align-items:center; justify-content:center; gap:0.5rem;
  font-family:var(--font-body); font-weight:700; font-size:0.98rem;
  padding:0.85rem 1.6rem; border-radius:var(--radius-sm); border:1px solid transparent;
  cursor:pointer; transition:transform 0.16s var(--ease), box-shadow 0.16s var(--ease), background 0.16s var(--ease), border-color .16s var(--ease);
  line-height:1;
}
.btn-primary,
.wp-block-button.btn-primary .wp-block-button__link{ background:var(--tan); color:var(--sage-dark); }
.btn-primary:hover,
.wp-block-button.btn-primary .wp-block-button__link:hover{ background:var(--tan-dark); color:var(--white); transform:translateY(-1px); box-shadow:var(--shadow-raised); }
.btn-secondary{ background:transparent; color:var(--sage-dark); border-color:var(--sage-dark); }
.btn-secondary:hover{ background:var(--sage-dark); color:var(--white); }
.btn-quiet{ background:transparent; color:var(--sage-dark); text-decoration:underline; text-underline-offset:3px; padding:0.85rem 0.2rem; }
.btn-ghost-inverse{ background:transparent; color:var(--white); border-color:rgba(255,255,255,0.45); }
.btn-ghost-inverse:hover{ background:rgba(255,255,255,0.12); border-color:var(--white); }
.btn-block{ width:100%; }
.btn-lg{ padding:1.05rem 2rem; font-size:1.03rem; }

/* =========================================================
   3. LEAF MARK (signature element — swap for the real
   Canva-exported logo whenever convenient; this SVG is a
   functional placeholder, not a final asset)
   ========================================================= */
.leaf-mark{ color:var(--sage); }
.leaf-mark.is-tan{ color:var(--tan-dark); }

/* =========================================================
   4. SITE HEADER
   ========================================================= */
.site-header{ position:sticky; top:0; z-index:500; background:rgba(252,251,247,0.94); backdrop-filter:saturate(160%) blur(8px); border-bottom:1px solid var(--border); }
.site-header__inner{ display:flex; align-items:center; justify-content:space-between; gap:2rem; padding:0.9rem 1.5rem; max-width:var(--max-width); margin:0 auto; }
.site-branding{ display:flex; align-items:center; gap:0.6rem; }
.site-branding img{ max-height:36px; width:auto; }
.site-title{ font-family:var(--font-display); font-size:1.3rem; font-weight:700; color:var(--sage-dark); margin:0; }
.site-title a{ display:flex; align-items:center; gap:0.55rem; }
.site-title .leaf-mark{ width:26px; height:26px; flex:none; }

.main-navigation{ display:flex; align-items:center; gap:1.8rem; }
.main-navigation ul{ display:flex; align-items:center; gap:1.7rem; }
.main-navigation a{ font-weight:600; font-size:0.95rem; color:var(--ink); position:relative; padding:0.25rem 0; }
.main-navigation a:hover{ color:var(--sage); }
.main-navigation .current-menu-item > a{ color:var(--sage-dark); }
.main-navigation .current-menu-item > a::after{ content:""; position:absolute; left:0; right:0; bottom:-4px; height:2px; background:var(--tan); border-radius:2px; }
.header-cta{ display:flex; align-items:center; gap:1rem; }
.menu-toggle{ display:none; background:none; border:1px solid var(--border); border-radius:var(--radius-sm); width:44px; height:44px; align-items:center; justify-content:center; cursor:pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after{ content:""; display:block; width:20px; height:2px; background:var(--ink); position:relative; transition:all .2s var(--ease); }
.menu-toggle span::before{ position:absolute; top:-6px; }
.menu-toggle span::after{ position:absolute; top:6px; }
.menu-toggle[aria-expanded="true"] span{ background:transparent; }
.menu-toggle[aria-expanded="true"] span::before{ top:0; transform:rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after{ top:0; transform:rotate(-45deg); }

@media (max-width: 860px){
  .main-navigation{ position:fixed; inset:0 0 auto 0; top:65px; background:var(--paper); flex-direction:column; align-items:stretch;
    padding:1.4rem; border-bottom:1px solid var(--border); transform:translateY(-8px); opacity:0; visibility:hidden; transition:all .2s var(--ease); max-height:calc(100vh - 65px); overflow-y:auto; }
  .main-navigation.is-open{ transform:translateY(0); opacity:1; visibility:visible; }
  .main-navigation ul{ flex-direction:column; align-items:flex-start; gap:0; width:100%; }
  .main-navigation li{ width:100%; border-bottom:1px solid var(--border); }
  .main-navigation a{ display:block; padding:0.85rem 0.2rem; }
  .header-cta{ display:none; }
  .menu-toggle{ display:flex; }
}

/* disclaimer strip — sits directly under the header on every page,
   never buried only in footer fine print */
.disclaimer-strip{ background:var(--sage-pale); color:var(--sage-dark); text-align:center; font-size:0.82rem; padding:0.55rem 1rem; }
.disclaimer-strip a{ text-decoration:underline; font-weight:600; }

/* =========================================================
   5. HERO — kept compact so it clears the mobile fold
   ========================================================= */
.hero{ padding:2.75rem 0 3.25rem; }
.hero__grid{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:2.75rem; align-items:center; }
.hero h1{ font-size:var(--step-2xl); letter-spacing:-0.01em; max-width:16ch; }
.hero__lede{ font-size:var(--step-md); color:var(--ink-soft); max-width:44ch; }
.hero__actions{ display:flex; align-items:center; gap:1.4rem; margin-top:1.6rem; flex-wrap:wrap; }
.hero__media{ aspect-ratio:4/3; background:var(--sage-pale); border-radius:var(--radius-lg); overflow:hidden; }
.hero__media img{ width:100%; height:100%; object-fit:cover; }
@media (max-width: 900px){
  .hero{ padding:2rem 0 2.5rem; }
  .hero__grid{ grid-template-columns:1fr; gap:1.75rem; }
  .hero h1{ max-width:none; font-size:1.9rem; }
  .hero__media{ order:-1; aspect-ratio:16/10; }
}

/* =========================================================
   6. SECTION SCAFFOLDING
   ========================================================= */
.section{ padding:4.25rem 0; }
.section--tight{ padding:3rem 0; }
.section--mint{ background:var(--mint); }
.section--sage{ background:var(--sage-dark); color:var(--white); }
.section--sage h2, .section--sage h3{ color:var(--white); }
.section__head{ max-width:620px; margin:0 0 2.5rem; }
.section__head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section__head h2{ font-size:var(--step-xl); }
.section__head p{ color:var(--ink-soft); font-size:var(--step-md); }
.section--sage .section__head p{ color:rgba(255,255,255,0.78); }

/* =========================================================
   7. "IS THIS FOR YOU?" RECOGNITION BLOCK
   ========================================================= */
.recognition-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(240px,1fr)); gap:1.4rem; }
.recognition-item{ background:var(--white); border:1px solid var(--border); border-radius:var(--radius-md); padding:1.6rem; display:flex; gap:1rem; align-items:flex-start; }
.recognition-item .leaf-mark{ width:26px; height:26px; flex:none; margin-top:2px; }
.recognition-item p{ margin:0; font-size:1rem; color:var(--ink); }

/* =========================================================
   8. FLAGSHIP PRODUCT SHOWCASE
   ========================================================= */
.showcase{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:3rem; align-items:center; }
.showcase__gallery{ display:grid; grid-template-columns:1.4fr 1fr; gap:0.85rem; }
.showcase__gallery-main{ grid-row:span 2; aspect-ratio:3/4; border-radius:var(--radius-md); overflow:hidden; background:var(--sage-pale); box-shadow:var(--shadow-card); }
.showcase__gallery-thumb{ aspect-ratio:1; border-radius:var(--radius-sm); overflow:hidden; background:var(--tan-pale); }
.showcase__gallery img{ width:100%; height:100%; object-fit:cover; }
.showcase__benefits{ margin:1.4rem 0; }
.showcase__benefits li{ display:flex; gap:0.7rem; padding:0.55rem 0; font-size:1.02rem; }
.showcase__benefits .leaf-mark{ width:20px; height:20px; flex:none; margin-top:3px; }
.showcase__price{ font-family:var(--font-display); font-size:2.1rem; color:var(--sage-dark); margin-bottom:0.2rem; }
.showcase__trust-line{ color:var(--ink-faint); font-size:0.9rem; margin-top:1rem; }
@media (max-width: 900px){ .showcase{ grid-template-columns:1fr; } }

/* =========================================================
   9. SOCIAL PROOF (renders only once real content exists — see
   crctheme_landing_meta fallbacks; the section is code-complete
   and simply does not print empty or fabricated reviews)
   ========================================================= */
.testimonial-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:1.5rem; }
.testimonial-card{ background:var(--white); border:1px solid var(--border); border-radius:var(--radius-md); padding:1.7rem; }
.testimonial-card p{ color:var(--ink); font-size:0.98rem; margin-bottom:1.2rem; }
.testimonial-person{ display:flex; align-items:center; gap:0.7rem; }
.testimonial-avatar{ width:38px; height:38px; border-radius:50%; background:var(--sage-pale); color:var(--sage-dark); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:700; flex:none; font-size:0.9rem; }
.testimonial-name{ font-weight:700; font-size:0.92rem; }
.testimonial-role{ font-size:0.82rem; color:var(--ink-faint); }
@media (max-width: 900px){ .testimonial-grid{ grid-template-columns:1fr; } }

/* =========================================================
   10. KIT GRID (products) — used on home, shop index, related
   ========================================================= */
.kit-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:1.75rem; }
.kit-card{ background:var(--white); border:1px solid var(--border); border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-card); transition:transform .18s var(--ease), box-shadow .18s var(--ease); display:flex; flex-direction:column; }
.kit-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-raised); }
.kit-card__media{ aspect-ratio:4/3; background:var(--sage-pale); }
.kit-card__media img{ width:100%; height:100%; object-fit:cover; }
.kit-card__body{ padding:1.4rem; display:flex; flex-direction:column; flex:1; }
.kit-card__body h3{ font-size:1.08rem; margin-bottom:0.4rem; }
.kit-card__body p{ color:var(--ink-soft); font-size:0.92rem; flex:1; }
.kit-card__meta{ display:flex; justify-content:space-between; align-items:center; margin-top:0.9rem; padding-top:0.9rem; border-top:1px solid var(--border); font-size:0.9rem; }
.kit-card__price{ font-family:var(--font-display); font-weight:700; color:var(--sage-dark); }
@media (max-width: 900px){ .kit-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width: 620px){ .kit-grid{ grid-template-columns:1fr; } }

/* =========================================================
   11. FREE RESOURCE / EMAIL CAPTURE
   ========================================================= */
.resource-grid{ display:grid; grid-template-columns:repeat(2, 1fr); gap:1.6rem; }
.resource-card{ background:var(--sage-pale); border-radius:var(--radius-md); padding:1.8rem; display:flex; gap:1.2rem; align-items:center; }
.resource-card__media{ width:78px; height:100px; flex:none; background:var(--white); border-radius:var(--radius-sm); box-shadow:var(--shadow-card); overflow:hidden; }
.resource-card__media img{ width:100%; height:100%; object-fit:cover; }
.resource-card h3{ font-size:1.05rem; margin-bottom:0.3rem; }
.resource-card p{ font-size:0.9rem; color:var(--ink-soft); margin-bottom:0.8rem; }
@media (max-width: 760px){ .resource-grid{ grid-template-columns:1fr; } }

.email-capture-form{ display:flex; gap:0.55rem; max-width:420px; flex-wrap:wrap; }
.email-capture-form input[type="email"]{ flex:1; min-width:180px; padding:0.75rem 1rem; border-radius:var(--radius-sm); border:1px solid var(--border); background:var(--white); color:var(--ink); }

/* =========================================================
   12. CTA BANNER
   ========================================================= */
.cta-banner{ background:var(--sage-dark); color:var(--white); border-radius:var(--radius-lg); padding:3rem; text-align:center; }
.cta-banner h2{ color:var(--white); font-size:var(--step-xl); max-width:26ch; margin:0 auto 0.6rem; }
.cta-banner p{ color:rgba(255,255,255,0.8); max-width:52ch; margin:0 auto 1.75rem; }
.cta-banner__actions{ display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

/* =========================================================
   13. SITE FOOTER
   ========================================================= */
.site-footer{ background:var(--sage-dark); color:rgba(255,255,255,0.82); padding-top:3.5rem; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:2.4rem; padding-bottom:2.5rem; border-bottom:1px solid rgba(255,255,255,0.14); }
.footer-brand .site-title, .footer-brand .site-title a{ color:var(--white); }
.footer-brand p{ color:rgba(255,255,255,0.68); max-width:32ch; margin-top:0.9rem; }
.footer-col h4{ color:var(--white); font-family:var(--font-body); font-size:0.78rem; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:1rem; }
.footer-col ul li{ margin-bottom:0.6rem; }
.footer-col a{ color:rgba(255,255,255,0.72); font-size:0.93rem; }
.footer-col a:hover{ color:var(--white); }
.social-links{ display:flex; gap:0.7rem; margin-top:1.1rem; }
.social-links a{ width:34px; height:34px; border:1px solid rgba(255,255,255,0.26); border-radius:50%; display:flex; align-items:center; justify-content:center; }
.social-links a:hover{ background:rgba(255,255,255,0.1); }
.footer-disclaimer{ padding:1.4rem 0; border-bottom:1px solid rgba(255,255,255,0.14); font-size:0.85rem; color:rgba(255,255,255,0.72); max-width:820px; }
.footer-disclaimer a{ text-decoration:underline; color:var(--white); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:1.4rem 0; font-size:0.83rem; color:rgba(255,255,255,0.6); flex-wrap:wrap; gap:0.7rem; }
.footer-bottom a{ color:rgba(255,255,255,0.6); }
@media (max-width: 900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns:1fr; } }

/* =========================================================
   14. BLOG — archive / index
   ========================================================= */
.content-layout{ display:grid; grid-template-columns:2fr 1fr; gap:3rem; align-items:start; padding:3rem 0 4.5rem; }
.page-header{ padding:2.5rem 0 1.75rem; border-bottom:1px solid var(--border); margin-bottom:0.5rem; }
.page-header h1{ font-size:var(--step-xl); }
.page-header p{ color:var(--ink-soft); }

.post-card{ display:grid; grid-template-columns:200px 1fr; gap:1.5rem; padding:1.6rem 0; border-bottom:1px solid var(--border); }
.post-card__media{ aspect-ratio:4/3; border-radius:var(--radius-md); overflow:hidden; background:var(--sage-pale); }
.post-card__media img{ width:100%; height:100%; object-fit:cover; }
.post-card__meta{ font-size:0.78rem; letter-spacing:0.03em; text-transform:uppercase; color:var(--ink-faint); margin-bottom:0.5rem; display:flex; gap:0.55rem; align-items:center; flex-wrap:wrap; font-weight:700; }
.post-card__meta .dot{ width:3px; height:3px; border-radius:50%; background:var(--ink-faint); }
.post-card h2{ font-size:1.35rem; margin-bottom:0.4rem; }
.post-card h2 a:hover{ color:var(--sage); }
.post-card p{ color:var(--ink-soft); }
.post-card__more{ font-weight:700; font-size:0.9rem; color:var(--sage-dark); }
@media (max-width: 720px){ .post-card{ grid-template-columns:1fr; } .content-layout{ grid-template-columns:1fr; } }

.widget{ margin-bottom:2.2rem; }
.widget h3, .widget-title{ font-family:var(--font-body); font-size:0.78rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--ink-faint); margin-bottom:1rem; font-weight:700; }
.widget ul li{ padding:0.55rem 0; border-bottom:1px solid var(--border); font-size:0.93rem; }
.widget ul li a:hover{ color:var(--sage); }
.widget-cta{ background:var(--sage-dark); color:var(--white); padding:1.7rem; border-radius:var(--radius-md); }
.widget-cta h3{ color:var(--tan-pale); }
.widget-cta p{ color:rgba(255,255,255,0.8); font-size:0.93rem; }

.pagination{ display:flex; gap:0.5rem; margin-top:2.25rem; flex-wrap:wrap; }
.pagination a, .pagination span{ display:flex; align-items:center; justify-content:center; min-width:38px; height:38px; padding:0 0.6rem; border:1px solid var(--border); border-radius:var(--radius-sm); font-size:0.9rem; }
.pagination .current{ background:var(--sage-dark); color:var(--white); border-color:var(--sage-dark); }
.pagination a:hover{ border-color:var(--sage-dark); }

/* =========================================================
   15. SINGLE POST
   ========================================================= */
.single-post-header{ max-width:var(--max-width-narrow); margin:0 auto; padding:2.75rem 1.5rem 0; }
.single-post-header h1{ font-size:var(--step-xl); }
.single-post-meta{ display:flex; gap:0.7rem; align-items:center; color:var(--ink-faint); font-size:0.9rem; flex-wrap:wrap; margin-top:1rem; }
.single-post-meta .dot{ width:3px; height:3px; border-radius:50%; background:var(--ink-faint); }

/* short-answer box: styled to be scannable and snippet-friendly */
.short-answer-box{ max-width:var(--max-width-narrow); margin:1.75rem auto 2rem; padding:0 1.5rem; }
.short-answer-box__inner{ background:var(--sage-pale); border-left:4px solid var(--sage); border-radius:0 var(--radius-md) var(--radius-md) 0; padding:1.3rem 1.5rem; font-size:1.03rem; color:var(--sage-dark); }
.short-answer-box__label{ font-weight:700; font-size:0.78rem; letter-spacing:0.06em; text-transform:uppercase; color:var(--sage); display:block; margin-bottom:0.4rem; }

.single-post-thumb{ max-width:900px; margin:2.25rem auto; border-radius:var(--radius-lg); overflow:hidden; }

/* vertical Pinterest-optimized image, shown near top of post body */
.pinterest-image-wrap{ max-width:420px; margin:2rem auto; }
.pinterest-image-wrap img{ border-radius:var(--radius-md); aspect-ratio:2/3; object-fit:cover; box-shadow:var(--shadow-card); }
.pinterest-image-wrap figcaption{ text-align:center; font-size:0.8rem; color:var(--ink-faint); margin-top:0.6rem; }

/* table of contents */
.post-with-toc{ display:grid; grid-template-columns:1fr; gap:0; max-width:var(--max-width-narrow); margin:0 auto; padding:0 1.5rem; }
.toc-box{ background:var(--mint); border:1px solid var(--border); border-radius:var(--radius-md); padding:1.4rem 1.6rem; margin:2rem 0; }
.toc-box summary{ list-style:none; cursor:pointer; font-family:var(--font-display); font-weight:700; font-size:1.05rem; color:var(--sage-dark); }
.toc-box summary::-webkit-details-marker{ display:none; }
.toc-box ol{ counter-reset:toc; margin-top:1rem; }
.toc-box li{ counter-increment:toc; padding:0.4rem 0; }
.toc-box li a{ font-size:0.95rem; color:var(--ink); }
.toc-box li a::before{ content:counter(toc) ". "; color:var(--sage); font-weight:700; }
.toc-box li a:hover{ color:var(--sage); text-decoration:underline; }
@media (min-width: 900px){
  .toc-box{ float:right; margin:0 0 1.5rem 2rem; max-width:280px; }
}

.entry-content{ max-width:var(--max-width-narrow); margin:0 auto; padding:0 1.5rem; font-size:1.06rem; }
.entry-content h2{ font-size:1.5rem; margin-top:2rem; scroll-margin-top:90px; }
.entry-content h3{ font-size:1.22rem; margin-top:1.6rem; }
.entry-content p{ color:var(--ink); }
.entry-content ul, .entry-content ol{ margin:0 0 1.3em; padding-left:1.3em; list-style:disc; }
.entry-content ol{ list-style:decimal; }
.entry-content li{ margin-bottom:0.5em; }
.entry-content blockquote{ border-left:3px solid var(--tan); margin:1.8rem 0; padding:0.4rem 0 0.4rem 1.3rem; font-family:var(--font-display); font-size:1.2rem; color:var(--sage-dark); font-style:italic; }
.entry-content img{ border-radius:var(--radius-md); }
.entry-content a{ color:var(--sage-dark); text-decoration:underline; text-underline-offset:2px; }
.entry-content code{ background:var(--mint); padding:0.15em 0.4em; border-radius:4px; font-size:0.92em; }

/* in-content product callout block pattern */
.product-callout{ display:flex; gap:1.2rem; align-items:center; background:var(--tan-pale); border-radius:var(--radius-md); padding:1.4rem; margin:2.2rem 0; }
.product-callout__media{ width:64px; height:82px; flex:none; border-radius:var(--radius-sm); overflow:hidden; background:var(--white); box-shadow:var(--shadow-card); }
.product-callout__media img{ width:100%; height:100%; object-fit:cover; }
.product-callout__body{ flex:1; }
.product-callout__body strong{ display:block; font-family:var(--font-display); color:var(--sage-dark); margin-bottom:0.2rem; }
.product-callout__body span{ font-size:0.92rem; color:var(--ink-soft); }
.product-callout .btn{ flex:none; }
@media (max-width:560px){ .product-callout{ flex-direction:column; align-items:flex-start; text-align:left; } }

/* inline email capture block pattern */
.inline-email-capture{ background:var(--sage-pale); border-radius:var(--radius-md); padding:1.8rem; margin:2.2rem 0; text-align:center; }
.inline-email-capture h3{ margin-bottom:0.4rem; }
.inline-email-capture p{ color:var(--ink-soft); margin-bottom:1.1rem; }
.inline-email-capture .email-capture-form{ margin:0 auto; }

.entry-footer{ max-width:var(--max-width-narrow); margin:2.5rem auto 0; padding:0 1.5rem; }
.tag-list{ display:flex; gap:0.55rem; flex-wrap:wrap; padding-top:1.4rem; border-top:1px solid var(--border); }
.tag-list a{ font-size:0.84rem; background:var(--mint); padding:0.4rem 0.8rem; border-radius:20px; color:var(--ink-soft); }
.tag-list a:hover{ background:var(--sage-pale); color:var(--sage-dark); }

/* reviewed-by byline */
.reviewed-by{ max-width:var(--max-width-narrow); margin:2.5rem auto 0; padding:1.5rem; background:var(--mint); border-radius:var(--radius-md); display:flex; gap:1rem; align-items:flex-start; }
.reviewed-by .leaf-mark{ width:22px; height:22px; flex:none; margin-top:2px; }
.reviewed-by p{ margin:0; font-size:0.92rem; color:var(--ink-soft); }
.reviewed-by strong{ color:var(--sage-dark); }

.author-box{ max-width:var(--max-width-narrow); margin:1.5rem auto 0; padding:1.6rem; background:var(--mint); border-radius:var(--radius-md); display:flex; gap:1.1rem; align-items:flex-start; }
.author-box__avatar{ width:50px; height:50px; border-radius:50%; flex:none; }
.author-box h3{ font-size:0.98rem; margin-bottom:0.3rem; }
.author-box p{ color:var(--ink-soft); font-size:0.92rem; margin-bottom:0; }

.related-posts, .related-products{ max-width:var(--max-width); margin:0 auto; padding:3.5rem 1.5rem 0; }
.related-posts h2, .related-products h2{ font-size:1.4rem; margin-bottom:1.6rem; }
.related-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.related-card__media{ aspect-ratio:16/10; border-radius:var(--radius-md); overflow:hidden; background:var(--sage-pale); margin-bottom:0.8rem; }
.related-card h3{ font-size:1.02rem; }
@media (max-width:760px){ .related-grid{ grid-template-columns:1fr; } }

/* =========================================================
   16. COMMENTS
   ========================================================= */
.comments-area{ max-width:var(--max-width-narrow); margin:3rem auto 0; padding:0 1.5rem; }
.comments-title{ font-size:1.25rem; margin-bottom:1.4rem; }
.comment-list{ margin-bottom:1.75rem; }
.comment-body{ padding:1.3rem 0; border-bottom:1px solid var(--border); }
.comment-author{ font-weight:700; font-size:0.94rem; }
.comment-metadata{ font-size:0.8rem; color:var(--ink-faint); margin-bottom:0.55rem; }
.comment-content p{ margin-bottom:0.6em; }
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"], .comment-respond textarea{
  width:100%; padding:0.75rem 1rem; border:1px solid var(--border); border-radius:var(--radius-sm); margin-bottom:1rem; background:var(--white);
}
.comment-respond textarea{ min-height:130px; }
.comment-respond label{ font-size:0.87rem; color:var(--ink-soft); display:block; margin-bottom:0.35rem; }

/* =========================================================
   17. PRODUCT LANDING PAGE TEMPLATE
   ========================================================= */
.landing-hero{ padding:3rem 0 3.5rem; }
.landing-hero__inner{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:2.75rem; align-items:start; }
.landing-hero h1{ font-size:var(--step-xl); max-width:20ch; }
.landing-hero__lede{ color:var(--ink-soft); font-size:1.1rem; max-width:48ch; }
.landing-hero__facts{ display:flex; gap:1.4rem; margin-top:1.4rem; flex-wrap:wrap; }
.landing-hero__fact{ font-size:0.88rem; color:var(--ink-soft); display:flex; align-items:center; gap:0.45rem; }
.landing-hero__fact .leaf-mark{ width:16px; height:16px; }
@media (max-width: 900px){ .landing-hero__inner{ grid-template-columns:1fr; } .landing-hero h1{ max-width:none; } }

/* hero gallery: cover + interior mockups */
.product-gallery{ display:grid; grid-template-columns:1.3fr 1fr; gap:0.8rem; }
.product-gallery__main{ grid-row:span 2; aspect-ratio:3/4; border-radius:var(--radius-md); overflow:hidden; background:var(--sage-pale); box-shadow:var(--shadow-card); }
.product-gallery__thumb{ aspect-ratio:1; border-radius:var(--radius-sm); overflow:hidden; background:var(--tan-pale); }
.product-gallery img{ width:100%; height:100%; object-fit:cover; }

.buy-box{ background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:2rem; box-shadow:var(--shadow-raised); }
.buy-box__price{ font-family:var(--font-display); font-size:2.4rem; color:var(--sage-dark); line-height:1; }
.buy-box__price-note{ color:var(--ink-faint); font-size:0.88rem; margin-bottom:1.3rem; }
.buy-box .btn{ width:100%; }
.buy-box__list{ margin:1.2rem 0 0; }
.buy-box__list li{ display:flex; gap:0.6rem; padding:0.4rem 0; font-size:0.92rem; }
.buy-box__list .leaf-mark{ width:18px; height:18px; flex:none; margin-top:2px; }
.buy-box__delivery{ display:flex; gap:0.55rem; align-items:flex-start; margin-top:1.2rem; font-size:0.88rem; color:var(--ink-soft); }
.buy-box__delivery .leaf-mark{ width:16px; height:16px; flex:none; margin-top:2px; }
.buy-box__disclaimer{ margin-top:1rem; padding-top:1rem; border-top:1px solid var(--border); font-size:0.78rem; color:var(--ink-faint); }
.buy-box__disclaimer a{ text-decoration:underline; }

/* what's inside */
.inside-list{ max-width:var(--max-width-narrow); margin:0 auto; }
.inside-item{ display:flex; gap:1.2rem; padding:1.2rem 0; border-bottom:1px solid var(--border); }
.inside-item__media{ width:72px; height:92px; flex:none; border-radius:var(--radius-sm); overflow:hidden; background:var(--sage-pale); }
.inside-item__media img{ width:100%; height:100%; object-fit:cover; }
.inside-item h3{ font-size:1.05rem; margin-bottom:0.3rem; }
.inside-item p{ color:var(--ink-soft); margin-bottom:0; font-size:0.95rem; }
.inside-gallery{ display:flex; gap:0.7rem; flex-wrap:wrap; margin-top:1.6rem; }
.inside-gallery a{ width:74px; height:94px; border-radius:var(--radius-sm); overflow:hidden; display:block; }
.inside-gallery img{ width:100%; height:100%; object-fit:cover; }

/* who this is for / isn't for */
.fit-columns{ display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; max-width:var(--max-width-narrow); margin:0 auto; }
.fit-column{ border-radius:var(--radius-md); padding:1.7rem; }
.fit-column--yes{ background:var(--do-bg); }
.fit-column--no{ background:var(--dont-bg); }
.fit-column h3{ font-size:1rem; margin-bottom:0.9rem; }
.fit-column--yes h3{ color:var(--do); }
.fit-column--no h3{ color:var(--dont); }
.fit-column li{ display:flex; gap:0.6rem; padding:0.4rem 0; font-size:0.95rem; }
.fit-column--yes li::before{ content:"✓"; color:var(--do); font-weight:700; flex:none; }
.fit-column--no li::before{ content:"–"; color:var(--dont); font-weight:700; flex:none; }
@media (max-width:700px){ .fit-columns{ grid-template-columns:1fr; } }

/* pricing box (repeated mid/bottom of landing page) */
.pricing-box{ max-width:540px; margin:0 auto; background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:2.4rem; text-align:center; box-shadow:var(--shadow-card); }
.pricing-box__price{ font-family:var(--font-display); font-size:2.7rem; color:var(--sage-dark); }
.pricing-box__note{ color:var(--ink-faint); margin-bottom:1.5rem; }
.pricing-box .btn{ width:100%; }
.pricing-box__disclaimer{ margin-top:1.2rem; font-size:0.8rem; color:var(--ink-faint); }

/* FAQ (shared markup/classes also read by the JSON-LD FAQ schema scanner) */
.faq-list{ max-width:var(--max-width-narrow); margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--border); padding:0.35rem 0; }
.faq-item summary.faq-question{ list-style:none; cursor:pointer; padding:1.05rem 0; display:flex; justify-content:space-between; gap:1rem; font-weight:700; }
.faq-item summary.faq-question::-webkit-details-marker{ display:none; }
.faq-item summary.faq-question::after{ content:"+"; color:var(--tan-dark); font-size:1.25rem; flex:none; transition:transform .2s var(--ease); }
.faq-item[open] summary.faq-question::after{ transform:rotate(45deg); }
.faq-answer{ padding:0 0 1.1rem; color:var(--ink-soft); max-width:65ch; }

/* sticky mobile "Buy now" bar — mobile only, appears once the
   hero CTA scrolls out of view */
.sticky-mobile-cta{ display:none; }
@media (max-width: 760px){
  .sticky-mobile-cta{
    display:flex; position:fixed; left:0; right:0; bottom:0; z-index:600;
    background:var(--white); border-top:1px solid var(--border); box-shadow:0 -6px 18px rgba(35,39,31,0.1);
    padding:0.75rem 1rem; align-items:center; justify-content:space-between; gap:0.9rem;
    transform:translateY(110%); transition:transform .22s var(--ease);
  }
  .sticky-mobile-cta.is-visible{ transform:translateY(0); }
  .sticky-mobile-cta__price{ font-family:var(--font-display); font-weight:700; color:var(--sage-dark); font-size:1.1rem; flex:none; }
  .sticky-mobile-cta .btn{ flex:1; }
}

/* =========================================================
   18. SHOP / KIT INDEX
   ========================================================= */
.shop-intro{ max-width:var(--max-width-narrow); padding:2.5rem 0 1rem; }

/* =========================================================
   19. 404 / SEARCH
   ========================================================= */
.error-404{ text-align:center; padding:5rem 1.5rem; max-width:580px; margin:0 auto; }
.error-404 .leaf-mark{ width:56px; height:56px; margin:0 auto 1.4rem; }
.search-form{ display:flex; gap:0.55rem; max-width:460px; margin:1.8rem auto 0; }
.search-form input[type="search"]{ flex:1; padding:0.8rem 1rem; border:1px solid var(--border); border-radius:var(--radius-sm); }

/* =========================================================
   20. UTILITIES
   ========================================================= */
.visually-center{ text-align:center; }
.no-scroll{ overflow:hidden; }
@media (max-width: 960px){
  .recognition-grid, .kit-grid, .testimonial-grid{ gap:1.2rem; }
  .section{ padding:3.25rem 0; }
}
