/* Spark Life Global Styles */

/*==========================
/* Spark Life Brand Fonts */
@font-face {
  font-family: "Black Mango";
  src: url("assets/fonts/black-mango-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Vincentia";
  src: url("assets/fonts/Vincentia.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Agrandir Tight";
  src: url("assets/fonts/agrandir-tight.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

/*==========================
  Root CSS Variables
==========================*/
:root {
  /* Colors */
  --color-faith-blue: #023550;
  --color-belief: #EEEEE9;
  --color-devotion: #768779;
  --color-connection: #CC9752;
  --color-empowerment: #E4CB8A;
  --color-expression: #8CA2BD;
  --color-stability: #9B3636;

  /* Typography */
  --font-title: "Holla", "Vincentia", cursive;
  --font-header: "Black Mango", serif;
  --font-body: "Agrandir Tight", sans-serif;

  /* Font Sizes */
  --fs-hero-title: clamp(2.5rem, 4vw + 1rem, 4rem);
  --fs-hero-sub: clamp(1rem, 1.2vw + 0.5rem, 1.25rem);
  --fs-section-title: 1.5rem;
  --fs-body: 1rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 2rem;
  --space-l: 4rem;
  --space-xl: 6rem;
  --radius-soft: 1.25rem;
  --transition-soft: 300ms ease;
}

/*==========================
  CSS Reset & Base
==========================*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--color-faith-blue);
  background-color: var(--color-belief);
  overflow-x: hidden;
  padding-top: 0;
}
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
  
/*==========================
  SITE NAVIGATION
==========================*/
.site-nav {
  display: flex;
  gap: 1.75rem;
}

.site-nav a {
  font-family: "Agrandir Tight", sans-serif;
  font-size: 0.95rem;
  color: #fdf8f3;
  text-decoration: none;
  opacity: 0.9;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background-color: #fdf8f3;
  transition: width 0.2s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

/* NAV DROPDOWN */

.nav-dropdown {
  position: relative;
}

/* The "Programs" button */
.nav-dropdown-toggle {
  background: none;
  border: none;
  font-family: "Agrandir Tight", sans-serif;
  font-size: 0.95rem;
  color: #fdf8f3;
  cursor: pointer;
  opacity: 0.9;
  padding: 0;
  position: relative;
}

/* underline animation like other links */
.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background-color: #fdf8f3;
  transition: width 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
  width: 100%;
}

.nav-dropdown-toggle:hover {
  opacity: 1;
}

/* Dropdown menu container */
.nav-dropdown-menu {
  position: absolute;
  top: 1.8rem;
  left: 0;
  background: rgba(2, 53, 80, 0.92);
  backdrop-filter: blur(4px);
  border-radius: 0.75rem;
  padding: 0.75rem 0;
  min-width: 230px;

  display: flex;
  flex-direction: column;
  z-index: 999;

  /* animation state */
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

/* On hover: reveal + slide down */
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


/* Links inside dropdown */
.nav-dropdown-menu a {
  padding: 0.6rem 1rem;
  color: #fdf8f3;
  text-decoration: none;
  font-family: "Agrandir Tight", sans-serif;
  font-size: 0.9rem;
  opacity: 0.9;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.nav-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.14);
  opacity: 1;
  border-radius: 0.5rem;
}

.tm {
  font-size: 0.38em;
  position: relative;
  top: -0.6em;
  opacity: 0.6;
  margin-left: 2px;
}
@media (max-width: 768px) {
  .site-header-inner {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .main-nav {
    font-size: 0.95rem;
    gap: 1.5rem;
  }
}

.site-brand img {
  max-width: 190px;
}

@media (max-width: 768px) {
  .site-brand img {
    max-width: 230px;
  }
}

.tm-nav {
  display: inline;
  font-size: 0.45em;
  position: relative;
  top: -0.35em;
  margin-left: 1px;
  opacity: 0.7;
}

.hide-mobile {
  display: inline;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
}

/*==========================
  Hero Section
==========================*/
.hero {
  position: relative;
  background-color: #023550;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}

/* Background video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Gradient overlay between video and content */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2, 53, 80, 0.62),
    rgba(2, 53, 80, 0.35),
    rgba(2, 53, 80, 0.15)
  );
  z-index: 1;
}

/* Hero content wrapper */
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem 6rem;
  max-width: 60rem;
}

/* Logo and tagline */
.hero-logo {
  max-width: 260px;
  width: 40vw;
  margin: 0 auto 0.75rem;
}

.hero-tagline {
  font-family: "Black Mango", serif;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #fdf8f3;
  margin-bottom: 4.5rem;
  opacity: 0.9;
}

/* Hero actions */
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

/* Primary button */
.btn-primary {
  display: inline-block;
  padding: 0.95rem 3.5rem;
  border-radius: 999px;
  background-color: #f8c77e;
  color: #023550;
  font-family: "Agrandir Tight", sans-serif;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: #f8d196;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

/* Secondary link */
.hero-secondary-link {
  font-family: "Agrandir Tight", sans-serif;
  font-size: 0.95rem;
  color: #fdf8f3;
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 0.9;
}

/* Curved divider under hero */
.curve-divider {
  position: relative;
  height: 8vw;
  background: var(--color-belief);
  border-top-left-radius: 50% 100%;
  border-top-right-radius: 50% 100%;
  margin-top: -2vw;
  z-index: 2;
}

/* fade-up animation for scroll */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-soft), transform var(--transition-soft);
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.site-footer {
  background: var(--color-faith-blue);
  color: var(--color-belief);
  padding: var(--space-l) var(--space-m);
  text-align: center;
}

.footer-logo {
  width: 140px;   /* adjust smaller or larger */
  height: auto;
  display: block;
  margin: 0 auto 1rem auto;
}

.footer-inner {
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}

.footer-promise {
  font-family: "Black Mango", serif;
  font-size: 1rem;
}

.footer-nav {
  display: flex;
  gap: var(--space-s);
  justify-content: center;
}

.footer-nav a {
  color: var(--color-belief);
  font-family: var(--font-body);
  font-size: 0.9rem;
  opacity: 0.9;
  transition: opacity var(--transition-soft);
}

.footer-nav a:hover { opacity: 1; }

/*==========================
  Responsive Adjustments
==========================*/
@media (max-width: 600px) {
  .hero { padding: var(--space-l) var(--space-s); }
}

/* Intro wrapper fills the viewport */
/* Intro wrapper */
#spark-intro-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#spark-intro {
  position: fixed;
  inset: 0;
  background: #EEEEE9;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease;
  padding: 0 2rem;
}

#spark-intro.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* First two lines: Black Mango */
#spark-intro-text {
  font-family: "Black Mango", serif;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 400;
  color: #023550;
  opacity: 0;
  transition: opacity 0.7s ease;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

/* Final line: Vincentia */
#spark-intro-text.accent {
  font-family: "Vincentia", cursive;
  font-size: clamp(4rem, 7vw, 5.8rem);
  letter-spacing: 0.01em;
  line-height: 1.1;
}

