/**
 * Next Phase Filters — Design System
 * Brand-inspired industrial palette (original compositions).
 */

:root {
  --np-orange: #fe5000;
  --np-orange-dark: #d64300;
  --np-black: #1a1a1a;
  --np-charcoal: #2f2f2f;
  --np-grey: #4a4a4a;
  --np-light: #f4f4f4;
  --np-muted: #5c5c5c;
  --np-white: #ffffff;
  --np-border: #e4e4e4;
  /* Body-text links only — AA on white (~7.3:1). Not brand primary #fe5000 (~3.30:1). */
  --np-link: #9a3412;
  --np-link-hover: #7c2d12;
  --np-font-display: "Montserrat", "Segoe UI", sans-serif;
  --np-font-body: "Montserrat", "Segoe UI", sans-serif;
  --np-container: 1180px;
  --np-radius: 2px;
  --np-section-y: clamp(3.25rem, 6vw, 5.5rem);
  --np-text: 1.0625rem;
  --np-leading: 1.65;
}

/* Base */
.np-site {
  font-family: var(--np-font-body);
  color: var(--np-black);
  background: var(--np-white);
  font-size: var(--np-text);
  line-height: var(--np-leading);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100001;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  padding: 0.75rem 1rem;
  background: #fff;
  color: var(--np-black);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  outline: 2px solid var(--np-orange);
  outline-offset: 2px;
}

.np-site h1,
.np-site h2,
.np-site h3,
.np-site h4,
.ast-archive-title,
.entry-title {
  font-family: var(--np-font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.np-container {
  width: min(100% - 2.5rem, var(--np-container));
  margin-inline: auto;
}

/* Header */
.np-header {
  background: var(--np-white);
  border-bottom: 1px solid var(--np-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.np-header .np-container {
  position: relative;
}

.np-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
  padding-block: 0.6rem;
}

/* Supplied logo artwork (stacked lockup) used as supplied — sized by height so it stays legible. */
.np-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--np-black);
}

.np-logo__img {
  display: block;
  height: 60px;
  width: auto;
}

.np-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.np-nav a {
  text-decoration: none;
  color: var(--np-black);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding-block: 0.35rem;
}

.np-nav a:hover,
.np-nav a:focus,
.np-nav a[aria-current="page"] {
  color: var(--np-orange);
}

.np-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--np-orange);
}

.np-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0; /* Astra's generic button padding pushed the bars off-centre */
  border: 1px solid var(--np-border);
  background: #fff;
  cursor: pointer;
  color: var(--np-black);
}

.np-nav-toggle:hover,
.np-nav-toggle:focus,
.np-nav-toggle:active {
  background: #fff;
  color: var(--np-black);
  border-color: var(--np-border);
}

.np-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--np-black);
}

@media (max-width: 860px) {
  .np-header__inner {
    min-height: 68px;
  }

  .np-logo__img {
    height: 48px;
  }

  .np-nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .np-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--np-border);
    padding: 0.5rem 1.25rem 1rem;
  }

  .np-nav.is-open {
    display: flex;
  }

  .np-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--np-border);
  }
}

/* Hero — original composition (not Amazon clone) */
.np-hero {
  position: relative;
  min-height: clamp(420px, 68vh, 620px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(26, 26, 26, 0.82) 0%, rgba(26, 26, 26, 0.45) 48%, rgba(26, 26, 26, 0.2) 100%),
    radial-gradient(circle at 78% 35%, rgba(254, 80, 0, 0.35), transparent 42%),
    linear-gradient(160deg, #3a3a3a, #1f1f1f);
  color: #fff;
}

.np-hero__geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.np-hero__geo::before {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: 55%;
  height: 70%;
  background: var(--np-orange);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.95;
}

.np-hero__geo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 20%;
  background: #ececec;
  clip-path: polygon(0 55%, 100% 0, 100% 100%, 0 100%);
}

.np-hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4.5rem, 10vw, 7rem);
  max-width: 42rem;
}

.np-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--np-orange);
  margin-bottom: 0.85rem;
}

.np-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  color: #fff;
}

.np-hero p {
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
}

.np-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */
.np-section {
  padding-block: var(--np-section-y);
  position: relative;
}

.np-section--light {
  background: var(--np-light);
}

.np-section--dark {
  background: var(--np-charcoal);
  color: #fff;
}

.np-section--dark .np-section__lead {
  color: rgba(255, 255, 255, 0.82);
}

.np-section__head {
  max-width: 640px;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.np-section__head--center {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.np-section__kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--np-orange);
}

