  :root {
    --nsrl-font-serif: var(--nsrl-font-heading, "DM Sans", sans-serif);
    --nsrl-font-sans: var(--nsrl-font, "DM Sans", sans-serif);
    
    --nsrl-primary-deep: #0d382c;
    --nsrl-accent-green: #0f766e;
    --nsrl-light-teal: #2dd4bf;
    --nsrl-text-main: #0f172a;
    --nsrl-text-muted: #475569;
    --nsrl-border-color: #cbd5e1;
    
    --nsrl-spacing-sm: 8px;
    --nsrl-spacing-md: 16px;
    --nsrl-spacing-lg: 24px;
    --nsrl-spacing-xl: 32px;
  }

  .nsrl-about {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: var(--nsrl-font-sans);
    color: var(--nsrl-text-main);
    box-sizing: border-box;
  }

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

  /* HEADER STYLE UNIFIED */
  .nsrl-header {
    text-align: center;
    margin-bottom: 48px;
  }

  .nsrl-eyebrow {
    display: block;
    font-family: var(--nsrl-font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--nsrl-accent-green);
    margin-bottom: var(--nsrl-spacing-sm);
  }

  .nsrl-title {
    font-family: var(--nsrl-font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--nsrl-primary-deep);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.2;
  }

  /* BENTO GRID LAYOUT */
  .nsrl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--nsrl-spacing-lg);
  }

  /* CARD BASE STYLES */
  .nsrl-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border: 1px solid var(--nsrl-border-color);
  }

  .nsrl-card--main {
    grid-column: span 2;
    min-height: 340px;
  }

  .nsrl-card--history {
    grid-column: span 1;
    background: #ffffff;
  }

  .nsrl-card--capabilities {
    grid-column: span 1;
  }

  .nsrl-card--impact {
    grid-column: span 2;
    background: #ffffff;
  }

  /* DEFAULT INACTIVE STATE */
  .nsrl-card__default {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: var(--nsrl-spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.85) 100%);
    color: #ffffff;
    transition: opacity 0.3s ease;
    z-index: 1;
  }

  .nsrl-card--history .nsrl-card__default,
  .nsrl-card--impact .nsrl-card__default {
    background: #ffffff;
    color: var(--nsrl-text-main);
  }

  .nsrl-card__tag {
    font-family: var(--nsrl-font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nsrl-light-teal);
  }

  .nsrl-card--history .nsrl-card__tag,
  .nsrl-card--impact .nsrl-card__tag {
    color: var(--nsrl-accent-green);
  }

  .nsrl-card__heading {
    font-family: var(--nsrl-font-serif);
    font-size: 1.65rem;
    font-weight: 700;
    margin: var(--nsrl-spacing-sm) 0 0 0;
    line-height: 1.25;
    color: inherit;
  }

  .nsrl-card__preview-text {
    font-family: var(--nsrl-font-sans);
    font-size: 0.95rem;
    color: var(--nsrl-text-muted);
    margin-top: var(--nsrl-spacing-sm);
    line-height: 1.5;
  }

  .nsrl-hover-hint {
    font-family: var(--nsrl-font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(15, 23, 42, 0.6);
    padding: 6px 12px;
    border-radius: 4px;
    color: #ffffff;
    align-self: flex-start;
  }

  .nsrl-card--history .nsrl-hover-hint,
  .nsrl-card--impact .nsrl-hover-hint {
    background: #f1f5f9;
    color: #334155;
  }

  /* HOVER OVERLAY ANIMATION */
  .nsrl-card__overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(13, 56, 44, 0.96);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: var(--nsrl-spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    z-index: 2;
  }

  .nsrl-card__subheading {
    font-family: var(--nsrl-font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 6px 0 12px 0;
    color: #ffffff;
    line-height: 1.25;
  }

  .nsrl-card__text {
    font-family: var(--nsrl-font-sans);
    font-size: 0.95rem;
    line-height: 1.65;
    color: #e2e8f0;
    margin: 0;
  }

  /* HOVER / TAP / KEYBOARD TRIGGERS
     Mouse: hover. Touch: tap (about-us.js adds .is-open; a sticky :hover would keep it open).
     Keyboard: Enter or Space (.is-open); Escape closes. */
  .nsrl-card.is-open .nsrl-card__overlay {
    opacity: 1;
    transform: translateY(0);
  }

  .nsrl-card.is-open .nsrl-card__default {
    opacity: 0;
  }

  @media (hover: hover) {
    .nsrl-card:hover .nsrl-card__overlay {
      opacity: 1;
      transform: translateY(0);
    }

    .nsrl-card:hover .nsrl-card__default {
      opacity: 0;
    }
  }

  /* ==========================================
     CORE VALUES SECTION STYLING
     ========================================== */
  .nsrl-values-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--nsrl-border-color);
  }

  .nsrl-values-header {
    text-align: center;
    margin-bottom: 40px;
  }

  .nsrl-values-subtitle {
    font-family: var(--nsrl-font-sans);
    font-size: 1rem;
    color: var(--nsrl-text-muted);
    margin-top: 8px;
  }

  .nsrl-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--nsrl-spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
  }

  .nsrl-value-item {
    background: #ffffff;
    border: 1px solid var(--nsrl-border-color);
    border-radius: 12px;
    padding: var(--nsrl-spacing-lg);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .nsrl-value-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  }

  .nsrl-value-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--nsrl-accent-green);
    margin-top: 8px;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
  }

  .nsrl-value-content h4 {
    font-family: var(--nsrl-font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--nsrl-primary-deep);
    margin: 0 0 6px 0;
  }

  .nsrl-value-content p {
    font-family: var(--nsrl-font-sans);
    font-size: 0.9rem;
    color: var(--nsrl-text-muted);
    line-height: 1.5;
    margin: 0;
  }

  /* ==========================================
     MEET OUR TEAM SECTION STYLING (CIRCULAR)
     ========================================== */
  .nsrl-team-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--nsrl-border-color);
  }

  .nsrl-team-header {
    text-align: center;
    margin-bottom: 40px;
  }

  .nsrl-team-subtitle {
    font-family: var(--nsrl-font-sans);
    font-size: 1rem;
    color: var(--nsrl-text-muted);
    margin-top: 8px;
  }

  .nsrl-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--nsrl-spacing-lg);
  }

  .nsrl-team-card {
    background: #ffffff;
    border: 1px solid var(--nsrl-border-color);
    border-radius: 12px;
    padding: 32px var(--nsrl-spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .nsrl-team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }

  .nsrl-team-img-wrapper {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
    border: 3px solid #f1f5f9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  }

  .nsrl-team-info {
    width: 100%;
  }

  .nsrl-team-role {
    font-family: var(--nsrl-font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nsrl-accent-green);
    display: block;
    margin-bottom: 6px;
  }

  .nsrl-team-name {
    font-family: var(--nsrl-font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--nsrl-primary-deep);
    margin: 0;
  }

  /* SCROLL ANIMATION */
  .nsrl-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nsrl-animate.nsrl-visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* RESPONSIVE DESIGN */
  @media (max-width: 900px) {
    .nsrl-grid,
    .nsrl-team-grid,
    .nsrl-values-grid {
      grid-template-columns: 1fr;
    }
    .nsrl-card--main,
    .nsrl-card--history,
    .nsrl-card--capabilities,
    .nsrl-card--impact {
      grid-column: span 1;
    }
  }

  @media (max-width: 600px) {
    .nsrl-title {
      font-size: 2.25rem;
    }
  }
/* ==========================================================================
   Theme guard: the theme / Elementor kit styles h1–h4 with higher specificity,
   which turned these headings dark on the photo cards.
   Scoped to #nsrl-about so they keep the colors and sizes intended above.
   Fonts are left exactly as the rules above set them.
   ========================================================================== */
#nsrl-about h1.nsrl-title,
#nsrl-about h2.nsrl-title {
  font-size: 3rem;
  line-height: 1.1;
  color: var(--nsrl-primary-deep);
  text-transform: none;
}
#nsrl-about .nsrl-values-header h2.nsrl-title,
#nsrl-about .nsrl-team-header h2.nsrl-title { font-size: 2.25rem; }

#nsrl-about h2.nsrl-card__heading {
  font-size: 1.65rem;
  line-height: 1.2;
  color: inherit;
  text-transform: none;
}
#nsrl-about .nsrl-card--main h2.nsrl-card__heading,
#nsrl-about .nsrl-card--capabilities h2.nsrl-card__heading { color: #ffffff; }
#nsrl-about .nsrl-card--history h2.nsrl-card__heading,
#nsrl-about .nsrl-card--impact h2.nsrl-card__heading { color: var(--nsrl-text-main); }