#spark-intro-text.visible { opacity: 1; }
#spark-intro-text.hidden { opacity: 0; }

body.spark-intro-active { overflow: hidden; }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 1.25rem 3rem;
  display: flex;
  justify-content: center;
  pointer-events: none; /* so intro overlay still gets clicks */
}

.site-header-inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Default logo size on desktop */
.site-mark {
  width: 52px;
  height: auto;
}

/* Mobile header layout */
@media (max-width: 768px) {
  .site-header {
    padding: 0.75rem 1.25rem;
  }

  .site-header-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
  }

  /* Make the logo bigger on mobile */
  .site-mark {
    width: 90px;
  }

  /* Make the nav wrap nicely under the logo */
  .site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    font-size: 0.95rem;
  }

  .site-nav a,
  .nav-dropdown-toggle {
    font-size: 0.95rem;
  }
}

.site-name {
  font-family: "Black Mango", serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fdf8f3;
}

/*==========================
  Assessments Section Soft Redesign
==========================*/
/* =========================
   21 Aspects cards (no parallax)
   ========================= */
   .assessments-heading {
    text-align: center;
    font-family: var(--font-header);
    font-size: 2.2rem;
    color: var(--color-faith-blue);
    margin-bottom: 0.3rem;
  }
  
  .assessments-sub {
    text-align: center;
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--color-devotion);
    max-width: 700px;
    margin: 0 auto 3rem auto;
    line-height: 1.55;
  }
  
   .assessments {
    background-color: var(--color-belief);
    max-width: 1400px;
    margin: 0 auto;
    padding: calc(var(--space-xl) * 1.4) var(--space-m);
  }
  
  /* each card */
  .assessment-block {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 0;
    background: #fdf8f3;
    border-radius: 54px;
    overflow: hidden;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  
    /* Apple-style inset */
    --elev: 0;
    box-shadow:
      0 30px 80px rgba(0, 0, 0, calc(0.04 + 0.10 * var(--elev))),
      0 0 0 1px rgba(255, 255, 255, 0.65) inset;
  
    /* animation base state */
    opacity: 0;
    transform: translateX(-80px);
    transition:
      opacity 700ms ease,
      transform 700ms ease,
      box-shadow 400ms ease;
  }
  
  /* spacing */
  .assessment-block + .assessment-block {
    margin-top: 4.5rem;
  }
  
  /* fixed gradient, soft edges */
  .assessment-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        to right,
        #023550 0%,
        #023550 28%,
        rgba(2, 53, 80, 0.45) 48%,
        rgba(2, 53, 80, 0.02) 78%,
        rgba(2, 53, 80, 0) 100%
      );
    background-repeat: no-repeat;
    background-size: 100% 100%;
    opacity: 0.98;
    pointer-events: none;
    z-index: 0;
  }
  
  /* PRO mirrored gradient */
  .assessment-block--pro::before {
    background:
      linear-gradient(
        to left,
        #023550 0%,
        #023550 28%,
        rgba(2, 53, 80, 0.45) 48%,
        rgba(2, 53, 80, 0.02) 78%,
        rgba(2, 53, 80, 0) 100%
      );
  }
  
  /* PRO slides from opposite side */
  .assessment-block--pro {
    flex-direction: row-reverse;
    transform: translateX(80px);
  }
  
  /* when in view */
  .assessment-block.in-view,
  .assessment-block--pro.in-view {
    opacity: 1;
    transform: translateX(0);
  }
  
  /* stable gradient glow */
  .assessment-block.in-view::before {
    opacity: 1;
  }
  
  /* ===== Logo Column ===== */
  .assessment-logo-bg {
    position: relative;
    flex: 0 0 48%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 3rem 2.5rem;
    z-index: 1;
  }
  
  /* nudge toward dark side */
  .assessment-block--personal .assessment-logo-bg {
    padding-left: 1.75rem;
    padding-right: 3.5rem;
  }
  .assessment-block--pro .assessment-logo-bg {
    padding-right: 1.75rem;
    padding-left: 3.5rem;
    justify-content: flex-end;
  }
  
  /* glow halo */
  .assessment-logo-bg::after {
    content: "";
    position: absolute;
    inset-inline: 10%;
    height: 72%;
    border-radius: 999px;
    background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.28), transparent 60%);
    opacity: 0;
    filter: blur(14px);
    mix-blend-mode: screen;
    transition:
      opacity 600ms ease,
      transform 600ms ease;
  }
  
  .assessment-block.in-view .assessment-logo-bg::after {
    opacity: 0.9;
    transform: translateY(0);
  }
  
  /* logo img */
  .assessment-logo {
    position: relative;
    z-index: 2;
  }
  .assessment-logo img {
    width: 100%;
    max-width: 520px;
    height: auto;
  }
  
  /* ===== Content Column ===== */
  .assessment-content {
    position: relative;
    flex: 1 1 52%;
    padding: 3.5rem 5rem 3.5rem 4rem; /* increased right padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    z-index: 1;
  }
  
  .assessment-content h2 {
    font-family: var(--font-header);
    font-size: clamp(2.1rem, 2.7vw, 2.6rem);
    color: var(--color-faith-blue);
    margin-left: 0.25rem;
	line-height: 1;
  }
  
  .assessment-content p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-devotion);
    max-width: 42rem;
  }
  
/* Smaller, centered buttons ONLY in the Assessments section */
.assessment-content .btn-primary {
  display: inline-block;          /* no full-width */
  margin: 1.5rem auto 0 auto;     /* center under paragraph */
  padding: 0.8rem 2.3rem;         /* smaller than hero */
  font-size: 0.95rem;             /* a bit smaller text */
  text-align: center;             /* center the label */
  border-radius: 40px;            /* softer pill, optional */
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15); /* lighter shadow */
}

