/*
Theme Name: Hot Hand Media
Theme URI: https://hothandmedia.com
Author: Cheri Stockton / Hot Hand Media
Author URI: https://hothandmedia.com
Description: Operator's Console aesthetic. A custom WordPress theme for Hot Hand Media built around the N.E.R.D. framework and the brand positioning "A prompt is not a system." Terminal-inspired UI, mono typography as a design element, sharp copper accents on a teal and slate field. v1.1 adds full conversion architecture: authority strip, pain agitation, brand quote band, testimonials, principles manifesto, and discovery-call final CTA.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hhm
Tags: custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ===========================================================
   1. RESET + ROOT TOKENS
=========================================================== */
:root {
  --teal: #147D76;
  --deep-teal: #0A4D48;
  --copper: #B8702A;
  --slate: #1E262E;
  --slate-2: #0F1418;
  --mint: #F0F7F5;
  --white: #FFFFFF;
  --line: rgba(20, 125, 118, 0.18);
  --line-dark: rgba(240, 247, 245, 0.10);

  --font-display: 'Exo 2', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Roboto', Helvetica, Arial, sans-serif;
  --font-mono: 'Roboto Mono', 'SF Mono', Consolas, 'Courier New', monospace;

  --maxw: 1400px;
  --pad-x: 40px;
  --pad-section: 140px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--mint);
  color: var(--slate);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--deep-teal); }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

.mono { font-family: var(--font-mono); }
.display { font-family: var(--font-display); font-weight: 900; letter-spacing: -0.02em; }

/* ===========================================================
   2. GRAIN OVERLAY UTILITY
=========================================================== */
.grain { position: relative; }
.grain::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/></svg>");
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

/* ===========================================================
   3. NAVIGATION
=========================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 40px;
  background: rgba(15, 20, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 12px; color: var(--mint); text-decoration: none; }
.nav-brand:hover { color: var(--mint); }
.nav-mark { width: 36px; height: 36px; display: grid; place-items: center; }
.nav-mark svg { width: 100%; height: 100%; }
.nav-wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 14px;
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0.7;
}
.nav-links a:hover { opacity: 1; color: var(--teal); }
.nav-links li.current-menu-item a { opacity: 1; color: var(--teal); }
.nav-cta {
  background: var(--teal);
  color: var(--mint);
  padding: 10px 18px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav-cta:hover { background: var(--deep-teal); color: var(--mint); }
.nav-toggle { display: none; background: transparent; border: 0; color: var(--mint); padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--mint); margin: 5px 0;
  transition: transform 0.3s;
}

/* ===========================================================
   4. BUTTONS
=========================================================== */
.btn {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 18px 28px;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--teal); color: var(--mint); }
.btn-primary:hover { background: var(--mint); color: var(--slate); }
.btn-ghost { background: transparent; color: var(--mint); border: 1px solid var(--line-dark); }
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn-copper { background: var(--copper); color: var(--slate); }
.btn-copper:hover { background: var(--mint); color: var(--slate); }
.btn-slate-on-light { background: var(--slate); color: var(--mint); }
.btn-slate-on-light:hover { background: var(--teal); color: var(--mint); }
.btn-ghost-light { background: transparent; color: var(--slate); border: 1px solid var(--slate); }
.btn-ghost-light:hover { background: var(--slate); color: var(--mint); }
.btn .arrow { display: inline-block; transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ===========================================================
   5. HERO
=========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--slate);
  color: var(--mint);
  padding: 140px 40px 80px;
  overflow: hidden;
}
.hero-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: fadeIn 0.8s 0.2s forwards;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--teal); }
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.7s forwards;
}
.hero-title .word:nth-child(1) { animation-delay: 0.3s; }
.hero-title .word:nth-child(2) { animation-delay: 0.4s; }
.hero-title .word:nth-child(3) { animation-delay: 0.5s; }
.hero-title .word:nth-child(4) { animation-delay: 0.6s; }
.hero-title .word:nth-child(5) { animation-delay: 0.7s; }
.hero-title .accent { position: relative; color: var(--mint); }
.hero-title .accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.08em;
  width: 100%;
  height: 0.12em;
  background: var(--copper);
  z-index: -1;
  opacity: 0.9;
}
.hero-sub {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(240, 247, 245, 0.7);
  max-width: 540px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeIn 0.8s 0.9s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 0.8s 1.1s forwards;
}
.hero-watermark {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 700px;
  height: 700px;
  opacity: 0.04;
  z-index: 0;
  pointer-events: none;
}

