:root {
  color-scheme: dark;
  --bg: #05070d;
  --ink: #f4fbff;
  --muted: #92a6ba;
  --cyan: #26f3ff;
  --green: #9cff68;
  --coral: #ff6b5f;
  --gold: #ffd166;
  --panel: rgba(8, 16, 27, 0.64);
  --line: rgba(255, 255, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(38, 243, 255, 0.12), transparent 28%),
    linear-gradient(250deg, rgba(255, 107, 95, 0.10), transparent 34%),
    #05070d;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent, black 16%, black 82%, transparent);
}

.vanta-field {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  opacity: 0.15;
  pointer-events: none;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.035),
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 7px
  );
  opacity: 0.18;
}

.background-audio {
  display: none;
}

.shell {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 100vh;
  padding: clamp(18px, 3vw, 42px);
  grid-template-rows: auto 1fr auto;
}

.hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.copyright {
  text-transform: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 24px rgba(38, 243, 255, 0.18);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero {
  align-self: center;
  justify-self: center;
  width: min(1120px, 100%);
  text-align: center;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  text-shadow:
    0 0 18px rgba(38, 243, 255, 0.62),
    0 0 55px rgba(255, 107, 95, 0.20);
}

.hero-line {
  width: min(620px, 72vw);
  height: 2px;
  margin: 30px auto 0;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--green), var(--coral), transparent);
  box-shadow: 0 0 24px rgba(38, 243, 255, 0.5);
}

.social-connect {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-top: 28px;
}

.linkedin-icon-link {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(38, 243, 255, 0.55);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(10, 102, 194, 0.78);
  box-shadow: 0 0 30px rgba(38, 243, 255, 0.2);
  text-decoration: none;
}

.linkedin-icon-link:hover,
.linkedin-icon-link:focus-visible,
.linkedin-qr-link:hover,
.linkedin-qr-link:focus-visible {
  border-color: var(--green);
  outline: none;
  box-shadow: 0 0 34px rgba(156, 255, 104, 0.22);
}

.linkedin-icon-link span {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.linkedin-qr-link {
  display: inline-grid;
  place-items: center;
  width: 136px;
  height: 136px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 16, 27, 0.66);
  box-shadow: 0 0 28px rgba(38, 243, 255, 0.16);
  backdrop-filter: blur(18px);
}

.linkedin-qr {
  display: block;
  width: 112px;
  height: 112px;
}

.audio-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(38, 243, 255, 0.5);
  border-radius: 0;
  color: var(--ink);
  background: rgba(38, 243, 255, 0.08);
  box-shadow: 0 0 26px rgba(38, 243, 255, 0.14);
  cursor: pointer;
  font: inherit;
}

.audio-toggle:hover,
.audio-toggle:focus-visible {
  border-color: var(--green);
  outline: none;
  box-shadow: 0 0 32px rgba(156, 255, 104, 0.22);
}

.audio-bars {
  display: inline-flex;
  align-items: end;
  gap: 3px;
  width: 18px;
  height: 18px;
}

.audio-bars i {
  display: block;
  width: 4px;
  min-height: 6px;
  background: var(--cyan);
  animation: meter 0.8s ease-in-out infinite alternate;
}

.audio-bars i:nth-child(2) {
  min-height: 13px;
  background: var(--green);
  animation-delay: 0.16s;
}

.audio-bars i:nth-child(3) {
  min-height: 9px;
  background: var(--coral);
  animation-delay: 0.28s;
}

body:not(.audio-on) .audio-bars i {
  animation-play-state: paused;
}

@keyframes meter {
  from { transform: scaleY(0.45); }
  to { transform: scaleY(1); }
}

@media (max-width: 1200px) {
  h1 {
    font-size: 4.55rem;
  }
}

@media (max-width: 820px) {
  body {
    overflow-y: auto;
  }

  .shell {
    min-height: 100svh;
  }

  .hud {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding: 56px 0 132px;
  }

  h1 {
    font-size: 3.35rem;
    line-height: 1.05;
  }

}

@media (max-width: 520px) {
  h1 {
    font-size: 2.05rem;
  }

  .hud-bottom {
    align-items: stretch;
  }

  .audio-toggle {
    width: 100%;
  }

  .social-connect {
    gap: 14px;
    margin-top: 22px;
  }

  .linkedin-icon-link {
    width: 44px;
    height: 44px;
  }

  .linkedin-qr-link {
    width: 120px;
    height: 120px;
  }

  .linkedin-qr {
    width: 98px;
    height: 98px;
  }

}

@media (max-width: 380px) {
  h1 {
    font-size: 1.5rem;
  }
}
