@import url("https://fonts.googleapis.com/css2?family=Sarabun:wght@400;600;700;800&display=swap");

:root {
  --navy: #0b1d43;
  --navy-deep: #071735;
  --campaign-blue: #016fb9;
  --campaign-blue-dark: #0b5fa9;
  --sky: #69b7e7;
  --sky-pale: #eaf4fb;
  --gold: #ffb400;
  --gold-pale: #fff7d8;
  --white: #ffffff;
  --ink: var(--navy);
  --blue-ink: var(--campaign-blue-dark);
  --sky-soft: #d7edfc;
  --sky-line: #9cc9e8;
  --gold-ink: #a66e00;
  --neutral-text: #52677d;
  --bg: var(--navy);
  --bg-soft: var(--campaign-blue-dark);
  --panel: var(--campaign-blue);
  --panel-strong: var(--campaign-blue);
  --line: rgba(255, 255, 255, 0.22);
  --text: var(--white);
  --muted: var(--sky-soft);
  --accent: var(--gold);
  --accent-soft: var(--gold);
  --blue: var(--sky);
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Sarabun, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--navy);
  background-image:
    linear-gradient(180deg, rgba(105, 183, 231, 0.16), transparent 18rem),
    linear-gradient(118deg, var(--navy) 0 48%, var(--navy-deep) 100%);
  background-attachment: fixed;
  background-size: 100% 100%, 145% 145%;
  animation: navy-light 18s ease-in-out infinite alternate;
  line-height: 1.5;
}

.thank-you-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.thank-you-page .content-page {
  box-sizing: border-box;
  flex: 1;
  width: 100%;
}

h1,
h2,
h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px clamp(18px, 3vw, 44px);
  border-bottom: 3px solid var(--gold);
  background: var(--white);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(2, 11, 28, 0.14);
  color: var(--ink);
}

.brand {
  position: relative;
  display: block;
  width: clamp(180px, 15vw, 216px);
  text-decoration: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.brand:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

.brand-logo {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--blue-ink);
  font-size: 0.95rem;
  font-family: Sarabun, Inter, ui-sans-serif, sans-serif;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.site-nav a:not(.donate-link)::after,
.site-footer a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:not(.donate-link):hover::after,
.site-footer a:hover::after {
  transform: scaleX(1);
}

.donate-link {
  border: 1px solid transparent;
  color: var(--navy-deep) !important;
  padding: 9px 14px;
  border-radius: 6px;
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(255, 180, 0, 0.22);
  font-weight: 800;
}

.donate-link:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--navy-deep) !important;
  background: var(--accent-soft);
  box-shadow: 0 12px 24px rgba(255, 180, 0, 0.34);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
}

.hero {
  display: block;
  position: relative;
  align-items: center;
  min-height: 0;
  padding: clamp(42px, 7vw, 92px) clamp(20px, 6vw, 88px) clamp(30px, 5vw, 72px);
  border-bottom: 3px solid var(--gold);
  background-color: transparent;
  background-image:
    linear-gradient(180deg, rgba(105, 183, 231, 0.14), transparent 22rem),
    linear-gradient(118deg, transparent 0 48%, rgba(8, 116, 188, 0.2) 100%);
  background-size: 100% 100%, 155% 155%;
  animation: navy-light 18s ease-in-out infinite alternate;
  overflow: hidden;
}

.hero-spotlights,
.editorial-spotlights {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.editorial-spotlights {
  position: fixed;
  z-index: 0;
}

.hero-spotlight {
  position: absolute;
  width: min(52vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(105, 183, 231, 0.3) 0, rgba(1, 111, 185, 0.18) 38%, transparent 70%);
  filter: blur(20px);
  mix-blend-mode: screen;
  opacity: 0.72;
}

.spot-one {
  top: -42%;
  left: -14%;
  animation: spotlight-one 24s ease-in-out infinite alternate;
}

.spot-two {
  top: 8%;
  right: -28%;
  opacity: 0.56;
  animation: spotlight-two 29s ease-in-out infinite alternate;
}

.spot-three {
  bottom: -48%;
  left: 28%;
  opacity: 0.42;
  animation: spotlight-three 33s ease-in-out infinite alternate;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin-inline: auto;
  text-align: left;
}

.hero h1,
.editorial-page h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(2.2rem, 3.7vw, 3.55rem);
  line-height: 1;
  letter-spacing: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-wrap: balance;
}

