/*
Theme Name: Akshay Nigam — AI Strategy Advisor
Theme URI: https://akshaynigam.com
Author: Akshay Nigam
Author URI: https://akshaynigam.com
Description: Premium, lightweight personal brand theme for strategic AI advisory positioning. Built for Agentic AI, AI Ops, Data Platform, and Enterprise AI thought leadership.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 8.1
License: Private
Text Domain: akshaynigam
Tags: personal-brand, advisor, ai-strategy, premium, lightweight, seo-optimized, conversion-focused
*/

/* ─── CSS VARIABLES ─── */
:root {
  /* ── DARK PALETTE — matching HTML prototype ── */
  --bg:          #0a0a0a;
  --bg2:         #141414;
  --bg3:         #1e1e1e;
  --surface:     #1a1a1a;
  --surface-2:   #222222;
  --text:        #f0ede8;
  --text-2:      #c8c5c0;
  --text-3:      #adadad;
  --text-4:      #7a7a7a;
  --accent:      #c89a3a;
  --accent-h:    #d4aa52;
  --accent-2:    #e8c46a;
  --accent-g:    linear-gradient(135deg,#c89a3a 0%,#d4aa52 100%);
  --border:      rgba(255,255,255,0.07);
  --border-2:    rgba(255,255,255,0.13);
  --shadow-sm:   0 1px 2px rgba(0,0,0,.4);
  --shadow:      0 2px 8px rgba(0,0,0,.5),0 1px 3px rgba(0,0,0,.3);
  --shadow-md:   0 4px 16px rgba(0,0,0,.6),0 2px 6px rgba(0,0,0,.4);
  --shadow-lg:   0 10px 30px rgba(0,0,0,.7),0 4px 10px rgba(0,0,0,.5);
  --radius:      6px;
  --radius-lg:   10px;
  --radius-xl:   16px;
  --serif:       'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:        'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:        'JetBrains Mono', 'Fira Code', monospace;
  --max-w:       1140px;
  --max-w-text:  700px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-h); }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem,5vw,3.75rem); }
h2 { font-size: clamp(1.8rem,3.5vw,2.75rem); }
h3 { font-size: clamp(1.3rem,2.5vw,1.75rem); }
h4 { font-size: 1.15rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
h5 { font-size: 1rem; font-family: var(--sans); font-weight: 600; }
p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* ─── SKIP LINK ─── */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--accent); color: #fff;
  padding: .5rem 1rem; border-radius: var(--radius);
  font-weight: 600; z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ─── SCREEN READER TEXT ─── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── CONTAINER ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 5vw; width: 100%; }
.container-text { max-width: var(--max-w-text); margin: 0 auto; padding: 0 5vw; }

/* ─── SECTION SPACING ─── */
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.section-lg { padding: 8rem 0; }
.section-alt { background: var(--bg2); }
.section-dark {
  background: #050505;
  color: var(--text);
}
.section-dark h1,.section-dark h2,.section-dark h3,.section-dark h4 { color: var(--bg); }

/* ─── EYEBROW ─── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ''; display: block; width: 24px; height: 2px;
  background: var(--accent-g); border-radius: 2px; flex-shrink: 0;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; font-family: var(--sans);
  cursor: pointer; transition: all .2s; border: 2px solid transparent;
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--accent-g); color: #0a0a0a;
  border-color: transparent; box-shadow: 0 4px 14px rgba(200,154,58,.25);
}
.btn-primary:hover {
  color: #0a0a0a; transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,154,58,.35);
}
.btn-secondary {
  background: transparent; color: var(--text);
  border-color: var(--border-2);
}
.btn-secondary:hover {
  border-color: var(--accent); color: var(--accent);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent; color: var(--accent);
  border-color: transparent; padding-left: 0; padding-right: 0;
}
.btn-ghost:hover { color: var(--accent-h); gap: .75rem; }
.btn-ghost::after { content: '→'; font-size: .9em; }
.btn-sm { padding: .55rem 1.2rem; font-size: .85rem; }
.btn-lg { padding: .9rem 2.25rem; font-size: 1.05rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ─── CARDS ─── */
.card {
  background: var(--surface-2); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 2rem;
  box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--border-2); }
.card-accent-top { border-top: 3px solid transparent; border-image: var(--accent-g) 1; }
.card-grid { display: grid; gap: 1.5rem; }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }

