/* ═══════════════════════════════════════════════════════════════
   STEP LIVE — Volunteer Hub · Global Stylesheet (vanilla CSS)
   Material Design 3–inspired token system
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Brand */
  --charcoal: #12302F; /* Dark teal / near-black */
  --olive: #0F4C4C; /* Primary deep teal (used for primary actions/links) */
  --accent-teal: #287A78; /* Accent teal */
  --beige: #EDE6D8; /* Soft beige */
  --gold: #B78A3B; /* Gold badge accent */

  /* Surfaces */
  --background: #FAF8F2; /* Warm white */
  --surface: #ffffff; /* Keeping actual cards white for contrast, or maybe warm white */
  --surface-low: #FAF8F2;
  --surface-container: #D7CDBB; /* Sand border / muted surface */
  --surface-high: #EDE6D8; /* Soft beige surface */
  --surface-highest: #E5DCC9;
  --surface-dim: #D7CDBB;
  --outline-variant: #D7CDBB;

  /* Text */
  --on-surface: #1F2928; /* Primary text */
  --on-surface-variant: #5F6965; /* Secondary text */
  --outline: #5F6965;
  --on-primary-container: #12302F;

  /* Status */
  --success: #22c55e;
  --warning: #f59e0b;
  --info: #3b82f6;
  --error: #ef4444;

  /* Elevation */
  --shadow-lg: 0 14px 40px rgba(18, 48, 47, 0.12);
  --shadow-md: 0 6px 24px rgba(18, 48, 47, 0.08);
  --shadow-sm: 0 2px 10px rgba(15, 76, 76, 0.05);

  /* Liquid glass */
  --glass-surface: color-mix(in srgb, var(--beige) 8%, transparent);
  --glass-surface-strong: color-mix(in srgb, var(--beige) 14%, transparent);
  --glass-border: color-mix(in srgb, var(--beige) 24%, transparent);
  --glass-highlight: color-mix(in srgb, var(--beige) 50%, transparent);
  --glass-shadow: 0 20px 52px color-mix(in srgb, var(--charcoal) 30%, transparent);

  --font-head: "Archivo Black", sans-serif;
  --font-body: "Hind", sans-serif;
  --radius: 4px;
}

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

body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--on-surface);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--olive); text-decoration: none; }
a:hover { color: var(--on-surface); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--charcoal); }

/* Material Symbols icon helper */
.ms {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  direction: ltr;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}
.ms.fill { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 11px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn-primary { background: var(--charcoal); color: #fff; }
.btn-primary:hover { background: #000; color: #fff; }

.btn-outline {
  background: var(--surface);
  color: var(--on-surface);
  border: 2px solid var(--charcoal);
  box-shadow: none;
}
.btn-outline:hover { background: var(--surface-low); color: var(--on-surface); }

.btn-accent { background: var(--olive); color: #fff; }
.btn-accent:hover { background: #4c4e3e; color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--on-surface-variant);
  box-shadow: none;
  padding: 8px 12px;
}
.btn-ghost:hover { color: var(--on-surface); background: var(--surface-container); }

.btn-sm { padding: 7px 14px; font-size: 12px; }

/* ─── Top Navigation (home) ─────────────────────────────────── */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 76, 76, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--charcoal);
  min-height: 64px;
  padding: 12px max(28px, calc((100vw - 1100px) / 2));
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.brand:hover .brand-logo {
  transform: scale(1.02);
}
.brand-box {
  width: 34px; height: 34px;
  background: var(--charcoal);
  color: #fff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
}
.brand-word {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
  color: var(--beige);
  letter-spacing: -0.02em;
}
.brand-word span { color: var(--gold); }

.topnav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.topnav-links a {
  font-size: 13px;
  font-weight: 600;
  color: #c8c7bc;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.topnav-links a:hover { color: #fff; }
.topnav-links a.active { color: #fff; border-bottom-color: var(--gold); }
.topnav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: 0;
}

.icon-btn {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.15s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.2); }
.icon-btn .dot {
  position: absolute;
  top: 7px; right: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--error);
  border: 2px solid var(--background);
}

.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--charcoal);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.hamburger { display: none; }
.menu-label { display: none; }
.mobile-drawer { display: none; }

/* ─── Hero (professional hub) ───────────────────────────────── */
.hero {
  position: relative;
  background: var(--charcoal);
  background-image: radial-gradient(rgba(245, 245, 220, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--beige);
  padding: 72px 28px 84px;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(68px, 10vw, 132px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  color: var(--beige);
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0.06em 0 0.04em;
}
.hero-title span {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--beige);
}
.hero-title-gold {
  color: var(--beige);
  font-family: var(--font-head);
  font-weight: 900;
  -webkit-text-stroke: 0;
}
.hero-lead {
  color: rgba(245, 245, 220, 0.78);
  font-size: 16px;
  line-height: 1.7;
  max-width: 460px;
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid var(--olive);
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-outline {
  background: transparent;
  color: var(--beige);
  border-color: var(--beige);
}
.hero .btn-outline:hover { background: var(--beige); color: var(--charcoal); }
.hero .btn-primary { background: var(--gold); color: var(--charcoal); }

.hero-card-wrap { display: flex; justify-content: flex-end; }
.hero-card {
  width: 100%;
  max-width: 340px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: none;
  transform: none;
}
.hero-card-btn {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 44px; }
  .hero-copy { align-items: center; }
  .hero-lead { border-left: none; padding-left: 0; text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-card-wrap { justify-content: center; }
}
@media (max-width: 480px) {
  .hero { padding: 52px 20px 60px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* Marquee band */
.marquee {
  background: var(--olive);
  color: var(--beige);
  border-top: 2px solid var(--charcoal);
  border-bottom: 2px solid var(--charcoal);
  overflow: hidden;
  padding: 10px 0;
}
.marquee-track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-head);
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee-track span.hollow {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--beige);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}


/* Credential card */
.credential-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--surface-highest);
  animation: floatY 5s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.credential-card .cc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.credential-card .cc-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--outline);
}
.cc-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--surface-container);
  font-size: 13.5px;
}
.cc-row:last-of-type { border-bottom: none; }
.cc-row .k { color: var(--outline); font-weight: 500; }
.cc-row .v { font-weight: 600; color: var(--on-surface); }
.progress-track {
  height: 8px;
  background: var(--surface-container);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 14px;
}
.progress-fill {
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, var(--olive), var(--gold));
  border-radius: 99px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--outline);
  margin-top: 6px;
  font-weight: 600;
}

