/* === DESIGN TOKENS === */
:root,
[data-theme="light"] {
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Satoshi', 'Helvetica Neue', sans-serif;

  --color-bg: #faf7f2;
  --color-surface: #fffdf8;
  --color-surface-2: #f5f1ea;
  --color-surface-offset: #efe9df;
  --color-divider: #e0d9cd;
  --color-border: #d4ccbe;

  --color-text: #2a2419;
  --color-text-muted: #736b5e;
  --color-text-faint: #b0a896;

  --color-primary: #b00a1e;
  --color-primary-hover: #8d0817;
  --color-primary-active: #6e0612;
  --color-primary-highlight: #f3d9dc;

  --color-accent: #c8951e;
  --color-accent-hover: #a87a15;
  --color-accent-highlight: #f5ead0;

  --color-blue: #1d3a8a;

  --shadow-sm: 0 1px 3px rgba(42, 36, 25, 0.08);
  --shadow-md: 0 4px 16px rgba(42, 36, 25, 0.1);
  --shadow-lg: 0 16px 48px rgba(42, 36, 25, 0.14);

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --color-bg: #15110d;
  --color-surface: #1c1814;
  --color-surface-2: #221d18;
  --color-surface-offset: #1a1612;
  --color-divider: #2e2820;
  --color-border: #3d3528;

  --color-text: #e8e0d0;
  --color-text-muted: #9a8f7c;
  --color-text-faint: #6b6253;

  --color-primary: #e63946;
  --color-primary-hover: #f05560;
  --color-primary-active: #c42a37;
  --color-primary-highlight: #3a1e1e;

  --color-accent: #e8b84b;
  --color-accent-hover: #f0c860;
  --color-accent-highlight: #3d3520;

  --color-blue: #6a8fd4;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
}

/* === BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, picture, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  text-wrap: balance;
  line-height: 1.15;
  font-weight: 500;
}

p, li, figcaption {
  text-wrap: pretty;
  max-width: 72ch;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

a:hover {
  color: var(--color-primary-hover);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: color-mix(in oklab, var(--color-primary) 25%, transparent);
  color: var(--color-text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 3rem);
}

.container-narrow {
  max-width: 760px;
}

section {
  padding-block: clamp(3rem, 8vw, 7rem);
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 1.2rem + 2.5vw, 3rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 68ch;
  margin-bottom: 3rem;
}

/* === HEADER === */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.875rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--color-text);
  text-decoration: none;
}

.logo svg {
  flex-shrink: 0;
}

.logo:hover {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

/* === DROPDOWN === */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  cursor: pointer;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle {
  color: var(--color-primary);
}

.nav-caret {
  font-size: 0.625rem;
  transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-menu a:hover {
  background: var(--color-surface-2);
  color: var(--color-primary);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--color-text-muted);
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  color: var(--color-primary);
  background: var(--color-surface-2);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-divider);
    padding: 1.5rem;
    gap: 0.75rem;
    max-height: 80vh;
    overflow-y: auto;
  }
  .nav-links.open {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--color-surface-2);
    border-radius: 8px;
    margin-top: 0.5rem;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }
  .nav-dropdown-menu a {
    padding: 0.625rem 0.875rem;
  }
}

/* === FOOTER === */
.footer {
  background: var(--color-surface-offset);
  border-top: 1px solid var(--color-divider);
  padding-block: 3rem 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-text);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8125rem;
}

.footer-links a {
  color: var(--color-text-muted);
}

