:root {
  color-scheme: dark;
  --bg: #02070b;
  --panel: rgba(4, 18, 27, 0.66);
  --panel-strong: rgba(8, 28, 39, 0.82);
  --line: rgba(105, 230, 255, 0.38);
  --line-soft: rgba(165, 232, 242, 0.16);
  --cyan: #35e6ff;
  --cyan-soft: rgba(53, 230, 255, 0.16);
  --silver: #d8eef4;
  --muted: #8aa6af;
  --green: #83f7b7;
  --red: #ff405c;
  --shadow: rgba(0, 0, 0, 0.5);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at var(--cursor-x, 50%) var(--cursor-y, 42%), rgba(53, 230, 255, 0.08), transparent 20rem),
    linear-gradient(180deg, #02070b 0%, #061017 48%, #010304 100%);
  color: var(--silver);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow: hidden;
}

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

.starfield {
  z-index: -4;
  opacity: 0.62;
  background-image:
    radial-gradient(circle, rgba(216, 238, 244, 0.9) 0 1px, transparent 1px),
    radial-gradient(circle, rgba(53, 230, 255, 0.68) 0 1px, transparent 1px);
  background-position:
    0 0,
    2.3rem 1.7rem;
  background-size:
    8.2rem 8.2rem,
    11rem 11rem;
  animation: drift 32s linear infinite;
}

.shell::before {
  z-index: -3;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(53, 230, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 230, 255, 0.09) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.shell::after {
  z-index: 4;
  opacity: 0.1;
  background: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 0.42rem,
    rgba(216, 238, 244, 0.24) 0.48rem
  );
  mix-blend-mode: screen;
}

.hud-frame {
  position: fixed;
  inset: 1rem;
  z-index: 5;
  pointer-events: none;
  border: 1px solid rgba(53, 230, 255, 0.18);
  box-shadow:
    inset 0 0 1.8rem rgba(53, 230, 255, 0.08),
    0 0 3rem rgba(53, 230, 255, 0.04);
}

.corner {
  position: absolute;
  width: 4rem;
  height: 4rem;
  border-color: var(--cyan);
  opacity: 0.72;
}

.corner-top-left {
  top: -1px;
  left: -1px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.corner-top-right {
  top: -1px;
  right: -1px;
  border-top: 2px solid;
  border-right: 2px solid;
}

.corner-bottom-left {
  bottom: -1px;
  left: -1px;
  border-bottom: 2px solid;
  border-left: 2px solid;
}

.corner-bottom-right {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.hero {
  position: relative;
  min-height: 68vh;
  padding: 6rem 5vw 3rem;
  display: grid;
  align-items: center;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.04);
  opacity: 0.72;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 7, 11, 0.9) 0%, rgba(2, 7, 11, 0.38) 43%, rgba(2, 7, 11, 0.78) 100%),
    linear-gradient(180deg, rgba(2, 7, 11, 0.2) 0%, rgba(2, 7, 11, 0.8) 100%);
}

.content-grid {
  width: min(72rem, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(11rem, 16rem) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.identity-module {
  position: relative;
  min-height: 19rem;
  padding: 1.2rem;
  display: grid;
  align-content: end;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(53, 230, 255, 0.08), transparent 36%),
    rgba(4, 18, 27, 0.34);
  box-shadow:
    inset 0 0 2rem rgba(53, 230, 255, 0.08),
    0 1.4rem 3rem var(--shadow);
  backdrop-filter: blur(10px);
}

.identity-module::before,
.identity-module::after {
  position: absolute;
  content: "";
  border: 1px solid var(--line-soft);
}

.identity-module::before {
  inset: 0.75rem;
}

.identity-module::after {
  width: 38%;
  height: 1px;
  right: 1.2rem;
  top: 2rem;
  border: 0;
  background: var(--red);
  box-shadow: 0 0 1rem var(--red);
}

.signal-core {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 10rem;
  height: 10rem;
  translate: -50% -50%;
  border: 1px solid rgba(53, 230, 255, 0.36);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(53, 230, 255, 0.3), transparent 18%),
    conic-gradient(from 20deg, transparent 0 18%, rgba(53, 230, 255, 0.74) 18% 23%, transparent 23% 62%, rgba(131, 247, 183, 0.52) 62% 66%, transparent 66% 100%);
  animation: rotate-slow 18s linear infinite;
}

.signal-ring {
  position: absolute;
  border: 1px solid rgba(216, 238, 244, 0.38);
  border-radius: 50%;
}

.signal-ring-one {
  inset: 1.25rem;
}

.signal-ring-two {
  inset: 2.5rem;
  border-color: rgba(53, 230, 255, 0.48);
}

