/* ============================================================
   THE EPSILON MAN — DESIGN SYSTEM
   Brand: "Quiet Authority" — Calm strength without performance
   Version: 3.0 — Blueprint Build
   ============================================================ */

/* --- CSS CUSTOM PROPERTIES --- */
:root {
  /* Primary Palette */
  --aged-brass:        #947D54;
  --aged-brass-hover:  #A8915F;
  --foundation-black:  #121618;
  --graphite-blue:     #303941;
  --tranquil-navy:     #1B2533;
  --deep-slate:        #434C53;
  --driftwood:         #D0C3B9;
  --iron-rust:         #7D6161;

  /* Extended Palette */
  --dark-slate:        #202428;
  --charcoal-gray:     #27292D;
  --soft-ash:          #ECE8E4;
  --neutrals:          #EEE7E2;
  --natural-stone:     #DBD2C7;
  --contemplative-blue:#39475C;
  --burnished-brass:   #887A56;
  --quiet-platinum:    #E7E4DD;
  --attic-brown:       #716251;

  /* Typography — Blueprint: Trajan Pro / Sabon / Avenir Next
     Using closest Google Fonts: Cinzel / EB Garamond / Inter */
  --font-display: 'Cinzel', serif;
  --font-serif:   'EB Garamond', serif;
  --font-sans:    'Inter', sans-serif;

  /* Layout */
  --max-width:    1200px;
  --nav-height:   72px;
  --section-pad:  clamp(64px, 8vw, 120px) clamp(24px, 6vw, 80px);
  --radius-sm:    4px;
  --radius-md:    8px;

  /* Animation */
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition:   0.3s var(--ease);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--foundation-black);
  color: var(--soft-ash);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--aged-brass); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--aged-brass-hover); }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--soft-ash); line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: 0.05em; text-transform: uppercase; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); letter-spacing: 0.03em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: 0.02em; }
h4 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.02em; }

p { font-size: 1.05rem; line-height: 1.75; color: var(--driftwood); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--aged-brass);
}
.eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--aged-brass); }

.lead { font-family: var(--font-serif); font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--driftwood); line-height: 1.7; }

/* --- LAYOUT --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 clamp(24px, 6vw, 80px); }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 clamp(24px, 6vw, 80px); }

section { padding: var(--section-pad); }
.bg-black   { background: var(--foundation-black); }
.bg-slate   { background: var(--deep-slate); }
.bg-navy    { background: var(--tranquil-navy); }
.bg-graphite{ background: var(--graphite-blue); }

/* --- NAVIGATION --- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(18, 22, 24, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 125, 84, 0.12);
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-nav.scrolled {
  background: rgba(18, 22, 24, 0.98);
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 80px);
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}

.nav-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--soft-ash);
}
.nav-brand .nav-logo { width: 38px; height: 38px; object-fit: contain; }
.nav-brand .brand-text {
  font-family: var(--font-sans); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(236, 232, 228, 0.6);
  transition: color var(--transition); position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--soft-ash); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--aged-brass);
}

.nav-cta {
  background: var(--aged-brass); color: var(--foundation-black) !important;
  padding: 10px 22px; border-radius: var(--radius-sm);
  font-weight: 700 !important; font-size: 0.75rem !important;
  letter-spacing: 0.06em;
}
.nav-cta:hover { background: var(--aged-brass-hover) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { width: 24px; height: 2px; background: var(--soft-ash); display: block; transition: var(--transition); }

/* Mobile Nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 999;
  background: var(--foundation-black);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2.5rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
  font-family: var(--font-display); font-size: 1.3rem; color: var(--soft-ash);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.mobile-nav .close-btn {
  position: absolute; top: 1.5rem; right: 2rem;
  background: none; border: none; color: var(--soft-ash);
  font-size: 1.8rem; cursor: pointer; line-height: 1;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block; padding: 14px 32px;
  font-family: var(--font-sans); font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: var(--radius-sm); transition: all var(--transition);
  cursor: pointer; border: none; text-decoration: none; line-height: 1;
}
.btn-primary { background: var(--aged-brass); color: var(--foundation-black); }
.btn-primary:hover {
  background: var(--aged-brass-hover); color: var(--foundation-black);
  transform: translateY(-2px); box-shadow: 0 6px 24px rgba(148, 125, 84, 0.3);
}
.btn-secondary { background: transparent; color: var(--aged-brass); border: 2px solid var(--aged-brass); }
.btn-secondary:hover { background: var(--aged-brass); color: var(--foundation-black); transform: translateY(-2px); }
.btn-lg { padding: 18px 44px; font-size: 0.95rem; }

/* --- HERO --- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--foundation-black);
  padding-top: var(--nav-height);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(18,22,24,0.92) 40%, rgba(18,22,24,0.55) 100%),
    url('assets/images/hero-contemplation-new.png') center/cover no-repeat;
}
.hero-logo {
  width: 140px; height: auto; margin-bottom: 2rem;
  filter: drop-shadow(0 2px 16px rgba(148,125,84,0.3));
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-width); margin: 0 auto;
  padding: clamp(40px, 8vw, 80px) clamp(24px, 6vw, 80px);
}
.hero h1 { margin-bottom: 0.5rem; }
.hero .hero-subtitle {
  font-family: var(--font-serif); font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--driftwood); margin-bottom: 2rem;
}
.hero .hero-quote {
  font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--aged-brass); font-style: italic; margin-bottom: 1rem;
  line-height: 1.3;
}
.hero .hero-tagline {
  font-size: 0.9rem; letter-spacing: 0.1em;
  color: var(--driftwood); margin-bottom: 2.5rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- PAGE HERO (Interior) --- */
