/* ============================================================
   P.E.S.T — Section styles
   ============================================================ */

/* ---------- HERO (shared) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero .wrap { width: 100%; }
.hero-emblem-wrap { position: relative; display: inline-block; }
.hero-socials { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 38px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--tx-faint);
}
.hero-meta b { color: var(--tx); font-weight: 500; }
.hero-meta .dot { color: var(--c-violet); }

/* float anim for emblems */
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.floaty { animation: float 6s ease-in-out infinite; }

/* Acronym: Play / Earn / Strive / Together */
.acronym {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.5vw, 17px);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tx-dim);
}
.heroA .acronym { justify-content: center; }
.acronym b { font-weight: 700; letter-spacing: 0.18em; }
.acronym .sep { color: var(--c-violet); font-style: normal; opacity: 0.7; }
.acronym.term-acr { font-size: 13px; margin: -4px 0 14px; }

/* Motto: We are the plague */
.motto {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: clamp(13px, 1.7vw, 19px);
  white-space: nowrap;
  position: relative;
  padding: 0 0 2px;
}
.motto .glitch { display: inline-block; }
.motto .grad-text, .motto span { display: inline-block; width: max-content; max-width: 100%; }
.motto.big { font-size: clamp(15px, 2vw, 23px); letter-spacing: 0.26em; }
.heroA .motto { text-align: center; }
.heroC .motto { margin-bottom: 12px; }
.footer-motto {
  font-family: var(--font-mono); font-weight: 700;
  letter-spacing: 0.32em; text-transform: uppercase;
  font-size: clamp(14px, 2vw, 22px); white-space: nowrap;
}

/* Variant A — centered monument */
.heroA { text-align: center; }
.heroA .hero-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 22px;
}
.heroA .emblem { width: clamp(104px, 13vw, 164px); }
.heroA .wordmark {
  font-weight: 700;
  font-size: clamp(52px, 11vw, 132px);
  letter-spacing: 0.06em;
  line-height: 0.9;
  margin: 0;
}
.heroA .tagline {
  color: var(--tx-dim);
  font-size: clamp(15px, 2vw, 22px);
  letter-spacing: 0.02em;
  max-width: 40ch;
  font-weight: 300;
}

/* Variant B — editorial split (banner-like) */
.heroB .hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.heroB .wordmark {
  font-weight: 700;
  font-size: clamp(60px, 9vw, 132px);
  letter-spacing: 0.05em;
  line-height: 0.92;
  margin: 18px 0 22px;
}
.heroB .tagline { font-size: clamp(16px, 1.6vw, 20px); color: var(--tx-dim); max-width: 42ch; line-height: 1.6; font-weight: 300; }
.heroB .visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 45%, rgba(123,63,228,0.22), transparent 65%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 5px),
    var(--bg-1);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 92% 100%, 0 100%);
}
.heroB .visual .emblem { width: 56%; position: relative; z-index: 2; }
.heroB .visual::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 18px, rgba(27,157,245,0.05) 18px 19px);
  pointer-events: none;
}
.heroB .visual .tag {
  position: absolute; bottom: 14px; left: 16px; z-index: 3;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--tx-faint); text-transform: uppercase;
}

/* Variant C — terminal / hivemind */
.heroC .hero-inner {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 46px;
  align-items: center;
}
.heroC .emblem-col { display: flex; justify-content: center; }
.heroC .emblem { width: clamp(120px, 16vw, 220px); }
.heroC .term {
  border: 1px solid var(--line);
  background: rgba(8,8,14,0.7);
  backdrop-filter: blur(4px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.heroC .term-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--tx-faint);
}
.heroC .term-bar .dots { display: flex; gap: 6px; }
.heroC .term-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); display: inline-block; }
.heroC .term-body { padding: 26px 26px 30px; }
.heroC .wordmark {
  font-weight: 700;
  font-size: clamp(44px, 7vw, 92px);
  letter-spacing: 0.05em;
  line-height: 0.95;
  margin: 0 0 16px;
}
.heroC .term-line { font-family: var(--font-mono); font-size: 14px; color: var(--tx-dim); line-height: 1.9; }
.heroC .term-line .pmt { color: var(--c-cyan); }
.heroC .cursor {
  display: inline-block; width: 9px; height: 17px;
  background: var(--c-magenta); margin-left: 4px;
  vertical-align: -2px; animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 880px) {
  .heroB .hero-inner, .heroC .hero-inner { grid-template-columns: 1fr; }
  .heroB .visual { max-width: 420px; }
  .heroC .emblem-col { display: none; }
}

