/* ==========================================================
   PRECISION FUNDRAISING — DESIGN SYSTEM
   Type:  Poppins (display / brand)  +  Inter (body / UI)
   Palette derived from brand mark: navy, blue, gold, green
   ========================================================== */

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

:root {
  /* --- Brand palette --- */
  --navy:        #0A2647;
  --navy-700:    #123561;
  --navy-050:    #EEF2F8;
  --blue:        #1268C3;
  --blue-600:    #0E56A3;
  --blue-100:    #DCEBFC;
  --gold:        #D9A716;
  --gold-100:    #FBEFCE;
  --green:       #65B93A;

  /* --- Neutrals --- */
  --ink:         #1B2733;
  --muted:       #5B6B7E;
  --muted-2:     #8291A3;
  --bg:          #F6F8FB;
  --surface:     #FFFFFF;
  --border:      #E3E8F0;

  /* --- Type --- */
  --font-display: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* --- Shape / motion --- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(10, 38, 71, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 38, 71, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 38, 71, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================
   RESET
   ========================================================== */

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0;
  line-height: 1.15;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ==========================================================
   BUTTONS
   ========================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.button-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(18, 104, 195, 0.30);
}

.button-primary:hover {
  background: var(--blue-600);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(18, 104, 195, 0.36);
}

.button-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.button-secondary:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}

/* ==========================================================
   HEADER / NAVIGATION
   ========================================================== */

/* Note: the frosted background lives on ::before rather than directly on
   .site-header. backdrop-filter on an ancestor creates a new containing
   block for any position:fixed descendant (like the mobile nav drawer),
   which would break its full-screen positioning. Keeping it on a
   non-ancestor pseudo-element avoids that. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(246, 248, 251, 0.86);
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 108px;
}

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

.site-logo-icon {
  height: 62px;
  width: auto;
}

.site-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
  font-family: var(--font-display);
}

.site-logo-text strong {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.1px;
}

.site-logo-text em {
  font-style: normal;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

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

.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--navy);
  position: relative;
  padding: 6px 2px;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  transition: right 0.25s var(--ease);
}

.main-nav a:not(.nav-cta):hover::after {
  right: 0;
}

.main-nav a:not(.nav-cta):hover {
  color: var(--blue);
}

.main-nav a[aria-current="page"] {
  color: var(--blue);
}

.main-nav a[aria-current="page"]::after {
  right: 0;
}

.main-nav a.nav-cta {
  background: var(--navy);
  color: #fff;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.main-nav a.nav-cta:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

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

/* ==========================================================
   HERO
   ========================================================== */

/* Grid, not absolute positioning: the row height is automatically the
   taller of the two columns (text or image), so nothing ever gets
   guessed-at-a-fixed-height and clipped on screens where the image
   renders taller than expected. */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 56px 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 230px) minmax(320px, 380px);
  column-gap: 28px;
  align-items: center;
}

.hero-left {
  grid-column: 1;
  grid-row: 1;
  max-width: 480px;
}

.hero-quote-card {
  grid-column: 2;
  grid-row: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px 24px 22px;
}

.hero-quote-mark {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 4px;
}

.hero-quote-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}

.hero-quote-card footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.hero-quote-card footer strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.hero-quote-card footer span {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--muted-2);
}

.hero-quote-link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--blue);
}

.hero-quote-link:hover {
  color: var(--blue-600);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

.hero-kicker::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero h1 span {
  display: block;
  color: var(--blue);
  position: relative;
  width: fit-content;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  left: 2px;
  right: -6px;
  bottom: 6px;
  height: 14px;
  background: var(--gold-100);
  z-index: -1;
  border-radius: 3px;
}

.hero-description {
  margin-top: 22px;
  max-width: 460px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-benefits {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.benefit-check {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at center, var(--gold) 0 5px, transparent 5px),
              conic-gradient(from 0deg, var(--navy) 0 360deg);
  margin-top: 2px;
}

.benefit-check::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--bg);
}

.benefit-check::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-benefit strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy);
}

.hero-benefit small {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted-2);
}

.hero-right {
  grid-column: 3;
  grid-row: 1;
  position: relative;
}

