/* ═══════════════════════════════════════════════════════════
   SNOT — definitely not a cult. (a Twitch team website)
   Palette: void black, ritual purple, and sacred snot green.
   ═══════════════════════════════════════════════════════════ */

:root {
  --void: #0a0a0f;
  --void-2: #101018;
  --void-3: #16121f;
  --purple: #2a1b3d;
  --purple-2: #3d2a57;
  --green: #a4de02;
  --green-dim: #7fae06;
  --green-glow: rgba(164, 222, 2, 0.35);
  --bone: #e8e4d8;
  --bone-dim: #a9a49a;
  --serif: "Cinzel", serif;
  --sans: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(61, 42, 87, 0.45), transparent),
    radial-gradient(ellipse 60% 40% at 80% 110%, rgba(42, 27, 61, 0.5), transparent);
}

::selection { background: var(--green); color: var(--void); }

h1, h2, h3, .nav-name { font-family: var(--serif); }

a { color: var(--green); }

.nowrap { white-space: nowrap; }

/* ── The Sigil (the real one, tinted by currentColor) ───── */
.sigil-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: currentColor;
  -webkit-mask: url("assets/sigil.webp") center / contain no-repeat;
  mask: url("assets/sigil.webp") center / contain no-repeat;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85em 1.8em;
  border-radius: 4px;
  border: 1px solid var(--green);
  cursor: pointer;
  transition: all 0.25s ease;
  background: transparent;
  color: var(--green);
}
.btn-green {
  background: var(--green);
  color: var(--void);
}
.btn-green:hover {
  box-shadow: 0 0 24px var(--green-glow), 0 0 60px var(--green-glow);
  transform: translateY(-2px);
}
.btn-ghost:hover {
  background: rgba(164, 222, 2, 0.1);
  box-shadow: 0 0 18px var(--green-glow);
}
.btn-small { padding: 0.5em 1.2em; font-size: 0.8rem; }
.btn-big { font-size: 1.1rem; padding: 1em 2.2em; }

/* ── The Gate (entry overlay) ───────────────────────────── */
.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 6, 10, 0.96);
  backdrop-filter: blur(6px);
  transition: opacity 0.6s ease;
  padding: 1.5rem;
}
.gate.gone { opacity: 0; pointer-events: none; }
.gate-inner {
  max-width: 520px;
  text-align: center;
  border: 1px solid var(--purple-2);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  background: var(--void-2);
  box-shadow: 0 0 80px rgba(42, 27, 61, 0.8);
}
.gate-sigil { width: 90px; margin: 0 auto 1.5rem; color: var(--green); animation: spin 40s linear infinite; }
.gate-inner h2 { font-size: 1.15rem; font-weight: 400; color: var(--bone-dim); letter-spacing: 0.05em; }
.gate-oath {
  font-family: var(--serif);
  font-size: 2rem;
  margin: 1rem 0 2rem;
  color: var(--bone);
  text-shadow: 0 0 30px var(--green-glow);
}
.gate-oath em { color: var(--green); font-style: normal; }
.gate-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.gate-fine { margin-top: 1.75rem; font-size: 0.72rem; color: var(--bone-dim); font-style: italic; }

