/* ===== DESIGN TOKENS ===== */
:root {
  /* Colors */
  --dark-bg: #1A1A1F;
  --dark-surface: #22222A;
  --red-accent: #D42B2B;
  --red-hover: #B81E1E;
  --red-light: #FCEAEA;
  --light-bg: #F8F7F5;
  --white: #FFFFFF;
  --text-dark: #1A1A1F;
  --text-light: #F0F0F0;
  --text-muted: #5A5A65;
  --text-faint: #8A8A95;
  --border-color: #E0DFD8;

  /* Typography */
  --font-display: 'Cabinet Grotesk', sans-serif;
  --font-body: 'General Sans', sans-serif;
  --font-serif: 'Instrument Serif', serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Radius */
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--light-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-interactive);
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ===== UTILITY ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--wide {
  max-width: 1400px;
}

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

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 26, 31, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.header--scrolled {
  background: rgba(26, 26, 31, 0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
  z-index: 101;
}

.header__logo svg {
  flex-shrink: 0;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header__nav a {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity var(--transition-interactive), color var(--transition-interactive);
  white-space: nowrap;
}

.header__nav a:hover,
.header__nav a.active {
  opacity: 1;
  color: var(--red-accent);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  z-index: 101;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-light);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
  margin: 3px 0;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 31, 0.98);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
}

.mobile-menu a {
  color: var(--text-light);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  opacity: 0.8;
  transition: opacity var(--transition-interactive), color var(--transition-interactive);
}

.mobile-menu a:hover {
  opacity: 1;
  color: var(--red-accent);
}

@media (max-width: 768px) {
  .header__nav { display: none; }
  .burger { display: flex; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background var(--transition-interactive),
              color var(--transition-interactive),
              border-color var(--transition-interactive),
              transform var(--transition-interactive),
              box-shadow var(--transition-interactive);
  white-space: nowrap;
  min-height: 44px;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--red-accent);
  color: var(--white);
  border: 2px solid var(--red-accent);
}

.btn--primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn--outline-dark {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border-color);
}

.btn--outline-dark:hover {
  border-color: var(--red-accent);
  color: var(--red-accent);
}

.btn--ghost {
  background: transparent;
  color: var(--red-accent);
  border: 2px solid transparent;
  padding: 12px 16px;
}

.btn--ghost:hover {
  background: var(--red-light);
}

/* ===== SECTION UTILITIES ===== */
.section {
  padding: clamp(48px, 8vw, 96px) 0;
}

.section--dark {
  background: var(--dark-bg);
  color: var(--text-light);
}

.section--light {
  background: var(--light-bg);
  color: var(--text-dark);
}

.section__header {
  margin-bottom: var(--space-2xl);
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-accent);
  margin-bottom: var(--space-md);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.section__subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
}

.section--dark .section__subtitle {
  color: var(--text-faint);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-bg);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,26,31,0.6) 0%,
    rgba(26,26,31,0.75) 50%,
    rgba(26,26,31,0.9) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  max-width: 800px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 6vw, 64px);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.hero__slogan {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--red-accent);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  min-height: 1.5em;
}

.hero__slogan .word {
  display: inline-block;
  opacity: 0;
  animation: sloganFadeIn 0.6s var(--ease-out) forwards;
}

.hero__slogan .word:nth-child(1) { animation-delay: 0.8s; }
.hero__slogan .word:nth-child(2) { animation-delay: 1.4s; }
.hero__slogan .word:nth-child(3) { animation-delay: 2.0s; }

@keyframes sloganFadeIn {
  from { opacity: 0; filter: blur(4px); }
  to { opacity: 1; filter: blur(0); }
}

.hero__desc {
  font-size: 16px;
  color: rgba(240,240,240,0.7);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(240,240,240,0.4);
  font-size: 12px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SLOGAN DIVIDERS ===== */
.slogan-divider {
  padding: var(--space-3xl) 0;
  text-align: center;
  overflow: hidden;
}

.slogan-divider__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(60px, 12vw, 140px);
  color: var(--text-dark);
  opacity: 0.06;
  line-height: 1;
  letter-spacing: 0.04em;
  user-select: none;
}

