/* =================================================================
   NAQEEB BRAND v2 — "Engineered Calm"
   Hybrid: forest green identity + soft lavender/sky atmosphere
================================================================= */

:root {
  --bg: #FDFCF9;
  --bg-elevated: #FFFFFF;
  --bg-muted: #F2F6F3;
  --bg-dark: #121816;
  --border: rgba(24, 23, 15, 0.08);
  --border-strong: rgba(24, 23, 15, 0.14);
  --text: #18170F;
  --text-2: #5C5850;
  --text-3: #9C9890;
  --accent: #1B4D35;
  --accent-bright: #2D7A57;
  --accent-soft: #E8F5EE;
  --accent-glow: 0 8px 32px rgba(27, 77, 53, 0.22);
  --accent-glow-lg: 0 12px 48px rgba(27, 77, 53, 0.28);
  --amber: #B85C00;
  --amber-soft: #FEF3E8;
  --blue: #1A3A6B;
  --blue-soft: #EEF3FB;
  --lavender: rgba(167, 139, 250, 0.22);
  --sky: rgba(56, 189, 248, 0.14);
  --deco-green: rgba(45, 122, 87, 0.38);
  --deco-dot: rgba(27, 77, 53, 0.32);
  --deco-ring: rgba(45, 122, 87, 0.22);
  --deco-line: rgba(27, 77, 53, 0.14);
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-serif: 'Instrument Serif', serif;
  --font-mono: 'DM Mono', monospace;
  --container: 1120px;
  --nav-shell-max: 1080px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 100px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-nav: 0 8px 32px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --icon-ext: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5 8.5 3.5M3.5 3.5h5v5'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-display);
  background:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(167, 139, 250, 0.06), transparent 55%),
    radial-gradient(ellipse 70% 40% at 100% 0%, rgba(56, 189, 248, 0.05), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

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

#prog {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 1001;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  width: 0%; transition: width 0.08s linear;
}

/* FLOATING PILL NAV */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1rem 1.25rem 0;
  pointer-events: none;
}
.nav-shell {
  pointer-events: auto;
  max-width: var(--nav-shell-max);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.65rem 0.65rem 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: padding 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-shell.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-nav);
  padding-top: 0.5rem; padding-bottom: 0.5rem;
}
.nav-logo { display: flex; align-items: baseline; gap: 0.45rem; flex-shrink: 0; }
.nav-logo-initial {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.45rem; color: var(--accent); line-height: 1;
}
.nav-logo-name { font-size: 0.88rem; font-weight: 600; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 0.15rem; align-items: center; }
.nav-links a {
  font-family: var(--font-mono); font-size: 0.72rem;
  color: var(--text-2); padding: 0.45rem 0.75rem;
  border-radius: var(--radius-pill); transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text); background: var(--bg-muted);
}
.btn-nav-cta {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  padding: 0.55rem 1.15rem; border-radius: var(--radius-pill);
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 16px rgba(27, 77, 53, 0.25);
  transition: transform 0.15s var(--ease), box-shadow 0.2s, background 0.2s;
  flex-shrink: 0;
}
.btn-nav-cta:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: var(--accent-glow);
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; border-radius: var(--radius-sm);
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mob-menu {
  pointer-events: auto;
  display: none; position: fixed;
  top: calc(1rem + 52px); left: 1.25rem; right: 1.25rem;
  max-width: var(--nav-shell-max); margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem 1.25rem;
  box-shadow: var(--shadow-lg);
  flex-direction: column; gap: 0.25rem; z-index: 199;
}
.mob-menu.open { display: flex; }
.mob-menu a {
  font-family: var(--font-mono); font-size: 0.85rem;
  color: var(--text-2); padding: 0.6rem 0.5rem;
  border-radius: var(--radius-sm);
}
.mob-menu a:hover { color: var(--text); background: var(--bg-muted); }
.mob-menu .mob-cta {
  margin-top: 0.5rem; text-align: center;
  background: var(--accent); color: #fff !important;
  padding: 0.7rem 1rem !important; border-radius: var(--radius-pill); font-weight: 600;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.88rem; font-weight: 500;
  padding: 0.85rem 1.6rem; border-radius: var(--radius-pill);
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 20px rgba(27, 77, 53, 0.3);
  transition: transform 0.15s var(--ease), box-shadow 0.2s, background 0.2s;
}
.btn-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: var(--accent-glow-lg);
}
.btn-ghost {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 0.88rem; font-weight: 500;
  padding: 0.85rem 1.6rem; border-radius: var(--radius-pill);
  background: var(--bg-elevated); color: var(--text-2);
  border: 1px solid var(--border-strong);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-ghost:hover {
  border-color: var(--accent); color: var(--accent);
  transform: translateY(-1px);
}

.sec-label {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.sec-label::before { content: '/'; color: var(--text-3); }
.sec-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700; letter-spacing: -0.035em;
  line-height: 1.12; margin-bottom: 0.85rem;
}
.sec-desc { font-size: 1rem; color: var(--text-2); max-width: 540px; line-height: 1.8; }

.fade { opacity: 0; transform: translateY(20px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.fade.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* HERO */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 0 5rem; overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.hero-glow::before {
  content: ''; position: absolute;
  width: 120%; height: 85%; top: -22%; left: -10%;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, var(--lavender), transparent 62%);
}
.hero-glow::after {
  content: ''; position: absolute;
  width: 90%; height: 70%; top: 5%; right: -12%;
  background: radial-gradient(ellipse 60% 50% at 80% 15%, var(--sky), transparent 58%);
}
.hero-glow-green {
  position: absolute; width: 70%; height: 55%; top: -5%; left: -8%;
  background: radial-gradient(ellipse 55% 45% at 25% 0%, rgba(45, 122, 87, 0.16), transparent 62%);
}
.hero-deco {
  position: absolute; pointer-events: none; z-index: 0;
}
.hero-deco-dots {
  top: 14%; right: 6%;
  width: 132px; height: 132px;
  background-image: radial-gradient(circle, var(--deco-dot) 2px, transparent 2px);
  background-size: 16px 16px;
  mask-image: radial-gradient(ellipse at center, #000 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 100%);
}
.hero-deco-dots--bl {
  top: auto; bottom: 18%; left: 5%; right: auto;
  width: 100px; height: 100px;
  background-size: 14px 14px;
  opacity: 0.85;
}
.hero-deco-ring {
  bottom: 20%; left: 3%;
  width: 200px; height: 200px;
  border: 1.5px solid var(--deco-ring);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(45, 122, 87, 0.04);
}
.hero-deco-ring::after {
  content: ''; position: absolute; inset: 28px;
  border: 1.5px dashed rgba(45, 122, 87, 0.16);
  border-radius: 50%;
}
.hero-deco-ring::before {
  content: ''; position: absolute; inset: 56px;
  border: 1px solid rgba(45, 122, 87, 0.1);
  border-radius: 50%;
}
.hero-deco-lines {
  top: 10%; left: 4%;
  width: 72px; height: 72px; opacity: 0.55;
  background:
    linear-gradient(var(--deco-line) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(90deg, var(--deco-line) 1px, transparent 1px) 0 0 / 18px 18px;
}
.hero-deco-plus {
  bottom: 28%; right: 12%;
  width: 48px; height: 48px; opacity: 0.45;
}
.hero-deco-plus::before,
.hero-deco-plus::after {
  content: ''; position: absolute; background: var(--deco-green);
  border-radius: 1px;
}
.hero-deco-plus::before {
  top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%);
}
.hero-deco-plus::after {
  left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%);
}
.hero-inner {
  position: relative; z-index: 1;
  text-align: center; max-width: 780px; margin: 0 auto;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-2);
  padding: 0.4rem 1rem 0.4rem 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}
.hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}
.hero-h1 {
  font-size: clamp(2.75rem, 6.5vw, 5rem);
  font-weight: 800; letter-spacing: -0.045em;
  line-height: 1.04; margin-bottom: 1.5rem;
}
.hero-h1 em {
  font-family: var(--font-serif); font-style: italic;
  font-weight: 400; color: var(--accent);
}
.hero-h1 .dim { color: var(--text-3); font-weight: 300; }
.hero-sub {
  font-size: 1.1rem; color: var(--text-2); line-height: 1.82;
  max-width: 580px; margin: 0 auto 2.25rem;
}
.hero-actions {
  display: flex; gap: 0.875rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 2.75rem;
}
.hero-proof {
  display: flex; justify-content: center; align-items: center;
  gap: 1.25rem; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-3);
}
.hero-proof-sep { color: var(--border-strong); }
.hero-proof b { color: var(--accent); font-weight: 500; }