.np-section__head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  letter-spacing: 0.01em;
}

.np-section__lead {
  margin: 0;
  color: var(--np-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Product categories (2 x 2) */
.np-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

@media (max-width: 640px) {
  .np-cat-grid {
    grid-template-columns: 1fr;
  }
}

.np-cat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--np-white);
  border: 1px solid var(--np-border);
  border-left: 4px solid var(--np-orange);
  padding: clamp(1.35rem, 3vw, 1.9rem);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.np-cat-card:hover {
  border-color: var(--np-orange);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.np-cat-card__title {
  margin: 0;
  font-family: var(--np-font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.25;
  color: var(--np-black);
}

.np-cat-card__desc {
  margin: 0;
  flex: 1;
  color: var(--np-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.np-cat-card .np-btn {
  margin-top: 0.35rem;
}

/* Product category landing pages (taxonomy-np_product_category.php): 50/50 hero */
.np-cat-hero {
  background: var(--np-black);
  color: #fff;
}

.np-cat-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: stretch;
  padding-block: clamp(1.75rem, 4vw, 3rem);
}

.np-cat-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
  min-width: 0;
}

.np-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
}

.np-breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  opacity: 0.6;
}

/* Prefixed with .np-main / :not(.np-btn) so they outrank the prose-link rule further down. */
.np-main .np-breadcrumb a:not(.np-btn) {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.np-main .np-breadcrumb a:not(.np-btn):hover,
.np-main .np-breadcrumb a:not(.np-btn):focus {
  color: #fff;
  text-decoration: underline;
}

.np-main .np-breadcrumb a:not(.np-btn):focus-visible {
  outline: 2px solid var(--np-orange);
  outline-offset: 2px;
}

.np-breadcrumb [aria-current="page"] {
  color: #fff;
  font-weight: 700;
}

.np-cat-hero h1 {
  margin: 0;
  color: var(--np-orange);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.12;
  text-transform: uppercase;
}

.np-cat-hero__body p {
  margin: 0 0 1rem;
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.np-cat-hero__body p:last-child {
  margin-bottom: 0;
}

.np-cat-hero__media {
  display: grid;
  place-items: center;
  min-height: 340px;
  padding: 1.5rem;
  background: linear-gradient(145deg, #f6f6f6, #e2e2e2);
}

.np-cat-hero__media img {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Tamper Seal only: its lineup photograph is a JPEG on a white background, so the panel is white too and the picture blends in. Nothing else about the panel changes. */
.term-tamper-seal .np-cat-hero__media {
  background: #fff;
}

@media (max-width: 860px) {
  .np-cat-hero__inner {
    grid-template-columns: 1fr;
  }

  .np-cat-hero__media {
    min-height: 260px;
  }
}

/* Why Choose Next Phase */
.np-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.35rem);
}

@media (max-width: 992px) {
  .np-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .np-why-grid {
    grid-template-columns: 1fr;
  }
}

.np-why-card {
  background: var(--np-white);
  border: 1px solid var(--np-border);
  border-top: 3px solid var(--np-orange);
  padding: 1.35rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
}

.np-why-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--np-orange);
  background: rgba(254, 80, 0, 0.08);
  margin-bottom: 0.15rem;
}

.np-why-card h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--np-black);
}

.np-why-card p {
  margin: 0;
  color: var(--np-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}

/* Intro / trust */
.np-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

@media (max-width: 860px) {
  .np-intro-grid {
    grid-template-columns: 1fr;
  }
}

.np-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 560px) {
  .np-trust {
    grid-template-columns: 1fr;
  }
}

.np-trust__item {
  background: #fff;
  border-left: 4px solid var(--np-orange);
  padding: 1.1rem 1.15rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.np-trust__item strong {
  display: block;
  font-family: var(--np-font-display);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.np-trust__item span {
  font-size: 0.9rem;
  color: var(--np-muted);
}

.np-intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Band CTA */
.np-band {
  background: var(--np-orange);
  color: #fff;
  padding: 1.35rem 0;
  position: relative;
  overflow: hidden;
}

.np-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -32deg,
    rgba(255, 255, 255, 0.08) 0 12px,
    transparent 12px 24px
  );
  opacity: 0.35;
  pointer-events: none;
}

