:root {
  color-scheme: dark;
  --bg: oklch(8% 0.045 278);
  --bg-2: oklch(12% 0.06 298);
  --ink: oklch(94% 0.025 220);
  --muted: oklch(73% 0.035 230);
  --cyan: oklch(82% 0.105 219);
  --pink: oklch(64% 0.21 342);
  --lime: oklch(91% 0.055 210);
  --amber: oklch(68% 0.12 318);
  --violet: oklch(54% 0.2 292);
  --line: oklch(86% 0.09 220 / 20%);
  --panel: oklch(12% 0.055 286 / 80%);
  --shadow: 0 26px 100px oklch(4% 0.045 284 / 76%);
  --font-display: "Unbounded", "Commissioner", sans-serif;
  --font-body: "Commissioner", "Helvetica Neue", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(135deg, oklch(6% 0.04 278), oklch(11% 0.075 304) 38%, oklch(9% 0.055 220) 72%, oklch(5% 0.035 260)),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(90deg, oklch(84% 0.1 220 / 10%) 0 1px, transparent 1px 54px),
    repeating-linear-gradient(0deg, oklch(66% 0.2 330 / 8%) 0 1px, transparent 1px 54px),
    linear-gradient(120deg, transparent 0 18%, oklch(78% 0.09 220 / 12%) 18% 19%, transparent 19% 100%);
  mask-image: linear-gradient(to bottom, black 0 76%, transparent);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

img {
  display: block;
  width: 100%;
}

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

button {
  font: inherit;
}

::selection {
  background: var(--lime);
  color: oklch(10% 0.055 278);
}

.age-note {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  padding: 9px 12px;
  border: 1px solid oklch(84% 0.2 204 / 38%);
  border-radius: 8px;
  color: var(--lime);
  background: oklch(8% 0.06 276 / 72%);
  backdrop-filter: blur(16px);
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 58px;
  color: var(--ink);
  transition: background 300ms ease, border-color 300ms ease, padding 300ms ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  background: oklch(9% 0.06 278 / 84%);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--cyan);
  border-radius: 8px;
  color: oklch(7% 0.04 278);
  background: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  box-shadow: 0 0 28px oklch(82% 0.105 219 / 36%);
}

nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: oklch(89% 0.045 210 / 86%);
  font-size: 0.84rem;
  font-weight: 650;
}

nav a {
  position: relative;
  padding: 7px 0;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease-out);
  box-shadow: 0 0 18px var(--pink);
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  align-items: end;
  padding: 106px 58px 54px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, oklch(5% 0.04 278 / 96%), oklch(9% 0.065 300 / 82%) 46%, oklch(7% 0.055 220 / 66%)),
    linear-gradient(0deg, oklch(5% 0.04 278 / 98%), transparent 58%);
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  filter: saturate(0.78) contrast(1.18) brightness(0.58);
  transform: scale(1.03);
}

.pulse-field {
  position: absolute;
  right: 54px;
  bottom: 82px;
  z-index: -1;
  display: grid;
  width: 34vw;
  max-width: 520px;
  min-width: 330px;
  height: 300px;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: end;
  opacity: 0.58;
  pointer-events: none;
}

.pulse-field span {
  display: block;
  height: 100%;
  border: 1px solid oklch(86% 0.19 204 / 24%);
  background:
    linear-gradient(0deg, var(--cyan), transparent 68%),
    linear-gradient(180deg, var(--pink), transparent 52%);
  clip-path: polygon(14% 0, 100% 10%, 86% 100%, 0 92%);
  transform-origin: bottom;
  animation: pulse-bar 1.65s var(--ease-out) infinite;
  box-shadow: 0 0 40px oklch(82% 0.19 204 / 22%);
}

.pulse-field span:nth-child(2) {
  height: 64%;
  animation-delay: 120ms;
}

.pulse-field span:nth-child(3) {
  height: 88%;
  animation-delay: 240ms;
}

.pulse-field span:nth-child(4) {
  height: 48%;
  animation-delay: 360ms;
}

.pulse-field span:nth-child(5) {
  height: 76%;
  animation-delay: 480ms;
}

