/* PK Valves restrained green-first design - original logo palette, v1.4.0.
   Navy provides hierarchy; logo green is the main action colour;
   orange is reserved for a few tiny brand details. */
:root,.editor-styles-wrapper {
 --pk-brand-navy:#0C5073;--pk-brand-green:#0A813F;
 --pk-brand-orange:#F37020;--pk-brand-gold:#F7AB19;
 --pk-brand-cream:#FFFBD5;--pk-brand-charcoal:#231F20;
 --pk-brand-deep-green:#075B33;--pk-brand-mist:#F3F9F4;
 --ink:#0C5073;--deep:#075B33;--orange:#0A813F;
 --text:#231F20;--muted:#53646C;--paper:#F7FBF7;
 --line:#D8E7DE;
}
body,.editor-styles-wrapper {color:var(--text);}
:is(h1,h2,h3,h4),.eyebrow+h1,.eyebrow+h2 {color:var(--pk-brand-navy);}
.eyebrow {color:#08733A;}
.site-header {background:#fff;border-color:var(--line);border-top:3px solid var(--pk-brand-green);}
.site-header .brand-text {border-color:var(--line);color:var(--muted);}
.pk-nav,.pk-nav .wp-block-navigation__submenu-container {color:var(--pk-brand-navy);}
.pk-nav a[aria-current="page"],.pk-nav .current-menu-item>a,.pk-nav .wp-block-navigation-item__content:hover {color:var(--pk-brand-green);}
.pk-nav .pk-nav-cta>.wp-block-navigation-item__content,
.site-header .pk-nav .wp-block-navigation__container>a.pk-nav-cta {
 background:var(--pk-brand-green);color:#fff;
}
.pk-nav .pk-nav-cta>.wp-block-navigation-item__content:hover,
.site-header .pk-nav .wp-block-navigation__container>a.pk-nav-cta:hover {background:var(--pk-brand-deep-green);color:#fff;}
.pk-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {background:var(--pk-brand-mist);color:var(--pk-brand-deep-green);}
.hero {background:linear-gradient(122deg,#F3F9F4 0%,#FFFCEB 67%,#fff 100%);}
.inner-hero {background:linear-gradient(135deg,#F3F9F4 0%,#FFFDF5 85%);border-color:var(--line);}
.hero h1 .punctuation {color:var(--pk-brand-orange);}
.hero-note {color:var(--pk-brand-navy);}
.hero-note:before {background:var(--pk-brand-green);}
.hero-stage-footer,.bridge {background:var(--pk-brand-deep-green);color:#E7F4EA;}
.hero-stage-footer p,.scope-row p {color:#E7F4EA;}
.bridge .eyebrow {color:#E8F2B9;}
.bridge h2,.bridge h3,.hero-stage-footer h2 {color:#fff;}
.scope-row {border-color:#498766;}
.scope-row:hover h3 {color:#FFFBD5;}
.confidence-bar strong {color:var(--pk-brand-deep-green);}
.cta-band {background:var(--pk-brand-navy);color:#fff;}
.cta-band h2 {color:#fff;}
.cta-band p {color:#E4F0F4;}
.site-footer {background:#064B2C;color:#E2EFE6;}
.site-footer :is(h2,h3,h4) {color:#fff;}
.footer-bottom {border-color:#50876A;}
.footer-bottom a:hover,.site-footer a:hover {color:#FFFBD5;}
.wp-block-button__link,.button,
.pk-nav .pk-nav-cta>.wp-block-navigation-item__content {
 background:var(--pk-brand-green);color:#fff;
}
.wp-block-button__link:hover,.button:hover {background:var(--pk-brand-deep-green);color:#fff;}
.pk-button-dark .wp-block-button__link,.button.dark {background:var(--pk-brand-navy);color:#fff;}
.pk-button-dark .wp-block-button__link:hover,.button.dark:hover {background:var(--pk-brand-deep-green);color:#fff;}
.pk-button-light .wp-block-button__link,.button.light {background:#fff;color:var(--pk-brand-navy);border-color:var(--line);}
.pk-button-light .wp-block-button__link:hover,.button.light:hover {background:var(--pk-brand-mist);color:var(--pk-brand-deep-green);}
.pk-button-outline .wp-block-button__link,.button.outline {background:transparent;color:#fff;border-color:#9BCBB1;}
.cta-band .wp-block-button__link:not(.has-background) {background:var(--pk-brand-green);color:#fff;}
.cta-band .wp-block-button__link:not(.has-background):hover {background:var(--pk-brand-deep-green);}
:is(.range-card,.benefit,.service-panel,.side-card) {border-top-color:var(--pk-brand-green);border-bottom-color:var(--pk-brand-deep-green);}
.about-value-card {background:#F7FBF7;border-top-color:var(--pk-brand-green);}
.about-statement {background:#F7FBF7;border-left-color:var(--pk-brand-green);}
.enquiry-section {background:#F6FAF6;}
.pkv-offices-section {background:#F8FBF8;}
.pkv-office-card {background:#fff;border-color:var(--line);border-top:3px solid var(--pk-brand-green);}
.pkv-office-card:first-child {border-top-color:var(--pk-brand-deep-green);}
.certificate-card .certificate-status {background:#ECF7EE;color:var(--pk-brand-deep-green);}
.range-tags :is(span,p),.historical-label {background:var(--pk-brand-mist);color:var(--pk-brand-navy);}
li::marker,.range-families summary::marker {color:var(--pk-brand-green);}
:is(a,button,input,select,textarea,summary):focus-visible {outline-color:var(--pk-brand-deep-green);}
::selection {color:#fff;background:var(--pk-brand-green);}
.pkve-form {--pkve-green:var(--pk-brand-green);--pkve-orange:var(--pk-brand-green);--pkve-line:var(--line);color:var(--text);border-color:var(--line);}
.pkve-form h2,.pkve-form h3 {color:var(--pk-brand-navy);}
.pkve-form label {color:var(--pk-brand-deep-green);}
.pkve-form :is(input:not([type=radio]),select,textarea) {color:var(--text);border-color:#89AC9B;}
.pkve-form :focus-visible {outline-color:var(--pk-brand-deep-green);}
.pkve-form .button:not(.pkve-secondary),.pkve-form .pkve-retry {background:var(--pk-brand-green);color:#fff;border-color:var(--pk-brand-green);}
.pkve-form .button:not(.pkve-secondary):hover,.pkve-form .pkve-retry:hover {background:var(--pk-brand-deep-green);color:#fff;border-color:var(--pk-brand-deep-green);}
.pkve-form .pkve-secondary,.pkve-form a {color:var(--pk-brand-deep-green);}
.pkve-form input[type=radio] {accent-color:var(--pk-brand-green);}
.pkve-form .pkve-intents label:has(input:checked) {border-color:var(--pk-brand-green);background:#EEF7EF;}
.pkve-form .pkve-success {border-left-color:var(--pk-brand-green);background:#EEF7EF;}


/* v1.5.0: make the existing PK Valves logo and three core business activities
   visible, legible and unmistakably part of the identity, without altering
   Gutenberg content or WordPress theme templates. */
.site-header .header-inner {min-height:116px;gap:clamp(15px,2vw,28px);}
.site-header .brand {gap:17px;min-width:0;max-width:100%;align-items:center;}
.site-header .wp-block-site-logo {width:152px!important;min-width:152px;max-width:none!important;margin:0!important;flex:0 0 auto;}
.site-header .wp-block-site-logo img,
.site-header .brand img {display:block;width:152px!important;height:auto!important;max-width:none!important;object-fit:contain;}
.site-header .brand-text {
 display:block!important;max-width:228px;margin:0!important;
 padding:2px 0 2px 17px;border-left:3px solid var(--pk-brand-green);
 color:var(--pk-brand-navy)!important;font-family:Arial,Helvetica,sans-serif;
 font-weight:800;font-size:1.03rem;line-height:1.38;letter-spacing:-.015em;
 text-wrap:balance;
}
/* Supporting eyebrow is clearer without competing with the main hero heading. */
.hero-copy>.eyebrow {font-weight:800;letter-spacing:.105em;}
@media (min-width:961px) and (max-width:1150px) {
 .site-header .header-inner {gap:12px;min-height:100px;}
 .site-header .brand {gap:10px;}
 .site-header .wp-block-site-logo {width:118px!important;min-width:118px;}
 .site-header .wp-block-site-logo img,.site-header .brand img {width:118px!important;}
 .site-header .brand-text {max-width:146px;font-size:.84rem;padding-left:11px;}
 .site-header .pk-nav .wp-block-navigation__container {gap:13px;}
}
@media (max-width:960px) {
 .site-header .header-inner {min-height:100px;gap:14px;}
 .site-header .wp-block-site-logo {width:124px!important;min-width:124px;}
 .site-header .wp-block-site-logo img,.site-header .brand img {width:124px!important;}
 .site-header .brand-text {max-width:190px;font-size:.94rem;padding-left:13px;}
}
@media (max-width:680px) {
 .site-header .header-inner {min-height:88px;gap:10px;}
 .site-header .brand {gap:10px;}
 .site-header .wp-block-site-logo {width:104px!important;min-width:104px;}
 .site-header .wp-block-site-logo img,.site-header .brand img {width:104px!important;}
 .site-header .brand-text {max-width:156px;font-size:.83rem;line-height:1.27;padding-left:10px;border-left-width:2px;}
}
@media (max-width:400px) {
 .site-header .header-inner {min-height:92px;gap:6px;}
 .site-header .brand {gap:8px;}
 .site-header .wp-block-site-logo {width:110px!important;min-width:110px;}
 .site-header .wp-block-site-logo img,.site-header .brand img {width:110px!important;}
 .site-header .brand-text {display:block!important;max-width:132px;font-size:.82rem;line-height:1.24;padding-left:9px;}
}
@media (max-width:350px) {
 .site-header .header-inner {min-height:86px;gap:6px;}
 .site-header .brand {gap:7px;}
 .site-header .wp-block-site-logo {width:88px!important;min-width:88px;}
 .site-header .wp-block-site-logo img,.site-header .brand img {width:88px!important;}
 .site-header .brand-text {max-width:110px;font-size:.78rem;line-height:1.23;padding-left:8px;}
}

.pkv-directory{background:#10382f;color:#e4eee9;font:400 1rem/1.55 system-ui,sans-serif}
.pkv-directory-inner{max-width:72rem;margin:auto;padding:0 clamp(1.25rem,5vw,4rem)}
.pkv-signature{text-align:center;padding:2.5rem 0 2rem}
.pkv-signature img{width:9rem;height:auto;border-radius:5px;display:block;margin:auto}
.pkv-signature p{font-weight:650;font-size:clamp(1.2rem,2vw,1.65rem);color:white;margin:1rem 0 .2rem;line-height:1.3}
.pkv-signature span{font-size:.9rem}
.pkv-service-grid,.pkv-office-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem 4%;padding:1.6rem 0;border-top:1px solid #567269}
.pkv-directory h2{font:650 1.05rem/1.35 system-ui,sans-serif;color:white;margin:0 0 .65rem}
.pkv-directory ul,.pkv-directory li,.pkv-office-grid p{padding:0;margin:0;list-style:none}
.pkv-directory address{font-style:normal}
.pkv-directory a{color:#e4eee9;text-decoration:underline;text-decoration-color:#7b9a8d;text-underline-offset:.22em;overflow-wrap:anywhere}
.pkv-directory nav a,.pkv-office-grid a{display:inline-block;padding:.2em 0}
.pkv-directory a:hover{color:#fffbd5;text-decoration-color:currentColor}
.pkv-directory :is(a,summary):focus-visible{outline:3px solid #f7ab19;outline-offset:3px}
.pkv-legal{border-top:1px solid #567269;display:flex;justify-content:space-between;gap:1rem;padding:1rem 0;align-items:baseline}
.pkv-legal>div{display:flex;gap:.2rem 1.4rem;flex-wrap:wrap;justify-content:flex-end}
.pkv-legal>div:has(details[open]){display:block}
.pkv-legal details[open]{max-width:55rem!important}
@media(max-width:680px){.pkv-service-grid,.pkv-office-grid{grid-template-columns:1fr;gap:1.25rem}.pkv-legal,.pkv-legal>div{display:block}.pkv-signature p{max-width:24ch;margin:1rem auto .35rem}.pkv-directory nav a{padding:.3rem 0}}

/* Shared enquiry action in the navigation, mobile menu and homepage hero. */
.site-header .pk-nav .pk-nav-cta > a.wp-block-navigation-item__content,
.hero-copy .pk-button-default a.wp-block-button__link {
 display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box;
 min-height:44px; padding:.65em 1em; border:1px solid #075b33; border-radius:5px;
 background:#075b33!important; color:#fff!important; font-size:1rem; font-weight:700;
 line-height:1.25; text-decoration:none;
}
.site-header .pk-nav .pk-nav-cta > a.wp-block-navigation-item__content:hover,
.hero-copy .pk-button-default a.wp-block-button__link:hover {background:#064328!important;}
.hero-stage-footer,.confidence-item,.benefit {position:relative;}
.pkv-card-link,.scope-row .text-link a {
 color:inherit; text-decoration:underline; text-underline-offset:.2em; text-decoration-thickness:1px;
}
.hero-stage-footer .pkv-card-link,.scope-row .text-link a {color:white;}
.pkv-card-link::after {content:""; position:absolute; inset:0;}
.pkv-card-link span {white-space:nowrap; color:inherit;}
.pkv-card-link:hover,.scope-row .text-link a:hover {text-decoration-thickness:2px;}
/* White inner band and dark outer band remain visible on mixed backgrounds. */
.site-header :is(a,button,[tabindex]):focus,
.hero :is(a,button,[tabindex]):focus,
.pkv-card-link:focus,.scope-row a:focus {
 outline:3px solid #102d39!important; outline-offset:2px!important;
 box-shadow:0 0 0 2px white!important;
}
@supports selector(:focus-visible) {
 :is(.site-header,.hero) :is(a,button,[tabindex]):focus:not(:focus-visible),
 .pkv-card-link:focus:not(:focus-visible),.scope-row a:focus:not(:focus-visible) {
  outline:none!important; box-shadow:none!important;
 }
}
@media (forced-colors:active) {
 :is(.site-header,.hero) :is(a,button,[tabindex]):focus-visible,
 .pkv-card-link:focus-visible,.scope-row a:focus-visible {outline-color:Highlight!important;}
}
.pkv-signature img {background:#fff; padding:.4rem .65rem; box-sizing:border-box;}
