/* ============================================================
   Greater Heights Network â€” Shared Design System
   Aesthetic: Calm professional wellness
   Soft sage + deep teal + warm ivory + charcoal
   ============================================================ */

:root {
  /* Palette */
  --color-primary: #1a4d47;
  --color-primary-dark: #0f332f;
  --color-primary-light: #2d6b63;
  --color-accent: #4a9b8c;
  --color-accent-soft: #e8f3f0;
  --color-warm: #c4a574;
  --color-bg: #f7f5f2;
  --color-bg-alt: #eef2f0;
  --color-surface: #ffffff;
  --color-text: #2c2c2c;
  --color-text-muted: #5a6360;
  --color-text-light: #f7f5f2;
  --color-border: rgba(26, 77, 71, 0.12);
  --color-overlay: rgba(15, 40, 38, 0.48);
  /* Home hero: green glass wash over the photo */
  --color-hero-glass: rgba(26, 77, 71, 0.52);
  --color-nav-scrolled: rgba(15, 51, 47, 0.92);
  --color-danger: #c0392b;
  --color-success: #1e7a4a;

  /* Typography */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;

  /* Spacing & layout */
  --container: 1280px;
  --page-gutter: clamp(1rem, 2.5vw, 1.5rem);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --shadow-sm: 0 2px 12px rgba(15, 40, 38, 0.06);
  --shadow-md: 0 8px 30px rgba(15, 40, 38, 0.1);
  --shadow-lg: 0 20px 50px rgba(15, 40, 38, 0.14);
  --transition: 0.25s ease;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Offset anchor targets so fixed header doesnâ€™t cover headings */
[id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-primary-dark);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin: 0 0 1em;
  color: var(--color-text-muted);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - (var(--page-gutter) * 2), var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-header p {
  font-size: 1.05rem;
}

/* ---------- Announcement bar ---------- */
.announcement {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: var(--color-primary);
  color: var(--color-text-light);
  font-size: 0.75rem;
  font-weight: 500;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease;
  max-height: 120px;
}

.announcement.is-collapsed {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
  border: none;
}

.announcement__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.55rem 2.75rem 0.55rem 1.25rem;
  text-align: center;
}

.announcement p {
  margin: 0;
  color: inherit;
  font-size: 0.75rem;
  line-height: 1.45;
  font-weight: 500;
}

.announcement a {
  color: #f0d9a8;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.announcement a:hover {
  color: #fff;
}

.announcement__close {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition);
}

.announcement__close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* ---------- Site header (fixed full-width; never repositions on scroll) ---------- */
.site-header {
  position: fixed;
  top: var(--header-offset, 0px);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  /* Only visual props transition â€” never position/top (avoids snap) */
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease,
    -webkit-backdrop-filter 0.35s ease,
    top 0.3s ease;
}

.site-header.is-scrolled,
.site-header.site-header--solid {
  background: var(--color-nav-scrolled);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--header-h);
  gap: 1rem;
}

/* Same gutters as page content â€” light inset, not a deep inset */
.container.navbar {
  width: min(100% - (var(--page-gutter) * 2), var(--container));
  padding-inline: 0;
  box-sizing: border-box;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
}

.brand:hover {
  color: #fff;
}

.brand__logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.brand__name {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.6vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  min-width: 0;
}