#nsrl-about h3.nsrl-card__subheading {
  font-size: 1.5rem;
  line-height: 1.2;
  color: #ffffff;
  text-transform: none;
}
#nsrl-about p.nsrl-card__text { color: #e2e8f0; }

#nsrl-about .nsrl-value-content h4,
#nsrl-about h3.nsrl-team-name {
  color: var(--nsrl-primary-deep);
  line-height: 1.25;
  text-transform: none;
}
#nsrl-about .nsrl-value-content h4 { font-size: 1.25rem; }
#nsrl-about h3.nsrl-team-name { font-size: 1.35rem; }

@media (max-width: 768px) {
  #nsrl-about h1.nsrl-title { font-size: 2.25rem; }
  #nsrl-about .nsrl-values-header h2.nsrl-title,
  #nsrl-about .nsrl-team-header h2.nsrl-title { font-size: 1.875rem; }
}

/* ==========================================================================
   Managed content (admin dashboard > Content > About Us, 2026-10-29)
   Any card can have a photo (.has-photo) or none; the team shows initials
   when a person has no photo; empty sections are hidden.
   ========================================================================== */
#nsrl-about [hidden] { display: none !important; }

.nsrl-card.has-photo { background-size: cover; background-position: center; background-repeat: no-repeat; }
.nsrl-card:focus-visible { outline: 3px solid rgba(15, 118, 110, 0.55); outline-offset: 3px; }
.nsrl-card__overlay { overflow-y: auto; }

