:root {
  --void: #02060d;
  --navy: #07111d;
  --panel: rgba(10, 22, 40, 0.72);
  --line: rgba(90, 196, 255, 0.22);
  --cyan: #2ad8ff;
  --cyan-deep: #0b6f8c;
  --ice: #d7eefc;
  --chrome: #c9d7e8;
  --steel: #7d93ab;
  --cable: #c81e32;
  --glow: 0 0 28px rgba(42, 216, 255, 0.28);
  --font-word: "Gruppo", sans-serif;
  --font-title: "Saira Condensed", sans-serif;
  --font-body: "Figtree", sans-serif;
  --font-mono: "Share Tech Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ice);
  background: var(--void);
  font-family: var(--font-body);
  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;
}

#field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42, 216, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 216, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 30%, #000 20%, transparent 78%);
  animation: mesh-drift 28s linear infinite;
}

.circuit {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 18% 22%, rgba(42, 216, 255, 0.08), transparent 22%),
    repeating-linear-gradient(
      115deg,
      transparent 0 34px,
      rgba(42, 216, 255, 0.045) 34px 35px,
      transparent 35px 68px
    );
  animation: circuit-shift 18s linear infinite;
}

.scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.015) 0 1px,
    transparent 1px 4px
  );
  animation: scan-drift 9s linear infinite;
  mix-blend-mode: screen;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
}

.orb-a {
  width: 420px;
  height: 420px;
  left: -80px;
  top: 12%;
  background: #0d4d72;
  animation: orb-float 14s ease-in-out infinite;
}

.orb-b {
  width: 360px;
  height: 360px;
  right: -60px;
  bottom: 8%;
  background: #123a58;
  animation: orb-float 16s ease-in-out infinite reverse;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, transparent 35%, rgba(2, 6, 13, 0.78) 100%);
}

.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  margin: -140px 0 0 -140px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(42, 216, 255, 0.12), transparent 68%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.is-pointer .cursor-glow {
  opacity: 1;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 40;
  background: rgba(42, 216, 255, 0.08);
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--cyan), #fff);
  box-shadow: var(--glow);
}

.icon-fit {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(86%) sepia(18%) saturate(743%) hue-rotate(167deg) brightness(104%) contrast(98%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.topbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 28px));
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 10px 12px 10px 10px;
  border: 1px solid var(--line);
  background: rgba(4, 10, 18, 0.72);
  backdrop-filter: blur(18px);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  padding: 2px;
  background: linear-gradient(145deg, #8fd9ff, #16324a 45%, #2ad8ff);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: var(--font-word);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-copy small {
  font-family: var(--font-mono);
  color: var(--steel);
  letter-spacing: 0.16em;
  font-size: 0.68rem;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.nav a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  position: relative;
}

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

