:root {
  --ground: #0f1610;
  --frost: #d8e8e4;
  --green: #4a7c5e;
  --gold: #c4a35a;
  --mist: #1f2e27;
  --bright: #e8f4f0;
  --lichen: #5a8a7e;
  --spore: #a8b8a0;
  --bark: #8a6e3a;
  --deep-moss: #2a5c3e;
}

/* Compliance vocabulary: IBM Plex Mono" (Google Fonts IntersectionObserver triggers fade-reveals passively. Floating elements use `position: fixed` with CSS-only animations. No JavaScript scroll manipulation IntersectionObserver` with `threshold: 0.15` Space Mono" (Google Fonts */

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, rgba(74, 124, 94, .18), transparent 28rem),
    radial-gradient(circle at 85% 28%, rgba(90, 138, 126, .12), transparent 24rem),
    linear-gradient(180deg, #0f1610 0%, #101811 42%, #0b100c 100%);
  color: var(--frost);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 300;
  font-size: clamp(.85rem, 1vw, 1rem);
  line-height: 1.75;
  letter-spacing: .02em;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(216,232,228,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216,232,228,.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  z-index: 0;
}

.specimen-strip {
  position: relative;
  height: 120px;
  overflow: hidden;
  border-bottom: 1px solid rgba(216, 232, 228, 0.08);
  background: rgba(31, 46, 39, .42);
  backdrop-filter: blur(12px);
  z-index: 4;
}

.specimen-track {
  display: flex;
  width: 2400px;
  height: 120px;
  animation: stripScroll 60s linear infinite;
}

.strip-panel { width: 1200px; height: 120px; flex: 0 0 1200px; }

.atmosphere { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; }

.spore {
  position: fixed;
  width: var(--size);
  height: var(--size);
  left: var(--left);
  top: var(--top);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,184,160,.9), rgba(168,184,160,.12) 55%, transparent 72%);
  mix-blend-mode: screen;
  opacity: var(--opacity);
  animation: drift var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.seed {
  position: fixed;
  left: var(--left);
  top: var(--top);
  width: 42px;
  height: 42px;
  opacity: .15;
  animation: seedDrift var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.seed svg { width: 100%; height: 100%; stroke: var(--frost); stroke-width: 1; fill: none; }

.field-log {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 180px 1fr;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 120px;
}

.log-row { display: contents; }

.field-label {
  grid-column: 1;
  padding: 18px 20px 18px 0;
  color: var(--spore);
  font-size: .76rem;
  line-height: 1.55;
  text-transform: uppercase;
  position: relative;
}

.field-label::before {
  content: "";
  position: absolute;
  right: 14px;
  top: 28px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(196,163,90,.65);
}

.field-label span,
.field-label time,
.field-label b { display: block; font-weight: 500; }
.field-label span { color: var(--green); }
.field-label time { color: var(--gold); margin: 8px 0; }
.field-label b { color: rgba(216,232,228,.58); }

.content-zone {
  grid-column: 2;
  margin: 0 0 88px;
  padding: clamp(24px, 4vw, 48px);
  background: rgba(31, 46, 39, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(216, 232, 228, 0.12);
  border-image: linear-gradient(135deg, rgba(216,232,228,.2), rgba(74,124,94,.18), rgba(196,163,90,.12)) 1;
  box-shadow: inset 0 0 42px rgba(216,232,228,.035), 0 20px 80px rgba(0,0,0,.28);
  transition: border-color .5s ease, backdrop-filter .5s ease, transform .5s ease;
}

.content-zone:hover { backdrop-filter: blur(16px); border-color: rgba(74, 124, 94, 0.3); transform: translateY(-2px); }
.wide { max-width: 100%; }
.long { max-width: 88%; }
.medium { max-width: 72%; }
.compact { max-width: 62%; }

.kicker {
  margin: 0 0 12px;
  color: var(--lichen);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: .18em;
}

h1 {
  margin: 0;
  color: var(--bright);
  font-family: "Space Mono", monospace;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(216,232,228,.12);
}

h1::after { content: "_"; color: var(--gold); animation: blink 1s step-end infinite; }

h2 {
  margin: 0 0 18px;
  color: var(--bright);
  font-family: "Space Mono", monospace;
  font-size: clamp(1.15rem, 2.2vw, 2rem);
  letter-spacing: .08em;
  text-transform: uppercase;
}

p { margin: 0 0 18px; color: var(--frost); }
p:last-child { margin-bottom: 0; }

.tagline,
blockquote {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.5;
  color: var(--spore);
}

blockquote {
  margin: 28px 0 0;
  padding-left: 22px;
  border-left: 1px solid rgba(196,163,90,.45);
}

.root-map { width: 100%; margin-top: 18px; }
.draw-lines path,
.connection path {
  fill: none;
  stroke: var(--green);
  stroke-width: 1;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  opacity: .34;
}

.connection {
  grid-column: 1 / -1;
  width: 100%;
  height: 120px;
  margin: -54px 0 4px;
  pointer-events: none;
}

.drawn path,
.drawn .draw-lines path { animation: draw 3s ease-out forwards; }

.specimen-plate {
  display: grid;
  grid-template-columns: minmax(220px, 380px) 1fr;
  gap: 28px;
  align-items: center;
}

.specimen-plate svg {
  width: 100%;
  background: rgba(15,22,16,.25);
  border: 1px solid rgba(168,184,160,.14);
}

.specimen-plate em { color: var(--gold); font-family: "Cormorant Garamond", serif; font-size: 1.35rem; }
.terminal-line { color: var(--gold); font-weight: 500; text-transform: uppercase; }

.reveal-label,
.reveal-panel {
  opacity: 0;
  filter: blur(8px);
  transform: scale(.97);
  transition: opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1), filter 1200ms cubic-bezier(0.16, 1, 0.3, 1), transform 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-label.visible,
.reveal-panel.visible { opacity: 1; filter: blur(0); transform: scale(1); }
.reveal-panel.visible { transition-delay: 200ms; }

@keyframes stripScroll { from { transform: translateX(0); } to { transform: translateX(-1200px); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(.8); }
  50% { transform: translate3d(var(--x), -42vh, 0) scale(1.1); }
  100% { transform: translate3d(calc(var(--x) * -0.4), -92vh, 0) scale(.7); }
}
@keyframes seedDrift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(var(--x), 105vh, 0) rotate(240deg); }
}

@media (max-width: 760px) {
  .field-log { grid-template-columns: 1fr; padding: 42px 18px 80px; }
  .field-label, .content-zone { grid-column: 1; }
  .field-label { padding: 0 0 10px 22px; }
  .field-label::before { left: 0; right: auto; top: 9px; }
  .content-zone, .long, .medium, .compact { max-width: 100%; margin-bottom: 54px; }
  .specimen-plate { grid-template-columns: 1fr; }
  .connection { display: none; }
}
