/* ===========================================================================
   GREEN NEBULA — visual system
   =========================================================================== */

:root {
  /* Ground */
  --void:      #04060a;
  --deep:      #070c12;
  --panel:     rgba(255, 255, 255, 0.028);
  --panel-hi:  rgba(255, 255, 255, 0.055);
  --line:      rgba(150, 220, 190, 0.13);
  --line-hi:   rgba(150, 220, 190, 0.3);

  /* Light */
  --text:      #dde7e4;
  --muted:     #8b9d99;
  --faint:     #5d6d6a;

  /* Nebula */
  --green:     #6fe3a5;
  --gold:      #e9c46a;
  --violet:    #a98bfa;
  --cyan:      #6fd8e8;

  /* Type */
  --serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:   'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Rhythm */
  --gut:    clamp(1.25rem, 4vw, 2.5rem);
  --maxw:   1180px;
  --readw:  38rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: rgba(111, 227, 165, 0.25); color: #fff; }

/* --- Ambient field ------------------------------------------------------- */

/* The nebula itself — fixed behind everything.
   Full strength on the home page where it is the subject; dimmed on reading
   pages, where it is atmosphere and must never fight the text.
   WebP with a JPEG fallback; assets/img/nebula.svg is a procedural stand-in
   kept as an alternative (see README). */
.nebula {
  position: fixed;
  inset: -6vmax;
  z-index: 0;
  pointer-events: none;
  background-color: #04060a;
  background-image: url('../img/jakesnebula27.jpg');
  background-image: image-set(
    url('../img/jakesnebula27.webp') type('image/webp'),
    url('../img/jakesnebula27.jpg')  type('image/jpeg'));
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.3;
  transition: opacity 1.2s ease;
  animation: nebula-breathe 90s ease-in-out infinite alternate;
  will-change: transform;
}
body[data-route="home"] .nebula { opacity: 1; }

@keyframes nebula-breathe {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.1) translate3d(-2%, 1.5%, 0); }
}

#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cloud {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.4;
  mix-blend-mode: screen;
  will-change: transform;
}
.cloud--a {
  width: 58vw; height: 58vw;
  top: -20vw; left: -12vw;
  background: radial-gradient(circle at 40% 40%, rgba(60, 180, 130, 0.34), transparent 65%);
  animation: drift-a 52s ease-in-out infinite alternate;
}
.cloud--b {
  width: 50vw; height: 50vw;
  top: 10vh; right: -16vw;
  background: radial-gradient(circle at 55% 45%, rgba(160, 130, 240, 0.24), transparent 65%);
  animation: drift-b 68s ease-in-out infinite alternate;
}

@keyframes drift-a { to { transform: translate3d(7vw, 5vh, 0) scale(1.12); } }
@keyframes drift-b { to { transform: translate3d(-8vw, 8vh, 0) scale(1.08); } }

@media (prefers-reduced-motion: reduce) {
  .cloud, .nebula { animation: none; }
}

/* --- Flower of Life ------------------------------------------------------
   Generated in JS (folSVG) so stroke colour follows `color`. Circles are on a
   triangular lattice: 1 centre + 6 + 6 + 6 = the classic nineteen.
   ------------------------------------------------------------------------ */

.fol {
  position: absolute;
  /* block, not inline — the static variants below still need width/height */
  display: block;
  pointer-events: none;
  color: var(--green);
  line-height: 0;
  z-index: 0;
}
.fol svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* Behind the hero title — large, slow, barely there */
.fol--hero {
  top: 50%; left: 50%;
  width: min(150vw, 1180px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: 0.09;
  animation: fol-turn 300s linear infinite;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 28%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000 28%, transparent 72%);
}

/* Corner motif on the open-call panel */
.fol--call {
  top: -28%; right: -14%;
  width: min(70%, 460px);
  aspect-ratio: 1;
  opacity: 0.16;
  color: var(--violet);
  animation: fol-turn 420s linear infinite reverse;
}

/* Ring behind a contributor's sigil */
.fol--sigil {
  inset: -22%;
  width: auto; height: auto;
  opacity: 0.5;
}

