
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f5f5ff;
  background: #050510;
}
a { color: inherit; text-decoration: none; }
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  position: relative;
  z-index: 5;
}
.brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.brand span { color: #b7b3e6; font-weight: 500; }
nav { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; }
nav > a, .nav-drop > a {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #aaaacc;
}
nav > a:hover, .nav-drop > a:hover {
  border-color: rgba(107,92,255,0.35);
  background: rgba(255,255,255,0.04);
  color: #f5f5ff;
}
.nav-drop { position: relative; display: inline-flex; align-items: center; }
.nav-caret {
  margin-left: 2px; width: 22px; height: 22px; border-radius: 999px;
  border: 1px solid transparent; background: transparent; color: #aaaacc;
  cursor: pointer; font-size: 11px;
}
.nav-caret:hover, .nav-drop.open .nav-caret, .nav-drop:hover .nav-caret {
  color: #f5f5ff; border-color: rgba(107,92,255,0.35); background: rgba(255,255,255,0.04);
}
.nav-drop-panel {
  display: none; position: absolute; top: 100%; right: 0; min-width: 280px;
  padding: 8px; border-radius: 14px; background: rgba(12,12,28,0.98);
  border: 1px solid rgba(107,92,255,0.4); box-shadow: 0 16px 40px rgba(0,0,0,0.55);
  z-index: 40; flex-direction: column; gap: 2px;
}
.nav-drop:hover .nav-drop-panel,
.nav-drop.open .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel { display: flex; }
.nav-drop-panel a { border-radius: 10px; padding: 8px 10px; color: #d9d6ff; white-space: nowrap; }
.nav-drop-panel a:hover { background: rgba(107,92,255,0.22); color: #fff; }
.stage {
  min-height: calc(100vh - 64px);
  background:
    linear-gradient(to top, rgba(5,5,16,0.94) 0%, rgba(5,5,16,0.08) 34%, rgba(5,5,16,0.25) 100%),
    url("../img/mi-hatter.png") center 42% / min(86vmin, 880px) no-repeat,
    #050510;
  position: relative;
}
.caption {
  position: absolute;
  left: 0; right: 0; bottom: 8vh;
  text-align: center;
  padding: 0 20px;
}
.caption h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.caption p { margin-top: 10px; color: #c8c3ff; font-size: 18px; }
