:root {
  color-scheme: dark;
  --bg: #030508;
  --panel: rgba(8, 12, 22, 0.76);
  --panel-strong: rgba(12, 17, 32, 0.94);
  --line: rgba(0, 245, 229, 0.22);
  --cyan: #00f5e5;
  --cyan-soft: rgba(0, 245, 229, 0.14);
  --violet: #9d22ff;
  --violet-soft: rgba(157, 34, 255, 0.18);
  --white: #f8fbff;
  --muted: #9aa6c2;
  --danger: #ff2d95;
  font-family: "Rajdhani", "Orbitron", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(157, 34, 255, 0.24), transparent 28rem),
    radial-gradient(circle at 80% 5%, rgba(0, 245, 229, 0.16), transparent 25rem),
    linear-gradient(135deg, #030508 0%, #070914 46%, #020307 100%);
  color: var(--white);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background-image:
    linear-gradient(rgba(0, 245, 229, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 34, 255, 0.08) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

body.booting {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #030813;
  transition: opacity 620ms ease, visibility 620ms ease;
}

.boot-screen.is-done {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.boot-screen::before {
  position: absolute;
  inset: -6rem;
  content: "";
  background-image:
    linear-gradient(rgba(0, 245, 229, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 34, 255, 0.2) 1px, transparent 1px);
  background-size: clamp(3rem, 7vw, 5.6rem) clamp(3rem, 7vw, 5.6rem);
  transform: perspective(900px) rotateX(12deg) scale(1.08);
  animation: boot-grid 2.8s ease-in-out infinite;
}

.boot-screen::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at center, transparent 0 20%, rgba(0, 0, 0, 0.2) 48%, rgba(0, 0, 0, 0.74) 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
}

.boot-grid span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: clamp(2rem, 5vw, 4rem);
  aspect-ratio: 1;
  border: 1px solid rgba(0, 245, 229, 0.18);
  background: rgba(157, 34, 255, 0.24);
  box-shadow: 0 0 28px rgba(157, 34, 255, 0.18);
  animation: boot-block 1.9s ease-in-out infinite;
  animation-delay: var(--d);
}

.boot-card {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(27rem, 62vw);
  aspect-ratio: 1;
  place-items: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: rotate(0deg);
  animation: boot-card 2.5s cubic-bezier(.2, .9, .2, 1) forwards, boot-glitch 1.15s steps(2, end) infinite;
}

.boot-card img {
  position: relative;
  z-index: 3;
  width: 118%;
  max-height: 118%;
  object-fit: contain;
  filter: saturate(1.18) contrast(1.1) drop-shadow(0 0 22px rgba(0, 245, 229, 0.48)) drop-shadow(0 0 26px rgba(157, 34, 255, 0.38));
}

.boot-card::before,
.boot-card::after {
  position: absolute;
  inset: -1.2rem;
  content: "";
  background: url("./assets/team-noobies-mark.png") center / contain no-repeat;
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
}

.boot-card::before {
  filter: brightness(1.35) saturate(1.5) drop-shadow(0 0 18px rgba(0, 245, 229, 0.7));
  animation: logo-split-cyan 2.1s steps(2, end) infinite;
}

.boot-card::after {
  filter: hue-rotate(95deg) saturate(1.7) drop-shadow(0 0 18px rgba(157, 34, 255, 0.65));
  animation: logo-split-violet 2.35s steps(2, end) infinite;
}

.boot-text {
  position: absolute;
  z-index: 3;
  bottom: clamp(2rem, 8vh, 5rem);
  left: 50%;
  min-width: min(35rem, calc(100vw - 2rem));
  margin: 0;
  color: var(--cyan);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 800;
  text-align: center;
  text-shadow: 0 0 18px rgba(0, 245, 229, 0.55);
  transform: translateX(-50%);
}

.boot-target {
  position: absolute;
  z-index: 2;
  left: 18%;
  top: 22%;
  width: 1.4rem;
  aspect-ratio: 1;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 245, 229, 0.55);
  animation: target-sweep 2.4s ease-in-out infinite;
}

.boot-target::before,
.boot-target::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 2.2rem;
  height: 1px;
  content: "";
  background: var(--cyan);
  transform: translate(-50%, -50%);
}

.boot-target::after {
  rotate: 90deg;
}

#matrix {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.32;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 3px);
  mix-blend-mode: screen;
}

.cursor-glow {
  position: fixed;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10;
  background: radial-gradient(circle, rgba(0, 245, 229, 0.16), rgba(157, 34, 255, 0.06), transparent 68%);
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(0, 245, 229, 0.13);
  background: linear-gradient(180deg, rgba(3, 5, 8, 0.4), rgba(3, 5, 8, 0.08));
  backdrop-filter: blur(8px);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  display: flex;
  width: 3.05rem;
  height: 3.05rem;
  align-items: center;
  justify-content: center;
  overflow: visible;
  place-items: center;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  width: 128%;
  max-width: none;
  height: 128%;
  object-fit: contain;
  filter: saturate(1.18) contrast(1.08) drop-shadow(0 0 9px rgba(0, 245, 229, 0.5));
}