/* ─── TAGS ─── */
.tag {
  display: inline-block; font-size: .72rem; font-weight: 500;
  letter-spacing: .04em; padding: .25rem .75rem;
  border-radius: 100px; background: var(--bg3);
  color: var(--text-3); border: 1px solid var(--border);
  text-decoration: none; transition: all .15s;
}
.tag:hover { border-color: var(--accent); color: var(--accent); background: rgba(200,154,58,.06); }
.tag-accent {
  background: rgba(37,99,235,.08); color: var(--accent);
  border-color: rgba(37,99,235,.2);
}
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }

/* ─── SECTION LABEL / INTRO ─── */
.section-label {
  font-size: .7rem; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: .75rem;
}
.section-intro {
  font-size: 1.05rem; color: var(--text-3); line-height: 1.8;
  max-width: 600px; margin-bottom: 3.5rem;
}
.section-intro-center { text-align: center; margin-left: auto; margin-right: auto; }

/* ─── GRADIENT TEXT ─── */
.gradient-text {
  background: var(--accent-g);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── DIVIDER ─── */
hr.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ─── BADGE ─── */
.badge {
  display: inline-flex; align-items: center;
  font-size: .7rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; padding: .22rem .65rem;
  border-radius: 100px;
}
.badge-blue { background: rgba(37,99,235,.1); color: var(--accent); }
.badge-violet { background: rgba(124,58,237,.1); color: var(--accent-2); }
.badge-green { background: rgba(16,185,129,.1); color: #059669; }

/* ─── NAV HEADER ─── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 1rem 5vw; max-width: var(--max-w);
  margin: 0 auto; gap: 2rem;
}
.site-logo {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 700;
  color: var(--text); text-decoration: none; letter-spacing: .01em;
  flex-shrink: 0;
}
.site-logo:hover { color: var(--accent); }
.site-logo img { height: 36px; width: auto; }
.primary-nav ul {
  display: flex; gap: 0; align-items: center; list-style: none;
}
.primary-nav a {
  display: block; padding: .5rem .9rem;
  font-size: .85rem; font-weight: 500; letter-spacing: .02em;
  color: var(--text-2); text-decoration: none;
  border-radius: var(--radius); transition: all .2s;
  position: relative;
}
.primary-nav a:hover { color: var(--accent); background: rgba(37,99,235,.05); }
.primary-nav a.current-menu-item { color: var(--accent); }
.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: .5rem; color: var(--text); border-radius: var(--radius);
  transition: background .2s;
}
.nav-toggle:hover { background: var(--bg2); }
.nav-toggle svg { display: block; }

/* ─── MOBILE NAV ─── */
.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--surface); z-index: 200;
  flex-direction: column; padding: 5rem 5vw 2rem;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav ul { list-style: none; }
.mobile-nav li + li { margin-top: .25rem; }
.mobile-nav a {
  display: block; padding: .9rem 1rem;
  font-size: 1.1rem; font-weight: 500;
  color: var(--text); text-decoration: none;
  border-radius: var(--radius); transition: all .2s;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--accent); padding-left: 1.4rem; }
.mobile-nav .btn { margin-top: 2rem; width: 100%; justify-content: center; }
.mobile-nav-close {
  position: absolute; top: 1rem; right: 1.5rem;
  background: none; border: none; cursor: pointer;
  font-size: 1.5rem; color: var(--text-2); padding: .5rem;
}

/* ─── FOOTER ─── */
.site-footer {
  background: #050505; color: rgba(240,237,232,.85);
  padding: 5rem 0 2rem;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 5vw; }