/* ===========================================================
   6. TERMINAL PANEL
=========================================================== */
.terminal {
  background: var(--slate-2);
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1s 0.6s forwards;
}
.terminal-bar {
  background: rgba(255,255,255,0.04);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line-dark);
}
.term-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-dark); }
.term-dot.teal { background: var(--teal); }
.term-label {
  margin-left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(240, 247, 245, 0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.terminal-body {
  padding: 28px 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.9;
  color: var(--mint);
  min-height: 280px;
}
.term-line { display: block; opacity: 0; }
.term-line.show { opacity: 1; transition: opacity 0.3s; }
.term-prompt { color: var(--teal); }
.term-out { color: rgba(240, 247, 245, 0.6); }
.term-ok { color: var(--copper); }
.cursor {
  display: inline-block;
  width: 9px;
  height: 18px;
  background: var(--teal);
  vertical-align: text-bottom;
  animation: blink 1s infinite;
}

/* ===========================================================
   7. MARQUEE
=========================================================== */
.marquee {
  background: var(--mint);
  color: var(--slate);
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.marquee-track { display: inline-flex; animation: scroll 38s linear infinite; gap: 60px; align-items: center; }
.marquee-item {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 60px;
}
.marquee-item .dot { width: 12px; height: 12px; background: var(--copper); border-radius: 50%; }
.marquee-item .muted { color: var(--teal); }

/* ===========================================================
   8. SECTION HEADS / GENERIC LAYOUT
=========================================================== */
.section-head {
  max-width: var(--maxw);
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: end;
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-tag::before { content: ''; width: 24px; height: 1px; background: var(--teal); }
.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--slate);
}
.section-intro { font-size: 18px; line-height: 1.6; color: var(--slate); max-width: 540px; }
.section-intro strong { font-weight: 500; color: var(--deep-teal); }

/* ===========================================================
   9. N.E.R.D. FRAMEWORK GRID
=========================================================== */
.nerd { padding: var(--pad-section) var(--pad-x); background: var(--mint); position: relative; }
.nerd-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.nerd-card {
  background: var(--slate);
  color: var(--mint);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
  position: relative;
}
.nerd-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(20, 125, 118, 0.25); }
.nerd-card-bar {
  background: rgba(255,255,255,0.04);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(240, 247, 245, 0.4);
}
.nerd-card-bar .term-dot { width: 8px; height: 8px; }
.nerd-card-bar .label { margin-left: 8px; letter-spacing: 0.08em; text-transform: uppercase; }
.nerd-card-body { padding: 36px 28px 40px; }
.nerd-letter {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 96px;
  line-height: 1;
  color: var(--teal);
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}
.nerd-word {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}
.nerd-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: rgba(240, 247, 245, 0.75);
}

/* ===========================================================
   10. SERVICES LIST
=========================================================== */
.services { padding: var(--pad-section) var(--pad-x); background: var(--white); position: relative; }
.services-list { max-width: var(--maxw); margin: 0 auto; }
.service-row {
  display: grid;
  grid-template-columns: 100px 1.3fr 1.5fr 80px;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: padding 0.3s;
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row:hover { padding-left: 24px; }
.service-row:hover .service-num { color: var(--copper); }
.service-row:hover .service-arrow { transform: translateX(8px); }
.service-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--teal);
  letter-spacing: 0.1em;
  transition: color 0.3s;
}
.service-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.1;
  color: var(--slate);
  letter-spacing: -0.01em;
}
.service-desc { font-size: 16px; line-height: 1.6; color: var(--slate); }
.service-tools {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 12px;
  opacity: 0.7;
}
.service-arrow {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--teal);
  text-align: right;
  transition: transform 0.3s;
}