.np-band__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.np-band h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* CTA strip */
.np-cta {
  background:
    linear-gradient(115deg, #2a2a2a 0%, #333 48%, #1e1e1e 100%);
  color: #fff;
  padding-block: clamp(3rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}

.np-cta::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 38%;
  background: var(--np-orange);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.95;
}

.np-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.np-cta h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.np-cta p {
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.np-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Page hero (inner pages) */
.np-page-hero {
  background: var(--np-charcoal);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  position: relative;
  overflow: hidden;
}

.np-page-hero::after {
  content: "";
  position: absolute;
  right: -5%;
  top: 0;
  bottom: 0;
  width: 42%;
  background: var(--np-orange);
  clip-path: polygon(32% 0, 100% 0, 100% 100%, 0 100%);
}

.np-page-hero .np-container {
  position: relative;
  z-index: 1;
}

.np-page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.np-page-hero p {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Contact */
.np-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}

@media (max-width: 860px) {
  .np-contact-grid {
    grid-template-columns: 1fr;
  }
}

.np-contact-card {
  background: var(--np-light);
  padding: 1.5rem;
  border-top: 4px solid var(--np-orange);
}

.np-contact-card h3 {
  margin-top: 0;
}

.np-form {
  display: grid;
  gap: 1rem;
}

.np-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.np-form input,
.np-form textarea {
  width: 100%;
  border: 1px solid var(--np-border);
  padding: 0.85rem 0.95rem;
  font: inherit;
  background: #fff;
  min-height: 48px;
}

.np-form textarea {
  min-height: 140px;
  resize: vertical;
}

.np-form input:focus,
.np-form textarea:focus {
  outline: 2px solid var(--np-orange);
  outline-offset: 1px;
  border-color: var(--np-orange);
}

/*
 * Contact Fluent Form #1 submit only.
 * Beats Fluent inline: form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style)
 * (uses --fluentform-primary #1a7efb) and Astra button:hover/focus blues.
 */
.np-main form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style) {
  background-color: var(--np-orange);
  background-image: none;
  border: 2px solid var(--np-orange);
  border-radius: var(--np-radius);
  color: #fff;
  font-family: var(--np-font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.5;
  min-height: 44px;
  opacity: 1;
  padding: 0.7rem 1.15rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.np-main form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style):hover,
.np-main form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style):focus,
.np-main form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style):focus-visible {
  background-color: var(--np-orange-dark);
  border-color: var(--np-orange-dark);
  color: #fff;
  opacity: 1;
  outline: 2px solid var(--np-orange);
  outline-offset: 2px;
  text-decoration: none;
  transform: translateY(-1px);
}

.np-main form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style):active {
  background-color: var(--np-orange-dark);
  border-color: var(--np-orange-dark);
  color: #fff;
  opacity: 1;
  transform: none;
}

/* Fluent Forms controls otherwise fall back to Astra's system-font stack */
.np-main .fluentform .ff-el-form-control {
  font-family: inherit;
}

/* Prose links in main content (not buttons / not global <a>) */
.np-main a:not(.np-btn) {
  color: var(--np-link);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.np-main a:not(.np-btn):hover,
.np-main a:not(.np-btn):focus,
.np-main a:not(.np-btn):focus-visible {
  color: var(--np-link-hover);
}

.np-main a:not(.np-btn):focus,
.np-main a:not(.np-btn):focus-visible {
  outline: 2px solid var(--np-orange);
  outline-offset: 2px;
}

.np-alert {
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--np-orange);
  background: #fff4ef;
}

.np-alert--ok {
  border-color: #2f7d32;
  background: #eef8ee;
}

.np-alert--err {
  border-color: #b3261e;
  background: #fdecea;
}

/* Footer */
.np-footer {
  background: #151515;
  color: rgba(255, 255, 255, 0.82);
  padding: 3rem 0 1.5rem;
}

.np-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 860px) {
  .np-footer__grid {
    grid-template-columns: 1fr;
  }
}

.np-footer a {
  color: #fff;
  text-decoration: none;
}

.np-footer a:hover {
  color: var(--np-orange);
}

.np-footer a:focus-visible {
  outline: 2px solid var(--np-orange);
  outline-offset: 2px;
}

.np-footer__links {
  display: grid;
  gap: 0.55rem;
}

.np-footer__links a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Contact details stay in natural case (readable, copy-accurate). */
.np-footer__links a[href^="mailto:"],
.np-footer__links a[href^="tel:"] {
  letter-spacing: 0.02em;
  text-transform: none;
}

/* The supplied logo has black lettering (no reversed variant), so it sits on a white panel in the dark footer. */
.np-footer .np-logo {
  background: #fff;
  padding: 0.6rem 0.9rem;
}

.np-footer .np-logo__img {
  height: 52px;
}

