/* =====================================
   SOLOSTACK — THEME CSS
   ===================================== */

/* -- Reset & Base -- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: #faf8f4;
  color: #1a1a1a;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* -- Typography -- */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* -- Colour Tokens -- */
:root {
  --bg:          #faf8f4;
  --bg-alt:      #f3f0e8;
  --bg-dark:     #1a1a1a;
  --text:        #1a1a1a;
  --text-muted:  #6b6560;
  --accent:      #e8611a;
  --accent-soft: #f5e8de;
  --amber:       #c97a1a;
  --warm-light:  #f7f1e8;
  --border:      rgba(26,26,26,0.1);
}

/* -- Layout helpers -- */
.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-headline {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 40px;
}

/* =====================================
   NAVBAR
   ===================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-tagline {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* =====================================
   HERO
   ===================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 80vh;
  background: radial-gradient(ellipse at center, rgba(232, 97, 26, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(48px, 7vw, 88px);
  margin-bottom: 24px;
  color: var(--text);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 460px;
}

/* Hero card */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 380px;
  background: var(--bg-dark);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 24px 80px rgba(26, 26, 26, 0.15), 0 0 0 1px rgba(255,255,255,0.05) inset;
}

.card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #555;
  flex-shrink: 0;
}
.card-dot--orange { background: var(--accent); }
.card-dot--amber  { background: var(--amber); }
.card-dot--warm   { background: #c9a96e; }

.card-line {
  height: 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  width: 100%;
}
.card-line--title { height: 18px; background: rgba(255,255,255,0.14); width: 70%; }
.card-line--short { width: 55%; }
.card-line--pill  { width: 60%; }

.card-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 8px 0;
}

.card-label-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hero tags */
.hero-tags {
  max-width: 1160px;
  margin: 64px auto 0;
  padding: 0 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: white;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* =====================================
   THE STACK
   ===================================== */
.stack-section {
  padding: 120px 0;
  background: var(--bg-alt);
  position: relative;
}

.stack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.stack-card {
  background: var(--bg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.stack-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.stack-card:hover::after {
  transform: scaleX(1);
}

.stack-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 20px;
}

.stack-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.stack-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =====================================
   THE CHANNEL
   ===================================== */
.channel-section {
  padding: 120px 0;
}

.channel-left {
  max-width: 480px;
}

.channel-left .section-headline {
  margin-bottom: 24px;
}

.channel-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.section-inner > .channel-left + .channel-right {
  margin-top: 0;
}

/* Override: we use a two-col layout inside section-inner */
.channel-section .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Video list */
.video-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.video-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: white;
  transition: all 0.2s ease;
  cursor: default;
}

.video-item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.video-thumb {
  width: 72px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--accent-soft) 100%);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.video-thumb::after {
  content: '▶';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--accent);
  opacity: 0.6;
}

.video-category {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}

.video-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
}

/* =====================================
   FOUNDER
   ===================================== */
.founder-section {
  padding: 120px 0;
  background: var(--bg-dark);
}

.founder-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
}

.founder-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.founder-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-initial {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: white;
}

.founder-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: white;
}

.founder-role {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

.founder-cred {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  margin-top: 8px;
}

.founder-quote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: white;
  line-height: 1.5;
  letter-spacing: -0.01em;
  font-style: normal;
}

/* =====================================
   MANIFESTO
   ===================================== */
.manifesto-section {
  padding: 140px 0;
  text-align: center;
  position: relative;
}

.manifesto-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--accent));
}

.manifesto-headline {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 32px;
}

.manifesto-body {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 20px;
}

.manifesto-pill-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.mpill {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: white;
}

.mpill-sep {
  color: var(--text-muted);
  font-weight: 300;
}

/* =====================================
   FOOTER
   ===================================== */
.site-footer {
  padding: 80px 0 48px;
  border-top: 1px solid var(--border);
}

.footer-top {
  margin-bottom: 48px;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.footer-mission {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 340px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

/* =====================================
   RESPONSIVE
   ===================================== */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    order: -1;
  }
  .hero-card {
    max-width: 100%;
  }
  .stack-grid {
    grid-template-columns: 1fr;
  }
  .channel-section .section-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .founder-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .section-inner, .hero-inner, .hero-tags {
    padding-left: 20px;
    padding-right: 20px;
  }
  .navbar {
    padding: 0 20px;
  }
  .stack-card {
    padding: 32px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 100px;
  }
  .hero-tags {
    gap: 8px;
  }
  .tag {
    font-size: 11px;
    padding: 5px 10px;
  }
}