/* =============================================================
   Marshall Climate Control — main stylesheet
   ─────────────────────────────────────────────────────────────
   Palette: slate / cyan / bone (per brand brief A)
   Typography: Inter Display + Inter + JetBrains Mono
   Animation: cool-air streams (slate panels only)

   IMPORTANT: This stylesheet contains ZERO .demo-bar* rules.
   The marketing site's demo-bar partial owns those styles.
   We only use --demo-bar-height (set externally) for layout.
   ============================================================= */


/* -------------------------------------------------------------
   1. CSS variables — design tokens
   ------------------------------------------------------------- */

:root {
  /* Palette */
  --slate:      #1B2A3A;
  --slate-2:    #243549;
  --slate-3:    #2F4763;
  --cyan:       #34C8E5;
  --cyan-hover: #1FA9C4;
  --cyan-soft:  rgba(52, 200, 229, 0.12);
  --cyan-line:  rgba(52, 200, 229, 0.30);
  --bone:       #F5F1EA;
  --paper:      #F8F4EE;
  --ink:        #161617;
  --muted:      #7B7E84;
  --hairline:   #E4DDCD;
  --hairline-2: #D9D0BF;
  --white:      #FFFFFF;

  /* Slate-on-slate accents */
  --slate-line:  rgba(245, 241, 234, 0.10);
  --slate-line-2: rgba(245, 241, 234, 0.18);
  --slate-text:  rgba(245, 241, 234, 0.82);
  --slate-text-soft: rgba(245, 241, 234, 0.60);

  /* Typography */
  --display: 'Inter Display', 'Inter', system-ui, -apple-system, sans-serif;
  --body:    'Inter', system-ui, -apple-system, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* Radii */
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-pill: 999px;

  /* Spacing scale */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  24px;
  --s-6:  32px;
  --s-7:  48px;
  --s-8:  64px;
  --s-9:  96px;
  --s-10: 128px;

  /* Layout */
  --wrap-max: 1240px;
  --wrap-pad: 32px;

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.7, 0.3, 1);
}


/* -------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* Smooth scrolling respects user preference */
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* Prevent horizontal scroll on small screens */
  overflow-x: hidden;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--slate);
  text-decoration: none;
  transition: color 0.18s var(--ease-out), opacity 0.18s var(--ease-out);
}
a:hover { color: var(--slate-2); }

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

::selection {
  background: var(--cyan-soft);
  color: var(--slate);
}


/* -------------------------------------------------------------
   3. Typography
   ------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--slate);
}

h1 { letter-spacing: -0.03em; }

p { line-height: 1.6; }

code, kbd, samp, pre {
  font-family: var(--mono);
  font-size: 0.92em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--cyan);
}
.eyebrow-light {
  color: var(--cyan);
}
.eyebrow-light::before { background: var(--cyan); }


/* -------------------------------------------------------------
   4. Layout primitives
   ------------------------------------------------------------- */

.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--wrap-pad);
}

main {
  min-height: 60vh;
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--s-7);
}
.section-head h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: var(--s-4);
}
.section-lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.55;
}
.section-foot {
  margin-top: var(--s-7);
  display: flex;
  justify-content: center;
}


/* -------------------------------------------------------------
   5. Buttons (pill-shaped, three variants)
   ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s var(--ease-out),
              color 0.18s var(--ease-out),
              box-shadow 0.18s var(--ease-out),
              transform 0.18s var(--ease-out);
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 16px;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--cyan);
  color: var(--slate);
}
.btn-primary:hover {
  background: var(--cyan-hover);
  box-shadow: 0 8px 24px rgba(52, 200, 229, 0.30);
}

.btn-secondary {
  background: var(--slate);
  color: var(--bone);
}
.btn-secondary:hover {
  background: var(--slate-2);
  box-shadow: 0 8px 24px rgba(27, 42, 58, 0.20);
}

.btn-ghost {
  background: transparent;
  color: var(--bone);
  border: 1.5px solid var(--slate-line-2);
  padding: 12.5px 22.5px; /* compensate for border */
}
.btn-ghost.btn-lg {
  padding: 14.5px 26.5px;
}
.btn-ghost:hover {
  background: rgba(245, 241, 234, 0.08);
  border-color: var(--bone);
  color: var(--bone);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--slate);
  border: 1.5px solid var(--slate);
  padding: 12.5px 22.5px;
}
.btn-ghost-dark.btn-lg {
  padding: 14.5px 26.5px;
}
.btn-ghost-dark:hover {
  background: var(--slate);
  color: var(--bone);
}


/* -------------------------------------------------------------
   6. Cool-air streams animation (signature)
   ------------------------------------------------------------- */

