/*
Theme Name: Shoaib HB
Theme URI: https://shoaibhb.com
Author: Shoaib HB
Description: Custom consulting theme for shoaibhb.com
Version: 5.0
License: GNU General Public License v2 or later
Text Domain: shoaibhb
*/

/* ============================================================
   TOKENS
   ============================================================ */
:root {
	--navy:       #0B1929;
	--navy-mid:   #1a2e42;
	--ink:        #1C2B3A;
	--slate:      #4A6070;
	--muted:      #7A92A3;
	--rule:       rgba(255,255,255,0.1);
	--rule-light: rgba(0,0,0,0.08);
	--accent:     #2196F3;
	--accent-warm:#E8A83E;
	--cream:      #F8F6F2;
	--white:      #ffffff;
	--serif:      'Instrument Serif', serif;
	--sans:       'DM Sans', sans-serif;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-weight: 400; color: var(--ink); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; }

/* ============================================================
   NAV
   ============================================================ */
#site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	display: flex; align-items: center; justify-content: space-between;
	padding: 1.2rem 3rem;
	background: rgba(11,25,41,0.97);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--rule);
}
.site-logo { font-family: var(--serif); font-size: 1.2rem; color: var(--white); text-decoration: none; }
.site-logo span { color: var(--accent-warm); }
.site-logo:hover { text-decoration: none; color: var(--white); }
#site-navigation ul { display: flex; gap: 2rem; list-style: none; align-items: center; }
#site-navigation ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.2s; }
#site-navigation ul li a:hover { color: var(--white); text-decoration: none; }
#site-navigation ul li.menu-cta a { background: var(--accent); color: var(--white) !important; padding: 0.45rem 1.1rem; border-radius: 3px; }
#site-navigation ul li.menu-cta a:hover { background: #1a7fd4; }

/* ============================================================
   LAYOUT
   ============================================================ */
.site-content { padding-top: 0; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section-label { display: block; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.9rem; }
.section-label--light { color: rgba(33,150,243,0.65); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary { display: inline-block; background: var(--accent); color: var(--white); padding: 0.9rem 2rem; border-radius: 3px; text-decoration: none; font-family: var(--sans); font-weight: 500; font-size: 0.95rem; transition: background 0.2s, transform 0.15s; border: none; cursor: pointer; }
.btn-primary:hover { background: #1a7fd4; transform: translateY(-1px); color: var(--white); text-decoration: none; }

/* ============================================================
   TAGS & PILLS
   ============================================================ */
.tag { display: inline-block; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-warm); border: 1px solid rgba(232,168,62,0.3); padding: 0.3rem 0.8rem; border-radius: 2px; }
.pill { display: inline-block; font-size: 0.72rem; font-weight: 500; color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.14); padding: 0.25rem 0.75rem; border-radius: 20px; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { background: var(--navy); padding: 9rem 3rem 5rem; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(33,150,243,0.06) 0%, transparent 70%); pointer-events: none; }
.page-hero h1 { color: var(--white); margin-top: 1rem; max-width: 700px; font-size: clamp(2rem, 3.5vw, 3rem); }
.page-hero p { color: rgba(255,255,255,0.5); font-size: 1rem; max-width: 560px; margin-top: 1rem; line-height: 1.8; font-weight: 300; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer { background: #060f18; padding: 2.5rem 3rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: var(--serif); color: rgba(255,255,255,0.35); font-size: 1rem; }
.footer-nav ul { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; }
.footer-nav ul li a { font-size: 0.78rem; color: rgba(255,255,255,0.28); text-decoration: none; transition: color 0.2s; }
.footer-nav ul li a:hover { color: rgba(255,255,255,0.55); }
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.18); }

/* ============================================================
   HOMEPAGE — HERO
   ============================================================ */
#hero { min-height: 100vh; background: var(--navy); display: flex; align-items: center; padding: 8rem 3rem 5rem; position: relative; overflow: hidden; }
#hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 78% 40%, rgba(33,150,243,0.07) 0%, transparent 70%), radial-gradient(ellipse 40% 60% at 10% 80%, rgba(232,168,62,0.04) 0%, transparent 60%); pointer-events: none; }
.hero-grid { max-width: 1100px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 330px; gap: 4rem; align-items: center; }
.hero-headline { font-size: clamp(2.4rem,4.5vw,3.8rem); color: var(--white); margin: 1.25rem 0 1.5rem; }
.hero-headline em { font-style: italic; color: rgba(255,255,255,0.45); }
.hero-sub { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.55); max-width: 540px; margin-bottom: 2.5rem; line-height: 1.85; }
.hero-cta-note { display: block; margin-top: 0.7rem; font-size: 0.76rem; color: rgba(255,255,255,0.28); }
.hero-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: 4px; padding: 2rem; }
.hero-card-label { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.stat-row { display: flex; align-items: baseline; gap: 0.6rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.stat-row:last-child { padding-bottom: 0; border-bottom: none; }
.stat-num { font-family: var(--serif); font-size: 2rem; color: var(--white); line-height: 1; }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.38); }

