/* =========================================================
   CUSTOM FONTS — SCProsperSans
========================================================= */
@font-face {
  font-family: SCProsperSansregular;
  src: url("fonts/SCProsperSans/SCProsperSans-Regular.woff2");
}
@font-face {
  font-family: SCProsperSanslight;
  src: url("fonts/SCProsperSans/SCProsperSans-Light.woff2");
}
@font-face {
  font-family: SCProsperSansmedium;
  src: url("fonts/SCProsperSans/SCProsperSans-Medium.woff2");
}
@font-face {
  font-family: SCProsperSansbold;
  src: url("fonts/SCProsperSans/SCProsperSans-Bold.woff2");
}

/* =========================================================
   CSS VARIABLES & RESET
========================================================= */
:root {
  --green:      #1fab48;
  --green-d:    #178a3c;
  --green-glow: rgba(31,171,72,0.15);
  --blue:       #308cdb;
  --lightblue:  #020b43;
  --darkblue:   #111822;
  --custblue:   #064474;
  --lightbg:    #f1f1f1;
  --textgray:   #7c7c7c;
  --white:      #ffffff;
  --off-white:  rgba(255,255,255,0.75);
  --dim:        rgba(255,255,255,0.35);
  --border:     rgba(255,255,255,0.07);
  --section-pad: 100px 0;

  /* Font families */
  --font-regular: SCProsperSansregular, sans-serif;
  --font-light:   SCProsperSanslight, sans-serif;
  --font-medium:  SCProsperSansmedium, sans-serif;
  --font-bold:    SCProsperSansbold, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-regular);
  background: var(--darkblue);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
a:hover{
  text-decoration: none; 
}
ul { list-style: none; padding: 0; margin: 0; }
button { cursor: pointer; font-family: inherit; }

/* =========================================================
   TYPOGRAPHY ATOMS
========================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.3em;
  color: var(--green);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--green);
  flex-shrink: 0;
}

.display-title {
  font-family: SCProsperSansbold;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.01em;
}

/* =========================================================
   BUTTONS
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 36px;
  font-family: SCProsperSansbold;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  border-radius: 1px;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-green  { background: var(--green); color: #fff !important; border-color: var(--green); }
.btn-green:hover { background: var(--green-d); border-color: var(--green-d); }
.btn-ghost  { background: transparent; color: #fff !important; border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.07); border-color: #fff; }
.btn-blue   { background: var(--blue); color: #fff !important; border-color: var(--blue); }
.btn-blue:hover { background: #2278be; }
.btn-sm { padding: 10px 22px; font-size: 0.78rem; }

/* =========================================================
   NAV
========================================================= */
  .nm-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    transition: background 0.4s, box-shadow 0.4s;
  }
  .nm-nav.scrolled {
    background: rgba(2,11,50,0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 40px rgba(0,0,0,0.3);
  }

  /* ── Logos ── */
  .nm-nav__logo img {
    display: block;
    height: auto;
    padding: 14px 0;
    transition: max-width 0.3s, padding 0.3s;
  }
  .nm-nav__logo--left  img { max-width: 180px; }
  .nm-nav__logo--right img { max-width: 140px; }
  .nm-nav.scrolled .nm-nav__logo--left  img { max-width: 110px; padding: 10px 0; }
  .nm-nav.scrolled .nm-nav__logo--right img { max-width: 100px; padding: 10px 0; }

  /* ── Desktop links ── */
  .nm-nav__links {
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .nm-nav__item { position: relative; }

  .nm-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.82);
    padding: 8px 12px;
    border-radius: 3px;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
  }
  .nm-nav__link:hover,
  .nm-nav__link.active {
    color: var(--green);
    background: rgba(31,171,72,0.07);
    text-decoration: none;
  }

  /* Chevron */
  .nm-nav__chevron {
    transition: transform 0.25s;
    opacity: 0.5;
    flex-shrink: 0;
  }

  /* ── Desktop dropdown ── */
  .nm-nav__sub {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    min-width: 200px;
    background: rgba(6,15,60,0.98);
    border: 1px solid rgba(255,255,255,0.08);
    border-top: 2px solid var(--green);
    border-radius: 3px;
    padding: 8px 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 16px 40px rgba(0,0,0,0.45);
    z-index: 200;
  }
  /* Arrow */
  .nm-nav__sub::before {
    content: '';
    position: absolute;
    top: -6px; left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: var(--green);
    border-top: none;
  }
  /* Bridge — invisible area that covers the gap so mouse can travel to submenu */
  .nm-nav__sub::after {
    content: '';
    position: absolute;
    bottom: 100%; left: 0; right: 0;
    height: 10px;
  }
  /* Show via JS-added .is-open class */
  .nm-nav__item--has-sub.is-open > .nm-nav__sub {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .nm-nav__item--has-sub.is-open > .nm-nav__link .nm-nav__chevron {
    transform: rotate(180deg);
    opacity: 1;
  }
  .nm-nav__item--has-sub.is-open > .nm-nav__link {
    color: var(--green);
    background: rgba(31,171,72,0.07);
  }

  .nm-nav__sub-link {
    display: block;
    font-size: 0.76rem;
    color: rgba(255,255,255,0.6);
    padding: 10px 20px;
    transition: color 0.2s, background 0.2s, padding-left 0.2s;
    white-space: nowrap;
    text-decoration: none;
  }
  .nm-nav__sub-link:hover {
    color: var(--green);
    background: rgba(31,171,72,0.07);
    padding-left: 26px;
    text-decoration: none;
  }

  /* ── Hamburger ── */
  .nm-nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 300;
    position: relative;
  }
  .nm-nav__hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
  }
  .nm-nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nm-nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
  .nm-nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── Overlay ── */
  .nm-nav__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 150;
  }

  /* ── Drawer logo + mobile CTA: hidden on desktop ── */
  .nm-nav__drawer-logo { display: none; }
  .nm-nav__mobile-cta  { display: none !important; }

  /* ================================================================
      MOBILE  ≤ 991px
  ================================================================ */
  @media (max-width: 991px) {

    .nm-nav { padding: 0 16px; }

    /* Hide right logo from nav bar */
    .nm-nav__logo--right { display: none; }

    /* Show hamburger */
    .nm-nav__hamburger { display: flex; }

    /* ── Slide-in drawer ── */
    .nm-nav__links {
      position: fixed;
      top: 0; right: 0;
      width: min(290px, 80vw);
      height: 100vh;
      background: rgba(2,11,50,0.99);
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      gap: 0;
      padding: 16px 16px 40px;
      overflow-y: auto;
      transform: translateX(100%);
      transition: transform 0.32s cubic-bezier(0.22,1,0.36,1);
      z-index: 200;
      border-left: 1px solid rgba(255,255,255,0.08);
    }
    .nm-nav__links.is-open { transform: translateX(0); }

    /* Drawer logo */
    .nm-nav__drawer-logo {
      display: flex;
      padding: 8px 0 16px;
      margin-bottom: 8px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      width: 100%;
    }
    .nm-nav__drawer-logo img { max-width: 110px; }

    /* All nav items full width */
    .nm-nav__item,
    a.nm-nav__link { width: 100%; }

    .nm-nav__link {
      width: 100%;
      font-size: 0.88rem;
      padding: 12px 10px;
      justify-content: space-between;
      border-radius: 4px;
    }

    /* ── Mobile accordion dropdown ── */
    .nm-nav__sub {
      /* Reset ALL desktop styles */
      position: static !important;
      transform: none !important;
      opacity: 1 !important;
      pointer-events: auto !important;
      background: rgba(255,255,255,0.04) !important;
      border: none !important;
      border-left: 2px solid var(--green) !important;
      border-radius: 0 !important;
      box-shadow: none !important;
      backdrop-filter: none !important;
      padding: 4px 0 4px 6px !important;
      margin: 2px 0 4px 10px !important;
      min-width: unset !important;
      z-index: auto !important;
      /* Hidden by default */
      display: none !important;
    }
    /* Remove pseudo-elements that interfere */
    .nm-nav__sub::before,
    .nm-nav__sub::after { display: none !important; }

    /* Show when parent has .is-open */
    .nm-nav__item--has-sub.is-open > .nm-nav__sub {
      display: block !important;
    }
    .nm-nav__item--has-sub.is-open > .nm-nav__link .nm-nav__chevron {
      transform: rotate(180deg);
      opacity: 1;
    }

    .nm-nav__sub-link { padding: 10px 12px; font-size: 0.82rem; }
    .nm-nav__sub-link:hover { padding-left: 18px; }

    /* Mobile CTA at bottom of drawer */
    .nm-nav__mobile-cta {
      display: flex !important;
      margin-top: 20px;
      width: 100%;
      justify-content: center;
    }
  }

  @media (max-width: 480px) {
    .nm-nav__logo--left img { max-width: 130px; }
  }

.nm-page-hero__sub{
  display: none;
}

.wrap { max-width: 1550px; width: 85%; margin: 0 auto; padding: 0 28px; }

/* =========================================================
   1. HERO
========================================================= */
.nm-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 90px;
}

.nm-hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

.nm-hero__video-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #0c1520 0%, #162840 60%, #111822 100%);
  z-index: 0;
}

.nm-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(17,24,34,0.85) 0%, rgba(17,24,34,0.3) 60%, transparent 100%),
    linear-gradient(to top, rgba(17,24,34,0.9) 0%, transparent 55%);
  z-index: 1;
}

.nm-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  z-index: 10;
}

.nm-hero__texture {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.012) 40px,
    rgba(255,255,255,0.012) 41px
  );
  z-index: 1;
  pointer-events: none;
}

.nm-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.nm-hero__inner { max-width: 900px; }

.nm-hero__date-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(31,171,72,0.12);
  border: 1px solid rgba(31,171,72,0.3);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: .8em;
  font-family: SCProsperSansbold;
  letter-spacing: 0.18em;
  color: var(--green);
  margin-bottom: 22px;
}
.nm-hero__date-pill span { width: 6px; height: 6px; background: var(--green); border-radius: 50%; animation: blink 1.4s ease-in-out infinite; }

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.nm-hero__title {
  font-family: SCProsperSansbold;
  font-size: clamp(3.2rem, 9vw, 5.5rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 24px;
}
.nm-hero__title .green { color: var(--green); }
.nm-hero__title .outline {
  -webkit-text-stroke: 2px rgb(255, 255, 255);
  color: transparent;
}

.nm-hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-family: var(--font-light);
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.nm-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.nm-hero__stats {
  display: flex;
  gap: 36px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.nm-hero__stat-num {
  font-family: SCProsperSansbold;
  font-size: 2.5rem;
  color: #fff;
  line-height: 1;
}
.nm-hero__stat-num span { color: var(--green); }
.nm-hero__stat-label {
  font-size: 0.65rem;
  font-family: var(--font-medium);
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.35);
  margin-top: 3px;
}

.nm-hero__scroll {
  position: absolute;
  bottom: 32px; right: 36px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 0.58rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.22em;
  text-transform: unset;;
}
.nm-hero__scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100%{transform:scaleY(1);opacity:0.5} 50%{transform:scaleY(0.6);opacity:1} }

/* =========================================================
   2. DATE BANNER + COUNTDOWN
========================================================= */
.nm-datebar {
  background: var(--lightblue);
  border-bottom: 1px solid var(--border);
}
.nm-datebar__inner {
  max-width: 1500px;
  width: 85%;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.nm-datebar__block {
  flex: 1;
  min-width: 140px;
  padding: 28px 25px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  transition: background 0.2s;
}

.nm-datebar__block.distance{
  min-width: 400px;
}
.nm-datebar__block.distance span { 
  padding-right: 5px;
}
.nm-datebar__block.distance span:nth-child(1) { 
  color: #ed2027; 
}

.nm-datebar__block.distance span:nth-child(2) { 
  color: #29aae2; 
}
.nm-datebar__block.distance span:nth-child(3) { 
  color: #3bb54a; 
}
.nm-datebar__block.distance span:nth-child(4) { 
  color: #f57f20; 
}

.nm-datebar__block:last-child { border-right: none; }
.nm-datebar__block:hover { background: rgba(255,255,255,0.03); }
.nm-datebar__block--green { background: var(--green); }
.nm-datebar__block--green:hover { background: var(--green-d); }
.nm-datebar__lbl {
  font-size: 0.6rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
}
.nm-datebar__block--green .nm-datebar__lbl { color: rgba(255,255,255,0.65); }
.nm-datebar__val {
  font-family: SCProsperSansbold;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: #fff;
  line-height: 1.05;
}
.nm-datebar__sub { font-size: 0.75rem; font-family: var(--font-light); color: rgba(255,255,255,0.45); }
.nm-datebar__block--green .nm-datebar__sub { color: rgba(255,255,255,0.7); }

.nm-countdown {
  display: flex;
  gap: 6px;
  align-items: center;
  flex: 2;
  padding: 20px 28px;
  border-right: 1px solid var(--border);
}
.nm-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 56px;
}
.nm-countdown__num {
  font-family: SCProsperSansbold;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--green);
  background: rgba(31,171,72,0.09);
  border: 1px solid rgba(31,171,72,0.22);
  border-radius: 4px;
  padding: 8px 12px;
  line-height: 1;
  width: 100%;
  text-align: center;
}
.nm-countdown__lbl {
  font-size: 0.55rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.22em;
  text-transform: unset;;
  color: rgba(255,255,255,0.3);
}
.nm-countdown__sep {
  font-family: SCProsperSansbold;
  font-size: 1.8rem;
  color: rgba(255,255,255,0.2);
  padding-bottom: 18px;
}

/* =========================================================
   3. RACE CATEGORIES
========================================================= */
.nm-races {
  padding: var(--section-pad);
  background: #fff;
  position: relative;
  overflow: hidden;
}
.nm-races::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(0 0 0 / 3%) 1px, transparent 1px), linear-gradient(90deg, rgb(1 1 1 / 3%) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.nm-races::after {
  content: 'RACE';
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  font-family: SCProsperSansbold;
  font-size: 25vw;
  color: rgb(75 67 67 / 9%);
  pointer-events: none;
  line-height: 1;
}

.nm-races .display-title{
    color: var(--darkblue);
}

.nm-races .btn-sm{
    color: #1fab48 !important;
    border-color: rgb(31 171 72);
}


.nm-races__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.nm-races__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  position: relative;
  z-index: 1;
}
.nm-race-card {
  background: var(--lightblue);
  padding: 44px 32px 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, background 0.3s;
  border-bottom: 10px solid #178a3c;
}
.nm-race-card:nth-child(1) {
  border-bottom: 10px solid #ed2027;
}
.nm-race-card:nth-child(1):before{
  background: #ed2027;
}
.nm-race-card:nth-child(1):hover .nm-race-card__km {
  color: #ed2027;
}
.nm-race-card:nth-child(2) {
  border-bottom: 10px solid #29aae2;
}
.nm-race-card:nth-child(2):hover .nm-race-card__km {
  color: #29aae2;
}
.nm-race-card:nth-child(2):before{
  background: #29aae2;
}
.nm-race-card:nth-child(3) {
  border-bottom: 10px solid #3bb54a;
}
.nm-race-card:nth-child(3):before{
  background: #3bb54a;
}
.nm-race-card:nth-child(3):hover .nm-race-card__km {
  color: #3bb54a;
}
.nm-race-card:nth-child(4) {
  border-bottom: 10px solid #f57f20;
}
.nm-race-card:nth-child(4):before{
  background: #f57f20;
}
.nm-race-card:nth-child(4):hover .nm-race-card__km {
  color: #f57f20;
}

