/* Jendpoint IT Services - site styles. Colours and type follow the approved brand guidelines. */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --navy: #14263d; --navy-deep: #0c1a2b; --teal: #087f8c; --teal-dark: #066570; --teal-light: #5cc8d2;
  --ink: #14263d; --slate: #4a5563; --line: #dde1e6; --field: #6b7684; --tint: #f7f9fc; --white: #fff;
  --tint-teal: #eef6f7; --tint-navy: #eff2f7; /* pale brand tints for full-width bands */
  --band-teal: #e8f3f4; --band-navy: #eaeef5; /* the Services band tints: a touch stronger, so the cycle shows */
  --error: #b42318; --error-bg: #fef3f2; --success-bg: #ecf8f9;
  --wrap: 72rem;
  /* One radius scale: sm for small controls, md for form fields, icon tiles and surfaces nested inside a card, lg for
     cards, accordions and form panels, xl for the large Services feature cards; pill for every button, chip and
     segmented control */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px; --radius: var(--r-sm); --radius-lg: var(--r-lg);
  --hairline: rgb(20 38 61 / .09); /* the 1px border on white cards */
  /* Motion: three durations and one easing curve, used by every transition and entrance */
  --dur-1: 150ms; --dur-2: 250ms; --dur-3: 400ms; --ease: cubic-bezier(.2, .7, .2, 1);
  /* Fluid type scale */
  --fs-display: clamp(2.6rem, 1.6rem + 4.6vw, 5rem);
  --fs-1: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
  --fs-2: clamp(1.5rem, 1.2rem + 1.2vw, 2.05rem);
  --fs-3: clamp(1.3rem, 1.15rem + .45vw, 1.45rem);
  --fs-4: 1.15rem; --fs-5: 1.05rem; --fs-eyebrow: .8rem;
  --on-navy: #d7dee7; /* body text on navy (11:1) */
  --icon-quiet: #7b8594; /* quiet icon colour, 3.7:1 on white (non-text minimum 3:1) */
  /* Two card elevations (resting, and raised for hover and the form panels), plus one overlay level for glass and
     floating surfaces over photos */
  --e1: 0 1px 2px rgb(20 38 61 / .06), 0 2px 6px rgb(20 38 61 / .05);   /* resting */
  --e2: 0 2px 4px rgb(20 38 61 / .06), 0 12px 28px rgb(20 38 61 / .1);  /* raised: hover */
  --e3: 0 4px 10px rgb(20 38 61 / .08), 0 28px 56px rgb(12 26 43 / .18); /* overlay: glass over photos */
  --shadow: var(--e2);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --font: "Archivo", Arial, Helvetica, sans-serif;
  --head-h: 72px; --bar-h: 64px; /* header height at the top of the page, and the condensed sticky bar (see Header) */
}
@media (min-width: 768px) { :root { --head-h: 76px; } }
@media (min-width: 1080px) { :root { --head-h: 104px; --bar-h: 72px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 1px + 1rem); }
/* With JavaScript the sticky header condenses to --bar-h, so anchors and focused elements land just below that bar */
html.js { scroll-padding-top: calc(var(--bar-h) + 1rem); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -0.01em; }
h1, h2 { letter-spacing: -0.02em; }
h1 { font-size: var(--fs-1); line-height: 1.12; }
/* Balanced headings and no one-word last lines in running text (browsers without support simply wrap as usual) */
h1, h2, h3, legend { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
h2 { font-size: var(--fs-2); line-height: 1.16; }
h3 { font-size: var(--fs-4); }
/* Running text keeps a comfortable measure (about 60-75 characters) */
p { margin: 0 0 1em; max-width: 70ch; }
/* Numbers that line up: references, counters, step numbers, phone numbers */
.reference, .artifact-ref, .sample-row dd, .form-progress-count, .how-num, .path-step::before, .char-count, .contact-list-detail, .footer-base,
.received-ref { font-variant-numeric: tabular-nums; }
a { color: var(--teal-dark); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
/* Text links in running copy: a faint 1px underline at rest (so links never rely on colour alone) and a 2px line that grows
   from the left on hover and keyboard focus. Both are backgrounds, so they sit at exactly the same place. */
main :is(p, li, dd) > a:not([class], .contact-list a), .not-link, .panel-more, .breadcrumbs a, .utility-links a, .footer-links a, .footer-inline a, .site-footer .contact-list-detail {
  text-decoration: none; padding-bottom: .12em;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(var(--link-line, rgb(6 101 112 / .45)), var(--link-line, rgb(6 101 112 / .45)));
  background-repeat: no-repeat; background-position: 0 100%, 0 100%; background-size: 0 2px, 100% 1px; }
main :is(p, li, dd) > a:not([class], .contact-list a):is(:hover, :focus-visible), .not-link:is(:hover, :focus-visible), .panel-more:is(:hover, :focus-visible), .breadcrumbs a:is(:hover, :focus-visible), .utility-links a:is(:hover, :focus-visible),
.footer-links a:is(:hover, :focus-visible), .footer-inline a:is(:hover, :focus-visible), .site-footer .contact-list a:is(:hover, :focus-visible) .contact-list-detail {
  background-size: 100% 2px, 100% 1px; }
/* The footer's links are navigation: no resting line, just the growing one */
.site-footer { --link-line: transparent; }
.error-summary { --link-line: rgb(180 35 24 / .45); }
@media (prefers-reduced-motion: no-preference) {
  main :is(p, li, dd) > a:not([class], .contact-list a), .not-link, .panel-more, .breadcrumbs a, .utility-links a, .footer-links a, .footer-inline a, .site-footer .contact-list-detail {
    transition: background-size var(--dur-2) var(--ease), color var(--dur-1) var(--ease); }
}
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 48rem; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: var(--white); padding: .75rem 1rem; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 1rem; color: var(--white); }
.lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--slate); max-width: 44rem; }
.lede-sm { font-size: 1.1rem; color: var(--slate); }
.muted { color: var(--slate); }

/* Buttons: one system. Every button is a pill, 52px tall (44px in the header), with its icon centred on the label, the same
   focus ring (light teal with a dark-teal keyline, so it shows on light and dark backgrounds), the same hover lift and the
   same press. Primary actions use .btn-cta-arrow: a navy pill with a round teal arrow badge (.btn-on-dark makes it white
   on navy, .btn-compact is the header size). Secondary actions use the outline .btn-secondary (.btn-outline-light on
   navy). .btn-ghost is the quiet Back button in the forms. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: .75rem 1.25rem;
  border-radius: var(--r-pill); border: 1.5px solid transparent; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2; }
.btn .icon { width: 20px; height: 20px; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-deep); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--tint-navy); color: var(--navy); box-shadow: var(--e1); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgb(255 255 255 / .7); }
.btn-outline-light:hover { background: rgb(255 255 255 / .1); color: var(--white); border-color: var(--white); }
.btn:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 2px; border-radius: var(--r-pill); box-shadow: 0 0 0 6px var(--teal-dark); }
/* The arrow CTA. An invisible spacer before the label grows only when the button is wider than its content (a full-width
   row), up to the badge's width, so the label stays centred there; at content width it takes no room. */
.btn-cta-arrow { justify-content: space-between; gap: .9rem; padding: .4rem .45rem; border: 0;
  background: var(--navy); color: var(--white); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 1px 2px rgb(12 26 43 / .2), 0 8px 18px -10px rgb(12 26 43 / .55); }
.btn-cta-arrow::before { content: ""; flex: 1 1 0; max-width: 38px; }
.btn-cta-arrow:hover { background: var(--navy); color: var(--white); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 2px 4px rgb(12 26 43 / .2), 0 16px 28px -12px rgb(12 26 43 / .6); }
.btn-cta-arrow:active { box-shadow: inset 0 2px 4px rgb(0 0 0 / .25); }
.cta-badge { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; overflow: hidden;
  background: var(--teal); box-shadow: inset 0 1px 0 rgb(255 255 255 / .18); }
.cta-badge svg { display: block; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-cta-arrow:hover .cta-badge, .btn-cta-arrow:focus-visible .cta-badge { background: #0a96a5; }
.btn-on-dark, .btn-on-dark:hover { background: var(--white); color: var(--navy); }
.btn-on-dark { box-shadow: 0 1px 2px rgb(0 0 0 / .2), 0 8px 18px -10px rgb(0 0 0 / .5); }
.btn-on-dark:hover { box-shadow: 0 2px 4px rgb(0 0 0 / .2), 0 16px 28px -12px rgb(0 0 0 / .55); }
.btn-compact { min-height: 44px; gap: .6rem; padding: .3rem .35rem; font-size: .95rem; }
.btn-compact::before { max-width: 30px; }
.btn-compact .cta-badge { width: 30px; height: 30px; }
.btn-compact .cta-badge svg { width: 16px; height: 16px; }
/* Below 360px a full-width row is too narrow to centre the label: label left, a slightly smaller badge */
@media (max-width: 359px) {
  .btn-cta-arrow:not(.btn-compact) { padding-left: 1.1rem; }
  .btn-cta-arrow:not(.btn-compact)::before { display: none; }
  .btn-cta-arrow:not(.btn-compact) .cta-badge { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), background-color var(--dur-1) var(--ease),
    border-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease); }
  .cta-badge { transition: background-color var(--dur-1) var(--ease); }
  .cta-badge svg { transition: transform var(--dur-2) var(--ease); }
  .btn:not(.btn-ghost):hover, .btn:not(.btn-ghost):focus-visible { transform: translateY(-2px); }
  .btn-cta-arrow:hover .cta-badge svg, .btn-cta-arrow:focus-visible .cta-badge svg { transform: translateX(3px); }
  .btn:active, .btn:not(.btn-ghost):active { transform: translateY(0) scale(.98); transition-duration: var(--dur-1); }
}
.btn[disabled], .btn[aria-disabled="true"] { opacity: .7; cursor: progress; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }
.button-row.center { justify-content: center; }
.icon { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; vector-effect: non-scaling-stroke; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { position: relative; display: inline-flex; flex: none; padding: .5rem 0; }
/* The full primary logo at every size (owner's decision), proportions exact: 48px on phones (44px at 360-374px and 38px
   below 360px, where 48px would meet the Menu button), 56px on tablets, 64px from 1080px */
.brand img { height: 48px; width: auto; max-width: none; display: block; }
@media (max-width: 374px) { .brand img { height: 44px; } }
@media (max-width: 359px) { .brand img { height: 38px; } }
@media (min-width: 768px) { .header-inner { min-height: 76px; } .brand .brand-logo { height: 56px; } }
.nav-toggle { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: .5rem 1.05rem .5rem .95rem; border: 1.5px solid var(--navy);
  background: var(--white); color: var(--navy); border-radius: var(--r-pill); font: inherit; font-weight: 600; cursor: pointer; }
.nav-toggle:focus-visible { outline-offset: 2px; border-radius: var(--r-pill); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; }
.nav-toggle-bars::before { position: absolute; top: -6px; } .nav-toggle-bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
.site-nav { display: none; }
.js .site-nav.open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(20, 38, 61, .08); padding: .5rem 1.25rem 1.25rem;
  max-height: calc(100dvh - var(--head-h)); overflow-y: auto; overscroll-behavior: contain; } /* the header sticks, so the menu scrolls itself */
/* Without JavaScript, no-js.css (loaded via <noscript>) shows the navigation expanded on small screens */
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a { position: relative; display: block; padding: .8rem .25rem; text-decoration: none; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
/* Current page: semibold in the brand teal in the phone menu; from 1080px the same colour as the other links with the
   underline held full (teal on white, light teal on the navy bar) */
.nav-list a[aria-current="page"] { color: var(--teal-dark); font-weight: 600; }
.nav-actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 1rem; }
@media (min-width: 1080px) {
  .header-inner { min-height: 104px; }
  .brand .brand-logo { height: 64px; }
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 1.75rem; width: auto; padding: 0; }
  .nav-list { display: flex; gap: 1.5rem; }
  .nav-list a { border: 0; padding: .5rem 0 calc(.5rem + 2px); }
  .nav-list a[aria-current="page"] { color: var(--ink); }
  /* The underline grows from the left on hover and keyboard focus */
  .nav-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--teal);
    transform: scaleX(0); transform-origin: left; }
  .nav-list a:hover::after, .nav-list a:focus-visible::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-actions { flex-direction: row; align-items: center; margin: 0; gap: 1.25rem; }
}
@media (min-width: 1080px) {
  .nav-list a, .nav-actions .btn { white-space: nowrap; }
}

/* Sticky header. It keeps its full height in the page and sticks with its top part above the viewport, so only a
   condensed bar (--bar-h) stays in view and nothing below it ever moves (no layout shift). enhance.js turns on the navy
   "is-scrolled" state as it sticks: an IntersectionObserver watches .header-sentinel, which covers exactly the part
   that goes out of view. Inside the bar, everything moves by transform and opacity only. Without JavaScript the header
   sticks at full height in white (no-js.css releases it on phones, where the menu shows expanded). */
.js .site-header { top: calc(var(--bar-h) - var(--head-h) - 1px); }
.header-sentinel { height: calc(var(--head-h) - var(--bar-h) + 1px); margin-bottom: calc(var(--bar-h) - var(--head-h) - 1px); visibility: hidden; pointer-events: none; }
/* The full reverse logo (owner's decision): 48px below 1080px (44px at 360-374px and 38px below 360px, as above), 56px
   from 1080px, so "IT SERVICES" is over 7px tall on desktop. Same proportions throughout. */
.brand .brand-logo-bar { position: absolute; left: 0; top: 50%; height: 48px; width: auto; max-width: none; transform: translateY(-50%); opacity: 0; visibility: hidden; }
@media (max-width: 374px) { .brand .brand-logo-bar { height: 44px; } }
@media (max-width: 359px) { .brand .brand-logo-bar { height: 38px; } }
@media (min-width: 1080px) { .brand .brand-logo-bar { height: 56px; } }
.site-header.is-scrolled { background: var(--navy); border-bottom-color: rgb(255 255 255 / .08); box-shadow: 0 6px 20px rgb(12 26 43 / .18); }
/* Frosted navy. Dimming what shows through keeps the bar the same navy as the footer over light pages. */
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header.is-scrolled { background: rgb(20 38 61 / .92); -webkit-backdrop-filter: blur(14px) brightness(.2); backdrop-filter: blur(14px) brightness(.2); }
}
.is-scrolled .header-inner { transform: translateY(calc((var(--head-h) - var(--bar-h)) / 2)); } /* centre in the visible bar */
.is-scrolled .brand-logo { opacity: 0; }
.is-scrolled .brand .brand-logo-bar { opacity: 1; visibility: visible; }
/* The bar logo is positioned over the link, so the focus ring goes round the logo itself */
.is-scrolled .brand:focus-visible { outline-color: transparent; }
.is-scrolled .brand:focus-visible .brand-logo-bar { outline: 3px solid var(--teal-light); outline-offset: 3px; border-radius: 2px; }
.is-scrolled :focus-visible { outline-color: var(--teal-light); }
.is-scrolled .nav-toggle { background: transparent; color: var(--white); border-color: rgb(255 255 255 / .75); }
.is-scrolled .nav-list a { color: var(--white); }
.is-scrolled .nav-list a[aria-current="page"] { color: var(--teal-light); }
.is-scrolled .nav-actions .btn-cta-arrow, .is-scrolled .nav-actions .btn-cta-arrow:hover { background: var(--white); color: var(--navy); }
/* The phone menu opens straight below the bar, in the same navy (the inner row is shifted, so its 100% is too) */
.js .is-scrolled .site-nav.open { top: calc(100% - (var(--head-h) - var(--bar-h)) / 2); background: var(--navy);
  border-bottom-color: rgb(255 255 255 / .08); box-shadow: 0 16px 32px rgb(12 26 43 / .28); }
.is-scrolled .site-nav.open .nav-list a { border-bottom-color: rgb(255 255 255 / .12); }
@media (min-width: 1080px) {
  .is-scrolled .nav-list a[aria-current="page"] { color: var(--white); }
  .is-scrolled .nav-list a::after { background: var(--teal-light); }
}
/* Reading progress: a 2px teal line along the bottom of the bar with a light-teal endpoint dot at its leading edge,
   driven by the page scroll itself (no JavaScript). Hidden where scroll-driven animations aren't supported. */
.header-progress { display: none; }
@supports (animation-timeline: scroll()) {
  .header-progress { display: block; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; clip-path: inset(-3px 0); opacity: 0; pointer-events: none; }
  .header-progress::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 6px;
    background: radial-gradient(circle at calc(100% - 3px) 50%, var(--teal-light) 2.5px, transparent 3px),
      linear-gradient(var(--teal), var(--teal)) 0 50% / calc(100% - 3px) 2px no-repeat;
    transform: translateX(-100%); animation: header-progress linear both; animation-timeline: scroll(root block); }
  .is-scrolled .header-progress { opacity: 1; }
}
@keyframes header-progress { to { transform: none; } }
/* About 200ms, only for people who haven't asked for less motion. Turned on after the first check, so a page opened
   mid-scroll (a reload or an anchor link) starts in the right state without animating. */