.streams {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.stream {
  fill: none;
  stroke: var(--cyan);
  stroke-linecap: round;
  opacity: 0;
  animation: stream-drift 14s linear infinite;
  will-change: transform, opacity;
}

.stream.s1 {
  stroke: rgba(52, 200, 229, 0.55);
  stroke-width: 1.4;
  animation-duration: 18s;
  animation-delay: -2s;
}
.stream.s2 {
  stroke: rgba(52, 200, 229, 0.40);
  stroke-width: 1.2;
  animation-duration: 22s;
  animation-delay: -7s;
}
.stream.s3 {
  stroke: rgba(244, 239, 230, 0.30);
  stroke-width: 1.0;
  animation-duration: 26s;
  animation-delay: -4s;
}
.stream.s4 {
  stroke: rgba(245, 241, 234, 0.22);
  stroke-width: 0.8;
  animation-duration: 30s;
  animation-delay: -11s;
}

@keyframes stream-drift {
  0%   { transform: translateX(-30%); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateX(30%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .stream {
    animation: none !important;
    opacity: 0.4;
    transform: none;
  }
}


/* -------------------------------------------------------------
   7. Site header (sticky below demo bar)
   ------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: var(--demo-bar-height, 0);
  z-index: 50;
  background: var(--bone);
  border-bottom: 1px solid var(--hairline);
}

.site-header-inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 16px var(--wrap-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--slate);
  flex-shrink: 0;
}
.brand:hover { color: var(--slate-2); }

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--cyan);
  color: var(--slate);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand-icon svg { width: 20px; height: 20px; }

.site-header-nav {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}
.site-header-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.site-header-nav a:hover { color: var(--slate); }
.site-header-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset: auto 0 -2px 0;
  height: 2px;
  background: var(--cyan);
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}

.site-header-phone {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  font-family: var(--mono);
  color: var(--slate);
  line-height: 1.1;
}
.site-header-phone-eyebrow {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.site-header-phone-num {
  font-size: 14.5px;
  font-weight: 600;
}
.site-header-phone:hover .site-header-phone-num { color: var(--cyan-hover); }

.site-header-cta {
  padding: 10px 18px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  position: relative;
  flex-shrink: 0;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--slate);
  border-radius: 2px;
  transition: transform 0.2s var(--ease-out), opacity 0.2s var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }


/* -------------------------------------------------------------
   8. Mobile drawer (right slide-in)
   ------------------------------------------------------------- */

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  visibility: hidden;
}
.mobile-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 22, 23, 0.55);
  opacity: 0;
  transition: opacity 0.28s var(--ease-out);
  cursor: pointer;
}
.mobile-drawer.is-open .mobile-drawer-backdrop { opacity: 1; }

.mobile-drawer-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: var(--bone);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease-out);
  box-shadow: -16px 0 48px rgba(22, 22, 23, 0.20);
}
.mobile-drawer.is-open .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer-head {
  flex-shrink: 0;
  padding: var(--s-5) var(--s-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--hairline);
}
.mobile-drawer-close {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--slate);
}
.mobile-drawer-close:hover { background: var(--paper); }
.mobile-drawer-close svg { width: 22px; height: 22px; }

.mobile-drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: var(--s-5) var(--s-5) var(--s-4);
}
.mobile-drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--slate);
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.mobile-drawer-nav a:last-child { border-bottom: 0; }
.mobile-drawer-nav a:hover { color: var(--cyan-hover); }
.mobile-drawer-nav a[aria-current="page"] { color: var(--cyan-hover); }
.md-arrow {
  font-size: 18px;
  color: var(--muted);
  transition: transform 0.18s var(--ease-out);
}
.mobile-drawer-nav a:hover .md-arrow { transform: translateX(4px); color: var(--slate); }

.mobile-drawer-foot {
  flex-shrink: 0;
  padding: var(--s-5);
  background: var(--paper);
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-drawer-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 4px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4FB477;
  box-shadow: 0 0 0 4px rgba(79, 180, 119, 0.18);
}
.mobile-drawer-cta {
  justify-content: center;
  text-align: center;
}
.mobile-drawer-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  margin-top: 4px;
  line-height: 1.5;
}


/* -------------------------------------------------------------
   9. Cookie consent (canonical Variant A markup)
   ------------------------------------------------------------- */

.cc-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 720px;
  margin: 0 auto;
  z-index: 9000;
  background: var(--slate);
  color: var(--bone);
  border-radius: var(--radius-md);
  padding: var(--s-5);
  box-shadow: 0 24px 60px rgba(22, 22, 23, 0.30),
              0 0 0 1px var(--slate-line);
  display: none;
  animation: cc-slide-up 0.32s var(--ease-out);
}
.cc-banner.is-visible { display: block; }

@keyframes cc-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.cc-banner-content {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.cc-banner-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate-text);
}
.cc-banner-text strong { color: var(--bone); font-weight: 600; }
.cc-banner-text a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(52, 200, 229, 0.4);
  text-underline-offset: 2px;
}
.cc-banner-text a:hover { color: var(--cyan); text-decoration-color: var(--cyan); }

.cc-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cc-btn {
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out);
}
.cc-btn-customise {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--slate-line-2);
}
.cc-btn-customise:hover {
  background: rgba(245, 241, 234, 0.08);
  border-color: var(--bone);
}
.cc-btn-reject {
  background: transparent;
  color: var(--slate-text);
}
.cc-btn-reject:hover { color: var(--bone); }
.cc-btn-accept {
  background: var(--cyan);
  color: var(--slate);
}
.cc-btn-accept:hover { background: var(--cyan-hover); }

/* Modal overlay */
.cc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(22, 22, 23, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--s-4);
}
.cc-modal-overlay.is-visible { display: flex; }

