﻿:root {
  --bg: #0b0b0d;
  --panel: #15161b;
  --ink: #f5f0e6;
  --muted: #b9b1a4;
  --accent: #f05a28;
  --accent-2: #20c997;
  --stroke: #2b2c33;
  --shadow: rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(240, 90, 40, 0.12), transparent 45%),
              radial-gradient(circle at 80% 10%, rgba(32, 201, 151, 0.12), transparent 40%),
              var(--bg);
  color: var(--ink);
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem 0;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

p {
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

code {
  font-family: "Space Grotesk", monospace;
  background: rgba(240, 90, 40, 0.12);
  color: var(--ink);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.7rem;
  color: var(--accent-2);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.1rem;
  max-width: 520px;
}

.muted {
  color: var(--muted);
}

.hero {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  padding: 4rem clamp(1.5rem, 6vw, 6rem);
  position: relative;
}

.hero__panel {
  display: grid;
  gap: 1.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
}

.btn {
  background: var(--accent);
  color: #0b0b0d;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 30px rgba(240, 90, 40, 0.25);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(240, 90, 40, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--stroke);
  box-shadow: none;
}

.hero__stats {
  display: flex;
  gap: 2rem;
  border-top: 1px solid var(--stroke);
  padding-top: 1.5rem;
}

.hero__stats span {
  font-size: 1.6rem;
  display: block;
}

.hero__stats small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.6rem;
}

.featured {
  background: var(--panel);
  border: 1px solid var(--stroke);
  padding: 1.8rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px var(--shadow);
}

.featured audio {
  width: 100%;
  margin-top: 1rem;
}

.featured__meta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-2);
}

.callout {
  background: linear-gradient(135deg, rgba(240, 90, 40, 0.12), rgba(32, 201, 151, 0.12));
  border-radius: 18px;
  padding: 1.6rem;
  border: 1px solid var(--stroke);
}

.section {
  padding: 3.5rem clamp(1.5rem, 6vw, 6rem);
}

.section--dark {
  background: #101115;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.section__head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
}

.card {
  background: var(--panel);
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid var(--stroke);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(240, 90, 40, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::after {
  opacity: 1;
}

.card h3 {
  font-size: 1.6rem;
}

.card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--stroke);
}

.card audio {
  width: 100%;
}

.card .tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.65rem;
  color: var(--accent-2);
}

.card button {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--stroke);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.timeline {
  display: grid;
  gap: 1.5rem;
}

.timeline__item {
  border-left: 2px solid var(--accent);
  padding-left: 1.5rem;
}

.timeline__item h3 {
  margin-bottom: 0.4rem;
}

.howto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.builder {
  display: grid;
  gap: 1.5rem;
}

.builder__form {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 40px var(--shadow);
}

.builder__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.builder label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.builder input,
.builder textarea {
  background: #0f1014;
  color: var(--ink);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
}

.builder textarea {
  min-height: 120px;
  resize: vertical;
}

.builder__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0;
}

.builder__actions button {
  background: var(--accent);
  color: #0b0b0d;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
}

.builder__actions button:nth-child(2),
.builder__actions button:nth-child(3),
.builder__actions button:nth-child(4) {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--stroke);
}

.status {
  font-size: 0.85rem;
  color: var(--accent-2);
}

.article {
  background: var(--panel);
  border: 1px solid var(--stroke);
  padding: 2rem;
  border-radius: 20px;
  max-width: 820px;
  box-shadow: 0 20px 40px var(--shadow);
}

.article h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer {
  padding: 2.5rem;
  text-align: center;
  border-top: 1px solid var(--stroke);
  color: var(--muted);
}

.drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 10;
}

.drawer.open {
  display: flex;
}

.drawer__content {
  background: var(--panel);
  border-radius: 20px;
  padding: 2rem;
  max-width: 640px;
  width: 100%;
  border: 1px solid var(--stroke);
  box-shadow: 0 30px 60px var(--shadow);
}

.embed {
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--stroke);
}

.embed iframe {
  display: block;
  width: 100%;
}

.watch-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

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

.drawer__close {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--stroke);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  float: right;
}

.grain {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0.6;
  z-index: 0;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