.brand-name {
  position: relative;
  display: grid;
  gap: 0;
  min-width: 7.8rem;
  color: #f8fbff;
  font-family: Bahnschrift, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: clamp(0.96rem, 1.5vw, 1.28rem);
  font-weight: 950;
  line-height: 0.9;
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.26),
    0.07em 0 rgba(0, 245, 229, 0.32),
    -0.06em 0 rgba(157, 34, 255, 0.34);
  isolation: isolate;
}

.brand-name > span:last-child {
  color: var(--cyan);
  font-size: 1.18em;
  text-shadow:
    0 0 16px rgba(0, 245, 229, 0.58),
    0.08em 0 rgba(157, 34, 255, 0.34);
}

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

.brand-name::before {
  color: var(--cyan);
  transform: translate(1px, 0);
  animation: brand-glitch-cyan 2.7s steps(2, end) infinite;
}

.brand-name::after {
  color: var(--violet);
  transform: translate(-1px, 0);
  animation: brand-glitch-violet 3.15s steps(2, end) infinite;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

nav a {
  position: relative;
  overflow: hidden;
  min-height: 2.4rem;
  padding: 0.66rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  transition: border-color 170ms ease, background 170ms ease, color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

nav a::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 245, 229, 0.24), transparent 70%),
    linear-gradient(90deg, transparent, rgba(0, 245, 229, 0.12), transparent);
  transition: opacity 170ms ease;
}

nav a::after {
  position: absolute;
  right: 0.8rem;
  bottom: 0.38rem;
  left: 0.8rem;
  height: 2px;
  content: "";
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 14px rgba(0, 245, 229, 0.7);
  transform: scaleX(0.35);
  transition: opacity 170ms ease, transform 170ms ease;
}

nav a:hover,
nav a.is-active {
  border-color: rgba(0, 245, 229, 0.45);
  color: var(--white);
  background: rgba(0, 245, 229, 0.1);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 229, 0.08), 0 0 24px rgba(0, 245, 229, 0.12);
  transform: translateY(-1px);
}

nav a:hover::before,
nav a.is-active::before,
nav a.is-active::after {
  opacity: 1;
}

nav a.is-active::after {
  transform: scaleX(1);
}

nav a.is-active {
  color: #dfffff;
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6.5rem) 0;
}