.hero-title-lockup,
.editorial-title-lockup {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 28px);
  justify-content: flex-start;
  width: 100%;
  margin-bottom: 26px;
}

.hero-title-lockup {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.hero h1 span,
.editorial-page h1 span {
  display: block;
  white-space: nowrap;
}

.hero-inline-photo,
.editorial-inline-photo {
  flex: 0 0 auto;
  width: clamp(110px, 12vw, 190px);
  height: auto;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.24));
}

.hero-why {
  max-width: 840px;
  color: var(--white);
  font-size: clamp(1.04rem, 1.65vw, 1.24rem);
}

.hero-why p {
  margin: 0 0 14px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: Sarabun, Inter, ui-sans-serif, sans-serif;
}

.lede {
  max-width: 740px;
  color: var(--muted);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.secondary-lede {
  margin-top: -6px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
  font-family: Sarabun, Inter, ui-sans-serif, sans-serif;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.button.primary {
  background: var(--text);
  color: var(--navy-deep);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

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

.button.primary:hover {
  background: var(--accent-soft);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22);
}

.button.secondary:hover {
  border-color: var(--accent);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--text);
  font-weight: 800;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color 180ms ease, text-decoration-color 180ms ease, transform 180ms ease;
}

.text-link:hover {
  color: var(--accent-soft);
  text-decoration-color: var(--text);
  transform: translateX(3px);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 3px;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.prose p,
.platform-card p,
.form-page p,
.platform-page p,
.platform-page li {
  color: var(--muted);
}

.section {
  padding: clamp(56px, 8vw, 112px) clamp(20px, 6vw, 88px);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 84px);
}

.prose {
  font-size: 1.08rem;
}

.bio-preview {
  --line: var(--sky-line);
  --text: var(--ink);
  --muted: var(--blue-ink);
  --accent-soft: var(--gold-ink);
  --shadow: 0 18px 54px rgba(16, 43, 79, 0.12);
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(44px, 6vw, 84px);
  border-block: 1px solid var(--line);
  background: var(--white);
}

.bio-preview .kicker {
  color: var(--campaign-blue);
}

.bio-preview .button.secondary {
  background: var(--white);
}

.bio-preview .photo-ribbon {
  margin-top: clamp(28px, 4vw, 48px);
}

.bio-preview h2 {
  color: var(--ink);
}

.section-heading {
  max-width: 880px;
  margin-bottom: 28px;
}

.photo-ribbon {
  position: relative;
  height: clamp(220px, 34vw, 390px);
  margin-inline: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.photo-track {
  display: flex;
  width: max-content;
  min-width: max-content;
  height: 100%;
  padding: 0;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform;
  animation: none;
}

.photo-ribbon.is-ready .photo-track {
  animation: ribbon-scroll 48s linear infinite;
}

.photo-set {
  display: flex;
  flex: 0 0 auto;
  --print-gap: 10px;
  gap: 0;
  height: 100%;
  padding: 0;
  background: transparent;
}

.photo-frame {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  height: calc(100% - 24px);
  margin: 12px 0 12px var(--print-gap);
  padding: 9px;
  border: 1px solid rgba(11, 37, 69, 0.16);
  background: var(--white);
  box-shadow: 0 0 9px rgba(11, 37, 69, 0.14);
}

.photo-frame::before {
  content: none;
}

.photo-frame img {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: none;
  height: 100%;
  object-fit: contain;
  border: 0;
  background: var(--navy-deep);
}

@keyframes ribbon-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body,
  .hero,
  .hero-spotlight,
  .photo-track {
    animation: none;
  }
}

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

#platform {
  background: var(--navy-deep);
}