#identity {
  background: linear-gradient(135deg, var(--accent) 0%, #164029 100%);
  padding: 1.35rem 0; overflow: hidden;
}
.identity-track {
  display: flex; gap: 3rem; align-items: center;
  animation: marquee 28s linear infinite; white-space: nowrap; width: max-content;
}
.identity-track:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.identity-item {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.05rem; color: rgba(255, 255, 255, 0.65);
  display: flex; align-items: center; gap: 3rem;
}
.identity-item strong {
  color: #fff; font-style: normal;
  font-family: var(--font-display); font-size: 0.82rem;
  font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.identity-sep { color: rgba(255, 255, 255, 0.25); font-style: normal; }

#beliefs {
  padding: 6.5rem 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
#beliefs::before {
  content: ''; position: absolute; top: 3rem; right: 2rem;
  width: 180px; height: 180px; pointer-events: none;
  border: 1.5px solid var(--deco-ring); border-radius: 50%;
}
#beliefs::after {
  content: ''; position: absolute; bottom: 2rem; left: 1.5rem;
  width: 110px; height: 110px; pointer-events: none;
  background-image: radial-gradient(circle, var(--deco-dot) 2px, transparent 2px);
  background-size: 15px 15px;
  mask-image: radial-gradient(ellipse at center, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 60%, transparent 100%);
}
.beliefs-inner { display: grid; grid-template-columns: 300px 1fr; gap: 4.5rem; align-items: start; }
.beliefs-left { position: sticky; top: calc(80px + 2rem); }
.beliefs-list { display: flex; flex-direction: column; gap: 2.25rem; }
.belief { padding-bottom: 2.25rem; border-bottom: 1px solid var(--border); }
.belief:last-child { border-bottom: none; padding-bottom: 0; }
.belief-headline {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.2rem; line-height: 1.35; margin-bottom: 0.55rem;
}
.belief-body { font-size: 0.92rem; color: var(--text-2); line-height: 1.85; }

#stats { padding: 4rem 0; background: var(--bg-muted); position: relative; overflow: hidden; }
#stats::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 95%); height: 220px; pointer-events: none;
  background-image: radial-gradient(circle, rgba(45, 122, 87, 0.12) 2px, transparent 2px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
}
#stats .container { position: relative; z-index: 1; }
.stats-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; box-shadow: var(--shadow-md);
}
.stat-item {
  background: var(--bg-elevated); padding: 1.85rem 1.5rem; text-align: center;
}
.stat-num {
  font-size: 2.5rem; font-weight: 800; letter-spacing: -0.04em;
  color: var(--accent); line-height: 1; margin-bottom: 0.45rem;
}
.stat-label {
  font-family: var(--font-mono); font-size: 0.68rem;
  color: var(--text-3); line-height: 1.55;
}

