@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&family=Kalam:wght@400;700&display=swap');

:root {
  --bg: #07141D;
  --panel: #0D2630;
  --panel-soft: rgba(13, 38, 48, 0.82);
  --cyan: #65D7DB;
  --seafoam: #A8E6D2;
  --ivory: #E9F3EF;
  --muted: #849DA3;
  --yellow: #F2D45C;
  --amber: #E8B75B;
  --red: #C85C66;
  --border: rgba(101, 215, 219, 0.45);
  --shadow: 0 0 28px rgba(101, 215, 219, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(7, 20, 29, 0.95), rgba(7, 20, 29, 0.97)),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(101,215,219,0.035) 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(101,215,219,0.025) 40px);
  color: var(--ivory);
  font-family: "IBM Plex Sans", sans-serif;
  min-height: 100vh;
}

a {
  color: inherit;
}

.hidden {
  display: none !important;
}

.cyan {
  color: var(--cyan);
}

.yellow {
  color: var(--yellow);
}

.red {
  color: var(--red) !important;
}

.boot-screen {
  position: fixed;
  inset: 0;
  background: #030b10;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.boot-terminal {
  width: min(760px, 100%);
  font-family: "IBM Plex Mono", monospace;
}

.system-label,
.eyebrow,
.field-label,
.card-number {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.system-label {
  color: var(--cyan);
}

.boot-lines p {
  margin: 8px 0;
  color: var(--muted);
}

.boot-lines .ok {
  color: var(--seafoam);
}

.boot-lines .warn {
  color: var(--amber);
}

.boot-logo {
  margin-top: 36px;
  text-align: center;
}

.anchor-bloom {
  font-family: "IBM Plex Mono", monospace;
  margin: 0;
  line-height: 1.15;
}

.anchor-bloom.large {
  font-size: clamp(1.4rem, 4vw, 2.4rem);
}

.anchor-bloom.tiny {
  font-size: 1rem;
}

.system-status {
  color: var(--cyan);
}

.warning-text {
  color: var(--amber);
}

.yellow-note,
.dr-l-note {
  color: var(--yellow);
}

.dr-l-note {
  font-family: "Kalam", cursive;
  font-size: 1.05rem;
}

.terminal-button,
.prime-button {
  appearance: none;
  border: 1px solid var(--cyan);
  background: transparent;
  color: var(--cyan);
  padding: 12px 18px;
  font: 600 0.88rem "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: 160ms ease;
}

.terminal-button:hover,
.terminal-button:focus-visible {
  background: rgba(101, 215, 219, 0.12);
  box-shadow: 0 0 20px rgba(101, 215, 219, 0.15);
  outline: none;
}

.site {
  animation: siteIn 550ms ease both;
}

@keyframes siteIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(7, 20, 29, 0.91);
  border-bottom: 1px solid rgba(101, 215, 219, 0.22);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ivory);
  font: 600 0.92rem "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font: 500 0.73rem "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
  transition: 150ms ease;
}

.nav-links a:hover {
  color: var(--cyan);
}

.nav-links .lock-link:hover {
  color: var(--red);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 90px 0;
}

.hero {
  min-height: calc(100vh - 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
}

.panel {
  background: var(--panel-soft);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
}

.panel::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: -1px;
  top: -1px;
  border-left: 2px solid var(--cyan);
  border-top: 2px solid var(--cyan);
}

.scan-panel {
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.scan-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(101,215,219,0.04) 49%,
    rgba(101,215,219,0.13) 50%,
    rgba(101,215,219,0.04) 51%,
    transparent 100%
  );
  background-size: 100% 14px;
  pointer-events: none;
  opacity: 0.35;
}

.portrait-placeholder {
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
  color: var(--muted);
}

.portrait-code {
  display: block;
  color: var(--cyan);
  margin-bottom: 8px;
}

.portrait-sub {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
}

.eyebrow {
  color: var(--cyan);
  font-size: 0.76rem;
  margin-bottom: 12px;
}

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