.cc-modal {
  background: var(--bone);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(22, 22, 23, 0.40);
  animation: cc-modal-in 0.28s var(--ease-out);
}
@keyframes cc-modal-in {
  from { transform: translateY(8px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.cc-modal-header {
  padding: var(--s-6) var(--s-6) var(--s-5);
  border-bottom: 1px solid var(--hairline);
}
.cc-modal-header h2 {
  font-size: 22px;
  margin-bottom: 6px;
}
.cc-modal-header p {
  font-size: 14px;
  color: var(--muted);
}
.cc-modal-header em { font-style: normal; font-weight: 600; color: var(--slate); }

.cc-modal-body {
  padding: var(--s-5) var(--s-6);
  overflow-y: auto;
  flex: 1;
}

.cc-category {
  display: flex;
  align-items: flex-start;
  gap: var(--s-5);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--hairline);
}
.cc-category:last-child { border-bottom: 0; }
.cc-category-text { flex: 1; }
.cc-category-text h3 {
  font-size: 15px;
  margin-bottom: 4px;
}
.cc-category-text p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.cc-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: var(--hairline);
  border: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s var(--ease-out);
}
.cc-toggle-knob {
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.22s var(--ease-out);
  box-shadow: 0 1px 2px rgba(22, 22, 23, 0.20);
}
.cc-toggle.is-on { background: var(--cyan); }
.cc-toggle.is-on .cc-toggle-knob { transform: translateX(20px); }
.cc-toggle.is-locked { opacity: 0.6; cursor: not-allowed; }

.cc-modal-footer {
  padding: var(--s-5) var(--s-6);
  background: var(--paper);
  border-top: 1px solid var(--hairline);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.cc-modal-footer .cc-btn-reject {
  color: var(--ink);
  background: transparent;
}
.cc-modal-footer .cc-btn-reject:hover { background: var(--hairline); color: var(--slate); }
.cc-modal-footer .cc-btn-accept {
  background: var(--slate);
  color: var(--bone);
}
.cc-modal-footer .cc-btn-accept:hover { background: var(--slate-2); }


/* -------------------------------------------------------------
   10. Hero (homepage, 2-col with cool-air streams)
   ------------------------------------------------------------- */

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-2) 100%);
  color: var(--bone);
  padding: var(--s-9) 0 var(--s-9);
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-8);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: var(--s-5);
}
.hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--cyan);
}

.hero-headline {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--bone);
  margin-bottom: var(--s-5);
}
.hero-headline em {
  font-style: normal;
  color: var(--cyan);
}

.hero-sub {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--slate-text);
  max-width: 540px;
  margin-bottom: var(--s-6);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: var(--s-7);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--slate-line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--slate-text-soft);
}
.hero-trust strong { color: var(--cyan); font-weight: 600; }

/* Hero visual (right column) */
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--slate-3);
  aspect-ratio: 4 / 5;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.30),
              0 0 0 1px var(--slate-line-2);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-spec {
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  background: rgba(27, 42, 58, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  border: 1px solid var(--slate-line-2);
}
.hero-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
}
.hero-spec-row span {
  color: var(--slate-text-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-spec-row strong {
  color: var(--bone);
  font-weight: 600;
}


/* -------------------------------------------------------------
   11. Page hero (sub-pages)
   ------------------------------------------------------------- */

.page-hero {
  padding: var(--s-9) 0 var(--s-7);
  border-bottom: 1px solid var(--hairline);
}
.page-hero .eyebrow { color: var(--slate); }
.page-hero-headline {
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-bottom: var(--s-5);
  max-width: 900px;
}
.page-hero-headline em {
  font-style: normal;
  color: var(--cyan);
}
.page-hero-sub {
  font-size: 19px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.55;
}

.page-hero-quiet {
  padding: var(--s-8) 0 var(--s-6);
  background: var(--paper);
}

.page-hero-dark {
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-2) 100%);
  color: var(--bone);
  border-bottom: 0;
  padding: var(--s-9) 0 var(--s-8);
  position: relative;
  overflow: hidden;
}
.page-hero-dark .wrap { position: relative; z-index: 2; }
.page-hero-dark .page-hero-headline { color: var(--bone); }
.page-hero-dark .page-hero-headline em { color: var(--cyan); }
.page-hero-dark .page-hero-sub { color: var(--slate-text); }


/* -------------------------------------------------------------
   12. Certifications banner
   ------------------------------------------------------------- */

.certs-banner {
  background: var(--bone);
  padding: var(--s-7) 0;
  border-bottom: 1px solid var(--hairline);
}
.certs-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: var(--s-5);
}
.certs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  transition: border-color 0.18s var(--ease-out),
              background 0.18s var(--ease-out);
}
.cert-pill:hover {
  border-color: var(--cyan-line);
  background: var(--white);
}
.cert-name { color: var(--slate); font-weight: 600; }
.cert-reg {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}


/* -------------------------------------------------------------
   13. Stats mosaic (1.4fr feature panel + 4 supporting tiles)
   ------------------------------------------------------------- */

.stats-mosaic {
  padding: var(--s-9) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-5);
}

.stats-feature {
  position: relative;
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-2) 100%);
  color: var(--bone);
  border-radius: var(--radius-lg);
  padding: var(--s-7);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 380px;
}
.stats-feature-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
}
.stats-feature h2 {
  font-size: clamp(28px, 3vw, 36px);
  color: var(--bone);
  margin-bottom: var(--s-4);
  line-height: 1.08;
}
.stats-feature p {
  color: var(--slate-text);
  font-size: 16px;
  line-height: 1.55;
}

.stats-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}

.stats-tile {
  background: var(--bone);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 178px;
}
.stats-tile-value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--slate);
  margin-bottom: 8px;
}
.stats-tile-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: var(--s-3);
}
.stats-tile-foot {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin-top: auto;
}


/* -------------------------------------------------------------
   14. Cards (generic + variants)
   ------------------------------------------------------------- */

.cards-grid {
  display: grid;
  gap: var(--s-5);
}
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bone);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s var(--ease-out),
              transform 0.18s var(--ease-out);
}
.card:hover {
  border-color: var(--hairline-2);
  transform: translateY(-2px);
}

.card-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.card:hover .card-media img { transform: scale(1.04); }

