/* NuPrana static snapshot - UI/UX system, layout fixes and modern styling */

@font-face {
  font-family: Barlow;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/barlow-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Barlow;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/barlow-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Barlow;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/barlow-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------------------------------------------------------------------------
   Design tokens
--------------------------------------------------------------------------- */
:root {
  --np-ink: #181f2a;
  --np-ink-soft: #3a4557;
  --np-accent: #c45c26;
  --np-accent-dark: #a64b1c;
  --np-accent-soft: #f0c2a8;
  --np-surface: #f4f8fd;
  --np-border: #d7e2ef;
  --np-header: 5.5rem;

  --np-radius-sm: 9px;
  --np-radius-md: 14px;
  --np-radius-lg: 18px;
  --np-radius-pill: 999px;

  --np-shadow-sm: 0 1px 2px rgba(24, 31, 42, 0.06), 0 2px 6px rgba(24, 31, 42, 0.08);
  --np-shadow-md: 0 8px 22px rgba(24, 31, 42, 0.12);
  --np-shadow-lg: 0 20px 45px rgba(24, 31, 42, 0.18);

  --np-maxw: 1080px;
  --np-measure: 65ch;

  --np-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html,
body {
  overflow-x: clip;
}

body {
  font-family: Barlow, "Segoe UI", system-ui, sans-serif;
  color: var(--np-ink);
}

.wp-block-cover.has-parallax,
.wp-block-cover-image.has-parallax,
.wp-block-cover__image-background.has-parallax {
  background-attachment: scroll !important;
}

/* ---------------------------------------------------------------------------
   Logo sizing (header / footer / error pages never blow up)
--------------------------------------------------------------------------- */
.custom-logo-link img,
.custom-logo {
  max-height: 44px;
  width: auto !important;
  height: auto;
}

.ast-theme-transparent-header #masthead {
  position: relative !important;
  z-index: 20;
}

.main-header-bar,
.ast-theme-transparent-header .main-header-bar,
.ast-theme-transparent-header.ast-header-break-point .main-header-bar {
  background: #fff !important;
  box-shadow: 0 1px 0 rgba(24, 31, 42, 0.08);
}

.entry-content h1.wp-block-heading.has-medium-font-size,
.entry-content h2.wp-block-heading.has-medium-font-size {
  font-size: 1.5rem !important;
  line-height: 1.25 !important;
}

/* ---------------------------------------------------------------------------
   Header layout
--------------------------------------------------------------------------- */
.main-header-container {
  align-items: center;
  gap: 16px;
}

#masthead {
  position: sticky;
  top: 0;
  z-index: 40;
}

.main-header-menu {
  flex-wrap: wrap;
  row-gap: 4px;
  column-gap: 4px;
  align-items: center;
}

#masthead .main-header-menu > .menu-item:not(.menu-cta) > .menu-link,
#masthead .main-header-menu .sub-menu .menu-link,
.ast-theme-transparent-header .main-header-menu > .menu-item:not(.menu-cta) > .menu-link,
.ast-theme-transparent-header .ast-masthead-custom-menu-items a {
  color: #181f2a !important;
  opacity: 1 !important;
  visibility: visible !important;
  white-space: nowrap;
  border-radius: var(--np-radius-sm);
  transition: color 0.18s ease, background 0.18s ease;
}

#masthead .main-header-menu > .menu-item:not(.menu-cta):hover > .menu-link,
#masthead .main-header-menu > .current-menu-item:not(.menu-cta) > .menu-link {
  color: #c45c26 !important;
}

#masthead .main-header-menu .sub-menu {
  background: #fff !important;
  border-radius: var(--np-radius-md);
  box-shadow: var(--np-shadow-md);
  overflow: hidden;
}

#masthead .menu-toggle,
#masthead .ast-menu-toggle,
#masthead .ast-icon {
  color: #181f2a !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#masthead .astra-widget-social-profiles-inner ul {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#masthead .astra-widget-social-profiles-inner li {
  margin: 0 !important;
}

#masthead .np-social,
#masthead .astra-widget-social-profiles-inner a.np-social {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--np-radius-pill);
  background: #eef2f6;
  color: #181f2a;
  outline: none;
  box-shadow: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

