:root {
  --bg: #05070d;
  --bg-soft: #0d1321;
  --panel: rgba(12, 18, 29, 0.78);
  --panel-strong: rgba(8, 13, 23, 0.92);
  --line: rgba(190, 214, 255, 0.13);
  --line-strong: rgba(190, 214, 255, 0.24);
  --text: #eef4ff;
  --muted: #92a0bc;
  --accent: #67f7d4;
  --accent-2: #ff9d63;
  --accent-3: #7db4ff;
  --shadow: 0 32px 120px rgba(2, 8, 19, 0.55);
  --display: "Syne", sans-serif;
  --mono: "DM Mono", monospace;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max-width: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--display);
  background:
    radial-gradient(circle at 15% 20%, rgba(103, 247, 212, 0.14), transparent 24%),
    radial-gradient(circle at 85% 15%, rgba(125, 180, 255, 0.13), transparent 28%),
    radial-gradient(circle at 50% 120%, rgba(255, 157, 99, 0.12), transparent 32%),
    linear-gradient(180deg, #04060b 0%, #060a12 45%, #04060b 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 86%);
  opacity: 0.2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

button,
a,
.project-card,
.metric-card,
.signature-card {
  -webkit-tap-highlight-color: transparent;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(103, 247, 212, 0.15), transparent 22%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.98), rgba(5, 7, 13, 0.99));
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-loader::before,
.site-loader::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
}

.site-loader::before {
  width: 340px;
  height: 340px;
  background: rgba(103, 247, 212, 0.14);
}

.site-loader::after {
  width: 240px;
  height: 240px;
  background: rgba(125, 180, 255, 0.12);
}

.site-loader-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), 720px);
  text-align: center;
}

.site-loader-kicker,
.site-loader-meta,
.nav-links a,
.nav-badge,
.eyebrow,
.section-kicker,
.metric-label,
.project-status,
.project-number,
.timeline-year,
.rotator-label,
.signature-label,
.stage-card-label,
.stage-screen-label,
.panel-mini {
  font-family: var(--mono);
  letter-spacing: 0.08em;
}

.site-loader-kicker,
.site-loader-meta {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent);
}

