/* AetherForge Lab — Orbital Lab */
:root {
  color-scheme: dark;
  --ink: #050712;
  --ink-soft: #090d1b;
  --panel: rgba(13, 18, 35, 0.72);
  --panel-solid: #0d1223;
  --text: #f4f7ff;
  --text-soft: #c6ccda;
  --muted: #8992a8;
  --line: rgba(181, 195, 225, 0.15);
  --line-bright: rgba(205, 218, 246, 0.28);
  --cyan: #5ce1e6;
  --blue: #7098ff;
  --violet: #a887ff;
  --pink: #ef7fb7;
  --amber: #f0ca72;
  --green: #78d6a3;
  --spectral: linear-gradient(100deg, #60e2d4 0%, #6da5ff 28%, #aa82ff 52%, #ef83b9 75%, #e9c86e 100%);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", sans-serif;
  --mono: "SFMono-Regular", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --shell: 1280px;
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 5%, rgba(99, 111, 255, 0.11), transparent 27rem),
    var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -3;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 18, 0) 0%, rgba(5, 7, 18, 0.75) 72%, var(--ink) 100%);
  content: "";
  pointer-events: none;
}

::selection {
  background: rgba(111, 160, 255, 0.32);
  color: #fff;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 999px;
  background: #fff;
  color: #07101e;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-grid {
  position: fixed;
  z-index: -2;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(146, 163, 201, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(146, 163, 201, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 74%);
  pointer-events: none;
}

.spectral-aura {
  position: fixed;
  z-index: -1;
  top: var(--pointer-y, 28%);
  left: var(--pointer-x, 72%);
  width: 430px;
  height: 430px;
  opacity: 0.22;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 153, 255, 0.2), rgba(155, 103, 246, 0.08) 38%, transparent 70%);
  filter: blur(15px);
  pointer-events: none;
  transition: opacity 300ms ease;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(5, 7, 18, 0.88), rgba(5, 7, 18, 0.48));
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
  transition: border-color 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(5, 7, 18, 0.87);
}

.site-header__inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand__wordmark b {
  color: var(--muted);
  font-weight: 500;
}

.brand__mark {
  position: relative;
  display: block;
  width: 29px;
  height: 29px;
  transform: rotate(-12deg);
}

.brand__mark span {
  position: absolute;
  inset: 50% auto auto 50%;
  display: block;
  border: 1px solid currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.brand__mark span:nth-child(1) {
  width: 28px;
  height: 13px;
  color: var(--cyan);
}

.brand__mark span:nth-child(2) {
  width: 13px;
  height: 28px;
  color: var(--violet);
}

.brand__mark span:nth-child(3) {
  width: 7px;
  height: 7px;
  border: 0;
  background: #fff;
  box-shadow: 0 0 12px rgba(142, 192, 255, 0.9);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 34px);
}

.site-nav a {
  position: relative;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--spectral);
  content: "";
  transition: transform 200ms ease;
}

.site-nav a:hover {
  color: #fff;
}

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

.site-nav .site-nav__utility {
  padding: 8px 14px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
}

.site-nav .site-nav__utility::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.menu-toggle__line {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:first-of-type {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:last-of-type {
  transform: translateY(-3px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 920px;
  padding: calc(var(--header-height) + 86px) 0 82px;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-bright) 32%, var(--line-bright) 68%, transparent);
  content: "";
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(540px, 1.1fr);
  gap: clamp(28px, 5vw, 82px);
  align-items: center;
}

.hero__copy {
  padding-top: 18px;
}

.eyebrow,
.section-index {
  margin: 0 0 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(120, 214, 163, 0.09), 0 0 16px rgba(120, 214, 163, 0.5);
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(44px, 5.1vw, 76px);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 1.13;
}

.spectral-text {
  background: var(--spectral);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 570px;
  margin: 32px 0 0;
  color: var(--text-soft);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.95;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 21px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 225, 246, 0.48);
}

.button--primary {
  border-color: rgba(255, 255, 255, 0.85);
  background: #f4f7ff;
  color: #080b15;
}

.button--primary:hover {
  background: #fff;
}

.button--quiet {
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-soft);
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 38px 0 0;
  padding: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  list-style: none;
  text-transform: uppercase;
}

.platform-list li:not(:last-child)::after {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.22);
  content: "/";
}

