﻿* {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 0;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #f8f8f8;
  color: #f8f8f8;
  font-family: "JetBrains Mono", monospace;
}

body::before {
  background:
    radial-gradient(circle at center, rgba(214, 40, 40, 0.18), transparent 34%),
    rgba(248, 248, 248, 0.18);
  backdrop-filter: blur(0) saturate(1);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition:
    backdrop-filter 360ms ease,
    opacity 360ms ease;
  z-index: 9998;
  -webkit-backdrop-filter: blur(0) saturate(1);
}

body.is-emblem-transforming::before {
  backdrop-filter: blur(5px) saturate(0.9);
  opacity: 1;
  -webkit-backdrop-filter: blur(5px) saturate(0.9);
}

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

.hero-bg-only {
  --hero-bg-end-position: center bottom;
  --hero-bg-end-size: 100% 100%;
  --hero-bg-start-position: center calc(100% + 34px);
  --hero-bg-start-size: 105% 105%;
  --parallax-bg-x: 0px;
  --parallax-character-x: 0px;
  --parallax-character-y: 0px;
  background-color: #f8f8f8;
  background-image: url("../images/hero-bg.webp");
  background-position: calc(50% + var(--parallax-bg-x)) bottom;
  background-repeat: no-repeat;
  background-size: var(--hero-bg-end-size);
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.hero-loader {
  align-items: center;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(255, 255, 255, 0.84), rgba(248, 248, 248, 0.94) 44%, rgba(248, 248, 248, 0.98) 74%),
    linear-gradient(180deg, rgba(248, 248, 248, 0.98), rgba(248, 248, 248, 0.9));
  color: #0d0d0d;
  display: grid;
  inset: 0;
  justify-items: center;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  transition: opacity 820ms ease, visibility 820ms ease;
  z-index: 20;
}

.hero-loader::before,
.hero-loader::after {
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-loader::before {
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(13, 13, 13, 0.08) 12.2% 12.7%, transparent 13.4% 19%, rgba(214, 40, 40, 0.18) 19.15% 19.35%, transparent 20% 80%, rgba(214, 40, 40, 0.18) 80.65% 80.85%, transparent 81.5% 87%, rgba(13, 13, 13, 0.08) 87.3% 87.8%, transparent 88.5% 100%),
    linear-gradient(90deg, transparent 0 7%, rgba(13, 13, 13, 0.05) 7.3% 8.1%, transparent 8.8% 91%, rgba(13, 13, 13, 0.05) 91.9% 92.7%, transparent 93.4% 100%),
    linear-gradient(180deg, transparent 0 31%, rgba(13, 13, 13, 0.05) 31.2% 31.45%, transparent 32.3% 67%, rgba(214, 40, 40, 0.09) 67.3% 67.65%, transparent 68.4% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 87%, 77% 100%, 23% 100%, 0 87%);
  filter:
    drop-shadow(0 0 16px rgba(214, 40, 40, 0.12))
    drop-shadow(0 20px 50px rgba(13, 13, 13, 0.08));
  opacity: 0.84;
  transform-origin: 50% 72%;
  animation:
    loaderArchitectureSpawn 1.2s cubic-bezier(0.2, 0.82, 0.2, 1) both,
    loaderArchitectureBreathe 2.8s ease-in-out 1.2s infinite alternate;
}

.hero-loader::after {
  animation: loaderSweep 2.35s ease-in-out infinite;
  background:
    linear-gradient(110deg, transparent 0 42%, rgba(255, 255, 255, 0.78) 47%, rgba(214, 40, 40, 0.2) 50%, transparent 58% 100%);
  inset: -18% -28%;
  opacity: 0;
  transform: translateX(-58%) skewX(-12deg);
}

.loader-seen .hero-loader,
.hero-assets-ready .hero-loader {
  opacity: 0;
  visibility: hidden;
}

.loader-architecture {
  animation: loaderRailPulse 2.2s ease-in-out infinite alternate;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(214, 40, 40, 0.16), transparent 46%),
    linear-gradient(90deg, transparent 0 16%, rgba(214, 40, 40, 0.34) 16.2% 16.35%, transparent 16.9% 83%, rgba(214, 40, 40, 0.34) 83.65% 83.8%, transparent 84.5% 100%);
  bottom: 0;
  height: 44%;
  left: 0;
  opacity: 0.74;
  position: absolute;
  right: 0;
}

.loader-architecture::before,
.loader-architecture::after {
  animation: loaderWindTrace 2.4s ease-in-out infinite;
  background:
    linear-gradient(112deg, transparent 0 36%, rgba(255, 255, 255, 0.74) 46%, rgba(214, 40, 40, 0.22) 50%, transparent 62% 100%);
  content: "";
  height: 34%;
  left: -18%;
  opacity: 0;
  position: absolute;
  top: 14%;
  transform: translate3d(-18%, 12%, 0) skewX(-10deg);
  width: 136%;
}

.loader-architecture::after {
  animation-delay: 0.72s;
  height: 24%;
  top: 44%;
}

.loader-veil {
  animation: loaderVeilRise 3.2s ease-in-out infinite;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.34) 42%, transparent 72%);
  bottom: clamp(3rem, 9vh, 7rem);
  filter: blur(24px);
  height: clamp(92px, 14vw, 190px);
  left: 50%;
  opacity: 0.42;
  position: absolute;
  transform: translateX(-50%);
  width: min(74vw, 920px);
}

.loader-core {
  align-items: center;
  display: grid;
  justify-items: center;
  position: relative;
  transform: translateY(5vh);
  width: min(78vw, 620px);
  z-index: 2;
}

.loader-kicker {
  animation: loaderTextWake 1s ease-out 0.2s both;
  color: rgba(13, 13, 13, 0.72);
  font-size: clamp(0.6rem, 0.78vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.34em;
  line-height: 1;
  margin: 0 0 clamp(1.4rem, 3vh, 2rem);
  text-transform: uppercase;
}

.loader-emblem {
  animation: loaderCoreWake 2.6s ease-in-out infinite alternate;
  border: 1px solid rgba(214, 40, 40, 0.34);
  border-radius: 999px;
  box-shadow:
    0 0 18px rgba(214, 40, 40, 0.14),
    inset 0 0 22px rgba(214, 40, 40, 0.07);
  display: grid;
  height: clamp(108px, 16vw, 166px);
  place-items: center;
  position: relative;
  width: clamp(108px, 16vw, 166px);
}

.loader-emblem::before,
.loader-emblem::after {
  border: 1px solid rgba(13, 13, 13, 0.08);
  border-radius: inherit;
  content: "";
  inset: -18px;
  position: absolute;
}

.loader-emblem::after {
  animation: loaderHalo 1.9s ease-in-out infinite;
  border-color: rgba(214, 40, 40, 0.2);
  box-shadow: 0 0 28px rgba(214, 40, 40, 0.08);
  inset: -36px;
}

.loader-emblem img {
  filter:
    drop-shadow(0 5px 9px rgba(0, 0, 0, 0.13))
    drop-shadow(0 0 12px rgba(214, 40, 40, 0.18));
  height: clamp(56px, 8vw, 84px);
  position: relative;
  width: clamp(56px, 8vw, 84px);
  z-index: 2;
}

.loader-orbit {
  animation: loaderOrbit 5.8s linear infinite;
  border: 1px solid transparent;
  border-left-color: rgba(214, 40, 40, 0.54);
  border-radius: inherit;
  border-top-color: rgba(214, 40, 40, 0.2);
  inset: -9px;
  position: absolute;
}

.loader-orbit-secondary {
  animation-duration: 8.6s;
  animation-direction: reverse;
  border-left-color: rgba(13, 13, 13, 0.18);
  border-top-color: rgba(214, 40, 40, 0.3);
  inset: -27px;
}

.loader-title {
  --loader-title-offset: -12vh;
  --loader-title-y: -58%;
  animation:
    loaderTitleForm 2.7s ease-in-out infinite,
    loaderTitleEnergy 1.7s ease-in-out infinite alternate;
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.025), rgba(13, 13, 13, 0.09), rgba(214, 40, 40, 0.16), rgba(13, 13, 13, 0.05)),
    linear-gradient(110deg, transparent 0 38%, rgba(255, 255, 255, 0.78) 46%, rgba(214, 40, 40, 0.22) 50%, transparent 59% 100%);
  background-size: 100% 100%, 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Space Grotesk", "JetBrains Mono", sans-serif;
  font-size: clamp(4.2rem, 12vw, 13rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.82;
  left: 50%;
  margin: 0;
  position: absolute;
  text-transform: uppercase;
  top: calc(50% + var(--loader-title-offset));
  transform: translate(-50%, var(--loader-title-y));
  white-space: nowrap;
  z-index: -1;
}

.loader-title::after {
  color: rgba(214, 40, 40, 0.13);
  content: "PARTHMAX";
  filter: blur(8px);
  inset: 0;
  opacity: 0.64;
  position: absolute;
  text-shadow:
    0 0 22px rgba(214, 40, 40, 0.2),
    0 0 46px rgba(214, 40, 40, 0.12);
  z-index: -1;
}

.loader-status {
  color: rgba(13, 13, 13, 0.76);
  display: grid;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.58rem, 0.88vw, 0.78rem);
  font-weight: 700;
  gap: 0.74rem;
  letter-spacing: 0.28em;
  line-height: 1;
  margin-top: clamp(3.1rem, 6vh, 4.8rem);
  text-align: center;
  text-transform: uppercase;
}

.loader-status span {
  animation: loaderStatus 2.6s ease-in-out infinite;
  opacity: 0.34;
}

.loader-status span:nth-child(2) {
  animation-delay: 0.28s;
}

.loader-status span:nth-child(3) {
  animation-delay: 0.56s;
  color: #d62828;
}

.loader-dust span {
  --loader-dust-delay: 0s;
  --loader-dust-size: 3px;
  --loader-dust-x: 0;
  animation: loaderDust 6.2s ease-in-out infinite;
  animation-delay: var(--loader-dust-delay);
  background: rgba(214, 40, 40, 0.68);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(214, 40, 40, 0.24);
  height: var(--loader-dust-size);
  left: var(--loader-dust-x);
  opacity: 0;
  position: absolute;
  top: 72%;
  width: var(--loader-dust-size);
}

.loader-dust span:nth-child(1) {
  --loader-dust-delay: -1s;
  --loader-dust-x: 9%;
}

.loader-dust span:nth-child(2) {
  --loader-dust-delay: -3s;
  --loader-dust-size: 2px;
  --loader-dust-x: 20%;
}

.loader-dust span:nth-child(3) {
  --loader-dust-delay: -2s;
  --loader-dust-x: 34%;
}

.loader-dust span:nth-child(4) {
  --loader-dust-delay: -4s;
  --loader-dust-size: 2px;
  --loader-dust-x: 47%;
}

.loader-dust span:nth-child(5) {
  --loader-dust-delay: -1.8s;
  --loader-dust-x: 58%;
}

.loader-dust span:nth-child(6) {
  --loader-dust-delay: -5s;
  --loader-dust-size: 2px;
  --loader-dust-x: 71%;
}

.loader-dust span:nth-child(7) {
  --loader-dust-delay: -2.8s;
  --loader-dust-x: 83%;
}

.loader-dust span:nth-child(8) {
  --loader-dust-delay: -4.8s;
  --loader-dust-size: 2px;
  --loader-dust-x: 92%;
}

.loader-dust span:nth-child(9) {
  --loader-dust-delay: -1.4s;
  --loader-dust-size: 2px;
  --loader-dust-x: 16%;
}

.loader-dust span:nth-child(10) {
  --loader-dust-delay: -3.6s;
  --loader-dust-x: 41%;
}

.loader-dust span:nth-child(11) {
  --loader-dust-delay: -2.4s;
  --loader-dust-size: 2px;
  --loader-dust-x: 66%;
}

.loader-dust span:nth-child(12) {
  --loader-dust-delay: -5.4s;
  --loader-dust-x: 88%;
}

