:root {
  --blue: #1a5fa8;
  --blue-dk: #0e3d72;
  --gold: #c9a84c;
  --gold-soft: #f2e2ae;
  --sand: #f7f0df;
  --ink: #18212d;
  --muted: #657285;
  --white: #ffffff;
  --panel: #f7f9fc;
  --nav-h: 72px;
  --shadow: 0 18px 40px rgba(12, 42, 78, 0.14);
}

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

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f5f6f8; }
::-webkit-scrollbar-thumb { background: #1a5fa8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #0e3d72; }

html { scroll-behavior: smooth;
  scrollbar-color: #1a5fa8 #f5f6f8; 
  scrollbar-width: thin; }

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(201, 168, 76, 0.16), transparent 28%),
    linear-gradient(180deg, #fffaf0 0%, #ffffff 34%, #f7f9fc 100%);
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity .45s ease, visibility .45s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { position: relative; width: 72px; height: 72px; }
.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #1a5fa8;
  border-right-color: #c9a84c;
  animation: loader-spin 1s cubic-bezier(.6,.15,.4,.85) infinite;
}
.loader-ring--2 {
  inset: 10px;
  border-top-color: #c9a84c;
  border-right-color: #1a5fa8;
  animation-direction: reverse;
  animation-duration: .75s;
}
.loader-text {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #6b7280;
}
@keyframes loader-spin { to { transform: rotate(360deg); } }

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 61, 114, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.14);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-img {
  width: 48px;
  height: 48px;
  background: #fff;
  
  border-radius: 6px;
  object-fit: contain;
  padding: 2px;
}

.logo-badge {
  width: 48px;
  height: 48px;
  background: var(--white);
  border: 3px solid var(--gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.1;
  text-align: center;
}

.nav-name {
  display: flex;
  flex-direction: column;
}

.nav-name span:first-child {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.nav-name span:last-child {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 90;
  padding: 18px 5%;
  background: var(--blue-dk);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

main {
  padding: 34px 5% 72px;
}

.sponsorship-hero {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.hero-copy {
  padding: 48px 0;
}

.eyebrow,
.section-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

.hero-copy h1,
.story-card h2,
.form-card h2 {
  font-family: 'Playfair Display', serif;
  color: var(--blue-dk);
  line-height: 1.12;
}

.hero-copy h1 {
  font-size: clamp(34px, 5vw, 58px);
  max-width: 11ch;
  margin-bottom: 18px;
}

.hero-text {
  max-width: 540px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #d7b75a 100%);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(201, 168, 76, 0.24);
}

.btn-outline {
  border: 1px solid rgba(14, 61, 114, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: var(--blue-dk);
}

.hero-visual {
  position: relative;
  min-height: 540px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual img {
  height: 100%;
  object-fit: cover;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 28, 53, 0.04) 0%, rgba(9, 28, 53, 0.52) 100%);
}

.hero-badge {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.impact-strip {
  max-width: 1180px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.impact-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 95, 168, 0.08);
  border-radius: 22px;
  padding: 26px 24px;
  box-shadow: 0 10px 24px rgba(16, 39, 70, 0.06);
}

.impact-card span {
  display: inline-block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.8px;
  margin-bottom: 12px;
}

.impact-card h2 {
  font-family: 'Playfair Display', serif;
  color: var(--blue-dk);
  font-size: 24px;
  margin-bottom: 10px;
}

.impact-card p {
  color: var(--muted);
  line-height: 1.65;
}

.sponsorship-content {
  max-width: 1180px;
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 28px;
  align-items: start;
}

.story-card,
.form-card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 95, 168, 0.08);
}

.story-card {
  padding: 34px;
}

.story-card h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  margin-bottom: 16px;
}

.story-card > p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.story-image {
  border-radius: 22px;
  overflow: hidden;
  min-height: 280px;
  margin-bottom: 24px;
}

.story-image img {
  height: 100%;
  object-fit: cover;
}

.support-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.support-points div {
  background: linear-gradient(180deg, rgba(247, 240, 223, 0.9), rgba(255, 255, 255, 0.95));
  border-radius: 18px;
  padding: 18px;
}

.support-points h3 {
  font-family: 'Playfair Display', serif;
  color: var(--blue-dk);
  font-size: 20px;
  margin-bottom: 8px;
}

.support-points p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.form-card {
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(201, 168, 76, 0.14), transparent 28%),
    rgba(255, 255, 255, 0.96);
}

.form-card h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 14px;
}

.form-intro {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 26px;
}

.sponsorship-form {
  display: grid;
  gap: 12px;
}

.sponsorship-form label {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-dk);
}

