/*
 * Kenny Drums Foundation — Personality Layer
 * Forge amber · Workshop dark · Mental health through manufacturing
 * Imports: tokens.css → system.css → this file
 */

/* ─── Nav — dark treatment (KDF is the only dark-nav venture) ─── */
nav { background: var(--dark); border-bottom-color: var(--border-dk); }
.nav-brand { color: var(--text-dk); }
.nav-links a { color: rgba(240,235,228,0.58); }
.nav-links a:hover, .nav-links a.active { color: var(--text-dk); }
.nav-mark {
  display: inline-block; background: var(--accent); color: var(--dark);
  font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 4px;
  letter-spacing: 0.04em;
}
.nav-cta { background: var(--accent); color: var(--dark); }
.nav-cta:hover { opacity: 0.88; background: var(--accent); }

/* ─── Hero — image-ready dark with gradient overlay ─── */
.hero {
  background: var(--dark); background-size: cover; background-position: center;
  position: relative; overflow: hidden;
  min-height: 60vh; display: flex; align-items: flex-start;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(16,15,14,0.94) 0%, rgba(16,15,14,0.80) 100%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max); margin: 0 auto;
  padding: var(--sp-12) var(--sp-4) var(--sp-10);
  position: relative; z-index: 1; width: 100%;
}
.hero-kicker { color: var(--accent); }
.hero-headline {
  font-size: clamp(22px, 2.8vw, 40px); font-weight: 300; line-height: 1.15;
  letter-spacing: -0.02em; color: var(--text-dk);
  margin-bottom: var(--sp-3); max-width: 760px;
}
.hero-headline strong { font-weight: 700; }
.hero-sub {
  font-size: 17px; color: rgba(240,235,228,0.52); line-height: 1.7;
  margin-bottom: var(--sp-5); max-width: 520px; font-weight: 300;
}
.hero-actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; }

/* Buttons — amber on dark, inverted from other ventures */
.btn-primary {
  display: inline-block; background: var(--accent); color: var(--dark);
  padding: 14px 28px; font-size: 13px; font-weight: 700;
  border-radius: var(--r-md); text-decoration: none;
  transition: opacity var(--t-fast); letter-spacing: 0.01em;
}
.btn-primary:hover { opacity: 0.88; }
.btn-secondary {
  display: inline-block; background: transparent; color: rgba(240,235,228,0.7);
  padding: 14px 28px; font-size: 13px; font-weight: 500;
  border-radius: var(--r-md); text-decoration: none;
  border: 1.5px solid rgba(240,235,228,0.16);
  transition: border-color var(--t-fast), color var(--t-fast);
}
.btn-secondary:hover { border-color: rgba(240,235,228,0.5); color: rgba(240,235,228,0.9); }

/* ─── Data / Stats Infographic ─── */
.data-section {
  background: #0c0b0a;
  border-bottom: 1px solid rgba(200,137,42,0.08);
}
.data-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.data-item {
  padding: 60px 44px 52px; border-right: 1px solid rgba(200,137,42,0.09);
  display: flex; flex-direction: column; position: relative;
}
.data-item:last-child { border-right: none; }
.data-item::before {
  content: ''; position: absolute; top: 0; left: 44px; right: 44px;
  height: 2px; background: var(--accent); opacity: 0.55;
}
.data-category {
  font-size: 9px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(240,235,228,0.55);
  margin-bottom: var(--sp-2);
}
.data-figure {
  font-size: clamp(52px, 6.5vw, 88px); font-weight: 800;
  color: var(--accent); letter-spacing: -0.04em; line-height: 0.88;
  margin-bottom: var(--sp-3);
}
.data-descriptor { font-size: 14px; color: rgba(240,235,228,0.65); line-height: 1.65; flex: 1; }
.data-source {
  font-size: 10px; letter-spacing: 0.04em;
  color: rgba(240,235,228,0.65); margin-top: var(--sp-3); font-style: italic;
}

/* ─── Standard (dark) section ─── */
.standard-section { background: var(--dark); }
.standard-section .section-kicker { color: var(--accent); }
.standard-section .section-title { color: var(--text-dk); }
.standard-section .section-sub { color: rgba(240,235,228,0.58); }