/* ─── Page sections ─────────────────────────────────────────── */
.page { max-width: 1100px; margin: 0 auto; padding: 48px 28px 72px; }
.section-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--olive);
  margin-bottom: 6px;
}
.section-title {
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin-bottom: 24px;
}
.section-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* ─── Stat cards / bento ────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--surface-highest);
  border-radius: var(--radius);
  padding: 20px;
  display: block;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.stat-icon.green  { background: #dcfce7; color: #166534; }
.stat-icon.amber  { background: #fef3c7; color: #92400e; }
.stat-icon.blue   { background: #dbeafe; color: #1d4ed8; }
.stat-icon.purple { background: #ede9fe; color: #6d28d9; }
.stat-num { font-family: var(--font-head); font-size: 30px; font-weight: 900; color: var(--charcoal); line-height: 1; }
.stat-label { font-size: 11px; color: var(--outline); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 6px; }

/* ─── Event cards ───────────────────────────────────────────── */
.event-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.event-card {
  background: var(--surface);
  border: 1px solid var(--surface-highest);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.event-card .ec-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.event-card h3 { font-size: 17px; font-weight: 800; }
.event-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--on-surface-variant); margin: 10px 0 14px; }
.event-meta span { display: inline-flex; align-items: center; gap: 5px; }
.event-meta .ms { font-size: 17px; color: var(--olive); }
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--surface-container);
  color: var(--on-surface-variant);
  border-radius: 6px;
  padding: 3px 10px;
}

/* ─── Status pills ──────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-head);
  white-space: nowrap;
}
.pill-approved  { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.pill-pending   { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.pill-completed { background: #e0e7ff; color: #3730a3; border: 1px solid #c7d2fe; }

/* ─── Filter chips ──────────────────────────────────────────── */
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--outline-variant);
  background: var(--surface);
  color: var(--on-surface-variant);
  cursor: pointer;
  transition: all 0.15s;
}
.chip:hover { background: var(--surface-container); }
.chip.active { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }

/* ─── Inner page layout ─────────────────────────────────────── */
.inner-page { min-height: calc(100vh - 64px); }

.page-head { margin-bottom: 28px; border-bottom: 2px solid var(--charcoal); padding-bottom: 18px; }
.page-head h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.045em;
  line-height: 0.9;
}
.page-head p { color: var(--on-surface-variant); margin-top: 10px; max-width: 560px; }

/* ─── Cards / panels ────────────────────────────────────────── */
.panel {
  background: var(--surface);
  border: 1px solid var(--surface-highest);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 18px;
}
.panel h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.panel p { color: var(--on-surface-variant); font-size: 14px; }

.info-box {
  background: var(--beige);
  border: 1px solid var(--outline-variant);
  border-left: 4px solid var(--olive);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--on-surface-variant);
  line-height: 1.65;
}
.info-box strong { color: var(--charcoal); }