.page-hero {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  background: var(--foundation-black);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(148, 125, 84, 0.04) 0%, transparent 55%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: 1rem; text-transform: none; }
.page-hero .lead { max-width: 640px; }
.page-hero-logo { width: 64px; height: auto; margin-bottom: 1.5rem; opacity: 0.85; }

/* --- PROBLEM SECTION --- */
.problem-headline {
  font-family: var(--font-serif); font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--soft-ash); line-height: 1.5; font-style: italic;
  font-weight: 400; text-transform: none;
}
.problem-stats {
  margin: 2.5rem 0; padding: 2rem 0;
  border-top: 1px solid rgba(236, 232, 228, 0.06);
  border-bottom: 1px solid rgba(236, 232, 228, 0.06);
}
.problem-stat {
  font-size: 0.95rem; color: var(--driftwood); margin-bottom: 0.5rem; text-align: center;
}
.problem-stat strong { color: var(--iron-rust); font-weight: 700; }
.problem-cite {
  display: block; text-align: center; font-size: 0.72rem;
  color: rgba(125,97,97,0.7); letter-spacing: 0.1em; margin-top: 0.5rem;
}
.problem-body {
  font-family: var(--font-serif); font-size: 1.1rem; line-height: 1.8;
  color: var(--driftwood); text-align: center; max-width: 640px; margin: 0 auto;
}