/* wide/photo cards with no photo: deep green instead of an empty frame */
.nsrl-card--main:not(.has-photo),
.nsrl-card--capabilities:not(.has-photo) {
  background: linear-gradient(160deg, #0f4a3a 0%, var(--nsrl-primary-deep) 100%);
  border-color: transparent;
}
.nsrl-card--main:not(.has-photo) .nsrl-card__default,
.nsrl-card--capabilities:not(.has-photo) .nsrl-card__default { background: transparent; }
.nsrl-card--main .nsrl-card__preview-text,
.nsrl-card--capabilities .nsrl-card__preview-text { color: rgba(255, 255, 255, 0.82); }

/* white cards that were given a photo: same dark shade as the photo cards */
.nsrl-card--history.has-photo .nsrl-card__default,
.nsrl-card--impact.has-photo .nsrl-card__default {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.85) 100%);
  color: #ffffff;
}
.nsrl-card--history.has-photo .nsrl-card__default .nsrl-card__tag,
.nsrl-card--impact.has-photo .nsrl-card__default .nsrl-card__tag { color: var(--nsrl-light-teal); }
.nsrl-card--history.has-photo .nsrl-card__preview-text,
.nsrl-card--impact.has-photo .nsrl-card__preview-text { color: rgba(255, 255, 255, 0.82); }
.nsrl-card--history.has-photo .nsrl-hover-hint,
.nsrl-card--impact.has-photo .nsrl-hover-hint { background: rgba(15, 23, 42, 0.6); color: #ffffff; }
#nsrl-about .nsrl-card--history.has-photo h2.nsrl-card__heading,
#nsrl-about .nsrl-card--impact.has-photo h2.nsrl-card__heading { color: #ffffff; }

/* the back of the card may hold several paragraphs */
#nsrl-about .nsrl-card__overlay p.nsrl-card__text + p.nsrl-card__text { margin-top: 0.75em; }

/* team member without a photo */
.nsrl-team-img-wrapper.is-initials {
  display: grid;
  place-items: center;
  background: #e6f2ef;
  color: var(--nsrl-accent-green);
  font-family: var(--nsrl-font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.nsrl-team-name { overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
  .nsrl-card__overlay, .nsrl-card__default, .nsrl-value-item, .nsrl-team-card { transition: none; }
}