.hero {
  display: grid;
  min-height: calc(100vh - 4.5rem);
  grid-template-columns: minmax(0, 48rem);
  align-items: center;
  justify-content: start;
  padding-top: clamp(2rem, 5vw, 4rem);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  font-family: "Arial Black", "Impact", "Rajdhani", sans-serif;
  font-size: clamp(3.1rem, 9vw, 6.8rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fbfdff 0 26%, #d9dbe4 27% 45%, var(--violet) 46% 50%, var(--cyan) 51% 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

h2 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-text {
  max-width: 35rem;
  color: #d5ddf2;
  font-size: clamp(1rem, 1.45vw, 1.12rem);
}

.glitch {
  position: relative;
  text-shadow: 0 0 12px rgba(0, 245, 229, 0.34), 0 0 36px rgba(157, 34, 255, 0.42);
}

.glitch::before,
.glitch::after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  content: attr(data-text);
}

.glitch::before {
  color: #f7f7fb;
  animation: glitch-one 2.8s infinite steps(2, end);
  clip-path: inset(0 0 58% 0);
}

.glitch::after {
  color: var(--cyan);
  animation: glitch-two 3.3s infinite steps(2, end);
  clip-path: inset(56% 0 0 0);
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.primary-btn,
.ghost-btn,
.contact-links a,
.member-info label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.78rem 1rem;
  border: 1px solid var(--line);
  font-weight: 800;
}

.cyber-btn {
  position: relative;
  isolation: isolate;
  min-width: 11.6rem;
  min-height: 3.4rem;
  padding: 0.92rem 1.35rem;
  overflow: hidden;
  border-radius: 999px;
  clip-path: none;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  transform: translateZ(0);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

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

.cyber-btn::before {
  z-index: -1;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 5px);
  transform: translateX(-120%);
  transition: transform 420ms ease;
}

.cyber-btn::after {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.cyber-btn span {
  position: relative;
  z-index: 1;
}

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

.cyber-btn:hover::before {
  transform: translateX(120%);
}

.primary-btn {
  border-color: rgba(0, 245, 229, 0.88);
  background:
    linear-gradient(135deg, #00f5e5 0%, #00d6cf 52%, #b5fff8 100%);
  box-shadow: 0 0 28px rgba(0, 245, 229, 0.34), 0 0.8rem 2.2rem rgba(0, 245, 229, 0.16);
  color: #041113;
}

.ghost-btn,
.contact-links a {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

.contact-links a {
  min-height: 3.15rem;
  padding-inline: 1.45rem;
  border-color: rgba(0, 245, 229, 0.34);
  border-radius: 999px !important;
  clip-path: none;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 245, 229, 0.12), rgba(157, 34, 255, 0.08)),
    rgba(5, 8, 15, 0.38);
  box-shadow: inset 0 0 20px rgba(0, 245, 229, 0.08), 0 0 22px rgba(0, 245, 229, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-links a:hover {
  border-color: rgba(0, 245, 229, 0.78);
  box-shadow: inset 0 0 22px rgba(0, 245, 229, 0.14), 0 0 28px rgba(0, 245, 229, 0.18);
  transform: translateY(-2px);
}

.ghost-btn.cyber-btn {
  border-color: rgba(0, 245, 229, 0.32);
  background:
    linear-gradient(135deg, rgba(157, 34, 255, 0.18), rgba(0, 245, 229, 0.06)),
    rgba(5, 8, 15, 0.46);
  box-shadow: inset 0 0 22px rgba(0, 245, 229, 0.08), 0 0 24px rgba(157, 34, 255, 0.12);
}

.ghost-btn.cyber-btn:hover {
  border-color: rgba(0, 245, 229, 0.72);
  box-shadow: inset 0 0 28px rgba(0, 245, 229, 0.12), 0 0 30px rgba(0, 245, 229, 0.18);
}

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 245, 229, 0.07);
}

.ticker div {
  display: flex;
  width: max-content;
  gap: 2rem;
  padding: 0.8rem 0;
  animation: marquee 24s linear infinite;
}

.ticker span {
  color: #dce9ff;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: stretch;
}

.split p:last-child {
  position: relative;
  width: min(100%, 50rem);
  min-height: 15rem;
  margin: 0;
  padding: clamp(1.45rem, 3vw, 2.1rem);
  border: 1px solid rgba(0, 245, 229, 0.16);
  background: linear-gradient(145deg, rgba(8, 14, 26, 0.78), rgba(5, 8, 15, 0.58));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), 0 20px 70px rgba(0, 0, 0, 0.22);
  clip-path: polygon(0.75rem 0, 100% 0, 100% calc(100% - 0.75rem), calc(100% - 0.75rem) 100%, 0 100%, 0 0.75rem);
  color: #dce3f4;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.75;
}

.split p:last-child::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(0, 245, 229, 0.38), transparent 18%) top left / 4.5rem 4.5rem no-repeat,
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 7px);
  opacity: 0.72;
}

.split p:last-child::after {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  width: 2.8rem;
  height: 0.16rem;
  content: "";
  background: linear-gradient(90deg, var(--cyan), transparent);
  box-shadow: 0 0 18px rgba(0, 245, 229, 0.45);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  max-width: 42rem;
  margin-bottom: 1.4rem;
  padding-left: 1rem;
  border-left: 3px solid rgba(0, 245, 229, 0.8);
}

.section-heading .eyebrow {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.section-heading h2 {
  max-width: none;
  margin: 0;
  font-family: Bahnschrift, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.45rem, 2.7vw, 2.35rem);
  line-height: 1;
  text-transform: none;
}

.section-heading p:last-child {
  max-width: 30rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.team-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  max-width: 42rem;
  margin-bottom: 1.4rem;
  padding: 0 0 0 1rem;
  border-left: 3px solid rgba(0, 245, 229, 0.8);
}

.team-heading .eyebrow {
  width: fit-content;
  min-width: max-content;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.team-heading h2 {
  max-width: none;
  margin: 0;
  color: #f7fbff;
  font-family: Bahnschrift, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.45rem, 2.7vw, 2.35rem);
  line-height: 1;
  text-transform: none;
}

.team-heading p:last-child {
  max-width: 30rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.domain-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.domain-grid article,
.member-card,
.terminal,
.score-panel,
.contact {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(11, 16, 29, 0.9), rgba(6, 8, 16, 0.72));
  box-shadow: inset 0 0 0 1px rgba(0, 245, 229, 0.04), 0 22px 80px rgba(0, 0, 0, 0.26);
  clip-path: polygon(0.85rem 0, 100% 0, 100% calc(100% - 0.85rem), calc(100% - 0.85rem) 100%, 0 100%, 0 0.85rem);
}