@keyframes pulse-bar {
  0%,
  100% {
    transform: scaleY(0.82);
    filter: hue-rotate(0deg) saturate(0.85);
  }

  45% {
    transform: scaleY(1);
    filter: hue-rotate(16deg) saturate(0.95);
  }
}

.hero-copy {
  max-width: 930px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 800;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: 7.4rem;
  line-height: 0.93;
  text-transform: uppercase;
}

.lead {
  max-width: 760px;
  margin-bottom: 22px;
  color: oklch(91% 0.03 214 / 90%);
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.65;
}

.signal-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.signal-line span {
  padding: 8px 11px;
  border: 1px solid oklch(82% 0.19 204 / 42%);
  border-radius: 8px;
  color: var(--cyan);
  background: oklch(9% 0.065 278 / 66%);
  font-size: 0.82rem;
  font-weight: 750;
  box-shadow: inset 0 0 18px oklch(82% 0.19 204 / 10%);
}

.signal-line span:nth-child(2) {
  color: var(--pink);
  border-color: oklch(72% 0.28 340 / 42%);
}

.signal-line span:nth-child(3) {
  color: var(--lime);
  border-color: oklch(87% 0.23 126 / 42%);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 20px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 220ms var(--ease-out), border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.button.primary {
  color: oklch(7% 0.04 278);
  background: var(--lime);
  box-shadow: 0 0 34px oklch(82% 0.105 219 / 26%), 0 16px 44px oklch(64% 0.21 342 / 18%);
}

.button.primary:hover {
  background: var(--cyan);
}

.button.ghost {
  color: var(--ink);
  border-color: oklch(72% 0.28 340 / 46%);
  background: oklch(15% 0.08 286 / 70%);
}

.button.ghost.is-copied {
  color: oklch(7% 0.04 278);
  background: var(--pink);
}

.button.large {
  min-height: 58px;
  padding-right: 26px;
  padding-left: 26px;
  font-size: 1.08rem;
}

.contact h2 {
  margin-bottom: 0;
  font-size: 4.2rem;
  line-height: 1.04;
  text-transform: uppercase;
}

.contact {
  padding: 116px 58px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, oklch(64% 0.21 342 / 22%), transparent 28%, oklch(82% 0.105 219 / 14%)),
    linear-gradient(135deg, oklch(10% 0.065 305), oklch(6% 0.04 278) 56%, oklch(9% 0.055 220));
}

.contact-inner {
  max-width: 980px;
}

.contact p:not(.eyebrow) {
  max-width: 62ch;
  margin: 28px 0 34px;
  color: oklch(91% 0.03 214 / 86%);
  font-size: 1.2rem;
  font-weight: 500;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 58px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer a {
  color: var(--lime);
  font-weight: 800;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out);
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .site-header,
  .hero,
  .contact,
  .site-footer {
    padding-right: 32px;
    padding-left: 32px;
  }

  h1 {
    font-size: 5.7rem;
  }

  .contact h2 {
    font-size: 3.25rem;
  }

  .pulse-field {
    right: 32px;
    opacity: 0.42;
  }
}

@media (max-width: 860px) {
  nav {
    display: none;
  }

  .hero {
    min-height: 90svh;
    padding-top: 94px;
  }

  h1 {
    font-size: 4.15rem;
  }

  .lead {
    font-size: 1.08rem;
  }

  .pulse-field {
    right: -74px;
    bottom: 70px;
    min-width: 300px;
    height: 210px;
  }

}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding: 16px;
  }

  .age-note {
    display: none;
  }

  .hero,
  .contact,
  .site-footer {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero {
    min-height: 92svh;
    padding-top: 86px;
    padding-bottom: 32px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 0.68rem;
  }

  h1 {
    font-size: 3.18rem;
    line-height: 0.98;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .signal-line {
    gap: 8px;
  }

  .signal-line span {
    font-size: 0.76rem;
  }

  .contact {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .contact h2 {
    font-size: 2.35rem;
  }

  .contact p:not(.eyebrow) {
    font-size: 1rem;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