.nm-race-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.nm-race-card:hover { transform: translateY(-5px); background: #1e2f42; }
.nm-race-card:hover::before { transform: scaleX(1); }
.nm-race-card:hover .nm-race-card__km { color: var(--green); }
.nm-race-card--featured { background: var(--green); }
.nm-race-card--featured::before { display: none; }
.nm-race-card--featured:hover { background: var(--green-d); transform: translateY(-5px); }
.nm-race-card--featured .nm-race-card__km { color: #fff; }
.nm-race-card__badge {
  display: inline-block;
  font-size: 0.58rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.2em;
  text-transform: unset;;
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.8);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 26px;
}
.nm-race-card__km {
  font-family: SCProsperSansbold;
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  color: #fff;
  line-height: 1;
  transition: color 0.25s;
}
.nm-race-card__unit {
  font-family: SCProsperSansbold;
  font-size: 1.3rem;
  opacity: 0.6;
  vertical-align: super;
}
.nm-race-card__name {
  font-size: 0.7rem;
  font-family: var(--font-medium);
  letter-spacing: 0.16em;
  text-transform: unset;;
  color: rgba(255,255,255,0.45);
  margin-top: 6px;
  margin-bottom: 22px;
}
.nm-race-card__divider {
  width: 28px; height: 2px;
  background: rgba(255,255,255,0.18);
  margin-bottom: 22px;
}
.nm-race-card__time {
  font-family: SCProsperSansbold;
  font-size: 1.4rem;
  color: #fff;
}
.nm-race-card__start { font-size: 0.75rem; font-family: var(--font-light); color: rgba(255,255,255,0.4); margin-top: 5px; }
.nm-race-card__link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.12em;
  text-transform: unset;;
  color: rgba(255,255,255,0.5);
  margin-top: 28px;
  transition: color 0.2s, gap 0.2s;
}
.nm-race-card:hover .nm-race-card__link { color: var(--green); gap: 12px; }
.nm-race-card--featured .nm-race-card__link { color: rgba(255,255,255,0.7); }
.nm-race-card--featured:hover .nm-race-card__link { color: #fff; }

/* =========================================================
   4. GALLERY — Equal size grid, 4-5 per row, 2 rows
========================================================= */
.nm-gallery {
  padding: var(--section-pad);
  background: var(--lightblue);
}
.nm-gallery__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.nm-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 240px);
  gap: 6px;
  width: 100%;
}
/* Override any span rules — all items equal */
.nm-gallery__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #0d1520;
  grid-column: span 1;
  grid-row: span 1;
}
/* Make row 1 item 1 span wider to fill if only 6 images in 4-col grid */
/* 4 cols × 2 rows = 8 slots; we have 6 images; first row: 4 items; second row starts at item 5 — no span needed */
.nm-gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nm-gallery__item:hover img { transform: scale(1.08); }
.nm-gallery__item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,24,34,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.nm-gallery__item:hover .nm-gallery__item-overlay { opacity: 1; }
.nm-gallery__zoom {
  width: 52px; height: 52px;
  background: rgba(31,171,72,0.85);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.nm-gallery__zoom svg { width: 22px; height: 22px; }
.nm-gallery__more { text-align: center; margin-top: 36px; }

/* Lightbox */
.nm-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10,14,22,0.97);
  align-items: center;
  justify-content: center;
}
.nm-lightbox.open { display: flex; }
.nm-lightbox__frame {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
}
.nm-lightbox__frame img {
  max-height: 88vh;
  max-width: 88vw;
  object-fit: contain;
  box-shadow: 0 50px 120px rgba(0,0,0,0.85);
}
.nm-lightbox__close,
.nm-lightbox__prev,
.nm-lightbox__next {
  position: absolute;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  border-radius: 50%;
  cursor: pointer;
}
.nm-lightbox__close:hover,
.nm-lightbox__prev:hover,
.nm-lightbox__next:hover { background: rgba(255,255,255,0.18); }
.nm-lightbox__close { top: -52px; right: 0; width: 40px; height: 40px; font-size: 1.4rem; }
.nm-lightbox__prev { top: 50%; left: -68px; transform: translateY(-50%); width: 48px; height: 48px; }
.nm-lightbox__next { top: 50%; right: -68px; transform: translateY(-50%); width: 48px; height: 48px; }
.nm-lightbox__prev svg,
.nm-lightbox__next svg { width: 20px; height: 20px; }
.nm-lightbox__counter {
  position: absolute;
  bottom: -36px; left: 0; right: 0;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
}

/* =========================================================
   5. NEWS & UPDATES
========================================================= */
.nm-news {
  padding: var(--section-pad);
  background: #fff;
  position: relative;
  overflow: hidden;
}
.nm-news:before{
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgb(0 0 0 / 3%) 1px, transparent 1px), linear-gradient(90deg, rgb(1 1 1 / 3%) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.nm-news::after {
    content: 'NEWS';
    position: absolute;
    right: -20px;
    top: 48%;
    transform: translateY(-50%);
    font-family: SCProsperSansbold;
    font-size: 25vw;
    color: rgb(75 67 67 / 9%);
    pointer-events: none;
    line-height: 1;
}
/* .nm-news .eyebrow{
  color: #fff;
}
.nm-news .eyebrow::before {
    background: #fff;
} */

.nm-news .display-title {
    color: var(--darkblue);
}
.nm-news  .btn-sm {
    color: #1fab48 !important;
    border-color: rgb(31 171 72);
}

.nm-news__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}
.nm-news__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.nm-news-card {
  background: var(--lightblue);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s;
  position: relative;
  z-index: 99;
}
.nm-news-card:hover { transform: translateY(-4px); }
.nm-news-card:hover .nm-news-card__img img { transform: scale(1.05); }
.nm-news-card--featured { grid-row: span 2; }
.nm-news-card--featured .nm-news-card__img { aspect-ratio: 3/4; }
.nm-news-card__img {
  overflow: hidden;
  aspect-ratio: 16/9;
  flex-shrink: 0;
}
.nm-news-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.nm-news-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.nm-news-card__tag {
  font-size: 0.6rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.22em;
  text-transform: unset;;
  color: var(--green);
  margin-bottom: 10px;
}
.nm-news-card__title {
  font-family: SCProsperSansbold;
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
  flex: 1;
}
.nm-news-card--featured .nm-news-card__title { font-size: 1.6rem; }
.nm-news-card__excerpt {
  font-size: 0.83rem;
  font-family: var(--font-light);
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin-bottom: 20px;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nm-news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
  font-family: var(--font-regular);
}
.nm-news-card__read {
  font-family: SCProsperSansbold;
  letter-spacing: 0.1em;
  text-transform: unset;;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}
.nm-news-card:hover .nm-news-card__read { gap: 10px; }
.nm-news-card__read svg { width: 12px; height: 12px; }

/* =========================================================
   6. PRIZE MONEY
========================================================= */
.nm-prize {
  padding: var(--section-pad);
  background: var(--lightblue);
  position: relative;
  overflow: hidden;
}
.nm-prize::after {
  content: 'KES';
  position: absolute;
  right: -40px; bottom: -40px;
  font-family: SCProsperSansbold;
  font-size: 28vw;
  color: rgba(255,255,255,0.018);
  line-height: 1;
  pointer-events: none;
}
.nm-prize__header { margin-bottom: 52px; position: relative; z-index: 1; }
.nm-prize__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  position: relative; z-index: 1;
}
.nm-prize__col { background: rgba(17,24,34,0.5); padding: 40px; }
.nm-prize__col-head {
  font-family: SCProsperSansbold;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: unset;;
  color: rgba(255,255,255,0.3);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nm-prize__col-head::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.nm-prize__list { display: flex; flex-direction: column; }
.nm-prize__row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.nm-prize__row:last-child { border-bottom: none; }
.nm-prize__pos {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-family: SCProsperSansbold;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.nm-prize__row--1 .nm-prize__pos { color: #FFD700; border-color: rgba(255,215,0,0.3); }
.nm-prize__row--2 .nm-prize__pos { color: #C0C0C0; border-color: rgba(192,192,192,0.3); }
.nm-prize__row--3 .nm-prize__pos { color: #CD7F32; border-color: rgba(205,127,50,0.3); }
.nm-prize__row--4 .nm-prize__pos,
.nm-prize__row--5 .nm-prize__pos { color: rgba(255,255,255,0.3); }
.nm-prize__info { flex: 1; }
.nm-prize__place-name { font-size: 0.88rem; font-family: var(--font-regular); color: rgba(255,255,255,0.65); }
.nm-prize__cat { font-size: 0.65rem; font-family: var(--font-light); letter-spacing: 0.1em; color: rgba(255,255,255,0.28); margin-top: 2px; }
.nm-prize__amount {
  font-family: SCProsperSansbold;
  color: #fff;
  font-size: 1.5rem;
}
.nm-prize__row--1 .nm-prize__amount { color: var(--green); font-size: 1.9rem; }
.nm-prize__total {
  background: var(--green);
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2px;
  position: relative; z-index: 1;
}
.nm-prize__total-lbl { font-size: 0.72rem; font-family: SCProsperSansbold; letter-spacing: 0.2em; text-transform: unset;; color: rgba(255,255,255,0.65); }
.nm-prize__total-amt {
  font-family: SCProsperSansbold;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff;
}

/* =========================================================
   7. VIDEOS
========================================================= */
.nm-videos {
  padding: var(--section-pad);
  background: var(--darkblue);
}
.nm-videos__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}
.nm-videos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.nm-video-card {
  background: var(--lightblue);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}
.nm-video-card:hover { transform: translateY(-4px); }
.nm-video-card:hover .nm-video-card__thumb img { transform: scale(1.04); }
.nm-video-card:hover .nm-video-card__play { background: var(--green); border-color: var(--green); transform: translate(-50%,-50%) scale(1.1); }
.nm-video-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0c1420;
}
.nm-video-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.nm-video-card__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 56px; height: 56px;
  background: rgba(17,24,34,0.75);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.nm-video-card__play svg { width: 22px; height: 22px; color: #fff; margin-left: 3px; }
.nm-video-card__dur {
  position: absolute;
  bottom: 10px; right: 12px;
  background: rgba(17,24,34,0.85);
  color: #fff;
  font-size: 0.68rem;
  font-family: SCProsperSansbold;
  padding: 2px 8px;
  border-radius: 3px;
}
.nm-video-card__body { padding: 20px; }
.nm-video-card__title {
  font-family: SCProsperSansbold;
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 8px;
}
.nm-video-card__meta { font-size: 0.72rem; font-family: var(--font-light); color: rgba(255,255,255,0.35); }

.nm-yt-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(10,14,22,0.97);
  align-items: center;
  justify-content: center;
}
.nm-yt-modal.open { display: flex; }
.nm-yt-modal__inner {
  position: relative;
  width: 88vw;
  max-width: 980px;
  aspect-ratio: 16/9;
}
.nm-yt-modal__close {
  position: absolute;
  top: -50px; right: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  cursor: pointer;
}
.nm-yt-modal__close:hover { background: rgba(255,255,255,0.2); }
.nm-yt-modal__inner iframe { width: 100%; height: 100%; border: none; }

/* =========================================================
   8. SPONSORS — 3-tier hierarchy
   Tier 1: Title Sponsor (Standard Chartered) — full width, prominent
   Tier 2: Main Sponsors — 4-column grid
   Tier 3: Supporting & Media — owl carousel
========================================================= */

.nm-sponsors {
  padding: var(--section-pad);
  background: #fff;
  border-top: 1px solid var(--border);
}
.nm-sponsors .display-title {
  color: var(--lightblue);
}

/* ── Section header ──────────────────────────────────── */
.nm-sponsors__header {
  text-align: center;
  margin-bottom: 40px;
}

/* ── Tier labels ─────────────────────────────────────── */
.nm-sponsors__tier-lbl {
  font-size: 0.62rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.3em;
  color: var(--green);
  text-align: center;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
/* decorative lines either side of the label */
.nm-sponsors__tier-lbl::before,
.nm-sponsors__tier-lbl::after {
  content: '';
  display: block;
  height: 1px;
  width: 60px;
  background: rgba(17,24,34,0.12);
  flex-shrink: 0;
}
.nm-sponsors__tier-lbl--main {
  margin-top: 40px;
  color: var(--lightblue);
}
.nm-sponsors__tier-lbl--main::before,
.nm-sponsors__tier-lbl--main::after {
  background: rgba(17,24,34,0.1);
}

/* ── Tier 1: Title Sponsor ───────────────────────────── */
.nm-sponsors__title-sponsor {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
  border: 1px solid rgba(17,24,34,0.1);
  border-top: 3px solid var(--green); /* green top bar = premium tier */
  background: #fff;
  transition: background 0.25s;
}
.nm-sponsors__title-sponsor:hover {
  background: rgba(31,171,72,0.02);
}

.nm-sponsors__title-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 60px;
  width: 100%;
}
.nm-sponsors__title-item img {
  max-height: 100px;
  max-width: 340px;
  width: auto;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.25s, transform 0.3s;
}
.nm-sponsors__title-item:hover img {
  opacity: 0.75;
  transform: scale(1.03);
}

/* ── Tier 2: Main Sponsors (4 col grid) ──────────────── */
.nm-sponsors__main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(17,24,34,0.1);
}
.nm-sponsors__main-item {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 36px 24px;
  border-right: 1px solid rgba(17,24,34,0.1);
  transition: background 0.25s;
  position: relative;
}
.nm-sponsors__main-item:last-child {
  border-right: none;
}
/* subtle bottom accent on hover */
.nm-sponsors__main-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.nm-sponsors__main-item:hover { background: rgba(31,171,72,0.03); }
.nm-sponsors__main-item:hover::after { transform: scaleX(1); }

.nm-sponsors__main-item img {
  max-height: 80px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.25s, transform 0.3s;
}
.nm-sponsors__main-item:hover img {
  opacity: 0.7;
  transform: scale(1.05);
}
.nm-sponsors__main-item span {
  font-size: 0.58rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.22em;
  color: rgba(17,24,34,0.3);
  display: none; /* hidden by default, show if needed */
}

/* ── Tier 3: Supporting & Media Carousel ─────────────── */
.nm-sponsors__supporting {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(17,24,34,0.1);
}
.nm-sponsors__support-lbl {
  font-size: 0.6rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.26em;
  color: rgba(17,24,34,0.35);
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.nm-sponsors__support-lbl::before,
.nm-sponsors__support-lbl::after {
  content: '';
  display: block;
  height: 1px;
  width: 40px;
  background: rgba(17,24,34,0.1);
  flex-shrink: 0;
}

/* Owl Carousel items */
.nm-sponsors .owl-carousel .owl-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sponsor-carousel-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: #fff;
  border: 1px solid rgba(17,24,34,0.08);
  margin: 8px 6px;
  height: 90px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sponsor-carousel-item:hover {
  border-color: rgba(31,171,72,0.3);
  box-shadow: 0 2px 12px rgba(31,171,72,0.08);
}
.sponsor-carousel-item img {
  max-height: 55px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.25s;
}
.sponsor-carousel-item:hover img { opacity: 1; }

/* Owl dots */
.nm-sponsors .owl-dots { text-align: center; margin-top: 20px; }
.nm-sponsors .owl-dot span {
  display: inline-block;
  width: 6px; height: 6px;
  background: rgba(17,24,34,0.15);
  border-radius: 50%;
  margin: 0 4px;
  transition: all 0.2s;
}
.nm-sponsors .owl-dot.active span {
  background: var(--green);
  width: 20px;
  border-radius: 3px;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .nm-sponsors__main { grid-template-columns: repeat(2, 1fr); }
  .nm-sponsors__main-item:nth-child(2) { border-right: none; }
  .nm-sponsors__main-item:nth-child(3),
  .nm-sponsors__main-item:nth-child(4) {
    border-top: 1px solid rgba(17,24,34,0.1);
  }
  .nm-sponsors__main-item:nth-child(4) { border-right: none; }
  .nm-sponsors__title-item { padding: 36px 32px; }
  .nm-sponsors__title-item img { max-height: 80px; }
}

@media (max-width: 600px) {
  .nm-sponsors__main { grid-template-columns: repeat(2, 1fr); }
  .nm-sponsors__main-item { padding: 28px 16px; }
  .nm-sponsors__main-item img { max-height: 60px; }
  .nm-sponsors__title-item { padding: 28px 24px; }
  .nm-sponsors__title-item img { max-height: 60px; max-width: 220px; }
  .nm-sponsors__tier-lbl::before,
  .nm-sponsors__tier-lbl::after { width: 30px; }
}

/* =========================================================
   FOOTER
========================================================= */
.nm-footer {
  background: var(--lightblue);
  border-top: 1px solid var(--border);
}
.nm-footer__top {
  max-width: 1550px;
  width: 85%;
  margin: 0 auto;
  padding: 72px 28px 52px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 52px;
}
.nm-footer__brand-logo {
  font-family: SCProsperSansbold;
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
.nm-footer__brand-logo img{
  max-width: 250px;
}

.nm-footer__brand-logo em { color: var(--green); font-style: normal; }
.nm-footer__brand p {
  font-size: 0.85rem;
  font-family: var(--font-light);
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 270px;
}
.nm-footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.nm-footer__social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.nm-footer__social-link:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(31,171,72,0.07);
}
.nm-footer__social-link svg { width: 16px; height: 16px; }
.nm-footer__col-title {
  font-size: 0.65rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.24em;
  text-transform: unset;;
  color: rgba(255,255,255,0.28);
  margin-bottom: 22px;
}
.nm-footer__links { display: flex; flex-direction: column; gap: 12px; }
.nm-footer__links a {
  font-size: 0.875rem;
  font-family: var(--font-regular);
  color: rgba(255,255,255,0.5);
  transition: color 0.2s, padding-left 0.2s;
}
.nm-footer__links a:hover { color: var(--green); padding-left: 5px; }
.nm-footer__contact { display: flex; flex-direction: column; gap: 16px; }
.nm-footer__contact-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.84rem;
  font-family: var(--font-regular);
  color: rgba(255,255,255,0.45);
}
.nm-footer__contact-row svg { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.nm-footer__newsletter h4 {
  font-family: SCProsperSansbold;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 8px;
}
.nm-footer__newsletter p {
  font-size: 0.8rem;
  font-family: var(--font-light);
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  margin-bottom: 18px;
}
.nm-footer__nl-form {
  display: flex;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.nm-footer__nl-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-size: 0.84rem;
  font-family: var(--font-regular);
  color: #fff;
}
.nm-footer__nl-form input::placeholder { color: rgba(255,255,255,0.25); }
.nm-footer__nl-form button {
  background: var(--green);
  border: none;
  color: #fff;
  padding: 12px 18px;
  font-size: 0.72rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.1em;
  text-transform: unset;;
  transition: background 0.2s;
  white-space: nowrap;
}
.nm-footer__nl-form button:hover { background: var(--green-d); }
.nm-footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 28px;
  max-width: 1550px;
  width: 85%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.nm-footer__copy { font-size: 0.73rem; font-family: var(--font-light); color: rgba(255,255,255,0.25); }
.nm-footer__legal { display: flex; gap: 22px; }
.nm-footer__legal a {
  font-size: 0.7rem;
  font-family: var(--font-regular);
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}
.nm-footer__legal a:hover { color: var(--green); }
.nm-footer__strip {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--green) 0%, var(--blue) 100%);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1100px) {
  .nm-races__grid { grid-template-columns: repeat(2, 1fr); }
  .nm-footer__top { grid-template-columns: 1fr 1fr; }
  .nm-gallery__grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 240px); }
}
@media (max-width: 900px) {
  .nm-news__grid { grid-template-columns: 1fr 1fr; }
  .nm-news-card--featured { grid-column: span 2; grid-row: span 1; }
  .nm-news-card--featured .nm-news-card__img { aspect-ratio: 16/9; }
  .nm-prize__layout { grid-template-columns: 1fr; }
  .nm-videos__grid { grid-template-columns: repeat(2, 1fr); }
  .nm-sponsors__main { grid-template-columns: repeat(2, 1fr); }
  .nm-gallery__grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 200px); }
}
@media (max-width: 700px) {
  .nm-hero { align-items: center; padding-bottom: 0; }
  .nm-hero__scroll { display: none; }
  .nm-hero__inner { text-align: center; }
  .nm-hero__sub { margin: 0 auto 32px; }
  .nm-hero__actions { justify-content: center; }
  .nm-hero__stats { justify-content: center; }
  .nm-races__grid { grid-template-columns: 1fr; }
  .nm-gallery__grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 200px); }
  .nm-news__grid { grid-template-columns: 1fr; }
  .nm-news-card--featured { grid-column: span 1; }
  .nm-videos__grid { grid-template-columns: 1fr; }
  .nm-sponsors__main { grid-template-columns: repeat(2, 1fr); }
  .nm-footer__top { grid-template-columns: 1fr; gap: 32px; }
  .nm-datebar__inner {
     flex-direction: column;
     flex-wrap: unset;
    }
  .nm-datebar__block { border-right: none; border-bottom: 1px solid var(--border); }
  .nm-countdown { border-right: none; padding: 20px 28px 28px; }
  .nm-lightbox__prev { left: -52px; }
  .nm-lightbox__next { right: -52px; }
  .nm-datebar__block.distance{
    min-width: auto;
  }
}
@media (max-width: 480px) {
  .nm-gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 180px); }
  .nm-sponsors__main { grid-template-columns: 1fr; }
}
/* =========================================================
   ADDITIONAL RESPONSIVE — append to existing media queries
========================================================= */

