/* MG Access — site stylesheet. No build step. */

:root {
  color-scheme: light;
  --ink: #0b1418;          /* teal-tinted near black, never #000 */
  --ink-2: #111c21;
  --ink-3: #182930;
  --paper: #f3f1ec;        /* warm off-white canvas */
  --paper-2: #ffffff;
  --paper-3: #e9e6df;
  --text: #0f1a1f;
  --text-2: #4f5f66;
  --text-3: #5c6d75;
  --on-dark: #f4f2ee;
  --on-dark-2: #b6c0c4;
  --on-dark-3: #acb9bf;
  --teal: #004a63;         /* brand deep, hover fills and ink tint */
  --slate: #1f3d4d;        /* the nav tone as a section colour */
  --accent: #1a9bf0;       /* the pop: logo dot, badges */
  --accent-hi: #a6e1ff;    /* dot highlight */
  --teal-2: #0a6fb0;       /* interactive on light (links, focus), AA on the cream */
  --teal-3: #4fb8ff;       /* interactive on dark */
  --line: rgba(15, 26, 31, 0.12);
  --line-dark: rgba(244, 242, 238, 0.14);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --dur: 700ms;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
button { font: inherit; color: inherit; touch-action: manipulation; }
p { margin: 0 0 16px; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }

:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: var(--teal-3); }

.skip {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  padding: 8px 12px; background: var(--ink); color: var(--on-dark);
  border-radius: 999px; font-weight: 600;
  transition: transform var(--dur) var(--ease);
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* Type scale — Tailwind steps only */
.t-xs { font-size: 12px; line-height: 16px; }
.t-sm { font-size: 14px; line-height: 20px; }
.t-lg { font-size: 18px; line-height: 28px; }
.t-xl { font-size: 20px; line-height: 28px; }
.t-2xl { font-size: 24px; line-height: 32px; }
.t-3xl { font-size: 30px; line-height: 36px; }
.t-4xl { font-size: 36px; line-height: 40px; }
.t-5xl { font-size: 48px; line-height: 1; }
.t-6xl { font-size: 60px; line-height: 1; }
.t-7xl { font-size: 72px; line-height: 1; }

.eyebrow {
  font-family: var(--mono); font-size: 12px; line-height: 16px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3);
  display: inline-flex; align-items: center; gap: 8px;
}
.dark .eyebrow { color: var(--on-dark-3); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--text-2); }
.dark .muted { color: var(--on-dark-2); }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 96px); }
.dark { background: var(--ink); color: var(--on-dark); }
.dark + .dark { border-top: 1px solid var(--line-dark); }
.dark.section + .dark.section { padding-top: clamp(64px, 9vw, 96px); }
.paper-2 { background: var(--paper-2); }
section.paper-2 { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.paper-2 + section.paper-2 { border-top: 0; }
.dark + .dark { border-top: 1px solid var(--line-dark); }
.sec-head { display: grid; gap: 16px; max-width: 680px; margin-bottom: 48px; }
.sec-head h2 { font-size: 36px; line-height: 40px; }
@media (min-width: 768px) { .sec-head h2 { font-size: 48px; line-height: 1; } }
.sec-head p { font-size: 18px; line-height: 28px; color: var(--text-2); }
.dark .sec-head p { color: var(--on-dark-2); }
.sec-head.row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.sec-head.row > div { max-width: 680px; display: grid; gap: 16px; }
/* Section labels stay a small mono line close to their heading; .sec-head p above would set them at paragraph size. */
.sec-head .eyebrow { font-size: 14px; line-height: 20px; margin: 0; }
.sec-head .cta-row { margin-top: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; line-height: 24px; font-weight: 600; cursor: pointer;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { padding: 8px 16px; font-size: 14px; line-height: 20px; }
.btn-primary { background: var(--ink); color: var(--on-dark); }
.btn-primary:hover { background: var(--teal); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--paper-3); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text); background: rgba(15, 26, 31, 0.04); }
.dark .btn-ghost, .on-photo .btn-ghost { color: var(--on-dark); border-color: rgba(244, 242, 238, 0.3); }
.dark .btn-ghost:hover, .on-photo .btn-ghost:hover { border-color: var(--on-dark); background: rgba(244, 242, 238, 0.08); }
.btn-teal { background: var(--teal-2); color: #fff; }
.btn-teal:hover { background: var(--teal); }
.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  color: var(--teal-2);
}
.link svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.link:hover svg { transform: translateX(3px); }
.dark .link { color: var(--teal-3); }

