@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800;900&display=swap');

:root {
  --bg: #05040a;
  --bg-soft: #0d0915;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --text: #f8f3ff;
  --muted: #b9abc9;
  --gold: #f7d889;
  --gold-2: #b9882f;
  --violet: #8d4bff;
  --violet-2: #3c126d;
  --cyan: #62e7ff;
  --line: rgba(255,255,255,.14);
  --shadow: 0 24px 80px rgba(0,0,0,.45);
  --radius: 28px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(141, 75, 255, .28), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(247, 216, 137, .16), transparent 28%),
    linear-gradient(180deg, #05040a, #080511 45%, #05040a);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.15));
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(141,75,255,.18), transparent 65%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  opacity: .8;
}

.site-header {
  position: fixed;
  inset: 18px 22px auto 22px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 4, 12, .68);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 55px rgba(0,0,0,.28);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #130b19;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), #fff2bd 45%, var(--violet));
  box-shadow: 0 0 38px rgba(247, 216, 137, .27);
}

.brand strong { display: block; line-height: 1; letter-spacing: .03em; }
.brand small { display: block; color: var(--muted); font-size: .72rem; margin-top: 4px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  color: var(--muted);
  font-size: .9rem;
  padding: 10px 13px;
  border-radius: 999px;
  transition: .25s ease;
}

.main-nav a:hover {
  color: var(--text);
  background: rgba(255,255,255,.08);
}

.main-nav .nav-cta {
  color: #160d1b;
  background: var(--gold);
  font-weight: 800;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 42px;
  height: 42px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 6px;
}

.section {
  position: relative;
  padding: 112px 7vw;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr .48fr;
  align-items: end;
  gap: 42px;
  padding-top: 170px;
  padding-bottom: 92px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,4,10,.72), rgba(5,4,10,.15) 55%, rgba(5,4,10,.85)),
    url("../img/hero-wave.svg") center/cover no-repeat;
  z-index: -2;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg), transparent 38%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .76rem;
  font-weight: 900;
}

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

h1 {
  max-width: 980px;
  font-size: clamp(3rem, 8vw, 8.3rem);
  line-height: .86;
  letter-spacing: -.08em;
  margin-bottom: 24px;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 4.9rem);
  line-height: .94;
  letter-spacing: -.06em;
  margin-bottom: 22px;
  text-wrap: balance;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.hero-text {
  max-width: 760px;
  color: #e8dff0;
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  line-height: 1.65;
}

.hero-actions, .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn.primary {
  color: #140b18;
  background: linear-gradient(135deg, var(--gold), #fff0b7);
  box-shadow: 0 18px 45px rgba(247,216,137,.22);
}

.btn.ghost {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--text);
}

.hero-card {
  align-self: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045));
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.hero-card .live-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #ff3158;
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(255,49,88,.12);
  margin-bottom: 20px;
}

.hero-card p { color: var(--muted); line-height: 1.6; }
.hero-card h2 { font-size: 2rem; letter-spacing: -.04em; }

.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255,255,255,.035);
}

.marquee-track {
  display: flex;
  gap: 44px;
  width: max-content;
  padding: 18px 0;
  animation: marquee 28s linear infinite;
}

