:root{
  --bg:#0b0b0b;
  --fg:#f2f2f2;
  --muted:#bdbdbd;
  --line:#222;
}

*{box-sizing:border-box}
body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font:16px/1.4 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}
a{color:inherit;text-decoration:none}
a:hover{opacity:.85}

/* Top bar (simple, like your Pages version) */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(11,11,11,.92);
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(8px);
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 18px;
}
.brand{font-weight:650;letter-spacing:.2px}
.topnav{display:flex;gap:14px;align-items:center}
.social{display:flex;gap:14px;font-size:14px;color:var(--muted)}
.social a{color:var(--muted)}

/* HERO SLIDESHOW */
.hero{
  width:100%;
  background:#000;
}
.hero-viewport{
  position:relative;
  width:100%;
  /* match the “one big image at a time” feel */
  height: calc(100vh - 56px); /* approx header height */
  min-height: 520px;
  overflow:hidden;
}
.hero-track{
  display:flex;
  width:100%;
  height:100%;
  transition: transform 600ms ease;
  will-change: transform;
}
.hero-slide{
  flex: 0 0 100%;
  width:100%;
  height:100%;
  background:#000;
}
.hero-slide img{
  width:100%;
  height:100%;
  object-fit: cover;     /* matches modern hero behavior */
  object-position: center;
  display:block;
}

/* Buttons */
.hero-btn{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:44px;
  height:44px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size:28px;
  line-height:40px;
  cursor:pointer;
  user-select:none;
}
.hero-btn.prev{left:14px}
.hero-btn.next{right:14px}
.hero-btn:hover{background: rgba(0,0,0,.5)}

/* Dots */
.hero-dots{
  position:absolute;
  left:0;
  right:0;
  bottom:12px;
  display:flex;
  justify-content:center;
  gap:8px;
}
.dot{
  width:8px;
  height:8px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  padding:0;
  cursor:pointer;
}
.dot.active{
  background: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.9);
}

/* CONTACT section with background image */
.contact{
  position:relative;
  min-height:520px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background: url("img/humanoidconceptart.jpg") center/cover no-repeat;
}
.contact-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
}
.contact-inner{
  position:relative;
  max-width:1100px;
  margin:0 auto;
  padding:34px 18px;
  min-height:520px;
}
.contact-card{
  width:min(560px,100%);
  background:rgba(0,0,0,.65);
  border:1px solid var(--line);
  padding:18px;
}
.contact-card h2{margin:0 0 12px 0}
.muted{color:var(--muted)}
.contact-logo{
  position:absolute;
  left:18px;
  bottom:18px;
  width:160px;
  height:auto;
  opacity:.95;
}
@media (max-width:820px){
  .hero-viewport{
    height: 70vh;
    min-height: 380px;
  }
  .contact,.contact-inner{min-height:auto}
  .contact-logo{position:static;display:block;margin-top:16px;width:140px}
}

/* Footer */
.footer{padding:18px;color:var(--muted);font-size:14px}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:16px;
  border-top:1px solid var(--line);
  padding-top:14px;
}
.footer a{color:var(--muted)}