/* Keep "Greater Heights Network" on one line where space allows */
.brand__title {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-links a.nav-cta {
  background: var(--color-accent);
  color: #fff;
  margin-left: 0.35rem;
}

.nav-links a.nav-cta:hover {
  background: #5db0a0;
  color: #fff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.1rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  /* Padding top for absolute header */
  padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
  background-color: var(--color-primary-dark);
  /* Fallback if --hero-image is set on the element itself (not via var in external CSS â€”
     relative urls inside custom props resolve against the stylesheet and break) */
  background-image: var(--hero-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dedicated photo layer â€” image URL set as background-image on this element in HTML */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--color-primary-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Full-bleed hero still reads as 100vh when a slim announcement sits above it */
.announcement:not(.is-collapsed)+.hero,
.announcement:not(.is-collapsed)+.page-hero {
  min-height: calc(100vh - 48px);
  min-height: calc(100dvh - 48px);
}

/* Semi-transparent green glass over the photo */
.hero__glass {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(165deg,
      rgba(26, 77, 71, 0.48) 0%,
      rgba(15, 51, 47, 0.32) 50%,
      rgba(26, 77, 71, 0.45) 100%);
  backdrop-filter: blur(4px) saturate(1.1);
  -webkit-backdrop-filter: blur(4px) saturate(1.1);
}

/* Legacy ::before kept off for .hero when using .hero__glass */
.hero::before {
  content: none;
}

/* Content only â€” do NOT include .site-header (that was centering the nav) */
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(100%, 52rem);
  padding-inline: var(--page-gutter);
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-warm);
  margin-bottom: 1rem;
}

.hero h1 {
  color: #fff;
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero__lead {
  max-width: 40rem;
  margin: 0 auto 2rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
}

/* Compact page hero (inner pages) */
.page-hero {
  position: relative;
  min-height: 52vh;
  min-height: 52dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: calc(var(--header-h) + 2.5rem) 1.5rem 3.5rem;
  background-color: var(--color-primary-dark);
  overflow: hidden;
}

.page-hero .hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Events hero: keep subject on the right on smaller screens */
.hero__media--events {
  background-position: center center;
}

@media (max-width: 768px) {
  .hero__media--events {
    background-position: right center;
  }
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  z-index: 1;
  pointer-events: none;
}

.page-hero .hero__content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 32rem;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* About: full background story lives in the hero */
.page-hero--story {
  min-height: min(92vh, 820px);
  min-height: min(92dvh, 820px);
  justify-content: center;
  padding-bottom: 4rem;
}

.hero__content--story {
  width: min(100%, 42rem);
  max-width: 42rem;
  text-align: center;
}

.hero__content--story h1 {
  margin-bottom: 1rem;
}

.hero__content--story p {
  max-width: none;
  margin: 0 0 1rem;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.hero__content--story p:last-child {
  margin-bottom: 0;
}

.hero__content--story strong {
  color: #fff;
  font-weight: 600;
}

/* Mobile menu overlay lives with the fixed header stack */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 999;
}

.nav-overlay.is-open {
  display: block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(74, 155, 140, 0.35);
}

.btn--primary:hover {
  background: #5db0a0;
  color: #fff;
}

.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn--outline:hover {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.btn--dark {
  background: var(--color-primary);
  color: #fff;
}

.btn--dark:hover {
  background: var(--color-primary-light);
  color: #fff;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* ---------- Cards (soft, no harsh boxes) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-soft);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Image cards */
.media-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.media-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.media-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.media-card:hover .media-card__image img {
  transform: scale(1.05);
}

.media-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.media-card__body h3 {
  margin-bottom: 0.5rem;
}

.media-card__body p {
  flex: 1;
  font-size: 0.95rem;
}

.media-card__link {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-primary);
  letter-spacing: 0.03em;
}

.media-card__link:hover {
  color: var(--color-accent);
}

/* Image with rounded corners (no boxed look) */
.rounded-img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-placeholder-note {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  opacity: 0.85;
}

/* ---------- Split / feature layouts ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
  background: var(--color-bg-alt);
}

.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__content .section-label {
  margin-bottom: 0.5rem;
}

/* Mission / vision soft panels */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mv-panel {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.mv-panel h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.mv-panel p {
  margin: 0;
}

/* Values â€” soft chips, not heavy boxes */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.value-item {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  min-width: 0;
}

.value-item:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.value-item i {
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: 0.85rem;
  display: block;
  line-height: 1;
}

.value-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.value-item p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Strategies â€” numbered, open layout */
.strat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.strat-item {
  text-align: left;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.strat-item__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.strat-item h3 {
  margin-bottom: 0.5rem;
}

.strat-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Program spotlight (Teen Mentorship) ---------- */
.spotlight {
  background: var(--color-primary-dark);
  color: #fff;
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--spotlight-image, none);
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}

.spotlight .container {
  position: relative;
  z-index: 1;
}

.spotlight h2,
.spotlight h3 {
  color: #fff;
}

.spotlight p,
.spotlight li {
  color: rgba(255, 255, 255, 0.85);
}

.spotlight__price {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-warm);
  margin: 1rem 0;
}

.spotlight__intro {
  max-width: 40rem;
  text-align: center;
}

/* Ages Â· statement Â· price â€” centered stacks: icon + title, then detail */
.spotlight-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 1.5rem auto 0;
  padding: 0;
  text-align: center;
  max-width: 36rem;
}

.spotlight-meta__group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
  padding: 1.1rem 0;
}

/* Soft divider between groups â€” keeps them separate but still one unit */
.spotlight-meta__group+.spotlight-meta__group {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
}

.spotlight-meta__group+.spotlight-meta__group::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-warm);
  box-shadow: 0 0 0 3px rgba(15, 51, 47, 0.85);
}

