/* ========================================
   CERYS CROSS — LOOKING GLASS NODE 7734
   A page in Wonderland, Sin Angeles.
   Colors: /project-absent-gods-studios/brand/color-guide.html
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Abel&family=Jost:ital,wght@0,300;0,400;1,300&family=IBM+Plex+Mono:wght@300;400;500&display=swap');

:root {
  --ags-night: #07090b;
  --ags-surface: #0e1215;
  --ags-deep-teal: #0b3433;
  --ags-teal: #2aa3a6;
  --ags-teal-mist: #a3cfcb;
  --ags-accent: #f19e2b;       /* Amber */
  --ags-accent-deep: #d9772b;  /* Ember */
  --ags-maple: #a8453f;        /* Reserve accent, fills only. Unused. */
  --ags-bone: #ece6e3;
  --ags-dim: #8d8f93;

  --font-display: 'Abel', 'Jost', sans-serif;
  --font-body: 'Jost', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', Menlo, 'Courier New', monospace;
}

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

html { font-size: 18px; -webkit-font-smoothing: antialiased; }

body {
  background: var(--ags-night);
  color: var(--ags-bone);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--ags-teal); text-decoration: none; }
a:hover { color: var(--ags-accent); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--ags-teal); outline-offset: 3px; }

.scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .06;
  background: repeating-linear-gradient(0deg, transparent 0 1px, rgba(255,255,255,.07) 1px 2px);
}

/* ---- System bar ---- */
.sysbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .7rem 1.2rem;
  font: 400 .62rem/1.4 var(--font-mono); letter-spacing: .18em;
  color: var(--ags-dim);
  background: rgba(7, 9, 11, .92);
  border-bottom: 1px solid var(--ags-deep-teal);
}
.sysbar b { color: var(--ags-teal); font-weight: 400; }
.ice { color: var(--ags-accent); }
.ice::before { content: "● "; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* ---- Layout ---- */
.node { max-width: 760px; margin: 0 auto; padding: 3rem 1.2rem 4rem; }
section { margin: 0 0 4rem; }
.tag {
  font: 400 .66rem/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase;
  color: var(--ags-teal); margin-bottom: 1.2rem;
}

/* ---- Boot log ---- */
.boot { margin-bottom: 2.5rem; }
.boot-log {
  font: 300 .78rem/1.9 var(--font-mono);
  color: var(--ags-teal-mist);
  white-space: pre-wrap;
  min-height: 9.5em;
}
.boot-log .cursor {
  display: inline-block; width: .55em; height: 1em; vertical-align: -2px;
  background: var(--ags-teal); animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---- Cached frame (art) ---- */
.frame { margin: 0 0 4.5rem; border: 1px solid var(--ags-deep-teal); background: var(--ags-surface); }
.frame img { display: block; width: 100%; height: auto; }
.frame figcaption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem;
  padding: .6rem .9rem;
  font: 400 .6rem/1.4 var(--font-mono); letter-spacing: .18em; color: var(--ags-dim);
  border-top: 1px solid var(--ags-deep-teal);
}

/* ---- Node owner ---- */
.owner h1 {
  font: 400 clamp(2.8rem, 9vw, 4.6rem)/1 var(--font-display);
  letter-spacing: .02em; color: var(--ags-bone);
  margin-bottom: .8rem;
}
.role { font: 400 .82rem/1.8 var(--font-mono); letter-spacing: .08em; color: var(--ags-teal-mist); margin-bottom: 2.2rem; }
.owner blockquote {
  border-left: 2px solid var(--ags-accent);
  padding: .2rem 0 .2rem 1.3rem;
  font-style: italic; font-size: 1.15rem; line-height: 1.75; color: var(--ags-bone);
  max-width: 34em;
}

/* ---- Transmission queue ---- */
.queue ol { list-style: none; border-top: 1px solid var(--ags-deep-teal); }
.queue li {
  display: grid; grid-template-columns: 4.5rem 1fr auto; grid-template-areas: "id title state" "id kind state";
  align-items: baseline; column-gap: 1rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--ags-deep-teal);
}
.queue .id { grid-area: id; font: 400 .66rem/1 var(--font-mono); letter-spacing: .15em; color: var(--ags-dim); }
.queue .title { grid-area: title; font: 400 1.5rem/1.2 var(--font-display); color: var(--ags-bone); }
.queue .kind { grid-area: kind; font-size: .85rem; color: var(--ags-teal-mist); }
.queue .state { grid-area: state; font: 400 .62rem/1 var(--font-mono); letter-spacing: .18em; color: var(--ags-teal); }
.queue .note { margin-top: 1rem; font: 300 .72rem/1.6 var(--font-mono); color: var(--ags-dim); }

/* ---- Leave a trace ---- */
.trace { text-align: center; padding-top: 1rem; }
.motto { font: 400 1.35rem/1.6 var(--font-display); color: var(--ags-teal-mist); margin-bottom: 2rem; }
.btn {
  display: inline-block; padding: .75rem 1.6rem;
  font: 500 .72rem/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase;
  background: var(--ags-accent); color: var(--ags-night); border-radius: 2px;
  transition: background .2s;
}
.btn:hover { background: var(--ags-accent-deep); color: var(--ags-night); }

/* ---- Out of character ---- */
.ooc {
  max-width: 760px; margin: 0 auto; padding: 2rem 1.2rem 3rem;
  border-top: 1px solid var(--ags-deep-teal);
  font-size: .85rem; color: var(--ags-dim);
}
.ooc p { margin-bottom: .7rem; max-width: 40em; }
.ooc strong { font-weight: 400; color: var(--ags-bone); }
.ooc-label { font: 400 .62rem/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ags-dim); }
.ooc-meta { margin-top: 1.2rem; font: 300 .72rem/1.6 var(--font-mono); }

/* ---- Out-of-character pages (privacy) ---- */
.doc .tag a { color: var(--ags-teal); }
.doc .tag a:hover { color: var(--ags-accent); }
.doc h1 { font: 400 clamp(2.4rem, 7vw, 3.4rem)/1 var(--font-display); color: var(--ags-bone); margin-bottom: 2rem; }
.doc h2.tag { margin: 2.6rem 0 .9rem; }
.doc p { max-width: 36em; margin-bottom: 1rem; }
.doc .lead { font-size: 1.15rem; }
.doc .updated { margin-top: 3rem; font: 300 .72rem/1.6 var(--font-mono); color: var(--ags-dim); }

@media (max-width: 560px) {
  .sysbar { font-size: .55rem; }
  .queue li { grid-template-columns: 3.4rem 1fr; grid-template-areas: "id title" "id kind" "id state"; row-gap: .35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ice::before, .boot-log .cursor { animation: none; }
}
