/* ZYPHORUX · transmitted from Realm 07
   Static styles only. No fonts to download, no blur filters, no looping animation. */

:root {
  --void: #04050c;
  --deep: #070a18;
  --surface: rgba(16, 20, 44, .62);
  --surface-2: rgba(22, 26, 56, .5);
  --line: rgba(142, 152, 255, .16);
  --line-strong: rgba(142, 152, 255, .3);
  --ink: #e9ecf8;
  --muted: #a3abcb;
  --violet: #8d73ff;
  --violet-soft: #b5a4ff;
  --cyan: #74d7e8;
  --gold: #dcbc70;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --wrap: 920px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font: 1rem/1.7 var(--sans);
  overflow-wrap: break-word;
  min-width: 0;
}

/* Static backdrop: a few distant stars and two soft washes, painted once. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 78% 12%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.2px 1.2px at 42% 64%, rgba(220,188,112,.5), transparent),
    radial-gradient(1px 1px at 90% 72%, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 24% 88%, rgba(116,215,232,.45), transparent),
    radial-gradient(70% 45% at 85% 0%, rgba(80, 52, 170, .28), transparent 70%),
    radial-gradient(60% 40% at 0% 100%, rgba(20, 60, 100, .3), transparent 70%),
    linear-gradient(180deg, var(--void), var(--deep));
  background-size: 420px 420px, 380px 380px, 520px 520px, 460px 460px, 400px 400px, 100% 100%, 100% 100%, 100% 100%;
}

img { max-width: 100%; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #a9ecf7; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: .75rem; top: -4rem; z-index: 20;
  background: var(--gold); color: #120d02; padding: .5rem .9rem; border-radius: 6px; text-decoration: none;
}
.skip:focus { top: .75rem; }

/* ---------- navigation ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(4, 5, 12, .94);
  border-bottom: 1px solid var(--line);
}
.top nav {
  max-width: var(--wrap); margin: 0 auto; padding: 0 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  min-height: 3.25rem;
}
.brand {
  font-family: var(--serif); letter-spacing: .22em; text-transform: uppercase;
  font-size: .85rem; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.top ul { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.top ul::-webkit-scrollbar { display: none; }
.top li a {
  display: block; padding: .8rem .6rem; color: var(--muted); text-decoration: none;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.top li a:hover { color: var(--ink); }
.top li a.on { color: var(--ink); border-bottom-color: var(--gold); }
@media (max-width: 520px) { .brand { display: none; } .top ul { width: 100%; justify-content: space-between; } }

main, .foot { max-width: var(--wrap); margin: 0 auto; }

/* ---------- profile header ---------- */
.hero { padding-bottom: 1.5rem; animation: arrive .9s ease-out both; }

.cover {
  position: relative; height: 9.5rem; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 120% at 20% 120%, rgba(141,115,255,.4), transparent 70%),
    radial-gradient(50% 100% at 85% -20%, rgba(116,215,232,.18), transparent 70%),
    linear-gradient(120deg, #090b21, #0d0a26 55%, #07121f);
}
.cover::after { /* a single thin seam of light */
  content: ""; position: absolute; left: -10%; right: -10%; top: 62%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220,188,112,.7), transparent);
  transform: rotate(-4deg);
}
.readout {
  position: absolute; left: 1rem; top: .85rem;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); opacity: .85;
}
.readout.r2 { left: auto; right: 1rem; color: var(--cyan); }
@media (max-width: 520px) { .readout.r2 { display: none; } }

.idcard { padding: 0 1rem; margin-top: -4.25rem; display: grid; gap: 1rem; }

.avatar {
  position: relative; width: clamp(150px, 42vw, 240px); aspect-ratio: 1; border-radius: 50%;
  box-shadow: 0 0 0 5px var(--void), 0 0 0 6px rgba(220,188,112,.55), 0 0 0 11px var(--void), 0 0 0 12px var(--line-strong), 0 0 46px rgba(110,90,255,.3);
}
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 30%; background: #080a1a; }
.presence {
  position: absolute; right: 8%; bottom: 8%; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 0 4px var(--void), 0 0 12px rgba(116,215,232,.7);
}

