:root{
  --bg:#0b0b0b;
  --text:#fff;
  --muted:rgba(255,255,255,.68);
  --line:rgba(255,255,255,.10);
  --line2:rgba(255,255,255,.06);
  --shadow:0 12px 60px rgba(0,0,0,.55);
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  background:var(--bg);
  color:var(--text);
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}

.navbar{
  position:fixed;
  top:0; left:0; width:100%;
  padding:16px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:rgba(0,0,0,.75);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
  z-index:100;
}
.logo{font-weight:800;letter-spacing:.18em}
.nav-links{display:flex;gap:26px}
.nav-links a{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:rgba(255,255,255,.85);
}
.nav-links a.active{color:#fff}
.btn-ghost{
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.16em;
}

.wrap{padding-top:70px}
.container{
  max-width:1200px;
  margin:0 auto;
  padding:90px 20px;
}

.project-hero{
  position:relative;
  min-height:64vh;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
}
.project-backdrop{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.08), transparent 24%),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,.06), transparent 20%),
    linear-gradient(140deg, #090909 0%, #11151c 52%, #080808 100%);
  background-size:cover;
  background-position:center;
}
.project-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.86), rgba(0,0,0,.26));
}
.hero-inner{
  position:relative;
  z-index:2;
  padding-bottom:70px;
}
.back-link{
  display:inline-block;
  margin-bottom:24px;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:rgba(255,255,255,.78);
}
.project-tag{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.2em;
  color:rgba(255,255,255,.72);
  margin-bottom:14px;
}
.project-title{
  font-size:clamp(40px,7vw,86px);
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.05em;
  max-width:900px;
}
.project-subtitle{
  margin-top:18px;
  max-width:760px;
  color:var(--muted);
  line-height:1.8;
}

.meta-section{
  padding-top:30px;
  padding-bottom:30px;
}
.meta-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.meta-card,
.info-card{
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:18px 16px;
  background:rgba(255,255,255,.02);
  box-shadow:var(--shadow);
}
.meta-label,
.info-label{
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:rgba(255,255,255,.5);
}
.meta-value{
  margin-top:8px;
  font-size:15px;
  font-weight:800;
}

.section-block{
  border-top:1px solid var(--line2);
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:20px;
}
.section-title{
  font-size:clamp(24px,3vw,36px);
  text-transform:uppercase;
  letter-spacing:.08em;
}
.section-note{
  color:rgba(255,255,255,.58);
  font-size:13px;
  line-height:1.6;
}
.video-wrap{
  width:100%;
}
.video-wrap.is-portrait{
  display:flex;
  justify-content:center;
}
.video-frame{
  width:100%;
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  overflow:hidden;
  background:#000;
  box-shadow:var(--shadow);
  aspect-ratio:16/9;
}
.video-wrap.is-portrait .video-frame{
  width:min(100%, 420px);
  aspect-ratio:9/16;
}
.video-wrap.is-square .video-frame{
  max-width:760px;
  margin:0 auto;
  aspect-ratio:1/1;
}
.video-frame iframe{
  width:100%;
  height:100%;
  border:none;
}
.video-placeholder{
  width:100%;
  min-height:340px;
  display:grid;
  place-items:center;
  padding:24px;
  color:rgba(255,255,255,.68);
  text-align:center;
  line-height:1.8;
  background:rgba(255,255,255,.02);
}

.project-description{
  max-width:860px;
  color:rgba(255,255,255,.76);
  line-height:1.9;
  font-size:15px;
}
.info-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.info-text{
  margin-top:10px;
  color:rgba(255,255,255,.78);
  line-height:1.75;
  font-size:14px;
}

@media (max-width: 980px){
  .nav-links{display:none}
  .meta-grid,
  .info-grid,
  .section-head{
    grid-template-columns:1fr;
  }
  .section-head{
    display:grid;
  }
}

@media (max-width: 720px){
  .video-wrap.is-portrait .video-frame{
    width:min(100%, 360px);
  }
}
