@property --fy {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@property --rx {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@property --ry {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  --void: #050210;
  --void-deep: #02010a;
  --navy: #0c0820;
  --pane: rgba(16, 12, 42, 0.62);
  --cyan: #3ee8ff;
  --cyan-soft: #8be8ff;
  --cyan-mist: rgba(62, 232, 255, 0.16);
  --violet: #8b6cff;
  --violet-soft: #c4b5fd;
  --magenta: #d946ef;
  --ice: #eaf6ff;
  --mute: #9aa6c7;
  --line: rgba(139, 232, 255, 0.22);
  --glow: 0 0 28px rgba(62, 232, 255, 0.28);
  --font-display: "Oxanium", sans-serif;
  --font-body: "Sora", sans-serif;
  --font-mono: "Share Tech Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ice);
  background: var(--void-deep);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.void {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(62, 232, 255, 0.12), transparent 55%),
    radial-gradient(900px 600px at 110% 20%, rgba(139, 108, 255, 0.16), transparent 50%),
    radial-gradient(800px 500px at -10% 80%, rgba(217, 70, 239, 0.08), transparent 50%),
    linear-gradient(180deg, #070414 0%, #050210 42%, #0a061c 100%);
}

#hivefield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.aurora {
  position: absolute;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: drift 18s ease-in-out infinite alternate;
}

.aurora-a {
  top: -12vw;
  left: 18vw;
  background: radial-gradient(circle, rgba(62, 232, 255, 0.45), transparent 68%);
}

.aurora-b {
  right: -10vw;
  bottom: 8vw;
  background: radial-gradient(circle, rgba(139, 108, 255, 0.4), transparent 68%);
  animation-duration: 24s;
  animation-delay: -6s;
}

.honeycomb {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(139, 232, 255, 0.18) 1px, transparent 1.4px),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 27px,
      rgba(139, 232, 255, 0.05) 28px,
      transparent 29px
    ),
    repeating-linear-gradient(
      60deg,
      transparent 0,
      transparent 27px,
      rgba(139, 108, 255, 0.05) 28px,
      transparent 29px
    ),
    repeating-linear-gradient(
      -60deg,
      transparent 0,
      transparent 27px,
      rgba(62, 232, 255, 0.04) 28px,
      transparent 29px
    );
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 78%);
  animation: hive-breathe 10s ease-in-out infinite;
}

.wing-mark {
  position: absolute;
  width: min(38vw, 420px);
  height: auto;
  stroke: rgba(139, 232, 255, 0.22);
  stroke-width: 1.2;
  fill: rgba(139, 232, 255, 0.03);
  animation: wing-pulse 7s ease-in-out infinite;
}

.wing-left {
  top: 12vh;
  left: -4vw;
}

.wing-right {
  top: 12vh;
  right: -4vw;
  animation-delay: -3.4s;
}

.heart-circuit {
  position: absolute;
  width: 180px;
  left: 6vw;
  bottom: 12vh;
  stroke: rgba(217, 70, 239, 0.35);
  stroke-width: 1.6;
  opacity: 0.45;
  animation: circuit 4.5s ease-in-out infinite;
}

.heart-circuit circle {
  fill: rgba(139, 232, 255, 0.55);
}

.cursor-bloom {
  position: absolute;
  width: 340px;
  height: 340px;
  margin: -170px 0 0 -170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 232, 255, 0.16), transparent 68%);
  transform: translate(-999px, -999px);
  transition: transform 0.08s linear;
}

.grain,
.vignette {
  position: absolute;
  inset: 0;
}

.grain {
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.vignette {
  background: radial-gradient(ellipse at center, transparent 40%, rgba(2, 1, 10, 0.72) 100%);
}

header,
main,
footer,
.foldout {
  position: relative;
  z-index: 1;
}

.signal {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 28px;
  backdrop-filter: blur(18px);
  background: rgba(5, 2, 16, 0.42);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.signal.locked {
  background: rgba(5, 2, 16, 0.78);
  border-bottom-color: var(--line);
  padding: 10px 28px;
}

.mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mark-core {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--glow);
  animation: core-spin-glow 6s ease-in-out infinite;
}

.mark-core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #050210;
}

.mark-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.mark-text strong {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.mark-text small {
  font-family: var(--font-mono);
  color: var(--cyan-soft);
  letter-spacing: 0.16em;
  font-size: 0.7rem;
}

.orbit-nav {
  display: flex;
  gap: 28px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orbit-nav a {
  position: relative;
  color: var(--mute);
  transition: color 0.25s ease;
}

.orbit-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.orbit-nav a:hover {
  color: var(--ice);
}

.orbit-nav a:hover::after {
  transform: scaleX(1);
}

.signal-end {
  display: flex;
  align-items: center;
  gap: 10px;
}

.node {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(10, 8, 28, 0.7);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.node img {
  width: 16px;
  height: 16px;
}

.node:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: var(--glow);
}

.pulse-buy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(62, 232, 255, 0.45);
  background: linear-gradient(135deg, rgba(62, 232, 255, 0.18), rgba(139, 108, 255, 0.22));
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--glow);
  animation: buy-pulse 2.8s ease-in-out infinite;
}

