/* Original roofline artwork fills: blue RGB 44,55,140, copper RGB 183,120,44. */
:root {
  --ps-blue: #2c378c;
  --ps-copper: #b7782c;
  --ps-midnight: #171f48;
  --ps-mist: #eff1f6;
  --ps-cream: #f7f3eb;
  --ps-copper-ink: #805217;
  --ps-light-copper: #edc18c;
  --ps-focus: #81561e;
  --ps-radius: 12px;
  --ps-space: clamp(1.05rem, 2.5vw, 2.5rem);
  --ps-fast: 180ms;
  --ps-ease: cubic-bezier(.22,.72,.28,1);
  --ps-shadow: 0 8px 28px #171f481a;
  --navy: var(--ps-blue);
  --gold: var(--ps-copper);
  --deepgold: var(--ps-copper-ink);
  --warm: var(--ps-light-copper);
}
@media screen {
  html { scroll-padding-top: 5.75rem; }
  .head-sentinel { height: 1px; margin-bottom: -1px; pointer-events: none; }
  .site-head {
    position: sticky;
    top: calc(var(--wp-admin--admin-bar--height, 0px) - 12px);
    background: var(--ps-midnight);
    color: white;
    z-index: 25;
    box-shadow: 0 1px 0 #141b3d;
    isolation: isolate;
  }
  .head-row {
    min-height: 88px;
    gap: clamp(.85rem, 2vw, 2.1rem);
  }
  .site-head::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: linear-gradient(104deg, var(--ps-blue) 0 74%, var(--ps-copper) 74% 91%, #ecd6b8 91%);
    pointer-events: none;
  }
  .head-row::after { content: none; }
  .site-head .brand { min-height: 44px; }
  .site-head .brand img { width: clamp(138px, 11.6vw, 174px); height: auto; }
  .site-head .topnav { gap: clamp(.8rem, 1.8vw, 1.9rem); }
  .topnav > a, .navdrop > summary, .site-head .head-phone {
    color: #fff;
    text-decoration: none;
    text-decoration-thickness: 2px;
    text-underline-offset: .38em;
  }
  .topnav > a[aria-current], .topnav > a.section-current,
  .navdrop.section-current > summary, .topnav > a:is(:hover,:focus-visible),
  .navdrop > summary:is(:hover,:focus-visible), .head-phone:is(:hover,:focus-visible) {
    text-decoration: underline;
    text-decoration-color: var(--ps-light-copper);
  }
  .navdrop[open] > summary svg { transform: rotate(180deg); }
  .site-head .dropdown,.site-head .moblinks {
    color: var(--ink);
    background: var(--paper);
    box-shadow: 0 10px 24px #11173636;
    border: 1px solid #c3c8d6;
    border-top: 3px solid var(--ps-copper);
    border-radius: 0 0 var(--ps-radius) var(--ps-radius);
    overscroll-behavior: contain;
  }
  .site-head :is(.moblinks,.dropdown) a:is(:hover,:focus-visible,[aria-current],.section-current) {
    background: var(--ps-mist);
    color: var(--ps-blue);
    text-decoration: underline;
    text-underline-offset: .2em;
  }
  .site-head .button.header-cta {
    color: var(--ps-midnight);
    background: #fffdf8;
    border: 1px solid var(--ps-light-copper);
    font-size: .93rem;
    padding-inline: 1.22rem;
    min-height: 46px;
  }
  .site-head .head-phone { margin-left: 0; }
  .site-head .mobmenu > summary { color: white; border: 1px solid #ffffff40; border-radius: 8px; }
  .site-head.head-compact { box-shadow: 0 3px 16px #171f4826; }
  .site-head.head-compact .brand img { transform: translateY(2px) scale(.95); transform-origin: left center; }
  :where(a,button,summary,input,select,textarea,[tabindex]):focus-visible {
    outline: 3px solid var(--ps-focus); outline-offset: 3px;
  }
  .site-head :is(a,summary):focus-visible,.sitefoot :is(a,button,summary,input):focus-visible,
  :is(.close-cta,.studio-cta) :is(a,button):focus-visible { outline: 3px solid var(--ps-light-copper); outline-offset: 3px; }
  .site-head :is(.dropdown,.moblinks) a:focus-visible { outline-color: var(--ps-focus); outline-offset: -3px; }
  .button {
    border-color: var(--ps-blue);
    box-shadow: inset 0 1px 0 #ffffff24;
  }
  .button:is(:hover,:focus-visible),.site-head .header-cta:is(:hover,:focus-visible) {
    background: var(--ps-midnight);
    color: white;
    border-color: var(--ps-copper);
    box-shadow: 0 3px 12px #171f4828, inset 0 0 0 1px #edc18c45;
  }
  .button.pale:is(:hover,:focus-visible),.site-head .header-cta:is(:hover,:focus-visible) {
    background: var(--ps-cream);
    color: var(--ps-midnight);
  }
  .button:active,.site-head .header-cta:active {
    transform: translateY(1px);
    box-shadow: inset 0 2px 5px #171f483b;
  }
  .text-link:is(:hover,:focus-visible) { text-decoration-color: var(--ps-copper); text-decoration-thickness: 2px; }
  .servicehero > img,.service-proof .proof-photo,.service-card > img,.case-cover,.proof-photo,.video-wrap video { border-radius: var(--ps-radius); }
  .section-head h2,.service-copy h1,.page-intro h1,.case-header h1 { text-wrap: balance; }
  .section-head .kicker,.service-copy .kicker,.case-header .kicker { color: var(--ps-copper-ink); }
  .service-guide,.trust-panel,.casebook-download { background-color: var(--ps-cream); border-radius: var(--ps-radius); }
  .service-examples { border-color: #d2d5df; }
  .close-cta {
    background: linear-gradient(112deg, var(--ps-midnight) 18%, #222f66 100%);
    border-radius: var(--ps-radius);
    border-top: 3px solid var(--ps-copper);
  }
  .sitefoot {
    color: #fff;
    background: var(--ps-midnight);
    border-top: 3px solid var(--ps-copper);
  }
  .footgrid { gap: clamp(1rem,2.3vw,2.5rem); padding-block: clamp(2rem, 4vw, 4rem); }
  .sitefoot .footgrid p,.sitefoot .footgrid a,.sitefoot .footbase,.sitefoot .footnote { color: #e1e6f3; }
  .sitefoot .footbase { border-color: #ffffff35; }
  .foot-founders strong { color: white; }
  .foot-founders .company-seal {
    display: inline-flex;
    margin-bottom: .72rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--ps-light-copper), 0 5px 12px #080e2780;
  }
  .company-seal img { width: 76px; height: 76px; border-radius: inherit; }
  .sitefoot .footlinks a:is(:hover,:focus-visible),.sitefoot .social-links a:is(:hover,:focus-visible) { color: #fff; text-decoration-color: var(--ps-light-copper); }
  .sitefoot .psp-privacy,.sitefoot .psp-privacy-status { color: #e1e6f3; }
  .sitefoot .psp-privacy a { color: white; }
  .sitefoot input { accent-color: var(--ps-light-copper); }
}
@media screen and (max-width: 980px) and (min-width: 801px) {
  .head-row { gap: .55rem; }
  .site-head .brand img { width: 122px; }
  .site-head .topnav { gap: .65rem; }
  .site-head .header-cta { padding-inline: .85rem; }
}
@media screen and (max-width: 800px) {
  html { scroll-padding-top: 4.75rem; }
  .site-head { top: var(--wp-admin--admin-bar--height, 0px); }
  .site-head .head-row { min-height: 67px; gap: .45rem; }
  .site-head .brand img { width: clamp(103px, 22vw, 143px); }
  .site-head .head-phone { margin-left: auto; }
  .site-head .button.header-cta { font-size: .88rem; min-height: 44px; padding-inline: .95rem; }
  .site-head.head-compact .brand img { transform: none; }
  .site-head .moblinks { max-height: min(70vh, calc(100dvh - 140px)); }
}
@media screen and (max-width: 420px) {
  .site-head .head-row { gap: .3rem; min-height: 64px; }
  .site-head .brand img { width: clamp(96px,28vw,110px); }
  .site-head .button.header-cta { font-size: .84rem; padding-inline: .7rem; }
}
@media screen and (max-width: 359px) {
  .site-head .head-phone { display: none; }
  .site-head .header-cta { margin-left: auto; }
}
@media screen and (max-width: 620px) and (min-height: 440px) {
  .mobile-actions,.estimate-page .mobile-actions { border-top: 1px solid #c5c9d9; }
}
@media screen and (max-height: 439px) {
  .site-head { position: relative; top: auto; }
  html { scroll-padding-top: 1rem; }
  .site-head .moblinks { max-height: 65vh; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button,.text-link,.head-row .brand img,.navdrop > summary svg,.company-seal {
    transition: transform var(--ps-fast) var(--ps-ease), box-shadow var(--ps-fast) var(--ps-ease),
                color var(--ps-fast), background-color var(--ps-fast), border-color var(--ps-fast);
  }
  .company-seal:is(:hover,:focus-visible) { transform: perspective(420px) rotateY(-12deg) rotate(-2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .site-head.head-compact .brand img,.button:is(:hover,:active),.company-seal:is(:hover,:focus-visible) { transform: none; }
}
@media print { .head-sentinel { display: none; } }

/* Customer reviews and the estimate invitation */
.trust-panel:has(.client-quotes),.story-neighbours:has(.client-quotes){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
.client-quotes{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem}
.client-quotes figure{margin:0;border-top:1px solid var(--line,#c8cdd4);padding:1.1rem 0}
.review-stars{color:#885409;letter-spacing:.12em;font-size:1rem}
.client-quotes blockquote{margin:.6rem 0 .8rem;font:400 clamp(1.15rem,1.65vw,1.5rem)/1.4 var(--serif,Georgia)}
.client-quotes figcaption,.crew-field-photo figcaption{font-size:.9rem;color:var(--muted,#475568)}
.crew-field-photo{width:min(100%,54rem);margin:1rem auto 2rem}.crew-field-photo img{width:100%;height:auto;max-height:29rem;object-fit:cover;border-radius:12px}.crew-field-photo figcaption{margin-top:.5rem}
section.close-cta.signature-close{background:linear-gradient(100deg,#171f48 12%,#171f48eb 49%,#171f4899 100%),url("sails-waterfront-md.webp") center 54%/cover}
.signature-close .button:hover,.signature-close .button:focus-visible{box-shadow:0 0 0 2px #e9a14e,0 4px 20px #e9a14e66}
.ps-dialog{box-sizing:border-box;width:min(94vw,60rem);max-height:92dvh;padding:0;border:0;border-radius:14px;background:#fff;color:#171f48;box-shadow:0 1.5rem 5rem #11182a59}
.ps-dialog::backdrop{background:#11162cc4}.ps-dialog header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.4rem;border-bottom:1px solid #ddd}
.ps-dialog header h2{margin:0;font:400 1.6rem/1.15 var(--serif,Georgia)}.ps-dialog button{cursor:pointer;font:inherit}
.ps-dialog .dialog-close{padding:.5rem .8rem;background:#f0f2f6;color:#171f48;border:1px solid #bfc7d5;border-radius:6px}
.ps-dialog iframe{border:0;width:100%;height:clamp(250px,65dvh,760px);display:block}.ps-dialog footer{padding:.7rem 1.4rem}.ps-dialog footer a{text-decoration:underline}
.ps-colour-dialog{width:min(94vw,32rem)}.ps-colour-dialog .colour-detail{padding:1.2rem;display:grid;gap:.8rem}.ps-colour-dialog .detail-chip{height:7rem;background:var(--chip,#eff1f3);border:1px solid #ccc;border-radius:8px}.ps-colour-dialog .detail-chip[data-physical-chip]{background:repeating-linear-gradient(135deg,#fff 0 6px,#e8e7e1 6px 7px)}.ps-colour-dialog .button{justify-self:start}
.map-detail{padding:1rem;border-left:3px solid #c78336;background:#f1f4f6}.map-detail a{display:block;font-weight:700;text-decoration:underline}.map-detail p{margin:.3rem 0}
.area-map-surface{box-shadow:0 8px 0 -4px #b3c5c5,0 14px 25px -15px #19354877}.area-pin[aria-current=true] span{background:#171f48;color:#fff}
@media(min-width:760px) and (prefers-reduced-motion:no-preference){.area-map-surface{transform:perspective(55rem) rotateX(5deg);transform-origin:50% 75%}}
@media(max-width:740px){.trust-panel:has(.client-quotes),.story-neighbours:has(.client-quotes),.client-quotes{grid-template-columns:1fr}.client-quotes{gap:0}.client-quotes figure{padding:.8rem 0}.ps-dialog header{padding:.7rem 1rem}}

/* The footer keeps the profile names visible beside the platform marks. */
.sitefoot .social-links a { gap: .4em; }
.sitefoot .social-links a::before {
  content: "";
  width: 1em;
  height: 1em;
  flex: none;
  background-color: currentColor;
  -webkit-mask: var(--ps-profile-icon) center/contain no-repeat;
  mask: var(--ps-profile-icon) center/contain no-repeat;
}
.sitefoot .social-links a[href*="facebook.com/"] {
  --ps-profile-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14.4 24V13.1h3.7l.55-4.24H14.4V6.15c0-1.23.34-2.07 2.12-2.07h2.27V.3A28 28 0 0 0 15.48.12c-3.28 0-5.52 2-5.52 5.67v3.07H6.25v4.24h3.71V24Z'/%3E%3C/svg%3E");
}
.sitefoot .social-links a[href*="instagram.com/"] {
  --ps-profile-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2'%3E%3Crect x='2.2' y='2.2' width='19.6' height='19.6' rx='5.5'/%3E%3Ccircle cx='12' cy='12' r='4.7'/%3E%3C/g%3E%3Ccircle cx='18' cy='6' r='1.35'/%3E%3C/svg%3E");
}
.sitefoot .social-links a[href*="youtube.com/"] {
  --ps-profile-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M23 7.1c-.3-1.3-1.1-2.2-2.4-2.5C18.5 4.1 14.8 4 12 4s-6.5.1-8.6.6C2.1 4.9 1.3 5.8 1 7.1.7 8.6.6 10.5.6 12s.1 3.4.4 4.9c.3 1.3 1.1 2.2 2.4 2.5 2.1.5 5.8.6 8.6.6s6.5-.1 8.6-.6c1.3-.3 2.1-1.2 2.4-2.5.3-1.5.4-3.4.4-4.9s-.1-3.4-.4-4.9ZM9.5 15.7V8.3l6.4 3.7Z'/%3E%3C/svg%3E");
}
