/* =========================
   Base
========================= */
:root{
  --bg:#070b14;
  --bg2:#0b1220;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.09);
  --line:rgba(255,255,255,.10);
  --txt:#eaf0ff;
  --muted:rgba(234,240,255,.72);
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --r:18px;
  --r2:28px;
  --max:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1100px 700px at 20% 10%, rgba(91,116,255,.20), transparent 60%),
              radial-gradient(900px 500px at 90% 30%, rgba(255,101,196,.16), transparent 60%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color:var(--txt);
  line-height:1.65;
}

img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
a:hover{text-decoration:underline}
.container{width:min(var(--max), calc(100% - 40px)); margin:0 auto}

/* Accessibility */
.skip{
  position:absolute; left:-999px; top:10px;
  background:#fff; color:#000; padding:10px 12px; border-radius:10px;
}
.skip:focus{left:10px; z-index:9999}

/* =========================
   Header / Nav
========================= */
.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(7,11,20,.55);
  border-bottom:1px solid var(--line);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{display:flex; gap:10px; align-items:center; font-weight:700}
.brand__dot{
  width:12px;height:12px;border-radius:99px;
  background: linear-gradient(135deg, #7aa6ff, #ff6bd6);
  box-shadow:0 0 22px rgba(122,166,255,.55);
}
.brand__text{letter-spacing:.2px; opacity:.95}

.nav{display:flex; align-items:center; gap:12px}
.nav__menu{
  display:flex; align-items:center; gap:14px;
}
.nav__menu a{
  padding:8px 10px; border-radius:12px;
  color:rgba(234,240,255,.92);
}
.nav__menu a:hover{
  background:rgba(255,255,255,.07);
  text-decoration:none;
}
.nav__toggle{
  display:none;
  width:44px;height:40px;border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  cursor:pointer;
}
.nav__toggle span{
  display:block; width:20px; height:2px; margin:5px auto;
  background:rgba(234,240,255,.90);
  border-radius:99px;
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: linear-gradient(135deg, rgba(122,166,255,.22), rgba(255,107,214,.16));
  box-shadow: 0 12px 34px rgba(0,0,0,.35);
  font-weight:650;
  transition: transform .18s ease, background .18s ease;
}
.btn:hover{transform: translateY(-1px); text-decoration:none}
.btn--ghost{
  background: rgba(255,255,255,.06);
}
.btn--small{padding:10px 14px; border-radius:12px}

/* =========================
   Hero
========================= */
.hero{
  position:relative;
  padding:54px 0 28px;
  overflow:hidden;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.25fr .9fr;
  gap:28px;
  align-items:center;
}
.hero__bg{
  position:absolute; inset:-200px -200px auto -200px;
  height:520px;
  background:
    radial-gradient(700px 300px at 40% 70%, rgba(122,166,255,.22), transparent 60%),
    radial-gradient(520px 240px at 70% 50%, rgba(255,107,214,.18), transparent 60%);
  filter: blur(10px);
  pointer-events:none;
}
.pill{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:rgba(234,240,255,.90);
  font-weight:600;
  margin:0 0 10px;
}
h1{
  margin:8px 0 10px;
  line-height:1.15;
  font-size: clamp(30px, 3.6vw, 50px);
}
.hero__sub{
  font-size: clamp(14px, 1.25vw, 16px);
  color: var(--muted);
  font-weight:600;
}
.grad{
  background: linear-gradient(135deg, #7aa6ff, #ff6bd6);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lead{
  font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(234,240,255,.85);
  margin: 10px 0 16px;
  max-width: 62ch;
}
.hero__cta{display:flex; gap:12px; flex-wrap:wrap}
.kpi{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin-top:18px;
}
.kpi__item{
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  border-radius: var(--r);
  padding:14px 14px 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
}
.kpi__num{font-weight:800; font-size:22px}
.kpi__txt{color:var(--muted); font-size:13px; margin-top:6px}

.hero__media{position:relative}
.portrait{
  position:relative;
  border-radius: var(--r2);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.portrait img{width:100%; height:auto}
.portrait__glow{
  position:absolute; inset:auto -30% -45% -30%;
  height:55%;
  background: radial-gradient(closest-side, rgba(122,166,255,.42), transparent 70%);
  filter: blur(18px);
  pointer-events:none;
}
.hero__badges{
  margin-top:12px;
  display:flex; flex-wrap:wrap; gap:10px;
}
.badge{
  padding:8px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(234,240,255,.9);
  font-weight:650;
  font-size: 13px;
}

/* =========================
   Sections
========================= */
.section{padding:56px 0}
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 60%);
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.section__head{margin-bottom:18px}
.section__head h2{
  margin:0 0 8px;
  font-size: clamp(22px, 2.2vw, 30px);
}
.section__head p{margin:0; color:var(--muted); max-width:80ch}

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

.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  border-radius: var(--r2);
  padding:18px 18px 16px;
  box-shadow: 0 14px 44px rgba(0,0,0,.30);
}
.card h3{margin:0 0 8px; font-size:18px}
.card p{margin:0 0 10px; color:rgba(234,240,255,.86)}
.muted{color:var(--muted)}
.big{font-size:22px; font-weight:800}
.tag{
  margin-top:10px;
  display:inline-flex;
  padding:8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  color: rgba(234,240,255,.84);
  font-weight:600;
  font-size: 13px;
}
.list{margin:10px 0 0; padding-left:18px; color:rgba(234,240,255,.84)}
.list li{margin:6px 0}

/* Timeline */
.timeline{
  display:grid;
  gap:12px;
}
.tl-item{
  display:grid;
  grid-template-columns: 110px 1fr;
  gap:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  border-radius: var(--r2);
  padding:14px 16px;
}
.tl-time{
  font-weight:900;
  letter-spacing:.2px;
  color: rgba(234,240,255,.92);
  padding-top:2px;
}
.tl-body h3{margin:0 0 6px}
.tl-body p{margin:0; color:rgba(234,240,255,.84)}

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.g-item{
  border:1px solid var(--line);
  border-radius: var(--r2);
  overflow:hidden;
  background: rgba(255,255,255,.05);
  cursor:pointer;
  padding:0;
  text-align:left;
  box-shadow: 0 14px 44px rgba(0,0,0,.30);
  transition: transform .18s ease;
}
.g-item:hover{transform: translateY(-2px)}
.g-cap{
  display:block;
  padding:12px 14px;
  font-weight:700;
  color: rgba(234,240,255,.92);
}
.g-item img{width:100%; height:auto}

/* Footer */
.divider{
  height:1px;
  background: rgba(255,255,255,.08);
  margin:18px 0 0;
}
.footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-top:14px;
  color: rgba(234,240,255,.75);
}
.to-top{
  width:42px;height:42px;border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  display:inline-flex; align-items:center; justify-content:center;
  text-decoration:none;
}
.to-top:hover{text-decoration:none}