.assessment-content .btn-primary:hover {
  background-color: #f8d196;
  transform: translateY(-2px);
}
  
  /* =========================
     Responsive
     ========================= */
  
  @media (max-width: 900px) {
    .assessment-block,
    .assessment-block--pro {
      flex-direction: column;
      transform: translateY(40px);
    }
  
    .assessment-block.in-view,
    .assessment-block--pro.in-view {
      transform: translateY(0);
    }
  
    .assessment-block::before,
    .assessment-block--pro::before {
      background:
        radial-gradient(
          circle at top center,
          #023550 0%,
          #023550 32%,
          rgba(2,53,80,0.35) 52%,
          rgba(2,53,80,0.02) 80%,
          rgba(2,53,80,0) 100%
        );
      background-repeat: no-repeat;
      background-size: 100% 100%;
    }
  
    .assessment-logo-bg {
      justify-content: center;
      padding: 2.75rem 2.25rem;
    }
  
    .assessment-block--personal .assessment-logo-bg,
    .assessment-block--pro .assessment-logo-bg {
      padding-left: 2.25rem;
      padding-right: 2.25rem;
      justify-content: center;
    }
  
    .assessment-content {
      padding: 2.5rem 2rem 3rem;
    }
  }
  
  @media (max-width: 768px) {
    .assessment-logo-bg {
      width: 100%;
      padding: var(--space-l);
    }
  }

