/* ── stellar: Sigi auf der Sasaka ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:      #4a7c59;
  --green-dark: #2e5040;
  --teal:       #2a7080;
  --cream:      #f8f5ee;
  --cream-alt:  #eff0ea;
  --ink:        #1e2420;
}

body.is-stellar {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 300;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── SPORE BACKGROUND ── */
.st-spore-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.st-spore-svg { width: 100%; height: 100%; }

/* ── HEADER ── */
.st-header {
  position: relative;
  z-index: 1;
  background: linear-gradient(175deg, #1e2e24 0%, #2a4035 50%, #1e2420 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
  border-bottom: 3px solid var(--green);
}

.st-container { max-width: 1100px; margin: 0 auto; }
.st-container--narrow { max-width: 700px; }

.st-header__label {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.st-lab-tag {
  font-family: 'Raleway', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border: 1px solid rgba(74,124,89,.5);
  border-radius: 2px;
  color: #a8c8a0;
  background: rgba(74,124,89,.1);
}
.st-lab-tag--date { color: #90c0b0; border-color: rgba(42,112,128,.5); }

.st-header__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}
.st-header__title em {
  font-style: italic;
  font-family: 'Source Serif 4', serif;
  font-weight: 300;
  color: #7cc88a;
  font-size: .75em;
  display: block;
  letter-spacing: .02em;
}
.st-header__subtitle {
  font-family: 'Raleway', sans-serif;
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(168,200,160,.6);
  margin-bottom: 2.5rem;
}
.st-header__labels {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.label-tag {
  font-family: 'Raleway', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 2px;
  text-decoration: none;
  background: var(--green);
  color: #fff;
  transition: background .2s;
}
.label-tag:hover { background: var(--teal); }

/* ── SPECIMEN / HERO IMAGE ── */
.st-specimen {
  position: relative;
  z-index: 1;
  padding: 4rem 2rem;
  background: var(--cream);
  text-align: center;
}
.st-specimen__figure { display: inline-block; max-width: 560px; width: 100%; }

.st-specimen__frame {
  position: relative;
  display: inline-block;
  border: 2px solid var(--green);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(74,124,89,.2), 0 2px 8px rgba(0,0,0,.15);
}
.st-specimen__img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  filter: saturate(1.1) contrast(1.05);
}

/* Crosshair overlay */
.st-crosshair {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.st-crosshair__h,
.st-crosshair__v {
  position: absolute;
  background: rgba(74,124,89,.35);
}
.st-crosshair__h { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.st-crosshair__v { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.st-crosshair__ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 80px; height: 80px;
  margin: -40px 0 0 -40px;
  border: 1.5px solid rgba(74,124,89,.4);
  border-radius: 50%;
}

.st-specimen__caption {
  margin-top: 1rem;
  font-size: .85rem;
  color: #5a6a60;
  font-style: italic;
}
.st-cap-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--green);
  margin-right: .5rem;
}

/* ── DIVIDER ── */
.st-divider {
  position: relative;
  z-index: 1;
  line-height: 0;
  padding: 0 2rem;
}
.st-divider svg { width: 100%; display: block; }

/* ── ACTS ── */
.st-act {
  position: relative;
  z-index: 1;
  padding: 4rem 2rem;
  background: var(--cream);
}
.st-act--alt {
  background: var(--cream-alt);
  border-top: 1px solid rgba(74,124,89,.12);
  border-bottom: 1px solid rgba(74,124,89,.12);
}

.st-act__header {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.st-act-num {
  font-family: 'Raleway', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(74,124,89,.18);
  line-height: 1;
  letter-spacing: -.04em;
  flex-shrink: 0;
}
.st-act__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--green-dark);
  letter-spacing: .02em;
  border-bottom: 2px solid var(--green);
  padding-bottom: .35rem;
}

/* ── PROSE ── */
.st-prose {
  font-size: 1.12rem;
  line-height: 1.9;
  color: #2a3028;
}
.st-prose p { margin-bottom: 1.4rem; }
.st-prose p:last-child { margin-bottom: 0; }
.st-prose strong { color: var(--green-dark); font-weight: 700; }
.st-prose em { color: var(--teal); font-style: italic; }

/* ── DATA BOX ── */
.st-data-box {
  margin-top: 2.5rem;
  border: 1.5px solid rgba(74,124,89,.3);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.st-data-box__title {
  font-family: 'Raleway', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green);
  padding: .6rem 1.2rem;
}
.st-data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Raleway', sans-serif;
  font-size: .9rem;
}
.st-data-table th {
  background: rgba(74,124,89,.08);
  text-align: left;
  padding: .6rem 1.2rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-dark);
  border-bottom: 1px solid rgba(74,124,89,.2);
}
.st-data-table td {
  padding: .6rem 1.2rem;
  border-bottom: 1px solid rgba(74,124,89,.1);
  color: #2a3028;
}
.st-data-table tr:last-child td { border-bottom: none; }
.st-status {
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .05em;
  padding: .2rem .6rem;
  border-radius: 2px;
  display: inline-block;
}
.st-status--warn { background: #fff3cd; color: #7a5000; }
.st-status--ok   { background: #d4edda; color: #1a5c28; }

/* ── CREDITS ── */
.st-credits {
  position: relative;
  z-index: 1;
  padding: 1.5rem 2rem;
  background: var(--cream-alt);
  text-align: center;
  border-top: 1px solid rgba(74,124,89,.12);
}
.st-credits__text { font-size: .82rem; color: #7a8870; }
.st-credits__text a { color: var(--teal); }

/* ── FOOTER ── */
.st-footer {
  position: relative;
  z-index: 1;
  padding: 3rem 2rem 4rem;
  background: var(--green-dark);
  color: #a8c8a0;
}
.st-footer .event-collections { color: #90c0b0; }
.st-footer .event-collections a { color: #7cc88a; }

/* ── REVEAL ANIMATIONS ── */
.st-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.st-fade.is-visible { opacity: 1; transform: translateY(0); }

/* ── Lightbox ── */
#lightbox{display:none;position:fixed;inset:0;background:rgba(0,0,0,.9);
  z-index:9999;align-items:center;justify-content:center;
  flex-direction:column;gap:.5rem}
#lightbox img{max-width:90vw;max-height:80vh;object-fit:contain}
.lb-close{position:fixed;top:1rem;right:1.5rem;font-size:2.5rem;
  color:#fff;cursor:pointer;line-height:1;opacity:.8}
.lb-close:hover{opacity:1}
.lb-nav{position:fixed;top:50%;transform:translateY(-50%);font-size:3rem;
  color:#fff;cursor:pointer;padding:.5rem;user-select:none;opacity:.7}
.lb-nav:hover{opacity:1}
.lb-prev{left:1rem}.lb-next{right:1rem}
.lb-caption{color:#ccc;font-size:.9rem;text-align:center;max-width:80vw}
