/* transactology.org — Y2K-futurism · split-screen
 * palette: bg #ffffff / wash #e8f0ff / sidebar grad #0044cc→#0066ff→#00aaff
 *          text #1a1a2e / muted #5a6a7a / Y2K accent #ff6600
 * fonts: Orbitron (display), Inter (body), Space Mono (code)
 */

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

:root {
  --white: #ffffff;
  --wash: #e8f0ff;
  --neon: #0066ff;
  --neon-light: #66aaff;
  --neon-deep: #0044cc;
  --neon-cyan: #00aaff;
  --ink: #1a1a2e;
  --muted: #5a6a7a;
  --y2k-orange: #ff6600;
}

html, body {
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body { overflow-x: hidden; }

::selection { background: var(--neon); color: var(--white); }

a { color: var(--neon); text-decoration: none; }
a:hover { color: var(--neon-light); }

/* ============================================================
   SPLIT
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 35% 65%;
  min-height: 100vh;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  color: var(--white);
}

.side-mesh {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--neon-deep) 0%, var(--neon) 50%, var(--neon-cyan) 100%);
  z-index: 0;
}

/* Translucent gradient mesh blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
}

.blob.b1 {
  width: 380px;
  height: 380px;
  background: #66aaff;
  top: -10%;
  left: -20%;
  animation: drift1 20s ease-in-out infinite;
}

.blob.b2 {
  width: 320px;
  height: 320px;
  background: #ff6600;
  bottom: 10%;
  right: -15%;
  animation: drift2 24s ease-in-out infinite;
  opacity: 0.45;
}

.blob.b3 {
  width: 260px;
  height: 260px;
  background: #ffffff;
  top: 40%;
  left: 30%;
  animation: drift3 28s ease-in-out infinite;
  opacity: 0.35;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, 60px); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, -50px); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(60px, -30px); }
}

.side-frost {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 1;
}

.side-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 36px 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Brand */
.brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.brand-logo .dot-cyan {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #ffffff, #66aaff 60%, #0066ff);
  box-shadow: 0 0 14px rgba(102, 170, 255, 0.7);
}

.brand-logo .dot-orange {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #ffd2a8, #ff6600);
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.55);
}

.brand-text {
  font-family: "Orbitron", "Space Mono", monospace;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.18em;
  color: var(--white);
  line-height: 1;
}

.brand-dot { color: var(--y2k-orange); }

.brand-tag {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
}

/* Navigation pills */
.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: background 250ms, border-color 250ms, box-shadow 250ms;
  will-change: transform;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.pill:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.25), 0 4px 12px rgba(0, 0, 0, 0.15);
  color: var(--white);
}

.pill-i {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 4px 8px;
  background: rgba(255, 102, 0, 0.85);
  border-radius: 999px;
  color: var(--white);
  flex-shrink: 0;
}

.pill-l { letter-spacing: 0.02em; }

/* Status */
.side-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #66ffaa;
  box-shadow: 0 0 8px #66ffaa;
  animation: pulse-status 1.6s ease-in-out infinite;
}

@keyframes pulse-status {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.8); }
}

/* Waveform */
.side-wave {
  margin-top: auto;
  padding: 16px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.side-wave svg {
  width: 100%;
  height: 60px;
  display: block;
}

#wave-path {
  fill: none;
  stroke: #66ffaa;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 4px rgba(102, 255, 170, 0.6));
}

.wave-readout {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr;
  gap: 4px 10px;
  margin-top: 8px;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.wave-k { color: rgba(255, 255, 255, 0.55); }
.wave-v { color: var(--white); font-weight: 700; }

.side-foot {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

/* ============================================================
   CONTENT
   ============================================================ */
.content {
  position: relative;
  background: linear-gradient(180deg, var(--white) 0%, var(--wash) 100%);
  min-height: 100vh;
}

.content-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% -10%, rgba(102, 170, 255, 0.18), transparent 60%),
    radial-gradient(ellipse at -10% 110%, rgba(255, 102, 0, 0.10), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.sec {
  position: relative;
  z-index: 1;
  padding: 96px 48px 60px;
  max-width: 800px;
}

.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--neon);
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 999px;
  background: rgba(102, 170, 255, 0.08);
  margin-bottom: 22px;
}