/* Soft background rings — anchored to the photo column itself (not the
   full section) so they stay attached to the image at any viewport
   width, instead of drifting into empty space on wide screens. */
.hero-halo {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-halo::before,
.hero-halo::after {
  content: '';
  position: absolute;
  top: 50%;
  border-radius: 50%;
}

.hero-halo::before {
  right: -120px;
  width: 560px;
  height: 560px;
  transform: translateY(-50%);
  border: 48px solid var(--navy-050);
}

.hero-halo::after {
  right: 0;
  width: 400px;
  height: 400px;
  transform: translateY(-50%);
  border: 34px solid var(--blue-100);
}

/* Organic accent outline peeking out behind the photo — the page's
   one deliberate departure from the grid, echoing the target motif
   without literally repeating the logo. */
.hero-right::before {
  content: '';
  position: absolute;
  inset: 22px -22px -22px 22px;
  border-radius: 42% 58% 61% 39% / 45% 41% 59% 55%;
  border: 3px solid var(--gold);
  z-index: 0;
}

.hero-image-wrap {
  position: relative;
  z-index: 1;
  border-radius: 42% 58% 61% 39% / 45% 41% 59% 55%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--navy-050), var(--blue-100));
  transform: rotate(-1.4deg);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-image.is-active {
  opacity: 1;
}

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

/* ==========================================================
   TRUST SECTION
   ========================================================== */

.trust-section {
  padding-block: 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.trust-heading {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 28px;
}

.trust-groups {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.trust-groups span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
  background: var(--navy-050);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.trust-groups span:hover {
  background: var(--blue-100);
  border-color: var(--blue);
  transform: translateY(-1px);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  }

  .hero-right {
    grid-column: 2;
    grid-row: 1;
  }

  .hero-quote-card {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 8px;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    display: block;
  }

  .hero-right {
    margin: 0 -24px 40px;
  }

  .hero-image-wrap {
    border-radius: 0 0 32px 32px;
    aspect-ratio: 16 / 11;
    transform: none;
  }

  .hero-right::before {
    display: none;
  }

  .hero-halo {
    opacity: 0.6;
  }

  .hero-left {
    max-width: none;
    padding-block: 32px 0;
  }

  .hero-quote-card {
    margin-top: 24px;
    margin-bottom: 8px;
  }

  .hero-description {
    max-width: none;
  }
}

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

  .main-nav {
    position: fixed;
    inset: 108px 0 0 0;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    overflow-y: auto;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav a {
    font-size: 18px;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

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

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

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

  .hero {
    padding-bottom: 64px;
  }

  .trust-groups {
    gap: 10px;
  }

  .trust-groups span {
    font-size: 13px;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}

/* ==========================================================
   FOOTER
   ========================================================== */

.site-footer {
  background: var(--navy);
  border-left: 12px solid var(--blue);
  border-right: 12px solid var(--blue);
}

.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding-block: 48px 40px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.footer-logo-icon {
  height: 48px;
  width: auto;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-address strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  margin-bottom: 4px;
}

.footer-address span {
  font-size: 14.5px;
  color: #AEB9C9;
}

.footer-contact-links {
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-contact-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: #fff;
}

.footer-contact-links a:hover {
  color: var(--blue-100);
}

.footer-contact-links a[href^="mailto"] {
  color: #8FC1F0;
}

.footer-contact-links a[href^="mailto"]:hover {
  color: var(--blue-100);
}

/* ---------- Brochures link column ---------- */

.footer-links-column {
  min-width: 160px;
}

.footer-links-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #8592A3;
  margin-bottom: 16px;
}

.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 500;
  color: #C6CEDA;
}

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

.footer-links-list a::before {
  content: '';
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* "Get Started" column reuses the same list styling but skips the
   download icon (that's specific to the Brochures column). */
.footer-links-list-plain a::before {
  content: none;
}

/* ---------- Bottom copyright bar ---------- */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
  padding-block: 18px;
}

.footer-bottom-inner p {
  font-size: 13px;
  color: #8592A3;
  text-align: center;
}

@media (max-width: 640px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* ==========================================================
   PAGE HEADER (secondary pages — Success Stories, etc.)
   ========================================================== */

.page-header {
  padding-block: 72px 56px;
  text-align: center;
}

.page-header .hero-kicker {
  justify-content: center;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.2vw, 54px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--navy);
}

.page-title span {
  display: block;
  color: var(--blue);
  position: relative;
  width: fit-content;
  margin-inline: auto;
}

.page-title span::after {
  content: '';
  position: absolute;
  left: 2px;
  right: -4px;
  bottom: 4px;
  height: 12px;
  background: var(--gold-100);
  z-index: -1;
  border-radius: 3px;
}

.page-subtitle {
  max-width: 640px;
  margin: 20px auto 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.category-tile {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,38,71,0.65) 0%, rgba(10,38,71,0.05) 45%, transparent 65%);
}

.category-tile figcaption {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

@media (max-width: 760px) {
  .category-strip {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   TESTIMONIALS
   ========================================================== */

.testimonials-section {
  padding-block: 24px 96px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.testimonial-program {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-100);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.testimonial-stat {
  flex-shrink: 0;
  text-align: right;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--navy);
  line-height: 1.15;
}

.testimonial-stat small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 2px;
}

.testimonial-quote {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
}

.testimonial-quote::before {
  content: '\201C';
  color: var(--gold);
  font-family: var(--font-display);
}

.testimonial-quote::after {
  content: '\201D';
  color: var(--gold);
  font-family: var(--font-display);
}

.testimonial-more {
  margin-top: 14px;
}

.testimonial-more summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--blue);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.testimonial-more summary::-webkit-details-marker {
  display: none;
}

.testimonial-more .chevron {
  display: inline-block;
  transition: transform 0.2s var(--ease);
}

.testimonial-more[open] .chevron {
  transform: rotate(180deg);
}

.testimonial-more-text {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.testimonial-attribution {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.testimonial-attribution strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
}

.testimonial-attribution span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted-2);
}

/* ==========================================================
   SECONDARY CTA (bottom of secondary pages)
   ========================================================== */

.cta-section {
  background: var(--navy-050);
  border-top: 1px solid var(--border);
  padding-block: 64px;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: var(--navy);
}

.cta-section p {
  max-width: 480px;
  margin: 12px auto 28px;
  font-size: 16px;
  color: var(--muted);
}

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

  .page-header {
    padding-block: 48px 40px;
  }
}