@media (prefers-reduced-motion: no-preference) {
  .site-header.is-ready { transition: background-color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
  .is-ready .header-inner { transition: transform var(--dur-2) var(--ease); }
  .is-ready .brand-logo, .is-ready .brand-logo-bar { transition: opacity var(--dur-2) var(--ease), visibility var(--dur-2); }
  .is-ready :is(.nav-list a, .nav-toggle) { transition: color var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease); }
  .is-ready .nav-actions .btn { transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), color var(--dur-2) var(--ease),
    background-color var(--dur-2) var(--ease); }
  .nav-list a::after { transition: transform var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease); }
}

/* Sections */
.section { padding: clamp(3rem, 2rem + 4vw, 5rem) 0; }
.section-tint { --ring: var(--tint); background: var(--tint); }
.section-navy { background: var(--navy); }
@media (max-width: 767px) { .section-compact { padding: 2.5rem 0; } .section-compact .section-head { margin-bottom: 1.25rem; } }
/* A white section straight after another white one: the previous section's bottom padding is the gap */
.section.section-join { padding-top: 0; }
.section-head { max-width: 44rem; margin-bottom: 2rem; }
/* Section heading accent: a short line ending in the teal "endpoint" dot. Used on .section-head only (not the map section). */
.section-head > h2::before { content: ""; display: block; width: 36px; height: 8px; margin-bottom: .8rem;
  background: linear-gradient(var(--teal), var(--teal)) 0 50% / 30px 2px no-repeat,
    radial-gradient(circle, var(--teal) 3.5px, transparent 4px) 100% 50% / 8px 8px no-repeat; }
.page-intro { padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0 clamp(2rem, 1.5rem + 2vw, 3rem); background: var(--tint); border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 40rem; }

/* Glass surface (Home hero card, How it works on desktop): at least 88% white, so text contrast holds over any photo.
   Blurs what is behind it where supported; elsewhere it is a near-solid white card. */
.glass { border-radius: var(--r-lg); background: rgb(255 255 255 / .9); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .55), var(--e3); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass { -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .glass { background: rgb(255 255 255 / .96); } }

/* Hero */
.hero { padding: clamp(2.5rem, 2rem + 4vw, 5.5rem) 0; background: linear-gradient(180deg, var(--tint), var(--white)); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { max-width: 34rem; }
.hero .lede, .hero .cta-row { max-width: 36rem; }
/* Home hero: on phones at most two buttons, Request Service and Call (email stays in the footer and on Contact);
   from 768px every configured button shares one row */
@media (max-width: 767px) { .hero .cta-row:has(> [href^="tel:"]) > [href^="mailto:"] { display: none; } }
@media (min-width: 768px) { .hero .cta-row { max-width: none; } }
/* "What we handle": the glass card beside the copy from 900px; soft, non-interactive tags under the buttons below that */
.hero-card { display: none; }
.hero-card h2 { font-size: var(--fs-4); margin-bottom: .6rem; }
.hero-card .check-list { margin: 0; }
.hero-card .check-list li { padding: .3rem 0; }
.hero-tags { margin-top: 1.75rem; }
.hero-tags-title { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin: 0 0 .6rem; }
.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem .4rem .6rem; border-radius: var(--r-pill); background: rgb(20 38 61 / .06);
  color: var(--navy); font-size: .9rem; font-weight: 600; line-height: 1.3; }
.handle-icon { flex: none; fill: none; stroke: var(--teal-dark); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 23rem; gap: 4rem; }
  .hero-card { display: block; padding: 1.6rem 1.75rem 1.3rem; }
  .hero-tags { display: none; }
}

.check-list, .plain-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; padding: .35rem 0; }
.check { flex: none; margin-top: .35rem; fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.plain-list li { padding: .35rem 0 .35rem 1.1rem; position: relative; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: .95em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* Cards */
.card-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); }
.card { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--e1); }
.card-media .photo, .panel-media .photo, .band-media .photo, .svc-card-media .photo, .svc-hero-frame .photo, .dispatch-photo .photo { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Focal points for the CSS crops of the 3:2 photo masters: portrait and square Home cards, 16:9 phone panels, the Services
   tablet strip and full-height desktop column, and the MSP band */
.photo-svc-computers { object-position: 50% 50%; }
.photo-svc-pos { object-position: 62% 50%; }
.photo-svc-network { object-position: 50% 55%; }
.photo-svc-installations { object-position: 50% 45%; }
.photo-msp-band { object-position: 35% 62%; }
/* Services cards on tablets: a wide strip whose lower half fades, so the subject sits a little higher in it */
@media (min-width: 768px) and (max-width: 1099px) {
  .panel-media .photo-svc-computers { object-position: 50% 32%; }
  .panel-media .photo-svc-installations { object-position: 50% 58%; }
}
.service-icon { margin-bottom: 1rem; flex: none; }
.service-icon-tile { fill: var(--navy); }
.service-icon path { fill: none; stroke: var(--white); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.service-icon-dot { fill: var(--teal-light); }
.audience-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem 1rem; grid-template-columns: 1fr 1fr; }
.audience-grid > .audience:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 1000px) { .audience-grid { grid-template-columns: repeat(5, 1fr); gap: 2rem; } .audience-grid > .audience:last-child:nth-child(odd) { grid-column: auto; } }
.audience h3 { font-size: var(--fs-5); margin: 1.15rem 0 .3rem; }
.audience p { color: var(--slate); margin: 0; font-size: .95rem; line-height: 1.5; }
/* Navy tile with a soft top-left light for depth, white line icon, light-teal endpoint dot and a faint light-teal halo.
   The tile is flush with the text's left edge; the 6px halo sits outside it, in the grid gap. 56px on phones, 64px from
   768px; the glyph keeps the same stroke weight at both sizes. */
.audience-icon { display: block; width: 56px; height: 56px; padding: 11px; border-radius: 14px;
  background: linear-gradient(150deg, #22406a 0%, var(--navy) 55%, var(--navy-deep) 100%);
  box-shadow: 0 0 0 6px rgb(92 200 210 / .16), inset 0 1px 0 rgb(255 255 255 / .12), 0 6px 14px -6px rgb(12 26 43 / .45);
  fill: none; stroke: var(--white); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.audience-icon-dot { fill: var(--teal-light); stroke: none; transform-box: fill-box; transform-origin: center; }
@media (min-width: 768px) { .audience-icon { width: 64px; height: 64px; padding: 12px; border-radius: 16px; } }
/* Signature hover (mouse, motion welcome): the tile lifts, the icon redraws its strokes, then the endpoint dot pulses once */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .audience-icon { transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
  .audience:hover .audience-icon { transform: translateY(-2px);
    box-shadow: 0 0 0 7px rgb(92 200 210 / .24), inset 0 1px 0 rgb(255 255 255 / .12), 0 14px 24px -10px rgb(12 26 43 / .5); }
  .audience:hover .audience-icon path { stroke-dasharray: 1; animation: icon-draw var(--dur-3) var(--ease) both; }
  .audience:hover .audience-icon-dot { animation: dot-pulse var(--dur-3) var(--ease) var(--dur-3) both; }
}
@keyframes icon-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes dot-pulse { 0%, 100% { transform: none; } 40% { transform: scale(1.45); } }
/* For MSPs: "What we can do on site" as a bento grid. Navy cards (light text), teal-tinted and white cards, each with a
   brand icon tile; the smart-hands card is the large hero card. Cards lift slightly on hover (mouse) and the hero card also
   when its link has keyboard focus; nothing is revealed on hover, so touch screens miss nothing. */
.bento { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.bento-card { position: relative; display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid var(--hairline); border-radius: var(--r-lg); box-shadow: var(--e1); }
.bento-card h3 { margin: 1rem 0 .35rem; font-size: var(--fs-4); }
.bento-card p { margin: 0; color: var(--slate); }
.bento-card .tile-icon { margin: 0; }
.bento-white { background: var(--white); }
.bento-teal { background: var(--tint-teal); }
.bento-navy { border-color: transparent; background: var(--navy); color: var(--white); }
.bento-navy h3 { color: var(--white); }
.bento-navy p { color: var(--on-navy); }
.bento-navy .service-icon-tile { fill: var(--teal); }
.bento-navy :focus-visible { outline-color: var(--teal-light); }
.bento-hero { padding: 2rem; background: radial-gradient(120% 90% at 100% 0%, rgb(8 127 140 / .45), transparent 60%), var(--navy); }
.bento-hero h3 { font-size: var(--fs-3); margin-top: auto; padding-top: 1.75rem; }
.bento-chips { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.bento-chips li { padding: .35rem .85rem; border-radius: var(--r-pill); background: rgb(255 255 255 / .1); color: var(--on-navy); font-size: .875rem; font-weight: 600; }
.bento-hero p { font-size: 1.05rem; max-width: 30rem; }
.bento-cta { align-self: flex-start; margin-top: 1.5rem; }
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "hero hero" "checks replace" "coord evidence" "deploy deploy"; }
  .bento-hero { grid-area: hero; } .bento-checks { grid-area: checks; } .bento-replace { grid-area: replace; }
  .bento-coord { grid-area: coord; } .bento-evidence { grid-area: evidence; } .bento-deploy { grid-area: deploy; }
}
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem;
    grid-template-areas: "hero hero checks replace" "hero hero coord coord" "evidence evidence deploy deploy"; }
  .bento-hero { padding: 2.25rem; }
}
/* Phones: the small cards put the icon beside the title, so six short cards don't take two screens */
@media (max-width: 639px) {
  .bento-card:not(.bento-hero) { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 1rem; padding: 1.25rem; }
  .bento-card:not(.bento-hero) .tile-icon { grid-row: span 2; }
  .bento-card:not(.bento-hero) h3 { margin: .1rem 0 .3rem; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .bento-card { transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
  .bento-card:hover, .bento-hero:focus-within { transform: translateY(-2px); box-shadow: var(--e2); }
}

/* For MSPs: "What you receive", an illustrative completion note built in HTML and clearly labelled as a sample */
.receive { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .receive { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; } }
.receive-copy .lede-sm { margin: 0; }
.sample-note { margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--e3); }
.sample-note-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: 1rem 1.5rem;
  background: var(--navy); color: var(--white); }
.sample-note-title { margin: 0; font-weight: 700; font-size: 1.1rem; }
.sample-badge { order: 2; padding: .25rem .7rem; border-radius: var(--r-pill); background: rgb(255 255 255 / .14); color: var(--white);
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sample-note-body { margin: 0; padding: .5rem 1.5rem; }
.sample-row { display: grid; gap: .15rem 1.5rem; padding: .8rem 0; border-bottom: 1px dashed var(--line); }
.sample-row:last-child { border-bottom: 0; }
.sample-row dt { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); }
.sample-row dd { margin: 0; color: var(--ink); }
.sample-row:first-child dd { font-family: var(--mono); font-size: .95rem; letter-spacing: .02em; }
@media (min-width: 560px) { .sample-row { grid-template-columns: 9.5rem minmax(0, 1fr); align-items: baseline; } }
.sample-note-foot { padding: .9rem 1.5rem; background: var(--tint); color: var(--slate); font-size: .875rem; }

/* For MSPs: "Good to know" as a tidy tinted checklist panel */
.know-panel { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-lg); background: var(--tint-teal); }
.know-panel h2 { margin-bottom: 1rem; }
.know-list { display: grid; gap: .25rem 2.5rem; margin: 0; }
@media (min-width: 900px) { .know-list { grid-template-columns: 1fr 1fr; } }

/* How it works: "the path to the endpoint". One line, like a cable, threads the step tiles and ends in the brand's
   teal endpoint dot. Vertical on phones and tablets, horizontal from 1000px. */
.path { list-style: none; margin: 0; padding: 0 0 2.25rem; counter-reset: step; position: relative; display: grid; gap: 2rem; view-timeline: --path block; }
.path::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 7px; width: 2px; background: var(--teal); border-radius: 2px; }
.path::after { content: ""; position: absolute; left: 17px; bottom: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 5px rgb(8 127 140 / .18); }
.path-step { counter-increment: step; position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 1rem; }
.path-step::before { content: counter(step); position: absolute; z-index: 2; top: -6px; left: 34px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal); color: var(--white); display: grid; place-items: center; font-size: .75rem; font-weight: 700; box-shadow: 0 0 0 2px var(--ring, var(--white)); }
/* The rings around the step icons and numbers mask the line; --ring matches the section background (set on .section-tint) */
.step-icon { display: block; position: relative; z-index: 1; border-radius: var(--r-md); box-shadow: 0 0 0 6px var(--ring, var(--white)); }
.step-icon path { fill: none; stroke: var(--white); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.path-text h3 { margin: .2rem 0 .3rem; }
.path-text p { color: var(--slate); margin: 0; }
.artifact { display: inline-flex; align-items: center; gap: .5rem; margin-top: .9rem; padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--tint); color: var(--navy); font-size: .875rem; font-weight: 600; line-height: 1.3; }
.artifact .check { margin: 0; }
.artifact-label { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.artifact-ref { font-family: var(--mono); letter-spacing: .02em; }
.artifact-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgb(8 127 140 / .2); }
.artifact-handover { display: block; max-width: 12.5rem; padding: .5rem .9rem; border: 0; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow); }
.artifact-handover ul { list-style: none; margin: 0; padding: 0; }
.artifact-handover li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .25rem 0; }
.artifact-handover li + li { border-top: 1px dashed var(--line); }
@media (min-width: 1000px) {
  .path { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0 2.5rem 0 0; }
  .path::before { left: 24px; right: 7px; top: 23px; bottom: auto; width: auto; height: 2px; }
  .path::after { left: auto; right: 0; top: 17px; bottom: auto; }
  .path-step { display: block; }
  .path-step .step-icon { margin-bottom: 1.25rem; }
}
/* The line draws itself as the section scrolls into view, where supported and motion is welcome; otherwise it is simply drawn */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .path::before { transform-origin: top; animation: path-draw-y linear both; animation-timeline: --path; animation-range: entry 10% cover 45%; }
    .path::after { animation: path-end linear both; animation-timeline: --path; animation-range: cover 40% cover 50%; }
    @media (min-width: 1000px) { .path::before { transform-origin: left; animation-name: path-draw-x; } }
  }
}
@keyframes path-draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes path-draw-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes path-end { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }

/* How it works showcase. enhance.js builds it from the static path above and adds .how-on; without JavaScript the
   path shows and the background photo stays display:none (lazy, so never downloaded). Steps are tabs: numbered
   circles on a rail that fills toward the teal endpoint dot. Vertical list beside a glass card from 900px; numbered
   dots above a swipeable card below that. Text sits on 88-92% white, so contrast holds over the photo. */
.how { position: relative; overflow: hidden; }
.how-bg { display: none; }
.how-on.has-backdrop { background: var(--tint); }
.how-on.has-backdrop .how-bg { display: block; position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.how-on > .wrap { position: relative; z-index: 1; }
.how-on .path { display: none; }
.how-shell { display: grid; gap: 1rem; }
.how-nav { padding: 1.25rem 1.25rem 1.5rem; }
.how-nav-head { margin-bottom: 1.25rem; }
.how-nav-head .section-head, .how-nav-head h2 { margin: 0; }
/* Discreet pause/play control at the end of the progress bar: icon only (labelled for assistive technology), a quiet grey
   that still keeps 3:1 against the panel so it stays identifiable, navy on hover or focus. 26px target. */
.how-track { position: relative; }
.how-ctl { position: absolute; z-index: 2; right: 0; bottom: -11px; display: grid; place-items: center; width: 26px; height: 26px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: #7b8594; cursor: pointer; }
.how-ctl:hover, .how-ctl:focus-visible { color: var(--navy); background: rgb(20 38 61 / .08); }
.how-ctl-icon { width: 8px; height: 10px; background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 5px, currentColor 5px); }
.how-ctl[data-state="stopped"] .how-ctl-icon { width: 0; height: 0; margin-left: 2px; background: none; border-left: 9px solid currentColor;
  border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent; }
.how-tabs { position: relative; display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; }
/* The rail: grey track and teal fill from the first circle to the endpoint dot. Fill: 0, 1/4, 1/2, then all the way at step 4. */
.how-tabs::before, .how-tabs::after { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 2px; border-radius: 2px; background: var(--line); }
.how-tabs::after { background: var(--teal); transform-origin: left; transform: scaleX(0); }
.how-shell[data-step="2"] .how-tabs::after { transform: scaleX(.25); }
.how-shell[data-step="3"] .how-tabs::after { transform: scaleX(.5); }
.how-shell[data-step="4"] .how-tabs::after { transform: scaleX(1); }
.how-tab { z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: none; color: var(--slate); font: inherit; cursor: pointer; }
.how-num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--white); color: var(--slate);
  box-shadow: inset 0 0 0 2px #c5ced8; font-size: .9rem; font-weight: 700; }