/* ============================================================
   HOMEPAGE — PROBLEMS
   ============================================================ */
#problems { background: var(--cream); padding: 6rem 3rem; }
.problems-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 3rem; }
.problem-card { background: var(--white); border: 1px solid var(--rule-light); border-left: 3px solid var(--accent); padding: 1.75rem; border-radius: 0 4px 4px 0; }
.problem-card h3 { font-family: var(--sans); font-size: 0.95rem; font-weight: 500; color: var(--ink); margin-bottom: 0.45rem; }
.problem-card p { font-size: 0.87rem; color: var(--slate); line-height: 1.65; margin-bottom: 0; }

/* ============================================================
   HOMEPAGE — HOW I WORK
   ============================================================ */
#how { background: var(--white); padding: 6rem 3rem; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; margin-top: 3rem; }
.step { padding: 1.75rem; border: 1px solid var(--rule-light); border-radius: 4px; }
.step-num { font-family: var(--serif); font-size: 2.5rem; font-style: italic; color: rgba(33,150,243,0.13); line-height: 1; margin-bottom: 0.75rem; }
.step-badge { display: inline-block; margin-bottom: 0.65rem; font-size: 0.64rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent); background: rgba(33,150,243,0.08); padding: 0.2rem 0.6rem; border-radius: 2px; }
.step h3 { font-family: var(--sans); font-size: 0.92rem; font-weight: 500; margin-bottom: 0.4rem; color: var(--ink); }
.step p { font-size: 0.85rem; color: var(--slate); line-height: 1.65; margin-bottom: 0; }

/* ============================================================
   HOMEPAGE — BACKGROUND
   ============================================================ */
#background { background: var(--navy); padding: 6rem 3rem; }
#background h2 { color: var(--white); }
.bg-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: start; }
.bg-text { color: rgba(255,255,255,0.6); font-size: 0.97rem; line-height: 1.85; margin-bottom: 1rem; }
.bg-text strong { color: var(--white); font-weight: 500; }
.logos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.logo-chip { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 1rem 1.1rem; border-radius: 3px; }
.logo-chip .company { font-weight: 500; color: var(--white); font-size: 0.9rem; }
.logo-chip .tenure { font-size: 0.7rem; color: var(--accent-warm); margin-top: 0.15rem; }
.logo-chip .role-label { font-size: 0.72rem; color: var(--muted); margin-top: 0.1rem; }
.pills-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.75rem; }

/* ============================================================
   HOMEPAGE — CASES
   ============================================================ */
#cases { background: var(--cream); padding: 6rem 3rem; }
.cases-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: 3rem; }
.case-card { background: var(--white); border: 1px solid var(--rule-light); border-radius: 4px; padding: 2rem; }
.case-tag { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-warm); margin-bottom: 0.9rem; }
.case-metric { font-family: var(--serif); font-size: 2.4rem; color: var(--ink); line-height: 1; margin-bottom: 0.4rem; }
.case-title { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.65rem; color: var(--ink); }
.case-desc { font-size: 0.84rem; color: var(--slate); line-height: 1.65; margin-bottom: 0; }
.case-timeline { margin-top: 1.1rem; padding-top: 0.9rem; border-top: 1px solid var(--rule-light); font-size: 0.74rem; color: var(--muted); }