.footer-cta-block {
  text-align: center; padding: 4rem 2rem;
  background: rgba(200,154,58,.03);
  border: 1px solid rgba(200,154,58,.15);
  border-radius: var(--radius-xl); margin-bottom: 4rem;
}
.footer-cta-block h2 {
  color: #fff; font-size: clamp(1.6rem,3vw,2.4rem); margin-bottom: 1rem;
}
.footer-cta-block p { color: rgba(248,250,252,.65); max-width: 520px; margin: 0 auto 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .site-logo { color: #fff; font-size: 1.15rem; margin-bottom: 1rem; }
.footer-brand p { font-size: .88rem; color: rgba(248,250,252,.5); line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  color: #fff; font-family: var(--sans); font-size: .78rem;
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul li + li { margin-top: .5rem; }
.footer-col a {
  font-size: .88rem; color: rgba(248,250,252,.5);
  text-decoration: none; transition: color .2s;
}
.footer-col a:hover { color: rgba(37,99,235,.9); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .82rem; color: rgba(248,250,252,.35); margin: 0; }

/* ─── HERO SECTION ─── */
.hero {
  padding: 6rem 0 5rem; position: relative; overflow: hidden;
  background: #0a0a0a;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,154,58,.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 4rem; align-items: center; max-width: var(--max-w);
  margin: 0 auto; padding: 0 5vw;
}
.hero-content {}
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; }
.hero-sub {
  font-size: 1.1rem; color: var(--text-2); line-height: 1.85;
  max-width: 520px; margin-bottom: 2.5rem;
}
.hero-cred {
  font-size: .82rem; color: var(--text-3); margin-top: 1.25rem;
  padding-left: .9rem; border-left: 2px solid var(--border-2);
}
.hero-visual {
  position: relative; display: flex; align-items: center;
  justify-content: center;
}

/* ─── AI STACK VISUAL ─── */
.ai-stack-visual {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  box-shadow: var(--shadow-md); width: 100%; max-width: 460px;
}
.ai-stack-title {
  font-size: .7rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem;
}
.ai-stack-layers { display: flex; flex-direction: column; }
.ai-stack-layer {
  display: flex; align-items: center; gap: .85rem;
  padding: .75rem .9rem; border-radius: var(--radius);
  border: 1px solid var(--border); margin-bottom: .4rem;
  background: var(--bg2); transition: all .2s;
  position: relative; overflow: hidden;
}
.ai-stack-layer::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: transparent; transition: background .2s;
}
.ai-stack-layer:hover { border-color: var(--border-2); background: var(--bg3); }
.ai-stack-layer:hover::before { background: var(--border-2); }
.ai-stack-layer.active {
  border-color: rgba(200,154,58,.35);
  background: rgba(200,154,58,.05);
}
.ai-stack-layer.active::before { background: var(--accent-g); }
.layer-num {
  font-size: .62rem; font-weight: 600; color: var(--accent);
  width: 1.5rem; flex-shrink: 0; letter-spacing: .04em; opacity: .65;
}
.layer-label {
  font-size: .87rem; color: var(--text-2); font-weight: 400; flex: 1;
}
.ai-stack-layer.active .layer-label { color: var(--accent-h); font-weight: 500; }
.ai-stack-footer {
  font-size: .73rem; color: var(--text-4); border-top: 1px solid var(--border);
  padding-top: .85rem; margin-top: .5rem;
}

/* ─── CREDIBILITY STRIP ─── */
.cred-strip { padding: 2.25rem 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cred-strip-inner { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; max-width: var(--max-w); margin: 0 auto; padding: 0 5vw; }
.cred-pill {
  font-size: .78rem; color: var(--text-3); background: var(--surface-2);
  border: 1px solid var(--border); padding: .4rem 1rem;
  border-radius: 100px; white-space: nowrap; font-weight: 400;
  transition: all .15s;
}
.cred-pill:hover { border-color: var(--accent); color: var(--accent); background: rgba(200,154,58,.05); }

/* ─── PROBLEM SECTION ─── */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.problem-text p { font-size: 1rem; color: var(--text-2); line-height: 1.85; margin-bottom: 1.25rem; }
.failure-list { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: .55rem; }
.failure-list li {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .92rem; color: var(--text-2); padding: .8rem 1rem;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); line-height: 1.5;
  transition: border-color .2s;
}
.failure-list li:hover { border-color: rgba(239,68,68,.3); }
.failure-list li::before {
  content: ''; flex-shrink: 0; width: 6px; height: 6px;
  border-radius: 50%; background: #ef4444; margin-top: 7px;
}
.belief-box {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.25rem;
  box-shadow: var(--shadow); margin-bottom: 1.5rem;
  border-left: 3px solid var(--accent);
}
.belief-box blockquote {
  font-family: var(--serif); font-size: 1.3rem; font-style: italic;
  color: var(--text); line-height: 1.6;
}
.need-box { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--border-2, rgba(255,255,255,.13)); border-radius: var(--radius-lg); padding: 1.75rem; }
.need-box p { font-size: .92rem; color: var(--text-2); line-height: 1.82; margin: 0; }

