* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #050505;
  color: #f5f5f5;
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 14px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(5,5,5,0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 100;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  cursor: pointer;
  color: white;
  flex-shrink: 0;
  text-decoration: none;
}

.brand .so {
  font-size: 1rem;
  letter-spacing: 0.18em;
  font-weight: 900;
}

.brand .ent {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  color: #aaa;
}

.brand::after {
  content: "";
  margin-top: 6px;
  width: 42%;
  height: 2px;
  background: #d51616;
}

.nav nav {
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
  align-items: center;
}

.nav a {
  position: relative;
  color: #aaa;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 800;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  color: white;
}

/* ─── FOOTER ─── */
.footer {
  padding: 25px;
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.footer-copy {
  font-size: 0.7rem;
  color: #555;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── MOBILE NAV ─── */
@media (max-width: 850px) {
  .nav {
    position: sticky;
    top: 0;
    padding: 12px 4%;
    gap: 10px;
    flex-direction: column;
  }

  .brand {
    align-items: center;
  }

  .brand .so {
    font-size: 0.9rem;
  }

  .brand .ent {
    font-size: 0.55rem;
  }

  .brand::after {
    width: 60%;
  }

  .nav nav {
    width: 100%;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 6px;
  }

  .nav a {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }
}
