/* Liberty-Benton brand palette — Blue #1b4799, White #ffffff, Red accent #c7202f, Gray #c1cbda, Black #000000 */
:root {
  --lb-blue: #1b4799;
  --lb-blue-deep: #102c63;
  --lb-blue-darker: #0a1c40;
  --lb-red: #c7202f;
  --lb-gray: #c1cbda;
  --lb-white: #ffffff;
  --lb-black: #000000;

  --ink: #142036;
  --muted: #5a6982;
  --paper: #f4f6fb;
  --line: #dfe5f0;
  --max-width: 1180px;

  --shadow-soft: 0 16px 40px rgba(16, 35, 75, 0.12);
  --shadow-deep: 0 28px 64px rgba(10, 20, 50, 0.28);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

h1, h2, h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1em; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lb-red);
  margin: 0 0 0.6em;
}

.lede { font-size: 1.15rem; color: var(--muted); }

/* ---------- Scroll-reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--lb-blue-darker);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
}

.main-nav { display: flex; align-items: center; }

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: inline-block;
  text-decoration: none;
  color: #d6deef;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transition: color 0.15s ease;
}

.nav-list a:hover { color: #fff; }

.btn-nav {
  background: var(--lb-red);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(199, 32, 47, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-nav:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(199, 32, 47, 0.45);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  perspective: 1200px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  animation: hero-zoom 22s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
  0% { transform: scale(1.1) translate3d(0, 0, 0); }
  100% { transform: scale(1.18) translate3d(-1.5%, -1.5%, 0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(10,28,64,0.95) 0%, rgba(27,71,153,0.82) 45%, rgba(27,71,153,0.42) 100%);
}

/* Floating 3D-ish glow orbs for depth */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.55;
}

.orb-a {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -100px;
  background: radial-gradient(circle at 30% 30%, rgba(199,32,47,0.55), rgba(199,32,47,0) 70%);
  animation: float-a 16s ease-in-out infinite;
}

.orb-b {
  width: 360px;
  height: 360px;
  bottom: -140px;
  left: -80px;
  background: radial-gradient(circle at 30% 30%, rgba(193,203,218,0.5), rgba(193,203,218,0) 70%);
  animation: float-b 20s ease-in-out infinite;
}

@keyframes float-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-40px, 50px, 0) scale(1.12); }
}

@keyframes float-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(40px, -40px, 0) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; transform: scale(1); }
  .hero-orb { animation: none; }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 64px;
  padding-bottom: 64px;
  max-width: 760px;
}

.hero-lede {
  font-size: 1.2rem;
  color: #e3e9f6;
  max-width: 620px;
}

.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 28px 0;
}

.stat-number {
  font-family: "Montserrat", sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--lb-gray);
  line-height: 1;
  text-shadow: 0 2px 18px rgba(193, 203, 218, 0.4);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  color: #c7d3e8;
  font-size: 0.95rem;
  max-width: 200px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.hero-actions.center { justify-content: center; }

.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, background 0.15s ease;
  transform-style: preserve-3d;
}

.btn-primary {
  background: linear-gradient(135deg, var(--lb-red), #a3121f);
  color: #fff;
  box-shadow: 0 14px 30px rgba(199, 32, 47, 0.38);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 44px rgba(199, 32, 47, 0.5);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.14);
  transform: translateY(-3px);
}

.btn-ghost-on-light {
  background: rgba(27, 71, 153, 0.05);
  color: var(--lb-blue-deep);
  border: 2px solid rgba(27, 71, 153, 0.3);
  backdrop-filter: none;
}

.btn-ghost-on-light:hover {
  border-color: var(--lb-blue);
  background: rgba(27, 71, 153, 0.1);
  transform: translateY(-3px);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 999px;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  text-decoration: none;
}

