@charset "utf-8";

:root {
  --color-primary: #00d5ff;
  --color-secondary: #ff3d8b;
  --color-accent: #f9d84a;
  --color-text: #f7fbff;
  --color-muted: #aab7c8;
  --color-bg: #060711;
  --color-panel: rgba(255, 255, 255, 0.08);
  --color-line: rgba(255, 255, 255, 0.14);
  --max-width: 1120px;
  --header-height: 76px;
  --hello-color: #00f5ff;
  --hello-glow: #ff2bd6;
  --hello-size: 112px;
  --hello-weight: 800;
  --hello-font: "Helvetica Neue", Arial, sans-serif;
  --logo-ai-color: #00d5ff;
  --logo-ai-glow: #ff3d8b;
  --hero-image: none;
  --font-family: "Helvetica Neue", Arial, sans-serif;
}

@property --hero-progress {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

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

body {
  min-width: 1080px;
  min-height: 100%;
  color: var(--color-text);
  font-family: var(--font-family);
  font-weight: 300;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 213, 255, 0.2), transparent 28%),
    radial-gradient(circle at 84% 68%, rgba(255, 61, 139, 0.2), transparent 30%),
    linear-gradient(135deg, #060711 0%, #11142b 52%, #070812 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.035) 48%, transparent 62%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 42%);
  opacity: 0.7;
  animation: ambientShift 18s ease-in-out infinite alternate;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.section {
  position: relative;
  padding: 96px 0;
}

.inner {
  width: min(var(--max-width), calc(100% - 64px));
  margin: 0 auto;
}

.section__ttl {
  position: relative;
  margin-bottom: 28px;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  animation: quietReveal 0.85s ease 0.12s both;
}

.section__ttl::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  opacity: 0.72;
  animation: headingBreath 3.8s ease-in-out infinite;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  border-color: rgba(0, 213, 255, 0.42);
  background: linear-gradient(135deg, rgba(0, 213, 255, 0.86), rgba(255, 61, 139, 0.78));
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.08);
}

.hero-switch {
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 30;
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(5, 6, 11, 0.24);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

.hero-switch__button {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(247, 251, 255, 0.62);
  font-size: 11px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-switch.is-auto-playing .hero-switch__button.is-active:not(.hero-switch__button--pause)::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(#fff var(--hero-progress, 0%), rgba(255, 255, 255, 0.16) 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0);
  pointer-events: none;
  animation: heroSwitchProgress 15s linear forwards;
}

.hero-switch__button:hover {
  color: #fff;
  transform: translateY(-1px);
}

.hero-switch__button.is-active {
  background: rgba(255, 255, 255, 0.92);
  color: #05060b;
}

.hero-switch__button--pause {
  position: relative;
  margin-left: 6px;
  color: rgba(247, 251, 255, 0.82);
  font-size: 10px;
}

.hero-switch__button--pause::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -6px;
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-50%);
}

.hero-switch__button--pause.is-paused {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

@keyframes heroSwitchProgress {
  from {
    --hero-progress: 0%;
  }
  to {
    --hero-progress: 100%;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.02);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(22px) saturate(1.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.top:not(.is-header-visible) .site-header {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}

.top .site-header {
  position: fixed;
  right: 0;
  left: 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max-width), calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
}

.site-header__logo,
.footer__logo {
  font-size: 13px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-header__logo-main {
  display: inline-block;
}

.site-header__logo-ai {
  color: var(--logo-ai-color);
  text-shadow:
    0 0 8px color-mix(in srgb, var(--logo-ai-color) 58%, transparent),
    0 0 18px color-mix(in srgb, var(--logo-ai-glow) 34%, transparent);
  transition: color 0.45s ease, text-shadow 0.45s ease;
}

.site-header__menu {
  display: none;
}

.global-nav__list,
.footer__nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__nav-list {
  font-size: 10px;
}

.global-nav__link,
.footer__nav-link {
  position: relative;
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.global-nav__link:hover,
.footer__nav-link:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.06);
}

.global-nav__link--active {
  color: var(--color-text);
  background: transparent;
}

.global-nav__link--active::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 9px;
  width: 1px;
  height: 10px;
  background: var(--logo-ai-color);
  box-shadow: 0 0 8px color-mix(in srgb, var(--logo-ai-color) 70%, transparent);
  animation: cursorBlink 1.1s steps(1, end) infinite;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  padding: 0;
  overflow: hidden;
}

.top .hero {
  min-height: 100vh;
}

.hero-visual__item {
  display: none;
}

.hero-visual__item.is-active {
  display: block;
}

.stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-height));
  isolation: isolate;
}

