/* ============================================================
   PREMA — prema.red
   Mutual Aid Tool by The Red Party
   Aesthetic: Soviet Poster weight · Tender message
   Palette: Aged parchment · Warm charcoal · #BB0000 · Gold
   Fonts: Cormorant Garamond · Jost
   ============================================================ */

:root {
  --red:          #BB0000;
  --red-deep:     #990000;
  --red-bg:       #A50000;
  --red-soft:     rgba(187,0,0,0.08);
  --gold:         #C9A84C;
  --gold-light:   #E8D49A;

  --paper:        #EDE0C4;
  --paper-mid:    #D9C9A3;
  --paper-deep:   #C8B48A;
  --ink:          #1C1810;
  --ink-mid:      #3A3228;
  --ink-soft:     rgba(28,24,16,0.55);
  --ink-ghost:    rgba(28,24,16,0.12);

  --surface:      var(--paper);
  --surface-alt:  var(--paper-mid);
  --card-bg:      var(--paper-mid);
  --text:         var(--ink);
  --text-mid:     var(--ink-mid);
  --text-soft:    var(--ink-soft);
  --divider:      var(--ink-ghost);

  --font-d:  'Cormorant Garamond', serif;
  --font-b:  'Jost', sans-serif;
  --nav-h:   62px;
  --ease:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);

  /* Crosshatch — used on hero AND as site bg */
  --crosshatch: repeating-linear-gradient(
      45deg,
      rgba(0,0,0,0.045) 0px, rgba(0,0,0,0.045) 1px,
      transparent 1px, transparent 14px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(0,0,0,0.045) 0px, rgba(0,0,0,0.045) 1px,
      transparent 1px, transparent 14px
    );
}

/* ── DARK MODE ── */
@media (prefers-color-scheme: dark) {
  :root {
    --surface:     #1A1915;
    --surface-alt: #222018;
    --card-bg:     #2A2820;
    --text:        #EDE0C4;
    --text-mid:    rgba(237,224,196,0.75);
    --text-soft:   rgba(237,224,196,0.42);
    --divider:     rgba(237,224,196,0.1);
    --red-soft:    rgba(187,0,0,0.15);
  }
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  background-color: var(--red-bg);
  background-image: var(--crosshatch);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

/* Grain only on hero, not the whole page */

img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: var(--font-b); border: none; background: none; }
input, select, textarea { font-family: var(--font-b); }

.page { display: none; }
.page.active { display: block; }