#routing { padding: 6.5rem 0; position: relative; overflow: hidden; }
#routing::before {
  content: ''; position: absolute; top: 2rem; right: 1.5rem;
  width: 56px; height: 56px; pointer-events: none; opacity: 0.5;
  background:
    linear-gradient(var(--deco-line) 1px, transparent 1px) 0 0 / 14px 14px,
    linear-gradient(90deg, var(--deco-line) 1px, transparent 1px) 0 0 / 14px 14px;
}
#routing::after {
  content: ''; position: absolute; bottom: -20px; left: -10px;
  width: 180px; height: 180px; pointer-events: none;
  background-image: radial-gradient(circle, var(--deco-dot) 2px, transparent 2px);
  background-size: 14px 14px;
  mask-image: radial-gradient(ellipse at center, #000 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 100%);
}
#routing .container { position: relative; z-index: 1; }
.routing-header { text-align: center; max-width: 620px; margin: 0 auto 3rem; }
.routing-header .sec-desc { margin: 0 auto; }
.routing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.routing-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: 0.85rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
  position: relative; overflow: hidden;
}
.routing-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.routing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27, 77, 53, 0.15);
}
.routing-card:hover::before { transform: scaleX(1); }
.routing-card-1::before { background: var(--accent); }
.routing-card-2::before { background: var(--amber); }
.routing-card-3::before { background: var(--blue); }
.routing-for {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.22rem 0.6rem; border-radius: var(--radius-pill);
  width: fit-content;
}
.routing-card-1 .routing-for { background: var(--accent-soft); color: var(--accent); }
.routing-card-2 .routing-for { background: var(--amber-soft); color: var(--amber); }
.routing-card-3 .routing-for { background: var(--blue-soft); color: var(--blue); }
.routing-headline { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.routing-body { font-size: 0.875rem; color: var(--text-2); line-height: 1.75; flex: 1; }
.routing-btn {
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500;
  padding: 0.55rem 1.1rem; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; gap: 0.35rem;
  width: fit-content; transition: gap 0.2s, background 0.2s, color 0.2s;
}
.routing-card-1 .routing-btn { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(27,77,53,.2); }
.routing-card-1 .routing-btn:hover { gap: 0.55rem; background: var(--accent-bright); }
.routing-card-2 .routing-btn { background: var(--amber-soft); color: var(--amber); border: 1px solid rgba(184,92,0,.2); }
.routing-card-2 .routing-btn:hover { background: var(--amber); color: #fff; }
.routing-card-3 .routing-btn { background: var(--blue-soft); color: var(--blue); border: 1px solid rgba(26,58,107,.15); }
.routing-card-3 .routing-btn:hover { background: var(--blue); color: #fff; }

#building { padding: 6.5rem 0; background: var(--bg-muted); border-top: 1px solid var(--border); position: relative; overflow: hidden; }
#building::before {
  content: ''; position: absolute; top: 2rem; right: 1.5rem;
  width: 88px; height: 88px; pointer-events: none; opacity: 0.65;
  background:
    linear-gradient(var(--deco-line) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, var(--deco-line) 1px, transparent 1px) 0 0 / 16px 16px;
}
#building::after {
  content: ''; position: absolute; bottom: 3rem; left: 2rem;
  width: 120px; height: 120px; pointer-events: none;
  border: 1.5px dashed var(--deco-ring); border-radius: 50%;
}
#building .container { position: relative; z-index: 1; }
.building-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2.5rem; }
.product-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.85rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(27,77,53,.12); }
.product-tag {
  font-family: var(--font-mono); font-size: 0.62rem;
  padding: 0.22rem 0.6rem; border-radius: var(--radius-pill);
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid rgba(27,77,53,.12);
  display: inline-block; margin-bottom: 0.85rem;
}
.product-name { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.45rem; }
.product-problem {
  font-family: var(--font-serif); font-style: italic;
  font-size: 0.92rem; color: var(--text-3);
  border-left: 2px solid rgba(27,77,53,.2);
  padding-left: 0.85rem; margin: 0.65rem 0 1rem;
}
.product-desc { font-size: 0.875rem; color: var(--text-2); line-height: 1.8; margin-bottom: 1rem; }
.product-stats {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-3);
  padding-top: 1rem; border-top: 1px solid var(--border); margin-bottom: 1.1rem;
}
.product-stat-item::after { content: '·'; margin-left: 1rem; color: var(--border-strong); }
.product-stat-item:last-child::after { content: none; }
.product-cta { display: flex; gap: 0.65rem; flex-wrap: wrap; }
.product-link {
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--accent);
  transition: gap 0.2s; display: inline-flex; align-items: center; gap: 0.25rem;
}
.product-link:hover { gap: 0.45rem; }
.product-link.secondary { color: var(--text-3); }
.product-card-next {
  background: var(--bg); border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-lg); padding: 1.85rem;
  display: flex; flex-direction: column; grid-column: span 2;
}
.next-label { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-3); margin-bottom: 0.85rem; }
.next-body {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.05rem; color: var(--text-2); line-height: 1.6; flex: 1; margin-bottom: 1.25rem;
}
.notify-btn {
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--accent);
  border: 1px solid rgba(27,77,53,.2); border-radius: var(--radius-pill);
  padding: 0.45rem 1rem; width: fit-content;
  transition: background 0.2s, color 0.2s;
}
.notify-btn:hover { background: var(--accent); color: #fff; }

#skills { padding: 6.5rem 0; background: var(--bg-elevated); border-top: 1px solid var(--border); position: relative; overflow: hidden; }
#skills::after {
  content: ''; position: absolute; top: 4rem; right: -30px;
  width: 160px; height: 160px; pointer-events: none;
  background-image: radial-gradient(circle, var(--deco-dot) 2px, transparent 2px);
  background-size: 16px 16px;
  mask-image: radial-gradient(ellipse at center, #000 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 50%, transparent 100%);
}
#skills .container { position: relative; z-index: 1; }
.skills-outer { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; margin-top: 2.5rem; }
.skills-section-title {
  font-size: 0.95rem; font-weight: 700; margin-bottom: 1.25rem;
  padding-bottom: 0.65rem; border-bottom: 1px solid var(--border);
}
.skill-group { margin-bottom: 1.35rem; }
.skill-group-name {
  font-family: var(--font-mono); font-size: 0.65rem;
  color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.55rem;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.skill-tag {
  font-family: var(--font-mono); font-size: 0.68rem;
  padding: 0.3rem 0.65rem; border-radius: var(--radius-sm);
  background: var(--bg-muted); color: var(--text-2);
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}
.skill-tag:hover { border-color: rgba(27,77,53,.25); color: var(--accent); }
.soft-grid { display: flex; flex-direction: column; gap: 0.75rem; }
.soft-card {
  background: var(--bg-muted); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1rem 1.1rem;
  display: flex; gap: 0.85rem; align-items: flex-start;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.soft-card:hover { border-color: rgba(27,77,53,.15); box-shadow: var(--shadow-sm); }
.soft-icon {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  background: var(--accent-soft); border: 1px solid rgba(27,77,53,.12);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600;
  color: var(--accent); flex-shrink: 0;
}
.soft-name { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.15rem; }
.soft-proof { font-size: 0.8rem; color: var(--text-3); line-height: 1.55; }

#thinking { padding: 6.5rem 0; position: relative; overflow: hidden; }
#thinking::before {
  content: ''; position: absolute; bottom: 2rem; right: 2rem;
  width: 64px; height: 64px; pointer-events: none; opacity: 0.55;
  background:
    linear-gradient(var(--deco-line) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, var(--deco-line) 1px, transparent 1px) 0 0 / 16px 16px;
}
#thinking .container { position: relative; z-index: 1; }
.thinking-layout {
  display: grid; grid-template-columns: 3fr 2fr; gap: 1.25rem;
  margin-top: 2.5rem; align-items: start;
}
.post-card-large, .post-card-small {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.85rem;
  display: block; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.post-card-large { grid-row: span 2; }
.post-card-large:hover, .post-card-small:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md);
  border-color: rgba(27,77,53,.12);
}
.post-cat {
  font-family: var(--font-mono); font-size: 0.62rem;
  color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.6rem;
}
.post-title { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 0.5rem; }
.post-title-sm { font-size: 0.95rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; margin-bottom: 0.35rem; }
.post-excerpt, .post-excerpt-sm { font-size: 0.875rem; color: var(--text-2); line-height: 1.75; }
.post-excerpt-sm { font-size: 0.82rem; }
.post-meta { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-3); margin-top: 1rem; }
.all-writing {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent);
  margin-top: 1.75rem; transition: gap 0.2s;
}
.all-writing:hover { gap: 0.55rem; }

#journey { padding: 6.5rem 0; background: var(--bg-muted); border-top: 1px solid var(--border); position: relative; overflow: hidden; }
#journey::before {
  content: ''; position: absolute; top: 3rem; left: 1rem;
  width: 140px; height: 140px; pointer-events: none;
  border: 1.5px solid var(--deco-ring); border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(45, 122, 87, 0.04);
}
#journey .container { position: relative; z-index: 1; }
.timeline { position: relative; padding-left: 2rem; margin-top: 2.5rem; max-width: 720px; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 8px; bottom: 0;
  width: 1px; background: var(--border);
}
.tl-item { position: relative; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.tl-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.tl-dot {
  position: absolute; left: -2rem; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--bg-elevated);
}
.tl-dot.current {
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(27,77,53,.12), 0 0 20px rgba(27,77,53,.25);
}
.tl-dot.done { background: var(--accent-bright); border-color: var(--accent-bright); }
.tl-dot.faded { background: var(--text-3); border-color: var(--text-3); }
.tl-dot.muted { background: var(--border-strong); border-color: var(--border-strong); }
.tl-dot.future { border-style: dashed; background: var(--bg); }
.tl-date { font-family: var(--font-mono); font-size: 0.68rem; color: var(--accent); margin-bottom: 0.35rem; }
.tl-role { font-size: 1rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 0.3rem; }
.tl-body { font-size: 0.875rem; color: var(--text-2); line-height: 1.8; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.6rem; }
.tl-tag {
  font-family: var(--font-mono); font-size: 0.6rem;
  padding: 0.18rem 0.5rem; border-radius: var(--radius-sm);
  background: var(--bg-elevated); color: var(--text-3); border: 1px solid var(--border);
}

#now { padding: 6.5rem 0; position: relative; overflow: hidden; }
#now::after {
  content: ''; position: absolute; top: 2.5rem; left: 1.5rem;
  width: 90px; height: 90px; pointer-events: none;
  background-image: radial-gradient(circle, var(--deco-dot) 2px, transparent 2px);
  background-size: 15px 15px;
}
#now .container { position: relative; z-index: 1; }
.now-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; margin-top: 2.5rem; }
.now-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.now-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(27,77,53,.12); }
.now-card-label {
  font-family: var(--font-mono); font-size: 0.62rem;
  color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.55rem;
}
.now-card-content { font-size: 0.875rem; color: var(--text-2); line-height: 1.82; }
.now-updated { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-3); margin-top: 1.75rem; }
.now-updated a { color: var(--accent); }

