/* OpenRockets Inc. — Local Override Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@400;500;600&family=Sora:wght@400;500;600&family=Space+Grotesk:wght@400;500;600&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css');

:root {
  --or-black: #0a0a0a; --or-white: #ffffff; --or-gray-50: #f9f9f9;
  --or-gray-100: #f2f2f2; --or-text: #111111; --or-muted: #6b6b6b;
  --or-border: #e0e0e0; --or-green: #22c55e;
  --or-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --or-name-font-a: 'Space Grotesk', var(--or-font);
  --or-name-font-b: 'Sora', var(--or-font);
  --or-name-font-c: 'Manrope', var(--or-font);
  --border: #e0e0e0; --text: #111111; --muted: #6b6b6b;
  --white: #ffffff; --black: #0a0a0a; --gray-100: #f2f2f2;
  --font: var(--or-font);
  --name-font-a: var(--or-name-font-a);
  --name-font-b: var(--or-name-font-b);
  --name-font-c: var(--or-name-font-c);
}

/* Nav Logo Fix — invert white logo so it shows on white bg */
.navigation-menu-home-link img,
a.hds-link.navigation-menu-home-link img {
  filter: invert(1) !important;
  height: 28px !important;
  width: auto !important;
}

/* Logo Carousel — Uniform Heights */
.logo-carousel__item img {
  height: 60px !important;
  width: auto !important;
  max-width: 200px;
  object-fit: contain !important;
}

/* ── Shared Section Styles ── */
.or-section {
  position: relative; z-index: 1; padding: 52px 0;
  border-bottom: 1px solid var(--or-border);
  font-family: var(--or-font);
}
.or-container { max-width: 880px; margin: 0 auto; padding: 0 28px; }
.or-section-header { margin-bottom: 26px; }
.or-section-header h2 {
  font-size: 17px; font-weight: 600; color: var(--or-text);
  letter-spacing: -0.2px; margin-bottom: 3px; font-family: var(--or-font);
}
.or-section-header p { font-size: 13px; color: var(--or-muted); font-family: var(--or-font); }

/* ── Nonprofits List ── */
.or-nonprofits-list { display: flex; flex-direction: column; }
.or-np-item {
  display: flex; align-items: center; gap: 14px; padding: 13px 0;
  border-bottom: 1px solid var(--or-border); text-decoration: none;
  color: var(--or-text); font-family: var(--or-font); transition: opacity 0.15s;
}
.or-np-item:last-child { border-bottom: none; }
.or-np-item:hover { opacity: 0.7; }
.or-np-item:hover .or-np-name { text-decoration: underline; }
.or-np-logo {
  width: 38px; height: 38px; object-fit: contain;
  border-radius: 4px; flex-shrink: 0; padding: 3px;
}
.or-np-logo-invert { filter: invert(1); background: var(--or-black); padding: 5px; }
.or-np-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.or-np-name { font-size: 14px; font-weight: 500; color: var(--or-text); }
.or-np-url { font-size: 12px; color: var(--or-muted); word-break: break-word; }
.or-np-arrow { font-size: 14px; color: var(--or-muted); }

/* ── People Marquee ── */
.or-people-marquee {
  display: flex; flex-direction: column; gap: 14px; padding: 16px;
  border: 1px solid var(--or-border); border-radius: 0; background: var(--or-gray-100);
}
.or-people-row {
  overflow: hidden; border: 1px solid var(--or-border); border-radius: 0;
  padding: 12px 0; background: var(--or-white);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.or-people-track { display: flex; width: max-content; animation: or-marquee-left 28s linear infinite; }
.or-people-row.or-row-right .or-people-track { animation-name: or-marquee-right; animation-duration: 32s; }
.or-people-row.or-slow .or-people-track { animation-duration: 36s; }
.or-people-set { display: flex; align-items: center; gap: 16px; padding: 0 10px; }
.or-person-card {
  display: inline-flex; align-items: flex-start; flex-direction: column; gap: 8px;
  padding: 12px 14px; border: 1px solid var(--or-border); border-radius: 0;
  background: var(--or-white); font-size: 13px; font-weight: 500;
  letter-spacing: -0.1px; color: var(--or-text); text-align: left;
  min-width: 160px; text-decoration: none; font-family: var(--or-font);
  transition: border-color 0.15s;
}
.or-person-card:hover { border-color: #aaa; }

/* Avatar patterns */
.or-person-avatar {
  --pixel: 8px; --glass-blur: 14px;
  width: 80px; height: 80px; border-radius: 50%; background: #0b0b0b;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.18); flex-shrink: 0;
  position: relative; overflow: hidden; image-rendering: pixelated;
}
.or-person-avatar::before, .or-person-avatar::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
}
.or-person-avatar::before {
  background-image: var(--pattern-primary); background-size: var(--pattern-size);
  background-repeat: repeat; background-position: 0 0, 0 0, 0 0, 0 0;
  filter: blur(var(--glass-blur)) saturate(1.25) contrast(1.05);
  opacity: 0.98; transform: scale(1.32); animation: avatarGlow 20s linear infinite;
}
.or-person-avatar::after {
  background: radial-gradient(120px 70px at 30% 20%, rgba(255,255,255,0.38), rgba(255,255,255,0.06) 55%, rgba(255,255,255,0) 70%), linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.06));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), inset 0 -8px 18px rgba(0,0,0,0.22);
}