/* --- AUTHOR IMAGE --- */
.author-portrait {
  width: 100%; max-width: 400px; border-radius: var(--radius-md);
  border: 2px solid rgba(148,125,84,0.2);
  box-shadow: 0 12px 48px rgba(0,0,0,0.4);
}
.author-portrait-sm {
  width: 100%; max-width: 280px; border-radius: var(--radius-md);
  border: 2px solid rgba(148,125,84,0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  margin-bottom: 1.5rem;
}

/* --- BOOK COVER IMAGE --- */
.book-cover-img {
  width: 100%; max-width: 320px; border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(148,125,84,0.15);
  margin: 0 auto 2rem;
}

/* --- SECTION IMAGE --- */
.section-img {
  width: 100%; border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* --- FOOTER LOGO --- */
.footer-brand-col .footer-logo-img {
  width: 48px; height: auto; margin-bottom: 1rem; opacity: 0.8;
}

/* --- DIVIDER LOGO --- */
.divider-logo {
  display: flex; align-items: center; justify-content: center; margin: 3rem auto;
}
.divider-logo img { width: 40px; height: auto; opacity: 0.3; }
.divider-logo::before, .divider-logo::after {
  content: ''; flex: 1; max-width: 120px; height: 1px;
  background: rgba(148,125,84,0.2); margin: 0 1.5rem;
}

/* --- SECTION UTILITIES --- */
.section-header { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-header .eyebrow { margin-bottom: 1rem; display: block; }
.section-header h2 { margin-bottom: 1rem; }
.section-header .lead { max-width: 640px; }

.divider {
  display: flex; align-items: center; gap: 1.5rem;
  margin: 2.5rem 0; opacity: 0.25;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--aged-brass); }
.divider-simple { height: 1px; background: rgba(236, 232, 228, 0.06); margin: 0; }

/* --- PILLAR CARDS --- */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.pillar-card {
  background: var(--deep-slate); padding: 40px 32px;
  border-top: 3px solid transparent; transition: all var(--transition);
  position: relative;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.pillar-card.ap { border-top-color: var(--aged-brass); }
.pillar-card.db { border-top-color: var(--iron-rust); }
.pillar-card.ic { border-top-color: var(--contemplative-blue); }

.pillar-number {
  font-family: var(--font-sans); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--aged-brass);
  margin-bottom: 0.75rem;
}
.pillar-card h3 { margin-bottom: 0.75rem; }
.pillar-card p { font-size: 0.95rem; }
.pillar-def {
  font-family: var(--font-serif); font-style: italic;
  color: var(--soft-ash) !important; font-size: 1rem !important;
  margin-bottom: 1rem !important;
}
.pillar-quote {
  font-family: var(--font-serif); font-style: italic;
  color: var(--aged-brass) !important; font-size: 0.95rem !important;
  margin-top: 1.5rem !important; line-height: 1.5 !important;
  border-top: 1px solid rgba(148,125,84,0.15);
  padding-top: 1rem;
}
.pillar-quote span { font-size: 0.78rem; color: rgba(148,125,84,0.6) !important; display: block; margin-top: 0.25rem; }
.pillars-closing {
  font-family: var(--font-serif); font-size: 1.2rem; font-style: italic;
  color: var(--driftwood); margin-top: 3rem;
}

/* --- BOOK CARDS --- */
.books-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.book-card {
  background: var(--deep-slate); border: 1px solid var(--graphite-blue);
  border-radius: var(--radius-md); padding: 28px 24px;
  transition: all var(--transition); text-decoration: none; display: block;
}
.book-card:hover { border-color: var(--aged-brass); transform: translateY(-4px); box-shadow: 0 8px 32px rgba(148,125,84,0.12); }
.book-num {
  font-family: var(--font-sans); font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--aged-brass); margin-bottom: 1rem; font-weight: 700;
}
.book-card h3 { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--soft-ash); line-height: 1.3; }
.book-card .book-subtitle { font-size: 0.82rem; color: rgba(208,195,185,0.7); line-height: 1.5; margin-bottom: 0.75rem; }
.book-card .book-question {
  font-family: var(--font-serif); font-size: 0.88rem; font-style: italic;
  color: var(--aged-brass); line-height: 1.4; margin-bottom: 0.75rem;
}
.book-card .book-card-quote {
  font-family: var(--font-serif); font-size: 0.82rem; font-style: italic;
  color: rgba(208,195,185,0.5); line-height: 1.4;
  border-top: 1px solid rgba(236,232,228,0.06);
  padding-top: 0.75rem; margin-top: 0.5rem;
}

/* --- TESTIMONIAL CARDS --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card {
  background: var(--deep-slate); border: 1px solid var(--graphite-blue);
  border-radius: var(--radius-md); padding: 32px 28px;
}
.testimonial-card .quote {
  font-family: var(--font-serif); font-size: 1.08rem; font-style: italic;
  color: var(--soft-ash); line-height: 1.7; margin-bottom: 1.5rem;
  position: relative; padding-left: 1.5rem;
}
.testimonial-card .quote::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 2px; background: var(--aged-brass); opacity: 0.5;
}
.testimonial-author {
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--aged-brass);
}
.testimonial-role { font-size: 0.76rem; color: rgba(208,195,185,0.6); margin-top: 4px; }

/* --- PULL QUOTE --- */
.pull-quote {
  font-family: var(--font-serif); font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-style: italic; color: var(--soft-ash); line-height: 1.5;
  text-align: center; padding: 3rem clamp(1.5rem, 6vw, 4rem);
  border-left: 3px solid var(--aged-brass); border-right: 3px solid var(--aged-brass);
  max-width: 760px; margin: 0 auto;
}
.pull-quote cite {
  display: block; font-size: 0.82rem; font-style: normal;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--aged-brass); margin-top: 1.25rem;
}