/* Native PDF downloads */
.pdf-button { display: inline-grid; grid-template-columns: 22px minmax(0, 1fr) 18px; align-items: center; gap: 12px; min-width: 0; max-width: 100%; min-height: 64px; padding: 11px 16px; border: 1px solid rgba(0, 74, 99, .22); border-radius: 14px; background: #edf4f6; color: var(--teal); text-align: left; transition: background-color 180ms ease, border-color 180ms ease; }
.pdf-button-copy { display: grid; gap: 2px; min-width: 0; }
.pdf-button-label { font-size: 14px; line-height: 20px; font-weight: 700; }
.pdf-button-meta { font-size: 12px; line-height: 18px; font-weight: 400; color: var(--text-2); }
.pdf-file-icon { width: 22px; height: 26px; }
.pdf-download-icon { width: 18px; height: 18px; transition: transform 180ms ease; }
.pdf-button:hover { background: #e1eef2; border-color: var(--teal); }
.pdf-button:hover .pdf-download-icon { transform: translateY(2px); }
.pdf-button:focus-visible { outline-offset: 4px; border-radius: 14px; }
.dark .pdf-button { color: var(--on-dark); background: #182e39; border-color: rgba(166, 225, 255, .3); }
.dark .pdf-button-meta { color: var(--on-dark-2); }
.dark .pdf-button svg { color: var(--accent-hi); }
.dark .pdf-button:hover { background: #203e4c; border-color: var(--accent-hi); }
.document-action { margin-top: 20px; }
/* Beside other buttons, a download takes the same height and pill shape as a secondary button. */
.cta-row .pdf-button { grid-template-columns: 20px minmax(0, auto) 18px; justify-content: center; column-gap: 12px; min-height: 50px; padding: 6px 20px 6px 18px; border-color: var(--line); border-radius: 999px; background: transparent; color: var(--text); }
.cta-row .pdf-button:hover { border-color: var(--text); background: rgba(15, 26, 31, .04); }
.cta-row .pdf-button:focus-visible { border-radius: 999px; }
.cta-row .pdf-button svg { color: var(--teal-2); }
.cta-row .pdf-file-icon { width: 20px; height: 22px; }
.cta-row .pdf-button-copy { gap: 0; }
.cta-row .pdf-button-label { line-height: 18px; }
.cta-row .pdf-button-meta { line-height: 16px; color: var(--text-3); }
.dark .cta-row .pdf-button { border-color: rgba(244, 242, 238, .3); background: transparent; color: var(--on-dark); }
.dark .cta-row .pdf-button:hover { border-color: var(--on-dark); background: rgba(244, 242, 238, .08); }
.dark .cta-row .pdf-button svg { color: var(--accent-hi); }
.dark .cta-row .pdf-button-meta { color: var(--on-dark-2); }
@media (prefers-reduced-motion: reduce) { .pdf-button, .pdf-download-icon { transition: none; } .pdf-button:hover .pdf-download-icon { transform: none; } }

/* ---------- Header / nav ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; min-height: 64px;
  /* Full-width bar; contents line up with .wrap */
  padding: 8px max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  color: var(--on-dark); background: rgba(19, 37, 47, 0.9);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-dark); box-shadow: 0 12px 40px -24px rgba(11, 20, 24, 0.5);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -0.01em; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-mark circle.dot { fill: var(--accent); transition: fill var(--dur) var(--ease); }
.brand-mark circle.dot-hi { fill: var(--accent-hi); opacity: 0.9; }
.brand-mark path { fill: currentColor; }
.brand span { font-size: 20px; line-height: 28px; }
.nav { display: none; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 14px; line-height: 20px;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
  position: relative;
}
.nav a:hover { background: rgba(244, 242, 238, 0.12); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--teal-3);
}
.header-cta { display: none; align-items: center; gap: 8px; }
.header-cta .btn-primary { background: #fff; color: var(--ink); }
.header-cta .btn-primary:hover { background: var(--paper-3); }
.brand-mark { width: 32px; height: 32px; }
.tel { font-family: var(--mono); font-size: 14px; line-height: 20px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.tel:hover { background: rgba(15, 26, 31, 0.06); }
@media (min-width: 900px) { .header { min-height: 72px; } .nav, .header-cta { display: flex; } .burger { display: none; } }
@media (min-width: 900px) and (max-width: 1099px) { .header-cta .socials { display: none; } }

.burger {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(244, 242, 238, 0.3);
  background: transparent; position: relative; cursor: pointer;
}
.burger i {
  position: absolute; left: 12px; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
/* centred in the 42px inner box, with 4px between bars */
.burger i:nth-child(1) { top: 14px; }
.burger i:nth-child(2) { top: 20px; }
.burger i:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40; padding: 96px var(--gutter) 40px;
  background: rgba(11, 20, 24, 0.94); color: var(--on-dark);
  -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow-y: auto;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
  overscroll-behavior: contain;
}
.menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.menu nav { display: grid; gap: 4px; }
.menu nav, .menu-foot { flex: none; }
.menu nav a {
  font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; padding: 8px 0;
  opacity: 0; transform: translateY(24px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.menu nav a[aria-current="page"] { color: var(--teal-3); }
.menu.is-open nav a { opacity: 1; transform: none; }
.menu nav a:nth-child(1) { transition-delay: 100ms; }
.menu nav a:nth-child(2) { transition-delay: 150ms; }
.menu nav a:nth-child(3) { transition-delay: 200ms; }
.menu nav a:nth-child(4) { transition-delay: 250ms; }
.menu nav a:nth-child(5) { transition-delay: 300ms; }
.menu nav a:nth-child(6) { transition-delay: 350ms; }
.menu-foot { display: grid; gap: 8px; color: var(--on-dark-2); font-size: 14px; line-height: 20px; }
.menu-foot a { color: var(--on-dark); font-weight: 600; }

/* Direct service navigation; native disclosures also work without scripts. */
.service-nav > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; list-style: none; }
.service-nav > summary::-webkit-details-marker { display: none; }
.service-nav > summary svg { width: 16px; height: 16px; flex: none; transition: transform var(--dur) var(--ease); }
.service-nav[open] > summary svg { transform: rotate(180deg); }
.nav .service-nav { position: relative; }
.nav .service-nav > summary { position: relative; padding: 8px 12px; border-radius: 999px; font-size: 14px; line-height: 20px; font-weight: 600; }
.nav .service-nav > summary:hover { background: rgba(244, 242, 238, 0.12); }
.nav .service-nav[open] > summary, .nav .service-nav:has([aria-current="page"]) > summary { color: var(--accent-hi); }
.nav .service-nav[open] > summary::after, .nav .service-nav:has([aria-current="page"]) > summary::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -3px; height: 3px; border-radius: 3px; background: currentColor; }
.nav .service-nav[open]::after { content: ""; position: absolute; top: calc(100% + 23px); left: 42px; width: 14px; height: 14px; transform: rotate(45deg); background: var(--paper-2); border-top: 1px solid var(--line); border-left: 1px solid var(--line); pointer-events: none; }
.service-nav-panel { background: var(--paper-2); color: var(--ink); }
.nav .service-nav-panel { position: absolute; top: calc(100% + 30px); left: -20px; width: 400px; max-width: calc(100vw - 2 * var(--gutter)); max-height: calc(100dvh - 104px); overflow-y: auto; overscroll-behavior: contain; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: 0 20px 56px -12px rgba(11, 20, 24, 0.25), 0 4px 12px rgba(11, 20, 24, 0.04); }
.service-nav-panel ul { display: grid; gap: 4px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.service-nav-overview svg { width: 16px; height: 16px; flex: none; }
.service-nav-panel .service-nav-group-start { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.nav .service-nav-panel a { display: flex; align-items: center; gap: 16px; padding: 10px 12px; border-radius: 12px; font-size: 16px; line-height: 24px; transition: background-color 180ms ease, color 180ms ease; }
.service-nav-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: #eaf1f4; color: var(--teal); transition: background-color 180ms ease, color 180ms ease; }
.service-nav-icon svg { width: 23px; height: 23px; }
.nav .service-nav-panel a:hover, .menu .service-nav-panel a:hover { color: var(--teal); background: #f1f6f8; }
.service-nav-panel a:is(:hover, :focus-visible, [aria-current="page"]) .service-nav-icon { background: var(--teal); color: #fff; }
.nav .service-nav-panel a[aria-current="page"], .menu .service-nav-panel a[aria-current="page"] { color: var(--teal); background: #f1f6f8; }
.nav .service-nav-panel a[aria-current="page"]::after { display: none; }
.nav .service-nav-panel .service-nav-overview { justify-content: space-between; min-height: 44px; padding: 10px 12px; color: var(--teal); font-size: 13px; line-height: 20px; }
.menu .service-nav > summary { padding: 8px 0; font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; }
.menu .service-nav > summary svg { width: 24px; height: 24px; }
.menu .service-nav[open] > summary { color: var(--accent-hi); }
.menu .service-nav-panel { margin: 12px 0 16px; padding: 10px; border-radius: 20px; }
.menu .service-nav-panel a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px; border-radius: 10px; font-size: 15px; line-height: 22px; font-weight: 600; letter-spacing: 0; transition: none; }
.menu .service-nav-panel .service-nav-icon { width: 36px; height: 36px; border-radius: 10px; }
.menu .service-nav-panel .service-nav-overview { justify-content: space-between; min-height: 44px; color: var(--teal); font-size: 13px; }
@media (min-width: 900px) and (max-width: 1099px) { .header { gap: 16px; } .nav a, .nav .service-nav > summary { padding-inline: 10px; } }

/* ---------- Hero (photo) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  background: var(--ink); color: var(--on-dark); overflow: hidden;
  padding-top: 96px;
}
.hero-img { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero-img::after {
  /* a photographic scrim, not a design gradient: it keeps type legible on any plate */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11, 20, 24, 0.86) 0%, rgba(11, 20, 24, 0.35) 45%, rgba(11, 20, 24, 0.05) 100%);
}
.hero-body {
  position: relative; width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter) clamp(40px, 6vw, 80px);
  display: grid; gap: 24px; align-items: end;
}
@media (min-width: 900px) { .hero-body { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.hero h1 {
  font-size: 48px; line-height: 1; max-width: 680px; margin-top: 16px;
  background: linear-gradient(90deg, #ffffff 0%, #9b9b9b 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (min-width: 640px) { .hero h1 { font-size: 60px; } }
@media (min-width: 1100px) { .hero h1 { font-size: 72px; } }
.hero-sub { font-size: 18px; line-height: 28px; color: var(--on-dark-2); max-width: 680px; margin-top: 24px; }
.hero-cta { margin-top: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.hero-proof { display: grid; gap: 12px; padding-left: 0; }
@media (min-width: 900px) { .hero-proof { border-left: 1px solid var(--line-dark); padding-left: 24px; } }
.proof-item { display: grid; gap: 2px; }
.proof-item b { font-size: 20px; line-height: 28px; font-weight: 700; }
.proof-item span { font-size: 14px; line-height: 20px; color: var(--on-dark-2); }

/* Hero variant B: split with boxed image */
.hero-split { padding: 136px 0 64px; }
.hero-split-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .hero-split-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; } }
.hero-split h1, .hero-edge h1 {
  font-size: 48px; line-height: 1; max-width: 680px; margin-top: 16px;
  background: linear-gradient(90deg, #000000 0%, #666666 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (min-width: 640px) { .hero-split h1, .hero-edge h1 { font-size: 60px; } }
@media (min-width: 1100px) { .hero-split h1 { font-size: 72px; } .hero-edge h1 { font-size: 72px; max-width: 900px; } }
.hero-split .hero-sub, .hero-edge .hero-sub { color: var(--text-2); }
.shutter { container-type: inline-size; }
.hero-frame { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--ink); border: 1px solid var(--line); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.hero-frame-wide img { aspect-ratio: 16 / 9; }
.hero-frame figcaption {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 12px; border-radius: 999px; background: rgba(11, 20, 24, 0.72); color: var(--on-dark);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 12px; line-height: 16px;
}
.hero-frame figcaption .mono { color: var(--on-dark-2); letter-spacing: 0.08em; }
.hero-proof-row { display: flex; flex-wrap: wrap; gap: 24px 40px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-proof-link { display: grid; align-content: start; gap: 4px; }
.hero-proof-link:hover b { text-decoration: underline; text-underline-offset: 4px; }
.hero-review b { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
.hero-proof-row li { display: grid; align-content: start; gap: 4px; }
.hero-proof-row b { font-size: 20px; line-height: 28px; letter-spacing: -0.02em; }
.hero-proof-row span { font-size: 14px; line-height: 20px; color: var(--text-2); }
.hero-proof-row.on-frame {
  position: absolute; right: 16px; bottom: 16px; margin: 0; padding: 16px 24px; border: 0; gap: 16px 32px;
  border-radius: var(--r-lg); background: rgba(243, 241, 236, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  display: none;
}
@media (min-width: 900px) { .hero-proof-row.on-frame { display: flex; } }

/* Hero variant C: headline over the top edge of a wide frame */
.hero-edge { padding: 136px 0 64px; }
.hero-edge-copy { display: grid; gap: 24px; }
@media (min-width: 1000px) { .hero-edge-copy { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: 48px; } .hero-edge-copy .eyebrow { grid-column: 1 / -1; } .hero-edge-side { padding-bottom: 8px; } }
.hero-edge .hero-frame { margin-top: 48px; }

/* Hero variant D: full-bleed scene with the door animated in place */
.hero-scene { align-items: center; }
.hero-scene .hero-body-scene { padding-top: clamp(96px, 12vh, 160px); padding-bottom: clamp(40px, 8vh, 96px); }
.hero-scene .scene { position: absolute; inset: 0; overflow: hidden; }
.hero-scene .scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 20, 24, 0.88) 0%, rgba(11, 20, 24, 0.78) 44%, rgba(11, 20, 24, 0.24) 75%, rgba(11, 20, 24, 0.08) 100%); pointer-events: none; }
.scene-space { position: absolute; left: 0; top: 0; width: 1672px; height: 941px; transform-origin: 0 0; }
.scene-plate { position: absolute; left: 0; top: 0; width: 1672px; height: 941px; max-width: none; }
.hero-body-scene { grid-template-columns: 1fr; }
.hero-body-scene > div { max-width: 680px; }
.hero-body-scene .eyebrow { color: var(--on-dark) !important; opacity: 0.85; }
/* The emergency line is the secondary button beside the quote: its label sits above the number. */
.hero-phone { padding-block: 8px; text-align: left; }
.hero-phone > span { display: grid; }
.hero-phone small { font-family: var(--mono); font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-3); }
.hero-phone:focus-visible { outline-color: var(--teal-3); }
/* phones: both buttons share one height; the emergency line reads as one row, number first */
@media (max-width: 639px) {
  .hero-actions > .btn { flex: 1 1 auto; }
  .hero-phone { padding-block: 12px; background: rgba(244, 242, 238, 0.06); }
  .hero-phone > span { display: flex; flex-direction: row-reverse; align-items: center; gap: 10px; }
  .hero-phone small { padding-left: 10px; border-left: 1px solid rgba(244, 242, 238, 0.24); }
  .hero-phone-more { display: none; }
}
@media (max-width: 359px) { .hero-phone { padding-inline: 14px; gap: 8px; } .hero-phone > span { gap: 8px; } .hero-phone small { padding-left: 8px; } }
@media (max-width: 379px) { .hero-scene .hero-body-scene h1 { font-size: 36px; } }
/* phones: a call button stays in reach once the hero buttons scroll away (site.js) */
.call-dock { display: none; }
@media (max-width: 899px) {
  .call-dock { position: fixed; z-index: 35; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom) + var(--consent-space, 0px)); display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: 15px; line-height: 20px; font-weight: 600; white-space: nowrap; box-shadow: 0 12px 32px rgba(11, 20, 24, 0.28), 0 0 0 1px rgba(244, 242, 238, 0.14); transform: translate(-50%, calc(100% + 32px)); visibility: hidden; transition: transform 500ms var(--ease), visibility 0s linear 500ms; }
  .call-dock.is-shown { transform: translate(-50%, 0); visibility: visible; transition: transform 500ms var(--ease); }
  .call-dock svg { width: 18px; height: 18px; flex: none; }
  .call-dock small { padding-left: 10px; border-left: 1px solid rgba(244, 242, 238, 0.2); font-family: var(--mono); font-size: 11px; line-height: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-3); }
}
@media (max-width: 359px) { .call-dock { gap: 8px; padding-inline: 16px; } .call-dock small { padding-left: 8px; } .call-dock-verb { display: none; } }
@media (prefers-reduced-motion: reduce) { .call-dock, .call-dock.is-shown { transition: none; } }
.hero-body-scene .hero-sub { color: var(--on-dark); opacity: 0.88; text-shadow: 0 1px 12px rgba(11, 20, 24, 0.35); }
.hero-proof-row.on-dark-row { border-top-color: var(--line-dark); }
.hero-proof-row.on-dark-row span { color: var(--on-dark-2); }
.hero-body-scene .hero-proof-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 24px; margin-top: clamp(40px, 6vw, 80px); }
@media (min-width: 360px) { .hero-body-scene .hero-proof-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Phones: the rating leads on its own full-width row, so its stars stay beside the score and the two shorter facts pair up beneath it. */
@media (min-width: 360px) and (max-width: 719px) { .hero-body-scene .hero-proof-row li:last-child { grid-column: 1 / -1; order: -1; } }
@media (min-width: 720px) { .hero-body-scene .hero-proof-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .hero-scene { min-height: 100svh; align-items: flex-start; }
  .hero-scene .hero-body-scene { padding-top: 0; }
}

.scene-video { position: absolute; }
.scene-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero h1.solid { background: none; -webkit-text-fill-color: #ffffff; color: #ffffff; }
/* The services named in the heading link to their pages and turn blue on hover or keyboard focus. */
.hero h1 a { color: inherit; -webkit-text-fill-color: inherit; text-decoration: none; transition: color 160ms ease, -webkit-text-fill-color 160ms ease; }
.hero h1 a:hover, .hero h1 a:focus-visible { color: var(--teal-3); -webkit-text-fill-color: var(--teal-3); }
.hero h1 a:focus-visible { outline-color: var(--teal-3); }
.hero-body-scene h1 { font-size: 44px; }
@media (min-width: 640px) { .hero-body-scene h1 { font-size: 52px; } }
@media (min-width: 1100px) { .hero-body-scene h1 { font-size: 64px; } }

/* Small page hero */
.page-hero { padding: 152px 0 48px; }
.page-hero.dark { padding-bottom: 64px; }
.page-hero h1 { font-size: 48px; line-height: 1; max-width: 680px; margin-top: 16px; }
@media (min-width: 768px) { .page-hero h1 { font-size: 60px; } }
.page-hero p { font-size: 18px; line-height: 28px; max-width: 680px; margin-top: 24px; color: var(--text-2); }
.page-hero.dark p { color: var(--on-dark-2); }

/* ---------- Trust strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.strip-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .strip-grid { grid-template-columns: repeat(4, 1fr); } }
.strip-item { padding: 24px 0; display: grid; gap: 4px; }
.strip-item + .strip-item { border-left: 1px solid var(--line); padding-left: 24px; }
@media (max-width: 899px) { .strip-item:nth-child(3) { border-left: 0; padding-left: 0; } .strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.strip-item b { font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -0.02em; }
.strip-item span { font-size: 14px; line-height: 20px; color: var(--text-2); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (max-width: 479px) { .grid-4 { grid-template-columns: 1fr; } }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) { #team .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative; display: grid; min-width: 0; grid-template-rows: auto 1fr; overflow: hidden;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: rgba(15, 26, 31, 0.28); box-shadow: 0 24px 48px -32px rgba(11, 20, 24, 0.45); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 24px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.card-body h2, .card-body h3, .card-body p { overflow-wrap: anywhere; }
.card-body h2, .card-body h3 { font-size: 20px; line-height: 28px; }
.card-body p { font-size: 14px; line-height: 20px; color: var(--text-2); }
.card-index { position: absolute; top: 16px; left: 16px; font-family: var(--mono); font-size: 12px; line-height: 16px; padding: 4px 8px; border-radius: 999px; background: var(--accent); color: #fff; letter-spacing: 0.08em; }
.card:has(.card-arrow) .card-body { padding-bottom: 64px; }
.card-arrow { position: absolute; right: 16px; bottom: 16px; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.card-arrow svg { width: 16px; height: 16px; }
.card:hover .card-arrow { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.dark .card:hover { border-color: rgba(244, 242, 238, 0.35); }
.dark .card-body p { color: var(--on-dark-2); }
.dark .card-arrow { border-color: var(--line-dark); }
.dark .card:hover .card-arrow { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }

.card-wide { grid-column: 1 / -1; }
@media (min-width: 1000px) { .card-wide { grid-column: span 2; } .card-wide .card-media { aspect-ratio: 16 / 9; } }

/* ---------- Tagline reveal ---------- */
.tagline { padding-block: clamp(80px, 12vw, 128px); }
.tagline p { font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; max-width: 680px; margin: 0; }
@media (min-width: 768px) { .tagline p { font-size: 48px; line-height: 1.05; max-width: 900px; } }
@media (min-width: 1100px) { .tagline p { font-size: 60px; } }
.tagline .w { color: rgba(15, 26, 31, 0.28); transition: color 800ms var(--ease); }
.tagline .w.on { color: var(--text); }
.dark.tagline { background: var(--ink-2); }
.dark.tagline .w { color: rgba(244, 242, 238, 0.26); }
.dark.tagline .w.on { color: var(--on-dark); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step { display: grid; gap: 12px; padding: 32px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) and (max-width: 999px) { .step { grid-template-columns: 64px 1fr; column-gap: 16px; row-gap: 8px; align-items: start; } .step .n { grid-row: 1 / span 2; } }
@media (min-width: 1000px) { .step { grid-template-columns: 96px 240px 1fr; gap: 24px; align-items: start; } }
.step .n { font-family: var(--mono); font-size: 14px; line-height: 20px; color: var(--text-3); }
.step h3 { font-size: 24px; line-height: 32px; }
.step p { color: var(--text-2); max-width: 560px; }
.dark .steps, .dark .step { border-color: var(--line-dark); }
.dark .step .n { color: var(--on-dark-3); }
.dark .step p { color: var(--on-dark-2); }

/* ---------- Feature split ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.flip > :first-child { order: 2; } }
.split-media { border-radius: var(--r-xl); overflow: hidden; background: var(--ink-2); aspect-ratio: 4 / 3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: 36px; line-height: 40px; }
@media (min-width: 768px) { .split h2 { font-size: 48px; line-height: 1; } }
.split .lead { font-size: 18px; line-height: 28px; color: var(--text-2); margin-top: 16px; }
.dark .split .lead { color: var(--on-dark-2); }
.feature-list { display: grid; grid-template-columns: minmax(48px, max-content) 1fr; gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.feature-list li { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; column-gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
@supports not (grid-template-columns: subgrid) { .feature-list li { grid-template-columns: 96px 1fr; } }
.feature-list .n { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--text-3); }
.dark .feature-list, .dark .feature-list li { border-color: var(--line-dark); }
.dark .feature-list .n { color: var(--on-dark-3); }

/* ---------- Testimonials ---------- */
.quote { margin: 0; display: grid; gap: 24px; padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); align-content: space-between; }
.quote blockquote { margin: 0; font-size: 18px; line-height: 28px; font-weight: 500; letter-spacing: -0.01em; }
.quote figcaption { display: grid; gap: 2px; font-size: 14px; line-height: 20px; color: var(--text-2); }
.quote figcaption b { color: var(--text); font-weight: 700; }
.quote figcaption a { text-decoration: underline; text-decoration-color: #a7b3b9; text-underline-offset: 3px; }
.quote figcaption a:hover { color: var(--text); text-decoration-color: currentColor; }
.quote .qmark { width: 24px; height: 24px; color: var(--teal-2); }
.dark .quote { background: var(--ink-2); border-color: var(--line-dark); }
.dark .quote figcaption { color: var(--on-dark-2); }
.dark .quote figcaption b { color: var(--on-dark); }
.dark .quote figcaption a:hover { color: var(--on-dark); }

/* ---------- Spec table / data ---------- */
.spec { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; }
.spec th, .spec td { text-align: left; padding: 12px 12px; border-bottom: 1px solid var(--line); }
.spec th { font-family: var(--mono); font-weight: 500; font-size: 12px; line-height: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.spec td:first-child { font-family: var(--mono); font-weight: 600; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dark .spec th, .dark .spec td { border-color: var(--line-dark); }
.dark .spec th { color: var(--on-dark-3); }

/* ---------- Services page ---------- */
.subnav { position: sticky; top: 88px; z-index: 30; background: rgba(243, 241, 236, 0.86); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px; overflow-x: auto; padding: 8px 0; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; padding: 8px 12px; border-radius: 999px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text-2); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.subnav a:hover { background: rgba(15, 26, 31, 0.06); color: var(--text); }
.subnav a.is-active { background: var(--ink); color: var(--on-dark); }
.service { padding-block: clamp(64px, 9vw, 96px); border-bottom: 1px solid var(--line); scroll-margin-top: 136px; }
.service:last-child { border-bottom: 0; }
.service .split-media { aspect-ratio: 4 / 3; }
.service h2 { font-size: 36px; line-height: 40px; }
@media (min-width: 768px) { .service h2 { font-size: 48px; line-height: 1; } }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-2); background: var(--paper-2); }
.dark .pill { border-color: var(--line-dark); color: var(--on-dark-2); background: transparent; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
/* On phones, stack a quote button and a download at one full width rather than two ragged ones. */
@media (max-width: 559px) { .cta-row:has(.pdf-button) > * { flex: 1 1 100%; } }
.cta-note { max-width: 60ch; margin-top: 16px; font-size: 14px; line-height: 22px; color: var(--text-2); }
.doc-list { display: grid; gap: 12px; }
.doc { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper-2); }
.doc-copy { min-width: 0; }
.doc-copy h3 { font-size: 16px; line-height: 24px; margin-bottom: 4px; }
.doc-copy p { font-size: 14px; line-height: 20px; color: var(--text-2); }
@media (max-width: 699px) { .doc { grid-template-columns: minmax(0, 1fr); } .doc .pdf-button { width: 100%; } }
.library-hero { padding-bottom: 0; }
.library-hero p:not(.eyebrow) { max-width: 660px; }
.library-jumps { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.library-jumps a { display: inline-flex; align-items: center; gap: 20px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; }
.library-jumps a:hover { background: #fff; color: var(--teal); }
.library-products { padding-top: 48px; }
.library-section-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.library-section-head h2 { font-size: 24px; line-height: 32px; }
.brochure-grid { display: grid; gap: 24px; }
.brochure-card { display: grid; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; transition: border-color 180ms ease, box-shadow 180ms ease; }
.brochure-card:focus-within, .brochure-card:has(.pdf-button:hover) { border-color: rgba(0,74,99,.35); box-shadow: 0 16px 40px -20px rgba(11,20,24,.2); }
.brochure-cover { display: grid; place-items: center; padding: 28px; background: #e8ecec; }
.brochure-cover img { height: 236px; width: auto; max-width: 100%; object-fit: contain; box-shadow: 5px 10px 18px -5px rgba(11,20,24,.3); transform: rotate(-3deg); transition: transform 250ms ease; }
.brochure-card:focus-within .brochure-cover img, .brochure-card:has(.pdf-button:hover) .brochure-cover img { transform: rotate(0); }
.brochure-info { padding: 28px; display: flex; flex-direction: column; align-items: start; }
.brochure-info .eyebrow { margin-bottom: 10px; font-size: 11px; }
.brochure-info h3 { font-size: 24px; line-height: 30px; margin-bottom: 14px; }
.brochure-info > p:not(.eyebrow) { font-size: 14px; line-height: 23px; color: var(--text-2); margin-bottom: 24px; }
.brochure-info .pdf-button { width: 100%; margin-top: auto; }
.library-documents { background: #fff; border-block: 1px solid var(--line); }
.library-documents > .wrap { display: grid; gap: 32px; }
.library-documents h2 { font-size: 32px; line-height: 40px; margin-bottom: 20px; }
.library-documents-intro > p:not(.eyebrow) { color: var(--text-2); max-width: 420px; }
.library-documents .doc { padding: 20px; background: #f5f7f8; }
.library-help { padding-block: 48px; }
.library-help > .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.library-help h2 { font-size: 24px; margin-bottom: 8px; }
.library-help p { color: var(--text-2); }
@media (min-width: 640px) { .brochure-card { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } .brochure-cover img { height: auto; max-height: 280px; } }
@media (min-width: 1000px) { .brochure-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .brochure-cover { padding: 22px; } .brochure-info { padding: 24px; } .brochure-info h3 { font-size: 22px; line-height: 28px; } .library-documents > .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 64px; } }
@media (prefers-reduced-motion: reduce) { .brochure-cover img { transition: none; } }

/* ---------- Projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text-2); cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.filters button:hover { border-color: var(--text); color: var(--text); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.project { transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.project[hidden] { display: none; }
.project .sector { font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r-lg); color: var(--text-2); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (max-width: 999px) { .contact-grid > form { order: -1; } }
#quote { position: absolute; top: 0; left: 0; scroll-margin-top: 112px; }
.quote-card { position: relative; scroll-margin-top: 112px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 80px; } }
.people { display: grid; gap: 0; border-top: 1px solid var(--line); }
.person { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .person { grid-template-columns: 1fr auto; align-items: center; } }
.person b { font-size: 16px; line-height: 24px; }
.person span { font-size: 14px; line-height: 20px; color: var(--text-2); }
.person a { font-family: var(--mono); font-size: 14px; line-height: 20px; font-weight: 500; }
.person a:hover { color: var(--teal-2); }
.address { display: grid; gap: 16px; }
.address p { color: var(--text-2); }
.address a { font-weight: 600; }
.address a:hover { color: var(--teal-2); }

form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { font-size: 14px; line-height: 20px; font-weight: 600; }
label small { font-weight: 500; color: var(--text-3); }
input, select, textarea {
  width: 100%; padding: 12px 16px; border-radius: var(--r-md); border: 1px solid var(--line);
  background: var(--paper-2); color: var(--text); font: inherit; font-size: 16px; line-height: 24px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%234f5f66' stroke-width='1.5'><path d='M4 6l4 4 4-4'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.service-picker { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-width: 0; min-height: 56px; padding: 10px 12px 10px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper-2); color: var(--text); font: inherit; font-size: 16px; line-height: 24px; text-align: left; cursor: pointer; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.service-picker.is-placeholder .service-picker-value { color: var(--text-2); }
.service-picker-arrow { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; background: var(--paper); color: var(--teal-2); }
.service-picker-arrow svg { width: 20px; height: 20px; transition: transform var(--dur) var(--ease); }
.service-picker[aria-expanded="true"] .service-picker-arrow svg { transform: rotate(180deg); }
.service-picker:hover { border-color: rgba(15, 26, 31, 0.35); }
.service-picker:focus-visible, .service-picker[aria-expanded="true"] { outline: none; border-color: var(--teal-2); box-shadow: 0 0 0 3px rgba(10, 110, 176, 0.12); }
.service-picker[aria-invalid="true"] { border-color: #b3261e; }
.service-picker:disabled { cursor: default; }
.service-options { position: fixed; z-index: 60; margin: 0; padding: 6px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid rgba(15, 26, 31, 0.16); border-radius: 16px; background: var(--paper-2); box-shadow: 0 16px 48px rgba(11, 20, 24, 0.16), 0 3px 8px rgba(11, 20, 24, 0.05); scrollbar-width: thin; scrollbar-color: #b9c1c3 transparent; }
.service-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 10px 12px; border: 1px solid transparent; border-radius: 10px; color: var(--text); font-size: 15px; line-height: 22px; cursor: pointer; }
.service-option + .service-option { margin-top: 2px; }
.service-option::after { content: ""; width: 16px; height: 16px; flex: none; }
.service-option[aria-selected="true"] { color: var(--teal-2); background: #eaf3f7; font-weight: 600; }
.service-option[aria-selected="true"]::after { background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='m3 8 3 3 7-7'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='m3 8 3 3 7-7'/></svg>") center / contain no-repeat; }
.service-option.is-active { border-color: var(--teal-2); background: #f0f6f9; }
@media (hover: hover) { .service-option:hover { background: #eaf3f7; } }
@media (forced-colors: active) { .service-option.is-active { outline: 2px solid Highlight; outline-offset: -3px; } .service-option[aria-selected="true"] { color: Highlight; border-color: Highlight; } }
textarea { min-height: 144px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: rgba(15, 26, 31, 0.35); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--teal-2); box-shadow: 0 0 0 3px rgba(10, 110, 143, 0.2); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #b3261e; }
.error { font-size: 14px; line-height: 20px; color: #b3261e; min-height: 0; }
.error:empty { display: none; }
.form-note { font-size: 14px; line-height: 20px; color: var(--text-2); }
.form-status { font-size: 14px; line-height: 20px; padding: 12px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--paper-2); }
.form-status:empty { display: none; }
.form-status.ok { border-color: rgba(10, 110, 143, 0.4); color: var(--teal); }
.form-status.bad { border-color: rgba(179, 38, 30, 0.4); color: #b3261e; }
.btn.is-loading { opacity: 0.7; pointer-events: none; }

/* ---------- Final CTA ---------- */
.cta-band { padding-block: clamp(80px, 12vw, 128px); }
.cta-band h2 { font-size: 36px; line-height: 40px; max-width: 680px; }
@media (min-width: 768px) { .cta-band h2 { font-size: 60px; line-height: 1; } }
.cta-band p { font-size: 18px; line-height: 28px; color: var(--on-dark-2); max-width: 560px; margin-top: 24px; }
.cta-band .cta-row { margin-top: 40px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark); border-top: 1px solid var(--line-dark); padding: 64px 0 32px; }
.footer-grid { display: grid; gap: 40px; }
.footer-brand { max-width: 360px; }
.footer-links { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px 32px; }
.footer-contact-column { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .footer-grid { display: flex; justify-content: space-between; align-items: start; gap: 40px; }
  .footer-brand { flex: 0 0 220px; }
  .footer-links { grid-template-columns: 160px 80px minmax(0, 250px); gap: 32px; }
  .footer-contact-column { grid-column: auto; }
}
@media (min-width: 1100px) {
  .footer-brand { flex-basis: 260px; }
  .footer-links { grid-template-columns: repeat(3, max-content); gap: clamp(48px, 4.5vw, 72px); }
}
.footer h2 { font-size: 16px; line-height: 24px; font-weight: 700; color: var(--accent-hi); margin-bottom: 24px; }
.footer ul { display: grid; gap: 10px; font-size: 14px; line-height: 22px; }
.footer a { color: var(--on-dark-2); transition: color var(--dur) var(--ease); }
.footer a:hover { color: var(--on-dark); }
.footer p { color: var(--on-dark-2); font-size: 14px; line-height: 20px; max-width: 360px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; align-items: start; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; font-size: 12px; line-height: 20px; color: var(--on-dark-3); }
.footer-registration, .footer-legal { display: grid; gap: 6px; }
@media (min-width: 900px) { .footer-legal { text-align: right; } }
.footer .footer-enquiry { display: inline-flex; gap: 12px; align-items: center; color: var(--accent-hi); margin-top: 24px; font-size: 14px; font-weight: 600; }
.footer-bottom a { color: var(--on-dark-3); }
.footer-bottom a:hover { color: var(--on-dark); }
.footer .brand { color: var(--on-dark); }
.footer .footer-intro { margin: 20px 0 24px; }
.footer-contact { display: grid; justify-items: start; gap: 8px; font-style: normal; font-size: 14px; line-height: 22px; }
.footer-hours { display: grid; gap: 4px; margin-top: 20px; font-size: 13px; line-height: 22px; color: var(--on-dark-2); }
.footer-hours a { color: var(--accent-hi); }
/* Contact routes: phone, email and office hours, each with its icon */
.contact-list { display: grid; gap: 18px; margin: 24px 0 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--teal); color: #fff; }
.contact-icon svg { width: 22px; height: 22px; }
.contact-list li > div { display: grid; gap: 2px; min-width: 0; }
.contact-label { font-family: var(--mono); font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.contact-list a, .contact-value { font-size: 17px; line-height: 24px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.contact-list a { color: var(--teal-2); }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-list .contact-note { font-size: 14px; line-height: 20px; }
.footer-contact .footer-phone { color: var(--on-dark); font-size: 20px; line-height: 28px; font-weight: 600; }
.footer-address { margin-top: 8px; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer .brand:hover { text-decoration: none; }
.footer :focus-visible { outline-color: var(--on-dark); }
.footer .socials { display: flex; gap: 2px; }
.footer-bottom > span:first-child { max-width: 600px; }
.socials-footer a:hover { background: rgba(244, 242, 238, 0.1); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); filter: blur(8px); transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(32px); filter: blur(8px); transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; filter: none; }
.reveal-stagger.is-in > :nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.is-in > :nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-in > :nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.is-in > :nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.is-in > :nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.is-in > :nth-child(7) { transition-delay: 480ms; }
.reveal-stagger.is-in > :nth-child(8) { transition-delay: 560ms; }
.hero .reveal { transition-delay: 150ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; filter: none; }
  .tagline .w { color: inherit; }
  .card:hover .card-media img { transform: none; }
}

/* 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 64px; }
.notfound .big { font-family: var(--mono); font-size: 96px; line-height: 1; font-weight: 600; color: var(--teal-2); letter-spacing: -0.04em; }

/* Legal */
.prose { max-width: 680px; }
.prose h2 { font-size: 24px; line-height: 32px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { list-style: disc; padding-left: 24px; display: grid; gap: 8px; }
.prose code { font-family: var(--mono); font-size: 0.9em; }
.analytics-control { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 16px 0; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; }
.analytics-control p { margin: 0; color: var(--text); }
/* Analytics consent banner (analytics.js): small, bottom right; on phones the call button moves above it while it shows */
.consent { position: fixed; z-index: 38; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: min(320px, calc(100vw - 32px)); max-height: calc(100dvh - var(--consent-top, 84px) - 16px - env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-2); box-shadow: 0 12px 32px rgba(11, 20, 24, 0.18); }
.consent-hides-dock .call-dock { visibility: hidden; transition: none; }
.consent p { margin: 0 0 12px; font-size: 14px; line-height: 20px; color: var(--text-2); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent-actions .btn { padding-block: 6px; }
@media (max-width: 639px) { .consent { left: 16px; width: auto; } }

/* ---------- Single page: service panels ---------- */
.svc-card { text-align: left; cursor: pointer; border: 1px solid var(--line); background: var(--paper-2); padding: 0; font: inherit; color: inherit; }
.svc-card[aria-expanded="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.svc-card[aria-expanded="true"] .card-arrow { background: var(--ink); color: var(--on-dark); border-color: var(--ink); transform: rotate(45deg); }
.svc-panels { margin-top: 24px; }
.svc-panel { position: relative; padding: 40px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--paper-2); scroll-margin-top: 96px; }
@media (max-width: 640px) { .svc-panel { padding: 24px; } }
.svc-panel .split-media { aspect-ratio: 4 / 3; }
.svc-panel .split h2 { font-size: 30px; line-height: 36px; }
@media (min-width: 768px) { .svc-panel .split h2 { font-size: 36px; line-height: 40px; } }
.svc-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper-2); display: grid; place-items: center; cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.svc-close svg { width: 16px; height: 16px; }
.svc-close:hover { background: var(--ink); color: var(--on-dark); }

/* ---------- Google reviews card ---------- */
.gcard { display: flex; align-items: center; gap: 16px; padding: 16px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.gcard .glogo { width: 40px; height: 40px; flex: none; }
.gbody { display: grid; gap: 4px; }
.gstars { display: flex; gap: 2px; }
.gstars i { width: 18px; height: 18px; background: #d9d4c8; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2.5l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4 6.1 20.5l1.2-6.5L2.5 9.4l6.6-.9z'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2.5l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4 6.1 20.5l1.2-6.5L2.5 9.4l6.6-.9z'/></svg>") center / contain no-repeat; }
.gstars i.on { background: #f4b400; }
.gstars i.half { background: linear-gradient(90deg, #f4b400 50%, #d9d4c8 50%); }
.grating { margin: 0; font-size: 14px; line-height: 20px; color: var(--text-2); }
.grating b { color: var(--text); font-size: 16px; }
.gcount:empty { display: none; }

/* ---------- Map ---------- */
#find-us .sec-head { max-width: none; }
.map-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--paper-3); height: 480px; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card { position: absolute; right: 24px; bottom: 24px; width: 320px; max-width: 100%; display: grid; gap: 24px; padding: 28px; border-radius: var(--r-lg); background: var(--teal); color: #fff; box-shadow: 0 12px 40px -16px rgba(11, 20, 24, .35); }
.map-card .eyebrow { margin: 0; color: rgba(255, 255, 255, .75); }
.map-card address { font-style: normal; font-size: 15px; line-height: 24px; color: rgba(255, 255, 255, .85); }
.map-card address strong { display: block; margin-bottom: 8px; color: #fff; font-size: 18px; }
.map-card .btn { background: #fff; color: var(--ink); }
.map-card .btn:hover { background: var(--paper-3); }
.map-card :focus-visible { outline-color: var(--accent-hi); }

.review-cards { display: grid; gap: 24px; }
@media (min-width: 640px) { .review-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 720px) { .review-cards { grid-template-columns: repeat(3, 1fr); } }
.review-cards { margin: -16px 0 40px; }
.gcard { align-items: flex-start; }
.gcard .glogo { margin-top: 2px; }
.tpcard .gstars i.on { background: #00b67a; }
/* trust row under reviews */
.trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }

/* ---------- Quote form, two steps ---------- */
.quote-card { padding: 32px; background: #e9f3fa; border: 1px solid rgba(26, 155, 240, 0.18); border-radius: var(--r-xl); gap: 24px; }
@media (max-width: 640px) { .quote-card { padding: 24px; } }
.step-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.step-count { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper-2); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
.step-count .dots { display: inline-flex; gap: 4px; }
.step-count .dots i { width: 8px; height: 8px; border-radius: 999px; background: var(--paper-3); }
.step-count .dots i.on { background: var(--accent); }
fieldset.qstep { margin: 0; padding: 0; border: 0; display: grid; gap: 24px; min-width: 0; }
fieldset.qstep legend { padding: 0; margin-bottom: 8px; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; grid-auto-rows: 1fr; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { position: relative; display: block; cursor: pointer; }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile { display: flex; }
.tile span {
  display: flex; align-items: center; width: 100%; min-height: 64px; padding: 8px 12px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--paper); font-size: 14px; line-height: 20px; font-weight: 600;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.tile:hover span { border-color: rgba(15, 26, 31, 0.4); }
.tile input:checked + span { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.tile input:focus-visible + span { outline: 2px solid var(--teal-2); outline-offset: 2px; }
.more summary { cursor: pointer; font-weight: 600; font-size: 14px; line-height: 20px; color: var(--teal-2); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; font-family: var(--mono); width: 20px; height: 20px; border-radius: 999px; border: 1px solid var(--line); display: inline-grid; place-items: center; font-size: 12px; }
.more[open] summary::before { content: "–"; }
.quote-card textarea { min-height: 120px; }

/* Google proof link in the hero */
.gproof { display: grid; grid-template-columns: 24px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; color: inherit; }
.gproof .gmark { width: 22px; height: 22px; grid-row: 1 / span 2; }
.gproof b { font-size: 20px; line-height: 28px; letter-spacing: -0.02em; }
.gproof span { font-size: 14px; line-height: 20px; color: var(--on-dark-2); display: inline-flex; align-items: center; gap: 4px; transition: color var(--dur) var(--ease); }
.gproof .garr { width: 12px; height: 12px; transition: transform var(--dur) var(--ease); }
.gproof:hover span { color: var(--on-dark); }
.gproof:hover .garr { transform: translate(2px, -2px); }

/* ---------- Our people ---------- */
.person-card { padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; gap: 8px; grid-template-rows: auto auto minmax(48px, 1fr) auto; align-content: stretch; transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.person-card:hover { transform: translateY(-4px); border-color: rgba(15, 26, 31, 0.28); }
.person-card .avatar { width: 56px; height: 56px; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 24px; line-height: 32px; margin-bottom: 8px; }
.person-card h3 { font-size: 24px; line-height: 32px; }
.person-card .role { color: var(--text-2); margin: 0; align-self: start; }
.person-links { display: grid; gap: 4px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); align-self: end; }
.person-links a { font-family: var(--mono); font-size: 14px; line-height: 20px; font-weight: 500; }
.person-links a:hover { color: var(--teal-2); }
.team-cards .person-links a { overflow-wrap: anywhere; }
.team-cards { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .team-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.team-cards .person-card { min-width: 0; padding: 24px; background: var(--paper-2); }

.form-wrap { max-width: 760px; }

/* ---------- Slate section (Find us) ---------- */
.slate { background: var(--slate); color: var(--on-dark); }
.slate .eyebrow { color: var(--on-dark-3); }
.slate .sec-head p { color: var(--on-dark-2); }
.slate .map-frame { border-color: rgba(244, 242, 238, 0.14); background: #16303d; }

/* nav social icons */
.socials { display: flex; gap: 2px; }
.socials a { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; transition: background-color var(--dur) var(--ease); }
.socials svg { width: 18px; height: 18px; }
.socials a:hover { background: rgba(15, 26, 31, 0.06); }

/* strapline: break only between the two pairs */
.strap { display: inline-flex; flex-wrap: wrap; gap: 0 0.35em; }
.strap span { white-space: normal; }
/* Narrow phones wrap the strapline, so drop the separator rather than start a line with it. */
@media (max-width: 359px) { .strap-dot { display: none; } }

/* split images fill the height of their text column; inside service panels they stay natural and sticky */
@media (min-width: 1000px) {
  .split { align-items: stretch; }
  .split > .split-media { aspect-ratio: auto; height: 100%; min-height: 440px; }
  .svc-panel .split { align-items: start; }
  .svc-panel .split > .split-media { aspect-ratio: 4 / 3; height: auto; min-height: 0; position: sticky; top: 104px; }
  #downloads .split { align-items: start; }
}

/* tablets and phones: the office card sits under the map instead of over it */
@media (max-width: 899px) {
  .map-frame { height: auto; display: grid; }
  .map-frame iframe { position: relative; height: 360px; }
  .map-card { position: static; width: 100%; border-radius: 0; padding: 24px; box-shadow: none; }
  .map-card .btn { justify-self: start; }
}

.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Concise homepage and dedicated service pages. */
section[id], .contact-directory, .project[id] { scroll-margin-top: 112px; }
.link svg, .service-arrow svg { width: 20px; height: 20px; flex: none; }
.link { display: inline-flex; align-items: center; gap: 8px; }
.sec-head .link, .sec-head .btn { justify-self: start; }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.service-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) 24px; align-items: center; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.service-thumb { width: 88px; height: 88px; overflow: hidden; border-radius: 8px; background: var(--paper-3); }
.service-thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-copy h3 { font-size: 20px; line-height: 28px; }
.service-copy p { margin: 8px 0 0; font-size: 14px; line-height: 22px; color: var(--text-2); }
.service-row:hover h3, .service-row:hover .service-arrow { color: var(--teal-2); }
.service-arrow { justify-self: end; }
.service-overview, .gallery-section { padding-top: 24px; }
.section-link { margin-top: 32px; }
.workshop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
.workshop .sec-head { margin: 0; align-content: start; }
.workshop-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
.workshop-steps li + li { border-top: 1px solid var(--line); padding-top: 24px; }
.workshop-steps h3 { font-size: 22px; line-height: 28px; margin-bottom: 8px; }
.workshop-steps p { color: var(--text-2); max-width: 520px; }
.fastfix-feature { display: grid; grid-template-columns: minmax(0, 1fr) 289px; gap: 80px; align-items: center; }
.fastfix-feature .sec-head { margin: 0; }
.fastfix-photo { margin: 0; max-width: 289px; }
.fastfix-photo img { border-radius: var(--r-md); }
.fastfix-photo figcaption { color: var(--on-dark-2); font-size: 14px; line-height: 20px; margin-top: 16px; }
.selected-projects { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .selected-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.selected-projects .card-media { aspect-ratio: 4 / 3; }
.project-story { grid-column: 1 / -1; }
.project-photos { padding: 20px 20px 0; }
.project-story > .gallery-controls { margin-inline: 24px; }
.project-story .project-photos img { aspect-ratio: 4 / 3; object-fit: contain; }
.project-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.project-comparison figure { position: relative; min-width: 0; height: 100%; overflow: hidden; margin: 0; }
.project-comparison figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 9px; border-radius: 6px; background: rgba(11, 20, 24, .88); color: #fff; font-size: 12px; line-height: 18px; }
.project .project-service { margin-top: 4px; justify-self: start; font-size: 14px; line-height: 20px; }
.project-directory { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: clamp(24px, 3vw, 40px); }
.project-directory h3 { font-size: 24px; line-height: 32px; }
.project-directory-intro { margin: 12px 0 0; color: var(--text-2); font-size: 14px; line-height: 22px; }
.project-directory li { border-bottom: 1px solid var(--line); }
.project-directory li:first-child { border-top: 1px solid var(--line); }
.project-directory li a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 16px; line-height: 24px; }
.project-directory li a:hover { color: var(--teal-2); }
.project-directory li a:focus-visible { outline-offset: -2px; }
.project-directory svg { width: 20px; height: 20px; flex: none; }
.project-directory > .link { align-self: flex-start; }
/* service pages: the matching projects and reviews, on the same canvas as the service detail above */
.service-work { padding-top: 0; }
.service-work h2 { max-width: 760px; margin: 12px 0 32px; font-size: clamp(28px, 3vw, 36px); line-height: 1.2; }
.service-work .quote { max-width: 860px; margin-top: 24px; background: var(--paper-2); }
.reviews-section { background: #f2f6f8; border-block: 1px solid var(--line); }
.reviews-intro { display: grid; gap: 32px; align-items: center; margin-bottom: 40px; }
.reviews-intro .sec-head { margin: 0; }
.reviews-photo { margin: 0; position: relative; border-radius: 24px; overflow: hidden; }
.reviews-photo img { width: 100%; height: 300px; object-fit: cover; }
.reviews-photo figcaption { position: absolute; bottom: 16px; left: 16px; right: 16px; width: fit-content; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--teal); font-size: 12px; font-weight: 600; }
.reviews-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 4px; }
.reviews-rating b { font-size: 24px; color: var(--text); }
.review-stars { font-size: 26px; letter-spacing: 2px; }
/* Five stars, filled to the live rating when the Google feed supplies one. */
.live-stars { --rating-fill: 100%; color: transparent; background: linear-gradient(to right, #e8a000 var(--rating-fill), #b6c0c5 var(--rating-fill)); -webkit-background-clip: text; background-clip: text; }
.reviews-cta { margin-top: 8px; }
.google-maps-attribution { white-space: nowrap; font-size: 14px; font-style: normal; font-weight: 400; letter-spacing: normal; color: #5e5e5e; }
.hero-proof-row .google-maps-attribution { display: inline; color: #fff; }
.hero-proof-row [data-google-hero-count] { display: inline; }
.hero-proof-row .hero-review b span { font-size: inherit; line-height: inherit; color: inherit; }
.hero-proof-row .hero-review b .hero-stars { font-size: 17px; letter-spacing: 2px; color: transparent; white-space: nowrap; }
.google-attributions { font-size: 12px; line-height: 18px; }
.google-attributions a + a::before { content: ' · '; }
.home-quotes { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.home-quotes .quote { border: 1px solid rgba(15,26,31,.05); border-radius: 20px; padding: 28px; background: #fff; box-shadow: 0 12px 32px -16px rgba(31,61,77,.15); display: flex; flex-direction: column; gap: 24px; }
.home-quotes .quote .qmark { width: 40px; height: 40px; padding: 9px; flex: none; border-radius: 50%; background: #eaf1f4; color: #647983; }
.home-quotes .quote blockquote { font-size: 17px; line-height: 27px; }
.home-quotes .quote figcaption { margin-top: auto; padding-top: 20px; position: relative; }
.home-quotes .quote figcaption::before { content: ""; position: absolute; top: 0; width: 28px; height: 2px; background: #d9e2e7; }
.review-controls { display: none; align-items: center; justify-content: center; gap: 24px; margin-top: 24px; }
.review-controls button { display: grid; place-items: center; width: 44px; height: 44px; background: #fff; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; font-size: 22px; }
.review-controls button:hover:not(:disabled) { color: #fff; background: var(--teal); }
.review-controls button:disabled { opacity: .4; cursor: default; }
.review-position { font-family: var(--mono); font-size: 12px; min-width: 52px; text-align: center; }
.review-platforms { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 32px; padding: 8px 24px; background: #fff; border-radius: 20px; }
.review-platform { display: grid; grid-template-columns: 32px minmax(0, 1fr) 20px; gap: 16px; align-items: start; padding: 24px 0; }
.review-platform + .review-platform { border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .reviews-intro { grid-template-columns: 1.15fr 1fr; gap: 64px; }
  .home-quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .review-platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 24px 8px; }
  .review-platform { padding: 0 24px; }
  .review-platform + .review-platform { border-top: 0; border-left: 1px solid var(--line); }
}
@media (max-width: 899px) {
  .reviews-photo img { height: 220px; }
  .home-quotes.is-carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 8px; }
  .home-quotes.is-carousel::-webkit-scrollbar { display: none; }
  .home-quotes.is-carousel .quote { flex: 0 0 100%; scroll-snap-align: start; }
  .review-controls:not([hidden]) { display: flex; }
}
.review-platform h3 { font-size: 16px; line-height: 24px; }
.review-platform p { margin: 4px 0 0; font-size: 14px; line-height: 22px; color: var(--text-2); }
.review-platform .rating-date { font-size: 12px; line-height: 18px; }
.review-platform .platform-logo { width: 32px; height: 32px; }
.review-platform .platform-arrow { width: 20px; height: 20px; color: var(--text-3); }
a.review-platform:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.gcard { min-width: 0; }
.rating-date { font-size: 12px; line-height: 18px; color: var(--text-2); margin-top: 8px; }
.testimonial-list { display: grid; gap: 32px; max-width: 900px; margin-top: 40px; }
.documents-wrap { max-width: 960px; }
.documents-wrap > .form-note { margin-top: 24px; }
.contact-directory { margin: 0; display: grid; gap: 0; }
.contact-directory > div { padding: 24px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; gap: 24px; }
.contact-directory dt { font-size: 22px; line-height: 28px; font-weight: 700; }
.contact-directory dd { margin: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.contact-directory a { color: var(--teal-2); }
.office-strip { padding-block: 48px; background: var(--paper-3); }
.office-strip .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.office-strip h2 { font-size: 28px; line-height: 36px; margin-bottom: 12px; }
.office-strip p { color: var(--text-2); }
.service-detail { padding: 144px 0 64px; }
.breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; line-height: 22px; color: var(--text-2); margin-bottom: 40px; }
.breadcrumbs a { color: var(--teal-2); }
.service-detail h1 { font-size: clamp(36px, 4vw, 52px); line-height: 1.1; margin: 16px 0 24px; }
.service-layout { display: grid; gap: 32px; }
.service-layout > * { min-width: 0; }
.service-intro .lead { font-size: 18px; line-height: 28px; color: var(--text-2); }
.service-detail .cta-row .btn { white-space: normal; max-width: 100%; text-align: center; }
.service-photos .installation-gallery { grid-template-columns: 1fr; }
.installation-gallery figcaption { padding: 16px 20px; font-size: 14px; line-height: 22px; color: var(--text-2); }
@media (min-width: 768px) and (max-width: 999px) {
  .service-photos .installation-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .service-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-rows: auto 1fr; column-gap: 64px; }
  .service-intro { grid-column: 2; grid-row: 1; }
  .service-photos { grid-column: 1; grid-row: 1 / 3; }
  .service-content { grid-column: 2; grid-row: 2; }
  .service-content .guide-grid { grid-template-columns: 1fr; gap: 28px; }
}
.service-guide { margin-top: 0; padding-top: 40px; border-top: 1px solid var(--line); }
.service-guide > h2 { max-width: 760px; margin: 12px 0 32px; font-size: clamp(28px, 3vw, 36px); line-height: 1.2; }
.guide-grid { display: grid; gap: 32px; }
.guide-grid article { min-width: 0; }
.guide-grid h3 { margin-bottom: 12px; font-size: 20px; line-height: 28px; }
.guide-grid p { color: var(--text-2); font-size: 16px; line-height: 26px; }
.guide-grid p .link { display: inline; }
.shutter-spec { margin-top: 40px; }
.shutter-spec .feature-list { max-width: 800px; margin-bottom: 0; }
@media (min-width: 900px) { .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.service-gallery h2 { font-size: clamp(26px, 3vw, 32px); line-height: 1.2; margin-bottom: 24px; }
.installation-gallery { display: grid; gap: 24px; }
.installation-gallery figure { margin: 0; min-width: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); }
.installation-gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: var(--paper-3); }
@media (min-width: 768px) { .installation-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service-detail .feature-list .n { min-width: 80px; }
.planning { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; }
.planning h2 { font-size: 32px; line-height: 40px; margin-bottom: 16px; }
.planning > div > p { color: var(--text-2); }
.question { border-top: 1px solid var(--line); padding: 20px 0; }
.question summary { cursor: pointer; font-weight: 700; padding-right: 8px; }
.question p { margin: 16px 0 0; color: var(--text-2); }
input, select, textarea { min-width: 0; }
select[aria-invalid="true"] { border-color: #b3261e; }
.step-head { flex-wrap: wrap; }
.step-head .eyebrow { margin: 0; }
.step-count { white-space: nowrap; letter-spacing: 0; }
.footer-grid > div { min-width: 0; }
.footer a { overflow-wrap: anywhere; }
@media (min-width: 1000px) {
  #contact > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 64px; align-items: start; }
  #contact .sec-head { margin: 0; }
  #contact .form-wrap { width: 100%; }
}
@media (max-width: 999px) {
  .service-list { gap: 0 24px; }
  .service-row { grid-template-columns: 64px minmax(0, 1fr) 20px; gap: 16px; }
  .service-thumb { width: 64px; height: 72px; }
  .workshop, .fastfix-feature { gap: 40px; }
  .planning { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 719px) {
  .service-list { grid-template-columns: 1fr; }
  .service-row { padding-block: 18px; }
  .service-copy h3 { font-size: 18px; line-height: 24px; }
  .service-copy p { font-size: 13px; line-height: 20px; }
  .workshop, .fastfix-feature { grid-template-columns: 1fr; gap: 32px; }
  .fastfix-photo { display: none; }
  .sec-head { margin-bottom: 32px; }
  .sec-head .eyebrow { font-size: 13px; }
  .sec-head h2 { font-size: 32px; line-height: 36px; }
  .hero-scene .scene::after { background: rgba(11, 20, 24, 0.76); }
  .hero-body-scene .hero-sub { opacity: 1; }
  .hero-proof-row { margin-top: 24px; padding-top: 20px; }
  .hero-body-scene h1 { font-size: 40px; }
  .hero-scene .hero-body-scene { padding-bottom: 48px; }
  .contact-directory > div { grid-template-columns: 1fr; gap: 12px; }
  .contact-directory dd { flex-direction: column; gap: 12px; }
  .service-detail { padding-top: 120px; }
  .service-detail .feature-list li { grid-template-columns: 1fr; gap: 8px; }
  .page-hero h1 { font-size: 40px; }
}

/* Put office details and the enquiry together, with compact direct contacts. */
#contact.contact-page > .wrap { display: grid; grid-template-areas: "intro" "office" "form" "team"; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.contact-page .contact-intro { grid-area: intro; margin: 0; }
.contact-page .contact-intro h2 { font-size: 32px; line-height: 38px; }
.contact-page .form-wrap { grid-area: form; width: 100%; }
.contact-office { grid-area: office; display: grid; gap: 12px; justify-items: start; }
.contact-office h2, .contact-team > h2 { font-size: 20px; line-height: 28px; }
.contact-office .contact-phone { font-size: clamp(24px, 3vw, 30px); line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; }
.contact-office p, .contact-office address { font-size: 14px; line-height: 22px; color: var(--text-2); font-style: normal; max-width: 400px; }
.contact-emails { display: grid; gap: 4px; margin: 4px 0; }
.contact-office a { overflow-wrap: anywhere; }
.contact-team { grid-area: team; scroll-margin-top: 112px; }
.contact-team > h2 { margin-bottom: 16px; }
.contact-team .team-cards { grid-template-columns: minmax(0, 1fr); gap: 0; }
.contact-team .person-card { grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto; gap: 4px 16px; padding: 16px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.contact-team .person-card:hover { transform: none; }
.contact-team .avatar { display: none; }
.contact-team .person-card h3 { grid-row: 1 / 3; font-size: 18px; line-height: 24px; }
.contact-team .role { grid-column: 2; font-size: 13px; line-height: 20px; }
@media (min-width: 1000px) {
  #contact.contact-page > .wrap { grid-template-areas: "intro form" "office form" "team form"; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); grid-template-rows: auto auto 1fr; gap: 32px 64px; }
}

/* Native swipe galleries keep every item reachable and retain desktop grids. */
.gallery-controls { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 20px; }
.gallery-controls button { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 22px; cursor: pointer; }
.gallery-controls button:hover:not(:disabled) { background: var(--ink); color: #fff; }
.gallery-controls button:disabled { opacity: .4; cursor: default; }
.gallery-position { min-width: 44px; text-align: center; font-family: var(--mono); font-size: 12px; }
.gallery-hint { margin-right: auto; color: var(--text-2); font-size: 12px; }
@media (max-width: 767px) {
  .mobile-gallery { scroll-margin-top: 104px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding: 2px 24px 8px 2px; }
  .mobile-gallery::-webkit-scrollbar { display: none; }
  .mobile-gallery > * { flex: 0 0 calc(100% - 2px); scroll-snap-align: start; }
  .mobile-gallery:focus-visible { outline-offset: 4px; }
}