/* Programs grid — gap-trick on very dark bg */
.programs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(200,137,42,0.08);
  border: 1px solid rgba(200,137,42,0.08); border-radius: var(--r-lg); overflow: hidden;
}
.program-card {
  padding: var(--sp-5) var(--sp-4); background: rgba(240,235,228,0.03);
  display: flex; flex-direction: column; gap: var(--sp-2);
  transition: background var(--t-std);
}
.program-card:hover { background: rgba(240,235,228,0.055); }
.program-number {
  font-size: 10px; font-weight: 800; color: var(--accent);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.program-title { font-size: 19px; font-weight: 700; color: var(--text-dk); }
.program-desc { font-size: 14px; color: rgba(240,235,228,0.55); line-height: 1.75; }
.program-dims { margin-top: var(--sp-1); }
.dim-label {
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(240,235,228,0.55); margin-bottom: var(--sp-2);
}
.dim-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.dim-list li {
  font-size: 13px; color: rgba(240,235,228,0.58); line-height: 1.4;
  padding-left: 16px; position: relative;
}
.dim-list li::before { content: '–'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.cert-detail { display: flex; flex-direction: column; gap: 12px; margin-top: var(--sp-1); }
.cert-row { display: flex; gap: 14px; align-items: baseline; }
.cert-key {
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(240,235,228,0.55);
  min-width: 96px; flex-shrink: 0;
}
.cert-val { font-size: 13px; color: rgba(240,235,228,0.68); line-height: 1.4; }
.edu-tracks { display: flex; flex-direction: column; gap: 16px; margin-top: var(--sp-1); }
.edu-track { padding-left: 14px; border-left: 2px solid rgba(200,137,42,0.3); }
.edu-track-title {
  font-size: 11px; font-weight: 800; color: var(--accent);
  margin-bottom: 5px; letter-spacing: 0.06em; text-transform: uppercase;
}
.edu-track-desc { font-size: 13px; color: rgba(240,235,228,0.55); line-height: 1.55; }

/* ─── Mission ─── */
.mission-section { background: var(--light); }
.mission-split {
  display: grid; grid-template-columns: 1fr 360px;
  gap: var(--sp-9); align-items: start; margin-top: var(--sp-5);
}
.mission-text-block p {
  font-size: 16px; color: var(--text-lt); line-height: 1.85;
  margin-bottom: var(--sp-3); max-width: 600px;
}
.text-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: var(--sp-2);
  font-size: 13px; font-weight: 700; color: var(--accent);
  text-decoration: none; transition: gap var(--t-fast), opacity var(--t-fast);
  letter-spacing: 0.01em;
}
.text-link:hover { gap: 10px; opacity: 0.8; }
.pull-quote {
  font-size: 17px; font-weight: 300; font-style: italic;
  color: var(--text-lt); line-height: 1.65;
  border-left: 2px solid var(--accent); padding-left: var(--sp-3); margin-bottom: var(--sp-2);
}
.pull-attr {
  font-size: 12px; color: var(--mid); padding-left: var(--sp-3);
  font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}

/* ─── Problem ─── */
.problem-section { background: var(--light); }
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3); margin-bottom: var(--sp-5);
}
.problem-stat {
  padding: var(--sp-4); border-radius: var(--r-lg);
  border: 1px solid var(--border-lt); border-left: 3px solid var(--accent);
  background: white;
}
.problem-num {
  font-size: clamp(40px, 4vw, 52px); font-weight: 800; color: var(--text-lt);
  letter-spacing: -0.04em; line-height: 1; margin-bottom: var(--sp-2);
}
.problem-text { font-size: 14px; color: var(--mid); line-height: 1.75; }
.problem-context p {
  font-size: 16px; color: var(--text-lt); line-height: 1.85;
  max-width: 800px; margin-bottom: var(--sp-2);
}

/* ─── Who ─── */
.who-section { background: white; }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.who-card {
  padding: var(--sp-4); border-radius: var(--r-lg);
  border: 1px solid var(--border-lt);
  transition: box-shadow var(--t-std), border-color var(--t-std);
}
.who-card:hover { box-shadow: var(--shadow-sm); border-color: rgba(200,137,42,0.25); }
.who-title { font-size: 16px; font-weight: 700; color: var(--text-lt); margin-bottom: var(--sp-1); }
.who-desc { font-size: 14px; color: var(--mid); line-height: 1.75; }

/* ─── Process ─── */
.process-section { background: var(--dark); }
.process-section .section-kicker { color: var(--accent); }
.process-section .section-title { color: var(--text-dk); }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(200,137,42,0.08);
  border: 1px solid rgba(200,137,42,0.08); border-radius: var(--r-lg); overflow: hidden;
}
.step {
  padding: var(--sp-5) var(--sp-4); background: rgba(240,235,228,0.03);
  transition: background var(--t-std);
}
.step:hover { background: rgba(240,235,228,0.055); }
.step-num {
  font-size: 9px; font-weight: 800; color: var(--accent);
  margin-bottom: var(--sp-2); letter-spacing: 0.14em; text-transform: uppercase;
}
.step-title { font-size: 16px; font-weight: 700; color: var(--text-dk); margin-bottom: var(--sp-1); }
.step-desc { font-size: 13px; color: rgba(240,235,228,0.58); line-height: 1.65; }