.sponsorship-form input,
.sponsorship-form textarea {
  width: 100%;
  border: 1px solid rgba(14, 61, 114, 0.12);
  border-radius: 16px;
  background: var(--white);
  padding: 15px 16px;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sponsorship-form input:focus,
.sponsorship-form textarea:focus {
  outline: none;
  border-color: rgba(26, 95, 168, 0.5);
  box-shadow: 0 0 0 4px rgba(26, 95, 168, 0.1);
}

.sponsorship-form textarea {
  resize: vertical;
  min-height: 140px;
}

.btn-submit {
  width: 100%;
  margin-top: 35px;
  border: none;
  cursor: pointer;
}

.form-note,
.form-status {
  font-size: 14px;
  line-height: 1.6;
}

.form-note {
  color: var(--muted);
}

.form-status {
  min-height: 22px;
  color: var(--blue);
  font-weight: 600;
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.success-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.success-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(201, 168, 76, 0.16), transparent 34%),
    rgba(14, 61, 114, 0.5);
  backdrop-filter: blur(8px);
}

.success-modal__dialog {
  position: relative;
  width: min(100%, 500px);
  padding: 88px 34px 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top, rgba(201, 168, 76, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.98));
  border: 1px solid rgba(26, 95, 168, 0.12);
  box-shadow: 0 30px 70px rgba(10, 35, 67, 0.28);
  text-align: center;
  transform: translateY(26px) scale(0.94);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(.2, .9, .2, 1), opacity 0.35s ease;
  overflow: visible;
}

.success-modal__dialog::before,
.success-modal__dialog::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.success-modal__dialog::before {
  width: 180px;
  height: 180px;
  top: -88px;
  right: -36px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.24), transparent 68%);
}

.success-modal__dialog::after {
  width: 140px;
  height: 140px;
  bottom: -70px;
  left: -24px;
  background: radial-gradient(circle, rgba(26, 95, 168, 0.12), transparent 68%);
}

.success-modal.is-open .success-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.success-modal__badge {
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  width: 116px;
  height: 116px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold) 0%, #e0c676 100%);
  box-shadow:
    0 18px 32px rgba(201, 168, 76, 0.35),
    0 0 0 10px rgba(255, 255, 255, 0.94);
  animation: success-badge-float 2.8s ease-in-out infinite;
}

.success-modal__icon {
  width: 60px;
  height: 60px;
}

.success-modal__icon circle,
.success-modal__icon path {
  fill: none;
  stroke: var(--white);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-modal__icon circle {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.success-modal__icon path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.success-modal.is-open .success-modal__icon circle {
  animation: success-stroke 0.65s ease forwards 0.15s;
}

.success-modal.is-open .success-modal__icon path {
  animation: success-stroke 0.45s ease forwards 0.5s;
}

.success-modal__eyebrow {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.success-modal h3 {
  font-family: 'Playfair Display', serif;
  color: var(--blue-dk);
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.08;
  margin-bottom: 14px;
}

.success-modal__message {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 auto 26px;
  max-width: 34ch;
}

.success-modal__button {
  min-width: 180px;
  border: none;
  cursor: pointer;
}

footer {
  padding: 0 5% 42px;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  background: var(--blue-dk);
  border-radius: 28px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-logo {
  margin-bottom: 14px;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 22px;
  margin-bottom: 10px;
}

.footer-brand p,
.footer-col p {
  line-height: 1.7;
}

@media (max-width: 980px) {
  .sponsorship-hero,
  .sponsorship-content,
  .impact-strip,
  .footer-grid,
  .support-points {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-visual {
    min-height: 400px;
  }
}

@media (max-width: 640px) {
  nav {
    padding: 0 4.5%;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  main,
  footer {
    padding-left: 4.5%;
    padding-right: 4.5%;
  }

  .story-card,
  .form-card,
  .footer-grid {
    padding: 24px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-badge {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .nav-name span:last-child {
    display: none;
  }

  .success-modal__dialog {
    padding: 78px 22px 24px;
    border-radius: 24px;
  }

  .success-modal__badge {
    width: 98px;
    height: 98px;
    top: -36px;
  }

  .success-modal__message {
    font-size: 15px;
  }
}

@keyframes success-stroke {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes success-badge-float {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-6px);
  }
}

footer {
  background: var(--blue-dk);
  color: rgba(255,255,255,.75);
  padding: 52px 5% 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.footer-brand .logo-badge {
  margin-bottom: 14px;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,.6);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  font-size: 13px;
  margin-bottom: 10px;
  color: rgba(255,255,255,.65);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-col ul li svg { flex-shrink: 0; margin-top: 2px; }

.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.12);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  cursor: pointer;
}

.social-btn:hover { background: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}

.footer-logo {
  width: 56px;
  height: 56px;
  background: #fff;
  
  border-radius: 8px;
  object-fit: contain;
  padding: 3px;
  margin-bottom: 14px;
}