/* ── Nav ────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem clamp(1rem, 4vw, 3rem);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(164, 222, 2, 0.15);
}
.nav-brand { display: flex; align-items: baseline; gap: 0.6rem; text-decoration: none; }
.nav-sigil { width: 30px; align-self: center; color: var(--green); }
.nav-name { font-size: 1.5rem; font-weight: 800; color: var(--bone); letter-spacing: 0.25em; }
.nav-sub {
  font-size: 0.65rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border: 1px solid var(--green-dim);
  border-radius: 3px;
  padding: 0.15em 0.5em;
}
.nav-links { display: flex; align-items: center; gap: clamp(0.8rem, 2.5vw, 1.8rem); }
.nav-links a:not(.btn) {
  color: var(--bone-dim);
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 0.2s;
}
.nav-links a:not(.btn):hover { color: var(--green); }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(4rem, 10vh, 8rem) 1.5rem 5rem;
  overflow: hidden;
}
.hero-sigil {
  width: clamp(140px, 22vw, 220px);
  margin: 0 auto 2rem;
  color: var(--green);
  filter: drop-shadow(0 0 25px var(--green-glow));
  cursor: pointer;
}
.hero-sigil .sigil-img { animation: spin 60s linear infinite; }
.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--bone-dim);
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(4.5rem, 16vw, 11rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--bone);
  text-shadow:
    0 0 20px var(--green-glow),
    0 0 80px var(--green-glow);
  animation: pulse-glow 4s ease-in-out infinite;
}
.hero-title .tl {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.34, 1.6, 0.64, 1), color 0.25s;
  animation: letter-rise 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: calc(var(--i) * 0.09s);
}
.hero-title .tl:hover {
  transform: translateY(-12px) rotate(-6deg) scale(1.12);
  color: var(--green);
}
.hero-acronym {
  font-family: var(--serif);
  font-size: clamp(1rem, 2.6vw, 1.5rem);
  color: var(--bone-dim);
  letter-spacing: 0.1em;
  margin: 1rem 0 1.25rem;
}
.acronym-flip {
  display: inline-block;
  color: var(--green);
  transition: opacity 0.3s, transform 0.3s;
}
.acronym-flip.flipping { opacity: 0; transform: translateY(10px) skewX(-8deg); }
.hero-tag { max-width: 560px; margin: 0 auto 2.5rem; color: var(--bone-dim); font-size: 1.05rem; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.stamp {
  position: absolute;
  top: clamp(5rem, 12vh, 9rem);
  right: clamp(0.5rem, 8vw, 9rem);
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(0.75rem, 1.6vw, 1.05rem);
  line-height: 1.2;
  color: rgba(222, 60, 60, 0.75);
  border: 3px double rgba(222, 60, 60, 0.75);
  border-radius: 6px;
  padding: 0.6em 0.8em;
  transform: rotate(12deg);
  letter-spacing: 0.1em;
  pointer-events: none;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.6'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
  mask-size: 180px;
}

/* ── Ticker ─────────────────────────────────────────────── */
.ticker {
  overflow: hidden;
  border-top: 1px solid rgba(164, 222, 2, 0.25);
  border-bottom: 1px solid rgba(164, 222, 2, 0.25);
  background: rgba(164, 222, 2, 0.05);
  padding: 0.6rem 0;
}
.ticker-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: ticker 30s linear infinite;
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green);
  white-space: nowrap;
}
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ── Sections ───────────────────────────────────────────── */
.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(4rem, 9vh, 7rem) 1.5rem;
  text-align: center;
}
.section-wide { max-width: 1200px; }
.section-kicker {
  font-family: var(--serif);
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--green-dim);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  font-weight: 600;
  color: var(--bone);
  margin-bottom: 0.75rem;
}
.section-sub { color: var(--bone-dim); max-width: 620px; margin: 0 auto 3rem; }

/* ── Tenets ─────────────────────────────────────────────── */
.tenets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  text-align: left;
}
.tenet {
  position: relative;
  background: var(--void-2);
  border: 1px solid var(--purple-2);
  border-radius: 8px;
  padding: 2rem 1.5rem 1.75rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.tenet:hover {
  border-color: var(--green-dim);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(164, 222, 2, 0.12);
}
.tenet-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--green);
  opacity: 0.85;
  display: block;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 18px var(--green-glow);
}
.tenet h3 { font-size: 1.1rem; margin-bottom: 0.6rem; color: var(--bone); }
.tenet p { font-size: 0.92rem; color: var(--bone-dim); }

/* ── Members ────────────────────────────────────────────── */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  text-align: left;
}
.member {
  position: relative;
  background: linear-gradient(160deg, var(--void-3), var(--void-2) 60%);
  border: 1px solid var(--purple-2);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.member::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -20%, var(--m-color, var(--green)) 0%, transparent 55%);
  opacity: 0.08;
  transition: opacity 0.3s;
  pointer-events: none;
}
.member {
  transform: perspective(900px) translateY(var(--lift, 0px)) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform 0.15s ease-out, border-color 0.3s, box-shadow 0.3s;
}
.member:hover { --lift: -5px; border-color: var(--m-color, var(--green)); box-shadow: 0 16px 48px rgba(0,0,0,0.55); }
.member:hover::before { opacity: 0.18; }
.member { cursor: pointer; }
.member:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.member.featured {
  grid-column: 1 / -1;
  border-color: var(--green-dim);
  box-shadow: 0 0 50px rgba(164, 222, 2, 0.08);
}
@media (min-width: 700px) {
  .member.featured { flex-direction: row; align-items: center; gap: 2.5rem; padding: 2.5rem; }
  .member.featured .member-body { flex: 1; }
}

