/*
Theme Name: Supplement Launchpad
Theme URI: https://supplementlaunchpad.com
Author: Supplement Launchpad
Author URI: https://supplementlaunchpad.com
Description: Custom theme for supplementlaunchpad.com. Homepage, Testimonials, About, and blog templates share one design system (CSS variables + components). Built to be edited by prompting an AI agent (Claude Code / Cursor). Preserves all existing URLs, titles, and meta so SEO and backlinks are unaffected.
Version: 1.9.16
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: All rights reserved
Text Domain: supplement-launchpad
*/

/* =====================================================================
   SECTION 1 — DESIGN SYSTEM  (ported verbatim from the original homepage)
   Do not remove the CSS variables in :root — every page + the blog depend
   on them. Change a color once here and it updates everywhere.
   ===================================================================== */

:root{
  --paper:#FFFFFF;
  --card:#F8F7FC;
  --paper-dim:#F0EEF8;
  --ink:#1E0B36;
  --ink-soft:#4A4160;
  --brand:#4C0D82;
  --brand-deep:#36085F;
  --secondary:#6762FE;
  --tint:#EDE9FA;
  --clay:#B3402E;
  --clay-tint:#F3E4E0;
  --line:#E0DCEC;
  --radius:14px;
  --font-display:"Bricolage Grotesque",sans-serif;
  --font-body:"Inter",sans-serif;
  --font-mono:"Spline Sans Mono",monospace;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:var(--paper);color:var(--ink);font-family:var(--font-body);font-size:18px;line-height:1.75;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.narrow{max-width:680px;margin:0 auto}

/* ---------- type ---------- */
h1,h2,h3{font-family:var(--font-display);line-height:1.08;letter-spacing:-.01em}
h1{font-size:clamp(2rem,3.6vw,3rem);font-weight:800}
h2{font-size:clamp(1.75rem,3.4vw,2.5rem);font-weight:700;letter-spacing:-.015em}
h3{font-size:1.25rem;font-weight:700;line-height:1.25}
.eyebrow{font-family:var(--font-mono);font-size:.78rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--secondary);display:flex;align-items:center;gap:.6em;margin-bottom:1.1rem}
.eyebrow::before{content:"";width:26px;height:2px;background:var(--secondary)}
.sub{font-size:clamp(1.15rem,2vw,1.4rem);font-weight:500;line-height:1.4;color:var(--ink)}
.body-dim{color:var(--ink-soft)}
.lead{font-size:1.06rem}
.wrap.narrow p{margin-bottom:1.15rem}
.lead-in{font-size:1.14rem;line-height:1.6;color:var(--ink)}
.pivot{margin-top:1.9rem;padding-left:1.25rem;border-left:3px solid var(--brand);font-size:1.06rem;font-weight:600;color:var(--ink)}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:.55em;background:linear-gradient(135deg,var(--brand) 0%,var(--secondary) 130%);color:#fff;text-decoration:none;font-family:var(--font-body);font-weight:600;font-size:1.02rem;padding:1rem 1.7rem;border-radius:999px;transition:background .18s ease,transform .18s ease;box-shadow:0 8px 24px rgba(30,11,54,.22)}
.btn:hover{background:linear-gradient(135deg,var(--brand-deep) 0%,#4F49E6 130%);transform:translateY(-1px)}
.btn .arr{transition:transform .18s ease}
.btn:hover .arr{transform:translateX(3px)}
.btn-ghost{display:inline-flex;align-items:center;gap:.5em;color:var(--brand);font-weight:600;text-decoration:none;border-bottom:2px solid var(--brand);padding-bottom:2px;font-size:1rem}
.btn-ghost:hover{color:var(--brand-deep);border-color:var(--brand-deep)}
.cap{font-size:.9rem;color:var(--ink-soft);margin-top:.8rem;max-width:46em}
.final .cap{margin-left:auto;margin-right:auto}

/* ---------- nav ---------- */
nav{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:.9rem 24px;max-width:1120px;margin:0 auto}
.logo{font-family:var(--font-display);font-weight:800;font-size:1.15rem;text-decoration:none;letter-spacing:-.02em;display:flex;align-items:center;gap:.35rem;color:var(--ink)}
.logo span{color:var(--brand)}
.nav-links{display:flex;align-items:center;gap:1.8rem;list-style:none}
.nav-links a{text-decoration:none;font-size:.95rem;font-weight:500;color:var(--ink-soft)}
.nav-links a:hover{color:var(--ink)}
.nav-cta{background:var(--brand);color:#fff !important;padding:.55rem 1.15rem;border-radius:999px;font-weight:600;white-space:nowrap}
.cta-short{display:none}
.nav-cta:hover{background:var(--brand-deep)}
@media(max-width:1000px){.nav-links{gap:1.3rem}}
@media(max-width:820px){.nav-links li:not(.keep){display:none}}
@media(max-width:640px){
  .nav-inner{padding:.7rem 16px}
  .logo{font-size:1.02rem}
  .nav-cta{padding:.5rem .95rem;font-size:.85rem}
  .cta-long{display:none}.cta-short{display:inline}
  h1{font-size:2rem}
  h2{font-size:1.55rem}
  section{padding:3rem 0}
  .insight,.final{padding:3.6rem 0}
  .hero{padding:2.4rem 0 2.4rem}
  .feed-window{height:360px}
  .scarcity-panel{padding:1.7rem 1.3rem}
  .vs{padding:1.5rem 1.3rem}
  /* readability: lift secondary text off the 13-15px floor */
  .tcard{padding:1.35rem 1.3rem 1.3rem}
  .tcard-head img{width:62px;height:62px}
  .tcard-head{gap:.85rem}
  .tcard-name{font-size:1.05rem}
  .tcard-role{font-size:.92rem;line-height:1.4}
  .tcard .q{font-size:1.04rem;line-height:1.6}
  .proof .caliber{font-size:1rem;line-height:1.6}
  .card p,.svc p,.vs li,.tstml,.proof-card p{font-size:1.02rem}
  .final li{font-size:1.06rem}
  .days li{font-size:1.06rem}
  .scarcity-panel .slots{font-size:1.02rem}
  .cap{font-size:.96rem}
  footer{font-size:1rem}
  .foot-meta{font-size:.8rem}
}
@media(max-width:520px){
  .wrap{padding:0 20px}
  .tcard-head img{width:56px;height:56px}
}

/* ---------- hero ---------- */
.hero{padding:4.5rem 0 3.5rem}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:3.5rem;align-items:start}
.hero h1{margin-bottom:1.1rem}
.hero .sub{margin-bottom:1.2rem}
.hero p.body-dim{margin-bottom:1.8rem;max-width:34em}
@media(max-width:920px){.hero-grid{grid-template-columns:1fr;gap:2.6rem}.hero{padding:3rem 0 2.5rem}}

/* ---------- engine feed panel (signature) ---------- */
.feed{background:var(--ink);border-radius:18px;padding:1.1rem 1.1rem 0;box-shadow:0 24px 60px rgba(30,11,54,.35);overflow:hidden;position:relative}
.feed-claim{display:inline-flex;align-items:center;gap:.6em;background:var(--ink);color:#ECE9F8;border-radius:999px;padding:.58em 1.1em;font-family:var(--font-mono);font-size:.73rem;letter-spacing:.04em;margin:0 0 12px;box-shadow:0 6px 18px rgba(30,11,54,.2);line-height:1.3}
.feed-claim .d{width:8px;height:8px;border-radius:50%;background:#6FD3A3;animation:pulse 1.6s ease-in-out infinite;flex-shrink:0}
.feed-claim .lv{color:#6FD3A3;font-weight:600;flex-shrink:0}
.feed-head{display:flex;align-items:center;justify-content:space-between;gap:.6rem;font-family:var(--font-mono);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;padding:0 .3rem .85rem;border-bottom:1px solid rgba(240,238,250,.14)}
.feed-head .niche{color:#ECE9F8;font-weight:600;display:inline-flex;align-items:center;gap:.55em}
.feed-head .lv{color:#6FD3A3;font-weight:600;flex-shrink:0}
.feed-head .live{display:flex;align-items:center;gap:.45em;color:#6FD3A3;white-space:nowrap;flex-shrink:0}
.dot{width:7px;height:7px;border-radius:50%;background:#6FD3A3;animation:pulse 1.6s ease-in-out infinite;flex-shrink:0}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.25}}
.feed-window{height:420px;overflow:hidden;position:relative;mask-image:linear-gradient(to bottom,transparent 0,#000 8%,#000 88%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 8%,#000 88%,transparent 100%)}
.feed-track{animation:scrollFeed 34s linear infinite}
@keyframes scrollFeed{from{transform:translateY(0)}to{transform:translateY(-50%)}}
.feed-row{padding:.95rem .3rem;border-bottom:1px solid rgba(240,238,250,.08);display:flex;justify-content:space-between;gap:.9rem;align-items:flex-start}
.thumb{flex:0 0 56px;width:56px;height:56px;border-radius:9px;position:relative;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.35);background:#241243}
.thumb svg{display:block;width:100%;height:100%}
.feed-row .hook{color:#ECE9F8;font-size:.92rem;line-height:1.4;font-weight:500;flex:1;min-width:0}
.feed-row .hook em{display:block;font-style:normal;font-family:var(--font-mono);font-size:.68rem;color:#8B84A8;margin-top:.35rem;letter-spacing:.05em}
.badge{font-family:var(--font-mono);font-size:.66rem;font-weight:600;letter-spacing:.08em;padding:.32em .7em;border-radius:6px;white-space:nowrap;margin-top:.15rem}
.badge.win{background:rgba(111,211,163,.16);color:#6FD3A3;border:1px solid rgba(111,211,163,.35)}
.badge.kill{background:rgba(214,109,88,.12);color:#D98A76;border:1px solid rgba(214,109,88,.3)}
.feed-row.killed .hook{color:#8B84A8;text-decoration:line-through;text-decoration-color:rgba(217,138,118,.6)}
.feed-row.killed .thumb{filter:grayscale(.9);opacity:.5}
@media(prefers-reduced-motion:reduce){.feed-track{animation:none}.dot{animation:none}html{scroll-behavior:auto}.reveal{opacity:1 !important;transform:none !important}}
@media(max-width:520px){.feed-head .niche{font-size:.66rem}.feed-claim{font-size:.68rem}}

/* ---------- proof ---------- */
.proof{padding:3.5rem 0 2.4rem;border-top:1px solid var(--line)}
.proof h1{margin:0 0 1.4rem;max-width:20em}
.proof-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem;margin:2rem 0 1.6rem}
.proof-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem 1.5rem 1.35rem}
.proof-card .big{font-family:var(--font-display);font-weight:700;font-size:1.35rem;line-height:1.2;margin-bottom:.4rem}
.proof-card p{font-size:.95rem;color:var(--ink-soft)}
/* ---- proof: testimonial cards + client logo strip ---- */
.tcard-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-top:2.2rem}
.tcard{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem 1.6rem 1.5rem;margin:0}
.tcard:nth-child(4n+2),.tcard:nth-child(4n+3){background:var(--tint);border-color:transparent}
.tcard-head{display:flex;align-items:center;gap:1rem;margin-bottom:1.05rem}
.tcard-head img{width:74px;height:74px;border-radius:10px;object-fit:cover;flex-shrink:0;background:#fff}
.tcard-head figcaption{display:flex;flex-direction:column;gap:.15rem;min-width:0}
.tcard-name{font-family:var(--font-display);font-weight:700;font-size:1.06rem;line-height:1.2;color:var(--ink)}
.tcard-role{font-size:.85rem;line-height:1.35;color:var(--ink-soft)}
.tcard .q{margin:0;font-size:1rem;line-height:1.62;color:var(--ink-soft)}
@media(max-width:820px){
  .tcard-grid{grid-template-columns:1fr}
  .tcard:nth-child(4n+2),.tcard:nth-child(4n+3){background:var(--card);border-color:var(--line)}
  .tcard:nth-child(even){background:var(--tint);border-color:transparent}
}
.proof .caliber{max-width:46em;margin:2.2rem auto 0;text-align:center;color:var(--ink-soft);font-size:.96rem;line-height:1.55}
.logo-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:1.8rem 2.2rem;justify-items:center;align-items:center;max-width:600px;margin:2.4rem auto 0}
.logo-strip img{width:100%;max-width:160px;height:auto;display:block}
@media(max-width:640px){.logo-strip img{max-width:132px}}
@media(max-width:520px){.logo-strip{grid-template-columns:repeat(2,1fr);max-width:320px;gap:1.5rem 1.2rem}.logo-strip img{max-width:112px}}
@media(max-width:1000px){.proof-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.proof-grid{grid-template-columns:1fr}}
.tstml-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem;margin-top:1.6rem}
.tstml{background:var(--tint);border-radius:var(--radius);padding:1.4rem;font-size:.95rem}
.tstml .q{font-weight:500;margin-bottom:.9rem}
.tstml .who{font-family:var(--font-mono);font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;color:var(--brand-deep)}
@media(max-width:1000px){.tstml-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.tstml-grid{grid-template-columns:1fr}}

/* ---------- sections ---------- */
section{padding:4.5rem 0}
section h2{margin-bottom:1.4rem;max-width:20em}
section p + p{margin-top:1.1rem}
.center h2,.center .eyebrow{margin-left:auto;margin-right:auto;justify-content:center;text-align:center}
.center{text-align:center}

/* ---------- insight break (dark) ---------- */
.insight{background:var(--ink);color:var(--paper);padding:5.5rem 0}
.insight .eyebrow{color:#A5A1FF}
.insight .eyebrow::before{background:#A5A1FF}
.insight h2{font-size:clamp(2rem,4.4vw,3.1rem);max-width:16em;margin:0 0 1.6rem}
.insight p{color:#C9C3DE;max-width:38em}
.insight .lead-in{color:#fff}
.insight .pivot{color:#fff;border-left-color:var(--secondary)}
.insight strong{color:var(--paper)}

/* ---------- engine cards ---------- */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem;margin:2.4rem 0}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1.7rem 1.6rem}
.card .tag{font-family:var(--font-mono);font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;color:var(--secondary);margin-bottom:.9rem;display:block}
.card h3{margin-bottom:.7rem}
.card p{font-size:.98rem;color:var(--ink-soft)}
.card p strong{color:var(--ink)}
@media(max-width:1000px){.cards{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.cards{grid-template-columns:1fr}}
.engine-close{font-size:1.15rem;font-weight:500;max-width:36em;margin-bottom:1.8rem}

/* ---------- services ---------- */
.services{background:var(--paper-dim);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.svc-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.4rem;margin-top:2.2rem}
.svc{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem}
.svc h3{margin-bottom:.55rem}
.svc p{font-size:.97rem;color:var(--ink-soft)}
@media(max-width:820px){.svc-grid{grid-template-columns:1fr}}

/* ---------- contrast split ---------- */
.vs-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.4rem;margin-top:2.2rem}
.vs{border-radius:var(--radius);padding:1.9rem 1.8rem}
.vs.them{background:var(--card);border:1px solid var(--line)}
.vs.us{background:var(--brand-deep);color:var(--paper)}
.vs .vs-label{font-family:var(--font-mono);font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;margin-bottom:1rem;display:block}
.vs.them .vs-label{color:var(--clay)}
.vs.us .vs-label{color:#A5A1FF}
.vs.them p{color:var(--ink-soft)}
.vs.us p{color:#D5D0E8}
.vs ul{list-style:none;margin-top:1rem}
.vs li{padding:.5rem 0 .5rem 1.6rem;position:relative;font-size:.98rem}
.vs.us li{color:#ECE9F8}
.vs li::before{content:"";position:absolute;left:0;top:.95rem;width:9px;height:9px;border-radius:50%}
.vs.us li::before{background:#A5A1FF}
.vs.them li{color:var(--ink-soft)}
.vs.them li::before{background:var(--clay);opacity:.65}
@media(max-width:820px){.vs-grid{grid-template-columns:1fr}}

/* ---------- 90 days ---------- */
.days ul{list-style:none;margin-top:1.8rem;max-width:42em}
.days li{padding:1.05rem 0 1.05rem 2.3rem;position:relative;border-bottom:1px solid var(--line);font-size:1.05rem}
.days li:last-child{border-bottom:none}
.days li::before{content:"✓";position:absolute;left:0;top:1rem;width:1.5em;height:1.5em;border-radius:50%;background:var(--tint);color:var(--brand-deep);font-size:.85rem;display:flex;align-items:center;justify-content:center;font-weight:700}

/* ---------- credibility ---------- */
.cred{background:var(--paper-dim);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.cred .narrow p{margin-top:1.1rem}
.cred .kicker{font-weight:600;color:var(--ink)}

/* ---------- scarcity ---------- */
.scarcity-panel{border:2px solid var(--brand);border-radius:18px;padding:2.4rem 2.2rem;background:var(--card);max-width:820px;margin:0 auto}
.scarcity-panel h2{margin-bottom:1.2rem}
.scarcity-panel ul{list-style:none;margin:1.2rem 0 1.4rem}
.scarcity-panel li{padding:.45rem 0 .45rem 1.7rem;position:relative;color:var(--ink-soft)}
.scarcity-panel li::before{content:"";position:absolute;left:0;top:1rem;width:9px;height:9px;border-radius:50%;background:var(--brand)}
.scarcity-panel .slots{background:var(--tint);border-radius:10px;padding:1.05rem 1.2rem;font-size:.98rem;margin-bottom:1.4rem}

/* ---------- final CTA ---------- */
.final{background:var(--ink);color:var(--paper);padding:5.5rem 0;text-align:center}
.cta-sub{font-size:clamp(1.08rem,1.7vw,1.3rem);line-height:1.55;font-weight:600;color:rgba(255,255,255,.94);max-width:44em;margin:0 0 1.5rem}
.final .cta-sub{margin-left:auto;margin-right:auto}
.final .cta-sub{color:#fff}
.final li{color:#fff}
.final li strong{color:#fff}
.final .scarcity-note{color:#fff}
.final .scarcity-note strong{color:#fff}


.final .eyebrow{color:#A5A1FF;justify-content:center}
.final .eyebrow::before{background:#A5A1FF}
.final h2{max-width:18em;margin:0 auto 1.8rem;font-size:clamp(1.9rem,4vw,2.7rem)}
.final ul{list-style:none;max-width:620px;margin:0 auto 2.2rem;text-align:left}
.final li{padding:.7rem 0 .7rem 2.1rem;position:relative;color:#C9C3DE;font-size:1.02rem}
.final li::before{content:"✓";position:absolute;left:0;top:.68rem;width:1.4em;height:1.4em;border-radius:50%;background:rgba(165,161,255,.16);color:#A5A1FF;font-size:.8rem;display:flex;align-items:center;justify-content:center;font-weight:700}
.final .btn{background:#fff;color:var(--ink);box-shadow:0 10px 30px rgba(0,0,0,.3)}
.final .btn:hover{background:var(--tint)}
.final .cap{color:#A79FC4}
.final .last-line{margin-top:2.6rem;font-family:var(--font-display);font-weight:700;font-size:1.3rem;color:var(--paper)}

/* ---------- booking + thank-you pages ---------- */
.mini-bar{position:sticky;top:0;z-index:60;background:rgba(248,247,252,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.mini-bar-inner{max-width:1000px;margin:0 auto;padding:.7rem 24px;display:flex;align-items:center}
.mini-bar .logo-mark{display:inline-flex;align-items:center;line-height:0}
.mini-bar .logo-mark img{height:32px;width:auto;display:block}
.logo-mark{display:inline-flex;align-items:center;line-height:0}
.logo-mark img{height:34px;width:auto;display:block}
.bookpage{padding:0 0 4rem}
.bp-hero{padding:3.2rem 0 .4rem;max-width:46em}
.bp-hero h1{font-size:clamp(1.75rem,3vw,2.5rem);line-height:1.22;margin-bottom:.9rem}
.bp-sub{font-size:clamp(1.12rem,1.8vw,1.35rem);line-height:1.5;font-weight:600;color:var(--ink);margin-bottom:.4rem}
.bp-hero .sub{font-size:1.13rem;line-height:1.65;color:var(--ink-soft)}
.bp-value{list-style:none;margin:1.5rem 0 0;padding:0}
.bp-value li{padding-left:1.8em;position:relative;margin-bottom:1.05rem;font-size:1.08rem;line-height:1.6;color:var(--ink-soft)}
.bp-value li strong{color:var(--ink)}
.bp-value li::before{content:"\2713";position:absolute;left:0;top:.05em;color:var(--brand);font-weight:800;font-size:1.05em}
#pick-a-time{scroll-margin-top:80px}
.bp-notice{display:inline-block;background:var(--tint);color:var(--brand-deep);font-weight:600;font-size:1.02rem;padding:.5rem 1rem;border-radius:999px;margin-bottom:1.1rem}
.bp-section{margin-top:3.4rem;padding-top:2.8rem;border-top:1px solid var(--line)}
.bp-cal{margin-top:2.8rem}
.bp-cal h2{margin-bottom:1.2rem}
#SOIDIV_30growthstrategy{min-height:550px}
.bp-cal .cap{margin-top:1rem}
.bp-fit{max-width:46em}
.bp-fit h2{margin-bottom:1rem}
.bp-fit ul{list-style:none}
.bp-fit li{padding-left:1.7em;position:relative;margin-bottom:.7rem;font-size:1.05rem;line-height:1.55}
.bp-fit li::before{content:"\2713";position:absolute;left:0;color:var(--brand);font-weight:700}
.bp-proof .logo-strip{margin-top:2.2rem}
.bp-proof .caliber{max-width:46em;margin:2.2rem auto 0;font-size:.96rem;line-height:1.55;color:var(--ink-soft)}
.scarcity-note{margin-top:1.1rem;padding:.85rem 1.1rem;background:var(--tint);border-left:3px solid var(--brand);border-radius:8px;font-size:.98rem;color:var(--ink-soft);max-width:44em}
.final .scarcity-note{margin-left:auto;margin-right:auto;background:rgba(255,255,255,.07);color:rgba(255,255,255,.85);border-left-color:var(--secondary)}
.bp-close{margin:3rem auto 0;font-family:var(--font-display);font-weight:700;font-size:1.25rem;color:var(--ink);max-width:30em}
.ty-smallprint{margin-top:3.4rem;padding-top:1.8rem;border-top:1px solid var(--line);color:var(--ink-soft);font-size:.98rem}
.ty-smallprint p{margin-bottom:.4rem}
@media(max-width:700px){.bp-hero{padding-top:2.4rem}}

/* ---------- footer ---------- */
footer{padding:3rem 0 2.4rem;border-top:1px solid var(--line);font-size:.92rem;color:var(--ink-soft)}
.foot-grid{display:flex;justify-content:space-between;gap:2rem;flex-wrap:wrap}
.foot-grid .logo{font-size:1.05rem}
.foot-links{display:flex;gap:1.6rem;list-style:none;flex-wrap:wrap}
.foot-links a{display:inline-block;padding:.35rem 0}
.foot-links a{text-decoration:none}
.foot-links a:hover{color:var(--ink)}
.foot-meta{margin-top:1.4rem;font-family:var(--font-mono);font-size:.75rem;letter-spacing:.04em}

/* ---------- reveal on scroll ---------- */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.reveal.in{opacity:1;transform:none}

/* focus */
a:focus-visible,.btn:focus-visible{outline:3px solid var(--secondary);outline-offset:3px;border-radius:6px}

/* =====================================================================
   SECTION 2 — BLOG  (added for WordPress; matches the design system)
   Styles the post list (/blog/), single posts, archives, search, 404,
   and generic pages. Uses the same variables as Section 1.
   ===================================================================== */

/* ---- shared page header band ---- */
.page-head{padding:4.5rem 0 1rem}
.page-head .eyebrow{margin-bottom:1.1rem}
.page-head h1{max-width:16em}
.page-head .page-intro{font-size:clamp(1.1rem,2vw,1.3rem);color:var(--ink-soft);max-width:40em;margin-top:1.1rem}

/* ---- post list (blog index + archives) ---- */
.post-list{padding:2.5rem 0 4.5rem}
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem;margin-top:1rem}
@media(max-width:900px){.post-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.post-grid{grid-template-columns:1fr}}
.post-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .18s ease,box-shadow .18s ease}
.post-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(30,11,54,.12)}
.post-card a{text-decoration:none;color:inherit;display:flex;flex-direction:column;height:100%}
.post-card .thumb-img{aspect-ratio:16/10;background:var(--tint);overflow:hidden}
.post-card .thumb-img img{width:100%;height:100%;object-fit:cover}
.post-card .thumb-fallback{aspect-ratio:16/10;background:linear-gradient(135deg,var(--brand) 0%,var(--secondary) 130%)}
.post-card .card-body{padding:1.4rem 1.4rem 1.5rem;display:flex;flex-direction:column;gap:.6rem;flex:1}
.post-card .post-date{font-family:var(--font-mono);font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;color:var(--secondary)}
.post-card h3{font-size:1.15rem;line-height:1.25}
.post-card .excerpt{font-size:.95rem;color:var(--ink-soft);flex:1}
.post-card .read-more{font-family:var(--font-body);font-weight:600;font-size:.92rem;color:var(--brand);margin-top:.3rem}

/* ---- pagination ---- */
.pagination{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:2.6rem}
.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:2.6rem;height:2.6rem;padding:0 .8rem;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);text-decoration:none;font-weight:600;font-size:.95rem}
.pagination .page-numbers:hover{border-color:var(--brand);color:var(--brand)}
.pagination .page-numbers.current{background:var(--brand);border-color:var(--brand);color:#fff}
.pagination .page-numbers.dots{border:none;background:transparent}

/* ---- single post ---- */
.single-hero{padding:4rem 0 1.5rem}
.single-hero .post-meta{font-family:var(--font-mono);font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;color:var(--secondary);margin-bottom:1rem;display:flex;gap:1rem;flex-wrap:wrap}
.single-hero h1{max-width:20em}
.single-featured{margin:2.2rem 0 0}
.single-featured img{width:100%;border-radius:18px;border:1px solid var(--line)}

/* ---- long-form content (the actual post body) ---- */
.post-content{max-width:760px;margin:0 auto;padding:2.4rem 0 3.5rem;font-size:1.12rem;line-height:1.75;color:var(--ink)}
.post-content > *{margin-bottom:1.3rem}
.post-content h2{font-size:clamp(1.6rem,3vw,2.1rem);margin:2.6rem 0 1rem;line-height:1.15}
.post-content h3{font-size:1.35rem;margin:2rem 0 .8rem}
.post-content h4{font-size:1.12rem;font-family:var(--font-display);font-weight:700;margin:1.6rem 0 .6rem}
.post-content p{color:var(--ink)}
.post-content a{color:var(--brand);text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}
.post-content a:hover{color:var(--brand-deep)}
.post-content ul,.post-content ol{padding-left:1.4rem}
.post-content li{margin-bottom:.55rem}
.post-content li::marker{color:var(--brand)}
.post-content img{border-radius:12px;border:1px solid var(--line)}
.post-content blockquote{border-left:3px solid var(--brand);background:var(--tint);padding:1.1rem 1.4rem;border-radius:0 10px 10px 0;font-size:1.12rem;color:var(--ink)}
.post-content blockquote p:last-child{margin-bottom:0}
.post-content code{font-family:var(--font-mono);font-size:.9em;background:var(--paper-dim);padding:.15em .45em;border-radius:5px;border:1px solid var(--line)}
.post-content pre{background:var(--ink);color:var(--paper);padding:1.2rem 1.4rem;border-radius:12px;overflow:auto;font-family:var(--font-mono);font-size:.92rem}
.post-content pre code{background:none;border:none;padding:0;color:inherit}
.post-content hr{border:none;border-top:1px solid var(--line);margin:2.4rem 0}
.post-content figcaption{font-size:.85rem;color:var(--ink-soft);text-align:center;margin-top:.5rem}

/* ---- post footer / back link ---- */
.post-footer{max-width:760px;margin:0 auto;padding:0 0 3.5rem}
.back-link{font-family:var(--font-body);font-weight:600;color:var(--brand);text-decoration:none;display:inline-flex;align-items:center;gap:.4em}
.back-link:hover{color:var(--brand-deep)}

/* ---- generic content page (page.php) ---- */
.page-body{padding:2.4rem 0 4rem}

/* ---- search form ---- */
.search-form{display:flex;gap:.6rem;margin-top:1.4rem;max-width:30em}
.search-form input[type=search]{flex:1;padding:.8rem 1rem;border:1px solid var(--line);border-radius:10px;font-family:var(--font-body);font-size:1rem;background:#fff}
.search-form input[type=search]:focus{outline:none;border-color:var(--brand)}
.search-form button{border:none;cursor:pointer}

/* ---- 404 ---- */
.error-404{padding:6rem 0;text-align:center}
.error-404 .big-code{font-family:var(--font-display);font-weight:800;font-size:clamp(4rem,14vw,9rem);line-height:1;color:var(--brand);opacity:.15}
.error-404 h1{margin:-1rem 0 1rem}

/* ---- empty state ---- */
.empty-state{padding:3rem 0;color:var(--ink-soft)}

/* ---- v1.9.16: logo lockup + mobile nav ---- */
.logo-ic{height:32px;width:auto;display:block;border-radius:7px}
.burger{display:none;background:none;border:0;cursor:pointer;padding:6px;flex-direction:column;gap:5px;flex-shrink:0}
.burger span{display:block;width:22px;height:2.5px;background:var(--ink);border-radius:2px;transition:.2s}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}
.mob-links{display:none}
@media(max-width:820px){
  .burger{display:flex;order:2;margin-left:auto}
  .nav-links{order:3}
  .nav-inner{flex-wrap:wrap}
  .mob-links.open{display:block;position:absolute;top:100%;left:0;right:0;background:#fff;margin:0;padding:.7rem 24px 1rem;list-style:none;border-top:1px solid #E0DCEC;box-shadow:0 12px 24px rgba(30,11,54,.08);z-index:50}
  .mob-links li{padding:.5rem 0}
  .mob-links a{text-decoration:none;color:var(--ink);font-weight:500}
  .mini-bar .burger{margin-left:auto}
}
@media(max-width:640px){
  .nav-inner{flex-wrap:wrap;row-gap:.55rem;padding-bottom:.75rem}
  .nav-links{width:100%;margin:0;justify-content:center}
  .nav-links li.keep{width:100%}
  .nav-cta{display:block;width:100%;text-align:center;box-sizing:border-box}
  .nav-cta .cta-long{display:inline !important}
  .nav-cta .cta-short{display:none !important}
}
.mini-bar-inner{position:relative}
.logo-mark{display:flex;align-items:center;gap:.35rem;font-family:var(--font-display);font-weight:800;font-size:1.05rem;color:var(--ink);letter-spacing:-.02em;text-decoration:none;line-height:1}
.logo-mark span span{color:var(--brand)}
.logo-mark .logo-ic{height:30px}