.card-body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  display: flex;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.card-title {
  font-size: 19px;
  margin-bottom: 8px;
  line-height: 1.25;
}
.card-title a {
  color: var(--slate);
}
.card-title a:hover { color: var(--cyan-hover); }

.card-summary {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: var(--s-4);
}

.card-price {
  margin-bottom: var(--s-4);
  font-family: var(--mono);
}
.price-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--slate);
  letter-spacing: -0.01em;
  margin-right: 8px;
}
.price-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-cta {
  font-weight: 600;
  font-size: 14px;
  color: var(--slate);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  align-self: flex-start;
  transition: border-color 0.18s var(--ease-out);
}
.card-cta:hover {
  /* Thicken underline, NEVER swap colour to cyan-on-bone (fails contrast) */
  border-bottom-color: var(--slate);
  border-bottom-width: 2.5px;
  color: var(--slate);
}


/* -------------------------------------------------------------
   15. Reviews (card-review variant)
   ------------------------------------------------------------- */

.cards-grid-reviews {
  /* Review cards don't have media, so allow a different sizing */
}

.card-review {
  padding: var(--s-5);
}
.review-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-4);
}
.review-stars {
  color: var(--cyan);
  letter-spacing: 0.12em;
  font-size: 18px;
}
.review-source {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--hairline);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
}
.review-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: var(--s-4);
}
.review-attrib {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: var(--s-4);
  border-top: 1px solid var(--hairline);
}
.review-attrib strong {
  font-weight: 600;
  color: var(--slate);
  font-size: 14px;
}
.review-attrib span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}


/* -------------------------------------------------------------
   16. Section: services
   ------------------------------------------------------------- */

.services-section {
  padding: var(--s-9) 0;
}


/* -------------------------------------------------------------
   17. System comparator (vertical-specific block A)
   ------------------------------------------------------------- */

.comparator-section {
  padding: var(--s-9) 0;
  background: var(--bone);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.comparator-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}

.comparator-col {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s var(--ease-out),
              box-shadow 0.18s var(--ease-out);
}
.comparator-col:hover {
  border-color: var(--cyan-line);
  box-shadow: 0 8px 24px rgba(27, 42, 58, 0.06);
}
.comparator-col h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--slate);
}
.comparator-bestfor {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: var(--s-4);
  min-height: 2.5em;
}
.comparator-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: var(--s-4) 0;
  border-top: 1px solid var(--hairline);
  margin-bottom: var(--s-5);
  flex: 1;
}
.comparator-specs dt {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.comparator-specs dt:first-child { margin-top: 0; }
.comparator-specs dd {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
}
.comparator-link {
  font-weight: 600;
  font-size: 13px;
  color: var(--slate);
  border-bottom: 1.5px solid var(--slate);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: border-bottom-width 0.18s var(--ease-out);
}
.comparator-link:hover {
  border-bottom-width: 2.5px;
  color: var(--slate);
}


/* -------------------------------------------------------------
   18. Cases section (homepage and related)
   ------------------------------------------------------------- */

.cases-section {
  padding: var(--s-9) 0;
}
.cases-section-related {
  background: var(--bone);
  border-top: 1px solid var(--hairline);
}


/* -------------------------------------------------------------
   19. Desktop survey strip (vertical-specific block C)
   ------------------------------------------------------------- */

.survey-strip {
  position: relative;
  padding: var(--s-9) 0;
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-2) 100%);
  color: var(--bone);
  overflow: hidden;
}
.survey-strip-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-8);
  align-items: center;
}

.survey-strip-text h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  color: var(--bone);
  line-height: 1.05;
  margin-bottom: var(--s-4);
}
.survey-strip-text h2 em {
  font-style: normal;
  color: var(--cyan);
}
.survey-strip-text > p {
  font-size: 17px;
  color: var(--slate-text);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: var(--s-6);
}

.survey-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: var(--s-6);
}
.survey-steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--slate-text);
  font-size: 15px;
  line-height: 1.5;
}
.survey-step-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  background: var(--cyan-soft);
  border: 1px solid var(--cyan-line);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.survey-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.survey-strip-mock {
  position: relative;
  display: flex;
  justify-content: center;
}
.survey-mock-card {
  background: rgba(245, 241, 234, 0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--slate-line-2);
  border-radius: var(--radius-md);
  padding: var(--s-5);
  width: 100%;
  max-width: 380px;
  transform: rotate(-1.2deg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}
.survey-mock-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--cyan);
  margin-bottom: var(--s-4);
}
.survey-mock-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed var(--slate-line-2);
  font-family: var(--mono);
  font-size: 13px;
}
.survey-mock-row:last-child { border-bottom: 0; }
.survey-mock-row span {
  color: var(--slate-text-soft);
  letter-spacing: 0.04em;
}
.survey-mock-row strong {
  color: var(--bone);
  font-weight: 600;
}
.survey-mock-card hr {
  border: 0;
  height: 1px;
  background: var(--slate-line-2);
  margin: 8px 0;
}
.survey-mock-result strong {
  color: var(--cyan);
  font-size: 14px;
}


/* -------------------------------------------------------------
   20. Reviews section
   ------------------------------------------------------------- */

.reviews-section {
  padding: var(--s-9) 0;
  background: var(--bone);
  border-top: 1px solid var(--hairline);
}


/* -------------------------------------------------------------
   21. Footer CTA
   ------------------------------------------------------------- */

