/* ══════════════════════════════════════════
   GSAA — Base Styles & Design Tokens
   Ghana Sociological & Anthropological Association
══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=DM+Sans:wght@300;400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,600;1,300;1,600&display=swap');

:root {
  --gold: #E5B84C;
  --gold-light: #F0D078;
  --gold-pale: rgba(229,184,76,0.15);
  --green-deep: #0F2C59;
  --green-mid: #1C3B5E;
  --green-accent: #4A607A;
  --red-kente: #B03A2E;
  --cream: #F5F8FC;
  --cream-dark: #E8EEF5;
  --text-dark: #0A2540;
  --text-mid: #3A5068;
  --text-light: #7A8FA0;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.1);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.15);
  --radius: 4px;
  --transition: 0.3s ease;
}

/* ── DARK THEME ── */
[data-theme="dark"] {
  --green-deep: #071526;
  --green-mid: #0F2C59;
  --green-accent: #334A62;
  --white: #0A1C2E;
  --cream: #13253A;
  --cream-dark: #1D2F47;
  --text-dark: #F5F8FC;
  --text-mid: #B8C9D9;
  --text-light: #8899AA;
  --gold-pale: rgba(229,184,76,0.15);
  background-color: var(--green-deep);
}
[data-theme="dark"] .section-title em { color: var(--gold); }
[data-theme="dark"] .mission-quote { color: var(--text-mid); }
[data-theme="dark"] .focus-read-more { color: var(--gold); }
[data-theme="dark"] .btn-outline--dark { color: var(--gold); border-color: var(--gold); }
[data-theme="dark"] .btn-ghost { color: var(--gold); border-color: var(--gold); }
[data-theme="dark"] .btn-ghost:hover { background: var(--gold); color: var(--green-deep); }
[data-theme="dark"] .info-card, 
[data-theme="dark"] .article-card, 
[data-theme="dark"] .board-card, 
[data-theme="dark"] .method-card, 
[data-theme="dark"] .wp-card {
  background-color: #112233;
  border-color: rgba(229,184,76,0.1);
}
[data-theme="dark"] .form-input {
  background-color: #0b1a2b;
  border-color: rgba(229,184,76,0.2);
  color: var(--text-dark);
}
[data-theme="dark"] .form-input::placeholder { color: rgba(245,239,224,0.3); }

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-size: 15px;
  overflow-x: hidden;
  width: 100%;
}

@media (max-width: 768px) {
  html { font-size: 14px; }
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
  width: 100%;
  position: relative;
  line-height: 1.7;
}

/* ── KENTE BAR ── */
.kente-bar {
  height: 6px;
  background: repeating-linear-gradient(90deg,
    var(--green-mid) 0px, var(--green-mid) 20px,
    var(--gold) 20px, var(--gold) 40px,
    var(--green-accent) 40px, var(--green-accent) 60px,
    var(--green-mid) 60px, var(--green-mid) 80px
  );
  border-radius: 2px;
}

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ── BUTTONS ── */
.btn-primary {
  padding: 0.95rem 2.2rem;
  background: var(--gold);
  color: var(--green-deep);
  font-weight: 600; font-size: 0.88rem;
  letter-spacing: 0.05em;
  border: none; border-radius: var(--radius);
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229,184,76,0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  padding: 0.95rem 2.2rem;
  background: transparent; color: var(--white);
  font-weight: 500; font-size: 0.88rem;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: var(--radius);
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-outline:active { transform: translateY(0); }

.btn-outline--on-dark:hover { border-color: var(--white); color: var(--white); }

.btn-ghost {
  padding: 0.7rem 1.5rem;
  background: transparent; color: var(--green-mid);
  font-weight: 500; font-size: 0.85rem;
  border: 1px solid var(--green-mid);
  border-radius: var(--radius);
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.btn-ghost:hover { background: var(--green-mid); color: var(--white); }
.btn-ghost:active { transform: scale(0.98); }

/* ── SECTION LABELS ── */
.section-label {
  font-size: 0.72rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold);
  font-weight: 600; margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.section-label::before {
  content: ''; width: 24px; height: 2px; background: var(--gold);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700; line-height: 1.15;
  color: var(--text-dark);
}
.section-title em { font-style: italic; color: var(--green-mid); }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── FORM ELEMENTS ── */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-label {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-mid);
}
.form-input {
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(0,77,140,0.1);
}
.form-input.error { border-color: var(--red-kente); }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A8C7F' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-check {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 1.2rem;
  font-size: 0.82rem; color: var(--text-mid); line-height: 1.5;
}
.form-check input { margin-top: 2px; accent-color: var(--green-mid); flex-shrink: 0; width: 16px; height: 16px; cursor: pointer; }
.form-error-msg { font-size: 0.72rem; color: var(--red-kente); margin-top: 0.2rem; display: none; }
.form-error-msg.show { display: block; }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text-dark); color: var(--cream);
  padding: 0.85rem 1.8rem; border-radius: var(--radius);
  font-size: 0.85rem; font-weight: 500;
  opacity: 0; pointer-events: none;
  transition: all 0.3s; z-index: 2000;
  border-left: 3px solid var(--gold);
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 560px) {
  .toast { bottom: 1.5rem; left: 1rem; right: 1rem; white-space: normal; transform: translateY(150px); }
  .toast.show { transform: translateY(0); }
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--green-deep);
  border: 1px solid rgba(229,184,76,0.35);
  border-radius: 50%;
  color: var(--gold); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: all 0.3s; z-index: 500;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--green-mid); transform: translateY(-3px); }