/* === PAGE HERO (for subpages) === */
.page-hero {
  position: relative;
  padding-block: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--color-primary) 8%, transparent),
    transparent 40%,
    color-mix(in oklab, var(--color-accent) 6%, transparent) 80%
  );
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-hero h1 {
  font-size: clamp(2rem, 1.5rem + 3vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.page-hero h1 .accent {
  color: var(--color-primary);
  font-style: italic;
}

.page-hero p {
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.375rem);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 62ch;
}

/* === CARD GRID (shared) === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.card .card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card .card-stat {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-interactive);
  border: none;
}

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

.btn-primary:hover {
  background: var(--color-primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

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

.btn-large {
  padding: 0.875rem 2.25rem;
  font-size: 1rem;
}

/* === NEWS CARDS === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.news-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.news-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-date {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.news-card h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.news-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  flex: 1;
}

.news-card .news-source {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--color-primary);
  margin-top: 1rem;
  font-weight: 500;
}

.news-card .news-source:hover {
  color: var(--color-primary-hover);
}

/* === FORM === */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.form-group .required {
  color: var(--color-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface-2);
  color: var(--color-text);
  font-size: 0.9375rem;
  font-family: var(--font-body);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-primary) 15%, transparent);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

.form-preview-banner {
  background: color-mix(in oklab, var(--color-accent) 12%, transparent);
  border: 1px solid color-mix(in oklab, var(--color-accent) 30%, transparent);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--color-text);
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.form-preview-banner .icon {
  flex-shrink: 0;
  margin-top: 2px;
}

/* === DONATE TIERS === */
.donate-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.donate-tier {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: 12px;
  padding: 1.75rem;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.donate-tier:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.donate-tier.featured {
  border-color: var(--color-primary);
  background: color-mix(in oklab, var(--color-primary) 5%, var(--color-surface));
}

.donate-tier .amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.donate-tier .tier-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.donate-tier .tier-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* === IMPACT AREAS === */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.impact-item {
  padding: 1.75rem;
  border-radius: 12px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
}

.impact-item .icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.impact-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.impact-item p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* === VOLUNTEER ROLES === */
.role-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.role-item {
  padding: 1.75rem;
  border-radius: 12px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease;
}

.role-item:hover {
  box-shadow: var(--shadow-md);
}

.role-item .role-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.role-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.role-item p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.role-item .role-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-top: 0.75rem;
}

/* === CONTACT CARDS === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-block {
  margin-bottom: 2rem;
}

.contact-info-block:last-child {
  margin-bottom: 0;
}

.contact-info-block h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info-block p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.contact-info-block .contact-detail {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.contact-info-block .contact-detail .icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* === ABOUT === */
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  padding: 2rem;
  border-radius: 12px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease;
}

.value-card:hover {
  box-shadow: var(--shadow-md);
}

.value-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.about-text {
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.25rem);
  line-height: 1.75;
  color: var(--color-text);
  max-width: 68ch;
}

.about-text p + p {
  margin-top: 1.5rem;
}

/* === CTA SECTION === */
.cta-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  text-align: center;
  padding-block: clamp(3rem, 8vw, 6rem);
}

.cta-section .container {
  max-width: 800px;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.5vw, 3rem);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.375rem);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 62ch;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

