/* ===== Base Reset ===== */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(255,255,255,0.92);
  background: radial-gradient(1200px 600px at 20% 0%, rgba(120,180,255,0.20), transparent 60%),
              radial-gradient(900px 500px at 80% 10%, rgba(255,120,220,0.16), transparent 55%),
              radial-gradient(800px 500px at 40% 90%, rgba(80,255,200,0.10), transparent 60%),
              #070A12;
  line-height:1.75;
  overflow-x:hidden;
}

/* subtle grain */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.10;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  z-index:0;
}

/* ===== Scrolling Menu ===== */
.scrollmenu{
  position: sticky;
  top: 3px; /* below progress bar */
  z-index: 60;
  margin: 10px auto 0;
  max-width: 1000px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 60px rgba(0,0,0,0.55);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.sm-brand{
  text-decoration:none;
  color: rgba(255,255,255,0.92);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .9;
}

.sm-links{
  display:flex;
  gap:10px;
  overflow-x:auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.sm-links::-webkit-scrollbar{display:none}

.sm-links a{
  flex: 0 0 auto;
  text-decoration:none;
  color: rgba(255,255,255,0.86);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(0,0,0,0.18);
  white-space: nowrap;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.sm-links a:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.18);
}
.sm-links a.active{
  border-color: rgba(120,180,255,0.45);
  background: rgba(120,180,255,0.14);
  color: rgba(255,255,255,0.95);
}

.wrap{max-width:1000px;margin:0 auto;padding:0 20px;position:relative;z-index:1}

/* ===== Progress Bar ===== */
.progress{
  position:fixed;
  top:0;left:0;right:0;
  height:3px;
  background:rgba(255,255,255,0.08);
  z-index:50;
}
.progress span{
  display:block;
  height:100%;
  width:0%;
  background: linear-gradient(90deg, rgba(80,255,200,0.9), rgba(120,180,255,0.9), rgba(255,120,220,0.9));
}

/* ===== Typography ===== */
.brand{
  font-size:12px;
  letter-spacing:.26em;
  text-transform:uppercase;
  opacity:.88;
}
h1{
  font-size:clamp(2rem, 4vw, 3.2rem);
  line-height:1.1;
  letter-spacing:-0.02em;
  margin-top:14px;
  text-wrap:balance;
}
h2{
  margin-top:34px;
  margin-bottom:10px;
  font-size:1.35rem;
  letter-spacing:-0.01em;
}
p{margin:14px 0}
.lead{opacity:.86;max-width:70ch;margin-top:12px}

/* ===== Hero ===== */
.hero{
  min-height:76vh;
  display:flex;
  align-items:flex-end;
  position:relative;
  padding:76px 0 34px;
  background:
    linear-gradient(180deg, rgba(7,10,18,0.2), rgba(7,10,18,0.88)),
    var(--hero) center/cover no-repeat;
}
.hero-small{min-height:48vh}
.hero-overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(120,180,255,0.25), transparent 60%),
    radial-gradient(700px 420px at 80% 0%, rgba(255,120,220,0.22), transparent 55%),
    linear-gradient(180deg, rgba(7,10,18,0.05), rgba(7,10,18,0.90));
  pointer-events:none;
}
.hero-inner{
  position:relative;
  z-index:1;
  max-width:1000px;
  margin:0 auto;
  padding:0 20px;
}

/* ===== Glass Article Container ===== */
.glass{
  margin:34px 0 40px;
  padding:24px 22px;
  border-radius:20px;
  background: rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 24px 80px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
}

/* inline media (no captions) */
.inline-media{
  margin:22px 0 18px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 60px rgba(0,0,0,0.55);
}
.inline-media img{
  width:100%;
  height:340px;
  object-fit:cover;
  display:block;
  transform:scale(1.02);
  transition: transform .8s ease;
}
.inline-media:hover img{transform:scale(1.08)}
.inline-media.tilt{transform: rotate(-0.6deg)}
.inline-media.tilt:hover{transform: rotate(0deg)}

/* ===== Next Cards ===== */
.next-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
  margin:10px 0 70px;
}
.next-card{
  position:relative;
  border-radius:18px;
  padding:18px 18px 16px;
  min-height:128px;
  text-decoration:none;
  color:rgba(255,255,255,0.92);
  border:1px solid rgba(255,255,255,0.12);
  overflow:hidden;
  background:
    linear-gradient(180deg, rgba(7,10,18,0.15), rgba(7,10,18,0.85)),
    var(--bg) center/cover no-repeat;
  box-shadow:0 20px 70px rgba(0,0,0,0.55);
  transition: transform .25s ease, border-color .25s ease;
}
.next-card::after{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(400px 200px at 30% 10%, rgba(120,180,255,0.28), transparent 60%),
              radial-gradient(300px 160px at 70% 0%, rgba(255,120,220,0.20), transparent 60%);
  opacity:.75;
  pointer-events:none;
}
.next-card span{
  position:relative;
  z-index:1;
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  opacity:.88;
}
.next-card strong{
  position:relative;
  z-index:1;
  display:block;
  margin-top:10px;
  font-size:1.05rem;
  letter-spacing:-0.01em;
  text-wrap:balance;
}
.next-card:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.22);
}

/* ===== Pager Buttons ===== */
.pager{
  display:flex;
  gap:12px;
  justify-content:space-between;
  margin:0 0 70px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 14px;
  border-radius:14px;
  text-decoration:none;
  color:rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
  transition: transform .2s ease, border-color .2s ease;
}
.btn:hover{transform: translateY(-2px);border-color: rgba(255,255,255,0.22)}
.btn.primary{
  background: linear-gradient(90deg, rgba(80,255,200,0.14), rgba(120,180,255,0.14), rgba(255,120,220,0.14));
}

/* ===== Contact Form ===== */
.contact h2{margin-top:0}
.form{
  margin-top:16px;
  display:grid;
  gap:12px;
}
label{
  display:grid;
  gap:8px;
  font-size:13px;
  opacity:.9;
}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(10,14,26,0.55);
  color: rgba(255,255,255,0.92);
  outline:none;
  font:inherit;
}
input:focus, textarea:focus{
  border-color: rgba(120,180,255,0.45);
  box-shadow: 0 0 0 4px rgba(120,180,255,0.15);
}

/* ===== Footer ===== */
.footer{
  border-top:1px solid rgba(255,255,255,0.10);
  background: rgba(7,10,18,0.70);
  backdrop-filter: blur(14px);
  padding:26px 0;
}
.footer-inner{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
  justify-content:space-between;
}
.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.footer a{
  color:rgba(255,255,255,0.85);
  text-decoration:none;
  font-size:13px;
  opacity:.9;
}
.footer a:hover{opacity:1}
.fine{opacity:.8;font-size:13px}

/* ===== Responsive ===== */
@media (max-width:860px){
  .next-grid{grid-template-columns:1fr}
  .inline-media img{height:280px}
  .pager{flex-direction:column}
  .btn{width:100%}
}