.section--dark .slogan-divider__text,
.slogan-divider--dark .slogan-divider__text {
  color: var(--text-light);
  opacity: 0.06;
}

/* ===== TABS ===== */
.tabs {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.tabs::-webkit-scrollbar { display: none; }

.tab {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color var(--transition-interactive), border-color var(--transition-interactive);
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.tab:hover {
  color: var(--text-dark);
}

.tab.active {
  color: var(--red-accent);
  border-bottom-color: var(--red-accent);
}

.section--dark .tab {
  color: var(--text-faint);
}

.section--dark .tab:hover {
  color: var(--text-light);
}

.section--dark .tab.active {
  color: var(--red-accent);
  border-bottom-color: var(--red-accent);
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.card:hover .card__image img {
  transform: scale(1.04);
}

/* Placeholder card images via CSS gradients */
.card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
}

.card__placeholder--1 { background: linear-gradient(135deg, #D42B2B 0%, #8B1A1A 100%); }
.card__placeholder--2 { background: linear-gradient(135deg, #2B5DD4 0%, #1A3B8B 100%); }
.card__placeholder--3 { background: linear-gradient(135deg, #2BD4A8 0%, #1A8B6E 100%); }
.card__placeholder--4 { background: linear-gradient(135deg, #D4A82B 0%, #8B6E1A 100%); }
.card__placeholder--5 { background: linear-gradient(135deg, #8B2BD4 0%, #5A1A8B 100%); }
.card__placeholder--6 { background: linear-gradient(135deg, #D42B6E 0%, #8B1A47 100%); }

.card__body {
  padding: var(--space-md) var(--space-md) var(--space-lg);
}

.card__badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 4px;
  background: var(--red-light);
  color: var(--red-accent);
  margin-bottom: var(--space-sm);
}

.card__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__meta {
  font-size: 13px;
  color: var(--text-muted);
}

.card__meta span + span::before {
  content: '·';
  margin: 0 6px;
  color: var(--text-faint);
}

/* Dark cards */
.card--dark {
  background: var(--dark-surface);
  color: var(--text-light);
}

.card--dark .card__meta {
  color: var(--text-faint);
}

/* ===== CARD GRID ===== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 600px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== CAROUSEL ===== */
.carousel {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-md);
}

.carousel::-webkit-scrollbar { display: none; }

.carousel__item {
  flex: 0 0 320px;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .carousel__item { flex: 0 0 380px; }
}

/* ===== LITLAB ===== */
.litlab {
  background-size: cover;
  background-position: center;
  position: relative;
}

.litlab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(248,247,245,0.92);
}

.litlab__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .litlab__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.litlab__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.5;
  color: var(--text-dark);
}

.litlab__quote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: var(--space-md);
}

/* ===== TEAM DEPARTMENTS ===== */
.departments {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .departments { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .departments { grid-template-columns: repeat(5, 1fr); }
}

.department {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background: var(--white);
  border-radius: var(--radius);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}

.department:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.department__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-light);
  border-radius: var(--radius);
  color: var(--red-accent);
}

.department__name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: var(--space-xs);
}

.department__count {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== JOIN SECTION ===== */
.join {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--red-accent) 100%);
  color: var(--text-light);
}

.join__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .join__steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  text-align: center;
}

.step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  margin: 0 auto var(--space-md);
}

.step__title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: var(--space-sm);
}

.step__desc {
  font-size: 14px;
  color: rgba(240,240,240,0.7);
  line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer__brand {
  max-width: 300px;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__brand-desc {
  font-size: 14px;
  color: var(--text-faint);
  line-height: 1.6;
}

.footer__heading {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

.footer__links a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: rgba(240,240,240,0.7);
  transition: color var(--transition-interactive);
}

.footer__links a:hover {
  color: var(--red-accent);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  color: var(--text-light);
  transition: background var(--transition-interactive), color var(--transition-interactive);
}

.footer__social a:hover {
  background: var(--red-accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 13px;
  color: var(--text-faint);
}

.footer__bottom a {
  color: var(--text-faint);
  transition: color var(--transition-interactive);
}

.footer__bottom a:hover {
  color: var(--red-accent);
}

/* ===== FEATURED CARD ===== */
.featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-2xl);
  transition: box-shadow var(--transition-interactive);
}

@media (min-width: 768px) {
  .featured { grid-template-columns: 1.2fr 1fr; }
}

.featured:hover {
  box-shadow: var(--shadow-lg);
}

.featured__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.featured__image .card__placeholder {
  height: 100%;
}

.featured__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.3;
  margin-bottom: var(--space-md);
}

.featured__excerpt {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

/* ===== JOURNAL LAYOUT ===== */
.journal-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

@media (min-width: 900px) {
  .journal-layout { grid-template-columns: 1fr 300px; }
}

.sidebar__section {
  margin-bottom: var(--space-xl);
}

.sidebar__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--red-accent);
}

.sidebar__article {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-color);
}

.sidebar__article:last-child {
  border-bottom: none;
}

.sidebar__article-title {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 4px;
  cursor: pointer;
  transition: color var(--transition-interactive);
}

.sidebar__article-title:hover {
  color: var(--red-accent);
}

.sidebar__article-meta {
  font-size: 12px;
  color: var(--text-faint);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.tag {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  cursor: pointer;
  transition: background var(--transition-interactive), border-color var(--transition-interactive), color var(--transition-interactive);
}

.tag:hover {
  border-color: var(--red-accent);
  color: var(--red-accent);
}

/* ===== VIDEO PAGE ===== */
.video-featured {
  aspect-ratio: 16/9;
  max-width: 900px;
  margin: 0 auto var(--space-2xl);
  background: var(--dark-surface);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.video-featured__play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--red-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: transform var(--transition-interactive), background var(--transition-interactive);
  z-index: 2;
}

.video-featured__play:hover {
  transform: scale(1.1);
  background: var(--red-hover);
}

.video-row {
  margin-bottom: var(--space-2xl);
}

.video-row__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: var(--space-lg);
  color: var(--text-light);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--dark-surface);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity var(--transition-interactive);
}