.domain-grid article::before,
.member-card::before,
.terminal::before,
.score-panel::before,
.contact::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(0, 245, 229, 0.55), transparent 16%) top left / 5rem 5rem no-repeat,
    linear-gradient(315deg, rgba(157, 34, 255, 0.45), transparent 16%) bottom right / 5rem 5rem no-repeat,
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 6px);
  opacity: 0.72;
}

.domain-grid article::after,
.member-card::after,
.terminal::after,
.score-panel::after,
.contact::after {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  width: 2.6rem;
  height: 0.18rem;
  content: "";
  background: linear-gradient(90deg, var(--cyan), transparent);
  box-shadow: 0 0 18px rgba(0, 245, 229, 0.5);
}

.domain-grid article {
  min-height: 14.5rem;
  padding: 1.35rem;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.domain-grid article:focus-visible {
  border-color: rgba(0, 245, 229, 0.75);
  outline: 2px solid rgba(0, 245, 229, 0.42);
  outline-offset: 3px;
}

.domain-grid article:hover,
.member-card:hover {
  border-color: rgba(0, 245, 229, 0.38);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 229, 0.16), 0 0 32px rgba(0, 245, 229, 0.14), 0 22px 80px rgba(0, 0, 0, 0.32);
  transform: translateY(-4px);
}

.domain-grid article > *,
.member-card > *,
.terminal > *,
.score-panel > *,
.contact > * {
  position: relative;
  z-index: 1;
}

.domain-grid span {
  color: var(--violet);
  font-size: 0.8rem;
  font-weight: 900;
}

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

.member-card {
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease;
}

.photo-shell {
  position: relative;
  display: grid;
  height: 15.5rem;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 245, 229, 0.14), transparent),
    radial-gradient(circle at 70% 20%, rgba(157, 34, 255, 0.34), transparent 12rem),
    #080b14;
}

.photo-shell::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 100% 0.45rem;
}

.photo-shell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.08);
}

.photo-shell.has-photo img {
  display: block;
}

.photo-shell.has-photo span {
  opacity: 0;
}

.photo-shell span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.8);
  font-size: 3.2rem;
  font-weight: 950;
}

.member-info {
  padding: 1.05rem;
}

.handle {
  margin-bottom: 0.35rem;
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 900;
}

.member-info p {
  font-size: 0.92rem;
}

.member-info label {
  width: 100%;
  margin-top: 0.6rem;
  cursor: pointer;
  background: rgba(0, 245, 229, 0.08);
  color: var(--white);
  font-size: 0.88rem;
}

.member-info input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.photo-gallery {
  align-items: stretch;
}

.gallery-card {
  display: block;
  width: 100%;
  min-height: 34rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.9rem;
  clip-path: none;
  cursor: pointer;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.18)),
    rgba(8, 10, 15, 0.72);
  box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(0, 245, 229, 0.04);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

.gallery-card::before {
  background:
    linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.84) 68%, rgba(0, 0, 0, 0.96) 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 6px);
  opacity: 1;
}

.gallery-card::after {
  top: auto;
  right: 1rem;
  bottom: 1rem;
  width: 3.2rem;
  height: 0.18rem;
  opacity: 0.72;
}

.gallery-card > img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 20.75rem;
  min-height: 0;
  object-fit: cover;
  padding: 0;
  filter: saturate(1.02) contrast(1.04);
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-card:hover {
  border-color: rgba(0, 245, 229, 0.5);
  box-shadow: 0 1.8rem 4.4rem rgba(0, 0, 0, 0.42), 0 0 34px rgba(0, 245, 229, 0.16);
  transform: translateY(-6px);
}

.gallery-card:hover > img {
  filter: saturate(1.08) contrast(1.08);
  transform: scale(1.035);
}

.profile-overlay,
.profile-body,
.profile-row,
.profile-tags,
.profile-footer {
  position: relative;
  z-index: 2;
  display: block;
}

.profile-overlay {
  display: block;
  margin-top: -5.25rem;
  padding: 0 0.9rem 0.82rem;
  text-align: left;
}

.profile-row {
  display: grid;
  grid-template-columns: 2.45rem 1fr;
  gap: 0.55rem;
  align-items: end;
}

.profile-row > span:last-child {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: 0.34rem 0.52rem 0.42rem;
  border-left: 2px solid rgba(0, 245, 229, 0.8);
  border-radius: 0.48rem;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.52));
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.5), inset 0 0 18px rgba(0, 245, 229, 0.08);
  backdrop-filter: blur(4px);
}

.profile-logo {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.48rem;
  background: rgba(8, 10, 15, 0.68);
}

.profile-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.04rem;
  filter: drop-shadow(0 0 10px rgba(0, 245, 229, 0.36));
  transform: none;
}