.nav a:hover,
.nav a.is-active {
  color: var(--ice);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-link {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(12, 28, 46, 0.7);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(42, 216, 255, 0.4);
  font-family: var(--font-title);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.cta,
.btn.solid {
  background: linear-gradient(180deg, #1a3a52, #0b2436);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), var(--glow);
}

.btn.ghost {
  background: rgba(6, 16, 28, 0.55);
}

.cta:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(42, 216, 255, 0.38);
}

.menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid var(--line);
}

.menu-btn span {
  display: block;
  height: 1px;
  background: var(--ice);
}

.drawer {
  position: fixed;
  top: 86px;
  left: 14px;
  right: 14px;
  z-index: 29;
  display: grid;
  gap: 8px;
  padding: 16px;
  background: rgba(4, 10, 18, 0.94);
  border: 1px solid var(--line);
}

.drawer[hidden] {
  display: none;
}

.drawer a {
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(42, 216, 255, 0.1);
}

main {
  position: relative;
  z-index: 2;
}

.hero {
  min-height: 100vh;
  padding: 140px 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-halo {
  position: absolute;
  inset: 80px 0 auto;
  height: 520px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.arch {
  width: min(720px, 88vw);
  opacity: 0.55;
  filter: drop-shadow(0 0 24px rgba(180, 230, 255, 0.35));
  animation: arch-breathe 6s ease-in-out infinite;
}

.halo-ring {
  position: absolute;
  width: min(420px, 70vw);
  aspect-ratio: 1;
  border: 1px dashed rgba(42, 216, 255, 0.28);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}

.halo-ring.delay {
  width: min(520px, 82vw);
  animation-duration: 42s;
  animation-direction: reverse;
  border-color: rgba(200, 30, 50, 0.18);
}

.hero-stage {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: center;
}

.portrait {
  position: relative;
  isolation: isolate;
}

.hex-frame {
  position: relative;
  padding: 10px;
  background:
    linear-gradient(160deg, rgba(180, 230, 255, 0.7), rgba(20, 40, 60, 0.2) 38%, rgba(42, 216, 255, 0.55));
  clip-path: polygon(50% 0, 100% 18%, 100% 82%, 50% 100%, 0 82%, 0 18%);
  box-shadow: 0 0 60px rgba(42, 216, 255, 0.18);
  animation: frame-pulse 5.5s ease-in-out infinite;
}

.hex-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  clip-path: polygon(50% 0, 100% 18%, 100% 82%, 50% 100%, 0 82%, 0 18%);
}

.portrait-scan {
  position: absolute;
  inset: 12% 18%;
  background: linear-gradient(180deg, transparent, rgba(42, 216, 255, 0.28), transparent);
  mix-blend-mode: screen;
  animation: portrait-scan 3.8s linear infinite;
  pointer-events: none;
}

.hero-copy {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  font-size: 0.78rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(42, 216, 255, 0.7);
  animation: ping 2s ease-out infinite;
}

.chrome-word {
  margin: 0;
  font-family: var(--font-word);
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  line-height: 0.86;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 8%, #c5d8ec 38%, #7ea3c4 52%, #eaf4ff 68%, #9eb8d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  filter: drop-shadow(0 10px 24px rgba(42, 216, 255, 0.18));
}

.chrome-word::after {
  content: "Superior Inu";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.7) 48%, transparent 62%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 5.5s ease-in-out infinite;
  pointer-events: none;
}

.manifesto {
  max-width: 34ch;
  margin: 22px 0 28px;
  font-size: 1.18rem;
  line-height: 1.55;
  color: #b7cce0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 34px 0 0;
}

.spec-strip div {
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
}

.spec-strip dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}

.spec-strip dd {
  margin: 6px 0 0;
  font-family: var(--font-title);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
}

.marquee {
  margin-top: 72px;
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: rgba(4, 12, 22, 0.55);
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 14px 0;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  font-family: var(--font-mono);
  letter-spacing: 0.28em;
  color: var(--steel);
}

.marquee-track span:nth-child(odd) {
  color: var(--cyan);
}

section {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}

.section-rule span {
  color: var(--cyan);
}

.section-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.section-head h2,
.about-copy h2 {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-head p,
.about-copy p {
  margin: 0 0 16px;
  max-width: 62ch;
  color: #adc2d6;
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.traits {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.traits li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-left: 2px solid var(--cyan);
  background: linear-gradient(90deg, rgba(42, 216, 255, 0.08), transparent);
}

.traits strong {
  font-family: var(--font-title);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.traits span {
  color: var(--steel);
}

.hud {
  position: relative;
  padding: 28px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.hud-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid var(--cyan);
}

.hud-corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hud-corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.hud-corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.hud-corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.hud-label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  font-size: 0.75rem;
}

.hud h3 {
  margin: 0 0 12px;
  font-family: var(--font-word);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.8rem;
}

.hud p {
  color: #b7cce0;
  line-height: 1.6;
}

.readout {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.readout div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(42, 216, 255, 0.12);
  font-size: 0.92rem;
}

.readout span {
  color: var(--steel);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.spine {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  position: relative;
}

.spine::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--cyan), var(--cable), var(--cyan), transparent);
  animation: spine-flow 4s linear infinite;
}

.node {
  display: grid;
  grid-template-columns: 48px 72px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
}