#masthead .np-social svg,
#masthead .astra-widget-social-profiles-inner .np-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor !important;
}

#masthead .np-social:hover,
#masthead .np-social:focus-visible {
  background: #c45c26;
  color: #fff;
  transform: translateY(-1px);
}

#masthead #primary-menu > li.menu-cta {
  justify-content: center;
}

#masthead #primary-menu > li.menu-cta > a.menu-link,
#masthead #primary-menu > li.menu-cta:hover > a.menu-link,
#masthead #primary-menu > li.menu-cta.current-menu-item > a.menu-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  align-self: center;
  height: auto !important;
  min-height: 40px;
  background: #c45c26 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-radius: var(--np-radius-pill);
  padding: 8px 18px !important;
  line-height: 1.2;
  font-size: 14px !important;
  font-weight: 600;
  box-shadow: var(--np-shadow-sm);
  transition: background 0.18s ease, transform 0.18s ease;
}

#masthead #primary-menu > li.menu-cta:hover > a.menu-link {
  background: #a64b1c !important;
  transform: translateY(-1px);
}

#masthead #primary-menu > li.menu-cta > a.menu-link:focus-visible {
  outline: 3px solid #181f2a;
  outline-offset: 2px;
}

.astra-widget-social-profiles-inner li:has(a[href=""]),
.astra-widget-social-profiles-inner a[href=""] {
  display: none;
}

.ast-header-widget-area {
  margin-left: 8px;
}