.platform-card {
  min-height: 280px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.03));
  text-decoration: none;
}

.platform-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.1;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px clamp(20px, 6vw, 88px);
  border-top: 3px solid var(--gold);
  background: var(--navy-deep);
  box-shadow: none;
  color: var(--white);
  font-size: 0.92rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.footer-contact {
  display: none;
}

.site-footer a {
  position: relative;
  margin-right: 16px;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.site-footer a:hover {
  color: var(--accent-soft);
  transform: translateY(-1px);
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 !important;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--campaign-blue);
  font-size: 1.12rem;
  line-height: 1;
}

.social-icon::after {
  display: none;
}

.contact-icon {
  position: relative;
}

.contact-icon::before {
  position: absolute;
  z-index: 2;
  bottom: calc(100% + 10px);
  left: 50%;
  width: max-content;
  max-width: min(78vw, 280px);
  padding: 7px 10px;
  border-radius: 4px;
  background: var(--navy-deep);
  box-shadow: 0 8px 18px rgba(7, 23, 53, 0.2);
  color: var(--white);
  content: attr(data-tooltip);
  font-family: Sarabun, Inter, ui-sans-serif, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.contact-icon:hover::before,
.contact-icon:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0);
}

.social-icon:hover {
  color: var(--white);
  background: var(--campaign-blue);
  box-shadow: 0 0 0 3px rgba(255, 180, 0, 0.82), 0 8px 18px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px) scale(1.05);
}

.social-icon:hover i {
  color: var(--white);
}

.social-icon i {
  display: block;
  line-height: 1;
  text-align: center;
  transform: none;
}

body:not(.home-page) .site-footer {
  background: var(--white);
  color: var(--ink);
}

body:not(.home-page) .site-footer a:hover {
  color: var(--campaign-blue-dark);
}

body:not(.home-page) .social-icon {
  color: var(--white);
  background: var(--navy);
}

body:not(.home-page) .social-icon:hover {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 0 0 3px rgba(255, 180, 0, 0.82), 0 8px 18px rgba(7, 23, 53, 0.18);
  transform: translateY(-2px) scale(1.05);
}

@keyframes navy-light {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 0, 100% 100%; }
}

@keyframes spotlight-one {
  from { transform: translate3d(-8%, -4%, 0); }
  to { transform: translate3d(78%, 42%, 0); }
}

@keyframes spotlight-two {
  from { transform: translate3d(10%, 6%, 0); }
  to { transform: translate3d(-92%, 50%, 0); }
}

@keyframes spotlight-three {
  from { transform: translate3d(0, 12%, 0); }
  to { transform: translate3d(18%, -92%, 0); }
}

.light-page {
  color: var(--ink);
  background: var(--white);
  animation: none;
}

.light-page .page-hero h1,
.light-page .form-page h1,
.light-page .content-page h1,
.light-page .long-form h2 {
  color: var(--ink);
}

.light-page .kicker {
  color: var(--gold-ink);
}

.light-page .long-form p,
.light-page .long-form li,
.light-page .form-page p,
.light-page label {
  color: var(--blue-ink);
}

.light-page .form-card {
  border-color: var(--sky-line);
  background: var(--sky-pale);
}

.light-page .button.primary {
  color: var(--white);
  background: var(--navy);
}

.light-page .button.secondary {
  border-color: rgba(16, 43, 79, 0.2);
  color: var(--ink);
  background: var(--white);
}

.page-hero,
.form-page,
.platform-page,
.content-page {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 20px;
}

.page-hero h1,
.platform-page h1,
.form-page h1,
.content-page h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.long-form {
  max-width: 780px;
  margin-top: 28px;
  font-size: 1.1rem;
}

.long-form p,
.long-form li {
  color: var(--muted);
}

.long-form h2 {
  margin: 34px 0 12px;
  color: var(--text);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.long-form ul {
  padding-left: 22px;
}

.editorial-page {
  max-width: 1180px;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 88px);
}