/* ── 1400px: large desktops below 1920 ── */
@media (max-width: 1400px) {
  .wrap { width: 98%; }
  .nm-footer__top { width: 90%; }
  .nm-footer__bottom { width: 90%; }
  .nm-datebar__inner { width: 90%; }

  .nm-hero__title { font-size: clamp(2.8rem, 7vw, 4rem); margin-bottom: 15px;}
  .nm-race-card__km { font-size: clamp(2.8rem, 5vw, 4.5rem); }
  .nm-prize__total-amt { font-size: clamp(1.8rem, 3vw, 2.8rem); }
  .nm-hero__sub{
    margin-bottom: 20px;
  }
  .nm-hero__stats{
    margin-top: 25px;
  }
  .nm-datebar__val{
    font-size: clamp(1.3rem, 2.5vw, 1rem);       
    line-height: 1.5;
  }
  .nm-datebar__block{
    padding: 20px 15px;
  }
}

/* ── 1200px: standard laptops ── */
@media (max-width: 1200px) {

  .nm-hero { padding-bottom: 70px; }
  .nm-hero__stats { gap: 24px; }
  .nm-hero__stat-num { font-size: 2rem; }

  .nm-datebar__val { font-size: clamp(1.1rem, 2vw, 1.6rem); }
  .nm-countdown__num { font-size: clamp(1.4rem, 2.5vw, 2rem); padding: 6px 10px; }

  .nm-race-card { padding: 32px 24px 28px; }

  .nm-news__grid { grid-template-columns: 1.2fr 1fr 1fr; }

  .nm-prize__col { padding: 28px; }
  .nm-prize__amount { font-size: 1.3rem; }
  .nm-prize__row--1 .nm-prize__amount { font-size: 1.6rem; }

  .nm-videos__grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }

  .nm-sponsors__main { grid-template-columns: repeat(4, 1fr); }

  .nm-footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 36px; }
}

/* ── 1100px: already exists — patch gaps ── */
@media (max-width: 1100px) {

  .nm-hero__inner { max-width: 700px; }

  .nm-news__grid { grid-template-columns: 1fr 1fr; }
  .nm-news-card--featured { grid-column: span 2; }
  .nm-news-card--featured .nm-news-card__img { aspect-ratio: 16/9; }
  .nm-news-card--featured .nm-news-card__title { font-size: 1.4rem; }

  .nm-prize__layout { gap: 2px; }
  .nm-prize__amount { font-size: 1.2rem; }

  .nm-videos__grid { grid-template-columns: repeat(2, 1fr); }

  .nm-gallery__grid { grid-template-columns: repeat(3, 1fr); }

  .nm-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nm-footer__brand { grid-column: span 2; }
}

/* ── 900px: already exists — patch gaps ── */
@media (max-width: 900px) {
  .nm-hero { padding-bottom: 60px; }
  .nm-hero__inner { max-width: 600px; }
  .nm-hero__stat-num { font-size: 1.7rem; }
  .nm-hero__stats { gap: 18px; margin-top: 36px; }

  .nm-datebar__block { padding: 20px 18px; }
  .nm-countdown { padding: 16px 20px; gap: 4px; }
  .nm-countdown__unit { min-width: 44px; }

  .nm-races__grid { grid-template-columns: repeat(2, 1fr); }
  .nm-race-card { padding: 28px 20px 24px; }
  .nm-race-card__km { font-size: clamp(2.4rem, 5vw, 3.8rem); }

  .nm-gallery__grid { grid-template-rows: repeat(3, 200px); }

  .nm-prize__col { padding: 24px 20px; }
  .nm-prize__pos { width: 38px; height: 38px; font-size: 1rem; }
  .nm-prize__amount { font-size: 1.1rem; }
  .nm-prize__row--1 .nm-prize__amount { font-size: 1.4rem; }
  .nm-prize__total { padding: 24px 28px; }
  .nm-prize__total-amt { font-size: clamp(1.6rem, 4vw, 2.4rem); }

  .nm-sponsors__main { grid-template-columns: repeat(2, 1fr); }
  .nm-sponsors__main-item { padding: 28px 18px; }
  .nm-sponsors__main-item img { max-height: 90px; }

  .nm-footer__top { grid-template-columns: 1fr 1fr; }
  .nm-footer__brand { grid-column: span 2; }
  .nm-footer__newsletter { grid-column: span 2; }
}

/* ── 700px: already exists — patch gaps ── */
@media (max-width: 700px) {

  .nm-hero { min-height: 100svh; padding: 100px 0 40px; }
  .nm-hero__title { font-size: clamp(2.6rem, 10vw, 4rem); }
  .nm-hero__stat-num { font-size: 1.5rem; }
  .nm-hero__stat-label { font-size: 0.58rem; }
  .nm-hero__actions { gap: 10px; }
  .btn { padding: 12px 24px; font-size: 0.8rem; }

  .nm-datebar__val { font-size: 1.3rem; }
  .nm-countdown__num { font-size: 1.4rem; min-width: 48px; }

  .nm-races__grid { grid-template-columns: 1fr; }
  .nm-race-card { padding: 28px 24px; }
  .nm-races::after { font-size: 35vw; }

  .nm-gallery__grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 180px); }

  .nm-news__grid { grid-template-columns: 1fr; }
  .nm-news-card--featured { grid-column: span 1; }
  .nm-news__header { margin-bottom: 28px; }

  .nm-prize__layout { grid-template-columns: 1fr; }
  .nm-prize__total { flex-direction: column; align-items: flex-start; gap: 10px; }
  .nm-prize__total .btn { align-self: flex-start; }

  .nm-videos__grid { grid-template-columns: 1fr; }

  .nm-sponsors__main { grid-template-columns: repeat(2, 1fr); }
  .sponsor-carousel-item { height: 80px; padding: 14px 18px; }

  .nm-footer__top { grid-template-columns: 1fr; gap: 28px; }
  .nm-footer__brand { grid-column: span 1; }
  .nm-footer__newsletter { grid-column: span 1; }
  .nm-footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .nm-footer__legal { flex-wrap: wrap; gap: 12px; }

  .nm-lightbox__prev { left: 8px; }
  .nm-lightbox__next { right: 8px; }
  .nm-lightbox__frame img { max-width: 96vw; }

  .nm-yt-modal__inner { width: 96vw; }
}

/* ── 480px: already exists — patch gaps ── */
@media (max-width: 480px) {
  .nm-hero__title { font-size: clamp(2.2rem, 11vw, 3rem); }
  .nm-hero__sub { font-size: 0.9rem; }
  .nm-hero__stats { gap: 14px; }
  .nm-hero__stat-num { font-size: 1.3rem; }
  .btn { padding: 11px 18px; font-size: 0.76rem; }

  .nm-countdown { flex-wrap: wrap;}
  .nm-countdown__num { font-size: 1.3rem; padding: 5px 8px; }
  .nm-countdown__unit { min-width: 40px; }

  .nm-race-card__km { font-size: clamp(2.6rem, 12vw, 4rem); }

  .nm-gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 160px); }

  .nm-prize__amount { font-size: 1rem; }
  .nm-prize__row--1 .nm-prize__amount { font-size: 1.2rem; }
  .nm-prize__pos { width: 34px; height: 34px; font-size: 0.9rem; }

  .nm-sponsors__main { grid-template-columns: 1fr 1fr; }
  .nm-sponsors__main-item img { max-height: 70px; }

  .nm-footer__legal { gap: 8px; }
  .nm-footer__nl-form { flex-direction: column; }
  .nm-footer__nl-form input { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nm-footer__nl-form button { padding: 12px; text-align: center; }
}

/* ── 360px: small phones ── */
@media (max-width: 360px) {
  .nm-hero__title { font-size: clamp(1.9rem, 12vw, 2.6rem); }
  .nm-hero__stats { flex-direction: column; align-items: center; gap: 10px; }

  .nm-countdown { gap: 2px; }
  .nm-countdown__sep { font-size: 1.2rem; }
  .nm-countdown__num { font-size: 1.1rem; padding: 4px 6px; }

  .nm-gallery__grid { grid-template-columns: 1fr; grid-template-rows: repeat(8, 200px); }

  .nm-prize__row { gap: 10px; }
  .nm-prize__amount { font-size: 0.95rem; }

  .nm-sponsors__main { grid-template-columns: 1fr; }
}
/* =========================================================
   HERO MOBILE FIX — replace/add inside your ≤700px block
========================================================= */
@media (max-width: 700px) {
  .btn-sm { padding: 9px 16px; font-size: 0.72rem; }

  /* HERO */
  .nm-hero {
    align-items: center;
    padding-top: 90px;
    padding-bottom: 40px;
    min-height: 90svh;
    height: auto;
  }

  .nm-hero__inner {
    text-align: center;
    max-width: 100%;
  }

  /* Date pill */
  .nm-hero__date-pill {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    padding: 5px 12px;
    white-space: normal;
    text-align: center;
    line-height: 1.5;
  }

  /* Title */
  .nm-hero__title {
    font-size: clamp(2.6rem, 13vw, 3.8rem);
    margin-bottom: 16px;
  }

  /* Subtitle */
  .nm-hero__sub {
    font-size: 0.9rem;
    max-width: 100%;
    margin: 0 auto 28px;
    padding: 0 8px;
  }

  /* Buttons — stack but don't stretch full width */
  .nm-hero__actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .nm-hero__actions .btn {
    width: auto;
    min-width: 200px;
    max-width: 280px;
    justify-content: center;
    padding: 13px 28px;
    font-size: 0.82rem;
  }

  /* Stats — 2x2 grid instead of vertical stack */
  .nm-hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    margin-top: 36px;
    justify-items: center;
  }
  .nm-hero__stat-item { text-align: center; }
  .nm-hero__stat-num { font-size: 1.8rem; }
  .nm-hero__stat-label { font-size: 0.6rem; letter-spacing: 0.14em; }
}

/* =========================================================
   EXTRA SMALL — 480px
========================================================= */
@media (max-width: 480px) {

  .nm-hero { padding-top: 80px; }
  .nm-hero__title { font-size: clamp(2.2rem, 14vw, 3.2rem); }

  .nm-hero__date-pill {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    padding: 4px 10px;
  }

  .nm-hero__actions .btn {
    min-width: 180px; 
    font-size: 0.78rem;
    padding: 10px 20px;}

  .nm-hero__stat-num { font-size: 1.5rem; }
}

/* =========================================================
   SHARED PAGE CSS — contact.css
   Shared by contact.html and terms.html
   Only the extra CSS; relies on style.css for base variables
========================================================= */

/* ── Reveal animation ─────────────────────────────────── */
.nm-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
}
.nm-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Page Hero ────────────────────────────────────────── */
.nm-page-hero {
  position: relative;
  height: 44vh;
  min-height: 320px;
  max-height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;

  /* ✅ Image background — swap URL for your real photo */
  background:
    url('images/banner-top.jpeg')
    center center / cover no-repeat;
}

.nm-page-hero--terms {
  max-height: 420px;
}

/* ✅ Overlay now sits on top of the image */
.nm-page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(2, 11, 67, 0.97) 0%,
    rgba(6, 68, 116, 0.85) 55%,
    rgba(17, 24, 34, 0.90) 100%
  );
  z-index: 1;
}

/* animated diagonal lines */
.nm-page-hero__texture {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.nm-page-hero__texture::before {
  content: '';
  position: absolute;
  inset: -50%;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 60px,
    rgba(31, 171, 72, 0.04) 60px,
    rgba(31, 171, 72, 0.04) 61px
  );
  animation: texSlide 18s linear infinite;
}
@keyframes texSlide {
  from { transform: translateX(0) translateY(0); }
  to   { transform: translateX(61px) translateY(61px); }
}

/* green bar top */
.nm-page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  z-index: 10;
}

/* pulsing green orb */
.nm-page-hero::after {
  content: '';
  position: absolute;
  right: 8%; top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(31, 171, 72, 0.12) 0%, transparent 70%);
  z-index: 1;
  animation: orbPulse 5s ease-in-out infinite;
}
@keyframes orbPulse {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.7; }
  50%       { transform: translateY(-50%) scale(1.18); opacity: 1; }
}

.nm-page-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: 52px;

  /* ✅ Push content below the absolute nav on small screens.
     Adjust the value to match your navbar's actual height. */
  padding-top: 80px;

  animation: heroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ✅ On larger screens the nav likely has more height or
   you may want to reset padding-top if the layout shifts */
@media (min-width: 768px) {
  .nm-page-hero__content {
    padding-top: 0;          /* nav no longer overlaps at this breakpoint */
    align-self: flex-end;    /* keep content anchored to bottom as before */
  }
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nm-page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-family: var(--font-medium);
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 14px;
}
.nm-page-hero__breadcrumb a { color: rgba(255, 255, 255, 0.4); transition: color 0.2s; }
.nm-page-hero__breadcrumb a:hover { color: var(--green); }
.nm-page-hero__breadcrumb span { color: rgba(255, 255, 255, 0.25); }

.nm-page-hero__green { color: var(--green); }

.nm-page-hero__sub {
  font-size: 0.92rem;
  font-family: var(--font-light);
  color: rgba(255, 255, 255, 0.5);
  margin-top: 10px;
  max-width: 560px;
  line-height: 1.65;
}

/* scroll indicator */
.nm-page-hero__scroll {
  position: absolute;
  bottom: 20px;
  right: 36px;
  z-index: 3;
}
.nm-page-hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(31, 171, 72, 0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ── Contact Strip ────────────────────────────────────── */
.nm-contact-strip {
  background: var(--darkblue);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.nm-contact-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.nm-contact-strip__item {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  transition: background 0.25s;
  position: relative;
  overflow: hidden;
}
.nm-contact-strip__item:last-child { border-right: none; }
.nm-contact-strip__item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--green);
  transition: width 0.4s ease;
}
.nm-contact-strip__item:hover { background: rgba(255,255,255,0.03); }
.nm-contact-strip__item:hover::after { width: 100%; }

.nm-contact-strip__icon {
  width: 44px; height: 44px;
  background: rgba(31,171,72,0.1);
  border: 1px solid rgba(31,171,72,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  margin-bottom: 16px;
  transition: background 0.2s, transform 0.3s;
}
.nm-contact-strip__item:hover .nm-contact-strip__icon {
  background: var(--green);
  color: #fff;
  transform: scale(1.08);
}
.nm-contact-strip__icon svg { width: 18px; height: 18px; }

.nm-contact-strip__label {
  font-size: 0.6rem;
  font-family: var(--font-medium);
  letter-spacing: 0.24em;
  text-transform: unset;;
  color: rgba(255,255,255,0.3);
  margin-bottom: 6px;
}

.nm-contact-strip__value {
  display: block;
  font-family: var(--font-bold, SCProsperSansbold);
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.3;
  transition: color 0.2s;
}
a.nm-contact-strip__value:hover { color: var(--green); }

.nm-contact-strip__sub {
  font-size: 0.72rem;
  font-family: var(--font-light);
  color: rgba(255,255,255,0.3);
  margin-top: 5px;
}
.nm-contact-strip__sub a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.nm-contact-strip__sub a:hover { color: var(--green); }

/* ── Contact Section ──────────────────────────────────── */
.nm-contact {
  padding: var(--section-pad);
  background: var(--lightblue);
  position: relative;
  overflow: hidden;
}

/* huge BG watermark */
.nm-contact::before {
  content: 'RUN';
  position: absolute;
  right: -60px; bottom: -40px;
  font-family: SCProsperSansbold;
  font-size: 30vw;
  color: rgba(255,255,255,0.018);
  pointer-events: none;
  line-height: 1;
}

.nm-contact__layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ── Form wrap ────────────────────────────────────────── */
.nm-contact__form-wrap {
  position: relative;
  z-index: 1;
}

.nm-contact__form-head {
  margin-bottom: 36px;
}

/* Form groups */
.nm-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.nm-form-group {
  position: relative;
  margin-bottom: 24px;
}

.nm-form-label {
  display: block;
  font-size: 0.65rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.2em;
  text-transform: unset;;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.nm-form-group:focus-within .nm-form-label { color: var(--green); }

.nm-form-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  padding: 14px 16px;
  font-size: 0.9rem;
  font-family: var(--font-regular);
  color: #fff;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  appearance: none;
  -webkit-appearance: none;
}
.nm-form-input::placeholder { color: rgba(255,255,255,0.2); }
.nm-form-input:focus {
  border-color: var(--green);
  background: rgba(31,171,72,0.05);
}

/* animated focus bar */
.nm-form-focus-bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--green);
  border-radius: 0 0 2px 2px;
  transition: width 0.35s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}
