/* Mission-control layer: project catalogue + real IONOS deployment map. */
::selection { color: #021006; background: #a1ffaf; }

.site-header::after {
  position: absolute;
  right: 88px;
  bottom: -1px;
  left: 88px;
  height: 1px;
  opacity: .8;
  background: linear-gradient(90deg, transparent, rgba(112, 255, 144, .72), transparent);
  content: "";
}

.hero-copy { position: relative; }
.hero-copy::after {
  position: absolute;
  top: 14px;
  left: -18px;
  width: 2px;
  height: calc(100% - 30px);
  opacity: .58;
  background: linear-gradient(transparent, #79ff98 20%, #79ff98 76%, transparent);
  box-shadow: 0 0 15px rgba(121, 255, 152, .5);
  content: "";
}

.hero h1::before {
  display: block;
  margin-bottom: 8px;
  color: #75d988;
  content: "// PROJECT_DIRECTORY";
  font: 500 8px "DM Mono", monospace;
  letter-spacing: .12em;
}

.signal-panel { position: relative; }
.signal-panel .panel-top::after {
  margin-left: 6px;
  color: #67cb7b;
  content: "[ NODE: IONOS-01 ]";
  font: 7px "DM Mono", monospace;
  letter-spacing: .06em;
}

.project-card { isolation: isolate; }
.project-card .card-top { padding-bottom: 10px; border-bottom: 1px solid rgba(112, 255, 144, .1); }
.project-card .visual { position: relative; }
.project-card .visual::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .23;
  background: repeating-linear-gradient(180deg, rgba(142, 255, 165, .13) 0 1px, transparent 1px 4px);
  pointer-events: none;
  content: "";
}

.project-card:hover .visual::after { opacity: .38; }
.open-link::before {
  margin-right: 8px;
  color: #74ff94;
  content: ">_";
  font: 700 11px "DM Mono", monospace;
}

.registry {
  position: relative;
  margin-top: 30px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(116, 255, 148, .25);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 12%, rgba(86, 255, 118, .14), transparent 20rem),
    linear-gradient(135deg, rgba(7, 32, 14, .9), rgba(2, 10, 5, .95));
  box-shadow: inset 0 1px rgba(226, 255, 230, .07), 0 26px 70px rgba(0, 0, 0, .18);
}

.registry::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0 8%, #8aff9f 26%, rgba(138, 255, 159, .28) 48%, #8aff9f 72%, transparent 92%);
  box-shadow: 0 0 14px rgba(109, 255, 140, .66);
  content: "";
}

.registry::after {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: radial-gradient(rgba(137, 255, 158, .7) .7px, transparent .7px);
  background-size: 17px 17px;
  mask-image: linear-gradient(90deg, transparent, black 20% 82%, transparent);
  pointer-events: none;
  content: "";
}

.registry-heading, .registry-console { position: relative; z-index: 1; }
.registry-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .6fr); gap: 30px; align-items: end; }
.registry-heading .kicker { margin-bottom: 12px; }
.registry-heading h2 { max-width: 12ch; margin: 0; color: #eaffea; font-size: clamp(2.1rem, 4.2vw, 4.15rem); line-height: .98; letter-spacing: -.07em; }
.registry-heading h2 em { color: #85ffa0; font-style: normal; text-shadow: 0 0 24px rgba(99, 255, 132, .25); }
.registry-heading > p { max-width: 38ch; margin: 0 0 4px; color: #9ec3a5; font-size: .92rem; line-height: 1.58; }

.registry-console {
  margin-top: 25px;
  overflow: hidden;
  border: 1px solid rgba(119, 255, 150, .2);
  border-radius: 10px;
  background: rgba(0, 7, 3, .56);
}

.registry-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  border-bottom: 1px solid rgba(112, 255, 145, .14);
  color: #8ac998;
  background: rgba(105, 255, 136, .055);
  font: 500 9px "DM Mono", monospace;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.registry-console-head > span:last-child { color: #8cff9f; }
.registry-grid { display: grid; }

.registry-row {
  display: grid;
  grid-template-columns: 38px minmax(160px, 1fr) minmax(240px, 1.28fr) 66px;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 9px 13px;
  border-bottom: 1px solid rgba(113, 255, 146, .1);
  transition: background .2s ease, transform .2s ease;
}

.registry-row:last-child { border-bottom: 0; }
.registry-row:hover { z-index: 1; background: rgba(82, 255, 116, .075); transform: translateX(3px); }
.registry-index { color: #589b67; font: 500 10px "DM Mono", monospace; }
.registry-project { min-width: 0; }
.registry-project strong { display: block; overflow: hidden; color: #e3ffe7; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.registry-project small { display: block; overflow: hidden; margin-top: 3px; color: #79a984; font: 9px "DM Mono", monospace; text-overflow: ellipsis; white-space: nowrap; }
.registry-path { overflow: hidden; color: #a9e7b3; font: 9px "DM Mono", monospace; letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; }
.registry-host { justify-self: end; padding: 5px 7px; border: 1px solid rgba(118, 255, 150, .27); border-radius: 5px; color: #a6ffb8; background: rgba(75, 255, 111, .06); font: 700 8px "DM Mono", monospace; letter-spacing: .06em; }

@media (max-width: 680px) {
  .site-header::after { right: 14px; left: 14px; }
  .hero-copy::after { display: none; }
  .hero h1::before { margin-bottom: 6px; font-size: 7px; }
  .signal-panel .panel-top::after { display: none; }
  .registry { margin-top: 20px; padding: 19px 14px; border-radius: 11px; }
  .registry-heading { display: block; }
  .registry-heading .kicker { margin-bottom: 9px; }
  .registry-heading h2 { font-size: clamp(2rem, 10vw, 2.7rem); }
  .registry-heading > p { margin-top: 12px; font-size: .82rem; }
  .registry-console { margin-top: 18px; }
  .registry-console-head { padding: 9px 10px; font-size: 8px; }
  .registry-row { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 7px 9px; min-height: 0; padding: 11px 10px; }
  .registry-project strong { font-size: 12px; }
  .registry-project small { font-size: 8px; }
  .registry-path { grid-column: 2 / -1; overflow: visible; color: #96d6a2; font-size: 8px; white-space: normal; overflow-wrap: anywhere; }
  .registry-host { align-self: start; padding: 4px 5px; font-size: 7px; }
}