#newsletter {
  padding: 6.5rem 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(45, 122, 87, 0.06), transparent 65%),
    var(--bg-muted);
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
#newsletter::before {
  content: ''; position: absolute; top: 1.5rem; right: 6%;
  width: 100px; height: 100px; pointer-events: none;
  background-image: radial-gradient(circle, var(--deco-dot) 2px, transparent 2px);
  background-size: 15px 15px;
}
#newsletter::after {
  content: ''; position: absolute; bottom: 2rem; left: 5%;
  width: 160px; height: 160px; pointer-events: none;
  border: 1.5px dashed var(--deco-ring); border-radius: 50%;
}
#newsletter .container { position: relative; z-index: 1; }
.newsletter-inner {
  position: relative; z-index: 1;
  text-align: center; max-width: 560px; margin: 0 auto;
}
.newsletter-inner .sec-label { justify-content: center; }
.newsletter-inner .sec-title { margin-bottom: 0.75rem; }
.newsletter-desc {
  margin: 0 auto 1.75rem; text-align: center;
  max-width: 520px; font-size: 0.95rem;
}
.newsletter-form {
  display: flex; max-width: 400px; margin: 0 auto 0.75rem;
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  overflow: hidden; background: var(--bg-elevated);
}
.newsletter-form input {
  flex: 1; padding: 0.8rem 1.1rem; border: none; background: transparent;
  font-family: var(--font-mono); font-size: 0.82rem; outline: none; color: var(--text);
}
.newsletter-form input::placeholder { color: var(--text-3); }
.newsletter-form button {
  background: var(--accent); color: #fff; border: none;
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600;
  padding: 0.8rem 1.25rem; cursor: pointer;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--accent-bright); }
.newsletter-note { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-3); }

#connect { padding: 6.5rem 0 4rem; position: relative; overflow: hidden; }
#connect::before {
  content: ''; position: absolute; top: 12%; right: -50px;
  width: 240px; height: 240px; pointer-events: none;
  border: 1.5px solid var(--deco-ring); border-radius: 50%;
  box-shadow: 0 0 0 16px rgba(45, 122, 87, 0.05);
}
#connect::after {
  content: ''; position: absolute; bottom: 8%; left: -20px;
  width: 130px; height: 130px; pointer-events: none;
  background-image: radial-gradient(circle, var(--deco-dot) 2px, transparent 2px);
  background-size: 15px 15px;
  mask-image: radial-gradient(ellipse at center, #000 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 100%);
}
#connect .container { position: relative; z-index: 1; }
.connect-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.connect-headline {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.12; margin-bottom: 1rem;
}
.connect-headline em { font-family: var(--font-serif); font-style: italic; color: var(--accent); font-weight: 400; }
.connect-body { font-size: 0.9rem; color: var(--text-2); line-height: 1.85; margin-bottom: 0.5rem; }
.connect-list-label {
  font-family: var(--font-mono); font-size: 0.65rem;
  color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase;
  margin: 1.15rem 0 0.45rem;
}
.connect-list li {
  font-size: 0.875rem; color: var(--text-2); padding: 0.28rem 0;
  display: flex; align-items: flex-start; gap: 0.5rem;
}
.connect-list li::before { content: '→'; color: var(--accent); font-size: 0.75rem; margin-top: 0.1rem; }
.connect-list.no-list li::before { content: '×'; color: var(--text-3); }
.connect-paths { display: flex; flex-direction: column; gap: 0.65rem; }
.connect-path {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.connect-path:hover {
  transform: translateX(4px);
  border-color: rgba(27,77,53,.15);
  box-shadow: var(--shadow-md);
}
.connect-path-icon {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--bg-muted); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0; color: var(--accent); flex-shrink: 0;
}
.connect-path-icon::before {
  content: '';
  width: 11px; height: 11px;
  background: currentColor;
  opacity: 0.85;
  -webkit-mask-image: var(--icon-ext);
  mask-image: var(--icon-ext);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.connect-path-for {
  font-family: var(--font-mono); font-size: 0.6rem;
  color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em;
}
.connect-path-name { font-size: 0.88rem; font-weight: 600; }
.connect-path-arrow { margin-left: auto; color: var(--text-3); transition: transform 0.2s, color 0.2s; }
.connect-path:hover .connect-path-arrow { transform: translateX(3px); color: var(--accent); }

.site-footer { padding: 0 1.25rem 2rem; }
.footer-box {
  max-width: var(--container); margin: 0 auto;
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem 1.75rem;
  box-shadow: var(--shadow-lg);
}
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem; margin-bottom: 2.25rem;
}
.footer-brand-name { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.45rem; }
.footer-brand-tagline { font-size: 0.82rem; color: rgba(255,255,255,.4); line-height: 1.75; }
.footer-col-title {
  font-family: var(--font-mono); font-size: 0.62rem;
  color: rgba(255,255,255,.35); text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 0.85rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  font-size: 0.82rem; color: rgba(255,255,255,.5);
  transition: color 0.2s;
  font-variant-emoji: text;
}
.footer-links a:hover { color: #fff; }
.footer-links a[target="_blank"]:not([href^="mailto:"])::after {
  content: '';
  display: inline-block;
  width: 0.52em;
  height: 0.52em;
  margin-left: 0.32em;
  vertical-align: 0.06em;
  background: currentColor;
  opacity: 0.5;
  -webkit-mask-image: var(--icon-ext);
  mask-image: var(--icon-ext);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transition: opacity 0.2s;
}
.footer-links a[target="_blank"]:hover::after {
  opacity: 0.85;
}
.contact-row a[target="_blank"] {
  font-variant-emoji: text;
}
.naqeeb-page-content a[target="_blank"],
.entry-content a[target="_blank"] {
  font-variant-emoji: text;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.35rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem;
}
.footer-copy { font-family: var(--font-mono); font-size: 0.65rem; color: rgba(255,255,255,.25); }
.footer-intent { font-family: var(--font-serif); font-style: italic; font-size: 0.8rem; color: rgba(255,255,255,.2); }

/* =================================================================
   INNER PAGES — shared layouts (about, writing, building, hire, now, contact)
================================================================= */
.page-hero {
  position: relative; text-align: center;
  padding: 9rem 0 4.5rem; overflow: hidden;
}
.page-hero .hero-glow { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.08;
  margin-bottom: 1.25rem; max-width: 780px; margin-left: auto; margin-right: auto;
}
.page-hero h1 em {
  font-family: var(--font-serif); font-style: italic;
  font-weight: 400; color: var(--accent);
}
.page-hero .hero-sub {
  font-size: 1.05rem; color: var(--text-2); line-height: 1.82;
  max-width: 580px; margin: 0 auto;
}
.page-hero .hero-sub a {
  color: var(--accent); text-decoration: underline; text-underline-offset: 3px;
}
.page-hero .hero-trust {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-3);
  margin: 1.25rem auto 1.75rem;
}
.page-hero .hero-trust b { color: var(--accent); font-weight: 500; }
.page-timestamp {
  font-family: var(--font-mono); font-size: 0.68rem;
  color: var(--text-3); margin-bottom: 0.75rem;
}
.page-section { padding: 5.5rem 0; position: relative; }
.page-section--muted { background: var(--bg-muted); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.page-section--elevated { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header { margin-bottom: 2.75rem; }
.section-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.12;
}
.section-header p { font-size: 0.95rem; color: var(--text-2); max-width: 540px; line-height: 1.75; margin-top: 0.65rem; }
.text-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--accent-bright); }

.story-grid {
  display: grid; grid-template-columns: 1.4fr 0.85fr;
  gap: 3rem; align-items: start;
}
.story-body p {
  font-size: 1.02rem; line-height: 1.82; color: var(--text-2); margin-bottom: 1.35rem;
}
.story-body p:last-child { margin-bottom: 0; }
.identity-card {
  position: sticky; top: calc(80px + 1.5rem);
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.65rem;
  box-shadow: var(--shadow-sm);
}
.identity-card-title {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.15rem;
}
.identity-row {
  padding-bottom: 1rem; margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.identity-row:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }
.identity-label {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 0.25rem;
}
.identity-value { font-size: 0.88rem; font-weight: 600; line-height: 1.45; }
.identity-value a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.identity-sub { display: block; font-size: 0.75rem; font-weight: 400; color: var(--text-3); margin-top: 0.15rem; }
.status-row { display: inline-flex; align-items: center; gap: 0.45rem; }
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22C55E; animation: pulse 2s infinite;
}