/* Section divider glyph */
.fol--rule {
  position: static;
  width: 26px; height: 26px;
  opacity: 0.55;
  flex: none;
}

/* End-mark under a transmission */
.fol--endmark {
  position: static;
  width: 58px; height: 58px;
  margin: 3.5rem auto 0;
  opacity: 0.3;
  animation: fol-turn 260s linear infinite;
}

/* Footer mark */
.fol--footer {
  position: static;
  width: 34px; height: 34px;
  opacity: 0.5;
  flex: none;
}

@keyframes fol-turn { to { transform: rotate(360deg); } }
.fol--hero { animation-name: fol-turn-centred; }
@keyframes fol-turn-centred {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .fol { animation: none !important; }
}

/* Vignette so text always sits on enough darkness */
.vignette {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, transparent 20%, rgba(4, 6, 10, 0.72) 78%);
}

/* --- Shell --------------------------------------------------------------- */

.shell { position: relative; z-index: 1; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* --- Masthead ------------------------------------------------------------ */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: linear-gradient(to bottom, rgba(4, 6, 10, 0.88), rgba(4, 6, 10, 0.55));
  border-bottom: 1px solid var(--line);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 68px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.mark {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.mark__glyph {
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--green);
  text-shadow: 0 0 14px rgba(111, 227, 165, 0.6);
}
.mark__sub {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--faint);
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 0.35rem;
  margin-left: auto;
  align-items: center;
}

.nav a {
  padding: 0.45rem 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--text); background: var(--panel-hi); }
.nav a.is-active { color: var(--green); background: rgba(111, 227, 165, 0.09); }

.langtoggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-left: 0.5rem;
}
.langtoggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--faint);
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.langtoggle button.is-on { color: var(--void); background: var(--green); font-weight: 600; }

.burger {
  display: none;
  margin-left: auto;
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  padding: 0.4rem 0.6rem;
  font-size: 1rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.5rem var(--gut) 1.25rem;
    background: #05070b;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.65);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.8rem 0.5rem; border-radius: 8px; }
  .langtoggle { margin: 0.6rem 0 0; align-self: flex-start; }
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(4rem, 12vh, 8rem) var(--gut) clamp(3rem, 8vh, 5rem);
}

/* A soft scrim keeps the lede readable over the nebula's bright core */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 68% 62% at 50% 52%, rgba(4, 6, 10, 0.82), rgba(4, 6, 10, 0.45) 55%, transparent 78%);
  pointer-events: none;
}

/* A tall narrow viewport puts text over far more of the bright core, so the
   scrim becomes a vertical band rather than an ellipse. */
@media (max-width: 700px) {
  .hero::before {
    background:
      linear-gradient(to bottom,
        rgba(4, 6, 10, 0.5) 0%,
        rgba(4, 6, 10, 0.78) 28%,
        rgba(4, 6, 10, 0.78) 82%,
        rgba(4, 6, 10, 0.45) 100%);
  }
}

/* Hero content sits above the Flower of Life and the scrim */
.hero > *:not(.fol) { position: relative; z-index: 1; }

.hero__eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1.75rem;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.4rem, 13vw, 8.5rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  margin: 0;
  background: linear-gradient(168deg, #ffffff 8%, var(--green) 42%, var(--cyan) 68%, var(--violet) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Dark shadow first for edge definition against the nebula's bright core,
     then the green bloom. The title is background-clipped, so text-shadow
     would sit in front of the letterforms — drop-shadow is the right tool. */
  filter: drop-shadow(0 2px 18px rgba(2, 6, 10, 0.85))
          drop-shadow(0 0 46px rgba(111, 227, 165, 0.24));
}

.hero__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 3.2vw, 1.7rem);
  color: var(--gold);
  margin: 1.1rem 0 0;
  letter-spacing: 0.03em;
}

.hero__lede {
  max-width: 34rem;
  margin: 2.25rem auto 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.6vw, 1.06rem);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.75rem;
}