.how-tab.is-done .how-num, .how-tab[aria-selected="true"] .how-num { background: var(--teal); color: var(--white); box-shadow: none; }
.how-tab[aria-selected="true"] .how-num { box-shadow: 0 0 0 4px rgb(8 127 140 / .18); }
.how-tab-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.how-progress { display: none; }
.how-tab[aria-selected="true"] .how-progress { display: block; position: absolute; left: 0; right: 36px; bottom: 0; height: 3px; border-radius: 3px;
  background: var(--line); overflow: hidden; }
.how-progress-fill { display: block; height: 100%; background: var(--teal); transform-origin: left; }
.how-end { z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; }
.how-end::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px #c5ced8; }
.how-shell[data-step="4"] .how-end::before { background: var(--teal); box-shadow: 0 0 0 5px rgb(8 127 140 / .18); }
.how-stage { position: relative; display: grid; padding: 1.5rem 1.25rem; touch-action: pan-y; }
.how-panel { grid-area: 1 / 1; visibility: hidden; opacity: 0; }
.how-panel.is-active { visibility: visible; opacity: 1; }
.how-panel .step-icon { box-shadow: none; margin-bottom: 1rem; }
.how-panel h3 { font-size: var(--fs-3); margin: 0 0 .4rem; }
.how-panel p { color: var(--slate); margin: 0; max-width: 34rem; }
.how-panel:focus-visible { outline-offset: 6px; border-radius: var(--r-sm); }
@media (max-width: 899px) {
  /* Phones and tablets: the photo is already blurred, so a near-solid card looks the same without backdrop-filter's cost */
  .how-on .glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(255 255 255 / .92); box-shadow: var(--e2); }
}
@media (min-width: 900px) {
  .how-shell { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem; align-items: stretch; }
  .how-nav { padding: 1.75rem 1.75rem 1.5rem; }
  /* 900-959px: a little less side padding keeps every step title on one line, which the pause/play offsets assume */
  @media (max-width: 959px) { .how-nav { padding-inline: 1.25rem; } }
  .how-nav-head { margin-bottom: 1rem; }
  /* Vertical list: each step and the endpoint are 64px tall, so the circles are evenly spaced along the rail */
  .how-tabs { display: block; padding: 0; }
  .how-tabs::before, .how-tabs::after { left: 15px; right: auto; top: 32px; bottom: 32px; width: 2px; height: auto; }
  .how-tabs::after { transform-origin: top; transform: scaleY(0); }
  .how-shell[data-step="2"] .how-tabs::after { transform: scaleY(.25); }
  .how-shell[data-step="3"] .how-tabs::after { transform: scaleY(.5); }
  .how-shell[data-step="4"] .how-tabs::after { transform: scaleY(1); }
  .how-tab { display: grid; grid-template-columns: 32px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 1rem; align-content: center; place-items: center start;
    position: relative; width: 100%; height: 64px; padding: 0 2.75rem 0 0; border-radius: var(--r-sm); text-align: left; }
  .how-num { grid-row: 1 / span 2; }
  .how-tab-title { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; font-weight: 600; color: var(--slate); }
  .how-tab[aria-selected="true"] .how-tab-title { color: var(--navy); font-weight: 700; }
  .how-tab:hover .how-tab-title { color: var(--navy); }
  .how-progress { display: block; visibility: hidden; width: 100%; height: 3px; margin-top: .45rem; border-radius: 3px; background: var(--line); overflow: hidden; }
  .how-tab[aria-selected="true"] .how-progress { position: static; visibility: visible; }
  .how-end { position: relative; width: 32px; height: 64px; }
  /* The control rides at the end of the active step's progress bar: each step is 64px tall, the bar sits ~49px down */
  .how-ctl { bottom: auto; top: 36px; right: 4px; }
  .how-shell[data-step="2"] .how-ctl { top: 100px; }
  .how-shell[data-step="3"] .how-ctl { top: 164px; }
  .how-shell[data-step="4"] .how-ctl { top: 228px; }
  .how-stage { padding: 2.25rem 2.5rem; align-content: center; }
  .how-panel p { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .how-tabs::after { transition: transform var(--dur-3) var(--ease); }
  .how-ctl { transition: top var(--dur-3) var(--ease), color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease); }
  .how-panel { transform: translateY(10px); transition: opacity var(--dur-2) var(--ease), transform var(--dur-3) var(--ease), visibility 0s linear var(--dur-2); }
  .how-panel.is-active { transform: none; transition: opacity var(--dur-2) var(--ease), transform var(--dur-3) var(--ease), visibility 0s; }
}

/* Coverage */
.coverage { display: grid; gap: 2rem; align-items: center; }
.coverage-map { order: -1; }
.ma-map { display: block; width: 100%; max-width: 40rem; height: auto; margin: 0 auto; }
.ma-map-land { fill: var(--white); }
.ma-map-dots { fill: none; stroke: var(--teal); stroke-width: 5.2; stroke-linecap: round; }
.ma-map-outline { fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linejoin: round; }
.coverage-points { list-style: none; margin: 1.25rem 0 1.75rem; padding: 0; }
.coverage-points li { position: relative; padding: .4rem 0 .4rem 1.75rem; font-weight: 600; }
.coverage-points li::before { content: ""; position: absolute; left: 0; top: .85em; width: 12px; height: 12px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 4px rgb(8 127 140 / .15); }
@media (min-width: 900px) { .coverage { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 3.5rem; } .coverage-map { order: 0; } }

.band { background: var(--navy); color: var(--white); border-radius: var(--r-lg); padding: clamp(1.75rem, 1rem + 3vw, 3rem); display: grid; gap: 1.5rem; align-items: center; }
.band h2 { color: var(--white); }
.band p { color: #d7dee7; margin: 0; max-width: 44rem; }
.band :focus-visible { outline-color: var(--teal-light); }
.section-navy .band { background: none; border-radius: 0; padding: 0; }
.band-copy .btn { margin-top: 1.5rem; }
.band-media { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg); background: var(--navy-deep); }
@media (min-width: 900px) { .band-photo { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; } .band-media { aspect-ratio: 4 / 3; } }

/* FAQs */
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 600; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .85rem; font-size: 1.5rem; line-height: 1; color: var(--teal-dark); }
.faq[open] summary::after { content: "\2212"; }
.faq p { color: var(--slate); padding-bottom: .5rem; }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group-title { margin-bottom: 1rem; font-size: var(--fs-eyebrow); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); }
.faq-page .faq-list { display: grid; gap: .75rem; border: 0; }
.faq-page .faq { border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--e1); }
.faq-page .faq[open] { border-color: var(--teal); box-shadow: inset 3px 0 0 var(--teal), var(--e1); }
.faq-page .faq[open]:hover { box-shadow: inset 3px 0 0 var(--teal), var(--e2); }
.faq-page .faq summary { display: flex; align-items: center; min-height: 64px; padding: 1rem 4rem 1rem 1.5rem; }
.faq-page .faq summary::after { top: 50%; right: 1rem; width: 32px; height: 32px; border-radius: 50%; background: var(--tint); display: grid; place-items: center;
  font-size: 1.35rem; transform: translateY(-50%); }
.faq-page .faq[open] summary::after { background: var(--teal); color: var(--white); }
.faq-page .faq p { margin: 0; padding: 0 1.5rem 1.25rem; }
.closing { text-align: center; }
.closing .lede-sm { margin: 0 auto; max-width: 36rem; }
.closing p, .about-cta p { margin-inline: auto; }
.closing .button-row { justify-content: center; }
/* Action rows: Request Service plus the configured contact buttons. If the whole row can't fit on one line, every button
   goes full width instead of wrapping raggedly. Each threshold is the row's measured natural width (buttons + 12px gaps,
   at the arrow pill's and outline pills' sizes) plus a few pixels. Without container-query support the row simply wraps. */
.cta-row { container-type: inline-size; }
@container (width < 21.5rem) { .cta-row:has(> :nth-child(2)) > .btn { flex: 1 1 100%; } }
@container (width < 23.5rem) { .cta-row:has(> [href^="https://wa.me/"]) > .btn { flex: 1 1 100%; } }
@container (width < 24rem) { .cta-row:has(> [href="/services"]) > .btn { flex: 1 1 100%; } }
@container (width < 28.5rem) { .cta-row:has(> [href^="tel:"]) > .btn { flex: 1 1 100%; } }
@container (width < 36rem) { .cta-row:has(> :nth-child(3)) > .btn { flex: 1 1 100%; } }
@container (width < 37.75rem) { .cta-row:has(> :nth-child(3)):has(> [href^="tel:"]) > .btn { flex: 1 1 100%; } }
@container (width < 43.25rem) { .cta-row:has(> [href^="/for-msps"]):has(> [href^="tel:"]) > .btn { flex: 1 1 100%; } }
@container (width < 48rem) { .cta-row:has(> :nth-child(4)) > .btn { flex: 1 1 100%; } }

/* Services detail */
.jump ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.5rem 0 0; }
.jump a { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .4rem .95rem .4rem .45rem; border: 1px solid var(--line);
  border-radius: var(--r-pill); background: var(--white); text-decoration: none; font-weight: 500; }
.jump .service-icon { width: 28px; height: 28px; margin: 0; }
.jump .service-icon path { stroke-width: 1.5; }
@media (max-width: 767px) {
  /* One scrolling row; the chip cut off at the right edge hints that there is more (no fade, which would dim its text) */
  .jump ul { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; margin: 1.25rem -1.25rem 0; padding: .25rem 3rem .75rem 1.25rem;
    scroll-padding-inline: 1.25rem 3rem; scrollbar-width: none; }
  .jump li { flex: none; }
  .jump a { white-space: nowrap; }
}
/* Phone: every group is a white card on one tint background, 24px apart, with an accordion. From 768px each group is a
   larger card, centred in the wrap and about 56px from the next, on an off-white backdrop. Each card has its own soft
   tint (off-white, pale teal, pale navy, repeating) and shows one list at a time under tabs: tablets get the photo on
   top, its bottom edge fading into the card; from 1100px the photo fills the left side at full card height, its right
   edge dissolving into the card (mask-image). Text only ever sits on the solid card, never on the photo or its fade. */
.service-detail { background: var(--tint); padding: .75rem 0; }
.page-intro + .service-detail { padding-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.service-detail:last-child { padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.service-panel { overflow: hidden; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--e1); }
.panel-media { aspect-ratio: 16 / 9; background: var(--tint); }
.panel-body { padding: 1.25rem 1.25rem 1.5rem; }
.service-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: .75rem; }
.has-media .service-head { flex-direction: column; gap: .6rem; }
/* Phones: the tile straddles the photo's bottom edge. The photo is its own stacking context (its view-transition-name, and
   opacity while a lazy photo fades in), which paints above unpositioned content; position: relative puts the tile in the
   same layer, where it comes later in the document and so paints on top. No z-index needed. */
.has-media .panel-body .service-icon { position: relative; margin: -44px 0 0; border-radius: 13px;
  box-shadow: 0 0 0 4px var(--tint), 0 6px 16px -4px rgb(12 26 43 / .32); }
.service-head h2 { font-size: var(--fs-3); margin-bottom: .25em; }
.service-head .lede-sm { font-size: 1rem; margin-bottom: 0; max-width: none; } /* one line on desktop, as approved */
.service-cols { display: grid; margin-bottom: 1.25rem; }
.service-cols h3 { display: flex; align-items: center; min-height: 44px; font-size: var(--fs-5); margin: 0; }
.service-problems { margin-bottom: .75rem; }
.service-problems .plain-list li { padding-top: .2rem; padding-bottom: .2rem; }
.service-cols ul { margin: 0; }
/* Phone accordion: "How we help" and "Good to know" as two matching rows with the round +/- used on the FAQs page */
.service-cols .service-col-title { display: none; } /* phones: the accordion rows are the titles */
.service-more { border-top: 1px solid var(--line); }
.service-col:last-child > .service-more { border-bottom: 1px solid var(--line); }
.service-more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px;
  font-size: 1.05rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