.designation { margin: 0; color: var(--gold); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
h1 {
  margin: .15rem 0 .4rem; font: 400 clamp(2.6rem, 11vw, 4.4rem)/1.02 var(--serif);
  letter-spacing: .04em;
}
.bio { margin: 0; max-width: 34rem; font-family: var(--serif); font-size: 1.15rem; line-height: 1.6; color: #d4d9ee; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1rem 0 0; }
.chips li {
  border: 1px solid var(--line-strong); border-radius: 99px; padding: .2rem .8rem;
  font-size: .8rem; color: var(--muted);
}
.chips li.live { color: var(--cyan); border-color: rgba(116,215,232,.45); }

.info {
  margin: 1.75rem 1rem 0; padding: 0; display: grid; gap: 0 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  border-top: 1px solid var(--line);
}
.info div { padding: .8rem 0; border-bottom: 1px solid var(--line); min-width: 0; }
.info dt { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.info dd { margin: .15rem 0 0; font-family: var(--serif); font-size: 1.05rem; line-height: 1.4; }

@media (min-width: 720px) {
  .cover { height: 13rem; }
  .idcard { grid-template-columns: auto 1fr; align-items: end; gap: 2rem; padding: 0 2rem; margin-top: -6.5rem; }
  .idtext { padding-bottom: .4rem; }
  .info { margin: 2rem 2rem 0; }
}

/* ---------- sections ---------- */
.block { padding: 3.5rem 1rem 1rem; }
@media (min-width: 720px) { .block { padding: 4.5rem 2rem 1.5rem; } }

.sec-head { margin-bottom: 1.5rem; }
h2 { margin: 0 0 .5rem; font: 400 clamp(1.9rem, 6vw, 2.7rem)/1.12 var(--serif); letter-spacing: .02em; }
h3 { margin: 3rem 0 1rem; font: 400 1.45rem/1.25 var(--serif); color: var(--violet-soft); }
h3::after { content: ""; display: block; margin-top: .6rem; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent 70%); }
h4 { margin: 0 0 .35rem; font: 400 1.15rem/1.3 var(--serif); color: var(--gold); }
.lede { margin: 0; max-width: 38rem; color: var(--muted); font-size: 1.05rem; }

.prose { max-width: 40rem; }
.prose p { margin: 0 0 1.1rem; font-family: var(--serif); font-size: 1.08rem; line-height: 1.8; color: #d6dbef; }
.prose em { color: var(--violet-soft); font-style: italic; }
.prose strong { color: var(--ink); font-weight: 600; }

.note { max-width: 40rem; margin: 1rem 0 0; padding-left: 1rem; border-left: 2px solid var(--gold); color: var(--muted); font-size: .95rem; }

/* dimensional ladder: each step sits one level deeper */
.ladder { list-style: none; margin: 0; padding: 0; counter-reset: lv; }
.ladder li {
  counter-increment: lv; position: relative; display: grid; gap: .1rem;
  margin-bottom: .6rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface);
}
.ladder li:nth-child(2) { margin-left: .7rem; }
.ladder li:nth-child(3) { margin-left: 1.4rem; }
.ladder li:nth-child(4) { margin-left: 2.1rem; }
.ladder li:nth-child(5) { margin-left: 2.8rem; }
.ladder b { font: 400 1.1rem var(--serif); color: var(--ink); }
.ladder span { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.ladder i { color: var(--violet-soft); }
@media (min-width: 720px) {
  .ladder li:nth-child(2) { margin-left: 1.5rem; } .ladder li:nth-child(3) { margin-left: 3rem; }
  .ladder li:nth-child(4) { margin-left: 4.5rem; } .ladder li:nth-child(5) { margin-left: 6rem; }
}

.places { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.places.small { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.places article, .art-grid .facts {
  border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.2rem;
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.places p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.65; }

.terms { margin: 0; display: grid; gap: 0 2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.terms div { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.terms dt { font: 400 1.1rem var(--serif); color: var(--gold); }
.terms dd { margin: .15rem 0 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.terms i { color: var(--ink); }

.pull {
  margin: 2.5rem 0 0; padding: 0 0 0 1.1rem; max-width: 36rem; border-left: 2px solid var(--violet);
  font: italic 1.4rem/1.5 var(--serif); color: var(--ink);
}

.gifts { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.gifts li { padding: .2rem 0 .2rem 1rem; border-left: 1px solid var(--line-strong); display: grid; gap: .15rem; }
.gifts b { font: 400 1.1rem var(--serif); color: var(--cyan); }
.gifts span { color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.4rem; border-left: 1px solid var(--line-strong); }
.timeline li { position: relative; padding: 0 0 1.4rem; }
.timeline li::before {
  content: ""; position: absolute; left: calc(-1.4rem - 4.5px); top: .55rem; width: 8px; height: 8px;
  border-radius: 50%; background: var(--void); border: 1px solid var(--gold);
}
.timeline li:last-child::before { background: var(--cyan); border-color: var(--cyan); }
.timeline time { font: 400 1.1rem var(--serif); color: var(--gold); }
.timeline p { margin: .1rem 0 0; max-width: 36rem; color: #cdd3ea; }

/* artifact */
.art-grid { display: grid; gap: 1.8rem; align-items: center; }
.art-grid .facts { margin: 0; padding: .3rem 1.2rem; }
.facts div { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.facts dd { margin: .2rem 0 0; color: #cdd3ea; font-size: .97rem; line-height: 1.65; }
@media (min-width: 820px) { .art-grid { grid-template-columns: 260px 1fr; gap: 2.5rem; } }

.prism { position: relative; height: 260px; display: grid; place-items: center; }
.gem {
  width: 104px; height: 190px;
  clip-path: polygon(50% 0, 100% 36%, 50% 100%, 0 36%);
  background:
    linear-gradient(115deg, rgba(255,255,255,.28) 0 14%, transparent 14% 50%, rgba(0,0,0,.35) 50% 100%),
    linear-gradient(170deg, #f1d68f, #8d73ff 45%, #1d1252 100%);
  filter: drop-shadow(0 0 18px rgba(141,115,255,.55));
}
.ring {
  position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(220,188,112,.6);
  transform: translate(-50%, -50%) rotate(var(--tilt));
}
.r1 { width: 210px; height: 74px; --tilt: -16deg; }
.r2 { width: 170px; height: 56px; --tilt: 22deg; border-color: rgba(116,215,232,.5); }

/* ---------- posts ---------- */
.feed { display: grid; gap: 1rem; }
.feed-msg {
  margin: 0; padding: 1.1rem 1.2rem; border: 1px dashed var(--line-strong); border-radius: 12px;
  color: var(--muted); font-size: .95rem;
}

.post {
  border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.2rem 1.2rem;
  background: linear-gradient(165deg, var(--surface), rgba(10, 12, 30, .5));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  min-width: 0;
}
.post-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem; }
.post-av {
  width: 46px; height: 46px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 30%;
  box-shadow: 0 0 0 2px var(--void), 0 0 0 3px rgba(220,188,112,.5);
  background: #080a1a;
}
.post-who { min-width: 0; flex: 1; line-height: 1.3; }
.post-who b { display: block; font: 400 1.1rem var(--serif); letter-spacing: .03em; }
.post-who span { font-size: .74rem; color: var(--muted); letter-spacing: .04em; }
.post-stamp { flex: none; text-align: right; font-size: .72rem; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; line-height: 1.35; max-width: 9rem; }
.post-stamp small { display: block; color: var(--muted); font-size: .66rem; letter-spacing: .1em; }

.post-body p { margin: 0 0 .9rem; font-family: var(--serif); font-size: 1.1rem; line-height: 1.7; color: #dde1f3; }
.post-body p:last-child { margin-bottom: 0; }
.post-body b { color: var(--ink); }
.post-body em { color: var(--violet-soft); }
.post-body a { word-break: break-all; }

.media { margin: .3rem 0 1rem; display: grid; gap: .5rem; }
.media.multi { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.media:last-child { margin-bottom: 0; }
.media img, .media video {
  width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); background: #080a1a;
}
.media.multi img { height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.yt {
  position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; background: #000; cursor: pointer; aspect-ratio: 16 / 9; color: inherit;
}
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.yt::after { /* play mark */
  content: ""; position: absolute; left: 50%; top: 50%; width: 3.6rem; height: 3.6rem; margin: -1.8rem 0 0 -1.8rem;
  border-radius: 50%; border: 1px solid rgba(220,188,112,.8); background: rgba(4,5,12,.7);
}
.yt::before {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: 1; margin: -.7rem 0 0 -.4rem;
  border-left: 1.1rem solid var(--gold); border-top: .7rem solid transparent; border-bottom: .7rem solid transparent;
}
.yt:hover img, .yt:focus-visible img { opacity: 1; }
.yt-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; background: #000; }

.foot { padding: 3rem 1rem 3rem; text-align: center; color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; border-top: 1px solid var(--line); margin-top: 3rem; }
.foot p { margin: 0; }

/* One short arrival, then everything is still. */
@keyframes arrive { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { animation: none; }
}
@media (hover: hover) {
  .places article, .post { transition: border-color .25s; }
  .places article:hover, .post:hover { border-color: var(--line-strong); }
}

/* "Show older transmissions" button (appears only when there are more than 15 posts) */
.more {
  display: block; margin: 1.2rem auto 0; padding: .65rem 1.3rem; border-radius: 99px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  font: inherit; font-size: .9rem; cursor: pointer;
}
.more:hover { border-color: var(--gold); }
.more[hidden] { display: none; }