.hero__glow {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.hero__glow--one {
  top: 4%;
  right: -12%;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(91, 124, 255, 0.12), rgba(167, 93, 255, 0.05) 40%, transparent 70%);
}

.hero__glow--two {
  bottom: -30%;
  left: 7%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(62, 214, 206, 0.07), transparent 68%);
}

/* Orbital app selector */
.orbital-lab {
  min-width: 0;
}

.orbit-stage {
  --orbit-radius: 258px;
  position: relative;
  width: min(100%, 650px);
  aspect-ratio: 1;
  margin-inline: auto;
  isolation: isolate;
}

.orbit-stage::before {
  position: absolute;
  z-index: -2;
  inset: 11%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 130, 255, 0.11), rgba(110, 79, 186, 0.035) 48%, transparent 72%);
  content: "";
  filter: blur(8px);
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(151, 169, 211, 0.17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit-ring--outer {
  width: 84%;
  height: 84%;
  border-style: dashed;
  border-color: rgba(167, 187, 232, 0.25);
  animation: orbit-spin 52s linear infinite;
}

.orbit-ring--middle {
  width: 66%;
  height: 66%;
}

.orbit-ring--inner {
  width: 42%;
  height: 42%;
  border-color: rgba(177, 147, 255, 0.22);
  box-shadow: 0 0 60px rgba(85, 117, 232, 0.07);
}

.orbit-axis {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  display: block;
  background: linear-gradient(90deg, transparent, rgba(161, 181, 225, 0.13), transparent);
  pointer-events: none;
}

.orbit-axis--horizontal {
  width: 92%;
  height: 1px;
  transform: translate(-50%, -50%);
}

.orbit-axis--vertical {
  width: 1px;
  height: 92%;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, transparent, rgba(161, 181, 225, 0.13), transparent);
}

