@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/orbitron-400.woff2") format("woff2");
}
@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/orbitron-500.woff2") format("woff2");
}
@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/orbitron-600.woff2") format("woff2");
}
@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/orbitron-700.woff2") format("woff2");
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/rajdhani-400.woff2") format("woff2");
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/rajdhani-500.woff2") format("woff2");
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/rajdhani-600.woff2") format("woff2");
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/rajdhani-700.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --ink: #01040c;
  --navy: #020817;
  --panel: rgba(4, 14, 32, 0.62);
  --panel-border: rgba(0, 220, 255, 0.22);
  --cyan: #00dcff;
  --cyan-soft: #7af0ff;
  --blue: #0078ff;
  --text: #f2f8ff;
  --muted: rgba(210, 230, 245, 0.72);
  --font-display: "Orbitron", sans-serif;
  --font-body: "Rajdhani", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.5;
}

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

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

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

/* —— Atmospheric scene —— */
.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(0, 90, 180, 0.22), transparent 60%),
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(0, 180, 255, 0.12), transparent 55%),
    linear-gradient(180deg, #020617 0%, #01040c 55%, #00060f 100%);
}

.scene-fog {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 42%, rgba(0, 140, 255, 0.12), transparent 28%),
    radial-gradient(circle at 82% 40%, rgba(0, 220, 255, 0.1), transparent 30%),
    radial-gradient(circle at 50% 18%, rgba(0, 100, 220, 0.16), transparent 36%);
  animation: fog-drift 18s ease-in-out infinite alternate;
}

.scene-racks {
  position: absolute;
  top: 8%;
  bottom: 28%;
  width: min(28vw, 360px);
  opacity: 0.35;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(0, 180, 255, 0.08) 0 2px,
      transparent 2px 18px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(8, 20, 42, 0.9) 0 42%,
      rgba(0, 180, 255, 0.05) 42% 44%,
      rgba(8, 20, 42, 0.9) 44% 100%
    );
  filter: blur(1.2px);
  mask-image: linear-gradient(90deg, black, transparent);
  -webkit-mask-image: linear-gradient(90deg, black, transparent);
}

.scene-racks::before {
  content: "";
  position: absolute;
  inset: 8% 18%;
  background-image: radial-gradient(circle, rgba(0, 220, 255, 0.55) 0 1px, transparent 1.5px);
  background-size: 14px 22px;
  opacity: 0.55;
  animation: rack-pulse 3.6s ease-in-out infinite;
}

.scene-racks-left {
  left: 0;
  transform: perspective(900px) rotateY(28deg) scale(1.05);
  transform-origin: left center;
}

.scene-racks-right {
  right: 0;
  transform: perspective(900px) rotateY(-28deg) scale(1.05);
  transform-origin: right center;
  mask-image: linear-gradient(270deg, black, transparent);
  -webkit-mask-image: linear-gradient(270deg, black, transparent);
}

.scene-network {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 220, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 220, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 40%, black 10%, transparent 68%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black 10%, transparent 68%);
  opacity: 0.45;
}

.scene-network::after {
  content: "";
  position: absolute;
  inset: 12% 8% 30%;
  background:
    radial-gradient(circle at 22% 38%, var(--cyan) 0 1.5px, transparent 2px),
    radial-gradient(circle at 48% 22%, var(--cyan) 0 1.5px, transparent 2px),
    radial-gradient(circle at 71% 44%, var(--cyan) 0 1.5px, transparent 2px),
    radial-gradient(circle at 36% 62%, rgba(0, 180, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 63% 68%, rgba(0, 180, 255, 0.8) 0 1px, transparent 2px);
  opacity: 0.7;
}

.scene-terrain {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -8%;
  height: 42%;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 220, 255, 0.18), transparent 55%),
    repeating-linear-gradient(
      90deg,
      transparent 0 28px,
      rgba(0, 220, 255, 0.08) 28px 29px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 28px,
      rgba(0, 180, 255, 0.07) 28px 29px
    );
  transform: perspective(500px) rotateX(62deg);
  transform-origin: center top;
  mask-image: linear-gradient(180deg, black, transparent 88%);
  -webkit-mask-image: linear-gradient(180deg, black, transparent 88%);
  animation: terrain-shimmer 10s linear infinite;
}

