/* ==========================================================================
   Die Well Media — shared stylesheet
   Dark theme, sharp serif headings. Edit colors/fonts once here,
   every page updates.
   ========================================================================== */

:root {
  --bg-top: #17140f;
  --bg-bottom: #060605;
  --panel: #141210;
  --ink: #f2ede2;
  --muted: #9c9184;
  --line: #2b2721;
  --accent: #ffffff;
  --accent-soft: rgba(255, 255, 255, 0.06);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --max: 900px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 55%);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 13, 10, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-links a.active {
  font-weight: 700;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  font-weight: 600;
  font-size: 0.94rem;
  transition: 160ms ease;
}

.button:hover { transform: translateY(-1px); }

.button-primary {
  background: var(--accent);
  color: #14110a;
  border-color: var(--accent);
}

.button-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-art {
  width: 220px;
  height: 220px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy { flex: 1 1 320px; }

h1, h2, h3 {
  margin: 0;
  line-height: 1.1;
}

h1, h2, h3 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  margin-bottom: 0.7rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.03rem;
  max-width: 560px;
  margin: 0 0 1.3rem;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ---------- Home hero ---------- */

.home-hero {
  padding: 7rem 0 5rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.home-hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  margin-bottom: 0.9rem;
}

.home-hero .tagline {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--accent);
  margin: 0;
}

/* ---------- About section ---------- */

.about-section {
  padding: 4rem 0;
}

.about-inner {
  max-width: 680px;
  margin: 0 auto;
}

.about-inner p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.2rem;
}

.about-inner a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-inner a:hover {
  color: var(--accent);
}

.about-signature {
  color: var(--ink) !important;
  margin-top: 2rem !important;
}

.about-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ---------- Founders ---------- */

.founders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 680px;
  margin: 0 auto;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 2.4rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.founder p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  text-align: left;
}

.founder p + p {
  margin-top: 0.7rem;
}

.founder-bio summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.founder-bio summary::-webkit-details-marker {
  display: none;
}

.founder-bio summary::after {
  content: "+";
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 400;
}

.founder-bio[open] summary::after {
  content: "\2212";
}

.founder-bio-content {
  margin-top: 0.9rem;
}

/* ---------- Sections ---------- */

.section {
  padding: 3rem 0;
}

.section-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* ---------- Episodes ---------- */

.episode-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.episode {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.episode-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.episode-head h3 {
  font-size: 1.25rem;
}

.episode-meta {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}

.episode p {
  color: var(--muted);
  margin: 0 0 1.1rem;
  font-size: 0.96rem;
}

audio {
  width: 100%;
  height: 40px;
  filter: invert(0.9) sepia(0.15) saturate(1.5) hue-rotate(360deg);
  border-radius: 999px;
}

/* ---------- Video embed ---------- */

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.video-placeholder-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Video grid (individual video cards) ---------- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.video-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.video-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card h3 {
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */

footer {
  padding: 2.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  .nav-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-art {
    width: 160px;
    height: 160px;
  }

  .episode-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .founders {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }
}