/* --- COMMITMENT LIST --- */
.commitment-list { list-style: none; max-width: 720px; margin: 0 auto; }
.commitment-item {
  display: flex; gap: 1.5rem; padding: 1.25rem 0;
  border-bottom: 1px solid rgba(236, 232, 228, 0.06);
  align-items: baseline;
}
.commitment-item:last-child { border-bottom: none; }
.commitment-num {
  font-family: var(--font-sans); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.15em; color: var(--aged-brass); min-width: 28px; flex-shrink: 0;
}
.commitment-text {
  font-family: var(--font-serif); font-size: 1.1rem; color: var(--soft-ash); line-height: 1.5;
}

/* --- CREED BLOCK --- */
.creed-block {
  background: var(--deep-slate);
  border-left: 4px solid var(--aged-brass);
  padding: 40px 48px; border-radius: 0 var(--radius-md) var(--radius-md) 0;
  max-width: 720px; margin: 3rem auto 0;
}
.creed-block .creed-title {
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--aged-brass);
  margin-bottom: 1.5rem;
}
.creed-block p {
  font-family: var(--font-serif); font-size: 1.15rem;
  color: var(--soft-ash); line-height: 2;
}
.creed-block .creed-final {
  font-weight: 700; color: var(--aged-brass); font-size: 1.25rem;
  display: block; margin-top: 1rem;
}

/* --- QUOTE WALL --- */
.quote-wall {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
}
.quote-wall-item {
  font-family: var(--font-serif); font-size: 1.15rem; font-style: italic;
  color: var(--soft-ash); line-height: 1.6;
  padding: 2rem; background: var(--deep-slate);
  border-left: 2px solid var(--aged-brass);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  transition: all var(--transition);
}
.quote-wall-item:hover { transform: translateX(4px); border-left-color: var(--aged-brass-hover); }

/* --- ECOSYSTEM TABLE --- */
.eco-table {
  width: 100%; border-collapse: collapse; margin-top: 1.5rem;
}
.eco-table thead th {
  font-family: var(--font-sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--aged-brass);
  text-align: left; padding: 12px 16px;
  border-bottom: 1px solid rgba(148, 125, 84, 0.3);
}
.eco-table td {
  padding: 14px 16px; font-size: 0.95rem; color: var(--driftwood);
  border-bottom: 1px solid rgba(236, 232, 228, 0.05);
  vertical-align: top;
}
.eco-table td strong { color: var(--soft-ash); }

/* --- STAT BAR --- */
.stat-bar {
  display: flex; justify-content: center; gap: 4rem;
  padding: 2.5rem 0; flex-wrap: wrap;
  border-top: 1px solid rgba(236, 232, 228, 0.06);
  border-bottom: 1px solid rgba(236, 232, 228, 0.06);
}
.stat-bar-item { text-align: center; }
.stat-bar-num {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 700;
  color: var(--aged-brass); display: block; line-height: 1;
}
.stat-bar-label {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(236, 232, 228, 0.45); margin-top: 8px; display: block;
}

/* --- EMAIL CAPTURE --- */
.email-capture { display: flex; gap: 1rem; max-width: 480px; }
.email-capture input {
  flex: 1; padding: 14px 18px; background: var(--deep-slate);
  border: 1px solid var(--graphite-blue); border-radius: var(--radius-sm);
  color: var(--soft-ash); font-family: var(--font-sans); font-size: 0.95rem;
  transition: border-color var(--transition);
}
.email-capture input:focus { outline: none; border-color: var(--aged-brass); }
.email-capture input::placeholder { color: rgba(208,195,185,0.4); }

/* --- CTA SECTION --- */
.cta-section {
  text-align: center; padding: var(--section-pad);
  background: linear-gradient(135deg, rgba(148,125,84,0.05) 0%, rgba(57,71,92,0.05) 100%);
  border-top: 1px solid rgba(148,125,84,0.1);
  border-bottom: 1px solid rgba(148,125,84,0.1);
}
.cta-section h2 { margin-bottom: 1rem; }
.cta-preline {
  font-family: var(--font-serif); font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic; color: var(--soft-ash);
}
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- FORM ELEMENTS --- */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(208,195,185,0.7); margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 14px 16px;
  background: var(--deep-slate); border: 1px solid var(--graphite-blue);
  border-radius: var(--radius-sm); color: var(--soft-ash);
  font-family: var(--font-sans); font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--aged-brass); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(208,195,185,0.35); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select { cursor: pointer; }

