:root {
  --bg: #070907;
  --fg: #e8efe6;
  --dim: rgba(232,239,230,.32);
  --line: rgba(232,239,230,.14);
  --mx: 238,238,238;
  --accent: #e8efe6;
  --serif: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
:root[data-theme="dark"] {
  --bg: #070907; --fg: #e8efe6; --dim: rgba(232,239,230,.32);
  --line: rgba(232,239,230,.14); --mx: 238,238,238; --accent: #e8efe6;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .04em;
  line-height: 1.55;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}
input, textarea, select, code, .allow-copy { user-select: text; -webkit-user-select: text; }
a { color: inherit; }
img { max-width: 100%; }
button, input, select { font: inherit; }

canvas#fx { position: absolute; top: 0; left: 0; width: 100%; height: 100vh; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 92%); mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 92%); }
.aurora { display: none; }

.site-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 28px 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; text-transform: uppercase; font-weight: 700; letter-spacing: .06em; }
.brand-mark {
  width: 24px; height: 24px; border: 1px solid var(--fg); border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
  background: transparent; box-shadow: none; color: var(--fg);
}
.brand-wave {
  width: 40px;
  height: 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  overflow: visible;
  flex: none;
}
.brand b { font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.brand small { display: none; }
.site-head nav { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.site-head nav a {
  color: var(--fg); text-decoration: none; text-transform: uppercase;
  font-size: 10px; letter-spacing: .12em; padding: 1px 0;
  border: 0; background: none; transition: opacity .3s, transform .3s;
}
.site-head nav a:hover { opacity: .45; transform: translateX(-3px); }
.site-head nav .nav-cta { border: 0; padding: 1px 0; }

main { position: relative; z-index: 1; width: 100%; margin: 0; padding: 0; background: transparent; }
section { width: 100%; padding: 90px 28px; border-top: 1px solid var(--line); background: var(--bg); }

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  max-width: none;
  background: transparent;
  border-top: 0;
}
.hero::after { display: none; }
.kicker { color: var(--dim); text-transform: uppercase; font-size: 10px; letter-spacing: .14em; }
h1 {
  font-family: var(--serif);
  font-size: clamp(16px, 2.2vw, 24px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.5;
  letter-spacing: .02em;
  margin: 14px 0 0;
  max-width: 560px;
}
.lead { color: var(--dim); font-size: 12px; line-height: 1.7; max-width: 440px; margin: 18px 0 0; text-transform: none; letter-spacing: .03em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; color: var(--dim); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.hero-meta span::before { content: "• "; }

.glass-btn, .ghost-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 0; padding: 0; border: 0; border-radius: 0;
  background: none; color: var(--fg);
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border-bottom: 1px solid var(--fg);
  transition: opacity .3s, transform .3s;
}
.glass-btn:hover, .ghost-btn:hover { opacity: .5; transform: translateX(3px); }
.glass-btn.small { font-size: 10px; }
.wide { width: 100%; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.glass-3d-canvas, .glass-3d-label { display: none !important; }

.section-head { max-width: none; }
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 4vw, 46px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 10px 0 0;
}
.section-head p { color: var(--dim); font-size: 11.5px; line-height: 1.7; margin: 14px 0 0; max-width: 520px; text-transform: none; }

.product-grid { display: block; margin-top: 34px; border-top: 1px solid var(--line); }
.product-card {
  display: block;
  position: relative;
  padding: 24px 150px 24px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  min-height: 0;
  transition: padding .45s cubic-bezier(.76,0,.24,1), opacity .35s;
}
.product-grid:hover .product-card { opacity: .35; }
.product-grid .product-card:hover { opacity: 1; padding-left: 18px; }
.product-card.feature { background: transparent; }
.product-card .text-link { position: absolute; right: 0; top: 26px; }
.product-top { display: flex; align-items: center; gap: 12px; }
.product-top img { width: 30px; height: 30px; border-radius: 7px; filter: grayscale(1); }
.soon-icon { width: 30px; height: 30px; border: 1px solid var(--line); display: grid; place-items: center; font-size: 13px; }
.badge { font-size: 8px; letter-spacing: .14em; text-transform: uppercase; padding: 2px 0; border: 0; color: var(--dim); }
.badge.soon { color: var(--dim); }
.product-card h3 { font-family: var(--serif); font-size: clamp(20px, 3.4vw, 36px); font-weight: 400; text-transform: uppercase; letter-spacing: -.01em; margin: 6px 0 0; }
.product-card p { color: var(--dim); font-size: 11px; line-height: 1.7; margin: 8px 0 0; max-width: 470px; }
.product-card ul { display: none; }
.text-link { margin-top: 0; padding: 0; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; text-decoration: none; color: var(--fg); border-bottom: 1px solid var(--fg); align-self: end; white-space: nowrap; }
.text-link:hover { opacity: .5; }
.text-link.disabled { color: var(--dim); border-color: transparent; }
.muted-card { opacity: .7; }

.studio { display: block; }
.studio-card { max-width: 720px; padding: 0; border: 0; background: transparent; }
.studio-card h2 { font-family: var(--serif); font-size: clamp(22px, 4vw, 46px); font-weight: 400; text-transform: uppercase; line-height: 1.15; margin: 10px 0 0; }
.studio-card p { color: var(--dim); font-size: 12px; line-height: 1.8; margin: 16px 0 0; max-width: 620px; }
.studio-card .text-link { display: inline-block; padding-top: 20px; }

.updates-card { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; padding: 0; border: 0; background: transparent; }
.updates-card h2 { font-family: var(--serif); font-size: clamp(20px, 3vw, 34px); font-weight: 400; text-transform: uppercase; line-height: 1.15; margin: 8px 0 0; }
.updates-card p { color: var(--dim); font-size: 11px; margin: 10px 0 0; max-width: 400px; }
.newsletter-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.newsletter-form input { flex: 1 1 180px; border: 0; background: transparent; padding: 6px 0; outline: none; color: var(--fg); font-size: 12px; }
.newsletter-form input::placeholder { color: var(--dim); }
.form-msg { flex: 1 1 100%; min-height: 16px; margin: 6px 0 0; font-size: 10px; color: var(--dim); }
.form-msg.ok { color: #2c6b4f; }
.form-msg.err { color: #b6432a; }

.site-foot { width: 100%; margin: 0; padding: 50px 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; color: var(--dim); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; background: var(--bg); position: relative; z-index: 1; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--fg); }

@media (max-width: 800px) {
  .updates-card { grid-template-columns: 1fr; }
  .product-card { padding-right: 0; }
  .product-card .text-link { position: static; display: inline-block; margin-top: 12px; }
}
@media (max-width: 640px) {
  section { padding: 64px 20px; }
  .hero { padding: 22px 20px; }
  .site-head { padding: 18px 20px 0; }
  .site-head nav { gap: 1px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Blurred transition from the ASCII hero into the first content section */
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 190px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, color-mix(in srgb, var(--bg) 55%, transparent) 42%, var(--bg) 88%, var(--bg) 100%);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) 38%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) 38%, #000 100%);
}
.hero > * { position: relative; z-index: 3; }
.hero + section { border-top: 0; }

/* Fullscreen menu, immersive-g style */
.menu-toggle {
  border: 0;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 1px 0;
}
.menu-toggle:hover { opacity: .45; }
body.menu-open { overflow: hidden; }
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  background:
    radial-gradient(80% 80% at 50% 40%, rgba(20,20,20,.55), rgba(0,0,0,.94) 75%),
    rgba(0,0,0,.94);
  color: #e8efe6;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.menu-overlay[hidden] { display: none !important; }
.menu-overlay-top {
  position: absolute;
  top: 22px;
  left: 28px;
  right: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.menu-brand { font-weight: 700; }
.menu-close {
  border: 0;
  background: transparent;
  color: #e8efe6;
  font: inherit;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-close span { display: inline-block; margin-left: 6px; color: rgba(232,239,230,.5); }
.menu-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2px, 1vh, 12px);
  text-align: center;
}
.menu-list a {
  position: relative;
  display: inline-block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6.4vw, 86px);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: rgba(232,239,230,.32);
  text-decoration: none;
  transition: color .25s ease;
  padding: 0 12px;
}
.menu-list a:hover { color: #e8efe6; }
.menu-list a::before,
.menu-list a::after {
  content: attr(data-text);
  position: absolute;
  left: 12px;
  top: 0;
  width: calc(100% - 24px);
  pointer-events: none;
  opacity: 0;
  color: #fff;
}
.menu-list a::before {
  clip-path: inset(12% 0 58% 0);
  transform: translateX(-5px);
  mix-blend-mode: screen;
}
.menu-list a::after {
  clip-path: inset(58% 0 12% 0);
  transform: translateX(5px);
  mix-blend-mode: screen;
}
.menu-list a.is-scrambling { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; }
.menu-list a.is-scrambling span { font-size: .4em; letter-spacing: .05em; vertical-align: middle; }
.menu-list a:hover::before {
  opacity: .7;
  animation: menuGlitch .38s steps(2) infinite;
}
.menu-list a:hover::after {
  opacity: .55;
  animation: menuGlitch2 .31s steps(2) infinite;
}
.menu-list a:hover {
  background-image: linear-gradient(90deg, transparent, rgba(255,255,255,.12) 35%, rgba(255,255,255,.28) 50%, rgba(255,255,255,.12) 65%, transparent);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 52%;
}
@keyframes menuGlitch {
  0% { clip-path: inset(8% 0 62% 0); transform: translateX(-6px); }
  50% { clip-path: inset(58% 0 18% 0); transform: translateX(6px); }
  100% { clip-path: inset(30% 0 44% 0); transform: translateX(-4px); }
}
@keyframes menuGlitch2 {
  0% { clip-path: inset(62% 0 10% 0); transform: translateX(5px); }
  50% { clip-path: inset(18% 0 56% 0); transform: translateX(-6px); }
  100% { clip-path: inset(42% 0 30% 0); transform: translateX(4px); }
}
.menu-overlay-foot {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(232,239,230,.42);
}
.menu-overlay-foot a { color: #e8efe6; text-decoration: none; }
@media (max-width: 640px) {
  .menu-overlay { padding: 20px; }
  .menu-overlay-top, .menu-overlay-foot { left: 20px; right: 20px; }
  .menu-list a { font-size: clamp(34px, 12vw, 52px); }
}

/* Gladeye-style menu slide-down */
.menu-overlay {
  inset: -1px;
  transform: translateY(-100%);
  opacity: 1;
  visibility: hidden;
  will-change: transform;
  transition: transform .95s cubic-bezier(.76,0,.24,1), visibility 0s .95s;
}
.menu-overlay.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform .95s cubic-bezier(.76,0,.24,1), visibility 0s;
}
.menu-list a { opacity: 0; transform: translateY(26px); }
.menu-overlay.is-open .menu-list a {
  animation: menuItemIn .85s cubic-bezier(.76,0,.24,1) forwards;
}
.menu-overlay.is-open .menu-list a:nth-child(1) { animation-delay: .18s; }
.menu-overlay.is-open .menu-list a:nth-child(2) { animation-delay: .26s; }
.menu-overlay.is-open .menu-list a:nth-child(3) { animation-delay: .34s; }
.menu-overlay.is-open .menu-list a:nth-child(4) { animation-delay: .42s; }
.menu-overlay.is-open .menu-list a:nth-child(5) { animation-delay: .5s; }
.menu-overlay.is-open .menu-list a:nth-child(6) { animation-delay: .58s; }
@keyframes menuItemIn { to { opacity: 1; transform: translateY(0); } }

/* Soft scroll + reveal */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .menu-overlay, .menu-list a { transition: none; animation: none; }
}