/* ==========================
   PROGRAMS SECTION (RESTORED WIDE LAYOUT)
   ========================== */

   #programs.development {
    padding: 3rem 1.5rem 4rem;
  }
  
  #programs .programs-inner {
    max-width: 1600px;        /* wider container like your screenshot */
    margin: 0 auto;
  }
  
  #programs .development-heading {
    text-align: center;
    font-family: var(--font-header);
    font-size: 2.2rem;
    color: var(--color-faith-blue);
    margin-bottom: 0.3rem;
  }
  
  /* GRID — wide 4-column layout */
  #programs .development-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);    /* restored wide boxes */
    gap: 2.5rem;                               /* more breathing room */
  }
  
  /* Responsive */
  @media (max-width: 1050px) {
    #programs .development-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (max-width: 650px) {
    #programs .development-grid {
      grid-template-columns: 1fr;
    }
  }

  #programs .development-grid > li {
    aspect-ratio: 1 / 1;   /* make each slot a square */
    display: flex;         /* so the card can flex to fill it */
  }
  
  /* Each card sized like your screenshot */
  #programs .dev-card {
    width: 100%;
    height: 100%; /* shorter rectangle, not tall */
    background: #ffffff;
    border-radius: 2rem;
    box-shadow:
      0 10px 20px rgba(0,0,0,0.07),
      0 3px 6px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    padding: 2rem 1.8rem;
    overflow: hidden;
    transition: transform 200ms ease, box-shadow 200ms ease;
  }
  
  #programs .dev-card:hover {
    transform: translateY(-6px);
    box-shadow:
      0 16px 28px rgba(0,0,0,0.12),
      0 6px 14px rgba(0,0,0,0.08);
  }
  
  /* Title spacing */
  #programs .dev-card-header {
    text-align: center;
    margin-bottom: 1rem;
  }
  
  #programs .dev-title {
    font-family: var(--font-header);
    font-size: clamp(1.4rem, 1.6vw, 1.8rem);
    color: var(--color-faith-blue);
    margin: 0 0 0.6rem 0;   /* reduced bottom margin */
    line-height: 1;     /* much tighter line spacing */
  }  
  
  .programs-sub {
    text-align: center;
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--color-devotion);
    max-width: 700px;
    margin: 0 auto 3rem auto;
    line-height: 1.21;
  }
  /* Body */
 /* ==== PROGRAMS: Fix hover overlay & alignment ==== */