.site-loader-title {
  margin: 1rem 0;
  font-size: clamp(2.8rem, 9vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

body.is-loaded .site-loader {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  pointer-events: none;
}

#ambient-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 3px;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  box-shadow: 0 0 24px rgba(103, 247, 212, 0.45);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  padding: 1rem 1.25rem 0;
}

.site-nav {
  width: min(calc(100% - 0rem), var(--max-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  backdrop-filter: blur(18px);
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    transform 220ms ease;
}

.site-nav.scrolled {
  background: rgba(5, 8, 14, 0.72);
  border-color: var(--line);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 6px rgba(103, 247, 212, 0.12);
}

.nav-links {
  display: flex;
  gap: 1.35rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.nav-badge:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

main {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 7rem 0 1rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 2rem;
  align-items: center;
  padding-top: 3rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 4rem auto auto -10%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103, 247, 212, 0.18), transparent 66%);
  filter: blur(18px);
  pointer-events: none;
}

.hero::after {
  content: "SYED";
  position: absolute;
  top: 10%;
  right: 0;
  font-size: clamp(6rem, 16vw, 13rem);
  line-height: 0.9;
  letter-spacing: -0.12em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(190, 214, 255, 0.08);
  pointer-events: none;
}

.eyebrow,
.section-kicker,
.metric-label,
.project-status,
.project-number,
.timeline-year,
.rotator-label,
.signature-label {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title,
.section-title,
.contact-card h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.hero-title {
  max-width: 11ch;
  font-size: clamp(4rem, 10vw, 8.7rem);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 45%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead,
.manifesto-card p,
.principle-card p,
.project-copy,
.timeline-item p,
.system-card p,
.contact-copy,
.signature-copy,
.signature-card p,
.stage-screen p,
.stage-card strong {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy > * + * {
  margin-top: 1.2rem;
}

.hero-lead {
  max-width: 62ch;
  font-size: 1rem;
}

.hero-rotator {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 2.9rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 11, 19, 0.52);
  width: fit-content;
}

.rotator-text {
  font-weight: 700;
  color: var(--text);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #97ffea);
  color: #041015;
  box-shadow: 0 16px 40px rgba(103, 247, 212, 0.18);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(8, 12, 21, 0.62);
  color: var(--text);
}

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

.metric-card,
.hero-stage,
.manifesto-card,
.principle-card,
.project-card,
.system-card,
.contact-card,
.signature-feature,
.signature-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(14, 19, 30, 0.92), rgba(8, 12, 20, 0.88));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.metric-card {
  padding: 1.4rem 1.2rem;
}

.metric-card::before,
.hero-stage::before,
.manifesto-card::before,
.principle-card::before,
.project-card::before,
.system-card::before,
.contact-card::before,
.signature-feature::before,
.signature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(103, 247, 212, 0.11),
    transparent 26%,
    transparent 68%,
    rgba(255, 157, 99, 0.08)
  );
  opacity: 0.52;
}

.metric-value {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.metric-label {
  margin-top: 0.5rem;
  color: var(--muted);
  line-height: 1.55;
  text-transform: none;
}

.hero-stage {
  min-height: 620px;
  padding: 1.2rem;
  background:
    radial-gradient(circle at top right, rgba(125, 180, 255, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(12, 18, 30, 0.96), rgba(8, 12, 21, 0.92));
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    380px circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(103, 247, 212, 0.14),
    transparent 55%
  );
  pointer-events: none;
  opacity: 0.85;
}

.stage-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(22px);
  pointer-events: none;
}

.stage-glow-a {
  top: -12%;
  right: -12%;
  width: 260px;
  height: 260px;
  background: rgba(125, 180, 255, 0.16);
}

.stage-glow-b {
  bottom: -12%;
  left: -12%;
  width: 260px;
  height: 260px;
  background: rgba(103, 247, 212, 0.12);
}

.stage-frame {
  position: relative;
  z-index: 1;
  min-height: 100%;
  border-radius: calc(var(--radius-lg) - 6px);
  padding: 1.1rem;
  border: 1px solid rgba(190, 214, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(13, 18, 29, 0.62), rgba(8, 12, 20, 0.28)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.stage-window {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(190, 214, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(17, 24, 37, 0.94), rgba(10, 14, 23, 0.94));
  overflow: hidden;
}

.stage-window-bar {
  display: flex;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(190, 214, 255, 0.08);
}

.stage-window-bar span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.stage-window-bar span:nth-child(1) {
  background: rgba(255, 157, 99, 0.7);
}

.stage-window-bar span:nth-child(2) {
  background: rgba(103, 247, 212, 0.7);
}

.stage-window-bar span:nth-child(3) {
  background: rgba(125, 180, 255, 0.7);
}

.stage-window-body {
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
}

.stage-screen {
  min-height: 300px;
  padding: 1.35rem;
  border-radius: 22px;
  border: 1px solid rgba(190, 214, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(103, 247, 212, 0.12), transparent 42%),
    radial-gradient(circle at top right, rgba(125, 180, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(15, 20, 31, 0.98), rgba(10, 14, 23, 0.94));
}

.stage-screen-label,
.stage-card-label {
  margin: 0 0 0.8rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--accent);
}

.stage-screen h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.stage-screen p {
  max-width: 36ch;
  margin: 0;
}

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

.stage-card {
  min-height: 126px;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(190, 214, 255, 0.08);
  background: linear-gradient(180deg, rgba(18, 24, 37, 0.86), rgba(11, 15, 24, 0.96));
}

.stage-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
}

.stage-float {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  animation: drift 7s ease-in-out infinite;
}

.stage-float-a {
  top: 2rem;
  right: -1rem;
}

.stage-float-b {
  bottom: 2.2rem;
  left: -0.8rem;
  animation-delay: -2s;
}

.stage-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(190, 214, 255, 0.12);
  background: rgba(9, 14, 24, 0.82);
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.stage-vertical-note {
  position: absolute;
  top: 52%;
  right: -3.5rem;
  transform: rotate(90deg);
  transform-origin: center;
  color: rgba(238, 244, 255, 0.48);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.marquee-band {
  position: relative;
  z-index: 2;
  margin: 2rem 0 1rem;
  padding: 1rem 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.marquee-band::before,
.marquee-band::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6rem;
  z-index: 1;
  pointer-events: none;
}

.marquee-band::before {
  left: 0;
  background: linear-gradient(90deg, rgba(5, 7, 13, 1), rgba(5, 7, 13, 0));
}

.marquee-band::after {
  right: 0;
  background: linear-gradient(270deg, rgba(5, 7, 13, 1), rgba(5, 7, 13, 0));
}

.marquee-track {
  display: inline-flex;
  gap: 2rem;
  min-width: max-content;
  padding-left: 2rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--muted);
  animation: marqueeMove 24s linear infinite;
}

.marquee-track span::before {
  content: "/";
  margin-right: 2rem;
  color: var(--accent);
}

@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.signature-section {
  position: relative;
}

.signature-section::before {
  content: "SIGNATURE";
  position: absolute;
  top: 0.4rem;
  left: 0;
  font-size: clamp(4rem, 13vw, 10rem);
  line-height: 1;
  letter-spacing: -0.12em;
  color: rgba(190, 214, 255, 0.045);
  pointer-events: none;
}

.signature-header,
.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-title {
  max-width: 14ch;
  font-size: clamp(2.4rem, 5.8vw, 5rem);
}

.section-meta {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.signature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1rem;
}

.signature-feature {
  padding: 2rem;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    radial-gradient(circle at top right, rgba(125, 180, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(14, 19, 30, 0.95), rgba(8, 12, 20, 0.9));
}

.signature-quote {
  margin: 0 0 1.2rem;
  max-width: 16ch;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.signature-copy {
  margin: 0;
  max-width: 52ch;
}

.signature-stack {
  display: grid;
  gap: 1rem;
}

.signature-card {
  padding: 1.4rem;
  min-height: 114px;
}

.signature-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.25rem;
}

.manifesto-card,
.contact-card {
  padding: 1.9rem;
}

.manifesto-line {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.04em;
}

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

.principle-card {
  padding: 1.5rem;
  min-height: 220px;
}

.principle-card:last-child {
  grid-column: span 2;
}

.principle-number {
  margin: 0 0 0.9rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent-2);
}

.principle-card h3,
.timeline-item h3 {
  margin: 0 0 0.8rem;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

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

.project-card {
  min-height: 360px;
  padding: 1.25rem;
  grid-column: span 4;
  transform-style: preserve-3d;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.project-card:hover,
.signature-card:hover,
.system-card:hover,
.principle-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.34);
}

.project-card-featured {
  grid-column: span 6;
  grid-row: span 2;
}

.project-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    260px circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(103, 247, 212, 0.15),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 220ms ease;
}

.project-card:hover .project-spotlight {
  opacity: 1;
}

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-visual {
  position: relative;
  height: 146px;
  margin-bottom: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(190, 214, 255, 0.08);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, rgba(16, 22, 35, 0.96), rgba(8, 12, 20, 0.92));
}