.member-avatar {
  width: 104px;
  height: 104px;
  flex-shrink: 0;
  position: relative;
  color: var(--m-color, var(--green));
  border-radius: 50%;
  border: 2px solid currentColor;
  outline: 1px dashed currentColor;
  outline-offset: 5px;
  box-shadow: 0 0 22px var(--m-color, var(--green)), inset 0 0 12px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  background: var(--void-3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.member:hover .member-avatar { transform: scale(1.05) rotate(2deg); }
.member.featured .member-avatar { width: 150px; height: 150px; }
.member-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--m-color, var(--green));
}

.member-rank {
  font-family: var(--serif);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--m-color, var(--green));
}
.member-name { font-size: 1.5rem; color: var(--bone); line-height: 1.15; }
.member.featured .member-name { font-size: 2.1rem; }
.member-bio { color: var(--bone-dim); font-size: 0.95rem; }
.member-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.member-meta span {
  border: 1px solid var(--purple-2);
  border-radius: 999px;
  padding: 0.25em 0.8em;
  color: var(--bone-dim);
}
.member-link {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--m-color, var(--green));
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, text-shadow 0.2s;
}
.member-link:hover { border-color: currentColor; text-shadow: 0 0 14px currentColor; }

.member-live {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--void);
  background: var(--green);
  border-radius: 3px;
  padding: 0.3em 0.7em;
  animation: pulse-glow 2.5s ease-in-out infinite;
}
.member-live.live-now {
  top: 1rem;
  right: 1rem;
  background: #ff4d4d;
  color: #fff;
  box-shadow: 0 0 16px rgba(255, 77, 77, 0.6);
}
/* on the featured card the top-right corner belongs to the Chosen badge — stack below it */
.member.featured .member-live.live-now { top: 2.9rem; }

/* ── Numbers ────────────────────────────────────────────── */
.numbers { padding-top: 2rem; padding-bottom: 2rem; }
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  border-top: 1px solid var(--purple-2);
  border-bottom: 1px solid var(--purple-2);
  padding: 2.5rem 0;
}
.num { display: flex; flex-direction: column; gap: 0.3rem; }
.num-big {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--green);
  text-shadow: 0 0 24px var(--green-glow);
}
.num-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--bone-dim); }

/* ── Testimonials ───────────────────────────────────────── */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  text-align: left;
}
.quote {
  background: var(--void-2);
  border-left: 3px solid var(--green-dim);
  border-radius: 0 8px 8px 0;
  padding: 1.75rem 1.5rem;
  font-style: italic;
  color: var(--bone);
}
.quote p { font-size: 0.98rem; margin-bottom: 1rem; }
.quote cite { font-style: normal; font-size: 0.8rem; color: var(--green); letter-spacing: 0.05em; }
.quotes-fine { margin-top: 1.5rem; font-size: 0.7rem; color: var(--bone-dim); font-style: italic; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; text-align: left; }
.faq {
  border: 1px solid var(--purple-2);
  border-radius: 8px;
  background: var(--void-2);
  margin-bottom: 0.75rem;
  transition: border-color 0.25s;
}
.faq[open] { border-color: var(--green-dim); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.4rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--bone);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "✦";
  color: var(--green);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq[open] summary::after { transform: rotate(180deg) scale(1.3); }
.faq p { padding: 0 1.4rem 1.2rem; color: var(--bone-dim); }

