
:root {
  --ink: #f4f2ea;
  --muted: #9da3aa;
  --dim: #6e747c;
  --night: #0a0d10;
  --panel: #11161a;
  --panel-light: #161c21;
  --line: rgba(255, 255, 255, 0.1);
  --acid: #c8f55a;
  --acid-ink: #101405;
  --cyan: #85d9df;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 78% 11%, rgba(133, 217, 223, 0.1), transparent 25rem), var(--night);
  color: var(--ink);
  font-family: var(--font-geist-sans), Arial, sans-serif;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; font-weight: 650; letter-spacing: -0.03em; }
.brand-mark {
  width: 34px; height: 34px; margin-right: 11px; display: grid; place-items: center;
  border-radius: 50%; background: var(--acid); color: var(--acid-ink);
  font-family: var(--font-geist-mono), monospace; font-size: 11px; font-weight: 800; letter-spacing: -0.08em;
}
.brand-domain { color: var(--dim); font-weight: 500; }
nav { display: flex; align-items: center; gap: 30px; font-size: 14px; color: var(--muted); }
nav a:hover, footer a:hover { color: var(--ink); }
.nav-cta { color: var(--ink); display: flex; gap: 8px; align-items: center; }

.hero {
  width: min(1180px, calc(100% - 40px)); min-height: 690px; margin: 0 auto; padding: 96px 0 88px;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.7fr); gap: 80px; align-items: center;
}
.eyebrow {
  margin: 0 0 22px; color: var(--muted); font-family: var(--font-geist-mono), monospace;
  font-size: 11px; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase;
}
.live-dot {
  display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%;
  background: var(--acid); box-shadow: 0 0 0 5px rgba(200, 245, 90, 0.09);
}
.hero h1 { max-width: 780px; margin: 0; font-size: clamp(50px, 6.2vw, 88px); line-height: 0.98; letter-spacing: -0.065em; font-weight: 560; }
.hero h1 em { color: var(--acid); font-style: normal; }
.hero-lede { max-width: 650px; margin: 31px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; margin-top: 38px; flex-wrap: wrap; }
.button {
  min-height: 52px; padding: 0 21px; display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  border: 1px solid var(--line); border-radius: 3px; font-size: 14px; font-weight: 650;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.25); }
.button-primary { background: var(--acid); color: var(--acid-ink); border-color: var(--acid); }
.button-primary:hover { background: #d5ff68; }
.button-quiet { color: var(--ink); }

.signal-card {
  min-height: 430px; padding: 20px; border: 1px solid var(--line);
  background: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px), var(--panel);
  background-size: 24px 24px;
}
.signal-topline { display: flex; justify-content: space-between; color: var(--dim); font: 10px var(--font-geist-mono), monospace; letter-spacing: .12em; }
.status-chip { color: var(--acid); }
.signal-orbit { position: relative; height: 290px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(133,217,223,.22); border-radius: 50%; }
.orbit-one { width: 188px; height: 188px; animation: pulse 5s ease-in-out infinite; }
.orbit-two { width: 118px; height: 118px; border-style: dashed; animation: spin 18s linear infinite; }
.orbit-core {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--acid); color: var(--acid-ink);
  font: 800 14px var(--font-geist-mono), monospace; box-shadow: 0 0 60px rgba(200,245,90,.22);
}
.signal-orbit::before, .signal-orbit::after { content: ""; position: absolute; background: rgba(255,255,255,.08); }
.signal-orbit::before { width: 100%; height: 1px; }
.signal-orbit::after { height: 100%; width: 1px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.06); opacity: .55; } }
.signal-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 18px; }
.signal-stats div { display: flex; flex-direction: column; gap: 5px; }
.signal-stats strong { font: 600 18px var(--font-geist-mono), monospace; }
.signal-stats span { color: var(--dim); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }

.principles {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 76px;
  display: flex; align-items: center; justify-content: center; gap: clamp(24px, 7vw, 100px);
  color: var(--dim); font: 11px var(--font-geist-mono), monospace; text-transform: uppercase; letter-spacing: .14em;
}
.principles span::before { content: "+"; color: var(--acid); margin-right: 10px; }