/* ===========================================================
   11. WORKSHOP CALLOUT (copper accent section)
=========================================================== */
.workshop { background: var(--slate); color: var(--mint); padding: 120px var(--pad-x); position: relative; overflow: hidden; }
.workshop-stripe { position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--copper); }
.workshop-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.workshop-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--copper);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.workshop-tag::before { content: ''; width: 24px; height: 1px; background: var(--copper); }
.workshop-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.workshop-title .accent { color: var(--copper); }
.workshop-desc { font-size: 18px; line-height: 1.7; color: rgba(240, 247, 245, 0.75); margin-bottom: 36px; max-width: 480px; }
.workshop-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 36px;
}
.stat-num { font-family: var(--font-display); font-weight: 900; font-size: 48px; color: var(--copper); line-height: 1; letter-spacing: -0.02em; }
.stat-label { font-family: var(--font-mono); font-size: 11px; color: rgba(240, 247, 245, 0.5); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 8px; }
.workshop-card { background: var(--slate-2); border: 1px solid var(--line-dark); padding: 40px; border-radius: 4px; position: relative; }
.workshop-card-tag {
  position: absolute;
  top: -10px;
  left: 32px;
  background: var(--copper);
  color: var(--slate);
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.workshop-list { margin-top: 12px; }
.workshop-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(240, 247, 245, 0.85);
  display: flex;
  align-items: center;
  gap: 16px;
}
.workshop-list li:last-child { border-bottom: none; }
.workshop-list .check { color: var(--teal); font-family: var(--font-mono); font-size: 12px; }

/* ===========================================================
   12. ABOUT
=========================================================== */
.about { padding: var(--pad-section) var(--pad-x); background: var(--mint); position: relative; }
.about-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.about-portrait {
  background: var(--slate);
  aspect-ratio: 3/4;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-portrait::after {
  content: 'PORTRAIT';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(240, 247, 245, 0.25);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
}
.about-portrait.has-img::after { display: none; }
.about-portrait-frame { position: absolute; inset: 16px; border: 1px solid var(--line-dark); pointer-events: none; }
.about-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--slate);
  margin-bottom: 16px;
}
.about-role { font-family: var(--font-mono); font-size: 14px; color: var(--teal); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 36px; }
.about-body p { font-size: 17px; line-height: 1.7; color: var(--slate); margin-bottom: 20px; max-width: 600px; }
.about-body strong { color: var(--deep-teal); font-weight: 500; }
.stack { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.stack-label { font-family: var(--font-mono); font-size: 11px; color: var(--teal); text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 16px; }
.stack-items { display: flex; flex-wrap: wrap; gap: 10px; }
.stack-pill {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  color: var(--deep-teal);
  background: var(--white);
  border-radius: 2px;
}

/* ===========================================================
   13. CTA STRIP
=========================================================== */
.cta-strip { padding: 100px var(--pad-x); background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.cta-strip-eyebrow { font-family: var(--font-mono); font-size: 12px; color: var(--teal); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 24px; }
.cta-strip-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--slate);
  max-width: 900px;
  margin: 0 auto 36px;
}
.cta-strip-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===========================================================
   14. FOOTER
=========================================================== */
.footer { background: var(--slate-2); color: var(--mint); padding: 80px var(--pad-x) 40px; position: relative; }
.footer-prompt {
  max-width: var(--maxw);
  margin: 0 auto 60px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: rgba(240, 247, 245, 0.7);
}
.footer-prompt .term-prompt { color: var(--teal); }
.footer-prompt .term-cmd { color: var(--mint); }
.footer-prompt .term-out { color: var(--copper); }
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--teal); margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(240, 247, 245, 0.7); font-size: 14px; }
.footer-col a:hover { color: var(--mint); }
.footer-brand { font-family: var(--font-display); font-weight: 900; font-size: 28px; margin-bottom: 16px; letter-spacing: -0.01em; }
.footer-tag { font-family: var(--font-mono); font-size: 13px; color: rgba(240, 247, 245, 0.5); max-width: 320px; line-height: 1.6; }
.footer-bottom { max-width: var(--maxw); margin: 30px auto 0; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; color: rgba(240, 247, 245, 0.4); letter-spacing: 0.06em; }

/* ===========================================================
   15. INNER PAGES — HERO LITE + CONTENT
=========================================================== */
.page-hero { background: var(--slate); color: var(--mint); padding: 180px var(--pad-x) 100px; position: relative; overflow: hidden; }
.page-hero-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: end; position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.page-hero .lead { font-family: var(--font-mono); font-size: 15px; line-height: 1.7; color: rgba(240, 247, 245, 0.7); max-width: 480px; }

