:root {
  --bg: #0c0c0f;
  --bg-elevated: #141418;
  --bg-card: #1a1a20;
  --fg: #e8e4df;
  --fg-muted: #9a9590;
  --fg-dim: #5c5955;
  --accent: #c8553d;
  --accent-glow: rgba(200, 85, 61, 0.15);
  --gold: #d4a853;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Syne', 'Helvetica Neue', sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--serif);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--sans);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--fg-muted);
  max-width: 600px;
  line-height: 1.6;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 2.5rem 0;
}

.hero-context {
  font-size: 1.05rem;
  color: var(--fg-dim);
  max-width: 550px;
  font-style: italic;
}

.hero-gradient {
  position: absolute;
  top: -20%;
  right: -15%;
  width: 70%;
  height: 120%;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

/* ===== PILLARS ===== */
.pillars {
  padding: 8rem 2rem;
  background: var(--bg-elevated);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.pillars-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3.5rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.pillar {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.pillar:hover {
  border-color: rgba(200, 85, 61, 0.3);
}

.pillar-number {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.pillar h3 {
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.pillar p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== CAPABILITIES ===== */
.capabilities {
  padding: 8rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.capabilities-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.cap-left h2 {
  font-family: var(--sans);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-top: 1rem;
}

.cap-right {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.cap-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.cap-marker {
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 0.6rem;
}

.cap-item h4 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.cap-item p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== CLOSING ===== */
.closing {
  padding: 8rem 2rem;
  background: var(--bg-elevated);
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing blockquote {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: var(--fg);
  line-height: 1.6;
  border: none;
  padding: 0;
  margin: 0;
}

.closing-attr {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1.5rem;
}

.closing-divider {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 3rem auto;
}

.closing-statement {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
}

.footer-sep {
  font-size: 0.8rem;
  color: var(--fg-dim);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 5rem 1.5rem 4rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .capabilities-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .pillars,
  .capabilities,
  .closing {
    padding: 5rem 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .hero-gradient {
    width: 100%;
    right: -30%;
    opacity: 0.7;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .pillar {
    padding: 1.75rem;
  }
}

/* ===== CONTENT COMMAND CENTER ===== */

.ccc-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 15, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 1rem 2rem;
}

.ccc-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ccc-nav-brand {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

.ccc-nav-title {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
}

.ccc-header {
  padding: 5rem 2rem 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.ccc-header-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ccc-header h1 {
  font-family: var(--sans);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 1rem 0 1.5rem;
}

.ccc-header-sub {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

.ccc-section {
  padding: 5rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.ccc-section:nth-child(even) {
  background: var(--bg-elevated);
}

.ccc-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ccc-section-header {
  margin-bottom: 3rem;
}

.ccc-section-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-top: 0.5rem;
}

/* Timeline */
.ccc-timeline {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
  height: 120px;
  padding: 1rem 0 0;
}

.ccc-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.ccc-bar-wrap {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
}

.ccc-bar {
  width: 100%;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
  min-height: 4px;
  position: relative;
  transition: opacity 0.2s;
  opacity: 0.7;
}

.ccc-bar:hover {
  opacity: 1;
}

.ccc-bar-count {
  position: absolute;
  top: -1.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--fg-muted);
  white-space: nowrap;
}

.ccc-bar-label {
  font-family: var(--sans);
  font-size: 0.6rem;
  color: var(--fg-dim);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

/* Books */
.ccc-books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ccc-book-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s ease;
}

.ccc-book-card:hover {
  border-color: rgba(200, 85, 61, 0.3);
}

.ccc-book-genre {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.ccc-book-title {
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.ccc-book-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
  flex: 1;
}

.ccc-btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  text-decoration: none;
  padding: 0.6rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
  text-align: center;
}

.ccc-btn:hover {
  background: var(--accent);
  color: #fff;
}

.ccc-btn-outline {
  color: var(--fg-muted);
  border-color: rgba(255,255,255,0.15);
}

.ccc-btn-outline:hover {
  background: rgba(255,255,255,0.05);
  color: var(--fg);
  border-color: rgba(255,255,255,0.3);
}

/* Podcast Episodes */
.ccc-episode-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  overflow: hidden;
}

.ccc-episode {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  text-decoration: none;
  transition: background 0.2s;
}

.ccc-episode:last-child {
  border-bottom: none;
}

.ccc-episode:hover {
  background: var(--bg-elevated);
}

.ccc-episode-num {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  min-width: 3.5rem;
  flex-shrink: 0;
}

.ccc-episode-body {
  flex: 1;
  min-width: 0;
}

.ccc-episode-title {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.3rem;
}

.ccc-episode-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.ccc-episode-arrow {
  color: var(--fg-dim);
  font-size: 1rem;
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}

.ccc-episode:hover .ccc-episode-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* Blog Posts */
.ccc-post-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  overflow: hidden;
}

.ccc-post {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.25rem 2rem;
  background: var(--bg-card);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  text-decoration: none;
  transition: background 0.2s;
}

.ccc-post:last-child {
  border-bottom: none;
}

.ccc-post:hover {
  background: var(--bg-elevated);
}

.ccc-post-body {
  flex: 1;
  min-width: 0;
}

.ccc-post-title {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.ccc-post-preview {
  font-size: 0.83rem;
  color: var(--fg-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ccc-post-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}

.ccc-post-date {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--fg-dim);
  white-space: nowrap;
}

.ccc-post-arrow {
  color: var(--fg-dim);
  font-size: 1rem;
  transition: color 0.2s, transform 0.2s;
}

.ccc-post:hover .ccc-post-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

.ccc-more {
  margin-top: 2rem;
  text-align: center;
}

.ccc-empty {
  padding: 3rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
}

.ccc-empty p {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

.ccc-empty a {
  color: var(--accent);
  text-decoration: none;
}

/* Responsive: CCC */
@media (max-width: 768px) {
  .ccc-header {
    padding: 3rem 1.5rem 2.5rem;
  }

  .ccc-section {
    padding: 3rem 1.5rem;
  }

  .ccc-books-grid {
    grid-template-columns: 1fr;
  }

  .ccc-timeline {
    height: 80px;
    gap: 0.25rem;
  }

  .ccc-bar-label {
    font-size: 0.55rem;
  }

  .ccc-post,
  .ccc-episode {
    padding: 1rem 1.25rem;
  }

  .ccc-episode-desc {
    display: none;
  }
}

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