:root {
  color-scheme: dark;
  --ink: #050506;
  --surface: rgba(15, 16, 19, 0.72);
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.24);
  --text: #f4f1ea;
  --muted: #8e9098;
  --blue: #77a7ff;
  --violet: #9a7cff;
  --glow-x: 72%;
  --glow-y: 34%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Noto Sans SC", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(75, 107, 181, 0.12), transparent 27rem),
    var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: clamp(42px, 5vw, 76px) clamp(42px, 5vw, 76px);
  mask-image: linear-gradient(to bottom, black 20%, transparent 95%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  content: "";
  box-shadow: inset 0 0 12rem rgba(0, 0, 0, 0.76);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: var(--text);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

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

.ambient__halo {
  position: absolute;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(119, 167, 255, 0.16);
  border-radius: 50%;
}

.ambient__halo::before,
.ambient__halo::after {
  position: absolute;
  inset: 12%;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: inherit;
}

.ambient__halo::after {
  inset: 29%;
}

.ambient__halo--one {
  top: -17rem;
  right: -8rem;
  animation: drift 18s ease-in-out infinite alternate;
}

.ambient__halo--two {
  bottom: -24rem;
  left: -11rem;
  opacity: 0.45;
  animation: drift 24s ease-in-out infinite alternate-reverse;
}

.ambient__scan {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(119, 167, 255, 0.38), transparent);
  animation: scan 9s linear 1.2s infinite;
}

.shell {
  display: flex;
  width: min(100%, 1560px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 4.5rem);
  flex-direction: column;
}

.topbar {
  display: flex;
  min-height: 7.5rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  font-family: "Arial Narrow", "Helvetica Neue", sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: -0.08em;
  transform: rotate(-4deg);
  transition: border-color 200ms ease, transform 200ms ease;
}

.brand:hover .brand__mark {
  border-color: var(--blue);
  transform: rotate(0deg);
}

.brand__mark span {
  color: var(--blue);
}

.brand__name {
  font-size: 0.82rem;
  font-weight: 720;
  letter-spacing: 0.24em;
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.signal {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.signal i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #84d6a3;
  box-shadow: 0 0 0.8rem rgba(132, 214, 163, 0.7);
}

.hero {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.18fr) minmax(22rem, 0.82fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(4rem, 9vh, 7.5rem) 0;
}

.hero__copy {
  max-width: 57rem;
}

.kicker,
.projects__label {
  display: flex;
  margin: 0 0 2rem;
  align-items: center;
  gap: 0.9rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
}

.kicker span {
  color: var(--blue);
}

h1 {
  margin: 0;
  font-family: "Arial Narrow", "Helvetica Neue", "Noto Sans SC", sans-serif;
  font-size: clamp(3.6rem, 7vw, 7.7rem);
  font-weight: 760;
  line-height: 0.98;
  letter-spacing: -0.075em;
}

h1 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(104deg, var(--text) 12%, #9bbaff 58%, #8b70d8 94%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero__intro {
  max-width: 37rem;
  margin: 2.25rem 0 0;
  color: #aaaab1;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.9;
}

.hero__note {
  display: flex;
  margin-top: clamp(3rem, 7vh, 6rem);
  align-items: center;
  gap: 0.9rem;
  color: #686a72;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.67rem;
  letter-spacing: 0.16em;
}

.hero__note span {
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--line-strong);
}

.projects {
  position: relative;
  padding-left: clamp(0rem, 2vw, 2rem);
}

.projects::before {
  position: absolute;
  top: -6rem;
  bottom: -6rem;
  left: 0;
  content: "";
  border-left: 1px solid var(--line);
}

.projects__label {
  justify-content: space-between;
  margin-bottom: 1rem;
}

.projects__label span {
  color: #6b6d75;
}

.project-card {
  --card-glow: rgba(119, 167, 255, 0.14);
  position: relative;
  display: grid;
  min-height: 12.2rem;
  padding: 1.5rem;
  overflow: hidden;
  grid-template-columns: 2.25rem 1fr auto;
  align-items: start;
  gap: 0.85rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 8%, var(--card-glow), transparent 38%),
    var(--surface);
  text-decoration: none;
  backdrop-filter: blur(14px);
  transition: transform 240ms ease, border-color 240ms ease, background-color 240ms ease;
}

