/* The Ember — shared styles */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

@font-face {
  font-family: 'The Seasons';
  src: url('../fonts/seasons-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'The Seasons';
  src: url('../fonts/seasons-light-italic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'The Seasons';
  src: url('../fonts/seasons-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'The Seasons';
  src: url('../fonts/seasons-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'The Seasons';
  src: url('../fonts/seasons-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'The Seasons';
  src: url('../fonts/seasons-bold-italic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0b0b0d;
  --bg-alt: #131316;
  --ink: #f4efe6;
  --ink-dim: rgba(244, 239, 230, 0.72);
  --ink-faint: rgba(244, 239, 230, 0.45);
  --line: rgba(244, 239, 230, 0.14);
  --ember-1: #f6c453;
  --ember-2: #ef7d2c;
  --ember-3: #d94f1e;
  --serif: 'The Seasons', 'Playfair Display', 'Iowan Old Style', Georgia, serif;
  --baskerville: 'Libre Baskerville', Baskerville, 'Baskerville Old Face', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.01em;
}

.ember-text {
  background: linear-gradient(90deg, var(--ember-1), var(--ember-2) 55%, var(--ember-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 30px 0 0;
  transition: background-color 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
}

.site-nav.is-static {
  border-bottom: 1px solid var(--line);
  padding: 30px 0 24px;
  background: var(--bg);
}

.site-nav.is-scrolled {
  padding: 16px 0;
  background: rgba(11, 11, 13, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  flex: 1;
}

.nav-links a {
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  opacity: 0.85;
  transition: opacity 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  border-color: var(--ember-2);
}

.nav-logo {
  flex: 1;
  text-align: center;
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-social {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.nav-social a { opacity: 0.85; transition: opacity 0.2s; }
.nav-social a:hover { opacity: 1; }
.nav-social svg { width: 20px; height: 20px; }

.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 6px;
}

@media (max-width: 780px) {
  .nav-row { flex-wrap: wrap; }
  .nav-links {
    display: none;
    order: 4;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    padding-top: 20px;
    text-align: center;
  }
  .nav-links.is-open {
    display: flex;
    background: rgba(10, 9, 8, 0.72);
    backdrop-filter: blur(6px);
    border-radius: 8px;
    padding: 22px 16px;
    margin-top: 10px;
  }
  .nav-logo { flex: none; margin: 0 auto; }
  .nav-social { flex: none; }
  .nav-burger { display: block; flex: none; order: 3; }
  .wrap.nav-row { padding: 0 20px; }
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #000;
}

.hero video,
.hero .hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.12) 32%, rgba(0,0,0,0.28) 68%, rgba(0,0,0,0.72) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 150px 24px 70px;
}

.hero-eyebrow {
  font-family: var(--baskerville);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(22px, 3.6vw, 32px);
  margin-bottom: 8px;
  color: var(--ink-dim);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(48px, 9vw, 110px);
  line-height: 1.02;
  margin-bottom: 28px;
}

.hero-rule {
  width: 90px;
  height: 1px;
  background: var(--ink-faint);
  margin: 0 auto 28px;
}

.btn-ember {
  display: inline-block;
  font-family: var(--baskerville);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 19px;
  letter-spacing: 0.14em;
  padding: 16px 56px;
  background: linear-gradient(90deg, var(--ember-1), var(--ember-2));
  color: #1a0f04;
  border-radius: 2px;
  box-shadow: 0 12px 30px -10px rgba(239, 125, 44, 0.6);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-ember:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px rgba(239, 125, 44, 0.75);
}

.hero-platforms {
  margin-top: 46px;
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}

.platform-badge {
  display: flex;
  align-items: center;
  opacity: 0.95;
  transition: opacity 0.2s, transform 0.2s;
}

.platform-badge:hover { opacity: 1; transform: translateY(-1px); }
.platform-badge img { height: 26px; width: auto; }

/* ---------- Section shells ---------- */

.section {
  padding: 110px 0;
}

.section-tight { padding: 70px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head .kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: var(--ember-1);
  margin-bottom: 14px;
  display: block;
}

.section-head h2 {
  font-size: clamp(32px, 5vw, 46px);
}

.section-head p {
  color: var(--ink-dim);
  margin-top: 18px;
}

.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---------- Episode cards ---------- */

.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 40px;
}

@media (max-width: 860px) {
  .episode-grid { grid-template-columns: 1fr; }
}

.episode-card { display: flex; flex-direction: column; }

.episode-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-alt);
  border-radius: 4px;
}

.episode-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.episode-card:hover .episode-thumb img { transform: scale(1.045); }

.episode-thumb .play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
  background: rgba(0,0,0,0.25);
}

.episode-card:hover .play-badge { opacity: 1; }

.play-badge svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.5));
}

.episode-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember-1);
  margin: 22px 0 6px;
}

.episode-card h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

.episode-card p {
  color: var(--ink-dim);
  font-size: 15px;
  margin: 0 0 18px;
}

.episode-links {
  display: flex;
  gap: 14px;
  margin-top: auto;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.03em;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.2s, background 0.2s;
}

.pill-link:hover { border-color: var(--ember-2); background: rgba(239,125,44,0.08); }
.pill-link svg { width: 16px; height: 16px; }

.filter-row {
  display: flex;
  gap: 28px;
  justify-content: center;
  margin-bottom: 64px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-row button {
  background: none;
  border: none;
  color: var(--ink-faint);
  cursor: pointer;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  font-family: var(--sans);
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  transition: color 0.2s, border-color 0.2s;
}

.filter-row button.active,
.filter-row button:hover { color: var(--ink); border-color: var(--ember-2); }

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  align-items: stretch;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 64px 80px;
}

.about-copy h1 {
  font-size: clamp(38px, 5vw, 56px);
  margin-bottom: 36px;
}

.about-copy p {
  color: var(--ink-dim);
  margin: 0 0 22px;
  font-size: 16px;
}

.about-copy p strong { color: var(--ink); font-weight: 500; }

.about-photo {
  position: relative;
  min-height: 420px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 15% 25%;
  position: absolute;
  inset: 0;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
  padding-top: 160px;
  padding-bottom: 100px;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; padding-top: 130px; }
}

.contact-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
}

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

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
}

.field { margin-bottom: 24px; }

.field label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  color: var(--ink-dim);
}

.field label .req { color: var(--ember-1); font-size: 11px; text-transform: none; margin-left: 4px; }

.field input,
.field textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 13px 14px;
  font-family: var(--sans);
  font-size: 15px;
  border-radius: 2px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ember-2);
}

.field textarea { min-height: 140px; resize: vertical; }

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--ink-dim);
}

.checkbox-row input { width: 16px; height: 16px; }

.btn-submit {
  background: var(--ink);
  color: #14100b;
  border: none;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.04em;
  padding: 14px 38px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-submit:hover { background: var(--ember-1); transform: translateY(-1px); }

.form-status { margin-top: 18px; font-size: 14px; color: var(--ember-1); display: none; }
.form-status.is-visible { display: block; }

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 70px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
}

.footer-col h4 {
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-col a,
.footer-col p {
  display: block;
  color: var(--ink-dim);
  margin-bottom: 10px;
  font-size: 15px;
}

.footer-col a:hover { color: var(--ember-1); }

.footer-col.align-right { text-align: right; }

@media (max-width: 700px) {
  .footer-col.align-right { text-align: left; }
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-faint);
  text-align: center;
}

/* ---------- Simple page hero (non-home) ---------- */

.page-hero {
  padding: 170px 0 60px;
  text-align: center;
}

.page-hero h1 { font-size: clamp(38px, 6vw, 60px); }