.service-more > summary::-webkit-details-marker { display: none; }
.service-more > summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--tint); color: var(--teal-dark); font-size: 1.35rem; font-weight: 400; line-height: 1; }
.service-more[open] > summary::after { content: "\2212"; background: var(--teal); color: var(--white); }
.service-more[open] > ul { padding-bottom: 1rem; }
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .service-more { interpolate-size: allow-keywords; }
    .service-more::details-content { block-size: 0; overflow: hidden; transition: block-size var(--dur-2) var(--ease), content-visibility var(--dur-2) allow-discrete; }
    .service-more[open]::details-content { block-size: auto; }
  }
}
.panel-cta { width: 100%; }
.service-tabs { display: none; } /* phones keep the accordion; enhance.js adds the tabs, shown from 768px */
@media (min-width: 768px) {
  /* Everything visible from here up: enhance.js keeps the two sections open and out of the tab order */
  /* The backdrop belongs to <main>, so its dot grid runs on unbroken behind all four cards (the intro has its own) */
  main:has(> .service-detail) { background: var(--tint) radial-gradient(rgb(20 38 61 / .075) 1px, transparent 1.25px) 0 0 / 22px 22px; }
  .service-detail { background: transparent; }
  .service-detail, .service-detail:last-child { padding: 1.75rem 0; }
  .page-intro + .service-detail { padding-top: 3.5rem; }
  .service-detail:last-child { padding-bottom: 4.5rem; }
  .service-panel { --card: var(--white); --card-end: var(--tint);
    --card-shadow: inset 0 1px 0 rgb(255 255 255 / .9), 0 1px 2px rgb(20 38 61 / .04), 0 10px 24px -12px rgb(20 38 61 / .14), 0 30px 60px -30px rgb(20 38 61 / .18);
    --card-shadow-up: inset 0 1px 0 rgb(255 255 255 / .9), 0 2px 4px rgb(20 38 61 / .05), 0 16px 32px -12px rgb(20 38 61 / .18), 0 40px 72px -32px rgb(20 38 61 / .24);
    position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); border: 1px solid var(--hairline);
    background: linear-gradient(160deg, var(--card) 30%, var(--card-end)); box-shadow: var(--card-shadow); }
  .band-tint-1 .service-panel { --card: #f3f9fa; --card-end: var(--band-teal); }
  .band-tint-2 .service-panel { --card: #f4f6fa; --card-end: var(--band-navy); }
  /* The photo fades into the card itself (the mask shows the card's own background through it) */
  .panel-media { aspect-ratio: auto; height: clamp(220px, 26vw, 260px); background: none;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
  .panel-media .photo { transform-origin: center; }
  /* One left edge: chip, title, summary, tabs, list and button stack in a single column, the button at the bottom */
  .panel-body { display: flex; flex-direction: column; align-items: flex-start; padding: .5rem 2rem 1.6rem; }
  .service-panel:not(.has-media) .panel-body { padding-top: 1.6rem; }
  .service-head, .has-media .service-head { flex-direction: column; align-items: flex-start; gap: .5rem; margin-bottom: .5rem; }
  .service-head .service-icon, .has-media .panel-body .service-icon { width: 40px; height: 40px; margin: 0; box-shadow: var(--e1); border-radius: 11px; }
  .service-head h2 { margin-bottom: .1em; }
  .service-head .lede-sm { font-size: .95rem; line-height: 1.5; color: var(--slate); }
  /* Tabs: a pill segmented control (added by enhance.js; the layout below is painted from the start, so nothing shifts
     when the tabs arrive, and no-js.css stacks the three lists under their headings instead). One list shows at a time,
     in two columns of about 45 characters. All three share one grid cell with a fixed minimum height (--list-h, the
     tallest list on the page at that width), so switching tabs never changes a card's height and all four cards match;
     hidden lists use visibility, which also takes them out of the tab order. */
  .service-tabs { display: inline-flex; gap: .2rem; margin: 0 0 .75rem; padding: 3px; border-radius: var(--r-pill);
    background: rgb(20 38 61 / .05); box-shadow: inset 0 0 0 1px rgb(20 38 61 / .06); }
  .service-tab { min-height: 44px; padding: .45rem 1.05rem; border: 0; border-radius: var(--r-pill); background: none; cursor: pointer;
    font: inherit; font-size: .9rem; font-weight: 600; line-height: 1.2; white-space: nowrap; color: var(--slate); }
  .service-tab:hover { color: var(--navy); }
  .service-tab[aria-selected="true"] { background: var(--teal); color: var(--white); box-shadow: 0 1px 2px rgb(6 101 112 / .3); }
  .service-tab:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: var(--r-pill); }
  .service-head + .service-cols { margin-top: calc(50px + .75rem); } /* room for the tabs until enhance.js adds them */
  .service-cols { --list-h: 111px; display: grid; align-self: stretch; min-height: var(--list-h); margin: 0 0 .75rem; font-size: .9375rem; line-height: 1.55; }
  .service-cols > * { grid-area: 1 / 1; margin: 0; visibility: hidden; }
  .service-cols > .is-active, .service-cols:not(:has(> .is-active)) > :first-child { visibility: visible; }
  .service-cols h3 { display: none; min-height: 0; margin: 0 0 .5rem; font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--teal-dark); } /* the tab names the list (no-js.css shows these) */
  .service-more > summary { display: none; }
  .service-problems { margin: 0; }
  .service-cols ul { columns: 2; column-gap: 2.25rem; }
  .service-cols li, .service-problems .plain-list li { padding-top: 0; padding-bottom: 0; margin-bottom: .75rem; break-inside: avoid; }
  .service-cols li:last-child { margin-bottom: 0; }
  .service-cols .plain-list li::before { top: .62em; }
  .service-cols .check-list li { gap: .55rem; }
  .service-cols .check { margin-top: .3rem; }
  .service-more, .service-col:last-child > .service-more { border: 0; }
  .service-more[open] > ul { padding-bottom: 0; }
  [role="tabpanel"].service-problems:focus-visible, .service-col[role="tabpanel"]:focus-visible { outline-offset: 6px; border-radius: var(--r-sm); }
  /* Bottom-right corner of the card, on the content's right and bottom padding */
  .panel-cta { margin-top: auto; width: auto; align-self: flex-end; }
}
@media (min-width: 1100px) {
  /* Photo left at full card height (40% from 1280px, 34% below so the lists keep two lines an item), its right edge
     dissolving into the card; text right. These cards use a wider container than the rest of the site (1240px). */
  .service-detail > .wrap { max-width: calc(77.5rem + 2.5rem); }
  .service-panel.has-media { display: grid; grid-template-columns: 34% minmax(0, 1fr); }
  .service-panel.has-media .panel-media { position: relative; height: auto; min-height: 100%;
    -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent); mask-image: linear-gradient(90deg, #000 70%, transparent); }
  /* The photo fills its column without setting the card's height (the text does) */
  .service-panel.has-media .panel-media .photo { position: absolute; inset: 0; }
  .service-panel.has-media .panel-body { padding: 1.6rem 2rem 1.6rem 1.25rem; }
  .service-cols ul { column-gap: 1.75rem; }
}
@media (min-width: 1280px) {
  .service-panel.has-media { grid-template-columns: 40% minmax(0, 1fr); }
  .service-panel.has-media .panel-body { padding-right: 2.5rem; }
  .service-cols ul { column-gap: 2.25rem; }
}
/* Card hover and focus: the shared 2px lift and a deeper shadow (no photo zoom: the card itself isn't a link); switching
   tabs fades the list in. Nothing is revealed or hidden by hover. */
@media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
  .service-panel { transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
  .service-panel:hover, .service-panel:focus-within { transform: translateY(-2px); box-shadow: var(--card-shadow-up); }
  .service-cols > .tab-in { animation: tab-fade var(--dur-2) var(--ease); }
}
@keyframes tab-fade { from { opacity: 0; } to { opacity: 1; } }
/* About: "How we work" principles as white cards (hairline, resting shadow). On mouse and trackpad the card takes the shared
   lift and its teal dot pulses once on hover (decoration only; nothing is revealed, so keyboard and touch users miss nothing). */
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr)); }
.principle { padding: 1.5rem; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--e1); }
.principle .tile-icon { margin-bottom: 1rem; }
.principle h3 { font-size: var(--fs-4); margin-bottom: .4rem; }
.principle p { color: var(--slate); margin: 0; }
@media (min-width: 1000px) { .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
/* Phones: icon beside the title, as on the For MSPs cards */
@media (max-width: 639px) {
  .principle { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 1rem; padding: 1.25rem; }
  .principle .tile-icon { grid-row: span 2; margin: 0; }
  .principle h3 { margin: .1rem 0 .3rem; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .principle { transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
  .principle .service-icon-dot { transform-box: fill-box; transform-origin: center; }
  .principle:hover { transform: translateY(-2px); box-shadow: var(--e2); }
  .principle:hover .service-icon-dot { animation: dot-pulse var(--dur-3) var(--ease); }
  .faq-page .faq, .not-panel { transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease); }
  .faq-page .faq:hover { transform: translateY(-2px); box-shadow: var(--e2); }
}

/* About: statement opening beside the dictionary definition of "endpoint" */
.about-hero { padding: clamp(3rem, 2rem + 5vw, 6.5rem) 0 clamp(3rem, 2rem + 4vw, 5.5rem); background: linear-gradient(180deg, var(--tint), var(--white));
  border-bottom: 1px solid var(--line); overflow: hidden; }
.about-hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.about-hero h1 { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.03em; max-width: 12ch; margin-bottom: 1.5rem; }
.eyebrow { display: block; margin-bottom: 1rem; font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; color: var(--teal-dark); }
.about-hero .lede { max-width: 36rem; margin: 0; }
@media (min-width: 720px) { .about-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem); gap: 2.5rem; } }
@media (min-width: 1000px) { .about-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: 4rem; } }

/* About: "Why Jendpoint?" beside the approved symbol, unaltered. When it scrolls into view (enhance.js adds the
   classes), a separate teal line draws in and a dot travels along it to settle exactly on the symbol's own teal dot (same
   size and colour), then one halo pulses: the connection arriving at the endpoint. The line stops at the symbol's edge,
   so the artwork itself is never covered; its shadow is a separate box behind it. Static without JavaScript and under
   reduced motion. */
.endpoint-mark { --s: clamp(150px, 20vw, 260px); position: relative; justify-self: center; width: calc(var(--s) * 1.45); height: var(--s); }
.endpoint-mark::before { content: ""; position: absolute; top: 0; right: 0; width: var(--s); height: var(--s); border-radius: 21.4%;
  box-shadow: 0 18px 36px rgb(12 26 43 / .22); }
.endpoint-symbol { position: absolute; top: 0; right: 0; width: var(--s); height: var(--s); }
/* The symbol's teal dot is centred 29.76% across and 75% down the symbol, 14.29% of its size */
.endpoint-line { position: absolute; left: 0; top: calc(var(--s) * .75 - 1.5px); width: calc(var(--s) * .45); height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, rgb(8 127 140 / 0), var(--teal) 45%); transform-origin: left; }
.endpoint-dot, .endpoint-halo { position: absolute; left: calc(var(--s) * .7476); top: calc(var(--s) * .75); width: calc(var(--s) * .1429); height: calc(var(--s) * .1429);
  border-radius: 50%; translate: -50% -50%; pointer-events: none; }
.endpoint-dot { background: var(--teal); }
.endpoint-halo { box-shadow: 0 0 0 2px rgb(8 127 140 / .55); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .endpoint-mark.is-armed .endpoint-line { transform: scaleX(0); }
  .endpoint-mark.is-armed .endpoint-dot { opacity: 0; }
  .endpoint-mark.is-playing .endpoint-line { animation: line-in .9s cubic-bezier(.3, .7, .2, 1) .1s both; }
  .endpoint-mark.is-playing .endpoint-dot { animation: dot-travel 1.2s cubic-bezier(.55, 0, .2, 1) .4s both; }
  .endpoint-mark.is-playing .endpoint-halo { animation: halo 1s ease-out 1.6s forwards; }
}
@keyframes line-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* The dot sits at its final place and moves with transform (composited), starting from the line's left end */
@keyframes dot-travel { from { transform: translateX(calc(var(--s) * -.7476)); opacity: 0; } 15% { opacity: 1; } 88% { transform: translateX(2px); } to { transform: none; opacity: 1; } }
@keyframes halo { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(2.6); } }

.why { background: var(--tint-teal); }
.why-grid { display: grid; gap: 2.5rem; align-items: center; }
.why-copy .lede-sm { color: var(--slate); }
.why-copy .lede-sm:last-child { margin-bottom: 0; }
@media (min-width: 900px) { .why-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; } }
/* The definition card (About opening) */
.definition { position: relative; margin: 0; padding: 2rem 2rem 2.25rem; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--e2); }
.definition::after { content: ""; position: absolute; top: 1.6rem; right: 1.6rem; width: 14px; height: 14px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 6px rgb(8 127 140 / .15); }
.definition-term { margin: 0 0 .75rem; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: var(--navy); }
.definition-kind { display: block; margin-top: .5rem; font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); }
.definition-text { margin: 0; font-size: 1.15rem; color: var(--ink); }

/* About: "What we don't do", an honest boundaries panel */
.not-panel { display: grid; gap: 1.5rem 3rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--e1); }
.not-intro h2 { margin-bottom: .75rem; }
.not-intro p { color: var(--slate); }
.not-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.not-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem 2rem; }
.not-list li { position: relative; padding: .45rem 0 .45rem 2.1rem; }
.not-list li::before { content: ""; position: absolute; left: 0; top: .6rem; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--slate);
  background: linear-gradient(var(--slate), var(--slate)) center / 10px 2px no-repeat; }
@media (min-width: 900px) { .not-panel { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } .not-list { grid-template-columns: 1fr 1fr; } }

/* About: closing call to action, a navy card with a veil over the About photo (88% navy behind the text) */
.about-cta { position: relative; overflow: hidden; padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(1.25rem, 1rem + 3vw, 3rem); border-radius: var(--r-lg);
  background: var(--navy); color: var(--white); text-align: center; }
.about-cta.has-photo { --photo-overlay: rgb(12 26 43 / .88); --photo-pos: 0 40%; }
/* Show only the desk and screens (the left of the photo). The person on the right is stock, not one of us, so he stays
   out of frame on the About page at every width: the image box is wider than the card and anchored left. */
.about-cta.has-photo > .hero-photo { right: auto; width: 160%; max-width: none; }
/* Phones: a plain navy card (too narrow to keep the person out of frame), with equal full-width buttons */
@media (max-width: 599px) {
  .about-cta.has-photo > .hero-photo, .about-cta.has-photo::before { display: none; }
  .about-cta .button-row .btn { flex: 1 1 100%; }
}
.about-cta-inner { position: relative; z-index: 2; }
.about-cta h2 { color: var(--white); }
.about-cta p { color: var(--on-navy); max-width: 36rem; margin: 0 auto; }
.about-cta :focus-visible { outline-color: var(--teal-light); }
.prose h2 { font-size: var(--fs-3); margin-top: 2rem; }
.prose > h2:first-child { margin-top: 0; }
.prose p { max-width: 42rem; }

/* Contact lists */
.contact-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.contact-list a { display: grid; grid-template-columns: 24px 1fr; column-gap: .6rem; align-items: center; padding: .55rem 0; text-decoration: none; color: inherit; min-height: 48px; }
.contact-list .icon { grid-row: span 2; color: var(--teal); }
.contact-list-label { font-weight: 700; }
.contact-list-detail { color: var(--slate); word-break: break-word; }

/* Forms: a white card in a tint band, in three steps with a progress indicator (enhance.js; without JavaScript no-js.css
   shows every step as one form with a single Submit). Labels always above fields, a teal asterisk for required fields
   ("* Required" once at the top), large rounded light-filled inputs (17px text, so phones never zoom) with optional
   leading icons, tiles with the brand icons for the service or assignment type, pill chips for short choices. Every
   choice is a native radio, so it works without JavaScript and with the arrow keys. Errors show under their field with
   an icon; a text field that passes shows a small green tick. Input and tile borders keep at least 3:1 against their
   fill. */
.form-wrap { display: grid; gap: 2.5rem; }
@media (min-width: 980px) { .form-wrap { grid-template-columns: 19rem minmax(0, 1fr); gap: 4rem; align-items: start; } }
.form-intro h3 { font-size: var(--fs-5); margin-top: 1.5rem; }
.enquiry-form { --input-bg: #f5f7fa; --tile-line: #8a94a1; --ok: #1a7f37;
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-lg); box-shadow: var(--e2); padding: clamp(1.25rem, .75rem + 2.5vw, 2.75rem); }
.form-key { margin: 0 0 1rem; font-size: .875rem; color: var(--slate); }
.req { color: var(--teal-dark); font-weight: 700; }

/* Progress: "Step 1 of 3", a slim bar and the three step names */
.form-progress { margin: 0 0 1.75rem; }
.form-progress-count { margin: 0 0 .55rem; font-size: .85rem; font-weight: 700; letter-spacing: .02em; color: var(--teal-dark); }
.form-progress-bar { height: 6px; border-radius: var(--r-pill); background: var(--tint-teal); overflow: hidden; }
.form-progress-bar span { display: block; width: 33.34%; height: 100%; border-radius: inherit; background: var(--teal); }
.enquiry-form[data-current="2"] .form-progress-bar span { width: 66.67%; }
.enquiry-form[data-current="3"] .form-progress-bar span { width: 100%; }
.form-progress-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: .65rem 0 0; padding: 0; list-style: none;
  font-size: .85rem; line-height: 1.3; color: var(--slate); }
.form-progress-steps li:nth-child(2) { text-align: center; }
.form-progress-steps li:last-child { text-align: right; }
.form-progress-steps .is-done { color: var(--teal-dark); }
.form-progress-steps [aria-current="step"] { color: var(--ink); font-weight: 700; }
@media (prefers-reduced-motion: no-preference) { .form-progress-bar span { transition: width var(--dur-2) var(--ease); } }
/* Phones: "Step 1 of 3" and the bar only. Three names would each wrap onto two lines, and the current one is the step's
   heading just below. */
@media (max-width: 559px) { .form-progress-steps { display: none; } }

/* Steps (one at a time with JavaScript; stacked under their headings without) */
.form-step + .form-step { margin-top: 2.25rem; }
.enquiry-form.is-stepped .form-step + .form-step { margin-top: 0; } /* one step shows at a time */
.form-step-title { margin: 0 0 1.25rem; font-size: var(--fs-3); scroll-margin-top: 1.5rem; }
.form-step-title:focus { outline: none; } /* focused by script on Next and Back, to be read out; not a control */
/* A short fade as a new step opens (only on Next and Back, never on page load) */
@media (prefers-reduced-motion: no-preference) { .enquiry-form .form-step.is-entering { animation: step-in var(--dur-2) var(--ease); } }
@keyframes step-in { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: none; } }

.field-grid { display: grid; gap: 0 1.25rem; }
@media (min-width: 700px) { .field-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .field-wide { grid-column: 1 / -1; } }
.field { margin: 0 0 1.4rem; border: 0; padding: 0; min-width: 0; }
div.field { display: flex; flex-direction: column; }
div.field > .field-error { order: 3; }
div.field > .field-foot { order: 4; }
/* Phones: City/Town and ZIP share a row; every other field is full width */
@media (max-width: 699px) {
  .field-grid { grid-template-columns: minmax(0, 1fr) 7.5rem; }
  .field-grid > * { grid-column: 1 / -1; }
  .field-grid > [data-field="city"] { grid-column: 1; }
  .field-grid > [data-field="zip"] { grid-column: 2; }
}
.field label, .field legend { display: block; font-weight: 600; font-size: .975rem; margin-bottom: .45rem; padding: 0; color: var(--ink); }
.field-hint { color: var(--slate); font-size: .9rem; margin: -.2rem 0 .5rem; }
/* Errors: a red icon and a plain message under the field */
.field-error { display: flex; gap: .45rem; align-items: flex-start; margin: .5rem 0 0; color: var(--error); font-weight: 600; font-size: .9rem; line-height: 1.4; text-wrap: balance; }
.field-error::before { content: ""; flex: none; width: 1.05rem; height: 1.05rem; margin-top: .1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23b42318'/%3E%3Cpath d='M12 6.5v7M12 17v.5' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.field-error[hidden] { display: none; }

/* Text inputs: light fill, 12px radius, a clear teal focus ring. Leading icons (email, phone, street) and the green tick
   are background images, so they never take focus or get announced. */
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; min-height: 54px; padding: .85rem 1rem; font: inherit; color: var(--ink);
  background-color: var(--input-bg, var(--white)); background-repeat: no-repeat; background-image: var(--lead, none), var(--trail, none);
  background-position: left 1rem center, right 1rem center; background-size: 18px 18px, 18px 18px;
  border: 1.5px solid var(--field); border-radius: var(--r-md); transition: border-color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease); }