.top .stage {
  min-height: 100vh;
}

.stage::before,
.stage::after {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -2;
}

.stage::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 58px 58px;
  transform: perspective(620px) rotateX(62deg) translateY(28%);
  animation: gridFlow 8s linear infinite;
}

.stage::after {
  background:
    conic-gradient(from 0deg, transparent, rgba(0, 245, 255, 0.16), transparent, rgba(255, 43, 214, 0.16), transparent);
  filter: blur(42px);
  animation: spinLight 12s linear infinite;
}

.aura {
  position: absolute;
  width: 46vw;
  max-width: 680px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--hello-glow) 34%, transparent), transparent 68%);
  filter: blur(10px);
  animation: pulseAura 2.2s ease-in-out infinite;
}

.hello {
  position: relative;
  z-index: 2;
  font-family: var(--hello-font);
  font-size: var(--hello-size);
  font-weight: var(--hello-weight);
  line-height: 1;
  letter-spacing: 0;
  color: var(--hello-color);
  text-align: center;
  text-shadow:
    0 0 14px color-mix(in srgb, var(--hello-color) 80%, transparent),
    0 0 42px color-mix(in srgb, var(--hello-glow) 70%, transparent),
    0 18px 34px rgba(0, 0, 0, 0.45);
  animation: enterPop 1.1s cubic-bezier(.19, 1, .22, 1) both, floatText 4.8s ease-in-out infinite 1.1s;
}

.hello span {
  display: block;
  animation: chromaSkew 1.8s steps(2, end) infinite;
}

.hello::before,
.hello::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hello::before {
  color: #00f5ff;
  transform: translate(-4px, 0);
  clip-path: inset(0 0 52% 0);
  animation: glitchTop 1.7s infinite linear alternate-reverse;
}

.hello::after {
  color: #ff2bd6;
  transform: translate(4px, 0);
  clip-path: inset(46% 0 0 0);
  animation: glitchBottom 1.35s infinite linear alternate-reverse;
}

.hello[data-fx="1"] {
  animation-name: enterPop, floatText, neonFlip;
  animation-duration: 1.1s, 4.8s, 2.2s;
}

.hello[data-fx="2"] span {
  animation-name: chromaSkew, letterFlash;
  animation-duration: 1.8s, 1.1s;
}

.hello[data-fx="3"] {
  animation-name: enterPop, floatText, softWarp;
  animation-duration: 1.1s, 4.8s, 2.4s;
}

.hero__lead {
  position: absolute;
  bottom: 124px;
  left: 50%;
  z-index: 3;
  width: min(640px, 80%);
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
  transform: translateX(-50%);
}

.box {
  height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.top .box {
  height: 100vh;
}

.top_head {
  position: relative;
  background-image: url("https://nakata.studio/wp/wp-content/themes/nakata_temp/img/top_img.jpg");
  background-size: cover;
  background-position: center;
}

.top_head h1 {
  position: relative;
  display: block;
  width: 634px;
  height: 80px;
  margin: 20px auto;
  overflow: hidden;
  text-indent: -9999px;
  background-image: url("https://nakata.studio/wp/wp-content/themes/nakata_temp/img/site_logo_w.svg");
  background-size: 634px 80px;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.24));
  animation: legacyLogoReveal 1.1s cubic-bezier(.19, 1, .22, 1) both, legacyLogoFloat 5.8s ease-in-out 1.1s infinite;
}

.top_head h1::after {
  content: "";
  position: absolute;
  inset: -18% -40%;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0.56) 50%, rgba(255, 255, 255, 0.08) 55%, transparent 66%);
  mix-blend-mode: screen;
  transform: translateX(-70%) skewX(-16deg);
  animation: legacyLogoShine 4.8s ease-in-out 1.2s infinite;
}

.top_head .txt {
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.legacy-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  min-height: 21px;
  white-space: nowrap;
}

.legacy-type::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1.15em;
  margin-left: 6px;
  background: currentColor;
  animation: cursorBlink 0.9s steps(1, end) infinite;
}