/* ─── Education ─── */
.education-section { background: var(--light); }
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.edu-card {
  padding: var(--sp-5) var(--sp-4); border-radius: var(--r-lg);
  border: 1px solid var(--border-lt); background: white;
  transition: box-shadow var(--t-std), border-color var(--t-std);
}
.edu-card:hover { box-shadow: var(--shadow-sm); border-color: rgba(200,137,42,0.25); }
.edu-icon {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--accent); color: var(--dark);
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-3); letter-spacing: 0.04em;
}
.edu-title { font-size: 16px; font-weight: 700; color: var(--text-lt); margin-bottom: var(--sp-1); }
.edu-desc { font-size: 14px; color: var(--mid); line-height: 1.75; }

/* ─── CTA — amber bg (unique to KDF) ─── */
.cta-section { background: var(--accent); padding: var(--sp-12) var(--sp-4); }
.cta-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: var(--sp-8); align-items: center;
}
.cta-section .section-kicker { color: rgba(16,15,14,0.65); }
.cta-title {
  font-size: clamp(22px, 2.8vw, 34px); font-weight: 300; letter-spacing: -0.02em;
  color: var(--dark); margin-bottom: var(--sp-2); line-height: 1.18;
}
.cta-title strong { font-weight: 700; }
.cta-copy { font-size: 15px; color: rgba(16,15,14,0.88); line-height: 1.75; max-width: 480px; }
.cta-actions { display: flex; flex-direction: column; gap: var(--sp-2); align-items: flex-end; }
.btn-amber {
  display: inline-block; background: var(--dark); color: var(--text-dk);
  padding: 14px 28px; font-size: 13px; font-weight: 700;
  border-radius: var(--r-md); text-decoration: none;
  white-space: nowrap; transition: opacity var(--t-fast);
}
.btn-amber:hover { opacity: 0.85; }
.btn-ghost {
  display: inline-block; background: transparent; color: rgba(16,15,14,0.65);
  padding: 14px 28px; font-size: 13px; font-weight: 500;
  border-radius: var(--r-md); text-decoration: none;
  border: 1.5px solid rgba(16,15,14,0.22); white-space: nowrap;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.btn-ghost:hover { border-color: var(--dark); color: var(--dark); }

/* ─── Footer unique elements ─── */
footer { background: var(--dark); }
.footer-inner { border-bottom-color: var(--border-dk); }
.footer-brand { color: var(--text-dk); }
.footer-mark {
  display: inline-block; background: var(--accent); color: var(--dark);
  font-size: 10px; font-weight: 800; padding: 3px 6px; border-radius: 3px; letter-spacing: 0.04em;
}
.footer-tagline { display: block; font-size: 12px; color: rgba(240,235,228,0.55); margin-top: 5px; }
.footer-links a { color: rgba(240,235,228,0.55); }
.footer-links a:hover { color: var(--text-dk); }
.footer-copy { color: rgba(240,235,228,0.55); }
.footer-crisis {
  max-width: var(--max); margin: var(--sp-3) auto 0;
  font-size: 12px; color: rgba(240,235,228,0.55); line-height: 1.5;
}
.footer-crisis strong { color: rgba(240,235,228,0.55); }

/* ─── Blog / Page hero ─── */
.page-hero { background: var(--dark); padding: var(--sp-10) var(--sp-4) var(--sp-9); }
.page-hero-inner { max-width: var(--max); margin: 0 auto; }
.page-hero .hero-kicker { color: var(--accent); }
.page-headline {
  font-size: clamp(26px, 3.8vw, 46px); font-weight: 300; letter-spacing: -0.022em;
  color: var(--text-dk); line-height: 1.1; max-width: 760px;
}
.page-headline strong { font-weight: 700; }
.blog-section { background: var(--light); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.blog-card {
  background: white; border-radius: var(--r-lg); border: 1px solid var(--border-lt);
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: box-shadow var(--t-std), border-color var(--t-std), transform var(--t-std);
}
.blog-card:hover { box-shadow: var(--shadow-md); border-color: rgba(200,137,42,0.2); transform: translateY(-2px); }
.blog-card-body { padding: var(--sp-4) var(--sp-3); flex: 1; display: flex; flex-direction: column; gap: var(--sp-1); }
.blog-card-cat {
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--accent);
}
.blog-card-title { font-size: 17px; font-weight: 600; color: var(--text-lt); line-height: 1.3; }
.blog-card-excerpt { font-size: 14px; color: var(--mid); line-height: 1.65; flex: 1; }
.blog-card-meta {
  font-size: 11px; color: var(--mid); padding: var(--sp-2) var(--sp-3);
  border-top: 1px solid var(--border-lt); letter-spacing: 0.03em;
}

/* ─── Post ─── */
.post-hero { background: var(--dark); padding: var(--sp-10) var(--sp-4) var(--sp-8); }
.post-hero-inner { max-width: 760px; margin: 0 auto; }
.post-meta { font-size: 11px; letter-spacing: 0.05em; color: rgba(240,235,228,0.55); margin-bottom: var(--sp-2); }
.post-title {
  font-size: clamp(26px, 3.8vw, 44px); font-weight: 700; letter-spacing: -0.022em;
  color: var(--text-dk); line-height: 1.1; margin-bottom: var(--sp-3);
}
.post-deck { font-size: 17px; color: rgba(240,235,228,0.56); line-height: 1.65; font-weight: 300; }
.post-body { background: var(--light); padding: var(--sp-9) var(--sp-4); }
.post-content { max-width: 760px; margin: 0 auto; }
.post-content h2 {
  font-size: 22px; font-weight: 700; margin: var(--sp-6) 0 var(--sp-2);
  color: var(--text-lt); letter-spacing: -0.015em;
}
.post-content h3 { font-size: 18px; font-weight: 600; margin: var(--sp-5) 0 var(--sp-1); color: var(--text-lt); }
.post-content p { font-size: 16px; line-height: 1.85; color: var(--text-lt); margin-bottom: var(--sp-3); }
.post-content ul, .post-content ol { margin: 0 0 var(--sp-3) var(--sp-3); }
.post-content li { font-size: 16px; line-height: 1.8; color: var(--text-lt); margin-bottom: var(--sp-1); }
.post-content blockquote {
  border-left: 2px solid var(--accent); padding-left: var(--sp-3);
  margin: var(--sp-5) 0; font-style: italic; color: var(--mid); font-size: 18px; line-height: 1.65;
}
.post-nav { padding: var(--sp-6) var(--sp-4); border-top: 1px solid var(--border-lt); background: var(--light); }
.post-nav-inner { max-width: 760px; margin: 0 auto; }
.post-nav a { font-size: 13px; color: var(--accent); text-decoration: none; font-weight: 700; letter-spacing: 0.01em; }
.post-nav a:hover { opacity: 0.7; }

/* ─── About page ─── */
.story-section { background: var(--light); }
.story-block { max-width: 760px; }
.story-block p { font-size: 17px; line-height: 1.9; color: var(--text-lt); margin-bottom: var(--sp-3); }
.story-em {
  font-size: 19px; font-weight: 300; font-style: italic;
  color: var(--text-lt); margin: var(--sp-5) 0; line-height: 1.55;
  border-left: 2px solid var(--accent); padding-left: var(--sp-3);
}
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); margin-top: var(--sp-5); }
.value-card {
  padding: var(--sp-4); border-radius: var(--r-lg);
  border: 1px solid var(--border-lt); background: white;
  transition: border-color var(--t-std);
}
.value-card:hover { border-color: rgba(200,137,42,0.25); }
.value-title { font-size: 15px; font-weight: 700; color: var(--text-lt); margin-bottom: var(--sp-1); }
.value-desc { font-size: 14px; color: var(--mid); line-height: 1.75; }

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .data-inner { grid-template-columns: 1fr; }
  .data-item {
    border-right: none; border-bottom: 1px solid rgba(200,137,42,0.09);
    padding: var(--sp-8) var(--sp-5);
  }
  .data-item:last-child { border-bottom: none; }
  .data-item::before { left: var(--sp-5); right: var(--sp-5); }
  .programs-grid, .who-grid, .edu-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .mission-split { grid-template-columns: 1fr; gap: var(--sp-5); }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .programs-grid, .who-grid, .edu-grid,
  .process-steps, .problem-grid,
  .values-grid, .blog-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-inner { padding: var(--sp-8) var(--sp-3); }
  .page-hero, .post-hero { padding: var(--sp-8) var(--sp-3); }
}
