/*
Theme Name: Pitcraft Dynamic
Author: Pitcraft
Description: Dynamic Pitcraft theme with editable Recipes and Spice Blends content types.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: pitcraft
*/
:root{--black:#171614;--cream:#f3ede2;--sand:#d8c6a5;--terracotta:#a94f32;--olive:#4a5035;--white:#fffdf8;--muted:#6f685e;--line:rgba(23,22,20,.14);--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--black);background:var(--cream);font-family:Arial,sans-serif;line-height:1.6}a{text-decoration:none;color:inherit}.container{width:min(calc(100% - 40px),var(--max));margin:auto}.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:.75rem;font-weight:700}h1,h2,h3{font-family:Georgia,serif;line-height:1.08;margin:0;font-weight:600}h2{font-size:clamp(2.5rem,6vw,5rem)}p{max-width:650px}
.site-header{position:absolute;top:0;left:0;right:0;z-index:10;color:var(--white)}.site-nav{height:88px;display:flex;align-items:center;justify-content:space-between}.site-logo{font-weight:700;letter-spacing:.16em;font-size:1.15rem}.nav-links{display:flex;gap:25px;align-items:center;font-size:.76rem;letter-spacing:.1em;text-transform:uppercase;font-weight:600;list-style:none;margin:0;padding:0}.nav-links li{list-style:none}.shop-link{border:1px solid rgba(255,255,255,.55);padding:10px 17px}.menu-toggle{display:none;background:none;border:0;color:#fff;font-size:1.5rem}
.hero{min-height:82vh;display:flex;align-items:center;color:var(--white);background:linear-gradient(90deg,rgba(10,9,8,.86),rgba(10,9,8,.48),rgba(10,9,8,.22)),radial-gradient(circle at 75% 45%,#68442f,#29221d 40%,#0f0e0c 78%)}.hero-content{padding:150px 0 90px}.hero h1{font-size:clamp(3.5rem,9vw,7.5rem);max-width:850px;letter-spacing:-.035em}.tagline{margin:25px 0 15px;font-size:clamp(1.15rem,2vw,1.65rem)}.hero p{font-size:1.05rem;color:rgba(255,253,248,.82)}.actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 22px;border:1px solid transparent;text-transform:uppercase;letter-spacing:.12em;font-size:.73rem;font-weight:700}.btn-primary{background:var(--terracotta);color:#fff}.btn-dark{border-color:var(--black)}.btn-light{border-color:rgba(255,255,255,.55);color:#fff}
.section{padding:95px 0}.section-white{background:var(--white)}.section-cream{background:var(--cream)}.section-dark{background:var(--black);color:#fff}.section-olive{background:var(--olive);color:#fff}.intro-grid,.blends-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:70px;align-items:center}.muted{color:var(--muted)}.section-dark .muted{color:#c9c2b8}.rule{height:1px;background:var(--line);margin:28px 0}.section-dark .rule{background:#454039}
.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:35px}.content-card{background:var(--cream);border:1px solid var(--line);display:flex;flex-direction:column;min-width:0}.section-cream .content-card{background:var(--white)}.card-image{height:220px;background:linear-gradient(145deg,#72513c,#201a17);background-size:cover;background-position:center}.card-body{padding:25px;display:flex;flex-direction:column;align-items:flex-start;flex:1}.card-body h3{font-size:1.8rem;margin:8px 0 12px}.card-body p{color:var(--muted);font-size:.94rem}.card-body .btn{margin-top:auto}.meta{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--terracotta)}.steps-head{display:flex;justify-content:space-between;gap:40px;align-items:end}.steps-head p{color:#c9c2b8}.step-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#454039;margin-top:45px}.step{background:var(--black);padding:35px;min-height:230px}.step-num{color:var(--sand);font-size:.78rem;font-weight:700;letter-spacing:.15em}.step h3{font-size:1.9rem;margin:30px 0 12px}.step p{color:#c9c2b8}
.recipe-single,.blend-single{padding:150px 0 90px}.single-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:55px;align-items:start}.single-image{min-height:430px;background:linear-gradient(145deg,#72513c,#201a17);background-size:cover;background-position:center}.single-content h1{font-size:clamp(3rem,7vw,6rem);margin:10px 0 22px}.single-content .lead{font-size:1.15rem}.entry-content{margin-top:40px}.entry-content img{height:auto}.entry-content h2{font-size:2.2rem;margin:1.5em 0 .5em}.entry-content h3{font-size:1.6rem;margin:1.3em 0 .5em}.taxonomy-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.taxonomy-list a{font-size:.75rem;border:1px solid var(--line);padding:5px 10px;text-transform:uppercase;letter-spacing:.08em}
.archive-head{padding:150px 0 65px;background:var(--black);color:#fff}.archive-head p{color:#c9c2b8}.pagination{margin-top:40px}.pagination .page-numbers{padding:10px 14px;border:1px solid var(--line);margin-right:6px}
.product-panel{padding:40px;background:var(--cream);border:1px solid var(--line)}.product-panel h2{font-size:2.3rem}.product-panel .price{font-size:1.5rem;font-weight:700;margin:15px 0}
.philosophy{text-align:center}.philosophy h2{max-width:900px;margin:15px auto}.philosophy p{margin:25px auto;color:#e3dfd6}.principles{display:flex;justify-content:center;gap:35px;flex-wrap:wrap;margin-top:40px}.principle{font-size:.76rem;text-transform:uppercase;letter-spacing:.14em;font-weight:700}
.site-footer{background:var(--black);color:#fff;padding:60px 0 25px}.footer-top{display:flex;justify-content:space-between;gap:40px}.footer-links{display:grid;grid-template-columns:repeat(2,auto);gap:12px 45px;font-size:.8rem;text-transform:uppercase;letter-spacing:.1em}.footer-bottom{border-top:1px solid #393631;margin-top:45px;padding-top:20px;color:#8d8880;font-size:.72rem;display:flex;justify-content:space-between}
@media(max-width:800px){.nav-links{display:none}.menu-toggle{display:block}.intro-grid,.single-grid,.blends-grid{grid-template-columns:1fr}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.step-grid{grid-template-columns:1fr}.steps-head{display:block}.footer-top{display:block}.footer-links{margin-top:30px}}
@media(max-width:520px){.container{width:min(calc(100% - 28px),var(--max))}.site-nav{height:72px}.hero h1{font-size:3.5rem}.section{padding:70px 0}.card-grid{grid-template-columns:1fr}.card-image{height:230px}.single-image{min-height:300px}.footer-bottom{display:block}.footer-bottom span{display:block;margin-top:8px}}


/* Structured recipe detail template */
.recipe-hero{padding:155px 0 65px;background:var(--black);color:var(--white)}
.recipe-hero-inner{max-width:var(--max)}.recipe-hero h1{font-size:clamp(3.2rem,8vw,7rem);letter-spacing:-.04em;max-width:950px;margin:16px 0 26px}.jump-recipe{gap:12px}.recipe-hero-lead{max-width:720px;color:#d4cdc2;font-size:1.08rem;margin:30px 0 0}
.recipe-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(240px,.65fr);gap:65px;padding-top:65px;padding-bottom:90px;align-items:start}.recipe-main{min-width:0}.recipe-section{padding:0 0 48px;margin-bottom:48px;border-bottom:1px solid var(--line);scroll-margin-top:25px}.recipe-section h2{font-size:clamp(2.1rem,4vw,3.5rem);margin:12px 0 22px}.recipe-prose{font-size:1.02rem;color:#484239;line-height:1.85}.recipe-prose p{margin:0 0 1.1em}.recipe-card{background:var(--white);border:1px solid var(--line);padding:clamp(24px,4vw,45px);margin-top:5px}.recipe-card h2{margin-bottom:35px}.recipe-subsection{margin-top:34px}.recipe-subsection h3{font-size:1.7rem;margin-bottom:20px}.ingredient-list{padding:0;list-style:none;margin:0}.ingredient-list li{position:relative;padding:12px 10px 12px 34px;border-bottom:1px solid var(--line)}.ingredient-list li:before{content:"";position:absolute;left:5px;top:20px;width:9px;height:9px;border:1px solid var(--terracotta);border-radius:50%}.method-list{padding:0;list-style:none;counter-reset:method;margin:0}.method-list li{counter-increment:method;display:grid;grid-template-columns:42px 1fr;gap:15px;padding:18px 0;border-bottom:1px solid var(--line);line-height:1.75}.method-list li:before{content:counter(method,decimal-leading-zero);font-weight:700;color:var(--terracotta);font-size:.9rem;letter-spacing:.08em;padding-top:2px}.recipe-aside{position:sticky;top:25px}.recipe-feature-image{margin-bottom:25px}.recipe-feature-image img{display:block;width:100%;height:auto;max-height:560px;object-fit:cover}.recipe-aside-note{background:var(--olive);color:white;padding:28px}.recipe-aside-note p{margin-bottom:0;color:#e3dfd6}.editor-notes{border-bottom:0}.editor-notes img{max-width:100%;height:auto}
@media(max-width:800px){.recipe-layout{grid-template-columns:1fr;gap:20px;padding-top:45px}.recipe-aside{position:static;grid-row:1}.recipe-feature-image img{max-height:360px}.recipe-hero{padding-top:125px}}