.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.value-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.65rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative; overflow: hidden;
}
.value-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(27,77,53,.12); }
.value-card:hover::before { transform: scaleX(1); }
.value-num { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-3); margin-bottom: 0.65rem; }
.value-name { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.45rem; }
.value-desc { font-size: 0.875rem; color: var(--text-2); line-height: 1.75; }

.about-skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.about-skill-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.35rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.about-skill-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(27,77,53,.12); }
.about-skill-name { font-size: 0.92rem; font-weight: 700; margin-bottom: 0.4rem; line-height: 1.3; }
.about-skill-desc { font-size: 0.82rem; color: var(--text-2); line-height: 1.7; }

.focus-table {
  max-width: 760px; background: var(--bg-elevated);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.focus-table-row {
  display: grid; grid-template-columns: 130px 1fr; gap: 1.25rem;
  padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.focus-table-row:last-child { border-bottom: none; }
.focus-table-row:hover { background: var(--bg-muted); }
.focus-table-label {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-3); padding-top: 0.15rem;
}
.focus-table-content { font-size: 0.9rem; font-weight: 500; line-height: 1.5; }
.focus-table-content span { color: var(--text-2); font-weight: 400; }

.page-cta {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, var(--accent) 0%, #164029 100%);
  text-align: center;
}
.page-cta-inner { max-width: 580px; margin: 0 auto; }
.page-cta .sec-label { color: rgba(255,255,255,.45); justify-content: center; }
.page-cta .sec-label::before { color: rgba(255,255,255,.25); }
.page-cta h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 700; color: #fff; letter-spacing: -0.03em;
  margin-bottom: 0.75rem; line-height: 1.12;
}
.page-cta-sub { font-size: 0.95rem; color: rgba(255,255,255,.55); margin-bottom: 1.75rem; line-height: 1.7; }
.page-cta-btns { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-mono); font-size: 0.82rem; font-weight: 500;
  color: rgba(255,255,255,.85); border: 1.5px solid rgba(255,255,255,.25);
  padding: 0.8rem 1.4rem; border-radius: var(--radius-pill);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-outline-white:hover {
  border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08);
  transform: translateY(-1px); color: #fff;
}
.page-cta .btn-primary { background: #fff; color: var(--accent); box-shadow: none; }
.page-cta .btn-primary:hover { background: var(--accent-soft); color: var(--accent); }

.filter-bar { padding: 0 0 2rem; }
.filter-tabs {
  display: flex; gap: 0.35rem; flex-wrap: wrap;
  justify-content: center;
}
.filter-tab {
  font-family: var(--font-mono); font-size: 0.72rem;
  padding: 0.45rem 0.95rem; border-radius: var(--radius-pill);
  border: 1px solid var(--border); color: var(--text-2);
  background: var(--bg-elevated); transition: all 0.2s;
}
.filter-tab:hover { border-color: var(--border-strong); color: var(--text); }
.filter-tab.active {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(27,77,53,.2);
}
.featured-card {
  display: block; background: var(--bg-elevated);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem; position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.featured-card:not(.featured-card--has-media)::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px;
  background: var(--accent);
}
.featured-card--has-media {
  display: grid;
  grid-template-columns: minmax(240px, 42%) 1fr;
  padding: 0;
  align-items: stretch;
}
.featured-card--has-media::before { display: none; }
.featured-card-media {
  position: relative;
  min-height: 220px;
  background: var(--bg-muted);
}
.featured-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-card--has-media .featured-card-body {
  position: relative;
  padding: 2rem;
}
.featured-card--has-media .featured-card-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
}
.featured-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(27,77,53,.12); }
.featured-badge { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; }
.pinned-label {
  font-family: var(--font-mono); font-size: 0.6rem;
  color: var(--amber); background: var(--amber-soft);
  padding: 0.2rem 0.55rem; border-radius: var(--radius-pill);
}
.featured-card h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.25;
  margin-bottom: 0.75rem; transition: color 0.2s;
}
.featured-card:hover h2 { color: var(--accent); }
.featured-excerpt {
  font-size: 0.9rem; color: var(--text-2); line-height: 1.8; margin-bottom: 1rem;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.read-more {
  font-family: var(--font-mono); font-size: 0.76rem; color: var(--accent);
  display: inline-flex; align-items: center; gap: 0.35rem; transition: gap 0.2s;
}
.featured-card:hover .read-more { gap: 0.55rem; }
.writing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.writing-card {
  display: block; background: var(--bg-elevated);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.5rem; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.writing-card--has-media { padding: 0; }
.writing-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}
.writing-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}
.writing-card--has-media:hover .writing-card-image { transform: scale(1.03); }
.writing-card-body { padding: 0; }
.writing-card--has-media .writing-card-body { padding: 1.5rem; }
.writing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(27,77,53,.12); }
.writing-card-title { font-size: 0.95rem; font-weight: 700; line-height: 1.35; margin: 0.65rem 0 0.45rem; letter-spacing: -0.015em; }
.writing-card-excerpt {
  font-size: 0.82rem; color: var(--text-2); line-height: 1.7;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  min-height: calc(0.82rem * 1.7 * 3);
}
.cat-tag {
  font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.2rem 0.55rem; border-radius: var(--radius-pill); width: fit-content;
}
.cat-tag.products { background: var(--accent-soft); color: var(--accent); }
.cat-tag.engineering { background: var(--blue-soft); color: var(--blue); }
.cat-tag.process { background: var(--amber-soft); color: var(--amber); }
.cat-tag.lessons { background: var(--bg-muted); color: var(--text-2); border: 1px solid var(--border); }

.philosophy-strip { padding: 1.5rem 0 0; }
.philosophy-inner { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.phil-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-2);
  padding: 0.55rem 1rem; background: var(--bg-elevated);
  border: 1px solid var(--border); border-radius: var(--radius-pill);
}
.phil-number { color: var(--accent); font-weight: 600; }

/* BUILDING PAGE — scoped layout rhythm */
.building-page .page-hero { padding-bottom: 0; }
.building-page .philosophy-strip {
  padding: 2.25rem 0;
  background: linear-gradient(135deg, var(--accent) 0%, #164029 100%);
  position: relative; overflow: hidden;
}
.building-page .philosophy-strip::after {
  content: ''; position: absolute; top: -30px; right: -20px;
  width: 180px; height: 180px; pointer-events: none;
  border: 1.5px solid rgba(255,255,255,0.12); border-radius: 50%;
}
.building-page .philosophy-inner { position: relative; z-index: 1; }
.building-page .phil-pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff; font-size: 0.82rem; font-weight: 500;
  padding: 0.7rem 1.25rem; line-height: 1.45;
  transition: background 0.2s;
}
.building-page .phil-pill:hover { background: rgba(255,255,255,0.16); }
.building-page .phil-number {
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.1);
  padding: 0.15rem 0.5rem; border-radius: var(--radius-pill);
  font-weight: 500;
}

#building-products {
  padding: 5.5rem 0; background: var(--bg-muted);
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
#building-products::before {
  content: ''; position: absolute; bottom: 2rem; right: 1.5rem;
  width: 120px; height: 120px; pointer-events: none;
  border: 1.5px dashed var(--deco-ring); border-radius: 50%;
}
#building-products .container { position: relative; z-index: 1; }
#building-products .section-header { margin-bottom: 2.5rem; }
#building-products .section-header h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700; letter-spacing: -0.03em;
}