/* Line icons (replacing emoji) */
.ui-icon { width: 1.5rem; height: 1.5rem; stroke-width: 1.75; color: var(--color-primary, #b00a1e); vertical-align: -0.25em; flex-shrink: 0; }
.card-icon .ui-icon, .role-icon .ui-icon, .diaspora-card-icon .ui-icon, .pillar-icon .ui-icon { width: 1.75rem; height: 1.75rem; }
h3 > span[aria-hidden="true"] .ui-icon { width: 1.15em; height: 1.15em; margin-right: 0.15em; }
.tier-pledge { display: inline-block; margin-top: 0.9rem; font-weight: 600; font-size: 0.9375rem; color: var(--color-primary, #b00a1e); text-decoration: none; }
.tier-pledge:hover { text-decoration: underline; }
@media (min-width: 900px) { .donate-tiers { grid-template-columns: repeat(3, 1fr); } }

/* Language switcher */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; margin-right: 0.5rem; border: 1px solid var(--color-border, rgba(0,0,0,.12)); border-radius: 999px; background: var(--color-surface, #fff); flex-shrink: 0; }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 28px; padding: 0 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; color: var(--color-text-muted); text-decoration: none; transition: background .15s ease, color .15s ease; }
.lang-switch a[lang="hy"] { font-family: 'Noto Sans Armenian', var(--font-body); letter-spacing: 0; }
.lang-switch a:hover { color: var(--color-primary); }
.lang-switch a[aria-current="true"] { background: var(--color-primary, #b00a1e); color: #fff; }
@media (max-width: 768px) { .lang-switch { margin-left: auto; margin-right: 0.25rem; } .lang-switch a { min-width: 34px; padding: 0 0.45rem; } }

/* Armenian typography */
html[lang="hy"] { --font-display: 'Noto Serif Armenian', 'Fraunces', Georgia, serif; --font-body: 'Noto Sans Armenian', 'Satoshi', 'Helvetica Neue', sans-serif; }
html[lang="hy"] body { line-height: 1.7; }
html[lang="hy"] h1, html[lang="hy"] h2, html[lang="hy"] h3 { letter-spacing: 0; line-height: 1.25; }
html[lang="hy"] .section-eyebrow, html[lang="hy"] .chapter-kicker, html[lang="hy"] .field { letter-spacing: 0.03em; }
@media (max-width: 480px) {
  .header-inner { gap: 0.4rem; }
  .brand-logo .logo-img { height: 30px; }
  .brand-logo .logo-text { font-size: .82rem; }
  .lang-switch { padding: 2px; margin-right: 0; }
  .lang-switch a { min-width: 30px; height: 26px; padding: 0 0.4rem; font-size: 0.68rem; }
  .theme-toggle { width: 32px; height: 32px; }
  .menu-toggle { padding: 6px; }
}
@media (max-width: 360px) { .brand-logo .logo-text { display: none; } }

/* Logo v13 (handshake) */
.brand-logo .logo-img { height: 40px !important; width: auto; }
@media (max-width: 1100px) { .brand-logo .logo-img { height: 34px !important; } }
@media (max-width: 480px) { .brand-logo .logo-img { height: 24px !important; } }
[data-theme="dark"] .brand-logo .logo-img { background: #fff; border-radius: 8px; padding: 3px 6px; box-sizing: content-box; }
.theme-toggle, .menu-toggle, .lang-switch { flex-shrink: 0; }
.brand-logo { min-width: 0; }
@media (max-width: 400px) { .brand-logo .logo-text small { letter-spacing: 0.12em; } }
@media (max-width: 360px) { .brand-logo .logo-text { display: none !important; } .brand-logo .logo-img { height: 26px !important; } }
@media (max-width: 420px) {
  .site-header .container, header .header-inner { padding-inline: 14px; }
  .brand-logo { gap: 0.35rem !important; }
  .brand-logo .logo-text { font-size: .74rem !important; }
  .brand-logo .logo-img { height: 22px !important; }
  .header-inner { gap: 0.3rem; }
}

.theme-toggle, .menu-toggle, .lang-switch { flex-shrink: 0; }
html[lang="hy"] .nav-links { gap: 1.1rem; }
html[lang="hy"] .nav-links > a, html[lang="hy"] .nav-dropdown-toggle { white-space: nowrap; font-size: 0.8125rem; }
@media (max-width: 1200px) { html[lang="hy"] .nav-links { gap: 0.8rem; } html[lang="hy"] .nav-links > a, html[lang="hy"] .nav-dropdown-toggle { font-size: 0.78rem; } }

html[lang="hy"] main { overflow-wrap: anywhere; }
html[lang="hy"] main td, html[lang="hy"] main th { overflow-wrap: anywhere; hyphens: auto; }

/* === LIVE FORMS (contact, volunteer, newsletter, donations) === */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; padding: .85rem 1rem; border-radius: 10px; font-size: .9375rem; line-height: 1.5; border: 1px solid var(--color-border); background: var(--color-surface); }
.form-status.is-success { border-color: color-mix(in oklab, #2f7d4f 45%, transparent); background: color-mix(in oklab, #2f7d4f 10%, var(--color-surface)); }
.form-status.is-error { border-color: color-mix(in oklab, var(--color-primary) 45%, transparent); background: color-mix(in oklab, var(--color-primary) 8%, var(--color-surface)); }
.form-status.is-info { border-color: color-mix(in oklab, var(--color-accent) 45%, transparent); background: color-mix(in oklab, var(--color-accent) 10%, var(--color-surface)); }
.form-submit[aria-busy="true"] { opacity: .7; cursor: progress; }
.form-row { display: grid; gap: 0 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
fieldset.form-group { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
fieldset.form-group legend { font-size: .875rem; font-weight: 600; margin-bottom: .6rem; padding: 0; }
.chip-check { display: inline-flex !important; align-items: center; gap: .45rem; margin: 0 .4rem .5rem 0 !important; padding: .45rem .8rem; border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-surface); font-weight: 500 !important; font-size: .875rem !important; cursor: pointer; transition: border-color .15s, background .15s; }
.chip-check input { width: auto !important; margin: 0; accent-color: var(--color-primary); }
.chip-check:has(input:checked) { border-color: var(--color-primary); background: var(--color-primary-highlight); }
[data-theme="dark"] .chip-check:has(input:checked) { background: color-mix(in oklab, var(--color-primary) 25%, transparent); }

/* Volunteer */
.volunteer-section { padding-block: clamp(3rem, 7vw, 5.5rem); background: var(--color-surface-offset); }
.volunteer-wrap { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .volunteer-wrap { grid-template-columns: 5fr 7fr; gap: 3.5rem; } }
.volunteer-points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .7rem; }
.volunteer-points li { position: relative; padding-left: 1.6rem; color: var(--color-text-muted); }
.volunteer-points li::before, .give-trust li::before { content: ""; position: absolute; left: 0; top: .55em; width: .7rem; height: .7rem; border-radius: 50%; background: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-highlight); }
.volunteer-form, .give-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 10px 30px -18px rgba(42,36,25,.35); }

/* Donations */
.give-section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.give-wrap { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .give-wrap { grid-template-columns: 5fr 6fr; gap: 3.5rem; } }
.give-trust { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .7rem; }
.give-trust li { position: relative; padding-left: 1.6rem; color: var(--color-text-muted); }
.give-freq { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--color-surface-offset); margin-bottom: 1.25rem; }
.give-freq label, .give-amounts label { position: relative; cursor: pointer; }
.give-freq input, .give-amounts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.give-freq span { display: block; text-align: center; padding: .65rem .5rem; border-radius: 9px; font-weight: 600; font-size: .9375rem; color: var(--color-text-muted); transition: background .15s, color .15s; }
.give-freq input:checked + span { background: var(--color-surface); color: var(--color-text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.give-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1.25rem; }
.give-amounts span { display: flex; align-items: center; justify-content: center; min-height: 3.1rem; border: 1.5px solid var(--color-border); border-radius: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; transition: border-color .15s, background .15s, color .15s; }
.give-amounts label:hover span { border-color: var(--color-primary); }
.give-amounts input:checked + span { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }
.give-freq input:focus-visible + span, .give-amounts input:focus-visible + span { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.give-custom-input { position: relative; }
.give-custom-input span { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--color-text-muted); font-weight: 600; }
.give-custom-input input { padding-left: 1.9rem !important; }
.give-fees { display: flex; gap: .6rem; align-items: flex-start; font-size: .875rem; color: var(--color-text-muted); margin: -.25rem 0 1.25rem; cursor: pointer; line-height: 1.45; }
.give-fees input { margin-top: .2rem; accent-color: var(--color-primary); flex-shrink: 0; }
.give-submit { width: 100%; }
.give-note { font-size: .8125rem; color: var(--color-text-muted); text-align: center; margin: .75rem 0 0; }
.give-thanks { margin-bottom: 1.25rem; padding: 1rem 1.1rem; border-radius: 12px; background: color-mix(in oklab, #2f7d4f 12%, var(--color-surface)); border: 1px solid color-mix(in oklab, #2f7d4f 40%, transparent); font-weight: 600; line-height: 1.5; }
button.tier-pledge { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }

/* Footer newsletter */
.footer-newsletter { display: grid; gap: 1rem 2rem; align-items: center; margin: 2.25rem 0 0; padding: 1.5rem; border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-surface); }
@media (min-width: 860px) { .footer-newsletter { grid-template-columns: 1fr 1.1fr; } }
.footer-newsletter h4 { margin: 0 0 .3rem; font-family: var(--font-display); font-size: 1.15rem; }
.footer-newsletter p { margin: 0; font-size: .875rem; color: var(--color-text-muted); }
.fn-form { display: flex; flex-wrap: wrap; gap: .6rem; }
.fn-form input[type="email"] { flex: 1 1 220px; min-width: 0; padding: .75rem 1rem; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface-2, var(--color-bg)); color: var(--color-text); font: inherit; font-size: .9375rem; }
.fn-form input[type="email"]:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-primary) 15%, transparent); }
.fn-form .btn { flex: 0 0 auto; }
.fn-form .form-status { flex-basis: 100%; margin-top: .25rem; font-size: .875rem; }

/* === SOCIAL LINKS === */
.footer-social-wrap { margin-top: 1.1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; }
.footer-social-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted); }
html[lang="hy"] .footer-social-label { letter-spacing: .02em; }
.footer-social, .social-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.footer-social a, .social-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text); transition: background .15s, color .15s, border-color .15s, transform .15s; }
.footer-social a:hover, .social-links a:hover, .footer-social a:focus-visible, .social-links a:focus-visible { background: var(--color-primary); border-color: var(--color-primary); color: #fff; transform: translateY(-1px); }
.social-links--lg a { width: 46px; height: 46px; }
.social-links--lg svg { width: 22px; height: 22px; }
.contact-social .social-links { margin-top: .75rem; }

/* ---------- Share Our Story ---------- */
.share-section { padding-block: clamp(3rem, 7vw, 5.5rem); border-top: 1px solid var(--color-divider); }
.share-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.share-card { display: flex; flex-direction: column; gap: .75rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; padding: clamp(1.25rem, 2.5vw, 1.75rem); }
.share-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 0; }
.share-card > p { margin: 0; color: var(--color-text-muted); line-height: 1.6; }
.share-pick { display: grid; gap: .35rem; font-size: .875rem; font-weight: 600; color: var(--color-text-muted); }
.share-pick select { width: 100%; min-height: 2.75rem; padding: .5rem .75rem; border: 1.5px solid var(--color-border); border-radius: 10px; background: var(--color-bg); color: var(--color-text); font: inherit; font-weight: 500; }
.share-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .5rem; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 2.75rem; height: 2.75rem; padding: 0 .7rem; border: 1.5px solid var(--color-border); border-radius: 999px; background: var(--color-bg); color: var(--color-text); cursor: pointer; font: inherit; font-size: .875rem; font-weight: 600; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.share-btn:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-1px); }
.share-btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.share-btn--facebook:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.share-btn--x:hover, .share-btn--threads:hover { background: #111; border-color: #111; color: #fff; }
.share-btn--linkedin:hover { background: #0a66c2; border-color: #0a66c2; color: #fff; }
.share-btn--whatsapp:hover { background: #1fa855; border-color: #1fa855; color: #fff; }
.share-btn--telegram:hover { background: #229ed9; border-color: #229ed9; color: #fff; }
.share-btn[hidden] { display: none; }
.share-status { margin: 0; font-size: .875rem; font-weight: 600; color: var(--color-primary); }
.share-tag { margin: clamp(1.25rem, 3vw, 2rem) auto 0; text-align: center; color: var(--color-text-muted); max-width: 62ch; }
.share-tag a { color: var(--color-primary); font-weight: 600; }

/* ---------- Armenian events (home window + events page) ---------- */
.ev-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.ev-chip { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.25rem; padding: .35rem .85rem; border: 1.5px solid var(--color-border); border-radius: 999px; background: var(--color-surface); color: var(--color-text); font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.ev-chip:hover { border-color: var(--color-primary); color: var(--color-primary); }
.ev-chip.is-active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.ev-chip:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.ev-chip-n { font-size: .75rem; opacity: .75; font-variant-numeric: tabular-nums; }
.ev-chips--sm { gap: .3rem; padding: .6rem 0 .25rem; }
.ev-chips--sm .ev-chip { min-height: 1.9rem; padding: .2rem .6rem; font-size: .75rem; }
.ev-list a { display: flex !important; gap: .75rem; align-items: flex-start; }
.ev-date { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 3rem; height: 3.1rem; border-radius: 10px; background: color-mix(in oklab, var(--color-primary) 9%, transparent); color: var(--color-primary); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; line-height: 1.1; }
.ev-date b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: 0; }
.ev-txt { min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.ev-meta { font-size: .75rem; color: var(--color-text-muted); }
.ev-empty { padding: .9rem 0; font-size: .875rem; color: var(--color-text-muted); }
.events-section { padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 7vw, 5rem); }
.ev-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 1.5rem; padding: 1rem 1.25rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; }
.ev-fields { display: flex; flex-wrap: wrap; gap: .75rem; }
.ev-field { display: grid; gap: .3rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--color-text-muted); }
.ev-field select, .ev-field input { min-height: 2.6rem; padding: .45rem .75rem; min-width: 11rem; border: 1.5px solid var(--color-border); border-radius: 10px; background: var(--color-bg); color: var(--color-text); font: inherit; font-size: .9375rem; text-transform: none; letter-spacing: 0; font-weight: 500; }
.ev-field--q input { min-width: 15rem; }
.ev-field select:focus-visible, .ev-field input:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.ev-status { margin: 1.25rem 0 1rem; font-size: .875rem; color: var(--color-text-muted); }
.ev-note { display: block; margin-top: .25rem; color: var(--color-text-faint); }
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.ev-card { display: flex; flex-direction: column; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.ev-card:hover { box-shadow: 0 10px 30px rgba(30,20,10,.08); transform: translateY(-2px); }
.ev-img { display: block; aspect-ratio: 16/9; background: var(--color-surface-offset); overflow: hidden; }
.ev-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-card-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.1rem 1.2rem 1.2rem; flex: 1; }
.ev-card-top { display: flex; gap: .75rem; align-items: center; }
.ev-when { display: flex; flex-direction: column; font-size: .8125rem; font-weight: 600; color: var(--color-text); min-width: 0; }
.ev-place { font-weight: 500; color: var(--color-text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-card h3 { margin: 0; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3; }
.ev-card h3 a { color: var(--color-text); text-decoration: none; }
.ev-card h3 a:hover { color: var(--color-primary); }
.ev-ex { margin: 0; font-size: .875rem; line-height: 1.55; color: var(--color-text-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ev-moredates { margin: 0; font-size: .8rem; font-weight: 600; color: var(--color-accent); }
.ev-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .4rem; }
.ev-link { font-weight: 700; font-size: .875rem; color: var(--color-primary); text-decoration: none; }
.ev-link:hover { text-decoration: underline; }
.ev-ics { min-height: 2.25rem; padding: .3rem .8rem; border: 1.5px solid var(--color-border); border-radius: 999px; background: transparent; color: var(--color-text); font: inherit; font-size: .8125rem; font-weight: 600; cursor: pointer; }
.ev-ics:hover { border-color: var(--color-primary); color: var(--color-primary); }
.ev-ics:focus-visible, .ev-link:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.ev-src { margin: 0; font-size: .72rem; color: var(--color-text-faint); }
.ev-none { grid-column: 1 / -1; text-align: center; padding: 3rem 1rem; color: var(--color-text-muted); }
.ev-more-wrap { display: flex; justify-content: center; margin-top: 1.75rem; }
.ev-foot { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-divider); font-size: .875rem; color: var(--color-text-muted); }
.ev-foot a { color: var(--color-primary); }
.ev-disclaimer { color: var(--color-text-faint); font-size: .8125rem; }
.ev-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 2rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: 14px; background: color-mix(in oklab, var(--color-primary) 7%, var(--color-surface)); border: 1px solid var(--color-border); }
.ev-submit h2 { margin: 0 0 .25rem; font-family: var(--font-display); font-size: 1.35rem; }
.ev-submit p { margin: 0; color: var(--color-text-muted); }
@media (max-width: 640px) { .ev-toolbar { padding: .9rem; } .ev-fields, .ev-field, .ev-field select, .ev-field input { width: 100%; min-width: 0; } }

/* ---------- Menu: switch to the compact menu earlier now that Events is in the menu ---------- */
.nav-links > a, .nav-dropdown-toggle { white-space: nowrap; }
@media (min-width: 769px) and (max-width: 1060px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--color-bg); border-bottom: 1px solid var(--color-divider); padding: 1.5rem; gap: 0.75rem; max-height: 80vh; overflow-y: auto; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: flex; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
  .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: var(--color-surface-2); border-radius: 8px; margin-top: 0.5rem; display: none; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { padding: 0.625rem 0.875rem; }
  .lang-switch { margin-left: auto; margin-right: 0.25rem; }
}
@media (min-width: 769px) and (max-width: 1200px) {
  html[lang="hy"] .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--color-bg); border-bottom: 1px solid var(--color-divider); padding: 1.5rem; gap: 0.75rem; max-height: 80vh; overflow-y: auto; }
  html[lang="hy"] .nav-links.open { display: flex; }
  html[lang="hy"] .menu-toggle { display: flex; }
  html[lang="hy"] .nav-dropdown { width: 100%; }
  html[lang="hy"] .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
  html[lang="hy"] .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: var(--color-surface-2); border-radius: 8px; margin-top: 0.5rem; display: none; }
  html[lang="hy"] .nav-dropdown.open .nav-dropdown-menu { display: block; }
  html[lang="hy"] .nav-dropdown-menu a { padding: 0.625rem 0.875rem; }
  html[lang="hy"] .lang-switch { margin-left: auto; margin-right: 0.25rem; }
}
.ev-la { display: inline-block; padding: 0 .35rem; margin-right: .15rem; border-radius: 4px; background: var(--color-primary); color: #fff; font-size: .65rem; font-weight: 700; letter-spacing: .04em; vertical-align: 1px; }

/* ---------- Top bar: social follow buttons (top right) ---------- */
.topbar { border-bottom: 1px solid var(--color-divider); background: color-mix(in oklab, var(--color-primary) 5%, var(--color-bg)); font-size: .75rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 34px; }
.topbar-note { color: var(--color-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-follow { display: flex; align-items: center; gap: .55rem; margin-left: auto; }
.topbar-label { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted); }
html[lang="hy"] .topbar-label { letter-spacing: .02em; }
.topbar-social { display: flex; gap: .3rem; }
.topbar-social a { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; color: var(--color-text); transition: background .15s, color .15s; }
.topbar-social a svg { width: 16px; height: 16px; }
.topbar-social a:hover { background: var(--color-primary); color: #fff; }
.topbar-social a:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 1px; }
@media (max-width: 640px) { .topbar-note, .topbar-label { display: none; } .topbar-inner { min-height: 32px; justify-content: flex-end; } }

/* Follow buttons v2: larger, platform colors */
.topbar-social { gap: .3rem; }
.topbar-social a { width: 21px; height: 21px; color: #fff; }
.topbar-social a svg { width: 12px; height: 12px; }
.topbar-social a[href*="facebook"] { background: #1877F2; }
.topbar-social a[href*="instagram"] { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.topbar-social a[href*="x.com"] { background: #000; }
.topbar-social a[href*="youtube"] { background: #FF0000; }
.topbar-social a[href*="linkedin"], .topbar-social a[href*="linkedin"]:hover { background: #0A66C2; }
.topbar-social a:hover { background-color: inherit; filter: brightness(1.12); transform: translateY(-1px); color: #fff; }
.topbar-social a[href*="facebook"]:hover { background: #1877F2; }
.topbar-social a[href*="x.com"]:hover { background: #222; }
.topbar-social a[href*="youtube"]:hover { background: #FF0000; }
[data-theme="dark"] .topbar-social a[href*="x.com"] { box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.topbar-social a { transition: transform .15s, filter .15s; }