.top_head a.link {
  display: inline-block;
  margin: 20px auto;
  border: 1px solid #fff;
  border-radius: 3px;
  padding: 20px 40px;
  background-image: linear-gradient(90deg, #fff, #fff);
  background-repeat: no-repeat;
  background-size: 0 100%;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  transition: background-size 0.32s cubic-bezier(.19, 1, .22, 1), color 0.24s ease, transform 0.24s ease;
}

.top_head a.link:hover {
  background-size: 100% 100%;
  color: #05060b;
  transform: translateY(-2px);
}

.terminal-boot {
  display: grid;
  grid-template-rows: auto auto;
  gap: 26px;
  place-items: center;
  min-height: 100vh;
  padding: 92px 24px 44px;
  box-sizing: border-box;
  background:
    linear-gradient(90deg, rgba(255, 185, 8, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 185, 8, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 18% 14%, rgba(0, 213, 255, 0.12), transparent 30%),
    radial-gradient(circle at 82% 76%, rgba(255, 61, 139, 0.12), transparent 34%),
    #05060b;
  background-size: 48px 48px, 48px 48px, auto, auto, auto;
}

.terminal-boot__logo {
  display: block;
  width: min(860px, 76vw);
  max-height: 380px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 16px rgba(255, 185, 8, 0.18))
    drop-shadow(0 14px 28px rgba(0, 0, 0, 0.34));
  animation: terminalWake 0.9s ease 0.04s both;
}

.terminal-boot__frame {
  width: min(1080px, calc(100% - 48px));
  border: 1px solid #ffb908;
  border-radius: 4px;
  background: rgba(5, 6, 11, 0.74);
  box-shadow:
    0 0 0 1px rgba(255, 185, 8, 0.12),
    0 0 42px rgba(255, 185, 8, 0.1),
    0 28px 90px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  animation: terminalWake 0.9s ease both;
}

.terminal-boot__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  border-bottom: 1px solid #ffb908;
  color: #d8e8ff;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terminal-boot__head span:last-child {
  color: #ffb908;
  text-align: right;
}

.terminal-boot__body {
  padding: 24px 28px 26px;
  color: #d8e8ff;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
  text-shadow: 0 0 12px rgba(0, 213, 255, 0.12);
}

.terminal-boot__body > p + p {
  margin-top: 6px;
}

.terminal-boot__body ::selection {
  background: #ffb908;
  color: #05060b;
}

.terminal-boot__prompt {
  color: #ffb908;
  text-shadow: 0 0 10px rgba(255, 185, 8, 0.24);
}

.terminal-boot__log {
  display: grid;
  gap: 7px;
  width: min(520px, 100%);
  margin-top: 22px;
}

.terminal-boot__log p {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: end;
  white-space: nowrap;
}

.terminal-boot__log p span {
  display: block;
  height: 1px;
  border-bottom: 1px dotted rgba(216, 232, 255, 0.72);
  transform: translateY(-0.32em);
}

.terminal-boot__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
  border: 1px solid #ffb908;
}

.terminal-boot__grid div {
  min-height: 58px;
  padding: 12px 14px;
  border-right: 1px solid #ffb908;
  box-sizing: border-box;
}

.terminal-boot__grid div:last-child {
  border-right: 0;
}

.terminal-boot__grid b,
.terminal-boot__grid span {
  display: block;
}

.terminal-boot__grid b {
  margin-bottom: 12px;
  color: #ffb908;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
}

.terminal-boot__grid span {
  color: #eef6ff;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.terminal-boot__queue {
  display: grid;
  gap: 0;
  margin-top: 24px;
  border: 1px solid #ffb908;
  border-bottom: 0;
}

.terminal-boot__queue p {
  display: grid;
  grid-template-columns: 54px 1fr 104px;
  align-items: center;
  min-height: 34px;
  border-bottom: 1px solid #ffb908;
}

.terminal-boot__queue span,
.terminal-boot__queue i {
  color: #ffb908;
}

.terminal-boot__queue span {
  padding-left: 14px;
  font-style: normal;
}

.terminal-boot__queue i {
  justify-self: end;
  padding-right: 14px;
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.terminal-boot__status {
  margin-top: 18px;
  padding-top: 13px;
  color: #d8e8ff;
  letter-spacing: 0.02em;
}

.terminal-boot__cursor {
  color: #ffb908;
  animation: cursorBlink 1s steps(1, end) infinite;
}

.desktop-chaos {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 213, 255, 0.1), transparent 32%),
    radial-gradient(circle at 84% 76%, rgba(255, 61, 139, 0.08), transparent 38%),
    linear-gradient(135deg, #05060a 0%, #11131c 48%, #06070c 100%);
}