.scene-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, transparent 28%, rgba(0, 2, 10, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 4, 14, 0.45), transparent 18%, transparent 72%, rgba(0, 2, 8, 0.9));
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.1rem 0.85rem 0.85rem;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, rgba(1, 6, 16, 0.92), rgba(1, 6, 16, 0.72));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 220, 255, 0.45));
}

.brand-name {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
}

.brand-name .accent,
.hero-kicker .accent,
.accent {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(0, 220, 255, 0.45);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 1.35rem;
}

.site-nav a {
  position: relative;
  padding: 0.35rem 0;
  color: rgba(230, 245, 255, 0.78);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 220, 255, 0.8);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--cyan-soft);
}

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

.nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(0, 220, 255, 0.4);
  border-radius: 10px;
  background: rgba(2, 12, 28, 0.85);
  box-shadow: 0 0 16px rgba(0, 180, 255, 0.18);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 220, 255, 0.5);
}

/* —— Main —— */
.splash {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(1rem, 3vw, 2.5rem) 0 1.5rem;
}

.hero-emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: min(300px, 72vw);
  aspect-ratio: 1;
  margin-bottom: 0.35rem;
  overflow: visible;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(240px, 58vw);
  height: auto;
  object-fit: contain;
  overflow: visible;
  filter: drop-shadow(0 0 28px rgba(0, 200, 255, 0.45));
  animation: logo-breathe 4.8s ease-in-out infinite;
}

.hero-orbit {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(0, 220, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(0, 180, 255, 0.08) inset;
}

.hero-orbit-a {
  inset: 2%;
  border-style: dashed;
  opacity: 0.55;
  animation: orbit-spin 28s linear infinite;
}

.hero-orbit-b {
  inset: 12%;
  border-color: rgba(0, 180, 255, 0.18);
  animation: orbit-spin 40s linear infinite reverse;
}

.hero-orbit-c {
  inset: 22%;
  border-style: dotted;
  opacity: 0.7;
}

.hero-kicker {
  margin: 0.6rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.2vw, 2.85rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-shadow: 0 0 28px rgba(0, 180, 255, 0.2);
}

.glow-rule {
  position: relative;
  display: block;
  width: min(100%, 420px);
  height: 1px;
  margin: 0 auto 0.85rem;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 220, 255, 0.15) 18%,
    rgba(0, 220, 255, 0.7) 50%,
    rgba(0, 220, 255, 0.15) 82%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(0, 220, 255, 0.25);
}

.glow-rule-wide {
  width: min(100%, 920px);
  margin-top: 1.15rem;
  margin-bottom: 0;
}

.glow-rule i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e9fdff;
  box-shadow:
    0 0 6px 2px rgba(0, 240, 255, 0.95),
    0 0 18px 6px rgba(0, 180, 255, 0.55),
    0 0 36px 10px rgba(0, 120, 255, 0.28);
  transform: translate(-50%, -50%);
}