/* ---------------------------------------------------------------------------
   Full-bleed hack was overlapping header and body text
--------------------------------------------------------------------------- */
.ast-no-sidebar .entry-content .alignfull,
.ast-no-sidebar .entry-content .alignwide,
.entry-content .alignfull,
.entry-content .alignwide {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

#content.site-content,
.site-content .ast-container {
  overflow: visible;
}

/* ---------------------------------------------------------------------------
   Cover blocks (heroes, CTA bands)
--------------------------------------------------------------------------- */
.wp-block-cover {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  min-height: min(72vh, 620px) !important;
  padding: 96px 24px 64px !important;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.wp-block-cover.is-light {
  color: #fff;
}

.wp-block-cover__background,
.wp-block-cover__image-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wp-block-cover__image-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wp-block-cover__background.has-background-dim {
  background-color: rgba(24, 31, 42, 0.62) !important;
  opacity: 1 !important;
}

.wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.wp-block-cover__inner-container > * {
  position: relative;
  z-index: 2;
  margin-top: 0;
  margin-bottom: 14px;
  color: #fff !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.wp-block-cover__inner-container > *:last-child {
  margin-bottom: 0;
}

.wp-block-cover .has-large-font-size,
.wp-block-cover h1,
.home .wp-block-cover .has-large-font-size {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wp-block-cover p {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.wp-block-cover .wp-block-buttons {
  justify-content: center;
  margin-top: 20px;
}

/* ---------------------------------------------------------------------------
   Buttons (modern rounded)
--------------------------------------------------------------------------- */
.wp-block-button__link,
.wp-block-button .wp-block-button__link {
  display: inline-block;
  background: var(--np-accent);
  color: #fff !important;
  padding: 13px 26px;
  border-radius: var(--np-radius-pill) !important;
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--np-shadow-sm);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
  background: var(--np-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--np-shadow-md);
}

.wp-block-button__link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Forms & native controls: same rounded language as the rest of the site */
.entry-content input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]),
.entry-content textarea,
.entry-content select,
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7 textarea,
.wpforms-field input,
.wpforms-field textarea,
.wpforms-field select {
  border-radius: var(--np-radius-md);
}

.entry-content input[type="submit"],
.entry-content button[type="submit"],
.entry-content .button,
.entry-content a.button,
.wpcf7 input[type="submit"],
.wpforms-submit,
.ast-button,
button.ast-button {
  border-radius: var(--np-radius-pill);
}

/* ---------------------------------------------------------------------------
   Content: media-text, columns, images, typography
--------------------------------------------------------------------------- */
.wp-block-media-text {
  gap: 32px;
  align-items: center;
}

.wp-block-media-text img {
  max-width: 100%;
  height: auto;
  border-radius: var(--np-radius-md);
}

.wp-block-columns {
  flex-wrap: wrap !important;
  gap: 24px;
}

.wp-block-column {
  min-width: 0;
}

.wp-block-image img,
figure.wp-block-image img {
  border-radius: var(--np-radius-md);
  height: auto;
}

.entry-content h1.wp-block-heading,
.entry-content h2.wp-block-heading {
  overflow-wrap: anywhere;
}

.entry-content h2.wp-block-heading {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Home intro promoted to the page's single <h1>: keep the h2 look */
body.home .wp-block-media-text__content h1.wp-block-heading {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.entry-content h3.wp-block-heading {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.2;
}

.entry-content h4.wp-block-heading {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.25;
}

.entry-content p {
  line-height: 1.65;
}

.entry-content .wp-block-media-text__content p,
.entry-content .wp-block-column > p {
  max-width: var(--np-measure);
}

.entry-content .has-text-align-center {
  margin-left: auto;
  margin-right: auto;
}

/* Constrain full-bleed groups to a readable measure and center them */
.entry-content > .wp-block-group.alignfull > .wp-block-group__inner-container {
  box-sizing: border-box;
  max-width: var(--np-maxw);
  margin-inline: auto;
}

.entry-content > .wp-block-group.alignfull {
  padding: clamp(2.75rem, 6vh, 4.75rem) clamp(1.25rem, 4vw, 2rem);
}

.entry-content > .wp-block-columns {
  box-sizing: border-box;
  max-width: var(--np-maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

/* ---------------------------------------------------------------------------
   Cards / notices / project + download blocks
--------------------------------------------------------------------------- */
.page-notice {
  max-width: 42rem;
  margin: 24px auto 48px;
  padding: 28px 24px;
  background: var(--np-surface);
  border: 1px solid var(--np-border);
  border-radius: var(--np-radius-lg);
  box-shadow: var(--np-shadow-sm);
}

.page-notice h2 {
  margin-top: 0;
}

.page-notice a {
  color: var(--np-accent);
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px;
  margin: 28px 0 48px;
}

.project-cards a {
  display: block;
  padding: 22px;
  background: var(--np-ink);
  color: #fff !important;
  text-decoration: none;
  min-width: 0;
  border-radius: var(--np-radius-md);
  box-shadow: var(--np-shadow-sm);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.project-cards a:hover,
.project-cards a:focus-visible {
  background: var(--np-accent);
  transform: translateY(-3px);
  box-shadow: var(--np-shadow-md);
}

.download-card {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background: var(--np-surface);
  border: 1px solid var(--np-border);
  border-radius: var(--np-radius-lg);
  box-shadow: var(--np-shadow-sm);
}

/* ---------------------------------------------------------------------------
   Footer
--------------------------------------------------------------------------- */
footer#colophon.site-footer {
  background: var(--np-ink) !important;
  color: #f3f6fa !important;
  margin: 0 !important;
  padding: 0 !important;
}

footer#colophon .np-footer {
  box-sizing: border-box;
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1.25rem, 4vw, 2rem) 1.25rem;
  background: var(--np-ink) !important;
  color: #f3f6fa !important;
}

footer#colophon .np-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem 3rem;
  align-items: start;
}

footer#colophon .np-footer-logo {
  display: inline-flex;
  background: #fff;
  padding: 6px 10px;
  line-height: 0;
  border-radius: var(--np-radius-md);
}

footer#colophon .np-footer-logo img {
  display: block;
  width: auto !important;
  max-width: 150px !important;
  height: 42px !important;
}

footer#colophon .np-footer-tag {
  max-width: 18rem;
  margin: 0.9rem 0 0;
  color: #f3f6fa !important;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

footer#colophon .np-footer h2 {
  margin: 0 0 0.75rem;
  color: #c45c26 !important;
  font-size: 1rem !important;
  font-weight: 700;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none !important;
}

footer#colophon .np-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

footer#colophon .np-footer li {
  display: block;
  margin: 0;
}

footer#colophon .np-footer li + li {
  margin-top: 0.4rem;
}

footer#colophon .np-footer a {
  color: #ffffff !important;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease;
}

footer#colophon .np-footer a:hover,
footer#colophon .np-footer a:focus-visible {
  color: #f0c2a8 !important;
}