/* ─── NODE DIAGRAM ─── */
.node-diagram {
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem;
  margin-bottom: 1.5rem; box-shadow: var(--shadow-sm);
}
.nd-half { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.nd-label {
  font-size: .66rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; padding: .2rem .65rem; border-radius: 100px;
  border: 1px solid;
}
.nd-bad { color: #ef4444; background: rgba(239,68,68,.07); border-color: rgba(239,68,68,.2); }
.nd-good { color: #059669; background: rgba(5,150,105,.07); border-color: rgba(5,150,105,.2); }
.nd-svg { width: 100%; max-width: 180px; height: auto; }
.nd-divider { font-size: 1.25rem; color: var(--accent); font-weight: 300; flex-shrink: 0; }

/* ─── BEFORE / AFTER ─── */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.ba-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.25rem; box-shadow: var(--shadow-sm); }
.ba-card-label {
  font-size: .68rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; padding: .3rem .8rem;
  border-radius: 100px; display: inline-block; margin-bottom: 1.5rem;
  border: 1px solid;
}
.ba-card-before .ba-card-label { color: #f87171; background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.25); }
.ba-card-after .ba-card-label { color: #34d399; background: rgba(52,211,153,.08); border-color: rgba(52,211,153,.2); }
.ba-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.ba-list li { display: flex; align-items: flex-start; gap: .65rem; font-size: .92rem; color: var(--text-2); line-height: 1.55; }
.ba-list li .ba-dot { flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; margin-top: 7px; }
.ba-card-before .ba-dot { background: #ef4444; }
.ba-card-after .ba-dot { background: #059669; }
.ba-card-after .ba-list li { color: #a7f3d0; }

/* ─── ADVISORY CARDS ─── */
.advisory-card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all .25s; display: flex; flex-direction: column;
  border-top: 3px solid transparent;
}
.advisory-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-4px);
  border-top-color: var(--accent);
}
.advisory-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: rgba(200,154,58,.1); display: flex;
  align-items: center; justify-content: center;
  margin-bottom: 1.1rem; font-size: 1.25rem;
  color: var(--accent);
}
.advisory-num { font-size: .67rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.advisory-card h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: .65rem; color: var(--text); }
.advisory-card p { font-size: .9rem; color: var(--text-3); line-height: 1.7; flex: 1; margin-bottom: 1.25rem; }
.advisory-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1.25rem; }
.advisory-link { font-size: .85rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: .4rem; transition: gap .15s; }
.advisory-link:hover { gap: .65rem; }
.advisory-link::after { content: '→'; }

/* ─── FRAMEWORK CARDS ─── */
.framework-card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm); transition: all .25s;
}
.framework-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.fw-num {
  font-family: var(--serif); font-size: 1.8rem; font-weight: 700;
  color: rgba(200,154,58,.2); line-height: 1; margin-bottom: .75rem;
}
.fw-card-title { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .6rem; }
.fw-card-desc { font-size: .88rem; color: var(--text-3); line-height: 1.75; margin-bottom: 1.1rem; }
.fw-stages { display: flex; flex-wrap: wrap; gap: .35rem; }
.fw-stage { font-size: .69rem; color: var(--text-3); background: var(--bg2); border: 1px solid var(--border); padding: .22rem .55rem; border-radius: 100px; }