.page-home .hero-bg-only::before {
  animation: heroLoadVeil 1.65s ease-out 0.08s forwards;
  background:
    radial-gradient(circle at 52% 44%, rgba(255, 255, 255, 0.54), rgba(248, 248, 248, 0.88) 40%, #f8f8f8 100%),
    linear-gradient(115deg, transparent 0 42%, rgba(214, 40, 40, 0.14) 48%, transparent 56% 100%);
  backdrop-filter: blur(5px) saturate(0.82);
  content: "";
  inset: 0;
  opacity: 1;
  pointer-events: none;
  position: absolute;
  z-index: 6;
}

.hero-scene-ready.page-home .hero-bg-only {
  animation: heroBackdropSpawn 920ms cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

.hero-scene-ready.page-home .hero-bg-only::after {
  animation:
    heroCharacterGroundGlow 4.8s ease-in-out 1.3s infinite alternate;
}

.hero-bg-only::after {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(214, 40, 40, 0.18) 0%, rgba(214, 40, 40, 0.08) 30%, rgba(214, 40, 40, 0) 62%),
    linear-gradient(
      to top,
      rgba(3, 3, 5, 0.92) 0%,
      rgba(5, 5, 7, 0.62) 28%,
      rgba(8, 8, 10, 0.18) 58%,
      rgba(8, 8, 10, 0) 100%
    );
  bottom: 0;
  content: "";
  height: 138px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 1;
}

.hero-header {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  left: 0;
  padding: clamp(1.25rem, 2vw, 2rem) clamp(2.2rem, 4.2vw, 4.8rem) 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 5;
}

.hero-header::before,
.hero-header::after {
  content: "";
  height: 38px;
  position: absolute;
  top: clamp(1.1rem, 1.8vw, 1.8rem);
  width: 92px;
}

.hero-header::before {
  border-left: 1px solid rgba(214, 40, 40, 0.66);
  border-top: 1px solid rgba(214, 40, 40, 0.66);
  left: clamp(1.1rem, 2vw, 2rem);
}

.hero-header::after {
  border-right: 1px solid rgba(214, 40, 40, 0.66);
  border-top: 1px solid rgba(214, 40, 40, 0.66);
  right: clamp(1.1rem, 2vw, 2rem);
}

.hero-brand,
.hero-enter-link {
  align-items: center;
  display: inline-flex;
  pointer-events: auto;
  position: relative;
}

.hero-brand {
  gap: clamp(0.9rem, 1.4vw, 1.4rem);
  justify-self: start;
}

.hero-brand-logo {
  display: block;
  filter:
    drop-shadow(0 5px 8px rgba(0, 0, 0, 0.18))
    drop-shadow(0 0 10px rgba(214, 40, 40, 0.14));
  height: clamp(34px, 3vw, 48px);
  object-fit: contain;
  width: clamp(34px, 3vw, 48px);
}

.hero-brand-mark {
  color: #d62828;
  font-size: clamp(0.62rem, 0.72vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-shadow: 0 0 10px rgba(214, 40, 40, 0.32);
}

.hero-brand-name,
.hero-enter-link {
  color: #111114;
  font-size: clamp(0.58rem, 0.66vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.34em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-brand-name {
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.34);
}

.hero-enter-link {
  color: #d62828;
  gap: 0.78rem;
  justify-self: end;
  padding: 0.6rem 0;
  text-shadow: 0 0 12px rgba(214, 40, 40, 0.28);
}

.hero-enter-dot {
  background: #d62828;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(214, 40, 40, 0.6);
  flex: 0 0 4px;
  height: 4px;
  width: 4px;
}

.hero-enter-line {
  background:
    linear-gradient(90deg, rgba(214, 40, 40, 0.92), rgba(214, 40, 40, 0.34) 45%, rgba(17, 17, 20, 0.16));
  flex: 0 0 clamp(34px, 4.6vw, 74px);
  height: 1px;
}

.hero-title-block {
  display: grid;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: clamp(5.2rem, 10.5vh, 7.2rem);
  transform: translateX(-50%);
  width: min(80vw, 1540px);
  z-index: 1;
}

.page-home .hero-title-block {
  opacity: 0;
}

.hero-scene-ready.page-home .hero-title-block {
  animation: heroTitleArrive 1.08s ease-out 0.2s both;
}

.hero-scene-ready.page-home .hero-title-block::after {
  animation: heroTitleSweep 1.16s ease-out 0.56s both;
  background:
    linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.62) 46%, rgba(214, 40, 40, 0.22) 52%, transparent 64%);
  content: "";
  inset: -18% -26%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-62%) skewX(-12deg);
  z-index: 5;
}

.hero-kicker {
  align-items: center;
  color: #151517;
  display: flex;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.64rem, 0.82vw, 0.95rem);
  font-weight: 700;
  gap: 0.58rem;
  justify-content: center;
  letter-spacing: 0.32em;
  line-height: 1;
  margin: 0;
  min-width: 0;
  pointer-events: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-kicker::after {
  background: linear-gradient(90deg, rgba(214, 40, 40, 0.46), rgba(17, 17, 20, 0.18), rgba(17, 17, 20, 0));
  content: "";
  height: 1px;
  width: clamp(32px, 5vw, 76px);
}

.hero-kicker span:first-child,
.hero-kicker strong {
  color: #d62828;
  font-weight: 800;
  text-shadow: 0 0 14px rgba(214, 40, 40, 0.18);
}

.hero-kicker strong {
  letter-spacing: 0.2em;
}

.hero-title-image {
  display: block;
  filter: drop-shadow(0 18px 36px rgba(72, 0, 8, 0.14));
  grid-column: 1;
  grid-row: 1;
  height: auto;
  margin-top: clamp(-7rem, -8vw, -4rem);
  max-height: none;
  object-fit: contain;
  place-self: center;
  width: 100%;
  z-index: 2;
}

.hero-title {
  background:
    linear-gradient(105deg, rgba(41, 0, 5, 0.98) 0%, rgba(108, 0, 10, 0.98) 18%, rgba(185, 0, 20, 0.94) 34%, rgba(75, 0, 8, 0.99) 52%, rgba(190, 14, 27, 0.9) 70%, rgba(54, 0, 6, 0.98) 100%),
    radial-gradient(circle at 22% 38%, rgba(255, 43, 57, 0.35) 0 1.5px, transparent 2px 100%),
    radial-gradient(circle at 78% 58%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1.5px 100%),
    linear-gradient(155deg, transparent 0 42%, rgba(255, 255, 255, 0.16) 43%, transparent 48% 100%);
  background-blend-mode: normal, screen, overlay, screen;
  background-size: auto, 42px 42px, 58px 58px, 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Space Grotesk", "JetBrains Mono", sans-serif;
  font-size: clamp(5.2rem, 12vw, 15rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.82;
  margin: 0;
  opacity: 0.96;
  grid-column: 1;
  grid-row: 1;
  place-self: center;
  position: relative;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 34px rgba(37, 0, 5, 0.18);
  white-space: nowrap;
  z-index: 1;
}

.hero-title-block.has-title-image .hero-title {
  opacity: 0;
}

.hero-identity {
  --hero-name-width: auto;
  color: #0d0d0d;
  display: inline-block;
  left: clamp(3.4rem, 7vw, 8.2rem);
  max-width: calc(100vw - 2rem);
  pointer-events: auto;
  position: absolute;
  top: clamp(18rem, 39vh, 25rem);
  width: max-content;
  z-index: 4;
}

.hero-identity-name {
  align-items: center;
  display: flex;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(1.12rem, 1.55vw, 1.7rem);
  font-weight: 700;
  gap: clamp(1.15rem, 1.8vw, 1.75rem);
  justify-content: flex-start;
  letter-spacing: 0.28em;
  line-height: 1;
  margin: 0 0 1.15rem;
  text-transform: uppercase;
  width: max-content;
}

.hero-identity-name,
.hero-identity-role {
  text-shadow:
    0 0 10px rgba(248, 248, 248, 0.95),
    0 0 24px rgba(248, 248, 248, 0.82),
    0 0 42px rgba(248, 248, 248, 0.58);
}

.hero-identity-name span,
.hero-identity-name strong {
  display: block;
}

.hero-identity-name strong {
  color: #d62828;
  font-weight: 800;
  text-shadow:
    0 0 10px rgba(248, 248, 248, 0.95),
    0 0 24px rgba(248, 248, 248, 0.82),
    0 0 42px rgba(248, 248, 248, 0.58),
    0 0 14px rgba(214, 40, 40, 0.2);
}

.hero-identity-role {
  color: rgba(13, 13, 13, 0.86);
  font-size: clamp(0.62rem, 0.72vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  margin: 0 0 clamp(2.1rem, 4.8vh, 3.4rem);
  max-width: 100%;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
  width: var(--hero-name-width);
}

.hero-identity-copy {
  color: rgba(13, 13, 13, 0.9);
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.52rem, 0.58vw, 0.66rem);
  font-weight: 600;
  letter-spacing: 0.26em;
  line-height: 1.9;
  margin: 0 0 clamp(2.3rem, 4.6vh, 3.6rem);
  max-width: 310px;
  position: relative;
  text-shadow:
    0 0 10px rgba(248, 248, 248, 0.95),
    0 0 24px rgba(248, 248, 248, 0.82),
    0 0 42px rgba(248, 248, 248, 0.58);
  text-transform: uppercase;
  z-index: 0;
}

.hero-identity-copy::after {
  background: rgba(248, 248, 248, 0.72);
  border-radius: 999px;
  content: "";
  filter: blur(18px);
  inset: -0.55rem -0.85rem;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.hero-identity-copy::before {
  color: #d62828;
  content: "+";
  display: block;
  font-size: 1rem;
  line-height: 1;
  margin-bottom: 1.25rem;
  text-shadow: 0 0 10px rgba(214, 40, 40, 0.36);
}

.hero-identity-copy strong {
  color: #d62828;
  font-weight: 800;
}

.hero-character-stage {
  --hero-character-x: -43%;
  --hero-character-width: min(42vw, 500px);
  bottom: 2svh;
  filter: blur(7px) saturate(0.9);
  height: min(78svh, 840px);
  left: 50%;
  opacity: 0;
  overflow: visible;
  pointer-events: none;
  position: absolute;
  transform: translateX(calc(var(--hero-character-x) + var(--parallax-character-x))) translateY(calc(38px + var(--parallax-character-y))) scale(1.035);
  transform-origin: 50% 100%;
  width: var(--hero-character-width);
  z-index: 3;
}

.hero-scene-ready.page-home .hero-character-stage {
  animation:
    heroCharacterArrive 1.12s cubic-bezier(0.2, 0.82, 0.2, 1) 0.16s both,
    heroCharacterIdle 6.4s ease-in-out 1.45s infinite alternate;
}

.hero-character {
  bottom: 0;
  display: block;
  height: 100%;
  left: 50%;
  max-width: none;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  user-select: none;
  width: auto;
  z-index: 1;
}

.hero-character-effects {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  transform-origin: 50% 100%;
  z-index: 3;
}

.hero-scene-ready.page-home .hero-character,
.hero-scene-ready.page-home .hero-character-effects {
  animation: none;
  opacity: 1;
}

.hero-character-effects::before {
  animation: heroCharacterLightSweep 5.8s ease-in-out 2.1s infinite;
  background:
    linear-gradient(102deg, transparent 0 42%, rgba(255, 255, 255, 0.34) 48%, rgba(214, 40, 40, 0.12) 51%, transparent 60% 100%);
  content: "";
  inset: -12% -44%;
  opacity: 0;
  position: absolute;
  transform: translateX(-58%) skewX(-12deg);
}

.character-energy {
  animation: characterEnergyRise 4.8s ease-in-out infinite;
  background:
    radial-gradient(ellipse at center, rgba(214, 40, 40, 0.26), rgba(214, 40, 40, 0.1) 42%, transparent 72%);
  border-radius: 999px;
  bottom: 0;
  filter: blur(14px);
  height: 18%;
  left: 50%;
  opacity: 0;
  position: absolute;
  transform: translateX(-50%);
  width: 58%;
}

.character-energy-b {
  animation-delay: 1.35s;
  height: 24%;
  opacity: 0;
  width: 42%;
}

.character-energy-c {
  animation-delay: 2.45s;
  height: 14%;
  width: 72%;
}

.character-aura-particle {
  --particle-delay: 0s;
  --particle-drift-x: 10px;
  --particle-size: 3px;
  animation: characterAuraParticle 6.2s ease-in-out infinite;
  animation-delay: var(--particle-delay);
  background: rgba(214, 40, 40, 0.76);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(214, 40, 40, 0.28);
  height: var(--particle-size);
  opacity: 0;
  position: absolute;
  width: var(--particle-size);
}

.particle-a {
  --particle-delay: -1s;
  --particle-drift-x: -12px;
  bottom: 18%;
  left: 24%;
}

.particle-b {
  --particle-delay: -3s;
  --particle-size: 2px;
  --particle-drift-x: 16px;
  bottom: 28%;
  left: 72%;
}

.particle-c {
  --particle-delay: -2.2s;
  --particle-drift-x: 11px;
  bottom: 46%;
  left: 18%;
}

.particle-d {
  --particle-delay: -4.4s;
  --particle-size: 2px;
  --particle-drift-x: -16px;
  bottom: 52%;
  left: 82%;
}

.particle-e {
  --particle-delay: -5.1s;
  --particle-size: 2px;
  --particle-drift-x: 8px;
  background: rgba(255, 255, 255, 0.8);
  bottom: 65%;
  left: 30%;
}

.particle-f {
  --particle-delay: -3.7s;
  --particle-size: 2px;
  --particle-drift-x: -10px;
  background: rgba(255, 255, 255, 0.76);
  bottom: 72%;
  left: 67%;
}

.hero-quote {
  bottom: clamp(5.4rem, 10vh, 7.4rem);
  color: #0d0d0d;
  max-width: 320px;
  pointer-events: none;
  position: absolute;
  right: clamp(2.8rem, 5.4vw, 6.4rem);
  text-transform: uppercase;
  z-index: 4;
}

.page-home .hero-quote,
.page-home .hero-identity,
.page-home .hero-dock,
.page-home .hero-header {
  opacity: 0;
}

.hero-scene-ready.page-home .hero-quote,
.hero-scene-ready.page-home .hero-identity,
.hero-scene-ready.page-home .hero-dock,
.hero-scene-ready.page-home .hero-header {
  animation: heroInterfaceArrive 0.86s ease-out 0.88s both;
}

.hero-quote-mark {
  color: #d62828;
  display: block;
  font-family: Georgia, serif;
  font-size: clamp(4rem, 5vw, 5.8rem);
  font-weight: 800;
  line-height: 0.6;
  margin: 0 0 1.8rem -0.12em;
  text-shadow: 0 0 16px rgba(214, 40, 40, 0.2);
}

.hero-quote p {
  font-size: clamp(0.66rem, 0.72vw, 0.84rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.9;
  margin: 0 0 clamp(1.15rem, 2vh, 1.5rem);
  text-shadow:
    0 0 10px rgba(248, 248, 248, 0.9),
    0 0 24px rgba(248, 248, 248, 0.72);
}

.hero-quote-accent {
  align-items: center;
  display: flex;
  gap: 1.05rem;
  margin-top: 1.1rem;
}

.hero-quote-accent::before {
  color: #d62828;
  content: "+";
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0 10px rgba(214, 40, 40, 0.32);
}

.hero-quote-accent::after {
  background: linear-gradient(90deg, rgba(214, 40, 40, 0.52), rgba(13, 13, 13, 0.22), rgba(13, 13, 13, 0));
  content: "";
  height: 1px;
  width: 58px;
}

.hero-dock {
  align-items: center;
  backdrop-filter: blur(14px) saturate(118%);
  bottom: 0;
  background:
    linear-gradient(90deg, rgba(214, 40, 40, 0.08), rgba(255, 255, 255, 0.025) 18%, rgba(255, 255, 255, 0.035) 50%, rgba(255, 255, 255, 0.025) 82%, rgba(214, 40, 40, 0.08)),
    linear-gradient(to bottom, rgba(18, 16, 18, 0.42), rgba(5, 5, 7, 0.78) 62%, rgba(0, 0, 0, 0.84));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(214, 40, 40, 0.14),
    0 -16px 38px rgba(0, 0, 0, 0.38);
  column-gap: clamp(1.2rem, 2.2vw, 3.6rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(108px, 1fr)) 72px repeat(3, minmax(108px, 1fr));
  height: 70px;
  left: 0;
  padding: 8px clamp(3.5rem, 8vw, 8.8rem) 0;
  position: absolute;
  right: 0;
  z-index: 4;
  -webkit-backdrop-filter: blur(14px) saturate(118%);
}

.hero-dock {
  --rail-color: rgba(214, 40, 40, 0.72);
}

.hero-dock::before {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(214, 40, 40, 0.2) 0%, rgba(214, 40, 40, 0.08) 28%, rgba(214, 40, 40, 0) 58%),
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.86) 0%,
      rgba(0, 0, 0, 0.62) 34%,
      rgba(0, 0, 0, 0.28) 70%,
      rgba(0, 0, 0, 0) 100%
    );
  bottom: 0;
  content: "";
  height: 154px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: -1;
}