/* ─── Forms ─────────────────────────────────────────────────── */
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-surface-variant);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--outline-variant);
  border-radius: 10px;
  background: var(--surface-container);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--on-surface);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(94, 96, 77, 0.15);
  background: var(--surface);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ─── Modal ─────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.45);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
  animation: fadeIn 0.18s ease;
}
.modal {
  background: var(--surface);
  border-radius: 18px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  animation: scaleIn 0.2s ease;
  box-shadow: var(--shadow-lg);
}
.modal-head {
  background: var(--charcoal);
  color: #fff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 18px 18px 0 0;
}
.modal-head h3 { color: #fff; font-size: 16px; font-weight: 800; }
.modal-head button {
  background: none; border: none; color: #c8c7bc; cursor: pointer; font-size: 20px; line-height: 1;
}
.modal-head button:hover { color: #fff; }
.modal-body { padding: 24px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

/* ─── Toasts ────────────────────────────────────────────────── */
.toast-stack {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 200;
}
.toast {
  background: var(--charcoal);
  color: #fff;
  border-radius: 10px;
  padding: 13px 18px;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  box-shadow: var(--shadow-lg);
  animation: slideInUp 0.25s ease;
}
.toast.success { border-left: 4px solid var(--success); }
.toast.info    { border-left: 4px solid var(--info); }
.toast.warning { border-left: 4px solid var(--warning); }
.toast.error   { border-left: 4px solid var(--error); }
.toast .t-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.toast.success .t-dot { background: var(--success); }
.toast.info .t-dot { background: var(--info); }
.toast.warning .t-dot { background: var(--warning); }
.toast.error .t-dot { background: var(--error); }
@keyframes slideInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ─── SOP doc styles ────────────────────────────────────────── */
.sop-section { counter-reset: none; }
.sop-item {
  background: var(--surface);
  border: 1px solid var(--surface-highest);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.sop-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
}
.sop-item summary::-webkit-details-marker { display: none; }
.sop-item summary .num {
  width: 30px; height: 30px;
  background: var(--beige);
  color: var(--on-primary-container);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.sop-item summary::after {
  content: "+";
  margin-left: auto;
  color: var(--outline);
  font-size: 18px;
}
.sop-item[open] summary::after { content: "−"; }
.sop-item .sop-body { padding: 0 22px 20px 64px; color: var(--on-surface-variant); font-size: 14px; }
.sop-body ul { padding-left: 18px; margin-top: 8px; }
.sop-body li { margin-bottom: 5px; }

/* ─── Rules & Regulations (matches reference layout) ───────── */
.rules-head {
  position: relative;
  padding: 52px 0 20px;
  border-bottom: 2px solid var(--charcoal);
  margin-top: 40px;
  margin-bottom: 24px;
}
.rules-head::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 16px;
  background: var(--gold);
  right: 0;
  bottom: 0;
  transform: rotate(-3deg);
  transform-origin: right bottom;
  pointer-events: none;
}
.rules-head .section-label {
  color: var(--olive);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.rules-head h2 {
  font-family: var(--font-head);
  font-size: clamp(34px, 5.5vw, 48px);
  line-height: 0.96;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin: 6px 0 12px;
}
.rules-head p {
  color: var(--on-surface-variant);
  font-size: 15px;
  max-width: 620px;
  line-height: 1.55;
}

/* ─── Teams ─────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.team-card {
  background: var(--surface);
  border: 1px solid var(--surface-highest);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card .tc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.team-card .tc-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--charcoal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.member-stack { display: flex; margin-top: 14px; }
.member-stack .avatar { width: 30px; height: 30px; font-size: 11px; border: 2px solid var(--surface); margin-left: -8px; }
.member-stack .avatar:first-child { margin-left: 0; }
.member-stack .more {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--surface-container);
  color: var(--on-surface-variant);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--surface);
  margin-left: -8px;
}

/* ─── Profile ───────────────────────────────────────────────── */
.profile-head {
  background: var(--surface);
  border: 1px solid var(--surface-highest);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 20px;
}
.profile-head .avatar { width: 76px; height: 76px; font-size: 26px; }
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: var(--font-head);
  color: #166534;
  background: #dcfce7;
  border-radius: 999px;
  padding: 4px 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.verified-badge .ms { font-size: 15px; }
.qr-card {
  background: var(--charcoal);
  color: #fff;
  border-radius: 18px;
  padding: 26px;
  text-align: center;
}
.qr-card h3 { color: #fff; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.qr-badge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(200, 199, 188, 0.25);
}
.qr-card-logo {
  height: 22px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  display: block;
}
.qr-badge-pill {
  font-family: var(--font-head);
  font-size: 9px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--olive);
  color: #fff;
  font-weight: 700;
}
.qr-frame {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  display: inline-block;
  box-shadow: var(--shadow-lg);
}
.qr-frame svg { display: block; }
.qr-meta { font-size: 12px; color: #c8c7bc; margin-top: 14px; }
.profile-cols { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }

/* ─── Mobile drawer ─────────────────────────────────────────── */
.mobile-drawer-logo {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

/* ─── Login ─────────────────────────────────────────────────── */
.login-wrap {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--beige);
  background-image: radial-gradient(rgba(94, 96, 77, 0.18) 1px, transparent 1px);
  background-size: 24px 24px;
  padding: 24px;
}
.login-card {
  background: var(--surface);
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.login-head {
  background: var(--charcoal);
  padding: 36px 30px 30px;
  text-align: center;
  position: relative;
}
.login-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(94, 96, 77, 0.35) 1px, transparent 1px);
  background-size: 24px 24px;
}
.login-logo {
  height: 52px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
  position: relative;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s ease;
}
.login-head .brand-box { width: 46px; height: 46px; font-size: 22px; margin: 0 auto 12px; background: var(--olive); position: relative; }
.login-head .brand-word { color: #fff; font-size: 22px; position: relative; }
.login-head p { color: #c8c7bc; font-size: 13px; margin-top: 6px; position: relative; }
.login-body { padding: 30px; }
.login-tabs { display: flex; background: var(--surface-container); border-radius: 10px; padding: 4px; margin-bottom: 24px; }
.login-tabs button {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  padding: 9px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--on-surface-variant);
}
.login-tabs button.active { background: var(--surface); color: var(--charcoal); box-shadow: var(--shadow-sm); }
.login-foot { text-align: center; font-size: 12.5px; color: var(--outline); margin-top: 18px; }

.login-default-profile {
  background: var(--surface-container);
  border: 1.5px solid var(--charcoal);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ldp-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ldp-user .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--olive);
  color: #fff;
  font-weight: 800;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ldp-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.ldp-name {
  font-weight: 800;
  font-size: 14px;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 6px;
}
.ldp-sub {
  font-size: 11.5px;
  color: var(--on-surface-variant);
  letter-spacing: 0.01em;
}
.ldp-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(43, 62, 28, 0.12);
  color: var(--olive);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(43, 62, 28, 0.25);
  white-space: nowrap;
}

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: var(--outline);
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-logo {
  height: 24px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
  opacity: 0.92;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.footer-logo:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.footer-tagline {
  color: var(--outline);
  font-size: 12.5px;
}
.site-footer strong { color: #fff; font-family: var(--font-head); }
.site-footer a { color: #c8c7bc; margin-left: 18px; transition: color 0.18s ease; }
.site-footer a:hover { color: #fff; }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .credential-card { max-width: 420px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .event-grid, .team-grid, .profile-cols { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .topnav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .brand { min-width: 0; }
  .brand-word { white-space: nowrap; }
  .topnav-links { display: none; }
  .hamburger {
    display: inline-flex;
    margin-left: auto;
  }
  .topnav .btn-signout { display: none; }
  .mobile-drawer {
    display: block;
    background: var(--beige);
    border-bottom: 2px solid var(--charcoal);
    padding: 18px 20px 22px;
    position: fixed;
    inset: 72px 0 auto;
    z-index: 49;
    box-shadow: 0 18px 0 color-mix(in srgb, var(--charcoal) 16%, transparent);
  }
  .mobile-drawer-head {
    display: flex;
    justify-content: space-between;
    padding-bottom: 12px;
    font-family: var(--font-head);
    font-size: 10px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--charcoal);
  }
  .mobile-nav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--charcoal); margin-top: 12px; }
  .mobile-nav-grid a {
    min-width: 0;
    min-height: 96px;
    padding: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr;
    gap: 8px;
    background: var(--surface);
    color: var(--charcoal);
    font-family: var(--font-head);
    font-size: 11px;
    text-transform: uppercase;
  }
  .mobile-nav-grid a > .ms { font-size: 21px; color: var(--olive); }
  .mobile-nav-grid a > span:nth-child(2) { align-self: end; min-width: 0; }
  .mobile-nav-grid a small { grid-column: 2; grid-row: 1; font-family: var(--font-body); color: var(--outline); }
  .mobile-nav-grid a.active { background: var(--charcoal); color: var(--beige); }
  .mobile-nav-grid a.active > .ms, .mobile-nav-grid a.active small { color: var(--gold); }
  .mobile-account {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid var(--charcoal);
    color: var(--charcoal);
  }
  .mobile-account > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
  .mobile-account strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-head); font-size: 11px; text-transform: uppercase; }
  .mobile-account small { color: var(--outline); }
  .form-row { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   Abstract geometric direction · September 2026
   ═══════════════════════════════════════════════════════════════ */
body {
  background: var(--beige);
  background-image:
    linear-gradient(90deg, color-mix(in srgb, var(--olive) 9%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--olive) 9%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
}

.topnav {
  top: 14px;
  width: min(calc(100% - 36px), 1160px);
  min-height: 64px;
  margin: 14px auto;
  padding: 10px 16px;
  background: color-mix(in srgb, var(--beige) 72%, transparent);
  border: 1px solid color-mix(in srgb, var(--beige) 82%, var(--olive));
  border-radius: 14px;
  backdrop-filter: blur(22px) saturate(135%);
  box-shadow:
    0 14px 34px color-mix(in srgb, var(--charcoal) 18%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--surface) 80%, transparent);
}
.brand-box {
  border-radius: 1px;
  transform: rotate(45deg);
  background: var(--olive);
}
.brand-box::first-letter { transform: rotate(-45deg); }
.brand-word { letter-spacing: 0; }
.topnav-links { gap: 28px; }
.topnav-links a {
  font-family: var(--font-head);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #12302f !important; /* Accessible dark shade */
  font-weight: 800;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: all 0.18s ease;
}
.topnav-links a:hover {
  color: #0f4c4c !important;
  border-bottom-color: #0f4c4c;
}
.topnav-links a.active {
  color: #12302f !important;
  border-bottom-color: var(--gold) !important;
}
.topnav .icon-btn {
  color: #12302f;
  background: rgba(18, 48, 47, 0.08);
  border: 1px solid rgba(18, 48, 47, 0.15);
}
.topnav .icon-btn:hover {
  background: rgba(18, 48, 47, 0.15);
  color: #0f4c4c;
}
.icon-btn, .avatar, .btn, .chip, .tag, .pill { border-radius: 2px; }
.btn {
  box-shadow: none;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0;
  border: 1px solid transparent;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--gold); }
.btn-primary { background: var(--charcoal); color: var(--beige); }
.btn-accent { background: var(--olive); color: var(--beige); }
.btn-outline { background: transparent; }

.hero {
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--charcoal);
  background-image:
    linear-gradient(90deg, color-mix(in srgb, var(--beige) 7%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--beige) 7%, transparent) 1px, transparent 1px);
  background-size: 80px 80px;
  padding-block: 70px 86px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 20%, color-mix(in srgb, var(--olive) 24%, transparent) 46%, transparent 70%),
    radial-gradient(circle at 76% 30%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 28%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -12vw -42% auto;
  width: 62vw;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--beige) 20%, transparent);
  transform: rotate(45deg);
  z-index: -1;
}
.hero-shape { position: absolute; z-index: -1; pointer-events: none; }
.hero-shape-a {
  width: 48vw;
  height: 170px;
  background: var(--olive);
  top: 11%;
  right: -16vw;
  transform: rotate(-24deg);
}
.hero-shape-b {
  width: 260px;
  height: 260px;
  border: 40px solid var(--gold);
  left: -150px;
  bottom: -130px;
  transform: rotate(27deg);
}
.hero-index {
  position: absolute;
  top: 28px;
  right: max(28px, calc((100vw - 1100px) / 2));
  color: color-mix(in srgb, var(--beige) 55%, transparent);
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0;
}
.hero-inner {
  width: 100%;
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
  gap: 42px;
  align-items: stretch;
}
.hero-copy {
  justify-content: center;
  gap: 26px;
  position: relative;
  padding: 34px;
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--glass-surface-strong), var(--glass-surface));
  backdrop-filter: blur(20px) saturate(125%);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
  overflow: hidden;
}
.hero-copy::after {
  content: "";
  position: absolute;
  width: 55%;
  height: 1px;
  top: 0;
  left: 8%;
  background: linear-gradient(90deg, transparent, var(--beige), transparent);
  opacity: .65;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--beige);
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  background: color-mix(in srgb, var(--olive) 28%, transparent);
  padding: 7px 11px;
  letter-spacing: 0;
}
.hero-eyebrow i { width: 7px; height: 7px; background: var(--gold); display: block; }
.hero-title {
  font-size: clamp(74px, 9.2vw, 128px);
  line-height: .78;
  letter-spacing: 0;
  margin-left: -7px;
  position: relative;
  z-index: 1;
}
.hero-title-gold {
  color: var(--beige);
  font-family: var(--font-head);
  font-weight: 900;
  -webkit-text-stroke: 0;
  transform: translateX(14%);
}
.hero-lead {
  border-left: 2px solid var(--gold);
  max-width: 520px;
  font-size: 17px;
}
.hero .btn-primary { background: var(--gold); }
.hero .btn-accent { border-color: var(--beige); }
.hero-dashboard {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  background: var(--glass-surface);
  backdrop-filter: blur(24px) saturate(130%);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
}
.hero-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: transparent; }
.hero-stat {
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: color-mix(in srgb, var(--charcoal) 62%, transparent);
  color: var(--beige);
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--beige) 15%, transparent);
  border-left: 3px solid var(--olive);
  border-radius: 10px;
  backdrop-filter: blur(16px);
  transition: background .18s ease, transform .18s ease;
}
.hero-stat:nth-child(2), .hero-stat:nth-child(4) { border-left-color: var(--gold); }
.hero-stat:hover { color: var(--beige); background: color-mix(in srgb, var(--olive) 48%, var(--charcoal)); transform: translate(-3px, -3px); }
.hero-stat-code { font-size: 10px; color: var(--gold); font-weight: 700; }
.hero-stat-label { font-family: var(--font-head); font-size: 9px; text-transform: uppercase; color: color-mix(in srgb, var(--beige) 62%, transparent); }
.hero-stat strong { font-family: var(--font-body); font-size: 43px; font-weight: 400; line-height: 1; }
.hero-card {
  max-width: none;
  padding: 20px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 14px 32px color-mix(in srgb, var(--charcoal) 30%, transparent), inset 0 1px 0 var(--surface);
}
.credential-card { animation: none; }