/* ---------- Generic section header ---------- */
.sec-pad { padding: 110px 0; }
.sec-head { margin-bottom: 54px; max-width: 64ch; }

/* ---------- Manifesto ---------- */
.manifesto { border-top: 1px solid var(--line); }
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.manifesto-statement {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.005em;
}
.manifesto-statement em { font-style: normal; }
.manifesto-cols { display: grid; gap: 26px; }
.manifesto-cols .pt { display: grid; gap: 8px; }
.manifesto-cols .pt h4 {
  margin: 0; font-size: 14px; font-family: var(--font-mono);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--tx);
  display: flex; align-items: center; gap: 10px;
}
.manifesto-cols .pt h4 .num { color: var(--c-violet); }
.manifesto-cols .pt p { margin: 0; color: var(--tx-dim); font-size: 15px; line-height: 1.6; font-weight: 300; }
@media (max-width: 880px) { .manifesto-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Structure / hierarchy ---------- */
.structure { border-top: 1px solid var(--line); background: var(--bg-1); }
.tiers { display: grid; gap: 14px; }
.tier {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  background: var(--panel);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.tier::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent-grad);
  opacity: 0.85;
}
.tier:hover { border-color: var(--line-strong); transform: translateX(4px); }
.tier .rank {
  font-family: var(--font-mono); font-size: 22px; font-weight: 600;
  color: var(--tx-faint);
}
.tier .t-name { font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; letter-spacing: 0.01em; }
.tier .t-desc { color: var(--tx-dim); font-size: 14px; margin-top: 4px; font-weight: 300; line-height: 1.5; }
.tier .t-count {
  font-family: var(--font-mono); font-weight: 600; font-size: 18px;
  padding: 8px 16px; border: 1px solid var(--line-strong);
  color: var(--tx); white-space: nowrap;
}
.tier-1::before { width: 4px; }
.tier-1 .t-count { background: var(--accent-grad-h); border: none; color: #fff; }
.struct-note {
  margin-top: 26px; padding: 18px 22px;
  border: 1px dashed var(--line-strong);
  font-family: var(--font-mono); font-size: 13px; line-height: 1.7;
  color: var(--tx-dim);
  display: flex; gap: 14px; align-items: flex-start;
}
.struct-note .ic { color: var(--c-magenta); flex-shrink: 0; }
@media (max-width: 680px) {
  .tier { grid-template-columns: 44px 1fr; }
  .tier .t-count { grid-column: 2; justify-self: start; margin-top: 6px; }
}

/* special designations */
.special-roles { margin-top: 54px; padding-top: 44px; border-top: 1px solid var(--line); }
.special-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.special-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 24px 24px 26px;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  overflow: hidden;
}
.special-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
}
.special-card.oracle::before { background: var(--c-cyan); box-shadow: 0 0 16px rgba(27,157,245,0.5); }
.special-card.gcoder::before { background: var(--c-magenta); box-shadow: 0 0 16px rgba(224,36,154,0.45); }
.special-card p { margin: 0; color: var(--tx-dim); font-size: 14px; line-height: 1.6; font-weight: 300; }
@media (max-width: 680px) { .special-grid { grid-template-columns: 1fr; } }

