/* SYSTEM PAGE SPECIFIC STYLING */

.system-home {
  min-height: 100vh;
}

.system-emblem {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.system-emblem img {
  width: 96px;
  height: auto;
  opacity: 0.9;
}



.system-nav {
  margin-top: 3rem;
}





.nav-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  opacity: 0.7;
}


.nav-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
    transform: translateY(20px);
}


.nav-panel h2 {
    letter-spacing: 0.18em;
  font-size: 1.1rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.nav-panel p {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}


.nav-media {
  width: 100%;
  /* max-width: 220px; */
  /* aspect-ratio: 1 / 1; */
  overflow: hidden;
  border-radius: var(--radius-md);
}

.nav-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  filter: contrast(1.05) brightness(0.9);
}




.system-overview {
  max-width: 680px;
  margin: 2rem auto;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.system-panels {
  margin-top: 2.5rem;
  gap: 2rem;
}

.system-panel {
  background: var(--bg-archive);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-lg);
  /* padding: 1.5rem; */
  transition: background 0.3s ease, border-color 0.3s ease;
}

.system-panel:hover {
  border-color: var(--border-glow);
  background: rgba(102,242,255,0.05);
}

.system-panel img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  filter: contrast(1.02) brightness(0.95);
}

.system-panel h2 {
  font-size: 0.9rem;
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-panel p {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .system-panels {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .system-panels {
    grid-template-columns: 1fr;
  }
}




/* .system-header { */
  /* position: relative; */
  /* display: grid; */
  /* grid-template-columns: 1fr auto 1fr; */
  /* align-items: center; */
  /* padding: 3rem 4rem 1.5rem; */
  /* padding-top: 0px; */
/* } */

.system-mark {
  grid-column: 2 / 3;
  justify-self: center;
  margin-bottom: 0.5rem;
}

.system-title {
  grid-column: 1 / 4;
  margin-top: 0.5rem;
}

.system-mark img {
  width: 180px;
  opacity: 0.95;
}


.system-title h1 {
  font-size: 0.9rem;
  letter-spacing: 0.35em;
  text-align: center;
  font-weight: 400;
}


.system-status {
  text-align: right;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  opacity: 0.7;
}


.hero-void {
  /* height: 18vh; */
  height: revert;
}



.system-nav {
  max-width: 1100px;
  margin: 0 auto 4rem;
}




.system-title h1 {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: #e6ebef;
}


.system-status {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(207,214,221,0.65);
}


.system-control {
  margin-top: 1rem;
  /* text-align: center; */
}

.system-control a {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--link-muted);
  text-decoration: none;
}

.system-control a:hover {
  color: var(--accent-cyan);
}



.system-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* padding-top: 4rem; */
}

img.system-logo {
  max-width: 256px;
}


/* .system-status {
  margin-top: 1rem;
  font-family: 'Blinker', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.55;
}

.system-archive-status {
  
  font-family: 'Blinker', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.55;
} */

.system-status,
.system-archive-status {
  font-family: 'Blinker', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-top: 0.5rem; /* small spacing from the intro */
  text-align: center;
}


/* 
.system-intro {
  max-width: 52ch;
  margin-top: 1rem;
  text-align: left;
  font-family: 'Blinker', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.85;
} */


.system-intro {
  font-family: 'Blinker', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.5;
  color: #ccc; /* subtle, readable */
  max-width: 40em;
  margin: 0.5rem 0 1.5rem 0;
  text-align: center;
}

@media (max-width: 450px) {
  .system-home h1 {
    font-size: large;
  }
}


/* ========================================
   System Control
   ======================================== */

.system-control {
  margin: 3rem 0 2rem;
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(0, 208, 255, 0.2);
}

.system-control a {
  display: inline-block;
  color: var(--accent-blue);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.1em;
  padding: 0.75rem 2rem;
  border: 1px solid rgba(0, 208, 255, 0.4);
  transition: all 0.3s ease;
}

.system-control a:hover {
  background: rgba(0, 208, 255, 0.1);
  border-color: rgba(0, 208, 255, 0.7);
  box-shadow: 0 0 20px rgba(0, 208, 255, 0.3);
}

/* Lightbox — global (moved from diagnostics.css) */
.dm-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.9);
  z-index: 1200;
}
.dm-lightbox.open {
  display: flex;
}
.dm-lightbox-inner {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dm-lightbox-img {
  max-width: 100%;
  max-height: 100%;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.06);
}
.dm-lightbox-close,
.dm-lightbox-prev,
.dm-lightbox-next {
  position: absolute;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.9);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.25rem 0.6rem;
  line-height: 1;
}
.dm-lightbox-close { top: 1rem; right: 1.2rem; font-size: 2.6rem; }
.dm-lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.dm-lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.dm-lightbox-caption {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.2rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  opacity: 0.95;
}