/* ─── HEATMAP ─── */
.heatmap-wrap { margin-top: 1.25rem; overflow-x: auto; }
.heatmap-grid { display: flex; flex-direction: column; gap: .35rem; min-width: 380px; }
.hm-row { display: flex; align-items: center; gap: .4rem; }
.hm-dim { font-size: .72rem; color: var(--text-3); width: 130px; flex-shrink: 0; font-weight: 500; }
.hm-cell {
  flex: 1; font-size: .66rem; text-align: center; padding: .28rem .15rem;
  border-radius: 3px; border: 1px solid transparent; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; transition: opacity .2s;
}
.hm-1 { background: rgba(200,154,58,.05); color: #7a7a7a; border-color: rgba(200,154,58,.1); }
.hm-2 { background: rgba(200,154,58,.12); color: #c89a3a; border-color: rgba(200,154,58,.2); }
.hm-3 { background: rgba(200,154,58,.22); color: #d4aa52; border-color: rgba(200,154,58,.3); }
.hm-4 { background: rgba(200,154,58,.38); color: #e8c46a; border-color: rgba(200,154,58,.5); font-weight: 600; }
.hm-active { outline: 1.5px solid var(--accent); outline-offset: 1px; }
.hm-legend { display: flex; align-items: center; gap: .6rem; margin-top: .75rem; font-size: .66rem; color: var(--text-3); }
.hm-leg { display: flex; align-items: center; gap: .3rem; }
.hm-leg-swatch { width: 10px; height: 10px; border-radius: 2px; }

/* ─── MATURITY TRACK ─── */
.maturity-track { display: flex; flex-direction: column; gap: .4rem; margin-top: 1rem; }
.mt-step {
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem .9rem; background: var(--bg2);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: all .2s;
}
.mt-step:hover { border-color: rgba(200,154,58,.3); background: rgba(200,154,58,.03); }
.mt-step.mt-end { border-color: rgba(200,154,58,.3); background: rgba(200,154,58,.06); }
.mt-num { font-size: .62rem; font-weight: 600; color: rgba(200,154,58,.6); width: 1.2rem; flex-shrink: 0; }
.mt-end .mt-num { color: var(--accent); }
.mt-name { font-size: .88rem; color: var(--text-2); }
.mt-end .mt-name { color: var(--accent); font-weight: 600; }

/* ─── APPROACH FLOW ─── */
.approach-flow {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm); overflow-x: auto; margin-bottom: 2.5rem;
}
.flow-track { display: flex; align-items: center; min-width: 600px; }
.flow-node { display: flex; flex-direction: column; align-items: center; gap: .4rem; flex: 1; }
.flow-circle {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--border-2);
  background: var(--bg3); display: flex; align-items: center;
  justify-content: center; font-family: var(--serif);
  font-size: 1rem; font-weight: 700; color: var(--text-3);
  transition: all .2s; flex-shrink: 0;
}
.flow-node:hover .flow-circle { border-color: var(--accent); background: rgba(200,154,58,.06); color: var(--accent); }
.flow-node.highlight .flow-circle { border-color: var(--accent); background: rgba(200,154,58,.08); color: var(--accent); }
.flow-label { font-size: .68rem; color: var(--text-3); text-align: center; line-height: 1.3; font-weight: 500; }
.flow-node.highlight .flow-label { color: var(--accent); }
.flow-connector { flex: 1; height: 1.5px; background: var(--border-2); min-width: 12px; }

/* ─── STEPS GRID ─── */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.step-item { background: var(--surface-2); padding: 1.75rem; transition: background .2s; border-left: 3px solid transparent; }
.step-item:hover { background: var(--bg2); border-left-color: var(--accent); }
.step-num { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: rgba(200,154,58,.2); line-height: 1; margin-bottom: .65rem; }
.step-item h4 { font-size: .88rem; font-family: var(--sans); font-weight: 700; color: var(--text); margin-bottom: .4rem; }
.step-item p { font-size: .82rem; color: var(--text-3); line-height: 1.65; margin: 0; }

/* ─── PRINCIPLES GRID ─── */
.principles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.principle-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; transition: all .2s; }
.principle-card:hover { border-color: rgba(200,154,58,.25); box-shadow: var(--shadow); }
.principle-num { font-size: .67rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.principle-card h4 { font-size: .9rem; font-family: var(--sans); font-weight: 700; color: var(--text); margin-bottom: .45rem; }
.principle-card p { font-size: .82rem; color: var(--text-3); line-height: 1.65; margin: 0; }

/* ─── PROJECT CARDS ─── */
.project-card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all .25s;
}
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.project-card-image { aspect-ratio: 16/9; background: linear-gradient(135deg,rgba(200,154,58,.06),rgba(180,120,30,.06)); position: relative; overflow: hidden; }
.project-card-image img { width: 100%; height: 100%; object-fit: cover; }
.project-card-image .no-image {
  width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center;
}
.project-card-image .no-image svg { width: 40px; height: 40px; opacity: .3; }
.project-card-content { padding: 1.75rem; }
.project-focus { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.project-card h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin-bottom: .6rem; line-height: 1.35; }
.project-card h3 a { color: var(--text); text-decoration: none; }
.project-card h3 a:hover { color: var(--accent); }
.project-excerpt { font-size: .88rem; color: var(--text-3); line-height: 1.7; margin-bottom: 1.1rem; }
.project-meta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; font-size: .78rem; color: var(--text-4); margin-bottom: 1rem; }