.editorial-body .editorial-page {
  padding-bottom: 170px;
}

.editorial-body .site-footer {
  position: fixed;
  z-index: 25;
  right: 0;
  bottom: 0;
  left: 0;
}

.home-page.has-priorities .site-footer {
  background: var(--white);
  color: var(--ink);
}

.home-page.has-priorities .site-footer a:hover {
  color: var(--campaign-blue-dark);
}

.home-page.has-priorities .social-icon {
  color: var(--white);
  background: var(--navy);
}

.home-page.has-priorities .social-icon:hover {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 0 0 3px rgba(255, 180, 0, 0.82), 0 8px 18px rgba(7, 23, 53, 0.18);
  transform: translateY(-2px) scale(1.05);
}

.editorial-intro {
  position: relative;
  z-index: 1;
  display: block;
  padding-bottom: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid rgba(105, 183, 231, 0.35);
}

.editorial-page .kicker {
  color: var(--accent-soft);
}

.editorial-page .long-form {
  max-width: 780px;
  margin-top: clamp(34px, 5vw, 64px);
  position: relative;
  z-index: 1;
  color: var(--white);
}

.editorial-page .long-form p,
.editorial-page .long-form li {
  color: var(--white);
}

.editorial-page .long-form h2 {
  color: var(--white);
}

.signature-line {
  margin-top: 28px;
  padding-top: 0;
  border: 0;
}

.signature-line p {
  margin: 0;
}

.signature-line .signature-name {
  color: #6fbce9;
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.signature-line .signature-print {
  margin-top: 8px;
  font-family: Sarabun, Inter, ui-sans-serif, sans-serif;
  font-weight: 700;
}


.form-card {
  display: grid;
  gap: 16px;
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--sky-line);
  border-radius: 8px;
  background: var(--sky-pale);
  box-shadow: 0 18px 42px rgba(7, 23, 53, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--sky-line);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 1px 2px rgba(16, 43, 79, 0.08);
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--campaign-blue);
  box-shadow: 0 0 0 3px rgba(1, 111, 185, 0.18);
}

input::placeholder,
textarea::placeholder {
  color: var(--neutral-text);
}

option {
  color: var(--ink);
  background: var(--sky-pale);
}

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

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

  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 720px) {
  .brand {
    width: 166px;
  }

  .nav-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(16, 43, 79, 0.24);
    border-radius: 6px;
    color: var(--ink);
    background: transparent;
    padding: 0;
  }

  .nav-toggle span,
  .nav-toggle::before,
  .nav-toggle::after {
    position: absolute;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-toggle::before {
    transform: translateY(-7px);
  }

  .nav-toggle::after {
    transform: translateY(7px);
  }

  .nav-toggle[aria-expanded="true"] span {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"]::before {
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"]::after {
    transform: rotate(-45deg);
  }

  .site-nav {
    display: none;
    position: absolute;
    inset: 100% 16px auto 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid rgba(16, 43, 79, 0.18);
    background: var(--white);
    box-shadow: 0 12px 24px rgba(2, 11, 28, 0.16);
  }

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

  .hero {
    min-height: auto;
  }

  .hero-title-lockup,
  .editorial-title-lockup {
    align-items: center;
    gap: 14px;
  }

  .hero-inline-photo,
  .editorial-inline-photo {
    width: clamp(58px, 18vw, 100px);
  }

  .hero h1,
  .editorial-page h1 {
    font-size: clamp(1.35rem, 6.1vw, 1.85rem);
    line-height: 1.02;
  }

  .editorial-body .editorial-page {
    padding-bottom: 230px;
  }

  .editorial-page h1 {
    max-width: min(100%, 23rem);
    line-height: 1.08;
  }

  .photo-ribbon {
    height: 230px;
  }

  .photo-set {
    --print-gap: 8px;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .site-footer a {
    margin: 0 16px 0 0;
  }

}