.footer-cta {
  position: relative;
  padding: var(--s-9) 0 var(--s-10);
  background: linear-gradient(180deg, var(--slate) 0%, var(--slate-2) 100%);
  color: var(--bone);
  overflow: hidden;
}
.footer-cta-streams {
  position: absolute;
  inset: auto 0 0 0;
  height: 240px;
  pointer-events: none;
}
.footer-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.footer-cta-content h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  color: var(--bone);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--s-5);
}
.footer-cta-content h2 em {
  font-style: normal;
  color: var(--cyan);
  display: block;
}
.footer-cta-content > p {
  font-size: 18px;
  color: var(--slate-text);
  line-height: 1.55;
  margin-bottom: var(--s-6);
}
.footer-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}


/* -------------------------------------------------------------
   22. Site footer
   ------------------------------------------------------------- */

.site-footer {
  background: var(--slate);
  color: var(--slate-text);
}

.site-footer-inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: var(--s-9) var(--wrap-pad) var(--s-7);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-6);
}

.site-footer .brand {
  color: var(--bone);
  margin-bottom: var(--s-4);
}
.footer-tagline {
  font-size: 14px;
  color: var(--slate-text-soft);
  line-height: 1.55;
  max-width: 320px;
  margin-bottom: var(--s-5);
}

.footer-accred {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.accred-pill {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  background: rgba(52, 200, 229, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(52, 200, 229, 0.30);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: var(--s-4);
}
.footer-col p {
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.6;
}
.footer-col a {
  color: var(--bone);
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s var(--ease-out);
}
.footer-col a:hover {
  color: var(--bone);
  border-color: var(--cyan-line);
}
.footer-phone {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
}

.footer-social {
  margin-top: var(--s-3);
  font-size: 13px;
  color: var(--slate-text-soft);
}

.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  font-family: var(--mono);
  gap: 8px;
}
.hours-row span:first-child { color: var(--bone); }
.hours-time, .hours-closed {
  color: var(--slate-text-soft);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.hours-closed { font-style: italic; }

.footer-areas {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}
.footer-areas li {
  font-size: 13.5px;
  color: var(--bone);
}

.site-footer-meta {
  border-top: 1px solid var(--slate-line);
}
.site-footer-meta-inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: var(--s-5) var(--wrap-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--slate-text-soft);
  letter-spacing: 0.04em;
}
.footer-vat { letter-spacing: 0.06em; }
.footer-legal {
  display: flex;
  gap: var(--s-4);
}
.footer-legal a, .footer-cookie-btn {
  color: var(--slate-text);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  background: none;
  padding: 0;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease-out), border-color 0.18s var(--ease-out);
}
.footer-legal a:hover, .footer-cookie-btn:hover {
  color: var(--bone);
  border-bottom-color: var(--cyan-line);
}


/* -------------------------------------------------------------
   23. Filters bar (case studies index)
   ------------------------------------------------------------- */

.filters-bar {
  background: var(--bone);
  border-bottom: 1px solid var(--hairline);
  padding: var(--s-5) 0;
}
.filters-row {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-bottom: var(--s-3);
}
.filters-row:last-child { margin-bottom: 0; }
.filters-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  flex-shrink: 0;
  min-width: 70px;
}
.filters-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-pill {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--hairline);
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  transition: background 0.18s var(--ease-out),
              border-color 0.18s var(--ease-out),
              color 0.18s var(--ease-out);
}
.filter-pill:hover {
  border-color: var(--slate);
}
.filter-pill.is-active {
  background: var(--slate);
  border-color: var(--slate);
  color: var(--bone);
}

.cards-grid > .is-hidden { display: none; }


/* -------------------------------------------------------------
   24. Case study detail
   ------------------------------------------------------------- */

.cs-hero {
  position: relative;
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-2) 100%);
  color: var(--bone);
  padding: var(--s-8) 0 var(--s-7);
  overflow: hidden;
}
.cs-hero-wrap {
  position: relative;
  z-index: 2;
}
.cs-breadcrumb {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: var(--s-5);
}
.cs-breadcrumb a {
  color: var(--slate-text);
}
.cs-breadcrumb a:hover { color: var(--cyan); }

.cs-hero-meta {
  display: flex;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: var(--s-4);
}

.cs-hero-title {
  font-size: clamp(34px, 4.5vw, 54px);
  color: var(--bone);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-4);
  max-width: 900px;
}
.cs-hero-brief {
  font-size: 19px;
  color: var(--slate-text);
  line-height: 1.55;
  max-width: 720px;
  margin-bottom: var(--s-5);
}

.cs-services-tagged {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-chip {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(52, 200, 229, 0.12);
  border: 1px solid rgba(52, 200, 229, 0.30);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 500;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.service-chip:hover {
  background: rgba(52, 200, 229, 0.20);
  color: var(--cyan);
}

.cs-hero-image {
  padding: var(--s-7) 0 var(--s-7);
}
.cs-hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: 0 24px 48px rgba(22, 22, 23, 0.10);
}

.cs-narrative {
  padding: var(--s-5) 0 var(--s-9);
}
.cs-narrative-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.cs-narrative-wrap p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: var(--s-5);
}
.cs-narrative-wrap p:last-child { margin-bottom: 0; }

.cs-gallery {
  padding: 0 0 var(--s-9);
}
.cs-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.cs-gallery figure {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper);
}
.cs-gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-materials {
  background: var(--bone);
  padding: var(--s-9) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.cs-materials-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-7);
  align-items: start;
}
.cs-materials-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: var(--s-4);
}
.cs-materials-head p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
}
.cs-materials-list {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: var(--s-5) var(--s-6);
  font-family: var(--mono);
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 14px var(--s-5);
}
.cs-materials-list dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
}
.cs-materials-list dd {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
}
.cs-materials-list dt:nth-last-child(2),
.cs-materials-list dd:last-child { border-bottom: 0; }