/* ── Merch (coming soon) ────────────────────────────────── */
.merch { padding-top: 0; }
.merch-box {
  position: relative;
  border: 1px solid var(--purple-2);
  border-radius: 12px;
  padding: 3rem 2rem 2.5rem;
  background: linear-gradient(160deg, var(--void-3), var(--void-2) 60%);
  overflow: hidden;
}
.merch-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -30%, var(--green) 0%, transparent 55%);
  opacity: 0.07;
  pointer-events: none;
}
.merch-box .section-sub { margin-bottom: 2rem; }
.merch-stamp {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(0.8rem, 1.6vw, 1rem);
  line-height: 1.2;
  color: rgba(222, 60, 60, 0.8);
  border: 3px double rgba(222, 60, 60, 0.8);
  border-radius: 6px;
  padding: 0.5em 0.7em;
  transform: rotate(9deg);
  letter-spacing: 0.12em;
  pointer-events: none;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.6'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
  mask-size: 160px;
}
.merch-fine { margin-top: 1.5rem; font-size: 0.72rem; color: var(--bone-dim); font-style: italic; }

/* ── Ascend / Join ──────────────────────────────────────── */
.ascend { position: relative; }
.ascend-sigil {
  width: 320px;
  margin: 0 auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--purple-2);
  opacity: 0.5;
  animation: spin 90s linear infinite reverse;
  pointer-events: none;
  z-index: -1;
}
.pledge-note { margin-top: 1.5rem; min-height: 1.5em; color: var(--green); font-style: italic; }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  text-align: center;
  padding: 3.5rem 1.5rem 2.5rem;
  border-top: 1px solid rgba(164, 222, 2, 0.15);
  color: var(--bone-dim);
  font-size: 0.85rem;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.5em;
  color: var(--green);
  margin-bottom: 0.75rem;
  text-shadow: 0 0 20px var(--green-glow);
}
.footer-fine { max-width: 640px; margin: 1.25rem auto 0; font-size: 0.7rem; font-style: italic; opacity: 0.8; }

/* ── The Sacred Dossier (member modal) ──────────────────── */
.dossier[hidden] { display: none; }
.dossier {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.dossier.open { opacity: 1; }
.dossier-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 10, 0.88);
  backdrop-filter: blur(8px);
}
.dossier-card {
  position: relative;
  max-width: 620px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  background: linear-gradient(160deg, var(--void-3), var(--void-2) 60%);
  border: 1px solid var(--m-color, var(--green));
  border-radius: 12px;
  padding: 2.25rem 2rem;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.7), 0 0 40px color-mix(in srgb, var(--m-color, var(--green)) 25%, transparent);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  text-align: left;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.dossier.open .dossier-card { transform: none; }
/* children must never be squashed to fit — the card scrolls instead */
.dossier-card > * { flex-shrink: 0; }
.dossier-card {
  scrollbar-width: thin;
  scrollbar-color: var(--purple-2) transparent;
}
.dossier-card::-webkit-scrollbar { width: 8px; }
.dossier-card::-webkit-scrollbar-track { background: transparent; }
.dossier-card::-webkit-scrollbar-thumb { background: var(--purple-2); border-radius: 4px; }
.dossier-card::-webkit-scrollbar-thumb:hover { background: var(--green-dim); }
.dossier-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  background: none;
  border: 1px solid var(--purple-2);
  border-radius: 50%;
  width: 2.2rem;
  height: 2.2rem;
  color: var(--bone-dim);
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.dossier-close:hover { border-color: var(--green); color: var(--green); transform: rotate(90deg); }
.dossier-head { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.dossier-head .member-avatar { width: 110px; height: 110px; }
.dossier-name { font-size: 2rem; color: var(--bone); line-height: 1.1; margin: 0.2rem 0; }
.dossier-status { font-size: 0.8rem; color: var(--bone-dim); letter-spacing: 0.05em; }
.dossier-status.is-live { color: #ff4d4d; font-weight: 700; }
.dossier-transmission {
  border: 1px dashed var(--purple-2);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  background: rgba(0, 0, 0, 0.25);
  font-style: italic;
  color: var(--bone-dim);
  font-size: 0.92rem;
}
.transmission-label {
  font-family: var(--serif);
  font-style: normal;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--m-color, var(--green));
  margin-bottom: 0.5rem;
}
.dossier-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin: 0;
}
.dossier-fields div {
  border: 1px solid var(--purple-2);
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
}
.dossier-fields dt {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bone-dim);
}
.dossier-fields dd {
  margin: 0.15rem 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--m-color, var(--green));
}
.dossier-cta { align-self: flex-start; margin-top: 0.25rem; }