.profile-row strong {
  display: inline-block;
  font-family: Bahnschrift, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  color: #00f5e5;
  font-size: clamp(0.82rem, 1.05vw, 0.98rem);
  line-height: 1.05;
  font-weight: 800;
  text-shadow: 0 2px 0 #001012, 0 0 14px rgba(0, 245, 229, 0.58);
}

.profile-row strong::after {
  content: " NP";
  color: #ffe27a;
  font-size: 0.5rem;
  vertical-align: super;
}

.profile-row small {
  display: block;
  margin-top: 0.12rem;
  font-family: Bahnschrift, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  color: #fff2a8;
  font-size: 0.66rem;
  font-weight: 700;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.9), 0 0 10px rgba(255, 226, 122, 0.3);
}

.profile-row em {
  display: block;
  margin-top: 0.16rem;
  font-family: Bahnschrift, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  color: #79ffa9;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 760;
}

.profile-body {
  min-height: 12.9rem;
  padding: 1rem 1.2rem 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 11, 15, 0.78);
  text-align: left;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.profile-tags b {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #d9e1ef;
  font-size: 0.68rem;
}

.profile-quote {
  display: block;
  color: #c7cedc;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.55;
}

.profile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.15rem;
  color: #8d96aa;
  font-size: 0.86rem;
}

.profile-footer i {
  color: #7d8596;
  font-size: 0.7rem;
  font-style: normal;
  letter-spacing: 0.1em;
}

.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 4.5rem);
  visibility: hidden;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(0, 245, 229, 0.09), transparent 36rem),
    radial-gradient(circle at 22% 55%, rgba(157, 34, 255, 0.1), transparent 30rem),
    rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.photo-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.photo-modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(15rem, 19rem) minmax(0, 1fr);
  width: min(45rem, 86vw);
  min-height: min(30rem, 76vh);
  max-height: 82vh;
  align-items: stretch;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(0, 255, 135, 0.82);
  border-radius: 1rem;
  background:
    linear-gradient(90deg, rgba(0, 245, 229, 0.06), transparent 40%),
    linear-gradient(145deg, rgba(5, 9, 11, 0.98), rgba(2, 4, 7, 0.98));
  box-shadow:
    0 0 0 1px rgba(0, 245, 229, 0.16) inset,
    0 0 52px rgba(0, 255, 135, 0.16),
    0 2rem 9rem rgba(0, 0, 0, 0.68);
}

.photo-modal-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 6px);
}

.modal-photo-frame {
  position: relative;
  z-index: 1;
  min-height: 30rem;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
}

.modal-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 28% top;
  filter: saturate(0.95) contrast(1.05);
}

.modal-profile {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  justify-content: center;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background:
    radial-gradient(circle at 85% 15%, rgba(0, 245, 229, 0.06), transparent 14rem),
    rgba(0, 0, 0, 0.34);
}

.modal-handle {
  margin: 0;
  color: #f7fbff;
  font-family: Bahnschrift, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1;
  font-weight: 850;
}

.modal-handle::after {
  content: " NP";
  color: #d8dde6;
  font-size: 0.55rem;
  vertical-align: super;
}

.modal-name {
  margin: 0.36rem 0 0;
  color: #cbd3df;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 700;
}

.modal-team-card {
  display: grid;
  grid-template-columns: 2.65rem 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.035);
}

.modal-team-logo {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.45rem;
  background: rgba(0, 0, 0, 0.34);
}

.modal-team-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-team-card b,
.modal-label {
  display: block;
  margin: 0 0 0.25rem;
  color: #667083;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.modal-team-card strong {
  display: block;
  color: #edf3fb;
  font-size: 0.95rem;
}

.modal-team-card i {
  color: #7dffb2;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.modal-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.16rem 0.58rem;
  border: 1px solid rgba(28, 218, 112, 0.86);
  border-radius: 999px;
  background: rgba(28, 218, 112, 0.13);
  color: #82ffb7;
  font-size: 0.68rem;
  font-weight: 800;
}

.modal-quote {
  position: relative;
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(28, 218, 112, 0.46);
  border-radius: 0.55rem;
  background: rgba(5, 45, 26, 0.44);
  color: #f5f9ff;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.55;
}

.modal-quote::before {
  position: absolute;
  top: -0.72rem;
  left: 0.9rem;
  content: "“";
  color: #25e584;
  font-size: 1.8rem;
  line-height: 1;
}

.modal-actions {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-actions[hidden] {
  display: none;
}

.modal-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.38rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.035);
  color: #dce4ef;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
}

.modal-actions a:hover {
  border-color: rgba(28, 218, 112, 0.68);
  background: rgba(28, 218, 112, 0.13);
  color: #91ffc3;
}