.back-to-top:active { transform: scale(0.95); }
@media (max-width: 768px) {
  .back-to-top { bottom: 5rem; }
}
@media (max-width: 560px) {
  .back-to-top { bottom: 1.5rem; right: 0.75rem; }
}

/* ── PAGE HERO (VECTOR STYLE) ── */
.page-hero {
  min-height: 48vh; padding: 12rem 4rem 6rem;
  background: var(--green-deep);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(229,184,76,0.12) 0%, transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(229,184,76,0.06) 0%, transparent 45%);
  z-index: 1;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  opacity: 0.05; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 100 100'%3E%3Cpath d='M50 5 L65 35 L95 50 L65 65 L50 95 L35 65 L5 50 L35 35 Z' fill='%234A9FD9'/%3E%3C/svg%3E");
  background-size: 120px;
  animation: bgScroll 60s linear infinite;
}
@keyframes bgScroll {
  from { background-position: 0 0; }
  to { background-position: 120px 120px; }
}

.page-hero-inner { position: relative; z-index: 2; max-width: 850px; }
.page-hero-label {
  font-size: 0.85rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.page-hero-label::before { content: ''; width: 28px; height: 2px; background: var(--gold); }
.page-hero h1 {
  font-family: 'Playfair Display', serif; font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900; color: var(--cream); line-height: 1.05; margin-bottom: 1.5rem;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero p {
  font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-style: italic;
  line-height: 1.7; color: var(--white);
  max-width: 640px;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 2.5rem; font-size: 0.85rem;
}
.breadcrumb a { color: var(--gold); text-decoration: none; opacity: 0.6; transition: all 0.2s; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb span { color: rgba(245,239,224,0.4); font-weight: 500; }
.breadcrumb svg { opacity: 0.3; color: var(--gold); }

/* ── UTILITY ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.text-gold { color: var(--gold); }
.text-cream { color: var(--cream); }
.text-center { text-align: center; }
.bg-cream { background: var(--cream); }
.bg-green-deep { background: var(--green-deep); }
.section-intro { max-width: 700px; }
.section-intro--gap { margin-bottom: 4rem; }
.section-intro--gap-sm { margin-bottom: 1rem; }
.section-intro--gap-md { margin-bottom: 3rem; }
.body-text { font-size: 0.95rem; line-height: 1.9; color: var(--text-mid); margin-top: 1.2rem; }
.body-text--mb { margin-bottom: 1rem; }
.body-text--light { font-size: 0.95rem; line-height: 1.8; color: rgba(245,239,224,0.55); margin-top: 1.2rem; }
.btn-sm { font-size: 0.8rem; padding: 0.6rem 1.2rem; }
.btn-xs { font-size: 0.75rem; padding: 0.5rem 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-nowrap { white-space: nowrap; }
.pos-relative { position: relative; }
.z-1 { z-index: 1; }
section { padding: 6rem 4rem; }

@media (max-width: 900px) {
  section { padding: 4rem 2rem; }
  .page-hero { padding: 8rem 2rem 4rem; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  section { padding: 3.5rem 1.5rem; }
  .page-hero { padding: 7rem 1.5rem 3rem; }
  .form-group { margin-bottom: 1.5rem; }
  .form-check { margin-bottom: 1.5rem; gap: 1rem; }
  .section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); }
  .form-input { padding: 0.9rem 1rem; min-height: 44px; }
  .form-select { min-height: 44px; padding-right: 2.5rem; }
  .btn-primary { min-height: 44px; }
  .btn-outline { min-height: 44px; }
  .btn-ghost { min-height: 44px; }
}
@media (max-width: 560px) {
  section { padding: 2.5rem 1rem 3rem; }
  .page-hero { padding: 6rem 1rem 2rem; }
  .page-hero h1 { font-size: 2rem; }
  .btn-primary { padding: 0.9rem 1.5rem; font-size: 0.8rem; width: 100%; }
  .btn-outline { width: 100%; }
  .btn-ghost { width: 100%; }
  .form-group { margin-bottom: 1.2rem; }
  .form-check input { width: 20px; height: 20px; }
  .form-label { font-size: 0.7rem; }
}
/* ── SCROLL PROGRESS ── */
.scroll-progress-container {
  position: fixed; top: 0; left: 0; width: 100%; height: 3px;
  z-index: 1000; pointer-events: none;
}
.scroll-progress-bar {
  height: 100%; background: var(--gold);
  width: 0%; transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(229,184,76,0.5);
}

/* ── SKELETON LOADING ── */
.skeleton {
  background: linear-gradient(90deg, 
    rgba(245,239,224,0.05) 25%, 
    rgba(245,239,224,0.1) 37%, 
    rgba(245,239,224,0.05) 63%
  );
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
  border-radius: 4px;
}
@keyframes skeleton-loading {
  0% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── ADINKRA FLOATING ANIMATION ── */
@keyframes adinkra-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.animate-float {
  animation: adinkra-float 4s ease-in-out infinite;
}

.hide-on-mobile {
  display: block;
}
.show-only-on-mobile {
  display: none;
}

@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }
  .show-only-on-mobile {
    display: block !important;
  }
}

/* ── PROFILE MODAL POPUP & INTERACTIVE CARDS ── */
.profile-card.interactive,
.institution-member.interactive {
  cursor: pointer;
}
.profile-card.interactive .profile-photo-wrap,
.institution-member.interactive .member-photo-wrap {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.profile-card.interactive:hover .profile-photo-wrap,
.institution-member.interactive:hover .member-photo-wrap {
  transform: scale(1.08);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(229,184,76,0.3);
}

.profile-card-badge-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(229,184,76,0.12);
  border: 1px solid rgba(229,184,76,0.3);
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  margin-top: 0.65rem;
  transition: var(--transition);
  cursor: pointer;
}
.profile-card.interactive:hover .profile-card-badge-trigger,
.institution-member.interactive:hover .profile-card-badge-trigger {
  background: var(--gold);
  color: var(--green-deep);
}

.profile-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(7, 21, 38, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.profile-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.profile-modal-container {
  background: var(--white);
  color: var(--text-dark);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  border-radius: 12px;
  border: 1px solid rgba(229,184,76,0.3);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
  position: relative;
}
.profile-modal-overlay.active .profile-modal-container {
  transform: translateY(0) scale(1);
}

.profile-modal-header {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  color: #FFFFFF;
  padding: 2rem;
  position: relative;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  border-bottom: 3px solid var(--gold);
}
.profile-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}
.profile-modal-close:hover {
  background: var(--gold);
  color: var(--green-deep);
  transform: rotate(90deg);
}

.profile-modal-avatar-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  flex-shrink: 0;
  background: var(--green-mid);
}
.profile-modal-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-modal-title-area {
  flex: 1;
}
.profile-modal-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(229,184,76,0.15);
  border: 1px solid rgba(229,184,76,0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}
.profile-modal-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}
.profile-modal-role {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.profile-modal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  background: var(--cream);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 0.4rem;
}
.profile-modal-tab {
  padding: 0.55rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  white-space: normal;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.profile-modal-tab:hover {
  color: var(--green-deep);
  background: rgba(0,0,0,0.02);
}
.profile-modal-tab.active {
  color: var(--green-deep);
  border-bottom-color: var(--gold);
  background: var(--white);
}

.profile-modal-body {
  padding: 1.75rem 2rem;
  overflow-y: auto;
  flex: 1;
  line-height: 1.7;
  font-size: 0.95rem;
}

.profile-tab-content {
  display: none;
  animation: fadeInTab 0.3s ease;
}
.profile-tab-content.active {
  display: block;
}
@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.profile-bio-paragraph {
  margin-bottom: 1.1rem;
  color: var(--text-dark);
}
.profile-section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-deep);
  margin: 1.5rem 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding-bottom: 0.4rem;
}
.profile-section-heading:first-child {
  margin-top: 0;
}

