/* DM Sans is served locally; its SIL Open Font License is in fonts/OFL.txt. */
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #10213c;
  --navy: #0c1c32;
  --muted: #536574;
  --accent: #2c657a;
  --pale: #edf3f5;
  --line: #d8e2e7;
  --white: #fff;
  --font: "DM Sans", Arial, sans-serif;
  --content: 1200px;
  --header-height: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font); line-height: 1.65; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: rgba(44, 101, 122, .2); }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 3.3vw, 44px); }
p { margin-bottom: 20px; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #28768d; outline-offset: 5px; }
.hero a:focus-visible, .site-footer a:focus-visible, .page-header--home a:focus-visible, .detail-contact a:focus-visible { outline-color: white; }
main:focus { outline: none; }
.skip-link { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 12px 18px; transform: translateY(-160%); background: var(--ink); color: white; }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; margin: 0 10px 4px 0; background: currentColor; }

/* Shared navigation, with a white logo against the homepage's navy header. */
.page-header { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; min-height: 76px; padding: 12px max(32px, calc((100% - var(--content)) / 2)); border-bottom: 1px solid var(--line); background: white; box-shadow: 0 2px 12px rgba(12,28,50,.04); }
.page-logo { flex-shrink: 0; width: 138px; max-width: 55%; }
.page-logo img { width: 100%; filter: brightness(0); }
.site-nav { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 26px; }
.site-nav > a, .nav-services > summary { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 700; }
.site-nav > a:hover, .site-nav > a[aria-current], .nav-services[open] > summary, .nav-services:has(a[aria-current]) > summary { border-bottom-color: currentColor; }
.nav-services { position: relative; }
.nav-services > summary { gap: 6px; list-style: none; cursor: pointer; }
.nav-services > summary::-webkit-details-marker { display: none; }
.nav-services > summary span { font-size: 16px; line-height: 1; }
.nav-services[open] > summary span { transform: rotate(180deg); }
.service-menu { position: absolute; top: calc(100% + 12px); left: -18px; width: 282px; max-height: calc(100vh - var(--header-height) - 24px); max-height: calc(100dvh - var(--header-height) - 24px); overflow-y: auto; overscroll-behavior: contain; padding: 8px; border: 1px solid var(--line); border-radius: 3px; background: white; color: var(--ink); box-shadow: 0 16px 36px rgba(12,28,50,.16); }
.service-menu a { display: block; min-height: 44px; padding: 10px 12px; font-size: 14px; font-weight: 500; }
.service-menu a:last-child { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--accent); font-weight: 700; }
.service-menu a:hover, .service-menu a[aria-current] { background: var(--pale); }
.service-availability { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }
.page-header--home summary:focus-visible { outline-color: white; }
.page-header .service-menu a:focus-visible { outline-color: var(--accent); outline-offset: -3px; }
.site-nav a[href$="contact.html"] { padding: 10px 22px; border: 1px solid var(--ink); background: var(--ink); color: white; }
.site-nav a[href$="contact.html"]:hover { background: var(--accent); border-color: var(--accent); }
.page-header--home { border-bottom-color: #26394e; background: var(--navy); color: white; }
.page-header--home .page-logo img { filter: brightness(0) invert(1); }
.page-header--home .site-nav { margin-left: auto; }
.page-header--home .site-nav a[href$="contact.html"] { background: white; border-color: white; color: var(--ink); }
.page-header--home .site-nav a[href$="contact.html"]:hover { background: var(--pale); }
.nav-toggle { display: none; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: inherit; font-size: 13px; font-weight: 700; }
.nav-toggle-icon { position: relative; width: 16px; height: 12px; border-block: 1.5px solid currentColor; }
.nav-toggle-icon::after { content: ""; position: absolute; inset: 4px 0 auto; border-top: 1.5px solid currentColor; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon { border: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before, .nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { content: ""; position: absolute; inset: 5px 0 auto; border-top: 1.5px solid currentColor; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { transform: rotate(-45deg); }
.page-header--home .nav-toggle { border-color: #637489; }
.page-header--home .nav-toggle:focus-visible { outline-color: white; }
.back-link, .text-link { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.button, .contact-link, .detail-contact a, .contact-form button { display: inline-flex; justify-content: center; align-items: center; gap: 26px; min-height: 50px; max-width: 100%; padding: 13px 24px; border: 1px solid var(--ink); border-radius: 2px; background: var(--ink); color: white; font-size: 14px; font-weight: 700; line-height: 1.5; text-align: center; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.button:hover, .contact-link:hover, .contact-form button:hover { border-color: var(--accent); background: var(--accent); }
.button span { font-size: 21px; font-weight: 400; line-height: 1; }
.button--light { background: white; border-color: white; color: var(--ink); }
.button--light:hover { background: var(--pale); border-color: var(--pale); }
.button--outline { background: transparent; border-color: rgba(255,255,255,.65); color: white; }
.button--outline:hover { background: rgba(255,255,255,.12); border-color: white; }
.button--secondary { background: transparent; color: var(--ink); }
.button--secondary:hover { background: var(--pale); border-color: var(--ink); }

/* Full-width footage sits behind the copy; a tint keeps text readable. */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 720px; padding: 56px 32px 64px; overflow: hidden; background: var(--navy); color: white; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(6, 18, 33, .68); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; width: min(var(--content), 100%); margin: auto; }
.hero-content { max-width: 650px; padding-block: 8px; }
.hero-eyebrow { display: inline-block; margin: 0 0 20px; padding: 6px 12px; border: 1px solid #9bb8c8; border-radius: 3px; color: #e5edf3; font-size: 12px; font-weight: 600; letter-spacing: .035em; }
.hero h1 { margin: 0 0 24px; font-size: clamp(38px, 4.3vw, 62px); line-height: 1.08; font-weight: 700; letter-spacing: -.04em; }
.hero h1 span { color: #9cd2e0; }
.hero-description { max-width: 550px; margin-bottom: 20px; color: #e5edf3; font-size: 16px; line-height: 1.75; }
.hero-area { max-width: 520px; margin: 0; color: #e5edf3; font-size: 14px; }
.hero-area > span { color: white; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions .button { gap: 20px; padding-inline: 20px; }
.hero-service-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; margin-top: 14px; color: #e5edf3; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-image, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-video { z-index: 0; }
.hero-video::-webkit-media-controls { display: none !important; }
.hero-video::-webkit-media-controls-enclosure { display: none !important; }
.hero-video::-webkit-media-controls-start-playback-button { display: none !important; }
.hero-image { z-index: 1; opacity: 1; }
.hero-media[data-video-state="playing"] .hero-image { opacity: 0; transition: opacity .25s ease; }

/* One space per brand; Paxton's installer and partner badges sit with its logo. */
.partners { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 36px max(32px, calc((100% - var(--content)) / 2)); border-bottom: 1px solid var(--line); background: white; }
.partners h2 { margin: 0; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
.partner-grid { display: grid; grid-template-columns: 1.2fr repeat(5, minmax(0, 1fr)); gap: 16px; width: 100%; margin: 0; padding: 0; list-style: none; }
.partner-card { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 156px; padding: 20px; border: 1px solid var(--line); border-radius: 3px; background: white; }
.partner-card img { width: 100%; max-width: 174px; height: 92px; object-fit: contain; }
.partner-card .partner-logo--ubiquiti { max-width: 102px; height: 102px; }
.partner-card .partner-logo--texecom { max-width: 176px; height: 106px; }
.partner-card--paxton, .partner-card--efixx { padding: 0; }
.partner-card .partner-logo--paxton { max-width: 128px; height: 48px; }
.partner-card .partner-logo--efixx { max-width: 140px; height: 74px; }
.partner-badges { display: flex; align-items: center; justify-content: center; gap: 20px; }
.partner-badges img { width: 36px; height: 44px; }
.partner-certificate-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 100%; padding: 10px 16px; border-radius: 2px; }
.partner-brand { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.partner-certificate-caption { display: flex; align-items: center; gap: 8px; color: var(--accent); font-size: 11px; font-weight: 600; }
.partner-certificate-link:hover .partner-certificate-caption { text-decoration: underline; text-underline-offset: 3px; }
.partner-card:has(.partner-certificate-link:hover) { border-color: var(--accent); }

/* A native modal gives the certificate keyboard support without a library. */
.certificate-dialog { width: min(800px, calc(100% - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--ink); overscroll-behavior: contain; }
.certificate-dialog:not([open]) { display: none; }
.certificate-dialog::backdrop { background: rgba(6,18,33,.78); }
.certificate-dialog-header { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: white; }
.certificate-dialog h2 { margin: 0; font-size: 20px; }
.certificate-close { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--pale); color: var(--ink); font-size: 13px; font-weight: 600; }
.certificate-close:hover { border-color: var(--accent); }
.certificate-close span { font-size: 21px; line-height: 1; }
.certificate-dialog-body { padding: 20px; }
.certificate-dialog-body > p { margin: 0; color: var(--muted); font-size: 14px; }
.certificate-dialog-body .text-link { margin: 4px 0 18px; font-size: 13px; }
.certificate-dialog-body .certificate-status { margin: 0 0 16px; padding: 12px; background: var(--pale); }
.certificate-image { width: 100%; height: auto; }
html:has(.certificate-dialog[open]) { overflow: hidden; }
body:has(.certificate-dialog[open]) .mobile-contact { visibility: hidden; }

/* Photographs and descriptions make the service choices easier to scan. */
.site-intro { display: grid; grid-template-columns: 1fr 1.2fr; align-items: start; gap: 72px; width: min(var(--content), calc(100% - 64px)); margin: auto; padding: 76px 0; border-bottom: 1px solid var(--line); }
.intro-heading h2 { margin-bottom: 0; }
.intro-copy > p { margin-bottom: 30px; color: var(--muted); font-size: 17px; }
.property-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.property-types > div { padding-top: 20px; border-top: 2px solid var(--accent); }
.property-types h3 { margin-bottom: 12px; font-size: 21px; }
.property-types p { margin-bottom: 10px; color: var(--muted); font-size: 14px; }
.property-types a { gap: 12px; font-size: 13px; }
.services { width: min(var(--content), calc(100% - 64px)); margin: auto; padding: 76px 0 80px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 36px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 440px; margin: 0; color: var(--muted); font-size: 16px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-tile { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; background: white; transition: box-shadow .2s ease, border-color .2s ease; }
.service-tile:hover, .service-tile:focus-visible { border-color: #91adb9; box-shadow: 0 10px 25px rgba(16,33,60,.08); }
.service-image { position: relative; aspect-ratio: 1.6; overflow: hidden; background: var(--pale); }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.service-image--intercom img, .detail-hero-image--intercom img { object-position: center 42%; }
.service-image--access-control img, .detail-hero-image--access-control img { object-position: center 38%; }
.service-tile:hover img { transform: scale(1.025); }
.service-tile:first-child img { object-position: 43% 40%; }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 25px; }
.service-body h3 { margin: 0 0 12px; font-size: 23px; }
.service-body p { margin: 0 0 22px; color: var(--muted); font-size: 14px; }
.service-more { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: auto; color: var(--accent); font-size: 13px; font-weight: 700; }
.service-more > span { font-size: 23px; font-weight: 400; }
.service-note { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.service-note p { margin: 0; color: var(--muted); font-size: 14px; }
.service-note a { flex-shrink: 0; font-size: 14px; }
.upcoming-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.service-tile--planned { background: var(--pale); }
.service-badge { align-self: flex-start; margin-bottom: 18px; padding: 4px 9px; border: 1px solid #a9c2cc; border-radius: 2px; color: var(--accent); background: white; font-size: 11px; font-weight: 700; letter-spacing: .04em; }

.about-preview { background: var(--pale); padding: 80px 32px; }
.about-preview-inner { width: min(var(--content), 100%); margin: auto; }
.home-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-team-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 3px; background: white; }
.home-team-card:hover { border-color: var(--accent); }
.home-team img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 35%; border-radius: 2px 2px 0 0; }
.home-team-card--hannah img { object-position: center 40%; }
.home-team-card--liam img { object-position: center 20%; }
.home-team-info { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 24px; }
.home-team h3 { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 0 0 8px; font-size: 26px; }
.home-team h3 span { color: var(--accent); font-size: 23px; font-weight: 400; }
.home-team p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.home-team-department { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); width: 100%; color: var(--accent); font-size: 12px; font-weight: 600; }
.team-more { margin-top: 24px; font-size: 14px; }

.process { padding: 76px 32px; background: white; }
.process-inner { width: min(var(--content), 100%); margin: auto; }
.process h2 { margin-bottom: 32px; }
.process-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.process-steps li { padding-top: 22px; border-top: 1px solid var(--line); }
.process-number { display: block; margin-bottom: 18px; color: var(--accent); font-size: 13px; font-weight: 700; }
.process-steps h3 { margin-bottom: 14px; font-size: 22px; }
.process-steps p { margin: 0; color: var(--muted); font-size: 14px; }

.testimonials { padding: 90px 32px; background: var(--navy); color: white; }
.testimonials > div { width: min(var(--content), 100%); margin: auto; }
.testimonials .eyebrow { color: #a3c4d0; }
.testimonials h2 { margin: 0; }
.testimonial-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 38px; }
.testimonials blockquote { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; margin: 0; padding: 32px; border: 1px solid #38495d; background: #15283f; }
.testimonials blockquote p { margin: 0; color: #f2f6f8; font-size: 17px; line-height: 1.75; }
.testimonials blockquote footer { padding-top: 22px; border-top: 1px solid #38495d; color: #b2c6d3; font-size: 12px; font-weight: 500; }
.testimonials .testimonial-featured { grid-column: 1 / -1; }
.testimonial-copy { max-width: 86ch; }
.testimonials .testimonial-copy p + p { margin-top: 18px; }
.home-faq { padding: 76px 32px; background: var(--pale); }
.home-faq-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; width: min(var(--content), 100%); margin: auto; }
.home-faq h2 { margin-bottom: 22px; }
.home-faq p { color: var(--muted); }
.home-faq .text-link { font-size: 14px; }
.home-faq .faq-item:first-child { border-top: 0; }
.coverage { padding: 86px 32px; background: white; }
.coverage-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(40px, 8vw, 110px); width: min(var(--content), 100%); margin: auto; }
.coverage h2 { margin-bottom: 22px; }
.coverage p:not(.eyebrow) { color: var(--muted); }
.coverage-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 26px; }
.service-areas { padding: 32px; border: 1px solid var(--line); border-radius: 3px; background: var(--pale); }
.service-areas h3 { margin: 0 0 12px; font-size: 26px; }
.service-areas p { margin-bottom: 8px; font-size: 14px; }
.county-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.county-list li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 600; letter-spacing: -.025em; }

/* Service, team and legal pages share the same type and spacing. */
.detail-hero { padding: 72px 32px; border-block: 1px solid var(--line); background: var(--pale); text-align: center; }
.detail-hero h1 { max-width: 920px; margin: 0 auto 20px; font-size: clamp(36px, 4.7vw, 60px); text-wrap: balance; }
.detail-hero > p, .detail-hero-inner > div > p:not(.eyebrow) { max-width: 630px; margin: 0 auto; color: var(--muted); font-size: 18px; }
.detail-hero > p:first-child { margin-bottom: 16px; color: var(--accent); font-size: 13px; font-weight: 700; }
.detail-hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 64px; width: min(var(--content), 100%); margin: auto; text-align: left; }
.detail-hero-inner h1 { margin-inline: 0; }
.detail-hero-inner > div > p:not(.eyebrow) { margin-inline: 0; }
.detail-hero-image { aspect-ratio: 1.8; overflow: hidden; border-radius: 3px; }
.detail-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; width: min(var(--content), calc(100% - 64px)); margin: auto; padding: 18px 0; color: var(--muted); font-size: 12px; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; }
.breadcrumbs > span[aria-hidden] { color: #8b9ca7; }
.detail-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 28px; }
.detail-hero-actions .text-link { font-size: 14px; }
.detail-hero--planned .detail-hero-actions { justify-content: center; }
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; width: min(var(--content), calc(100% - 64px)); margin: auto; padding: 64px 0 80px; }
.service-layout > .detail-content { width: 100%; min-width: 0; margin: 0; padding: 0; }
.service-sidebar { position: sticky; top: calc(var(--header-height) + 24px); padding: 28px; border: 1px solid var(--line); border-radius: 3px; background: var(--pale); }
.service-sidebar h2 { margin-bottom: 20px; font-size: 24px; }
.service-sidebar > p { color: var(--muted); font-size: 14px; }
.service-sidebar .button { width: 100%; margin-bottom: 22px; }
.service-sidebar h3 { margin: 0 0 8px; font-size: 16px; }
.service-sidebar nav { display: grid; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.service-sidebar nav a { padding: 10px 0; color: var(--accent); font-size: 14px; }
.service-sidebar nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.related-services { padding: 56px 32px 64px; border-top: 1px solid var(--line); background: var(--pale); }
.related-inner { width: min(var(--content), 100%); margin: auto; }
.related-services h2 { margin-bottom: 26px; font-size: 30px; }
.related-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.related-links a { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-width: 0; min-height: 84px; padding: 22px; border: 1px solid var(--line); border-radius: 3px; background: white; font-size: 17px; font-weight: 600; }
.related-links a:hover { border-color: var(--accent); color: var(--accent); }
.related-links span { font-size: 23px; font-weight: 400; }
.detail-content { width: min(820px, calc(100% - 64px)); margin: auto; padding: 72px 0 88px; }
.detail-content h2 { margin: 0 0 20px; font-size: 30px; }
.detail-content h2:not(:first-child) { margin-top: 42px; }
.detail-content p { color: var(--muted); }
.detail-content ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; margin: 24px 0 40px; padding: 0; list-style: none; }
.detail-content li { position: relative; padding: 16px 0 16px 22px; border-bottom: 1px solid var(--line); color: var(--muted); }
.detail-content li::before { content: ""; position: absolute; top: 26px; left: 0; width: 6px; height: 6px; background: var(--accent); }
.detail-content li a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.detail-contact { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 46px; padding: 30px; background: var(--navy); color: white; }
.detail-contact strong { font-size: 20px; line-height: 1.4; }
.detail-contact a { flex-shrink: 0; border-color: white; background: white; color: var(--ink); }
.detail-contact a:hover { background: var(--pale); }
.contact-link { margin-top: 24px; }
.service-faq { margin-top: 44px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 4px; list-style: none; cursor: pointer; font-weight: 600; line-height: 1.5; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-icon { flex: 0 0 24px; color: var(--accent); text-align: center; font-size: 24px; font-weight: 400; }
.faq-icon::before { content: "+"; }
.faq-item[open] .faq-icon::before { content: "−"; }
.faq-item > p { margin: 0; padding: 0 44px 22px 4px; font-size: 15px; }

/* Service detail: planning choices, practical examples and installation steps. */
.service-section { margin-top: 44px; }
.service-features { margin: 0; }
.service-features > div { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.5fr); gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.service-features dt { font-size: 18px; font-weight: 600; line-height: 1.4; }
.service-features dd { margin: 0; color: var(--muted); }
.service-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service-examples > div { padding: 24px; border: 1px solid var(--line); border-radius: 3px; background: var(--pale); }
.service-examples h3 { margin: 0 0 12px; font-size: 21px; }
.service-examples p { margin: 0; font-size: 15px; }
.service-steps { display: grid; gap: 24px; margin: 26px 0 0; padding: 0; list-style: none; counter-reset: installation-step; }
.detail-content .service-steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; padding: 0; border: 0; counter-increment: installation-step; }
.detail-content .service-steps li::before { position: static; width: auto; height: auto; background: none; content: counter(installation-step, decimal-leading-zero); color: var(--accent); font-size: 14px; font-weight: 700; }
.service-steps h3 { margin: 0 0 8px; color: var(--ink); font-size: 20px; }
.service-steps p { margin: 0; }
.service-review { margin-top: 44px; padding: 30px; border-radius: 3px; background: var(--navy); color: white; }
.service-review h2 { font-size: 24px; }
.service-review blockquote { margin: 0; }
.service-review blockquote p { color: #f2f6f8; font-size: 17px; line-height: 1.75; }
.service-review blockquote footer { padding-top: 18px; border-top: 1px solid #38495d; color: #b2c6d3; font-size: 13px; }
.related-intro { max-width: 760px; margin-bottom: 28px; color: var(--muted); }
.related-links--detailed a { align-items: flex-start; }
.related-links--detailed h3 { margin: 0 0 12px; font-size: 20px; }
.related-links--detailed p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 400; }
.related-links--detailed a > span { flex-shrink: 0; }
.combined-enquiry { margin-top: 24px; }

.team-section { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 26px; }
.team-card { overflow: hidden; border: 1px solid var(--line); border-radius: 3px; background: white; }
.team-portrait { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.team-info { padding: 24px; }
.team-info h3 { margin: 0 0 8px; font-size: 26px; }
.team-info .team-role { margin: 0; font-size: 14px; }
.about-content { width: min(1040px, calc(100% - 64px)); }
.team-profiles { display: grid; gap: 28px; margin-top: 26px; }
.team-profile { display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.team-photo { position: relative; width: 100%; min-height: 400px; overflow: hidden; background: var(--pale); }
.team-photo .team-portrait { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center 35%; }
.team-photo--hannah .team-portrait { object-position: center 40%; }
.team-photo--liam .team-portrait { object-position: center 20%; }
.team-info .team-department { display: inline-block; margin: 14px 0 0; padding: 4px 9px; border: 1px solid var(--line); background: var(--pale); color: var(--accent); font-size: 12px; font-weight: 600; }
.team-bio { margin-top: 24px; }
.team-bio p:last-child { margin-bottom: 0; }
.legal-page { width: min(820px, calc(100% - 64px)); margin: auto; padding: 64px 0 90px; }
.legal-page h1 { margin-bottom: 16px; font-size: clamp(36px, 4.7vw, 56px); }
.legal-page h2 { margin: 38px 0 14px; font-size: 25px; }
.legal-page p { margin-bottom: 0; color: var(--muted); }
.legal-page p + p { margin-top: 14px; }
.legal-page ul { display: grid; gap: 14px; padding-left: 22px; color: var(--muted); }
.legal-page strong { color: var(--ink); }
.legal-page a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.policy-date { font-size: 13px; }

/* Contact form: preserve the existing validation and submission behaviour. */
.contact-page { border-top: 1px solid var(--line); padding: 70px 32px 90px; background: var(--pale); }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 7vw, 100px); align-items: start; width: min(var(--content), 100%); margin: auto; }
.contact-intro { padding-top: 12px; }
.contact-intro h1 { margin-bottom: 26px; font-size: clamp(38px, 4.7vw, 60px); }
.contact-intro > p:not(.eyebrow) { color: var(--muted); }
.contact-direct { display: grid; gap: 6px; margin: 32px 0; }
.contact-direct span { margin-top: 12px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.contact-direct a { width: fit-content; max-width: 100%; padding-block: 5px; color: var(--ink); font-size: 19px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; overflow-wrap: anywhere; }
.contact-area { max-width: 330px; font-size: 14px; }
.contact-next { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.contact-next h2 { margin-bottom: 12px; font-size: 24px; }
.contact-next p { margin-bottom: 8px; color: var(--muted); font-size: 14px; }
.contact-next a { font-size: 13px; }
.contact-form { display: grid; gap: 20px; min-width: 0; padding: 34px; border: 1px solid var(--line); border-radius: 3px; background: white; }
.contact-form h2 { margin: 0; font-size: 28px; }
.contact-form > p:not(.form-status) { margin: 0; color: var(--muted); font-size: 13px; }
.contact-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-form .contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-form label { display: block; min-width: 0; font-size: 13px; font-weight: 600; }
.contact-form label:has(textarea) { grid-column: 1 / -1; }
.contact-form .form-field-wide { grid-column: 1 / -1; }
.field-hint { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 400; }
.contact-form input:not([type="checkbox"]), .contact-form textarea { display: block; width: 100%; min-width: 0; min-height: 48px; margin-top: 8px; padding: 11px 12px; border: 1px solid #b7c6cf; border-radius: 2px; background: white; color: var(--ink); font-size: 16px; font-weight: 400; }
.contact-form .service-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.service-options legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.service-options .field-hint { grid-column: 1 / -1; margin: 0 0 4px; }
.service-options label { display: flex; align-items: flex-start; gap: 10px; min-height: 48px; padding: 12px; border: 1px solid var(--line); border-radius: 2px; cursor: pointer; }
.service-options label:has(:checked) { border-color: var(--accent); background: var(--pale); }
.service-options input[type="checkbox"] { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.contact-form textarea { resize: vertical; }
.contact-form [aria-invalid="true"] { border: 2px solid #a52323; }
.field-error { display: block; margin-top: 6px; color: #a52323; font-size: 13px; font-weight: 500; }
.field-error:empty, .form-status:empty { display: none; }
.form-trap { display: none; }
.form-status { margin: 0; padding: 16px; border-left: 3px solid var(--accent); background: var(--pale); font-size: 14px; }
.form-status[data-state="error"] { border-color: #a52323; background: #fff3f3; color: #821b1b; }
.form-status[data-state="success"] { border-color: #276348; background: #eef7f1; color: #204e39; }
.form-status:focus { outline: 3px solid #28768d; outline-offset: 3px; }
.form-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.contact-form button { width: 100%; }
.contact-form button:disabled { opacity: .65; cursor: wait; }

.site-footer { padding: 52px 32px 24px; background: var(--navy); color: white; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; width: min(var(--content), 100%); margin: auto; }
.footer-column h2, .footer-contact h2 { margin: 0 0 18px; color: #c5d5e0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.footer-brand strong { font-size: 19px; font-weight: 600; }
.footer-brand p { margin: 12px 0 0; color: #aebdca; font-size: 13px; }
.footer-office { margin-top: 20px; color: #aebdca; font-size: 13px; font-style: normal; }
.footer-office span { display: block; margin-bottom: 5px; color: white; font-weight: 600; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-column nav { flex-direction: column; align-items: flex-start; gap: 2px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 36px; font-size: 13px; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .service-link--planned { display: block; padding-block: 6px; }
.site-footer .service-availability { color: #aebdca; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-contact p { margin: 18px 0 0; color: #aebdca; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; align-items: center; grid-column: 1 / -1; margin-top: 10px; padding-top: 20px; border-top: 1px solid #354356; color: #aebdca; font-size: 11px; }
.footer-bottom a { font-size: 11px; }
.mobile-contact { display: none; }

@media (max-width: 1100px) {
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
  .service-features > div { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .service-examples { grid-template-columns: minmax(0, 1fr); }
  .team-profile { grid-template-columns: minmax(0, 1fr); }
  .team-photo { min-height: 0; aspect-ratio: 4 / 3; max-height: 440px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { align-items: start; }
  .section-heading > p { max-width: 320px; }
  .home-team-info { padding: 18px; }
  .detail-hero-inner { gap: 36px; }
  .site-intro { gap: 36px; }
  .service-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 32px; }
  .service-sidebar { padding: 22px; }
  .home-faq-inner { gap: 40px; }
  .contact-layout { grid-template-columns: .8fr 1.2fr; gap: 32px; }
  .contact-form { padding: 26px; }
  .contact-form .contact-fields { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero { min-height: 640px; padding: 40px 20px 48px; }
  .hero-content { padding: 0; }
  .hero h1 { font-size: clamp(38px, 6vw, 52px); }
  .hero-image, .hero-video { object-position: 59% center; }
}
@media (max-width: 700px) {
  .service-review { padding: 24px; }
  :root { --header-height: 165px; }
  .page-header { flex-wrap: wrap; min-height: 65px; padding: 10px 20px; gap: 10px 16px; }
  .page-logo { width: 120px; }
  .site-nav { width: 100%; justify-content: space-between; gap: 6px 12px; }
  .site-nav > a, .nav-services > summary { font-size: 13px; }
  .site-nav a[href$="contact.html"] { padding-inline: 12px; }
  .nav-ready .nav-toggle { display: inline-flex; }
  .nav-ready .site-nav { position: absolute; top: 100%; left: 0; display: none; align-items: stretch; gap: 0; max-height: calc(100vh - var(--header-height)); max-height: calc(100dvh - var(--header-height)); padding: 12px 20px 20px; overflow-y: auto; overscroll-behavior: contain; border-bottom: 1px solid var(--line); background: white; color: var(--ink); box-shadow: 0 12px 18px rgba(12,28,50,.12); }
  .nav-ready.nav-open .site-nav { display: flex; flex-direction: column; }
  .nav-ready .site-nav > a, .nav-ready .nav-services > summary { width: 100%; min-height: 48px; padding: 12px 10px; font-size: 14px; }
  .nav-ready .nav-services > summary { justify-content: space-between; }
  .nav-ready .site-nav a[href$="contact.html"] { margin-top: 10px; justify-content: center; background: var(--ink); border-color: var(--ink); color: white; }
  .nav-ready .service-menu { position: static; width: 100%; max-height: none; margin: 0 0 8px; padding: 4px; background: var(--pale); box-shadow: none; }
  .nav-ready .site-nav a:focus-visible, .nav-ready .site-nav summary:focus-visible { outline-color: var(--accent); outline-offset: -3px; }
  .partners { gap: 20px; padding: 26px 20px; }
  .home-team { gap: 16px; }
  .home-team-info { padding: 16px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
  .mobile-contact { position: fixed; z-index: 6; inset: auto 0 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; padding: 10px max(20px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); border-top: 1px solid var(--line); background: white; box-shadow: 0 -4px 20px rgba(12,28,50,.06); }
  .mobile-contact .button { min-height: 48px; padding: 10px 12px; font-size: 13px; }
  body:has(.contact-form :focus) .mobile-contact, body:has(.nav-services[open]) .mobile-contact, body:has(.nav-open) .mobile-contact { visibility: hidden; }
  .site-intro { grid-template-columns: minmax(0, 1fr); gap: 26px; width: calc(100% - 40px); padding: 56px 0; }
  .services { width: calc(100% - 40px); padding: 64px 0 55px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading > p { max-width: 520px; margin-top: 18px; }
  .service-body { padding: 22px; }
  .service-body h3 { font-size: 22px; }
  .service-note { align-items: flex-start; }
  .about-preview, .testimonials, .coverage { padding: 60px 20px; }
  .process { padding: 60px 20px; }
  .process-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .coverage-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .home-faq { padding: 56px 20px; }
  .home-faq-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .testimonial-list { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 30px; }
  .testimonials blockquote { padding: 26px; }
  .testimonials blockquote p { font-size: 16px; }
  .detail-hero { padding: 44px 20px; }
  .detail-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .detail-hero-image { max-height: 260px; }
  .detail-hero h1 { font-size: clamp(34px, 7vw, 48px); }
  .detail-hero > p, .detail-hero-inner > div > p:not(.eyebrow) { font-size: 16px; }
  .breadcrumbs { width: calc(100% - 40px); padding-block: 14px; }
  .service-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; width: calc(100% - 40px); padding: 48px 0 56px; }
  .service-sidebar { position: static; padding: 26px; }
  .related-services { padding: 44px 20px 52px; }
  .related-links { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .related-links a { min-height: 68px; padding: 18px; }
  .detail-content, .legal-page { width: calc(100% - 40px); padding: 48px 0 64px; }
  .detail-content h2 { font-size: 26px; }
  .detail-content ul { grid-template-columns: minmax(0, 1fr); }
  .detail-contact { padding: 24px; }
  .contact-page { padding: 44px 20px 60px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .contact-intro { padding: 0; }
  .contact-intro h1 br { display: none; }
  .contact-direct { margin: 24px 0; }
  .contact-direct a { font-size: 18px; }
  .contact-area { max-width: none; margin-bottom: 0; }
  .site-footer { padding: 40px 20px 24px; }
  .footer-inner { gap: 26px; }
}
@media (max-width: 580px) {
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .partner-card { min-height: 124px; padding: 14px; }
  .partner-card--paxton, .partner-card--efixx { grid-column: 1 / -1; padding: 0; }
  .partner-brand { flex-direction: row; gap: 30px; }
  .partner-certificate-link { padding: 12px 14px; }
  .partner-card .partner-logo--paxton { width: 100px; }
  .partner-badges { gap: 16px; }
  .partner-badges img { width: 38px; height: 52px; }
  .partner-card .partner-logo--ubiquiti { height: 92px; }
  .partner-card .partner-logo--texecom { height: 96px; }
  .home-team { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .home-team-info { padding: 22px; }
  .hero h1 { font-size: clamp(34px, 8.6vw, 46px); }
  .hero-description { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .nav-services { position: static; }
  .service-menu { left: 0; right: 0; width: auto; }
  .service-grid, .team-grid, .upcoming-services { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .service-note { flex-direction: column; gap: 8px; }
  .detail-contact { flex-direction: column; align-items: flex-start; }
  .detail-contact a { width: 100%; }
  .contact-form { padding: 24px 20px; }
  .contact-form .service-options { grid-template-columns: minmax(0, 1fr); }
  .coverage-actions .button { width: 100%; }
  .service-areas { padding: 24px; }
  .county-list li { font-size: 18px; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