.nm-form-group:focus-within .nm-form-focus-bar { width: 100%; }

/* error state */
.nm-form-group--error .nm-form-input {
  border-color: #e55;
  animation: shake 0.4s ease;
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25%      { transform: translateX(-6px); }
  75%      { transform: translateX(6px); }
}

/* select */
.nm-form-select-wrap {
  position: relative;
}
.nm-form-select {
  cursor: pointer;
  padding-right: 38px;
}
.nm-form-select option {
  background: var(--lightblue);
  color: #fff;
}
.nm-form-select-arrow {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: rgba(255,255,255,0.3);
  pointer-events: none;
}

/* textarea */
.nm-form-textarea { resize: vertical; min-height: 130px; }

/* submit button */
.nm-contact__submit {
  margin-top: 8px;
  position: relative;
  overflow: hidden;
  min-width: 200px;
}
.nm-contact__submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
.nm-contact__submit:hover::after { transform: translateX(100%); }

/* loading state */
.nm-contact__submit--loading {
  pointer-events: none;
  opacity: 0.7;
}
.nm-contact__submit--loading .nm-contact__submit-text::after {
  content: '…';
  animation: dots 1s steps(3,end) infinite;
}
@keyframes dots {
  0%   { content: '.'; }
  33%  { content: '..'; }
  66%  { content: '...'; }
}

/* success message */
.nm-contact__success {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  background: rgba(31,171,72,0.1);
  border: 1px solid rgba(31,171,72,0.3);
  border-radius: 4px;
  padding: 16px 20px;
  font-family: var(--font-medium);
  font-size: 0.9rem;
  color: var(--green);
  animation: fadeIn 0.5s ease;
}
.nm-contact__success--show { display: flex; }
.nm-form--sent .nm-contact__submit { display: none; }
@keyframes fadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

/* ── Sidebar cards ────────────────────────────────────── */
.nm-contact__sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 100px;
}

.nm-contact__sidebar-card {
  background: rgba(17,24,34,0.7);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 28px 24px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.nm-contact__sidebar-card:hover {
  border-color: rgba(31,171,72,0.35);
  transform: translateY(-3px);
}
.nm-contact__sidebar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.nm-contact__sidebar-card:hover::before { transform: scaleX(1); }

.nm-contact__sidebar-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.6rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.24em;
  text-transform: unset;;
  color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
}

.nm-contact__sidebar-main {
  display: block;
  font-family: SCProsperSansbold;
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.3;
  transition: color 0.2s;
}
a.nm-contact__sidebar-main:hover { color: var(--green); }

.nm-contact__sidebar-sub {
  font-size: 0.72rem;
  font-family: var(--font-light);
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
  line-height: 1.5;
}

.nm-contact__sidebar-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 16px 0;
}

.nm-contact__sidebar-extra {
  font-size: 0.6rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.18em;
  text-transform: unset;;
  color: rgba(255,255,255,0.25);
  margin-bottom: 6px;
}

/* social row */
.nm-contact__social {
  padding: 20px 0 4px;
}
.nm-contact__social-label {
  font-size: 0.6rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.22em;
  text-transform: unset;;
  color: rgba(255,255,255,0.25);
  margin-bottom: 14px;
}
.nm-contact__social-links {
  display: flex;
  gap: 10px;
}

/* ── Map ──────────────────────────────────────────────── */
.nm-contact-map {
  position: relative;
  background: var(--darkblue);
}
.nm-contact-map iframe {
  display: block;
  filter: grayscale(30%) contrast(1.05);
  transition: filter 0.4s;
}
.nm-contact-map:hover iframe { filter: grayscale(0%) contrast(1); }

.nm-contact-map__label {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: var(--lightblue);
  border: 1px solid rgba(31,171,72,0.35);
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.12em;
  padding: 8px 18px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.nm-contact-map__label svg { color: var(--green); }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .nm-contact__layout { grid-template-columns: 1fr; }
  .nm-contact__sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .nm-contact__sidebar-card { flex: 1; min-width: 200px; }
  .nm-contact__social { flex-basis: 100%; }
}

@media (max-width: 900px) {
  .nm-contact-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .nm-contact-strip__item:nth-child(2) { border-right: none; }
  .nm-contact-strip__item { border-bottom: 1px solid var(--border); }
  .nm-contact-strip__item:nth-child(3),
  .nm-contact-strip__item:nth-child(4) { border-bottom: none; }
  .nm-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .nm-contact-strip__grid { grid-template-columns: 1fr; }
  .nm-contact-strip__item { border-right: none !important; }
  .nm-contact-strip__item:last-child { border-bottom: none; }
  .nm-page-hero { min-height: 260px; }
  .nm-page-hero__content { padding-bottom: 36px; }
  .nm-contact__sidebar { flex-direction: column; }
  .nm-contact-map__label { font-size: 0.62rem; padding: 6px 14px; top: 12px; white-space: normal; text-align: center; max-width: 80vw; }
}

/* =========================================================
   TERMS PAGE CSS — terms.css
   Relies on style.css + contact.css for base + hero styles
========================================================= */

/* ── Terms Section ────────────────────────────────────── */
.nm-terms {
  padding: 80px 0 120px;
  background: var(--lightblue);
  position: relative;
  /* overflow: hidden; */
}

/* giant watermark */
.nm-terms::before {
  content: 'T&C';
  position: absolute;
  right: -60px;
  top: 20px;
  font-family: SCProsperSansbold;
  font-size: 28vw;
  color: rgba(255,255,255,0.015);
  pointer-events: none;
  line-height: 1;
}

/* ── Layout ───────────────────────────────────────────── */
.nm-terms__layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* ── TOC Sidebar ──────────────────────────────────────── */
.nm-terms__toc {
  position: sticky;
  top: 80px;
  background: rgba(17,24,34,0.7);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 2px;
  padding: 28px 24px;
  animation: heroIn 0.7s cubic-bezier(0.22,1,0.36,1) both 0.2s;
  transition: border-color 0.3s;
}
.nm-terms__toc:hover { border-color: rgba(31,171,72,0.2); }

.nm-terms__toc-head {
  font-size: 0.6rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.28em;
  text-transform: unset;;
  color: rgba(255,255,255,0.25);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.nm-terms__toc-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 24px;
}

.nm-terms__toc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-family: var(--font-regular);
  color: rgba(255,255,255,0.4);
  padding: 10px 12px;
  border-radius: 2px;
  border-left: 2px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s, padding-left 0.2s;
}
.nm-terms__toc-link:hover {
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.04);
  padding-left: 16px;
}
.nm-terms__toc-link--active {
  color: var(--green) !important;
  border-left-color: var(--green);
  background: rgba(31,171,72,0.06);
  font-family: SCProsperSansbold;
}

.nm-terms__toc-cta {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Main Content ─────────────────────────────────────── */
.nm-terms__content {
  min-width: 0;
}

/* intro text */
.nm-terms__intro-text {
  font-size: 1.05rem;
  font-family: var(--font-light);
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 20px;
}

.nm-terms__content p {
  font-size: 0.9rem;
  font-family: var(--font-regular);
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 16px;
}
.nm-terms__content p a {
  color: var(--green);
  border-bottom: 1px solid rgba(31,171,72,0.3);
  transition: border-color 0.2s, color 0.2s;
}
.nm-terms__content p a:hover { border-color: var(--green); color: #fff; }

/* ── Section ──────────────────────────────────────────── */
.nm-terms__section {
  padding: 8px 0 24px;
}

.nm-terms__section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.62rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.26em;
  text-transform: unset;;
  color: var(--green);
  margin-bottom: 16px;
  padding: 4px 12px;
  background: rgba(31,171,72,0.08);
  border: 1px solid rgba(31,171,72,0.2);
  border-radius: 20px;
}

.nm-terms__section-num {
  font-family: SCProsperSansbold;
  font-size: 4rem;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  margin-bottom: -16px;
  letter-spacing: -0.02em;
  pointer-events: none;
  animation: numIn 0.5s ease both;
}

.nm-terms__section-title {
  font-family: SCProsperSansbold;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 16px;
}
.nm-terms__section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  border-radius: 2px;
  transition: width 0.4s ease;
}
.nm-terms__section:hover .nm-terms__section-title::after { width: 80px; }

/* ── List ─────────────────────────────────────────────── */
.nm-terms__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nm-terms__list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.88rem;
  font-family: var(--font-regular);
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  transition: color 0.2s, background 0.2s;
}
.nm-terms__list li:first-child { border-top: 1px solid rgba(255,255,255,0.05); }
.nm-terms__list li:hover {
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.015);
  padding-left: 6px;
  border-radius: 2px;
}

.nm-terms__list li strong { color: rgba(255,255,255,0.85); font-family: SCProsperSansbold; }
.nm-terms__list li a { color: var(--green); transition: color 0.2s; }
.nm-terms__list li a:hover { color: #fff; }

.nm-terms__list-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  background: rgba(31,171,72,0.1);
  border: 1px solid rgba(31,171,72,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  margin-top: 3px;
  transition: background 0.2s;
}
.nm-terms__list li:hover .nm-terms__list-icon {
  background: var(--green);
  color: #fff;
}

.nm-terms__list-icon--warn {
  background: rgba(245,127,32,0.1);
  border-color: rgba(245,127,32,0.25);
  color: #f57f20;
}
.nm-terms__list li:hover .nm-terms__list-icon--warn {
  background: #f57f20;
  color: #fff;
}

/* ── Callouts ─────────────────────────────────────────── */
.nm-terms__callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(48,140,219,0.07);
  border: 1px solid rgba(48,140,219,0.22);
  border-left: 3px solid var(--blue);
  padding: 18px 20px;
  border-radius: 2px;
  margin: 24px 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}
.nm-terms__callout svg { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.nm-terms__callout strong { color: rgba(255,255,255,0.85); }
.nm-terms__callout a { color: var(--green); transition: color 0.2s; }
.nm-terms__callout a:hover { color: #fff; }

.nm-terms__callout--green {
  background: rgba(31,171,72,0.07);
  border-color: rgba(31,171,72,0.25);
  border-left-color: var(--green);
}
.nm-terms__callout--green svg { color: var(--green); }

/* ── Divider ──────────────────────────────────────────── */
.nm-terms__divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(31,171,72,0.4), rgba(48,140,219,0.2), transparent);
  margin: 40px 0;
}