.marquee span {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .82rem;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.split {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 48px;
  align-items: start;
}

.section-copy p,
.section-heading p,
.card p,
.project-card p,
.program-list p,
.contact-card p {
  color: var(--muted);
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.stats-grid article,
.card,
.program-list article,
.contact-card,
.social-panel,
.project-card {
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(255,255,255,.095), rgba(255,255,255,.035));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stats-grid article {
  padding: 28px;
  min-height: 170px;
}

.stats-grid strong {
  display: block;
  font-size: 1.65rem;
  letter-spacing: -.04em;
  margin-bottom: 14px;
  color: var(--gold);
}

.stats-grid span {
  color: var(--muted);
  line-height: 1.6;
}

.section-heading {
  max-width: 920px;
  margin-bottom: 38px;
}

.cards, .project-grid {
  display: grid;
  gap: 20px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  padding: 28px;
  min-height: 260px;
  transition: transform .28s ease, border-color .28s ease, background .28s ease;
}

.card:hover, .project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(247,216,137,.45);
  background: linear-gradient(150deg, rgba(141,75,255,.18), rgba(255,255,255,.05));
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  border-radius: 18px;
  background: rgba(247,216,137,.12);
  font-size: 1.4rem;
}

.programs {
  background:
    radial-gradient(circle at 15% 35%, rgba(141,75,255,.2), transparent 30%),
    radial-gradient(circle at 85% 75%, rgba(247,216,137,.12), transparent 28%);
}

.program-list {
  display: grid;
  gap: 16px;
}

.program-list article {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  padding: 24px;
  align-items: start;
}

.program-list span {
  color: var(--gold);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.08em;
}

.project-grid {
  grid-template-columns: repeat(2, 1fr);
}

.project-card {
  overflow: hidden;
  transition: .28s ease;
}

.project-card div {
  padding: 24px;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  min-height: 520px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
  min-height: 420px;
  background: linear-gradient(160deg, #140927, #8d4bff, #f7d889);
  transition: transform .3s ease, flex .3s ease, filter .3s ease;
}

.gallery-item:nth-child(2) { background: linear-gradient(160deg, #05040a, #35136d, #62e7ff); }
.gallery-item:nth-child(3) { background: linear-gradient(160deg, #0f0d18, #b9882f, #fff0b7); }
.gallery-item:nth-child(4) { background: linear-gradient(160deg, #080511, #e83e7c, #8d4bff); }
.gallery-item:nth-child(5) { background: linear-gradient(160deg, #0a0a12, #1c445e, #f7d889); }
.gallery-item:nth-child(6) { background: linear-gradient(160deg, #05040a, #4b1375, #d9a73f); }

.gallery-item::before {
  content: attr(data-title);
  position: absolute;
  inset: auto 18px 18px 18px;
  z-index: 2;
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
}

.gallery-item span {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.26), transparent 23%),
    linear-gradient(to top, rgba(0,0,0,.76), transparent 55%);
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  filter: saturate(1.18);
}

.social-hub {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 38px;
  align-items: center;
}

.social-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.social-panel a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,.055);
  transition: .25s ease;
  font-weight: 900;
}

.social-panel a:hover {
  background: rgba(247,216,137,.13);
  transform: translateX(6px);
}

.social-panel span {
  color: var(--gold);
  font-weight: 700;
}

.contact {
  padding-bottom: 80px;
}

.contact-card {
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 68px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(247,216,137,.16), transparent 35%),
    linear-gradient(150deg, rgba(141,75,255,.18), rgba(255,255,255,.045));
}

.contact-card .contact-actions {
  justify-content: center;
}

.contact-card small {
  display: block;
  color: var(--muted);
  margin-top: 24px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 7vw 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--gold);
  font-weight: 800;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(18px);
}

.lightbox.open { display: grid; }

.lightbox-content {
  width: min(86vw, 780px);
  aspect-ratio: 16/10;
  border: 1px solid var(--line);
  border-radius: 34px;
  display: grid;
  place-items: end start;
  padding: 32px;
  background: linear-gradient(140deg, #10051d, #8d4bff, #f7d889);
  box-shadow: var(--shadow);
}

.lightbox-content p {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -.06em;
}

.lightbox-close {
  position: fixed;
  top: 28px;
  right: 30px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }

@media (max-width: 980px) {
  .site-header {
    border-radius: 28px;
  }

  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(88vw, 360px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(6,4,12,.92);
    backdrop-filter: blur(18px);
  }

  .main-nav.open { display: flex; }

  .main-nav a { padding: 14px 16px; }

  .hero,
  .split,
  .social-hub {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: center;
    padding-top: 150px;
  }

  .service-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item { min-height: 220px; }
}

@media (max-width: 640px) {
  .site-header {
    inset: 10px;
    padding: 10px;
  }

  .brand small { display: none; }

  .section {
    padding: 84px 18px;
  }

  .hero {
    min-height: 92vh;
    padding-top: 140px;
  }

  h1 {
    font-size: clamp(3.15rem, 16vw, 5.4rem);
  }

  .stats-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

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

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

  .cursor-glow { display: none; }
}