/* Person text */
.or-person-text { display: flex; flex-direction: column; line-height: 1.1; gap: 2px; }
.or-person-card .or-person-text::after {
  content: 'View Profile \2192'; margin-top: 4px; font-size: 11px; color: var(--or-muted);
}
.or-person-card:hover .or-person-text::after { text-decoration: underline; }
.or-person-name { color: var(--or-text); font-size: 14px; }
.or-person-meta {
  color: var(--or-text); font-size: 11px; font-family: var(--or-font);
  letter-spacing: 0.1px; display: inline-flex; align-items: center; gap: 6px;
}
.or-region-icon { font-size: 12px; line-height: 1; color: var(--or-text); }
.or-name-font-a { font-family: var(--or-name-font-a); }
.or-name-font-b { font-family: var(--or-name-font-b); }
.or-name-font-c { font-family: var(--or-name-font-c); }

/* Marquee animations */
@keyframes or-marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes or-marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ── Footer ── */
.or-footer {
  background: var(--or-black); color: var(--or-white);
  padding: 32px 0 0; font-family: var(--or-font);
}
.or-footer-top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid #1e1e1e;
}
.or-footer-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.or-footer-link {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.7); font-size: 13px;
  transition: color 0.15s; text-decoration: none; font-family: var(--or-font);
}
.or-footer-link:hover { color: #fff; text-decoration: none; }
.or-footer-link-icon { width: 16px; height: 16px; flex-shrink: 0; }
.or-footer-copy {
  font-size: 11px; color: rgba(255,255,255,0.55);
  line-height: 1.7; margin-top: 16px; padding-bottom: 20px;
}
.or-footer-webmaster { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 12px; font-weight: 500; }

/* ── Status Bar ── */
.or-status-bar { background: #0a0a0a; border-top: 1px solid #1e1e1e; font-family: var(--or-font); }
.or-status-inner {
  max-width: 880px; margin: 0 auto; padding: 0 28px; height: 36px;
  display: flex; align-items: center; justify-content: space-between;
}
.or-status-indicator { display: flex; align-items: center; gap: 7px; font-size: 11px; color: rgba(255,255,255,0.4); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .or-container { padding: 0 16px; }
  .or-section { padding: 40px 0; }
  .or-people-row .or-people-track { animation-duration: 22s; }
  .or-people-row.or-row-right .or-people-track { animation-duration: 24s; }
  .or-people-row.or-slow .or-people-track { animation-duration: 26s; }
  .or-person-card { padding: 8px 10px; font-size: 12px; min-width: 140px; }
  .or-person-avatar { width: 48px; height: 48px; }
  .or-person-meta { font-size: 10px; }
  .or-footer-top { flex-direction: column; align-items: flex-start; }
  .or-footer-links { flex-direction: column; align-items: flex-start; gap: 12px; }
  .logo-carousel__item img { height: 40px !important; }
  .hero-section__layout-grid { padding: 0 16px; }
  .navigation-menu-content, .hds-navigation-menu__content { display: none !important; }
}
@media (max-width: 480px) {
  .or-person-card { min-width: 120px; padding: 6px 8px; }
  .or-person-avatar { width: 36px; height: 36px; }
  .or-np-logo { width: 28px; height: 28px; }
  .logo-carousel__item img { height: 30px !important; }
}