.video-thumb:hover::after {
  opacity: 1;
}

.video-thumb__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212,43,43,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  z-index: 2;
  opacity: 0;
  transition: opacity var(--transition-interactive);
}

.video-thumb:hover .video-thumb__play {
  opacity: 1;
}

.video-thumb__title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  z-index: 2;
}

/* ===== PODCAST PAGE ===== */
.audio-player {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.audio-player__controls {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.audio-player__play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red-accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition-interactive), transform var(--transition-interactive);
}

.audio-player__play-btn:hover {
  background: var(--red-hover);
  transform: scale(1.05);
}

.audio-player__progress {
  flex: 1;
  height: 4px;
  background: var(--border-color);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.audio-player__progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 35%;
  background: var(--red-accent);
  border-radius: 2px;
}

.audio-player__time {
  font-size: 13px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.series-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 600px) {
  .series-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .series-grid { grid-template-columns: repeat(3, 1fr); }
}

.series-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}

.series-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.series-card__image {
  aspect-ratio: 1;
  overflow: hidden;
}

.series-card__body {
  padding: var(--space-md);
}

.series-card__title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: var(--space-xs);
}

.series-card__meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* Episodes table */
.episodes-table {
  width: 100%;
  border-collapse: collapse;
}

.episodes-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  padding: var(--space-md) var(--space-sm);
  border-bottom: 2px solid var(--border-color);
}

.episodes-table td {
  padding: var(--space-md) var(--space-sm);
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  vertical-align: middle;
}

.episodes-table tr:hover td {
  background: rgba(212,43,43,0.03);
}