.content { max-width: 760px; margin: 0 auto; padding: var(--pad-section) var(--pad-x); }
.content h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(32px, 4vw, 48px); margin: 2em 0 0.6em; letter-spacing: -0.02em; line-height: 1.1; }
.content h3 { font-family: var(--font-display); font-weight: 800; font-size: 24px; margin: 1.6em 0 0.4em; }
.content p { font-size: 17px; line-height: 1.7; margin-bottom: 1.2em; color: var(--slate); }
.content ul, .content ol { margin: 0 0 1.2em 1.5em; }
.content ul li, .content ol li { font-size: 17px; line-height: 1.7; margin-bottom: 0.5em; list-style: disc; }
.content ol li { list-style: decimal; }
.content blockquote { border-left: 3px solid var(--copper); padding: 8px 0 8px 24px; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--deep-teal); margin: 2em 0; line-height: 1.4; }
.content code { font-family: var(--font-mono); font-size: 0.9em; background: var(--mint); padding: 2px 6px; border-radius: 2px; color: var(--deep-teal); }
.content pre { background: var(--slate); color: var(--mint); padding: 24px; border-radius: 4px; overflow-x: auto; margin: 1.6em 0; font-family: var(--font-mono); font-size: 14px; line-height: 1.6; }
.content pre code { background: transparent; color: var(--mint); padding: 0; }
.content a { color: var(--teal); border-bottom: 1px solid var(--line); }
.content a:hover { color: var(--deep-teal); border-color: var(--deep-teal); }
.content img { margin: 2em 0; border-radius: 4px; }

/* ===========================================================
   16. BLOG INDEX + ARCHIVE
=========================================================== */
.blog-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--pad-section) var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(20, 125, 118, 0.12); }
.post-card-thumb { aspect-ratio: 16/10; background: var(--slate); overflow: hidden; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.post-card:hover .post-card-thumb img { transform: scale(1.05); }
.post-card-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.post-card-meta { font-family: var(--font-mono); font-size: 11px; color: var(--teal); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; }
.post-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 12px; }
.post-card h3 a { color: var(--slate); }
.post-card h3 a:hover { color: var(--teal); }
.post-card-excerpt { font-size: 15px; line-height: 1.6; color: var(--slate); flex: 1; margin-bottom: 20px; }
.post-card-more { font-family: var(--font-mono); font-size: 12px; color: var(--teal); text-transform: uppercase; letter-spacing: 0.1em; }
.post-card-more::after { content: ' →'; transition: transform 0.2s; display: inline-block; }
.post-card:hover .post-card-more::after { transform: translateX(4px); }

/* Single post */
.single-post-header { max-width: 860px; margin: 0 auto; padding: 180px var(--pad-x) 60px; }
.single-post-meta { font-family: var(--font-mono); font-size: 12px; color: var(--teal); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 24px; display: flex; gap: 16px; align-items: center; }
.single-post-meta a { color: var(--teal); }
.single-post-meta .sep { color: var(--line); }
.single-post-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.03em; margin-bottom: 28px; color: var(--slate); }
.single-post-lead { font-size: 20px; line-height: 1.6; color: var(--slate); max-width: 680px; }
.single-post-thumb { max-width: var(--maxw); margin: 60px auto; padding: 0 var(--pad-x); }
.single-post-thumb img { border-radius: 4px; width: 100%; }

/* Pagination */
.pagination { max-width: var(--maxw); margin: 0 auto 120px; padding: 0 var(--pad-x); display: flex; gap: 8px; justify-content: center; }
.pagination .page-numbers {
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--slate);
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 2px;
}
.pagination .page-numbers.current { background: var(--teal); color: var(--mint); border-color: var(--teal); }
.pagination a.page-numbers:hover { background: var(--mint); }

/* Comments */
.comments-area { max-width: 760px; margin: 60px auto; padding: 0 var(--pad-x); }
.comments-area h3 { font-family: var(--font-display); font-weight: 900; font-size: 28px; margin-bottom: 32px; letter-spacing: -0.01em; }
.comment-list { list-style: none; }
.comment-list .comment { padding: 24px 0; border-bottom: 1px solid var(--line); }
.comment-author { font-family: var(--font-mono); font-size: 12px; color: var(--teal); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.comment-content p { margin-bottom: 0.8em; line-height: 1.7; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1px solid var(--line);
  background: var(--mint);
  border-radius: 2px;
  margin-bottom: 16px;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--teal); }