/* =========================
   Lightbox
========================= */
.lightbox{
  position:fixed; inset:0;
  display:none;
  align-items:center; justify-content:center;
  z-index:999;
}
.lightbox[aria-hidden="false"]{display:flex}
.lightbox__backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(10px);
}
.lightbox__content{
  position:relative;
  width:min(980px, calc(100% - 26px));
  border-radius: var(--r2);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  box-shadow: 0 18px 70px rgba(0,0,0,.55);
}
.lightbox__content img{width:100%; height:auto}
#lightboxCap{
  padding:12px 14px;
  color: rgba(234,240,255,.88);
  border-top:1px solid rgba(255,255,255,.10);
}
.lightbox__close{
  position:absolute; top:10px; right:10px;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  color:#fff;
  font-size:24px;
  cursor:pointer;
}

/* =========================
   Reveal animation
========================= */
.reveal{
  opacity:0;
  transform: translateY(12px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in{
  opacity:1;
  transform: translateY(0);
}

/* =========================
   Responsive
========================= */
@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr; gap:18px}
  .kpi{grid-template-columns: 1fr}
  .grid--2{grid-template-columns: 1fr}
  .grid--3{grid-template-columns: 1fr}
  .gallery{grid-template-columns: 1fr}
  .tl-item{grid-template-columns: 1fr}
  .nav__toggle{display:inline-block}
  .nav__menu{
    position:absolute;
    right:0; top:64px;
    background: rgba(7,11,20,.92);
    border:1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    padding:10px;
    display:none;
    flex-direction:column;
    min-width: 220px;
    box-shadow: var(--shadow);
  }
  .nav__menu.is-open{display:flex}
  .nav__menu a{width:100%}
}