.led {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--y2k-orange);
  box-shadow: 0 0 8px var(--y2k-orange);
  display: inline-block;
}

.led-on { animation: pulse-status 1.6s ease-in-out infinite; }

.sec-h1 {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.05;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin-bottom: 22px;
}

.sec-h1 em {
  font-style: italic;
  color: var(--neon);
  background: linear-gradient(135deg, var(--neon) 0%, var(--y2k-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sec-h2 {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 18px;
}

.sec p {
  color: var(--ink);
  margin-bottom: 14px;
  max-width: 700px;
}

.sec p em { color: var(--neon-deep); font-style: italic; font-weight: 600; }

.sec-lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 640px;
  margin-bottom: 32px;
}

.sec-rule {
  display: block;
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, var(--neon), var(--y2k-orange) 80%, transparent);
  margin-top: 36px;
  border-radius: 999px;
}

/* hero buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: transform 200ms, box-shadow 200ms, background 200ms;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon), var(--neon-cyan));
  color: var(--white);
  box-shadow: 0 8px 22px rgba(0, 102, 255, 0.35), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 102, 255, 0.45), inset 0 1px 0 rgba(255,255,255,0.5);
  color: var(--white);
}

.btn-ghost {
  background: rgba(0, 102, 255, 0.06);
  color: var(--neon);
  border: 1px solid rgba(0, 102, 255, 0.3);
}
.btn-ghost:hover {
  background: rgba(0, 102, 255, 0.12);
  transform: translateY(-2px);
}

/* ============================================================
   WAVE DIVIDER
   ============================================================ */
.wave-div {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 80px;
  overflow: hidden;
  margin: 8px 0;
}

.wave-div svg {
  width: 220%;
  height: 100%;
  display: block;
  animation: wave-flow 14s linear infinite;
}

.wave-div .w {
  fill: none;
  stroke: var(--neon);
  stroke-width: 1.5;
}
.wave-div .w1 { opacity: 0.2; stroke-width: 1.5; }
.wave-div .w2 { opacity: 0.15; stroke: var(--neon-cyan); stroke-width: 1.2; }
.wave-div .w3 { opacity: 0.1;  stroke: var(--y2k-orange); stroke-width: 1; }

@keyframes wave-flow {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   RESEARCH ITEMS
   ============================================================ */
.research-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 24px;
}

.r-item {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 102, 255, 0.15);
  border-radius: 18px;
  padding: 22px 24px;
  transition: transform 250ms, box-shadow 250ms, border-color 250ms;
}

.r-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 102, 255, 0.12);
  border-color: rgba(0, 102, 255, 0.35);
}

.r-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.r-tag {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--white);
  background: var(--y2k-orange);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.r-item h3 {
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.r-item p { margin-bottom: 10px; color: var(--ink); }

.r-meta {
  font-family: "Space Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ============================================================
   BULLETS
   ============================================================ */
.bullets {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 14px 0 8px;
}

.bullets li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 14px;
  height: 6px;
  background: linear-gradient(90deg, var(--neon), var(--y2k-orange));
  border-radius: 999px;
}

.bullets b { color: var(--neon-deep); font-weight: 700; }

/* ============================================================
   FELLOWS
   ============================================================ */
.fellows {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.fellow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 102, 255, 0.18);
  transition: transform 200ms, box-shadow 200ms;
}

.fellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.12);
}

.f-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Orbitron", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 4px 12px rgba(0,0,0,0.08);
}

