/* 2026-08 client revision sheet */

/* Unified horizontal brand lock-up ---------------------------------------
   The mark and wordmark are one responsive image. This replaces the former
   pseudo-element wordmark, which could overlap or disappear at breakpoints. */
.site-header-logo > a::after,
.home .site-header-logo > a::after,
.header_scrolled .site-header-logo > a::after,
.home.header_scrolled .site-header-logo > a::after {
  display: none !important;
  content: none !important;
}

.site-header-logo img,
.home .site-header-logo img,
.header_scrolled .site-header-logo img,
.home.header_scrolled .site-header-logo img {
  display: block !important;
  width: clamp(220px, 18.5vw, 292px) !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  content: normal !important;
  object-fit: contain !important;
}

.site-header-logo > a,
.home .site-header-logo > a,
.header_scrolled .site-header-logo > a,
.home.header_scrolled .site-header-logo > a {
  display: inline-flex !important;
  align-items: center !important;
  overflow: visible !important;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-header-logo img,
  .home .site-header-logo img,
  .header_scrolled .site-header-logo img,
  .home.header_scrolled .site-header-logo img {
    width: clamp(205px, 20vw, 240px) !important;
  }
}

@media (max-width: 991.98px) {
  .site-header-logo img,
  .home .site-header-logo img,
  .header_scrolled .site-header-logo img,
  .home.header_scrolled .site-header-logo img {
    width: clamp(188px, 55vw, 230px) !important;
  }
}

@media (max-width: 374.98px) {
  .site-header-logo img,
  .home .site-header-logo img,
  .header_scrolled .site-header-logo img,
  .home.header_scrolled .site-header-logo img {
    width: 176px !important;
  }
}

/* Sticky header (PC / iPad): always use the integrated horizontal logo.
   Lightning may reevaluate the sticky logo after scroll, so lock the
   rendered image itself instead of relying only on the original src. */