.marquee { background: var(--gold); color: var(--charcoal); border-width: 0 0 2px; padding: 8px 0; }
.marquee-track { font-size: clamp(18px, 2vw, 26px); letter-spacing: 0; }
.marquee-track span.hollow { -webkit-text-stroke-color: var(--charcoal); }

.page { max-width: 1160px; padding-top: 72px; }
.deployments-section { position: relative; }
.deployments-section::before {
  content: "04 / ACTIVE DEPLOYMENTS";
  position: absolute;
  right: 28px;
  top: 28px;
  font-family: var(--font-head);
  font-size: 9px;
  color: var(--outline);
}
.section-label { color: var(--olive); letter-spacing: 0; }
.section-title { letter-spacing: 0; line-height: .92; }
.section-head-row { align-items: flex-end; border-bottom: 2px solid var(--charcoal); padding-bottom: 18px; }
.event-grid, .team-grid { gap: 12px; }
.event-card, .team-card, .panel, .profile-head, .sop-item {
  border-radius: 2px;
  border-color: var(--charcoal);
  box-shadow: none;
}
.event-card { position: relative; overflow: hidden; }
.event-card::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 12px;
  right: -16px;
  bottom: 10px;
  background: var(--gold);
  transform: rotate(-36deg);
}
.event-card:hover, .team-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--olive); }
.stat-card { border-radius: 2px; border-color: var(--charcoal); }
.stat-icon { border-radius: 1px; background: var(--olive) !important; color: var(--beige) !important; }
.page-head { position: relative; padding: 48px 0 28px; overflow: hidden; }
.page-head::after {
  content: "";
  position: absolute;
  width: 34%;
  height: 20px;
  background: var(--gold);
  right: -8%;
  bottom: 18px;
  transform: rotate(-5deg);
  z-index: -1;
}
.page-head h1 { letter-spacing: 0; max-width: 850px; }
.info-box { border-radius: 1px; }
.sop-item[open] { box-shadow: 6px 6px 0 var(--olive); }
.team-card:nth-child(even) { transform: translateY(26px); }
.team-card:nth-child(even):hover { transform: translate(-3px, 23px); }
.qr-card, .login-card, .modal, .modal-head { border-radius: 2px; }
.login-wrap { position: relative; overflow: hidden; background: var(--beige); }
.login-wrap::before {
  content: "STEP";
  position: absolute;
  left: -3vw;
  bottom: -8vh;
  font-family: var(--font-head);
  font-size: 24vw;
  line-height: .8;
  color: color-mix(in srgb, var(--olive) 14%, transparent);
}
.login-card { position: relative; box-shadow: 12px 12px 0 var(--olive); }
.site-footer { border-top: 10px solid var(--gold); }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-copy { align-items: flex-start; }
  .hero-lead { text-align: left; border-left: 2px solid var(--gold); padding-left: 16px; }
  .hero-ctas { justify-content: flex-start; }
  .hero-title-gold { transform: translateX(8%); }
  .hero-dashboard { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .hero-card { align-self: stretch; }
}
@media (max-width: 640px) {
  .topnav {
    top: 8px;
    width: calc(100% - 24px);
    margin: 8px auto;
    padding-inline: 14px;
    gap: 12px;
    border-radius: 12px;
  }
  .topnav-actions { min-width: 0; }
  .topnav-actions .icon-btn:not(.hamburger), .topnav-actions > a[aria-label="Profile"] { display: none; }
  .hamburger { width: auto; min-width: 78px; padding-inline: 12px; gap: 7px; background: var(--charcoal); color: var(--beige); }
  .hamburger:hover { background: var(--olive); color: var(--beige); }
  .menu-label { display: inline; font-family: var(--font-head); font-size: 10px; text-transform: uppercase; }
  .hero {
    padding: 34px 12px 52px;
    background-size: 56px 56px;
  }
  .hero-inner { gap: 36px; }
  .hero-copy { gap: 20px; }
  .hero-copy { padding: 28px 18px; border-radius: 14px; }
  .hero-index { top: 20px; right: 20px; }
  .hero-eyebrow { max-width: calc(100% - 60px); font-size: 9px; padding: 6px 9px; }
  .hero-title { font-size: clamp(62px, 23vw, 86px); line-height: .8; margin-left: -3px; }
  .hero-title-gold { transform: translateX(0); }
  .hero-lead { font-size: 16px; line-height: 1.6; max-width: 34ch; }
  .hero-ctas { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 10px; }
  .hero-ctas .btn { width: 100%; min-height: 48px; justify-content: center; padding-inline: 10px; }
  .hero-ctas .btn:first-child { grid-column: 1 / -1; }
  .hero-dashboard { grid-template-columns: 1fr; }
  .hero-stat { min-height: 104px; padding: 14px; }
  .hero-stat strong { font-size: 36px; }
  .hero-stat-grid { grid-template-columns: 1fr 1fr; }
  .hero-dashboard { padding: 8px; border-radius: 14px; }
  .hero-card { padding: 16px; box-shadow: 0 12px 26px color-mix(in srgb, var(--charcoal) 35%, transparent); }
  .page { padding-inline: 20px; }
  .section-head-row { align-items: flex-start; gap: 18px; }
  .team-card:nth-child(even), .team-card:nth-child(even):hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ══════════════════════════════════════════════════════════════════
   VOLUNTEER TIER & BADGE PROGRESSION SYSTEM
   ══════════════════════════════════════════════════════════════════ */
.badge-system-section {
  position: relative;
  padding-top: 56px;
  padding-bottom: 72px;
}

.section-desc-lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--on-surface-variant);
  max-width: 820px;
  margin-top: -12px;
  margin-bottom: 28px;
}

