/*
Theme Name: No Phrills Digital
Description: Local No Phrills Digital child theme for PopularFX.
Template: popularfx
Version: 1.0.0
Text Domain: no-phrills-digital
*/

:root { --npd-black:#0b0b0b; --npd-orange:#f15a0a; --npd-white:#f6f3ed; --npd-slate:#2e2e2e; }
.npd-header, .npd-home, .editor-styles-wrapper { font-family:Arial,Helvetica,sans-serif; }
.npd-header *, .npd-home *, .editor-styles-wrapper .npd-section * { box-sizing:border-box; }
.npd-header { background:var(--npd-black); color:var(--npd-white); border-bottom:1px solid #30302d; position:relative; z-index:20; }
.npd-header-inner { max-width:1360px; padding:10px 40px; margin:auto; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.npd-brand { display:block; flex:none; }
.npd-logo { display:block; width:128px; height:96px; object-fit:contain; }
.npd-navigation { display:flex; align-items:center; gap:42px; }
.npd-menu { display:flex; list-style:none; padding:0; margin:0; gap:32px; }
.npd-menu li { margin:0; }
.npd-menu a { color:var(--npd-white); font-size:13px; line-height:1.4; font-weight:700; text-transform:uppercase; letter-spacing:.065em; text-decoration:none; padding:14px 0; display:block; }
.npd-menu a:hover { color:var(--npd-orange); }
.npd-button, .npd-home .wp-block-button__link { display:inline-flex; align-items:center; justify-content:center; gap:26px; border:1px solid var(--npd-orange); border-radius:6px; padding:17px 25px; background:var(--npd-orange); color:var(--npd-black); font-size:14px; line-height:1.3; font-weight:800; text-transform:uppercase; text-decoration:none; box-shadow:none; }
.npd-button:hover, .npd-home .wp-block-button__link:hover { background:#ff782d; border-color:#ff782d; color:var(--npd-black); }
.npd-header a:focus-visible, .npd-header button:focus-visible, .npd-home a:focus-visible { outline:3px solid var(--npd-orange); outline-offset:5px; }
.npd-menu-toggle { background:transparent; color:var(--npd-white); border:1px solid #666; padding:12px 14px; border-radius:4px; align-items:center; gap:12px; cursor:pointer; font:700 14px Arial,sans-serif; }
.npd-menu-icon { width:19px; height:12px; border-top:2px solid currentColor; border-bottom:2px solid currentColor; }
.npd-header [hidden] { display:none!important; }
.npd-skip { position:absolute; left:16px; top:-100px; z-index:100; background:var(--npd-white); color:var(--npd-black); padding:12px; }
.npd-skip:focus { top:10px; }

body.home { background:var(--npd-black); }
body.home #page { max-width:none; margin:0; }
main.npd-home { max-width:none!important; width:100%!important; margin:0!important; padding:0!important; background:var(--npd-black); color:var(--npd-white); }
.npd-home h1, .npd-home h2, .npd-home h3, .editor-styles-wrapper .npd-section h1, .editor-styles-wrapper .npd-section h2, .editor-styles-wrapper .npd-section h3 { font-family:Arial Black,Arial,Helvetica,sans-serif; font-weight:900; color:inherit; margin:0; }
.npd-home p { margin:0; }
.npd-home > .wp-block-group { margin-block:0; }
.npd-section { padding:94px 40px; }
.npd-wrap { width:100%; max-width:1280px; margin-inline:auto; }
.npd-eyebrow { color:var(--npd-orange); font-size:12px; line-height:1.5; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.npd-home .npd-hero { padding-top:0; padding-bottom:0; overflow:hidden; position:relative; }
.npd-hero-grid { display:grid; grid-template-columns:57% 43%; align-items:center; min-height:610px; }
.npd-hero-copy { padding:66px 0 74px; position:relative; z-index:2; }
.npd-home .npd-hero h1 { font-size:clamp(44px,5.5vw,79px)!important; line-height:.99!important; letter-spacing:-.065em!important; margin:20px 0 24px; }
.npd-hero h1 strong { color:var(--npd-orange); font-weight:900; }
.npd-home .npd-support { font-size:clamp(14px,1.35vw,18px); line-height:1.65; font-weight:600; max-width:660px; }
.npd-home .wp-block-buttons { display:flex; flex-wrap:wrap; gap:20px 32px; margin-top:28px; align-items:center; }
.npd-home .npd-secondary .wp-block-button__link { background:transparent; color:var(--npd-white); border:0; border-bottom:1px solid var(--npd-orange); border-radius:0; padding:12px 0; letter-spacing:.14em; }
.npd-home .npd-secondary .wp-block-button__link:hover { color:var(--npd-orange); }
.npd-hero-art { margin:0 -100px 0 -30px; width:calc(100% + 130px); transform:rotate(-8deg); position:relative; }
.npd-hero-art img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:contain; }
.npd-home .npd-services { background:var(--npd-white); color:var(--npd-black); }
.npd-section h2 { font-size:clamp(32px,3.6vw,51px)!important; line-height:1.08!important; letter-spacing:-.055em!important; max-width:850px; }
.npd-section .npd-eyebrow + h2 { margin-top:16px; }
.npd-home .npd-intro { font-size:18px; line-height:1.7; max-width:650px; margin-top:22px; color:#55534f; }
.npd-service-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px; margin-top:50px; }
.npd-service-card { border-top:2px solid var(--npd-black); padding-top:20px; }
.npd-home .npd-number { color:#ad3900; font-size:13px; font-weight:800; letter-spacing:.08em; margin-bottom:30px; }
.npd-service-card h3 { font-size:24px; line-height:1.1; letter-spacing:-.04em; }
.npd-home .npd-service-card p:last-child { margin-top:18px; color:#55534f; font-size:16px; line-height:1.7; }
.npd-approach-grid { display:grid; grid-template-columns:1.1fr 1fr; gap:90px; }
.npd-home .npd-approach .npd-intro { color:#bcbab4; }
.npd-principles { display:grid; gap:28px; }
.npd-principle { border-bottom:1px solid #393936; padding-bottom:28px; }
.npd-principle h3 { font-size:21px; letter-spacing:-.03em; }
.npd-home .npd-principle p { margin-top:10px; color:#bcbab4; font-size:16px; line-height:1.7; }
.npd-home .npd-work { background:#171715; border-top:1px solid #30302d; }
.npd-work-grid { display:grid; grid-template-columns:1fr 1fr; gap:32px; margin-top:44px; }
.npd-project { border:1px solid #40403b; padding:40px; min-height:240px; display:flex; flex-direction:column; justify-content:flex-end; }
.npd-project h3 { font-size:30px; letter-spacing:-.045em; }
.npd-home .npd-project p { color:#c6c4be; line-height:1.7; margin-top:14px; }
.npd-home .npd-project .npd-eyebrow { color:var(--npd-orange); margin-top:0; margin-bottom:28px; }
.npd-resources { border-left:3px solid var(--npd-orange); padding:10px 0 10px 30px; align-self:center; }
.npd-resources h3 { font-size:25px; }
.npd-home .npd-resources p { color:#c6c4be; line-height:1.7; margin-top:14px; }
.npd-home .npd-contact { background:var(--npd-orange); color:var(--npd-black); }
.npd-contact-grid { display:grid; grid-template-columns:1.3fr 1fr; gap:60px; align-items:center; }
.npd-contact .npd-eyebrow { color:var(--npd-black); }
.npd-home .npd-contact p:not(.npd-eyebrow) { font-size:18px; line-height:1.65; }
.npd-home .npd-contact a { color:var(--npd-black); text-underline-offset:5px; }
.npd-home .npd-contact .wp-block-button__link { background:var(--npd-black); border-color:var(--npd-black); color:var(--npd-white); }
.npd-home .npd-contact .wp-block-button__link:hover { background:var(--npd-slate); }
.npd-home .npd-contact a:focus-visible { outline-color:var(--npd-black); }
.npd-home [id] { scroll-margin-top:24px; }
/* Classic-theme group wrappers must not become extra grid items. */
.npd-home .wp-block-group__inner-container { display:contents; }
/* Scope overrides to this build; Pagelayer's inherited global rules use !important. */
.npd-header a, .npd-header button, .npd-home p, .npd-home a { font-family:Arial,Helvetica,sans-serif!important; }
.npd-home h1, .npd-home h2, .npd-home h3 { font-family:Arial Black,Arial,Helvetica,sans-serif!important; font-weight:900!important; text-transform:none!important; color:inherit!important; }
.npd-home p { color:inherit; }
.npd-home .npd-eyebrow { color:var(--npd-orange)!important; font-weight:800!important; }
.npd-home .npd-contact .npd-eyebrow { color:var(--npd-black)!important; }
.npd-menu a { color:var(--npd-white)!important; }
.npd-menu a:hover { color:var(--npd-orange)!important; }
.npd-header .npd-button { color:var(--npd-black)!important; }
.npd-header .npd-menu a, .npd-header .npd-button { font-weight:700!important; }
.npd-home .npd-contact a { color:var(--npd-black)!important; }
.npd-home .npd-contact p { color:var(--npd-black)!important; }
.npd-home .npd-contact .wp-block-button__link { color:var(--npd-white)!important; }
.npd-home .npd-services p { color:#55534f!important; }
.npd-home .npd-services .npd-eyebrow, .npd-home .npd-services .npd-number { color:#ad3900!important; }
.npd-home .npd-support { color:var(--npd-white)!important; }
.npd-pricing { border-top:1px solid #c9c5bd; margin-top:70px; padding-top:54px; }
.npd-price-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px; margin-top:36px; }
.npd-price h3 { font-size:19px; line-height:1.3; letter-spacing:-.025em; }
.npd-home .npd-services .npd-price-value { font-size:25px!important; font-weight:800!important; line-height:1.3!important; color:var(--npd-black)!important; margin:16px 0 10px; }
.npd-home .npd-price p { font-size:15px; line-height:1.6; }
.npd-home .npd-maintenance { margin-top:30px; max-width:800px; font-size:14px; line-height:1.7; }
.npd-home .npd-contact-copy > .wp-block-group__inner-container > p:last-child { margin-top:22px; overflow-wrap:anywhere; }
.editor-styles-wrapper .npd-section { max-width:none; }
.editor-styles-wrapper .npd-hero, .editor-styles-wrapper .npd-approach, .editor-styles-wrapper .npd-work { background:var(--npd-black); color:var(--npd-white); }

@media(max-width:1100px) {
  .npd-header-inner, .npd-section { padding-left:28px; padding-right:28px; }
  .npd-navigation { gap:26px; } .npd-menu { gap:22px; }
  .npd-hero-grid { min-height:510px; }
  .npd-service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:38px; }
  .npd-price-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px; }
  .npd-approach-grid { gap:48px; }
}
@media(max-width:800px) {
  .npd-header-inner { flex-wrap:wrap; padding:8px 24px; gap:0; }
  .npd-logo { width:104px; height:78px; }
  .npd-menu-toggle:not([hidden]) { display:flex; }
  .npd-navigation { flex-basis:100%; flex-direction:column; align-items:stretch; gap:18px; padding:18px 0 24px; }
  .npd-menu { flex-direction:column; gap:0; }
  .npd-menu a { padding:16px 0; border-top:1px solid #333; }
  .npd-header-cta { align-self:flex-start; }
  .npd-section { padding:64px 24px; }
  .npd-hero-grid { grid-template-columns:1fr; min-height:0; }
  .npd-hero-copy { padding:54px 0 22px; }
  .npd-home .npd-hero h1 { font-size:clamp(36px,8.4vw,64px)!important; margin:20px 0; }
  .npd-home .npd-support { font-size:15px; max-width:440px; }
  .npd-hero-art { width:min(100%,540px); margin:0 auto -55px; transform:rotate(-8deg); }
  .npd-hero .npd-eyebrow { font-size:11px; letter-spacing:.07em; }
  .npd-approach-grid, .npd-contact-grid, .npd-work-grid { grid-template-columns:1fr; gap:36px; }
  .npd-project { padding:28px; }
  .npd-section h2 { font-size:36px!important; }
}
@media(max-width:420px) {
  .npd-section { padding-left:20px; padding-right:20px; }
  .npd-home .wp-block-buttons { gap:18px; }
  .npd-home .wp-block-button__link { padding:16px 18px; font-size:12px; }
  .npd-home .npd-secondary .wp-block-button__link { padding:12px 0; letter-spacing:.07em; }
  .npd-service-grid { grid-template-columns:1fr; }
  .npd-price-grid { grid-template-columns:1fr; }
  .npd-home .npd-number { margin-bottom:18px; }
}

/* Light hero refinement: presentation only, including the block-editor preview. */
:is(.npd-home, .editor-styles-wrapper) .npd-hero {
  background:var(--npd-white);
  color:var(--npd-black);
  border-bottom:1px solid #ded9cf;
  isolation:isolate;
}
:is(.npd-home, .editor-styles-wrapper) .npd-hero h1 { color:var(--npd-black)!important; }
:is(.npd-home, .editor-styles-wrapper) .npd-hero h1 strong { color:var(--npd-orange)!important; }
:is(.npd-home, .editor-styles-wrapper) .npd-hero .npd-support { color:var(--npd-slate)!important; }
:is(.npd-home, .editor-styles-wrapper) .npd-hero .npd-secondary .wp-block-button__link { color:var(--npd-black)!important; }
:is(.npd-home, .editor-styles-wrapper) .npd-hero .npd-secondary .wp-block-button__link:hover { color:var(--npd-slate)!important; }
:is(.npd-home, .editor-styles-wrapper) .npd-hero-art {
  width:100%; max-width:620px; margin:28px auto; transform:none;
  mix-blend-mode:normal; -webkit-mask-image:none; mask-image:none;
}
:is(.npd-home, .editor-styles-wrapper) .npd-hero-art img {
  width:100%; height:auto; aspect-ratio:auto; object-fit:contain;
}
.npd-hero-grid { grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:24px; }
.npd-header-inner { display:grid; grid-template-columns:200px minmax(0,1fr) 200px; }
.npd-brand { justify-self:start; background:var(--npd-white); padding:6px 10px; border-radius:3px; }
.npd-logo { width:132px; height:88px; }
.npd-navigation { display:contents; }
.npd-menu { justify-self:center; }
.npd-header-cta { justify-self:end; }
:is(.npd-home, .editor-styles-wrapper) .npd-dark-art { margin:48px 0 0; width:100%; mix-blend-mode:screen; }
:is(.npd-home, .editor-styles-wrapper) .npd-dark-art img { display:block; width:100%; height:auto; object-fit:contain; }
@media (min-width:801px) and (max-width:1100px) {
  .npd-header-inner { grid-template-columns:160px minmax(0,1fr) 160px; gap:16px; }
  .npd-menu { gap:16px; }
  .npd-menu a { font-size:12px; }
  .npd-header-cta { padding:16px; gap:14px; }
}

/* Our Work: editable portfolio blocks, isolated from the homepage. */
/* Dark treatment for the existing What We Do section only. */
.npd-home .npd-services,
.editor-styles-wrapper .npd-services { background:#111111; color:#f6f3ed; }
.npd-home .npd-services h2,
.npd-home .npd-services h3 { color:#ffffff!important; }
.npd-home .npd-services p { color:#cccccc!important; }
.npd-home .npd-services .npd-eyebrow,
.npd-home .npd-services .npd-number { color:var(--npd-orange)!important; }
.npd-home .npd-services .npd-price-value { color:#f6f3ed!important; }
.npd-services .npd-service-card { border-top-color:#666666; }
.npd-services .npd-pricing { border-top-color:#444444; }
.npd-home .npd-services a { color:#f6f3ed!important; text-decoration-color:var(--npd-orange); }
.npd-home .npd-services a:hover { color:var(--npd-orange)!important; }
/* Homepage compositions follow the supplied light hero and dark contact references. */
.npd-home .npd-mockup-hero { padding-top:18px; padding-bottom:20px; }
.npd-mockup-hero .npd-hero-grid { grid-template-columns:minmax(0,48fr) minmax(0,52fr); gap:20px; }
.npd-mockup-hero .npd-hero-copy { padding:20px 0; }
.npd-hero-wordmark { margin:0 0 20px; width:min(100%,510px); }
.npd-hero-wordmark img { display:block; width:100%; height:auto; }
.npd-home .npd-mockup-hero .npd-support { font-size:clamp(13px,1.25vw,18px); font-weight:800; }
.npd-hero-tools { display:grid; grid-template-columns:minmax(0,1fr) 90px; gap:18px; border-top:1px solid #bdb7ad; margin-top:22px; padding-top:16px; align-items:center; }
.npd-integrated-navigation { background:transparent; border:0; }
.npd-integrated-navigation .npd-navigation { display:flex; flex-wrap:wrap; align-items:center; gap:14px; padding:0; }
.npd-integrated-navigation .npd-menu { display:flex; justify-content:space-between; gap:18px; padding:8px 18px; background:var(--npd-black); width:100%; }
.npd-integrated-navigation .npd-menu a { font-size:10px; padding:8px 0; }
.npd-integrated-navigation .npd-header-cta { margin-left:auto; padding:13px 18px; font-size:12px; }
.npd-home .npd-handwritten { font-family:'Segoe Print','Comic Sans MS',cursive!important; font-style:italic; font-weight:900!important; font-size:23px!important; line-height:1.06!important; color:var(--npd-black)!important; transform:rotate(-8deg); border-bottom:4px solid var(--npd-orange); padding-bottom:6px; }
.npd-home .npd-hero-work-link { margin-top:16px; font-size:13px; }
.npd-home .npd-hero-work-link a { color:var(--npd-black)!important; font-weight:700; text-underline-offset:4px; }
.npd-home .npd-mockup-hero .npd-hero-art { margin:16px 0; max-width:none; }
.npd-home .npd-mockup-contact { position:relative; background:#000; padding:32px 40px; min-height:clamp(500px,43vw,760px); display:flex; align-items:center; isolation:isolate; }
.npd-mockup-contact .npd-wrap { position:relative; z-index:1; }
.npd-contact-panel { width:36%; max-width:470px; background:var(--npd-orange); padding:26px; }
.npd-home .npd-contact-panel h2 { font-size:clamp(30px,3.2vw,46px)!important; line-height:1.06!important; margin:18px 0 28px; letter-spacing:-.04em!important; }
.npd-home .npd-contact-panel p:not(.npd-eyebrow) { font-size:14px; line-height:1.6; }
.npd-home .npd-contact-panel .wp-block-buttons { margin:22px 0 20px; }
.npd-home .npd-contact-panel .wp-block-button__link { font-size:11px; padding:16px; }
.npd-home .npd-contact-panel a { overflow-wrap:anywhere; }
.npd-contact-art { position:absolute; inset:0; width:100%; height:100%; margin:0; z-index:0; }
.npd-contact-art img { display:block; width:100%; height:100%; object-fit:contain; object-position:right center; }
@media(max-width:1100px) and (min-width:801px) {
 .npd-hero-tools { grid-template-columns:minmax(0,1fr) 70px; gap:12px; }
 .npd-integrated-navigation .npd-menu { gap:12px; padding:8px 12px; }
 .npd-home .npd-handwritten { font-size:20px!important; }
 .npd-contact-panel { width:40%; padding:22px; }
}
@media(max-width:800px) {
 .npd-mockup-hero .npd-hero-grid { grid-template-columns:minmax(0,1fr); gap:0; }
 .npd-hero-wordmark { max-width:430px; }
 .npd-home .npd-mockup-hero .npd-hero-art { max-width:540px; margin:28px auto 4px; }
 .npd-hero-tools { grid-template-columns:minmax(0,1fr) 80px; }
 .npd-integrated-navigation .npd-menu-toggle { background:var(--npd-black); }
 .npd-integrated-navigation .npd-navigation { flex-direction:column; align-items:stretch; padding-top:12px; }
 .npd-integrated-navigation .npd-menu { flex-direction:column; gap:0; padding:8px 16px; }
 .npd-integrated-navigation .npd-menu a { font-size:12px; padding:13px 0; }
 .npd-integrated-navigation .npd-header-cta { margin:0; align-self:flex-start; }
 .npd-home .npd-mockup-contact { display:block; min-height:0; padding:24px; }
 .npd-contact-panel { width:100%; max-width:none; padding:26px; }
 .npd-contact-art { position:relative; width:100%; height:auto; margin:24px 0 0; }
 .npd-contact-art img { height:auto; }
}
@media(max-width:380px) {
 .npd-home .npd-handwritten { font-size:20px!important; }
 .npd-hero-tools { grid-template-columns:minmax(0,1fr) 66px; gap:12px; }
 .npd-home .npd-mockup-contact { padding:20px; }
 .npd-contact-panel { padding:20px; }
}
main.npd-portfolio { width:100%!important; max-width:none!important; margin:0!important; padding:0!important; background:var(--npd-white); color:var(--npd-black); }
.npd-portfolio *, .editor-styles-wrapper .npd-portfolio-content * { box-sizing:border-box; }
.npd-portfolio .wp-block-group__inner-container { display:contents; }
.npd-portfolio-content { background:var(--npd-white); color:var(--npd-black); }
.npd-portfolio-content p, .npd-portfolio-content a { font-family:Arial,Helvetica,sans-serif!important; }
.npd-portfolio-content h1, .npd-portfolio-content h2, .npd-portfolio-content h3 { font-family:Arial Black,Arial,Helvetica,sans-serif!important; font-weight:900!important; text-transform:none!important; color:inherit!important; }
.npd-portfolio-content p { color:var(--npd-slate)!important; line-height:1.7!important; margin:0; }
.npd-portfolio-intro { padding:78px 40px 54px; max-width:1360px; margin:auto; }
.npd-portfolio-content .npd-eyebrow { color:#ad3900!important; font-weight:800!important; }
.npd-portfolio-intro h1 { font-size:clamp(44px,6vw,82px)!important; line-height:1.02!important; letter-spacing:-.065em!important; margin:18px 0 24px; }
.npd-portfolio-intro h1 strong { color:var(--npd-orange); }
.npd-portfolio-intro > .wp-block-group__inner-container > p:last-child { max-width:650px; font-size:18px; }
.npd-portfolio-projects { max-width:1360px; margin:auto; padding:0 40px 86px; }
.npd-portfolio-notice { border-left:3px solid var(--npd-orange); padding:12px 20px; margin:0 0 40px!important; font-size:14px; background:#eee9df; }
.npd-portfolio-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:48px 36px; }
.npd-portfolio-card { min-width:0; border-bottom:1px solid #c9c5bd; padding-bottom:30px; }
.npd-portfolio-shot { aspect-ratio:16/10; width:100%; margin:0 0 24px; background:#e8e3d9; border:1px solid #d1cbbf; display:flex; flex-direction:column; justify-content:center; align-items:center; padding:24px; text-align:center; }
.npd-portfolio-shot p:first-child { font-size:18px; font-weight:700; }
.npd-portfolio-shot p:last-child { font-size:13px; }
figure.npd-portfolio-shot { padding:0; display:block; overflow:hidden; }
figure.npd-portfolio-shot img { display:block; width:100%; height:100%; object-fit:contain; }
.npd-portfolio-card h2 { font-size:clamp(24px,2.5vw,32px)!important; line-height:1.15!important; letter-spacing:-.045em!important; margin:12px 0 16px; }
.npd-portfolio-card .npd-portfolio-services { font-size:13px; margin-top:20px; }
.npd-portfolio-card .npd-portfolio-services strong { color:var(--npd-slate)!important; font-weight:700!important; }
.npd-portfolio-links { display:flex; flex-wrap:wrap; gap:16px 24px; margin-top:22px; }
.npd-portfolio-links a { color:var(--npd-black)!important; font-weight:700!important; text-underline-offset:6px; text-decoration-color:var(--npd-orange); }
.npd-portfolio-links p { font-size:13px; }
.npd-portfolio-cta { padding:64px 40px; background:var(--npd-black); color:var(--npd-white); }
.npd-portfolio-cta .npd-wrap { display:flex; align-items:center; justify-content:space-between; gap:32px; }
.npd-portfolio-cta h2 { font-size:clamp(28px,3.5vw,44px)!important; line-height:1.1!important; letter-spacing:-.045em; margin:0 0 16px; }
.npd-portfolio-cta p { color:var(--npd-white)!important; }
.npd-portfolio-cta .wp-block-button__link { background:var(--npd-orange); color:var(--npd-black)!important; border-radius:6px; padding:18px 24px; font-weight:800; white-space:normal; }
.npd-portfolio-content a:focus-visible { outline:3px solid var(--npd-orange); outline-offset:5px; }
@media(max-width:800px) {
  .npd-portfolio-intro { padding:54px 24px 36px; }
  .npd-portfolio-projects { padding:0 24px 60px; }
  .npd-portfolio-grid { gap:36px 24px; }
  .npd-portfolio-cta { padding:48px 24px; }
  .npd-portfolio-cta .npd-wrap { display:block; }
  .npd-portfolio-cta .wp-block-buttons { margin-top:28px; }
}
@media(max-width:600px) {
  .npd-portfolio-grid { grid-template-columns:minmax(0,1fr); }
  .npd-portfolio-intro, .npd-portfolio-projects, .npd-portfolio-cta { padding-left:20px; padding-right:20px; }
}
@media (max-width:800px) {
  .npd-header-inner { display:flex; gap:0; }
  .npd-brand { padding:4px 8px; }
  .npd-logo { width:102px; height:68px; }
  .npd-navigation { display:flex; }
  .npd-hero-grid { grid-template-columns:minmax(0,1fr); gap:0; }
  :is(.npd-home, .editor-styles-wrapper) .npd-hero-art { max-width:540px; margin:12px auto 28px; }
}
/* Keep the hero menu and CTA together, with the slogan on its own line. */
.npd-hero-tools { display:block; }
.npd-home .npd-handwritten { display:table; margin:18px 0 0; transform:none; font-size:23px!important; line-height:1.3!important; }
@media(min-width:801px) {
 .npd-integrated-navigation .npd-navigation { flex-wrap:nowrap; gap:12px; }
 .npd-integrated-navigation .npd-menu { flex:1; width:auto; min-width:0; gap:12px; padding:8px 16px; align-items:center; }
 .npd-integrated-navigation .npd-header-cta { flex-shrink:0; margin-left:0; }
}
@media(max-width:800px) {
 .npd-home .npd-handwritten { font-size:18px!important; }
}
@media(min-width:801px) and (max-width:1100px) {
 .npd-integrated-navigation .npd-navigation { flex-wrap:wrap; }
 .npd-integrated-navigation .npd-menu { flex-basis:100%; }
}
/* Homepage previews reuse the published portfolio screenshots. */
.npd-featured-project { min-width:0; padding:24px; justify-content:flex-start; }
.npd-featured-shot { margin:0 0 24px; }
.npd-featured-shot img { display:block; width:100%; height:auto; }
.npd-home .npd-featured-project h3 { color:var(--npd-white)!important; }
.npd-home .npd-featured-project a { color:var(--npd-white)!important; text-decoration-color:var(--npd-orange); text-underline-offset:5px; font-weight:700; }
.npd-featured-cta { margin-top:32px; }
.npd-home .npd-featured-cta .wp-block-button__link { background:var(--npd-orange); color:var(--npd-black)!important; font-weight:800; padding:18px 24px; border-radius:6px; }
.npd-home .npd-handwritten { margin:18px auto 0; text-align:center; font-size:27px!important; }
@media(max-width:800px) {
 .npd-home .npd-handwritten { font-size:20px!important; }
 .npd-featured-project { padding:20px; }
}
@media(max-width:380px) {
 .npd-home .npd-handwritten { font-size:18px!important; white-space:nowrap; }
}
/* Compact mobile hero uses the original combined brand artwork. */
.npd-mobile-hero-logo, .npd-mobile-hero-cta { display:none!important; }
@media(max-width:767px) {
 .npd-home .npd-mobile-hero-logo { display:block!important; width:100%; max-width:460px; margin:0 auto 12px; }
 .npd-mobile-hero-logo img { display:block; width:100%; height:auto; object-fit:contain; }
 .npd-home .npd-hero-wordmark, .npd-home .npd-mockup-hero .npd-hero-art { display:none!important; }
 .npd-home .npd-mockup-hero { padding-top:8px; padding-bottom:24px; }
 .npd-mockup-hero .npd-hero-copy { padding:0; }
 .npd-mockup-hero .npd-support { margin:0; text-align:center; }
 .npd-mockup-hero .npd-hero-tools { margin-top:14px; padding-top:12px; }
 .npd-mockup-hero .npd-handwritten { margin-top:14px; }
 .npd-integrated-navigation .npd-header-cta { display:none; }
 .npd-home .npd-mobile-hero-cta { display:flex!important; justify-content:center; margin-top:16px; }
 .npd-mobile-hero-cta .wp-block-button__link { background:var(--npd-orange); color:var(--npd-black)!important; font-weight:800; padding:14px 22px; border-radius:6px; }
}
/* Editable About and Resources pages. */
main.npd-info { width:100%!important; max-width:none!important; margin:0!important; padding:0!important; }
.npd-info-content { background:var(--npd-white); color:var(--npd-black); font-family:Arial,Helvetica,sans-serif; }
.npd-info-content * { box-sizing:border-box; }
.npd-info-content .wp-block-group__inner-container { display:contents; }
.npd-info-content h1, .npd-info-content h2, .npd-info-content h3 { font-family:Arial Black,Arial,Helvetica,sans-serif!important; font-weight:900!important; color:inherit!important; text-transform:none!important; margin:0 0 22px; letter-spacing:-.045em!important; line-height:1.12!important; }
.npd-info-content h1 { font-size:clamp(36px,5.1vw,72px)!important; max-width:1080px; }
.npd-info-content h2 { font-size:clamp(29px,3.4vw,46px)!important; max-width:880px; }
.npd-info-content h3 { font-size:24px!important; margin-bottom:14px; }
.npd-info-content p, .npd-info-content a { font-family:Arial,Helvetica,sans-serif!important; }
.npd-info-content p { color:inherit!important; line-height:1.7!important; margin:0 0 18px; }
.npd-info-content .npd-eyebrow { color:#b33d00!important; margin-bottom:20px; }
.npd-info-content a { color:inherit!important; text-decoration-color:var(--npd-orange); text-underline-offset:5px; }
.npd-info-content a:focus-visible { outline:3px solid var(--npd-orange); outline-offset:4px; }
.npd-info-section { padding:76px 40px; }
.npd-info-section + .npd-info-section { border-top:1px solid #d3cfc7; }
.npd-info-intro { padding-top:82px; padding-bottom:66px; }
.npd-info-lead { font-size:20px; max-width:800px; }
.npd-info-copy { max-width:760px; }
.npd-info-dark { background:var(--npd-black); color:var(--npd-white); border-color:#333!important; }
.npd-info-dark .npd-eyebrow { color:var(--npd-orange)!important; }
.npd-info-split { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:70px; }
.npd-info-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-top:36px; }
.npd-info-card { min-width:0; padding:28px; border:1px solid #cbc6bd; }
.npd-info-dark .npd-info-card { border-color:#424242; }
.npd-info-card p:last-child { margin-bottom:0; }
.npd-info-card .npd-resource-use { font-size:15px; }
.npd-resource-link { font-size:14px; font-weight:700; margin-top:22px!important; }
.npd-info-content .npd-info-cta .wp-block-button__link { display:inline-block; background:var(--npd-orange); color:var(--npd-black)!important; border:1px solid var(--npd-orange); border-radius:6px; padding:18px 26px; font-weight:800; text-decoration:none; }
.npd-info-cta .wp-block-buttons { margin-top:28px; }
.npd-info-jumps { display:flex; flex-wrap:wrap; gap:12px 24px; margin-top:28px; }
.npd-info-jumps p { margin:0; font-size:14px; font-weight:700; }
@media(max-width:800px) {
 .npd-info-section { padding:52px 24px; }
 .npd-info-split { grid-template-columns:minmax(0,1fr); gap:24px; }
 .npd-info-grid { gap:20px; }
 .npd-info-card { padding:22px; }
}
@media(max-width:560px) {
 .npd-info-section { padding:44px 20px; }
 .npd-info-grid { grid-template-columns:minmax(0,1fr); }
 .npd-info-lead { font-size:18px; }
}
.npd-info-content strong { color:inherit!important; font-weight:700!important; }
.npd-info-content .npd-eyebrow, .npd-info-content .npd-resource-link a { font-weight:800!important; }
/* Services only: separate explanatory copy from the preceding card grid. */
.page-id-1256 .npd-info-grid + p.npd-info-copy { margin-top:18px; }
/* Give the homepage contact artwork more black breathing room on desktop. */
@media(min-width:801px) {
 .npd-mockup-contact .npd-contact-art { left:auto; right:0; top:50%; bottom:auto; width:78%; height:78%; transform:translateY(-50%); }
}

/* Contact only: contain the existing SuiteDash embed with the introduction. */
.page-id-1245 #npd-contact-form { width:100%; max-width:850px; margin:32px 0 10px; background:#fff; border-top:3px solid var(--npd-orange); border-radius:6px; }
.page-id-1245 #npd-contact-form iframe { display:block; width:100%; max-width:100%; border:0; border-radius:0 0 6px 6px; }
.page-id-1245 .npd-portfolio-intro p:not(.npd-eyebrow) { max-width:650px; font-size:18px; }