.project-card-featured .project-visual {
  height: 220px;
}

.project-visual span {
  position: absolute;
  border-radius: 999px;
  opacity: 0.9;
}

.project-visual span:nth-child(1) {
  inset: auto auto 18px 18px;
  width: 58%;
  height: 14px;
  background: linear-gradient(90deg, rgba(103, 247, 212, 0.82), rgba(103, 247, 212, 0.16));
}

.project-visual span:nth-child(2) {
  inset: 18px 18px auto auto;
  width: 34%;
  height: 34%;
  background: radial-gradient(circle, rgba(125, 180, 255, 0.56), transparent 68%);
  filter: blur(1px);
}

.project-visual span:nth-child(3) {
  inset: 34% auto auto 18px;
  width: 38%;
  height: 38%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.project-ether .project-visual {
  background:
    radial-gradient(circle at 75% 22%, rgba(125, 180, 255, 0.26), transparent 26%),
    linear-gradient(135deg, rgba(103, 247, 212, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(14, 21, 33, 0.96), rgba(7, 11, 18, 0.94));
}

.project-boltbot .project-visual {
  background:
    linear-gradient(135deg, rgba(255, 157, 99, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(16, 22, 35, 0.96), rgba(8, 12, 20, 0.92));
}

.project-decopy .project-visual {
  background:
    linear-gradient(135deg, rgba(125, 180, 255, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(16, 22, 35, 0.96), rgba(8, 12, 20, 0.92));
}

.project-worldmonitor .project-visual {
  background:
    linear-gradient(135deg, rgba(103, 247, 212, 0.12), transparent 36%),
    radial-gradient(circle at 80% 30%, rgba(255, 157, 99, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(16, 22, 35, 0.96), rgba(8, 12, 20, 0.92));
}

.project-detectify .project-visual,
.project-esp32 .project-visual,
.project-ops .project-visual,
.project-extension .project-visual {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 36%),
    linear-gradient(180deg, rgba(16, 22, 35, 0.96), rgba(8, 12, 20, 0.92));
}

.project-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.project-number {
  color: rgba(238, 244, 255, 0.42);
}

.project-status {
  color: var(--accent-2);
}

.project-card h3 {
  margin: 0.6rem 0 0.7rem;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.project-copy {
  margin: 0;
  font-size: 0.95rem;
}

.project-points {
  margin: 1rem 0 1.2rem;
  padding-left: 1rem;
}

.project-points li + li {
  margin-top: 0.55rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.project-tags span {
  padding: 0.48rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text);
}

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

.system-card {
  padding: 1.5rem;
  min-height: 220px;
}

.system-title {
  margin: 0 0 0.8rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
}

.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 118px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), rgba(103, 247, 212, 0.06));
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  padding: 1.1rem 0 1.1rem 1.7rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  left: 112px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(103, 247, 212, 0.45);
}

.contact-card {
  padding: 2.2rem;
  text-align: center;
  background:
    radial-gradient(circle at top center, rgba(125, 180, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(13, 18, 30, 0.96), rgba(8, 12, 20, 0.94));
}

.contact-card h2 {
  max-width: 11ch;
  margin: 0.55rem auto 1rem;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}

.contact-copy {
  max-width: 58ch;
  margin: 0 auto 1.8rem;
}

.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.76rem;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 80ms;
}

.reveal-delay-2 {
  transition-delay: 160ms;
}

.reveal-delay-3 {
  transition-delay: 240ms;
}

.cursor-shell {
  display: none;
}

@media (pointer: fine) and (hover: hover) {
  body {
    cursor: none;
  }

  .cursor-shell {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 130;
    pointer-events: none;
    mix-blend-mode: screen;
  }

  .cursor-dot,
  .cursor-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 999px;
  }

  .cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(103, 247, 212, 0.55);
  }

  .cursor-ring {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(103, 247, 212, 0.7);
    transition:
      width 180ms ease,
      height 180ms ease,
      opacity 180ms ease;
    opacity: 0.7;
  }

  body.cursor-hover .cursor-ring {
    width: 54px;
    height: 54px;
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .hero,
  .signature-grid,
  .about-layout,
  .systems-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .signature-grid {
    gap: 1.25rem;
  }

  .hero-title,
  .section-title,
  .contact-card h2 {
    max-width: 100%;
  }

  .hero-stage,
  .signature-feature {
    min-height: auto;
  }

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

  .project-card,
  .project-card-featured {
    grid-column: span 1;
    grid-row: span 1;
  }

  .timeline::before {
    left: 24px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding-left: 3rem;
  }

  .timeline-item::before {
    left: 18px;
  }
}

@media (max-width: 760px) {
  main,
  .site-footer {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .site-header {
    padding: 0.7rem 0.5rem 0;
  }

  .site-nav {
    border-radius: 24px;
    padding: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .nav-links {
    order: 3;
    flex-wrap: wrap;
    gap: 0.9rem 1rem;
  }

  .nav-badge {
    width: 100%;
    text-align: center;
  }

  .section {
    padding-top: 5rem;
  }

  .hero {
    min-height: auto;
    padding-top: 2.5rem;
  }

  .hero::after,
  .signature-section::before,
  .stage-vertical-note,
  .stage-float {
    display: none;
  }

  .hero-metrics,
  .principles-grid,
  .projects-grid,
  .systems-grid,
  .stage-columns {
    grid-template-columns: 1fr;
  }

  .principle-card:last-child {
    grid-column: auto;
  }

  .stage-window-body,
  .manifesto-card,
  .contact-card,
  .signature-feature {
    padding: 1.25rem;
  }

  .project-card,
  .project-card-featured {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 2rem;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