.project-card + .project-card {
  margin-top: 0.8rem;
}

.project-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 3.5rem;
  height: 3.5rem;
  content: "";
  border-right: 1px solid rgba(119, 167, 255, 0.42);
  border-bottom: 1px solid rgba(119, 167, 255, 0.42);
  opacity: 0;
  transform: translate(0.8rem, 0.8rem);
  transition: opacity 240ms ease, transform 240ms ease;
}

.project-card:hover,
.project-card:focus-visible {
  z-index: 1;
  border-color: rgba(119, 167, 255, 0.52);
  outline: none;
  transform: translateX(0.45rem);
}

.project-card:hover::after,
.project-card:focus-visible::after {
  opacity: 1;
  transform: translate(0, 0);
}

.project-card--budget {
  --card-glow: rgba(154, 124, 255, 0.12);
}

.project-card__index {
  color: #63656d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
}

.project-card__body p {
  margin: 0 0 0.5rem;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.project-card--budget .project-card__body p {
  color: #ab92ff;
}

.project-card__body h2 {
  margin: 0 0 1.3rem;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.055em;
}

.project-card__body > span {
  color: #8e9097;
  font-size: 0.92rem;
  line-height: 1.65;
}

.project-card__action {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #b9bac0;
  font-size: 1.1rem;
  transition: color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.project-card:hover .project-card__action,
.project-card:focus-visible .project-card__action {
  color: var(--text);
  border-color: var(--line-strong);
  transform: rotate(12deg);
}

.footer {
  display: flex;
  min-height: 5.6rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #5f6169;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.footer p {
  margin: 0;
}

.footer p span {
  margin-left: 0.7rem;
}

@keyframes drift {
  to {
    transform: translate3d(-2rem, 2.5rem, 0) rotate(16deg);
  }
}

@keyframes scan {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  10%,
  80% {
    opacity: 0.32;
  }
  100% {
    opacity: 0;
    transform: translateY(100vh);
  }
}

@media (max-width: 920px) {
  .topbar {
    min-height: 6.25rem;
  }

  .signal {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 4.5rem 0;
  }

  .hero__note {
    margin-top: 3rem;
  }

  .projects {
    padding: 2rem 0 0;
    border-top: 1px solid var(--line);
  }

  .projects::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .shell {
    padding: 0 1.1rem;
  }

  .brand__name,
  .footer__coordinates {
    display: none;
  }

  .topbar__meta {
    font-size: 0.65rem;
  }

  .hero {
    gap: 3.4rem;
    padding: 3.6rem 0;
  }

  h1 {
    font-size: clamp(3.15rem, 15vw, 5rem);
  }

  .hero__intro {
    font-size: 1rem;
  }

  .hero__note {
    letter-spacing: 0.08em;
  }

  .project-card {
    min-height: 11.5rem;
    padding: 1.25rem;
    grid-template-columns: 1.6rem 1fr auto;
  }

  .project-card__action {
    width: 2.15rem;
    height: 2.15rem;
  }
}

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

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

/* Public registrations below the existing footer details. */
.footer {
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
  position: relative;
  z-index: 11;
}
.footer__filings {
  display: flex;
  flex-basis: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.8rem;
  text-align: center;
  font-family: ui-sans-serif, system-ui, "Noto Sans SC", sans-serif;
  font-size: 0.8125rem;
  line-height: 1.8;
  letter-spacing: 0.03em;
}
.footer__filings a {
  color: #a1a3ad;
  text-decoration: none;
  text-underline-offset: 0.25em;
}
.footer__filings a:hover,
.footer__filings a:focus-visible {
  color: var(--text);
  text-decoration: underline;
}
.footer__filings a:focus-visible {
  outline: 1px solid var(--blue);
  outline-offset: 4px;
  border-radius: 2px;
}