.orbit-center {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: flex;
  width: 248px;
  min-height: 264px;
  padding: 23px 25px;
  transform: translate(-50%, -50%);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border: 1px solid rgba(187, 204, 242, 0.2);
  border-radius: 35% 35% 38% 38% / 34% 34% 42% 42%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), transparent 34%),
    rgba(9, 13, 27, 0.87);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45), inset 0 1px rgba(255, 255, 255, 0.05), 0 0 70px rgba(107, 101, 250, 0.08);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.orbit-center__meta {
  display: flex;
  width: 100%;
  margin: 0 0 13px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orbit-center h2 {
  margin: 13px 0 2px;
  font-size: 20px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.orbit-center > p:not(.orbit-center__meta) {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.orbit-center > a {
  margin-top: 13px;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 650;
  text-decoration: none;
}

.orbit-center > a:hover {
  color: #fff;
}

.orbit-node {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  display: flex;
  width: 92px;
  padding: 3px;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(0px - var(--orbit-radius))) rotate(calc(0deg - var(--angle)));
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.orbit-node[hidden] {
  display: none;
}

.orbit-node__dot {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(218, 227, 249, 0.27);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--dot-a), var(--dot-b) 68%, #11182b 70%);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.38), 0 0 18px color-mix(in srgb, var(--dot-a) 22%, transparent);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.orbit-node__dot::after {
  position: absolute;
  inset: -6px;
  transform: scale(0.75);
  border: 1px solid transparent;
  border-radius: 50%;
  content: "";
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease, border-color 180ms ease;
}

.orbit-node__label {
  max-width: 92px;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 180ms ease;
}

.orbit-node:hover .orbit-node__dot,
.orbit-node.is-selected .orbit-node__dot {
  transform: scale(1.15);
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.42), 0 0 25px color-mix(in srgb, var(--dot-a) 36%, transparent);
}

.orbit-node:hover .orbit-node__dot::after,
.orbit-node.is-selected .orbit-node__dot::after {
  transform: scale(1);
  border-color: rgba(226, 233, 251, 0.36);
  opacity: 1;
}

.orbit-node:hover .orbit-node__label,
.orbit-node.is-selected .orbit-node__label {
  color: #fff;
}

.orbit-caption {
  margin: -20px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.orbit-caption span {
  margin-right: 5px;
  color: var(--cyan);
}

@keyframes orbit-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* App colors and glyphs */
.app-dot--irisrecia,
.app-glyph--irisrecia { --dot-a: #68daca; --dot-b: #695cf0; }
.app-dot--buildbook,
.app-glyph--buildbook { --dot-a: #f0bd67; --dot-b: #d76277; }
.app-dot--tsumilab,
.app-glyph--tsumilab { --dot-a: #bc8cff; --dot-b: #5948c7; }
.app-dot--mizuloop,
.app-glyph--mizuloop { --dot-a: #62c9ed; --dot-b: #2a65ba; }
.app-dot--sf-mini,
.app-glyph--sf-mini { --dot-a: #8cdb8b; --dot-b: #32755e; }
.app-dot--agrifield,
.app-glyph--agrifield { --dot-a: #c6d66d; --dot-b: #498750; }
.app-dot--sanrin,
.app-glyph--sanrin { --dot-a: #8cb774; --dot-b: #315c50; }
.app-dot--mirai,
.app-glyph--mirai { --dot-a: #ef8eb8; --dot-b: #7153ba; }

.app-glyph {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(226, 232, 249, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), transparent 35%),
    linear-gradient(145deg, var(--dot-a), var(--dot-b));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.22);
  color: #fff;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.04em;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.28);
}

.orbit-center__glyph {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-size: 11px;
}

.app-glyph--large {
  width: 88px;
  height: 88px;
  border-radius: 26px;
  font-size: 20px;
}

/* Signal strip */
.signal-strip {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 23, 0.9);
}

.signal-strip > div {
  display: flex;
  width: max-content;
  padding: 15px 0;
  align-items: center;
  color: #818aa1;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.23em;
  animation: signal-scroll 35s linear infinite;
}

.signal-strip span {
  padding-inline: 23px;
}

.signal-strip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

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

/* Shared sections */
.section {
  position: relative;
  padding: clamp(96px, 11vw, 160px) 0;
  border-bottom: 1px solid var(--line);
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.62fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
}

.section-heading h2,
.story h2,
.contact h2 {
  margin: 0;
  font-size: clamp(36px, 4.7vw, 66px);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 1.18;
}

.section-heading > p {
  max-width: 520px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

/* Apps */
.apps {
  background: linear-gradient(180deg, rgba(11, 15, 30, 0.36), transparent 45%);
}

.app-toolbar {
  display: flex;
  margin-top: 74px;
  padding: 15px 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-button {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.filter-button:hover {
  color: #fff;
}

.filter-button.is-active,
.filter-button[aria-pressed="true"] {
  border-color: var(--line-bright);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.result-count {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.result-count strong {
  margin-right: 5px;
  color: #fff;
  font-size: 14px;
}

.app-detail {
  position: relative;
  display: grid;
  min-height: 340px;
  margin-top: 38px;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: 34px;
  background:
    radial-gradient(circle at 20% 50%, rgba(89, 111, 239, 0.1), transparent 34%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.2);
}

.app-detail__visual {
  position: relative;
  display: grid;
  min-height: 340px;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid var(--line);
}

.app-detail__number {
  position: absolute;
  top: 24px;
  left: 28px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.app-detail__orbit {
  position: absolute;
  width: 235px;
  height: 235px;
  border: 1px dashed rgba(158, 177, 220, 0.2);
  border-radius: 50%;
  animation: orbit-spin 40s linear infinite;
}

.app-detail__orbit::before,
.app-detail__orbit::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(158, 177, 220, 0.12);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.app-detail__orbit::before { width: 170px; height: 170px; }
.app-detail__orbit::after { width: 105px; height: 105px; }

.app-detail__visual .app-glyph {
  position: relative;
  z-index: 2;
}

.app-detail__content {
  display: flex;
  padding: clamp(36px, 6vw, 78px);
  flex-direction: column;
  justify-content: center;
}

.app-detail__category {
  margin: 0 0 13px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.app-detail__content h3 {
  margin: 0;
  font-size: clamp(31px, 4vw, 54px);
  letter-spacing: -0.05em;
  line-height: 1.12;
}

.app-detail__content > p:not(.app-detail__category) {
  max-width: 580px;
  margin: 17px 0 0;
  color: var(--text-soft);
  font-size: 15px;
}

.app-detail__links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 27px;
}

.app-detail__links a {
  display: inline-flex;
  min-height: 43px;
  padding: 0 15px;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.app-detail__links a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.app-grid {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.app-card {
  position: relative;
  min-height: 270px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: rgba(10, 14, 28, 0.63);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.app-card::before {
  position: absolute;
  top: -90px;
  right: -70px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--card-glow, #778fff) 13%, transparent), transparent 70%);
  content: "";
  pointer-events: none;
}

.app-card:hover,
.app-card.is-selected {
  transform: translateY(-3px);
  border-color: var(--line-bright);
  background: rgba(15, 20, 39, 0.83);
}

.app-card.is-selected {
  box-shadow: inset 0 0 0 1px rgba(122, 154, 255, 0.11);
}

.app-card[hidden] {
  display: none;
}

.app-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-card__body {
  display: grid;
  margin-top: 29px;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.app-card h3 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.app-card__body p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.app-card > button {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  display: flex;
  padding: 11px 0 0;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 650;
  cursor: pointer;
}

.app-card > button span:last-child {
  color: var(--cyan);
  transition: transform 160ms ease;
}

.app-card > button:hover span:last-child {
  transform: translate(2px, -2px);
}

/* How I Build */
.approach {
  background:
    linear-gradient(90deg, transparent 49.96%, rgba(148, 166, 205, 0.06) 50%, transparent 50.04%),
    rgba(5, 7, 18, 0.5);
}

.principle-list {
  margin: 76px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-bright);
  list-style: none;
}

.principle-list li {
  display: grid;
  padding: 34px 0;
  grid-template-columns: 70px minmax(280px, 0.8fr) minmax(300px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  border-bottom: 1px solid var(--line);
  transition: padding 180ms ease, background 180ms ease;
}

.principle-list li:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent);
}

.principle-list__number {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.principle-list__tech {
  margin: 0 0 7px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.principle-list h3 {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 28px);
  font-weight: 630;
  letter-spacing: -0.035em;
  line-height: 1.4;
}

.principle-list li > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

/* Story */
.story {
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 52%, rgba(94, 114, 231, 0.09), transparent 26rem),
    linear-gradient(180deg, rgba(11, 15, 30, 0.45), rgba(5, 7, 18, 0));
}

.story__layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1fr);
  gap: clamp(70px, 10vw, 150px);
  align-items: center;
}

.story__signal {
  position: relative;
  display: grid;
  width: min(100%, 440px);
  aspect-ratio: 1;
  place-items: center;
}

.story__signal::before,
.story__signal::after {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(151, 171, 216, 0.17), transparent);
  content: "";
}

.story__signal::before { width: 115%; height: 1px; }
.story__signal::after { width: 1px; height: 115%; background: linear-gradient(180deg, transparent, rgba(151, 171, 216, 0.17), transparent); }

.story__ring {
  position: absolute;
  border: 1px solid rgba(151, 171, 216, 0.2);
  border-radius: 50%;
}

.story__ring--one {
  width: 92%;
  height: 92%;
  border-style: dashed;
  animation: orbit-spin 48s linear infinite reverse;
}

.story__ring--two {
  width: 58%;
  height: 58%;
}

.story__core {
  display: grid;
  width: 126px;
  height: 126px;
  place-items: center;
  border: 1px solid rgba(207, 219, 246, 0.26);
  border-radius: 34%;
  background: linear-gradient(145deg, rgba(106, 226, 211, 0.14), rgba(117, 92, 235, 0.14));
  box-shadow: 0 0 90px rgba(97, 112, 236, 0.14), inset 0 1px rgba(255, 255, 255, 0.09);
  font-family: var(--mono);
  font-size: 23px;
  font-weight: 750;
  letter-spacing: 0.09em;
}

.story__coordinate {
  position: absolute;
  right: 0;
  bottom: 13%;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-align: right;
}

.story__content {
  max-width: 650px;
}

.story__lead {
  margin: 34px 0 0;
  color: var(--text-soft);
  font-size: 19px;
  font-weight: 600;
}

.story__content > p:not(.section-index):not(.story__lead) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.story__signature {
  display: flex;
  margin-top: 38px;
  align-items: center;
  gap: 15px;
}

.story__signature > span {
  width: 36px;
  height: 1px;
  background: var(--spectral);
}

.story__signature p {
  margin: 0;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.story__signature small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Resources */
.resource-grid {
  display: grid;
  margin-top: 76px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-bright);
  border-left: 1px solid var(--line);
}

.resource-card {
  display: grid;
  min-height: 150px;
  padding: 25px 27px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.008);
  transition: background 180ms ease;
}

.resource-card:hover {
  background: rgba(255, 255, 255, 0.026);
}

.resource-card__number {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.resource-card h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.resource-card nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.resource-card a {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.resource-card a:hover {
  color: #fff;
}

/* Contact */
.contact {
  position: relative;
  padding: clamp(110px, 14vw, 190px) 0;
  overflow: hidden;
  text-align: center;
}

.contact__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(84vw, 900px);
  height: min(84vw, 900px);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(158, 178, 224, 0.08);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 111, 232, 0.11), rgba(128, 79, 206, 0.035) 42%, transparent 68%);
  pointer-events: none;
}

.contact__glow::before,
.contact__glow::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(158, 178, 224, 0.1);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.contact__glow::before { width: 72%; height: 72%; }
.contact__glow::after { width: 46%; height: 46%; }

.contact__inner {
  position: relative;
  z-index: 2;
}

.contact .section-index {
  margin-bottom: 29px;
}

.contact h2 {
  max-width: 950px;
  margin-inline: auto;
  font-size: clamp(44px, 6.8vw, 90px);
}

.contact__inner > p:not(.section-index) {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contact__links {
  display: flex;
  width: min(100%, 820px);
  margin: 50px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact__links a {
  position: relative;
  display: flex;
  width: 50%;
  min-height: 114px;
  padding: 25px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: clamp(13px, 1.7vw, 18px);
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.contact__links a:first-child {
  border-right: 1px solid var(--line);
}

.contact__links a:hover {
  background: rgba(255, 255, 255, 0.025);
  color: #fff;
}

.contact__links a > span {
  margin-bottom: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact__links b {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--cyan);
  font-weight: 400;
}

.contact__social {
  display: flex;
  margin-top: 27px;
  justify-content: center;
  gap: 27px;
}

.contact__social a {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.contact__social a:hover {
  color: #fff;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #04060e;
}

.site-footer__inner {
  display: grid;
  min-height: 190px;
  padding-top: 40px;
  padding-bottom: 40px;
  grid-template-columns: 1fr 1.2fr auto;
  grid-template-rows: auto auto;
  gap: 25px 50px;
  align-items: start;
}

.brand--footer {
  align-self: start;
}

.site-footer__inner > p:not(.site-footer__copyright) {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.site-footer nav a {
  color: var(--muted);
  font-size: 10px;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: #fff;
}

.site-footer__copyright {
  margin: 0;
  grid-column: 1 / -1;
  align-self: end;
  color: #5c6477;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1120px) {
  .hero {
    padding-top: calc(var(--header-height) + 65px);
  }

  .hero__inner {
    grid-template-columns: minmax(0, 0.85fr) minmax(480px, 1.15fr);
    gap: 16px;
  }

  .orbit-stage {
    --orbit-radius: 218px;
    max-width: 560px;
  }

  .orbit-center {
    width: 222px;
    min-height: 240px;
  }

  .section-heading--split {
    grid-template-columns: 1fr 0.68fr;
    gap: 55px;
  }
}

@media (max-width: 920px) {
  :root { --header-height: 70px; }

  .shell { width: min(calc(100% - 40px), var(--shell)); }

  .menu-toggle {
    position: relative;
    z-index: 3;
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    display: flex;
    width: min(84vw, 390px);
    height: 100dvh;
    padding: 110px 38px 40px;
    transform: translateX(102%);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-left: 1px solid var(--line);
    background: rgba(7, 10, 21, 0.97);
    box-shadow: -24px 0 80px rgba(0, 0, 0, 0.42);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .site-nav a::after { display: none; }

  .site-nav .site-nav__utility {
    margin-top: 20px;
    padding: 12px 16px;
    border: 1px solid var(--line-bright);
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 65px) 0 85px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero__copy {
    max-width: 730px;
  }

  .hero h1 {
    font-size: clamp(49px, 8.4vw, 72px);
  }

  .orbit-stage {
    --orbit-radius: 252px;
    max-width: 650px;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .section-heading > p {
    max-width: 650px;
  }

  .principle-list li {
    grid-template-columns: 48px minmax(230px, 0.8fr) minmax(250px, 1fr);
    gap: 26px;
  }

  .story__layout {
    grid-template-columns: minmax(280px, 0.7fr) 1fr;
    gap: 50px;
  }

  .story__signal {
    max-width: 350px;
  }

  .resource-card {
    padding: 23px 20px;
  }
}

@media (max-width: 700px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }

  .page-grid { background-size: 42px 42px; }

  .spectral-aura { display: none; }

  .hero {
    padding-top: calc(var(--header-height) + 50px);
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 57px);
    letter-spacing: -0.06em;
  }

  .hero__lead {
    margin-top: 25px;
  }

  .orbit-stage {
    --orbit-radius: min(38vw, 175px);
    width: min(100%, 455px);
  }

  .orbit-center {
    width: 180px;
    min-height: 205px;
    padding: 19px;
    border-radius: 32px;
  }

  .orbit-center__glyph {
    width: 36px;
    height: 36px;
  }

  .orbit-center h2 {
    margin-top: 9px;
    font-size: 17px;
  }

  .orbit-center > p:not(.orbit-center__meta) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .orbit-center > a { margin-top: 9px; }

  .orbit-node {
    width: 54px;
  }

  .orbit-node__dot {
    width: 30px;
    height: 30px;
  }

  .orbit-node__label {
    width: 58px;
    font-size: 7px;
  }

  .orbit-caption {
    margin-top: 4px;
  }

  .section {
    padding: 92px 0;
  }

  .section-heading h2,
  .story h2 {
    font-size: clamp(35px, 10vw, 48px);
  }

  .app-toolbar {
    margin-top: 52px;
    align-items: flex-end;
  }

  .filter-group { gap: 3px; }
  .filter-button { padding: 0 10px; font-size: 10px; }

  .app-detail {
    grid-template-columns: 1fr;
    border-radius: 27px;
  }

  .app-detail__visual {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .app-detail__orbit {
    width: 180px;
    height: 180px;
  }

  .app-detail__orbit::before { width: 135px; height: 135px; }
  .app-detail__orbit::after { width: 88px; height: 88px; }

  .app-detail__content {
    padding: 35px 25px 38px;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }

  .app-card {
    min-height: 260px;
  }

  .principle-list {
    margin-top: 54px;
  }

  .principle-list li {
    padding: 28px 0;
    grid-template-columns: 36px 1fr;
    gap: 16px;
  }

  .principle-list li > p {
    grid-column: 2;
  }

  .principle-list li:hover {
    padding-right: 0;
    padding-left: 0;
  }

  .story__layout {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .story__signal {
    width: min(86vw, 370px);
    margin-inline: auto;
  }

  .resource-grid {
    margin-top: 54px;
    grid-template-columns: 1fr;
  }

  .contact h2 {
    font-size: clamp(42px, 12vw, 60px);
  }

  .contact__links {
    flex-direction: column;
  }

  .contact__links a {
    width: 100%;
  }

  .contact__links a:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact__social {
    flex-direction: column;
    gap: 9px;
  }

  .site-footer__inner {
    min-height: 250px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 18px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .site-footer__copyright {
    grid-column: 1;
  }
}

@media (max-width: 420px) {
  .brand { font-size: 13px; }
  .brand__mark { width: 25px; height: 25px; }
  .brand__mark span:nth-child(1) { width: 24px; }
  .brand__mark span:nth-child(2) { height: 24px; }

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

  .button { width: 100%; }

  .platform-list { line-height: 2.4; }

  .orbit-stage {
    --orbit-radius: 140px;
    width: 360px;
    max-width: calc(100vw - 12px);
  }

  .orbit-center {
    width: 157px;
    min-height: 180px;
    padding: 15px;
  }

  .orbit-center__meta { margin-bottom: 8px; font-size: 7px; }
  .orbit-center h2 { font-size: 15px; }
  .orbit-center > p:not(.orbit-center__meta) { font-size: 9px; }
  .orbit-center > a { font-size: 8px; }
  .orbit-node__label { display: none; }
  .orbit-node__dot { width: 27px; height: 27px; }

  .app-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .filter-group { width: 100%; }
  .filter-button { flex: 1 1 auto; }

  .app-card {
    padding: 20px;
  }

  .app-card__body {
    grid-template-columns: 1fr;
  }

  .app-card .app-glyph {
    width: 50px;
    height: 50px;
  }

  .resource-card {
    grid-template-columns: 1fr;
  }

  .resource-card nav {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

@media (hover: none) {
  .app-card:hover,
  .button:hover {
    transform: none;
  }
}

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

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

  .spectral-aura { display: none; }
}

@media (forced-colors: active) {
  .spectral-text {
    background: none;
    color: CanvasText;
  }

  .app-glyph,
  .orbit-node__dot {
    border: 2px solid CanvasText;
    background: Canvas;
    color: CanvasText;
  }
}