.desktop-chaos::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.26));
}

.desktop-chaos__bar {
  position: absolute;
  top: 28px;
  left: 50%;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  width: min(1040px, calc(100% - 72px));
  color: rgba(247, 251, 255, 0.58);
  font-size: 10px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.desktop-chaos__canvas {
  position: relative;
  width: min(1120px, calc(100% - 96px));
  min-height: 100vh;
  margin: 0 auto;
}

.desktop-chaos__brand {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: min(820px, 74vw);
  color: #f7fbff;
  text-align: center;
  transform: translate(-50%, -52%);
  animation: desktopBrandIn 1s cubic-bezier(.19, 1, .22, 1) both;
}

.desktop-chaos__brand p,
.desktop-chaos__brand small {
  display: block;
  color: rgba(247, 251, 255, 0.58);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.desktop-chaos__brand h2 {
  margin: 20px 0 24px;
  font-size: clamp(92px, 10vw, 150px);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: 0;
  text-shadow:
    0 0 28px rgba(0, 213, 255, 0.14),
    0 24px 64px rgba(0, 0, 0, 0.58);
}

.desktop-chaos__brand h2 span {
  color: var(--logo-ai-color);
  text-shadow:
    0 0 14px color-mix(in srgb, var(--logo-ai-color) 58%, transparent),
    0 0 30px color-mix(in srgb, var(--logo-ai-glow) 34%, transparent);
}

.desktop-window,
.desktop-note,
.desktop-chaos__dock {
  position: absolute;
  z-index: 3;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 3px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(7, 8, 13, 0.72);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  animation: desktopFloat 9s ease-in-out infinite;
}

.desktop-window--browser {
  top: 15%;
  left: 0;
  width: 390px;
  padding: 22px;
  animation-delay: -1.2s;
}

.desktop-window--browser h3 {
  margin-top: 20px;
  color: #f7fbff;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.45;
}

.desktop-window__label {
  color: rgba(0, 213, 255, 0.86);
  font-size: 11px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.desktop-window dl,
.desktop-window ul {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.desktop-window dl div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: baseline;
}

.desktop-window dt,
.desktop-window li {
  color: rgba(247, 251, 255, 0.92);
}

.desktop-window dt {
  font-size: 13px;
  font-weight: 400;
}

.desktop-window dd,
.desktop-window--ai p,
.desktop-window li {
  color: rgba(247, 251, 255, 0.62);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
}

.desktop-window--code {
  top: 20%;
  right: 0;
  width: 330px;
  padding: 22px;
  animation-delay: -3.2s;
}

.desktop-window--ai {
  right: 6%;
  bottom: 15%;
  width: 310px;
  padding: 22px;
  animation-delay: -2.1s;
}

.desktop-window--ai p:not(.desktop-window__label) {
  margin-top: 20px;
}

.desktop-note {
  display: grid;
  gap: 9px;
  width: 210px;
  padding: 18px;
  color: #f7fbff;
  background: rgba(247, 251, 255, 0.075);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.desktop-note b {
  color: rgba(247, 251, 255, 0.74);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.desktop-note span {
  color: rgba(247, 251, 255, 0.58);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.65;
}

.desktop-note--one {
  top: 64%;
  left: 4%;
  transform: rotate(-2deg);
  animation-delay: -4.2s;
}

.desktop-note--two {
  top: 62%;
  right: 2%;
  width: 210px;
  transform: rotate(2deg);
  animation-delay: -2.8s;
}

.desktop-chaos__dock {
  bottom: 42px;
  left: 50%;
  display: flex;
  gap: 10px;
  padding: 10px;
  transform: translateX(-50%);
  animation-delay: -1.7s;
}

.desktop-chaos__dock span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 3px;
  color: rgba(247, 251, 255, 0.72);
  font-size: 11px;
  font-weight: 300;
  background: rgba(255, 255, 255, 0.08);
}

@keyframes terminalWake {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes desktopFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes desktopBrandIn {
  from {
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.96);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -52%) scale(1);
    filter: blur(0);
  }
}

section.about {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
}

.about__body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 32px;
  border: 0;
  border-radius: 8px;
  background: var(--color-panel);
}

.about__desc,
.page-hero__lead,
.about-block__desc,
.works-block__desc {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.9;
}

.about__cta {
  display: flex;
  gap: 12px;
}

.page-hero {
  padding-top: 120px;
  padding-bottom: 72px;
  overflow: hidden;
}

.page-hero .inner {
  position: relative;
}

.page-hero__label {
  margin-bottom: 14px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  animation: quietReveal 0.8s ease both;
}

.page-hero__ttl {
  margin-bottom: 20px;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
  animation: quietReveal 0.9s ease 0.06s both;
}

.page-hero__ttl--brand {
  display: inline-block;
}

.page-hero__mark {
  position: relative;
  display: inline-block;
  margin-left: 6px;
  color: var(--color-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1;
  vertical-align: super;
  opacity: 0.72;
  top: -12px;
}

.page-hero__lead {
  max-width: 720px;
  animation: quietReveal 0.9s ease 0.08s both;
}

.about-block__list,
.works-block__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-block__item,
.works-block__item {
  position: relative;
  min-height: 180px;
  padding: 26px;
  border: 0;
  border-radius: 8px;
  background: var(--color-panel);
  overflow: hidden;
  transition: transform 0.28s ease, background 0.28s ease;
}

.about-block__item::before,
.works-block__item::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.about-block__item:hover,
.works-block__item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.095);
}

.about-block__item:hover::before,
.works-block__item:hover::before {
  opacity: 1;
}

.about-block__title,
.works-block__title {
  position: relative;
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}

.about-block__title::before,
.works-block__title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 12px rgba(0, 213, 255, 0.42);
  vertical-align: 0.12em;
  animation: quietPulse 3.2s ease-in-out infinite;
}