.f-a1 { background: linear-gradient(135deg, #0066ff, #00aaff); }
.f-a2 { background: linear-gradient(135deg, #ff6600, #ff9933); }
.f-a3 { background: linear-gradient(135deg, #00aaff, #66ffaa); }
.f-a4 { background: linear-gradient(135deg, #6633ff, #0066ff); }
.f-a5 { background: linear-gradient(135deg, #ff3399, #ff6600); }
.f-a6 { background: linear-gradient(135deg, #00aaff, #0044cc); }

.f-info { display: flex; flex-direction: column; line-height: 1.3; }
.f-info b { color: var(--ink); font-weight: 600; font-size: 15px; }
.f-info span { font-family: "Space Mono", monospace; font-size: 11.5px; color: var(--muted); letter-spacing: 0.06em; }

/* ============================================================
   BULLETIN
   ============================================================ */
.bulletin-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 24px 0 8px;
  border-top: 1px solid rgba(0, 102, 255, 0.18);
}

.bulletin-list li {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(0, 102, 255, 0.18);
  transition: background 200ms, padding-left 200ms;
}

.bulletin-list li:hover {
  background: rgba(0, 102, 255, 0.05);
  padding-left: 14px;
}

.bul-i {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--y2k-orange);
  font-weight: 700;
}

.bul-t {
  font-family: "Inter", sans-serif;
  font-size: 15.5px;
  color: var(--ink);
  font-weight: 500;
}
.bul-t em { color: var(--neon); font-style: italic; }

.bul-d {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ============================================================
   ARCHIVE COUNTS
   ============================================================ */
.archive-counts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.ac {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(232,240,255,0.85));
  border: 1px solid rgba(0, 102, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
  transition: transform 200ms, box-shadow 200ms;
}

.ac:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 102, 255, 0.12); }

.ac b {
  font-family: "Orbitron", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--neon-deep);
  letter-spacing: -0.01em;
}
.ac span {
  font-family: "Space Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ============================================================
   FOOTER (exchange)
   ============================================================ */
.sec-foot {
  padding-bottom: 110px;
}

.exchange {
  background: linear-gradient(135deg, rgba(0,102,255,0.08), rgba(255,102,0,0.06));
  border: 1px solid rgba(0, 102, 255, 0.25);
  border-radius: 22px;
  padding: 24px 28px;
  margin: 24px 0 28px;
  font-family: "Space Mono", monospace;
}

.ex-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 6px 0;
  font-size: 16px;
}

.ex-k {
  color: var(--neon);
  letter-spacing: 0.06em;
  min-width: 130px;
}

.ex-v {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ex-cursor {
  color: var(--y2k-orange);
  animation: blink 1s steps(2, start) infinite;
  margin-left: 2px;
}

@keyframes blink {
  to { visibility: hidden; }
}

.ex-foot { border-top: 1px dashed rgba(0,102,255,0.3); margin-top: 6px; padding-top: 12px; font-size: 12px; }
.ex-foot .ex-k { color: var(--muted); }
.ex-foot .ex-v { color: var(--y2k-orange); font-weight: 400; }

.contact-line {
  font-family: "Space Mono", monospace;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.copyright {
  display: block;
  margin-top: 18px;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ============================================================
   ARCHIVE BG
   ============================================================ */
.sec-archive { padding-bottom: 80px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .sidebar {
    position: relative;
    height: auto;
    min-height: 60vh;
  }
  .side-inner { padding: 28px 24px; }
  .nav { display: grid; grid-template-columns: 1fr 1fr; }
  .side-wave { margin-top: 18px; }
  .sec { padding: 60px 24px 40px; }
  .archive-counts { grid-template-columns: 1fr 1fr; }
  .fellows { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .ac b { font-size: 24px; }
  .bulletin-list li { grid-template-columns: 50px 1fr; gap: 8px; }
  .bul-d { display: none; }
  .ex-k { min-width: 100px; font-size: 13px; }
  .ex-v { font-size: 14px; }
}