.hero__cue {
  margin-top: clamp(3rem, 8vh, 5rem);
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.hero__cue span { animation: bob 3.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(6px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero__cue span { animation: none; } }

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--line-hi);
  font-size: 0.72rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--panel);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.btn:hover {
  border-color: var(--green);
  background: rgba(111, 227, 165, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(111, 227, 165, 0.14);
}
.btn--solid {
  background: var(--green);
  color: var(--void);
  border-color: var(--green);
  font-weight: 600;
}
.btn--solid:hover { background: #8bf0ba; color: var(--void); }

/* --- Sections ------------------------------------------------------------ */

.section { padding: clamp(4rem, 11vh, 7.5rem) 0; }

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.section__label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.64rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 0.7rem;
}

.section__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

.section__note {
  color: var(--faint);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --- Invocation ---------------------------------------------------------- */

.invocation {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}
.invocation p {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3.1vw, 1.95rem);
  line-height: 1.55;
  color: #eef4f2;
  font-weight: 300;
  margin: 0;
}
.epigraph {
  margin-top: 3.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.epigraph blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin: 0 0 0.9rem;
  line-height: 1.65;
}
.epigraph cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
}

/* --- Transmission grid --------------------------------------------------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
  gap: 1.1rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 236px;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  /* Dark glass, not clear glass — the nebula behind must never reach the text */
  background: linear-gradient(160deg, rgba(11, 18, 25, 0.72), rgba(5, 9, 13, 0.52));
  backdrop-filter: blur(7px) saturate(120%);
  -webkit-backdrop-filter: blur(7px) saturate(120%);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(111, 227, 165, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.card:hover {
  border-color: var(--line-hi);
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
}
.card:hover::after { opacity: 1; }

.card__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1.1rem;
}
.card__sigil {
  color: var(--green);
  font-size: 0.9rem;
  letter-spacing: 0;
}
.card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.18;
  margin: 0 0 0.3rem;
  letter-spacing: -0.005em;
}
.card__alt {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--faint);
  margin: 0 0 0.75rem;
}
.card__excerpt {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 1.4rem;
}
.card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
}
.card__author { color: var(--muted); }

.badge {
  display: inline-block;
  padding: 0.14rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
}
.badge--es { color: var(--gold); border-color: rgba(233, 196, 106, 0.32); }
.badge--both { color: var(--violet); border-color: rgba(169, 139, 250, 0.32); }

/* --- Filters ------------------------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}
.chip {
  appearance: none;
  padding: 0.42rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.chip:hover { color: var(--text); border-color: var(--line-hi); }
.chip.is-on { color: var(--void); background: var(--green); border-color: var(--green); font-weight: 600; }

/* --- Reader (single transmission) ---------------------------------------- */

.reader { padding: clamp(2.5rem, 7vh, 4.5rem) 0 clamp(4rem, 10vh, 7rem); }

.reader__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 2.75rem;
  transition: color 0.2s;
}
.reader__back:hover { color: var(--green); }

.reader__head { max-width: var(--readw); margin: 0 auto 3rem; }

.reader__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1.4rem;
}

.reader__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.3rem, 6.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.018em;
  margin: 0;
}
.reader__alt {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--faint);
  margin: 0.6rem 0 0;
}
.reader__byline {
  margin-top: 1.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.reader__byline .sigil { color: var(--green); font-size: 1rem; letter-spacing: 0; }

.body { max-width: var(--readw); margin-inline: auto; }

.stanza {
  font-family: var(--serif);
  font-size: clamp(1.22rem, 2.7vw, 1.5rem);
  line-height: 1.72;
  color: #e9f1ee;
  margin: 0 0 2.4rem;
  font-weight: 300;
}
.stanza .line { display: block; }
.stanza .line--indent { padding-left: 1.6rem; }

.body p.prose {
  font-family: var(--serif);
  font-size: clamp(1.12rem, 2.3vw, 1.28rem);
  line-height: 1.8;
  color: #e2ebe8;
  margin: 0 0 1.7rem;
  font-weight: 300;
}

.note {
  max-width: var(--readw);
  margin: 3.5rem auto 0;
  padding: 1.2rem 1.4rem;
  border-left: 2px solid var(--line-hi);
  background: var(--panel);
  border-radius: 0 10px 10px 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted);
}
.note strong {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.tags {
  max-width: var(--readw);
  margin: 2.5rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

.reader__nav {
  max-width: var(--readw);
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.reader__nav a { color: var(--muted); transition: color 0.2s; max-width: 46%; }
.reader__nav a:hover { color: var(--green); }
.reader__nav .dir { display: block; color: var(--faint); font-size: 0.58rem; margin-bottom: 0.3rem; }

/* --- Collective ---------------------------------------------------------- */

.people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr));
  gap: 1.1rem;
}