.signal-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--silver);
  box-shadow:
    0 0 1rem var(--cyan),
    0 0 2.4rem rgba(53, 230, 255, 0.72);
}

.identity-readout {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
}

.identity-readout strong {
  color: var(--green);
  font-weight: 700;
}

.profile-copy {
  max-width: 48rem;
  min-width: 0;
}

.system-label,
.panel-kicker,
.status-strip {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.system-label {
  margin: 0 0 1.1rem;
  color: var(--green);
  font-size: 0.8rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.8rem;
  color: #f2fbff;
  font-size: 4.5rem;
  line-height: 0.95;
  font-weight: 780;
  overflow-wrap: break-word;
  text-shadow:
    0 0 1.2rem rgba(53, 230, 255, 0.2),
    0 0 3rem rgba(53, 230, 255, 0.12);
}

.role {
  margin-bottom: 0.55rem;
  color: #c1d9df;
  font-size: 1.35rem;
  line-height: 1.45;
}

.tagline {
  margin-bottom: 1.7rem;
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 1rem;
}

.status-strip {
  width: fit-content;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.45rem;
  border: 1px solid var(--line-soft);
  background: rgba(2, 7, 11, 0.5);
  color: var(--muted);
  font-size: 0.74rem;
}

.status-strip span {
  min-height: 1.65rem;
  padding: 0.35rem 0.55rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(53, 230, 255, 0.18);
  background: rgba(53, 230, 255, 0.06);
  overflow-wrap: anywhere;
}

.lower-band {
  width: min(72rem, calc(100% - 10vw));
  margin: -0.5rem auto 0;
  padding: 0 0 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.92fr);
  gap: 1rem;
}

.hud-panel {
  position: relative;
  min-height: 15rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(53, 230, 255, 0.1), transparent 34%),
    linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow:
    inset 0 0 2rem rgba(53, 230, 255, 0.07),
    0 1.4rem 3rem rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

.hud-panel::before {
  position: absolute;
  top: -1px;
  left: 1.2rem;
  width: 5.5rem;
  height: 2px;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 1.2rem rgba(53, 230, 255, 0.78);
}

.hud-panel::after {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 0.5rem;
  height: 0.5rem;
  content: "";
  border: 1px solid var(--red);
  box-shadow: 0 0 0.8rem rgba(255, 64, 92, 0.7);
}

.panel-kicker {
  margin-bottom: 0.9rem;
  color: var(--green);
  font-size: 0.78rem;
}

.hud-panel h2 {
  margin-bottom: 0.8rem;
  color: #ecfbff;
  font-size: 1.35rem;
  line-height: 1.2;
}

.hud-panel p:not(.panel-kicker) {
  max-width: 42rem;
  margin-bottom: 0;
  color: #b8cbd2;
  font-size: 1rem;
  line-height: 1.75;
}

.contact-links {
  display: grid;
  gap: 0.75rem;
}

.contact-link {
  min-height: 4.25rem;
  padding: 0.8rem;
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  align-items: center;
  color: var(--silver);
  text-decoration: none;
  border: 1px solid rgba(53, 230, 255, 0.25);
  background: rgba(2, 7, 11, 0.34);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: rgba(53, 230, 255, 0.76);
  background: rgba(53, 230, 255, 0.1);
  transform: translateY(-2px);
  outline: none;
}

.link-mark {
  grid-row: 1 / span 2;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 700;
}

.contact-link span:not(.link-mark) {
  min-width: 0;
  font-weight: 700;
}

.contact-link small {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-4rem, 4rem, 0);
  }
}

@keyframes rotate-slow {
  to {
    rotate: 360deg;
  }
}

@media (max-width: 820px) {
  .hud-frame {
    inset: 0.65rem;
  }

  .hero {
    min-height: 66vh;
    padding: 4.75rem 1.25rem 2rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .identity-module {
    width: min(100%, 18rem);
    min-height: 12rem;
    order: 2;
  }

  .signal-core {
    width: 7.2rem;
    height: 7.2rem;
  }

  h1 {
    font-size: 3rem;
    line-height: 1;
  }

  .role {
    font-size: 1.1rem;
  }

  .lower-band {
    width: calc(100% - 2.5rem);
    grid-template-columns: 1fr;
    padding-bottom: 2.5rem;
  }
}

@media (max-width: 460px) {
  .hero {
    padding-top: 4rem;
  }

  .hud-frame {
    display: none;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.08;
  }

  .status-strip,
  .status-strip span {
    width: 100%;
  }

  .status-strip span {
    display: block;
  }

  .hud-panel {
    padding: 1rem;
  }

  .contact-link {
    min-height: 4.6rem;
  }
}

@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;
  }
}