/* ─── INSIGHT CARDS ─── */
.insight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 1.5rem; }
.insight-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: all .25s; display: flex; flex-direction: column; }
.insight-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--border-2); }
.insight-cat { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .65rem; }
.insight-card h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: .65rem; flex: 1; }
.insight-card h3 a { color: var(--text); text-decoration: none; }
.insight-card h3 a:hover { color: var(--accent); }
.insight-card p { font-size: .86rem; color: var(--text-3); line-height: 1.7; margin-bottom: 1rem; }
.insight-meta { display: flex; gap: .75rem; font-size: .76rem; color: var(--text-4); flex-wrap: wrap; }

/* ─── ABOUT SECTION ─── */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: start; }
.about-text p { font-size: 1.05rem; color: var(--text-2); line-height: 1.9; margin-bottom: 1.4rem; }
.expertise-list { display: flex; flex-direction: column; gap: .5rem; }
.expertise-item {
  display: flex; align-items: center; gap: .85rem;
  padding: .85rem 1.1rem; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: .88rem; color: var(--text-2); font-weight: 400;
  transition: all .2s;
}
.expertise-item:hover { border-color: rgba(37,99,235,.25); color: var(--accent); padding-left: 1.35rem; }
.expertise-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-g); flex-shrink: 0; }

/* ─── CONTACT PAGE ─── */
.contact-methods { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-method {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.25rem 1.5rem; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  text-decoration: none; color: var(--text); transition: all .2s;
}
.contact-method:hover { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(200,154,58,.2); transform: translateX(4px); }
.contact-method-icon {
  width: 42px; height: 42px; border-radius: var(--radius);
  background: rgba(200,154,58,.1); display: flex;
  align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0; font-size: 1.1rem;
}
.contact-method-text {}
.contact-method-label { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: .1rem; }
.contact-method-value { font-size: .95rem; color: var(--text); font-weight: 500; }
.contact-arrow { color: var(--text-4); margin-left: auto; font-size: .9rem; }

/* ─── BREADCRUMB ─── */
.breadcrumb { font-size: .82rem; color: var(--text-3); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--text-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 .4rem; }

/* ─── SINGLE POST ─── */
.post-header { padding: 4rem 0 3rem; background: var(--bg2); border-bottom: 1px solid var(--border); }
.post-content { font-size: 1.05rem; line-height: 1.85; color: var(--text-2); max-width: var(--max-w-text); }
.post-content h2 { font-size: clamp(1.5rem,3vw,2rem); margin: 2.5rem 0 1rem; }
.post-content h3 { font-size: clamp(1.2rem,2.5vw,1.5rem); margin: 2rem 0 .85rem; }
.post-content h4 { margin: 1.75rem 0 .75rem; }
.post-content p { margin-bottom: 1.4rem; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.4rem; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: .5rem; }
.post-content blockquote {
  border-left: 3px solid var(--accent); padding: 1rem 1.5rem;
  margin: 2rem 0; background: rgba(37,99,235,.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--text);
}
.post-content code {
  font-family: var(--mono); font-size: .88em;
  background: var(--bg2); padding: .15em .4em;
  border-radius: 3px; color: #7c3aed;
}
.post-content pre {
  background: #0f172a; color: #e2e8f0; padding: 1.5rem;
  border-radius: var(--radius); overflow-x: auto; margin-bottom: 1.4rem;
}
.post-content pre code { background: none; color: inherit; padding: 0; font-size: .9em; }
.post-content img { border-radius: var(--radius); margin: 2rem 0; box-shadow: var(--shadow-md); }
.post-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.post-content th, .post-content td { border: 1px solid var(--border); padding: .75rem 1rem; text-align: left; }
.post-content th { background: var(--bg2); font-weight: 600; }

/* ─── TABLE OF CONTENTS ─── */
.toc {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  margin-bottom: 2.5rem;
}
.toc-title { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1rem; }
.toc ol { padding-left: 1.25rem; list-style: decimal; }
.toc li { margin-bottom: .4rem; }
.toc a { font-size: .88rem; color: var(--accent); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ─── AUTHOR BOX ─── */
.author-box {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 2rem; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); margin: 3rem 0;
}
.author-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-info h4 { font-size: 1rem; margin-bottom: .35rem; }
.author-info p { font-size: .88rem; color: var(--text-3); margin: 0; }

/* ─── PAGINATION ─── */
.pagination { display: flex; justify-content: center; gap: .5rem; margin: 4rem 0; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius);
  font-size: .9rem; text-decoration: none; border: 1px solid var(--border);
  transition: all .2s; color: var(--text-3);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); background: rgba(200,154,58,.05); }
.pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ─── FORMS ─── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-2); margin-bottom: .45rem; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--surface-2); color: var(--text);
  font-family: var(--sans); font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,154,58,.15);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; margin-top: .5rem; }

/* ─── SEARCH BOX ─── */
.search-form { display: flex; gap: .5rem; }
.search-form input[type="search"] {
  flex: 1; padding: .7rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius); background: var(--surface-2);
  font-family: var(--sans); font-size: .95rem; color: var(--text);
}
.search-form button {
  padding: .7rem 1.25rem; background: var(--accent); color: #0a0a0a;
  border: none; border-radius: var(--radius); cursor: pointer;
  font-weight: 600; font-size: .9rem; transition: background .2s;
}
.search-form button:hover { background: var(--accent-2); }

/* ─── EXPERIENCE STRIP ─── */
.exp-strip { padding: 1.75rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg2); }
.exp-strip-inner { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; max-width: var(--max-w); margin: 0 auto; padding: 0 5vw; }
.exp-strip-label { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-right: .5rem; white-space: nowrap; flex-shrink: 0; }
.exp-strip-item { font-size: .82rem; color: var(--text-2); font-weight: 500; }
.exp-strip-dot { color: var(--text-4); }

/* ─── ARCHIVE FILTERS ─── */
.archive-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filter-btn {
  font-size: .8rem; font-weight: 500; padding: .45rem 1rem;
  border-radius: 100px; border: 1.5px solid var(--border);
  background: var(--surface-2); color: var(--text-3);
  cursor: pointer; transition: all .15s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--accent); color: var(--accent);
  background: rgba(200,154,58,.06);
}

/* ─── INSIGHT INLINE SECTION ─── */
.section-insights { background: var(--bg2); }

/* ─── FINAL CTA ─── */
.final-cta {
  background: linear-gradient(160deg, #0a0a0a 60%, #111108 100%);
  color: #f8fafc; text-align: center; padding: 7rem 0;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle,rgba(200,154,58,.08) 0%,transparent 60%);
  pointer-events: none;
}
.final-cta h2 { color: #fff; margin-bottom: 1.25rem; font-size: clamp(1.8rem,4vw,3rem); }
.final-cta p { color: rgba(248,250,252,.65); max-width: 540px; margin: 0 auto 2.75rem; font-size: 1rem; line-height: 1.85; }
.contact-chips { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.contact-chip {
  display: flex; align-items: center; gap: .55rem;
  padding: .6rem 1.25rem; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15); border-radius: 100px;
  text-decoration: none; color: rgba(248,250,252,.7);
  font-size: .83rem; transition: all .2s;
}
.contact-chip:hover { border-color: rgba(37,99,235,.6); color: #fff; background: rgba(37,99,235,.15); }

/* ─── ARCHIVE HEADER ─── */
.archive-header { padding: 4rem 0 3rem; background: var(--bg2); border-bottom: 1px solid var(--border); }

/* ─── 404 ─── */
.page-404 { text-align: center; padding: 8rem 0; }
.page-404 .error-code { font-family: var(--serif); font-size: 8rem; font-weight: 700; line-height: 1; background: var(--accent-g); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ─── PROJECT SINGLE ─── */
.project-sidebar { position: sticky; top: 5rem; }
.project-meta-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.project-meta-row { display: flex; justify-content: space-between; align-items: flex-start; padding: .65rem 0; border-bottom: 1px solid var(--border); font-size: .86rem; }
.project-meta-row:last-child { border-bottom: none; }
.project-meta-key { color: var(--text-3); font-weight: 500; }
.project-meta-val { color: var(--text); font-weight: 600; text-align: right; max-width: 55%; }

/* ─── RELATED POSTS ─── */
.related-posts { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--border); }
.related-posts h3 { font-size: 1.3rem; margin-bottom: 1.75rem; }

/* ─── FOCUS STATE ─── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ─── RESPONSIVE: TABLET ─── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .problem-grid { grid-template-columns: 1fr; gap: 3rem; }
  .ba-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .principles-grid { grid-template-columns: 1fr 1fr; }
  .primary-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 600px) {
  .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; align-items: flex-start; }
  .section { padding: 4rem 0; }
  .hero { padding: 4rem 0 3rem; }
}

/* ─── PRINT ─── */
@media print {
  .site-header, .site-footer, .nav-toggle, .btn-primary { display: none; }
  .post-content { font-size: 11pt; }
}