.hero-tagline {
  margin: 0 0 1.1rem;
  color: rgba(180, 230, 255, 0.78);
  font-family: var(--font-display);
  font-size: clamp(0.62rem, 1.5vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
}

.hero-headline {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.6vw + 0.55rem, 2.55rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.hero-headline-text {
  display: inline-block;
  white-space: nowrap;
}

.hero-headline .accent {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(0, 220, 255, 0.35);
}

.hero-copy {
  max-width: 42rem;
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.1vw, 1.18rem);
  font-weight: 500;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.btn svg {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.btn .icon-folder {
  width: 1.15rem;
  height: 1.15rem;
}

.btn-primary {
  border: 1px solid rgba(0, 240, 255, 0.65);
  background: linear-gradient(135deg, #00e8ff 0%, #00b8ff 55%, #0088ff 100%);
  color: #021018;
  box-shadow:
    0 0 24px rgba(0, 220, 255, 0.35),
    0 10px 28px rgba(0, 80, 160, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    0 0 34px rgba(0, 220, 255, 0.5),
    0 12px 32px rgba(0, 80, 160, 0.4);
}

.btn-ghost {
  border: 1px solid rgba(0, 220, 255, 0.45);
  background: rgba(2, 14, 32, 0.45);
  color: var(--text);
  box-shadow: 0 0 18px rgba(0, 140, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan-soft);
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(0, 220, 255, 0.22);
}

.hero-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: min(100%, 640px);
  margin: 0.15rem 0 0;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-shadow: 0 0 14px rgba(0, 220, 255, 0.45);
}

.hero-status-text {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  white-space: nowrap;
  text-indent: 0.28em;
}

.hero-status .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow:
    0 0 6px rgba(0, 240, 255, 0.95),
    0 0 14px rgba(0, 180, 255, 0.55);
  text-indent: 0;
}

.hero-status-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 220, 255, 0.65),
    transparent
  );
  box-shadow: 0 0 10px rgba(0, 220, 255, 0.35);
}

/* —— Feature links —— */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  min-height: 168px;
  padding: 1.2rem 1.15rem 1.1rem;
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(6, 24, 48, 0.72), rgba(2, 10, 24, 0.55));
  box-shadow:
    0 0 0 1px rgba(0, 120, 255, 0.05) inset,
    0 14px 36px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.feature-card:has(.feature-arrow:hover),
.feature-card:has(.feature-arrow:focus-visible) {
  border-color: rgba(0, 230, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(0, 220, 255, 0.1) inset,
    0 0 28px rgba(0, 180, 255, 0.18),
    0 18px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.25rem;
  color: var(--cyan);
  filter: drop-shadow(0 0 8px rgba(0, 220, 255, 0.35));
}

.feature-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.feature-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.4;
}