.works-block__label {
  margin-bottom: 12px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.contact-block__form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 32px;
  border: 0;
  border-radius: 8px;
  background: var(--color-panel);
  overflow: hidden;
}

.contact-block__form::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 42%);
  opacity: 0.65;
}

.contact-block__result,
.contact-block__error {
  margin-bottom: 18px;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.6;
}

.contact-block__result {
  border: 1px solid rgba(124, 255, 107, 0.34);
  color: #d8ffd3;
  background: rgba(124, 255, 107, 0.08);
}

.contact-block__error {
  border: 1px solid rgba(255, 61, 139, 0.34);
  color: #ffd9e7;
  background: rgba(255, 61, 139, 0.08);
}

.contact-block__field {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.contact-block__field--wide,
.contact-block__cta {
  grid-column: 1 / -1;
}

.contact-block__label {
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 400;
}

.contact-block__required {
  display: inline-block;
  margin-left: 6px;
  border-radius: 3px;
  padding: 3px 6px;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  background: var(--color-secondary);
}

.contact-block__input,
.contact-block__textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--color-text);
  background: rgba(0, 0, 0, 0.22);
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.contact-block__input:focus,
.contact-block__textarea:focus {
  border-color: rgba(0, 213, 255, 0.46);
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 0 0 3px rgba(0, 213, 255, 0.08);
}

.contact-block__textarea {
  resize: vertical;
}

.contact-block__cta {
  position: relative;
  z-index: 1;
}

.footer {
  padding: 34px 0;
  border-top: 0;
  background: rgba(0, 0, 0, 0.26);
}

.footer__inner {
  display: grid;
  align-items: center;
  justify-content: center;
  width: min(var(--max-width), calc(100% - 64px));
  margin: 0 auto;
}

.copyright {
  color: var(--color-muted);
  margin-top: 30px;
  font-size: 10px;
  text-align: center;
}

@keyframes enterPop {
  0% {
    opacity: 0;
    transform: scale(0.62) rotate(-7deg);
    filter: blur(16px);
  }
  72% {
    opacity: 1;
    transform: scale(1.08) rotate(1deg);
    filter: blur(0);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

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

@keyframes chromaSkew {
  0%,
  100% {
    transform: skewX(0deg);
  }
  18% {
    transform: skewX(8deg);
  }
  21% {
    transform: skewX(-7deg);
  }
  24% {
    transform: skewX(0deg);
  }
}

@keyframes glitchTop {
  0% {
    transform: translate(-4px, -2px);
  }
  35% {
    transform: translate(6px, 1px);
  }
  70% {
    transform: translate(-2px, -1px);
  }
  100% {
    transform: translate(4px, 2px);
  }
}

@keyframes glitchBottom {
  0% {
    transform: translate(4px, 2px);
  }
  35% {
    transform: translate(-7px, -1px);
  }
  70% {
    transform: translate(3px, 1px);
  }
  100% {
    transform: translate(-4px, -2px);
  }
}

@keyframes gridFlow {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 58px;
  }
}

@keyframes spinLight {
  to {
    transform: rotate(1turn);
  }
}

@keyframes pulseAura {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.66;
  }
  50% {
    transform: scale(1.14);
    opacity: 1;
  }
}