input[type="date"] { display: block; }
input[type="date"]::-webkit-datetime-edit-fields-wrapper { padding: 0; } /* Chrome adds 1px top and bottom, which made it 2px taller */
input[type="date"]::-webkit-calendar-picker-indicator { padding: .3rem; margin-right: -.3rem; border-radius: var(--r-sm); cursor: pointer; opacity: .75; }
input[type="date"]::-webkit-calendar-picker-indicator:hover { opacity: 1; background-color: rgb(20 38 61 / .06); }
select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5l5.5 5.5 5.5-5.5' fill='none' stroke='%2314263d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 1rem center / 14px 9px; }
textarea { min-height: 9.5rem; resize: vertical; line-height: 1.5; }
input:hover, select:hover, textarea:hover { border-color: var(--navy); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-color: var(--navy); background-color: var(--white); }
.has-icon input { padding-left: 2.85rem; }
.icon-email { --lead: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7684' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='M3.8 7l8.2 6 8.2-6'/%3E%3C/svg%3E"); }
.icon-phone { --lead: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7684' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.8 3.5h2.9l1.5 3.9-2 1.4a11.5 11.5 0 0 0 6 6l1.4-2 3.9 1.5v2.9a2 2 0 0 1-2.1 2A16.5 16.5 0 0 1 4.8 5.6a2 2 0 0 1 2-2.1z'/%3E%3C/svg%3E"); }
.icon-address { --lead: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7684' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.1 7-11.4a7 7 0 0 0-14 0C5 14.9 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.6' r='2.5'/%3E%3C/svg%3E"); }
/* Valid: a small green tick at the end of the field (not on dates, where the picker icon sits) */
.is-valid input:not([type="date"]) { --trail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a7f37' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); padding-right: 2.85rem; }
/* Invalid: a red border and a faint red fill */
.has-error input, .has-error select, .has-error textarea, input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: var(--error); border-width: 2px; background-color: #fffbfa; }
.field-foot { display: flex; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; margin-top: .5rem; }
.field-note, .char-count { margin: 0; font-size: .875rem; color: var(--slate); }
.field-note { flex: 1 1 auto; min-width: 0; }
.char-count { flex: none; margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 699px) { .field-foot { flex-wrap: wrap; } .field-note { flex-basis: 100%; } } /* phones: the note gets the full width */
.char-count.is-near { color: var(--teal-dark); font-weight: 700; }
/* Keep a focused field clear of the sticky edges and the on-screen keyboard when the browser scrolls it into view */
.enquiry-form :is(input, textarea, select) { scroll-margin: 5.5rem 0 7rem; }

/* Street-address suggestions (enhance.js, only when a provider is configured): a rounded panel directly below the field,
   so it never covers the text being typed. 44px rows (48px on phones); the active row is tinted teal. The provider's
   attribution sits inside the panel, as its terms require (Google: the words "Google Maps", 12-16px, regular weight,
   grey #5E5E5E on white). */
.addr-combo { position: relative; }
.addr-pop { position: absolute; z-index: 25; left: 0; right: 0; top: calc(100% + 6px); overflow: hidden; border: 1px solid var(--hairline);
  border-radius: var(--r-md); background: var(--white); box-shadow: var(--e3); }
.addr-pop[hidden] { display: none; }
.addr-list { list-style: none; margin: 0; padding: .35rem; max-height: min(20rem, 50vh); overflow-y: auto; overscroll-behavior: contain; }
.addr-option { display: flex; flex-direction: column; justify-content: center; min-height: 44px; padding: .45rem .75rem; border-radius: var(--r-sm);
  cursor: pointer; line-height: 1.3; }
.addr-option + .addr-option { margin-top: 2px; }
.addr-main { font-weight: 600; color: var(--ink); }
.addr-secondary { font-size: .875rem; color: var(--slate); }
.addr-option:hover { background: var(--tint); }
.addr-option[aria-selected="true"] { background: var(--tint-teal); box-shadow: inset 3px 0 0 var(--teal); }
.addr-attribution { margin: 0; max-width: none; padding: .4rem 1.1rem .5rem; border-top: 1px solid var(--hairline); font-family: Roboto, var(--font);
  font-size: 12px; font-weight: 400; letter-spacing: normal; line-height: 1.4; color: #5e5e5e; white-space: nowrap; text-align: right; }
.addr-attribution a { color: #5e5e5e; text-decoration: none; }
@media (max-width: 699px) { .addr-option { min-height: 48px; } }

/* Tiles: the service or assignment type, one per row on phones and two per row from 560px (an odd last tile spans the
   row). Brand icon, label, and a round marker that fills teal with a tick when chosen. */
.tile-options { display: grid; gap: .65rem; }
@media (min-width: 560px) {
  .tile-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-option:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.tile-option { position: relative; display: flex; }
.tile-input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice-tiles .tile { position: relative; display: flex; align-items: center; gap: .85rem; width: 100%; min-height: 68px; margin: 0;
  padding: .7rem 3rem .7rem .75rem; border: 1.5px solid var(--tile-line); border-radius: var(--r-md); background: var(--white);
  font-size: .975rem; font-weight: 600; line-height: 1.3; color: var(--ink); cursor: pointer; transition: border-color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease); }
.tile .service-icon { flex: none; width: 40px; height: 40px; margin: 0; }
.tile-label { text-wrap: balance; }
.tile::after { content: ""; position: absolute; top: 50%; right: .95rem; width: 22px; height: 22px; translate: 0 -50%; border-radius: 50%;
  border: 1.5px solid var(--tile-line); background: var(--white) no-repeat center / 12px 12px; }
.tile-option:hover .tile { border-color: var(--navy); }
.tile-input:checked + .tile { border-color: var(--teal); background-color: var(--tint-teal); box-shadow: inset 0 0 0 1px var(--teal); }
.tile-input:checked + .tile::after { border-color: var(--teal); background-color: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.tile-input:focus-visible + .tile { outline: 3px solid var(--teal); outline-offset: 2px; }
.has-error .tile { border-color: var(--error); }

/* Chips: every short choice (time window, time on site, contact method, remote direction, which describes you) */
.choice-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice-option { position: relative; display: flex; }
.choice-input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice .choice-label { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 46px; margin: 0; padding: .55rem 1rem;
  border: 1.5px solid var(--tile-line); border-radius: var(--r-pill); background: var(--white); color: var(--ink); font-size: .95rem; font-weight: 600;
  line-height: 1.3; text-align: center; cursor: pointer; transition: border-color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease); }
.choice-option:hover .choice-label { border-color: var(--navy); }
.choice-input:checked + .choice-label { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.choice-input:focus-visible + .choice-label { outline: 3px solid var(--teal); outline-offset: 2px; }
.choice legend { margin-bottom: .6rem; }
/* Phones: chips grow to fill each row, so a group is one full row (or full-width rows when the labels are long), never a
   ragged half row. Selecting never changes a chip's width; the teal fill marks the choice. */
@media (max-width: 699px) { .choice-option { flex: 1 1 auto; } .choice-label { width: 100%; } }
.has-error .choice-label { border-color: var(--error); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Step buttons: Back on the left, Next on the right (full width beside Back on phones) */
.step-nav { display: flex; align-items: center; gap: .75rem; margin-top: .25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.step-next { margin-left: auto; }
.btn-ghost { background: transparent; color: var(--navy); border-color: transparent; padding-left: .9rem; padding-right: 1.1rem; }
.btn-ghost:hover { background: var(--tint); color: var(--navy); }
.btn-ghost.step-back::before { content: ""; width: .5rem; height: .5rem; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(45deg); margin-right: .1rem; }
@media (max-width: 559px) { .step-next { flex: 1; } }

/* Submit area (the last step): the notices, then Back and the button; full-width button on phones */
.form-submit { margin-top: .25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.form-notice { color: var(--slate); font-size: .875rem; margin: 0 0 .5rem; max-width: 40rem; }
.form-submit-actions { display: flex; align-items: center; gap: .75rem; margin-top: 1.1rem; }
.form-submit-btn { flex: 1; }
@media (min-width: 560px) { .form-submit-btn { flex: none; min-width: 15rem; margin-left: auto; } }
.form-status:not(:empty) { margin-top: 1rem; font-weight: 600; }
.error-summary { border: 2px solid var(--error); background: var(--error-bg); border-radius: var(--r-md); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.error-summary[hidden] { display: none; }
.error-summary h2 { font-size: var(--fs-4); margin-bottom: .4rem; color: var(--error); }
.error-summary ul { margin: 0; padding-left: 1.1rem; }
.error-summary a { color: var(--error); font-weight: 600; }
.form-fallback { margin-top: 1rem; }

/* Contact: coverage card with the compact Massachusetts map, and the "what happens next" icon timeline, which ends in the
   teal endpoint dot like the How it works path */
.contact-info { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .contact-info { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; } }
.coverage-card { overflow: hidden; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--e1); }
.coverage-card-map { padding: 1.75rem 2rem 1.25rem; background: var(--tint-teal); }
.coverage-card-map .ma-map { max-width: 26rem; }
.coverage-card-copy { padding: 1.5rem 2rem 1.75rem; }
.coverage-card-copy h2 { margin-bottom: .6rem; }
.coverage-card-copy p { color: var(--slate); }
/* Tablets: the map beside the text, so the card stays compact */
@media (min-width: 600px) and (max-width: 899px) {
  .coverage-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .coverage-card-map { display: grid; place-items: center; padding: 1.25rem; }
  .coverage-card-copy { align-self: center; }
}
.coverage-faq { margin: 0; }
.next-steps h2 { margin-bottom: 1.5rem; }
.timeline { list-style: none; margin: 0; padding: 0 0 2rem; position: relative; display: grid; gap: 1.75rem; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 7px; width: 2px; border-radius: 2px; background: var(--teal); }
.timeline::after { content: ""; position: absolute; left: 17px; bottom: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 5px rgb(8 127 140 / .18); }
.timeline-step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 1rem; }
.timeline-step .tile-icon { position: relative; z-index: 1; margin: 0; border-radius: var(--r-md); box-shadow: 0 0 0 6px var(--ring, var(--white)); }
.timeline-text h3 { margin: .2rem 0 .3rem; }
.timeline-text p { margin: 0; color: var(--slate); }


/* ---- Breadcrumbs (service pages, Areas, Resources), matching the BreadcrumbList structured data ------------------------ */
.breadcrumbs { margin: 0 0 1rem; font-size: .9rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .15rem .5rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .5rem; color: var(--slate); }
.breadcrumbs li + li::before { content: "/"; color: var(--icon-quiet); }
.breadcrumbs a { color: var(--teal-dark); }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 24px; }
.breadcrumbs [aria-current="page"] { color: var(--slate); }

/* ---- Services overview: "More about ..." beside the request button at the foot of each card -------------------------- */
.panel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.panel-more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
@media (max-width: 767px) { .panel-actions { flex-direction: column; align-items: stretch; } .panel-more { align-self: flex-start; } }
@media (min-width: 768px) { .panel-actions { margin-top: auto; align-self: stretch; justify-content: space-between; } }

/* ==== The endpoint trace: the one signature motif. A thin light-teal line that draws along an edge and ends in the teal
   endpoint dot from the logo. Decorative (aria-hidden). Drawn with transform only; static (fully drawn) under reduced
   motion and wherever it isn't animated. ======================================================================== */
.trace { position: absolute; z-index: 2; pointer-events: none; }
.trace::before, .trace::after { content: ""; position: absolute; }
.trace i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 0 0 4px rgb(92 200 210 / .2); }
/* top: a card's inner top edge, from the icon tile to the arrow badge */
.trace-top { left: 3.5rem; right: 3.75rem; top: 50%; height: 0; }
.trace-top::before { left: 0; right: 4px; top: -.75px; height: 1.5px; background: linear-gradient(90deg, rgb(92 200 210 / 0), var(--teal-light)); transform-origin: left; }
.trace-top i { right: -5px; top: -4.5px; }
/* corner: round the bottom-right corner of the service-page hero photo */
.trace-corner { right: 0; bottom: 0; width: 48%; height: 46%; }
.trace-corner::before { left: 0; right: 0; bottom: 0; height: 1.5px; background: linear-gradient(90deg, rgb(8 127 140 / 0), var(--teal)); transform-origin: left; }
.trace-corner::after { right: 0; top: 4px; bottom: 0; width: 1.5px; background: var(--teal); transform-origin: bottom; }
.trace-corner i { right: -4px; top: -5px; background: var(--teal); box-shadow: 0 0 0 4px rgb(8 127 140 / .16); }
/* edge: down the left edge of the dispatch card */
.trace-edge { left: 0; top: 1.5rem; bottom: 1.5rem; width: 0; }
.trace-edge::before { left: -.75px; top: 0; bottom: 4px; width: 1.5px; background: linear-gradient(180deg, rgb(92 200 210 / 0), var(--teal-light)); }
.trace-edge i { left: -4.5px; bottom: -5px; }
@keyframes trace-x { from { transform: scaleX(0); } to { transform: none; } }
@keyframes trace-y { from { transform: scaleY(0); } to { transform: none; } }
@keyframes trace-dot { from { transform: scale(0); } to { transform: none; } }
@keyframes trace-corner-x { 0% { transform: scaleX(0); } 50%, 100% { transform: none; } }
@keyframes trace-corner-y { 0%, 50% { transform: scaleY(0); } 100% { transform: none; } }
/* The hero trace draws once on load: along the bottom, then up the side, then the dot */
@media (prefers-reduced-motion: no-preference) {
  .trace-corner::before { animation: trace-corner-x 800ms var(--ease) 200ms both; }
  .trace-corner::after { animation: trace-corner-y 800ms var(--ease) 200ms both; }
  .trace-corner i { animation: trace-dot var(--dur-2) var(--ease) 950ms both; }
}

/* ==== Home service cards ==========================================================================================
   Phones and tablets: stacked cards (photo header, name, outcome, three included items, the link, the request pill).
   From 1024px: a staggered 2 x 2 (7/5 then 5/7 columns) of photo cards with the reveal described in ui.tsx. */
.svc-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc-card { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--hairline);
  border-radius: var(--r-lg); background: var(--white); box-shadow: var(--e1); }
.svc-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.svc-card-glow { display: none; }
.svc-card-top { position: absolute; z-index: 2; top: .9rem; left: .9rem; right: .9rem; display: flex; align-items: center; gap: .55rem; pointer-events: none; }
.svc-card-top .service-icon { width: 40px; height: 40px; margin: 0; border-radius: 11px; box-shadow: 0 2px 10px rgb(12 26 43 / .3); }
.svc-card-index { display: inline-flex; align-items: center; gap: .45rem; padding: .25rem .6rem; border-radius: var(--r-pill); background: rgb(12 26 43 / .78);
  color: var(--white); font-size: .78rem; font-weight: 700; letter-spacing: .1em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.svc-card-index::after { content: ""; width: 16px; height: 1px; background: rgb(255 255 255 / .55); }
.svc-card-top .trace-top { left: 6.6rem; right: .25rem; }
.svc-card-badge { display: none; }
/* No position or transform on the link's ancestors: the stretched link's ::after must resolve to the card itself */
.svc-card-body { display: flex; flex-direction: column; gap: .8rem; flex: 1; padding: 1.15rem 1.25rem 1.25rem; }
.svc-card-eyebrow { display: none; }
.svc-card-title { margin: 0; font-size: var(--fs-4); }
.svc-card-outcome { margin: 0; color: var(--slate); }
.svc-card-label { margin: 0 0 .35rem; font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); }
.svc-card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; font-size: .95rem; line-height: 1.45; }
.svc-card-list li { display: flex; gap: .55rem; align-items: flex-start; }
.svc-card-list .check { margin-top: .25rem; }
.svc-card-list li:nth-child(n + 4) { display: none; } /* stacked cards show the first three */
.svc-card-actions { margin-top: auto; display: flex; flex-direction: column; gap: .75rem; }
.svc-card-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; font-weight: 700; color: var(--navy); text-decoration: none; }
.svc-card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* stretched: the whole card opens the service page */
.svc-card-link-badge { width: 34px; height: 34px; }
.svc-card-request { position: relative; z-index: 3; } /* above the stretched link: its own target and focus ring */
.svc-card-link:focus-visible { outline: none; }
.svc-card:has(.svc-card-link:focus-visible) { outline: 3px solid var(--teal); outline-offset: 3px; }
.svc-card-compact .svc-card-actions { margin-top: auto; }
/* The stacked card's trace draws once as the card scrolls into view (static where unsupported or motion is reduced) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .svc-card .trace-top::before { animation: trace-x linear both; animation-timeline: view(); animation-range: entry 40% cover 35%; }
    .svc-card .trace-top i { animation: trace-dot linear both; animation-timeline: view(); animation-range: cover 30% cover 40%; }
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .svc-card-compact { transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
  .svc-card-compact:hover, .svc-card-compact:focus-within { transform: translateY(-2px); box-shadow: var(--e2); }
  .svc-card-compact .photo { transition: transform var(--dur-3) var(--ease), opacity var(--dur-3) var(--ease); }
  .svc-card-compact:hover .photo, .svc-card-compact:focus-within .photo { transform: scale(1.04); }
}

/* Phones (below 768px): the cards are one swipeable row. Native scrolling and scroll-snap only, so it works without
   JavaScript. .svc-swipe is the scroller (it bleeds to the screen edges; the track's padding keeps the page gutter at both
   ends), .svc-grid is the track. The next card peeks in from the right; one swipe moves one card. */
.svc-pager { display: none; }
@media (max-width: 767px) {
  .svc-swipe { margin: -8px -1.25rem; padding: 8px 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 1.25rem; scrollbar-width: none; }
  .svc-swipe::-webkit-scrollbar { display: none; }
  .svc-swipe .svc-grid { display: flex; align-items: stretch; gap: .8125rem; width: max-content; padding-inline: 1.25rem; }
  .svc-swipe .svc-card { flex: 0 0 min(84vw, 360px); scroll-snap-align: start; scroll-snap-stop: always; }
  /* The depth scaling draws a waiting card at 95%: 47px keeps "Explore ..." over 44px even then (Request is 52px, so 49.4px at 95%) */
  .svc-swipe .svc-card-link { min-height: 47px; }
  /* Without JavaScript or under reduced motion the trace simply shows drawn (no scroll-in drawing inside the row) */
  .svc-swipe .svc-card .trace-top::before, .svc-swipe .svc-card .trace-top i { animation: none; }
  /* Pager: "01 / 04" and a thin track whose teal segment sits under the current card (enhance.js sets --i) */
  .svc-pager { display: flex; align-items: center; gap: .875rem; margin-top: 1rem; }
  .svc-pager-count { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; font-variant-numeric: tabular-nums; color: var(--slate); }
  .svc-pager-n { color: var(--navy); }
  .svc-pager-track { position: relative; overflow: hidden; width: 7.5rem; height: 2px; border-radius: 2px; background: var(--line); }
  .svc-pager-thumb { position: absolute; inset: 0 auto 0 0; width: 25%; border-radius: 2px; background: var(--teal); transform: translateX(calc(var(--i, 0) * 100%)); }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  /* Depth: cards away from the snap point sit at 95% with the photo slightly dimmed, easing to full size as they arrive.
     The timeline is the card's own view in the row, inset by the gutter, so "exit 0%" is exactly the snap position. */
  @supports (animation-timeline: view(inline)) {
    .svc-swipe .svc-card { transform-origin: 0 50%; animation: svc-depth linear both; animation-timeline: view(inline 1.25rem); } /* scaled from the snap edge, so the peek keeps its width */
    .svc-swipe .svc-card-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--navy-deep);
      animation: svc-dim linear both; animation-timeline: view(inline 1.25rem); }
  }
  /* The endpoint trace draws on the card that has just snapped into place (enhance.js adds is-arrived), once */
  .svc-swipe.is-live .svc-card .trace-top::before { transform: scaleX(0); transition: transform var(--dur-3) var(--ease); }
  .svc-swipe.is-live .svc-card .trace-top i { transform: scale(0); transition: transform var(--dur-1) var(--ease) var(--dur-3); }
  .svc-swipe.is-live .svc-card.is-arrived .trace-top::before, .svc-swipe.is-live .svc-card.is-arrived .trace-top i { transform: none; }
  /* The one-time swipe hint: the track glides 28px left and settles back (a transform, not the scroll position) */
  .svc-swipe .svc-grid.is-hinting { animation: svc-hint 900ms ease-in-out 200ms; }
  .svc-pager-thumb { transition: transform var(--dur-3) var(--ease); }
}
@keyframes svc-depth { entry 0% { transform: scale(.95); } exit 0% { transform: none; } exit 100% { transform: scale(.95); } }
@keyframes svc-dim { entry 0% { opacity: .25; } exit 0% { opacity: 0; } exit 100% { opacity: .25; } }
@keyframes svc-hint { 0%, 100% { transform: none; } 45% { transform: translateX(-28px); } }

@media (min-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem; }
  .svc-grid > .svc-card:nth-child(4n + 1), .svc-grid > .svc-card:nth-child(4n + 4) { grid-column: span 7; }
  .svc-grid > .svc-card:nth-child(4n + 2), .svc-grid > .svc-card:nth-child(4n + 3) { grid-column: span 5; }
  /* The photo card: photo behind a navy scrim (dark bottom-left, clear top-right), hairline border with a light-teal edge */
  /* The top 5.25rem is the icon, index and badge row: content never runs under it; a long card grows instead */
  .svc-grid .svc-card { min-height: 440px; padding-top: 5.25rem; justify-content: flex-end; border: 1px solid transparent; color: var(--white);
    background: linear-gradient(var(--navy-deep), var(--navy-deep)) padding-box, linear-gradient(135deg, rgb(92 200 210 / .65), rgb(92 200 210 / .08) 40%, rgb(92 200 210 / 0) 60%) border-box; }
  .svc-grid .svc-card-media { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; }
  .svc-grid .svc-card-media::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top right, rgb(12 26 43 / .95) 0%, rgb(12 26 43 / .86) 34%, rgb(12 26 43 / .42) 62%, rgb(12 26 43 / 0) 84%),
      radial-gradient(60% 40% at 0% 0%, rgb(12 26 43 / .55), transparent 70%); }
  .svc-grid .svc-card-glow { display: block; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
    background: radial-gradient(280px circle at var(--mx, 70%) var(--my, 30%), rgb(92 200 210 / .16), transparent 70%); }
  .svc-grid .svc-card-top { top: 1.25rem; left: 1.25rem; right: 1.25rem; }
  .svc-grid .svc-card-top .service-icon { width: 48px; height: 48px; border-radius: 12px; }
  .svc-grid .svc-card-top .trace-top { left: 7.2rem; right: 3.4rem; }
  .svc-grid .svc-card-badge { display: grid; width: 44px; height: 44px; margin-left: auto; transform: rotate(-45deg); }
  .svc-grid .svc-card-body { flex: none; padding: 1.25rem 1.6rem 1.4rem; gap: .9rem; }
  .svc-grid .svc-card-eyebrow { display: block; margin: 0 0 .35rem; font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-light); }
  .svc-grid .svc-card-title { color: var(--white); font-size: clamp(1.4rem, .9rem + .9vw, 1.85rem); letter-spacing: -0.02em; line-height: 1.15; }
  .svc-grid .svc-card-outcome { margin-top: .35rem; color: var(--on-navy); max-width: 34ch; }
  .svc-grid .svc-card-panel { padding: .85rem 1rem .9rem; border: 1px solid rgb(255 255 255 / .12); border-radius: var(--r-md); background: rgb(12 26 43 / .8); }
  .svc-grid .svc-card-label { color: var(--teal-light); }
  .svc-grid .svc-card-list { color: var(--white); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 1rem; font-size: .875rem; line-height: 1.4; }
  .svc-grid .svc-card-list li:nth-child(n + 4) { display: flex; }
  .svc-grid .svc-card-list .check { stroke: var(--teal-light); }
  .svc-grid .svc-card-actions { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
  .svc-grid .svc-card-link { flex: 1 1 12rem; min-width: 0; }
  .svc-grid .svc-card-request { flex: none; }
  .svc-grid .svc-card-link { color: var(--white); justify-content: flex-start; }
  .svc-grid .svc-card-link-badge { display: none; }
  .svc-grid .svc-card-request { min-height: 52px; padding: .5rem 1.25rem; font-size: .95rem; white-space: nowrap; background: transparent; color: var(--white); border-color: rgb(255 255 255 / .7); }
  .svc-grid .svc-card-request:hover { background: rgb(255 255 255 / .1); color: var(--white); border-color: var(--white); box-shadow: none; }
  .svc-grid .svc-card:has(.svc-card-link:focus-visible) { outline-color: var(--teal); }
  .svc-grid .svc-card .trace-top::before, .svc-grid .svc-card .trace-top i { animation: none; transform: scaleX(0); }
  .svc-grid .svc-card .trace-top i { transform: scale(0); }
  .svc-grid .svc-card:is(:hover, :focus-within) .trace-top::before { transform: none; }
  .svc-grid .svc-card:is(:hover, :focus-within) .trace-top i { transform: none; }
  .svc-grid .svc-card:is(:hover, :focus-within) .svc-card-badge { transform: none; }
  .svc-grid .svc-card:is(:hover, :focus-within) .svc-card-badge svg { transform: translateX(2px); }
  .svc-grid .svc-card:is(:hover, :focus-within) .photo { transform: scale(1.04); }
  .svc-grid .svc-card:is(:hover, :focus-within) .svc-card-glow { opacity: 1; }
}
/* The pointer glow is motion: never under reduced motion */
@media (prefers-reduced-motion: reduce) { .svc-grid .svc-card-glow { display: none; } }
/* The glass panel: on mouse and trackpad, once enhance.js has measured it (--reveal-h), "What's included" and the actions
   rest below the card's edge and rise on hover and keyboard focus. Touch screens and no-JS show them as they are. */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .svc-cards-ready .svc-card .svc-card-text { transform: translateY(var(--reveal-h, 0px)); }
  /* The panel rises; the actions fade in place (a transform there would confine the card's stretched link) */
  .svc-cards-ready .svc-card :is(.svc-card-panel, .svc-card-actions) { opacity: 0; }
  .svc-cards-ready .svc-card .svc-card-panel { transform: translateY(14px); }
  .svc-cards-ready .svc-card:is(:hover, :focus-within) .svc-card-text { transform: none; }
  .svc-cards-ready .svc-card:is(:hover, :focus-within) :is(.svc-card-panel, .svc-card-actions) { opacity: 1; transform: none; }
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  @media (min-width: 1024px) { .svc-grid .svc-card-panel { background: rgb(12 26 43 / .66); -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15); } }
}
/* Motion: the panel and text rise together with the photo's slow zoom; then the trace draws to the badge, which turns to
   point the way. Leaving reverses at once. */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .svc-grid .svc-card .photo { transition: transform var(--dur-3) var(--ease), opacity var(--dur-3) var(--ease); }
  .svc-grid .svc-card :is(.svc-card-text, .svc-card-panel) { transition: transform var(--dur-3) var(--ease), opacity var(--dur-2) var(--ease); }
  .svc-grid .svc-card .svc-card-actions { transition: opacity var(--dur-2) var(--ease); }
  .svc-grid .svc-card .trace-top::before { transition: transform var(--dur-2) var(--ease); }
  .svc-grid .svc-card .trace-top i, .svc-grid .svc-card-badge, .svc-grid .svc-card-badge svg { transition: transform var(--dur-1) var(--ease); }
  .svc-grid .svc-card-glow { transition: opacity var(--dur-2) var(--ease); }
  .svc-grid .svc-card:is(:hover, :focus-within) .trace-top::before { transition-delay: var(--dur-2); }
  .svc-grid .svc-card:is(:hover, :focus-within) .trace-top i { transition-delay: 500ms; }
  .svc-grid .svc-card:is(:hover, :focus-within) :is(.svc-card-badge, .svc-card-badge svg) { transition-delay: 500ms; }
}

