/* ===== BASE / TOKENS ===== */
:root{
  --bg:#0b0c10;
  --fg:#e8eaf0;
  --muted:#a7adbd;
  --max:1100px;
  --nav-h:66px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; height:100%; }

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.55;
}

a{ color: inherit; text-decoration:none; }

/* ===== NAV (nice, centered) ===== */
.nav-wrap{
  position: sticky;
  top: 0;
  z-index: 50;

  background: rgba(11, 12, 16, 0.08) !important;   /* constant dark */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav{
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
  display:flex;
  justify-content:center;
  align-items:center;
}

.nav__links{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap: wrap;
  gap: .35rem;
}

.nav__links a{
  color: rgba(255,255,255,.72);
  margin: 0 .55rem;
  padding: .35rem .55rem;
  border-radius: 12px;
  transition: color .2s ease, transform .2s ease, background .2s ease;
  font-weight: 500;
  letter-spacing: .2px;
}

.nav__links a:hover{
  color: rgba(255,255,255,.95);
  background: rgba(255,255,255,.05);
  transform: translateY(-1px);
}

.nav__links a.active{
  color: rgba(255,255,255,.98);
  background: rgba(255,255,255,.06);
}

/* ===== HOME: FULLSCREEN VIDEO ===== */
.home{
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Fullscreen video behind everything */
.home__bg{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: 50% 50%;
  z-index: 0;
  filter: saturate(1.05) contrast(1.05);
}

/* Overlay for readability */
.home__overlay{
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(900px 600px at 50% 20%, rgba(255,255,255,.10), transparent 62%),
    linear-gradient(180deg, rgba(11,12,16,.30), rgba(11,12,16,.78));
}

/* Ensure the page itself is transparent so video shows */
body{
  background: transparent;
}

/* Center hero content */
.home__center{
  position: relative;
  z-index: 2;
  min-height: calc(90vh - var(--nav-h));
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;

  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 5.75rem 0 2.25rem; /* space under nav */
}

.home__portraitWrap{
  width: clamp(220px, 20vw, 360px);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  box-shadow: 0 18px 65px rgba(0,0,0,.55);
}
.home__portraitWrap:hover{
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(24, 240, 255, 0.305);
}

.home__portrait{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: 50% 18%;
  display:block;
}

/* Title/subtitle */
.home__title{
  margin: .9rem 0 .45rem;
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  letter-spacing: .6px;
}

.home__subtitle{
  margin: 0;
  max-width: 70ch;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  font-size: clamp(.98rem, 1.6vw, 1.12rem);
}

/* Social links (smaller) */
.home__links{
  margin-top: 1.05rem;
  display:flex;
  gap: .75rem;
  align-items:center;
  justify-content:center;
}

/* smaller buttons */
.home__iconLink{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.home__iconLink:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}

.home__iconLink img{
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: .92;
}

/* Small screens */
@media (max-width: 700px){
  .nav__links a{ margin: 0 .25rem; }
  .home__center{ padding-top: 5.25rem; }
}