/* affiliate links in the dossier */
.dossier-affiliates {
  border: 1px dashed var(--purple-2);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.aff-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.aff-row a {
  color: var(--m-color, var(--green));
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.aff-row a:hover { border-color: currentColor; }
.aff-code {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(164, 222, 2, 0.12);
  border: 1px dashed var(--green-dim);
  border-radius: 5px;
  padding: 0.25em 0.7em;
  cursor: copy;
  transition: background 0.2s, border-color 0.2s;
}
.aff-code:hover { background: rgba(164, 222, 2, 0.25); border-color: var(--green); }

/* affiliate add-row in the editor */
.ed-affrow { display: grid; grid-template-columns: 1fr 1.6fr 0.8fr auto; gap: 0.5rem; }
@media (max-width: 560px) { .ed-affrow { grid-template-columns: 1fr; } }

/* ── Social icon rows ───────────────────────────────────── */
.socials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--purple-2);
  border-radius: 6px;
  color: var(--bone-dim);
  transition: color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.social-icon svg { width: 1.05rem; height: 1.05rem; }
.social-icon:hover {
  color: var(--m-color, var(--green));
  border-color: var(--m-color, var(--green));
  transform: translateY(-2px);
  box-shadow: 0 0 12px color-mix(in srgb, var(--m-color, var(--green)) 40%, transparent);
}
.socials-row-big .social-icon { width: 2.4rem; height: 2.4rem; }
.socials-row-big .social-icon svg { width: 1.25rem; height: 1.25rem; }

.roster-error {
  grid-column: 1 / -1;
  color: var(--bone-dim);
  font-style: italic;
  padding: 3rem 1rem;
}
.roster-error code { color: var(--green); font-style: normal; }

/* ── The Inscription Chamber (member editor) ────────────── */
.editor-card { max-width: 680px; gap: 0.4rem; }
.ed-hint { font-size: 0.85rem; color: var(--bone-dim); font-style: italic; margin-bottom: 0.75rem; }
.ed-label {
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--green);
  margin-top: 0.9rem;
}
.ed-label span { text-transform: none; letter-spacing: 0.02em; color: var(--bone-dim); font-family: var(--sans); font-weight: 400; }
.editor-card input[type="text"], .editor-card input:not([type]), .editor-card textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--purple-2);
  border-radius: 6px;
  color: var(--bone);
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.6em 0.8em;
  transition: border-color 0.2s;
}
.editor-card input:focus, .editor-card textarea:focus { outline: none; border-color: var(--green); }
.editor-card textarea { resize: vertical; min-height: 7.5em; }