.section-desc-lead strong {
  color: var(--charcoal);
  font-weight: 700;
}

/* ─── Tier Badge Pills ───────────────────────────────────────── */
.tier-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.05em;
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  vertical-align: middle;
}

.pill-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: middle;
}

.badge-vector-logo {
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.tier-size-sm {
  font-size: 10px;
  padding: 3px 10px;
}

.tier-size-md {
  font-size: 11.5px;
  padding: 5px 14px;
}

.tier-size-lg {
  font-size: 13px;
  padding: 8px 18px;
}

/* Bronze */
.tier-bronze {
  background: linear-gradient(135deg, #78350f, #b45309);
  color: #fff;
  border: 1px solid #d97706;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.25);
}

/* Silver */
.tier-silver {
  background: linear-gradient(135deg, #334155, #64748b);
  color: #fff;
  border: 1px solid #94a3b8;
  box-shadow: 0 2px 8px rgba(100, 116, 139, 0.25);
}

/* Gold */
.tier-gold {
  background: linear-gradient(135deg, #713f12, #a16207);
  color: #fff;
  border: 1px solid #d4af37;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.35);
}

/* Platinum */
.tier-platinum {
  background: linear-gradient(135deg, #0c4a6e, #0284c7);
  color: #fff;
  border: 1px solid #38bdf8;
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.35);
}

/* Diamond */
.tier-diamond {
  background: linear-gradient(135deg, #581c87, #9333ea);
  color: #fff;
  border: 1px solid #c084fc;
  box-shadow: 0 2px 12px rgba(168, 85, 247, 0.4);
}

/* ─── Roadmap Container ──────────────────────────────────────── */
.badge-roadmap-container {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ─── Header Panel ───────────────────────────────────────────── */
.badge-header-panel {
  background: var(--surface);
  border: 2px solid var(--charcoal);
  border-radius: 2px;
  padding: 26px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  box-shadow: 6px 6px 0 var(--olive);
}

.badge-hero-info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.badge-emblem-large {
  width: 86px;
  height: 86px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  position: relative;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.35);
  padding: 4px;
}

.hero-emblem-svg {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.badge-emblem-tier-label {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.badge-hero-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.badge-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 800;
  color: var(--olive);
  letter-spacing: 0.12em;
}

.badge-hero-title {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 900;
  margin: 0;
  color: var(--charcoal);
  line-height: 1.15;
}

.badge-hero-desc {
  font-size: 13.5px;
  color: var(--on-surface-variant);
  margin: 0;
  line-height: 1.5;
}

.badge-hero-stats {
  display: flex;
  gap: 18px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.b-stat {
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--olive);
  padding-left: 10px;
}

.b-stat-num {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 900;
  color: var(--charcoal);
  line-height: 1.1;
}

.b-stat-lbl {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--outline);
  font-weight: 600;
}

/* ─── Current Tier Progress Card ─────────────────────────────── */
.badge-progress-card {
  background: var(--surface-container);
  border: 1px solid var(--outline-variant);
  border-radius: 4px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.badge-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--on-surface);
}

.badge-progress-milestone {
  font-family: var(--font-head);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 800;
}

.badge-progress-bar-track {
  background: var(--surface-dim);
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.badge-progress-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tier-fill-bronze {
  background: linear-gradient(90deg, #b45309, #f59e0b);
}
.tier-fill-silver {
  background: linear-gradient(90deg, #475569, #94a3b8);
}
.tier-fill-gold {
  background: linear-gradient(90deg, #a16207, #fbbf24);
}
.tier-fill-platinum {
  background: linear-gradient(90deg, #0284c7, #38bdf8);
}
.tier-fill-diamond {
  background: linear-gradient(90deg, #7e22ce, #c084fc);
}

.badge-progress-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--on-surface-variant);
  line-height: 1.4;
}

.badge-progress-hint .ms {
  font-size: 16px;
  color: var(--olive);
  flex-shrink: 0;
}

/* ─── 5-Tier Grid ────────────────────────────────────────────── */
.badge-tier-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.tier-card {
  background: var(--surface);
  border: 2px solid var(--outline-variant);
  border-radius: 6px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tier-card:hover {
  transform: translateY(-4px);
  border-color: var(--charcoal);
  box-shadow: 4px 4px 0 var(--olive);
}

.tier-card.is-current {
  border-color: var(--charcoal);
  background: color-mix(in srgb, var(--surface) 92%, var(--gold) 8%);
  box-shadow: 4px 4px 0 var(--charcoal);
}

.tier-card.is-current::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
}

.tier-card.is-locked {
  opacity: 0.82;
  background: color-mix(in srgb, var(--surface-low) 85%, transparent);
}

.tier-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.tier-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tier-status-pill {
  font-family: var(--font-head);
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.tier-status-pill.status-current {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.tier-status-pill.status-completed {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.tier-status-pill.status-locked {
  background: var(--surface-container);
  color: var(--outline);
  border: 1px solid var(--outline-variant);
}

.tier-card-name {
  font-size: 15px;
  font-weight: 900;
  margin: 0;
  color: var(--charcoal);
  line-height: 1.15;
}

.tier-card-tagline {
  font-size: 11.5px;
  color: var(--olive);
  font-weight: 700;
  font-family: var(--font-head);
}

.tier-card-perks {
  font-size: 11.5px;
  color: var(--on-surface-variant);
  flex: 1;
}

.tier-perks-title {
  display: block;
  font-family: var(--font-head);
  font-size: 9.5px;
  text-transform: uppercase;
  color: var(--outline);
  margin-bottom: 6px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.tier-card-perks ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tier-card-perks li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.35;
}

.tier-card-perks .ms {
  font-size: 14px;
  color: var(--olive);
  flex-shrink: 0;
  margin-top: 1px;
}

.tier-card.is-current .tier-card-perks .ms {
  color: #16a34a;
}

.tier-card.is-locked .tier-card-perks .ms {
  color: var(--outline);
}

.tier-card-footer {
  border-top: 1px solid var(--surface-container);
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tier-range-lbl {
  font-family: var(--font-head);
  font-size: 10.5px;
  color: var(--charcoal);
  font-weight: 800;
}

.tier-active-indicator {
  font-family: var(--font-head);
  font-size: 9px;
  background: var(--charcoal);
  color: var(--beige);
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}

/* ─── Simulator Tool ─────────────────────────────────────────── */
.badge-simulator-box {
  background: var(--surface);
  border: 1px dashed var(--charcoal);
  border-radius: 4px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 3px 3px 0 var(--olive);
}

.sim-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.sim-head h4 {
  font-size: 15px;
  margin: 2px 0 0;
  font-weight: 900;
}

.sim-slider-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-slider-row label {
  font-size: 13px;
  color: var(--on-surface);
}

.sim-slider-row label strong {
  color: var(--charcoal);
  font-family: var(--font-head);
}

.sim-slider {
  width: 100%;
  accent-color: var(--charcoal);
  cursor: pointer;
  height: 8px;
}

.sim-quick-presets {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sim-quick-label {
  font-family: var(--font-head);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--outline);
  font-weight: 800;
}

.sim-btn {
  background: var(--surface);
  border: 1px solid var(--outline-variant);
  padding: 6px 12px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.sim-btn:hover {
  background: var(--surface-container);
  border-color: var(--charcoal);
}

.sim-btn.active {
  background: var(--charcoal);
  color: var(--beige);
  border-color: var(--charcoal);
}

/* ══════════════════════════════════════════════════════════════════
   LOCATION PICKER MODAL (Exact Reference Style: Dark theme, 
   Squircle landmark cards, "Use current location" card)
   ══════════════════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════════════════
   LOCATION PICKER MODAL (Website Bespoke Editorial Aesthetic)
   ══════════════════════════════════════════════════════════════════ */
.loc-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(19, 20, 17, 0.7);
  backdrop-filter: blur(6px);
  z-index: 999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: locFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

@media (min-width: 768px) {
  .loc-modal-backdrop {
    align-items: center;
    padding: 24px;
  }
}

@keyframes locFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.loc-modal-sheet {
  background: var(--surface);
  border: 2px solid var(--charcoal);
  width: 100%;
  max-width: 490px;
  max-height: 88vh;
  border-radius: 22px 22px 0 0;
  display: flex;
  flex-direction: column;
  color: var(--charcoal);
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(19, 20, 17, 0.35);
  animation: locSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  .loc-modal-sheet {
    border-radius: 18px;
    max-height: 85vh;
    box-shadow: 8px 8px 0 var(--charcoal), 0 20px 60px rgba(19, 20, 17, 0.3);
  }
}

@keyframes locSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* Header */
.loc-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--charcoal);
  color: #ffffff;
  border-bottom: 2px solid var(--charcoal);
  position: relative;
}

.loc-sheet-back-btn,
.loc-sheet-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.15s ease;
}

.loc-sheet-back-btn:hover,
.loc-sheet-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: scale(1.05);
}

.loc-sheet-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Search Box */
.loc-search-box {
  margin: 16px 18px 8px;
  position: relative;
  display: flex;
  align-items: center;
}

.loc-search-icon {
  position: absolute;
  left: 14px;
  font-size: 18px;
  color: var(--olive);
  pointer-events: none;
}

.loc-search-input {
  width: 100%;
  background: var(--surface-container);
  border: 1.5px solid var(--charcoal);
  border-radius: 999px;
  padding: 11px 38px 11px 40px;
  color: var(--charcoal);
  font-size: 13.5px;
  font-family: var(--font-body);
  font-weight: 500;
  outline: none;
  transition: all 0.2s ease;
}

.loc-search-input:focus {
  border-color: var(--olive);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(43, 62, 28, 0.15);
}

.loc-search-input::placeholder {
  color: var(--on-surface-variant);
  opacity: 0.85;
}

.loc-search-clear {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: var(--on-surface-variant);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 2px;
}

/* Body */
.loc-sheet-body {
  padding: 10px 18px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Use Current Location Card */
.loc-current-card {
  background: var(--surface-container);
  border: 1.5px solid var(--charcoal);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  width: 100%;
  color: var(--charcoal);
  box-shadow: 2px 2px 0 var(--olive);
}

.loc-current-card:hover {
  border-color: var(--charcoal);
  background: var(--surface);
  box-shadow: 3px 3px 0 var(--charcoal);
  transform: translateY(-1px);
}

.loc-current-target-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(43, 62, 28, 0.1);
  border: 1.5px solid var(--olive);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.loc-target-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 6px var(--olive);
}

.loc-current-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.loc-current-title {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--charcoal);
}

.loc-current-sub {
  font-size: 11.5px;
  color: var(--on-surface-variant);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.loc-current-arrow {
  color: var(--olive);
  font-size: 20px;
  font-weight: 700;
}

/* Popular Cities Grid */
.loc-section-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.loc-section-heading {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--charcoal);
  margin: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.loc-popular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.loc-city-tile {
  background: var(--surface);
  border: 1.5px solid var(--charcoal);
  border-radius: 14px;
  padding: 14px 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  box-shadow: 2px 2px 0 var(--charcoal);
  color: var(--charcoal);
}

.loc-city-tile:hover {
  background: var(--surface-container);
  border-color: var(--olive);
  box-shadow: 3px 3px 0 var(--olive);
  transform: translateY(-2px);
  color: var(--olive);
}

.loc-city-tile.is-selected {
  background: #eef2e6;
  border: 2px solid var(--olive);
  box-shadow: 3px 3px 0 var(--olive);
  color: var(--olive);
}

.loc-landmark-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive);
  transition: transform 0.18s ease, color 0.18s ease;
}

.loc-city-tile:hover .loc-landmark-wrap {
  transform: scale(1.08);
  color: #dc2626;
}

.loc-city-tile.is-selected .loc-landmark-wrap {
  color: var(--olive);
}

.loc-city-name {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Other Cities List */
.loc-other-cities-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.loc-other-city-item {
  background: var(--surface);
  border: 1.5px solid var(--outline-variant);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--charcoal);
}

.loc-other-city-item:hover {
  background: var(--surface-container);
  border-color: var(--charcoal);
  box-shadow: 2px 2px 0 var(--olive);
}

.loc-other-city-item.is-selected {
  background: #eef2e6;
  border-color: var(--olive);
  border-width: 2px;
}

.loc-other-city-name {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--charcoal);
}

.loc-other-city-state {
  font-size: 11px;
  color: var(--on-surface-variant);
}

.loc-active-pill {
  font-family: var(--font-head);
  font-size: 9.5px;
  background: var(--olive);
  color: #ffffff;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.loc-sr-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.loc-sr-pin {
  color: #dc2626;
  font-size: 18px;
}

.loc-no-results {
  text-align: center;
  padding: 28px 14px;
  color: var(--on-surface-variant);
}

.loc-no-results .ms {
  font-size: 32px;
  display: block;
  margin-bottom: 6px;
  color: var(--olive);
}

/* TopNav Location Pill & Brand Wrap */
.topnav-brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.location-region-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1.5px solid var(--charcoal);
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  color: var(--charcoal);
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--olive);
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.location-region-pill:hover {
  transform: translateY(-1px);
  background: var(--surface-container);
  box-shadow: 3px 3px 0 var(--charcoal);
}

.location-pin-icon {
  display: flex;
  align-items: center;
}

.location-pin-icon .ms {
  font-size: 15px;
  color: #dc2626;
}

.location-name {
  letter-spacing: 0.02em;
}

.location-caret {
  font-size: 16px;
  color: var(--olive);
  font-weight: 700;
}

/* Mobile Drawer Region Button */
.mobile-drawer-region-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--charcoal);
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 800;
  color: var(--charcoal);
  cursor: pointer;
}

/* Events Page Region Filters */
.page-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.events-filter-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-group-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-width: 130px;
}

.filter-group-label .ms {
  font-size: 16px;
  color: var(--olive);
}

.chip-region {
  display: inline-flex;
  align-items: center;
}

.ec-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ec-badges-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.region-tag {
  font-family: var(--font-head);
  font-size: 9.5px;
  background: color-mix(in srgb, var(--surface-dim) 80%, transparent);
  border: 1px solid var(--outline-variant);
  color: var(--charcoal);
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.region-tag .ms {
  font-size: 12px;
  color: #dc2626;
}

.ec-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--surface-container);
}

.ec-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ec-tag-item {
  font-size: 10px;
  color: var(--olive);
  font-weight: 600;
}

/* ─── Responsive Media Queries for Badge System & Region ─────── */
@media (max-width: 1024px) {
  .badge-tier-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .badge-header-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .badge-tier-grid {
    grid-template-columns: 1fr;
  }
  .badge-hero-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .badge-hero-stats {
    justify-content: center;
  }
  .b-stat {
    border-left: none;
    border-bottom: 2px solid var(--olive);
    padding-left: 0;
    padding-bottom: 4px;
  }
  .badge-kicker {
    justify-content: center;
  }
  .loc-popular-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .filter-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ══════════════════════════════════════════════════════════════════
   MOBILE INTERFACE VIEWER & CHASSIS (/mobile)
   ══════════════════════════════════════════════════════════════════ */
.mob-viewer-layout {
  min-height: 100vh;
  background: #0b0d12;
  color: #f1f5f9;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
}

/* Toolbar */
.mob-viewer-toolbar {
  background: #14161d;
  border-bottom: 1px solid #222530;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.mvt-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mvt-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  background: #1e222d;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #2d3342;
  transition: all 0.15s ease;
}

.mvt-back-btn:hover {
  color: #fff;
  background: #2a3040;
  border-color: #4b5563;
}

.mvt-back-btn .ms {
  font-size: 15px;
}

.mvt-divider {
  width: 1px;
  height: 22px;
  background: #2a2e3d;
}

.mvt-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mvt-brand {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.mvt-tag {
  font-family: var(--font-head);
  font-size: 9.5px;
  text-transform: uppercase;
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 800;
}

/* Page Switcher Buttons */
.mvt-pages-row {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #0d0f14;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid #222530;
  overflow-x: auto;
}

.mvt-page-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-family: var(--font-head);
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.mvt-page-btn .ms {
  font-size: 14px;
}

.mvt-page-btn:hover {
  color: #fff;
  background: #1e222d;
}

.mvt-page-btn.active {
  background: var(--gold);
  color: #111;
  font-weight: 900;
}

/* Controls */
.mvt-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mvt-device-group,
.mvt-zoom-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mvt-label {
  font-family: var(--font-head);
  font-size: 10px;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 800;
}

.mvt-btn-pills {
  display: flex;
  background: #0d0f14;
  border: 1px solid #222530;
  border-radius: 6px;
  padding: 2px;
  gap: 2px;
  align-items: center;
}

.mvt-pill {
  background: transparent;
  color: #94a3b8;
  border: none;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mvt-pill:hover {
  color: #fff;
  background: #1e222d;
}

.mvt-pill.active {
  background: #333946;
  color: #fff;
  font-weight: 900;
}

.mvt-zoom-text {
  font-family: var(--font-head);
  font-size: 9.5px;
  color: #cbd5e1;
  min-width: 32px;
  text-align: center;
}

/* Canvas & Chassis */
.mob-viewer-canvas {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 30px 16px 60px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  overflow: auto;
}

.mob-chassis-shell {
  position: relative;
  background: #2a2c34;
  border-radius: 46px;
  padding: 12px;
  box-shadow: 
    0 0 0 2px #474b57,
    0 0 0 5px #191a1f,
    0 30px 75px rgba(0, 0, 0, 0.88),
    inset 0 0 4px rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease;
}

/* Physical Hardware Buttons */
.mob-chassis-vol-up,
.mob-chassis-vol-down,
.mob-chassis-power {
  position: absolute;
  background: #444754;
  border-radius: 3px;
}

.mob-chassis-vol-up {
  left: -4px;
  top: 110px;
  width: 4px;
  height: 50px;
}

.mob-chassis-vol-down {
  left: -4px;
  top: 172px;
  width: 4px;
  height: 50px;
}

.mob-chassis-power {
  right: -4px;
  top: 140px;
  width: 4px;
  height: 72px;
}

/* Screen Window */
.mob-chassis-screen {
  background: #000;
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.15);
}

/* Status Bar */
.mob-chassis-statusbar {
  height: 44px;
  background: var(--charcoal);
  color: var(--beige);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  z-index: 50;
  flex-shrink: 0;
  user-select: none;
}

.mob-time {
  letter-spacing: 0.02em;
}

.mob-dynamic-island-cutout {
  width: 104px;
  height: 26px;
  background: #000;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.island-lens {
  width: 9px;
  height: 9px;
  background: #111422;
  border-radius: 50%;
  border: 1px solid #1f253a;
}

.island-sensor {
  width: 7px;
  height: 7px;
  background: #0c0e18;
  border-radius: 50%;
}

.mob-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mob-icons .ms {
  font-size: 14px;
  color: var(--beige);
}

/* Embedded Live Website Container */
.mob-iframe-container {
  flex: 1;
  position: relative;
  background: var(--background);
  overflow: hidden;
}

.mob-live-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: var(--background);
  display: block;
}

/* Home Indicator Bar */
.mob-chassis-homebar {
  height: 20px;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mob-gesture-bar {
  width: 115px;
  height: 4px;
  background: var(--charcoal);
  border-radius: 99px;
  opacity: 0.65;
}

/* ═══════════════════════════════════════════════════════════════
   Features: Notifications Dropdown, Profile Photo & Lightbox,
   and Admin Event Image Upload Dropzone
   ═══════════════════════════════════════════════════════════════ */

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ─── Notification Bell & Dropdown ──────────────────────────── */
.notif-btn {
  position: relative;
}

.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #dc2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--background);
  line-height: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.notif-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 360px;
  max-width: 90vw;
  background: var(--surface);
  border: 1.5px solid var(--charcoal);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(18, 48, 47, 0.18);
  z-index: 1200;
  overflow: hidden;
  animation: scaleIn 0.15s ease-out;
}

.notif-header {
  padding: 12px 16px;
  background: var(--beige);
  border-bottom: 1px solid var(--surface-highest);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notif-count-pill {
  background: var(--olive);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
}

.notif-action-btn {
  background: none;
  border: none;
  color: var(--olive);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
}

.notif-action-btn:hover {
  text-decoration: underline;
}

.notif-list {
  max-height: 380px;
  overflow-y: auto;
}

.notif-item {
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-bottom: 1px solid var(--surface-highest);
  cursor: pointer;
  transition: background 0.15s;
}

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

.notif-item:hover {
  background: color-mix(in srgb, var(--beige) 40%, transparent);
}

.notif-item.unread {
  background: color-mix(in srgb, var(--olive) 6%, var(--surface));
  border-left: 3px solid var(--olive);
}

.notif-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.notif-content {
  flex: 1;
  min-width: 0;
}

.notif-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
}

.notif-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notif-time {
  font-size: 11px;
  color: var(--outline);
  flex-shrink: 0;
}

.notif-msg {
  font-size: 12.5px;
  color: var(--on-surface-variant);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notif-item-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0.6;
  transition: opacity 0.15s;
}

.notif-item:hover .notif-item-actions {
  opacity: 1;
}

.notif-read-btn, .notif-del-btn {
  background: none;
  border: none;
  color: var(--outline);
  cursor: pointer;
  padding: 2px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.notif-read-btn:hover {
  color: var(--olive);
  background: var(--surface-highest);
}

.notif-del-btn:hover {
  color: #dc2626;
  background: var(--surface-highest);
}

.notif-empty {
  padding: 36px 20px;
  text-align: center;
}

.notif-empty-icon {
  font-size: 38px;
  color: var(--outline);
  display: block;
  margin-bottom: 6px;
}

/* ─── Profile Photo Management ──────────────────────────────── */
.profile-photo-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.profile-photo-container {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid var(--charcoal);
  position: relative;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 4px 14px rgba(18, 48, 47, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-photo-container.has-photo {
  cursor: pointer;
}

.profile-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-initials-fallback {
  width: 100%;
  height: 100%;
  background: var(--charcoal);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 700;
}

.profile-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 48, 47, 0.65);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  gap: 2px;
  font-size: 11px;
  font-weight: 700;
}

.profile-photo-container.has-photo:hover .profile-photo-overlay,
.profile-photo-container.has-photo:focus-visible .profile-photo-overlay {
  opacity: 1;
}

.profile-photo-uploading {
  position: absolute;
  inset: 0;
  background: rgba(18, 48, 47, 0.85);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  gap: 4px;
}

.spin-icon {
  animation: spin 1s linear infinite;
  display: inline-block;
}

.profile-photo-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.profile-action-btn {
  font-size: 11.5px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.profile-remove-btn {
  font-size: 11.5px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #dc2626;
}

.profile-photo-hint {
  font-size: 10.5px;
  color: var(--on-surface-variant);
}

/* ─── Profile Photo Lightbox Modal ──────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(18, 48, 47, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-dialog {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--charcoal);
  border-radius: 10px;
  overflow: hidden;
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  animation: scaleIn 0.2s ease-out;
  display: flex;
  flex-direction: column;
}

.lightbox-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.lightbox-close-btn:hover {
  background: rgba(0, 0, 0, 0.85);
}

.lightbox-image-wrap {
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 75vh;
  overflow: hidden;
}

.lightbox-image {
  max-width: 85vw;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.lightbox-caption {
  padding: 12px 18px;
  background: var(--surface);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--surface-highest);
}

.lightbox-caption strong {
  display: block;
  font-size: 15px;
  color: var(--charcoal);
}

.lightbox-caption span {
  font-size: 12px;
  color: var(--on-surface-variant);
}

/* ─── Admin Event Image Dropzone & Preview ──────────────────── */
.event-image-dropzone {
  border: 2px dashed var(--outline-variant);
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  background: var(--background);
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.event-image-dropzone:hover {
  border-color: var(--olive);
  background: var(--beige);
}

.event-image-dropzone.dragging {
  border-color: var(--olive);
  background: color-mix(in srgb, var(--olive) 12%, var(--surface));
  transform: scale(1.01);
}

.dropzone-icon {
  font-size: 36px;
  color: var(--olive);
  display: block;
  margin-bottom: 6px;
}

.event-image-preview-card {
  border: 1px solid var(--charcoal);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

.event-image-preview-box {
  height: 160px;
  position: relative;
  overflow: hidden;
  background: #000;
}

.event-image-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-image-uploading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

.event-image-preview-actions {
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border-top: 1px solid var(--surface-highest);
}

/* ─── Grouped Notifications ───────────────────────────────────── */
.notif-group-header {
  padding: 7px 14px;
  background: var(--surface-container);
  color: var(--charcoal);
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--surface-highest);
}

.notif-unread-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--olive);
  display: inline-block;
  margin-left: 6px;
  box-shadow: 0 0 6px rgba(15, 76, 76, 0.4);
}

/* ─── Profile Experiences Section ─────────────────────────────── */
.experiences-section {
  margin-top: 24px;
}
.experience-card {
  background: var(--surface);
  border: 1.5px solid var(--charcoal);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: 2px 2px 0 var(--olive);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.experience-card:hover {
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 var(--charcoal);
}
.exp-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}
.exp-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--charcoal);
  margin: 0;
}
.exp-card-meta {
  display: flex;
  gap: 12px;
  font-size: 12.5px;
  color: var(--on-surface-variant);
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.exp-card-desc {
  font-size: 13px;
  color: var(--on-surface);
  line-height: 1.5;
  margin: 0;
}

/* ─── Minimal Clean Footer ────────────────────────────────────── */
.site-footer-simple {
  background: var(--charcoal);
  color: #c8c7bc;
  padding: 24px 28px;
  margin-top: 60px;
  border-top: 4px solid var(--olive);
}
.site-footer-simple-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}
.site-footer-simple-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-footer-simple-right {
  color: #8a897c;
  font-size: 12.5px;
  font-family: var(--font-body);
}