.modal-close {
  position: absolute;
  top: clamp(0.8rem, 1.7vw, 1.4rem);
  right: clamp(0.8rem, 1.7vw, 1.4rem);
  z-index: 2;
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(9, 12, 20, 0.84);
  color: var(--white);
  cursor: pointer;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.55);
}

.domain-modal {
  position: fixed;
  inset: 0;
  z-index: 121;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 4rem);
  visibility: hidden;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(0, 245, 229, 0.08), transparent 34rem),
    rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.domain-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.domain-modal-panel {
  position: relative;
  width: min(44rem, 90vw);
  padding: clamp(1.35rem, 3vw, 2.2rem);
  border: 1px solid rgba(0, 245, 229, 0.5);
  border-radius: 0.85rem;
  background:
    linear-gradient(145deg, rgba(8, 13, 24, 0.96), rgba(3, 5, 9, 0.97)),
    rgba(0, 0, 0, 0.92);
  box-shadow: 0 0 42px rgba(0, 245, 229, 0.13), 0 2rem 7rem rgba(0, 0, 0, 0.72);
  overflow: hidden;
}

.domain-modal-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 245, 229, 0.08), transparent 40%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 6px);
}

.domain-modal-panel > * {
  position: relative;
  z-index: 1;
}

.domain-modal-kicker {
  margin: 0 0 0.45rem;
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.domain-modal-title {
  margin: 0 0 0.7rem;
  color: #f7fbff;
  font-family: Bahnschrift, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1;
}

.domain-modal-summary {
  max-width: 58ch;
  margin: 0 0 1.35rem;
  color: #cbd5e6;
  font-size: 1rem;
  line-height: 1.6;
}

.domain-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.domain-modal-grid section {
  min-height: 10rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.035);
}

.domain-modal-grid h4 {
  margin: 0 0 0.55rem;
  color: #7dffb2;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.domain-modal-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.domain-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.domain-modal-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.2rem 0.65rem;
  border: 1px solid rgba(0, 245, 229, 0.28);
  border-radius: 999px;
  background: rgba(0, 245, 229, 0.08);
  color: #d9ffff;
  font-size: 0.72rem;
  font-weight: 800;
}

.domain-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(9, 12, 20, 0.82);
  color: var(--white);
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.ops {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: stretch;
}

.terminal {
  min-height: 28rem;
  overflow: hidden;
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.terminal-top span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--danger);
}

.terminal-top span:nth-child(2) {
  background: #ffbe3d;
}

.terminal-top span:nth-child(3) {
  background: var(--cyan);
}

.terminal-top p {
  margin: 0 0 0 0.6rem;
  color: #d7def0;
  font-size: 0.85rem;
}

pre {
  min-height: 23rem;
  margin: 0;
  padding: 1.25rem;
  white-space: pre-wrap;
  color: #c9ffee;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.95rem;
  line-height: 1.65;
}

.score-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.ops-copy {
  max-width: 34rem;
  margin: 0.2rem 0 0;
  color: #c7d1e2;
  font-size: 1rem;
  line-height: 1.6;
}

.practice-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.practice-list div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0.45rem;
  background:
    linear-gradient(90deg, rgba(0, 245, 229, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
}

.practice-list span {
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.45;
}

.practice-list strong {
  display: block;
  color: #f7fbff;
  font-size: 1rem;
}

.practice-list p {
  grid-column: 2;
  margin: -0.55rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.timeline ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  min-height: 11rem;
  padding: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid rgba(0, 245, 229, 0.78);
  background:
    linear-gradient(145deg, rgba(0, 245, 229, 0.08), rgba(157, 34, 255, 0.08) 52%, rgba(255, 255, 255, 0.025)),
    rgba(7, 10, 18, 0.72);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 229, 0.035), 0 20px 54px rgba(0, 0, 0, 0.22);
  clip-path: polygon(0.7rem 0, 100% 0, 100% calc(100% - 0.7rem), calc(100% - 0.7rem) 100%, 0 100%, 0 0.7rem);
  color: #d8e0f3;
}

.timeline li::after {
  position: absolute;
  right: 1rem;
  bottom: 0.75rem;
  width: 3rem;
  height: 0.18rem;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan));
  box-shadow: 0 0 18px rgba(0, 245, 229, 0.42);
}