/* ---------- Core member showcase ---------- */
.members { border-top: 1px solid var(--line); }
.member-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.m-card {
  position: relative;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 14px;
  transition: all 0.3s var(--ease);
  text-align: center;
  overflow: hidden;
}
.m-card::after {
  content: ""; position: absolute; inset: 0;
  background: var(--accent-grad);
  opacity: 0; transition: opacity 0.3s;
  mix-blend-mode: overlay;
}
.m-card:hover { border-color: transparent; transform: translateY(-4px); box-shadow: var(--glow-cyan); }
.m-card:hover .m-avatar { filter: none; }
.m-card:hover::after { opacity: 0.18; }
.m-avatar {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(45deg, rgba(123,63,228,0.10) 0 8px, transparent 8px 16px),
    var(--bg-1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
  transition: filter 0.3s;
}
.m-avatar img { width: 100%; height: 100%; object-fit: cover; }
.m-avatar .ph {
  font-family: var(--font-mono); font-size: 26px; font-weight: 600;
  color: var(--tx-faint);
}
.m-card .m-nick { font-size: 15px; font-weight: 600; letter-spacing: 0.01em; }
.m-card .m-role {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--tx-faint); margin-top: 3px;
}
/* role badges */
.m-badges {
  position: absolute; top: 8px; left: 8px; z-index: 3;
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
}
.m-multi {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  font-family: var(--font-mono); font-size: 9px; font-weight: 600;
  letter-spacing: 0.06em; padding: 3px 6px;
  background: rgba(8,8,14,0.82); border: 1px solid var(--line-strong);
  color: var(--tx-dim);
}
.m-badge {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 4px 7px; font-weight: 600;
  white-space: nowrap; line-height: 1;
}
.m-badge.lead { background: var(--accent-grad-h); color: #fff; }
.m-badge.co { background: rgba(8,8,14,0.82); border: 1px solid var(--c-violet); color: #c9b8ff; }
.m-badge.oracle { background: rgba(8,8,14,0.82); border: 1px solid var(--c-cyan); color: #9fdcff; box-shadow: 0 0 12px rgba(27,157,245,0.35); }
.m-badge.gcoder { background: rgba(8,8,14,0.82); border: 1px solid var(--c-magenta); color: #ff9fd6; box-shadow: 0 0 12px rgba(224,36,154,0.3); }

@media (max-width: 1024px) { .member-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 820px) { .member-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .member-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 380px) { .member-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Member modal ---------- */
.modal-back {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(3,3,7,0.82);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: fade 0.25s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
.modal {
  position: relative;
  width: min(560px, 100%);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: var(--panel-solid);
  border: 1px solid var(--line-strong);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  animation: pop 0.3s var(--ease);
  overflow: hidden;
}
@keyframes pop { from { transform: scale(0.94) translateY(10px); opacity: 0; } }
.modal-top {
  position: relative;
  flex-shrink: 0;
  padding: 30px;
  display: flex; gap: 22px; align-items: center;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 140% at 0% 0%, rgba(27,157,245,0.12), transparent 55%);
}
.modal-av {
  width: 104px; height: 104px; flex-shrink: 0;
  border: 1px solid var(--line-strong);
  background: repeating-linear-gradient(45deg, rgba(123,63,228,0.12) 0 8px, transparent 8px 16px), var(--bg-1);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.modal-av img { width: 100%; height: 100%; object-fit: cover; }
.modal-av .ph { font-family: var(--font-mono); font-size: 34px; color: var(--tx-faint); font-weight: 600; }
.modal-id { min-width: 0; }
.modal-role {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--c-cyan); margin-bottom: 6px;
}
.modal-nick { font-size: 30px; font-weight: 700; letter-spacing: 0.01em; line-height: 1; }
.modal-pfp {
  font-family: var(--font-mono); font-size: 12px; color: var(--tx-faint);
  margin-top: 8px; letter-spacing: 0.04em;
}
.modal-pfp b { color: var(--tx-dim); font-weight: 500; }
.pfp-partner-pill {
  display: inline-flex; align-items: center; gap: 4px;
  margin-left: 8px; padding: 2px 8px; cursor: pointer;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: var(--accent-grad-h); border: none;
  transition: all 0.2s var(--ease); vertical-align: 1px;
}
.pfp-partner-pill:hover { filter: brightness(1.12); box-shadow: var(--glow-cyan); transform: translateY(-1px); }
.pfp-partner-pill .arr { font-size: 11px; }
.p-flash { animation: pflash 1.6s var(--ease); }
@keyframes pflash {
  0%, 100% { box-shadow: 0 0 0 0 transparent; border-color: var(--line); }
  20%, 60% { box-shadow: 0 0 0 1px var(--c-cyan), var(--glow-cyan); border-color: var(--c-cyan); }
}
.modal-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.modal-body { padding: 26px 30px 30px; overflow-y: auto; }
.modal-desc { color: var(--tx-dim); font-size: 15px; line-height: 1.7; font-weight: 300; white-space: pre-line; }
.modal-desc.faint { color: var(--tx-faint); font-style: italic; }

/* PFP collection strip */
.pfp-strip { margin-bottom: 22px; }
.pfp-strip-label {
  display: block; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--tx-faint);
  margin-bottom: 10px;
}
.pfp-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pfp-thumb {
  width: 52px; height: 52px; padding: 0; cursor: pointer;
  border: 1px solid var(--line-strong);
  background: repeating-linear-gradient(45deg, rgba(123,63,228,0.12) 0 6px, transparent 6px 12px), var(--bg-1);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--tx-faint);
  transition: all 0.2s var(--ease);
  overflow: hidden;
}
.pfp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pfp-thumb:hover { border-color: var(--c-violet); }
.pfp-thumb.active { border-color: transparent; box-shadow: 0 0 0 2px var(--c-cyan), var(--glow-cyan); }
.modal-socials { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: rgba(0,0,0,0.3); color: var(--tx-dim);
  cursor: pointer; transition: all 0.2s;
}
.modal-close:hover { color: var(--tx); border-color: var(--c-magenta); }

/* social pill */
.social-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.015);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  color: var(--tx-dim); text-decoration: none; cursor: pointer;
  transition: all 0.25s var(--ease);
}
.social-pill svg { width: 15px; height: 15px; }
.social-pill:hover { color: var(--tx); border-color: var(--c-violet); box-shadow: var(--glow-cyan); transform: translateY(-1px); }

/* ---------- Partners ---------- */
.partners { border-top: 1px solid var(--line); background: var(--bg-1); }
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.p-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 26px;
  transition: all 0.3s var(--ease);
  display: flex; flex-direction: column; gap: 18px;
}
.p-card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.p-logo {
  width: 60px; height: 60px;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 600; font-size: 22px;
  color: var(--tx-faint);
  background: var(--bg-2);
  overflow: hidden;
}
.p-logo img { width: 100%; height: 100%; object-fit: cover; }
.p-card h3 { margin: 0; font-size: 21px; font-weight: 600; }
.p-card .p-desc { color: var(--tx-dim); font-size: 14px; line-height: 1.6; font-weight: 300; flex: 1; }
.p-links { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 880px) { .partner-grid { grid-template-columns: 1fr; } }