.ed-colors { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.ed-swatch {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.ed-swatch:hover { transform: scale(1.2); }
.ed-swatch.active { border-color: var(--bone); box-shadow: 0 0 12px currentColor; transform: scale(1.15); }

.ed-socials { display: flex; flex-direction: column; gap: 0.4rem; }
.ed-empty { font-size: 0.85rem; color: var(--bone-dim); font-style: italic; padding: 0.5rem 0; }
.ed-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--purple-2);
  border-radius: 6px;
  padding: 0.45rem 0.6rem;
  cursor: grab;
  transition: border-color 0.2s, opacity 0.2s, transform 0.2s;
}
.ed-social.dragging { opacity: 0.5; border-color: var(--green); cursor: grabbing; }
.ed-grip { color: var(--bone-dim); font-size: 1rem; cursor: grab; user-select: none; }
.ed-social-icon { display: inline-flex; color: var(--green); }
.ed-social-icon svg { width: 1.1rem; height: 1.1rem; }
.ed-social-url {
  flex: 1;
  font-size: 0.82rem;
  color: var(--bone);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ed-oncard {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bone-dim);
  cursor: pointer;
  white-space: nowrap;
}
.ed-oncard input { accent-color: var(--green); cursor: pointer; }
.ed-del {
  background: none;
  border: none;
  color: var(--bone-dim);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.2rem 0.4rem;
  transition: color 0.2s;
}
.ed-del:hover { color: #ff4d4d; }

.ed-addrow { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.ed-addrow input { flex: 1; }
.ed-status { min-height: 1.3em; font-size: 0.85rem; color: var(--green); font-style: italic; margin-top: 0.6rem; }
.ed-actions { display: flex; gap: 0.75rem; align-items: center; margin-top: 0.4rem; flex-wrap: wrap; }

/* ── Clips page ─────────────────────────────────────────── */
.nav-active { color: var(--green) !important; }
.clips-head { padding-bottom: 1rem; }
.clip-filters { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.clip-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 900px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--void-2);
  border: 1px solid var(--purple-2);
  border-radius: 999px;
  color: var(--bone-dim);
  font-family: var(--sans);
  font-size: 0.8rem;
  padding: 0.35em 0.9em 0.35em 0.5em;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.chip img { width: 1.5rem; height: 1.5rem; border-radius: 50%; object-fit: cover; }
.chip:hover { transform: translateY(-2px); border-color: var(--m-color, var(--green)); }
.chip.active {
  border-color: var(--m-color, var(--green));
  color: var(--bone);
  box-shadow: 0 0 12px color-mix(in srgb, var(--m-color, var(--green)) 35%, transparent);
}
.chip[data-member="all"] { padding-left: 0.9em; font-family: var(--serif); font-weight: 600; letter-spacing: 0.06em; }
.clip-selects { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
.clip-selects label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--serif);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--green);
}
.clip-selects select {
  background: var(--void-2);
  border: 1px solid var(--purple-2);
  border-radius: 6px;
  color: var(--bone);
  font-family: var(--sans);
  font-size: 0.85rem;
  padding: 0.45em 0.7em;
  cursor: pointer;
}
.clip-selects select:focus { outline: none; border-color: var(--green); }

.clips-section { padding-top: 1.5rem; }
.clips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
  text-align: left;
}
.clip-card {
  background: linear-gradient(160deg, var(--void-3), var(--void-2) 60%);
  border: 1px solid var(--purple-2);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.clip-card:hover {
  border-color: var(--m-color, var(--green));
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 18px color-mix(in srgb, var(--m-color, var(--green)) 20%, transparent);
}
.clip-card:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.clip-thumb { position: relative; aspect-ratio: 16 / 9; background: #000; }
.clip-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clip-duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.8);
  color: var(--bone);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 4px;
  padding: 0.15em 0.5em;
}
.clip-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  color: var(--m-color, var(--green));
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s;
  text-shadow: 0 0 20px currentColor;
}
.clip-card:hover .clip-play { opacity: 1; }
.clip-body { padding: 0.9rem 1rem 1rem; }
.clip-title {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bone);
  line-height: 1.3;
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.clip-meta { font-size: 0.78rem; color: var(--bone-dim); }
.clip-meta-dim { opacity: 0.75; margin-top: 0.15rem; }
.clip-member { color: var(--m-color, var(--green)); font-weight: 600; }