/* ── Actions ──────────────────────────────────────────── */
.nm-terms__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* ── Entry animation ──────────────────────────────────── */
@keyframes numIn {
  from { opacity:0; transform: translateY(10px); }
  to   { opacity:1; transform: translateY(0); }
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .nm-terms__layout { grid-template-columns: 220px 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .nm-terms__layout { grid-template-columns: 1fr; }
  .nm-terms__toc { position: static; }
  .nm-terms__toc-nav { flex-direction: row; flex-wrap: wrap; }
  .nm-terms__toc-link { border-left: none; border-bottom: 2px solid transparent; padding: 8px 14px; font-size: 0.76rem; }
  .nm-terms__toc-link--active { border-bottom-color: var(--green); border-left-color: transparent; }
  .nm-terms__toc { padding: 20px; }
}

@media (max-width: 700px) {
  .nm-terms { padding: 50px 0 80px; }
  .nm-terms__section-num { font-size: 2.5rem; }
  .nm-terms__callout { flex-direction: column; gap: 10px; }
  .nm-terms__actions { flex-direction: column; }
  .nm-terms__actions .btn { width: 100%; justify-content: center; }
}


.apply {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0px;
  padding: 20px 0;
  padding: var(--section-pad);
  background: var(--lightblue);
  max-width: 100%;
  overflow: hidden;
}
.apply .scroll-marquee {
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.apply .scroll-marquee .marquee-track {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 0;
  padding: 0;
  will-change: transform;
  transition: transform 0.1s ease-out;
  width: calc(200% + 100px);
}
.apply .scroll-marquee .marquee-track .img-wrapper {
  flex-shrink: 0;
  width: 500px;
  height: 35vh;
  border-radius: 0;
  overflow: hidden;
  padding: 10px;
}
.apply .scroll-marquee .marquee-track .img-wrapper .img-fluid {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.apply .applybox {
  position: absolute;
  background: #fff;
  padding: 50px;
  width: 80%;
  max-width: 800px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.apply .applybox .title {
  font-size: 35px;
  font-weight: 600;
  padding-bottom: 10px;
}
.apply .applybox p {
  margin-bottom: 0px;
}
.apply .applybox .btn {
  background: #1277ba;
  color: #fff;
}
@media (max-width: 768px) {
  .apply .scroll-marquee .marquee-track .img-wrapper {
      width: auto;
      height: 25vh;
      padding: 3px;
  }
}
.training{
  position: relative;
  overflow: hidden;
  background: #fff;
  padding-bottom: 60px;
}
.training:before{
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgb(0 0 0 / 3%) 1px, transparent 1px), linear-gradient(90deg, rgb(1 1 1 / 3%) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.training .wrap{
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
}
.training .stick-bg{
  position: relative;
  background: 
    url('images/banner-top.jpeg')
    center center / cover no-repeat;;
    background-attachment: fixed;
}

.training .stick-bg2{
  position: relative;
  background: 
    url('images/background-sc.jpeg')
    center center / cover no-repeat;;
    background-attachment: fixed;
}

    /* ── Foundation Intro Strip ───────────────────────────── */
    .fm-intro {
      background: var(--darkblue);
      border-bottom: 1px solid var(--border);
    }
    .fm-intro__grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
    }
    .fm-intro__item {
      padding: 40px 36px;
      border-right: 1px solid var(--border);
      position: relative;
      overflow: hidden;
      transition: background 0.25s;
    }
    .fm-intro__item:last-child { border-right: none; }
    .fm-intro__item::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0;
      width: 0; height: 3px;
      background: var(--green);
      transition: width 0.4s ease;
    }
    .fm-intro__item:hover { background: rgba(255,255,255,0.03); }
    .fm-intro__item:hover::after { width: 100%; }
    .fm-intro__icon {
      width: 48px; height: 48px;
      background: rgba(31,171,72,0.1);
      border: 1px solid rgba(31,171,72,0.25);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: var(--green);
      margin-bottom: 18px;
      transition: background 0.2s, transform 0.3s;
    }
    .fm-intro__item:hover .fm-intro__icon {
      background: var(--green);
      color: #fff;
      transform: scale(1.08);
    }
    .fm-intro__icon svg { width: 20px; height: 20px; }
    .fm-intro__num {
      font-family: SCProsperSansbold;
      font-size: clamp(2rem, 4vw, 2.8rem);
      color: #fff;
      line-height: 1;
      margin-bottom: 6px;
    }
    .fm-intro__num span { color: var(--green); }
    .fm-intro__label {
      font-size: 0.72rem;
      font-family: var(--font-medium);
      letter-spacing: 0.14em;
      color: rgba(255,255,255,0.4);
      line-height: 1.5;
    }

    /* ── About Section ────────────────────────────────────── */
    .fm-about {
      padding: var(--section-pad);
      background: var(--lightblue);
      position: relative;
      overflow: hidden;
    }
    .fm-about::before {
      content: 'FM';
      position: absolute;
      right: -40px; bottom: -30px;
      font-family: SCProsperSansbold;
      font-size: 28vw;
      color: rgba(255,255,255,0.018);
      line-height: 1;
      pointer-events: none;
    }
    .fm-about__layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 72px;
      align-items: center;
      position: relative;
      z-index: 1;
    }
    .fm-about__text p {
      font-size: 1rem;
      font-family: var(--font-light);
      color: rgba(255,255,255,0.65);
      line-height: 1.85;
      margin-bottom: 20px;
    }
    .fm-about__text p:first-of-type {
      font-size: 1.15rem;
      color: rgba(255,255,255,0.8);
    }
    .fm-about__visual {
      position: relative;
    }
    .fm-about__img-wrap {
      position: relative;
      overflow: hidden;
      border-radius: 2px;
    }
    .fm-about__img-wrap img {
      width: 100%;
      height: 440px;
      object-fit: cover;
      display: block;
      transition: transform 0.6s ease;
    }
    .fm-about__img-wrap:hover img { transform: scale(1.04); }
    .fm-about__badge {
      position: absolute;
      bottom: -20px;
      left: -20px;
      background: var(--green);
      padding: 24px 28px;
      z-index: 2;
    }
    .fm-about__badge-num {
      font-family: SCProsperSansbold;
      font-size: 2.2rem;
      color: #fff;
      line-height: 1;
    }
    .fm-about__badge-txt {
      font-size: 0.65rem;
      font-family: var(--font-medium);
      letter-spacing: 0.16em;
      color: rgba(255,255,255,0.75);
      margin-top: 4px;
    }
    .fm-about__accent {
      position: absolute;
      top: -16px; right: -16px;
      width: 80px; height: 80px;
      border: 2px solid rgba(31,171,72,0.3);
      border-radius: 50%;
      pointer-events: none;
    }

    /* ── Programmes ───────────────────────────────────────── */
    .fm-programmes {
      padding: var(--section-pad);
      background: #fff;
      position: relative;
      overflow: hidden;
    }
    .fm-programmes::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: linear-gradient(rgb(0 0 0 / 3%) 1px, transparent 1px),
                        linear-gradient(90deg, rgb(1 1 1 / 3%) 1px, transparent 1px);
      background-size: 60px 60px;
      pointer-events: none;
    }
    .fm-programmes::after {
      content: 'IMPACT';
      position: absolute;
      right: -20px; top: 50%;
      transform: translateY(-50%);
      font-family: SCProsperSansbold;
      font-size: 18vw;
      color: rgba(75,67,67,0.07);
      pointer-events: none;
      line-height: 1;
    }
    .fm-programmes .display-title { color: var(--darkblue); }
    .fm-programmes__header {
      margin-bottom: 56px;
      position: relative;
      z-index: 1;
    }

    .fm-prog-card {
      background: var(--lightblue);
      padding: 44px 36px 40px;
      position: relative;
      overflow: hidden;
      height: 100%;
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
    }
    .fm-prog-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 4px;
      background: var(--green);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.4s ease;
    }
    .fm-prog-card:hover { transform: translateY(-6px); }
    .fm-prog-card:hover::before { transform: scaleX(1); }
    .fm-prog-card--blue::before { background: var(--blue); }
    .fm-prog-card--orange::before { background: #f57f20; }

    .fm-prog-card__num {
      font-family: SCProsperSansbold;
      font-size: 5rem;
      color: rgba(255,255,255,0.04);
      line-height: 1;
      margin-bottom: -16px;
      letter-spacing: -0.02em;
    }
    .fm-prog-card__icon {
      width: 52px; height: 52px;
      background: rgba(31,171,72,0.12);
      border: 1px solid rgba(31,171,72,0.3);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: var(--green);
      margin-bottom: 22px;
      transition: background 0.2s;
      flex-shrink: 0;
    }
    .fm-prog-card--blue .fm-prog-card__icon {
      background: rgba(48,140,219,0.12);
      border-color: rgba(48,140,219,0.3);
      color: var(--blue);
    }
    .fm-prog-card--orange .fm-prog-card__icon {
      background: rgba(245,127,32,0.12);
      border-color: rgba(245,127,32,0.3);
      color: #f57f20;
    }
    .fm-prog-card:hover .fm-prog-card__icon { background: var(--green); color: #fff; }
    .fm-prog-card--blue:hover .fm-prog-card__icon { background: var(--blue); color: #fff; }
    .fm-prog-card--orange:hover .fm-prog-card__icon { background: #f57f20; color: #fff; }
    .fm-prog-card__icon svg { width: 22px; height: 22px; }

    .fm-prog-card__tag {
      font-size: 0.6rem;
      font-family: SCProsperSansbold;
      letter-spacing: 0.22em;
      color: var(--green);
      margin-bottom: 10px;
    }
    .fm-prog-card--blue .fm-prog-card__tag { color: var(--blue); }
    .fm-prog-card--orange .fm-prog-card__tag { color: #f57f20; }

    .fm-prog-card__title {
      font-family: SCProsperSansbold;
      font-size: 1.3rem;
      color: #fff;
      line-height: 1.2;
      margin-bottom: 16px;
    }
    .fm-prog-card__body {
      font-size: 0.85rem;
      font-family: var(--font-light);
      color: rgba(255,255,255,0.5);
      line-height: 1.8;
      flex: 1;
    }
    .fm-prog-card__divider {
      width: 28px; height: 2px;
      background: rgba(255,255,255,0.15);
      margin: 24px 0;
    }
    .fm-prog-card__stat {
      font-family: SCProsperSansbold;
      font-size: 1.4rem;
      color: var(--green);
    }
    .fm-prog-card--blue .fm-prog-card__stat { color: var(--blue); }
    .fm-prog-card--orange .fm-prog-card__stat { color: #f57f20; }
    .fm-prog-card__stat-label {
      font-size: 0.68rem;
      font-family: var(--font-light);
      color: rgba(255,255,255,0.3);
      letter-spacing: 0.1em;
      margin-top: 2px;
    }

    /* ── Future Ambition Banner ───────────────────────────── */
    .fm-ambition {
      padding: var(--section-pad);
      background: var(--green);
      position: relative;
      overflow: hidden;
    }
    .fm-ambition::before {
      content: '2030';
      position: absolute;
      right: -30px; top: -20px;
      font-family: SCProsperSansbold;
      font-size: 22vw;
      color: rgba(255,255,255,0.08);
      line-height: 1;
      pointer-events: none;
    }
    .fm-ambition__layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
      position: relative;
      z-index: 1;
    }
    .fm-ambition__eyebrow {
      font-size: 0.65rem;
      font-family: SCProsperSansbold;
      letter-spacing: 0.28em;
      color: rgba(255,255,255,0.65);
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .fm-ambition__eyebrow::before {
      content: '';
      display: block;
      width: 28px; height: 2px;
      background: rgba(255,255,255,0.5);
      flex-shrink: 0;
    }
    .fm-ambition h2 {
      font-family: SCProsperSansbold;
      font-size: clamp(2rem, 4vw, 3rem);
      color: #fff;
      line-height: 1.1;
      margin-bottom: 20px;
    }
    .fm-ambition p {
      font-size: 1rem;
      font-family: var(--font-light);
      color: rgba(255,255,255,0.8);
      line-height: 1.8;
    }
    .fm-ambition__stats {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2px;
    }
    .fm-ambition__stat {
      background: rgba(0,0,0,0.12);
      padding: 32px 28px;
    }
    .fm-ambition__stat-num {
      font-family: SCProsperSansbold;
      font-size: clamp(2rem, 3.5vw, 2.8rem);
      color: #fff;
      line-height: 1;
    }
    .fm-ambition__stat-label {
      font-size: 0.68rem;
      font-family: var(--font-medium);
      letter-spacing: 0.14em;
      color: rgba(255,255,255,0.6);
      margin-top: 6px;
    }

    /* ── Donate Section ───────────────────────────────────── */
    .fm-donate {
      padding: var(--section-pad);
      background: var(--lightblue);
      position: relative;
      overflow: hidden;
    }
    .fm-donate::before {
      content: 'GIVE';
      position: absolute;
      right: -30px; bottom: -20px;
      font-family: SCProsperSansbold;
      font-size: 26vw;
      color: rgba(255,255,255,0.018);
      line-height: 1;
      pointer-events: none;
    }
    .fm-donate__layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: start;
      position: relative;
      z-index: 1;
    }
    .fm-donate__intro p {
      font-size: 1rem;
      font-family: var(--font-light);
      color: rgba(255,255,255,0.6);
      line-height: 1.8;
      margin-bottom: 16px;
    }
    .fm-donate__cta-row {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      margin-top: 28px;
    }

    .fm-donate__methods {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .fm-donate__card {
      background: rgba(17,24,34,0.6);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 2px;
      overflow: hidden;
      transition: border-color 0.3s, transform 0.3s;
    }
    .fm-donate__card:hover {
      border-color: rgba(31,171,72,0.35);
      transform: translateY(-3px);
    }
    .fm-donate__card-head {
      background: var(--green);
      padding: 14px 24px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: SCProsperSansbold;
      font-size: 0.82rem;
      letter-spacing: 0.14em;
      color: #fff;
    }
    .fm-donate__card-head svg { width: 18px; height: 18px; }
    .fm-donate__card--mpesa .fm-donate__card-head {
      background: #4caf50;
    }
    .fm-donate__table {
      width: 100%;
    }
    .fm-donate__table tr {
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .fm-donate__table tr:last-child { border-bottom: none; }
    .fm-donate__table td {
      padding: 16px 24px;
      font-size: 0.88rem;
      vertical-align: middle;
    }
    .fm-donate__table td:first-child {
      font-family: var(--font-medium);
      color: rgba(255,255,255,0.4);
      font-size: 0.72rem;
      letter-spacing: 0.1em;
      width: 48%;
    }
    .fm-donate__table td:last-child {
      font-family: SCProsperSansbold;
      color: #fff;
      font-size: 1rem;
    }

    /* ── Impact Timeline ──────────────────────────────────── */
    .fm-timeline {
      padding: var(--section-pad);
      background: var(--darkblue);
      position: relative;
      overflow: hidden;
    }
    .fm-timeline__header { margin-bottom: 56px; }
    .fm-timeline__track {
      position: relative;
      padding-left: 32px;
    }
    .fm-timeline__track::before {
      content: '';
      position: absolute;
      top: 0; left: 7px;
      width: 2px;
      height: 100%;
      background: linear-gradient(to bottom, var(--green), rgba(31,171,72,0.1));
    }
    .fm-timeline__item {
      position: relative;
      padding: 0 0 48px 40px;
      opacity: 0;
      transform: translateX(-20px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .fm-timeline__item.visible {
      opacity: 1;
      transform: translateX(0);
    }
    .fm-timeline__item:last-child { padding-bottom: 0; }
    .fm-timeline__dot {
      position: absolute;
      left: -32px;
      top: 4px;
      width: 16px; height: 16px;
      background: var(--green);
      border-radius: 50%;
      border: 3px solid var(--darkblue);
      box-shadow: 0 0 0 2px var(--green);
    }
    .fm-timeline__year {
      font-size: 0.62rem;
      font-family: SCProsperSansbold;
      letter-spacing: 0.24em;
      color: var(--green);
      margin-bottom: 8px;
    }
    .fm-timeline__title {
      font-family: SCProsperSansbold;
      font-size: 1.15rem;
      color: #fff;
      margin-bottom: 10px;
      line-height: 1.3;
    }
    .fm-timeline__body {
      font-size: 0.88rem;
      font-family: var(--font-light);
      color: rgba(255,255,255,0.45);
      line-height: 1.75;
    }

    /* ── Responsive ───────────────────────────────────────── */
    @media (max-width: 1100px) {
      .fm-about__layout { gap: 48px; }
      .fm-about__badge { bottom: -16px; left: -12px; }
    }

    @media (max-width: 900px) {
      .fm-intro__grid { grid-template-columns: repeat(2, 1fr); }
      .fm-intro__item:nth-child(2) { border-right: none; }
      .fm-intro__item { border-bottom: 1px solid var(--border); }
      .fm-intro__item:nth-child(3),
      .fm-intro__item:nth-child(4) { border-bottom: none; }

      .fm-about__layout { grid-template-columns: 1fr; gap: 40px; }
      .fm-about__visual { order: -1; }
      .fm-about__badge { bottom: -14px; left: -10px; }

      .fm-ambition__layout { grid-template-columns: 1fr; gap: 40px; }

      .fm-donate__layout { grid-template-columns: 1fr; }
    }

    @media (max-width: 700px) {
      .fm-intro__grid { grid-template-columns: 1fr; }
      .fm-intro__item { border-right: none !important; border-bottom: 1px solid var(--border); }
      .fm-intro__item:last-child { border-bottom: none; }

      .fm-about__img-wrap img { height: 280px; }
      .fm-about__badge { padding: 16px 20px; }
      .fm-about__badge-num { font-size: 1.6rem; }

      .fm-ambition__stats { grid-template-columns: 1fr; }

      .fm-programmes .row .col-md-4 { margin-bottom: 20px; }
      .fm-programmes .row .col-md-4:last-child { margin-bottom: 0; }

      .fm-donate__cta-row { flex-direction: column; }
      .fm-donate__cta-row .btn { width: 100%; justify-content: center; }

      .fm-timeline__track { padding-left: 24px; }
      .fm-timeline__item { padding-left: 28px; }
      .fm-timeline__dot { left: -24px; }
    }

    /* Scroll reveal for intro items */
    .nm-reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                  transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
      transition-delay: var(--delay, 0s);
    }
    .nm-revealed {
      opacity: 1;
      transform: translateY(0);
    }

    /* Training section inherited for the page */
    .training { position: relative; overflow: hidden; background: #fff; padding-bottom: 60px; }
    .training:before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: linear-gradient(rgb(0 0 0 / 3%) 1px, transparent 1px),
                        linear-gradient(90deg, rgb(1 1 1 / 3%) 1px, transparent 1px);
      background-size: 60px 60px;
      pointer-events: none;
    }
    .training .wrap { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; }
    .training .training-img { width: 100%; display: block; 
    }

    
    /* ── Hero ─────────────────────────────────────────────── */
    .nm-page-hero--foundation {
      background:
        url('https://www.nairobimarathon.com/wp-content/uploads/2025/11/2025-SCNM-443-1024x683.webp')
        center center / cover no-repeat;
      max-height: 520px;
    }

        /* ── Main Layout ──────────────────────────────────────── */
    .cr-section {
      padding: var(--section-pad);
      background: var(--lightblue);
      position: relative;
      overflow: hidden;
    }
    .cr-section::before {
      content: '"';
      position: absolute;
      left: -40px;
      top: -60px;
      font-family: SCProsperSansbold;
      font-size: 38vw;
      color: rgba(255,255,255,0.015);
      line-height: 1;
      pointer-events: none;
    }

    .cr-layout {
      display: grid;
      grid-template-columns: 340px 1fr;
      gap: 72px;
      align-items: start;
      position: relative;
      z-index: 1;
    }

    /* ── Sidebar ──────────────────────────────────────────── */
    .cr-sidebar {
      position: sticky;
      top: 100px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    /* Portrait card */
    .cr-portrait {
      background: rgba(17,24,34,0.7);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 2px;
      overflow: hidden;
      transition: border-color 0.3s;
    }
    .cr-portrait:hover { border-color: rgba(31,171,72,0.3); }

    .cr-portrait__img {
      width: 100%;
      aspect-ratio: 3/4;
      object-fit: cover;
      object-position: center top;
      display: block;
      transition: transform 0.6s ease;
      background: linear-gradient(145deg, #0d1520 0%, #162840 100%);
    }
    .cr-portrait:hover .cr-portrait__img { transform: scale(1.03); }

    .cr-portrait__body {
      padding: 24px;
      border-top: 3px solid var(--green);
    }
    .cr-portrait__name {
      font-family: SCProsperSansbold;
      font-size: 1.2rem;
      color: #fff;
      line-height: 1.25;
      margin-bottom: 6px;
    }
    .cr-portrait__role {
      font-size: 0.72rem;
      font-family: var(--font-light);
      color: rgba(255,255,255,0.4);
      line-height: 1.6;
    }
    .cr-portrait__divider {
      width: 28px; height: 2px;
      background: var(--green);
      margin: 14px 0;
    }
    .cr-portrait__org {
      font-size: 0.62rem;
      font-family: SCProsperSansbold;
      letter-spacing: 0.2em;
      color: rgba(255,255,255,0.25);
    }

    /* Stat cards in sidebar */
    .cr-stat-card {
      background: rgba(17,24,34,0.6);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 2px;
      padding: 22px 24px;
      display: flex;
      align-items: center;
      gap: 18px;
      transition: border-color 0.3s, transform 0.3s;
    }
    .cr-stat-card:hover { border-color: rgba(31,171,72,0.3); transform: translateY(-2px); }
    .cr-stat-card__icon {
      width: 42px; height: 42px;
      background: rgba(31,171,72,0.1);
      border: 1px solid rgba(31,171,72,0.25);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: var(--green);
      flex-shrink: 0;
      transition: background 0.2s;
    }
    .cr-stat-card:hover .cr-stat-card__icon { background: var(--green); color: #fff; }
    .cr-stat-card__icon svg { width: 18px; height: 18px; }
    .cr-stat-card__num {
      font-family: SCProsperSansbold;
      font-size: 1.5rem;
      color: #fff;
      line-height: 1;
    }
    .cr-stat-card__num span { color: var(--green); }
    .cr-stat-card__label {
      font-size: 0.65rem;
      font-family: var(--font-light);
      color: rgba(255,255,255,0.35);
      letter-spacing: 0.08em;
      margin-top: 3px;
    }

    /* CTA in sidebar */
    .cr-sidebar-cta {
      background: var(--green);
      border-radius: 2px;
      padding: 28px 24px;
      text-align: center;
      transition: background 0.2s;
    }
    .cr-sidebar-cta:hover { background: var(--green-d); }
    .cr-sidebar-cta p {
      font-size: 0.85rem;
      font-family: var(--font-light);
      color: rgba(255,255,255,0.8);
      line-height: 1.65;
      margin-bottom: 18px;
    }
    .cr-sidebar-cta .btn {
      background: #fff;
      color: var(--green) !important;
      border-color: #fff;
      width: 100%;
      justify-content: center;
    }
    .cr-sidebar-cta .btn:hover { background: rgba(255,255,255,0.9); }

    /* ── Message Content ──────────────────────────────────── */

    .cr-content__lead {
      font-size: 1.2rem;
      font-family: var(--font-light);
      color: rgba(255,255,255,0.8);
      line-height: 1.85;
      margin-bottom: 28px;
      padding-bottom: 28px;
      border-bottom: 1px solid rgba(255,255,255,0.07);
    }

    .cr-content__body p {
      font-size: 0.95rem;
      font-family: var(--font-light);
      color: rgba(255,255,255,0.58);
      line-height: 1.9;
      margin-bottom: 22px;
    }

    .cr-content__body p strong {
      color: rgba(255,255,255,0.85);
      font-family: var(--font-medium);
    }

    /* Pull quote */
    .cr-pullquote {
      position: relative;
      margin: 40px 0;
      padding: 32px 36px 32px 56px;
      background: rgba(31,171,72,0.07);
      border-left: 4px solid var(--green);
      border-radius: 0 2px 2px 0;
    }
    .cr-pullquote::before {
      content: '"';
      position: absolute;
      left: 12px;
      top: 10px;
      font-family: SCProsperSansbold;
      font-size: 4rem;
      color: var(--green);
      line-height: 1;
      opacity: 0.6;
    }
    .cr-pullquote p {
      font-family: SCProsperSansbold;
      font-size: 1.15rem !important;
      color: rgba(255,255,255,0.85) !important;
      line-height: 1.65 !important;
      margin: 0 !important;
    }

    /* Highlight callout */
    .cr-callout {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      background: rgba(48,140,219,0.07);
      border: 1px solid rgba(48,140,219,0.2);
      border-left: 3px solid var(--blue);
      padding: 20px 24px;
      border-radius: 2px;
      margin: 28px 0;
      font-size: 0.88rem;
      color: rgba(255,255,255,0.6);
      line-height: 1.75;
    }
    .cr-callout svg { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
    .cr-callout strong { color: rgba(255,255,255,0.85); }

    /* Race categories list */
    .cr-race-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin: 20px 0 28px;
    }
    .cr-race-item {
      display: flex;
      align-items: center;
      gap: 10px;
      background: rgba(17,24,34,0.5);
      border: 1px solid rgba(255,255,255,0.06);
      padding: 12px 16px;
      border-radius: 2px;
      font-size: 0.82rem;
      font-family: var(--font-regular);
      color: rgba(255,255,255,0.6);
      transition: border-color 0.2s, background 0.2s;
    }
    .cr-race-item:hover { border-color: rgba(31,171,72,0.3); background: rgba(31,171,72,0.05); color: rgba(255,255,255,0.85); }
    .cr-race-item__dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--green);
      flex-shrink: 0;
    }

    /* Signature block */
    .cr-signature {
      margin-top: 48px;
      padding-top: 32px;
      border-top: 1px solid rgba(255,255,255,0.08);
      display: flex;
      align-items: center;
      gap: 24px;
      flex-wrap: wrap;
    }
    .cr-signature__avatar {
      width: 64px; height: 64px;
      border-radius: 50%;
      background: var(--green);
      border: 3px solid rgba(31,171,72,0.4);
      display: flex; align-items: center; justify-content: center;
      font-family: SCProsperSansbold;
      font-size: 1.4rem;
      color: #fff;
      flex-shrink: 0;
    }
    .cr-signature__name {
      font-family: SCProsperSansbold;
      font-size: 1.1rem;
      color: #fff;
      line-height: 1.3;
    }
    .cr-signature__title {
      font-size: 0.75rem;
      font-family: var(--font-light);
      color: rgba(255,255,255,0.4);
      margin-top: 4px;
      line-height: 1.5;
    }

    /* ── Navigation between remarks ───────────────────────── */
    .cr-nav-strip {
      background: var(--darkblue);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .cr-nav-strip__inner {
      display: flex;
      align-items: stretch;
      flex-wrap: wrap;
    }
    .cr-nav-strip__item {
      flex: 1;
      min-width: 200px;
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 28px 36px;
      border-right: 1px solid var(--border);
      color: rgba(255,255,255,0.5);
      transition: color 0.2s, background 0.2s;
    }
    .cr-nav-strip__item:last-child { border-right: none; }
    .cr-nav-strip__item:hover { color: #fff; background: rgba(255,255,255,0.03); }
    .cr-nav-strip__item--active {
      color: var(--green) !important;
      border-bottom: 3px solid var(--green);
      background: rgba(31,171,72,0.05);
    }
    .cr-nav-strip__icon {
      width: 44px; height: 44px;
      background: rgba(255,255,255,0.05);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      transition: background 0.2s;
    }
    .cr-nav-strip__item--active .cr-nav-strip__icon,
    .cr-nav-strip__item:hover .cr-nav-strip__icon { background: rgba(31,171,72,0.12); }
    .cr-nav-strip__icon svg { width: 18px; height: 18px; }
    .cr-nav-strip__label {
      font-size: 0.6rem;
      font-family: SCProsperSansbold;
      letter-spacing: 0.2em;
      color: inherit;
      opacity: 0.6;
      margin-bottom: 4px;
    }
    .cr-nav-strip__title {
      font-family: SCProsperSansbold;
      font-size: 0.95rem;
      color: inherit;
      line-height: 1.2;
    }

    /* ── Reveal ───────────────────────────────────────────── */
    .nm-reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                  transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
      transition-delay: var(--delay, 0s);
    }
    .nm-revealed { opacity: 1; transform: translateY(0); }

    /* ── Responsive ───────────────────────────────────────── */
    @media (max-width: 1100px) {
      .cr-layout { grid-template-columns: 280px 1fr; gap: 48px; }
    }
    @media (max-width: 900px) {
      .cr-layout { grid-template-columns: 1fr; }
      .cr-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
      }
      .cr-portrait { grid-column: span 2; }
      .cr-sidebar-cta { grid-column: span 2; }
    }
    @media (max-width: 700px) {
      .cr-sidebar { grid-template-columns: 1fr; }
      .cr-portrait { grid-column: span 1; }
      .cr-sidebar-cta { grid-column: span 1; }
      .cr-race-list { grid-template-columns: 1fr; }
      .cr-pullquote { padding: 24px 24px 24px 44px; }
      .cr-pullquote::before { font-size: 3rem; left: 8px; }
      .cr-signature { flex-direction: column; gap: 16px; }
      .cr-nav-strip__item { padding: 20px 20px; }
      .cr-content__lead { font-size: 1.05rem; }
    }


.nm-page-hero--chairman {
  background:
    url('images/background-sc.jpeg')
    center 30% / cover no-repeat;
}

/* =========================================================
   FAQS PAGE CSS — faqs.css
   Relies on style.css + contact.css for base styles
========================================================= */

/* ── Hero variant ──────────────────────────────────────── */
.nm-page-hero--faqs {
  background:
    url('images/banner-top.jpeg')
    center 40% / cover no-repeat;
  max-height: 420px;
}

/* ── Stats strip below hero ────────────────────────────── */
.nm-faq-strip {
  background: var(--darkblue);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.nm-faq-strip__inner {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.nm-faq-strip__item {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 30px 32px;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.nm-faq-strip__item:last-child { border-right: none; }
.nm-faq-strip__item:hover { background: rgba(255,255,255,0.03); }
.nm-faq-strip__item--cta {
  justify-content: center;
  flex: 0 0 auto;
  padding: 22px 40px;
}
.nm-faq-strip__icon {
  width: 42px; height: 42px;
  background: rgba(31,171,72,0.1);
  border: 1px solid rgba(31,171,72,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  flex-shrink: 0;
  transition: background 0.2s;
}
.nm-faq-strip__item:hover .nm-faq-strip__icon {
  background: var(--green);
  color: #fff;
}
.nm-faq-strip__icon svg { width: 18px; height: 18px; }
.nm-faq-strip__val {
  font-family: SCProsperSansbold;
  font-size: 1.4rem;
  color: #fff;
  line-height: 1;
}
.nm-faq-strip__label {
  font-size: 0.62rem;
  font-family: var(--font-medium);
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
  margin-top: 4px;
}

/* ── FAQ Section ───────────────────────────────────────── */
.nm-faq {
  padding: 80px 0 120px;
  background: var(--lightblue);
  position: relative;
}
.nm-faq::before {
  content: 'FAQ';
  position: absolute;
  right: -60px;
  top: 20px;
  font-family: SCProsperSansbold;
  font-size: 28vw;
  color: rgba(255,255,255,0.014);
  pointer-events: none;
  line-height: 1;
}

/* ── Layout ─────────────────────────────────────────────── */
.nm-faq__layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* ── TOC Sidebar ───────────────────────────────────────── */
.nm-faq__toc {
  position: sticky;
  top: 80px;
  background: rgba(17,24,34,0.7);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 2px;
  padding: 28px 24px;
  transition: border-color 0.3s;
}
.nm-faq__toc:hover { border-color: rgba(31,171,72,0.2); }

.nm-faq__toc-head {
  font-size: 0.6rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.25);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.nm-faq__toc-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 24px;
}

.nm-faq__toc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-family: var(--font-regular);
  color: rgba(255,255,255,0.4);
  padding: 10px 12px;
  border-radius: 2px;
  border-left: 2px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s, padding-left 0.2s;
}
.nm-faq__toc-link svg { flex-shrink: 0; opacity: 0.5; transition: opacity 0.2s; }
.nm-faq__toc-link:hover {
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.04);
  padding-left: 16px;
}
.nm-faq__toc-link--active {
  color: var(--green) !important;
  border-left-color: var(--green);
  background: rgba(31,171,72,0.06);
  font-family: SCProsperSansbold;
}
.nm-faq__toc-link--active svg { opacity: 1; color: var(--green); }

.nm-faq__toc-cta {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nm-faq__toc-cta > p {
  font-size: 0.75rem;
  font-family: var(--font-light);
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  margin-bottom: 8px;
}

/* ── FAQ Content area ──────────────────────────────────── */
.nm-faq__content { min-width: 0; }

/* ── Group (section) ───────────────────────────────────── */
.nm-faq__group { padding: 8px 0 24px; }

.nm-faq__group-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.nm-faq__group-icon {
  width: 52px; height: 52px;
  background: rgba(31,171,72,0.1);
  border: 1px solid rgba(31,171,72,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  flex-shrink: 0;
  transition: background 0.2s;
}
.nm-faq__group-icon svg { width: 22px; height: 22px; }
.nm-faq__group-icon--blue   { background: rgba(48,140,219,0.1); border-color: rgba(48,140,219,0.3); color: var(--blue); }
.nm-faq__group-icon--orange { background: rgba(245,127,32,0.1); border-color: rgba(245,127,32,0.3); color: #f57f20; }
.nm-faq__group-icon--lblue  { background: rgba(41,170,226,0.1); border-color: rgba(41,170,226,0.3); color: #29aae2; }
.nm-faq__group-icon--gold   { background: rgba(255,215,0,0.08); border-color: rgba(255,215,0,0.25); color: #FFD700; }

.nm-faq__group-label {
  font-size: 0.6rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.25);
  margin-bottom: 6px;
}

.nm-faq__group-title {
  font-family: SCProsperSansbold;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  color: #fff;
  line-height: 1.15;
  margin: 0;
  position: relative;
  padding-bottom: 14px;
}
.nm-faq__group-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  border-radius: 2px;
  transition: width 0.4s ease;
}
.nm-faq__group:hover .nm-faq__group-title::after { width: 72px; }

/* ── FAQ List & Items ──────────────────────────────────── */
.nm-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nm-faq__item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.nm-faq__item:first-child { border-top: 1px solid rgba(255,255,255,0.06); }

/* Question button */
.nm-faq__q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  transition: padding-left 0.2s;
}
.nm-faq__q span {
  font-family: SCProsperSansbold;
  font-size: 0.97rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.45;
  transition: color 0.2s;
  flex: 1;
}
.nm-faq__item:hover .nm-faq__q { padding-left: 6px; }
.nm-faq__item.open .nm-faq__q span,
.nm-faq__item:hover .nm-faq__q span { color: #fff; }

/* Toggle icon */
.nm-faq__toggle {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.3s;
}
.nm-faq__item:hover .nm-faq__toggle {
  border-color: rgba(31,171,72,0.4);
  color: var(--green);
  background: rgba(31,171,72,0.07);
}
.nm-faq__item.open .nm-faq__toggle {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  transform: rotate(180deg);
}
.nm-faq__toggle svg { width: 15px; height: 15px; }

/* Answer panel — slide open/close */
.nm-faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.nm-faq__item.open .nm-faq__a { max-height: 800px; }

.nm-faq__a > p,
.nm-faq__a p {
  font-size: 0.88rem;
  font-family: var(--font-light);
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
  margin-bottom: 14px;
  padding-bottom: 0;
}
.nm-faq__a > p:last-child,
.nm-faq__a p:last-child { margin-bottom: 0; }
.nm-faq__a p:first-child { padding-top: 4px; }
.nm-faq__a p strong { color: rgba(255,255,255,0.85); font-family: var(--font-medium); }
.nm-faq__a p a { color: var(--green); border-bottom: 1px solid rgba(31,171,72,0.3); transition: color 0.2s, border-color 0.2s; }
.nm-faq__a p a:hover { color: #fff; border-color: #fff; }

/* Bottom padding in open answer */
.nm-faq__item.open .nm-faq__a { padding-bottom: 24px; }

/* ── Answer sub-components ─────────────────────────────── */

/* Callout box */
.nm-faq__callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(48,140,219,0.07);
  border: 1px solid rgba(48,140,219,0.2);
  border-left: 3px solid var(--blue);
  padding: 16px 20px;
  border-radius: 2px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-family: var(--font-regular);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}
.nm-faq__callout svg { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.nm-faq__callout strong { color: rgba(255,255,255,0.85); }

.nm-faq__callout--warn {
  background: rgba(245,127,32,0.07);
  border-color: rgba(245,127,32,0.25);
  border-left-color: #f57f20;
}
.nm-faq__callout--warn svg { color: #f57f20; }

/* Race category pills */
.nm-faq__race-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}
.nm-faq__race-pill {
  font-size: 0.72rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid;
}
.nm-faq__race-pill--green  { color: var(--green);  border-color: rgba(31,171,72,0.35);  background: rgba(31,171,72,0.08); }
.nm-faq__race-pill--blue   { color: var(--blue);   border-color: rgba(48,140,219,0.35); background: rgba(48,140,219,0.08); }
.nm-faq__race-pill--red    { color: #ed2027;       border-color: rgba(237,32,39,0.35);  background: rgba(237,32,39,0.08); }
.nm-faq__race-pill--orange { color: #f57f20;       border-color: rgba(245,127,32,0.35); background: rgba(245,127,32,0.08); }
.nm-faq__race-pill--lblue  { color: #29aae2;       border-color: rgba(41,170,226,0.35); background: rgba(41,170,226,0.08); }

/* Fee table */
.nm-faq__fee-table {
  margin: 16px 0;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
}
.nm-faq__fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-regular);
  transition: background 0.2s;
}
.nm-faq__fee-row:last-child { border-bottom: none; }
.nm-faq__fee-row:hover { background: rgba(255,255,255,0.03); }
.nm-faq__fee-row--head {
  background: rgba(17,24,34,0.8);
  font-size: 0.62rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.25);
  padding: 12px 20px;
}
.nm-faq__fee-row--head:hover { background: rgba(17,24,34,0.8); }
.nm-faq__fee-val {
  font-family: SCProsperSansbold;
  color: var(--green);
  font-size: 1rem;
}

/* Start/finish two-column layout */
.nm-faq__two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 12px 0 6px;
}
.nm-faq__point {
  background: rgba(17,24,34,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2px;
  padding: 18px 20px;
  transition: border-color 0.2s;
}
.nm-faq__point:hover { border-color: rgba(31,171,72,0.25); }
.nm-faq__point-label {
  font-size: 0.6rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.22em;
  color: var(--green);
  margin-bottom: 8px;
}
.nm-faq__point-val {
  font-size: 0.85rem;
  font-family: var(--font-regular);
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
.nm-faq__point-val em { color: rgba(255,255,255,0.4); font-style: normal; font-size: 0.78rem; }

/* Flag-off times table */
.nm-faq__time-table {
  margin: 12px 0 4px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
  overflow-x: auto;
}
.nm-faq__time-head,
.nm-faq__time-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 0;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nm-faq__time-head:last-child,
.nm-faq__time-row:last-child { border-bottom: none; }

.nm-faq__time-head {
  background: rgba(17,24,34,0.8);
  font-size: 0.58rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.25);
}
.nm-faq__time-head span,
.nm-faq__time-row span {
  padding: 14px 16px;
  font-size: 0.83rem;
  font-family: var(--font-regular);
  color: rgba(255,255,255,0.5);
}
.nm-faq__time-row { transition: background 0.2s; }
.nm-faq__time-row:hover { background: rgba(255,255,255,0.03); }

.nm-faq__time-race {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-family: SCProsperSansbold !important;
  color: rgba(255,255,255,0.8) !important;
  font-size: 0.83rem !important;
}
.nm-faq__time-start {
  font-family: SCProsperSansbold !important;
  color: var(--green) !important;
}

/* Coloured dots */
.nm-faq__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.nm-faq__dot--green  { background: var(--green); }
.nm-faq__dot--blue   { background: var(--blue); }
.nm-faq__dot--red    { background: #ed2027; }
.nm-faq__dot--orange { background: #f57f20; }
.nm-faq__dot--lblue  { background: #29aae2; }

/* Kit collection date cards */
.nm-faq__kit-dates {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 16px 0;
}
.nm-faq__kit-date {
  background: rgba(17,24,34,0.6);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 2px;
  padding: 16px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}
.nm-faq__kit-date:hover {
  border-color: rgba(31,171,72,0.3);
  background: rgba(31,171,72,0.05);
}
.nm-faq__kit-day {
  font-family: SCProsperSansbold;
  font-size: 0.88rem;
  color: #fff;
  margin-bottom: 6px;
}
.nm-faq__kit-time {
  font-size: 0.72rem;
  font-family: var(--font-light);
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}

/* ── Divider ───────────────────────────────────────────── */
.nm-faq__divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(31,171,72,0.4), rgba(48,140,219,0.2), transparent);
  margin: 40px 0;
}

/* ── Reveal ────────────────────────────────────────────── */
.nm-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
}
.nm-revealed { opacity: 1; transform: translateY(0); }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nm-faq__layout { grid-template-columns: 220px 1fr; gap: 36px; }
  .nm-faq__kit-dates { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nm-faq__layout { grid-template-columns: 1fr; }
  .nm-faq__toc { position: static; }
  .nm-faq__toc-nav { flex-direction: row; flex-wrap: wrap; }
  .nm-faq__toc-link {
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 8px 14px;
    font-size: 0.75rem;
  }
  .nm-faq__toc-link--active {
    border-bottom-color: var(--green);
    border-left-color: transparent;
  }
  .nm-faq__two-col { grid-template-columns: 1fr; }
  .nm-faq-strip__item { min-width: 140px; padding: 22px 24px; }
}

@media (max-width: 700px) {
  .nm-faq { padding: 50px 0 80px; }
  .nm-faq-strip__inner { flex-direction: column; }
  .nm-faq-strip__item { border-right: none; border-bottom: 1px solid var(--border); }
  .nm-faq-strip__item:last-child { border-bottom: none; }
  .nm-faq-strip__item--cta { padding: 22px 32px; justify-content: flex-start; }
  .nm-faq__kit-dates { grid-template-columns: repeat(2, 1fr); }
  .nm-faq__callout { flex-direction: column; gap: 10px; }
  .nm-faq__time-head,
  .nm-faq__time-row { grid-template-columns: 2fr 1fr 1.2fr; }
  .nm-faq__time-head span:nth-child(3),
  .nm-faq__time-head span:nth-child(4),
  .nm-faq__time-row span:nth-child(3),
  .nm-faq__time-row span:nth-child(4) { display: none; }
}

@media (max-width: 480px) {
  .nm-faq__kit-dates { grid-template-columns: 1fr 1fr; }
  .nm-faq__race-grid { gap: 6px; }
  .nm-faq__race-pill { font-size: 0.68rem; padding: 5px 10px; }
  .nm-faq__fee-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nm-faq__fee-row--head { flex-direction: row; }
}

/* =========================================================
   TRAINING SECTION — training.css
   Drop in alongside style.css
   Requires: CSS variables from style.css (--green, --darkblue etc.)
========================================================= */

/* ── Section shell ─────────────────────────────────────── */
.tp-section {
  position: relative;
  overflow: hidden;
  padding: 0 0 0 0;
  background: var(--darkblue);
}

/* ── Background layers ─────────────────────────────────── */
.tp-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Parallax photo — the runner shoes / crowd shot */
.tp-bg__photo {
  position: absolute;
  inset: 0;
  background:
    url('images/banner-top.jpeg')
    center 40% / cover no-repeat;
  background-attachment: fixed;
  transform: scale(1.04);
  transition: transform 12s ease;
}

.tp-bg__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(2,11,43,0.97) 0%, rgba(2,11,43,0.88) 45%, rgba(2,11,43,0.75) 100%);
}

/* subtle grid */
.tp-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* Animated green orb top-right */
.tp-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31,171,72,0.14) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: tpOrb 7s ease-in-out infinite alternate;
}
@keyframes tpOrb {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.2) translateY(30px); }
}

/* Watermark number */
.tp-section::after {
  content: 'RUN';
  position: absolute;
  left: -30px; bottom: 40px;
  font-family: SCProsperSansbold;
  font-size: 22vw;
  color: rgba(255,255,255,0.016);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

/* ── Wrapper ────────────────────────────────────────────── */
.tp-wrap {
  position: relative;
  z-index: 1;
  max-width: 1550px;
  width: 85%;
  margin: 0 auto;
  padding: 100px 28px 80px;
}

/* ── Header ─────────────────────────────────────────────── */
.tp-header {
  text-align: center;
  margin-bottom: 64px;
}

.tp-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.62rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.32em;
  color: var(--green);
  margin-bottom: 18px;
}
.tp-header__line {
  display: block;
  width: 36px; height: 2px;
  background: var(--green);
  flex-shrink: 0;
}

.tp-header__title {
  font-family: SCProsperSansbold;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.tp-header__title em {
  font-style: normal;
  color: rgba(255,255,255,0.65);
  font-family: SCProsperSanslight;
}
.tp-header__name {
  color: var(--green);
  font-family: SCProsperSansbold;
}

.tp-header__sub {
  font-size: 0.95rem;
  font-family: SCProsperSanslight;
  color: rgba(255,255,255,0.45);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Cards grid ─────────────────────────────────────────── */
.tp-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto 56px;
}

/* ── Individual card ────────────────────────────────────── */
.tp-card {
  position: relative;
  background: rgba(10,18,38,0.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #fff;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s,
    box-shadow 0.38s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

.tp-card:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: rgba(31,171,72,0.5);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(31,171,72,0.2),
    inset 0 1px 0 rgba(255,255,255,0.06);
  text-decoration: none;
  color: #fff;
}

/* 16-week card hover uses gold/amber accent */
.tp-card--16:hover {
  border-color: rgba(255,180,0,0.5);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,180,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Top green bar */
.tp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  z-index: 2;
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.tp-card:hover::before { transform: scaleX(1); }

.tp-card--16::before { background: linear-gradient(90deg, #f0b400, #ff8c00); }

/* ── Badge ──────────────────────────────────────────────── */
.tp-card__badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  font-size: 0.58rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(31,171,72,0.18);
  border: 1px solid rgba(31,171,72,0.4);
  color: var(--green);
  padding: 5px 12px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
}
.tp-card__badge--gold {
  background: rgba(240,180,0,0.12);
  border-color: rgba(240,180,0,0.4);
  color: #f0b400;
}

/* ── Image wrap ─────────────────────────────────────────── */
.tp-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  flex-shrink: 0;
}
.tp-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.tp-card:hover .tp-card__img { transform: scale(1.07); }

/* Shine sweep on hover */
.tp-card__img-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 40%,
    rgba(255,255,255,0.06) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.tp-card:hover .tp-card__img-shine { transform: translateX(120%); }

/* Bottom gradient on image */
.tp-card__img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(10,18,38,1) 0%, transparent 100%);
  pointer-events: none;
}

/* ── Body ───────────────────────────────────────────────── */
.tp-card__body {
  padding: 0 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: -32px;
  position: relative;
  z-index: 1;
}

/* Big weeks number */
.tp-card__weeks {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 2px;
}
.tp-card__num {
  font-family: SCProsperSansbold;
  font-size: clamp(3.5rem, 7vw, 5rem);
  color: var(--green);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.25s;
}
.tp-card--16 .tp-card__num { color: #f0b400; }
.tp-card:hover .tp-card__num { filter: brightness(1.15); }

.tp-card__unit {
  font-family: SCProsperSansbold;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.18em;
  padding-bottom: 8px;
}

.tp-card__label {
  font-size: 0.72rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 22px;
}

/* Feature list */
.tp-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
}
.tp-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-family: SCProsperSansregular;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.tp-card:hover .tp-card__features li { color: rgba(255,255,255,0.75); }
.tp-card__features li svg {
  width: 16px; height: 16px;
  color: var(--green);
  flex-shrink: 0;
}
.tp-card--16 .tp-card__features li svg { color: #f0b400; }

/* CTA row */
.tp-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--green);
  border-radius: 2px;
  font-family: SCProsperSansbold;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: #fff;
  transition: background 0.25s, gap 0.25s;
  margin-top: auto;
}
.tp-card:hover .tp-card__cta { background: #178a3c; }

.tp-card__cta--gold { background: #f0b400; color: #111; }
.tp-card--16:hover .tp-card__cta--gold { background: #d4a000; color: #111; }

.tp-card__cta-arrow {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.2s;
}
.tp-card:hover .tp-card__cta-arrow {
  transform: translateX(4px);
  background: rgba(255,255,255,0.25);
}
.tp-card__cta--gold .tp-card__cta-arrow { background: rgba(0,0,0,0.12); }

/* ── Corner accent ──────────────────────────────────────── */
.tp-card__corner {
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 48px 48px;
  border-color: transparent transparent var(--green) transparent;
  opacity: 0.25;
  transition: opacity 0.3s;
}
.tp-card:hover .tp-card__corner { opacity: 0.6; }
.tp-card__corner--gold { border-bottom-color: #f0b400; }

/* ── Popular ribbon ─────────────────────────────────────── */
.tp-card__ribbon {
  position: absolute;
  top: 22px; right: -28px;
  background: #f0b400;
  color: #111;
  font-size: 0.54rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.2em;
  padding: 5px 36px;
  transform: rotate(45deg);
  z-index: 4;
  white-space: nowrap;
}

/* ── Bottom strip ───────────────────────────────────────── */
.tp-bottom {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
}

.tp-bottom__coach {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-family: SCProsperSansregular;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
}
.tp-bottom__coach svg { color: var(--green); flex-shrink: 0; }

.tp-bottom__partners {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.tp-bottom__partners > span {
  font-size: 0.6rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.2);
}
.tp-bottom__partner-logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.3;
  transition: opacity 0.2s;
}
.tp-bottom__partner-logo:hover { opacity: 0.7; }

/* ── Marquee strip ──────────────────────────────────────── */
.tp-marquee {
  position: relative;
  z-index: 1;
  background: var(--green);
  overflow: hidden;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.tp-marquee__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: tpMarquee 28s linear infinite;
  padding: 16px 0;
}

.tp-marquee__track span {
  font-size: 0.68rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.9);
  padding: 0 28px;
  white-space: nowrap;
}
.tp-marquee__dot {
  color: rgba(255,255,255,0.5) !important;
  font-size: 0.5rem !important;
  padding: 0 4px !important;
  letter-spacing: 0 !important;
}

@keyframes tpMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* pause on hover */
.tp-marquee:hover .tp-marquee__track {
  animation-play-state: paused;
}

/* ── Reveal ─────────────────────────────────────────────── */
/* Inherits from style.css .nm-reveal / .nm-revealed */

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .tp-wrap { padding: 80px 28px 64px; }
  .tp-cards { max-width: 640px; gap: 20px; }
  .tp-card__body { padding: 0 22px 24px; }
  .tp-card__num { font-size: clamp(3rem, 8vw, 4.5rem); }
}

@media (max-width: 700px) {
  .tp-wrap { width: 92%; padding: 70px 20px 56px; }

  .tp-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 24px;
  }

  /* On mobile, stack image and body horizontally inside each card */
  .tp-card {
    flex-direction: row;
    align-items: stretch;
  }
  .tp-card__img-wrap {
    width: 140px;
    flex-shrink: 0;
    aspect-ratio: unset;
  }
  .tp-card__img-wrap::after { display: none; }
  .tp-card__body {
    padding: 20px 20px 20px 0;
    margin-top: 0;
  }
  .tp-card__badge {
    position: static;
    display: inline-block;
    margin-bottom: 10px;
  }
  .tp-card__ribbon {
    top: 14px; right: -22px;
    font-size: 0.48rem;
    padding: 4px 28px;
  }
  .tp-card__features { display: none; }
  .tp-card__num { font-size: 2.8rem; }

  .tp-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .tp-section::after { display: none; }
}

@media (max-width: 480px) {
  .tp-header__title { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .tp-cards { max-width: 100%; }
  .tp-card { flex-direction: column; }
  .tp-card__img-wrap { width: 100%; aspect-ratio: 16/9; }
  .tp-card__img { object-position: center 20%; }
  .tp-card__img-wrap::after { display: block; }
  .tp-card__body { margin-top: -20px; padding: 0 20px 20px; }
  .tp-card__badge { position: absolute; top: 14px; left: 14px; }
  .tp-card__features { display: flex; }
}
/* =========================================================
   RACE TIMES SECTION — start-times.css  (table version)
   Relies on style.css for base variables & .eyebrow
========================================================= */

/* ── Section ───────────────────────────────────────────── */
.rt-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0 110px;
  background: var(--darkblue);
}

/* ── Backgrounds ───────────────────────────────────────── */
.rt-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.rt-bg__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
}

.rt-bg__orb {
  position: absolute;
  border-radius: 50%;
}
.rt-bg__orb--left {
  left: -200px; top: -80px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(31,171,72,0.07) 0%, transparent 65%);
  animation: rtOrb 9s ease-in-out infinite alternate;
}
.rt-bg__orb--right {
  right: -160px; bottom: -80px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(48,140,219,0.06) 0%, transparent 65%);
  animation: rtOrb 12s ease-in-out infinite alternate-reverse;
}
@keyframes rtOrb {
  from { transform: scale(1); }
  to   { transform: scale(1.18) translateY(20px); }
}

/* Watermark */
.rt-section::after {
  content: 'GO';
  position: absolute;
  right: -30px; bottom: -10px;
  font-family: SCProsperSansbold;
  font-size: 28vw;
  color: rgba(255,255,255,0.016);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

/* ── Wrap ──────────────────────────────────────────────── */
.rt-wrap {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: 85%;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Header ────────────────────────────────────────────── */
.rt-header {
  text-align: center;
  margin-bottom: 56px;
}
.rt-header__title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 14px;
  line-height: 1.05;
}
.rt-header__green { color: var(--green); }
.rt-header__sub {
  font-size: 0.92rem;
  font-family: SCProsperSanslight;
  color: rgba(255,255,255,0.4);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Table wrapper ─────────────────────────────────────── */
.rt-table-wrap {
  overflow-x: auto;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 20px;
  /* Subtle left green bar */
  box-shadow: inset 4px 0 0 var(--green);
}

/* ── Table ─────────────────────────────────────────────── */
.rt-table {
  width: 100%;
  border-collapse: collapse;
  font-family: SCProsperSansregular;
  font-size: 0.9rem;
}

/* Head row */
.rt-table thead tr {
  background: rgba(17,24,34,0.95);
}
.rt-table thead th {
  font-size: 0.62rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  white-space: nowrap;
}
.rt-table thead th:last-child {
  color: var(--green);
}

/* Body rows */
.rt-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s;
}
.rt-table tbody tr:last-child { border-bottom: none; }

/* Alternating row tint */
.rt-table tbody tr:nth-child(odd)  { background: rgba(255,255,255,0.02); }
.rt-table tbody tr:nth-child(even) { background: rgba(0,0,0,0.15); }

/* Hover */
.rt-table tbody tr:hover { background: rgba(31,171,72,0.05) !important; }

/* Featured row (42km full marathon) */
.rt-row--featured { background: rgba(237,32,39,0.04) !important; }
.rt-row--featured:hover { background: rgba(237,32,39,0.09) !important; }

/* All body cells */
.rt-table tbody td {
  padding: 20px 24px;
  color: rgba(255,255,255,0.55);
  vertical-align: middle;
  white-space: nowrap;
}

/* Race name cell */
.rt-row__name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: SCProsperSansbold;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.85) !important;
}

/* Colour dot */
.rt-row__dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Start time cell — bold & coloured */
.rt-row__start {
  font-family: SCProsperSansbold;
  font-size: 0.97rem;
}

/* ── Location strip ────────────────────────────────────── */
.rt-location { margin-top: 12px; }
.rt-location__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 20px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}
.rt-location__inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue));
}
.rt-location__inner:hover { border-color: rgba(31,171,72,0.25); }