.cs-linked-review {
  padding: var(--s-9) 0;
}
.cs-review-card {
  max-width: 720px;
  margin: 0 auto;
}
.cs-review-card .card-review {
  background: var(--bone);
  border: 1px solid var(--hairline);
  padding: var(--s-7);
}
.cs-review-card .review-body { font-size: 18px; line-height: 1.7; }


/* -------------------------------------------------------------
   25. Service detail
   ------------------------------------------------------------- */

.svc-hero {
  position: relative;
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-2) 100%);
  color: var(--bone);
  padding: var(--s-8) 0;
  overflow: hidden;
}
.svc-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-7);
  align-items: center;
}
.svc-breadcrumb {
  font-family: var(--mono);
  font-size: 12px;
  margin-bottom: var(--s-4);
}
.svc-breadcrumb a { color: var(--slate-text); }
.svc-breadcrumb a:hover { color: var(--cyan); }

.svc-hero-title {
  font-size: clamp(34px, 4.5vw, 54px);
  color: var(--bone);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-4);
}
.svc-hero-summary {
  font-size: 19px;
  color: var(--slate-text);
  line-height: 1.55;
  max-width: 540px;
  margin-bottom: var(--s-5);
}

.svc-price {
  display: inline-flex;
  align-items: baseline;
  gap: var(--s-3);
  padding: 12px 18px;
  background: rgba(52, 200, 229, 0.10);
  border: 1px solid var(--cyan-line);
  border-radius: var(--radius-md);
  margin-bottom: var(--s-5);
}
.svc-price-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-text);
}
.svc-price-value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  color: var(--cyan);
  letter-spacing: -0.015em;
}

.svc-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.svc-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--slate-3);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.30),
              0 0 0 1px var(--slate-line-2);
}
.svc-hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.svc-description {
  padding: var(--s-9) 0;
}
.svc-description-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.svc-description-wrap p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: var(--s-5);
}

.svc-included {
  padding: var(--s-9) 0;
  background: var(--bone);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.svc-included-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-7);
  align-items: start;
}
.svc-included-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: var(--s-4);
}
.svc-included-head p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
}
.svc-included-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svc-included-list li {
  display: flex;
  gap: 14px;
  padding: 14px var(--s-5);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--slate);
  line-height: 1.5;
}
.svc-included-list li::before {
  content: "✓";
  color: var(--cyan);
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}

.svc-faqs {
  padding: var(--s-9) 0;
}
.svc-faqs-wrap {
  max-width: 880px;
  margin: 0 auto;
}
.svc-faqs-head { text-align: center; margin-bottom: var(--s-7); }
.svc-faqs-head .eyebrow { justify-content: center; }
.svc-faqs-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 auto;
}

.svc-faqs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bone);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  transition: border-color 0.18s var(--ease-out);
}
.faq-item[open] { border-color: var(--hairline-2); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s-5);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  color: var(--slate);
  position: relative;
  padding-right: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: var(--s-5);
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--cyan);
  background: var(--cyan-soft);
  border-radius: 50%;
  font-family: var(--body);
  transition: transform 0.22s var(--ease-out);
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer {
  padding: 0 var(--s-5) var(--s-5);
}
.faq-answer p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}


/* -------------------------------------------------------------
   26. About page
   ------------------------------------------------------------- */

.about-hero {
  position: relative;
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-2) 100%);
  color: var(--bone);
  padding: var(--s-9) 0 var(--s-8);
  overflow: hidden;
}
.about-hero-wrap {
  position: relative;
  z-index: 2;
}
.about-hero-title {
  font-size: clamp(40px, 5vw, 64px);
  color: var(--bone);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: var(--s-5);
  max-width: 900px;
}
.about-hero-title em {
  font-style: normal;
  color: var(--cyan);
}
.about-hero-sub {
  font-size: 19px;
  color: var(--slate-text);
  line-height: 1.55;
  max-width: 720px;
}

.about-story {
  padding: var(--s-9) 0;
}
.about-story-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--s-7);
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
.about-story-eyebrow { padding-top: 8px; }
.about-story-prose p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: var(--s-5);
}
.about-story-prose p:first-child::first-letter {
  font-family: var(--display);
  font-size: 4em;
  font-weight: 800;
  float: left;
  line-height: 0.85;
  margin: 4px 12px 0 0;
  color: var(--slate);
}

.team-section {
  padding: var(--s-9) 0;
  background: var(--bone);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.team-grid {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}
.team-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--s-6);
  align-items: start;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: var(--s-5);
}
.team-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--paper);
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.team-text h3 {
  font-size: 24px;
  margin-bottom: 4px;
}
.team-role {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: var(--s-4);
}
.team-bio p {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 12px;
  color: var(--ink);
}
.team-quals {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin-top: var(--s-3);
}
.team-quals li {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  color: var(--slate);
  letter-spacing: 0.04em;
}

.accred-detail-section {
  padding: var(--s-9) 0;
}
.accred-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
.accred-detail-card {
  background: var(--bone);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: var(--s-5);
}
.accred-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: var(--s-3);
}
.accred-detail-head h3 {
  font-size: 18px;
  margin: 0;
}
.accred-detail-reg {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.accred-detail-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: var(--s-3);
}
.accred-detail-verify {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  border-bottom: 1.5px solid var(--slate);
  padding-bottom: 1px;
}
.accred-detail-verify:hover {
  border-bottom-width: 2px;
  color: var(--cyan-hover);
  border-bottom-color: var(--cyan-hover);
}