.clip-player-card { max-width: 860px; padding: 1.25rem; }
.clip-frame { aspect-ratio: 16 / 9; background: #000; border-radius: 8px; overflow: hidden; }
.clip-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.clip-player-meta { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; padding-top: 0.75rem; }

/* ── The Board of Proclamations (cork + sticky notes) ───── */
.board-head { padding-bottom: 0.5rem; }
.board-status { font-size: 0.85rem; color: var(--green); font-style: italic; min-height: 1.3em; }
.board-section { padding-top: 1.5rem; }

.cork-frame {
  border: 14px solid #4a2f1b;
  border-radius: 10px;
  box-shadow:
    inset 0 0 0 2px #2c1b0e,
    0 20px 60px rgba(0, 0, 0, 0.6);
  background: linear-gradient(135deg, #5b3a22, #4a2f1b);
  padding: 4px;
}
.cork {
  position: relative;
  min-height: 420px;
  border-radius: 4px;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 1.75rem;
  align-items: start;
  background-color: #a87748;
  background-image:
    radial-gradient(rgba(60, 34, 12, 0.25) 8%, transparent 9%),
    radial-gradient(rgba(255, 220, 180, 0.12) 8%, transparent 9%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.28'/%3E%3C/svg%3E");
  background-size: 22px 22px, 22px 22px, 240px 240px;
  background-position: 0 0, 11px 11px, 0 0;
  box-shadow: inset 0 0 60px rgba(43, 24, 8, 0.55);
}
.cork-empty {
  grid-column: 1 / -1;
  text-align: center;
  font-family: "Caveat", cursive;
  font-size: 1.5rem;
  color: #4a2f1b;
  padding: 3rem 1rem;
}

.sticky {
  position: relative;
  background-color: var(--paper, #efe098);
  color: #3b3627;
  min-height: 165px;
  padding: 1.6rem 1rem 0.9rem;
  transform: rotate(var(--tilt, 0deg)) translateY(var(--sag, 0px));
  box-shadow:
    0 1px 2px rgba(20, 10, 0, 0.3),
    2px 8px 16px rgba(20, 10, 0, 0.4);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  /* aged paper: top sheen, darkened edges, faint grain */
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 26%),
    radial-gradient(ellipse at 50% 42%, rgba(255, 255, 255, 0) 52%, rgba(112, 82, 22, 0.18) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23p)' opacity='0.06'/%3E%3C/svg%3E");
}
/* curled bottom-right corner */
.sticky::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26px;
  height: 26px;
  background: linear-gradient(315deg, rgba(61, 40, 6, 0.3) 0%, rgba(61, 40, 6, 0.1) 42%, transparent 52%);
  border-bottom-right-radius: 3px;
  pointer-events: none;
}
.sticky:hover, .sticky:focus-visible {
  transform: rotate(0deg) translateY(0) scale(1.05);
  box-shadow: 0 2px 3px rgba(20, 10, 0, 0.3), 4px 14px 30px rgba(20, 10, 0, 0.55);
  z-index: 2;
  outline: none;
}
/* the Order's letterhead: sigil watermark pressed into the paper */
.sticky-sigil {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 68%;
  aspect-ratio: 1 / 1;
  background: rgba(74, 54, 8, 0.35);
  -webkit-mask: url("assets/sigil.webp") center / contain no-repeat;
  mask: url("assets/sigil.webp") center / contain no-repeat;
  opacity: 0.14;
  pointer-events: none;
}
.pin {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  z-index: 2;
  background-color: var(--pin, #d43c3c);
  background-image:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 68% 76%, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 62%);
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.45);
}
.pin::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 50%;
  width: 2px;
  height: 6px;
  transform: translateX(-50%);
  background: linear-gradient(#777, #333);
}
.sticky-title {
  font-family: "Caveat", cursive;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.1;
  color: #2c3557;
  position: relative;
  margin-bottom: 0.35rem;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid rgba(44, 53, 87, 0.35);
  overflow-wrap: anywhere;
}
.sticky-big .sticky-title { font-size: 2.3rem; }
.composer-title {
  font-family: "Caveat", cursive;
  font-size: 1.55rem;
  font-weight: 700;
  color: #2c3557;
  background: transparent;
  border: none;
  border-bottom: 2px dashed rgba(44, 53, 87, 0.3);
  outline: none;
  margin-bottom: 0.35rem;
  padding-bottom: 0.15rem;
  position: relative;
  z-index: 1;
  width: 100%;
}
.composer-title::placeholder { color: #9a8f68; font-weight: 500; }
.sticky-text {
  font-family: "Caveat", cursive;
  font-size: 1.3rem;
  line-height: 1.25;
  font-weight: 500;
  color: #35406b; /* ballpoint ink */
  flex: 1;
  position: relative;
  overflow-wrap: anywhere;
  white-space: pre-line;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sticky-author {
  font-family: "Caveat", cursive;
  font-size: 1rem;
  font-weight: 700;
  color: #7a6a3f;
  margin-top: 0.5rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* composer note */
.sticky.composer { cursor: default; }
.sticky.composer textarea {
  flex: 1;
  min-height: 90px;
  background: transparent;
  border: none;
  resize: none;
  font-family: "Caveat", cursive;
  font-size: 1.3rem;
  line-height: 1.25;
  color: #35406b;
  outline: none;
  position: relative;
  z-index: 1;
}
.sticky.composer textarea::placeholder { color: #9a8f68; }
.composer-row { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-top: 0.4rem; }
.composer-count { font-size: 0.7rem; color: #8b8b6a; font-family: var(--sans); }
.sticky.composer.locked { align-items: flex-start; gap: 0.75rem; }

/* enlarged note */
.note-big { position: relative; width: min(92vw, 560px); }
.sticky-big {
  min-height: 300px;
  padding: 2.6rem 2rem 1.5rem;
  cursor: default;
  transform: none;
  box-shadow: 6px 18px 50px rgba(0, 0, 0, 0.65);
}
.sticky-big:hover { transform: none; }
.sticky-big .sticky-text {
  font-size: 1.9rem;
  line-height: 1.3;
  -webkit-line-clamp: unset;
  display: block;
  overflow: visible;
}
.sticky-big .pin { width: 24px; height: 24px; top: -12px; }
.sticky-big .sticky-sigil { width: 58%; opacity: 0.12; }
.sticky-big::after { width: 38px; height: 38px; }
.sticky-big-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.sticky-avatar { width: 1.6rem; height: 1.6rem; border-radius: 50%; object-fit: cover; }
.note-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  border-color: rgba(0, 0, 0, 0.3);
  color: #55552e;
}
.note-close:hover { border-color: #2c2c1e; color: #2c2c1e; }
.note-del:hover { border-color: #d43c3c; color: #d43c3c; }

/* ── Toast ──────────────────────────────────────────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 3.2rem;
  transform: translate(-50%, 20px);
  z-index: 96;
  max-width: min(92vw, 480px);
  background: var(--void-2);
  border: 1px solid var(--green-dim);
  border-radius: 8px;
  color: var(--bone);
  font-size: 0.9rem;
  padding: 0.9em 1.3em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(164, 222, 2, 0.15);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── Cookie consent banner ──────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 99;
  width: min(100%, 860px);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  background: rgba(10, 10, 15, 0.97);
  border: 1px solid var(--green-dim);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 1.1rem 1.5rem;
  box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(164, 222, 2, 0.12);
}
.cookie-text { flex: 1 1 320px; font-size: 0.85rem; color: var(--bone-dim); margin: 0; }
.cookie-text strong { color: var(--bone); }
.cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* ── Chant overlay (easter egg) ─────────────────────────── */
.chant {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(6, 6, 10, 0.92);
  font-family: var(--serif);
  font-weight: 800;
  color: var(--green);
  text-shadow: 0 0 40px var(--green-glow);
  pointer-events: none;
}
.chant.on { display: flex; }
.chant p { animation: chant-in 0.8s ease both; font-size: clamp(2rem, 8vw, 5rem); letter-spacing: 0.2em; }
.chant p:nth-child(2) { animation-delay: 0.6s; font-size: clamp(2.4rem, 9vw, 6rem); }
.chant p:nth-child(3) { animation-delay: 1.2s; font-size: clamp(2.8rem, 10vw, 7rem); }

/* ── Reveal on scroll ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.shown { opacity: 1; transform: none; }

/* ── FX canvas + indoctrination progress ────────────────── */
#fx {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 60;
  background: linear-gradient(90deg, var(--green-dim), var(--green));
  box-shadow: 0 0 12px var(--green-glow);
  transition: width 0.15s ease-out;
}
.progress-pill {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 60;
  font-family: var(--serif);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--green);
  background: rgba(10, 10, 15, 0.85);
  border: 1px solid var(--green-dim);
  border-radius: 999px;
  padding: 0.45em 1em;
  backdrop-filter: blur(6px);
  pointer-events: none;
  transition: background 0.4s, color 0.4s, box-shadow 0.4s;
}
.progress-pill.complete {
  background: var(--green);
  color: var(--void);
  box-shadow: 0 0 24px var(--green-glow);
}

/* ── Animations ─────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.82; }
}
@keyframes chant-in {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes letter-rise {
  from { opacity: 0; transform: translateY(40px) scale(0.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
  .nav-sub { display: none; }
}