/* ============================================================
   HOMEPAGE — CTA BAND
   ============================================================ */
#cta-band { background: var(--navy); text-align: center; padding: 7rem 3rem; }
.cta-block { max-width: 600px; margin: 0 auto; }
.cta-block h2 { color: var(--white); margin-bottom: 1rem; font-size: clamp(1.8rem,3vw,2.7rem); }
.cta-block p { color: rgba(255,255,255,0.48); margin-bottom: 2.5rem; font-size: 0.97rem; }
.cta-alt { display: block; margin-top: 1rem; font-size: 0.78rem; color: rgba(255,255,255,0.28); }
.cta-alt a { color: rgba(255,255,255,0.45); }
.cta-alt a:hover { color: var(--white); }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.engagement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.engagement-card { background: var(--white); border: 1px solid var(--rule-light); border-radius: 4px; padding: 2.5rem; }
.eng-num { font-family: var(--serif); font-size: 3rem; font-style: italic; color: rgba(33,150,243,0.1); line-height: 1; margin-bottom: 0.5rem; }
.eng-badge { display: inline-block; margin-bottom: 1rem; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: rgba(33,150,243,0.08); padding: 0.25rem 0.7rem; border-radius: 2px; }
.engagement-card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--ink); margin-bottom: 0.75rem; }
.eng-tagline { font-size: 0.9rem; color: var(--slate); margin-bottom: 1.5rem; line-height: 1.65; }
.eng-divider { border: none; border-top: 1px solid var(--rule-light); margin: 1.5rem 0; }
.eng-list { list-style: none; }
.eng-list li { font-size: 0.85rem; color: var(--slate); padding: 0.5rem 0; border-bottom: 1px solid var(--rule-light); display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 0; }
.eng-list li:last-child { border-bottom: none; }
.eng-list li::before { content: '→'; color: var(--accent); font-size: 0.8rem; flex-shrink: 0; margin-top: 0.1rem; }
.eng-meta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.eng-meta-item { font-size: 0.72rem; color: var(--muted); background: var(--cream); padding: 0.25rem 0.7rem; border-radius: 2px; }
.who-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: 3rem; }
.who-card { padding: 2rem; border: 1px solid var(--rule-light); border-radius: 4px; }
.who-card h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; margin-bottom: 0.5rem; color: var(--ink); }
.who-card p { font-size: 0.85rem; color: var(--slate); line-height: 1.65; margin-bottom: 0; }
.notright-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; }
.nr-list { list-style: none; }
.nr-list li { font-size: 0.9rem; color: var(--slate); padding: 0.6rem 0; border-bottom: 1px solid var(--rule-light); display: flex; gap: 0.75rem; margin-bottom: 0; }
.nr-list li:last-child { border-bottom: none; }
.nr-list li.yes::before { content: '✓'; color: #2e9e5b; flex-shrink: 0; }
.nr-list li.no::before  { content: '✗'; color: #c0392b; flex-shrink: 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: 1fr 360px; gap: 4rem; align-items: start; }
.contact-section { background: var(--cream); padding: 6rem 3rem; }
.direct-section { background: var(--white); padding: 5rem 3rem; }
.calendly-wrap { background: var(--white); border: 1px solid var(--rule-light); border-radius: 4px; overflow: hidden; }
.calendly-header { padding: 1.75rem 2rem; border-bottom: 1px solid var(--rule-light); }
.calendly-header h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; color: var(--ink); }
.calendly-header p { font-size: 0.84rem; color: var(--slate); margin-top: 0.3rem; margin-bottom: 0; }
.contact-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.info-card { background: var(--white); border: 1px solid var(--rule-light); border-radius: 4px; padding: 1.75rem; }
.info-card h4 { font-family: var(--sans); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.process-steps { list-style: none; }
.process-step { display: flex; gap: 0.85rem; align-items: flex-start; padding: 0.75rem 0; border-bottom: 1px solid var(--rule-light); margin-bottom: 0; }
.process-step:last-child { border-bottom: none; }
.ps-num { font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: rgba(33,150,243,0.3); line-height: 1; flex-shrink: 0; width: 1.5rem; }
.ps-text { font-size: 0.85rem; color: var(--slate); line-height: 1.6; }
.ps-text strong { color: var(--ink); font-weight: 500; }
.info-row { display: flex; flex-direction: column; gap: 0.85rem; }
.info-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.info-item-label { font-size: 0.75rem; color: var(--muted); }
.info-item-value { font-size: 0.88rem; color: var(--ink); margin-top: 0.1rem; }
.not-ready-link { display: block; text-align: center; background: var(--cream); border: 1px solid var(--rule-light); color: var(--ink); padding: 0.65rem 1rem; border-radius: 3px; text-decoration: none; font-size: 0.84rem; font-weight: 500; }
.not-ready-link:hover { text-decoration: none; background: #ede9e4; }
.direct-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: 2.5rem; max-width: 860px; margin-left: auto; margin-right: auto; }
.direct-card { padding: 1.75rem; border: 1px solid var(--rule-light); border-radius: 4px; text-align: center; }
.direct-card h3 { font-family: var(--sans); font-size: 0.85rem; font-weight: 500; color: var(--ink); margin-bottom: 0.4rem; }
.direct-card p { font-size: 0.78rem; color: var(--muted); margin-top: 0.3rem; margin-bottom: 0; }

/* ============================================================
   BLOG ARCHIVE
   ============================================================ */
.blog-archive { background: var(--cream); padding: 6rem 3rem; }
.blog-grid { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 3rem; max-width: 860px; margin-left: auto; margin-right: auto; }
.post-card { background: var(--white); border: 1px solid var(--rule-light); border-radius: 4px; padding: 2.25rem 2.5rem; text-decoration: none; display: block; transition: border-color 0.2s, transform 0.15s; }
.post-card:hover { border-color: rgba(33,150,243,0.3); transform: translateY(-2px); text-decoration: none; }
.post-meta { display: flex; gap: 1rem; align-items: center; margin-bottom: 0.9rem; flex-wrap: wrap; }
.post-date { font-size: 0.75rem; color: var(--muted); }
.post-category-badge { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: rgba(33,150,243,0.08); padding: 0.18rem 0.6rem; border-radius: 2px; text-decoration: none; }
.post-card h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--ink); line-height: 1.25; margin-bottom: 0.65rem; }
.post-excerpt { font-size: 0.9rem; color: var(--slate); line-height: 1.7; margin-bottom: 0; }
.post-read-more { display: inline-block; margin-top: 1.25rem; font-size: 0.82rem; font-weight: 500; color: var(--accent); }
.blog-topics { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: 2.5rem; }
.topic-card { padding: 1.5rem; border: 1px solid var(--rule-light); border-radius: 4px; }
.topic-card h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; color: var(--ink); margin-bottom: 0.4rem; }
.topic-card p { font-size: 0.83rem; color: var(--slate); line-height: 1.6; margin-bottom: 0; }
.subscribe-wrap { background: var(--navy); padding: 5rem 3rem; text-align: center; }
.subscribe-inner { max-width: 520px; margin: 0 auto; }
.subscribe-inner h2 { color: var(--white); margin-bottom: 0.75rem; font-size: clamp(1.8rem,3vw,2.7rem); }
.subscribe-inner p { color: rgba(255,255,255,0.45); font-size: 0.92rem; margin-bottom: 2rem; }
.subscribe-form { display: flex; gap: 0.75rem; max-width: 420px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.subscribe-form input[type="email"] { flex: 1; min-width: 200px; padding: 0.75rem 1rem; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); border-radius: 3px; color: var(--white); font-family: var(--sans); font-size: 0.9rem; outline: none; }
.subscribe-form input[type="email"]::placeholder { color: rgba(255,255,255,0.3); }
.subscribe-form input[type="submit"] { padding: 0.75rem 1.5rem; background: var(--accent); color: var(--white); border: none; border-radius: 3px; font-family: var(--sans); font-weight: 500; font-size: 0.88rem; cursor: pointer; }
.subscribe-form input[type="submit"]:hover { background: #1a7fd4; }
.no-posts { text-align: center; padding: 4rem; color: var(--slate); }

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-post { background: var(--white); padding: 5rem 3rem; }
.post-layout { display: grid; grid-template-columns: 1fr 260px; gap: 5rem; max-width: 1060px; margin: 0 auto; align-items: start; }
.post-content p { font-size: 1rem; color: var(--slate); line-height: 1.85; }
.post-content h2 { font-size: 1.6rem; color: var(--ink); margin: 2.5rem 0 1rem; }
.post-content h3 { font-size: 1rem; font-family: var(--sans); font-weight: 500; color: var(--ink); margin: 2rem 0 0.6rem; }
.post-content strong { color: var(--ink); font-weight: 500; }
.post-content ul { margin: 0 0 1.5rem 1.25rem; }
.post-content ul li { font-size: 0.97rem; color: var(--slate); line-height: 1.75; margin-bottom: 0.4rem; }
.post-content blockquote { border-left: 3px solid var(--accent); padding: 0.75rem 1.5rem; margin: 2rem 0; background: var(--cream); border-radius: 0 4px 4px 0; }
.post-content blockquote p { font-style: italic; color: var(--ink); font-size: 1.05rem; }
.post-footer-author { border-top: 1px solid var(--rule-light); padding-top: 2.5rem; margin-top: 3rem; }
.author-card { display: flex; gap: 1.25rem; align-items: flex-start; }
.author-avatar { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; background: var(--navy-mid); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.2rem; color: var(--white); }
.author-name { font-weight: 500; font-size: 0.95rem; color: var(--ink); }
.author-bio { font-size: 0.85rem; color: var(--slate); margin-top: 0.25rem; line-height: 1.6; }
.post-sidebar { position: sticky; top: 7rem; }
.sidebar-card { background: var(--cream); border-radius: 4px; padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-card h4 { font-size: 0.75rem; font-weight: 500; color: var(--ink); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.75rem; font-family: var(--sans); }
.sidebar-card p { font-size: 0.82rem; color: var(--slate); line-height: 1.6; margin-bottom: 1rem; }
.sidebar-cta { display: block; text-align: center; background: var(--accent); color: var(--white); padding: 0.65rem 1rem; border-radius: 3px; text-decoration: none; font-size: 0.82rem; font-weight: 500; }
.sidebar-cta:hover { background: #1a7fd4; color: var(--white); }
.post-hero-meta { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.25rem; }
.post-hero-meta a { font-size: 0.78rem; color: rgba(255,255,255,0.35); text-decoration: none; }
.post-hero-meta a:hover { color: rgba(255,255,255,0.65); }
.post-hero-date { font-size: 0.78rem; color: var(--muted); }
.post-hero-title { font-family: var(--serif); font-size: clamp(1.9rem,3.5vw,3rem); color: var(--white); line-height: 1.2; max-width: 760px; margin-top: 0.5rem; }
.post-hero-sub { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.48); margin-top: 1rem; max-width: 560px; line-height: 1.8; }

/* ============================================================
   WORDPRESS DEFAULTS
   ============================================================ */
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.wp-caption-text { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 0.4rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
	.post-layout { grid-template-columns: 1fr; }
	.post-sidebar { position: static; }
}
@media (max-width: 900px) {
	#site-header { padding: 1rem 1.5rem; }
	#site-navigation { display: none; }
	.hero-grid { grid-template-columns: 1fr; }
	.hero-card { display: none; }
	.problems-grid, .steps, .cases-grid { grid-template-columns: 1fr; }
	.bg-grid { grid-template-columns: 1fr; }
	.logos-grid { grid-template-columns: 1fr 1fr; }
	.engagement-grid, .who-grid, .notright-grid { grid-template-columns: 1fr; }
	.contact-grid { grid-template-columns: 1fr; }
	.direct-grid { grid-template-columns: 1fr; }
	.blog-topics { grid-template-columns: 1fr; }
	.subscribe-form { flex-direction: column; }
	#site-footer { flex-direction: column; text-align: center; }
	.footer-nav ul { justify-content: center; }
	.page-hero, .blog-archive, .single-post, #problems, #how, #background, #cases, #cta-band { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* ============================================================
   BLOG — SIDEBAR LAYOUT
   ============================================================ */
.blog-layout { display: grid; grid-template-columns: 1fr 260px; gap: 4rem; max-width: 1060px; margin: 0 auto; }
.blog-main {}
.blog-sidebar { padding-top: 0.25rem; }

/* Post list — title only */
.post-list { display: flex; flex-direction: column; margin-top: 2rem; }
.post-list-item { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--rule-light); text-decoration: none; transition: padding-left 0.15s; }
.post-list-item:first-child { border-top: 1px solid var(--rule-light); }
.post-list-item:hover { padding-left: 0.5rem; text-decoration: none; }
.post-list-title { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; color: var(--ink); line-height: 1.3; }
.post-list-item:hover .post-list-title { color: var(--accent); }
.post-list-meta { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.post-list-date { font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
.post-list-cat { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent); background: rgba(33,150,243,0.08); padding: 0.15rem 0.55rem; border-radius: 2px; white-space: nowrap; }

/* Sidebar widgets */
.sidebar-widget { margin-bottom: 2.5rem; }
.sidebar-widget-title { font-family: var(--sans); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--rule-light); }
.cat-list { list-style: none; }
.cat-list li { padding: 0; }
.cat-list a { display: flex; justify-content: space-between; align-items: center; padding: 0.55rem 0; border-bottom: 1px solid var(--rule-light); font-size: 0.88rem; color: var(--slate); text-decoration: none; transition: color 0.15s; }
.cat-list li:last-child a { border-bottom: none; }
.cat-list a:hover { color: var(--accent); text-decoration: none; }
.cat-list a.active { color: var(--accent); font-weight: 500; }
.cat-count { font-size: 0.72rem; color: var(--muted); background: var(--cream); padding: 0.1rem 0.5rem; border-radius: 10px; }
.cat-list a.active .cat-count { background: rgba(33,150,243,0.1); color: var(--accent); }

/* Subscribe widget in sidebar */
.sidebar-subscribe { background: var(--navy); border-radius: 4px; padding: 1.5rem; }
.sidebar-subscribe p { font-size: 0.78rem; color: rgba(255,255,255,0.45); line-height: 1.6; margin-bottom: 1rem; }
.sidebar-subscribe input[type="email"] { width: 100%; padding: 0.6rem 0.85rem; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 3px; color: var(--white); font-family: var(--sans); font-size: 0.85rem; outline: none; margin-bottom: 0.6rem; }
.sidebar-subscribe input[type="email"]::placeholder { color: rgba(255,255,255,0.3); }
.sidebar-subscribe input[type="submit"] { width: 100%; padding: 0.65rem; background: var(--accent); color: var(--white); border: none; border-radius: 3px; font-family: var(--sans); font-weight: 500; font-size: 0.85rem; cursor: pointer; }
.sidebar-subscribe input[type="submit"]:hover { background: #1a7fd4; }

/* Category archive hero */
.cat-hero-label { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(33,150,243,0.65); margin-bottom: 0.5rem; display: block; }
.cat-hero-name { color: var(--white); margin-top: 0.5rem; }
.cat-hero-count { font-size: 0.85rem; color: rgba(255,255,255,0.4); margin-top: 0.5rem; }

/* Pagination */
.blog-pagination { display: flex; gap: 0.5rem; margin-top: 2.5rem; justify-content: center; }
.blog-pagination .page-numbers { display: inline-block; padding: 0.5rem 0.9rem; border: 1px solid var(--rule-light); border-radius: 3px; font-size: 0.85rem; color: var(--slate); text-decoration: none; transition: all 0.15s; }
.blog-pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.blog-pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: var(--white); }

@media (max-width: 900px) {
	.blog-layout { grid-template-columns: 1fr; }
	.blog-sidebar { order: -1; }
	.cat-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
	.cat-list li { flex: 0 0 auto; }
	.cat-list a { border-bottom: none; border: 1px solid var(--rule-light); border-radius: 3px; padding: 0.35rem 0.75rem; font-size: 0.8rem; }
	.cat-list a.active { border-color: var(--accent); }
	.cat-count { display: none; }
}


/* ============================================================
   TRIAGE TOOLS v2
   ============================================================ */

/* Hero */
.tool-hero { background: var(--navy); padding: 7rem 3rem 4rem; position: relative; overflow: hidden; }
.tool-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(33,150,243,0.07) 0%, transparent 70%); pointer-events: none; }
.tool-hero .section-label { color: rgba(33,150,243,0.7); }
.tool-hero h1 { color: var(--white); margin-top: 0.75rem; font-size: clamp(1.9rem,3vw,2.8rem); max-width: 680px; }
.tool-hero p { color: rgba(255,255,255,0.5); font-size: 1rem; max-width: 540px; margin-top: 0.75rem; line-height: 1.85; font-weight: 300; }

