/* — Variables — */
:root {
  --bg: #0d0d0f;
  --bg-raised: #131316;
  --bg-card: #1a1a1f;
  --bg-card-hover: #1f1f26;
  --fg: #f0ede8;
  --fg-muted: #8a8680;
  --fg-dim: #5a5650;
  --accent: #ff6b35;
  --accent-soft: #ff6b3518;
  --accent-glow: #ff6b3540;
  --border: #2a2a30;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* — Reset — */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--bg); color: var(--fg); font-family: var(--font-body); font-weight: 400; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
n { display: inline; }

/* — Nav — */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 clamp(24px, 5vw, 64px);
  height: 64px;
  display: flex; align-items: center;
  background: #0d0d0fcc; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: 1200px; margin: 0 auto; width: 100%; }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.nav-logo:hover { opacity: 0.8; }

/* — Hero — */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: clamp(80px, 12vh, 120px) clamp(24px, 5vw, 80px) clamp(60px, 8vh, 100px);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(120px);
}
.hero-glow-1 {
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, #ff6b3515 0%, transparent 70%);
  top: -100px; left: -100px;
}
.hero-glow-2 {
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, #ff6b350d 0%, transparent 70%);
  bottom: 0; right: 10%;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 0%, transparent 100%);
  opacity: 0.35;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 820px;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 28px;
  padding: 6px 14px; border: 1px solid #ff6b3530;
  border-radius: 100px;
}
.hero-label-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 1.0; letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  width: fit-content;
  background: #ffffff08;
}
.hero-stat {
  padding: 20px 32px;
  display: flex; flex-direction: column; align-items: center;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  color: var(--fg); letter-spacing: -0.03em;
}
.hero-stat-label {
  font-size: 0.7rem; color: var(--fg-dim);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-top: 4px; line-height: 1.4;
}
.hero-stat-div {
  width: 1px; height: 48px;
  background: var(--border);
}

/* — Section shared — */
.section-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--fg);
}

/* — Forge Session — */
.session {
  padding: clamp(80px, 10vh, 120px) clamp(24px, 5vw, 80px);
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.session-header { margin-bottom: 60px; max-width: 600px; }
.session-steps {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
  align-items: center;
  gap: 0;
  max-width: 1100px;
}
.session-step {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  transition: background 0.2s;
}
.session-step:hover { background: var(--bg-card-hover); }
.session-step-icon {
  margin-bottom: 16px;
  width: 32px; height: 32px;
  color: var(--accent);
}
.session-step-body h3 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--fg); margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.session-step-body p {
  font-size: 0.85rem; color: var(--fg-muted); line-height: 1.6;
}
.session-step-arrow {
  display: flex; justify-content: center;
  color: var(--fg-dim);
}
.session-duration { margin-top: 40px; }
.session-duration-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--fg-muted);
  padding: 8px 16px; border: 1px solid var(--border);
  border-radius: 100px;
}

/* — Modules — */
.modules {
  padding: clamp(80px, 10vh, 120px) clamp(24px, 5vw, 80px);
}
.modules-header { margin-bottom: 52px; }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
}
.module-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  transition: border-color 0.2s, background 0.2s;
  display: flex; flex-direction: column; gap: 12px;
}
.module-card:hover {
  border-color: #ff6b3540;
  background: var(--bg-card-hover);
}
.module-card-featured {
  border-color: #ff6b3550;
  background: #ff6b3508;
}
.module-card-top {
  display: flex; align-items: flex-start; gap: 14px;
}
.module-icon {
  flex-shrink: 0; color: var(--accent);
  width: 24px; height: 24px; margin-top: 2px;
}
.module-card-top h3 {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  color: var(--fg); letter-spacing: -0.01em;
  line-height: 1.3;
}
.module-card p {
  font-size: 0.85rem; color: var(--fg-muted); line-height: 1.6;
}
.module-pill {
  display: inline-block;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: #ff6b3515;
  padding: 4px 10px; border-radius: 100px;
  width: fit-content;
}

/* — Manifesto — */
.manifesto {
  padding: clamp(80px, 10vh, 120px) clamp(24px, 5vw, 80px);
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner { max-width: 820px; margin: 0 auto; }
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700; font-style: italic;
  line-height: 1.15; letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 36px;
}
.manifesto-mark { color: var(--accent); }
.manifesto-body {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--fg-muted); line-height: 1.8;
  max-width: 640px;
}

/* — Closing — */
.closing {
  padding: clamp(100px, 14vh, 160px) clamp(24px, 5vw, 80px);
  position: relative; overflow: hidden;
  text-align: center;
}
.closing::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, #ff6b3510 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}
.closing-inner { position: relative; z-index: 1; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900; line-height: 1.2; letter-spacing: -0.03em;
  color: var(--fg); margin-bottom: 28px;
}
.closing-headline em {
  font-style: italic; color: var(--accent);
}
.closing-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--fg-muted); max-width: 520px;
  margin: 0 auto; line-height: 1.7;
}

/* — Footer — */
.footer {
  padding: 40px clamp(24px, 5vw, 80px);
  border-top: 1px solid var(--border);
  background: var(--bg-raised);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: var(--fg-muted);
}
.footer-note {
  font-size: 0.8rem; color: var(--fg-dim);
}

/* — Responsive — */
@media (max-width: 900px) {
  .session-steps {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 12px;
  }
  .session-step-arrow { display: none; }
  .session-step:nth-child(2n+1) { grid-column: span 1; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .hero-stats { display: none; }
  .modules-grid { grid-template-columns: 1fr; }
  .session-steps { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}