.hero-dock::after {
  background:
    linear-gradient(var(--rail-color), var(--rail-color)) left bottom / 150px 1px no-repeat,
    linear-gradient(var(--rail-color), var(--rail-color)) left bottom / 1px 20px no-repeat,
    linear-gradient(var(--rail-color), var(--rail-color)) right bottom / 150px 1px no-repeat,
    linear-gradient(var(--rail-color), var(--rail-color)) right bottom / 1px 20px no-repeat;
  bottom: 12px;
  content: "";
  height: 20px;
  left: clamp(2.6rem, 4vw, 3.4rem);
  pointer-events: none;
  position: absolute;
  right: clamp(2.6rem, 4vw, 3.4rem);
  z-index: -1;
}

.dock-item {
  align-items: center;
  display: inline-flex;
  gap: 0.68rem;
  font-size: clamp(0.62rem, 0.66vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.34em;
  justify-content: center;
  line-height: 1;
  min-height: 34px;
  position: relative;
  text-transform: uppercase;
  transition: color 180ms ease, opacity 180ms ease, text-shadow 180ms ease;
  white-space: nowrap;
}

.dock-slash {
  color: #d62828;
  font-weight: 700;
  margin-right: 0.08rem;
  text-shadow: 0 0 12px rgba(214, 40, 40, 0.42);
}

.dock-number {
  color: rgba(248, 248, 248, 0.78);
  letter-spacing: 0.16em;
}

.dock-label {
  color: #f8f8f8;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.12);
}

.dock-item.is-active .dock-label,
.dock-item:hover .dock-label,
.dock-item:focus-visible .dock-label {
  color: #d62828;
  text-shadow: 0 0 18px rgba(214, 40, 40, 0.38);
}

.dock-emblem {
  align-items: center;
  color: #d62828;
  display: grid;
  flex: 0 0 54px;
  grid-column: 4;
  height: 54px;
  justify-items: center;
  margin: 0 clamp(0.35rem, 0.8vw, 0.9rem);
  place-self: center;
  position: relative;
  transform-style: preserve-3d;
  transition:
    filter 300ms ease,
    opacity 220ms ease,
    transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 54px;
  z-index: 1;
}

.dock-emblem.is-source-hidden {
  opacity: 0;
}

.dock-emblem-clone {
  margin: 0;
  pointer-events: none;
  position: fixed;
  z-index: 9999;
}

.dock-emblem-clone::before,
.dock-emblem-clone::after {
  display: none;
}

.emblem-shine,
.emblem-shockwave {
  pointer-events: none;
  position: absolute;
  z-index: 4;
}

.emblem-shine {
  background:
    linear-gradient(
      120deg,
      transparent 20%,
      rgba(255, 255, 255, 0.3) 45%,
      transparent 70%
    );
  inset: -40%;
  opacity: 0;
  transform: translateX(-200%) rotate(10deg);
}

.emblem-shockwave {
  border: 1px solid rgba(255, 70, 70, 0.5);
  border-radius: 50%;
  inset: -80px;
  opacity: 0;
}

.dock-emblem svg {
  display: block;
  filter:
    drop-shadow(0 8px 7px rgba(0, 0, 0, 0.7))
    drop-shadow(0 0 6px rgba(214, 40, 40, 0.22));
  height: 54px;
  overflow: visible;
  width: 54px;
}

.emblem-outer {
  transform-box: fill-box;
  transform-origin: center;
}

.emblem-outer {
  animation: emblemRotate 18s linear infinite;
}

.emblem-outer path {
  fill: url("#dockEmblemMetal");
  stroke: url("#dockEmblemEdge");
  stroke-linejoin: miter;
  stroke-width: 1.2;
}

.emblem-outer-piece {
  transform-box: fill-box;
  transform-origin: center;
  transition:
    filter 300ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.emblem-shell {
  fill: #0a0a0c;
  stroke: url("#dockEmblemEdge");
  stroke-linejoin: miter;
  stroke-width: 1.6;
}

.emblem-core {
  animation: emblemPulse 2.8s ease-in-out infinite alternate;
  fill: url("#dockEmblemCore");
}

.emblem-ring {
  fill: #111;
  stroke: #ff4d4d;
  stroke-width: 1.1;
}

.emblem-dot {
  fill: #ff4d4d;
}

.dock-emblem:hover .emblem-outer,
.dock-emblem:focus-visible .emblem-outer {
  transform: none;
}

.dock-emblem:hover .emblem-shell,
.dock-emblem:focus-visible .emblem-shell {
  transform: scale(0.9);
}

.dock-emblem:hover,
.dock-emblem:focus-visible {
  filter: drop-shadow(0 0 18px rgba(255, 70, 70, 0.26));
  transform:
    translateY(-6px)
    rotateX(12deg)
    rotateY(-8deg)
    scale(1.05);
}

.dock-emblem:hover svg,
.dock-emblem:focus-visible svg {
  filter:
    drop-shadow(0 0 20px rgba(255, 70, 70, 0.55))
    drop-shadow(0 0 40px rgba(255, 70, 70, 0.25));
}

.dock-emblem:hover .outer-1,
.dock-emblem:focus-visible .outer-1 {
  transform: translate(-5px, -5px) rotate(-8deg);
}

.dock-emblem:hover .outer-2,
.dock-emblem:focus-visible .outer-2 {
  transform: translate(5px, -5px) rotate(8deg);
}

.dock-emblem:hover .outer-3,
.dock-emblem:focus-visible .outer-3 {
  transform: translate(5px, 5px) rotate(-8deg);
}

.dock-emblem:hover .outer-4,
.dock-emblem:focus-visible .outer-4 {
  transform: translate(-5px, 5px) rotate(8deg);
}

.dock-emblem:hover .emblem-shine,
.dock-emblem:focus-visible .emblem-shine {
  animation: emblemSweep 900ms ease forwards;
  opacity: 1;
}

.emblem-shell,
.emblem-core,
.emblem-ring,
.emblem-dot {
  transform-box: fill-box;
  transform-origin: center;
  transition: filter 220ms ease, transform 220ms ease;
}

.dock-emblem:hover .emblem-core,
.dock-emblem:focus-visible .emblem-core,
.dock-emblem:hover .emblem-dot,
.dock-emblem:focus-visible .emblem-dot {
  filter:
    drop-shadow(0 0 8px rgba(255, 77, 77, 0.95))
    drop-shadow(0 0 18px rgba(214, 40, 40, 0.72));
  transform: scale(1.08);
}

.dock-emblem.is-transforming .emblem-shockwave,
.dock-emblem-clone.is-transforming .emblem-shockwave {
  animation: emblemShockwave 1.4s ease-out forwards;
}

.dock-emblem.is-transforming .outer-1,
.dock-emblem-clone.is-transforming .outer-1 {
  animation: emblemMech1 2s ease-in-out forwards;
}

.dock-emblem.is-transforming .outer-2,
.dock-emblem-clone.is-transforming .outer-2 {
  animation: emblemMech2 2s ease-in-out forwards;
}

.dock-emblem.is-transforming .outer-3,
.dock-emblem-clone.is-transforming .outer-3 {
  animation: emblemMech3 2s ease-in-out forwards;
}

.dock-emblem.is-transforming .outer-4,
.dock-emblem-clone.is-transforming .outer-4 {
  animation: emblemMech4 2s ease-in-out forwards;
}

.dock-emblem.is-transforming .emblem-shell,
.dock-emblem-clone.is-transforming .emblem-shell {
  animation: emblemShellShift 2s ease-in-out forwards;
}

.dock-emblem.is-transforming .emblem-ring,
.dock-emblem-clone.is-transforming .emblem-ring {
  animation: emblemRingSpin 2s linear infinite;
}

.dock-emblem.is-transforming .emblem-core,
.dock-emblem-clone.is-transforming .emblem-core {
  animation: emblemCoreCharge 400ms ease infinite alternate;
}

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

@keyframes emblemPulse {
  from {
    filter: drop-shadow(0 0 2px rgba(214, 40, 40, 0.35));
    opacity: 0.88;
  }

  to {
    filter: drop-shadow(0 0 7px rgba(255, 77, 77, 0.72));
    opacity: 1;
  }
}

@keyframes emblemSweep {
  to {
    transform: translateX(200%) rotate(10deg);
  }
}

@keyframes emblemShockwave {
  from {
    opacity: 1;
    transform: scale(0.2);
  }

  to {
    opacity: 0;
    transform: scale(2.5);
  }
}

@keyframes emblemMech1 {
  40% {
    transform: translate(-30px, -35px) rotate(-35deg) scale(1.25);
  }

  100% {
    transform: translate(-10px, -10px) rotate(-12deg);
  }
}

@keyframes emblemMech2 {
  40% {
    transform: translate(30px, -35px) rotate(35deg) scale(1.25);
  }

  100% {
    transform: translate(10px, -10px) rotate(12deg);
  }
}

@keyframes emblemMech3 {
  40% {
    transform: translate(30px, 35px) rotate(-35deg) scale(1.25);
  }

  100% {
    transform: translate(10px, 10px) rotate(-12deg);
  }
}

@keyframes emblemMech4 {
  40% {
    transform: translate(-30px, 35px) rotate(35deg) scale(1.25);
  }

  100% {
    transform: translate(-10px, 10px) rotate(12deg);
  }
}

@keyframes emblemShellShift {
  50% {
    transform: scale(0.7) rotate(90deg);
  }

  100% {
    transform: scale(0.9) rotate(45deg);
  }
}

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

@keyframes emblemCoreCharge {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.35);
  }
}