.product-showcase {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.product-showcase:last-child { margin-bottom: 0; }
.product-showcase:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.product-showcase::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
}
.product-showcase--wptools::before {
  background: linear-gradient(90deg, var(--blue), #3d6a9e);
}
.product-showcase-index {
  font-family: var(--font-mono); font-size: 0.62rem;
  color: var(--text-3); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 0.65rem;
}
.product-showcase--email .product-showcase-index { color: var(--accent); }
.product-showcase--wptools .product-showcase-index { color: var(--blue); }
.product-showcase .product-name {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0;
}
.product-showcase .product-problem {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent-bright);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.1rem 1.25rem; margin: 1.35rem 0 1.5rem;
}
.product-showcase--wptools .product-problem {
  background: var(--blue-soft);
  border-left-color: var(--blue);
}
.product-showcase .product-problem p {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.02rem; line-height: 1.7; color: var(--text-2); margin: 0;
}
.product-showcase-top {
  display: flex; justify-content: space-between; gap: 1.5rem;
  align-items: flex-start; flex-wrap: wrap;
}
.building-page .status-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.03em;
}
.building-page .status-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--accent-bright); border-radius: 50%;
}
.product-showcase--wptools .status-badge::before { background: var(--blue); }
.building-page .product-also {
  display: flex; align-items: flex-start; gap: 0.65rem;
  padding: 0.85rem 1.1rem; margin-bottom: 1.35rem;
  background: var(--amber-soft);
  border: 1px solid rgba(184,92,0,.18);
  border-radius: var(--radius-md);
}
.building-page .also-label { color: var(--amber); margin-right: 0; flex-shrink: 0; margin-top: 0.1rem; }
.building-page .also-text { font-size: 0.875rem; line-height: 1.65; }
.building-page .stat-pill {
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid rgba(27,77,53,.12); font-weight: 500;
}
.product-showcase--wptools .stat-pill {
  background: var(--blue-soft); color: var(--blue);
  border-color: rgba(26,58,107,.12);
}
.building-page .tool-card {
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.building-page .tool-card:hover {
  background: var(--accent-soft);
  border-color: rgba(27,77,53,.15);
  transform: translateY(-1px);
}
.building-page .product-action-plan {
  border: 1px solid var(--border);
  background: var(--bg-muted);
}

.building-next {
  padding: 4rem 0; background: var(--bg);
}
.building-next-inner {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 1.75rem; align-items: center;
  padding: 1.75rem 2rem;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-xl);
  background: transparent;
}
.building-next-mark {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: rgba(27,77,53,.18); line-height: 1;
}
.building-next-body { min-width: 0; }
.building-next-label {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.45rem;
}
.building-next-label::before { content: '/'; color: var(--text-3); margin-right: 0.35rem; }
.building-next-text {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.1rem; color: var(--text-2); line-height: 1.65;
}
.building-next-action { flex-shrink: 0; }

.building-page #newsletter.building-newsletter {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--accent) 0%, #164029 100%);
  border-top: none;
}
.building-page #newsletter.building-newsletter::before,
.building-page #newsletter.building-newsletter::after { display: none; }
.building-page .building-newsletter .newsletter-inner {
  text-align: left; max-width: 560px; margin: 0;
}
.building-page .building-newsletter .sec-label {
  justify-content: flex-start;
  color: rgba(255,255,255,.45);
}
.building-page .building-newsletter .sec-label::before { color: rgba(255,255,255,.3); }
.building-page .building-newsletter .sec-title {
  color: #fff; text-align: left; margin-bottom: 0.65rem;
}
.building-page .building-newsletter .newsletter-desc {
  text-align: left; color: rgba(255,255,255,.7); margin: 0 0 1.5rem;
}
.building-page .building-newsletter .newsletter-form {
  margin: 0; max-width: 420px;
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
}
.building-page .building-newsletter .newsletter-form input {
  color: #fff;
}
.building-page .building-newsletter .newsletter-form input::placeholder {
  color: rgba(255,255,255,.4);
}
.building-page .building-newsletter .newsletter-form button {
  background: #fff; color: var(--accent);
}
.building-page .building-newsletter .newsletter-form button:hover {
  background: var(--accent-soft);
}
.building-page .building-newsletter .newsletter-note {
  text-align: left; color: rgba(255,255,255,.35); margin-top: 0.75rem;
}

.building-collab {
  padding: 4.5rem 0 5.5rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}
.building-collab-inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 2rem; align-items: center;
}
.building-collab h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700; letter-spacing: -0.03em;
  margin-bottom: 0.5rem; line-height: 1.2;
}
.building-collab p {
  color: var(--text-2); font-size: 0.92rem; line-height: 1.75;
  max-width: 520px;
}

.product-detail {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.product-detail-top {
  display: flex; justify-content: space-between; gap: 1.5rem;
  align-items: flex-start; margin-bottom: 1.25rem; flex-wrap: wrap;
}
.status-badge {
  font-family: var(--font-mono); font-size: 0.62rem;
  padding: 0.35rem 0.75rem; border-radius: var(--radius-pill);
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid rgba(27,77,53,.12); white-space: nowrap;
}
.product-section-title {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 0.75rem;
}
.check-list { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.25rem; }
.check-list li {
  font-size: 0.875rem; color: var(--text-2); line-height: 1.65;
  display: flex; gap: 0.5rem; align-items: flex-start;
}
.check-list .arrow { color: var(--accent); flex-shrink: 0; font-family: var(--font-mono); font-size: 0.75rem; }
.product-action-plan {
  background: var(--bg-muted); border-radius: var(--radius-md);
  padding: 1rem 1.15rem; margin-bottom: 1.25rem;
  font-size: 0.875rem; color: var(--text-2); line-height: 1.75;
}
.product-also { margin-bottom: 1.25rem; font-size: 0.875rem; color: var(--text-2); }
.also-label {
  font-family: var(--font-mono); font-size: 0.6rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent); margin-right: 0.5rem;
}
.stats-strip { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.25rem; }
.stat-pill {
  font-family: var(--font-mono); font-size: 0.62rem;
  padding: 0.3rem 0.65rem; border-radius: var(--radius-pill);
  background: var(--bg-muted); color: var(--text-2); border: 1px solid var(--border);
}
.product-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.btn-text {
  font-family: var(--font-mono); font-size: 0.76rem; color: var(--accent);
  transition: gap 0.2s; display: inline-flex; align-items: center; gap: 0.25rem;
}
.btn-text:hover { gap: 0.45rem; }
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; margin-bottom: 1.25rem; }
.tool-card {
  background: var(--bg-muted); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 0.85rem 1rem;
}
.tool-number { font-family: var(--font-mono); font-size: 0.58rem; color: var(--accent); margin-bottom: 0.25rem; }
.tool-name { font-size: 0.82rem; font-weight: 700; margin-bottom: 0.2rem; }
.tool-desc { font-size: 0.75rem; color: var(--text-3); line-height: 1.55; }
.tools-grid .tool-card.span-2 { grid-column: span 2; }

.whats-next-card {
  background: var(--bg-elevated); border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center; max-width: 640px; margin: 0 auto;
}
.collab-band {
  padding: 5rem 0; text-align: center;
  background: var(--bg-muted); border-top: 1px solid var(--border);
}
.collab-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700;
  letter-spacing: -0.03em; margin-bottom: 0.65rem;
}
.collab-band p { color: var(--text-2); max-width: 480px; margin: 0 auto 1.5rem; line-height: 1.75; }