/* -------------------------------------------------------------
   27. Contact page
   ------------------------------------------------------------- */

.contact-section {
  padding: var(--s-9) 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--s-6);
  align-items: start;
}

.contact-form-card {
  background: var(--bone);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: var(--s-7);
}
.contact-form-card h2 {
  font-size: 28px;
  margin-bottom: 6px;
}
.contact-form-card .lede {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: var(--s-5);
}

.contact-details-card {
  position: sticky;
  top: calc(var(--demo-bar-height, 0) + 100px);
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-2) 100%);
  color: var(--bone);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
}
.contact-details-card h3 {
  color: var(--bone);
  font-size: 20px;
  margin-bottom: var(--s-5);
}
.contact-details-card h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: var(--s-5) 0 var(--s-3);
}
.contact-detail-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--slate-line);
}
.contact-detail-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-text-soft);
}
.contact-detail-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--bone);
}
.contact-detail-value:hover { color: var(--cyan); }
.contact-hours .hours-row {
  border-bottom: 1px dashed var(--slate-line);
  padding: 6px 0;
}
.contact-hours .hours-row:last-child { border-bottom: 0; }
.contact-hours .hours-row span:first-child { color: var(--bone); font-family: var(--body); }

.contact-emergency {
  margin-top: var(--s-5);
  padding: var(--s-4);
  background: rgba(52, 200, 229, 0.06);
  border: 1px solid rgba(52, 200, 229, 0.20);
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.55;
  color: var(--slate-text);
}
.contact-emergency strong {
  display: block;
  color: var(--bone);
  margin-bottom: 4px;
}

.contact-map {
  padding: 0 0 var(--s-9);
}
.map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background:
    linear-gradient(rgba(27, 42, 58, 0.85), rgba(27, 42, 58, 0.85)),
    repeating-linear-gradient(45deg, var(--paper) 0 30px, var(--bone) 30px 60px);
  color: var(--bone);
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline);
}
.map-placeholder-text { text-align: center; max-width: 480px; padding: var(--s-5); }
.map-placeholder-text strong {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  color: var(--bone);
  margin-bottom: 8px;
}
.map-placeholder-text p {
  font-size: 14px;
  color: var(--slate-text);
  margin-bottom: var(--s-5);
}


/* -------------------------------------------------------------
   28. Forms
   ------------------------------------------------------------- */

.contact-form .form-row {
  margin-bottom: var(--s-4);
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}
.field input,
.field select,
.field textarea {
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.18s var(--ease-out),
              box-shadow 0.18s var(--ease-out);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-soft);
}
.field textarea {
  resize: vertical;
  min-height: 100px;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237B7E84' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-top: var(--s-5);
}
.form-helper {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono);
  margin: 0;
}

/* Async submit feedback states */
.contact-form.is-submitting button[type="submit"] {
  opacity: 0.6;
  cursor: progress;
}
.contact-form.is-submitted button[type="submit"] {
  background: #4FB477;
  color: var(--white);
}
.contact-form.is-submitted .form-helper {
  color: #4FB477;
  font-weight: 500;
}
.contact-form.is-submitted input,
.contact-form.is-submitted select,
.contact-form.is-submitted textarea {
  opacity: 0.6;
}


/* -------------------------------------------------------------
   29. Legal pages (privacy, terms)
   ------------------------------------------------------------- */

.legal-hero {
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-2) 100%);
  color: var(--bone);
  padding: var(--s-8) 0;
  border-bottom: 0;
  position: relative;
  overflow: hidden;
}
.legal-hero .wrap { position: relative; z-index: 2; }
.legal-hero .page-hero-headline {
  color: var(--bone);
  font-size: clamp(34px, 4.5vw, 50px);
}
.legal-hero .page-hero-headline em { color: var(--cyan); }
.legal-hero .page-hero-sub { color: var(--slate-text); }
.legal-meta {
  margin-top: var(--s-4);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--slate-text-soft);
  letter-spacing: 0.04em;
}

.legal-section {
  padding: var(--s-9) 0;
}
.legal-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--s-7);
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--demo-bar-height, 0) + 90px);
  padding: var(--s-5);
  background: var(--bone);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}
.legal-toc-h {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: var(--s-3);
}
.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-toc ol li {
  counter-increment: toc;
  font-size: 13px;
}
.legal-toc ol li::before {
  content: counter(toc, decimal-leading-zero) ". ";
  font-family: var(--mono);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.legal-toc ol a {
  color: var(--ink);
}
.legal-toc ol a:hover { color: var(--cyan-hover); }

.legal-prose h2 {
  font-size: 22px;
  margin: var(--s-7) 0 var(--s-4);
  scroll-margin-top: calc(var(--demo-bar-height, 0) + 90px);
}
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: var(--s-4);
  color: var(--ink);
}
.legal-prose ul, .legal-prose ol {
  margin: 0 0 var(--s-4) var(--s-5);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}
.legal-prose li { margin-bottom: 8px; }
.legal-prose strong { color: var(--slate); font-weight: 600; }
.legal-prose code {
  font-family: var(--mono);
  font-size: 13px;
  padding: 2px 6px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  color: var(--slate);
}
.legal-prose a {
  color: var(--slate);
  border-bottom: 1px solid var(--hairline-2);
}
.legal-prose a:hover {
  color: var(--cyan-hover);
  border-bottom-color: var(--cyan-hover);
}


/* -------------------------------------------------------------
   30. Responsive — tablet (≤900px)
   ------------------------------------------------------------- */