.timeline span {
  display: block;
  margin-bottom: 1.3rem;
  color: var(--violet);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline strong {
  display: block;
  max-width: 22rem;
  color: #f1f6ff;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.45;
}

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

.recent-grid article {
  position: relative;
  min-height: 20rem;
  padding: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(circle at 82% 10%, rgba(0, 245, 229, 0.14), transparent 10rem),
    linear-gradient(145deg, rgba(10, 15, 27, 0.9), rgba(5, 8, 15, 0.72));
  box-shadow: inset 0 0 0 1px rgba(0, 245, 229, 0.04), 0 22px 60px rgba(0, 0, 0, 0.24);
  clip-path: polygon(0.75rem 0, 100% 0, 100% calc(100% - 0.75rem), calc(100% - 0.75rem) 100%, 0 100%, 0 0.75rem);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.recent-grid article:hover,
.recent-grid article:focus-visible {
  border-color: rgba(0, 245, 229, 0.42);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 229, 0.14), 0 0 34px rgba(0, 245, 229, 0.13), 0 22px 60px rgba(0, 0, 0, 0.28);
  outline: 0;
  transform: translateY(-4px);
}

.recent-grid article::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 6px);
}

.recent-grid article::after {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 2.8rem;
  height: 0.18rem;
  content: "";
  background: linear-gradient(90deg, var(--cyan), transparent);
  box-shadow: 0 0 18px rgba(0, 245, 229, 0.48);
}

.recent-grid article > * {
  position: relative;
  z-index: 1;
}

.recent-card-visual {
  position: relative;
  display: block;
  height: 8rem;
  margin: -0.2rem -0.2rem 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(0, 245, 229, 0.18);
  border-radius: 0.55rem;
  background: rgba(2, 5, 10, 0.72);
}

.recent-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04);
}

.recent-card-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 40%, rgba(3, 5, 9, 0.78));
}

.recent-grid span {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  display: inline-flex;
  min-height: 1.55rem;
  align-items: center;
  padding: 0.18rem 0.58rem;
  border: 1px solid rgba(0, 245, 229, 0.24);
  border-radius: 999px;
  background: rgba(0, 245, 229, 0.08);
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}

.recent-grid h3 {
  margin-bottom: 0.7rem;
  color: #f7fbff;
  font-family: Bahnschrift, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: 1.25rem;
}

.recent-grid p {
  min-height: 5.2rem;
  margin-bottom: 1.1rem;
  color: #aeb9cf;
  font-size: 0.94rem;
  line-height: 1.58;
}

.recent-grid div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.recent-grid b {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(157, 34, 255, 0.32);
  border-radius: 999px;
  background: rgba(157, 34, 255, 0.1);
  color: #e4c3ff;
  font-size: 0.68rem;
}

.recent-modal {
  position: fixed;
  inset: 0;
  z-index: 122;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 4rem);
  visibility: hidden;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(157, 34, 255, 0.1), transparent 34rem),
    radial-gradient(circle at 35% 62%, rgba(0, 245, 229, 0.08), transparent 28rem),
    rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.recent-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.recent-modal-panel {
  position: relative;
  width: min(42rem, 90vw);
  padding: clamp(1.35rem, 3vw, 2.2rem);
  overflow: hidden;
  border: 1px solid rgba(0, 245, 229, 0.5);
  border-radius: 0.85rem;
  background:
    linear-gradient(145deg, rgba(8, 13, 24, 0.98), rgba(3, 5, 9, 0.98)),
    rgba(0, 0, 0, 0.92);
  box-shadow: 0 0 42px rgba(157, 34, 255, 0.16), 0 2rem 7rem rgba(0, 0, 0, 0.72);
}

.recent-modal-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(157, 34, 255, 0.1), transparent 42%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 6px);
}

.recent-modal-panel > * {
  position: relative;
  z-index: 1;
}

.recent-modal-image {
  height: min(20rem, 42vh);
  margin: -0.65rem -0.65rem 1.3rem;
  overflow: hidden;
  border: 1px solid rgba(0, 245, 229, 0.22);
  border-radius: 0.65rem;
  background: rgba(2, 5, 10, 0.7);
}

.recent-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.recent-modal-kicker {
  margin: 0 0 0.45rem;
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.recent-modal-title {
  margin: 0 0 0.7rem;
  color: #f7fbff;
  font-family: Bahnschrift, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1;
}

.recent-modal-result {
  display: inline-flex;
  min-height: 1.7rem;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0.2rem 0.72rem;
  border: 1px solid rgba(0, 245, 229, 0.28);
  border-radius: 999px;
  background: rgba(0, 245, 229, 0.08);
  color: #d9ffff;
  font-size: 0.76rem;
  font-weight: 900;
}

.recent-modal-detail {
  max-width: 62ch;
  margin: 0 0 1.35rem;
  color: #cbd5e6;
  font-size: 1rem;
  line-height: 1.65;
}

.recent-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.recent-modal-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.2rem 0.65rem;
  border: 1px solid rgba(157, 34, 255, 0.35);
  border-radius: 999px;
  background: rgba(157, 34, 255, 0.12);
  color: #e4c3ff;
  font-size: 0.72rem;
  font-weight: 800;
}

.recent-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(9, 12, 20, 0.82);
  color: var(--white);
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
  padding: clamp(1.25rem, 5vw, 3rem);
}