.rt-location__block {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 200px;
}

.rt-location__icon {
  width: 38px; height: 38px;
  background: rgba(31,171,72,0.1);
  border: 1px solid rgba(31,171,72,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  flex-shrink: 0;
  transition: background 0.2s;
}
.rt-location__inner:hover .rt-location__icon { background: var(--green); color: #fff; }

.rt-location__label {
  font-size: 0.56rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.25);
  margin-bottom: 5px;
}
.rt-location__val {
  font-family: SCProsperSansbold;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}
.rt-location__val span {
  font-family: SCProsperSanslight;
  color: rgba(255,255,255,0.38);
  font-size: 0.78rem;
}

.rt-location__divider {
  width: 1px; height: 44px;
  background: rgba(255,255,255,0.07);
  flex-shrink: 0;
}

.rt-location__cta { margin-left: auto; }

/* ── Reveal animation ──────────────────────────────────── */
.nm-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
  transition-delay: var(--delay, 0s);
}
.nm-revealed { opacity: 1; transform: translateY(0); }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .rt-wrap { width: 92%; }
  .rt-table thead th,
  .rt-table tbody td { padding: 16px 18px; }
  .rt-location__divider { display: none; }
}

@media (max-width: 700px) {
  .rt-section { padding: 70px 0 80px; }
  .rt-wrap { width: 95%; padding: 0 14px; }

  .rt-table thead th,
  .rt-table tbody td { padding: 14px 14px; font-size: 0.82rem; }

  /* Hide assembly column on small screens */
  .rt-table thead th:nth-child(4),
  .rt-table tbody td:nth-child(4) { display: none; }

  .rt-location__inner { flex-direction: column; align-items: flex-start; padding: 18px 20px; }
  .rt-location__cta { margin-left: 0; width: 100%; }
  .rt-location__cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  /* Hide arrival column too — keep Race + Distance + Start */
  .rt-table thead th:nth-child(3),
  .rt-table tbody td:nth-child(3) { display: none; }

  .rt-row__name { gap: 8px; font-size: 0.83rem; }
  .rt-table thead th { font-size: 0.55rem; letter-spacing: 0.14em; }
  .rt-header__title { font-size: clamp(2rem, 10vw, 3rem); }
}