h1 {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
}

h2 {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(2rem, 5vw, 4.2rem);
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

h3 {
  font-family: "IBM Plex Mono", monospace;
}

.roles {
  color: var(--seafoam);
  font: 500 0.84rem "IBM Plex Mono", monospace;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.status-grid {
  display: grid;
  gap: 20px;
  margin: 38px 0;
}

.status-grid > div {
  display: grid;
  gap: 5px;
}

.field-label {
  color: var(--muted);
  font-size: 0.7rem;
}

.field-value {
  font-family: "IBM Plex Mono", monospace;
  color: var(--ivory);
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--seafoam);
  box-shadow: 0 0 12px rgba(168, 230, 210, 0.75);
  margin-right: 8px;
}

.inline-note {
  margin-top: 5px;
}

.split-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  gap: 70px;
}

.body-copy {
  max-width: 720px;
  font-size: 1.12rem;
  line-height: 1.8;
}

.muted {
  color: var(--muted);
}

.center-copy {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.dossier {
  padding: 26px;
}

.dossier-row {
  padding: 15px 0;
  display: grid;
  gap: 6px;
  border-bottom: 1px solid rgba(101, 215, 219, 0.12);
}

.dossier-row:last-child {
  border-bottom: 0;
}

.dossier-row span,
.dossier-row small {
  color: var(--muted);
  font: 0.7rem "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
}

.dossier-row strong {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
}

.curiosity small {
  color: var(--amber);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.database-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--border);
  background: rgba(13, 38, 48, 0.6);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: 170ms ease;
}

.database-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  background: rgba(13, 38, 48, 0.92);
  box-shadow: 0 0 28px rgba(101, 215, 219, 0.1);
}

.database-card h3 {
  margin: 22px 0 8px;
}

.database-card p {
  color: var(--muted);
  margin: 0;
}

.card-action {
  margin-top: auto;
  padding-top: 28px;
  color: var(--cyan);
  font: 0.75rem "IBM Plex Mono", monospace;
}

.classified-card {
  border-color: rgba(200, 92, 102, 0.48);
}

.classified-card:hover {
  border-color: var(--red);
  box-shadow: 0 0 28px rgba(200, 92, 102, 0.12);
}

.classified-card .card-action {
  color: var(--red);
}

.classified-lock {
  font-size: 1.2rem;
}

.stats-grid,
.research-grid {
  display: grid;
  gap: 18px;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 18px;
}

.stat {
  padding: 22px;
}

.stat strong {
  display: block;
  margin-top: 14px;
  font: 600 1.7rem "IBM Plex Mono", monospace;
}

.progress {
  height: 6px;
  background: rgba(101, 215, 219, 0.1);
  margin-top: 18px;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--cyan);
}

.research-grid {
  grid-template-columns: repeat(3, 1fr);
}

.research-card {
  padding: 28px;
  min-height: 220px;
}

.research-card p {
  color: var(--muted);
  line-height: 1.7;
}

.featured-research {
  border-color: rgba(242, 212, 92, 0.48);
}

.featured-research::before {
  border-left-color: var(--yellow);
  border-top-color: var(--yellow);
}

.continuity-section {
  text-align: center;
}

.continuity-map {
  margin: 70px auto 0;
  max-width: 880px;
  font-family: "IBM Plex Mono", monospace;
}

.node {
  color: var(--cyan);
  border: 1px solid var(--border);
  background: var(--panel-soft);
  padding: 14px 18px;
  display: inline-block;
}

.original-node {
  color: var(--yellow);
  border-color: rgba(242,212,92,0.45);
}

.map-line.vertical {
  width: 1px;
  height: 50px;
  background: var(--border);
  margin: 0 auto;
}

.map-branches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
}

.map-branches::before {
  content: "";
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: -1px;
  height: 1px;
  background: var(--border);
}

.branch {
  padding-top: 24px;
  position: relative;
}

.branch::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 24px;
  background: var(--border);
}

