:root {
  color-scheme: light;
  --ink: #18212b;
  --muted: #66727f;
  --paper: #f7f8f5;
  --panel: #ffffff;
  --line: #dfe5de;
  --green: #2d7a5f;
  --green-dark: #174b3d;
  --green-mid: #2d7a5f;
  --coral: #d95f49;
  --gold: #f0bd4f;
  --blue: #2b6fa3;
  --shadow: 0 18px 50px rgba(24, 33, 43, 0.13);
  --header-height: 125px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background-image: url("resources/LJ_Logo.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: min(72vw, 720px) auto;
  opacity: 0.45;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 4px clamp(18px, 4vw, 56px);
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 14px;
  font-weight: 800;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-title {
  color: #fff;
  font-size: 1.15rem;
}

.brand-subtitle {
  color: #f0bd4f;
  font-size: 0.8rem;
  font-weight: 600;
}

.medals {
  display: flex;
  align-items: center;
  gap: 6px;
}

.medal {
  height: 117px;
  width: auto;
}


.brand-mark {
  display: block;
  height: 117px;
  width: auto;
}

.nav {
  gap: clamp(12px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.nav a {
  transition: color 160ms ease;
}

.nav a:hover {
  color: #fff;
}

.nav-action {
  color: #fff;
  font-weight: 750;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  flex-shrink: 0;
  min-width: 42px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  transition: background 160ms ease, color 160ms ease;
}

.lang-switch:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  gap: clamp(24px, 5vw, 70px);
  padding: calc(var(--header-height) + 8px) clamp(18px, 5vw, 72px) clamp(8px, 2vh, 16px);
  overflow: hidden;
  background: #000;
}

.hero-content {
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(4.3rem, 13vw, 10.4rem);
  line-height: 0.84;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.14;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.subscribe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--green-dark);
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(24, 33, 43, 0.14);
}

.button.primary {
  color: #fff;
  background: var(--green-dark);
}

.button.secondary {
  color: #fff;
  background: var(--green-mid);
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid rgba(24, 33, 43, 0.18);
  border-radius: 8px;
  background: rgba(24, 33, 43, 0.14);
  box-shadow: var(--shadow);
}

.hero-panel div {
  min-width: 0;
  padding: 18px 14px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
}

.metric,
.metric-label {
  display: block;
}

.metric {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 850;
  line-height: 1;
}

.metric-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.section {
  position: relative;
  z-index: 3;
  scroll-margin-top: calc(var(--header-height) + 24px);
  padding: clamp(16px, 2.5vw, 28px) clamp(18px, 5vw, 72px);
}

.section-heading {
  margin-bottom: 8px;
}

.episodes-section {
  background: rgba(255, 255, 255, 0.72);
}

.episode-list {
  display: grid;
  gap: 4px;
  max-width: 1120px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: episodes;
}

.episode {
  counter-increment: episodes;
}

.episode article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 24px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(24, 33, 43, 0.06);
}

.episode article::before {
  content: counter(episodes, decimal-leading-zero);
  position: absolute;
  right: 18px;
  top: 16px;
  color: rgba(24, 33, 43, 0.16);
  font-size: 1.2rem;
  font-weight: 850;
}

.episode-thumb {
  position: relative;
  display: grid;
  min-height: 204px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(45, 122, 95, 0.78), rgba(43, 111, 163, 0.78)),
    url("resources/PLVG_Logo.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover, 72%;
}

.episode:nth-child(2) .episode-thumb {
  background:
    linear-gradient(135deg, rgba(217, 95, 73, 0.78), rgba(45, 122, 95, 0.76)),
    url("resources/PLVG_Logo.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover, 72%;
}

.episode:nth-child(3) .episode-thumb {
  background:
    linear-gradient(135deg, rgba(43, 111, 163, 0.8), rgba(240, 189, 79, 0.72)),
    url("resources/PLVG_Logo.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover, 72%;
}

.episode-thumb {
  transition: opacity 200ms ease;
}

.episode-thumb:hover {
  opacity: 0.65;
}

.play-icon {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(24, 33, 43, 0.18);
}

.play-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: translate(-38%, -50%);
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 22px solid var(--green-dark);
}

.duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 8px;
  border-radius: 6px;
  color: #fff;
  background: rgba(24, 33, 43, 0.78);
  font-size: 0.8rem;
  font-weight: 800;
}

.episode-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding-right: 40px;
}

.episode-body time {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 850;
}

.episode-body p {
  max-width: 720px;
  color: var(--muted);
}

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

.watch-link {
  margin-top: 10px;
  color: var(--green-dark);
  font-weight: 850;
}

.publications-link {
  display: block;
  text-align: center;
  margin-top: 28px;
  color: var(--green-dark);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: underline 2px var(--green);
  text-underline-offset: 4px;
  transition: opacity 200ms ease;
}

.publications-link:hover {
  opacity: 0.7;
}

.about-section {
  background: #eef0f2;
}

.publication-list {
  max-width: 720px;
  margin: 0;
  padding: 0 0 0 1.5em;
  list-style: decimal;
}

.publication-list li {
  margin-bottom: 8px;
  line-height: 1.5;
  color: var(--muted);
}

.publication-list li a {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
}

.publication-list li a:hover {
  text-decoration: underline;
}

.pub-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 16px;
}

.pub-icon {
  width: 90px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pub-text {
  line-height: 1.5;
}

.links-list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.links-list .button {
  justify-content: center;
}

.subscribe-section {
  background: #fff;
}

.books-section {
  background: #f0f3ee;
}

.conferences-section {
  background: #eef0f2;
}

.conference-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 20px 0;
  max-width: 1120px;
}

.conference-link {
  display: block;
}

.conference-link .conference-photo {
  transition: opacity 200ms ease;
}

.conference-link:hover .conference-photo {
  opacity: 0.65;
}

.conference-photo {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #dce0dc;
}

.conference-photo.placeholder {
  display: grid;
  place-items: center;
  color: #aab2aa;
  font-size: 1.2rem;
  font-weight: 800;
  border: 2px dashed #c0c8c0;
}

@media (max-width: 640px) {
  .conference-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.conferences-copy {
  white-space: nowrap;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.1rem;
}

.book-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  max-width: 1120px;
}

.book {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(24, 33, 43, 0.06);
  overflow: hidden;
}

.book-cover-link {
  display: block;
}

.book-cover-link .book-cover {
  transition: opacity 200ms ease;
}

.book-cover-link:hover .book-cover {
  opacity: 0.65;
}

.book-cover {
  height: 200px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #e8ece8;
}

.book-body {
  padding: 16px;
}

.book-body h3 {
  margin-bottom: 6px;
}

.book-body p {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 6px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(247, 248, 245, 0.88);
}

@media (max-width: 920px) {
  .site-header {
    position: sticky;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 78px;
  }

  .hero-panel {
  max-width: 680px;
  }

  .episode article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.86rem;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .subscribe-actions,
  .button {
    width: 100%;
  }

  .episode article {
    padding: 14px;
  }

  .episode article::before {
    display: none;
  }

  .episode-thumb {
    min-height: 190px;
  }

  .episode-body {
    padding-right: 0;
  }

  .site-footer {
    flex-direction: column;
  }
}