/* ---------- legal text links in footer-bottom ---------- */
.footer-legal { color: var(--tx-faint, #8a8a96); text-decoration: none; transition: color 160ms ease; }
.footer-legal:hover { color: var(--tx, #e6e6ee); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 80px 0 40px; }
.footer-cta {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.footer-cta img { height: 48px; }
.footer-cta h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 700; margin: 0; letter-spacing: 0.02em; }
.footer-cta p { color: var(--tx-dim); max-width: 46ch; margin: 0; line-height: 1.6; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  color: var(--tx-faint);
}
.footer-bottom a { color: var(--tx-faint); text-decoration: none; }
.footer-bottom a:hover { color: var(--tx-dim); }
.footer-socials { display: flex; gap: 10px; }

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

/* ---------- Honorary medals (on PFP edge) ---------- */
.m-avatar, .modal-av { position: relative; overflow: visible; }
.hb-medals {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  transform: translateY(50%);
  display: flex; justify-content: center; gap: 4px; pointer-events: none;
}
.hb-medal {
  width: 21px; height: 21px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(7,7,13,0.92); border: 1px solid currentColor;
  box-shadow: 0 2px 7px rgba(0,0,0,0.55), 0 0 10px -2px currentColor; pointer-events: auto;
}
.hb-medal svg { width: 12px; height: 12px; }
.hb-medals.big { gap: 6px; }
.hb-medals.big .hb-medal { width: 27px; height: 27px; }
.hb-medals.big .hb-medal svg { width: 15px; height: 15px; }
.hb-genius { color: #2ec5ff; }
.hb-supervisor { color: #9a7bff; }
.hb-curator { color: #ff5bc4; }
.hb-eventhost { color: #ffab3d; }
.hb-moderator { color: #16d39a; }
/* honorary chips in modal */
.modal-badges.hbadges { margin-top: 8px; }
.hb-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 9px; border: 1px solid currentColor;
  background: rgba(255,255,255,0.02);
}
.hb-chip svg { width: 12px; height: 12px; }

/* ============================================================
   MOBILE — consolidated responsive hardening
   ============================================================ */
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .sec-pad { padding: 72px 0; }
  .sec-head { margin-bottom: 38px; }

  .hero { padding: 104px 0 64px; min-height: auto; }
  .heroA .hero-inner { gap: 18px; }
  .heroA .emblem { width: clamp(92px, 30vw, 130px); }
  .heroA .wordmark { font-size: clamp(46px, 18vw, 92px); }
  .motto.big { font-size: 15px; letter-spacing: 0.2em; }
  .footer-motto { font-size: 15px; letter-spacing: 0.2em; }
  .acronym { font-size: 12px; gap: 10px; letter-spacing: 0.14em; }
  .hero-meta { gap: 14px 18px; margin-top: 28px; font-size: 11px; }
  .hero-socials { width: 100%; }
  .hero-socials .btn { flex: 1; justify-content: center; }

  .h-sec { font-size: clamp(26px, 8vw, 40px); }
  .manifesto-statement { font-size: clamp(20px, 6vw, 28px); }

  /* members */
  .members .lead, .partners .lead { font-size: 14px; }
  .m-card { padding: 10px; }
  .m-card .m-nick { font-size: 13px; }
  .m-badge { font-size: 8px; padding: 3px 5px; letter-spacing: 0.08em; }
  .m-badges { gap: 3px; top: 6px; left: 6px; }
  .m-multi { font-size: 8px; top: 6px; right: 6px; }

  /* modal */
  .modal-back { padding: 14px; align-items: flex-end; }
  .modal { max-height: 92vh; }
  .modal-top { flex-direction: column; text-align: center; padding: 26px 22px; gap: 16px; }
  .modal-badges { justify-content: center; }
  .modal-body { padding: 22px; }
  .pfp-thumbs { justify-content: center; }
  .modal-socials { gap: 8px; }
  .modal-nick { font-size: 26px; }

  /* footer */
  .footer { padding: 60px 0 32px; }
  .footer-cta { padding-bottom: 48px; }
  .footer-bottom { justify-content: center; text-align: center; flex-direction: column; gap: 14px; }
}

@media (max-width: 420px) {
  .member-grid { gap: 10px; }
  .motto.big { letter-spacing: 0.14em; }
  .heroA .wordmark { letter-spacing: 0.04em; }
}