@keyframes loaderArchitectureSpawn {
  from {
    clip-path: polygon(50% 42%, 50% 42%, 50% 58%, 50% 58%, 50% 58%, 50% 58%);
    opacity: 0;
    transform: scaleY(0.72);
  }

  46% {
    opacity: 0.86;
  }

  to {
    clip-path: polygon(0 0, 100% 0, 100% 87%, 77% 100%, 23% 100%, 0 87%);
    opacity: 0.84;
    transform: scaleY(1);
  }
}

@keyframes loaderArchitectureBreathe {
  from {
    filter:
      drop-shadow(0 0 12px rgba(214, 40, 40, 0.1))
      drop-shadow(0 18px 46px rgba(13, 13, 13, 0.06));
    transform: scale(0.996);
  }

  to {
    filter:
      drop-shadow(0 0 20px rgba(214, 40, 40, 0.16))
      drop-shadow(0 24px 58px rgba(13, 13, 13, 0.08));
    transform: scale(1.002);
  }
}

@keyframes loaderSweep {
  0% {
    opacity: 0;
    transform: translateX(-58%) skewX(-12deg);
  }

  34%,
  54% {
    opacity: 0.7;
  }

  100% {
    opacity: 0;
    transform: translateX(58%) skewX(-12deg);
  }
}

@keyframes loaderRailPulse {
  from {
    opacity: 0.46;
    transform: translateY(8px);
  }

  to {
    opacity: 0.82;
    transform: translateY(0);
  }
}

@keyframes loaderWindTrace {
  0% {
    opacity: 0;
    transform: translate3d(-18%, 12%, 0) skewX(-10deg);
  }

  30%,
  52% {
    opacity: 0.62;
  }

  100% {
    opacity: 0;
    transform: translate3d(18%, -18%, 0) skewX(-10deg);
  }
}

@keyframes loaderVeilRise {
  0%,
  100% {
    opacity: 0.32;
    transform: translateX(-50%) translateY(12px) scaleX(0.92);
  }

  46% {
    opacity: 0.52;
    transform: translateX(-50%) translateY(-4px) scaleX(1);
  }
}

@keyframes loaderTitleForm {
  0% {
    clip-path: inset(0 52% 0 52%);
    filter: blur(10px);
    opacity: 0.08;
    transform: translate(-50%, var(--loader-title-y)) scaleX(0.94);
  }

  34% {
    clip-path: inset(0 18% 0 18%);
    opacity: 0.44;
  }

  56%,
  78% {
    clip-path: inset(0 0 0 0);
    filter: blur(0.4px);
    opacity: 1;
    transform: translate(-50%, var(--loader-title-y)) scaleX(1);
  }

  100% {
    clip-path: inset(0 0 0 0);
    filter: blur(2px);
    opacity: 0.44;
    transform: translate(-50%, var(--loader-title-y)) scaleX(1.01);
  }
}

@keyframes loaderTitleEnergy {
  from {
    background-position: 0 0, -120% 0;
  }

  to {
    background-position: 0 0, 120% 0;
  }
}