.node-index {
  font-family: var(--font-mono);
  color: var(--cyan);
  letter-spacing: 0.12em;
  padding-top: 18px;
}

.node-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(8, 18, 32, 0.85);
  position: relative;
  z-index: 1;
}

.node-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.node-icon.theme img {
  filter: brightness(0) saturate(100%) invert(86%) sepia(18%) saturate(743%) hue-rotate(167deg) brightness(104%) contrast(98%);
}

.node-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-title);
  font-size: 1.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.node-body p {
  margin: 0 0 12px;
  color: #adc2d6;
  line-height: 1.65;
}

.text-btn {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0;
  color: var(--cyan);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(42, 216, 255, 0.35);
}

.text-btn:hover {
  color: #fff;
}

.bezel {
  position: relative;
  margin-top: 28px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(5, 12, 22, 0.8);
}

.bezel-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  font-size: 0.78rem;
}

.bezel-bar a {
  color: var(--cyan);
}

.embed {
  position: relative;
  height: min(72vh, 720px);
  background: #02060d;
}

.embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.plate {
  margin: 28px 0 36px;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), var(--glow);
  position: relative;
}

.plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.12) 46%, transparent 70%);
  transform: translateX(-40%);
  animation: plate-sheen 7s ease-in-out infinite;
  pointer-events: none;
}

.plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 18, 32, 0.7);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.channel img {
  width: 22px;
  height: 22px;
}

.channel strong {
  display: block;
  font-family: var(--font-title);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.channel span {
  color: var(--steel);
  font-size: 0.88rem;
}

.foot {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
}

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

.foot-brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.foot-brand strong {
  display: block;
  font-family: var(--font-word);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.foot-brand span,
.foot p {
  color: var(--steel);
}

.foot p {
  margin: 0;
}

.foot-links {
  display: flex;
  gap: 10px;
}

.foot-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}

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

.reveal.is-in {
  animation-play-state: running;
}

@keyframes mesh-drift {
  to { background-position: 72px 72px; }
}

@keyframes circuit-shift {
  to { transform: translate3d(-40px, 20px, 0); }
}

@keyframes scan-drift {
  to { transform: translateY(8px); }
}

@keyframes orb-float {
  50% { transform: translate3d(20px, -24px, 0); }
}

@keyframes arch-breathe {
  50% { opacity: 0.85; filter: drop-shadow(0 0 36px rgba(180, 230, 255, 0.55)); }
}

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

@keyframes frame-pulse {
  50% { box-shadow: 0 0 80px rgba(42, 216, 255, 0.32); }
}

@keyframes portrait-scan {
  0% { transform: translateY(-80%); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(120%); opacity: 0; }
}

@keyframes sheen {
  0%, 55% { background-position: 140% 0; }
  85%, 100% { background-position: -40% 0; }
}

@keyframes plate-sheen {
  0%, 40% { transform: translateX(-50%); }
  80%, 100% { transform: translateX(50%); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes ping {
  70%, 100% { box-shadow: 0 0 0 10px transparent; }
}

@keyframes spine-flow {
  0% { opacity: 0.35; }
  50% { opacity: 1; }
  100% { opacity: 0.35; }
}

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

@media (max-width: 980px) {
  .nav { display: none; }
  .cta span { display: none; }
  .menu-btn { display: flex; }
  .topbar { grid-template-columns: 1fr auto; }
  .hero-stage,
  .about-grid,
  .channels,
  .foot,
  .spec-strip {
    grid-template-columns: 1fr;
  }
  .hero-stage { gap: 28px; }
  .portrait { max-width: 420px; margin: 0 auto; }
  .manifesto { max-width: none; }
  .node { grid-template-columns: 36px 56px 1fr; }
  .spine::before { left: 17px; }
  .foot { text-align: left; }
}

@media (max-width: 640px) {
  .hero { padding-top: 120px; }
  .chrome-word { font-size: 3.1rem; }
  .hero-actions { display: grid; }
  .node-icon { width: 56px; height: 56px; }
  .plate { aspect-ratio: 3 / 1; }
}
