@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #090d14;
  --panel: #121e2d;
  --text: #e9effa;
  --text-soft: #aeb8cb;
  --line: rgba(178, 198, 228, 0.2);
  --brand: #44d2ff;
  --warm: #f6af4a;
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --radius-lg: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(1200px 520px at 10% -5%, rgba(68, 210, 255, 0.12), transparent 58%),
    radial-gradient(900px 420px at 90% 0%, rgba(246, 175, 74, 0.1), transparent 60%),
    linear-gradient(145deg, #060a12, #0c1522 45%, #0b1420);
  min-height: 100vh;
}

body.modal-open {
  overflow: hidden;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 12, 20, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a,
.nav button {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav button:hover,
.nav button:focus-visible {
  color: var(--text);
}

.nav a.active {
  color: var(--text);
  text-shadow: 0 0 18px rgba(68, 210, 255, 0.35);
}

.btn {
  font-family: inherit;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.btn-donate {
  border: 1px solid rgba(246, 175, 74, 0.6) !important;
  border-radius: 999px !important;
  padding: 9px 18px !important;
  color: #ffd7a0 !important;
  background: rgba(246, 175, 74, 0.14) !important;
}

.btn-quiet {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  color: var(--text-soft);
  background: rgba(14, 23, 36, 0.85);
}

.btn-quiet:hover,
.btn-quiet:focus-visible {
  color: var(--text);
}

.hero {
  padding: 72px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.hero-content,
.hero-panel {
  background: linear-gradient(180deg, rgba(24, 37, 55, 0.82), rgba(16, 25, 38, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-content {
  padding: 44px;
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero-copy {
  color: var(--text-soft);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  max-width: 56ch;
}

.hero-panel {
  padding: 34px;
}

.hero-panel h2 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.hero-panel ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-panel li {
  color: var(--text-soft);
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(14, 23, 36, 0.85);
  border: 1px solid rgba(178, 198, 228, 0.14);
  font-size: 0.95rem;
}

.stat {
  display: block;
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.section {
  padding: 28px 0;
}

.section-inner {
  background: linear-gradient(180deg, rgba(19, 30, 46, 0.84), rgba(14, 23, 35, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}

.section h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  margin-bottom: 12px;
}

.section p {
  color: var(--text-soft);
  max-width: 72ch;
}

.section p + p {
  margin-top: 14px;
}

.section-lede {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.section-alt .section-inner {
  background: linear-gradient(180deg, rgba(23, 35, 52, 0.85), rgba(16, 26, 39, 0.94));
}

.principles {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.principle {
  padding: 22px 24px;
  border-radius: 14px;
  background: rgba(12, 20, 32, 0.7);
  border: 1px solid rgba(178, 198, 228, 0.14);
  border-left: 3px solid var(--brand);
}

.principle h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.principle p {
  font-size: 0.96rem;
  max-width: none;
}

.work-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.work-item {
  padding: 22px 24px;
  border-radius: 14px;
  background: rgba(12, 20, 32, 0.7);
  border: 1px solid rgba(178, 198, 228, 0.14);
}

.work-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.work-item p {
  font-size: 0.96rem;
  max-width: none;
}

.capital-callout {
  margin-top: 24px;
  padding: 26px 28px;
  border-radius: 14px;
  background: rgba(246, 175, 74, 0.08);
  border: 1px solid rgba(246, 175, 74, 0.35);
}

.capital-callout h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #ffd7a0;
}

.feed {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.feed-loading,
.feed-empty {
  color: var(--text-soft);
  font-style: italic;
}

.feed-item {
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(12, 20, 32, 0.7);
  border: 1px solid rgba(178, 198, 228, 0.14);
}

.feed-date {
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.feed-title {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.feed-detail {
  color: var(--text-soft);
  font-size: 0.96rem;
  max-width: none;
}

.support-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 15, 0.74);
}

.modal-panel {
  position: relative;
  width: min(440px, 100%);
  background: linear-gradient(180deg, rgba(24, 37, 55, 0.98), rgba(16, 25, 38, 0.98));
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-panel h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.modal-panel p {
  color: var(--text-soft);
  margin-bottom: 14px;
}

.modal-close {
  margin-top: 16px;
  background: rgba(246, 175, 74, 0.14);
  border: 1px solid rgba(246, 175, 74, 0.6);
  color: #ffd7a0;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  cursor: pointer;
}

.site-footer {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  background: rgba(8, 12, 20, 0.7);
}

.footer-inner {
  padding: 30px 0 40px;
  text-align: center;
  color: var(--text-soft);
}

.footer-inner p + p {
  margin-top: 6px;
}

.footer-name {
  color: var(--text);
  font-weight: 800;
  font-size: 1.05rem;
}

.footer-credit {
  margin-top: 18px !important;
  font-size: 0.85rem;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.8;
}

.schedule {
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: 14px;
  background: rgba(12, 20, 32, 0.7);
  border: 1px solid rgba(178, 198, 228, 0.14);
}

.schedule h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.schedule-dates {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.schedule-dates li {
  color: var(--text-soft);
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20, 32, 48, 0.9);
  border: 1px solid rgba(178, 198, 228, 0.16);
}

.schedule-dates li.next {
  color: var(--text);
  border-color: rgba(68, 210, 255, 0.5);
}

.footer-inner a {
  color: var(--brand);
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

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

  .hero-content,
  .hero-panel {
    padding: 30px;
  }

  .principles,
  .work-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1120px, 94vw);
  }

  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
  }

  .nav {
    width: 100%;
    row-gap: 10px;
    gap: 14px;
  }

  .hero {
    padding: 48px 0 30px;
  }

  .hero-content,
  .hero-panel,
  .section-inner {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .nav {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