.spotlight-meta__title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.spotlight-meta__title i {
  color: var(--color-warm);
  font-size: 1rem;
}

.spotlight-meta__detail {
  margin: 0;
  max-width: 32rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.spotlight-meta__group--price .spotlight-meta__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-warm);
}

.spotlight-meta__group--price .spotlight-meta__detail {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  text-transform: none;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin-inline: auto;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.spotlight-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.spotlight-panel h3 {
  font-size: 1.15rem;
  color: var(--color-warm);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
}

.spotlight-panel ul li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.spotlight-panel ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.sponsors-track {
  margin-top: 2.5rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.sponsors-track__inner {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.sponsors-track img {
  height: 56px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  /* Keep original logo colours â€” no invert/brightness filters */
  opacity: 1;
  background: transparent;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.pay-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pay-strip__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-warm);
  margin: 0;
}

.pay-chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}

.pay-chip:hover {
  background: rgba(255, 255, 255, 0.18);
}

.pay-chip small {
  display: block;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.15rem;
}

.contact-inline {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.95rem;
}

.contact-inline a {
  color: #fff;
  font-weight: 600;
  margin: 0 0.35rem;
}

.contact-inline a:hover {
  color: var(--color-warm);
}

.contact-inline i {
  margin-right: 0.25rem;
  color: var(--color-accent);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Contact page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.contact-info-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.contact-info-card h2 {
  margin-bottom: 0.5rem;
}

.info-list {
  margin-top: 1.75rem;
}

.info-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.info-list i {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--color-accent-soft);
  color: var(--color-primary);
  display: grid;
  place-items: center;
}

.contact-form-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(74, 155, 140, 0.2);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-message {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-message.is-success {
  display: block;
  background: #e6f6ec;
  color: var(--color-success);
}

.form-message.is-error {
  display: block;
  background: #fdecea;
  color: var(--color-danger);
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 0;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.hours-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.soft-panel {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.soft-panel h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.soft-panel p {
  margin: 0;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.social-links a:hover {
  color: var(--color-primary);
}

.social-links i {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--color-accent-soft);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}


/* ---------- Service tracks (3 pillars) ---------- */
.track-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.track-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

.track-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.track-card__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.track-card h3 {
  margin-bottom: 0.65rem;
}

.track-card p {
  flex: 1;
  margin-bottom: 1.25rem;
}

.track-card ul {
  margin: 0 0 1.25rem;
  padding: 0;
}

.track-card ul li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.track-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.track-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* ---------- Bento grid (corporate wellness) — premium ---------- */
.bento-wrap {
  padding: 0.25rem;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(160px, auto);
  gap: 1.15rem;
}

.bento__cell {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  padding: 1.65rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 170px;
  /* Default = dark surface (photo / deep teal). Light cards override below. */
  color: #fff;
  background: var(--color-primary-dark);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 12px 40px rgba(15, 40, 38, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.bento__cell:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 20px 50px rgba(15, 40, 38, 0.16);
}

/* Layout map (desktop) */
.bento__cell--tall {
  grid-column: 1 / span 3;
  grid-row: 1;
  min-height: 380px;
  padding: 2rem;
  justify-content: flex-end;
}

.bento__cell--wide {
  grid-column: 4 / span 5;
  grid-row: 1;
  min-height: 380px;
  padding: 2rem;
}

.bento__cell--square {
  grid-column: 9 / span 4;
  grid-row: 1;
  min-height: 380px;
  justify-content: center;
  text-align: center;
}

.bento__cell--square .bento__body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bento__cell--square .bento__icon {
  width: 84px;
  height: 84px;
  font-size: 2.25rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.bento__cell--r2a {
  grid-column: 1 / span 4;
  grid-row: 2;
  min-height: 175px;
}

.bento__cell--r2b {
  grid-column: 5 / span 4;
  grid-row: 2;
  min-height: 175px;
}

.bento__cell--r2c {
  grid-column: 9 / span 4;
  grid-row: 2;
  min-height: 175px;
}

.bento__cell--r3a {
  grid-column: 1 / span 4;
  grid-row: 3;
  min-height: 175px;
}

.bento__cell--r3b {
  grid-column: 5 / span 4;
  grid-row: 3;
  min-height: 175px;
}

.bento__cell--r3c {
  grid-column: 9 / span 4;
  grid-row: 3;
  min-height: 175px;
}

/* Dark / image tiles */
.bento__cell--accent {
  background: linear-gradient(155deg, #245a54 0%, #143d39 55%, #0f332f 100%);
  color: #fff;
}

.bento__cell--warm {
  background: linear-gradient(155deg, #b8925c 0%, #8a6a3c 50%, #6b5230 100%);
  color: #fff;
}

/* Light tiles — force dark text (beats generic white p/h3 rules) */
.bento__cell--soft {
  background: linear-gradient(180deg, #ffffff 0%, #f3f7f5 100%);
  color: var(--color-text);
  border: 1px solid rgba(26, 77, 71, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 36px rgba(15, 40, 38, 0.07);
  justify-content: flex-start;
}

.bento__cell--soft:hover {
  border-color: rgba(74, 155, 140, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 18px 44px rgba(15, 40, 38, 0.1);
}

.bento__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}

.bento__cell:hover .bento__media {
  transform: scale(1.06);
}

.bento__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 35, 32, 0.2) 0%, rgba(10, 35, 32, 0.55) 45%, rgba(10, 35, 32, 0.88) 100%);
}

.bento__cell--tall .bento__media::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.6) 45%, rgba(250, 250, 250, 0.95) 100%);
}

.bento__body {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.bento__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  color: var(--color-warm);
}

.bento__cell--soft .bento__label {
  color: var(--color-accent);
}

.bento__cell h3 {
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
  margin: 0 0 0.5rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: #fff;
}

.bento__cell p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

/* Critical: light cards must win over white text defaults */
.bento__cell--soft,
.bento__cell--tall,
.bento__cell--soft .bento__body,
.bento__cell--tall .bento__body {
  color: var(--color-text);
}

.bento__cell--soft h3,
.bento__cell--tall h3 {
  color: var(--color-primary-dark) !important;
}

.bento__cell--soft p,
.bento__cell--tall p {
  color: var(--color-text-muted) !important;
}

.bento__cell--soft .bento__label,
.bento__cell--tall .bento__label {
  color: var(--color-accent) !important;
}

.bento__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.bento__cell--soft .bento__icon {
  background: var(--color-accent-soft);
  color: var(--color-primary);
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.bento-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--color-text-muted);
  text-align: center;
}

/* ---------- Experience / orgs list ---------- */
.experience-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2.5rem;
}

.experience-group h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.85rem;
}

.experience-group ul {
  margin: 0;
  padding: 0;
}

.experience-group li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.experience-group li:last-child {
  border-bottom: none;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.chip {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--color-accent-soft);
  color: var(--color-primary-dark);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ---------- Insurance / approved provider logos (static) ---------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.logo-wall__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 110px;
  text-align: center;
}

.logo-wall__item img {
  max-height: 48px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.logo-wall__item span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

/* ---------- Professionals strip ---------- */
.pro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

@media (min-width: 960px) {
  .pro-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pro-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.15rem 1.2rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.pro-item i {
  color: var(--color-accent);
  font-size: 1.15rem;
  margin-top: 0.15rem;
}

.pro-item h3 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.pro-item p {
  margin: 0;
  font-size: 0.85rem;
}

/* ---------- Service detail blocks ---------- */
.service-block {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-border);
}

.service-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-block__head {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.service-block__head .card__icon {
  flex-shrink: 0;
  margin-bottom: 0;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem 1.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}

.belief-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.belief-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.belief-card h3 {
  margin-bottom: 0.5rem;
}

@media (max-width: 960px) {

  .track-grid,
  .belief-grid,
  .experience-cols {
    grid-template-columns: 1fr;
  }

  .bento__cell--tall,
  .bento__cell--wide,
  .bento__cell--square,
  .bento__cell--r2a,
  .bento__cell--r2b,
  .bento__cell--r2c,
  .bento__cell--r3a,
  .bento__cell--r3b,
  .bento__cell--r3c {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 190px;
  }

  .bento__cell--tall {
    min-height: 320px;
  }

  .bento__cell {
    border-radius: 18px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.925rem;
  max-width: 28ch;
  margin-top: 1rem;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.15rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Utility ---------- */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {

  .split,
  .mv-grid,
  .strat-grid,
  .spotlight-grid,
  .contact-layout,
  .hours-social,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split__image {
    order: -1;
    max-height: 320px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: var(--color-primary-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    gap: 0.25rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.3);
    z-index: 1001;
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-links a {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
  }

  .nav-links a.nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .brand__name {
    font-size: clamp(0.72rem, 3.2vw, 0.9rem);
    gap: 0.3em 0.4em;
  }

  .brand__logo {
    width: 42px;
    height: 42px;
  }

  .announcement__inner {
    padding-right: 2.75rem;
  }

  .announcement p {
    font-size: 0.7rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero {
    min-height: 100svh;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .sponsors-track__inner {
    animation: none;
  }
}