/* ==== Service pages ================================================================================================ */
.vt-svc-pos { view-transition-name: svc-pos; }
.vt-svc-computers { view-transition-name: svc-computers; }
.vt-svc-network { view-transition-name: svc-network; }
.vt-svc-installations { view-transition-name: svc-installations; }
::view-transition-group(svc-pos), ::view-transition-group(svc-computers), ::view-transition-group(svc-network), ::view-transition-group(svc-installations) {
  animation-duration: var(--dur-3); animation-timing-function: var(--ease); }

/* 1. Hero: copy left, the photo in a large rounded frame right, with the trace round its corner */
.svc-hero { padding: clamp(1.75rem, 1.25rem + 2.5vw, 3.75rem) 0 clamp(2rem, 1.5rem + 2vw, 3.25rem); background: linear-gradient(180deg, var(--tint), var(--white)); }
.svc-hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1000px) { .svc-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 4rem; } }
.svc-hero .eyebrow { margin-bottom: .75rem; font-variant-numeric: tabular-nums; }
.svc-hero h1 { max-width: 20ch; }
.svc-hero .lede { margin-bottom: 0; }
.svc-hero-actions { align-items: center; gap: .75rem 1.5rem; }
.svc-call { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 600; color: var(--navy); text-decoration: none; font-variant-numeric: tabular-nums; }
.svc-call .icon { width: 20px; height: 20px; color: var(--teal); }
.svc-call:hover { color: var(--teal-dark); }
.svc-hero-media { position: relative; padding: 0 16px 16px 0; }
.svc-hero-frame { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-xl); box-shadow: var(--e2); }
@media (max-width: 999px) { .svc-hero-frame { aspect-ratio: 16 / 9; } }

/* At a glance */
.glance { border-block: 1px solid var(--line); background: var(--white); }
.glance-grid { display: grid; margin: 0; }
.glance-grid > div { padding: 1.1rem 1.25rem; border-top: 1px solid var(--line); }
/* Tablets: two by two; desktop: one row of four */
@media (min-width: 640px) and (max-width: 999px) { .glance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance-grid > div:nth-child(-n+2) { border-top: 0; } .glance-grid > div:nth-child(odd) { padding-left: 0; } .glance-grid > div:nth-child(even) { border-left: 1px solid var(--line); } }
@media (min-width: 1000px) { .glance-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .glance-grid > div { border-top: 0; border-left: 1px solid var(--line); } .glance-grid > div:first-child { border-left: 0; padding-left: 0; } }
@media (max-width: 639px) { .glance-grid > div { padding-inline: 0; } .glance-grid > div:first-child { border-top: 0; } }
.glance dt { margin-bottom: .25rem; font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); }
.glance dd { margin: 0; color: var(--ink); font-size: .95rem; line-height: 1.5; }

/* The guide, the "On this page" rail and the dispatch card */
.svc-body { display: grid; gap: 2rem; padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); grid-template-areas: "dispatch" "otp" "content"; }
.svc-content { grid-area: content; min-width: 0; }
.otp { grid-area: otp; min-width: 0; }
.dispatch { grid-area: dispatch; }
@media (min-width: 1000px) {
  .svc-body { grid-template-columns: minmax(0, 1fr) 20rem; grid-template-areas: "otp dispatch" "content dispatch"; gap: 1.5rem 3.5rem; align-items: start; }
  .dispatch { position: sticky; top: calc(var(--bar-h) + 1.25rem); }
}
@media (min-width: 1200px) {
  .svc-body { grid-template-columns: 10.5rem minmax(0, 1fr) 19.5rem; grid-template-areas: "otp content dispatch"; gap: 3rem; }
  .otp { position: sticky; top: calc(var(--bar-h) + 1.75rem); align-self: start; }
}
/* 2. On this page: a pill row (phones, tablets), a slim rail with a dot on the section in view (desktop) */
.otp-title { margin: 0 0 .6rem; font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.otp ol { list-style: none; margin: 0; padding: 0; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; }
@media (min-width: 640px) { .otp ol { flex-wrap: wrap; overflow: visible; } }
.otp a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .95rem; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--white);
  color: var(--navy); font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.otp a[aria-current] { border-color: var(--teal); color: var(--teal-dark); }
@media (min-width: 1200px) {
  .otp ol { display: grid; gap: 0; overflow: visible; border-left: 1px solid var(--line); }
  .otp a { position: relative; min-height: 40px; padding: .35rem 0 .35rem 1.1rem; border: 0; border-radius: 0; background: none; color: var(--slate); font-weight: 500; white-space: normal; }
  .otp a::before { content: ""; position: absolute; left: -4.5px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--line); }
  .otp a:hover { color: var(--navy); }
  .otp a[aria-current] { color: var(--navy); font-weight: 700; }
  .otp a[aria-current]::before { background: var(--teal); box-shadow: 0 0 0 4px rgb(8 127 140 / .16); }
}
@media (prefers-reduced-motion: no-preference) { .otp a::before { transition: background-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); } }