.profile-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.profile-item-card {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
}
.profile-item-title {
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 0.25rem;
}
.profile-item-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
}

.journal-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}
.journal-pill {
  background: var(--green-deep);
  color: var(--gold);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

[data-theme="dark"] .profile-modal-container {
  background: var(--green-deep);
  color: var(--text-dark);
  border-color: rgba(229,184,76,0.3);
}
[data-theme="dark"] .profile-modal-tabs {
  background: var(--green-mid);
  border-bottom-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .profile-modal-tab {
  color: var(--text-mid);
}
[data-theme="dark"] .profile-modal-tab.active {
  color: var(--gold);
  background: var(--green-deep);
  border-bottom-color: var(--gold);
}
[data-theme="dark"] .profile-bio-paragraph {
  color: var(--text-dark);
}
[data-theme="dark"] .profile-item-card {
  background: var(--green-mid);
  border-left-color: var(--gold);
}
[data-theme="dark"] .profile-item-title {
  color: var(--gold);
}
[data-theme="dark"] .profile-section-heading {
  color: var(--gold);
  border-bottom-color: rgba(255,255,255,0.1);
}

@media (max-width: 640px) {
  .profile-modal-header {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1rem;
    gap: 0.75rem;
  }
  .profile-modal-avatar-wrap {
    width: 85px; height: 85px;
  }
  .profile-modal-name {
    font-size: 1.35rem;
  }
  .profile-modal-body {
    padding: 1.25rem;
  }
  .profile-modal-tabs {
    justify-content: flex-start;
  }
}