.pulse-buy.large {
  padding: 14px 22px;
  font-size: 1rem;
}

.pulse-buy img {
  width: 16px;
  height: 16px;
}

.pulse-buy:hover {
  transform: translateY(-1px);
  border-color: var(--cyan);
}

.fold {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  gap: 6px;
  flex-direction: column;
}

.fold span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ice);
}

.foldout {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 18px 28px 24px;
  background: rgba(5, 2, 16, 0.94);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.foldout:not([hidden]) {
  display: flex;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: 48px 7vw 80px;
}

.containment {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(139, 232, 255, 0.18);
  box-shadow: inset 0 0 24px rgba(62, 232, 255, 0.08), 0 0 24px rgba(139, 108, 255, 0.08);
}

.ring-a {
  inset: 6%;
  animation: spin 28s linear infinite;
  border-style: dashed;
}

.ring-b {
  inset: 16%;
  animation: spin 18s linear infinite reverse;
  border-color: rgba(139, 108, 255, 0.28);
}

.ring-c {
  inset: 27%;
  animation: spin 12s linear infinite;
  border-color: rgba(217, 70, 239, 0.22);
}

.bee {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, var(--cyan) 40%, transparent 72%);
  box-shadow: 0 0 12px var(--cyan);
  offset-path: path("M260,260 m-210,0 a210,118 0 1,1 420,0 a210,118 0 1,1 -420,0");
  offset-rotate: 0deg;
  animation: bee-orbit 14s linear infinite;
}

.bee-2 { animation-delay: -2.3s; }
.bee-3 { animation-delay: -4.6s; }
.bee-4 { animation-delay: -7s; }
.bee-5 { animation-delay: -9.3s; }
.bee-6 { animation-delay: -11.6s; }

.mascot {
  width: 62%;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #14102c, #050210 70%);
  border: 1px solid rgba(139, 232, 255, 0.28);
  box-shadow:
    0 0 0 12px rgba(8, 6, 24, 0.55),
    0 0 60px rgba(62, 232, 255, 0.22),
    0 0 90px rgba(139, 108, 255, 0.16);
  --rx: 0deg;
  --ry: 0deg;
  --fy: 0px;
  transform: translateY(var(--fy)) rotateY(var(--ry)) rotateX(var(--rx));
  transform-style: preserve-3d;
  animation: float-mascot 5.5s ease-in-out infinite;
}

.mascot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: shimmer-wing 6s ease-in-out infinite;
}

.broadcast {
  max-width: 560px;
}

.freq {
  font-family: var(--font-mono);
  color: var(--cyan-soft);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.chrome,
.chrome-line {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 0.95;
  background: linear-gradient(105deg, #8be8ff 0%, #ffffff 28%, #c4b5fd 52%, #3ee8ff 76%, #ffffff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: chrome-slide 7s linear infinite;
  filter: drop-shadow(0 0 18px rgba(62, 232, 255, 0.28));
}

h1 .chrome {
  font-size: clamp(3.4rem, 8vw, 6.4rem);
}

.chrome-line {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.role {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--violet-soft);
  letter-spacing: 0.06em;
}

.ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin: 22px 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.ticker span {
  color: var(--mute);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ticker strong {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cyan-soft);
}

.ca-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: -6px 0 22px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.ca-row span {
  color: var(--mute);
  letter-spacing: 0.16em;
}

.ca-row code,
.ca-spec strong {
  color: var(--cyan-soft);
  word-break: break-all;
  font-family: var(--font-mono);
  font-weight: 400;
}

.ca-copy {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ice);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ca-copy:hover,
.ca-copy.copied {
  border-color: var(--cyan);
  box-shadow: var(--glow);
}

.ca-spec {
  grid-column: 1 / -1;
}

.lede {
  color: var(--mute);
  max-width: 46ch;
  margin-bottom: 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.ghost-link,
.inline-link {
  color: var(--cyan-soft);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(139, 232, 255, 0.35);
  padding-bottom: 2px;
}

.ghost-link:hover,
.inline-link:hover {
  color: var(--ice);
}

section {
  padding: 88px 7vw;
}

.section-tone {
  margin-bottom: 36px;
}

.about-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.portrait {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #070414;
  box-shadow: var(--glow);
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 2, 16, 0.75));
  pointer-events: none;
}

.portrait img {
  width: 100%;
  object-fit: cover;
  animation: lift 7s ease-in-out infinite;
}

.portrait figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan-soft);
  letter-spacing: 0.08em;
}