/* Seamless blurred top fade */
.hero::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 190px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--bg) 0%, color-mix(in srgb, var(--bg) 65%, transparent) 38%, transparent 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.5) 48%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.5) 48%, transparent 100%);
}


.lang-switch {
  position: fixed;
  right: 22px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--dim);
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--dim);
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  padding: 0;
}
.lang-switch button.is-active { color: var(--fg); border-bottom: 1px solid var(--fg); }
.menu-overlay {
  will-change: transform, opacity;
  transition: transform .95s cubic-bezier(.76,0,.24,1), opacity .55s ease, visibility 0s linear .95s;
}
.menu-overlay.is-open { transition: transform .95s cubic-bezier(.76,0,.24,1), opacity .55s ease, visibility 0s; }
.menu-list a.is-scrambling::before,
.menu-list a.is-scrambling::after { display: none; }

/* Immersive cursor + touch hint */
@media (pointer: fine) {
  body:not(.emul8-page) { cursor: none; }
  body.has-custom-cursor,
  body.has-custom-cursor * { cursor: none !important; }
  a, button, input, textarea, select, .menu-toggle, .lang-switch button { cursor: pointer; }
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor input,
  body.has-custom-cursor textarea,
  body.has-custom-cursor select { cursor: none !important; }
  body.emul8-page { cursor: none; }
}
.fx-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2147483647;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .08s linear;
  will-change: transform;
  /* Invert against whatever is underneath so the dot never disappears over
     white titles or black ASCII. */
  mix-blend-mode: difference;
}
.fx-cursor.visible { opacity: 1; }
.fx-cursor-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: #fff;
}
.fx-cursor-ring {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  transition: transform .2s ease, border-color .2s ease;
}
.fx-cursor-ring::before,
.fx-cursor-ring::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, .38);
}
.fx-cursor-ring::before { left: 50%; top: -7px; width: 1px; height: 5px; }
.fx-cursor-ring::after { left: 50%; bottom: -7px; width: 1px; height: 5px; }
.fx-cursor-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(18px, 14px);
  font-size: 7.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .25s ease;
}
.fx-cursor.is-down .fx-cursor-ring { transform: scale(.82); border-color: #fff; }
.fx-cursor.is-down .fx-cursor-label { opacity: 1; }
.fx-hint {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 20;
  padding: 7px 12px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  pointer-events: none;
  transition: opacity .6s ease;
}
@media (pointer: fine) { .fx-hint { display: none; } }

/* Demo video */
.demo video {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin-top: 28px;
  border: 1px solid var(--line);
  background: #000;
}

/* Highlight system */
:root { --hl: #c8ff5e; }
:root[data-theme="dark"] { --hl: #c8ff5e; }
::selection { background: var(--hl); color: var(--bg); }
a:focus-visible, button:focus-visible, input:focus-visible, .menu-toggle:focus-visible {
  outline: 1px solid var(--hl);
  outline-offset: 4px;
}
.text-link:hover, .glass-btn:hover, .ghost-btn:hover { color: var(--hl); }
.product-card:hover .text-link { color: var(--hl); border-color: var(--hl); }
.hero-meta span:hover { color: var(--hl); }
.site-head nav a:hover { color: var(--hl); }
.menu-list a:hover { color: var(--hl); }

/* Fluid reveals */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(7px);
  transition: opacity 1.15s cubic-bezier(.16,1,.3,1), transform 1.15s cubic-bezier(.16,1,.3,1), filter 1.15s cubic-bezier(.16,1,.3,1);
}
.reveal.is-visible { opacity: 1; transform: none; filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* Emul8 hero artwork (also covers cached older markup) */
.emul8-hero-art img { width: min(420px, 80vw); height: auto; filter: drop-shadow(0 40px 90px rgba(0,0,0,.55)); }
.emul8-mark { width: 42px; height: 42px; }

/* Cursor must never paint a filled disc */
.fx-cursor, .fx-cursor-ring {
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Compact, centered page rhythm */
main > section,
.hero,
.site-foot {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
@media (min-width: 1121px) {
  .site-head,
  main > section:not(.hero),
  .site-foot {
    padding-left: calc((100vw - 1120px) / 2 + 28px);
    padding-right: calc((100vw - 1120px) / 2 + 28px);
  }
}


/* Fluid layout: follow the viewport instead of cropping */
html, body { overflow-x: hidden; }
main > section, .hero, .site-foot { width: 100%; max-width: none; }
.emul8-hero-art, .emul8-hero-art img, #eightCanvas { max-width: 100%; }
@media (max-width: 640px) {
  main > section, .hero { padding-left: 20px; padding-right: 20px; }
  .site-foot { padding: 36px 20px; flex-wrap: wrap; }
  .site-head { padding: 18px 20px 0; }
  .compare-table { min-width: 560px; }
  .emul8-hero { padding: 92px 20px 48px; gap: 26px; }
  .emul8-hero h1 { font-size: clamp(28px, 9vw, 40px); }
  .emul8-hero .lead { font-size: 11.5px; }
  .emul8-features { grid-template-columns: 1fr; }
  .emul8-section, .emul8-cta { padding: 54px 20px; }
  .waitlist-form { gap: 10px; }
  .waitlist-form input { flex-basis: 100%; }
  .waitlist-form .glass-btn { width: 100%; justify-content: space-between; }
}

/* Fading blur separator under the fixed header */
.site-head { isolation: isolate; }
.site-head::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 108px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom,
    var(--bg) 0%,
    color-mix(in srgb, var(--bg) 82%, transparent) 46%,
    invisible 100%);
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(7, 9, 7, .78) 46%, rgba(7, 9, 7, 0) 100%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 100%);
}
@media (max-width: 640px) {
  .site-head::before { height: 88px; }
}


/* Menu: characters assemble into the word under the pointer */
.menu-list a::before,
.menu-list a::after { content: none !important; display: none !important; animation: none !important; }
.menu-list a { position: relative; }
.menu-word { display: inline-block; transition: opacity .2s ease; }
.menu-list a.is-ascii .menu-word { opacity: 0; }
.menu-ascii {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .16s ease;
  mix-blend-mode: screen;
}
.menu-list a:hover { background-image: none; }
.menu-overlay-top .brand { color: #e8efe6; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; text-decoration: none; }
.menu-overlay-top .brand small { display: none; }
.menu-overlay-top .brand-wave { color: #e8efe6; }
.menu-close { padding: 1px 0; }

/* Native image cursor: the OS draws it at pointer rate, so it stays glued
   to the physical pointer instead of lagging behind a composited DOM layer. */
@media (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: url('/assets/brand/cursor.png') 16 16, none !important;
  }
}
.fx-cursor { display: none !important; }
