:root {
  --bg: #f7f8fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --accent: #1d4ed8;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --radius: 16px;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

header {
  background: linear-gradient(180deg, #ffffff 0%, #eef3ff 100%);
  border-bottom: 1px solid var(--border);
}

.hero {
  padding: 56px 0 36px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.hero p {
  margin: 0 0 20px;
  max-width: 780px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-note {
  margin: 0 0 24px;
  max-width: 860px;
  color: #4b5563;
  font-size: 0.98rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.18);
}

.button.secondary {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
}

.button.secondary:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.button.tertiary {
  background: #ffffff;
  color: #6b7280;
  border: 1px solid #d1d5db;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 500;
}

.button.tertiary:hover {
  text-decoration: none;
  color: #4b5563;
  background: #f9fafb;
  box-shadow: none;
  transform: none;
}

.jump-nav {
  padding: 18px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jump-nav a {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--text);
  transition: background 0.15s ease, transform 0.15s ease;
}

.jump-nav a:hover {
  text-decoration: none;
  background: #f9fafb;
  transform: translateY(-1px);
}

main {
  padding: 36px 0 64px;
}

.section {
  margin-bottom: 44px;
}

.section-subtle {
  margin-top: 12px;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.section-header h2 {
  margin: 0;
  font-size: 1.7rem;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  max-width: 800px;
}

.card,
.featured-video,
.info-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.featured-video {
  overflow: hidden;
  margin: 24px 0 28px;
}

.featured-video .thumb,
.card .thumb {
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.featured-video .thumb {
  aspect-ratio: 16 / 9;
}

.card .thumb {
  aspect-ratio: 16 / 9;
}

.featured-video .thumb img,
.card .thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}

.featured-video .content {
  padding: 18px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  overflow: hidden;
}

.card .content {
  padding: 12px 14px 16px;
}

.eyebrow,
.card .eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.featured-video h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  line-height: 1.25;
}

.featured-video p:last-child {
  margin-bottom: 0;
}

.pdf-link {
  margin: 8px 0 0;
  font-size: 0.95rem;
}

.info-box {
  padding: 18px;
  color: var(--muted);
}

.frontmatter-note {
  background: #fcfcfd;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.frontmatter-note summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 600;
  color: #4b5563;
  background: #fafafb;
}

.frontmatter-note summary::-webkit-details-marker {
  display: none;
}

.frontmatter-note[open] summary {
  border-bottom: 1px solid var(--border);
}

.frontmatter-inner {
  padding: 18px;
}

.frontmatter-lead {
  margin-top: 0;
  font-size: 1rem;
  color: #4b5563;
}

.frontmatter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
}

.person-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.person-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 12px 0;
}

.person-image {
  aspect-ratio: 4 / 3;
  max-height: 180px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.person-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #f3f4f6;
}

.person-content {
  padding: 14px 16px 16px;
}

.person-content h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.person-content p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.person-content p:last-child {
  margin-bottom: 0;
}

.person-credit {
  font-size: 0.88rem;
}

.imprint-box {
  background: #fbfbfc;
}

.imprint-box p {
  margin-top: 0;
  margin-bottom: 12px;
}

.imprint-box p:last-child {
  margin-bottom: 0;
}

footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: 28px 0 50px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .hero {
    padding-top: 42px;
  }

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

  .container {
    width: min(var(--max-width), calc(100% - 20px));
  }

  .button-row {
    gap: 10px;
  }

  .button,
  .button.secondary,
  .button.tertiary {
    width: 100%;
    text-align: center;
  }

  .jump-nav {
    gap: 8px;
  }

  .person-images {
    grid-template-columns: 1fr;
  }

  .person-image {
    max-height: 220px;
  }
}