.feature-arrow {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  margin-top: auto;
  margin-left: auto;
  border: 1px solid rgba(0, 220, 255, 0.35);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 0.85rem;
  line-height: 1;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.feature-arrow:hover,
.feature-arrow:focus-visible {
  transform: translateX(2px);
  border-color: var(--cyan);
  background: rgba(0, 220, 255, 0.12);
  box-shadow: 0 0 14px rgba(0, 220, 255, 0.3);
  outline: none;
}

/* —— Projects index —— */
.page-hero {
  padding-bottom: 0.35rem;
}

.page-title {
  display: inline-block;
  max-width: 14em;
  white-space: normal;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.35rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.7rem 0.7rem 1.05rem;
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(6, 24, 48, 0.72), rgba(2, 10, 24, 0.55));
  box-shadow:
    0 0 0 1px rgba(0, 120, 255, 0.05) inset,
    0 14px 36px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.project-card:hover,
.project-card:focus-visible {
  border-color: rgba(0, 230, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(0, 220, 255, 0.1) inset,
    0 0 28px rgba(0, 180, 255, 0.18),
    0 18px 40px rgba(0, 0, 0, 0.4);
  outline: none;
}

.project-preview {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: #050814;
}

.project-kicker {
  margin: 0.45rem 0 0;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.project-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.4;
}

/* —— Footer —— */
.site-footer {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 2rem auto 1.5rem;
  color: rgba(170, 205, 230, 0.55);
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.footer-rule {
  width: 100%;
  margin: 0 0 1.15rem;
}

.footer-rows {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
}

.site-footer .footer-rows > p:last-child {
  text-align: right;
}

.footer-center {
  text-align: center;
}

/* —— Loader & reveal —— */
.page-loader {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: none;
  place-items: center;
  background: #01040c;
  transition:
    opacity 0.65s ease,
    visibility 0.65s ease;
}

.js .page-loader {
  display: grid;
}

.loader-mark {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(0, 220, 255, 0.45));
  animation: loader-pulse 1.4s ease-in-out infinite;
}

.js .site-header,
.js .hero > *,
.js .feature-card,
.js .project-card,
.js .site-footer {
  opacity: 0;
  transform: translateY(14px);
}

.is-ready .page-loader {
  opacity: 0;
  visibility: hidden;
}

.is-ready .site-header,
.is-ready .hero > *,
.is-ready .feature-card,
.is-ready .project-card,
.is-ready .site-footer {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.8s ease,
    transform 0.9s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.is-ready .site-header {
  transition-delay: 0.05s;
}

.is-ready .hero-emblem {
  transition-delay: 0.12s;
}

.is-ready .hero-kicker {
  transition-delay: 0.18s;
}

.is-ready .glow-rule {
  transition-delay: 0.2s;
}

.is-ready .hero-tagline {
  transition-delay: 0.24s;
}

.is-ready .hero-headline {
  transition-delay: 0.28s;
}

.is-ready .hero-copy {
  transition-delay: 0.34s;
}

.is-ready .hero-actions {
  transition-delay: 0.4s;
}

.is-ready .hero-status {
  transition-delay: 0.46s;
}

.is-ready .feature-card:nth-child(1) {
  transition-delay: 0.5s;
}

.is-ready .feature-card:nth-child(2) {
  transition-delay: 0.56s;
}

.is-ready .feature-card:nth-child(3) {
  transition-delay: 0.62s;
}

.is-ready .feature-card:nth-child(4) {
  transition-delay: 0.68s;
}

.is-ready .project-card:nth-child(1) {
  transition-delay: 0.42s;
}

.is-ready .project-card:nth-child(2) {
  transition-delay: 0.5s;
}

.is-ready .project-card:nth-child(3) {
  transition-delay: 0.58s;
}

.is-ready .site-footer {
  transition-delay: 0.74s;
}

@keyframes loader-pulse {
  0%,
  100% {
    transform: scale(0.94);
    filter: drop-shadow(0 0 12px rgba(0, 220, 255, 0.3)) brightness(0.9);
  }
  50% {
    transform: scale(1.04);
    filter: drop-shadow(0 0 28px rgba(0, 220, 255, 0.65)) brightness(1.15);
  }
}

@keyframes logo-breathe {
  0%,
  100% {
    filter: drop-shadow(0 0 22px rgba(0, 200, 255, 0.35));
  }
  50% {
    filter: drop-shadow(0 0 38px rgba(0, 220, 255, 0.6));
  }
}

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

@keyframes fog-drift {
  from {
    transform: translate3d(-1.5%, 0, 0) scale(1);
  }
  to {
    transform: translate3d(1.5%, -1%, 0) scale(1.03);
  }
}

@keyframes rack-pulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.75;
  }
}

@keyframes terrain-shimmer {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 0 0, 80px 0, 0 80px;
  }
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer .footer-rows {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer .footer-rows > p:last-child {
    text-align: center;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: min(100% - 1.5rem, 1180px);
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 0 0.2rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0.2rem;
    border-bottom: 1px solid rgba(0, 180, 255, 0.12);
  }

  .splash {
    width: min(100% - 1.5rem, 1180px);
  }

  .scene-racks {
    opacity: 0.18;
    width: 34vw;
  }

  .hero-status {
    letter-spacing: 0.14em;
    gap: 0.65rem;
  }

  .hero-status-text {
    gap: 0.45rem;
    text-indent: 0.14em;
  }

  .site-footer {
    width: min(100% - 1.5rem, 1180px);
  }

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

@media (max-width: 520px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .brand-name {
    letter-spacing: 0.18em;
    font-size: 0.7rem;
  }

  .hero-headline {
    font-size: clamp(0.88rem, 4.2vw, 1.25rem);
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

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

  .js .site-header,
  .js .hero > *,
  .js .feature-card,
  .js .project-card,
  .js .site-footer {
    opacity: 1;
    transform: none;
  }
}