@keyframes loaderTextWake {
  from {
    filter: blur(5px);
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderCoreWake {
  from {
    transform: scale(0.982);
  }

  to {
    transform: scale(1.026);
  }
}

@keyframes loaderHalo {
  0%,
  100% {
    opacity: 0.34;
    transform: scale(0.96);
  }

  48% {
    opacity: 0.72;
    transform: scale(1);
  }
}

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

@keyframes loaderStatus {
  0%,
  100% {
    opacity: 0.34;
    transform: translateY(3px);
  }

  45% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderDust {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  28% {
    opacity: 0.52;
  }

  100% {
    opacity: 0;
    transform: translate3d(18px, -116px, 0);
  }
}

@keyframes heroLoadVeil {
  0% {
    filter: brightness(1.08);
    opacity: 1;
  }

  56% {
    filter: brightness(1.02);
    opacity: 0.42;
  }

  100% {
    filter: brightness(1);
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes heroBackdropSpawn {
  from {
    background-position: calc(50% + var(--parallax-bg-x)) calc(100% + 34px);
    background-size: var(--hero-bg-start-size);
    filter: blur(5px) brightness(1.06) saturate(0.92);
  }

  58% {
    filter: blur(1px) brightness(1.03) saturate(0.98);
  }

  to {
    background-position: calc(50% + var(--parallax-bg-x)) bottom;
    background-size: var(--hero-bg-end-size);
    filter: blur(0) brightness(1) saturate(1);
  }
}

@keyframes heroTitleArrive {
  from {
    filter: blur(7px);
    opacity: 0;
    transform: translateX(-50%) translateY(14px);
  }

  to {
    filter: blur(0);
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes heroTitleSweep {
  0% {
    opacity: 0;
    transform: translateX(-62%) skewX(-12deg);
  }

  32%,
  58% {
    opacity: 0.78;
  }

  100% {
    opacity: 0;
    transform: translateX(64%) skewX(-12deg);
  }
}

@keyframes heroCharacterArrive {
  from {
    filter:
      blur(7px)
      saturate(0.9)
      drop-shadow(0 34px 42px rgba(214, 40, 40, 0.12));
    opacity: 0;
    transform: translateX(calc(var(--hero-character-x) + var(--parallax-character-x))) translateY(calc(46px + var(--parallax-character-y))) scale(1.035);
  }

  58% {
    filter:
      blur(1.5px)
      saturate(1.02)
      drop-shadow(0 18px 28px rgba(214, 40, 40, 0.16));
    opacity: 1;
  }

  to {
    filter:
      blur(0)
      saturate(1)
      drop-shadow(0 12px 18px rgba(0, 0, 0, 0.04));
    opacity: 1;
    transform: translateX(calc(var(--hero-character-x) + var(--parallax-character-x))) translateY(var(--parallax-character-y)) scale(1);
  }
}

@keyframes heroCharacterIdle {
  from {
    filter:
      blur(0)
      saturate(1)
      drop-shadow(0 12px 18px rgba(0, 0, 0, 0.04));
    transform: translateX(calc(var(--hero-character-x) + var(--parallax-character-x))) translateY(var(--parallax-character-y)) scale(1);
  }

  46% {
    filter:
      blur(0)
      saturate(1.015)
      drop-shadow(0 14px 22px rgba(214, 40, 40, 0.07));
    transform: translateX(calc(var(--hero-character-x) + var(--parallax-character-x))) translateY(calc(-3px + var(--parallax-character-y))) scale(1.004);
  }

  to {
    filter:
      blur(0)
      saturate(1.02)
      drop-shadow(0 16px 24px rgba(214, 40, 40, 0.09));
    transform: translateX(calc(var(--hero-character-x) + var(--parallax-character-x))) translateY(calc(-5px + var(--parallax-character-y))) scale(1.007);
  }
}

@keyframes heroEffectsArrive {
  from {
    opacity: 0;
    transform: translateX(calc(var(--hero-effects-x) + var(--parallax-character-x))) translateY(calc(46px + var(--parallax-character-y))) scale(1.035);
  }

  to {
    opacity: 1;
    transform: translateX(calc(var(--hero-effects-x) + var(--parallax-character-x))) translateY(var(--parallax-character-y)) scale(1);
  }
}

@keyframes heroEffectsIdle {
  from {
    transform: translateX(calc(var(--hero-effects-x) + var(--parallax-character-x))) translateY(var(--parallax-character-y)) scale(1);
  }

  to {
    transform: translateX(calc(var(--hero-effects-x) + var(--parallax-character-x))) translateY(calc(-5px + var(--parallax-character-y))) scale(1.007);
  }
}

@keyframes heroCharacterLightSweep {
  0%,
  64% {
    opacity: 0;
    transform: translateX(-58%) skewX(-12deg);
  }

  74%,
  82% {
    opacity: 0.46;
  }

  100% {
    opacity: 0;
    transform: translateX(58%) skewX(-12deg);
  }
}

@keyframes characterEnergyRise {
  0%,
  100% {
    opacity: 0.08;
    transform: translateX(-50%) translateY(8px) scaleX(0.86);
  }

  48% {
    opacity: 0.34;
    transform: translateX(-50%) translateY(-8px) scaleX(1.02);
  }
}

@keyframes characterAuraParticle {
  0% {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }

  28%,
  58% {
    opacity: 0.58;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--particle-drift-x), -58px, 0);
  }
}

@keyframes heroCharacterGroundGlow {
  from {
    opacity: 0.92;
  }

  to {
    opacity: 1;
  }
}

@keyframes heroInterfaceArrive {
  from {
    filter: blur(4px);
    opacity: 0;
  }

  to {
    filter: blur(0);
    opacity: 1;
  }
}

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

  .emblem-outer,
  .emblem-core,
  .hero-loader,
  .hero-loader::before,
  .hero-loader::after,
  .loader-architecture,
  .loader-architecture::before,
  .loader-architecture::after,
  .loader-veil,
  .loader-kicker,
  .loader-title,
  .loader-emblem,
  .loader-emblem::after,
  .loader-orbit,
  .loader-status span,
  .loader-dust span,
  .page-home .hero-bg-only::before,
  .hero-scene-ready.page-home .hero-bg-only::after,
  .hero-scene-ready.page-home .hero-bg-only,
  .page-home .hero-title-block,
  .page-home .hero-character-stage,
  .hero-scene-ready.page-home .hero-character-effects,
  .hero-character-effects::before,
  .character-energy,
  .character-aura-particle,
  .page-home .hero-quote,
  .page-home .hero-identity,
  .page-home .hero-dock,
  .page-home .hero-header,
  .page-home .hero-title-block::after {
    animation: none;
  }

  .page-home .hero-bg-only::before,
  .page-home .hero-title-block::after {
    display: none;
  }

  .page-home .hero-title-block,
  .page-home .hero-character-stage,
  .page-home .hero-quote,
  .page-home .hero-identity,
  .page-home .hero-dock,
  .page-home .hero-header {
    opacity: 1;
  }

  .page-home .hero-character-stage {
    filter: none;
    transform: translateX(calc(var(--hero-character-x) + var(--parallax-character-x))) translateY(var(--parallax-character-y)) scale(1);
  }

  .page-home .hero-character-effects {
    display: none;
  }
}

.page-enter .page-stub {
  animation: dimensionArrival 840ms cubic-bezier(0.2, 0.82, 0.2, 1) both;
  transform-origin: 50% 50%;
}

.single-page-section {
  align-items: flex-start;
  background:
    linear-gradient(90deg, rgba(214, 40, 40, 0.18), transparent 1px) 7vw 0 / 1px 100% no-repeat,
    radial-gradient(circle at 82% 18%, rgba(214, 40, 40, 0.1), transparent 28rem),
    linear-gradient(180deg, #f8f8f8 0%, #ececec 100%);
  color: #141414;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.4rem, 10vw, 9rem);
  position: relative;
}

.single-page-section::before {
  background:
    linear-gradient(90deg, rgba(214, 40, 40, 0.28), transparent 9rem),
    linear-gradient(rgba(15, 15, 15, 0.06), rgba(15, 15, 15, 0.06));
  content: "";
  height: 1px;
  left: clamp(1.4rem, 10vw, 9rem);
  position: absolute;
  top: clamp(4rem, 8vw, 6rem);
  width: min(24rem, 44vw);
}

.single-page-section .section-kicker {
  color: #d62828;
  font-size: clamp(0.68rem, 1vw, 0.84rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  margin: 0 0 1.2rem;
  text-transform: uppercase;
}

.single-page-section h2 {
  color: rgba(14, 14, 14, 0.92);
  font-family: "Bebas Neue", "Space Grotesk", sans-serif;
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.82;
  margin: 0 0 clamp(1.4rem, 3vw, 2.4rem);
  text-transform: uppercase;
}

.single-page-section p:last-child {
  color: rgba(20, 20, 20, 0.72);
  font-size: clamp(0.75rem, 1vw, 0.92rem);
  letter-spacing: 0.22em;
  line-height: 1.9;
  margin: 0;
  max-width: 42rem;
  text-transform: uppercase;
}

.web-interfaces-section {
  background:
    linear-gradient(90deg, rgba(214, 40, 40, 0.2), transparent 1px) 7vw 0 / 1px 100% no-repeat,
    radial-gradient(circle at 78% 18%, rgba(214, 40, 40, 0.14), transparent 25rem),
    radial-gradient(circle at 14% 86%, rgba(214, 40, 40, 0.1), transparent 28rem),
    linear-gradient(180deg, #f8f8f8 0%, #eeeeee 100%);
  color: #111;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(4.8rem, 8vw, 8rem) clamp(1.1rem, 5.5vw, 6rem);
  position: relative;
}

.web-interfaces-section::before,
.web-interfaces-section::after {
  content: "";
  pointer-events: none;
  position: absolute;
}

.web-interfaces-section::before {
  background:
    linear-gradient(90deg, rgba(214, 40, 40, 0.3), transparent 10rem),
    linear-gradient(rgba(15, 15, 15, 0.06), rgba(15, 15, 15, 0.06));
  height: 1px;
  left: clamp(1.2rem, 5.5vw, 6rem);
  top: clamp(3.5rem, 6vw, 5rem);
  width: min(28rem, 56vw);
}

.web-interfaces-section::after {
  background:
    linear-gradient(90deg, transparent 0 9%, rgba(214, 40, 40, 0.34) 9% calc(9% + 1px), transparent calc(9% + 1px) 100%),
    linear-gradient(180deg, transparent 0 12%, rgba(13, 13, 13, 0.045) 12% calc(12% + 1px), transparent calc(12% + 1px) 100%);
  inset: 0;
  opacity: 0.76;
}

.web-section-head {
  align-items: end;
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  position: relative;
  z-index: 2;
}

.web-section-head .section-kicker {
  color: #d62828;
  font-size: clamp(0.68rem, 0.9vw, 0.84rem);
  font-weight: 800;
  grid-column: 1 / -1;
  letter-spacing: 0.28em;
  margin: 0 0 -0.8rem;
  text-transform: uppercase;
}

.web-section-head h2 {
  color: rgba(13, 13, 13, 0.94);
  font-family: "Bebas Neue", "Space Grotesk", sans-serif;
  font-size: clamp(4rem, 11vw, 10.5rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.82;
  margin: 0;
  text-transform: uppercase;
}

.web-section-head > p {
  color: rgba(13, 13, 13, 0.66);
  font-size: clamp(0.68rem, 0.9vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.85;
  margin: 0 0 0.6rem;
  text-transform: uppercase;
}

.web-filter-bar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: clamp(1.8rem, 4vw, 3.2rem) 0 clamp(1.5rem, 3vw, 2.4rem);
  position: relative;
  z-index: 2;
}

.web-filter-bar span {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(13, 13, 13, 0.08);
  color: rgba(13, 13, 13, 0.72);
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  padding: 0.78rem 1rem;
  text-transform: uppercase;
}

.web-filter-bar .is-active {
  background: #d62828;
  border-color: #d62828;
  color: #fff;
  box-shadow: 0 14px 30px rgba(214, 40, 40, 0.22);
}

.web-live-grid {
  display: grid;
  gap: clamp(1rem, 1.6vw, 1.4rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
  z-index: 2;
}

.web-preview-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.34)),
    radial-gradient(circle at 16% 0%, rgba(214, 40, 40, 0.07), transparent 42%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 46px rgba(13, 13, 13, 0.08),
    0 30px 90px rgba(214, 40, 40, 0.055);
  min-height: 260px;
  overflow: hidden;
  padding: 0.72rem;
  position: relative;
  transform: translate3d(0, 0, 0);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.web-preview-card-featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 540px;
}

.web-preview-card:hover {
  border-color: rgba(214, 40, 40, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 20px 50px rgba(13, 13, 13, 0.1),
    0 42px 110px rgba(214, 40, 40, 0.12);
  transform: translate3d(0, -8px, 0);
}

.web-preview-card:active {
  transform: translate3d(0, -2px, 0) scale(0.986);
  transition-duration: 90ms;
}

.web-browser-frame {
  background: #101010;
  border: 1px solid rgba(13, 13, 13, 0.12);
  height: calc(100% - 58px);
  min-height: 188px;
  overflow: hidden;
  position: relative;
}

.web-preview-card-featured .web-browser-frame {
  min-height: 464px;
}

.web-browser-top {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(246, 246, 246, 0.9)),
    #fff;
  border-bottom: 1px solid rgba(13, 13, 13, 0.08);
  display: flex;
  gap: 0.38rem;
  height: 34px;
  padding: 0 0.78rem;
}

.web-browser-top span {
  background: rgba(214, 40, 40, 0.72);
  border-radius: 999px;
  height: 7px;
  width: 7px;
}

.web-browser-top span:nth-child(2) {
  opacity: 0.52;
}

.web-browser-top span:nth-child(3) {
  opacity: 0.28;
}

.web-browser-top strong {
  color: rgba(13, 13, 13, 0.58);
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-left: 0.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.web-browser-frame iframe {
  background: #fff;
  border: 0;
  display: block;
  height: calc(100% - 34px);
  pointer-events: none;
  width: 100%;
}

.web-card-meta {
  align-items: center;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: auto 1fr auto;
  min-height: 58px;
  padding: 0.78rem 0.2rem 0.1rem;
}

.web-card-meta strong {
  color: #111;
  font-size: clamp(0.72rem, 0.9vw, 0.92rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.web-card-meta a {
  color: #d62828;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.web-live-dot {
  align-items: center;
  color: rgba(13, 13, 13, 0.58);
  display: inline-flex;
  font-size: 0.58rem;
  font-weight: 900;
  gap: 0.34rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.web-live-dot::before {
  background: #d62828;
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(214, 40, 40, 0.72);
  content: "";
  height: 7px;
  width: 7px;
}

.web-stats-strip {
  border-top: 1px solid rgba(13, 13, 13, 0.08);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(1.4rem, 3vw, 2.5rem);
  position: relative;
  z-index: 2;
}

.web-stats-strip p {
  background: rgba(255, 255, 255, 0.5);
  margin: 0;
  padding: clamp(1rem, 1.6vw, 1.35rem);
}

.web-stats-strip strong,
.web-stats-strip span {
  display: block;
  text-transform: uppercase;
}

.web-stats-strip strong {
  color: #d62828;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(1rem, 1.7vw, 1.55rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.web-stats-strip span {
  color: rgba(13, 13, 13, 0.58);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.5;
  margin-top: 0.52rem;
}

@media (max-width: 1100px) {
  .web-section-head {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .web-section-head > p {
    max-width: 44rem;
  }

  .web-live-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .web-preview-card-featured {
    min-height: 470px;
  }

  .web-preview-card-featured .web-browser-frame {
    min-height: 394px;
  }
}

@media (max-width: 760px) {
  .web-interfaces-section {
    padding: 4.8rem 1rem 3.8rem;
  }

  .web-section-head h2 {
    font-size: clamp(3.5rem, 20vw, 6.8rem);
  }

  .web-section-head > p {
    font-size: 0.68rem;
    letter-spacing: 0.13em;
  }

  .web-filter-bar {
    gap: 0.36rem;
  }

  .web-filter-bar span {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    padding: 0.66rem 0.72rem;
  }

  .web-live-grid {
    grid-template-columns: 1fr;
  }

  .web-preview-card,
  .web-preview-card-featured {
    grid-column: auto;
    grid-row: auto;
    min-height: 330px;
  }

  .web-browser-frame,
  .web-preview-card-featured .web-browser-frame {
    min-height: 250px;
  }

  .web-card-meta {
    gap: 0.55rem;
    grid-template-columns: auto 1fr auto;
  }

  .web-card-meta strong {
    font-size: 0.68rem;
    letter-spacing: 0.11em;
  }

  .web-stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 440px) {
  .web-card-meta {
    grid-template-columns: 1fr auto;
  }

  .web-live-dot {
    grid-column: 1 / -1;
  }

  .web-stats-strip {
    grid-template-columns: 1fr;
  }
}

.web-interfaces-section {
  background:
    radial-gradient(ellipse at 50% 58%, rgba(214, 40, 40, 0.1), transparent 34rem),
    radial-gradient(ellipse at 14% 86%, rgba(214, 40, 40, 0.07), transparent 28rem),
    linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
  color: #111;
  padding: clamp(3.4rem, 5.8vw, 5.8rem) clamp(1rem, 4vw, 4rem) clamp(1.6rem, 3vw, 3rem);
}

.web-interfaces-section::before {
  background:
    linear-gradient(90deg, rgba(214, 40, 40, 0), rgba(214, 40, 40, 0.32), rgba(214, 40, 40, 0)) center 24% / 64% 1px no-repeat,
    linear-gradient(90deg, rgba(214, 40, 40, 0.06) 1px, transparent 1px) center / 8.5rem 8.5rem,
    linear-gradient(rgba(13, 13, 13, 0.025) 1px, transparent 1px) center / 8.5rem 8.5rem;
  height: auto;
  inset: 0;
  opacity: 0.6;
  width: auto;
}

.web-interfaces-section::after {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(214, 40, 40, 0.08), transparent 28rem),
    linear-gradient(180deg, rgba(248, 248, 248, 0), rgba(248, 248, 248, 0.6));
  opacity: 1;
}

.web-section-head {
  display: block;
  margin: 0 auto;
  max-width: 980px;
  text-align: center;
}

.web-section-head .section-kicker {
  align-items: center;
  background: rgba(214, 40, 40, 0.06);
  border: 1px solid rgba(214, 40, 40, 0.18);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(214, 40, 40, 0.08);
  color: #d62828;
  display: inline-flex;
  gap: 0.62rem;
  font-size: clamp(0.62rem, 0.82vw, 0.78rem);
  letter-spacing: 0.24em;
  margin: 0 0 clamp(1.1rem, 2vw, 1.6rem);
  padding: 0.52rem 1.1rem;
}

.web-section-head h2 {
  color: #0d0d0d;
  font-family: "Space Grotesk", "JetBrains Mono", sans-serif;
  font-size: clamp(2.6rem, 6.2vw, 6.8rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 0.92;
  margin: 0;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.9),
    0 16px 34px rgba(13, 13, 13, 0.08);
}

.web-section-head h2 strong {
  color: #d62828;
  font: inherit;
  text-shadow: 0 0 26px rgba(214, 40, 40, 0.3);
}

.web-section-head > p {
  color: rgba(13, 13, 13, 0.7);
  font-size: clamp(0.78rem, 1.15vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.55;
  margin: clamp(1rem, 1.8vw, 1.35rem) auto 0;
  max-width: 700px;
  text-transform: none;
}

.web-showcase-stage {
  height: clamp(570px, 54vw, 740px);
  margin: clamp(1.4rem, 3vw, 2.6rem) auto 0;
  max-width: 1600px;
  perspective: 1400px;
  position: relative;
  z-index: 2;
}

.web-orbit {
  border: 1.5px solid rgba(214, 40, 40, 0.45);
  border-radius: 50%;
  bottom: clamp(3.5rem, 5vw, 5.5rem);
  box-shadow:
    0 0 20px rgba(214, 40, 40, 0.3),
    inset 0 0 24px rgba(214, 40, 40, 0.08);
  height: clamp(100px, 10vw, 160px);
  left: 50%;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%) rotateX(70deg);
  width: min(88vw, 1260px);
  z-index: 1;
}

.web-orbit-back {
  border-color: rgba(214, 40, 40, 0.18);
  bottom: clamp(4.5rem, 7vw, 7.5rem);
  filter: blur(1px);
  width: min(100vw, 1500px);
}

.web-preview-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 248, 248, 0.88)),
    radial-gradient(circle at 50% 0%, rgba(214, 40, 40, 0.07), transparent 54%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 18px 46px rgba(13, 13, 13, 0.1),
    0 0 34px rgba(214, 40, 40, 0.06);
  left: 50%;
  min-height: 0;
  padding: 0.42rem;
  position: absolute;
  top: clamp(2rem, 4vw, 4.2rem);
  transform-style: preserve-3d;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    filter 600ms ease,
    height 600ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 600ms ease,
    top 600ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1),
    width 600ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 4;
}

.web-preview-card:hover {
  border-color: rgba(214, 40, 40, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 26px 62px rgba(13, 13, 13, 0.14),
    0 0 42px rgba(214, 40, 40, 0.18);
  transform: translate3d(-50%, -8px, 0) scale(1.02);
}

.web-preview-main {
  height: clamp(390px, 35vw, 547px);
  transform: translate3d(-50%, 0, 100px);
  width: min(56vw, 840px);
  z-index: 8;
}

.web-preview-main:hover {
  transform: translate3d(-50%, -10px, 110px) scale(1.016);
}

.web-preview-side {
  height: clamp(272px, 24vw, 355px);
  opacity: 0.88;
  top: clamp(3.5rem, 5.5vw, 5.5rem);
  width: min(34vw, 500px);
}

.web-preview-left {
  transform: translate3d(-110%, 18px, -130px) rotateY(17deg) rotateZ(-2deg);
  z-index: 6;
}

.web-preview-left:hover {
  transform: translate3d(-110%, 8px, -115px) rotateY(17deg) rotateZ(-2deg) scale(1.02);
}

.web-preview-right {
  transform: translate3d(10%, 22px, -130px) rotateY(-17deg) rotateZ(2deg);
  z-index: 6;
}

.web-preview-right:hover {
  transform: translate3d(10%, 12px, -115px) rotateY(-17deg) rotateZ(2deg) scale(1.02);
}

.web-preview-far-left,
.web-preview-far-right {
  filter: blur(0.8px);
  height: clamp(224px, 20vw, 299px);
  opacity: 0.52;
  top: clamp(4.5rem, 8vw, 8rem);
  width: min(26vw, 400px);
  z-index: 3;
}

.web-preview-far-left {
  transform: translate3d(-168%, 34px, -240px) rotateY(25deg) rotateZ(-4deg);
}

.web-preview-far-left:hover {
  transform: translate3d(-168%, 24px, -225px) rotateY(25deg) rotateZ(-4deg) scale(1.015);
}

.web-preview-far-right {
  transform: translate3d(68%, 34px, -240px) rotateY(-25deg) rotateZ(4deg);
}

.web-preview-far-right:hover {
  transform: translate3d(68%, 24px, -225px) rotateY(-25deg) rotateZ(4deg) scale(1.015);
}

.web-preview-mini {
  bottom: clamp(2rem, 3.5vw, 3.5rem);
  height: clamp(190px, 17vw, 252px);
  left: 50%;
  opacity: 0.62;
  top: auto;
  transform: translate3d(-50%, 0, -200px) scale(0.65);
  width: min(30vw, 448px);
  z-index: 2;
}

.web-preview-mini:hover {
  transform: translate3d(-50%, -8px, -180px) scale(0.68);
}

.web-browser-frame {
  background: #f8f8f8;
  border-color: rgba(13, 13, 13, 0.1);
  border-radius: 10px;
  height: calc(100% - 44px);
  min-height: 0;
  overflow: hidden;
}

.web-preview-card-featured .web-browser-frame,
.web-preview-main .web-browser-frame {
  min-height: 0;
}

.web-browser-top {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(246, 246, 246, 0.94));
  border-bottom-color: rgba(13, 13, 13, 0.08);
  border-radius: 9px 9px 0 0;
  height: 30px;
}

.web-browser-top span {
  background: rgba(214, 40, 40, 0.72);
  box-shadow: 0 0 10px rgba(214, 40, 40, 0.42);
}

.web-browser-top strong {
  color: rgba(13, 13, 13, 0.52);
}

.web-browser-frame iframe {
  height: calc(100% - 30px);
}

.web-card-meta {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(13, 13, 13, 0.1);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(13, 13, 13, 0.08);
  gap: 0.62rem;
  grid-template-columns: auto 1fr auto;
  margin: 0.5rem auto 0;
  min-height: 34px;
  padding: 0.36rem 0.64rem;
  width: min(90%, 360px);
}

.web-card-meta strong {
  color: #111;
  font-size: clamp(0.58rem, 0.78vw, 0.78rem);
  letter-spacing: 0.08em;
  text-align: center;
}

.web-card-meta a {
  background: #d62828;
  border-radius: 999px;
  color: #fff;
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  padding: 0.38rem 0.58rem;
}

.web-live-dot {
  color: rgba(13, 13, 13, 0.52);
  font-size: 0.52rem;
}

.web-stage-arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(13, 13, 13, 0.12);
  border-radius: 50%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 8px 24px rgba(13, 13, 13, 0.1),
    0 0 18px rgba(214, 40, 40, 0.1);
  color: #d62828;
  cursor: pointer;
  display: grid;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  font-weight: 900;
  height: clamp(44px, 4.8vw, 62px);
  letter-spacing: 0;
  place-items: center;
  position: absolute;
  top: 48%;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  width: clamp(44px, 4.8vw, 62px);
  z-index: 10;
}

.web-stage-arrow:hover {
  border-color: rgba(214, 40, 40, 0.5);
  box-shadow: 0 0 30px rgba(214, 40, 40, 0.24);
  transform: translateY(-2px);
}

.web-stage-arrow-prev {
  left: 1vw;
}

.web-stage-arrow-next {
  right: 1vw;
}

.web-drag-pill {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(13, 13, 13, 0.1);
  border-radius: 999px;
  bottom: clamp(1rem, 2vw, 1.6rem);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 0 20px rgba(214, 40, 40, 0.1);
  color: rgba(13, 13, 13, 0.72);
  display: inline-flex;
  gap: 1.2rem;
  left: 50%;
  letter-spacing: 0.04em;
  padding: 0.7rem 1.4rem;
  position: absolute;
  transform: translateX(-50%);
  z-index: 9;
}

.web-drag-pill span {
  color: #d62828;
  font-weight: 900;
}

.web-drag-pill strong {
  font-size: 0.78rem;
  font-weight: 700;
}

.web-stats-strip {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(13, 13, 13, 0.08);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 20px 50px rgba(13, 13, 13, 0.06);
  gap: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: clamp(0.8rem, 2vw, 1.6rem) auto 0;
  max-width: 1120px;
  overflow: hidden;
}

.web-stats-strip p {
  background: transparent;
  border-right: 1px solid rgba(13, 13, 13, 0.08);
  padding: clamp(0.9rem, 1.6vw, 1.2rem) clamp(0.72rem, 1.2vw, 1rem);
  text-align: center;
}

.web-stats-strip p:last-child {
  border-right: 0;
}

.web-stats-strip strong {
  color: #111;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.08rem, 1.9vw, 1.7rem);
  font-weight: 800;
}

.web-stats-strip p:first-child strong,
.web-stats-strip p:nth-child(3) strong,
.web-stats-strip p:nth-child(5) strong {
  color: #d62828;
  text-shadow: 0 0 18px rgba(214, 40, 40, 0.28);
}

.web-stats-strip span {
  color: rgba(13, 13, 13, 0.58);
  font-size: clamp(0.54rem, 0.72vw, 0.68rem);
  letter-spacing: 0.04em;
  margin-top: 0.28rem;
  text-transform: none;
}

@media (max-width: 980px) {
  .web-showcase-stage {
    height: auto;
    perspective: none;
  }

  .web-orbit,
  .web-stage-arrow,
  .web-drag-pill {
    display: none;
  }

  .web-preview-card,
  .web-preview-main,
  .web-preview-side,
  .web-preview-far-left,
  .web-preview-far-right,
  .web-preview-mini {
    filter: none;
    height: clamp(300px, 58vw, 430px);
    left: auto;
    margin-bottom: 1rem;
    opacity: 1;
    position: relative;
    top: auto;
    transform: none;
    width: 100%;
  }

  .web-preview-card:hover,
  .web-preview-main:hover {
    transform: translateY(-6px);
  }

  .web-stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .web-stats-strip p {
    border-bottom: 1px solid rgba(13, 13, 13, 0.08);
  }
}

@media (max-width: 560px) {
  .web-section-head h2 {
    font-size: clamp(2.3rem, 13vw, 4rem);
  }

  .web-preview-card,
  .web-preview-main,
  .web-preview-side,
  .web-preview-far-left,
  .web-preview-far-right,
  .web-preview-mini {
    height: clamp(260px, 62vw, 340px);
  }

  .web-card-meta {
    border-radius: 10px;
    grid-template-columns: 1fr auto;
    width: 100%;
  }

  .web-live-dot {
    grid-column: 1 / -1;
  }

  .web-stats-strip {
    grid-template-columns: 1fr;
  }

  .web-stats-strip p {
    border-right: 0;
  }
}

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

.site-footer {
  background:
    linear-gradient(90deg, rgba(214, 40, 40, 0.18) 1px, transparent 1px) clamp(1.4rem, 6vw, 4.5rem) 0 / 1px 100% no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 242, 242, 0.94)),
    radial-gradient(circle at 50% 106%, rgba(214, 40, 40, 0.2), transparent 28rem),
    #f5f5f5;
  color: #111;
  min-height: 86svh;
  overflow: hidden;
  padding: clamp(2.4rem, 4vw, 4rem) clamp(1.1rem, 5vw, 4.5rem) 1.8rem;
  position: relative;
}

.site-footer::before,
.site-footer::after {
  content: "";
  pointer-events: none;
  position: absolute;
}

.site-footer::before {
  background:
    linear-gradient(90deg, rgba(214, 40, 40, 0.22), transparent 9rem) left 72% / 26rem 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(214, 40, 40, 0.28), transparent) center 96% / 72% 1px no-repeat,
    radial-gradient(ellipse at 50% 100%, rgba(214, 40, 40, 0.22), transparent 24rem),
    radial-gradient(ellipse at 50% 88%, rgba(255, 255, 255, 0.92), transparent 48rem);
  filter: blur(0.2px);
  inset: 0;
  opacity: 0.95;
}

.site-footer::after {
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.78), transparent 42%) 0 100% / 100% 32% no-repeat,
    radial-gradient(ellipse at 50% 102%, rgba(218, 218, 218, 0.92), rgba(218, 218, 218, 0) 42%);
  inset: 0;
}

.footer-ambient {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.footer-depth-image {
  filter: saturate(0.92) contrast(0.96) brightness(1.08);
  height: 112%;
  inset: auto -4% -9%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.56;
  position: absolute;
  width: 108%;
}

.footer-ambient::after {
  background:
    linear-gradient(180deg, rgba(248, 248, 248, 0.22) 0%, rgba(248, 248, 248, 0.14) 42%, rgba(248, 248, 248, 0.08) 100%),
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.18), transparent 32rem);
  content: "";
  inset: 0;
  position: absolute;
}

.footer-smoke {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.footer-smoke-cloud,
.footer-smoke-ground {
  pointer-events: none;
  position: absolute;
  will-change: transform, opacity;
}

.footer-smoke-cloud {
  background:
    radial-gradient(ellipse at 16% 52%, rgba(255, 255, 255, 0.9), transparent 44%),
    radial-gradient(ellipse at 46% 44%, rgba(244, 244, 244, 0.72), transparent 48%),
    radial-gradient(ellipse at 78% 56%, rgba(255, 255, 255, 0.86), transparent 46%);
  border-radius: 999px;
  filter: blur(var(--smoke-blur, 40px));
  height: var(--smoke-height, 60%);
  left: var(--smoke-left, -16%);
  opacity: var(--smoke-opacity, 0.6);
  top: var(--smoke-top, 34%);
  width: var(--smoke-width, 134%);
}

.footer-smoke-back {
  --smoke-blur: 56px;
  --smoke-opacity: 0.52;
  --smoke-top: 20%;
  --smoke-height: 72%;
  --smoke-width: 150%;
  animation: footerSmokeDrift 30s ease-in-out infinite alternate;
}

.footer-smoke-mid {
  --smoke-blur: 40px;
  --smoke-opacity: 0.64;
  --smoke-left: -12%;
  --smoke-top: 40%;
  --smoke-height: 64%;
  --smoke-width: 140%;
  animation: footerSmokeDrift 22s ease-in-out infinite alternate-reverse;
}

.footer-smoke-front {
  --smoke-blur: 28px;
  --smoke-opacity: 0.72;
  --smoke-left: -8%;
  --smoke-top: 54%;
  --smoke-height: 60%;
  --smoke-width: 132%;
  animation: footerSmokeDrift 16s ease-in-out infinite alternate;
}

.footer-smoke-ground {
  background:
    radial-gradient(ellipse at 10% 56%, rgba(255, 255, 255, 0.92), transparent 40%),
    radial-gradient(ellipse at 38% 46%, rgba(240, 240, 240, 0.76), transparent 38%),
    radial-gradient(ellipse at 66% 56%, rgba(255, 255, 255, 0.88), transparent 40%),
    radial-gradient(ellipse at 88% 48%, rgba(255, 255, 255, 0.82), transparent 38%);
  bottom: -8%;
  filter: blur(22px);
  height: 48%;
  left: -16%;
  opacity: 0.78;
  right: -16%;
  animation: footerSmokeGround 8s linear infinite;
}

@keyframes footerSmokeDrift {
  0% {
    transform: translate3d(-4%, 1%, 0) scale(1.02);
  }
  100% {
    transform: translate3d(6%, -3%, 0) scale(1.14);
  }
}

@keyframes footerSmokeGround {
  0% {
    transform: translateX(-6%);
    opacity: 0.58;
  }
  50% {
    opacity: 0.86;
  }
  100% {
    transform: translateX(6%);
    opacity: 0.58;
  }
}

.footer-ghost {
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.22) 0%, rgba(13, 13, 13, 0.18) 40%, rgba(13, 13, 13, 0.08) 72%, rgba(13, 13, 13, 0.025) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Space Grotesk", "JetBrains Mono", sans-serif;
  font-size: clamp(5.2rem, 16vw, 18.2rem);
  font-weight: 700;
  left: 50%;
  letter-spacing: 0;
  line-height: 0.78;
  mix-blend-mode: multiply;
  opacity: 1;
  pointer-events: none;
  position: absolute;
  text-transform: uppercase;
  top: clamp(5.2rem, 9.5vh, 7.2rem);
  transform: translateX(-50%) scaleX(0.92) scaleY(1.22);
  transform-origin: 50% 100%;
  white-space: nowrap;
  width: max-content;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, rgba(0, 0, 0, 0.44) 76%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 42%, rgba(0, 0, 0, 0.44) 76%, transparent 100%);
  z-index: 3;
}