footer#colophon .np-footer a:focus-visible {
  outline: 2px solid #c45c26;
  outline-offset: 3px;
}

footer#colophon .np-footer-contact p {
  margin: 0 0 0.65rem;
  color: #f3f6fa !important;
  line-height: 1.45;
}

footer#colophon .np-footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(243, 246, 250, 0.18);
}

footer#colophon .np-footer-base p {
  margin: 0;
  color: #f3f6fa !important;
  font-weight: 600;
}

footer#colophon .np-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

footer#colophon .np-footer-social li + li {
  margin-top: 0;
}

@media (min-width: 800px) {
  footer#colophon .np-footer-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------------------
   Contact actions
--------------------------------------------------------------------------- */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 0;
}

.contact-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  background: var(--np-accent);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--np-radius-sm);
  box-shadow: var(--np-shadow-sm);
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-actions a:hover,
.contact-actions a:focus-visible {
  background: var(--np-accent-dark);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------------------
   Error pages (403 / 404)
--------------------------------------------------------------------------- */
.error-page {
  min-height: 100vh;
  margin: 0;
  background: var(--np-ink);
  color: #fff;
}

.error-shell {
  box-sizing: border-box;
  max-width: 36rem;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.error-logo {
  display: block;
  width: auto;
  max-height: 48px;
  margin: 0 auto 28px;
}

.error-code {
  margin: 0 0 8px;
  color: var(--np-accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.error-shell h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  line-height: 1.2;
}

.error-shell p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.error-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  background: var(--np-accent);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--np-radius-sm);
  transition: background 0.2s ease, transform 0.2s ease;
}

.error-actions a:hover,
.error-actions a:focus-visible {
  background: var(--np-accent-dark);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------------------
   Mobile header + responsive layout (<= 921px)
--------------------------------------------------------------------------- */
@media (max-width: 921px) {
  /* Logo left, hamburger right, on one row */
  #masthead .main-header-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 12px;
  }

  #masthead .site-branding {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 70% !important;
    margin: 0 auto 0 0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  #masthead .site-branding .ast-site-identity,
  #masthead .site-branding .site-logo-img {
    width: auto !important;
    text-align: left !important;
  }

  .custom-logo-link img,
  .custom-logo {
    max-height: 40px;
  }

  #masthead .ast-mobile-menu-buttons {
    flex: 0 0 auto !important;
    width: auto !important;
    margin-left: auto !important;
    justify-content: flex-end !important;
  }

  #masthead .ast-mobile-menu-buttons,
  #masthead .ast-button-wrap,
  #masthead .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  #masthead .menu-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    border: 1px solid #181f2a;
    border-radius: var(--np-radius-sm);
    background: #fff;
    transition: background 0.18s ease, color 0.18s ease;
  }

  #masthead .menu-toggle:hover,
  #masthead .menu-toggle:focus-visible {
    background: var(--np-accent);
    border-color: var(--np-accent);
    color: #fff !important;
  }

  #masthead .menu-toggle:focus-visible {
    outline: 3px solid #181f2a;
    outline-offset: 2px;
  }

  /* Nav drops to its own full-width row below the logo/toggle */
  .ast-main-header-bar-alignment {
    order: 3;
    flex-basis: 100%;
    width: 100%;
  }

  .main-header-bar-navigation {
    display: none !important;
    width: 100%;
    padding: 8px 0 16px;
  }

  body.np-nav-open .main-header-bar-navigation {
    display: block !important;
  }

  #masthead .main-header-menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  #masthead .main-header-menu > .menu-item > .menu-link,
  #masthead .main-header-menu .sub-menu .menu-link {
    white-space: normal;
    min-height: 44px;
    padding: 12px 10px !important;
    display: flex;
    align-items: center;
  }

  #masthead .main-header-menu .sub-menu {
    display: none;
    position: static !important;
    width: 100% !important;
    box-shadow: none !important;
    border-radius: 0;
    padding-left: 12px;
  }

  #masthead .menu-item-has-children.np-sub-open > .sub-menu {
    display: block;
  }

  #masthead .ast-masthead-custom-menu-items {
    display: none !important;
  }

  #masthead #primary-menu > li.menu-cta > a.menu-link {
    width: 100%;
    margin-top: 8px;
  }

  .wp-block-cover {
    min-height: 68vh !important;
    padding: 72px 16px 40px !important;
  }

  .wp-block-cover .has-large-font-size {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .wp-block-button__link {
    min-height: 44px;
    padding: 14px 22px;
  }

  .wp-block-media-text {
    display: block !important;
  }

  .wp-block-media-text__media {
    margin-bottom: 20px;
  }

  .wp-block-column {
    flex-basis: 100% !important;
  }

  .download-card {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------------------------
   Home: one composed hero screen, then the sections below it
--------------------------------------------------------------------------- */
body.home .entry-content > .wp-block-cover:first-of-type {
  position: relative;
  left: 50%;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  min-height: calc(100svh - var(--np-header)) !important;
  padding: clamp(1.5rem, 4vh, 3rem) clamp(1.25rem, 4vw, 2rem) !important;
  background-size: cover;
  background-position: 70% bottom;
  overflow: hidden;
}

body.home .entry-content > .wp-block-cover:first-of-type .has-large-font-size {
  font-size: clamp(2.75rem, 6.4vw, 5rem) !important;
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-style: normal;
  margin-bottom: 0.28em;
}

body.home .entry-content > .wp-block-cover:first-of-type .wp-block-cover__inner-container > p:nth-of-type(2) {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 600;
}

body.home .entry-content > .wp-block-cover:first-of-type .wp-block-cover__inner-container > p:nth-of-type(3) {
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 1rem;
}

body.home .entry-content > .wp-block-cover:first-of-type .wp-block-button__link {
  white-space: nowrap;
  min-height: 44px;
  padding: 14px 24px;
}

body.home .entry-content > .wp-block-group.alignfull {
  padding: clamp(3.5rem, 8vh, 6rem) clamp(1.25rem, 4vw, 2.5rem);
}

body.home .wp-block-media-text.alignwide {
  max-width: 1080px;
  margin-inline: auto;
  gap: clamp(1.5rem, 4vw, 4.5rem);
}

body.home .wp-block-media-text__media {
  margin: 0;
}

body.home .wp-block-media-text__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--np-radius-lg);
  box-shadow: var(--np-shadow-md);
}