/* --- SKILL CARDS --- */
.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.skill-card {
  background: var(--deep-slate); border: 1px solid var(--graphite-blue);
  border-radius: var(--radius-md); padding: 28px 24px;
  transition: border-color var(--transition);
}
.skill-card:hover { border-color: var(--aged-brass); }
.skill-card .skill-code {
  font-family: var(--font-sans); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--aged-brass);
  margin-bottom: 0.75rem;
}
.skill-card h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.skill-card p { font-size: 0.88rem; font-style: italic; color: rgba(208,195,185,0.7); }
.skill-pillar {
  display: inline-block; margin-top: 0.75rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--aged-brass); opacity: 0.7;
}

/* --- TWO COLUMN LAYOUT --- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

/* --- ABOUT GRID --- */
.about-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start; }
.about-content .prose p {
  font-family: var(--font-serif); font-size: 1.1rem; line-height: 1.8;
  color: var(--driftwood); margin-bottom: 1.25rem;
}
.sidebar-card {
  background: var(--deep-slate); border-left: 3px solid var(--aged-brass);
  padding: 28px 24px; border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 1.5rem;
}
.sidebar-card.rust { border-left-color: var(--iron-rust); }
.sidebar-card.blue { border-left-color: var(--contemplative-blue); }
.sidebar-card h3 { font-family: var(--font-sans); font-size: 1rem; margin-bottom: 0.5rem; }
.sidebar-card p { font-size: 0.92rem; }

/* --- START HERE PATH --- */
.path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: path; }
.path-step {
  background: var(--deep-slate); border: 1px solid var(--graphite-blue);
  border-radius: var(--radius-md); padding: 28px 24px;
  text-align: center; transition: all var(--transition); counter-increment: path;
}
.path-step:hover { border-color: var(--aged-brass); transform: translateY(-4px); }
.path-step::before {
  content: counter(path); display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--aged-brass); color: var(--aged-brass);
  font-family: var(--font-sans); font-size: 0.8rem; font-weight: 700;
  margin: 0 auto 1rem;
}
.path-step h4 { font-family: var(--font-sans); margin-bottom: 0.5rem; }
.path-step p { font-size: 0.85rem; }

/* --- PROCESS STEPS --- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.process-step { text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid var(--aged-brass); background: var(--foundation-black);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--font-sans); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; color: var(--aged-brass);
}
.process-step h4 { margin-bottom: 0.5rem; }
.process-step p { font-size: 0.88rem; }

/* --- FOOTER --- */
.site-footer {
  background: var(--foundation-black);
  border-top: 1px solid rgba(236, 232, 228, 0.06);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand-col .footer-logo {
  font-family: var(--font-display); font-size: 1.1rem;
  letter-spacing: 0.06em; color: var(--soft-ash); margin-bottom: 1rem;
}
.footer-brand-col p { font-size: 0.88rem; color: rgba(208,195,185,0.6); max-width: 300px; line-height: 1.7; }
.footer-brand-col .tagline {
  display: block; margin-top: 1rem;
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--aged-brass);
}

.footer-col h4 {
  font-family: var(--font-sans); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--aged-brass);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { font-size: 0.88rem; color: rgba(208,195,185,0.55); transition: color var(--transition); }
.footer-col a:hover { color: var(--soft-ash); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid rgba(236, 232, 228, 0.06);
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.76rem; color: rgba(208,195,185,0.4); margin: 0; }

/* --- FADE IN ANIMATION --- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- UTILITY --- */
.text-center { text-align: center; }
.text-brass { color: var(--aged-brass); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .books-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .quote-wall { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .skill-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .path-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: clamp(48px, 6vw, 80px) clamp(20px, 5vw, 40px); }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn { text-align: center; width: 100%; max-width: 300px; }
  .stat-bar { gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .email-capture { flex-direction: column; }
}

@media (max-width: 700px) {
  .books-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .books-grid { grid-template-columns: 1fr; }
  .skill-grid { grid-template-columns: 1fr; }
  .path-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .creed-block { padding: 28px 24px; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