/* Layout */
.tool-body { background: var(--cream); padding: 3rem 0 5rem; }
.tool-wrap { max-width: 720px; margin: 0 auto; padding: 0 2rem; }

/* Section card */
.tool-section {
	background: var(--white);
	border: 1px solid var(--rule-light);
	border-radius: 6px;
	padding: 2rem 2.25rem;
	margin-bottom: 1.25rem;
}
.tool-section-label {
	display: block;
	font-size: 0.65rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--rule-light);
}
.tool-section h3 {
	font-family: var(--sans); font-size: 0.97rem; font-weight: 500;
	color: var(--ink); margin-bottom: 1rem; line-height: 1.5;
}

/* Field groups */
.tool-field { margin-bottom: 1.25rem; }
.tool-field:last-child { margin-bottom: 0; }
.tool-field label {
	display: block; font-size: 0.8rem; font-weight: 500;
	color: var(--slate); margin-bottom: 0.4rem; letter-spacing: 0.01em;
}
.tool-field label .req { color: var(--accent); margin-left: 2px; }
.tool-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tool-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }

/* Inputs — strong selectors to override WP defaults */
.tool-wrap input[type="text"],
.tool-wrap input[type="email"],
.tool-wrap input[type="tel"] {
	display: block; width: 100%;
	height: 48px; padding: 0 1rem;
	background: var(--white) !important;
	border: 1.5px solid #d0d8e0 !important;
	border-radius: 4px !important;
	font-family: var(--sans) !important; font-size: 0.95rem !important;
	color: var(--ink) !important;
	outline: none !important;
	box-shadow: none !important;
	transition: border-color 0.2s;
	-webkit-appearance: none;
}
.tool-wrap input[type="text"]:focus,
.tool-wrap input[type="email"]:focus,
.tool-wrap input[type="tel"]:focus {
	border-color: var(--accent) !important;
	box-shadow: 0 0 0 3px rgba(33,150,243,0.08) !important;
}
.tool-wrap textarea {
	display: block; width: 100%;
	padding: 0.85rem 1rem;
	background: var(--white) !important;
	border: 1.5px solid #d0d8e0 !important;
	border-radius: 4px !important;
	font-family: var(--sans) !important; font-size: 0.95rem !important;
	color: var(--ink) !important; line-height: 1.7;
	resize: vertical; outline: none !important;
	box-shadow: none !important;
	transition: border-color 0.2s;
	min-height: 100px;
}
.tool-wrap textarea:focus {
	border-color: var(--accent) !important;
	box-shadow: 0 0 0 3px rgba(33,150,243,0.08) !important;
}
.tool-wrap input::placeholder,
.tool-wrap textarea::placeholder { color: #aab4be !important; }

/* Radio / checkbox options */
.tool-options { display: flex; flex-direction: column; gap: 0.6rem; }
.tool-option {
	display: flex; align-items: flex-start; gap: 0.9rem;
	padding: 0.9rem 1.1rem;
	border: 1.5px solid #d0d8e0;
	border-radius: 4px;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
	background: var(--white);
}
.tool-option:hover { border-color: var(--accent); background: rgba(33,150,243,0.03); }
.tool-option.selected { border-color: var(--accent); background: rgba(33,150,243,0.05); }
.tool-option input[type="radio"],
.tool-option input[type="checkbox"] {
	width: 18px !important; height: 18px !important;
	margin-top: 2px; flex-shrink: 0;
	accent-color: var(--accent);
	cursor: pointer;
}
.tool-option label {
	font-size: 0.92rem; color: var(--ink);
	cursor: pointer; line-height: 1.5;
	margin-bottom: 0;
}
.tool-option label .hint {
	display: block; font-size: 0.78rem;
	color: var(--slate); margin-top: 0.15rem; font-weight: 400;
}

/* Submit row */
.tool-submit-row {
	display: flex; align-items: center; gap: 1.25rem;
	margin-top: 0.5rem; padding-top: 1.5rem;
}
.tool-submit-row .note { font-size: 0.82rem; color: var(--muted); }

/* Result */
.tool-result {
	display: none; background: var(--white);
	border: 1px solid var(--rule-light); border-radius: 6px;
	padding: 2.5rem 2.25rem; margin-bottom: 1.25rem;
}
.tool-result.show { display: block; }
.result-badge {
	display: inline-flex; align-items: center; gap: 0.6rem;
	padding: 0.45rem 1.1rem; border-radius: 3px;
	font-size: 0.82rem; font-weight: 600; margin-bottom: 1.5rem;
	letter-spacing: 0.02em;
}
.result-badge::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.result-badge.green { background: #e8f5ee; color: #1a5c34; border: 1px solid #a3d9b8; }
.result-badge.green::before { background: #2e9e5b; }
.result-badge.amber { background: #fef4e3; color: #7a4f00; border: 1px solid #f0c97a; }
.result-badge.amber::before { background: var(--accent-warm); }
.result-badge.red { background: #fdf0f0; color: #7a1a1a; border: 1px solid #f0a3a3; }
.result-badge.red::before { background: #dc3545; }
.result-title { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); margin-bottom: 0.75rem; line-height: 1.25; }
.result-summary { font-size: 0.97rem; color: var(--slate); line-height: 1.85; margin-bottom: 1.5rem; }
.result-list { list-style: none; margin-bottom: 1.5rem; }
.result-list li { font-size: 0.9rem; color: var(--slate); padding: 0.6rem 0; border-bottom: 1px solid var(--rule-light); display: flex; gap: 0.75rem; line-height: 1.6; }
.result-list li:last-child { border-bottom: none; }
.result-list li::before { content: '→'; color: var(--accent); flex-shrink: 0; padding-top: 0.05rem; }
.result-cta {
	background: var(--navy); border-radius: 4px;
	padding: 1.5rem 2rem;
	display: flex; align-items: center; justify-content: space-between;
	gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem;
}
.result-cta p { color: rgba(255,255,255,0.55); font-size: 0.88rem; margin: 0.2rem 0 0; }
.result-cta strong { color: var(--white); display: block; font-size: 0.97rem; }
.sent-note { font-size: 0.76rem; color: var(--muted); text-align: center; margin-top: 0.85rem; }

/* Progress dots */
.tool-progress-dots { display: flex; gap: 6px; margin-bottom: 2rem; }
.tool-progress-dots span { width: 8px; height: 8px; border-radius: 50%; background: #d0d8e0; transition: background 0.2s; }
.tool-progress-dots span.done { background: var(--accent); }

/* Dimension bars (AI readiness) */
.dim-bar-wrap { margin-bottom: 1.1rem; }
.dim-bar-label { display: flex; justify-content: space-between; margin-bottom: 0.35rem; }
.dim-bar-label span { font-size: 0.85rem; color: var(--ink); font-weight: 500; }
.dim-bar-label em { font-size: 0.78rem; color: var(--muted); font-style: normal; }
.dim-bar-track { background: #e8edf2; border-radius: 4px; height: 8px; }
.dim-bar-fill { height: 8px; border-radius: 4px; transition: width 0.4s; }
.dim-bar-fill.green { background: #2e9e5b; }
.dim-bar-fill.amber { background: var(--accent-warm); }
.dim-bar-fill.red { background: #dc3545; }

@media (max-width: 700px) {
	.tool-hero { padding: 7rem 1.5rem 3rem; }
	.tool-wrap { padding: 0 1.25rem; }
	.tool-body { padding: 2rem 0 4rem; }
	.tool-section { padding: 1.5rem; }
	.tool-grid-2, .tool-grid-3 { grid-template-columns: 1fr; }
	.result-cta { flex-direction: column; }
	.tool-submit-row { flex-direction: column; align-items: flex-start; }
}
