:root {
  --bg: #020202;
  --fg: #f3f0e9;
  --muted: #8b8780;
  --dim: #5f5b55;
  --line: rgba(243, 240, 233, 0.16);
  --line-strong: rgba(243, 240, 233, 0.34);
  --accent: #b953ff;
  --accent-soft: rgba(185, 83, 255, 0.1);
  --accent-line: rgba(185, 83, 255, 0.46);
  --accent-glow: rgba(185, 83, 255, 0.24);
  --pad: clamp(18px, 3vw, 48px);
  --header-height: 70px;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
}

body {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

h1,
p,
a,
strong {
  overflow-wrap: break-word;
}

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

.stub {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: var(--header-height) auto 1fr;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(185, 83, 255, 0.075), transparent 34%),
    radial-gradient(circle at 22% 88%, rgba(185, 83, 255, 0.035), transparent 26%),
    var(--bg);
}

.stub::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(243, 240, 233, 0.026) 1px, transparent 1px) 0 0 / 25% 100%,
    linear-gradient(180deg, rgba(243, 240, 233, 0.02) 1px, transparent 1px) 0 0 / 100% 50%;
  opacity: 0.38;
}

.stub::after {
  content: "@";
  position: absolute;
  left: 58%;
  top: 54%;
  z-index: -1;
  pointer-events: none;
  color: rgba(243, 240, 233, 0.12);
  font-family: var(--sans);
  font-size: clamp(360px, 54vw, 720px);
  font-weight: 700;
  line-height: 0.82;
  opacity: 0;
  text-shadow:
    0 0 42px rgba(185, 83, 255, 0.08),
    0 34px 90px rgba(0, 0, 0, 0.46);
  transform: translate3d(-50%, -50%, 0) scale(0.96) rotate(-2deg);
  transition:
    opacity 3200ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 4200ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.stub.is-logo-revealed::after {
  opacity: 0.13;
  transform: translate3d(-50%, -50%, 0) scale(1) rotate(-2deg);
}

@supports selector(:has(*)) {
  .stub:has(.stub-logo:hover)::after,
  .stub:has(.stub-logo:focus-visible)::after {
    opacity: 0.13;
    transform: translate3d(-50%, -50%, 0) scale(1) rotate(-2deg);
  }
}

.stub-matrix {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 1;
}

.stub-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: var(--header-height);
  padding: 0 var(--pad);
  border-bottom: 1px solid rgba(243, 240, 233, 0.12);
  background: transparent;
  backdrop-filter: none;
}

.stub-logo {
  display: block;
  width: clamp(116px, 13vw, 190px);
}

.stub-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.72));
  transition:
    filter 360ms var(--ease),
    opacity 360ms var(--ease);
}

.stub-logo:hover img,
.stub-logo:focus-visible img {
  filter:
    drop-shadow(0 10px 26px rgba(0, 0, 0, 0.72))
    drop-shadow(0 0 18px rgba(185, 83, 255, 0.26));
}

.stub-nav,
.stub-meta,
.stub-kicker,
.stub-panel {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.35;
  text-transform: uppercase;
}

.stub-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 34px);
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.88);
}

.stub-nav a {
  color: var(--muted);
  transition:
    color 220ms var(--ease),
    border-color 220ms var(--ease),
    background 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

.stub-nav span {
  color: var(--muted);
}

.stub-nav a:hover,
.stub-nav a:focus-visible {
  color: var(--accent);
}

.stub-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 14px;
  border: 1px solid rgba(243, 240, 233, 0.34);
  color: var(--fg);
  background: transparent;
}

.stub-nav-cta:hover,
.stub-nav-cta:focus-visible {
  border-color: var(--accent-line);
  background: rgba(185, 83, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(185, 83, 255, 0.18),
    0 0 24px rgba(185, 83, 255, 0.12);
}

.stub-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.stub-meta > div {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 82px;
  padding: 24px clamp(22px, 3vw, 44px) 22px;
  border-right: 1px solid rgba(243, 240, 233, 0.11);
  cursor: default;
}

.stub-meta > div::before {
  content: none;
}

.stub-meta > div:hover::before,
.stub-meta > div:focus-visible::before,
.stub-meta > div.is-cycling::before {
  content: none;
}

.stub-meta > div:first-child {
  padding-left: var(--pad);
}

.stub-meta > div:last-child {
  padding-right: var(--pad);
}

.stub-meta > div:last-child {
  border-right: 0;
}

.stub-meta > div > span {
  display: block;
  margin-bottom: 14px;
  color: var(--dim);
}

.stub-meta strong {
  display: inline-flex;
  align-items: center;
  min-height: 14px;
  color: var(--fg);
  font-weight: 500;
}

.stub-meta .stub-meta-value {
  position: relative;
  display: inline-block;
  color: var(--fg);
  white-space: nowrap;
  transform-origin: left center;
  transition: color 220ms var(--ease);
  will-change: opacity, transform;
}

.stub-meta > div:hover .stub-meta-value,
.stub-meta > div.is-cycling .stub-meta-value {
  color: var(--accent);
}

.stub-meta .stub-meta-value.is-changing {
  color: rgba(185, 83, 255, 0.88);
}

.stub-meta .shuffle-char {
  display: inline-block;
  margin: 0;
  color: inherit;
  white-space: pre;
  will-change: opacity, color;
}

.stub-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
  min-height: calc(100svh - var(--header-height) - 82px);
  padding: clamp(40px, 7vh, 88px) var(--pad) 44px;
}