.qual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.qual-card {
  border-radius: var(--radius-lg); padding: 1.65rem;
  border: 1px solid var(--border); background: var(--bg-elevated);
}
.qual-card.yes { border-color: rgba(27,77,53,.15); background: var(--accent-soft); }
.qual-card-header { font-size: 0.92rem; font-weight: 700; margin-bottom: 1rem; }
.qual-card.yes .qual-card-header { color: var(--accent); }
.qual-list li {
  display: flex; gap: 0.65rem; font-size: 0.875rem; color: var(--text-2);
  line-height: 1.65; margin-bottom: 0.65rem;
}
.qual-list li:last-child { margin-bottom: 0; }
.qual-icon { font-family: var(--font-mono); flex-shrink: 0; }
.qual-card.yes .qual-icon { color: var(--accent); }
.qual-card.no .qual-icon { color: var(--text-3); }

.services-grid { display: flex; flex-direction: column; gap: 1rem; }
.service-block {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.65rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service-block:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(27,77,53,.12); }
.service-problem {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.05rem; color: var(--text); margin-bottom: 0.65rem; line-height: 1.45;
}
.service-solution { font-size: 0.875rem; color: var(--text-2); line-height: 1.8; margin-bottom: 0.85rem; }
.service-tag {
  font-family: var(--font-mono); font-size: 0.62rem;
  padding: 0.25rem 0.65rem; border-radius: var(--radius-pill);
  background: var(--accent-soft); color: var(--accent);
}

.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  position: relative; margin-top: 0.5rem;
}
.process-step {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.35rem;
}
.process-num {
  font-family: var(--font-mono); font-size: 0.68rem;
  color: var(--accent); margin-bottom: 0.65rem;
}
.process-step-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.35rem; }
.process-step-desc { font-size: 0.82rem; color: var(--text-2); line-height: 1.65; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.work-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.work-type {
  font-family: var(--font-mono); font-size: 0.6rem;
  color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em;
  display: block; margin-bottom: 0.65rem;
}
.work-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.45rem; line-height: 1.3; }
.work-problem, .work-outcome { font-size: 0.82rem; color: var(--text-2); line-height: 1.65; margin-bottom: 0.45rem; }
.work-link {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent);
  display: inline-flex; margin-top: 0.65rem; gap: 0.25rem; transition: gap 0.2s;
}
.work-link:hover { gap: 0.45rem; }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.testi-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
}
.testi-stars { color: var(--amber); font-size: 0.85rem; margin-bottom: 0.75rem; letter-spacing: 0.05em; }
.testi-quote { font-size: 0.875rem; color: var(--text-2); line-height: 1.75; margin-bottom: 1rem; font-style: italic; }
.testi-name { font-size: 0.85rem; font-weight: 700; }
.testi-context { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-3); margin-top: 0.15rem; }