body.home .wp-block-media-text__content h2 {
  font-style: normal;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.35em;
}

body.home .entry-content > .wp-block-columns {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(3rem, 7vh, 5rem) clamp(1.25rem, 4vw, 2rem);
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: stretch;
}

body.home .entry-content > .wp-block-columns > .wp-block-column {
  min-width: 0;
  padding: 1.35rem 1.5rem;
  background: #fff;
  border: 1px solid var(--np-border);
  border-top: 3px solid var(--np-accent);
  border-radius: var(--np-radius-md);
  box-shadow: var(--np-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.home .entry-content > .wp-block-columns > .wp-block-column:hover {
  transform: translateY(-3px);
  box-shadow: var(--np-shadow-md);
}

body.home .entry-content > .wp-block-columns > .wp-block-column > h2 {
  font-style: normal;
  letter-spacing: -0.03em;
  margin-bottom: 0.2em;
}

body.home .entry-content > .wp-block-columns > .wp-block-column > p:first-of-type {
  margin-top: 0;
  color: var(--np-accent);
  font-weight: 600;
}

body.home .entry-content > .wp-block-cover:not(:first-of-type) {
  min-height: min(52vh, 460px) !important;
}

/* ---------------------------------------------------------------------------
   Hero scroll-down indicator
--------------------------------------------------------------------------- */
.np-scroll-down {
  position: absolute;
  left: 50%;
  bottom: clamp(1rem, 3.5vh, 2.25rem);
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--np-radius-pill);
  background: rgba(24, 31, 42, 0.32);
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.np-scroll-down:hover,
.np-scroll-down:focus-visible {
  background: var(--np-accent);
  border-color: var(--np-accent);
}

.np-scroll-down:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.np-scroll-down svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: np-scroll-bounce 1.8s ease-in-out infinite;
}

@keyframes np-scroll-bounce {
  0%,
  100% {
    transform: translateY(-3px);
  }
  50% {
    transform: translateY(4px);
  }
}

/* ---------------------------------------------------------------------------
   Home entrance / reveal animations
--------------------------------------------------------------------------- */
body.home .entry-content > .wp-block-cover:first-of-type .wp-block-cover__inner-container > * {
  animation: np-rise 0.75s var(--np-ease) both;
}

body.home .entry-content > .wp-block-cover:first-of-type .wp-block-cover__inner-container > *:nth-child(2) {
  animation-delay: 0.1s;
}

body.home .entry-content > .wp-block-cover:first-of-type .wp-block-cover__inner-container > *:nth-child(3) {
  animation-delay: 0.18s;
}

body.home .entry-content > .wp-block-cover:first-of-type .wp-block-cover__inner-container > *:nth-child(4) {
  animation-delay: 0.28s;
}

/* Optimized site-entrance: fade the hero in and zoom a dedicated image layer
   using only GPU-friendly transform/opacity (no background-position paints). */
body.home .entry-content > .wp-block-cover:first-of-type {
  animation: np-hero-fade 0.9s ease both;
}

body.home .entry-content > .wp-block-cover:first-of-type::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url(/wp-content/uploads/2020/08/home-bg-1.webp);
  background-size: cover;
  background-position: 70% bottom;
  transform: scale(1.14);
  transform-origin: 60% center;
  animation: np-hero-zoom 2.4s var(--np-ease) forwards;
  will-change: transform;
}