@keyframes neonFlip {
  0%,
  100% {
    filter: hue-rotate(0deg) saturate(1.1);
  }
  50% {
    filter: hue-rotate(150deg) saturate(1.8);
  }
}

@keyframes letterFlash {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.72;
  }
}

@keyframes softWarp {
  0%,
  100% {
    transform: perspective(500px) rotateY(-5deg) translateY(-8px);
  }
  50% {
    transform: perspective(500px) rotateY(5deg) translateY(8px);
  }
}

@keyframes ambientShift {
  from {
    transform: translate3d(-2%, -1%, 0);
  }
  to {
    transform: translate3d(2%, 1%, 0);
  }
}

@keyframes quietReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes quietLine {
  0%,
  100% {
    transform: translateX(-18px);
    opacity: 0.2;
  }
  50% {
    transform: translateX(18px);
    opacity: 0.62;
  }
}

@keyframes headingBreath {
  0%,
  100% {
    width: 34px;
    opacity: 0.38;
  }
  50% {
    width: 58px;
    opacity: 0.82;
  }
}

@keyframes quietPulse {
  0%,
  100% {
    transform: scale(0.86);
    opacity: 0.42;
  }
  50% {
    transform: scale(1);
    opacity: 0.88;
  }
}

@keyframes legacyLogoReveal {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    filter: blur(6px) drop-shadow(0 10px 22px rgba(0, 0, 0, 0.08));
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) drop-shadow(0 10px 22px rgba(0, 0, 0, 0.24));
  }
}

@keyframes legacyLogoFloat {
  0%,
  100% {
    transform: translateY(0);
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.24));
  }
  50% {
    transform: translateY(-4px);
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.3));
  }
}

@keyframes legacyLogoShine {
  0%,
  46% {
    transform: translateX(-72%) skewX(-16deg);
    opacity: 0;
  }
  54% {
    opacity: 0.85;
  }
  70%,
  100% {
    transform: translateX(72%) skewX(-16deg);
    opacity: 0;
  }
}

@keyframes cursorBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.galaxy-opening {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  color: #fff;
  perspective: 900px;
  isolation: isolate;
}

.galaxy-opening__canvas,
.galaxy-opening__scene,
.galaxy-opening__vignette {
  position: absolute;
  pointer-events: none;
}

.galaxy-opening__canvas,
.galaxy-opening__scene,
.galaxy-opening__vignette {
  inset: 0;
}

.galaxy-opening__canvas {
  z-index: 1;
  width: 100%;
  height: 100%;
}

.galaxy-opening__scene {
  z-index: 2;
  isolation: isolate;
}

.galaxy-opening__vignette {
  z-index: 5;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(0, 0, 0, .28) 72%, rgba(0, 0, 0, .86) 100%);
}

.galaxy-opening__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 10;
  display: block;
  width: min(1120px, 86vw);
  height: auto;
  transform: translate(-50%, -50%) scale(.08);
  transform-origin: center;
  filter:
    drop-shadow(0 0 16px rgba(255, 255, 255, .48))
    drop-shadow(0 0 48px rgba(130, 180, 255, .26));
  animation: galaxyLogoFlow 6.8s cubic-bezier(.12, .68, .16, 1) infinite;
}

@keyframes galaxyLogoFlow {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.06);
    filter:
      blur(3px)
      drop-shadow(0 0 8px rgba(255, 255, 255, .16));
  }

  12% {
    opacity: .86;
  }

  58% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter:
      blur(0)
      drop-shadow(0 0 16px rgba(255, 255, 255, .48))
      drop-shadow(0 0 48px rgba(130, 180, 255, .26));
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.2);
    filter:
      blur(8px)
      drop-shadow(0 0 34px rgba(255, 255, 255, .64))
      drop-shadow(0 0 110px rgba(130, 180, 255, .36));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