.inquiry-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.inquiry-aside h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 0.65rem; }
.inquiry-aside p { font-size: 0.9rem; color: var(--text-2); line-height: 1.75; margin-bottom: 1.25rem; }
.inquiry-direct {
  background: var(--bg-muted); border-radius: var(--radius-md);
  padding: 1rem 1.15rem; border: 1px solid var(--border);
}
.inquiry-direct-item { font-size: 0.85rem; color: var(--text-2); margin-bottom: 0.45rem; }
.inquiry-direct-item:last-child { margin-bottom: 0; }
.inquiry-direct-item a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.inquiry-form-wrap {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 1rem; }
.form-label {
  display: block; font-family: var(--font-mono); font-size: 0.68rem;
  color: var(--text-2); margin-bottom: 0.35rem;
}
.form-label span { color: var(--accent); }
.form-control {
  width: 100%; padding: 0.7rem 0.85rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-muted); font-family: var(--font-display); font-size: 0.88rem;
  color: var(--text); outline: none; transition: border-color 0.2s;
}
.form-control:focus { border-color: var(--accent); background: var(--bg-elevated); }
.form-control::placeholder { color: var(--text-3); }
textarea.form-control { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-submit {
  width: 100%; margin-top: 0.5rem;
  font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600;
  padding: 0.85rem 1.25rem; border-radius: var(--radius-pill);
  background: var(--accent); color: #fff; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-submit:hover { background: var(--accent-bright); transform: translateY(-1px); }
.form-success {
  display: none; text-align: center; padding: 2rem 1rem;
  font-size: 1.1rem; font-weight: 700; color: var(--accent);
}

.faq-list { max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 1.15rem 0; cursor: pointer;
  font-size: 0.92rem; font-weight: 600;
}
.faq-icon { font-family: var(--font-mono); color: var(--text-3); flex-shrink: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a-inner {
  padding-bottom: 1.15rem; font-size: 0.875rem;
  color: var(--text-2); line-height: 1.75;
}
.faq-a-inner a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.now-focus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.now-focus-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  position: relative; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.now-focus-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.now-focus-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.now-focus-card:hover::after { transform: scaleX(1); }
.now-focus-label {
  font-family: var(--font-mono); font-size: 0.62rem;
  color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.45rem;
}
.now-focus-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.45rem; letter-spacing: -0.015em; }
.now-focus-card p { font-size: 0.85rem; color: var(--text-2); line-height: 1.75; }

.completions-list { margin-top: 1.75rem; max-width: 720px; }
.completion-item {
  display: flex; gap: 1rem; align-items: stretch;
  margin-bottom: 0.65rem;
}
.completion-bar {
  width: 3px; background: var(--accent); border-radius: 2px; flex-shrink: 0;
}
.completion-content {
  flex: 1; display: flex; gap: 0.85rem; align-items: flex-start;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 0.85rem 1rem;
}
.completion-check {
  font-family: var(--font-mono); font-size: 0.58rem;
  color: var(--accent); background: var(--accent-soft);
  padding: 0.2rem 0.45rem; border-radius: var(--radius-sm); flex-shrink: 0;
}
.completion-text { font-size: 0.875rem; color: var(--text-2); line-height: 1.6; }

.said-no-inner {
  max-width: 680px; margin: 0 auto; text-align: center;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
}
.said-no-label {
  font-family: var(--font-mono); font-size: 0.68rem;
  color: var(--text-3); margin-bottom: 0.85rem;
}
.said-no-inner blockquote {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.05rem; color: var(--text-2); line-height: 1.65;
}

.archive-list { max-width: 720px; margin-top: 1.5rem; }
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 0.5rem; overflow: hidden; background: var(--bg-elevated); }
.accordion-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.15rem; text-align: left;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--text);
}
.acc-month { font-weight: 500; }
.acc-icon { color: var(--text-3); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.accordion-body.open { max-height: 300px; }
.accordion-body-inner { padding: 0 1.15rem 1.15rem; font-size: 0.875rem; color: var(--text-2); line-height: 1.75; }

.contact-lanes { display: flex; flex-direction: column; gap: 1rem; padding: 2rem 0 3rem; }
.lane-card {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.lane-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.lane-card.lane-1 { border-top: 3px solid var(--accent); }
.lane-card.lane-2 { border-top: 3px solid var(--amber); }
.lane-card.lane-3 { border-top: 3px solid var(--blue); }
.lane-number {
  font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-3);
  display: block; margin-bottom: 0.65rem;
}
.lane-icon-svg {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--bg-muted); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.lane-tag {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.2rem 0.55rem; border-radius: var(--radius-pill);
  width: fit-content; margin-bottom: 0.65rem;
}
.lane-1 .lane-tag { background: var(--accent-soft); color: var(--accent); }
.lane-2 .lane-tag { background: var(--amber-soft); color: var(--amber); }
.lane-3 .lane-tag { background: var(--blue-soft); color: var(--blue); }
.lane-headline { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.45rem; }
.lane-body { font-size: 0.875rem; color: var(--text-2); line-height: 1.75; margin-bottom: 1rem; }
.lane-actions { display: flex; gap: 0.65rem; flex-wrap: wrap; }
.btn-amber {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  padding: 0.65rem 1.15rem; border-radius: var(--radius-pill);
  background: var(--amber); color: #fff;
  transition: transform 0.15s, background 0.2s;
}
.btn-amber:hover { background: #9a4d00; transform: translateY(-1px); }
.btn-blue {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  padding: 0.65rem 1.15rem; border-radius: var(--radius-pill);
  background: var(--blue); color: #fff;
}
.contact-rows { display: flex; flex-direction: column; gap: 0.45rem; }
.contact-row { display: flex; gap: 1rem; font-size: 0.85rem; flex-wrap: wrap; }
.contact-row-label {
  font-family: var(--font-mono); font-size: 0.62rem;
  color: var(--text-3); min-width: 70px; text-transform: uppercase;
}
.contact-row a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.response-band {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--bg-muted); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem 1.5rem;
  max-width: 720px; margin: 0 auto 2.5rem;
}
.response-icon { flex-shrink: 0; opacity: 0.6; }
.response-line { font-size: 0.875rem; color: var(--text-2); line-height: 1.65; margin-bottom: 0.35rem; }
.response-line:last-child { margin-bottom: 0; }
.response-line strong { color: var(--text); }

.open-to-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 720px; }
.open-to-col {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.35rem;
}
.open-to-col-label {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.col-yes .open-to-col-label { color: var(--accent); }
.col-no .open-to-col-label { color: var(--text-3); }
.open-item {
  display: flex; gap: 0.55rem; font-size: 0.85rem; color: var(--text-2);
  line-height: 1.55; margin-bottom: 0.55rem;
}
.open-item:last-child { margin-bottom: 0; }
.item-symbol { font-family: var(--font-mono); flex-shrink: 0; }
.col-yes .item-symbol { color: var(--accent); }
.col-no .item-symbol { color: var(--text-3); }

@media (max-width: 900px) {
  .nav-links, .btn-nav-cta { display: none; }
  .hamburger { display: flex; }
  .beliefs-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .beliefs-left { position: static; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .routing-grid { grid-template-columns: 1fr; }
  .building-grid { grid-template-columns: 1fr; }
  .product-card-next { grid-column: span 1; }
  .skills-outer { grid-template-columns: 1fr; gap: 2.5rem; }
  .thinking-layout { grid-template-columns: 1fr; }
  .post-card-large { grid-row: span 1; }
  .now-grid { grid-template-columns: 1fr; }
  .connect-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  #beliefs, #building, #skills, #thinking, #journey, #now, #connect, #routing { padding: 4rem 0; }
  .page-section { padding: 4rem 0; }
  .story-grid { grid-template-columns: 1fr; }
  .identity-card { position: static; }
  .values-grid, .about-skills-grid, .writing-grid, .work-grid, .testi-grid,
  .qual-grid, .process-steps, .now-focus-grid, .open-to-grid, .tools-grid { grid-template-columns: 1fr; }
  .tools-grid .tool-card.span-2 { grid-column: span 1; }
  .inquiry-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .lane-card { grid-template-columns: 1fr; }
  .focus-table-row { grid-template-columns: 1fr; gap: 0.35rem; }
  .building-next-inner { grid-template-columns: 1fr; text-align: left; }
  .building-next-mark { font-size: 2rem; }
  .building-next-action { justify-self: start; }
  .building-collab-inner { grid-template-columns: 1fr; }
  .product-showcase { padding: 1.65rem 1.35rem; }
}
@media (max-width: 540px) {
  .site-header { padding: 0.75rem 1rem 0; }
  .hero-actions { flex-direction: column; align-items: center; }
  .newsletter-form { flex-direction: column; border-radius: var(--radius-md); max-width: 100%; }
  .newsletter-form button { border-radius: 0 0 var(--radius-md) var(--radius-md); }
  .hero-deco-ring { width: 140px; height: 140px; bottom: 14%; left: -2%; }
  .hero-deco-dots { width: 90px; height: 90px; top: 12%; right: 2%; }
  .hero-deco-dots--bl { width: 70px; height: 70px; bottom: 12%; left: 2%; }
  .hero-deco-lines, .hero-deco-plus { opacity: 0.35; }
  #beliefs::before, #beliefs::after,
  #journey::before, #connect::before, #connect::after,
  #newsletter::after, #building::after { transform: scale(0.75); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-box { padding: 2rem 1.5rem 1.5rem; border-radius: var(--radius-lg); }
  .page-cta-btns { flex-direction: column; align-items: center; }
}

/* =================================================================
   WRITING BLOG + SINGLE POST (WordPress dynamic templates)
================================================================= */
body.writing-page .nav-links a[href*="writing"] {
  color: var(--text);
  background: var(--bg-muted);
}

a.filter-tab {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.writing-empty {
  text-align: center;
  color: var(--text-2);
  font-size: 0.95rem;
  padding: 3rem 1rem;
  max-width: 520px;
  margin: 0 auto;
}

.writing-pagination {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}
.writing-pagination .nav-links {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.writing-pagination .page-numbers,
.writing-pagination a.page-numbers {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  min-width: 2.2rem;
  text-align: center;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--text-2);
  background: var(--bg-elevated);
  text-decoration: none;
  transition: all 0.2s;
}
.writing-pagination a.page-numbers:hover {
  border-color: var(--border-strong);
  color: var(--text);
}
.writing-pagination .page-numbers.current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Single post reading layout */
.single-writing .post-hero {
  position: relative;
  text-align: center;
  padding: 8rem 0 3.5rem;
  overflow: hidden;
}
.single-writing .post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-3);
  margin-bottom: 1.25rem;
  transition: color 0.2s;
}
.single-writing .post-back:hover { color: var(--accent); }
.single-writing .post-hero-meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.single-writing .post-hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 820px;
  margin: 0 auto 1rem;
}
.single-writing .post-hero-deck {
  font-size: 1.08rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto 1rem;
}
.single-writing .post-hero-byline {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-3);
}

.post-featured-media { padding: 0 0 2.5rem; }
.post-featured-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--bg-muted);
}
.post-featured-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.post-featured-caption {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-3);
  text-align: center;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.post-body-wrap { padding: 0 0 4rem; }
.single-writing .post-body {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}
.single-writing .post-body > *:first-child { margin-top: 0; }
.single-writing .post-body > *:last-child { margin-bottom: 0; }
.single-writing .post-body h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 2.5rem 0 1rem;
}
.single-writing .post-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2rem 0 0.75rem;
}
.single-writing .post-body p { margin: 0 0 1.35rem; }
.single-writing .post-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.single-writing .post-body a:hover { color: var(--accent-bright); }
.single-writing .post-body ul,
.single-writing .post-body ol {
  margin: 0 0 1.35rem 1.25rem;
  padding: 0;
}
.single-writing .post-body li { margin-bottom: 0.5rem; }
.single-writing .post-body blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--text-2);
}
.single-writing .post-body blockquote p:last-child { margin-bottom: 0; }
.single-writing .post-body pre,
.single-writing .post-body code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.single-writing .post-body pre {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  line-height: 1.6;
}
.single-writing .post-body :not(pre) > code {
  background: var(--bg-muted);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
}
.single-writing .post-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}
.single-writing .post-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

.post-article-footer { padding: 0 0 3rem; }
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}
.post-tags-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 0.25rem;
}
.post-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--text-2);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.post-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
}
.post-nav-spacer { display: block; }
.post-nav-card {
  display: block;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.post-nav-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(27,77,53,.12);
}
.post-nav-next { text-align: right; }
.post-nav-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}
.post-nav-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -0.015em;
}
.post-nav-card:hover .post-nav-title { color: var(--accent); }

.post-related .section-header { text-align: center; }
.post-related .sec-label { justify-content: center; }

@media (max-width: 768px) {
  .single-writing .post-hero { padding: 7rem 0 2.5rem; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-next { text-align: left; }
  .featured-card--has-media {
    grid-template-columns: 1fr;
  }
  .featured-card-media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}
