@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

/* ==========================================================================
   RTN CPA - Nonprofit Location Page
   Scoped under .npl-page so it never touches the existing tp-* theme styles.
   ========================================================================== */

.npl-page {
  /* Brand tokens (taken from the approved design) */
  --npl-navy:      #1B2A7B;
  --npl-gold:      #F5A11E;
  --npl-accent:    #40564F;
  --npl-ink:       #1F2A37;
  --npl-body:      #5C6773;
  --npl-muted:     #8C97A3;
  --npl-subtitle:      #506767;   /* theme --tp-grey-1 */
  --npl-subtitle-icon: #1F3130;   /* theme subtitle icon fill */
  --npl-bg:        #FFFFFF;
  --npl-bg-grey:   #F4F5F7;
  --npl-bg-lilac:  #F5F2FB;
  --npl-border:    #EEEFF2;
  --npl-black:     #000000;

  --npl-sans:  'DM Sans', sans-serif;              /* theme --tp-ff-body */
  --npl-serif: 'DM Serif Display', Georgia, serif; /* theme --tp-ff-heading */

  --npl-max:      1240px;
  --npl-max-wide: 1440px;
  --npl-pad:      88px;

  font-family: var(--npl-sans);
  color: var(--npl-body);
  background: var(--npl-bg);
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.npl-page p { text-wrap: pretty; }
.npl-page img { max-width: 100%; height: auto; }

.npl-page a { color: var(--npl-gold); text-decoration: none; transition: color .25s ease, background-color .25s ease, box-shadow .25s ease; }
.npl-page a:hover { color: var(--npl-navy); }

/* ------------------------------------------------------------ layout ---- */
.npl-section { display: flex; justify-content: center; padding: var(--npl-pad) 24px; }
.npl-inner   { width: 100%; max-width: var(--npl-max); }
.npl-inner--wide { max-width: var(--npl-max-wide); }

.npl-bg-white { background: var(--npl-bg); }
.npl-bg-grey  { background: var(--npl-bg-grey); }
.npl-bg-lilac { background: var(--npl-bg-lilac); }
.npl-bg-navy  { background: var(--npl-navy); }

.npl-grid { display: grid; }
.npl-grid--2      { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 72px; }
.npl-grid--2-tight{ grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; }
.npl-grid--2-narrow{ grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: 72px; }
.npl-grid--3      { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.npl-grid--start  { align-items: start; }
.npl-grid--center { align-items: center; }

/* --------------------------------------------------------- typography --- */
/* Matches the theme's .tp-section-subtitle:
   fw-500 + tp-text-grey-1 (#506767) + gap-2 (8px) + mb-10, 16px/26px body text. */
.npl-eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; line-height: 26px; font-weight: 500;
  color: var(--npl-subtitle); margin-bottom: 10px;
}
.npl-eyebrow__icon { flex: none; color: var(--npl-subtitle-icon); }
.npl-eyebrow--center { justify-content: center; }
.npl-eyebrow--light  { color: rgba(255,255,255,.75); }
.npl-eyebrow--light .npl-eyebrow__icon { color: var(--npl-gold); }

.npl-h1 {
  margin: 0; font-size: 64px; line-height: 1.05; font-weight: 600;
  color: #fff; letter-spacing: -1.5px; max-width: 900px;
}
/* Theme scale: h2 50px, h3 36px, letter-spacing -0.02em, line-height 1.1. */
.npl-h2 {
  margin: 0 0 22px; font-size: 50px; line-height: 1.1; font-weight: 600;
  color: var(--npl-gold); letter-spacing: -0.02em;
}
.npl-h2--sm { font-size: 44px; }
.npl-h2--xs { font-size: 38px; }
.npl-h3 {
  margin: 0 0 18px; font-size: 36px; line-height: 1.1; font-weight: 600;
  color: var(--npl-gold); letter-spacing: -0.02em;
}
.npl-h3--ink { color: var(--npl-ink); }

/* Lora italic accent inside a heading */
/* Mirrors the theme's `tp-ff-heading text-italic fw-400` accent span.
   DM Serif Display ships in 400 only, so never raise this weight. */
.npl-accent {
  font-family: var(--npl-serif);
  font-style: italic; font-weight: 400;
  color: var(--npl-accent); letter-spacing: 0;
}
.npl-accent--gold  { color: var(--npl-gold); }
.npl-accent--white { color: #fff; }
.npl-accent--navy  { color: var(--npl-navy); }

.npl-text > p,
.npl-text { font-size: 15.5px; line-height: 1.8; }
.npl-text > p { margin: 0 0 16px; }
.npl-text > p:last-child { margin-bottom: 0; }
.npl-text > ul, .npl-text > ol { margin: 0 0 16px; padding-left: 20px; }
.npl-text > ul li, .npl-text > ol li { margin-bottom: 8px; }
.npl-text strong { color: var(--npl-navy); }
.npl-text--light, .npl-text--light > p { color: rgba(255,255,255,.82); }

.npl-note {
  margin: 22px 0 0; font-size: 15.5px; line-height: 1.8;
  font-style: italic; color: var(--npl-accent);
}
.npl-microlabel {
  margin-top: 26px; font-size: 14px; font-weight: 600; color: var(--npl-muted);
}

/* -------------------------------------------------------------- button -- */
.npl-page .npl-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--npl-gold); color: #fff;
  font-size: 15px; font-weight: 700; line-height: 1;
  padding: 16px 30px; border-radius: 999px;
}
.npl-page .npl-btn:hover { background: var(--npl-navy); color: #fff; }
.npl-page .npl-btn--navy { background: var(--npl-navy); }
.npl-page .npl-btn--navy:hover { background: var(--npl-gold); color: #fff; }
.npl-page .npl-btn--onGold:hover { background: #fff; color: var(--npl-navy); }
.npl-page .npl-btn--mt { margin-top: 12px; }

/* ---------------------------------------------------------------- hero -- */
.npl-hero {
  position: relative;
  display: flex; justify-content: center;
  padding: 96px 24px 90px;
  background: #59606A center/cover no-repeat;
  margin-top: 135px;
}
.npl-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(115deg, rgba(27,42,123,.86), rgba(60,66,74,.72));
}
.npl-hero > .npl-inner { position: relative; z-index: 1; }
.npl-hero__eyebrow {
  font-size: 14px; font-weight: 600; letter-spacing: .5px;
  color: var(--npl-gold); margin-bottom: 16px;
}
.npl-hero__text {
  margin: 26px 0 0; max-width: 620px;
  font-size: 16px; line-height: 1.75; color: rgba(255,255,255,.82);
}
.npl-hero .npl-btn { margin-top: 32px; }
.npl-breadcrumb {
  margin-top: 54px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.7);
}
.npl-breadcrumb a { color: rgba(255,255,255,.7); }
.npl-breadcrumb a:hover { color: #fff; }
.npl-breadcrumb__current { color: var(--npl-gold); }

/* --------------------------------------------------------------- intro -- */
.npl-intro { display: flex; justify-content: center; background: var(--npl-bg); }
.npl-intro__wrap {
  width: 100%; max-width: var(--npl-max-wide);
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr);
}
.npl-intro__media {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  grid-template-rows: minmax(0,1fr) minmax(0,1fr);
}
.npl-intro__img { position: relative; min-width: 0; overflow: hidden; }
.npl-intro__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.npl-intro__img--tall { grid-row: span 2; min-height: 520px; }
.npl-intro__img--top  { min-height: 260px; }
.npl-intro__img--ph { background: var(--npl-bg-grey); }
.npl-intro__stat {
  background: var(--npl-navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 32px; text-align: center;
}
.npl-intro__stat-num { font-size: 52px; font-weight: 600; color: var(--npl-gold); line-height: 1; }
.npl-intro__stat-label { font-size: 15px; font-weight: 600; color: #fff; }
.npl-intro__body { padding: 80px 24px 80px 72px; max-width: 720px; }

/* -------------------------------------------------------------- cards --- */
.npl-card {
  background: #fff; border-radius: 20px; padding: 38px 36px;
  box-shadow: 0 2px 10px rgba(20,30,50,.05);
}
.npl-card--grey  { background: var(--npl-bg-grey); border-radius: 18px; padding: 36px 34px; box-shadow: none; }
.npl-card--navy  { background: var(--npl-navy); border-radius: 20px; padding: 42px 40px; box-shadow: none; }
.npl-card--lg    { padding: 40px 38px; }
.npl-card__title { font-size: 17px; font-weight: 700; color: var(--npl-navy); margin-bottom: 20px; }
.npl-card__title--lg { font-size: 20px; color: #fff; margin-bottom: 24px; }

/* ------------------------------------------------------------ checklist - */
.npl-list { display: flex; flex-direction: column; gap: 14px; }
.npl-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; line-height: 1.55; color: var(--npl-ink); font-weight: 500;
  list-style: none;
}
.npl-list li::before { content: "\2713"; color: var(--npl-gold); flex: none; font-weight: 700; }
.npl-list--light li { color: rgba(255,255,255,.9); }
.npl-list--white li { color: #fff; }
.npl-list--gap16 { gap: 16px; }
.npl-list, .npl-page ul.npl-list { margin: 0; padding: 0; }

/* ------------------------------------------------------------- sectors -- */
.npl-sectors__heading {
  margin: 0 0 34px; font-size: 36px; font-weight: 600;
  color: var(--npl-ink); letter-spacing: -.6px; max-width: 760px;
}
.npl-sector {
  background: #fff; border-radius: 14px; padding: 22px 24px;
  font-size: 15.5px; font-weight: 600; color: var(--npl-ink);
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 1px 3px rgba(20,30,50,.06);
}
.npl-sector::before { content: "\2713"; color: var(--npl-gold); flex: none; }
.npl-sectors__grid { gap: 16px; }

/* ------------------------------------------------- centred header block - */
.npl-head-center { text-align: center; max-width: 820px; margin: 0 auto 46px; }
.npl-head-center .npl-h2 { margin-bottom: 18px; }
.npl-head-center p { margin: 0; font-size: 15.5px; line-height: 1.8; }

/* --------------------------------------------------- feature (audit) ---- */
.npl-feature {
  display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1fr);
  gap: 56px; align-items: center;
  background: #fff; border-radius: 20px; padding: 40px;
  box-shadow: 0 2px 10px rgba(20,30,50,.05);
}
.npl-feature__media {
  position: relative; min-width: 0; min-height: 360px;
  border-radius: 14px; overflow: hidden; background: var(--npl-bg-grey);
}
.npl-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.npl-feature .npl-text { margin-top: 24px; }

/* --------------------------------------------------------- area served -- */
.npl-area__media {
  position: relative; min-width: 0; min-height: 400px;
  border-radius: 20px; overflow: hidden; background: var(--npl-bg-grey);
}
.npl-area__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* -------------------------------------------------------- testimonials -- */
.npl-testimonials__head { text-align: center; margin-bottom: 44px; }
.npl-testimonials__head .npl-h2 { margin-bottom: 0; }
.npl-testimonials__grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.npl-quote { background: var(--npl-bg-grey); border-radius: 20px; padding: 40px 38px; }
.npl-quote__mark {
  font-size: 44px; line-height: .6; color: var(--npl-gold);
  font-family: var(--npl-serif); font-style: italic; font-weight: 400;
}
.npl-quote p { margin: 18px 0 24px; font-size: 16.5px; line-height: 1.8; color: var(--npl-ink); }
.npl-quote__author { font-size: 14.5px; font-weight: 700; color: var(--npl-navy); }

/* --------------------------------------------------------- credentials -- */
.npl-cred__grid { grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 64px; align-items: center; }
.npl-cred__boxes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.npl-cred__box {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px; padding: 26px 24px;
}
.npl-cred__label {
  font-size: 13px; font-weight: 700; letter-spacing: 1.2px;
  color: var(--npl-gold); margin-bottom: 12px; text-transform: uppercase;
}

/* ------------------------------------------------------ where to start -- */
.npl-start__head { text-align: center; margin-bottom: 40px; }
.npl-start__head .npl-h2 { margin-bottom: 12px; }
.npl-start__head p { margin: 0; font-size: 15.5px; }
.npl-page .npl-start__card {
  background: #fff; border-radius: 18px; padding: 34px 30px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 2px 10px rgba(20,30,50,.05); color: var(--npl-ink);
}
.npl-page .npl-start__card:hover { box-shadow: 0 10px 30px rgba(27,42,123,.14); transform: translateY(-2px); }
.npl-start__card span { font-size: 20px; font-weight: 700; color: var(--npl-navy); }

/* -------------------------------------------------------- also serving -- */
.npl-serving { padding-bottom: 0; text-align: center; }
.npl-serving .npl-h2 { margin-bottom: 12px; }
.npl-serving p { margin: 0 auto 28px; max-width: 720px; font-size: 15.5px; line-height: 1.8; }
.npl-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.npl-page .npl-pill {
  background: var(--npl-bg-grey); border-radius: 999px; padding: 11px 22px;
  font-size: 14.5px; font-weight: 600; color: var(--npl-navy);
}
.npl-page a.npl-pill:hover { background: var(--npl-navy); color: #fff; }

/* ----------------------------------------------------------- bottom CTA - */
.npl-cta-section { padding: 80px 24px 96px; }
.npl-cta {
  width: 100%; max-width: var(--npl-max);
  background: var(--npl-gold); border-radius: 24px; padding: 60px;
  display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  gap: 60px; align-items: center;
}
.npl-cta .npl-h2 { color: #fff; }
.npl-cta__text p { margin: 0 0 14px; font-size: 16px; line-height: 1.8; color: rgba(255,255,255,.94); }
.npl-cta__text p:last-child { margin-bottom: 0; }
.npl-cta__card { background: #fff; border-radius: 18px; padding: 36px 34px; }
.npl-cta__card p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.8; }
.npl-cta__card .npl-btn { margin-top: 12px; }

/* ------------------------------------------------------- floating call -- */
.npl-page .npl-floating {
  position: fixed; left: 22px; bottom: 22px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
}
.npl-page .npl-floating:hover { color: #fff; transform: scale(1.06); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  .npl-page { --npl-pad: 72px; }
  .npl-h1 { font-size: 52px; }
  .npl-h2 { font-size: 42px; }
  .npl-h2--sm { font-size: 38px; }
  .npl-h2--xs { font-size: 34px; }
  .npl-h3, .npl-sectors__heading { font-size: 32px; }
  .npl-grid--2, .npl-grid--2-tight, .npl-grid--2-narrow { gap: 48px; }
  .npl-feature { gap: 40px; padding: 32px; }
  .npl-intro__body { padding: 60px 24px 60px 48px; }
  .npl-cta { padding: 48px; gap: 40px; }
}

@media (max-width: 991px) {
  .npl-page { --npl-pad: 60px; }
  .npl-hero { padding: 72px 24px 64px; }
  .npl-h1 { font-size: 42px; letter-spacing: -1px; }
  .npl-h2, .npl-h2--sm { font-size: 34px; }
  .npl-h2--xs { font-size: 30px; }
  .npl-h3, .npl-sectors__heading { font-size: 28px; }

  .npl-grid--2,
  .npl-grid--2-tight,
  .npl-grid--2-narrow,
  .npl-cred__grid,
  .npl-feature,
  .npl-intro__wrap,
  .npl-cta { grid-template-columns: minmax(0,1fr); gap: 36px; }

  .npl-grid--3, .npl-testimonials__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .npl-intro__body { padding: 48px 0 0; max-width: none; }
  .npl-intro { padding: 0 24px 60px; }
  .npl-intro__img--tall { min-height: 380px; }
  .npl-feature__media, .npl-area__media { min-height: 320px; }

  /* image first on stacked service rows */
  .npl-order-first { order: -1; }
}

@media (max-width: 767px) {
  .npl-page { --npl-pad: 48px; }
  .npl-section, .npl-hero { padding-left: 18px; padding-right: 18px; }
  .npl-h1 { font-size: 34px; }
  .npl-h2, .npl-h2--sm, .npl-h2--xs { font-size: 28px; }
  .npl-h3, .npl-sectors__heading { font-size: 24px; }

  .npl-grid--3,
  .npl-testimonials__grid,
  .npl-cred__boxes,
  .npl-intro__media { grid-template-columns: minmax(0,1fr); }

  .npl-intro__media { grid-template-rows: auto; }
  .npl-intro__img--tall { grid-row: auto; min-height: 300px; }
  .npl-intro__img--top { min-height: 220px; }

  .npl-card, .npl-card--grey, .npl-card--navy, .npl-card--lg,
  .npl-quote, .npl-cta__card { padding: 26px 22px; }
  .npl-feature { padding: 22px; }
  .npl-cta { padding: 32px 24px; border-radius: 18px; }
  .npl-cta-section { padding: 48px 18px 64px; }
  .npl-page .npl-btn { padding: 14px 24px; font-size: 14.5px; }
  .npl-breadcrumb { margin-top: 32px; }
}