@media (max-width: 900px) {
  /* Header collapses: nav hidden, hamburger visible */
  .site-header-nav { display: none; }
  .site-header-phone { display: none; }
  .site-header-cta { display: none; }
  .nav-toggle { display: block; }

  /* Reduce section padding */
  .hero,
  .stats-mosaic,
  .services-section,
  .comparator-section,
  .cases-section,
  .survey-strip,
  .reviews-section,
  .footer-cta,
  .contact-section,
  .legal-section,
  .about-story,
  .team-section,
  .accred-detail-section,
  .svc-description,
  .svc-included,
  .svc-faqs,
  .cs-narrative,
  .cs-materials,
  .cs-linked-review { padding-top: var(--s-7); padding-bottom: var(--s-7); }

  .page-hero { padding: var(--s-7) 0 var(--s-6); }
  .cs-hero, .svc-hero, .about-hero { padding: var(--s-7) 0; }

  /* Hero stacks */
  .hero { padding: var(--s-7) 0; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero-visual { aspect-ratio: 4 / 3; max-width: 100%; }

  /* Stats mosaic stacks */
  .stats-grid { grid-template-columns: 1fr; }
  .stats-feature { min-height: 280px; padding: var(--s-6); }
  .stats-tiles { grid-template-columns: 1fr 1fr; }

  /* 3-col grids → 2-col on tablet, 1-col on mobile */
  .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }

  /* Comparator 4 → 2 */
  .comparator-grid { grid-template-columns: repeat(2, 1fr); }

  /* Survey strip stacks */
  .survey-strip-wrap { grid-template-columns: 1fr; gap: var(--s-6); }
  .survey-strip-mock { display: none; } /* hide mock card on small screens */

  /* Footer */
  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-6);
    padding-top: var(--s-7);
  }
  .footer-col-brand { grid-column: 1 / -1; }
  .site-footer-meta-inner { flex-direction: column; align-items: flex-start; }

  /* Service detail */
  .svc-hero-grid { grid-template-columns: 1fr; }
  .svc-hero-image { aspect-ratio: 16 / 10; max-width: 480px; }
  .svc-included-wrap { grid-template-columns: 1fr; gap: var(--s-5); }

  /* Case study detail */
  .cs-materials-wrap { grid-template-columns: 1fr; gap: var(--s-5); }
  .cs-gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* About */
  .about-story-wrap { grid-template-columns: 1fr; gap: var(--s-4); }
  .team-card { grid-template-columns: 160px 1fr; gap: var(--s-5); }
  .accred-detail-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-details-card { position: static; }
  .form-row-2 { grid-template-columns: 1fr; }

  /* Legal */
  .legal-wrap { grid-template-columns: 1fr; gap: var(--s-5); }
  .legal-toc { position: static; }
}


/* -------------------------------------------------------------
   31. Responsive — mobile (≤640px)
   ------------------------------------------------------------- */

@media (max-width: 640px) {
  :root {
    --wrap-pad: 20px;
  }

  .hero-headline {
    font-size: clamp(34px, 8vw, 44px);
  }
  .hero-trust { gap: var(--s-3); font-size: 11px; }

  .cards-grid-3,
  .cards-grid-2 {
    grid-template-columns: 1fr;
  }

  .comparator-grid { grid-template-columns: 1fr; }

  .stats-tiles { grid-template-columns: 1fr; }
  .stats-tile { min-height: auto; }

  .cs-gallery-grid { grid-template-columns: 1fr; }

  .footer-areas { grid-template-columns: 1fr; }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }

  .team-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .team-photo { max-width: 200px; }

  .cc-banner-actions { flex-direction: column; }
  .cc-banner-actions .cc-btn { width: 100%; text-align: center; justify-content: center; }
  .cc-banner { left: 12px; right: 12px; bottom: 12px; padding: var(--s-4); }

  .contact-form-card,
  .cs-review-card .card-review {
    padding: var(--s-5);
  }

  /* Legal TOC less prominent */
  .legal-toc ol { display: grid; grid-template-columns: 1fr 1fr; }
}


/* -------------------------------------------------------------
   32. Responsive — small mobile (≤375px)
   ------------------------------------------------------------- */

@media (max-width: 375px) {
  :root {
    --wrap-pad: 16px;
  }

  .hero-headline { font-size: 32px; }
  .page-hero-headline { font-size: 30px; }

  .brand { font-size: 15px; }
  .brand-icon { width: 32px; height: 32px; }
  .brand-icon svg { width: 18px; height: 18px; }

  .btn-lg { padding: 14px 22px; font-size: 15px; }

  .filters-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .filters-label { min-width: 0; }

  /* Mobile drawer - tighten */
  .mobile-drawer-nav a { font-size: 22px; padding: 12px 0; }
}


/* -------------------------------------------------------------
   33. Print
   ------------------------------------------------------------- */

@media print {
  /* Demo bar is owned by the marketing site partial — its own styles handle print. */
  .site-header, .mobile-drawer, .cc-banner, .cc-modal-overlay,
  .footer-cta, .nav-toggle, .filters-bar { display: none !important; }
  body { background: white; color: black; }
  .streams { display: none; }
  a { text-decoration: underline; color: black; }
  .hero, .cs-hero, .svc-hero, .about-hero, .legal-hero { background: none; color: black; padding: 24px 0; }
  .hero-headline, .cs-hero-title, .svc-hero-title, .about-hero-title, .page-hero-headline { color: black; }
  .hero-headline em, .page-hero-headline em { color: black; }
}