.stub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 2, 2, 0.52) 0%, rgba(2, 2, 2, 0.2) 42%, rgba(2, 2, 2, 0.03) 72%, rgba(2, 2, 2, 0.16) 100%),
    linear-gradient(180deg, rgba(2, 2, 2, 0.04) 0%, rgba(2, 2, 2, 0.18) 100%);
}

.stub-copy {
  min-width: 0;
  max-width: 820px;
}

.stub-kicker {
  margin: 0 0 24px;
  color: var(--muted);
}

.stub h1 {
  max-width: 1060px;
  margin: 0;
  color: var(--fg);
  overflow-wrap: normal;
  word-break: normal;
  font-size: clamp(74px, 9.6vw, 148px);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 14px 36px rgba(2, 2, 2, 0.58);
}

.stub h1 span {
  display: block;
}

.stub-text {
  position: relative;
  display: block;
  max-width: 430px;
  margin: 28px 0 0;
  color: var(--fg);
  font-size: clamp(16px, 1.55vw, 22px);
  line-height: 1.18;
  text-shadow:
    0 10px 28px rgba(2, 2, 2, 0.72);
  transition:
    color 320ms var(--ease),
    text-shadow 320ms var(--ease);
  contain: paint;
  transform: translateZ(0);
}

.stub-text[data-text-hover-ready] {
  cursor: default;
}

.stub-text-base {
  position: relative;
  z-index: 0;
  display: block;
  transition: opacity 160ms var(--ease);
}

.stub-text-typer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  color: var(--fg);
  opacity: 0;
  text-shadow:
    0 10px 28px rgba(2, 2, 2, 0.72);
  white-space: normal;
  transform: translateZ(0);
  will-change: opacity;
}

.stub-text-typer .word,
.stub-text-typer .char {
  display: inline;
}

.stub-text-typer .char {
  opacity: 0;
  will-change: opacity, color;
}

.stub-text.is-text-hovering {
  color: var(--fg);
}

.stub-text.is-text-hovering .stub-text-base {
  opacity: 0.08;
  transition: none;
}

.stub-panel {
  position: relative;
  isolation: isolate;
  align-self: end;
  justify-self: end;
  width: min(390px, 100%);
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  text-shadow: 0 10px 26px rgba(2, 2, 2, 0.95);
}

.stub-panel::before {
  content: "";
  position: absolute;
  inset: -46px -58px -42px -70px;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 58% 56%, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 34%, rgba(0, 0, 0, 0.34) 62%, transparent 78%);
  filter: blur(24px);
}

.stub-panel-line {
  display: grid;
  grid-template-columns: minmax(76px, 0.32fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid rgba(243, 240, 233, 0.25);
}

.stub-panel-line:first-child {
  border-top: 1px solid rgba(243, 240, 233, 0.25);
}

.stub-panel-line span {
  color: rgba(243, 240, 233, 0.6);
}

.stub-panel-line a,
.stub-panel-line address {
  color: var(--fg);
  font-style: normal;
  transition: color 220ms var(--ease);
}

.stub-panel-line a:hover,
.stub-panel-line a:focus-visible {
  color: var(--accent);
}

.stub-panel-line--primary a {
  color: var(--accent);
}

.stub-panel-line--address address {
  color: rgba(243, 240, 233, 0.92);
}

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

  .stub {
    min-height: 100svh;
    grid-template-rows: var(--header-height) auto auto;
  }

  .stub-matrix {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.9;
  }

  .stub-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .stub-meta > div:nth-child(2n) {
    border-right: 0;
  }

  .stub-meta > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .stub-hero {
    grid-template-columns: 1fr;
    min-height: calc(100svh - var(--header-height) - 164px);
  }

  .stub-panel {
    justify-self: start;
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  .stub {
    grid-template-rows: auto auto auto;
  }

  .stub-header {
    grid-template-columns: 1fr;
    gap: 16px;
    align-content: center;
    min-height: auto;
    padding: 18px var(--pad);
  }

  .stub-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .stub-nav-cta {
    min-height: 32px;
  }

  .stub-meta {
    grid-template-columns: 1fr;
  }

  .stub-meta > div {
    min-height: 74px;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .stub-meta > div:first-child {
    border-top: 0;
  }

  .stub-meta > div:nth-child(n + 3) {
    display: none;
  }

  .stub h1 {
    font-size: clamp(50px, 13.4vw, 68px);
    line-height: 0.9;
  }

  .stub-text {
    font-size: 16px;
  }

  .stub-panel-line {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stub-nav a,
  .stub-panel-line a,
  .stub-logo img,
  .stub-meta > div::before,
  .stub::after,
  .stub-text,
  .stub-text-base,
  .stub-text-typer,
  .stub-text-typer .char {
    transition: none;
    animation: none !important;
  }
}