.np-footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Focus visibility for keyboard users */
.np-btn:focus,
.np-btn:focus-visible,
.np-nav a:focus,
.np-nav a:focus-visible,
.np-logo:focus,
.np-logo:focus-visible,
.np-nav-toggle:focus,
.np-nav-toggle:focus-visible {
  outline: 2px solid var(--np-orange);
  outline-offset: 2px;
}

/* Astra scroll-to-top — match Next Phase orange (narrow selectors only) */
#ast-scroll-top {
  background-color: var(--np-orange);
  color: #fff;
}

#ast-scroll-top:hover,
#ast-scroll-top:focus,
#ast-scroll-top:focus-visible {
  background-color: var(--np-orange-dark);
  color: #fff;
}

#ast-scroll-top:active {
  background-color: var(--np-orange-dark);
  color: #fff;
}

#ast-scroll-top:focus-visible {
  outline: 2px solid var(--np-orange);
  outline-offset: 2px;
}

/* Anchored sections clear the sticky header */
.np-section[id] {
  scroll-margin-top: 5.5rem;
}

/* Default page layout (page.php): About Us and any page without its own template */
.np-prose {
  max-width: 760px;
}

.np-prose > * + * {
  margin-top: 1.1rem;
}

/* Long-form sections (About Us): a short orange rule above each heading, comfortable reading measure. */
.np-prose h2 {
  position: relative;
  margin-top: 2.75rem;
  padding-top: 1.1rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.25;
}

.np-prose h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 4px;
  background: var(--np-orange);
}

.np-prose > h2:first-child {
  margin-top: 0;
}

.np-prose p {
  line-height: 1.75;
}

/* Wide media inside long-form pages (About Us): text keeps its 760px reading measure, the video and the owner's note use the full container. */
.np-prose {
  max-width: none;
}

.np-prose > * {
  max-width: 760px;
}

.np-prose > .np-about-video,
.np-prose > .np-about-note {
  max-width: none;
}

/* About Us intro: client video, copy and the owner's note (standard video / paragraph / image blocks) */
.np-about-video {
  margin: 0 0 2rem;
  border-top: 4px solid var(--np-orange);
  background: var(--np-black);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.np-about-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9; /* the supplied file is 1920x1080: reserve the space before it loads, never stretch it */
  background: var(--np-black);
}

/* First line of the client copy reads as the lead statement */
.np-about-video + p {
  font-family: var(--np-font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.np-about-note {
  margin: 2rem 0;
}

/* The whole note, uncropped; the link opens the full-size picture (pinch-zoom on phones), the round icon says so. */
.np-about-note a {
  position: relative;
  display: block;
  cursor: zoom-in;
}

.np-about-note img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.np-about-note a::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--np-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / 1.4rem no-repeat;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

/* Astra compatibility tweaks */
.ast-container {
  max-width: var(--np-container);
}

.entry-content .np-btn {
  text-decoration: none;
}

/* ==========================================================
   ASTRA OVERRIDES
   ========================================================== */

@media (min-width: 1200px) {
  .ast-plain-container.ast-no-sidebar #primary {
    margin-top: 0;
    margin-bottom: 0;
  }
}

.home #primary,
.page-template-template-home #primary,
.page-template-template-catalogs #primary,
.page-template-template-contact #primary,
.page-template-template-faq #primary {
  margin-top: 0;
  margin-bottom: 0;
}

/* Category archives use Astra's separate-container layout, which adds margin (desktop) and padding (tablet/phone). */
.tax-np_product_category #primary {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.np-hero h1,
.np-hero h2,
.np-cta h2,
.np-page-hero h1 {
  color: #fff;
}

.np-hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4.5rem, 10vw, 10rem);
  max-width: min(42rem, 100%);
}

/* Keep the decorative wedge clear of the hero copy once the text column reaches it. */
@media (max-width: 1400px) {
  .np-hero__geo::before {
    width: 40%;
    height: 34%;
    bottom: -8%;
  }
}

@media (max-width: 860px) {
  .np-hero__content {
    padding: clamp(2.75rem, 8vw, 3.5rem) 0 clamp(8rem, 18vw, 12rem);
  }

  .np-cta::after {
    width: 100%;
    clip-path: polygon(0 72%, 100% 48%, 100% 100%, 0 100%);
    opacity: 0.35;
  }
}

/* Phones: leave room under the buttons so the orange wedge still shows above the grey band. */
@media (max-width: 640px) {
  .np-hero__content {
    padding-bottom: 12.5rem;
  }

  .np-hero__geo::before {
    width: 52%;
    height: 30%;
    bottom: -3%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