@keyframes np-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes np-hero-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes np-hero-zoom {
  from {
    transform: scale(1.14);
  }
  to {
    transform: scale(1);
  }
}

.js body.home .np-reveal {
  opacity: 0;
  transform: translateY(22px);
}

.js body.home .np-reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s var(--np-ease);
}

.js body.home .np-reveal.is-in > .wp-block-column {
  animation: np-rise 0.7s var(--np-ease) both;
}

.js body.home .np-reveal.is-in > .wp-block-column:nth-child(2) {
  animation-delay: 0.1s;
}

.js body.home .np-reveal.is-in > .wp-block-column:nth-child(3) {
  animation-delay: 0.18s;
}

@media (min-width: 782px) {
  body.home .wp-block-media-text__media img {
    aspect-ratio: 4 / 5;
    max-height: calc(100svh - var(--np-header) - 7rem);
  }
}

@media (max-width: 921px) {
  body.home .entry-content > .wp-block-cover:first-of-type {
    min-height: calc(100svh - var(--np-header)) !important;
    padding: 1.75rem 1rem !important;
  }

  body.home .entry-content > .wp-block-columns > .wp-block-column {
    flex-basis: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .entry-content > .wp-block-cover:first-of-type,
  body.home .entry-content > .wp-block-cover:first-of-type::before,
  body.home .entry-content > .wp-block-cover:first-of-type .wp-block-cover__inner-container > *,
  .js body.home .np-reveal,
  .js body.home .np-reveal.is-in,
  .js body.home .np-reveal.is-in > .wp-block-column,
  .np-scroll-down svg {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .np-scroll-down {
    transform: translateX(-50%);
  }
}

/* ---------------------------------------------------------------------------
   Contact page polish: rounded hero image, centered Contact Info card,
   centered Follow Us social icons.
--------------------------------------------------------------------------- */
.np-contact-hero {
  border-radius: var(--np-radius-md);
  overflow: hidden;
}

.np-contact-hero .wp-block-cover__image-background {
  object-fit: cover;
}

/* Center the Contact Info card and drop the empty spacer column */
.np-contact-row {
  justify-content: center;
}

.np-contact-row > .wp-block-column:empty {
  display: none;
}

.np-contact-info {
  flex-basis: 100% !important;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(24, 31, 42, 0.08);
  border-radius: var(--np-radius-md);
  box-shadow: var(--np-shadow-sm);
  padding: clamp(24px, 4vw, 44px);
}

.np-contact-info > h3:first-child {
  margin-top: 0;
}

.np-contact-info .wp-block-columns {
  justify-content: center;
  gap: 24px 40px;
}

.np-contact-info .contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.np-contact-info .wp-block-social-links.aligncenter {
  justify-content: center;
  margin-top: 8px;
}

