:root {
  --blue: #0994dc;
  --blue-deep: #0670a8;
  --blue-soft: #e8f5fc;
  --ink: #121212;
  --ink-soft: #3a3a3a;
  --paper: #f7f9fb;
  --white: #ffffff;
  --rule: rgba(18, 18, 18, 0.12);
  --gold: #cda449;
  --gold-deep: #a9822f;
  --header-h: 4.25rem;
  --font-display: "Libre Baskerville", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 68rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(9, 148, 220, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 30%, rgba(9, 148, 220, 0.05), transparent 50%),
    linear-gradient(180deg, #eef4f8 0%, var(--paper) 28%, var(--white) 100%);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
}

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

p {
  margin: 0 0 1rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.5rem 0.75rem;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(12px);
  color: var(--white);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.wordmark__elect {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--blue);
  font-size: 0.95rem;
}

.wordmark__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a {
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  opacity: 1;
  color: var(--blue);
}

.nav__cta {
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  opacity: 1 !important;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav__cta:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white) !important;
}

.nav__cta--donate {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white) !important;
}

.nav__cta--donate:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: var(--white) !important;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.75rem 0;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav__donate {
  color: var(--blue) !important;
  font-weight: 700 !important;
}

@media (min-width: 800px) {
  .nav {
    display: flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.hero__band {
  width: 100%;
}

.hero__band--ink {
  background: #000;
  flex: 0 0 auto;
}

.hero__band--blue {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.hero__brand,
.hero__office,
.hero__copy {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.hero__brand {
  padding-top: clamp(3.5rem, 10vh, 6.5rem);
  padding-bottom: clamp(2.75rem, 7vh, 4.5rem);
}

.hero__elect {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--blue);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  margin: 0 0 0.35rem;
}

.hero__name {
  font-size: clamp(3rem, 10vw, 6.5rem);
  line-height: 0.95;
  margin: 0;
  letter-spacing: -0.03em;
}

.hero__office {
  padding-top: clamp(2.75rem, 7vh, 4.5rem);
  padding-bottom: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero__court {
  margin: 0.55rem 0 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
}

.hero__copy {
  padding-top: clamp(2rem, 5vh, 3.25rem);
  padding-bottom: clamp(3rem, 8vh, 5rem);
}

.hero__lede {
  max-width: 28rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.5;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--ink);
  color: var(--white);
}

.btn--primary:hover {
  background: #000;
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--on-dark {
  background: var(--white);
  color: var(--ink);
}

.btn--on-dark:hover {
  background: var(--blue-soft);
}

.btn--donate {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.btn--donate:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--white);
}

/* Sections */
.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 0.75rem;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.75);
}

.section__lede {
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

/* Experience */
.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 700px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin: 0 0 0.4rem;
  letter-spacing: -0.03em;
}

.stat__number::after {
  content: "+";
}

.stat__label {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.experience__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .experience__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.experience__block p {
  color: var(--ink-soft);
  margin: 0;
}

/* Vision / quote */
.vision {
  background: var(--ink);
  color: var(--white);
  padding: clamp(4.5rem, 12vw, 8rem) 0;
  position: relative;
  overflow: hidden;
}

.vision::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(9, 148, 220, 0.2), transparent 55%),
    radial-gradient(ellipse 50% 60% at 100% 50%, rgba(9, 148, 220, 0.12), transparent 50%);
}

.vision__inner {
  position: relative;
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.quote {
  margin: 0;
  padding: 0;
  border: 0;
}

.quote::before {
  content: "“";
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 6rem);
  line-height: 0.6;
  color: var(--blue);
  margin-bottom: 1rem;
}

.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.quote footer {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.02em;
}

/* Community */
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.service-list li {
  display: grid;
  gap: 0.35rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 640px) {
  .service-list li {
    grid-template-columns: minmax(10rem, 14rem) 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }
}

.service-list__role {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-deep);
}

.service-list__org {
  color: var(--ink-soft);
}

/* Roots */
.roots {
  background:
    linear-gradient(180deg, transparent, rgba(9, 148, 220, 0.06)),
    var(--paper);
}

.roots__inner {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .roots__inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
    gap: 4rem;
  }
}

.roots p:not(.eyebrow) {
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0;
}

.roots__schools {
  list-style: none;
  margin: 0;
  padding: 0;
}

.roots__schools li {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
}

.roots__schools li:first-child {
  border-top: 1px solid var(--rule);
}

/* Support */
.support {
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: var(--white);
  padding: clamp(4.5rem, 12vw, 7.5rem) 0;
  text-align: center;
}

.support__inner {
  max-width: 36rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.support h2 {
  margin-bottom: 1rem;
}

.support p {
  color: rgba(255, 255, 255, 0.92);
}

.support__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem 0 2.5rem;
}

.support__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--white) !important;
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.site-footer__elect {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--blue);
  font-size: 0.95rem;
}

.site-footer__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
}

.site-footer__office {
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.site-footer__note {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.65;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  animation: reveal-up 0.9s var(--ease) forwards;
}

.reveal-delay-1 {
  animation-delay: 0.12s;
}

.reveal-delay-2 {
  animation-delay: 0.24s;
}

.reveal-delay-3 {
  animation-delay: 0.4s;
}

.reveal-delay-4 {
  animation-delay: 0.55s;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .reveal {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}