@media (min-width: 768px) {
  body.header_scrolled .site-header-logo img,
  body.scrolled .site-header-logo img,
  body.header_scrolled .site-header-logo--scrolled--logo-and-nav-full img,
  body.scrolled .site-header-logo--scrolled--logo-and-nav-full img {
    content: url("assets/nfp-horizontal-logo.png") !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
}

/* Sticky header (PC / iPad): always use the integrated horizontal logo.
   Lightning may reevaluate the sticky logo after scroll, so lock the
   rendered image itself instead of relying only on the original src. */
@media (min-width: 768px) {
  body.header_scrolled .site-header-logo img,
  body.scrolled .site-header-logo img,
  body.header_scrolled .site-header-logo--scrolled--logo-and-nav-full img,
  body.scrolled .site-header-logo--scrolled--logo-and-nav-full img {
    content: url("assets/nfp-horizontal-logo.png") !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
}

/* Home hero / summary */
.nfp-home__hero-visual img { object-position: center 38%; }
.nfp-home__hero-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nfp-home__hero-facts > .wp-block-column { position: relative; }
.nfp-home__hero-facts > .wp-block-column::before {
  content: ""; display: block; width: 30px; height: 30px; margin: 0 auto 12px;
  border: 1px solid #c88a24; border-radius: 50%;
  background: radial-gradient(circle, #c88a24 0 3px, transparent 4px);
}

/* 2026-08 revision sheet 2 ------------------------------------------------ */

/* Keep the complete brand lock-up visible on desktop, compact headers and
   mobile. The base theme hid the wordmark at 992-1199px and after scrolling. */
@media (min-width: 992px) {
  .site-header-logo > a::after,
  .home .site-header-logo > a::after,
  .header_scrolled .site-header-logo > a::after,
  .home.header_scrolled .site-header-logo > a::after {
    display: inline-flex !important;
    content: "NEXT FIELD PARTNERS" !important;
  }

  .header_scrolled .site-header-logo > a::after,
  .home.header_scrolled .site-header-logo > a::after {
    min-height: 28px;
    margin-left: 12px;
    padding-left: 12px;
    font-size: 8px;
    letter-spacing: .12em;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-header-logo > a::after,
  .home .site-header-logo > a::after {
    min-height: 28px;
    margin-left: 10px;
    padding-left: 10px;
    font-size: 7px;
    letter-spacing: .08em;
  }

  .site-header-logo img,
  .home .site-header-logo img,
  .home.header_scrolled .site-header-logo img { max-height: 42px !important; }
}

@media (max-width: 991.98px) {
  .site-header-container.container,
  .home .site-header-container.container,
  .header_scrolled .site-header-container.container,
  .home.header_scrolled .site-header-container.container {
    display: flex !important;
    min-height: 72px !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .site-header-logo,
  .home .site-header-logo,
  .header_scrolled .site-header-logo,
  .home.header_scrolled .site-header-logo {
    display: flex !important;
    width: auto !important;
    max-width: calc(100% - 64px) !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    text-align: left !important;
  }

  .site-header-logo > a,
  .home .site-header-logo > a,
  .header_scrolled .site-header-logo > a,
  .home.header_scrolled .site-header-logo > a {
    display: inline-flex !important;
    width: auto !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .site-header-logo > a::after,
  .home .site-header-logo > a::after,
  .header_scrolled .site-header-logo > a::after,
  .home.header_scrolled .site-header-logo > a::after {
    display: inline-flex !important;
    min-height: 26px;
    align-items: center;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid rgba(185,130,47,.58);
    content: "NEXT FIELD PARTNERS" !important;
    color: #071e41;
    font-family: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
    font-size: 7px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: .08em;
    white-space: nowrap;
  }

  .site-header-logo img,
  .home .site-header-logo img,
  .header_scrolled .site-header-logo img,
  .home.header_scrolled .site-header-logo img {
    width: auto !important;
    max-height: 38px !important;
  }
}

/* Home hero summary: larger, recognisable pictograms placed beside the copy. */
.nfp-home__hero-facts > .wp-block-column::before {
  box-sizing: border-box;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  box-shadow: 0 4px 12px rgba(7,30,65,.16);
}
.nfp-home__hero-facts > .wp-block-column:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23071e41' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.8-3 8.2-7 10-4-1.8-7-5.2-7-10V6l7-3z'/%3E%3Cpath d='M9 12l2 2 4-5'/%3E%3C/svg%3E");
}
.nfp-home__hero-facts > .wp-block-column:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23071e41' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1116 0z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}
.nfp-home__hero-facts > .wp-block-column:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23071e41' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='4' width='12' height='16' rx='1.5'/%3E%3Cpath d='M9 4.5V3h6v1.5M9 9h6M9 13h6M9 17h4'/%3E%3C/svg%3E");
}
.nfp-home__hero-facts > .wp-block-column:nth-child(4)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23071e41' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 16l1.5-6h11L19 16M4 16h16v3H4zM7 19v2M17 19v2M8.5 13h7'/%3E%3C/svg%3E");
}

@media (hover: hover) and (pointer: fine) {
  .nfp-home__service-list .nfp-home__service-item {
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
  }
  .nfp-home__service-list .nfp-home__service-item:hover {
    z-index: 2;
    border-color: rgba(200,138,36,.55);
    box-shadow: 0 20px 38px rgba(7,30,65,.14);
    transform: translateY(-5px) scale(1.012);
  }
}

@media (min-width: 1200px) {
  .nfp-home__pricing > div > .vk_outer_container > .wp-block-columns {
    grid-template-columns: minmax(520px,.85fr) minmax(0,1fr) !important;
  }
  .nfp-home__pricing h2 {
    font-size: clamp(34px, 2.7vw, 46px) !important;
    letter-spacing: -.025em;
  }
}

/* Company profile and track record. */
.nfp-company .nfp-track-section .nfp-stat-grid {
  gap: 18px !important;
}
.nfp-company .nfp-track-section .nfp-stat {
  box-sizing: border-box;
  height: 100%;
  min-height: 170px;
  padding: 30px 24px !important;
  border: 1px solid rgba(200,138,36,.36) !important;
  border-top: 4px solid #c88a24 !important;
  border-radius: 12px;
  background: #fff !important;
  box-shadow: 0 12px 28px rgba(7,30,65,.07);
}
.nfp-company .nfp-track-section .nfp-stat-label { font-size: .85rem; }
.nfp-company .nfp-track-section .nfp-stat-value { font-size: clamp(1.5rem,2.4vw,2.25rem); }

/* Privacy text is intentionally visible before consent, while remaining compact. */
.nfp-contact .nfp-privacy-box {
  box-sizing: border-box;
  max-height: 132px;
  margin: 0 0 16px;
  padding: 16px 18px;
  overflow-y: auto;
  border: 1px solid #cfd8e4;
  border-radius: 4px;
  background: #f7f8fa;
  color: #526070;
  font-size: .82rem;
  line-height: 1.85;
}
.nfp-contact .nfp-privacy-box p { margin: 0; }

@media (max-width: 767px) {
  .nfp-home__hero-facts {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
  .nfp-home__hero-facts > .wp-block-column {
    display: grid !important;
    grid-template-columns: 44px minmax(0,1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    min-height: 96px !important;
    align-content: center;
    padding: 14px 12px !important;
    text-align: left !important;
  }
  .nfp-home__hero-facts > .wp-block-column::before {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 40px;
    height: 40px;
    margin: 0 !important;
    background-size: 23px 23px;
  }
  .nfp-home__hero-facts > .wp-block-column > p {
    grid-column: 2;
    margin: 0 0 3px !important;
    font-size: clamp(.68rem,3vw,.78rem) !important;
    line-height: 1.35 !important;
  }
  .nfp-home__hero-facts > .wp-block-column > h3 {
    grid-column: 2;
    margin: 0 !important;
    font-size: clamp(1rem,4.5vw,1.25rem) !important;
    line-height: 1.25 !important;
    white-space: nowrap;
  }

  .nfp-company .nfp-profile-table tr:first-child td {
    font-size: clamp(.76rem,3.45vw,.88rem) !important;
    letter-spacing: -.035em;
    white-space: nowrap;
  }
  .nfp-company .nfp-track-section .nfp-stat-grid {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px !important;
  }
  .nfp-company .nfp-track-section .nfp-stat {
    min-height: 128px !important;
    padding: 20px 12px !important;
  }
  .nfp-company .nfp-track-section .nfp-stat-label { font-size: .7rem !important; }
  .nfp-company .nfp-track-section .nfp-stat-value {
    font-size: clamp(1.08rem,5.25vw,1.35rem) !important;
    white-space: nowrap;
  }
  .nfp-contact .nfp-privacy-box {
    max-height: 116px;
    padding: 13px 14px;
    font-size: .75rem;
  }
}

@media (max-width: 359px) {
  .nfp-home__hero-facts { grid-template-columns: 1fr !important; }
}

.nfp-reason-list { align-items: stretch; }
.nfp-reason-list .nfp-home__benefit-item { min-height: 250px; }
.nfp-home__service-list > div > .vk_outer_container {
  position: relative; display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 32px; max-width: 1020px; margin-inline: auto;
}
.nfp-home__services .nfp-home__section-heading {
  margin-bottom: 56px !important;
}
.nfp-home__service-list,
.nfp-home__service-list > div > .vk_outer_container {
  border-top: 0 !important;
}
.nfp-home__service-list > div > .vk_outer_container::after {
  content: "ONE STOP"; position: absolute; z-index: 3; left: 50%; top: 50%;
  width: 150px; aspect-ratio: 1; transform: translate(-50%,-50%);
  display: grid; place-items: center; border-radius: 50%; background: #071e41;
  color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .18em;
  border: 4px solid #f3f5f7; box-shadow: 0 10px 26px rgba(7,30,65,.18);
}
.nfp-home__service-list .nfp-home__service-item { border-radius: 16px; box-shadow: 0 12px 28px rgba(7,30,65,.07); }
.nfp-home__service-list .nfp-home__service-item .vk_outer_container { min-height: 230px; padding: 34px 42px; }
.nfp-home__service-list .nfp-home__service-item:nth-child(odd) .vk_outer_container { padding-right: 108px; }
.nfp-home__service-list .nfp-home__service-item:nth-child(even) .vk_outer_container { padding-left: 108px; }

/* Company */
.nfp-company .nfp-message-photo img { object-position: center 35%; }
.nfp-company .nfp-track-section .nfp-stat {
  background: #fff; color: #071e41; border-color: rgba(255,255,255,.75);
}
.nfp-company .nfp-track-section .nfp-stat * { color: #071e41 !important; }
.nfp-company .nfp-map-embed { background: #fff !important; color: #071e41 !important; padding: 0 !important; }
.nfp-company .nfp-map-embed h3 { color: #071e41 !important; }

/* Service flow */
.nfp-flow-grid {
  display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 56px !important; margin-top: 46px;
}
.nfp-flow-card {
  position: relative; min-height: 255px; padding: 36px 34px !important;
  border: 1px solid #d4dde8; border-radius: 12px; background: #fff;
  box-shadow: 0 14px 32px rgba(7,30,65,.07);
}
.nfp-flow-card::after {
  content: ""; position: absolute; top: 50%; right: -39px; width: 22px; height: 1px;
  background: #c88a24;
}
.nfp-flow-card::before {
  content: ""; position: absolute; top: calc(50% - 4px); right: -39px;
  width: 8px; height: 8px; border-top: 1px solid #c88a24; border-right: 1px solid #c88a24;
  transform: rotate(45deg); z-index: 2;
}
.nfp-flow-card:nth-child(3)::before,.nfp-flow-card:nth-child(3)::after,
.nfp-flow-card:nth-child(6)::before,.nfp-flow-card:nth-child(6)::after,
.nfp-flow-card:nth-child(7)::before,.nfp-flow-card:nth-child(7)::after { display:none; }
.nfp-flow-card:nth-child(7) { grid-column: 1; }
.nfp-flow-card .nfp-number { font-size: 1.1rem; font-weight: 700; color: #c88a24; }
.nfp-flow-card h3 { margin-top: 28px; font-size: clamp(1.25rem,1.7vw,1.65rem); }
.nfp-flow-card p:last-child { color: #5e6d82; line-height: 1.9; }

/* Pricing */
.nfp-pricing-cards { align-items: stretch; margin-top: 46px; }
.nfp-pricing-cards .nfp-card { height: 100%; min-height: 260px; padding: 42px !important; }
.nfp-area-options-section .nfp-inner { padding-block: clamp(72px,8vw,128px) !important; }

/* Contact */
.nfp-contact-form-section .nfp-inner { max-width: 980px; }
.nfp-contact .nfp-form-wrap { width: 100%; max-width: 880px; margin-inline: auto; }
.nfp-contact .wpcf7-form { display: block !important; }
.nfp-contact .wpcf7-form > * { width: 100% !important; max-width: none !important; }
.nfp-contact .wpcf7-list-item { margin: 0; }
.nfp-contact input[type="checkbox"] {
  appearance: auto !important; -webkit-appearance: checkbox !important;
  width: 18px !important; height: 18px !important; min-width: 18px;
  margin: 0 10px 0 0 !important; padding: 0 !important; border: 1px solid #8793a3;
  box-shadow: none !important; vertical-align: middle;
}
.nfp-contact .wpcf7-list-item-label::before,
.nfp-contact .wpcf7-list-item-label::after { display: none !important; content: none !important; }
.nfp-contact .cf7 .cf7__button {
  box-sizing: border-box !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center !important;
}
.nfp-contact .cf7 .cf7__button > p {
  box-sizing: border-box !important;
  width: 100% !important;
  margin-inline: 0 !important;
  text-align: center !important;
}
.nfp-contact .cf7 .cf7__button .wpcf7-submit {
  display: block !important;
  float: none !important;
  position: relative !important;
  left: 50% !important;
  right: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: translateX(-50%) !important;
  box-sizing: border-box !important;
  padding-left: 42px !important;
  padding-right: 42px !important;
  text-align: center !important;
  text-indent: 0 !important;
}

@media (min-width: 992px) {
  .nfp-subpage .nfp-hero { min-height: 561px !important; box-sizing: border-box; }
}

@media (max-width: 991px) {
  .nfp-home__hero-layout {
    background-image: linear-gradient(rgba(4,21,47,.72),rgba(4,21,47,.62) 48%,rgba(4,21,47,.78)),
      url('assets/nfp-japanese-field-operations-hero.png') !important;
    background-position: 58% center !important;
  }
  .nfp-home__hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nfp-home__hero-facts > .wp-block-column {
    display: grid;
    min-height: 76px;
    grid-template-columns: 26px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 10px;
    row-gap: 2px;
    padding: 10px 14px !important;
  }
  .nfp-home__hero-facts > .wp-block-column::before {
    width: 24px;
    height: 24px;
    grid-row: 1 / 3;
    align-self: center;
    margin: 0;
  }
  .nfp-home__hero-facts > .wp-block-column > p {
    min-width: 0;
    line-height: 1.35;
  }
  .nfp-home__hero-facts > .wp-block-column + .wp-block-column {
    border-top: 0;
  }
  .nfp-home__hero-facts > .wp-block-column:nth-child(even) {
    border-left: 1px solid rgba(255,255,255,.16);
  }
  .nfp-home__hero-facts > .wp-block-column:nth-child(n+3) {
    border-top: 1px solid rgba(255,255,255,.16);
  }
  .nfp-home__service-list > div > .vk_outer_container { grid-template-columns: 1fr; gap: 18px; }
  .nfp-home__service-list > div > .vk_outer_container::after { display: none; }
  .nfp-home__service-list .nfp-home__service-item .vk_outer_container,
  .nfp-home__service-list .nfp-home__service-item:nth-child(odd) .vk_outer_container,
  .nfp-home__service-list .nfp-home__service-item:nth-child(even) .vk_outer_container { min-height: 0; padding: 28px !important; }
  .nfp-home__hero-facts > .wp-block-column::before { margin: 0 0 10px; }
  .nfp-company .nfp-hero .nfp-title,
  .nfp-company .nfp-hero .nfp-lead,
  .nfp-company .nfp-profile-layout { text-align: center; }
  .nfp-company .nfp-profile-table th,
  .nfp-company .nfp-profile-table td { text-align: center; display: block; width: 100%; }
  .nfp-company .nfp-profile-table th { padding-bottom: 6px; }
  .nfp-company .nfp-profile-table td { padding-top: 0; }
  .nfp-flow-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .nfp-flow-card { min-height: auto; padding: 30px 28px !important; }
  .nfp-flow-card::after { top: auto; right: auto; bottom: -21px; left: 34px; width: 1px; height: 28px; }
  .nfp-flow-card::before { top: auto; right: auto; bottom: -22px; left: 30px; transform: rotate(135deg); }
  .nfp-flow-card:nth-child(3)::before,.nfp-flow-card:nth-child(3)::after,
  .nfp-flow-card:nth-child(6)::before,.nfp-flow-card:nth-child(6)::after { display:block; }
  .nfp-flow-card:nth-child(7) { grid-column: auto; }
  .nfp-pricing-cards { display: grid !important; grid-template-columns: 1fr; }
}

/* Keep the two intended pricing lines stable at notebook / iPad landscape
   widths. white-space preserves the authored <br> while preventing an
   additional automatic wrap before it. */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .nfp-home__pricing h2 {
    font-size: clamp(1.65rem, 3.25vw, 2.3rem) !important;
    line-height: 1.55 !important;
    letter-spacing: -.04em !important;
    white-space: nowrap !important;
  }
}

/* Android-sized screens: keep the contact-form section title on one line. */
@media (max-width: 767.98px) {
  .nfp-contact-form-section h2,
  .nfp-contact-form-section .nfp-section-title {
    font-size: clamp(1.1rem, 6.4vw, 1.8rem) !important;
    line-height: 1.45 !important;
    letter-spacing: -.065em !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }
}

@media (max-width: 430px) {
  .nfp-home__hero-facts { grid-template-columns: 1fr; }
  .nfp-home__hero-facts > .wp-block-column { min-height: 68px; }
  .nfp-home__hero-facts > .wp-block-column:nth-child(even) { border-left: 0; }
  .nfp-home__hero-facts > .wp-block-column:nth-child(n+2) { border-top: 1px solid rgba(255,255,255,.16); }
  .nfp-home__hero-facts > .wp-block-column > p:first-of-type { font-size: 8px !important; }
  .nfp-home__hero-facts > .wp-block-column > p:last-of-type { font-size: 15px !important; }
}

/* 2026-08 final content and quality pass */
body.page-id-142 .page-header,
body.page-id-143 .page-header,
body.page-id-144 .page-header,
body.page-id-145 .page-header,
body.page-id-146 .page-header { display: none !important; }

/* Home: professional pictograms for the verified summary numbers. */
.nfp-home__hero-facts > .wp-block-column::before {
  width: 38px; height: 38px; margin-bottom: 10px; border-radius: 10px;
  background-color: rgba(255,255,255,.96); background-position: center;
  background-repeat: no-repeat; background-size: 22px 22px;
  box-shadow: 0 5px 16px rgba(7,30,65,.12);
}
.nfp-home__hero-facts > .wp-block-column:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071e41' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-2.8 8.2-7 10-4.2-1.8-7-5.5-7-10V6l7-3z'/%3E%3Cpath d='M9 12l2 2 4-5'/%3E%3C/svg%3E");
}
.nfp-home__hero-facts > .wp-block-column:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071e41' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1116 0z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}
.nfp-home__hero-facts > .wp-block-column:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071e41' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 12l3 3 5-6'/%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M8 3h8v3H8z'/%3E%3C/svg%3E");
}
.nfp-home__hero-facts > .wp-block-column:nth-child(4)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071e41' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 16l1-5 2-4h8l2 4 1 5'/%3E%3Cpath d='M4 16h16v3H4zM7 19v2m10-2v2'/%3E%3Ccircle cx='8' cy='15' r='1'/%3E%3Ccircle cx='16' cy='15' r='1'/%3E%3C/svg%3E");
}

/* Home: give the PC achievement summary a calm, balanced vertical rhythm. */
@media (min-width: 992px) {
  .nfp-home__hero-facts > .wp-block-column {
    box-sizing: border-box;
    min-height: 156px;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    align-items: center;
    column-gap: 20px;
    row-gap: 12px;
    padding: 22px 40px 24px !important;
  }
  .nfp-home__hero-facts > .wp-block-column::before {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }
  .nfp-home__hero-facts > .wp-block-column > p {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
  .nfp-home__hero-facts > .wp-block-column > h3 {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    text-align: center;
  }
}

/* Home: explain why the service is needed without creating a wall of text. */
.nfp-home__need-grid {
  display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px; margin: 46px 0 32px !important;
}
.nfp-home__need-grid > .wp-block-column {
  margin: 0 !important; padding: 28px 22px; border: 1px solid #d7e0ea;
  border-top: 3px solid #c88a24; background: #f7f9fb;
}
.nfp-home__need-grid p { margin: 0; color: #21314b; font-weight: 600; line-height: 1.8; }
.nfp-home__difference { margin: 0 !important; padding: 36px 34px 38px; background: #071e41; color: #fff; }
.nfp-home__difference h3 { margin: 0 0 18px; color: #fff; font-size: 1.15rem; }
.nfp-home__difference .wp-block-columns { gap: 0; margin-bottom: 0; }
.nfp-home__difference .wp-block-column { margin: 0 !important; padding: 16px 20px; border-left: 1px solid rgba(255,255,255,.2); }
.nfp-home__difference .wp-block-column:first-child { border-left: 0; }
.nfp-home__difference p { margin: 0; color: rgba(255,255,255,.78); font-size: .92rem; line-height: 1.7; }
.nfp-home__difference strong { color: #fff; }
.nfp-home__difference .is-nfp { background: rgba(200,138,36,.16); }
.nfp-home__difference .is-nfp strong { color: #efb858; }

/* Home core services: constrain the nested VK containers and remove the tall PC stack. */
.nfp-home__service-list > div > .vk_outer_container {
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  align-items: stretch; gap: 24px !important;
}
.nfp-home__service-list > div > .vk_outer_container > .nfp-home__service-item > div > .vk_outer_container {
  display: grid !important;
  grid-template-columns: 52px minmax(170px,.8fr) minmax(0,1.2fr) !important;
  align-items: center !important; column-gap: 22px !important;
  min-height: 190px !important; padding: 30px 34px !important;
}
.nfp-home__service-list .nfp-home__service-item:nth-child(odd) .vk_outer_container,
.nfp-home__service-list .nfp-home__service-item:nth-child(even) .vk_outer_container { padding: 30px 34px !important; }
.nfp-home__service-list .nfp-home__service-number,
.nfp-home__service-list .nfp-home__service-item h3,
.nfp-home__service-list .nfp-home__service-item p { margin: 0 !important; }
.nfp-home__service-list .nfp-home__service-item h3 { font-size: clamp(1.05rem,1.45vw,1.35rem); }
.nfp-home__service-list .nfp-home__service-item p:last-child { line-height: 1.75; }

/* Home benefits: six balanced cards on desktop, two rows without forced column widths. */
.nfp-home__benefit-list.nfp-reason-list {
  display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px !important; align-items: stretch;
}
br.nfp-mobile-comma-break { display: none; }
.nfp-home__benefit-list.nfp-reason-list > .wp-block-column {
  width: auto !important; flex-basis: auto !important; margin: 0 !important;
}
.nfp-reason-list .nfp-home__benefit-item {
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  min-height: 240px;
  gap: 18px;
  padding: 34px 30px !important;
  border: 1px solid #d7e0ea;
  border-top: 3px solid #c88a24;
  background: #fff;
  box-shadow: 0 12px 28px rgba(7,30,65,.06);
}
.nfp-reason-list .nfp-home__benefit-item h3 {
  grid-row: auto !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 0 16px;
  border-bottom: 1px solid #dfe5eb;
  font-size: clamp(1.05rem,1.35vw,1.3rem);
  line-height: 1.55;
}
.nfp-reason-list .nfp-home__benefit-item > p {
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  line-height: 1.85;
}

/* Company value section: four source-backed values. */
.nfp-company .nfp-why-section .nfp-card-grid {
  display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px !important;
}
.nfp-company .nfp-why-section .nfp-card-grid > .wp-block-column { width: auto !important; margin: 0 !important; }
.nfp-company .nfp-why-section .nfp-card { height: 100%; min-height: 220px; }

/* Pricing: restore source-backed spot/monthly tables and comfortable section rhythm. */
.nfp-pricing .nfp-monthly-section {
  background: #fff !important;
}
.nfp-pricing .nfp-spot-pricing-section .nfp-inner,
.nfp-pricing .nfp-monthly-section .nfp-inner,
.nfp-pricing .nfp-area-options-section .nfp-inner { padding-block: clamp(72px,7vw,112px) !important; }
@media (min-width: 992px) {
  .nfp-pricing .nfp-spot-pricing-section,
  .nfp-pricing .nfp-monthly-section,
  .nfp-pricing .nfp-area-options-section {
    padding-block: 0 !important;
  }
  .nfp-pricing .nfp-spot-pricing-section .nfp-inner,
  .nfp-pricing .nfp-monthly-section .nfp-inner,
  .nfp-pricing .nfp-area-options-section .nfp-inner {
    padding-block: 64px !important;
  }
}
.nfp-pricing .nfp-price-table { margin-top: 38px; }
.nfp-pricing .nfp-time-plan { margin-top: 22px; padding: 26px 30px; border-left: 3px solid #c88a24; background: #f3f5f7; }
.nfp-pricing .nfp-time-plan h3,
.nfp-pricing .nfp-time-plan p { margin-top: 0; }
.nfp-pricing .nfp-time-plan p:last-child { margin-bottom: 0; }
.nfp-pricing .nfp-monthly-plans { align-items: stretch; gap: 20px; margin-top: 38px; }
.nfp-pricing .nfp-monthly-plans > .wp-block-column { margin: 0 !important; }
.nfp-pricing .nfp-plan { height: 100%; min-height: 320px; padding: 36px 32px; background: #fff; border: 1px solid #d7e0ea; }
.nfp-pricing .nfp-plan.is-featured { border-top: 4px solid #c88a24; box-shadow: 0 14px 34px rgba(7,30,65,.09); }
.nfp-pricing .nfp-plan-price { color: #071e41; font-size: clamp(1.35rem,2vw,1.8rem); font-weight: 700; }
.nfp-pricing .nfp-options-table { margin-top: 28px; }

@media (max-width: 991px) {
  .nfp-home__need-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nfp-home__difference .wp-block-columns { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nfp-home__difference .wp-block-column:nth-child(3) { border-left: 0; }
  .nfp-home__benefit-list.nfp-reason-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nfp-home__service-list > div > .vk_outer_container > .nfp-home__service-item > div > .vk_outer_container {
    grid-template-columns: 44px minmax(150px,.7fr) minmax(0,1fr) !important;
  }
  .nfp-company .nfp-why-section .nfp-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nfp-pricing .nfp-monthly-plans { display: grid !important; grid-template-columns: 1fr; }
  .nfp-pricing .nfp-plan { min-height: 0; }
}

@media (max-width: 767px) {
  br.nfp-mobile-comma-break { display: block; }
  /* Home: keep the transition from the statement panel to CORE SERVICES
     compact on phones. The base design adds desktop-scale top padding. */
  .nfp-home .nfp-home__services {
    margin-top: 0 !important;
    padding-top: 36px !important;
  }
  .nfp-home .nfp-home__services > div > .vk_outer_container {
    padding-top: 0 !important;
  }
  .nfp-home .nfp-home__services .nfp-home__section-heading {
    margin-top: 0 !important;
  }
  /* Shared CTA on every page: preserve the intended two-line heading on phones. */
  .nfp-shared-cta .nfp-shared-cta__inner > h2 {
    font-size: clamp(1.45rem, 7vw, 1.78rem) !important;
    line-height: 1.7 !important;
    letter-spacing: -.05em;
    white-space: nowrap;
  }
  .nfp-company .nfp-hero .nfp-title {
    font-size: clamp(1.4rem, 7vw, 1.8rem) !important;
    line-height: 1.65;
    letter-spacing: -.035em;
    white-space: nowrap;
  }
  .nfp-home__pricing h2 {
    font-size: clamp(1.15rem, 5.7vw, 1.5rem) !important;
    line-height: 1.65;
    letter-spacing: -.03em;
    white-space: nowrap;
  }
  .nfp-home__need-grid,
  .nfp-home__difference .wp-block-columns,
  .nfp-home__benefit-list.nfp-reason-list,
  .nfp-company .nfp-why-section .nfp-card-grid { grid-template-columns: 1fr; }
  .nfp-home__difference { padding: 24px 20px; }
  .nfp-home__difference .wp-block-column { border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .nfp-home__difference .wp-block-column:first-child { border-top: 0; }
  .nfp-home__service-list > div > .vk_outer_container > .nfp-home__service-item > div > .vk_outer_container {
    display: block !important; min-height: 0 !important; padding: 28px !important;
  }
  .nfp-home__service-list .nfp-home__service-number { margin-bottom: 12px !important; }
  .nfp-home__service-list .nfp-home__service-item h3 { margin-bottom: 14px !important; }
  .nfp-reason-list .nfp-home__benefit-item,
  .nfp-company .nfp-why-section .nfp-card { min-height: 0; }
  .nfp-pricing .nfp-price-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .nfp-pricing .nfp-price-table table { min-width: 620px; }
  .nfp-pricing .nfp-options-table table { min-width: 460px; }
  .nfp-pricing .nfp-spot-pricing-section,
  .nfp-pricing .nfp-monthly-section,
  .nfp-pricing .nfp-area-options-section {
    padding-block: 0 !important;
    margin-block: 0 !important;
    min-height: 0 !important;
  }
  .nfp-pricing .nfp-spot-pricing-section .nfp-inner,
  .nfp-pricing .nfp-monthly-section .nfp-inner,
  .nfp-pricing .nfp-area-options-section .nfp-inner {
    padding-block: 36px !important;
    min-height: 0 !important;
  }
  .nfp-pricing .nfp-spot-pricing-section .nfp-inner > :first-child,
  .nfp-pricing .nfp-monthly-section .nfp-inner > :first-child,
  .nfp-pricing .nfp-area-options-section .nfp-inner > :first-child {
    margin-top: 0 !important;
  }
  .nfp-pricing .nfp-spot-pricing-section .nfp-inner > :last-child,
  .nfp-pricing .nfp-monthly-section .nfp-inner > :last-child,
  .nfp-pricing .nfp-area-options-section .nfp-inner > :last-child {
    margin-bottom: 0 !important;
  }
  .nfp-pricing .nfp-time-plan {
    position: relative;
    margin-top: 20px !important;
    padding: 28px 22px 24px !important;
    border: 1px solid #d7e0ea !important;
    border-left: 1px solid #d7e0ea !important;
    border-radius: 8px;
    background: #fff !important;
    box-shadow: 0 10px 26px rgba(7,30,65,.06);
  }
  .nfp-pricing .nfp-time-plan::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 22px;
    width: 52px;
    height: 3px;
    background: #c88a24;
  }
  .nfp-pricing .nfp-time-plan .nfp-plan-price {
    font-size: clamp(1.25rem, 6.1vw, 1.5rem) !important;
    line-height: 1.35 !important;
    white-space: nowrap;
  }
  /* Contact submit: escape the label/control column layout and center on the
     full form width. Additional CSS previously kept this in the right column. */
  .nfp-contact .cf7 .cf7__button {
    display: flex !important;
    grid-column: 1 / -1 !important;
    justify-content: center !important;
    align-items: center !important;
    float: none !important;
    clear: both !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin: 18px 0 0 !important;
    padding: 0 !important;
    transform: none !important;
    text-align: center !important;
  }
  .nfp-contact .cf7 .cf7__button > p {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }
  .nfp-contact .cf7 .cf7__button .wpcf7-submit {
    display: block !important;
    float: none !important;
    position: relative !important;
    left: 50% !important;
    right: auto !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
    /* Japanese glyphs look slightly right-heavy at this size. Keep equal
       padding and apply a subtle optical correction to the label only. */
    text-align: center !important;
    text-indent: -2px !important;
  }

  /* Company track record: keep the figures legible without oversized white bands. */
  .nfp-company .nfp-track-section .nfp-stat-grid {
    gap: 0 !important;
    margin-bottom: 0 !important;
  }
  .nfp-company .nfp-track-section .nfp-stat-grid > .wp-block-column {
    margin: 0 !important;
  }
  .nfp-company .nfp-track-section .nfp-stat {
    min-height: 104px !important;
    padding: 16px 14px !important;
  }
  .nfp-company .nfp-track-section .nfp-stat-label {
    margin: 0 0 7px !important;
    line-height: 1.45 !important;
  }
  .nfp-company .nfp-track-section .nfp-stat-value {
    margin: 0 !important;
    line-height: 1.2 !important;
  }
  .nfp-company .nfp-track-section .nfp-inner {
    padding-bottom: 42px !important;
  }
}

/* Revision sheet 2: final cascade overrides. */
@media (max-width: 767px) {
  .nfp-home__hero-facts {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
  .nfp-home__hero-facts > .wp-block-column {
    display: grid !important;
    grid-template-columns: 44px minmax(0,1fr) !important;
    grid-template-rows: auto auto !important;
    min-height: 96px !important;
    column-gap: 10px !important;
    align-content: center !important;
    padding: 14px 12px !important;
    text-align: left !important;
  }
  .nfp-home__hero-facts > .wp-block-column::before {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    background-size: 23px 23px !important;
  }
  .nfp-home__hero-facts > .wp-block-column > p {
    grid-column: 2 !important;
    margin: 0 0 3px !important;
    font-size: clamp(.68rem,3vw,.78rem) !important;
    line-height: 1.35 !important;
  }
  .nfp-home__hero-facts > .wp-block-column > h3 {
    grid-column: 2 !important;
    width: auto !important;
    margin: 0 !important;
    font-size: clamp(1rem,4.5vw,1.25rem) !important;
    line-height: 1.25 !important;
    text-align: left !important;
    white-space: nowrap;
  }

  .nfp-company .nfp-profile-table tr:first-child td {
    font-size: clamp(.76rem,3.45vw,.88rem) !important;
    letter-spacing: -.035em;
    white-space: nowrap;
  }
  .nfp-company .nfp-track-section .nfp-stat-grid {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px !important;
  }
  .nfp-company .nfp-track-section .nfp-stat {
    min-height: 128px !important;
    padding: 20px 12px !important;
    border: 1px solid rgba(200,138,36,.36) !important;
    border-top: 4px solid #c88a24 !important;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(7,30,65,.07);
  }
  .nfp-company .nfp-track-section .nfp-stat-label { font-size: .7rem !important; }
  .nfp-company .nfp-track-section .nfp-stat-value {
    font-size: clamp(1.08rem,5.25vw,1.35rem) !important;
    white-space: nowrap;
  }
}

@media (max-width: 359px) {
  .nfp-home__hero-facts { grid-template-columns: 1fr !important; }
}

/* Header wordmark: final responsive image lock-up. */
body .site-header-logo > a::after,
body.home .site-header-logo > a::after,
body.header_scrolled .site-header-logo > a::after,
body.home.header_scrolled .site-header-logo > a::after {
  display: none !important;
  width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  content: none !important;
}

body .site-header-logo img,
body.home .site-header-logo img,
body.header_scrolled .site-header-logo img,
body.home.header_scrolled .site-header-logo img {
  display: block !important;
  width: clamp(220px, 18.5vw, 292px) !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  content: normal !important;
  object-fit: contain !important;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  body .site-header-logo img,
  body.home .site-header-logo img,
  body.header_scrolled .site-header-logo img,
  body.home.header_scrolled .site-header-logo img {
    width: clamp(205px, 20vw, 240px) !important;
  }
}

@media (max-width: 991.98px) {
  body .site-header-logo,
  body.home .site-header-logo,
  body.header_scrolled .site-header-logo,
  body.home.header_scrolled .site-header-logo {
    width: auto !important;
    max-width: calc(100% - 64px) !important;
    margin: 0 !important;
  }
  body .site-header-logo img,
  body.home .site-header-logo img,
  body.header_scrolled .site-header-logo img,
  body.home.header_scrolled .site-header-logo img {
    width: clamp(188px, 55vw, 230px) !important;
  }
}

@media (max-width: 374.98px) {
  body .site-header-logo img,
  body.home .site-header-logo img,
  body.header_scrolled .site-header-logo img,
  body.home.header_scrolled .site-header-logo img {
    width: 176px !important;
  }
}

/* Sticky header (PC / iPad): always use the integrated horizontal logo. */
@media (min-width: 768px) {
  body.header_scrolled .site-header-logo img,
  body.scrolled .site-header-logo img,
  body.header_scrolled .site-header-logo--scrolled--logo-and-nav-full img,
  body.scrolled .site-header-logo--scrolled--logo-and-nav-full img {
    content: url("assets/nfp-horizontal-logo.png") !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
}

/* Sticky header (PC / iPad): always use the integrated horizontal logo. */
@media (min-width: 768px) {
  body.header_scrolled .site-header-logo img,
  body.scrolled .site-header-logo img,
  body.header_scrolled .site-header-logo--scrolled--logo-and-nav-full img,
  body.scrolled .site-header-logo--scrolled--logo-and-nav-full img {
    content: url("assets/nfp-horizontal-logo.png") !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
}