.comment-form .submit { background: var(--slate); color: var(--mint); border: 0; padding: 14px 24px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; border-radius: 2px; }
.comment-form .submit:hover { background: var(--teal); }

/* Search form */
.search-form { display: flex; gap: 8px; max-width: 500px; margin: 0 auto; }
.search-form input[type="search"] {
  flex: 1;
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 2px;
}
.search-form .search-submit { background: var(--teal); color: var(--mint); border: 0; padding: 14px 22px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; border-radius: 2px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.search-form .search-submit svg { display: block; }

/* 404 */
.error-404 { max-width: 760px; margin: 0 auto; padding: 200px var(--pad-x) 140px; text-align: center; }
.error-404 .code { font-family: var(--font-mono); font-size: 14px; color: var(--copper); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 24px; }
.error-404 h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(56px, 10vw, 140px); line-height: 0.9; letter-spacing: -0.04em; margin-bottom: 24px; }
.error-404 .lead { font-family: var(--font-mono); font-size: 16px; color: var(--slate); margin-bottom: 40px; }

/* WordPress alignment classes */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text { font-family: var(--font-mono); font-size: 12px; color: var(--teal); text-align: center; margin-top: 8px; }
.screen-reader-text { position: absolute; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

/* ===========================================================
   17. ANIMATIONS
=========================================================== */
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* ===========================================================
   18. RESPONSIVE
=========================================================== */
@media (max-width: 1024px) {
  :root { --pad-x: 24px; --pad-section: 100px; }
  .hero-grid, .nerd-grid, .section-head, .workshop-grid, .about-grid, .footer-grid, .page-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .nerd-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .service-row { grid-template-columns: 60px 1fr; gap: 20px; }
  .service-desc, .service-arrow { grid-column: 1 / -1; }
  .service-arrow { text-align: left; }
}

@media (max-width: 600px) {
  .nav { padding: 14px 20px; }
  .hero { padding: 110px 20px 60px; }
  .marquee-item { font-size: 26px; gap: 30px; }
  .marquee-item .dot { width: 8px; height: 8px; }
  .nerd-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nerd-letter { font-size: 72px; }
  .workshop-stats { grid-template-columns: 1fr; gap: 16px; }
  .stat-num { font-size: 36px; }
}

/* Mobile nav drawer (toggled via JS) */
.nav-mobile-open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--slate);
  padding: 24px 24px 32px;
  border-bottom: 1px solid var(--line-dark);
  gap: 20px;
}

/* ===========================================================
   19. v1.1.0 ADDITIONS — Authority, Pain, Quote, Testimonials,
       Principles, Final CTA, About credentials
=========================================================== */

/* AUTHORITY STRIP */
.authority {
  background: var(--slate-2);
  color: var(--mint);
  padding: 0 var(--pad-x);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.authority-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.auth-tile { padding: 38px 24px; border-left: 1px solid var(--line-dark); }
.auth-tile:first-child { border-left: 0; }
.auth-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 36px;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--mint);
}
.auth-num .copper { color: var(--copper); }
.auth-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(240, 247, 245, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* PAIN AGITATION */
.pain { padding: var(--pad-section) var(--pad-x); background: var(--mint); position: relative; }
.pain-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 100px;
  align-items: start;
}
.pain-head .kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--copper);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.pain-head .kicker::before { content: ''; width: 24px; height: 1px; background: var(--copper); }
.pain-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--slate);
}
.pain-head p {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.8;
  color: var(--slate);
  opacity: 0.85;
  max-width: 380px;
}
.pain-list { list-style: none; display: flex; flex-direction: column; padding: 0; margin: 0; }
.pain-item {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 24px;
  align-items: center;
  transition: padding-left 0.3s;
  list-style: none;
}
.pain-item:last-child { border-bottom: 1px solid var(--line); }
.pain-item:hover { padding-left: 12px; }
.pain-item:hover .pain-mark { color: var(--copper); }
.pain-mark {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--teal);
  transition: color 0.3s;
  letter-spacing: 0.04em;
}
.pain-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.4;
  color: var(--slate);
  letter-spacing: -0.005em;
}