.contact h2 {
  max-width: 16ch;
}

@keyframes glitch-one {
  0%, 90%, 100% { transform: translate(0); }
  92% { transform: translate(8px, -2px); }
  94% { transform: translate(-6px, 3px); }
}

@keyframes glitch-two {
  0%, 88%, 100% { transform: translate(0); }
  90% { transform: translate(-7px, 2px); }
  93% { transform: translate(5px, -4px); }
}

@keyframes spin {
  to { rotate: 360deg; }
}

@keyframes scan {
  0%, 100% { opacity: 0.25; transform: translateX(-12%); }
  50% { opacity: 1; transform: translateX(12%); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes boot-grid {
  0%, 100% { transform: perspective(900px) rotateX(12deg) translateY(0) scale(1.08); }
  50% { transform: perspective(900px) rotateX(12deg) translateY(1.4rem) scale(1.1); }
}

@keyframes boot-block {
  0%, 100% { opacity: 0.14; transform: translateY(0) scale(1); }
  50% { opacity: 0.72; transform: translateY(-0.55rem) scale(1.08); }
}

@keyframes boot-card {
  0% { opacity: 0; transform: translateY(2rem) scale(0.82); filter: blur(8px); }
  22% { opacity: 1; filter: blur(0); }
  70% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-0.25rem) scale(1.03); }
}

@keyframes boot-glitch {
  0%, 74%, 100% { translate: 0 0; }
  76% { translate: 8px -3px; }
  78% { translate: -6px 2px; }
  80% { translate: 3px 0; }
}

@keyframes logo-split-cyan {
  0%, 72%, 100% { opacity: 0; transform: translate(0, 0); clip-path: inset(0 0 0 0); }
  74% { opacity: 0.72; transform: translate(13px, -4px); clip-path: inset(7% 0 62% 0); }
  77% { opacity: 0.54; transform: translate(-9px, 5px); clip-path: inset(58% 0 12% 0); }
  80% { opacity: 0; transform: translate(0, 0); }
}

@keyframes logo-split-violet {
  0%, 68%, 100% { opacity: 0; transform: translate(0, 0); clip-path: inset(0 0 0 0); }
  70% { opacity: 0.62; transform: translate(-12px, 4px); clip-path: inset(36% 0 34% 0); }
  73% { opacity: 0.44; transform: translate(9px, -2px); clip-path: inset(0 0 72% 0); }
  76% { opacity: 0; transform: translate(0, 0); }
}

@keyframes brand-glitch-cyan {
  0%, 82%, 100% { opacity: 0; transform: translate(0, 0); clip-path: inset(0 0 0 0); }
  84% { opacity: 0.78; transform: translate(0.18rem, -0.03rem); clip-path: inset(0 0 52% 0); }
  86% { opacity: 0.52; transform: translate(-0.12rem, 0.04rem); clip-path: inset(58% 0 0 0); }
  88% { opacity: 0; transform: translate(0, 0); }
}

@keyframes brand-glitch-violet {
  0%, 76%, 100% { opacity: 0; transform: translate(0, 0); clip-path: inset(0 0 0 0); }
  78% { opacity: 0.66; transform: translate(-0.16rem, 0.04rem); clip-path: inset(42% 0 30% 0); }
  80% { opacity: 0.42; transform: translate(0.12rem, -0.03rem); clip-path: inset(0 0 70% 0); }
  82% { opacity: 0; transform: translate(0, 0); }
}

@keyframes target-sweep {
  0%, 100% { transform: translate(0, 0); opacity: 0.4; }
  50% { transform: translate(3rem, -1.3rem); opacity: 1; }
}

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

@media (max-width: 980px) {
  .hero,
  .split,
  .ops,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .section-heading {
    display: grid;
  }

  .team-heading {
    display: grid;
    grid-template-columns: 1fr;
  }

  .team-heading p:last-child {
    margin-left: 0;
  }

}

@media (max-width: 760px) {
  .photo-modal-panel {
    grid-template-columns: 1fr;
    width: min(34rem, 92vw);
    max-height: 88vh;
    overflow-y: auto;
  }

  .modal-photo-frame {
    min-height: 18rem;
    max-height: 22rem;
  }

  .modal-profile {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  nav a {
    padding-inline: 0.55rem;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.8rem);
  }

  .domain-grid,
  .recent-grid,
  .timeline ol,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .photo-shell {
    height: 18rem;
  }

  .photo-modal {
    padding: 0.8rem;
  }

  .domain-modal {
    padding: 0.8rem;
  }

  .domain-modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-team-card {
    grid-template-columns: 2.65rem 1fr;
  }

  .modal-team-card i {
    display: none;
  }

  .cursor-glow {
    display: none;
  }
}
