:root {
  color-scheme: dark;
  --bg: #101318;
  --surface: rgba(13, 20, 33, 0.95);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --text: #f7f8fb;
  --muted: #a3a9b3;
  --accent: #f8b500;
  --accent-strong: #ffce54;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, rgba(248, 181, 0, 0.08), transparent 25%),
              linear-gradient(180deg, #131a25 0%, #0b1018 100%);
  color: var(--text);
  min-height: 100vh;
}

button {
  font: inherit;
  cursor: pointer;
}

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

.page-wrap {
  position: relative;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-overlay,
.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.3), rgba(4, 8, 14, 0.9));
  z-index: 1;
}

.hero-slider {
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 48px 24px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.88rem;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.hero-content p {
  max-width: 700px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.hero-actions {
  display: inline-flex;
  gap: 12px;
  margin-top: 34px;
}

.slider-control {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 10, 16, 0.65);
  color: var(--text);
  border-radius: 999px;
  font-size: 1.75rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.slider-control:hover {
  transform: scale(1.05);
  background: rgba(248, 181, 0, 0.15);
}

main {
  position: relative;
  z-index: 1;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.section-header p {
  margin: 0;
  color: var(--muted);
  max-width: 780px;
  line-height: 1.8;
}

.intro {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 100%);
  color: #fff;
  font-size: 0.98rem;
}

.video-section .videos {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.video-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.video-card h3 {
  margin: 0 0 16px;
}

.video-card video {
  width: 100%;
  border-radius: 18px;
  max-height: 520px;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 18px;
}

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

.notes ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.notes li {
  margin-bottom: 12px;
  line-height: 1.75;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  z-index: 999;
  padding: 24px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.close-btn {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.8rem;
}

@media (max-width: 720px) {
  .hero-content {
    padding: 32px 18px;
  }

  .hero-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .section-inner {
    padding: 48px 0;
  }

  .video-card {
    padding: 18px;
  }
}