/* ==========================================================
   SECTION KICKER / HEADING (reusable across secondary pages)
   ========================================================== */

.section-kicker {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-heading {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  color: var(--navy);
  margin-bottom: 48px;
}

/* ==========================================================
   HOW IT WORKS
   ========================================================== */

.how-it-works-section {
  padding-block: 72px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.step-card {
  position: relative;
  text-align: center;
  padding: 8px 16px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.step-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Small per-step delay creates the staggered feel, without
   needing to time anything precisely in JS. */
.step-card:nth-child(1) { transition-delay: 0.24s; }
.step-card:nth-child(2) { transition-delay: 0.48s; }
.step-card:nth-child(3) { transition-delay: 0.72s; }
.step-card:nth-child(4) { transition-delay: 0.96s; }

@media (prefers-reduced-motion: reduce) {
  .step-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ==========================================================
   PROGRAMS GRID
   Auto-fill/minmax means this reflows cleanly for any number
   of cards — 3, 4, 7, whatever — without editing the CSS or
   breaking the layout when a program is added or removed.
   ========================================================== */

.programs-section {
  padding-block: 72px 32px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  align-items: start;
  gap: 28px;
}

.program-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.program-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.program-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--navy-050), var(--blue-100));
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 16px;
}

.program-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-badge {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.program-badge-new {
  background: var(--gold-100);
  color: #93690B;
}

.program-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 24px;
}

.program-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 10px;
}

.program-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: -6px;
  margin-bottom: 14px;
}

.program-description {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  flex-grow: 1;
  margin-bottom: 20px;
}

.program-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.program-cta {
  padding: 10px 22px;
  font-size: 14px;
}

.program-brochure-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--muted-2);
}

.program-brochure-link::before {
  content: '';
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") no-repeat center / contain;
}

.program-brochure-link:hover {
  color: var(--blue);
}

