/* Theme defaults have zero specificity; editor choices take precedence. */
:where(:root) {
  --nl-navy: var(--wp--preset--color--navy, #102b46);
  --nl-blue: var(--wp--preset--color--blue, #1675b9);
  --nl-teal: var(--wp--preset--color--teal, #13a6a6);
  --nl-teal-text: var(--wp--preset--color--teal-dark, #087b7b);
  --nl-ink: var(--wp--preset--color--ink, #263746);
  --nl-muted: #526676;
  --nl-surface: var(--wp--preset--color--surface, #f4f7fa);
  --nl-line: #dce5eb;
  --nl-radius: 16px;
}
:where(html) { scroll-behavior: smooth; scroll-padding-top: 24px; }
:where(body) { margin: 0; }
:where(.wp-site-blocks) { padding: 0; }
:where(.wp-site-blocks > *) { margin-block-start: 0; }
:where(.nl-home, .nl-home > *, .nl-site-header > *, .nl-site-footer > *) { margin-block-start: 0; }
:where(.nl-home *, .nl-site-header *, .nl-site-footer *) { box-sizing: border-box; }
:where(.nl-shell) { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
:where(.nl-home h1, .nl-home h2, .nl-home h3, .nl-home p) { margin-top: 0; }
:where(.nl-section) { padding-block: 100px; }
:where(.nl-eyebrow) { color: var(--nl-teal-text); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
:where(.nl-heading) { font-size: clamp(30px, 3.3vw, 44px); margin-bottom: 20px; max-width: 820px; }
:where(.nl-intro) { max-width: 600px; color: var(--nl-muted); font-size: 17px; line-height: 1.75; margin-bottom: 0; }
:where(.nl-section-heading) { margin-bottom: 40px; }
:where(.nl-section-heading p:last-child) { margin-bottom: 0; }
:where(.nl-actions) { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
:where(.nl-actions .wp-block-button) { margin: 0; }
:where(.nl-home .wp-block-button__link, .nl-site-header .wp-block-button__link, .nl-contact-button) {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
  padding: 14px 23px; border: 1px solid var(--nl-navy); border-radius: 8px;
  background: var(--nl-navy); color: var(--wp--preset--color--white, #fff); font: inherit; font-size: 14px; font-weight: 600;
  line-height: 1.4; text-decoration: none; transition: background .18s, border-color .18s, transform .18s;
}
:where(.nl-home .wp-block-button__link:hover, .nl-site-header .wp-block-button__link:hover, .nl-contact-button:hover) {
  background: #1b4668; border-color: #1b4668; color: var(--wp--preset--color--white, #fff); transform: translateY(-2px);
}
:where(.nl-home .is-style-outline .wp-block-button__link) { background: transparent; color: var(--nl-navy); border-color: #b5c6d2; }
:where(.nl-home .is-style-outline .wp-block-button__link:hover) { background: #eaf1f5; border-color: var(--nl-navy); }
:where(.nl-text-link) { font-size: 14px; font-weight: 600; margin: 0; }
:where(.nl-text-link a) { color: var(--nl-navy); text-decoration: none; text-underline-offset: 5px; }
:where(.nl-text-link a:hover) { text-decoration: underline; }
:where(.nl-home a:focus-visible, .nl-site-header a:focus-visible, .nl-site-footer a:focus-visible,
.nl-site-header button:focus-visible, .nl-home button:focus-visible) {
  outline: 3px solid var(--nl-blue); outline-offset: 5px;
}
:where(.nl-utility) { background: var(--nl-navy); color: #d7e6ef; padding-block: 10px; }
:where(.nl-utility .nl-shell) { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
:where(.nl-utility p) { margin: 0; font-size: 11px; letter-spacing: .035em; }
:where(.nl-header) { background: var(--wp--preset--color--white, #fff); border-bottom: 1px solid #edf1f4; }
:where(.nl-header-row) { display: flex; justify-content: space-between; gap: 30px; align-items: center; min-height: 96px; }
:where(.nl-brand) { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
:where(.nl-brand img) { display: block; max-width: 100%; height: auto; }
:where(.nl-brand p) { font-size: 23px; line-height: 1; font-weight: 700; letter-spacing: -.045em; margin: 0; }
:where(.nl-brand a) { text-decoration: none; color: var(--nl-navy); }
:where(.nl-header .wp-block-navigation) { margin: 0 0 0 auto; font-size: 13px; font-weight: 500; color: var(--nl-navy); }
:where(.nl-header .wp-block-navigation__container) { gap: 26px; }
:where(.nl-header .wp-block-navigation-item__content) { padding-block: 10px; text-underline-offset: 6px; }
:where(.nl-header .nl-actions) { margin: 0; flex-shrink: 0; }
:where(.nl-header .wp-block-button__link) { min-height: 44px; font-size: 12px; padding: 12px 17px; }
:where(.nl-hero) { overflow: hidden; background: linear-gradient(115deg, #fff 45%, #f7fafc); padding-block: 70px 78px; }
:where(.nl-hero-grid) { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 65px; }
:where(.nl-hero-copy > *) { margin-block-start: 0; }
:where(.nl-hero h1) { font-size: clamp(40px, 4.2vw, 60px); line-height: 1.08; font-weight: 600; letter-spacing: -.05em; margin-bottom: 25px; }
:where(.nl-hero .nl-intro) { font-size: 16px; max-width: 515px; }
:where(.nl-hero-copy .nl-actions) { margin-top: 30px; }
:where(.nl-hero-copy .nl-hero-note) { margin: 28px 0 0; color: var(--nl-muted); font-size: 12px; }
:where(.nl-hero-visual) { position: relative; margin: 0; }
:where(.nl-hero-image) { margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 1.2; background: #e3edf1; }
:where(.nl-hero-image img) { display: block; width: 100%; height: 100%; object-fit: cover; }
:where(.nl-visual-caption) { font-size: 10px; text-align: right; color: var(--nl-muted); margin: 10px 4px 0; }
:where(.nl-image-label) { position: absolute; left: 22px; bottom: 54px; background: rgba(255,255,255,.95); border: 1px solid rgba(255,255,255,.8); padding: 13px 20px; border-radius: 10px; box-shadow: 0 6px 25px #102b4612; }
:where(.nl-image-label p) { margin: 0; font-size: 11px; color: var(--nl-muted); }
:where(.nl-image-label p:first-child) { font-size: 14px; font-weight: 600; color: var(--nl-navy); margin-bottom: 2px; }
:where(.nl-audience) { border-bottom: 1px solid var(--nl-line); background: var(--wp--preset--color--white, #fff); padding-block: 25px; }
:where(.nl-audience .nl-shell) { display: flex; gap: 30px; align-items: center; justify-content: space-between; }
:where(.nl-audience p) { margin: 0; color: var(--nl-muted); font-size: 13px; }
:where(.nl-audience .nl-eyebrow) { color: var(--nl-navy); font-size: 10px; letter-spacing: .09em; flex-shrink: 0; }
:where(.nl-audience-list) { display: flex; flex-wrap: wrap; column-gap: 38px; row-gap: 12px; justify-content: flex-end; }
:where(.nl-expertise-grid) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
:where(.nl-expertise-card) { background: var(--wp--preset--color--white, #fff); border: 1px solid var(--nl-line); border-radius: var(--nl-radius); overflow: hidden; display: flex; flex-direction: column; margin: 0; transition: box-shadow .2s, transform .2s; }
:where(.nl-expertise-card:hover) { transform: translateY(-4px); box-shadow: 0 14px 36px #102b460d; }
:where(.nl-card-image) { aspect-ratio: 1.5; margin: 0; background: #e5edf2; }
:where(.nl-card-image img) { display: block; width: 100%; height: 100%; object-fit: cover; }
:where(.nl-card-body) { padding: 23px; display: flex; flex-direction: column; flex: 1; margin: 0; }
:where(.nl-card-body h3) { font-size: 20px; line-height: 1.3; letter-spacing: -.025em; margin-bottom: 13px; }
:where(.nl-card-body > p:not(.nl-text-link)) { font-size: 13px; line-height: 1.75; color: var(--nl-muted); margin-bottom: 23px; }
:where(.nl-card-body .nl-text-link) { margin-top: auto; font-size: 12px; }
:where(.nl-products) { background: var(--nl-surface); }
:where(.nl-heading-row) { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
:where(.nl-heading-row > *) { margin: 0; }
:where(.nl-heading-row .nl-text-link) { flex-shrink: 0; padding-bottom: 6px; }
:where(.nl-product-grid) { margin: 0; }
:where(.nl-product-grid .wc-block-product-template) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
:where(.nl-product-grid .nl-product-card) { background: var(--wp--preset--color--white, #fff); border: 1px solid var(--nl-line); border-radius: var(--nl-radius); padding: 16px 16px 24px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; margin: 0; }
:where(.nl-product-grid .nl-product-card > *) { margin-block: 0; }
:where(.nl-product-grid .wc-block-components-product-image) { background: #f4f7fa; border-radius: 10px; overflow: hidden; }
:where(.nl-product-grid .wc-block-components-product-image img) { aspect-ratio: 1.25; object-fit: contain; width: 100%; }
:where(.nl-product-grid .wp-block-post-terms) { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--nl-teal-text); }
:where(.nl-product-grid .wp-block-post-terms a) { color: inherit; text-decoration: none; }
:where(.nl-product-grid .wp-block-post-title) { font-size: 19px; letter-spacing: -.025em; line-height: 1.35; margin: 0; }
:where(.nl-product-grid .wp-block-post-title a) { color: var(--nl-navy); text-decoration: none; }
:where(.nl-product-grid .wp-block-woocommerce-product-price) { font-size: 15px; font-weight: 600; color: var(--nl-ink); }
:where(.nl-product-grid .wp-block-read-more) { font-size: 12px; font-weight: 600; color: var(--nl-navy); margin-top: auto; padding-top: 10px; text-underline-offset: 4px; }
:where(.nl-product-empty) { border: 1px dashed #bacbd7; border-radius: 16px; padding: 38px; background: var(--wp--preset--color--white, #fff); }
:where(.nl-product-empty p) { max-width: 620px; color: var(--nl-muted); margin-bottom: 0; }
:where(.nl-product-empty h3) { font-size: 24px; margin-bottom: 12px; }
:where(.nl-optimization) { background: var(--wp--preset--color--white, #fff); }
:where(.nl-optimization-panel) { background: var(--nl-navy); border-radius: 24px; color: #d4e3ed; display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; }
:where(.nl-optimization-copy) { padding: 62px 60px; }
:where(.nl-optimization-copy .nl-eyebrow) { color: #77ded4; }
:where(.nl-optimization-copy h2) { color: var(--wp--preset--color--white, #fff); font-size: clamp(30px, 3vw, 40px); margin-bottom: 23px; }
:where(.nl-optimization-copy > p:not(.nl-eyebrow)) { font-size: 15px; line-height: 1.8; margin-bottom: 0; max-width: 500px; }
:where(.nl-optimization-copy .wp-block-button__link) { background: var(--wp--preset--color--white, #fff); border-color: var(--wp--preset--color--white, #fff); color: var(--nl-navy); }
:where(.nl-optimization-copy .wp-block-button__link:hover) { background: #d9efec; border-color: #d9efec; color: var(--nl-navy); }
:where(.nl-optimization-copy .nl-actions) { margin-top: 28px; }
:where(.nl-optimization-copy .nl-fineprint) { margin-top: 18px; font-size: 11px; color: #b6cbd9; }
:where(.nl-optimization-visual) { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 45px 45px 45px 0; margin: 0; }
:where(.nl-optimization-image) { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 1.5; }
:where(.nl-optimization-image img) { width: 100%; height: 100%; display: block; object-fit: cover; }
:where(.nl-optimization-visual .nl-visual-caption) { color: #b6cbd9; text-align: left; }
:where(.nl-benefits) { padding-top: 8px; }
:where(.nl-benefits-grid) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 50px; row-gap: 37px; }
:where(.nl-benefit) { padding-top: 22px; border-top: 1px solid var(--nl-line); margin: 0; }
:where(.nl-benefit .nl-benefit-number) { font-size: 12px; color: var(--nl-teal-text); font-weight: 700; margin-bottom: 15px; letter-spacing: .09em; }
:where(.nl-benefit h3) { font-size: 19px; line-height: 1.3; margin-bottom: 12px; }
:where(.nl-benefit > p:last-child) { font-size: 14px; color: var(--nl-muted); line-height: 1.75; margin-bottom: 0; }
:where(.nl-benefit-statement) { background: #edf7f6; border: 0; border-radius: 12px; padding: 26px; }
:where(.nl-benefit-statement h3) { font-size: 24px; line-height: 1.3; }
:where(.nl-contact) { background: #edf5f7; padding-block: 75px; }
:where(.nl-contact-grid) { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 80px; }
:where(.nl-contact .nl-heading) { max-width: 590px; font-size: clamp(30px, 3vw, 40px); }
:where(.nl-contact .nl-intro) { font-size: 15px; }
:where(.nl-contact-options) { border-left: 1px solid #c6d9e2; padding: 12px 0 12px 50px; }
:where(.nl-contact-options h3) { font-size: 18px; margin-bottom: 12px; }
:where(.nl-contact-links) { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
:where(.nl-contact-links p) { margin: 0; }
:where(.nl-contact-links a:not(.nl-contact-button)) { color: var(--nl-navy); text-underline-offset: 4px; overflow-wrap: anywhere; }
:where(.nl-contact-links .nl-contact-unconfigured) { font-size: 14px; color: var(--nl-muted); line-height: 1.8; }
:where(.nl-contact-links .nl-contact-admin-hint) { font-size: 12px; }
:where(.nl-contact-phone) { font-size: 14px; }
:where(.nl-footer) { background: var(--nl-navy); color: #c0d2e0; padding-block: 62px 24px; }
:where(.nl-footer-grid) { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 65px; }
:where(.nl-footer .nl-brand a) { color: var(--wp--preset--color--white, #fff); }
:where(.nl-footer-brand > p) { max-width: 350px; font-size: 13px; line-height: 1.85; margin-top: 22px; }
:where(.nl-footer .nl-footer-label) { color: var(--wp--preset--color--white, #fff); font-size: 13px; font-weight: 600; margin-bottom: 20px; }
:where(.nl-footer-links > p:not(.nl-footer-label)) { font-size: 12px; margin-block: 10px; }
:where(.nl-footer a) { color: #c0d2e0; text-underline-offset: 4px; }
:where(.nl-footer .nl-contact-links a:not(.nl-contact-button), .nl-footer .nl-contact-unconfigured) { color: #c0d2e0; font-size: 12px; }
:where(.nl-footer .nl-contact-links) { gap: 10px; }
:where(.nl-footer-bottom) { display: flex; justify-content: space-between; gap: 25px; border-top: 1px solid #31506a; padding-top: 22px; margin-top: 44px; }
:where(.nl-footer-bottom p) { margin: 0; font-size: 10px; color: #b5cad9; }
/* Content pages retain the shared header/footer. */
:where(.wp-site-blocks > main:not(.nl-home)) { padding-block: 60px; min-height: 40vh; }
@media (min-width: 1025px) {
  .nl-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: none; }
}
@media (max-width: 1100px) {
  :where(.nl-shell) { width: min(1240px, calc(100% - 56px)); }
  :where(.nl-hero-grid) { gap: 35px; }
  :where(.nl-hero h1) { font-size: 46px; }
  :where(.nl-header-row) { gap: 22px; }
  :where(.nl-header .wp-block-navigation__container) { gap: 18px; }
  :where(.nl-brand p) { font-size: 21px; }
  :where(.nl-expertise-grid, .nl-product-grid .wc-block-product-template) { gap: 16px; }
  :where(.nl-card-body) { padding: 19px; }
  :where(.nl-card-body h3) { font-size: 18px; }
  :where(.nl-optimization-copy) { padding: 45px 40px; }
  :where(.nl-optimization-visual) { padding: 35px 35px 35px 0; }
}
@media (max-width: 1024px) {
  :where(.nl-header .nl-actions) { display: none; }
  .nl-header .wp-block-navigation__responsive-container-open { display: flex; padding: 10px; }
  .nl-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .nl-header .wp-block-navigation__responsive-container.is-menu-open { display: flex; padding: 35px; }
  :where(.nl-header .is-menu-open .wp-block-navigation__container) { gap: 24px; font-size: 21px; }
  :where(.nl-header .is-menu-open .wp-block-navigation__responsive-container-content) { padding-top: 60px; }
  :where(.nl-expertise-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  :where(.nl-product-grid .wc-block-product-template) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  :where(.nl-benefits-grid) { column-gap: 30px; }
  :where(.nl-audience-list) { column-gap: 22px; }
}
@media (max-width: 780px) {
  :where(.nl-section) { padding-block: 70px; }
  :where(.nl-hero) { padding-block: 45px 50px; }
  :where(.nl-hero-grid) { grid-template-columns: 1fr; gap: 40px; }
  :where(.nl-hero-copy) { max-width: 600px; }
  :where(.nl-hero h1) { font-size: clamp(40px, 6.8vw, 54px); }
  :where(.nl-hero-visual) { max-width: 620px; width: 100%; }
  :where(.nl-hero-image) { aspect-ratio: 1.4; }
  :where(.nl-audience .nl-shell) { flex-direction: column; align-items: flex-start; gap: 14px; }
  :where(.nl-audience-list) { justify-content: flex-start; }
  :where(.nl-heading-row) { flex-direction: column; align-items: flex-start; gap: 24px; }
  :where(.nl-optimization-panel) { grid-template-columns: 1fr; }
  :where(.nl-optimization-copy) { padding: 40px; }
  :where(.nl-optimization-visual) { padding: 0 40px 40px; }
  :where(.nl-benefits) { padding-top: 0; }
  :where(.nl-benefits-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :where(.nl-contact-grid) { grid-template-columns: 1fr; gap: 32px; }
  :where(.nl-contact-options) { border-left: 0; border-top: 1px solid #c6d9e2; padding: 25px 0 0; }
  :where(.nl-footer-grid) { grid-template-columns: 1fr 1fr; gap: 40px; }
  :where(.nl-footer-brand) { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  :where(.nl-shell) { width: calc(100% - 40px); }
  :where(.nl-section) { padding-block: 55px; }
  :where(.nl-header-row) { min-height: 80px; }
  :where(.nl-utility p) { font-size: 9px; }
  :where(.nl-utility .nl-shell) { gap: 10px; }
  :where(.nl-brand p) { font-size: 22px; }
    :where(.nl-eyebrow) { font-size: 10px; letter-spacing: .11em; }
  :where(.nl-hero h1) { font-size: clamp(34px, 9.9vw, 45px); line-height: 1.1; }
  :where(.nl-hero .nl-intro) { font-size: 15px; }
  :where(.nl-hero .nl-actions) { display: grid; grid-template-columns: 1fr; gap: 10px; }
  :where(.nl-hero .wp-block-button__link) { width: 100%; }
  :where(.nl-hero-copy .nl-hero-note) { font-size: 11px; margin-top: 23px; }
  :where(.nl-hero-grid) { gap: 30px; }
  :where(.nl-hero-image) { border-radius: 18px; aspect-ratio: 1.2; }
  :where(.nl-image-label) { left: 14px; bottom: 45px; padding: 10px 15px; }
  :where(.nl-visual-caption) { font-size: 9px; }
  :where(.nl-audience) { padding-block: 23px; }
  :where(.nl-audience-list) { column-gap: 21px; row-gap: 10px; }
  :where(.nl-audience-list p) { font-size: 12px; }
  :where(.nl-intro) { font-size: 15px; }
  :where(.nl-expertise-grid) { grid-template-columns: 1fr; gap: 22px; }
  :where(.nl-card-body) { padding: 24px; }
  :where(.nl-card-body h3) { font-size: 22px; }
  :where(.nl-card-body > p:not(.nl-text-link)) { font-size: 14px; }
  :where(.nl-card-body .nl-text-link) { font-size: 14px; }
  :where(.nl-product-grid .wc-block-product-template) { grid-template-columns: 1fr; }
  :where(.nl-product-grid .nl-product-card) { padding: 18px 18px 24px; }
  :where(.nl-product-empty) { padding: 26px; }
  :where(.nl-optimization-copy) { padding: 32px 25px; }
  :where(.nl-optimization-visual) { padding: 0 25px 28px; }
  :where(.nl-optimization-panel) { border-radius: 18px; }
  :where(.nl-optimization-copy .wp-block-button__link) { font-size: 13px; }
  :where(.nl-benefits) { padding-top: 0; }
  :where(.nl-benefits-grid) { grid-template-columns: 1fr; gap: 26px; }
  :where(.nl-contact) { padding-block: 55px; }
  :where(.nl-footer) { padding-top: 45px; }
  :where(.nl-footer-grid) { gap: 30px; }
  :where(.nl-footer-bottom) { flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  :where(html) { scroll-behavior: auto; }
  :where(.nl-home *, .nl-site-header *) { transition: none; animation: none; }
  :where(.nl-expertise-card:hover, .nl-home .wp-block-button__link:hover, .nl-contact-button:hover) { transform: none; }
}

/* Editorial MedTech layout; photo slots await approved originals. */
:where(html) { scroll-padding-top: var(--nl-header-offset, 170px); }
:where(.nl-shell) { width: min(1320px, calc(100% - 96px)); }
:where(.nl-site-header) { position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 24px #102b4608; }
:where(.admin-bar .nl-site-header) { top: 32px; }
:where(.nl-header) { background: var(--wp--preset--color--white, #fff); }
:where(.nl-header-row) { min-height: 90px; gap: 28px; }
:where(.nl-header .wp-block-navigation) { font-size: 16px; }
:where(.nl-header .wp-block-navigation__container) { gap: 24px; }
:where(.nl-header .wp-block-button__link) { font-size: 14px; min-height: 48px; padding: 13px 21px; }
:where(.nl-header .nl-actions) { display: flex; }
:where(.nl-hero) { background: var(--wp--preset--color--white, #fff); padding-block: 94px 90px; }
:where(.nl-hero-grid) { grid-template-columns: 1.12fr 1fr; gap: 72px; }
:where(.nl-hero h1) { font-size: clamp(44px, 4.15vw, 64px); letter-spacing: -.048em; line-height: 1.12; margin-bottom: 28px; }
:where(.nl-hero .nl-intro) { font-size: 18px; line-height: 1.8; max-width: 590px; }
:where(.nl-hero-copy .nl-actions) { margin-top: 36px; }
:where(.nl-home .wp-block-button__link) { font-size: 15px; min-height: 54px; }
:where(.nl-hero-image) { aspect-ratio: 15 / 14; border-radius: 12px; border: 1px solid var(--nl-line); }
:where(.nl-image-label) { position: static; border: 0; box-shadow: none; padding: 0; background: transparent; margin: 20px 0 0; }
:where(.nl-image-label p:first-child) { font-size: 16px; }
:where(.nl-image-label p:last-child) { font-size: 13px; }
:where(.nl-home .nl-visual-caption) { text-align: left; font-size: 11px; margin-top: 8px; }
:where(.nl-section) { padding-block: 110px; }
:where(.nl-heading) { font-size: clamp(32px, 3.1vw, 46px); line-height: 1.18; }
:where(.nl-expertise-grid) { gap: 24px; }
:where(.nl-expertise-card) { border-radius: 10px; }
:where(.nl-expertise-card:hover) { transform: translateY(-5px); border-color: #a4becb; box-shadow: 0 18px 40px #102b4610; }
:where(.nl-expertise-card:focus-within) { border-color: var(--nl-blue); box-shadow: 0 0 0 1px var(--nl-blue); }
:where(.nl-card-image) { aspect-ratio: 3 / 2; border-bottom: 1px solid var(--nl-line); }
:where(.nl-card-body) { padding: 26px; }
:where(.nl-card-body > p:not(.nl-text-link)) { font-size: 15px; line-height: 1.75; }
:where(.nl-card-body .nl-text-link) { font-size: 14px; }
:where(.nl-product-grid .nl-product-card) { border-radius: 10px; padding: 18px 18px 26px; gap: 16px; }
:where(.nl-product-grid .wp-block-post-title) { font-size: 21px; overflow-wrap: anywhere; }
:where(.nl-product-grid .wp-block-read-more) { font-size: 14px; padding-top: 18px; }
:where(.nl-product-grid .wp-block-woocommerce-product-summary) { font-size: 14px; color: var(--nl-muted); line-height: 1.65; }
:where(.nl-product-grid .wc-block-components-product-image) { border-radius: 6px; }
:where(.nl-optimization-panel) { border-radius: 12px; grid-template-columns: 1.25fr 1fr; }
:where(.nl-optimization-copy) { padding: 64px; }
:where(.nl-optimization-copy h2) { font-size: clamp(34px, 3.2vw, 46px); line-height: 1.2; }
:where(.nl-optimization-copy > p:not(.nl-eyebrow)) { font-size: 16px; }
:where(.nl-check-process) { margin-top: 30px; padding-top: 24px; border-top: 1px solid #35516a; }
:where(.nl-check-process p) { font-size: 14px; margin-bottom: 12px; color: #d7e5ed; }
:where(.nl-optimization-visual) { padding: 45px 45px 45px 0; }
:where(.nl-optimization-image) { border-radius: 8px; }
:where(.nl-contact) { background: var(--wp--preset--color--surface, #eaf3f4); }
:where(.nl-contact-options) { background: var(--wp--preset--color--white, #fff); border: 1px solid #cfdee5; border-radius: 10px; padding: 32px; }
:where(.nl-contact .nl-heading) { font-size: clamp(32px, 3vw, 42px); }
@media (max-width: 1100px) {
  :where(.nl-shell) { width: calc(100% - 64px); }
  :where(.nl-header .wp-block-navigation) { font-size: 14px; }
  :where(.nl-header .wp-block-navigation__container) { gap: 20px; }
  :where(.nl-header .wp-block-button__link) { font-size: 13px; padding-inline: 17px; }
  :where(.nl-hero-grid) { gap: 42px; }
  :where(.nl-hero h1) { font-size: 49px; }
  :where(.nl-optimization-copy) { padding: 42px; }
  :where(.nl-card-body) { padding: 22px; }
}
@media (max-width: 1024px) {
  :where(.nl-header .nl-actions) { display: flex; order: 2; margin-left: auto; }
  :where(.nl-header .wp-block-navigation) { order: 3; margin: 0; }
  :where(.nl-header .is-menu-open .wp-block-navigation__container) { font-size: 23px; gap: 28px; }
  :where(.nl-hero) { padding-block: 65px; }
  :where(.nl-hero .nl-intro) { font-size: 17px; }
  :where(.nl-expertise-grid) { gap: 26px; }
}
@media (max-width: 782px) {
  :where(.admin-bar .nl-site-header) { top: 46px; }
}
@media (max-width: 780px) {
  :where(.nl-shell) { width: calc(100% - 56px); }
  :where(.nl-section) { padding-block: 80px; }
  :where(.nl-hero-grid) { grid-template-columns: 1fr; gap: 46px; }
  :where(.nl-hero-copy) { max-width: 660px; }
  :where(.nl-hero h1) { font-size: clamp(42px, 6.5vw, 52px); }
  :where(.nl-hero-visual) { max-width: none; }
  :where(.nl-hero-image) { aspect-ratio: 3 / 2; }
  :where(.nl-optimization-panel) { grid-template-columns: 1fr; }
  :where(.nl-optimization-copy) { padding: 42px; }
  :where(.nl-optimization-visual) { padding: 0 42px 42px; }
  :where(.nl-benefits) { padding-top: 0; }
}
@media (max-width: 600px) {
  :where(.admin-bar .nl-site-header) { top: 0; }
}
@media (max-width: 520px) {
  :where(html) { scroll-padding-top: var(--nl-header-offset, 140px); }
  :where(.nl-shell) { width: calc(100% - 40px); }
  :where(.nl-utility) { display: none; }
  :where(.nl-header-row) { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; min-height: 0; padding-block: 13px; }
  :where(.nl-header .wp-block-navigation) { grid-column: 2; grid-row: 1; }
  :where(.nl-header .nl-actions) { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; }
  :where(.nl-header .nl-actions .wp-block-button) { width: 100%; }
  :where(.nl-header .wp-block-button__link) { width: 100%; min-height: 42px; padding-block: 10px; font-size: 13px; }
  :where(.nl-hero) { padding-block: 52px 56px; }
  :where(.nl-hero h1) { font-size: clamp(34px, 9.5vw, 44px); }
  :where(.nl-hero .nl-intro) { font-size: 16px; }
  :where(.nl-hero-copy .nl-actions) { margin-top: 28px; }
  :where(.nl-hero-image) { aspect-ratio: 1.1; }
  :where(.nl-section) { padding-block: 62px; }
  :where(.nl-home .nl-visual-caption) { font-size: 11px; }
  :where(.nl-optimization-copy) { padding: 34px 26px; }
  :where(.nl-optimization-copy h2) { font-size: 32px; }
  :where(.nl-optimization-visual) { padding: 0 26px 30px; }
  :where(.nl-contact-options) { padding: 26px; }
  :where(.nl-benefits) { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  :where(.nl-expertise-card:hover) { transform: none; }
}

/* Explicit typography/colour on a parent group also reaches its text children. */
:where(.nl-home .has-text-color, .nl-site-header .has-text-color, .nl-site-footer .has-text-color) :where(p, h1, h2, h3, h4, h5, h6, em, a:not(.wp-element-button)) { color: inherit; }
:where(.nl-home .has-small-font-size, .nl-home .has-medium-font-size, .nl-home .has-large-font-size, .nl-home .has-x-large-font-size, .nl-home .has-xx-large-font-size, .nl-home [style*="font-size"]) :where(p, h1, h2, h3, h4, h5, h6) { font-size: inherit; }
:where(.nl-brand .wp-block-site-logo) { flex-shrink: 0; }
:where(.nl-brand .wp-block-site-logo img) { max-width: 100%; height: auto; }
/* The editor canvas does not need a floating template part. */
.editor-styles-wrapper .nl-site-header { position: relative; top: auto; }

/* Older database-saved templates keep readable dark panels without migration.
   Native colours on the panel/heading remain authoritative. */
.nl-optimization-panel:not(.has-text-color) h2:not(.has-text-color) { color: var(--wp--preset--color--white, #fff); }
.nl-footer:not(.has-link-color) .wp-block-paragraph:not(.has-link-color) a { color: inherit; }

.wp-block-notfalllabor-contact-links:where([class*="-font-size"], [style*="font-size"]) .nl-contact-button { font-size: inherit; }

:where(.nl-product-grid .wc-block-product) { padding: 0; border: 0; background: transparent; margin: 0; display: flex; }
:where(.nl-product-grid .nl-product-card) { width: 100%; height: 100%; }

/* Dynamic contact blocks inherit their explicitly selected typography. */
:where(.wp-block-notfalllabor-contact-links[class*="-font-size"], .wp-block-notfalllabor-contact-links[style*="font-size"]) :where(a, p) { font-size: inherit; line-height: inherit; }
.wp-block-notfalllabor-contact-links:where([style*="font-weight"]) .nl-contact-button { font-weight: inherit; }
.wp-block-notfalllabor-contact-links:where([style*="font-style"]) .nl-contact-button { font-style: inherit; }

/* Native Image controls style the image, not its figure. Keep the frame from
   clipping a user's radius or forcing a ratio after resizing/cropping. */
:where(.nl-hero-image, .nl-card-image, .nl-optimization-image) { border: 0; border-radius: 0; overflow: visible; background: transparent; }
:where(.nl-hero-image img) { border: 1px solid var(--nl-line); border-radius: 12px; }
:where(.nl-card-image img) { border-bottom: 1px solid var(--nl-line); }
:where(.nl-optimization-image img) { border-radius: 8px; }
:where(.nl-hero-image.is-resized, .nl-card-image.is-resized, .nl-optimization-image.is-resized,
  .nl-hero-image:has(img[style*="aspect-ratio"]), .nl-card-image:has(img[style*="aspect-ratio"]), .nl-optimization-image:has(img[style*="aspect-ratio"])) { aspect-ratio: auto; }
:where(.nl-hero-image.is-resized img, .nl-card-image.is-resized img, .nl-optimization-image.is-resized img) { height: auto; }

/* Phase 2: native blocks remain configurable; no forced inline style overrides. */
:where(.nl-header-row) { display: grid; grid-template-columns: auto 1fr auto; row-gap: 0; padding-block: 15px 5px; }
:where(.nl-header-row > .nl-brand) { grid-area: 1 / 1; }
:where(.nl-header-row > .nl-actions) { grid-area: 1 / 3; }
:where(.nl-header-row > .wp-block-navigation) { grid-area: 2 / 1 / 3 / -1; width: 100%; justify-content: center; font-size: 15px; margin: 0; }
:where(.nl-header-tools) { grid-area: 1 / 2; display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
:where(.nl-header-tools .wp-block-search) { width: min(100%,270px); margin: 0; }
:where(.nl-header-tools .wp-block-search__input) { min-width: 0; font: inherit; }
:where(.nl-header-tools .wp-block-search__inside-wrapper) { padding: 4px; border-radius: 8px; }
:where(.nl-header-tools .wp-block-search__button) { padding: 5px; margin-left: 5px; }
:where(.nl-request-link) { margin: 0; white-space: nowrap; font-size: 14px; }
:where(.nl-header .wp-block-navigation__submenu-container) { border-radius: 8px; box-shadow: 0 14px 40px #102b461c; min-width: 260px; }
:where(.nl-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content) { padding: 10px 16px; }
:where(.nl-slider) { width: min(1240px,calc(100% - 72px)); margin-inline: auto; }
:where(.nl-slider-slides) { display: grid; }
:where(.nl-slide) { grid-area: 1 / 1; }
:where(.nl-slider:not(.is-enhanced) .nl-slide:not(:first-child)) { visibility: hidden; }
:where(.nl-slider.is-enhanced .nl-slider-slides) { display: grid; }
:where(.nl-slider.is-enhanced .nl-slide) { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease; }
:where(.nl-slider.is-enhanced .nl-slide.is-active) { opacity: 1; visibility: visible; pointer-events: auto; }
:where(.nl-slider .nl-hero-title) { font-size: clamp(2.125rem,4.15vw,4rem); line-height: 1.12; }
:where(.nl-slider-controls) { display: none; }
:where(.nl-slider.is-enhanced .nl-slider-controls) { display: flex; gap: 8px; align-items: center; margin-top: 24px; }
:where(.nl-slider-controls .wp-block-button__link) { padding: 10px 13px; min-height: 44px; font-size: 13px; cursor: pointer; }
:where(.nl-slider-controls button[hidden]) { display: none; }
:where(.nl-slider-dot .wp-block-button__link) { border-radius: 50%; min-width: 44px; border: 2px solid transparent; }
:where(.nl-slider-dot button[aria-current=true]) { background: var(--nl-teal); color: var(--nl-navy); border-color: var(--nl-navy); }
:where(.nl-category-grid) { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
:where(.nl-category-grid .nl-card-image) { aspect-ratio: 1.7; }
:where(.nl-category-grid .nl-card-body h3) { font-size: 21px; }
:where(.nl-category-grid .nl-card-body .wp-block-button__link) { font-size: 14px; padding: 10px 14px; }
:where(.nl-page,.nl-catalog,.nl-product-single) { padding-block: 60px; }
:where(.nl-page-content) { max-width: 960px; }
:where(.nl-page-content > h2) { margin-top: 2.75rem; }
:where(.nl-page-image) { max-width: 100%; border-radius: 18px; }
:where(.nl-page-image img) { width: 100%; max-height: 460px; object-fit: cover; border-radius: inherit; }
:where(.nl-product-layout) { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
:where(.nl-product-overview h1) { font-size: clamp(2rem,3vw,3rem); }
:where(.nl-product-data .woocommerce-product-attributes) { width: 100%; border-collapse: collapse; }
:where(.nl-product-data th,.nl-product-data td) { padding: .75rem; text-align: left; border-bottom: 1px solid var(--nl-line); }
:where(.nl-product-price) { font-size: 1.3rem; font-weight: 600; color: var(--nl-navy); }
:where(.nl-product-card .wp-block-notfalllabor-product-purchase) { margin-top: auto; }
:where(.nl-product-card .wp-element-button) { display: inline-block; text-decoration: none; font-size: 14px; }
:where(.nl-product-single input[type=number]) { font: inherit; width: 6rem; padding: .6rem; }
:where(.nl-product-single .single_add_to_cart_button) { cursor: pointer; }
:where(.editor-styles-wrapper .nl-slider-controls) { display: flex; }
:where(.editor-styles-wrapper .nl-slider-slides) { display: block; }
:where(.editor-styles-wrapper .nl-slider:not(.is-enhanced) .nl-slide) { visibility: visible; }
:where(.editor-styles-wrapper .nl-slide) { margin-bottom: 3rem; }
@media(max-width:1024px) {
  :where(.nl-header-row) { grid-template-columns: 1fr auto auto; row-gap: 12px; padding-bottom: 12px; }
  :where(.nl-header-row > .wp-block-navigation) { grid-area: 1 / 3; width: auto; }
  :where(.nl-header-row > .nl-actions) { display: flex; grid-area: 1 / 2; }
  :where(.nl-header-tools) { grid-area: 2 / 1 / 3 / -1; justify-content: space-between; }
  :where(.nl-header-tools .wp-block-search) { width: min(65%,440px); }
  :where(.nl-category-grid) { grid-template-columns: repeat(2,minmax(0,1fr)); }
  :where(.nl-slider) { width: calc(100% - 56px); }
}
@media(max-width:780px) {
  :where(.nl-product-layout) { grid-template-columns: 1fr; gap: 28px; }
  :where(.nl-slider-controls) { flex-wrap: wrap; }
}
@media(max-width:600px) {
  :where(.nl-header-row) { grid-template-columns: 1fr auto; column-gap: 12px; }
  :where(.nl-header-row > .wp-block-navigation) { grid-area: 1 / 2; }
  :where(.nl-header-row > .nl-actions) { grid-area: 2 / 1 / 3 / -1; }
  :where(.nl-header-tools) { grid-area: 3 / 1 / 4 / -1; }
  :where(.nl-header .nl-actions .wp-block-button__link) { font-size: 11px; padding: 10px; }
  :where(.nl-header .nl-brand p) { font-size: 18px; }
  :where(.nl-header-tools) { gap: 8px; display: grid; grid-template-columns: 1fr auto auto; }
  :where(.nl-header-tools .wp-block-search) { width: 100%; }
  :where(.nl-header-tools .wc-block-mini-cart__button) { padding: 5px; }
  :where(.nl-slider) { width: calc(100% - 40px); }
  :where(.nl-category-grid) { grid-template-columns: 1fr; }
  :where(.nl-page,.nl-catalog,.nl-product-single) { padding-block: 36px; }
}
@media(prefers-reduced-motion:reduce) { :where(.nl-slider.is-enhanced .nl-slide) { transition: none; } }

/* Keep even small uploaded logos operable; a closed cart drawer is not focusable. */
:where(.nl-brand-icon .custom-logo-link) { min-width: 32px; min-height: 32px; display: inline-flex; align-items: center; justify-content: center; }
:where(.wc-block-mini-cart__drawer[aria-hidden="true"]) { visibility: hidden; }
@media(max-width:600px) {
  :where(.nl-header-tools) { grid-template-columns: minmax(0,1fr) auto auto; min-width: 0; }
  :where(.nl-header-tools .wp-block-search,.nl-header-tools .wp-block-search__inside-wrapper) { min-width: 0; }
}
/* Core button display rules must not expose the inactive playback control. */
.nl-slider-controls button[hidden] { display: none; }
/* A single editable slide needs no carousel navigation. */
.nl-slider-controls[hidden] { display: none; }