.dossier p {
  color: var(--mute);
  margin-bottom: 16px;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  list-style: none;
  margin-top: 24px;
}

.spec-grid li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--pane);
  backdrop-filter: blur(12px);
}

.spec-grid span {
  display: block;
  font-family: var(--font-mono);
  color: var(--mute);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.spec-grid strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.facets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.facet,
.cell,
.join-tile {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--pane);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.facet,
.cell {
  border-radius: 22px;
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
}

.facet::after,
.cell::after,
.join-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(62, 232, 255, 0.08), transparent 42%);
  pointer-events: none;
}

.facet h3,
.cell h3,
.join-tile h3 {
  font-family: var(--font-display);
  margin-bottom: 8px;
}

.facet p,
.cell p,
.join-tile p {
  color: var(--mute);
}

.cells {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  list-style: none;
}

.cell-index {
  font-family: var(--font-mono);
  color: var(--violet-soft);
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.cell-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 12px 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(8, 6, 24, 0.7);
}

.cell-icon img {
  width: 22px;
  height: 22px;
}

.hex-port {
  position: relative;
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: #070414;
  box-shadow: var(--glow);
}

.hex-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 80px rgba(62, 232, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(62, 232, 255, 0.12), transparent 18%, transparent 82%, rgba(139, 108, 255, 0.12));
  z-index: 1;
}

.hex-port iframe {
  width: 100%;
  height: 620px;
  border: 0;
  background: #070414;
}

.cinemascope {
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 0 48px rgba(62, 232, 255, 0.16);
  background: #050210;
}

.cinemascope img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: banner-drift 16s ease-in-out infinite alternate;
}

.join-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.join-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 20px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.join-tile img {
  width: 22px;
  height: 22px;
}

.join-tile:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: var(--glow);
}

.colophon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 7vw 48px;
  border-top: 1px solid var(--line);
  color: var(--mute);
}

.colophon-nodes {
  display: flex;
  gap: 10px;
}

.rise {
  opacity: 0;
  transform: translateY(28px);
  animation: rise-in 0.9s ease forwards;
}

.delay { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-6%, 8%, 0) scale(1.08); }
}

@keyframes hive-breathe {
  0%, 100% { opacity: 0.14; transform: scale(1); }
  50% { opacity: 0.24; transform: scale(1.03); }
}

@keyframes wing-pulse {
  0%, 100% { opacity: 0.28; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.55; transform: scale(1.04) rotate(2deg); }
}

@keyframes circuit {
  0%, 100% { opacity: 0.3; filter: drop-shadow(0 0 0 transparent); }
  50% { opacity: 0.7; filter: drop-shadow(0 0 10px rgba(217, 70, 239, 0.5)); }
}

@keyframes core-spin-glow {
  0%, 100% { box-shadow: 0 0 16px rgba(62, 232, 255, 0.22); }
  50% { box-shadow: 0 0 28px rgba(139, 108, 255, 0.4); }
}

@keyframes buy-pulse {
  0%, 100% { box-shadow: 0 0 16px rgba(62, 232, 255, 0.22); }
  50% { box-shadow: 0 0 28px rgba(62, 232, 255, 0.5); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes bee-orbit {
  to { offset-distance: 100%; }
}

@keyframes float-mascot {
  0%, 100% { --fy: 0px; }
  50% { --fy: -10px; }
}

@keyframes lift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmer-wing {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 16px rgba(62, 232, 255, 0.35)); }
}

@keyframes chrome-slide {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

@keyframes banner-drift {
  from { transform: scale(1.02) translateX(0); }
  to { transform: scale(1.06) translateX(-1.4%); }
}

@keyframes rise-in {
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .orbit-nav,
  .pulse-buy:not(.large) {
    display: none;
  }

  .fold {
    display: grid;
  }

  .hero,
  .about-split,
  .facets,
  .cells,
  .join-row,
  .colophon {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .colophon {
    flex-direction: column;
    text-align: center;
  }

  .hex-port,
  .hex-port iframe {
    min-height: 460px;
    height: 460px;
  }

  .cinemascope {
    aspect-ratio: 3 / 1;
  }
}

@media (max-width: 640px) {
  .signal {
    padding: 12px 16px;
  }

  section {
    padding: 64px 20px;
  }

  .spec-grid,
  .cells,
  .join-row {
    grid-template-columns: 1fr;
  }

  .bee {
    offset-path: path("M160,160 m-130,0 a130,74 0 1,1 260,0 a130,74 0 1,1 -260,0");
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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