.connection-placeholder {
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px;
  color: var(--muted);
}

.connection-placeholder > span {
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
}

.desk-section {
  text-align: center;
}

.desk {
  padding: 42px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background:
    linear-gradient(rgba(13, 38, 48, 0.88), rgba(13, 38, 48, 0.88)),
    repeating-linear-gradient(90deg, rgba(242,212,92,0.035) 0 1px, transparent 1px 80px);
}

.desk-object {
  min-height: 130px;
  border: 1px solid rgba(101, 215, 219, 0.18);
  background: rgba(7, 20, 29, 0.58);
  color: var(--ivory);
  font-size: 2rem;
  cursor: pointer;
  transition: 150ms ease;
}

.desk-object span {
  display: block;
  margin-top: 10px;
  font: 0.68rem "IBM Plex Mono", monospace;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.desk-object:hover {
  border-color: var(--yellow);
  transform: translateY(-3px);
}

.red-button {
  color: var(--red);
}

.terminal-output {
  width: min(760px, 100%);
  margin: 18px auto 0;
  padding: 16px 18px;
  border: 1px solid rgba(242,212,92,0.25);
  color: var(--yellow);
  font: 0.78rem "IBM Plex Mono", monospace;
  text-align: left;
}

.activity-log {
  overflow: hidden;
}

.activity-log > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(101, 215, 219, 0.1);
  font-family: "IBM Plex Mono", monospace;
}

.activity-log > div:last-child {
  border-bottom: 0;
}

.activity-log span {
  color: var(--muted);
}

.activity-log strong {
  font-weight: 500;
}

.security-entry {
  position: relative;
}

.security-entry em {
  grid-column: 2;
  color: var(--yellow);
  font-family: "Kalam", cursive;
  font-style: normal;
}

.prime-section {
  background:
    radial-gradient(circle at center, rgba(200,92,102,0.07), transparent 50%),
    #050607;
  border-top: 1px solid rgba(200,92,102,0.25);
  border-bottom: 1px solid rgba(200,92,102,0.25);
  padding: 110px 20px;
}

.prime-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
}

.prime-inner h2 {
  color: var(--red);
}

.prime-glitch {
  color: rgba(200,92,102,0.5);
  overflow: hidden;
}

.prime-copy {
  margin: 36px 0;
  color: var(--muted);
  line-height: 1.8;
}

.prime-copy strong {
  color: var(--ivory);
}

.prime-button {
  border-color: var(--red);
  color: var(--red);
}

.prime-button:hover {
  background: rgba(200,92,102,0.1);
}

.prime-message {
  margin: 30px auto;
  color: var(--red);
  line-height: 1.8;
}

footer {
  text-align: center;
  padding: 70px 20px 90px;
  color: var(--muted);
  font: 0.72rem "IBM Plex Mono", monospace;
}

.footer-bloom {
  margin-bottom: 18px;
}

footer .dr-l-note {
  font-size: 1rem;
}

@media (max-width: 900px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 60px;
  }

  .scan-panel {
    min-height: 420px;
  }

  .card-grid,
  .research-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 600px) {
  .section {
    width: min(100% - 24px, 1180px);
    padding: 68px 0;
  }

  .topbar {
    padding: 12px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 0.65rem;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.6rem);
  }

  .card-grid,
  .research-grid,
  .stats-grid,
  .desk,
  .map-branches {
    grid-template-columns: 1fr;
  }

  .map-branches::before,
  .branch::before,
  .map-line.vertical {
    display: none;
  }

  .branch {
    padding-top: 10px;
  }

  .activity-log > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .security-entry em {
    grid-column: 1;
  }
}
.laural-hero-image {
  width: 100%;
  height: 100%;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.laural-hero-image img {
  width: 100%;
  height: auto;
  max-height: 510px;
  object-fit: contain;
}

.art-credit {
  margin: 12px 0 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.art-credit a {
  color: var(--yellow);
  text-decoration: none;
}

.art-credit a:hover {
  text-decoration: underline;
}