.svc-intro { margin: 0 0 .5rem; font-size: 1.1rem; color: var(--ink); }
.svc-section { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.svc-section > h2 { font-size: var(--fs-3); margin-bottom: .5rem; }
.svc-section-lede { color: var(--slate); }

/* 3. Symptom finder. Without JavaScript: every symptom with both answers. With it: chips (tabs) and one panel. */
.finder-item { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.finder-q { margin: 0 0 .6rem; font-size: var(--fs-5); }
.finder-a { display: grid; gap: .75rem 1.5rem; }
@media (min-width: 640px) { .finder-a { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.finder-a p { margin: 0; color: var(--slate); }
.finder-a .finder-k { margin-bottom: .25rem; font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); }
.finder-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.finder-tab { min-height: 44px; padding: .5rem 1rem; border: 1.5px solid #8a94a1; border-radius: var(--r-pill); background: var(--white); color: var(--ink);
  font: inherit; font-size: .95rem; font-weight: 600; line-height: 1.25; cursor: pointer; text-align: left; }
.finder-tab:hover { border-color: var(--navy); }
.finder-tab[aria-selected="true"] { border-color: var(--navy); background: var(--navy); color: var(--white); }
/* Phones: one swipeable row rather than six stacked chips (the padding keeps focus rings inside the scroller) */
@media (max-width: 639px) {
  .finder-tabs { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; padding: 6px; margin-inline: -6px; scrollbar-width: none; }
  .finder-tabs::-webkit-scrollbar { display: none; }
  .finder-tab { flex: none; white-space: nowrap; scroll-snap-align: start; }
}
.finder-tab:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.finder.is-on .finder-item { padding: 1.35rem 1.5rem; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--e1); }
.finder.is-on .finder-item[hidden] { display: none; }
.finder.is-on .finder-item:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { .finder .finder-item.tab-in { animation: tab-fade var(--dur-2) var(--ease); } }

/* 4. What we handle: a bento of capability tiles */
.cap-grid { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .9rem; }
@media (min-width: 560px) { .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cap-wide { grid-column: span 2; } }
.cap { padding: 1.25rem 1.35rem; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--e1); }
.cap .service-icon { width: 40px; height: 40px; margin: 0 0 .8rem; }
.cap h3 { margin: 0 0 .25rem; font-size: var(--fs-5); }
.cap p { margin: 0; color: var(--slate); font-size: .95rem; line-height: 1.5; }
@media (min-width: 560px) { .cap-wide { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 1rem; align-items: start; } .cap-wide .service-icon { grid-row: span 2; width: 48px; height: 48px; margin: 0; } }
.cap-wide:first-child { border-color: transparent; background: var(--navy); }
.cap-wide:first-child h3 { color: var(--white); }
.cap-wide:first-child p { color: var(--on-navy); }
.cap-wide:first-child .service-icon-tile { fill: var(--teal); }
.cap-wide:last-child { background: var(--tint-teal); }
.svc-brands { margin-top: 1rem; color: var(--slate); }

/* 5. Before we arrive: a technician's job sheet (restrained: a header strip, ruled lines, empty tick boxes) */
.jobsheet { margin-top: 1.25rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--e1); }
.jobsheet-head { display: flex; justify-content: space-between; gap: 1rem; margin: 0; max-width: none; padding: .7rem 1.35rem; background: var(--navy); color: var(--on-navy);
  font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.jobsheet-list { list-style: none; margin: 0; padding: .25rem 1.35rem .5rem; }
.jobsheet-list li { position: relative; padding: .85rem 0 .85rem 2.1rem; border-bottom: 1px solid #e6eaef; line-height: 1.45; }
.jobsheet-list li:last-child { border-bottom: 0; }
.jobsheet-list li::before { content: ""; position: absolute; left: 0; top: 1rem; width: 18px; height: 18px; border: 1.5px solid #8a94a1; border-radius: 4px; background: var(--white); }

/* 6. In scope / Not in scope */
.scope-grid { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 700px) { .scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.scope-col { padding: 1.25rem 1.4rem; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--e1); }
.scope-col h3 { margin: 0 0 .5rem; font-size: var(--fs-5); }
.scope-list { list-style: none; margin: 0; padding: 0; }
.scope-list li { position: relative; padding: .45rem 0 .45rem 2rem; line-height: 1.45; }
.scope-list li::before { content: ""; position: absolute; left: 0; top: .55rem; width: 20px; height: 20px; background: no-repeat center / contain; }
.scope-in li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23087f8c'/%3E%3Cpath d='M7 12.5l3.3 3.3L17 9' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.scope-out li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.25' fill='none' stroke='%234a5563' stroke-width='1.5'/%3E%3Cpath d='M8 16l8-8' stroke='%234a5563' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.scope-who { display: block; margin-top: .15rem; font-size: .875rem; color: var(--slate); }
.svc-quote { margin: 1rem 0 0; padding: 1.25rem 1.5rem; border-left: 3px solid var(--teal); background: var(--tint); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.svc-quote p { margin: 0 0 .5rem; }
.svc-quote footer { color: var(--slate); font-size: .9rem; }

/* 7. FAQs: a rotating plus; smooth open and close where ::details-content and interpolate-size are supported */
.svc-faqs { display: grid; gap: .6rem; margin-top: 1rem; }
.svc-faq { border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--e1); }
.svc-faq[open] { border-color: var(--teal); }
.svc-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; padding: .9rem 1rem .9rem 1.25rem; cursor: pointer;
  list-style: none; font-weight: 600; }
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23066570' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 15px; }
.svc-faq[open] summary::after { transform: rotate(45deg); background-color: var(--teal); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='white' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.svc-faq summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: var(--r-lg); }
.svc-faq p { margin: 0; padding: 0 1.25rem 1.15rem; color: var(--slate); }
@media (prefers-reduced-motion: no-preference) {
  .svc-faq summary::after { transition: transform var(--dur-2) var(--ease), background-color var(--dur-1) var(--ease); }
  @supports (interpolate-size: allow-keywords) {
    .svc-faq { interpolate-size: allow-keywords; }
    .svc-faq::details-content { block-size: 0; overflow: hidden; transition: block-size var(--dur-2) var(--ease), content-visibility var(--dur-2) allow-discrete; }
    .svc-faq[open]::details-content { block-size: auto; }
  }
}

/* The dispatch card: a navy glass card with a photo strip, the request, call and WhatsApp, and where we work */
.dispatch { position: relative; overflow: hidden; border: 1px solid rgb(255 255 255 / .08); border-radius: var(--r-lg); color: var(--white);
  background: linear-gradient(160deg, rgb(27 52 82 / .97), rgb(12 26 43 / .98)); box-shadow: var(--e2); }
.dispatch-photo { position: relative; aspect-ratio: 16 / 7; overflow: hidden; }
.dispatch-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(12 26 43 / 0) 40%, rgb(22 43 68 / .95)); }
.dispatch-body { display: grid; gap: .75rem; padding: 1.25rem 1.4rem 1.35rem 1.6rem; }
.dispatch-title { margin: 0; color: var(--white); font-size: var(--fs-4); }
.dispatch-body p { margin: 0; color: var(--on-navy); font-size: .95rem; line-height: 1.5; }
.dispatch .btn { width: 100%; margin-top: .25rem; }
.dispatch-line { display: flex; align-items: center; gap: .6rem; min-height: 44px; color: var(--white); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.dispatch-line .icon { width: 20px; height: 20px; color: var(--teal-light); }
.dispatch-line:hover span { text-decoration: underline; text-underline-offset: .2em; }
.dispatch-line + .dispatch-line { margin-top: -.5rem; }
.dispatch-area { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding-top: .5rem; border-top: 1px solid rgb(255 255 255 / .1);
  color: var(--on-navy); font-size: .875rem; text-decoration: none; }
.dispatch-area:hover { color: var(--white); }
.dispatch-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 0 0 4px rgb(92 200 210 / .18); }
.dispatch :focus-visible { outline-color: var(--teal-light); }
.dispatch .trace-edge { left: .55rem; }
/* Phones and tablets: once, compact, after "At a glance" (no photo strip; the request and contact lines side by side) */
@media (max-width: 999px) {
  .dispatch-photo { display: none; }
  .dispatch-body { padding: 1.15rem 1.25rem 1.15rem 1.5rem; }
}
@media (min-width: 640px) and (max-width: 999px) { .dispatch-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 1.5rem; }
  .dispatch-title, .dispatch-body p, .dispatch-area { grid-column: 1 / -1; } .dispatch .btn { grid-row: span 2; align-self: center; } .dispatch-line + .dispatch-line { margin-top: 0; } }

/* 8. Related services: the compact card */
.svc-related { background: var(--tint); }
.svc-related-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .svc-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-related-msp { margin: 1.5rem 0 0; color: var(--slate); }

/* 9. Closing band: navy, a large faint tile watermark (the rounded square and its endpoint dot, drawn in CSS: not the logo
   artwork), one line, three actions */
.svc-band { padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0 clamp(3rem, 2rem + 3vw, 5rem); }
.svc-band-inner { position: relative; overflow: hidden; isolation: isolate; padding: clamp(2.25rem, 1.5rem + 3vw, 3.75rem) clamp(1.5rem, 1rem + 3vw, 3.5rem);
  border-radius: var(--r-xl); color: var(--white); background: radial-gradient(90% 120% at 100% 0%, rgb(8 127 140 / .35), transparent 60%), var(--navy); }
.svc-band-inner h2 { position: relative; color: var(--white); max-width: 26ch; margin-bottom: 1.25rem; }
.svc-band-mark { position: absolute; z-index: -1; right: -3.5rem; top: 50%; width: clamp(14rem, 30vw, 22rem); aspect-ratio: 1; translate: 0 -50%; border-radius: 21.4%;
  border: 2px solid rgb(255 255 255 / .06); background: rgb(255 255 255 / .025); }
.svc-band-mark::after { content: ""; position: absolute; left: 22.6%; top: 67.9%; width: 14.3%; aspect-ratio: 1; border-radius: 50%; background: rgb(92 200 210 / .16); }
.svc-band-actions { position: relative; margin-top: 0; }
@media (max-width: 479px) {
  .svc-band-inner { padding-inline: 1.25rem; }
  .svc-band-actions > .btn { flex: 1 1 100%; white-space: nowrap; }
}
.svc-band .btn-outline-light .icon { width: 20px; height: 20px; }

/* ---- Areas we serve ------------------------------------------------------------------------------------------------- */
.areas-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1000px) { .areas-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; } .areas-map { position: sticky; top: calc(var(--bar-h) + 2rem); } }
.areas-map { padding: 1.5rem; border-radius: var(--r-lg); background: var(--tint-teal); }
.area + .area { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.area h2 { font-size: var(--fs-3); }
.area-subhead { margin: 1.25rem 0 .6rem; font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); }
.town-list { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.town-list li { padding: .3rem .75rem; border-radius: var(--r-pill); background: rgb(20 38 61 / .06); color: var(--navy); font-size: .9rem; font-weight: 600; }
.area-business { color: var(--slate); }
.area-elsewhere .button-row { margin-top: 1rem; }

/* ---- Resources -------------------------------------------------------------------------------------------------------- */
.article-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.article-card { position: relative; padding: 1.5rem; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--e1); }
.article-card h2 { margin: 0 0 .4rem; font-size: var(--fs-3); }
.article-card h2 a { color: var(--ink); text-decoration: none; }
.article-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.article-card p { margin: 0 0 .5rem; color: var(--slate); }
.article-meta { color: var(--slate); font-size: .9rem; font-variant-numeric: tabular-nums; }
.article-body ul, .article-body ol { margin: 0 0 1.25rem; padding-left: 1.4rem; max-width: 42rem; }
.article-body li { margin-bottom: .4rem; }
.article-body h3 { margin-top: 1.5rem; }
.article-body code { font-family: var(--mono); font-size: .9em; padding: .1em .35em; border-radius: var(--r-sm); background: var(--tint); }