.person {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(11, 18, 25, 0.72), rgba(5, 9, 13, 0.52));
  backdrop-filter: blur(7px) saturate(120%);
  -webkit-backdrop-filter: blur(7px) saturate(120%);
  transition: border-color 0.3s, transform 0.3s;
}
.person:hover { border-color: var(--line-hi); transform: translateY(-3px); }

.person__sigil {
  position: relative;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 1px solid var(--line-hi);
  border-radius: 50%;
  color: var(--green);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  background: radial-gradient(circle at 50% 40%, rgba(111, 227, 165, 0.14), transparent 70%);
  text-shadow: 0 0 16px rgba(111, 227, 165, 0.5);
}
.person__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 0.2rem;
}
.person__alias {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.9rem;
}
.person__role {
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 1rem;
}
.person__bio {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 1.2rem;
}
.person__count {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}

/* --- Open call ----------------------------------------------------------- */

.call {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(2.25rem, 6vw, 4rem);
  background: linear-gradient(150deg, rgba(111, 227, 165, 0.07), rgba(169, 139, 250, 0.05));
  text-align: center;
  overflow: hidden;
}
.call > *:not(.fol) { position: relative; z-index: 1; }
.call h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  margin: 0 0 1rem;
  line-height: 1.15;
}
.call p {
  max-width: 34rem;
  margin: 0 auto 2rem;
  color: var(--muted);
  line-height: 1.8;
}

/* --- Submissions form ---------------------------------------------------- */

.form {
  max-width: 44rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(11, 18, 25, 0.76), rgba(5, 9, 13, 0.58));
  backdrop-filter: blur(9px) saturate(120%);
  -webkit-backdrop-filter: blur(9px) saturate(120%);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
@media (max-width: 620px) {
  .form__row { grid-template-columns: 1fr; }
}

.field { margin-bottom: 1.1rem; }

.field > label {
  display: block;
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}
.field .req { color: var(--green); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(4, 8, 12, 0.55);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.6;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea {
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.75;
  resize: vertical;
  min-height: 9rem;
}
.field textarea.verse { white-space: pre-wrap; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: rgba(111, 227, 165, 0.06);
  box-shadow: 0 0 0 3px rgba(111, 227, 165, 0.12);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 19px) calc(50% + 1px), calc(100% - 14px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.field select option { background: #0a1018; color: var(--text); }

.field__hint {
  font-size: 0.74rem;
  color: var(--faint);
  margin: 0.45rem 0 0;
  line-height: 1.6;
}

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }

.form__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.form__status {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
}
.form__status.is-error { color: #ff9d9d; }

/* Sits inside .form, which already provides the panel — no second frame. */
.form__sent {
  text-align: center;
  padding: 2rem 0.5rem;
}
.form__sent h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin: 1.25rem 0 0.8rem;
}
.form__sent p { color: var(--muted); max-width: 30rem; margin: 0 auto 2rem; }
.form__sent .fol {
  position: static;
  width: 74px; height: 74px;
  margin-inline: auto;
  opacity: 0.55;
  animation: fol-turn 90s linear infinite;
}

/* --- Footer -------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 4rem;
  margin-top: 2rem;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer__mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  margin: 0 0 0.4rem;
}
.footer small { color: var(--faint); font-size: 0.68rem; letter-spacing: 0.1em; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__links a {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--green); }

/* --- Reveal on scroll ---------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.85s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- Utility ------------------------------------------------------------- */

.empty {
  padding: 4rem 1rem;
  text-align: center;
  color: var(--faint);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