.scroll-cue span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: scroll-cue-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-cue-dot {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 0; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue span { animation: none; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }

.section-alt { background: var(--paper); }

.section-dark {
  background: linear-gradient(180deg, var(--lb-blue-darker), var(--lb-blue-deep));
  color: #fff;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head.light h2 { color: #fff; }

.section-head .btn { margin-top: 20px; }

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-sub { color: #c7d3e8; }

/* ---------- Mission ---------- */
.mission-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: #2c3650;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, var(--lb-red), #93131e);
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(199, 32, 47, 0.35);
}

.check-list.light li { color: #dde6f5; }

.mission-history {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px;
  box-shadow: var(--shadow-soft);
  transform-style: preserve-3d;
}

.mission-history h3 { color: var(--lb-blue); }

.history-stat {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.history-stat .stat-number {
  color: var(--lb-blue);
  font-size: 2.2rem;
  text-shadow: none;
}
.history-stat .stat-label { color: var(--muted); }

.eagle-banner {
  background: linear-gradient(135deg, var(--lb-blue), var(--lb-blue-deep));
  color: #fff;
  border-radius: 20px;
  padding: 44px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}

.eagle-banner::before {
  content: "";
  position: absolute;
  inset: -40% -10%;
  background: radial-gradient(circle, rgba(199,32,47,0.35), transparent 60%);
  opacity: 0.7;
}

.eagle-acronym {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
  font-size: 1.15rem;
  font-weight: 500;
  color: #c7d3e8;
  margin-bottom: 14px;
}

.eagle-acronym strong {
  color: var(--lb-gray);
  font-size: 1.6em;
  font-weight: 900;
}

.eagle-banner p {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  color: #dde6f5;
}

/* ---------- 3D tilt cards ---------- */
.tilt {
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  will-change: transform;
}

/* ---------- Project cards ---------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 18px rgba(16, 35, 75, 0.06);
}

.project-card:hover {
  box-shadow: var(--shadow-soft);
}

.project-card.featured {
  border: 1px solid rgba(199, 32, 47, 0.35);
}

.project-media {
  height: 200px;
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-media.split {
  display: flex;
  gap: 2px;
}

.project-media.split img {
  width: 50%;
}

.project-card:hover .project-media img {
  transform: scale(1.08);
}

.project-body {
  padding: 22px 24px 26px;
}

.project-year {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lb-blue);
  background: #e7ecf7;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 10px;
}

.project-card h3 { color: var(--lb-blue); margin-bottom: 6px; }

.project-amount {
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.project-card p:last-child { margin-bottom: 0; color: var(--muted); }

/* ---------- What's next ---------- */
.next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.next-card {
  background: #fff;
  border-left: 4px solid var(--lb-red);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 6px 18px rgba(16, 35, 75, 0.06);
}

.next-card:hover {
  box-shadow: var(--shadow-soft);
}

.next-card h3 { color: var(--lb-blue); }

.next-when {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lb-red);
  margin-bottom: 4px;
}

.next-card .project-amount { color: var(--lb-blue-deep); font-size: 1.15rem; }

.next-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.next-card ul li { margin-bottom: 6px; }

.next-card p:last-child { margin-bottom: 0; }

/* ---------- Foundation ---------- */
.foundation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.foundation-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  padding: 34px;
  backdrop-filter: blur(8px);
}

.foundation-card h3 { color: var(--lb-gray); }
.foundation-card p { color: #dde6f5; margin-bottom: 0; }

/* ---------- Get involved ---------- */
.get-involved-inner {
  text-align: center;
  max-width: 760px;
}

.get-involved-inner .lede { margin: 0 auto 8px; }

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 22px;
  margin: 8px 0 28px;
  font-weight: 700;
  color: var(--lb-blue);
  box-shadow: var(--shadow-soft);
}

.contact-pill a {
  text-decoration: none;
  color: var(--lb-blue);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lb-red), #93131e);
  color: #fff;
  font-size: 0.85rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--lb-blue-darker);
  color: #aab7d1;
  padding: 52px 0;
}

.footer-inner { text-align: center; }

.footer-brand {
  justify-content: center;
  color: #fff;
  margin-bottom: 16px;
}