.episodes-table .ep-number {
  font-weight: 700;
  color: var(--red-accent);
  font-variant-numeric: tabular-nums;
}

.episodes-table .ep-duration {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.episodes-table .ep-date {
  color: var(--text-faint);
}

.episodes-table .ep-listen .btn {
  padding: 6px 16px;
  font-size: 13px;
}

@media (max-width: 600px) {
  .episodes-table thead { display: none; }
  .episodes-table tr {
    display: flex;
    flex-wrap: wrap;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-color);
    gap: var(--space-sm);
    align-items: center;
  }
  .episodes-table td {
    border: none;
    padding: 2px var(--space-sm);
  }
  .episodes-table .ep-title { flex: 1 0 100%; font-weight: 600; }
  .episodes-table .ep-listen { margin-left: auto; }
}

/* ===== ABOUT PAGE ===== */
.about-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-bg);
  overflow: hidden;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
}

.about-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,26,31,0.5) 0%,
    rgba(26,26,31,0.8) 100%
  );
}

.about-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-4xl) var(--space-lg) var(--space-3xl);
}

.mission {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.mission p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
}

.mission p + p {
  margin-top: var(--space-md);
}

/* Structure diagram */
.structure {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .structure { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .structure { grid-template-columns: repeat(5, 1fr); }
}

.structure__item {
  text-align: center;
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  position: relative;
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.structure__item:hover {
  border-color: var(--red-accent);
  box-shadow: var(--shadow-md);
}

.structure__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-light);
  border-radius: 50%;
  color: var(--red-accent);
}

.structure__name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: var(--space-xs);
}

.structure__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Team member cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

@media (min-width: 600px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); }
}

.member {
  text-align: center;
}

.member__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}

.member__name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 2px;
}

.member__role {
  font-size: 13px;
  color: var(--text-muted);
}

.member__class {
  font-size: 12px;
  color: var(--text-faint);
}

/* Documents table */
.docs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}

.docs-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  padding: var(--space-md);
  background: var(--light-bg);
  border-bottom: 2px solid var(--border-color);
}

.docs-table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.docs-table tr:last-child td { border-bottom: none; }

/* Timeline */
.timeline {
  position: relative;
  padding-left: var(--space-xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline__item {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-xl) + 4px);
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red-accent);
  border: 2px solid var(--white);
}

.timeline__year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--red-accent);
  margin-bottom: var(--space-xs);
}

.timeline__text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== PAGE HEADER (internal pages) ===== */
.page-header {
  padding: calc(64px + var(--space-3xl)) 0 var(--space-2xl);
}

.page-header--dark {
  background: var(--dark-bg);
  color: var(--text-light);
}

.page-header--light {
  background: var(--light-bg);
  color: var(--text-dark);
}

.page-header__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.page-header__subtitle {
  font-size: 17px;
  opacity: 0.7;
  max-width: 600px;
  line-height: 1.5;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 1;
}

@supports (animation-timeline: view()) {
  .reveal {
    opacity: 0;
    animation: revealFade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}

@keyframes revealFade {
  to { opacity: 1; }
}

.reveal-clip {
  opacity: 1;
}

@supports (animation-timeline: view()) {
  .reveal-clip {
    clip-path: inset(100% 0 0 0);
    animation: revealClip linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 50%;
  }
}

@keyframes revealClip {
  to { clip-path: inset(0 0 0 0); }
}

/* ===== PREFERS REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ===== SOCIAL BAR ===== */
.social-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-2xl) 0;
}

.social-bar a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-interactive);
}

.social-bar a:hover {
  color: var(--red-accent);
}

/* ===== LOAD MORE ===== */
.load-more {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* ===== QUOTE BLOCK (join section) ===== */
.quote-block {
  max-width: 600px;
  margin: var(--space-2xl) auto 0;
  text-align: center;
}

.quote-block__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: var(--space-md);
}

.quote-block__author {
  font-size: 14px;
  opacity: 0.6;
}