/* Utility pages */
.utility { min-height: 50vh; }
.utility-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding: 0; list-style: none; margin: 1.5rem 0; }
.success-panel { background: var(--success-bg); border: 1px solid #b7e3e8; border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); margin-bottom: 1.5rem; }
.success-panel:focus { outline: 3px solid var(--teal); }
.reference { font-size: 1.2rem; }

/* Footer: brand column, three link columns, then a bottom bar with copyright and legal links */
.site-footer { background: var(--navy); color: #c9d2dd; padding: 4rem 0 1.75rem; font-size: .975rem; }
.site-footer a { color: #d7dee7; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer :focus-visible { outline-color: var(--teal-light); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-top { display: grid; gap: 2.5rem 2rem; }
.footer-brand { max-width: 22rem; }
.footer-logo { display: inline-block; margin-bottom: 1.1rem; }
.footer-brand img { height: 64px; width: auto; display: block; }
.footer-brand p { margin: 0; line-height: 1.6; }
.footer-heading { font-size: .95rem; font-weight: 700; color: var(--white); letter-spacing: .01em; margin: 0 0 1rem; }
.footer-links li + li { margin-top: .35rem; }
.footer-links a { display: inline-block; padding: .2rem 0; line-height: 1.45; }
.site-footer .contact-list { margin-bottom: .6rem; }
.site-footer .contact-list a { grid-template-columns: 20px 1fr; min-height: 0; padding: .25rem 0; }
.site-footer .contact-list .icon { grid-row: auto; color: var(--teal-light); }
/* compact footer contacts: icon + number/address on one line; the label stays available to screen readers */
.site-footer .contact-list-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-footer .contact-list-detail { color: #d7dee7; word-break: normal; overflow-wrap: anywhere; }
.footer-hours { margin: .75rem 0 0; color: #c9d2dd; }
.footer-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 3rem; padding-top: 1.5rem; font-size: .9rem; color: #aeb9c6; }
.footer-base p { margin: 0; }
.footer-inline { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.footer-inline a { display: inline-block; padding: .2rem 0; color: #c9d2dd; }
/* Phones: every footer link is a 44px target */
@media (max-width: 767px) {
  .footer-links li + li { margin-top: 0; }
  .footer-links a, .footer-inline a, .site-footer .contact-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
  .site-footer .contact-list a { display: grid; }
}
@media (min-width: 560px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 559px) {
  .site-footer { padding-top: 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .footer-brand, .footer-top > .footer-col:last-child { grid-column: 1 / -1; }
  .footer-heading { margin-bottom: .75rem; }
}
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.3fr .9fr 1.2fr; } }
@media (min-width: 1024px) {
  .footer-top { grid-template-columns: minmax(16rem, 1.5fr) 1.3fr .8fr 1.3fr; gap: 3rem; }
  .footer-brand { grid-column: auto; }
}

/* Floating "Request Service" pill (phones). enhance.js shows it once the page's opening section has scrolled out of view
   and hides it again near the footer, while a form field has focus and while the menu is open. Hidden without
   JavaScript (the expanded menu has the same button) and on the form pages, which leave it out. */
.request-pill { display: none; }
@media (max-width: 767px) {
  .request-pill { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; position: fixed; z-index: 30;
    left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); min-height: 52px; padding: 0 1.6rem 0 1.75rem;
    border-radius: var(--r-pill); background: var(--navy); color: var(--white); font-weight: 600; text-decoration: none; white-space: nowrap;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), 0 2px 6px rgb(12 26 43 / .16), 0 12px 32px rgb(12 26 43 / .26);
    transform: translate(-50%, 12px); opacity: 0; visibility: hidden; }
  /* Subtle glass ring: a translucent white band just outside the pill, with a faint hairline so it reads on white too */
  .request-pill::before { content: ""; position: absolute; inset: -5px; border-radius: inherit; pointer-events: none;
    border: 5px solid rgb(255 255 255 / .5); box-shadow: 0 0 0 1px rgb(20 38 61 / .1); }
  .request-pill-arrow { font-size: 1.1em; line-height: 1; }
  .request-pill:hover { background: var(--navy-deep); color: var(--white); }
  .request-pill:focus-visible { outline-offset: 7px; border-radius: var(--r-pill); }
  .request-pill.is-shown { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
  .form-focus .request-pill.is-shown, .menu-open .request-pill.is-shown { transform: translate(-50%, 12px); opacity: 0; visibility: hidden; }
  /* Anything scrolled into view (focus, anchors) stops above the pill */
  html.js:has(.request-pill) { scroll-padding-bottom: calc(52px + 16px + 1rem + env(safe-area-inset-bottom, 0px)); }
  /* Room for the pill at the end of the page: a spacer inside the last section (every page ends with a block section),
     so it takes that section's own background and never shows as a stripe above the footer */
  html.js:has(.request-pill) #main > :last-child::after { content: ""; display: block; height: calc(52px + 16px + .5rem + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .request-pill { transition: transform var(--dur-2) var(--ease), opacity var(--dur-1) var(--ease), visibility var(--dur-2); }
}
@media (max-width: 767px) and (max-height: 480px) { .request-pill { display: none; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .site-header .site-nav, .nav-toggle, .request-pill, .site-footer nav { display: none !important; } .site-header { position: static; } }

/* ---- Hero background photographs: Home, For MSPs, Services, About, Contact and FAQ only ------------------------------------
   Applied only when the photo files exist (the server then adds .has-photo); otherwise both sections are
   unchanged. Layering: photo (0) < light overlay (1) < content (2). No negative z-index; nothing clickable.
   Behind text the overlay is at least 84% white, which keeps the approved navy and slate text above 4.5:1
   over ANY photograph, even pure black. It lightens only beyond the measured end of the text. */
.has-photo { position: relative; overflow: hidden;
  --photo-overlay: rgba(255, 255, 255, .85); } /* safe default: any photo section gets the light veil even without its own rule */
.has-photo > .hero-photo { display: block; position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: var(--photo-pos, 50% 50%); pointer-events: none; user-select: none; }
.has-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--photo-overlay); }
.has-photo > .wrap { position: relative; z-index: 2; }

/* Home, For MSPs, Contact and FAQ below 900px: the photo is a full-colour band above the headline that fades to white over
   its last 48px. No text sits on the photo: the copy starts below the band, on white. */
.hero-photo-home, .hero-photo-msp, .hero-photo-contact, .hero-photo-faq { --band: clamp(150px, 40vw, 260px); padding-top: calc(var(--band) + 1.75rem); background: var(--white); }
.hero-photo-home { --photo-pos: 50% 10%; }
.hero-photo-msp { --photo-pos: 50% 22%; border-bottom: 0; }
.hero-photo-contact { --photo-pos: 50% 55%; border-bottom: 0; }
.hero-photo-faq { --photo-pos: 50% 66%; border-bottom: 0; }
.hero-photo-home > .hero-photo, .hero-photo-msp > .hero-photo, .hero-photo-contact > .hero-photo, .hero-photo-faq > .hero-photo { bottom: auto; height: var(--band); }
.hero-photo-home::before, .hero-photo-msp::before, .hero-photo-contact::before, .hero-photo-faq::before { bottom: auto; height: var(--band);
  background: linear-gradient(180deg, rgb(255 255 255 / 0) calc(100% - 48px), var(--white)); }
/* Narrow screens: text spans the full width, so the overlay is even. */
.hero-photo-services { --photo-pos: 70% 50%; --photo-overlay: rgba(255, 255, 255, .85); }
@media (min-width: 900px) {
  /* Home: 88-90% white behind the headline and paragraph only, falling away over about 6rem after the end of the text,
     so the rest of the photo shows at full strength. The text ends at the copy column's edge or 36rem into it,
     whichever comes first (grid: 1fr | 4rem gap | 23rem card, inside the 72rem wrap with 1.25rem padding). */
  .hero-photo-home { --photo-pos: 50% 40%; padding-top: clamp(2.5rem, 2rem + 4vw, 5.5rem);
    --text-end: calc((100% - min(100%, 72rem)) / 2 + 1.25rem + min(36rem, min(100%, 72rem) - 29.5rem));
    --photo-overlay: linear-gradient(90deg, rgb(255 255 255 / .9) 0, rgb(255 255 255 / .88) var(--text-end),
      rgb(255 255 255 / .62) calc(var(--text-end) + 1.5rem), rgb(255 255 255 / .3) calc(var(--text-end) + 3.25rem),
      rgb(255 255 255 / .1) calc(var(--text-end) + 5rem), rgb(255 255 255 / 0) calc(var(--text-end) + 6.5rem)); }
  .hero-photo-home > .hero-photo, .hero-photo-home::before { bottom: 0; height: 100%; }
  .hero-photo-home::before { background: var(--photo-overlay); }
  /* For MSPs: the same treatment as Home. Heading, paragraph and button stay within 34rem of the wrap's left edge; the veil
     is 88-90% white there and falls away over about 6rem, so the photo shows at full strength on the right. */
  .hero-photo-msp, .hero-photo-contact, .hero-photo-faq { --photo-pos: 50% 34%; padding-top: clamp(3rem, 2rem + 4vw, 5.5rem); padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
    --text-end: calc((100% - min(100%, 72rem)) / 2 + 1.25rem + min(34rem, min(100%, 72rem) - 2.5rem));
    --photo-overlay: linear-gradient(90deg, rgb(255 255 255 / .9) 0, rgb(255 255 255 / .88) var(--text-end),
      rgb(255 255 255 / .62) calc(var(--text-end) + 1.5rem), rgb(255 255 255 / .3) calc(var(--text-end) + 3.25rem),
      rgb(255 255 255 / .1) calc(var(--text-end) + 5rem), rgb(255 255 255 / 0) calc(var(--text-end) + 6.5rem)); }
  .hero-photo-contact { --photo-pos: 70% 50%; }
  .hero-photo-faq { --photo-pos: 50% 72%; }
  .hero-photo-msp h1, .hero-photo-msp .lede, .hero-photo-contact h1, .hero-photo-contact .lede, .hero-photo-faq h1, .hero-photo-faq .lede { max-width: 34rem; }
  .hero-photo-msp > .hero-photo, .hero-photo-msp::before, .hero-photo-contact > .hero-photo, .hero-photo-contact::before,
  .hero-photo-faq > .hero-photo, .hero-photo-faq::before { bottom: 0; height: 100%; }
  .hero-photo-msp::before, .hero-photo-contact::before, .hero-photo-faq::before { background: var(--photo-overlay); }
}
@media (min-width: 1080px) {
  /* Services intro (desktop only; phones keep the even veil): like Home, For MSPs and Contact, 88-90% white behind the
     heading and paragraph (kept within 36rem), falling away after them. The topic chips are solid white pills. */
  .hero-photo-services { --photo-pos: 80% 50%;
    --text-end: calc((100% - min(100%, 72rem)) / 2 + 1.25rem + 36rem);
    --photo-overlay: linear-gradient(90deg, rgb(255 255 255 / .9) 0, rgb(255 255 255 / .88) var(--text-end),
      rgb(255 255 255 / .62) calc(var(--text-end) + 1.5rem), rgb(255 255 255 / .3) calc(var(--text-end) + 3.25rem),
      rgb(255 255 255 / .1) calc(var(--text-end) + 5rem), rgb(255 255 255 / 0) calc(var(--text-end) + 6.5rem)); }
  .hero-photo-services h1, .hero-photo-services .lede { max-width: 36rem; }
  .hero-photo-services .jump a { border-color: transparent; box-shadow: var(--e1); } /* a shadow, not both */
}
/* About opening ("We work at the endpoint"): the photo fills the whole section; layout, text and the definition card are
   unchanged. Phones: an even 85% veil, as on the Services intro. From 720px: 88-90% white behind the headline column
   (its text ends at the column's edge or 36rem into it), falling away over about 6.5rem, so the photo shows at full
   strength around the white definition card. */
.hero-photo-about { --photo-pos: 50% 35%; }
@media (min-width: 720px) {
  .hero-photo-about { --text-end: calc(100% - 25.75rem); /* 1fr | 2.5rem gap | 22rem card, inside 1.25rem padding */
    --photo-overlay: linear-gradient(90deg, rgb(255 255 255 / .9) 0, rgb(255 255 255 / .88) var(--text-end),
      rgb(255 255 255 / .62) calc(var(--text-end) + 1.5rem), rgb(255 255 255 / .3) calc(var(--text-end) + 3.25rem),
      rgb(255 255 255 / .1) calc(var(--text-end) + 5rem), rgb(255 255 255 / 0) calc(var(--text-end) + 6.5rem)); }
}
@media (min-width: 1000px) {
  /* 1fr | 4rem gap | 26rem card inside the 72rem wrap */
  .hero-photo-about { --text-end: calc((100% - min(100%, 72rem)) / 2 + 1.25rem + min(36rem, min(100%, 72rem) - 32.5rem)); }
}

/* ---- Scroll reveal ------------------------------------------------------------------------------------------------------
   Section content fades in and rises 8px as it enters, children a beat apart (48px of scroll each), fully shown once it is
   140px into view, and only once. The motion is CSS scroll-driven animation, inside @supports and only when motion is
   welcome. enhance.js opts in (.reveal) only content that is entirely below the fold when the page opens, and takes the
   class off once it has been shown: so nothing is ever hidden by default, nothing on the first screen moves, nothing sits
   half-faded at the fold, and without support, JavaScript or motion everything is simply shown. Transform and opacity
   only, so no layout shift; `translate`, so it never fights the cards' hover transform. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view();
      animation-range: entry calc(var(--stagger, 0) * 48px) entry calc(140px + var(--stagger, 0) * 48px); }
    .reveal:nth-child(2) { --stagger: 1; }
    .reveal:nth-child(3) { --stagger: 2; }
    .reveal:nth-child(4) { --stagger: 3; }
    .reveal:nth-child(n + 5) { --stagger: 4; }
  }
}
@keyframes reveal { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: none; } }

/* ---- Page transitions ----------------------------------------------------------------------------------------------------
   Same-site navigations cross-fade (250ms) while the header holds its place. Progressive enhancement: browsers without
   cross-document view transitions simply navigate, and it is off under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.site-header { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: var(--dur-2); animation-timing-function: var(--ease); }
/* The header is its own layer that doesn't fade or move: it switches straight to the new page's header */
::view-transition-group(site-header), ::view-transition-new(site-header) { animation: none; }
::view-transition-old(site-header) { display: none; }

/* ---- Photos: a dominant-colour placeholder behind each one, so nothing flashes white while it loads, and a gentle fade
   in for lazy photos (enhance.js marks a lazy photo that hasn't arrived yet; already-loaded and above-the-fold photos are
   never hidden). Hover zoom only where the photo is part of a link (the Home service cards). */
.photo-svc-computers { background-color: #9b9e91; }
.photo-svc-pos { background-color: #97938c; }
.photo-svc-network { background-color: #835a30; }
.photo-svc-installations { background-color: #a8acae; }
.photo-msp-band { background-color: #a6a59e; }
.ph-home-hero-it-support { background-color: #3d3732; }
.ph-msp-hero-field-support { background-color: #4a4139; }
.ph-services-hero-hardware { background-color: #677561; }
.ph-about-hero-studio { background-color: #848f92; }
.ph-about-hero-workstation { background-color: #415f66; }
.ph-contact-hero-support-desk { background-color: #a59f95; }
.ph-faq-hero-workspace { background-color: #999d97; }
.how-bg { background-color: #e7ded0; }
@media (prefers-reduced-motion: no-preference) {
  img.is-loading { opacity: 0; }
  .band-media .photo, .panel-media .photo, .hero-photo, .how-bg { transition: opacity var(--dur-3) var(--ease); }
}

/* ---- 404: the teal endpoint dot glides along a line and settles into the J of the approved symbol (the artwork itself is
   the unaltered file; the dot is a separate element over its own dot). Then the helpful links. Static under reduced motion. */
.lost-mark { --s: 96px; justify-self: start; margin: 0 0 2rem; }
@media (prefers-reduced-motion: no-preference) {
  .lost-mark .endpoint-line { animation: line-in 600ms var(--ease) 100ms both; }
  .lost-mark .endpoint-dot { animation: dot-travel 900ms cubic-bezier(.55, 0, .2, 1) 250ms both; }
  .lost-mark .endpoint-halo { animation: halo 800ms var(--ease) 1150ms forwards; }
}

/* ---- Enquiry received: a teal tick drawn inside a ring, then the reference. Static under reduced motion. */
.received-tick { display: block; width: 64px; height: 64px; margin: 0 0 1.25rem; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.received-ring { stroke: var(--teal); stroke-width: 3; fill: var(--white); }
.received-check { stroke: var(--teal); stroke-width: 4; }
@media (prefers-reduced-motion: no-preference) {
  .received-ring { stroke-dasharray: 1; animation: draw var(--dur-3) var(--ease) 100ms both; }
  .received-check { stroke-dasharray: 1; animation: draw var(--dur-2) var(--ease) 450ms both; }
  .success-panel .reference { animation: settle var(--dur-3) var(--ease) 650ms both; }
}
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes settle { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: none; } }

/* ======================================================================================================================
   /jrp ONLY: the Jendpoint Restaurant Platform page's palette (owner's approval, 2026-10-26).
   Everything here is scoped under .page-jrp (a class on <body>, set by that page alone), so no other page changes. The page
   has its own top bar and footer and its own dark (ink and red-on-dark), with no Jendpoint navy or teal (owner's approval,
   2026-11-09). Every other page keeps the Jendpoint header, footer and colours. The page's layout is in jrp.css, which only /jrp loads.
   Pairs (checked against WCAG 2.2 AA; tests/jrpDesign.test.ts recomputes them): red on white 6.9:1, white on red 6.9:1,
   muted on ground 6.5:1, ink on ground 15:1, red-dark on red-tint 7.7:1, ok green on white 5.4:1, field border on white 3.4:1.
   ====================================================================================================================== */
.page-jrp {
  --j-red: #b4232a; --j-red-dark: #8f1b21; --j-red-tint: #fbe9ea; --j-red-on-dark: #f0868a;
  --j-ink: #1e1b18; --j-ink-lead: #ddd5cb; --j-ink-tile: #3a332d; --j-ink-2: #46403a; --j-muted: #5e574e;
  --j-line: #e2ddd5; --j-line-2: #cbc4b9; --j-field: #948a7e;
  --j-sand: #efece7; --j-ground: #f7f5f2; --j-ground-2: #fcfbf9; --j-surface: #fff;
  --j-ok: #1e7a46; --j-amber: #9a4a06;
  --j-food-1: #e8d5bf; --j-food-2: #e3cdb2; --j-food-3: #ead9c3; --j-food-4: #d9c3a5;
  --j-display: "Fraunces", Georgia, "Times New Roman", serif;
  /* The site's shadow and hairline tokens, in the page's ink instead of Jendpoint navy */
  --hairline: rgb(30 27 24 / .09);
  --e1: 0 1px 2px rgb(30 27 24 / .06), 0 2px 6px rgb(30 27 24 / .05);
  --e2: 0 2px 4px rgb(30 27 24 / .06), 0 12px 28px rgb(30 27 24 / .1);
  --e3: 0 4px 10px rgb(30 27 24 / .08), 0 28px 56px rgb(30 27 24 / .18);
  color: var(--j-ink);
}
/* Inside the page's content (not the header or footer) the site's own tokens take the page's colours, so the shared
   components (buttons, the enquiry form) look right without a second copy of their rules */
.page-jrp main {
  --navy: var(--j-ink); --navy-deep: #000; --teal: var(--j-red); --teal-dark: var(--j-red-dark); --teal-light: var(--j-red-on-dark);
  --ink: var(--j-ink); --slate: var(--j-muted); --line: var(--j-line); --hairline: var(--j-line); --field: var(--j-field);
  --tint: var(--j-ground); --tint-navy: var(--j-sand); --tint-teal: var(--j-red-tint);
  background: var(--j-ground); color: var(--j-ink);
}
/* Buttons: the same pills (52px, the lift, the press); red where the site's are navy, with an ink arrow badge */
.page-jrp main .btn-cta-arrow, .page-jrp main .btn-cta-arrow:hover { background: var(--j-red); color: #fff; }
.page-jrp main .btn-cta-arrow:hover { background: var(--j-red-dark); }
.page-jrp main .btn-cta-arrow { box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 1px 2px rgb(30 27 24 / .2), 0 8px 18px -10px rgb(30 27 24 / .55); }
.page-jrp main .btn-cta-arrow:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 2px 4px rgb(30 27 24 / .2), 0 16px 28px -12px rgb(30 27 24 / .6); }
.page-jrp main .btn-cta-arrow:active { box-shadow: inset 0 2px 4px rgb(0 0 0 / .25); }
.page-jrp main .cta-badge { background: var(--j-ink); }
.page-jrp main .btn-cta-arrow:hover .cta-badge, .page-jrp main .btn-cta-arrow:focus-visible .cta-badge { background: #000; }
.page-jrp main .btn-secondary { background: transparent; color: var(--j-ink); border-color: var(--j-ink); }
.page-jrp main .btn-secondary:hover { background: var(--j-sand); box-shadow: none; }
/* One focus ring on this page: 3px red, 2px off */
.page-jrp main :is(a, button, input, textarea, summary, .btn):focus-visible, .page-jrp .request-pill:focus-visible {
  outline: 3px solid var(--j-red); outline-offset: 2px; box-shadow: none; }
.page-jrp main .btn-cta-arrow:focus-visible { outline-color: var(--j-ink); }
.page-jrp main .choice-input:focus-visible + .choice-label, .page-jrp main .tile-input:focus-visible + .tile { outline-color: var(--j-red); }
@media (max-width: 767px) {
  .page-jrp .request-pill { background: var(--j-red); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), 0 2px 6px rgb(30 27 24 / .16), 0 12px 32px rgb(30 27 24 / .26); }
  .page-jrp .request-pill:hover { background: var(--j-red-dark); color: #fff; }
  .page-jrp .request-pill::before { box-shadow: 0 0 0 1px rgb(30 27 24 / .1); }
}