.footer-logo { height: 52px; }

.social-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 18px 0;
  padding: 0;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.18);
  color: var(--lb-gray);
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.social-links a:hover {
  color: #fff;
  border-color: var(--lb-red);
  background: rgba(199, 32, 47, 0.18);
  transform: translateY(-3px);
}

.footer-contact { margin-bottom: 6px; }

.footer-contact a {
  color: var(--lb-gray);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.15s ease;
}

.footer-contact a:hover { color: #fff; }

.footer-fine {
  font-size: 0.85rem;
  color: #6f7da0;
  margin-bottom: 0;
}

/* ---------- Capital Campaign 2026 progress thermometer ---------- */
.campaign-progress {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 34px 26px;
  box-shadow: var(--shadow-soft);
  max-width: 860px;
  margin: 0 auto 56px;
}

.progress-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.progress-raised { display: flex; flex-direction: column; }

.progress-raised .progress-amount {
  color: var(--lb-blue);
  font-size: 2.4rem;
  text-shadow: none;
  line-height: 1;
}

.progress-raised-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 4px;
}

.progress-goal { text-align: right; display: flex; flex-direction: column; }

.progress-goal-amount {
  font-weight: 800;
  color: var(--ink);
  font-size: 1.2rem;
}

.progress-goal-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.progress-track {
  position: relative;
  height: 26px;
  background: #e7ecf7;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(16, 35, 75, 0.12);
}

.progress-fill {
  position: relative;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lb-red), #a3121f);
  box-shadow: 0 4px 14px rgba(199, 32, 47, 0.4);
  transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 44px;
}

.progress-percent {
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  padding-right: 12px;
  white-space: nowrap;
}

.progress-note {
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
  margin: 16px 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .progress-fill { transition: none; }
}

/* ---------- Donor wall ---------- */
.donor-wall {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 30px 26px;
  box-shadow: var(--shadow-soft);
}

.donor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.donor-tab {
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--lb-blue-deep);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.donor-tab:hover {
  border-color: var(--lb-blue);
  transform: translateY(-2px);
}

.donor-tab.is-active {
  background: linear-gradient(135deg, var(--lb-blue), var(--lb-blue-deep));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(27, 71, 153, 0.32);
}

.donor-count {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0.7;
}

.donor-tab.is-active .donor-count { opacity: 0.9; }

.donor-panel {
  animation: donor-fade 0.4s ease;
}

@keyframes donor-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .donor-panel { animation: none; }
}

.donor-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 4;
  column-gap: 28px;
}

.donor-list li {
  break-inside: avoid;
  padding: 9px 0 9px 22px;
  position: relative;
  border-bottom: 1px solid #eef2f8;
  color: #2c3650;
  font-size: 0.95rem;
  font-weight: 500;
}

.donor-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--lb-red);
}

.donor-footnote {
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
  margin: 24px 0 0;
}

.donor-footnote a { color: var(--lb-blue); font-weight: 700; }

@media (max-width: 920px) {
  .donor-list { columns: 3; }
}

@media (max-width: 640px) {
  .donor-list { columns: 2; column-gap: 20px; }
  .progress-raised .progress-amount { font-size: 2rem; }
}

@media (max-width: 420px) {
  .donor-list { columns: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .brand-text { display: none; }
  .nav-list { gap: 18px; }
}

@media (max-width: 920px) {
  .mission-grid,
  .foundation-grid {
    grid-template-columns: 1fr;
  }
  .project-grid,
  .next-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .nav-list {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--lb-blue-darker);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }

  .nav-list.open { display: flex; }

  .nav-list li { width: 100%; }

  .nav-list a {
    display: block;
    padding: 12px 0;
    width: 100%;
  }

  .btn-nav {
    display: inline-block;
    margin-top: 8px;
  }

  .project-grid,
  .next-grid {
    grid-template-columns: 1fr;
  }

  .hero { min-height: 100vh; }

  .tilt { transform: none !important; }
}