/* ==========================================================
   PROGRAM HIGHLIGHTS — one shared section that swaps between
   all 4 programs. Tightened top padding (was 48px) so it sits
   closer to the card grid above it, per earlier feedback that
   the gap felt disconnected from the cards it belongs to.
   ========================================================== */

.program-highlights-section {
  padding-block: 8px 72px;
}

.highlights-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.highlights-tab {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.highlights-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.highlights-tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* Only one .highlight-set shows at a time — JS toggles .is-active */
.highlight-set {
  display: none;
}

.highlight-set.is-active {
  display: block;
}

.highlight-set-label {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 28px;
}

.highlight-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 48px;
}

/* Logo variant (Best of the Brands) — shared height, no frame,
   same treatment as before. */
.highlight-strip-logos .highlight-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-strip-logos .highlight-item img {
  height: 42px;
  width: auto;
  max-width: 180px;
}

/* Photo variant (Scentco / Pop Fund / Smillows & Tootimals) —
   small rounded thumbnail + caption, since these are product
   photos rather than flat vector logos. */
.highlight-strip-photos {
  gap: 22px 28px;
}

.highlight-strip-photos .highlight-item {
  margin: 0;
  width: 108px;
  text-align: center;
}

.highlight-strip-photos .highlight-item img {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 8px;
}

.highlight-strip-photos figcaption {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--navy);
  line-height: 1.3;
}

@media (max-width: 960px) {
  /* No hover on touch devices — show every program's highlights
     stacked and always visible instead of relying on interaction
     nobody can trigger. */
  .highlights-tabs {
    display: none;
  }

  .highlight-set {
    display: block;
    margin-bottom: 40px;
  }

  .highlight-set:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  .highlight-strip {
    gap: 22px 30px;
  }

  .highlight-strip-logos .highlight-item img {
    height: 34px;
    max-width: 140px;
  }

  .highlight-strip-photos .highlight-item,
  .highlight-strip-photos .highlight-item img {
    width: 88px;
  }

  .highlight-strip-photos .highlight-item img {
    height: 88px;
  }
}

@media (max-width: 640px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* ==========================================================
   CONTACT PAGE
   ========================================================== */

.contact-section {
  padding-block: 24px 96px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 40px;
}

.contact-form-card form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-card form[hidden] {
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form-card label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}

.form-optional {
  font-weight: 400;
  color: var(--muted-2);
}

.contact-form-card input,
.contact-form-card textarea {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-100);
}

.contact-form-card textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-card .button {
  align-self: flex-start;
  margin-top: 4px;
}

.contact-form-card .button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-status {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--green);
}

.form-status:empty {
  display: none;
}

.form-status-error {
  color: #C0392B;
}

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
}

.contact-info-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 24px;
}

.contact-info-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #8FC1F0;
  margin-bottom: 4px;
}

.contact-info-list span,
.contact-info-list a {
  display: block;
  font-size: 15px;
  color: #E5EAF1;
}

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

.contact-response-note {
  font-size: 13.5px;
  color: #AEB9C9;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card,
  .contact-info-card {
    padding: 28px;
  }
}

/* ==========================================================
   ORDER PAGE — one shared page for all program order forms.
   The picker and the form section are mutually exclusive;
   main.js toggles which is visible based on the ?program= URL.
   ========================================================== */

.order-picker-section {
  padding-block: 24px 96px;
}

.picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1040px;
  margin-inline: auto;
}

.picker-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.picker-option:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.picker-option-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
}

.picker-option-arrow {
  font-size: 18px;
  color: var(--blue);
  flex-shrink: 0;
}

/* Order form section — hidden by default; JS reveals it and
   hides the picker when a valid ?program= is present. */
.order-form-section {
  display: none;
  padding-block: 24px 96px;
}

.order-back-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--blue);
  margin-bottom: 32px;
}

.order-back-link:hover {
  color: var(--blue-600);
}

.order-form-block {
  display: none;
}

.order-form-block h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 16px;
}

.order-form-note {
  font-size: 14px;
  color: var(--muted);
  background: var(--gold-100);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 20px;
}

.order-form-iframe {
  width: 100%;
  height: 1500px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

@media (max-width: 640px) {
  .order-form-iframe {
    height: 1700px;
  }
}