.footer-orbit {
  border: 1px solid rgba(214, 40, 40, 0.14);
  border-radius: 50%;
  bottom: -19rem;
  box-shadow: 0 0 28px rgba(214, 40, 40, 0.12);
  height: 34rem;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) scaleY(0.2);
  width: min(86vw, 82rem);
  z-index: 4;
}

.footer-orbit-b {
  bottom: -15rem;
  opacity: 0.5;
  width: min(62vw, 58rem);
}

.footer-shell {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: calc(86svh - clamp(4.2rem, 6vw, 5.8rem));
  position: relative;
  z-index: 2;
}

.footer-topline {
  align-items: center;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: auto 1fr 8rem 2.5rem;
  margin-bottom: 1rem;
}

.footer-topline span {
  color: #d62828;
  font-size: 1rem;
  font-weight: 700;
}

.footer-topline i,
.footer-topline strong,
.footer-topline em {
  background: rgba(10, 10, 10, 0.16);
  display: block;
  height: 1px;
}

.footer-topline strong {
  background: linear-gradient(90deg, #d62828, rgba(214, 40, 40, 0.05));
}

.footer-topline em {
  background:
    linear-gradient(90deg, #d62828 0 22%, transparent 22% 36%, rgba(10, 10, 10, 0.22) 36% 46%, transparent 46% 60%, rgba(10, 10, 10, 0.22) 60% 72%, transparent 72%);
}

.footer-system-label {
  align-items: center;
  color: #111;
  display: flex;
  gap: 1rem;
  font-size: clamp(0.72rem, 0.95vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  margin: 0;
  text-transform: uppercase;
}

.footer-system-label span {
  color: #d62828;
}

.footer-main {
  align-self: center;
  display: grid;
  gap: clamp(1.2rem, 2.6vw, 2.4rem);
  grid-template-columns: 1.25fr 0.9fr 1.35fr 1.35fr;
  margin: clamp(3.2rem, 8vw, 7rem) 0 clamp(2.2rem, 5vw, 4rem);
}

.footer-brand,
.footer-nav,
.footer-connect,
.footer-updates {
  border-left: 1px solid rgba(20, 20, 20, 0.1);
  min-height: 17rem;
  padding-left: clamp(1.2rem, 2vw, 1.8rem);
  position: relative;
}

.footer-brand::before,
.footer-nav::before,
.footer-connect::before,
.footer-updates::before {
  color: #d62828;
  content: "+";
  font-weight: 700;
  left: -0.18rem;
  position: absolute;
  top: -0.35rem;
}

.footer-logo {
  color: #111;
  display: inline-flex;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1;
  margin: 1.1rem 0 1rem;
  text-decoration: none;
}

.footer-logo strong {
  color: #d62828;
  font-weight: 700;
}

.footer-tagline {
  color: rgba(17, 17, 17, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  margin: 0 0 1.8rem;
  text-transform: uppercase;
}

.footer-brand p:not(.footer-tagline),
.footer-updates p {
  color: rgba(17, 17, 17, 0.7);
  font-size: clamp(0.72rem, 0.95vw, 0.86rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.9;
  margin: 0;
  max-width: 23rem;
}

.footer-status {
  align-items: center;
  border: 1px solid rgba(20, 20, 20, 0.1);
  display: flex;
  gap: 1rem;
  margin-top: 2.4rem;
  max-width: 20rem;
  padding: 0.75rem 1rem;
  position: relative;
}

.footer-status::before,
.footer-status::after {
  border-color: #111;
  border-style: solid;
  content: "";
  height: 0.35rem;
  position: absolute;
  width: 0.35rem;
}

.footer-status::before {
  border-width: 1px 0 0 1px;
  left: -1px;
  top: -1px;
}

.footer-status::after {
  border-width: 0 1px 1px 0;
  bottom: -1px;
  right: -1px;
}

.footer-status-core {
  background: #d62828;
  border-radius: 50%;
  box-shadow:
    0 0 0 5px rgba(214, 40, 40, 0.08),
    0 0 18px rgba(214, 40, 40, 0.75);
  flex: 0 0 auto;
  height: 0.68rem;
  width: 0.68rem;
  animation: footerStatusPulse 1.8s ease-in-out infinite;
}

.footer-status small,
.footer-status strong {
  display: block;
  text-transform: uppercase;
}

.footer-status small {
  color: rgba(17, 17, 17, 0.44);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 0.28rem;
}

.footer-status strong {
  color: #d62828;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}

.footer-nav h2,
.footer-connect h2,
.footer-updates h2 {
  border-bottom: 1px solid rgba(20, 20, 20, 0.16);
  color: #111;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  margin: 0 0 1.15rem;
  padding: 0 0 0.9rem;
  position: relative;
  text-transform: uppercase;
}

.footer-nav h2::after,
.footer-connect h2::after,
.footer-updates h2::after {
  background: #d62828;
  bottom: -1px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  width: 5.8rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
}

.footer-nav a {
  color: rgba(17, 17, 17, 0.82);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  padding: 0.55rem 0;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.footer-nav a::before {
  color: #d62828;
  content: ">";
  margin-right: 1.6rem;
}

.footer-nav a:hover {
  color: #d62828;
  transform: translateX(4px);
}

.footer-socials {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 4.1rem);
  margin: 1.6rem 0 2.2rem;
}

.footer-socials a {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(235, 235, 235, 0.62));
  border: 1px solid rgba(20, 20, 20, 0.12);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.8),
    0 12px 28px rgba(20, 20, 20, 0.08);
  color: #d62828;
  display: grid;
  font-size: 1rem;
  font-weight: 700;
  height: 4rem;
  justify-items: center;
  letter-spacing: 0;
  place-items: center;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.footer-socials a:hover {
  border-color: rgba(214, 40, 40, 0.5);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.92),
    0 16px 36px rgba(214, 40, 40, 0.14);
  transform: translateY(-3px);
}

.footer-socials svg {
  display: block;
  fill: currentColor;
  height: 1.45rem;
  stroke: none;
  width: 1.45rem;
}

.footer-socials a[aria-label="Email"] svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.footer-project-link {
  align-items: center;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(20, 20, 20, 0.12);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.85),
    0 18px 46px rgba(20, 20, 20, 0.08);
  color: #111;
  display: flex;
  font-size: 0.82rem;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.24em;
  max-width: 23rem;
  padding: 1.4rem 1.6rem;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-project-link::before,
.footer-project-link::after {
  border-color: #d62828;
  border-style: solid;
  content: "";
  height: 0.55rem;
  position: absolute;
  width: 0.55rem;
}

.footer-project-link::before {
  border-width: 1px 0 0 1px;
  left: -1px;
  top: -1px;
}

.footer-project-link::after {
  border-width: 0 1px 1px 0;
  bottom: -1px;
  right: -1px;
}

.footer-project-link strong {
  color: #d62828;
  font-size: 1.5rem;
}

.footer-email {
  color: #d62828;
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-top: 1rem;
  text-decoration: none;
}

.footer-subscribe {
  display: grid;
  grid-template-columns: 1fr 3.6rem;
  margin-top: 2.6rem;
  max-width: 27rem;
}

.footer-subscribe input,
.footer-subscribe button {
  border: 1px solid rgba(20, 20, 20, 0.15);
  font-family: inherit;
  min-height: 3.4rem;
}

.footer-subscribe input {
  background: rgba(255, 255, 255, 0.46);
  border-right: 0;
  color: #111;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  outline: none;
  padding: 0 1.1rem;
}

.footer-subscribe input::placeholder {
  color: rgba(17, 17, 17, 0.48);
}

.footer-subscribe button {
  background: linear-gradient(135deg, #d62828, #9e1118);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-bottom {
  align-items: center;
  border-bottom: 1px solid rgba(214, 40, 40, 0.46);
  border-top: 1px solid rgba(20, 20, 20, 0.12);
  display: flex;
  justify-content: space-between;
  padding: 1rem 0 1.15rem;
  position: relative;
}

.footer-bottom::before,
.footer-bottom::after {
  background: #d62828;
  bottom: -2px;
  content: "";
  height: 3px;
  position: absolute;
  width: 0.65rem;
}

.footer-bottom::before {
  left: 0;
}

.footer-bottom::after {
  right: 0;
}

.footer-bottom p,
.footer-bottom a,
.footer-bottom span {
  color: rgba(17, 17, 17, 0.78);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-bottom p a {
  color: #d62828;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.footer-bottom div {
  display: flex;
  gap: 1.4rem;
}

.footer-bottom div a:hover {
  color: #d62828;
}

@keyframes footerStatusPulse {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(0.82);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1180px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-footer {
    min-height: auto;
    padding: 2rem 1rem 1.4rem;
  }

  .footer-depth-image {
    height: 100%;
    inset: auto -52% -1%;
    object-position: 58% bottom;
    opacity: 0.46;
    width: 190%;
  }

  .footer-shell {
    min-height: auto;
  }

  .footer-topline {
    grid-template-columns: auto 1fr 4rem 1.8rem;
  }

  .footer-ghost {
    font-size: clamp(3.2rem, 14.5vw, 6.2rem);
    top: 4.9rem;
    transform: translateX(-50%) scaleX(0.88) scaleY(1.12);
  }

  .footer-main {
    gap: 2rem;
    grid-template-columns: 1fr;
    margin: 3.2rem 0 2rem;
  }

  .footer-brand,
  .footer-nav,
  .footer-connect,
  .footer-updates {
    min-height: auto;
    padding-left: 1.1rem;
  }

  .footer-socials {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-socials a {
    height: 3.5rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-bottom div {
    flex-wrap: wrap;
    gap: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-status-core,
  .footer-smoke-back,
  .footer-smoke-mid,
  .footer-smoke-front,
  .footer-smoke-ground {
    animation: none;
  }
}

@keyframes dimensionArrival {
  from {
    filter: blur(12px) brightness(1.8);
    opacity: 0;
    transform: scale(1.08);
  }

  52% {
    filter: blur(2px) brightness(1.16);
    opacity: 1;
  }

  to {
    filter: blur(0) brightness(1);
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  .hero-bg-only {
    --hero-bg-end-position: center bottom;
    --hero-bg-end-size: cover;
    --hero-bg-start-position: center calc(100% + 28px);
    --hero-bg-start-size: auto 106%;
  }

  .hero-character-stage {
    --hero-character-x: -47%;
    --hero-character-width: min(52vw, 430px);
    bottom: 2svh;
    height: 72svh;
  }

  .hero-character-effects {
    inset: 0;
  }

  .hero-header {
    padding: 1rem 1.3rem 0;
  }

  .hero-header::before,
  .hero-header::after {
    height: 28px;
    width: 58px;
  }

  .hero-enter-line {
    flex-basis: 30px;
  }

  .hero-title-block {
    top: clamp(4.6rem, 8.4vh, 6rem);
    width: min(88vw, 980px);
  }

  .hero-title-image {
    margin-top: clamp(-4.5rem, -7vw, -2.8rem);
    max-height: none;
    width: 100%;
  }

  .hero-identity {
    left: clamp(2.4rem, 7vw, 4.5rem);
    padding: 0;
    top: clamp(13.5rem, 26vh, 17rem);
  }

  .hero-identity-name {
    font-size: clamp(1.18rem, 3vw, 1.7rem);
    gap: clamp(0.86rem, 1.7vw, 1.35rem);
    letter-spacing: 0.24em;
    margin-bottom: 0.92rem;
  }

  .hero-identity-role {
    font-size: clamp(0.58rem, 1.12vw, 0.76rem);
    letter-spacing: 0.16em;
    margin-bottom: clamp(1.7rem, 3.2vh, 2.45rem);
  }

  .hero-identity-copy {
    font-size: clamp(0.62rem, 1.08vw, 0.78rem);
    letter-spacing: 0.22em;
    line-height: 2.05;
    margin-bottom: clamp(1.8rem, 3.6vh, 2.6rem);
    max-width: 280px;
  }

  .hero-identity-copy::before {
    margin-bottom: 0.9rem;
  }

  .hero-identity-copy::after {
    display: none;
  }

  .hero-quote {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    box-shadow: none;
    bottom: 8.8rem;
    max-width: 250px;
    padding: 0;
    right: clamp(1.2rem, 4vw, 2.4rem);
  }

  .hero-quote-mark {
    font-size: 3.6rem;
    margin-bottom: 1.25rem;
  }

  .hero-quote p {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    line-height: 1.85;
    margin-bottom: 0;
  }

  .hero-dock {
    column-gap: clamp(0.9rem, 2.5vw, 1.8rem);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: 48px 34px;
    height: 118px;
    overflow: visible;
    padding: 8px clamp(1.1rem, 3.4vw, 2.2rem) 10px;
    row-gap: 0.38rem;
  }

  .dock-item {
    font-size: clamp(0.5rem, 1.15vw, 0.68rem);
    gap: 0.46rem;
    justify-content: center;
    letter-spacing: 0.18em;
    min-height: 32px;
  }

  .dock-emblem {
    grid-column: 2 / span 2;
    grid-row: 1;
    margin: 0;
  }

  .dock-emblem::before,
  .dock-emblem::after {
    align-items: center;
    color: #d62828;
    content: "+";
    display: flex;
    font-size: 0.9rem;
    font-weight: 800;
    height: 1px;
    line-height: 1;
    position: absolute;
    text-shadow: 0 0 10px rgba(214, 40, 40, 0.42);
    top: 50%;
    width: clamp(72px, 14vw, 128px);
  }

  .dock-emblem::before {
    background: linear-gradient(90deg, rgba(214, 40, 40, 0), rgba(214, 40, 40, 0.62));
    justify-content: flex-start;
    right: calc(100% + 0.9rem);
  }

  .dock-emblem::after {
    background: linear-gradient(90deg, rgba(214, 40, 40, 0.62), rgba(214, 40, 40, 0));
    justify-content: flex-end;
    left: calc(100% + 0.9rem);
  }

  .dock-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .dock-item:nth-child(2) {
    grid-column: 4;
    grid-row: 1;
  }

  .dock-item:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
  }

  .dock-item:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
  }

  .dock-item:nth-child(6) {
    grid-column: 3;
    grid-row: 2;
  }

  .dock-item:nth-child(7) {
    grid-column: 4;
    grid-row: 2;
  }
}

@media (max-width: 760px) {
  .hero-bg-only {
    --hero-bg-start-size: auto 104%;
  }

  .loader-emblem {
    height: clamp(96px, 24vw, 132px);
    width: clamp(96px, 24vw, 132px);
  }

  .loader-title {
    --loader-title-offset: -10vh;
    font-size: clamp(4rem, 18vw, 8.8rem);
  }

  .loader-status {
    gap: 0.58rem;
    margin-top: clamp(2.6rem, 5vh, 3.6rem);
  }

  .hero-title-block {
    top: clamp(4.4rem, 8vh, 5.4rem);
    width: 90vw;
  }

  .hero-title-image {
    margin-top: clamp(-3.6rem, -6vw, -2.2rem);
  }

  .hero-character-stage {
    --hero-character-x: -48%;
    --hero-character-width: min(58vw, 360px);
    height: 68svh;
    left: 54%;
  }

  .hero-character-effects {
    inset: 0;
  }

  .hero-identity {
    left: clamp(2rem, 7vw, 3.8rem);
    top: clamp(13.5rem, 28vh, 17rem);
  }

  .hero-identity-copy {
    max-width: 270px;
  }

  .hero-quote {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero-bg-only {
    --hero-bg-end-position: center bottom;
    --hero-bg-start-size: auto 103%;
  }

  .hero-bg-only::after {
    height: 190px;
  }

  .loader-core {
    transform: translateY(4vh);
    width: 90vw;
  }

  .loader-kicker,
  .loader-status {
    letter-spacing: 0.18em;
  }

  .loader-title {
    --loader-title-offset: -8vh;
    font-size: clamp(3.2rem, 18vw, 6.2rem);
  }

  .hero-brand {
    gap: 0.58rem;
  }

  .hero-brand-logo {
    height: 32px;
    width: 32px;
  }

  .hero-brand-name {
    display: none;
  }

  .hero-brand-mark,
  .hero-enter-link {
    font-size: 0.58rem;
    letter-spacing: 0.24em;
  }

  .hero-enter-link {
    gap: 0.5rem;
  }

  .hero-enter-line {
    flex-basis: 22px;
  }

  .hero-title-block {
    top: 6.15rem;
    width: 100vw;
  }

  .hero-kicker {
    font-size: 0.58rem;
    gap: 0.42rem;
    letter-spacing: 0.22em;
    margin: 0;
  }

  .hero-kicker::after {
    width: 28px;
  }

  .hero-title {
    font-size: clamp(4.4rem, 20vw, 6.5rem);
  }

  .hero-title-image {
    margin-top: -2.35rem;
    max-height: none;
    max-width: 78vw;
    transform: none;
    width: 100%;
  }

  .hero-identity {
    background: transparent;
    border-left: 0;
    left: 1rem;
    padding: 0;
    top: 48svh;
    transform: none;
    width: min(60vw, 230px);
  }

  .hero-identity::before {
    color: #d62828;
    content: "+";
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.72rem;
    text-shadow: 0 0 10px rgba(214, 40, 40, 0.36);
  }

  .hero-identity-name {
    display: block;
    font-size: clamp(0.9rem, 4.6vw, 1.15rem);
    letter-spacing: 0.16em;
    line-height: 1.35;
    margin-bottom: 0.42rem;
  }

  .hero-identity-role {
    font-size: clamp(0.46rem, 2vw, 0.58rem);
    letter-spacing: 0.1em;
    line-height: 1.45;
    margin-bottom: 0.9rem;
    white-space: normal;
  }

  .hero-identity-copy {
    display: none;
  }

  .hero-identity-copy::before {
    margin-bottom: 0.65rem;
  }

  .hero-identity .hero-portfolio-link {
    display: inline-flex;
  }

  .hero-quote {
    bottom: 5.2rem;
    max-width: 190px;
    right: 0.75rem;
  }

  .hero-quote-mark {
    font-size: 2.8rem;
    margin-bottom: 0.9rem;
  }

  .hero-quote p {
    font-size: 0.5rem;
    letter-spacing: 0.1em;
    line-height: 1.75;
    margin-bottom: 0.85rem;
  }

  .hero-quote-accent {
    gap: 0.7rem;
    margin-top: 0.75rem;
  }

  .hero-quote-accent::after {
    width: 38px;
  }

  .hero-character-stage {
    --hero-character-x: -52%;
    --hero-character-width: 58vw;
    bottom: 3svh;
    height: 58svh;
    left: 58%;
  }

  .hero-character-effects {
    inset: 0;
  }

  .hero-dock {
    background:
      linear-gradient(to bottom, rgba(18, 16, 18, 0.34), rgba(5, 5, 7, 0.68) 62%, rgba(0, 0, 0, 0.74));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 -12px 28px rgba(0, 0, 0, 0.28);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 50px;
    height: 60px;
    justify-items: center;
    left: 0;
    padding: 5px 0;
    right: 0;
    row-gap: 0;
    transform: none;
    width: 100%;
  }

  .hero-dock::before,
  .hero-dock::after {
    display: none;
  }

  .dock-item {
    display: none;
  }

  .dock-number {
    letter-spacing: 0.08em;
  }

  .dock-label {
    letter-spacing: 0.14em;
  }

  .dock-emblem {
    grid-column: 1;
    grid-row: 1;
    height: 52px;
    margin: 0;
    width: 52px;
  }

  .dock-emblem::before,
  .dock-emblem::after {
    align-items: center;
    color: #d62828;
    content: "+";
    display: flex;
    font-size: 0.92rem;
    font-weight: 800;
    height: 1px;
    line-height: 1;
    position: absolute;
    text-shadow: 0 0 10px rgba(214, 40, 40, 0.42);
    top: 50%;
    width: clamp(40px, 14vw, 58px);
  }

  .dock-emblem::before {
    background: linear-gradient(90deg, rgba(214, 40, 40, 0), rgba(214, 40, 40, 0.62));
    justify-content: flex-start;
    right: calc(100% + 0.62rem);
  }

  .dock-emblem::after {
    background: linear-gradient(90deg, rgba(214, 40, 40, 0.62), rgba(214, 40, 40, 0));
    justify-content: flex-end;
    left: calc(100% + 0.62rem);
  }

  .dock-emblem svg {
    height: 52px;
    width: 52px;
  }
}

@media (max-width: 390px) {
  .hero-title-block {
    top: 5.85rem;
    width: 100vw;
  }

  .hero-title-image {
    max-width: 76vw;
  }

  .hero-kicker {
    font-size: 0.52rem;
    letter-spacing: 0.16em;
  }

  .hero-identity {
    top: 48svh;
    width: min(64vw, 214px);
  }

  .hero-identity-role {
    letter-spacing: 0.09em;
  }

  .hero-character-stage {
    --hero-character-width: 62vw;
    height: 56svh;
    left: 60%;
  }

  .hero-character-effects {
    inset: 0;
  }

  .dock-item {
    font-size: 0.5rem;
    letter-spacing: 0.12em;
  }
}

@media (max-height: 580px) {
  .hero-character-stage {
    height: 58svh !important;
  }
  .hero-character-effects {
    inset: 0;
  }
  .hero-title-block {
    top: clamp(2.8rem, 6vh, 4rem) !important;
  }
  .hero-kicker {
    margin: 0 !important;
  }
  .hero-title-image {
    margin-top: clamp(-3rem, -6vw, -1.5rem) !important;
  }
  .hero-identity {
    top: 28svh !important;
  }
  .hero-quote {
    bottom: 4.8rem !important;
  }
  .hero-dock {
    height: 60px !important;
  }
}
