:root {
  --ink: #0a0806;
  --ink-2: #14110d;
  --panel: #1a1610;
  --line: rgba(201, 162, 39, 0.28);
  --gold: #c9a227;
  --gold-2: #e8d5a3;
  --cream: #f3ead6;
  --muted: #b7ab95;
  --green: #1f4a38;
  --serif: "Cormorant Garamond", Georgia, serif;
  --arabic: "Amiri", "Times New Roman", serif;
  --sans: "Outfit", system-ui, sans-serif;
  --radius: 2px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  overflow-x: hidden;
}

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

button,
a {
  font-family: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.shell {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.lattice {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.045;
  background-image:
    linear-gradient(30deg, var(--gold) 1px, transparent 1px),
    linear-gradient(150deg, var(--gold) 1px, transparent 1px),
    linear-gradient(90deg, transparent 48%, var(--gold) 49%, var(--gold) 51%, transparent 52%);
  background-size: 72px 72px, 72px 72px, 72px 72px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

h2 em {
  font-style: italic;
  color: var(--gold-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: var(--gold-2);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 8, 6, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  color: var(--gold);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.brand-copy span {
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-menu a:hover {
  color: var(--gold);
}

.nav-yt {
  color: var(--gold) !important;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.nav-toggle i {
  display: block;
  width: 1.1rem;
  height: 1px;
  margin: 5px auto;
  background: var(--gold);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 4.5rem;
}

.hero-arabic {
  margin: 0 auto 2rem;
  text-align: center;
  font-family: var(--arabic);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  color: var(--gold);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 1.4rem;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
}

.hero-copy h1 span,
.hero-copy h1 em {
  display: block;
}

.hero-copy h1 em {
  margin-top: 0.35rem;
  font-size: 0.42em;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lede {
  max-width: 34rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero-stage {
  position: relative;
}

.stage-ornament {
  position: absolute;
  inset: -18px;
  border: 1px solid var(--line);
  pointer-events: none;
}

.stage-ornament::before,
.stage-ornament::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid var(--gold);
}

.stage-ornament::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.stage-ornament::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
}

.featured-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  overflow: hidden;
}

.featured-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.08);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.featured-card:hover .featured-thumb {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.12);
}

.play-seal {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--gold);
}

.play-seal svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
  z-index: 1;
}

.play-seal-ring {
  position: absolute;
  width: 86px;
  height: 86px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(10, 8, 6, 0.35);
  animation: pulse 3.2s ease-out infinite;
}

@keyframes pulse {
  50% { transform: scale(1.08); opacity: 0.7; }
}

.featured-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 3.2rem 1.2rem 1.1rem;
  background: linear-gradient(transparent, rgba(10, 8, 6, 0.92));
  text-align: left;
}

.featured-kicker {
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.featured-title {
  font-family: var(--serif);
  font-size: 1.6rem;
}

/* Ticker */
.ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  border-block: 1px solid var(--line);
  background: #100e0a;
  color: var(--gold);
}

.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.ticker-group {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-evenly;
  gap: 1.4rem;
  min-width: 100vw;
  padding: 0.85rem 0;
  box-sizing: border-box;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  letter-spacing: 0.08em;
}

.ticker i {
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}

/* Archive */
.archive {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4rem;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2rem;
}

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

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}

.filter {
  min-height: 2.4rem;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.filter.is-on,
.filter:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

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

.talk-card {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.talk-thumb-wrap {
  position: relative;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}

.talk-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.talk-card:hover .talk-thumb {
  transform: scale(1.05);
}

.talk-play {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--ink);
}

.talk-play svg {
  width: 12px;
  height: 12px;
  margin-left: 2px;
}

.talk-cat {
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.talk-card h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.55rem;
}

.talk-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.talk-card[hidden] {
  display: none;
}

/* Mission */
.mission {
  position: relative;
  z-index: 1;
  padding: 1rem 0 5rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.mission-rail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.mission-body p {
  max-width: 44rem;
  color: var(--muted);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}

.pillars li {
  padding: 1.2rem 1.1rem;
  border: 1px solid var(--line);
  background: rgba(26, 22, 16, 0.55);
  color: var(--muted);
  font-size: 0.95rem;
}

.pillars strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
}

/* Subscribe */
.subscribe {
  position: relative;
  z-index: 1;
  padding: 0 0 5.5rem;
}

.subscribe-inner {
  padding: 3.2rem 2rem;
  text-align: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(31, 74, 56, 0.35), transparent 55%),
    var(--ink-2);
}

.subscribe-inner p {
  max-width: 34rem;
  margin: 0 auto 1.6rem;
  color: var(--muted);
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 1.8rem;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.site-footer a {
  color: var(--gold);
  text-decoration: none;
}

/* Player */
.player {
  width: min(1100px, 94vw);
  padding: 0;
  border: 1px solid var(--line);
  background: #000;
  color: var(--cream);
}

.player::backdrop {
  background: rgba(6, 4, 3, 0.86);
}

.player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
}

.player-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.player-close {
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 1.6rem;
  cursor: pointer;
}

.player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

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

@media (max-width: 860px) {
  .hero-grid,
  .mission-grid,
  .talk-grid,
  .pillars {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 4.5rem;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.25rem 1.6rem;
    background: #120f0b;
    border-bottom: 1px solid var(--line);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
  }

  .mission-rail {
    flex-direction: row;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .play-seal-ring,
  .talk-thumb,
  .featured-thumb {
    animation: none;
    transition: none;
  }
}