/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: #1C1810;
  border-bottom: 3px solid var(--red);
  z-index: 800;
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}
.logo-word {
  font-family: var(--font-d);
  font-size: 1.55rem;
  font-weight: 600;
  font-style: italic;
  color: #EDE0C4;
  letter-spacing: -0.01em;
  line-height: 1;
}
.logo-dot {
  color: var(--red);
  font-size: 1.2rem;
}
.logo-sub {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(237,224,196,0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
}
.nav-link {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(237,224,196,0.4);
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.25s var(--ease);
}
.nav-link:hover, .nav-link.active { color: #EDE0C4; }
.nav-link.active::after, .nav-link:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.nav-btn-need {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  background: transparent;
  transition: all 0.15s;
}
.nav-btn-need:hover { background: rgba(201,168,76,0.12); border-color: var(--gold); color: var(--gold); }
.nav-btn-offer {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  color: #EDE0C4;
  border: 1px solid var(--red);
  background: var(--red);
  transition: all 0.15s;
}
.nav-btn-offer:hover { background: var(--red-deep); border-color: var(--red-deep); }
.nav-menu-btn {
  display: none;
  color: #EDE0C4;
  font-size: 1.2rem;
}

.nav-links-post-btns {
  display: none;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #1C1810;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 2px solid var(--red);
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 0.9rem 2rem; width: 100%; border-bottom: 1px solid rgba(237,224,196,0.06); }
  .nav-link::after { display: none; }
  .nav-menu-btn { display: block; }
  .nav-btn-need, .nav-btn-offer { display: none; }
  .nav-links-post-btns {
    display: flex;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    width: 100%;
    border-bottom: 1px solid rgba(237,224,196,0.06);
  }
}


/* ══════════════════════════════════════
   HERO — full screen overlay
══════════════════════════════════════ */
.hero {
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 600;
  background: var(--red);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.hero.dissolving {
  opacity: 0;
  transform: translateY(-40px);
  pointer-events: none;
}
.hero.gone {
  display: none;
}

/* Cross-hatch texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(0,0,0,0.04) 0px,
      rgba(0,0,0,0.04) 1px,
      transparent 1px,
      transparent 14px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(0,0,0,0.04) 0px,
      rgba(0,0,0,0.04) 1px,
      transparent 1px,
      transparent 14px
    );
  pointer-events: none;
}

.hero-bg-word {
  position: absolute;
  right: -0.08em;
  bottom: -0.1em;
  font-family: var(--font-d);
  font-size: clamp(16rem, 32vw, 44rem);
  font-weight: 700;
  font-style: italic;
  color: rgba(0,0,0,0.055);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.04em;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-eyebrow { justify-content: center; }
.hero-tagline { margin-left: auto; margin-right: auto; }
.hero-sub     { margin-left: auto; margin-right: auto; text-align: left; }
.hero-divider { margin-left: auto; margin-right: auto; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(237,224,196,0.45);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s var(--ease) 0.1s both;
}
.hero-star { color: var(--gold); font-size: 0.8em; }
.hero-rule-sm {
  display: inline-block;
  width: 30px; height: 1px;
  background: rgba(237,224,196,0.25);
}

.hero-title {
  font-family: var(--font-d);
  font-size: clamp(6rem, 18vw, 18rem);
  font-weight: 300;
  font-style: italic;
  color: #EDE0C4;
  line-height: 0.88;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  animation: fadeUp 0.9s var(--ease) 0.15s both;
}

.hero-tagline {
  font-family: var(--font-d);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 400;
  color: rgba(237,224,196,0.85);
  line-height: 1.35;
  margin-bottom: 2rem;
  max-width: 22em;
  animation: fadeUp 0.8s var(--ease) 0.3s both;
}
.hero-tagline em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-divider {
  width: min(360px, 70%);
  height: 1px;
  background: rgba(237,224,196,0.2);
  margin-bottom: 2rem;
  animation: scaleX 0.7s var(--ease) 0.5s both;
  transform-origin: left;
}
@keyframes scaleX {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.hero-sub {
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(237,224,196,0.62);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.7s var(--ease) 0.6s both;
}

/* ── CHAIN BUTTON ── */
.chain-btn-wrap {
  position: relative;
  display: block;
  align-self: center;
  text-align: center;
  animation: fadeUp 0.7s var(--ease) 0.85s both;
}

.chain-btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
  position: relative;
  user-select: none;
}
.chain-btn:hover .chain-btn-text { color: #fff; letter-spacing: 0.06em; }
.chain-btn:hover .chain-link-h { border-color: rgba(237,224,196,0.9); }
.chain-btn:hover .chain-link-v { border-color: rgba(237,224,196,0.9); }

.chain-text-wrap {
  padding: 1.15rem 2.2rem;
  border-top: 2px solid rgba(237,224,196,0.45);
  border-bottom: 2px solid rgba(237,224,196,0.45);
  position: relative;
}
.chain-text-wrap::before,
.chain-text-wrap::after {
  content: '';
  position: absolute;
  top: 50%; left: -1px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(237,224,196,0.5);
  transform: translateY(-50%);
}
.chain-text-wrap::after { left: auto; right: -1px; }

.chain-btn-text {
  font-family: var(--font-d);
  font-size: clamp(1.65rem, 3.5vw, 2.4rem);
  font-style: italic;
  font-weight: 600;
  color: #EDE0C4;
  letter-spacing: 0.04em;
  transition: color 0.2s, letter-spacing 0.3s;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

/* Chain sides */
.chain-side {
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 0 0.25rem;
}

/* Individual chain links */
.chain-link-h {
  display: block;
  width: 22px;
  height: 13px;
  border: 2.5px solid rgba(237,224,196,0.45);
  border-radius: 50%;
  flex-shrink: 0;
  transition: border-color 0.2s;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}
.chain-link-v {
  display: block;
  width: 13px;
  height: 22px;
  border: 2.5px solid rgba(237,224,196,0.45);
  border-radius: 50%;
  flex-shrink: 0;
  transition: border-color 0.2s;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}
/* Overlap links slightly so they interlock */
.chain-side .chain-link-h,
.chain-side .chain-link-v {
  margin: 0 -4px;
}

/* Fragment links that fly out on break */
.chain-fragments {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}
.chain-fragment {
  position: absolute;
  border-radius: 50%;
  border: 2.5px solid rgba(237,224,196,0.7);
  opacity: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}
.chain-fragment.breaking {
  animation: chainBreak var(--dur, 0.7s) var(--ease-out) var(--delay, 0s) forwards;
}

@keyframes chainBreak {
  0%   { opacity: 1; transform: translate(0,0) rotate(0deg) scale(1); }
  15%  { opacity: 1; transform: translate(calc(var(--tx)*0.2), calc(var(--ty)*0.2)) rotate(calc(var(--rot)*0.3deg)) scale(1.1); }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.4); }
}

/* Shatter flash */
.chain-btn-wrap.shattering .chain-btn-text {
  animation: textFree 0.5s 0.15s both;
}
@keyframes textFree {
  0%   { opacity: 1; transform: scale(1); }
  20%  { opacity: 1; transform: scale(1.06); color: #fff; }
  100% { opacity: 0; transform: scale(0.9); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ══════════════════════════════════════
   BOARD SECTION
══════════════════════════════════════ */
.board-section {
  min-height: 100vh;
  padding-top: var(--nav-h);
}

/* TOPBAR */
.board-topbar {
  position: sticky;
  top: var(--nav-h);
  z-index: 400;
  background: var(--paper);
  border-bottom: 2px solid var(--red);
  border-top: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.5rem;
  height: 52px;
  flex-wrap: nowrap;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.board-tabs {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 0;
  flex-shrink: 0;
}
.board-tab {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 1rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: none;
  background: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -2px;
  white-space: nowrap;
}
.board-tab.active { color: var(--ink); border-bottom-color: var(--red); }
.board-tab:hover  { color: var(--ink); }
.tab-ico { font-size: 0.85em; }

.topbar-search-wrap {
  position: relative;
  flex: 1;
  max-width: 260px;
}
.search-ico {
  position: absolute;
  left: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
  font-size: 1rem;
  pointer-events: none;
}
.topbar-search {
  width: 100%;
  padding: 0.35rem 0.6rem 0.35rem 1.9rem;
  background: var(--gold);
  border: 1px solid var(--divider);
  font-size: 0.80rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.topbar-search::placeholder { color: var(--ink-soft); }
.topbar-search:focus { border-color: var(--red); }

.topbar-sort {
  padding: 0.35rem 2rem 0.35rem 0.6rem;
  background: var(--paper-mid);
  border: 1px solid var(--divider);
  font-size: 0.7rem;
  color: var(--ink);
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%231C1810' opacity='.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-clip: padding-box;
  flex-shrink: 0;
}
.topbar-sort:focus { border-color: var(--red); }
.topbar-sort option { background: var(--paper); }

.topbar-post-btns { display: flex; gap: 0.4rem; flex-shrink: 0; }
.topbar-btn-need {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  color: var(--ink-mid);
  border: 1px solid var(--divider);
  background: var(--gold);
  transition: all 0.15s;
  white-space: nowrap;
}
.topbar-btn-need:hover { background: var(--paper-deep); border-color: var(--ink-mid); }
.topbar-btn-offer {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  color: #EDE0C4;
  border: 1px solid var(--red);
  background: var(--red);
  transition: all 0.15s;
  white-space: nowrap;
}
.topbar-btn-offer:hover { background: var(--red-deep); border-color: var(--red-deep); }


/* ── BOARD BODY ── */
.board-body {
  min-height: calc(100vh - var(--nav-h) - 52px);
}

/* BOARD MAIN */
.board-main {
  flex: 1;
  padding: 2rem 1.75rem 4rem;
  min-width: 0;
}

.board-panel-hd {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(237,224,196,0.2);
}
.panel-title {
  font-family: var(--font-d);
  font-size: 1.65rem;
  font-weight: 700;
  color: #EDE0C4;
  line-height: 1.1;
}
.panel-title em { font-style: italic; color: var(--gold-light); }
.panel-sub { font-size: 0.77rem; color: rgba(237,224,196,0.55); margin-top: 0.2rem; }

/* Filter chips */
.board-filters {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.filter-chip {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(237,224,196,0.25);
  color: rgba(237,224,196,0.55);
  background: rgba(0,0,0,0.12);
  cursor: pointer;
  transition: all 0.15s;
}
.filter-chip:hover { border-color: rgba(237,224,196,0.7); color: #EDE0C4; }
.filter-chip.active { background: var(--paper); border-color: var(--paper); color: var(--ink); }

/* ── CARDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.card-distance {
  font-size: 0.6rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.card {
  background: var(--ink);
  padding: 1.5rem;
  border-left: 3px solid transparent;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.card:hover {
  border-left-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.35);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}
.badge {
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.16rem 0.45rem;
  border: 1px solid;
  transition: all 0.18s;
}
.badge-offer { color: #EF6666; border-color: rgba(239,102,102,0.3); background: rgba(187,0,0,0.2); }
.badge-need  { color: var(--gold-light); border-color: rgba(201,168,76,0.3); background: rgba(201,168,76,0.1); }
.card-time { font-size: 0.6rem; color: rgba(237,224,196,0.35); }

.card-title {
  font-family: var(--font-d);
  font-size: 1.12rem;
  font-weight: 700;
  color: #EDE0C4;
  line-height: 1.2;
  margin-bottom: 0.45rem;
}
.card-body {
  font-size: 0.81rem;
  line-height: 1.65;
  color: rgba(237,224,196,0.65);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(237,224,196,0.08);
}
.card-meta { font-size: 0.64rem; color: rgba(237,224,196,0.35); }
.card-meta strong { font-weight: 500; color: rgba(237,224,196,0.65); }
.card-name { font-weight: 500; color: rgba(237,224,196,0.65); cursor: pointer; }
.card-name:hover { color: var(--gold); }
.card-cta {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(237,224,196,0.55);
  border: 1px solid rgba(237,224,196,0.18);
  padding: 0.2rem 0.6rem;
  background: transparent;
  cursor: pointer;
  transition: all 0.15s;
}
.card-cta:hover { background: var(--red); color: #EDE0C4; border-color: var(--red); }

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(237,224,196,0.5);
  background: rgba(0,0,0,0.1);
  font-family: var(--font-d);
  font-style: italic;
  font-size: 1.1rem;
}
.card-delete-btn {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  background: transparent;
  border: 1px solid rgba(187,0,0,0.4);
  color: rgba(187,0,0,0.7);
  cursor: pointer;
  transition: all 0.15s;
}
.card-delete-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ══════════════════════════════════════
   ORGANIZATIONS PAGE
══════════════════════════════════════ */
.orgs-shell {
  padding-bottom: 5rem;
}
.orgs-topbar {
  position: sticky;
  top: var(--nav-h);
  z-index: 400;
  background: var(--paper);
  border-bottom: 2px solid var(--red);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.5rem;
  height: 52px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.orgs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
  margin: 2rem;
}
.org-card {
  background: var(--ink);
  padding: 1.75rem;
  cursor: pointer;
  border-left: 3px solid transparent;
  border-radius: 1px;
  transition: background 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.org-card:hover {
  background: var(--red);
  border-left-color: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.32);
}
.org-card:hover .org-name { color: #EDE0C4; }
.org-card:hover .org-desc { color: rgba(237,224,196,0.7); }
.org-card:hover .org-meta { color: rgba(237,224,196,0.4); }
.org-card:hover .org-tag  { background: rgba(255,255,255,0.1); color: rgba(237,224,196,0.8); border-color: rgba(255,255,255,0.18); }

.org-emoji { font-size: 1.75rem; margin-bottom: 0.7rem; }
.org-name {
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-weight: 700;
  color: #EDE0C4;
  margin-bottom: 0.35rem;
  line-height: 1.2;
  transition: color 0.18s;
}
.org-desc {
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(237,224,196,0.62);
  margin-bottom: 1rem;
  transition: color 0.18s;
}
.org-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.org-meta { font-size: 0.62rem; color: rgba(237,224,196,0.38); transition: color 0.18s; }
.org-tag {
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.16rem 0.45rem;
  border: 1px solid rgba(237,224,196,0.15);
  color: rgba(237,224,196,0.45);
  transition: all 0.18s;
}


/* ══════════════════════════════════════
   ORG DETAIL
══════════════════════════════════════ */
.org-detail-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2.5rem 6rem;
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 4rem;
  align-items: flex-start;
}
.org-detail-back {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237,224,196,0.45);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
  background: none;
  border: none;
}
.org-detail-back:hover { color: #EDE0C4; }
.od-section-title {
  font-family: var(--font-d);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--divider);
}
.od-about {
  font-size: 0.96rem;
  line-height: 1.9;
  color: var(--text-mid);
  margin-bottom: 2.5rem;
}
.od-events { display: flex; flex-direction: column; gap: 1px; background: var(--divider); border: 1px solid var(--divider); }
.od-event { background: var(--surface); padding: 1.25rem; transition: background 0.15s; }
.od-event:hover { background: var(--surface-alt); }
.od-event-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.od-event-badge {
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.16rem 0.45rem;
  border: 1px solid;
}
.ev-volunteer { color: var(--gold); border-color: rgba(201,168,76,0.32); background: rgba(201,168,76,0.07); }
.ev-recurring { color: var(--red); border-color: rgba(187,0,0,0.28); background: var(--red-soft); }
.ev-workshop  { color: #5a7a5e; border-color: rgba(90,122,94,0.28); background: rgba(90,122,94,0.06); }
.ev-meeting   { color: var(--text-mid); border-color: var(--divider); }
.od-event-time { font-size: 0.63rem; color: var(--text-soft); }
.od-event-title { font-family: var(--font-d); font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 0.18rem; }
.od-event-date { font-size: 0.63rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); margin-bottom: 0.45rem; }
.od-event-desc { font-size: 0.82rem; line-height: 1.65; color: var(--text-mid); }

.org-detail-aside { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.od-aside-box { border: 1px solid var(--divider); background: var(--surface-alt); padding: 1.4rem; margin-bottom: 0.75rem; }
.od-aside-emoji { font-size: 1.8rem; margin-bottom: 0.4rem; }
.od-aside-name { font-family: var(--font-d); font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 0.2rem; line-height: 1.2; }
.od-aside-count { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 1.1rem; }
.od-aside-join {
  display: block; width: 100%; padding: 0.7rem;
  background: var(--red); color: #EDE0C4;
  font-size: 0.63rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  text-align: center; border: none; cursor: pointer; margin-bottom: 0.4rem; transition: background 0.2s;
}
.od-aside-join:hover { background: var(--red-deep); }
.od-aside-join-joined {
  background: rgba(237,224,196,0.08) !important;
  color: var(--gold) !important;
  border: 1px solid rgba(201,168,76,0.3) !important;
}
.od-aside-join-joined:hover { background: rgba(237,224,196,0.12) !important; }
.od-aside-join-pending {
  background: rgba(237,224,196,0.05) !important;
  color: rgba(237,224,196,0.4) !important;
  border: 1px solid rgba(237,224,196,0.1) !important;
  cursor: default !important;
}
.form-hint {
  font-size: 0.65rem;
  color: rgba(237,224,196,0.35);
  line-height: 1.5;
  margin-bottom: 1rem;
  font-style: italic;
}
.od-aside-msg {
  display: block; width: 100%; padding: 0.7rem;
  background: transparent; color: var(--text);
  font-size: 0.63rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  text-align: center; border: 1px solid var(--divider); cursor: pointer; transition: all 0.2s;
}
.od-aside-msg:hover { border-color: var(--red); color: var(--red); }
.od-aside-lbl { font-size: 0.56rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 0.2rem; margin-top: 0.75rem; }
.od-aside-val { font-size: 0.82rem; color: var(--text-mid); }


/* ══════════════════════════════════════
   PAGE HERO SM
══════════════════════════════════════ */
.page-hero-sm {
  padding-top: var(--nav-h);
  background: var(--red);
  position: relative;
  overflow: hidden;
}
.page-hero-sm::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.04) 0px, rgba(0,0,0,0.04) 1px, transparent 1px, transparent 14px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,0.04) 0px, rgba(0,0,0,0.04) 1px, transparent 1px, transparent 14px);
  pointer-events: none;
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2.5rem 2.75rem;
  position: relative;
  z-index: 2;
}
.page-hero-eyebrow {
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(237,224,196,0.45);
  margin-bottom: 0.75rem;
}
.page-hero-title {
  font-family: var(--font-d);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: #EDE0C4;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.page-hero-title em { font-style: italic; color: var(--gold-light); }
.page-hero-sub {
  font-size: 0.94rem;
  color: rgba(237,224,196,0.62);
  margin-top: 0.7rem;
  max-width: 55ch;
  line-height: 1.7;
}


/* ══════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════ */
.about-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem 6rem;
}

.about-section { padding: 3.5rem 0; border-bottom: 1px solid var(--divider); }
.about-section:last-child { border-bottom: none; }
.about-section-title {
  font-family: var(--font-d);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.about-lede { padding-top: 4rem; }
.about-lede-text {
  font-family: var(--font-d);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 400;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 1.1rem;
  max-width: 75ch;
}
.about-lede-text:last-child { margin-bottom: 0; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
  margin: 3.5rem 0;
}
.about-block {
  background: var(--ink);
  padding: 2rem 1.5rem;
  border-radius: 1px;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
}
.about-block:hover {
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.about-block:hover .about-block-num { color: rgba(237,224,196,0.1); }
.about-block:hover .about-block-title { color: #EDE0C4; }
.about-block:hover .about-block-body { color: rgba(237,224,196,0.7); }
.about-block-num {
  font-family: var(--font-d);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(28,24,16,0.07);
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: color 0.18s;
}
@media (prefers-color-scheme: dark) {
  .about-block-num { color: rgba(237,224,196,0.06); }
}
.about-block-title { font-family: var(--font-d); font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 0.55rem; line-height: 1.2; transition: color 0.18s; }
.about-block-body { font-size: 0.82rem; line-height: 1.7; color: var(--text-soft); transition: color 0.18s; }

.rules-list { display: flex; flex-direction: column; gap: 0.5rem; }
.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: var(--surface-alt);
  border-radius: 1px;
  transition: background 0.15s;
}
.rule-item:hover { background: var(--surface); }
.rule-star { color: var(--red); font-size: 0.7rem; flex-shrink: 0; margin-top: 0.25rem; }
.rule-item p { font-size: 0.9rem; line-height: 1.75; color: var(--text-mid); }

.about-party {
  background: #1C1810;
  margin: 0 -2.5rem;
  padding: 4rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.about-party::before {
  content: '★';
  position: absolute;
  right: -0.1em; bottom: -0.2em;
  font-size: clamp(15rem, 30vw, 45rem);
  color: rgba(255,255,255,0.015);
  pointer-events: none;
  line-height: 1;
}
.about-party-inner { position: relative; z-index: 2; max-width: 680px; }
.about-party-label {
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.about-party-title { font-family: var(--font-d); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: #EDE0C4; margin-bottom: 1.5rem; line-height: 1.1; }
.about-party-body { font-size: 0.94rem; line-height: 1.9; color: rgba(237,224,196,0.65); margin-bottom: 1rem; }
.about-party-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 0.7rem 1.4rem;
  margin-top: 0.5rem;
  transition: all 0.2s;
  text-decoration: none;
}
.about-party-link:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }


/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: #1C1810;
  border-top: 2px solid var(--red);
  padding: 1.75rem 2rem;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(237,224,196,0.45);
  font-weight: 400;
}
.footer-mid { font-size: 0.64rem; color: rgba(237,224,196,0.22); letter-spacing: 0.08em; }
.footer-party { font-size: 0.64rem; color: rgba(237,224,196,0.3); letter-spacing: 0.06em; }
.footer-party a { color: rgba(187,0,0,0.7); }
.footer-party a:hover { color: var(--red); text-decoration: none; }


/* ══════════════════════════════════════
   MODAL
══════════════════════════════════════ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,24,16,0.72);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.overlay.open { display: flex; }
.modal {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-top: 3px solid var(--red);
  padding: 2.5rem;
  width: 100%;
  max-width: 520px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1.2rem;
  font-size: 1.5rem;
  color: var(--text-soft);
  line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text); }
.modal-title {
  font-family: var(--font-d);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.modal-sub { font-size: 0.78rem; color: var(--text-soft); margin-bottom: 1.75rem; line-height: 1.5; }
.form-field { margin-bottom: 1.1rem; }
.form-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.38rem;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  background: var(--surface-alt);
  border: 1px solid var(--divider);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--red); }
.form-textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.form-select option { background: var(--surface); }
.form-submit {
  width: 100%;
  padding: 0.85rem;
  background: var(--red);
  color: #EDE0C4;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s;
}
.form-submit:hover { background: var(--red-deep); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.location-detect-btn {
  margin-top: 0.4rem;
  background: transparent;
  border: none;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0;
  letter-spacing: 0.03em;
}
.location-detect-btn:hover { color: var(--parchment); }
.location-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1C1810;
  border: 1px solid rgba(237,224,196,0.15);
  z-index: 500;
  max-height: 200px;
  overflow-y: auto;
}

.location-dropdown-item {
  padding: 0.65rem 0.9rem;
  font-size: 0.82rem;
  color: rgba(237,224,196,0.8);
  cursor: pointer;
  border-bottom: 1px solid rgba(237,224,196,0.06);
  transition: background 0.15s;
}

.location-dropdown-item:last-child {
  border-bottom: none;
}

.location-dropdown-item:hover {
  background: rgba(187,0,0,0.15);
  color: var(--parchment);
}

/* ══════════════════════════════════════
   TOAST
══════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: #1C1810;
  color: #EDE0C4;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  padding: 0.7rem 1.6rem;
  border-left: 3px solid var(--red);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }


/* ══════════════════════════════════════
   SCROLLBAR
══════════════════════════════════════ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--divider); }
::-webkit-scrollbar-thumb:hover { background: var(--red); }


/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .org-detail-body { grid-template-columns: 1fr; gap: 2.5rem; }
  .org-detail-aside { position: relative; top: 0; }
}
@media (max-width: 768px) {
  .board-topbar { flex-wrap: wrap; height: auto; padding: 0.5rem 0.75rem; gap: 0.4rem; }
  .hero-title { font-size: clamp(4.5rem, 18vw, 8rem); }
}
@media (max-width: 540px) {
  .hero-inner { padding: 4rem 1.2rem 4rem; }
  .board-main { padding: 1.4rem 0.9rem 3rem; }
  .orgs-grid { margin: 1rem; grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .page-hero-inner { padding: 2.5rem 1.2rem 2.25rem; }
  .about-body { padding: 0 1.2rem 4rem; }
  .about-party { margin: 0 -1.2rem; padding: 3rem 1.2rem; }
  .modal { padding: 1.75rem 1.2rem; }
  .nav-inner { padding: 0 1rem; }
  .board-topbar { padding: 0.5rem 0.75rem; }
}


/* ══════════════════════════════════════
   NAV PROFILE ICON & DROPDOWN
══════════════════════════════════════ */
.nav-profile-wrap {
  position: relative;
  flex-shrink: 0;
}
.nav-profile-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid rgba(237,224,196,0.2);
  padding: 0.3rem 0.7rem 0.3rem 0.3rem;
  cursor: pointer;
  transition: border-color 0.15s;
}
.nav-profile-btn:hover { border-color: rgba(237,224,196,0.5); }
.nav-profile-avatar {
  width: 26px;
  height: 26px;
  background: var(--red);
  color: #EDE0C4;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-profile-name {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #EDE0C4;
}
.profile-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1C1810;
  border: 1px solid rgba(237,224,196,0.12);
  min-width: 200px;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.profile-dropdown.open { display: block; }
.profile-dropdown-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
}
.profile-dropdown-avatar {
  width: 36px;
  height: 36px;
  background: var(--red);
  color: #EDE0C4;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.profile-dropdown-uname {
  font-size: 0.75rem;
  font-weight: 600;
  color: #EDE0C4;
  letter-spacing: 0.04em;
}
.profile-dropdown-loc {
  font-size: 0.6rem;
  color: rgba(237,224,196,0.45);
  margin-top: 0.1rem;
}
.profile-dropdown-divider {
  height: 1px;
  background: rgba(237,224,196,0.08);
}
.profile-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 1rem;
  background: transparent;
  border: none;
  color: rgba(237,224,196,0.7);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.profile-dropdown-item:hover { background: rgba(237,224,196,0.06); color: #EDE0C4; }
.profile-dropdown-signout { color: rgba(187,0,0,0.7); }
.profile-dropdown-signout:hover { color: var(--red); background: rgba(187,0,0,0.06); }
.inbox-badge {
  background: var(--red);
  color: #EDE0C4;
  font-size: 0.5rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 0;
  letter-spacing: 0.05em;
}


/* ══════════════════════════════════════
   PROFILE PAGE
══════════════════════════════════════ */
.profile-hero {
  background: #1C1810;
  border-bottom: 2px solid rgba(237,224,196,0.08);
  padding: 3rem 2.5rem;
  padding-top: calc(var(--nav-h) + 3rem);
}
.profile-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.profile-avatar-lg {
  width: 80px;
  height: 80px;
  background: var(--red);
  color: #EDE0C4;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.profile-display-name {
  font-family: var(--font-d);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #EDE0C4;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.profile-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.profile-meta-item {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(237,224,196,0.5);
  text-transform: uppercase;
}
.profile-meta-dot { color: rgba(237,224,196,0.2); }
.profile-bio {
  font-size: 0.88rem;
  color: rgba(237,224,196,0.7);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 1.5rem;
}
.profile-stats {
  display: flex;
  gap: 2rem;
}
.profile-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.profile-stat-num {
  font-family: var(--font-d);
  font-size: 1.8rem;
  font-weight: 700;
  color: #EDE0C4;
  line-height: 1;
}
.profile-stat-label {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(237,224,196,0.4);
}
.profile-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}
.profile-section {
  background: #1C1810;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.profile-section-title {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(237,224,196,0.5);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.profile-section-count {
  background: rgba(237,224,196,0.1);
  color: rgba(237,224,196,0.6);
  font-size: 0.55rem;
  padding: 0.1rem 0.4rem;
}
.profile-post-card {
  border-left: 2px solid rgba(237,224,196,0.1);
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  transition: border-color 0.15s;
}
.profile-post-card:hover { border-left-color: var(--gold); }
.profile-post-card.offer { border-left-color: rgba(187,0,0,0.4); }
.profile-post-card.offer:hover { border-left-color: var(--red); }
.profile-post-type {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.3rem;
}
.profile-post-card.offer .profile-post-type { color: rgba(237,224,196,0.5); }
.profile-post-title {
  font-family: var(--font-d);
  font-size: 0.95rem;
  font-weight: 600;
  color: #EDE0C4;
  margin-bottom: 0.3rem;
}
.profile-post-body {
  font-size: 0.75rem;
  color: rgba(237,224,196,0.55);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}
.profile-post-meta {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(237,224,196,0.3);
}
.profile-vouch {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(237,224,196,0.06);
}
.profile-vouch:last-child { border-bottom: none; }
.profile-vouch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}
.profile-vouch-from {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  cursor: pointer;
  text-transform: uppercase;
}
.profile-vouch-from:hover { text-decoration: underline; }
.profile-vouch-date {
  font-size: 0.55rem;
  color: rgba(237,224,196,0.3);
  letter-spacing: 0.06em;
}
.profile-vouch-note {
  font-size: 0.8rem;
  color: rgba(237,224,196,0.65);
  line-height: 1.6;
  font-style: italic;
}
.profile-thank {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(237,224,196,0.06);
}
.profile-thank:last-child { border-bottom: none; }
.profile-thank-note {
  font-family: var(--font-d);
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(237,224,196,0.75);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}
.profile-thank-from {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(237,224,196,0.35);
  text-transform: uppercase;
}

/* Profile modal (quick card) */
.profile-modal-wrap {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.profile-modal-avatar {
  width: 52px;
  height: 52px;
  background: var(--red);
  color: #EDE0C4;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.profile-modal-name {
  font-family: var(--font-d);
  font-size: 1.4rem;
  font-weight: 700;
  color: #EDE0C4;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.profile-modal-loc {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(237,224,196,0.45);
  margin-bottom: 0.5rem;
}
.profile-modal-bio {
  font-size: 0.8rem;
  color: rgba(237,224,196,0.65);
  line-height: 1.5;
}
.profile-modal-stats {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(237,224,196,0.08);
  border-bottom: 1px solid rgba(237,224,196,0.08);
  margin-bottom: 1.25rem;
}
.profile-modal-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.profile-modal-stat-num {
  font-family: var(--font-d);
  font-size: 1.4rem;
  font-weight: 700;
  color: #EDE0C4;
  line-height: 1;
}
.profile-modal-stat-label {
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(237,224,196,0.4);
}
.profile-modal-actions {
  display: flex;
  gap: 0.75rem;
}
.profile-modal-btn-primary {
  flex: 1;
  padding: 0.6rem 1rem;
  background: var(--red);
  border: 1px solid var(--red);
  color: #EDE0C4;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
}
.profile-modal-btn-primary:hover { background: var(--red-deep); }
.profile-modal-btn-secondary {
  flex: 1;
  padding: 0.6rem 1rem;
  background: transparent;
  border: 1px solid rgba(237,224,196,0.2);
  color: rgba(237,224,196,0.7);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.profile-modal-btn-secondary:hover { border-color: rgba(237,224,196,0.5); color: #EDE0C4; }


/* ══════════════════════════════════════
   INBOX PAGE
══════════════════════════════════════ */
.inbox-shell {
  display: grid;
  grid-template-columns: 300px 1fr;
  height: calc(100vh - var(--nav-h) - 60px);
  max-height: 800px;
  margin: calc(var(--nav-h) + 2rem) auto 2rem;
  max-width: 960px;
  border: 1px solid rgba(237,224,196,0.08);
  background: #1C1810;
}
.inbox-sidebar {
  border-right: 1px solid rgba(237,224,196,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.inbox-sidebar-hd {
  padding: 1rem 1.25rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(237,224,196,0.5);
  border-bottom: 1px solid rgba(237,224,196,0.08);
  flex-shrink: 0;
}
.inbox-thread-list {
  overflow-y: auto;
  flex: 1;
}
.inbox-thread {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(237,224,196,0.06);
  cursor: pointer;
  transition: background 0.15s;
}
.inbox-thread:hover { background: rgba(237,224,196,0.04); }
.inbox-thread.active { background: rgba(237,224,196,0.06); border-left: 2px solid var(--red); }
.inbox-thread-avatar {
  width: 34px;
  height: 34px;
  background: rgba(187,0,0,0.3);
  color: #EDE0C4;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.inbox-thread-info { flex: 1; min-width: 0; }
.inbox-thread-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: #EDE0C4;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}
.inbox-thread-preview {
  font-size: 0.68rem;
  color: rgba(237,224,196,0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.inbox-thread-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}
.inbox-thread-time {
  font-size: 0.55rem;
  color: rgba(237,224,196,0.3);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.inbox-unread-dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}
.inbox-main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.inbox-thread-hd {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(237,224,196,0.08);
  flex-shrink: 0;
}
.inbox-thread-hd-avatar {
  width: 34px;
  height: 34px;
  background: rgba(187,0,0,0.3);
  color: #EDE0C4;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.inbox-thread-hd-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #EDE0C4;
  letter-spacing: 0.04em;
}
.inbox-thread-hd-re {
  font-size: 0.6rem;
  color: rgba(237,224,196,0.35);
  margin-top: 0.1rem;
}
.inbox-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.inbox-msg {
  display: flex;
  flex-direction: column;
  max-width: 72%;
}
.inbox-msg.mine { align-self: flex-end; align-items: flex-end; }
.inbox-msg.theirs { align-self: flex-start; align-items: flex-start; }
.inbox-msg-bubble {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
}
.inbox-msg.mine .inbox-msg-bubble {
  background: var(--red);
  color: #EDE0C4;
}
.inbox-msg.theirs .inbox-msg-bubble {
  background: rgba(237,224,196,0.08);
  color: rgba(237,224,196,0.85);
}
.inbox-msg-time {
  font-size: 0.52rem;
  color: rgba(237,224,196,0.25);
  letter-spacing: 0.06em;
  margin-top: 0.3rem;
}
.inbox-compose {
  border-top: 1px solid rgba(237,224,196,0.08);
  padding: 1rem 1.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  flex-shrink: 0;
}
.inbox-compose-input {
  flex: 1;
  background: rgba(237,224,196,0.05);
  border: 1px solid rgba(237,224,196,0.1);
  color: #EDE0C4;
  font-family: var(--font-b);
  font-size: 0.8rem;
  padding: 0.6rem 0.9rem;
  resize: none;
  outline: none;
  transition: border-color 0.15s;
  line-height: 1.5;
}
.inbox-compose-input:focus { border-color: rgba(237,224,196,0.3); }
.inbox-compose-input::placeholder { color: rgba(237,224,196,0.25); }
.inbox-compose-send {
  padding: 0.6rem 1.25rem;
  background: var(--red);
  border: none;
  color: #EDE0C4;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  align-self: flex-end;
}
.inbox-compose-send:hover { background: var(--red-deep); }

@media (max-width: 680px) {
  .inbox-shell {
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--nav-h));
    max-height: none;
    margin: var(--nav-h) auto 0;
    border: none;
    overflow: hidden;
  }
  .inbox-sidebar {
    flex: 1;
    max-height: none;
    border-right: none;
    overflow-y: auto;
  }
  .inbox-main {
    display: none;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }
  .inbox-shell.show-thread .inbox-main {
    display: flex;
  }
  .inbox-shell.show-thread .inbox-sidebar {
    display: none;
  }
  .inbox-mobile-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    cursor: pointer;
    border-bottom: 1px solid rgba(237,224,196,0.08);
    flex-shrink: 0;
  }
  .profile-body { grid-template-columns: 1fr; padding: 1.5rem; }
  .profile-hero-inner { flex-direction: column; }
  .nav-profile-name { display: none; }
}

/* hide back button on desktop */
.inbox-mobile-back { display: none; }

/* ══════════════════════════════════════
   AUTH — SIGN IN BUTTON & MODALS
══════════════════════════════════════ */
.nav-signin-btn {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  color: #EDE0C4;
  border: 1px solid var(--red);
  background: var(--red);
  cursor: pointer;
  transition: all 0.15s;
}
.nav-signin-btn:hover { background: var(--red-deep); border-color: var(--red-deep); }

.auth-switch {
  font-size: 0.65rem;
  color: rgba(237,224,196,0.4);
  text-align: center;
  margin-top: 1rem;
}
.auth-link {
  color: var(--gold);
  cursor: pointer;
  text-decoration: underline;
}
.auth-link:hover { color: #EDE0C4; }

.modal-step-indicator {
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(237,224,196,0.3);
  margin-bottom: 0.5rem;
}

.signup-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.signup-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(237,224,196,0.1);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.signup-option:hover { border-color: rgba(237,224,196,0.25); background: rgba(237,224,196,0.04); }
.signup-option input[type="radio"] { accent-color: var(--red); width: 14px; height: 14px; flex-shrink: 0; }
.signup-option-label {
  font-size: 0.75rem;
  color: rgba(237,224,196,0.75);
  line-height: 1.4;
}

.signup-welcome {
  text-align: center;
  padding: 1rem 0 1.5rem;
}
.signup-welcome-star {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.signup-welcome-name {
  font-family: var(--font-d);
  font-size: 1.6rem;
  font-weight: 700;
  color: #EDE0C4;
  margin-bottom: 0.3rem;
}
.signup-welcome-loc {
  font-size: 0.65rem;
  color: rgba(237,224,196,0.45);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.signup-welcome-bio {
  font-size: 0.8rem;
  color: rgba(237,224,196,0.55);
  line-height: 1.6;
  font-style: italic;
  max-width: 340px;
  margin: 0 auto;
}
.auth-gate-hint {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-left: 2px solid var(--gold);
  background: rgba(201,168,76,0.06);
}

/* ══════════════════════════════════════
   REPORT SYSTEM
══════════════════════════════════════ */
.card-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.card-report-btn {
  background: transparent;
  border: none;
  color: rgba(237,224,196,0.2);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0.3rem 0.4rem;
  transition: color 0.15s;
  line-height: 1;
}
.card-report-btn:hover { color: rgba(187,0,0,0.6); }

.od-aside-report {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 0;
  background: transparent;
  border: none;
  color: rgba(237,224,196,0.2);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: color 0.15s;
}
.od-aside-report:hover { color: rgba(187,0,0,0.6); }

.profile-report-btn {
  background: transparent;
  border: none;
  color: rgba(237,224,196,0.2);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  margin-top: 1rem;
  display: block;
  transition: color 0.15s;
}
.profile-report-btn:hover { color: rgba(187,0,0,0.6); }

.report-policy {
  font-size: 0.68rem;
  color: rgba(237,224,196,0.4);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  padding: 0.75rem;
  border-left: 2px solid rgba(237,224,196,0.1);
  font-style: italic;
}
.report-reasons {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}
.report-reason {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(237,224,196,0.08);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-size: 0.75rem;
  color: rgba(237,224,196,0.7);
}
.report-reason:hover { border-color: rgba(187,0,0,0.3); background: rgba(187,0,0,0.04); }
.report-reason input[type="radio"] { accent-color: var(--red); flex-shrink: 0; }

/* ══════════════════════════════════════
   RSVP
══════════════════════════════════════ */
.od-event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(237,224,196,0.06);
}
.ev-spots {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(237,224,196,0.35);
}
.ev-spots-full { color: rgba(187,0,0,0.6); }
.ev-spots-open {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(237,224,196,0.2);
}
.rsvp-btn {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  background: transparent;
  border: 1px solid rgba(237,224,196,0.2);
  color: rgba(237,224,196,0.6);
  cursor: pointer;
  transition: all 0.15s;
}
.rsvp-btn:hover { border-color: var(--red); color: #EDE0C4; background: rgba(187,0,0,0.08); }
.rsvp-btn-going {
  background: rgba(187,0,0,0.15) !important;
  border-color: var(--red) !important;
  color: #EDE0C4 !important;
}
.rsvp-btn-going:hover { background: rgba(187,0,0,0.08) !important; color: rgba(237,224,196,0.5) !important; }
.rsvp-btn-full {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* ══════════════════════════════════════
   PROFILE — ORGANIZATIONS
══════════════════════════════════════ */
.profile-orgs-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.profile-org-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid rgba(237,224,196,0.08);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.profile-org-item:hover { border-color: rgba(237,224,196,0.2); background: rgba(237,224,196,0.04); }
.profile-org-emoji {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}
.profile-org-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: #EDE0C4;
  margin-bottom: 0.15rem;
}
.profile-org-meta {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(237,224,196,0.35);
}

/* ══════════════════════════════════════
   ORG DETAIL — ANNOUNCEMENTS
══════════════════════════════════════ */
.od-announcements {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.od-announcement {
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--red);
  background: rgba(187,0,0,0.04);
}
.od-ann-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}
.od-ann-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #EDE0C4;
  letter-spacing: 0.02em;
}
.od-ann-date {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(237,224,196,0.3);
  flex-shrink: 0;
}
.od-ann-body {
  font-size: 0.78rem;
  color: rgba(237,224,196,0.6);
  line-height: 1.6;
}

/* ══════════════════════════════════════
   ORG DETAIL — TABS
══════════════════════════════════════ */
.od-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid rgba(237,224,196,0.08);
  margin-bottom: 1.75rem;
}
.od-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 0.65rem 1.25rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237,224,196,0.35);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.od-tab:hover { color: rgba(237,224,196,0.7); }
.od-tab.active {
  color: #EDE0C4;
  border-bottom-color: var(--red);
}
.od-tab-badge {
  background: var(--red);
  color: #EDE0C4;
  font-size: 0.5rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 0;
  letter-spacing: 0.05em;
}
.od-tab-panel-hidden { display: none; }
.od-empty {
  font-size: 0.78rem;
  color: rgba(237,224,196,0.3);
  font-style: italic;
  padding: 1rem 0;
}

.od-about-static {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2.5rem 1.5rem;
  border-bottom: 1px solid rgba(237,224,196,0.08);
}

/* ── ORG ADMIN FORMS ── */
.od-admin-toggle {
  display: inline-block;
  margin-bottom: 1.2rem;
  padding: 0.45rem 1rem;
  background: transparent;
  border: 1px solid var(--red);
  color: var(--red);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
}
.od-admin-toggle:hover { background: var(--red); color: var(--parchment); }
.od-admin-form {
  background: rgba(187,0,0,0.06);
  border: 1px solid rgba(187,0,0,0.2);
  border-radius: 4px;
  padding: 1rem;
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.od-admin-input,
.od-admin-textarea,
.od-admin-select {
  background: rgba(28,24,16,0.6);
  border: 1px solid rgba(237,224,196,0.2);
  color: var(--parchment);
  padding: 0.5rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-radius: 3px;
  width: 100%;
  box-sizing: border-box;
}
.od-admin-textarea { resize: vertical; }
.od-admin-select option { background: #1C1810; }
.od-admin-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.od-admin-form-actions { display: flex; gap: 0.6rem; align-items: center; }
.od-admin-btn {
  padding: 0.45rem 1.1rem;
  background: var(--red);
  color: var(--parchment);
  border: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 2px;
  letter-spacing: 0.04em;
  transition: opacity 0.15s;
}
.od-admin-btn:hover { opacity: 0.85; }
.od-admin-btn-cancel {
  background: transparent;
  border: none;
  color: rgba(237,224,196,0.5);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.45rem 0.5rem;
}
.od-admin-btn-cancel:hover { color: var(--parchment); }

/* ── ORG ADMIN BADGE ── */
.od-aside-admin-badge {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.25rem 0.65rem;
  background: rgba(187,0,0,0.15);
  border: 1px solid rgba(187,0,0,0.4);
  color: var(--red);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  border-radius: 2px;
}

/* ── MEMBER MANAGEMENT ── */
.od-members-section-hd {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.5rem 0 0.4rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}
.od-members-section-hd:first-child { margin-top: 0; }
.od-member-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(237,224,196,0.07);
}
.od-member-row:last-child { border-bottom: none; }
.od-member-pending { background: rgba(201,168,76,0.04); padding-left: 0.4rem; }
.od-member-info { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.od-member-name {
  font-weight: 600;
  color: var(--parchment);
  cursor: pointer;
  font-size: 0.9rem;
}
.od-member-name:hover { color: var(--gold); }
.od-member-username { color: rgba(237,224,196,0.45); font-size: 0.8rem; }
.od-member-admin-badge {
  padding: 0.15rem 0.45rem;
  background: rgba(187,0,0,0.15);
  border: 1px solid rgba(187,0,0,0.35);
  color: var(--red);
  font-size: 0.7rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
}
.od-member-actions { display: flex; gap: 0.4rem; flex-shrink: 0; }
.od-member-btn {
  padding: 0.3rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid;
  letter-spacing: 0.03em;
  transition: opacity 0.15s;
}
.od-member-btn:hover { opacity: 0.8; }
.od-member-approve { background: rgba(40,120,40,0.15); border-color: rgba(40,120,40,0.5); color: #7ecf7e; }
.od-member-reject  { background: rgba(187,0,0,0.1);   border-color: rgba(187,0,0,0.4);   color: #e07070; }
.od-member-promote { background: transparent;          border-color: rgba(201,168,76,0.4); color: var(--gold); }

/* ══════════════════════════════════════
   INBOX — COMPLETION FLOW
══════════════════════════════════════ */
.inbox-mark-done-btn {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  background: transparent;
  border: 1px solid rgba(237,224,196,0.2);
  color: rgba(237,224,196,0.5);
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}
.inbox-mark-done-btn:hover { border-color: var(--gold); color: var(--gold); }

.inbox-complete-badge {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(201,168,76,0.3);
  flex-shrink: 0;
}

.inbox-msg-system {
  align-self: center;
  font-size: 0.65rem;
  color: rgba(237,224,196,0.35);
  font-style: italic;
  text-align: center;
  padding: 0.5rem 1.5rem;
  border-top: 1px solid rgba(237,224,196,0.06);
  border-bottom: 1px solid rgba(237,224,196,0.06);
  width: 100%;
  line-height: 1.5;
}

.inbox-post-completion {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  flex-wrap: wrap;
}
.inbox-completion-label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(237,224,196,0.3);
  flex-shrink: 0;
}
.inbox-completion-btn {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  background: transparent;
  border: 1px solid rgba(237,224,196,0.2);
  color: rgba(237,224,196,0.65);
  cursor: pointer;
  transition: all 0.15s;
}
.inbox-completion-btn:hover { border-color: rgba(237,224,196,0.5); color: #EDE0C4; }
.inbox-vouch-btn { border-color: rgba(201,168,76,0.3); color: var(--gold); }
.inbox-vouch-btn:hover { border-color: var(--gold); background: rgba(201,168,76,0.06); }


/* ══════════════════════════════════════
   SETTINGS PAGE
══════════════════════════════════════ */
.settings-body {
  max-width: 560px;
  margin: 0 auto;
  padding: 2.5rem;
}

.settings-section {
  background: var(--surface);
  border: 1px solid rgba(237,224,196,0.08);
  padding: 2rem;
}

.settings-section-title {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 700;
  color: #EDE0C4;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(237,224,196,0.08);
}

.settings-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1rem 1.5rem;
  gap: 1rem;
}

.settings-avatar img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--red);
}

.avatar-initials-large {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--red);
  color: var(--parchment);
  font-family: var(--font-d);
  font-size: 2.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--red);
}

/* ══════════════════════════════════════
   ORG DETAIL — NEEDS & OFFERS
══════════════════════════════════════ */
.od-post-section {
  margin-bottom: 2rem;
}
.od-post-section-hd {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237,224,196,0.55);
  margin-bottom: 0.8rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(237,224,196,0.08);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.od-post-section-date {
  font-size: 0.55rem;
  color: rgba(237,224,196,0.3);
  font-weight: 500;
}
.od-post {
  padding: 1.25rem 1.4rem;
  background: var(--ink);
  border-left: 3px solid transparent;
  border-radius: 1px;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.od-post:hover {
  border-left-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.32);
}
.od-post-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.od-post-badge {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
}
.od-post-badge-need {
  background: rgba(187,0,0,0.15);
  color: var(--red);
  border: 1px solid rgba(187,0,0,0.3);
}
.od-post-badge-ability {
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
}
.od-post-privacy {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(237,224,196,0.35);
}
.od-post-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: #EDE0C4;
  margin-bottom: 0.35rem;
}
.od-post-body {
  font-size: 0.78rem;
  color: rgba(237,224,196,0.6);
  line-height: 1.55;
  margin-bottom: 0.7rem;
}
.od-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.od-post-author {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(237,224,196,0.35);
}
.od-post-actions {
  display: flex;
  gap: 0.4rem;
}
.od-post-btn {
  background: var(--red);
  color: var(--parchment);
  border: none;
  padding: 0.4rem 0.8rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: opacity 0.15s;
}
.od-post-btn:hover { opacity: 0.85; }
.od-post-btn-secondary {
  background: transparent;
  color: rgba(237,224,196,0.6);
  border: 1px solid rgba(237,224,196,0.2);
}
.od-post-btn-secondary:hover {
  color: #EDE0C4;
  background: rgba(237,224,196,0.05);
}
.od-post-status {
  margin-top: 0.6rem;
  padding: 0.4rem 0.6rem;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  border-radius: 2px;
}
.od-post-status-claimed {
  background: rgba(201,168,76,0.1);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.2);
}
.od-post-status-fulfilled {
  background: rgba(237,224,196,0.05);
  color: rgba(237,224,196,0.5);
  border: 1px solid rgba(237,224,196,0.1);
}

.od-post-create-btn {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.55rem 1.1rem;
  background: var(--red);
  color: #EDE0C4;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s;
}
.od-post-create-btn:hover { background: var(--red-deep); }

.form-radio-row {
  display: flex;
  gap: 0.5rem;
}
.form-radio {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--divider);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-size: 0.82rem;
  color: var(--text-mid);
}
.form-radio:hover {
  border-color: rgba(237,224,196,0.3);
  background: rgba(237,224,196,0.03);
}
.form-radio input[type="radio"] {
  accent-color: var(--red);
  width: 14px;
  height: 14px;
}

/* ═══ ORG REGISTRATION — CONTRIBUTION SECTION ═══ */
.contribution-section {
  margin: 24px 0 8px;
  padding: 18px 20px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  background: rgba(201, 168, 76, 0.06);
  border-radius: 4px;
}
.contribution-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--gold, #C9A84C);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.contribution-blurb {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.85;
  margin: 0 0 14px;
}
.contribution-blurb strong {
  color: var(--gold, #C9A84C);
  font-weight: 600;
}
.contribution-amount-field {
  margin-bottom: 0;
}
.contribution-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.contribution-dollar {
  position: absolute;
  left: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--gold, #C9A84C);
  pointer-events: none;
}
.contribution-input {
  padding-left: 30px;
  max-width: 160px;
  font-variant-numeric: tabular-nums;
}

/* ═══ CONTRIBUTION BANNER ═══ */
.contribution-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px auto;
  max-width: 900px;
  padding: 14px 18px;
  border-radius: 4px;
  border: 1px solid rgba(201, 168, 76, 0.5);
  background: rgba(201, 168, 76, 0.1);
  font-size: 15px;
  line-height: 1.4;
}
.contribution-banner-success {
  border-color: rgba(201, 168, 76, 0.7);
  background: rgba(201, 168, 76, 0.15);
}
.contribution-banner-neutral {
  border-color: rgba(237, 224, 196, 0.4);
  background: rgba(237, 224, 196, 0.06);
}
.contribution-banner-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--gold, #C9A84C);
  flex-shrink: 0;
}
.contribution-banner-text {
  flex: 1;
}
.contribution-banner-text strong {
  color: var(--gold, #C9A84C);
  font-weight: 600;
}
.contribution-banner-close {
  background: none;
  border: none;
  color: var(--parchment, #EDE0C4);
  opacity: 0.5;
  font-size: 22px;
  cursor: pointer;
  padding: 0 6px;
  line-height: 1;
}
.contribution-banner-close:hover {
  opacity: 1;
}