/* The body holds the overlapping layers */
#programs .dev-card-body {
  position: relative;              /* critical for absolute children */
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 1rem;
}

/* Both layers share the same box and are stacked */
#programs .dev-photo,
#programs .dev-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 1.5rem;
  text-align: center;
}

/* PHOTO layer – visible by default */
#programs .dev-photo {
  opacity: 1;
  transition: opacity 200ms ease, transform 200ms ease;
}

/* Circle image sizing */
#programs .dev-photo img {
  width: 70%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}

/* CONTENT layer – hidden by default */
#programs .dev-content {
  opacity: 0;
  transition: opacity 200ms ease;
}

/* Hover swap */
#programs .dev-card:hover .dev-photo {
  opacity: 0;
  transform: scale(0.85);
}

#programs .dev-card:hover .dev-content {
  opacity: 1;
}

/* Text inside hover */
#programs .dev-subtitle {
  font-family: var(--font-header);
  font-size: 1.3rem;
  margin-bottom: 1.21rem;
  line-height: 1.21;
}

#programs .dev-description {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.5;
  color: #4c4c4c;
  max-width: 18rem;
  line-height: 1.21;
}

/* base state, before it is scrolled into view */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
  margin-top: 26px;
}

.connect-card {
  border-radius: 18px;
  padding: 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.connect-card-title {
  margin: 0 0 10px;
  font-size: 18px;
}

.connect-card-text {
  margin: 0;
  line-height: 1.65;
  opacity: .92;
}

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

.connect-email {
  margin-top: 14px;
}

.connect-email a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: .95;
}

/* Make embed feel intentional and prevent it from hanging off-center */
.form-embed {
  margin-top: 14px;
  border-radius: 16px;
  overflow: hidden;
}

/* Mobile stacking */
@media (max-width: 900px) {
  .connect-grid {
    grid-template-columns: 1fr;
  }
}


/* once visible */
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
  
.founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 32px;
}

.founders img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
}

/* Stack on smaller screens */
@media (max-width: 768px) {
  .founders {
    grid-template-columns: 1fr;
  }
}

  /* ==========================
     FOOTER LOGO
     ========================== */
  
  .footer-logo {
    width: 140px;
    height: auto;
    display: block;
    margin: 0 auto 1rem;
  }

  /* --- MOBILE HEADER FIXES (override earlier rules) --- */
@media (max-width: 768px) {
  /* tighten header padding */
  .site-header {
    padding: 0.75rem 1.25rem;
  }

  /* stack logo and nav, centered */
  .site-header-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
  }

  /* make the logo feel intentional, not tiny */
  .site-mark,
  .site-brand img {
    width: 35px;
    max-width: 35px;
    height: auto;
  }

  /* real nav container (you don’t have .main-nav) */
  .site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 1.4rem; /* row / column gaps */
  }

  .site-nav a,
  .nav-dropdown-toggle {
    font-size: 0.9rem;
  }

  /* keep “21 Aspects TM” on one line now that
     “Assessments” is hidden via .hide-mobile */
  .nav-link-with-menu {
    white-space: nowrap;
  }
}