/* =========================================================
    PRIZE MONEY PAGE — prize-money.css
    Relies on style.css for base variables & components
========================================================= */

/* ── Hero ─────────────────────────────────────────────── */
.nm-page-hero--prize {
  background:
    url('https://www.nairobimarathon.com/wp-content/uploads/2025/11/2025-SCNM-131-1024x683.jpg')
    center 35% / cover no-repeat;
  max-height: 520px;
}

/* ── Reveal ───────────────────────────────────────────── */
.nm-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
}
.nm-revealed { opacity: 1; transforssm: translateY(0); }

/* ── Total Purse Banner ───────────────────────────────── */
.pm-totals {
  background: var(--darkblue);
  border-bottom: 1px solid var(--border);
}
.pm-totals__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.pm-totals__item {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}
.pm-totals__item:last-child { border-right: none; }
.pm-totals__item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  transition: width 0.4s ease;
}
.pm-totals__item:hover { background: rgba(255,255,255,0.03); }
.pm-totals__item:hover::after { width: 100%; }
.pm-totals__item--green::after  { background: var(--green); }
.pm-totals__item--blue::after   { background: var(--blue); }
.pm-totals__item--orange::after { background: #f57f20; }
.pm-totals__item--red::after    { background: #ed2027; }
.pm-totals__item--green .pm-totals__num  { color: var(--green); }
.pm-totals__item--blue .pm-totals__num   { color: var(--blue); }
.pm-totals__item--orange .pm-totals__num { color: #f57f20; }
.pm-totals__item--red .pm-totals__num    { color: #ed2027; }
.pm-totals__label {
  font-size: 0.6rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 10px;
}
.pm-totals__num {
  font-family: SCProsperSansbold;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1;
  margin-bottom: 5px;
}
.pm-totals__sub {
  font-size: 0.72rem;
  font-family: var(--font-light);
  color: rgba(255,255,255,0.35);
}

/* ── Main Section ─────────────────────────────────────── */
.pm-section {
  padding: var(--section-pad);
  background: var(--lightblue);
  position: relative;
}
.pm-section::before {
  content: 'KES';
  position: absolute;
  right: -60px; bottom: -30px;
  font-family: SCProsperSansbold;
  font-size: 26vw;
  color: rgba(255,255,255,0.015);
  line-height: 1;
  pointer-events: none;
}

/* ── Layout: sidebar + main ───────────────────────────── */
.pm-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* ── Sidebar nav ──────────────────────────────────────── */
.pm-nav {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pm-nav__head {
  font-size: 0.6rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.25);
  padding: 0 14px 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.pm-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 2px;
  border-left: 2px solid transparent;
  font-size: 0.82rem;
  font-family: var(--font-regular);
  color: rgba(255,255,255,0.4);
  transition: color 0.2s, background 0.2s, border-color 0.2s, padding-left 0.2s;
  cursor: pointer;
}
.pm-nav__link:hover {
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.04);
  padding-left: 18px;
  text-decoration: none;
}
.pm-nav__link--active {
  color: var(--green) !important;
  border-left-color: var(--green);
  background: rgba(31,171,72,0.06);
  font-family: SCProsperSansbold;
}
.pm-nav__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pm-nav__divider {
  height: 1px;
  background: var(--border);
  margin: 10px 0;
}

/* Quick-register card in sidebar */
.pm-nav__cta {
  margin-top: 16px;
  background: var(--green);
  padding: 24px 20px;
  border-radius: 2px;
  text-align: center;
  transition: background 0.2s;
}
.pm-nav__cta:hover { background: var(--green-d); }
.pm-nav__cta p {
  font-size: 0.82rem;
  font-family: var(--font-light);
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: 14px;
}
.pm-nav__cta .btn {
  background: #fff;
  color: var(--green) !important;
  border-color: #fff;
  width: 100%;
  justify-content: center;
  padding: 10px 18px;
  font-size: 0.8rem;
}

/* ── Category blocks ──────────────────────────────────── */
.pm-categories {
  display: flex;
  flex-direction: column;
  gap: 48px;
  
}

.pm-cat {
  background: rgba(17,24,34,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.pm-cat:hover { border-color: rgba(255,255,255,0.12); }

/* Category header */
.pm-cat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px 36px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.pm-cat__head::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
/* Per-category accent colours */
.pm-cat--42  .pm-cat__head::before { background: #ed2027; }
.pm-cat--21  .pm-cat__head::before { background: var(--blue); }
.pm-cat--wc  .pm-cat__head::before { background: #f57f20; }
.pm-cat--10  .pm-cat__head::before { background: var(--green); }
.pm-cat--corp .pm-cat__head::before { background: #9b59b6; }

.pm-cat--42  .pm-cat__km { color: #ed2027; }
.pm-cat--21  .pm-cat__km { color: var(--blue); }
.pm-cat--wc  .pm-cat__km { color: #f57f20; }
.pm-cat--10  .pm-cat__km { color: var(--green); }
.pm-cat--corp .pm-cat__km { color: #9b59b6; }

.pm-cat__title-wrap {}
.pm-cat__km {
  font-family: SCProsperSansbold;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1;
}
.pm-cat__km sup {
  font-size: 1.2rem;
  vertical-align: super;
  opacity: 0.7;
}
.pm-cat__name {
  font-size: 0.7rem;
  font-family: var(--font-medium);
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}
.pm-cat__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.62rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.18em;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.pm-cat__badge svg { width: 13px; height: 13px; }
.pm-cat__purse {
  text-align: right;
}
.pm-cat__purse-lbl {
  font-size: 0.6rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.25);
  margin-bottom: 4px;
}
.pm-cat__purse-amt {
  font-family: SCProsperSansbold;
  font-size: 1.3rem;
  color: #fff;
  line-height: 1;
}
@media (max-width: 700px) {
  .pm-cat{
    width: 100%;
    overflow-x: auto;
  }
}

/* Prize rows table */
.pm-table {
  width: 100%;
  border-collapse: collapse;
}
.pm-table thead tr {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.pm-table thead th {
  font-size: 0.6rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.25);
  padding: 14px 36px;
  text-align: left;
  white-space: nowrap;
}
.pm-table thead th:last-child { text-align: right; }

.pm-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s;
}
.pm-table tbody tr:last-child { border-bottom: none; }
.pm-table tbody tr:hover { background: rgba(255,255,255,0.03); }

.pm-table tbody td {
  padding: 18px 36px;
  vertical-align: middle;
}

/* Position cell */
.pm-pos {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pm-pos__medal {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-family: SCProsperSansbold;
  font-size: 1rem;
  flex-shrink: 0;
}
/* Medal colours */
.pm-pos__medal--1 { color: #FFD700; border-color: rgba(255,215,0,0.35); background: rgba(255,215,0,0.08); }
.pm-pos__medal--2 { color: #C0C0C0; border-color: rgba(192,192,192,0.3); background: rgba(192,192,192,0.05); }
.pm-pos__medal--3 { color: #CD7F32; border-color: rgba(205,127,50,0.3); background: rgba(205,127,50,0.07); }
.pm-pos__medal--n { color: rgba(255,255,255,0.3); }

.pm-pos__label {
  font-size: 0.85rem;
  font-family: var(--font-regular);
  color: rgba(255,255,255,0.6);
}

/* Winners badge */
.pm-winners {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-family: var(--font-medium);
  color: rgba(255,255,255,0.35);
}
.pm-winners svg { width: 12px; height: 12px; }

/* Amount cell */
.pm-amount {
  font-family: SCProsperSansbold;
  font-size: 1.25rem;
  color: #fff;
  text-align: right;
  white-space: nowrap;
}
/* Top 3 amounts get category accent colour */
.pm-table tbody tr:nth-child(1) .pm-amount { font-size: 1.5rem; }
.pm-cat--42  .pm-table tbody tr:nth-child(1) .pm-amount { color: #ed2027; }
.pm-cat--21  .pm-table tbody tr:nth-child(1) .pm-amount { color: var(--blue); }
.pm-cat--wc  .pm-table tbody tr:nth-child(1) .pm-amount { color: #f57f20; }
.pm-cat--10  .pm-table tbody tr:nth-child(1) .pm-amount { color: var(--green); }
.pm-cat--corp .pm-table tbody tr:nth-child(1) .pm-amount { color: #9b59b6; }

/* Bar chart visual inside row */
.pm-bar-wrap {
  width: 120px;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
}
.pm-bar {
  height: 100%;
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--bar-delay, 0s);
}
.pm-cat--42  .pm-bar { background: #ed2027; }
.pm-cat--21  .pm-bar { background: var(--blue); }
.pm-cat--wc  .pm-bar { background: #f57f20; }
.pm-cat--10  .pm-bar { background: var(--green); }
.pm-cat--corp .pm-bar { background: #9b59b6; }

/* ── Grand total strip ────────────────────────────────── */
.pm-grand {
  background: var(--green);
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  z-index: 1;
  margin-top: 8px;
  overflow: hidden;
}
.pm-grand::before {
  content: 'KES';
  position: absolute;
  right: -20px; top: -20px;
  font-family: SCProsperSansbold;
  font-size: 14rem;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  pointer-events: none;
}
.pm-grand__lbl {
  font-size: 0.65rem;
  font-family: SCProsperSansbold;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
}
.pm-grand__amt {
  font-family: SCProsperSansbold;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: #fff;
  line-height: 1;
}
.pm-grand__note {
  font-size: 0.78rem;
  font-family: var(--font-light);
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
}
.pm-grand .btn {
  background: rgba(0,0,0,0.2);
  color: #fff !important;
  border-color: rgba(255,255,255,0.35);
  position: relative;
  z-index: 1;
}
.pm-grand .btn:hover { background: rgba(0,0,0,0.35); border-color: #fff; }

/* ── Notes section ────────────────────────────────────── */
.pm-notes {
  padding: 60px 0 80px;
  background: var(--darkblue);
  border-top: 1px solid var(--border);
}
.pm-notes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.pm-note-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 32px 28px;
  border-radius: 2px;
  transition: border-color 0.3s, background 0.2s;
}
.pm-note-card:hover { border-color: rgba(31,171,72,0.25); background: rgba(31,171,72,0.04); }
.pm-note-card__icon {
  width: 44px; height: 44px;
  background: rgba(31,171,72,0.1);
  border: 1px solid rgba(31,171,72,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  margin-bottom: 18px;
  transition: background 0.2s;
}
.pm-note-card:hover .pm-note-card__icon { background: var(--green); color: #fff; }
.pm-note-card__icon svg { width: 19px; height: 19px; }
.pm-note-card__title {
  font-family: SCProsperSansbold;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 10px;
}
.pm-note-card__body {
  font-size: 0.84rem;
  font-family: var(--font-light);
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .pm-layout { grid-template-columns: 240px 1fr; gap: 44px; }
  .pm-totals__grid { grid-template-columns: repeat(2, 1fr); }
  .pm-totals__item:nth-child(2) { border-right: none; }
  .pm-totals__item { border-bottom: 1px solid var(--border); }
  .pm-totals__item:nth-child(3),
  .pm-totals__item:nth-child(4) { border-bottom: none; }
}
@media (max-width: 900px) {
  .pm-layout { grid-template-columns: 1fr; }
  .pm-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .pm-nav__head { width: 100%; }
  .pm-nav__link { flex: 1; min-width: 120px; border-left: none; border-bottom: 2px solid transparent; padding-left: 14px; }
  .pm-nav__link--active { border-bottom-color: var(--green); border-left-color: transparent; }
  .pm-nav__cta { flex-basis: 100%; }
  .pm-notes__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .pm-totals__grid { grid-template-columns: 1fr; }
  .pm-totals__item { border-right: none !important; border-bottom: 1px solid var(--border); }
  .pm-totals__item:last-child { border-bottom: none; }
  .pm-table thead th,
  .pm-table tbody td { padding: 14px 20px; }
  .pm-cat__head { padding: 20px 20px; }
  .pm-bar-wrap { display: none; }
  .pm-grand { padding: 28px 24px; }
  .pm-notes__grid { grid-template-columns: 1fr; }
  .pm-cat__purse { text-align: left; }
  .pm-nav { flex-direction: column; }
  .pm-nav__link { border-bottom: none; border-left: 2px solid transparent; }
  .pm-nav__link--active { border-left-color: var(--green); border-bottom-color: transparent; }
}
@media (max-width: 480px) {
  .pm-amount { font-size: 1rem; }
  .pm-table tbody tr:nth-child(1) .pm-amount { font-size: 1.2rem; }
  .pm-pos__medal { width: 32px; height: 32px; font-size: 0.85rem; }
}


.nm-reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
  transition-delay: var(--delay, 0s);
}
.nm-revealed { opacity: 1; transform: translateY(0); }


/* =========================================================
    SC FOUNDATION PAGE — page-specific styles
========================================================= */
/* ── Stats strip ──────────────────────────────────────── */
.fm-intro { background: var(--darkblue); border-bottom: 1px solid var(--border); }
.fm-intro__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.fm-intro__item {
  padding: 36px 28px; border-right: 1px solid var(--border);
  position: relative; overflow: hidden; transition: background 0.25s;
}


/* ── Impact ───────────────────────────────────────────── */
.fm-impact { background: var(--darkblue); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 64px 0; position: relative; overflow: hidden; }
.fm-impact::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(31,171,72,0.03) 1px,transparent 1px),linear-gradient(90deg,rgba(31,171,72,0.03) 1px,transparent 1px); background-size: 60px 60px; pointer-events: none; }
.fm-impact__inner { position: relative; z-index: 1; }
.fm-impact__head { margin-bottom: 40px; }
.fm-impact__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }
.fm-impact__stat { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); padding: 32px 28px; transition: background 0.2s, border-color 0.3s; }
.fm-impact__stat:hover { background: rgba(31,171,72,0.06); border-color: rgba(31,171,72,0.2); }
.fm-impact__stat-num { font-family: SCProsperSansbold; font-size: clamp(1.8rem,3.5vw,2.6rem); color: var(--green); line-height: 1; margin-bottom: 8px; }
.fm-impact__stat-label { font-size: 0.8rem; font-family: var(--font-light); color: rgba(255,255,255,0.45); line-height: 1.6; }
.fm-impact__note { margin-top: 28px; padding: 20px 28px; background: rgba(31,171,72,0.07); border: 1px solid rgba(31,171,72,0.2); border-left: 3px solid var(--green); border-radius: 2px; font-size: 0.88rem; font-family: var(--font-light); color: rgba(255,255,255,0.6); line-height: 1.75; }
.fm-impact__note strong { color: rgba(255,255,255,0.85); }

.fm-prog-card__tag { font-size: 0.6rem; font-family: SCProsperSansbold; letter-spacing: 0.22em; color: var(--green); margin-bottom: 8px; }
.fm-prog-card--blue .fm-prog-card__tag   { color: var(--blue); }
.fm-prog-card--orange .fm-prog-card__tag { color: #f57f20; }
.fm-prog-card--red .fm-prog-card__tag    { color: #ed2027; }
.fm-prog-card__title { font-family: SCProsperSansbold; font-size: 1.1rem; color: #fff; line-height: 1.25; margin-bottom: 14px; }
.fm-prog-card__body { font-size: 0.83rem; font-family: var(--font-light); color: rgba(255,255,255,0.5); line-height: 1.8; flex: 1; }
.fm-prog-card__body strong { color: rgba(255,255,255,0.8); }
.fm-prog-card__divider { width: 28px; height: 2px; background: rgba(255,255,255,0.15); margin: 20px 0; }
.fm-prog-card__stat { font-family: SCProsperSansbold; font-size: 1.3rem; color: var(--green); }
.fm-prog-card--blue .fm-prog-card__stat   { color: var(--blue); }
.fm-prog-card--orange .fm-prog-card__stat { color: #f57f20; }
.fm-prog-card--red .fm-prog-card__stat    { color: #ed2027; }
.fm-prog-card__stat-label { font-size: 0.64rem; font-family: var(--font-light); color: rgba(255,255,255,0.3); letter-spacing: 0.1em; margin-top: 2px; }

/* ── Ambition ─────────────────────────────────────────── */
.fm-ambition { padding: var(--section-pad); background: var(--green); position: relative; overflow: hidden; }


/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .fm-intro__grid { grid-template-columns: repeat(2,1fr); }
  .fm-intro__item:nth-child(2) { border-right: none; }
  .fm-intro__item { border-bottom: 1px solid var(--border); }
  .fm-intro__item:nth-child(3),.fm-intro__item:nth-child(4) { border-bottom: none; }
  .fm-about__layout { gap: 48px; }
  .fm-impact__grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .fm-about__layout { grid-template-columns: 1fr; gap: 40px; }
  .fm-about__visual { order: -1; }
  .fm-ambition__layout { grid-template-columns: 1fr; gap: 40px; }
  .fm-donate__layout { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .fm-intro__grid { grid-template-columns: 1fr; }
  .fm-intro__item { border-right: none !important; border-bottom: 1px solid var(--border); }
  .fm-intro__item:last-child { border-bottom: none; }
  .fm-about__img-wrap img { height: 280px; }
  .fm-impact__grid { grid-template-columns: 1fr 1fr; }
  .fm-ambition__stats { grid-template-columns: 1fr; }
  .fm-donate__cta-row { flex-direction: column; }
  .fm-donate__cta-row .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .fm-impact__grid { grid-template-columns: 1fr; }
}