/* QUOTE BAND */
.quote-band {
  background: var(--slate);
  color: var(--mint);
  padding: 100px var(--pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-band::before {
  content: '"';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 280px;
  color: var(--copper);
  opacity: 0.08;
  line-height: 1;
}
.quote-band blockquote {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 1000px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 2;
  border: 0;
  padding: 0;
  color: var(--mint);
}
.quote-band cite {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--copper);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.quote-band cite::before { content: ''; width: 24px; height: 1px; background: var(--copper); }

/* TESTIMONIALS (homepage version) */
.testimonials { padding: var(--pad-section) var(--pad-x); background: var(--white); border-top: 1px solid var(--line); position: relative; }
.testimonials-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--mint);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 40px 36px 32px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(20, 125, 118, 0.10); }
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -18px;
  left: 24px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 96px;
  color: var(--copper);
  line-height: 1;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.5;
  color: var(--slate);
  margin-bottom: 28px;
  letter-spacing: -0.005em;
}
.testimonial-attrib {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.testimonial-name { color: var(--deep-teal); font-weight: 700; }
.testimonial-role { color: var(--teal); display: block; margin-top: 4px; opacity: 0.8; }
.testimonial-placeholder {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--copper);
  color: var(--slate);
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.85;
}

/* PRINCIPLES */
.principles {
  background: var(--slate);
  color: var(--mint);
  padding: 120px var(--pad-x);
  position: relative;
}
.principles-head { max-width: var(--maxw); margin: 0 auto 60px; text-align: center; }
.principles-head .kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--copper);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.principles-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--mint);
}
.principles-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.principle {
  padding: 32px 24px;
  border-left: 1px solid var(--line-dark);
}
.principle:first-child { border-left: 0; }
.principle-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--copper);
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}
.principle-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--mint);
}

/* FINAL CTA — bigger version */
.final-cta {
  padding: var(--pad-section) var(--pad-x);
  background: var(--mint);
  text-align: center;
  position: relative;
}
.final-cta .kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--copper);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--slate);
  max-width: 920px;
  margin: 0 auto 28px;
}
.final-cta p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 640px;
  margin: 0 auto 44px;
}
.final-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ABOUT — credentials line */
.about-prev {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--copper);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.about-prev .label { color: rgba(30, 38, 46, 0.5); margin-right: 8px; }

/* RESPONSIVE — v1.1.0 sections */
@media (max-width: 1024px) {
  .pain-grid, .testimonials-grid { grid-template-columns: 1fr; gap: 48px; }
  .authority-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-tile { border-left: 1px solid var(--line-dark); border-top: 1px solid var(--line-dark); }
  .auth-tile:first-child, .auth-tile:nth-child(2) { border-top: 0; }
  .auth-tile:nth-child(odd) { border-left: 0; }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .principle:nth-child(odd) { border-left: 0; }
  .principle:nth-child(3), .principle:nth-child(4) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 600px) {
  .testimonials-grid, .principles-grid, .authority-grid { grid-template-columns: 1fr; }
  .principle { border-left: 0; border-top: 1px solid var(--line-dark); }
  .principle:first-child { border-top: 0; }
  .auth-tile { border-left: 0; border-top: 1px solid var(--line-dark); }
  .auth-tile:first-child { border-top: 0; }
  .pain-item { grid-template-columns: 40px 1fr; gap: 12px; }
}

/* ===========================================================
   20. v1.1.1 — Blog toolbar (search above post grid)
=========================================================== */
.blog-toolbar {
  max-width: var(--maxw);
  margin: 80px auto 0;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.blog-toolbar .toolbar-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 14px;
}
.blog-toolbar .toolbar-label::before { content: ''; width: 24px; height: 1px; background: var(--teal); }
.blog-toolbar .search-form {
  max-width: 380px;
  margin: 0;
  flex: 0 1 380px;
}

/* Search form focus / icon refinements */
.search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 125, 118, 0.12);
}
.search-form .search-submit:hover { background: var(--deep-teal); }

/* Pull the blog-grid's top padding tighter when the toolbar is above it */
.has-blog-toolbar + .blog-grid { padding-top: 40px; }

@media (max-width: 600px) {
  .blog-toolbar { margin-top: 60px; flex-direction: column; align-items: stretch; }
  .blog-toolbar .search-form { max-width: 100%; flex: 1; }
}