.projects-section, .about-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 118px 0; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.section-heading h2, .about-section h2 { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.055em; font-weight: 570; }
.section-heading > p { max-width: 460px; margin: 0 0 4px auto; color: var(--muted); font-size: 16px; line-height: 1.65; }
.catalog-toolbar { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filters button {
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 99px; background: transparent;
  color: var(--muted); cursor: pointer; font-size: 12px;
}
.filters button:hover, .filters button.active { background: var(--ink); border-color: var(--ink); color: var(--night); }
.search-field { min-width: 240px; display: flex; align-items: center; gap: 9px; padding: 0 13px; border-bottom: 1px solid var(--line); color: var(--dim); }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.search-field input::placeholder { color: var(--dim); }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.project-card {
  min-height: 350px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid var(--line); background: var(--panel); transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}
.project-card:hover { transform: translateY(-3px); border-color: rgba(200,245,90,.38); background: var(--panel-light); }
.project-card.featured { background: linear-gradient(145deg, rgba(200,245,90,.09), transparent 55%), var(--panel); }
.card-topline { display: flex; justify-content: space-between; align-items: center; }
.project-index { color: var(--dim); font: 11px var(--font-geist-mono), monospace; }
.project-status { padding: 6px 8px; border: 1px solid var(--line); border-radius: 2px; color: var(--muted); font: 9px var(--font-geist-mono), monospace; letter-spacing: .08em; text-transform: uppercase; }
.status-live { color: var(--acid); border-color: rgba(200,245,90,.25); }
.project-category { color: var(--cyan); margin: 44px 0 8px; font: 10px var(--font-geist-mono), monospace; letter-spacing: .14em; text-transform: uppercase; }
.project-card h3 { margin: 0; font-size: clamp(27px, 3vw, 38px); font-weight: 560; letter-spacing: -.045em; }
.project-description { max-width: 510px; min-height: 74px; margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.card-bottom { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-top: 28px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tag-list li { padding: 6px 8px; background: rgba(255,255,255,.045); color: var(--dim); font: 9px var(--font-geist-mono), monospace; text-transform: uppercase; }
.card-link { width: 39px; height: 39px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: background 160ms ease, color 160ms ease; }
.card-link:hover { background: var(--acid); color: var(--acid-ink); }
.card-link.disabled { color: var(--dim); cursor: default; }
.card-link.disabled:hover { background: transparent; color: var(--dim); }
.empty-state { padding: 50px; display: flex; flex-direction: column; gap: 8px; text-align: center; border: 1px dashed var(--line); color: var(--muted); }

.about-section { border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about-grid > div { padding-top: 5px; }
.about-grid p { max-width: 520px; margin: 0 0 20px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.operating-notes { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 80px; border-top: 1px solid var(--line); }
.operating-notes > div { padding: 24px 24px 0 0; border-right: 1px solid var(--line); }
.operating-notes > div + div { padding-left: 24px; }
.operating-notes > div:last-child { border-right: 0; }
.operating-notes span { color: var(--acid); font: 10px var(--font-geist-mono), monospace; }
.operating-notes strong { display: block; margin-top: 26px; font-size: 19px; }
.operating-notes p { color: var(--dim); font-size: 13px; }

footer {
  width: min(1180px, calc(100% - 40px)); min-height: 130px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px;
  border-top: 1px solid var(--line); color: var(--dim); font-size: 12px;
}
.footer-brand { color: var(--ink); }

@media (max-width: 860px) {
  nav > a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 56px; padding-top: 72px; }
  .signal-card { width: min(100%, 520px); min-height: 390px; }
  .principles { padding: 22px 20px; flex-wrap: wrap; justify-content: flex-start; }
  .section-heading, .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-heading > p { margin-left: 0; }
}
@media (max-width: 640px) {
  .site-header, .hero, .projects-section, .about-section, footer { width: min(100% - 28px, 1180px); }
  .site-header { height: 74px; }
  .hero { min-height: auto; padding: 68px 0 72px; }
  .hero h1 { font-size: clamp(47px, 14vw, 66px); }
  .hero-lede { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .signal-card { min-height: 360px; }
  .signal-orbit { height: 250px; }
  .signal-stats strong { font-size: 15px; }
  .projects-section, .about-section { padding: 82px 0; }
  .catalog-toolbar { flex-direction: column; }
  .search-field { min-height: 44px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 330px; padding: 23px; }
  .operating-notes { grid-template-columns: 1fr; margin-top: 52px; }
  .operating-notes > div, .operating-notes > div + div { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  footer { padding: 40px 0; grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
