:root {
  --surface: #0a0014;
  --surface-deep: #04000f;
  --violet: #5d34d0;
  --magenta: #ff006e;
  --cyan: #00f0ff;
  --headline-purple: #a23cff;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.14);
  --max-width: 1288px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 22% 0%, rgba(93, 52, 208, 0.42), transparent 36rem),
    radial-gradient(circle at 88% 18%, rgba(255, 0, 110, 0.14), transparent 30rem),
    var(--surface-deep);
  color: var(--text);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 74%);
}

button,
a {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 20px;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 42px;
  padding: 0 72px;
  background: transparent;
  pointer-events: none;
}

.header-shell {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) auto minmax(142px, 1fr);
  align-items: center;
  width: min(100%, var(--max-width));
  height: 100%;
  margin: 0 auto;
  padding: 0;
  gap: 20px;
  pointer-events: auto;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  min-height: 36px;
}

.brand-mark {
  display: block;
  width: 92px;
  height: auto;
  opacity: 0.96;
  filter: drop-shadow(0 8px 18px rgba(4, 0, 15, 0.36));
}

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  min-height: 34px;
  padding: 0 20px;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(8, 0, 24, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 38px rgba(4, 0, 15, 0.18);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.nav-pill a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  transition:
    color 180ms ease,
    text-shadow 180ms ease;
}

.nav-pill a:hover,
.nav-pill a:focus-visible {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(162, 60, 255, 0.62);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: auto;
  min-width: 142px;
  height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(8, 0, 24, 0.28);
  color: #ffffff;
  box-shadow:
    0 12px 38px rgba(4, 0, 15, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 14px 42px rgba(4, 0, 15, 0.24),
    0 0 24px rgba(162, 60, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.hero-section {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: center;
  min-height: 640px;
  height: clamp(640px, 59.93vw, 863px);
  padding: 0;
  overflow: hidden;
  background: url("../Assets/HERO/HERO 2 1.png") center top / cover no-repeat var(--surface);
}

.hero-copy {
  --headline-scale: 0.953;
  position: relative;
  z-index: 2;
  width: min(calc(100% - 96px), 1064px);
  margin: 0 auto 73px;
  text-align: center;
  filter: drop-shadow(0 18px 42px rgba(4, 0, 15, 0.46));
}

.hero-title {
  width: calc(100% / var(--headline-scale));
  margin: 0 0 0 calc((100% - (100% / var(--headline-scale))) / 2);
  color: #ffffff;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(52px, 4.65vw, 68px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
  transform: scaleX(var(--headline-scale));
  transform-origin: center top;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-title-accent {
  color: var(--headline-purple);
}

.hero-subtitle {
  display: grid;
  gap: 0;
  margin: 11px auto 0;
  color: rgba(255, 255, 255, 0.52);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(18px, 1.65vw, 24px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-subtitle span {
  display: block;
}

.hero-section::after {
  position: absolute;
  right: 11.6%;
  bottom: -1px;
  left: 10.8%;
  z-index: 3;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
}

@media (max-width: 900px) {
  .site-header {
    top: 16px;
    height: 40px;
    padding: 0 28px;
  }

  .header-shell {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
  }

  .brand-mark {
    width: 86px;
  }

  .nav-pill {
    justify-self: center;
    min-width: 0;
    width: min(100%, 286px);
    min-height: 32px;
    padding: 0 14px;
    gap: 14px;
  }

  .nav-pill a {
    min-height: 30px;
    font-size: 11px;
  }

  .header-cta {
    min-width: 132px;
    height: 32px;
    padding: 0 14px;
    font-size: 11px;
  }

  .hero-section {
    min-height: 620px;
    height: clamp(620px, 74vw, 760px);
    background-position: 52% top;
  }

  .hero-copy {
    --headline-scale: 0.9;
    width: min(calc(100% - 48px), 820px);
    margin-bottom: 54px;
  }

  .hero-title {
    font-size: clamp(41px, 7.1vw, 56px);
  }

  .hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
  }
}

@media (max-width: 700px) {
  .site-header {
    top: 12px;
    height: auto;
    min-height: 86px;
    padding: 0 12px;
  }

  .header-shell {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand cta"
      "nav nav";
    gap: 10px 14px;
  }

  .brand-link {
    grid-area: brand;
  }

  .nav-pill {
    grid-area: nav;
    width: 100%;
    min-height: 34px;
    gap: clamp(12px, 5vw, 24px);
  }

  .header-cta {
    grid-area: cta;
    min-width: 136px;
  }

  .hero-section {
    min-height: 700px;
    height: 100svh;
    padding: 0;
    background-size: auto 100%;
    background-position: 50% top;
  }

  .hero-copy {
    --headline-scale: 0.72;
    width: min(calc(100vw - 28px), 420px);
    margin-bottom: 31px;
  }

  .hero-title {
    font-size: clamp(29px, 8.5vw, 39px);
    line-height: 0.94;
  }

  .hero-subtitle {
    margin-top: 6px;
    font-size: clamp(9.5px, 2.8vw, 13px);
    line-height: 1.18;
  }
}

@media (max-width: 480px) {
  .brand-mark {
    width: 82px;
  }

  .header-cta {
    min-width: 128px;
    height: 30px;
    padding: 0 12px;
    font-size: 10px;
  }

  .nav-pill {
    justify-content: space-between;
    padding: 0 12px;
    gap: 10px;
  }

  .nav-pill a {
    min-height: 32px;
    font-size: 11px;
  }

  .hero-section {
    min-height: 680px;
  }

  .hero-copy {
    width: min(calc(100vw - 24px), 390px);
    margin-bottom: 28px;
  }

  .hero-title {
    font-size: clamp(26px, 7.9vw, 32px);
  }

  .hero-subtitle {
    font-size: clamp(8.5px, 2.6vw, 11px);
  }
}
