:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-2: #f1f4fb;
  --text: #172033;
  --muted: #5a6478;
  --line: #d9dfeb;
  --accent: #6e0f22;
  --accent-2: #8f1b35;
  --shadow: 0 18px 45px rgba(23, 32, 51, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f6f8fd 0%, #ffffff 32%, #f8f9fc 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code {
  background: #eef2f8;
  border-radius: 8px;
  padding: 0.12rem 0.35rem;
  font-size: 0.92em;
}
.container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.section { padding: 5rem 0; }
.muted { background: linear-gradient(180deg, rgba(110,15,34,0.04), rgba(110,15,34,0.015)); }
.section-label, .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
h1, h2, h3 { line-height: 1.08; margin: 0 0 1rem; }
h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.9rem); }
h3 { font-size: 1.18rem; }
p, li, label, input, select { color: var(--muted); line-height: 1.7; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217,223,235,0.7);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}
.brand { font-weight: 800; font-size: 1.15rem; color: var(--accent); }
.site-nav { display: flex; gap: 1.25rem; align-items: center; }
.site-nav a { font-weight: 600; color: var(--text); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font: inherit;
}
.hero { padding: 4.7rem 0 3.5rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.hero-text { font-size: 1.08rem; max-width: 62ch; }
.hero-actions, .quick-links { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
}
.hero-points li, .video-summary {
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.8rem 1rem;
  box-shadow: var(--shadow);
}
.card {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(217,223,235,0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card { overflow: hidden; }
.hero-card img { width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; background: var(--surface-2); }
.hero-card-body { padding: 1.3rem 1.35rem 1.5rem; }
.hero-card-body h2 { font-size: 1.35rem; margin-bottom: 0.9rem; }
.quick-links a, .link-list a {
  color: var(--accent);
  font-weight: 700;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.92rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: white; box-shadow: 0 12px 28px rgba(110,15,34,0.24); }
.btn-secondary { background: white; border: 1px solid var(--line); }
.split-section { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: start; }
.highlight-list { padding: 1.6rem; }
.highlight-list ul, .link-list { margin: 0; padding-left: 1.2rem; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card { padding: 1.5rem; }
.media-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.media-controls {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.control-group { display: flex; flex-direction: column; gap: 0.4rem; }
.search-group { min-width: 0; }
select, input {
  width: 100%;
  padding: 0.88rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  font: inherit;
}
.video-summary { display: inline-flex; margin: 0 0 1.1rem; font-weight: 700; color: var(--text); }
.video-card { padding: 1.35rem; display: flex; flex-direction: column; gap: 0.75rem; }
.video-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.38rem 0.65rem;
  background: #f2f4fa;
  color: var(--text);
  font-weight: 700;
  font-size: 0.82rem;
}
.video-card h3 { margin-bottom: 0.15rem; }
.video-card p { margin: 0; }
.video-card .cta-row { margin-top: auto; padding-top: 0.35rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}
.gallery-item {
  overflow: hidden;
  border-radius: 22px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef2f8;
}
.gallery-item figcaption { padding: 0.95rem 1rem 1.1rem; font-weight: 600; }
.site-footer { border-top: 1px solid var(--line); padding: 1.25rem 0; background: rgba(255,255,255,0.9); }
.footer-wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.hidden { display: none !important; }
@media (max-width: 980px) {
  .hero-grid, .split-section, .card-grid, .gallery-grid, .media-controls, .two-up, .three-up { grid-template-columns: 1fr; }
  .hero-points { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    inset: calc(100% + 0.5rem) 1rem auto 1rem;
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 0.9rem;
    flex-direction: column;
    align-items: stretch;
    display: none;
  }
  .site-nav.open { display: flex; }
  .media-header, .footer-wrap { flex-direction: column; align-items: start; }
  .hero { padding-top: 3rem; }
}
.youtube-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  justify-content: center;
  gap: 1.5rem;
}

.youtube-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 360px;
  padding: 1.25rem;
  margin: 0 auto;
}

.video-embed {
  width: 100%;
  max-width: 320px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.video-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 16px;
}

.youtube-card h3,
.youtube-card p {
  width: 100%;
  text-align: center;
}