/* sync-bundle.css â€” auto-built by tools/rebuild-sync-bundle.ps1 */
/* Do not hand-edit; change source files and re-run the script. */

/* --- site-index/first-paint-shell.css --- */
/*
 * First-paint shell — keep tiny. Linked before tokens.css so the browser can
 * establish hero height, fixed backdrop, and main inset before deeper skins
 * load. Prevents a one-frame (or slow-network) collapse where sections below
 * the hero paint above the fold.
 */

body.idx {
  margin: 0;
}

.idx .video-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.idx .background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idx .navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  padding: 0 clamp(1.1rem, 4.5vw, 2.75rem);
}

.idx .nav-container {
  height: clamp(56px, 7vh, 68px);
}

.idx #main-content {
  position: relative;
  z-index: 1;
  padding: clamp(5.75rem, 12vh, 6.75rem) clamp(1.1rem, 4.5vw, 2.75rem) 2.5rem;
}

.idx section.hero.page-hero {
  min-height: clamp(18rem, 55vh, 32rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: clamp(2.5rem, 11vh, 8rem);
  padding-bottom: clamp(1.5rem, 5vh, 3.5rem);
}

.idx section.hero:not(.page-hero) {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 2rem;
}

html[data-wd-build="v3"] body.idx .idx-v3-hero,
html[data-wd-build="v4"] body.idx .idx-v4-hero {
  min-height: min(92vh, 52rem);
}

/*
 * Scroll-reveal targets (script.js). They were fully opaque until
 * DOMContentLoaded ran — same selectors as initScrollAnimations — which
 * reads as lower sections “flashing” before the hero feels settled.
 */
@media (prefers-reduced-motion: no-preference) {
  .idx .services .service-card,
  .idx .about-stats .stat:not(.hero-stats .stat),
  .idx .info-item {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* --- site-index/tokens.css --- */
:root {
  --idx-bg: #070708;
  --idx-surface: #101012;
  --idx-ink: #eceae6;
  --idx-muted: #8c8983;
  --idx-accent: #ffed00;
  --idx-line: rgba(255, 255, 255, 0.14);
  --idx-line-strong: rgba(255, 255, 255, 0.22);
  --idx-measure: min(48rem, 100%);
  --idx-gutter: clamp(1.1rem, 4.5vw, 2.75rem);
  --idx-font: "IBM Plex Sans", system-ui, sans-serif;
  --idx-display: "Sora", var(--idx-font);
  --idx-z-video: 0;
  --idx-z-base: 1;
  --idx-z-nav: 20;
  /* Above siblings inside the fixed bar (links / menu) so the mark paints on top */
  --idx-z-nav-logo: 10;
  --idx-z-overlay: 30;
  --idx-z-chat: 40;
}

/* --- site-index/document.css --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Hash links to in-page sections (e.g. #contact-form, #faq, #services)
   should land below the fixed navbar instead of behind it. The navbar is
   clamp(56px, 7vh, 68px) tall plus a 1px border, so 6rem (~96px) gives a
   comfortable buffer at any viewport size. */
.idx main section[id] {
  scroll-margin-top: 6rem;
}

body.idx {
  margin: 0;
  min-height: 100vh;
  font-family: var(--idx-font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--idx-ink);
  background: var(--idx-bg);
  /* Avoid horizontal page scroll / rubber-band when the nav is wider than the text column */
  overflow-x: clip;
  overscroll-behavior-x: none;
}

.idx a:not(.cta-primary):not(.submit-button):not(.service-card-link):not(.cta-button) {
  color: var(--idx-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.idx a:not(.cta-primary):not(.submit-button):not(.service-card-link):not(.cta-button):hover {
  text-decoration-thickness: 2px;
}

/* Skip link: fully hidden until keyboard focus (no off-screen sliver) */
.idx .skip-link {
  position: fixed;
  z-index: 100000;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  background: var(--idx-accent);
  color: #111;
  font-weight: 600;
  text-decoration: none;
}

.idx .skip-link:focus {
  clip-path: none;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.5rem 0.85rem;
  left: var(--idx-gutter);
  top: var(--idx-gutter);
  overflow: visible;
  white-space: normal;
  border-radius: 4px;
  outline: 2px solid var(--idx-ink);
  outline-offset: 3px;
}

/* The video container and the video itself are aggressively pinned to their
   own GPU compositor layer. Without this, swapping <main> (which can change
   body height and trigger paint cycles) can cause Chromium to re-rasterize
   the video texture for a frame, which the user sees as a black flash. */
.idx .video-background {
  position: fixed;
  inset: 0;
  z-index: var(--idx-z-video);
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.idx .background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.05) saturate(1.05);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* Isolate <main> for layout/style so DOM changes inside it (e.g. soft-nav
   content swap) don't invalidate layout on the persistent shell. We avoid
   `contain: paint` because it creates a containing block for fixed
   descendants like #reviewModal, which would break the modal positioning. */
.idx main {
  contain: layout style;
}

.idx .background-overlay {
  position: absolute;
  inset: 0;
  background:
    /* Top layer: vertical scrim — anchors navbar at top, CTA at bottom */
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.20) 0%,
      rgba(0, 0, 0, 0.0) 35%,
      rgba(0, 0, 0, 0.0) 60%,
      rgba(0, 0, 0, 0.26) 100%
    ),
    /* Bottom layer: radial vignette — focal anchor on hero, darker corners */
    radial-gradient(
      ellipse 110% 85% at 50% 25%,
      rgba(7, 7, 8, 0.10) 0%,
      rgba(7, 7, 8, 0.26) 40%,
      rgba(7, 7, 8, 0.46) 78%,
      rgba(7, 7, 8, 0.56) 100%
    );
}

/* ─── Text legibility over the fixed video background ───────────
   The video sits behind the entire page, so muted body copy in
   ANY section (not just the hero) competes with mid-tone footage.
   Two surgical, low-impact techniques:

   (1) Override --idx-muted ONLY inside main. Custom properties
       cascade, so every `color: var(--idx-muted)` rule in any
       descendant automatically picks up the brighter value. Nav
       and footer keep the original warm grey design intent.

   (2) text-shadow inherits, so applying it once on .idx main
       gives every text element a dark local halo. On true dark
       card surfaces (rgba(16,16,18,0.55+), --idx-bg, etc.) the
       shadow is invisible — black on near-black. Over the video
       it provides per-glyph contrast that doesn't depend on
       global dimming. */
.idx main {
  --idx-muted: #c4c1bb;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 3px 12px rgba(0, 0, 0, 0.55);
}

/* Cancel inherited text-shadow on elements with dark text on
   bright/accent backgrounds — a dark shadow under dark text on
   yellow looks smudgy/embossed. Buttons and form controls have
   their own surface so legibility is not at risk anyway. */
.idx main .cta-primary,
.idx main .cta-button,
.idx main .submit-button,
.idx main button,
.idx main input,
.idx main select,
.idx main textarea {
  text-shadow: none;
}

/* Hero gets a slightly stronger shadow because its text is the
   largest and most prominent — the heading especially benefits
   from a more pronounced halo. */
.idx section.hero .idx-kicker,
.idx section.hero .idx-h1,
.idx section.hero .idx-lead,
.idx section.hero .idx-trust,
.idx section.hero .idx-trust li,
.idx section.hero .idx-actions .idx-muted,
.idx section.hero .idx-phone-inline {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 3px 14px rgba(0, 0, 0, 0.65);
}

.idx section.hero .idx-trust li {
  border-left-color: rgba(255, 255, 255, 0.55);
}

.idx #main-content {
  position: relative;
  z-index: var(--idx-z-base);
  /* Room for fixed bar + logo that extends below the bar only */
  padding: clamp(5.75rem, 12vh, 6.75rem) var(--idx-gutter) 2.5rem;
}

.idx .idx-flow {
  max-width: var(--idx-measure);
  margin: 0 auto;
}

.idx main > section:not(.hero) {
  margin-top: 3rem;
}

.idx .idx-rule {
  border: 0;
  border-top: 1px solid var(--idx-line);
  margin: 3.5rem 0;
}

.idx .idx-kicker {
  display: block;
  font-family: var(--idx-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--idx-muted);
  margin-bottom: 0.75rem;
}

.idx .idx-h1 {
  font-family: var(--idx-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.idx .idx-h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--idx-accent);
}

.idx .idx-lead {
  font-size: 1.12rem;
  color: var(--idx-muted);
  margin: 0 0 1.75rem;
}

.idx .idx-muted {
  color: var(--idx-muted);
  font-size: 0.95rem;
}

.idx .idx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  align-items: baseline;
  margin-bottom: 1.5rem;
}

.idx .cta-primary {
  display: inline-block;
  font-family: var(--idx-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.25rem;
  background: var(--idx-accent);
  color: #0a0a0b;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid rgba(10, 10, 11, 0.2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.idx .cta-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.idx .cta-primary:focus-visible {
  outline: 2px solid var(--idx-ink);
  outline-offset: 3px;
}

.idx .idx-phone-inline {
  color: var(--idx-ink);
  font-weight: 600;
  text-decoration: none;
}

.idx .idx-phone-inline:hover {
  color: var(--idx-accent);
}

.idx .idx-trust {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--idx-muted);
  font-size: 0.92rem;
}

.idx .idx-trust li {
  margin-bottom: 0.35rem;
  padding-left: 1rem;
  border-left: 2px solid var(--idx-line-strong);
}

.idx .idx-h2 {
  font-family: var(--idx-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

.idx .idx-prose p {
  margin: 0 0 1rem;
  color: var(--idx-muted);
}

.idx .idx-prose p:last-child {
  margin-bottom: 0;
}

.idx .idx-prose a:not(.cta-primary):not(.cta-button) {
  color: var(--idx-accent);
}

.idx .idx-prose a.cta-primary {
  color: #0a0a0b;
  text-decoration: none;
}

.idx .video-section .video-intro {
  margin: 0 0 1.25rem;
  color: var(--idx-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 56ch;
}

.idx .video-section .idx-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--idx-surface);
  border: 1px solid var(--idx-line);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 237, 0, 0.06) inset;
}

.idx .video-section iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.idx .services-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--idx-line);
}

.idx .service-card {
  display: block;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--idx-line);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.idx .service-card:hover {
  background: rgba(255, 237, 0, 0.04);
  padding-left: 0.35rem;
}

.idx .service-card h3 {
  font-family: var(--idx-display);
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
  color: var(--idx-ink);
}

.idx .service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--idx-muted);
}

.idx .service-cta-card {
  cursor: default;
}

.idx .service-cta-card:hover {
  padding-left: 0;
  background: transparent;
}

.idx .service-cta-card .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-family: var(--idx-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--idx-accent);
  text-decoration: none;
}

.idx .service-cta-card .cta-button:hover {
  text-decoration: underline;
}

.idx .awards-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--idx-line);
}

.idx .awards-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--idx-line);
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.75rem 1.25rem;
  align-items: baseline;
}

@media (max-width: 520px) {
  .idx .awards-list li {
    grid-template-columns: 1fr;
  }
}

.idx .award-year {
  font-family: var(--idx-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--idx-accent);
}

.idx .award-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--idx-ink);
}

.idx .award-content p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--idx-muted);
}

.idx .award-recipient {
  margin-top: 0.35rem !important;
  font-size: 0.88rem !important;
  color: var(--idx-ink) !important;
}

.idx .faq-cta-p {
  margin-top: 1.5rem;
  color: var(--idx-muted);
}

.idx address {
  font-style: normal;
}

/* --- site-index/ui.css --- */
/* ─── Navigation ───────────────────────────────────────────── */
.idx .navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--idx-z-nav);
  padding: 0 var(--idx-gutter);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  /* Keep the navbar (and its backdrop-filter) on its own GPU layer so it
     isn't repainted when <main> swaps, which would force the video texture
     to be re-sampled and briefly drop a frame. We avoid `contain: paint`
     here because focus outlines on .nav-brand extend slightly outside the
     bar and would otherwise be clipped. */
  will-change: backdrop-filter, transform;
  transform: translateZ(0);
  contain: layout style;
}

.idx .navbar.scrolled {
  background: rgba(7, 7, 8, 0.85);
  border-bottom-color: var(--idx-line);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.idx .nav-container {
  max-width: 1240px;
  margin-inline: auto;
  height: clamp(56px, 7vh, 68px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Brand: dog-head mark + wordmark */
.idx .nav-brand {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--idx-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  line-height: 1;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.idx .nav-brand:hover,
.idx .nav-brand:focus-visible {
  opacity: 0.78;
  outline: none;
}

.idx .nav-brand:focus-visible {
  outline: 2px solid var(--idx-accent);
  outline-offset: 6px;
  border-radius: 2px;
  opacity: 1;
}

.idx .nav-mark {
  width: auto;
  height: clamp(22px, 2.6vh, 26px);
  display: block;
  flex-shrink: 0;
  color: var(--idx-accent);
}

/* Outlined SVG wordmark — uses Monday Vacation Sans Serif. The font itself
   is not embedded; paths are pre-baked at build time via
   scripts/build-wordmark.py so the desktop license is respected.
   Rendered at the font's natural weight — no stroke faking. Tracking +
   word-space + per-pair kerning are baked into the SVG by the build script. */
.idx .nav-wordmark {
  display: block;
  height: clamp(16px, 2vh, 20px);
  width: auto;
  flex-shrink: 0;
  color: var(--idx-ink);
}

/* Right-side cluster: page links + phone CTA */
.idx .nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.55rem, 0.35rem + 0.9vw, 1rem);
  font-family: var(--idx-font);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.idx .nav-links a {
  position: relative;
  color: var(--idx-muted);
  text-decoration: none;
  padding: 0.35rem 0;
  transition: color 0.2s ease;
}

.idx .nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--idx-accent);
  transition: width 0.25s ease, left 0.25s ease;
}

.idx .nav-links a:hover,
.idx .nav-links a:focus-visible {
  color: var(--idx-ink);
  outline: none;
}

.idx .nav-links a:hover::after,
.idx .nav-links a:focus-visible::after {
  width: 100%;
  left: 0;
}

/* Phone — typographic eyebrow + number (no pill) */
.idx .nav-links .phone-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-left: 0;
  padding: 0.35rem 0;
  border: 0;
  background: none;
  border-radius: 0;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--idx-accent);
}

.idx .nav-links .phone-link::after {
  display: none;
}

.idx .phone-link-eyebrow {
  font-family: var(--idx-font);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--idx-muted);
  transition: color 0.2s ease;
}

.idx .phone-link-sep {
  color: var(--idx-accent);
  font-size: 0.85rem;
  line-height: 1;
  opacity: 0.7;
}

.idx .phone-link-num {
  font-family: var(--idx-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--idx-accent);
}

.idx .nav-links .phone-link:hover .phone-link-eyebrow,
.idx .nav-links .phone-link:focus-visible .phone-link-eyebrow {
  color: var(--idx-ink);
}

/* Tighten the awkward zone before mobile kicks in */
@media (min-width: 901px) and (max-width: 1180px) {
  .idx .nav-wordmark {
    height: clamp(14px, 1.7vh, 17px);
  }
  .idx .nav-mark {
    height: clamp(20px, 2.3vh, 23px);
  }
  .idx .nav-links {
    gap: 0.25rem 1.1rem;
    font-size: 0.68rem;
  }
  .idx .nav-links .phone-link {
    margin-left: 0;
    gap: 0.4rem;
  }
  .idx .phone-link-num {
    font-size: 0.86rem;
  }
  .idx .phone-link-eyebrow {
    font-size: 0.62rem;
  }
}

/* Hamburger — animates to X when open */
.idx .mobile-menu {
  display: none;
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
  flex-shrink: 0;
}

.idx .mobile-menu .mobile-menu-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 1.5px;
  background: var(--idx-ink);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s ease;
}

.idx .mobile-menu .mobile-menu-bar:nth-child(1) {
  transform: translate(-50%, calc(-50% - 6px));
}

.idx .mobile-menu .mobile-menu-bar:nth-child(3) {
  transform: translate(-50%, calc(-50% + 6px));
}

.idx .mobile-menu.is-open .mobile-menu-bar:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.idx .mobile-menu.is-open .mobile-menu-bar:nth-child(2) {
  opacity: 0;
}

.idx .mobile-menu.is-open .mobile-menu-bar:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.idx .mobile-menu:hover .mobile-menu-bar {
  background: var(--idx-accent);
}

@media (max-width: 900px) {
  .idx .nav-container {
    height: 56px;
  }

  .idx .nav-wordmark {
    height: 14px;
  }

  .idx .nav-mark {
    height: 22px;
  }

  .idx .mobile-menu {
    display: block;
  }

  /* Mobile bar always carries a faint backdrop so menu reads against video */
  .idx .navbar {
    background: rgba(7, 7, 8, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-color: var(--idx-line);
  }

  .idx .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--idx-gutter) 1.25rem;
    background: rgba(7, 7, 8, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--idx-line);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
  }

  .idx .nav-links.active {
    display: flex;
  }

  .idx .nav-links a {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--idx-line);
    color: var(--idx-ink);
  }

  .idx .nav-links a::after {
    display: none;
  }

  .idx .nav-links .phone-link {
    margin: 1rem 0 0;
    padding: 1rem;
    justify-content: center;
    gap: 0.65rem;
    border-top: 1px solid var(--idx-line);
    border-bottom: 0;
  }

  .idx .phone-link-num {
    font-size: 1.05rem;
  }

  .idx .phone-link-eyebrow {
    font-size: 0.7rem;
  }
}
/* ─── End navigation ───────────────────────────────────────── */

/* Hero block height (navbar + scroll behaviour) */
.idx section.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 2rem;
}

/* About stats */
.idx .about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.idx .about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--idx-line);
  border: 1px solid var(--idx-line);
}

@media (min-width: 640px) {
  .idx .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.idx .about-stats .stat {
  background: var(--idx-bg);
  padding: 1rem 1.1rem;
  text-align: left;
}

.idx .about-stats .stat h3 {
  font-family: var(--idx-display);
  font-size: 1.35rem;
  margin: 0 0 0.25rem;
  color: var(--idx-accent);
}

.idx .about-stats .stat p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--idx-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Carousels */
.idx .reviews-carousel,
.idx .clients-carousel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.idx .carousel-button {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--idx-line-strong);
  border-radius: 50%;
  background: rgba(16, 16, 18, 0.9);
  color: var(--idx-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.idx .carousel-button:hover {
  border-color: var(--idx-accent);
  color: var(--idx-accent);
}

.idx .carousel-button > svg {
  width: 1rem;
  height: 1rem;
  stroke-width: 2;
}

.idx .reviews-grid,
.idx .clients-grid {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  flex: 1;
  padding: 0.25rem 0 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: var(--idx-line) transparent;
}

.idx .reviews-grid::-webkit-scrollbar,
.idx .clients-grid::-webkit-scrollbar {
  height: 6px;
}

.idx .reviews-grid::-webkit-scrollbar-thumb,
.idx .clients-grid::-webkit-scrollbar-thumb {
  background: var(--idx-line-strong);
  border-radius: 3px;
}

.idx .review-card {
  flex: 0 0 min(100%, 20rem);
  scroll-snap-align: start;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: clamp(11.5rem, 28vh, 15.25rem);
  max-height: 15.75rem;
  border: 1px solid var(--idx-line);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  background: var(--idx-surface);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.idx .review-card:hover {
  border-color: var(--idx-line-strong);
  box-shadow: 0 0 0 1px var(--idx-accent);
}

.idx .review-header {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  flex-shrink: 0;
  margin-bottom: 0.5rem;
}

.idx .reviewer-initial {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--idx-line);
  color: var(--idx-accent);
  font-family: var(--idx-display);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.idx .reviewer-info h4 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  color: var(--idx-ink);
}

.idx .stars {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--idx-accent);
}

.idx .review-text {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  font-size: 0.88rem;
  color: var(--idx-muted);
  line-height: 1.55;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.15rem;
  scrollbar-width: thin;
  scrollbar-color: var(--idx-line-strong) transparent;
}

.idx .review-text::-webkit-scrollbar {
  width: 5px;
}

.idx .review-text::-webkit-scrollbar-thumb {
  background: var(--idx-line-strong);
  border-radius: 3px;
}

.idx .review-date {
  flex-shrink: 0;
  margin: 0.45rem 0 0;
  padding-top: 0.35rem;
  border-top: 1px solid var(--idx-line);
  font-size: 0.8rem;
  color: var(--idx-ink);
  font-weight: 600;
}

.idx .client-logo {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 7.5rem;
  height: 4rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--idx-line);
  background: #fff;
  border-radius: 2px;
}

.idx .client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.idx .carousel-dots {
  display: none;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.idx section.reviews {
  margin-bottom: 0;
}

/* Tighter gap: reviews block → modal → awards (default section gap is 4rem) */
.idx main > section.reviews + .review-modal-overlay + section#awards {
  margin-top: 2rem;
}

/* Review modal */
.idx .review-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--idx-z-overlay);
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--idx-gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.idx .review-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.idx .review-modal {
  position: relative;
  max-width: 32rem;
  width: 100%;
  max-height: min(80vh, 36rem);
  overflow-y: auto;
  background: var(--idx-surface);
  border: 1px solid var(--idx-line-strong);
  border-radius: 2px;
  padding: 1.5rem 1.35rem;
  color: var(--idx-ink);
}

.idx .review-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  border: 0;
  background: transparent;
  color: var(--idx-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.idx .review-modal-close:hover {
  color: var(--idx-accent);
}

.idx #reviewModalContent .review-text {
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

/* FAQ */
.idx .faq-accordion {
  border-top: 1px solid var(--idx-line);
}

.idx .faq-accordion-item {
  border-bottom: 1px solid var(--idx-line);
}

.idx .faq-accordion-heading {
  margin: 0;
  font-size: 1rem;
}

.idx .faq-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border: 0;
  background: none;
  color: var(--idx-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.idx .faq-accordion-trigger:hover {
  color: var(--idx-accent);
}

.idx .faq-accordion-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--idx-muted);
  font-size: 0.75rem;
}

/* When the chevron is an inline <svg> (the new Lucide markup) instead of a
   Font Awesome <i>, give it explicit dimensions so it lines up the same. */
svg.faq-accordion-icon {
  width: 1rem;
  height: 1rem;
  stroke-width: 2;
}

.idx .faq-accordion-item.is-open .faq-accordion-icon {
  transform: rotate(180deg);
  color: var(--idx-accent);
}

.idx .faq-accordion-panel {
  padding: 0 0 1rem;
}

.idx .faq-accordion-panel p {
  margin: 0;
  color: var(--idx-muted);
  font-size: 0.95rem;
}

/* Contact */
.idx .contact-content {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .idx .contact-content {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.idx .contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.idx .contact-form input:not(.honeypot),
.idx .contact-form select,
.idx .contact-form textarea {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--idx-line);
  border-radius: 2px;
  background: var(--idx-surface);
  color: var(--idx-ink);
}

.idx .contact-form input::placeholder,
.idx .contact-form textarea::placeholder {
  color: var(--idx-muted);
}

.idx .contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.idx .honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.idx .submit-button {
  font-family: var(--idx-display);
  font-weight: 600;
  margin-top: 0.35rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid rgba(10, 10, 11, 0.25);
  border-radius: 4px;
  background: var(--idx-accent);
  color: #0a0a0b;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.idx .submit-button:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.idx .submit-button:focus-visible {
  outline: 2px solid var(--idx-ink);
  outline-offset: 3px;
}

.idx .submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.idx .form-message {
  padding: 0.65rem 0.75rem;
  border-radius: 2px;
  font-size: 0.9rem;
}

.idx .form-message.success {
  background: rgba(80, 200, 120, 0.15);
  color: #a8e6b8;
  border: 1px solid rgba(80, 200, 120, 0.35);
}

.idx .form-message.error {
  background: rgba(220, 80, 80, 0.12);
  color: #f0a8a8;
  border: 1px solid rgba(220, 80, 80, 0.35);
}

.idx .cv-upload-container {
  padding: 0.75rem 0;
}

.idx .cv-upload-container label {
  display: block;
  font-size: 0.88rem;
  color: var(--idx-muted);
  margin-bottom: 0.35rem;
}

.idx .cv-upload-container input[type="file"] {
  font-size: 0.85rem;
  color: var(--idx-muted);
}

.idx .info-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--idx-muted);
  font-size: 0.95rem;
}

.idx .info-item:last-child {
  margin-bottom: 0;
}

.idx .info-item i {
  color: var(--idx-accent);
  margin-top: 0.2rem;
}

/* SVG icon variant - used in offices block on contact page so visual language
   matches the site footer's inline-SVG icon set. */
.idx .info-item .info-icon {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.15rem;
  color: var(--idx-accent);
}

.idx .info-item h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: var(--idx-ink);
  font-family: var(--idx-display);
}

.idx .info-item p {
  margin: 0;
}

.idx .info-item p + p {
  margin-top: 0.2rem;
}

.idx .info-item .info-item-note {
  font-size: 0.82rem;
  color: var(--idx-muted);
  margin-top: 0.35rem;
}

.idx .info-item a {
  color: var(--idx-ink);
  text-decoration: underline;
  text-decoration-color: var(--idx-accent);
  text-underline-offset: 0.2em;
}

.idx .info-item a:hover {
  color: var(--idx-accent);
  text-decoration-color: var(--idx-accent);
}

/* Reassurance note under the contact form */
.idx .contact-form-note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--idx-muted);
  text-align: center;
}

.idx .contact-form-note a {
  color: var(--idx-ink);
  font-weight: 600;
}

/* Footer styles moved to site-index/footer.css (sitewide .site-footer) */

/* --- site-index/nav-extras.css --- */
/* ─── Mega-nav: dropdowns + desktop readability (loads after ui.css) ─── */

/* Dropdown containers sit in the flex row like other items */
.idx .nav-links .nav-dd {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Remove UA disclosure / list styling that fights our flex row */
.idx .nav-links .nav-dd > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.22em;
  white-space: nowrap;
  margin: 0;
  padding: 0.35rem 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  font: inherit;
  font-size: inherit;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: inherit;
  line-height: 1.2;
  position: relative;
  /* Same brand yellow as feature-list bullets and other accents */
  color: var(--idx-accent);
  box-shadow: none;
}

.idx .nav-links .nav-dd > summary::-webkit-details-marker {
  display: none;
}

.idx .nav-links .nav-dd > summary::marker {
  content: none;
}

/* Caret reads as “menu” with the chip treatment */
.idx .nav-links .nav-dd > summary .nav-dd-caret {
  display: inline-block;
  margin-inline-start: 0.1em;
  font-size: 0.58em;
  opacity: 0.65;
  transform: translateY(0.08em);
  color: inherit;
}

.idx .nav-links .nav-dd > summary::after {
  display: none;
}

.idx .nav-links .nav-dd:hover > summary,
.idx .nav-links .nav-dd:focus-within > summary,
.idx .nav-links .nav-dd[open] > summary {
  color: var(--idx-accent);
  outline: none;
}

@media (min-width: 901px) {
  .idx .nav-links .nav-dd:hover > summary,
  .idx .nav-links .nav-dd:focus-within > summary,
  .idx .nav-links .nav-dd[open] > summary {
    border-color: transparent;
    background: transparent;
  }
}

.idx .nav-links .nav-dd:hover > summary .nav-dd-caret,
.idx .nav-links .nav-dd:focus-within > summary .nav-dd-caret,
.idx .nav-links .nav-dd[open] > summary .nav-dd-caret {
  opacity: 0.9;
}

.idx .nav-links .nav-dd-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  max-width: min(320px, 92vw);
  padding: 0.5rem 0;
  margin: 0;
  background: rgba(12, 12, 14, 0.96);
  border: 1px solid var(--idx-line);
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  z-index: calc(var(--idx-z-nav) + 2);
}

.idx .nav-links .nav-dd-panel a {
  display: block;
  padding: 0.45rem 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(236, 234, 230, 0.92);
}

.idx .nav-links .nav-dd-panel a::after {
  display: none;
}

.idx .nav-links .nav-dd-panel a:hover,
.idx .nav-links .nav-dd-panel a:focus-visible {
  background: rgba(255, 237, 0, 0.1);
  color: var(--idx-accent);
}

/* Desktop: even gaps between items; link row hugs the right without space-between stretch */
@media (min-width: 901px) {
  .idx .nav-container {
    justify-content: flex-start;
    gap: clamp(1rem, 2.2vw, 2rem);
  }

  .idx .nav-links {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    row-gap: 0;
    min-width: 0;
    /* One column-gap value so every pair (including Services▾ | Sectors▾) matches */
    gap: clamp(0.55rem, 0.4rem + 0.75vw, 1.05rem);
    font-size: clamp(0.62rem, 0.54rem + 0.28vw, 0.72rem);
    letter-spacing: 0.11em;
  }

  .idx .nav-links > a:not(.phone-link) {
    white-space: nowrap;
    line-height: 1.2;
    color: rgba(236, 234, 230, 0.88);
  }

  .idx .nav-links > a:not(.phone-link):hover,
  .idx .nav-links > a:not(.phone-link):focus-visible {
    color: var(--idx-accent);
  }

  .idx .nav-links .phone-link {
    flex-shrink: 0;
    margin-left: 0;
    align-items: center;
  }

  .idx .nav-links .phone-link-eyebrow {
    letter-spacing: 0.14em;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .idx .nav-links {
    letter-spacing: 0.09em;
    gap: clamp(0.45rem, 0.3rem + 0.65vw, 0.9rem);
  }
}

@media (max-width: 900px) {
  .idx .nav-links .nav-dd {
    display: block;
    width: 100%;
  }

  .idx .nav-links .nav-dd > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.8rem 0.55rem;
    margin-bottom: 0.2rem;
    border: 1px solid rgba(255, 237, 0, 0.14);
    border-radius: 6px;
    background: rgba(255, 237, 0, 0.04);
    color: var(--idx-accent);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.16em;
  }

  .idx .nav-links .nav-dd > summary::after {
    display: none;
  }

  .idx .nav-links .nav-dd[open] > summary {
    border-color: rgba(255, 237, 0, 0.28);
    background: rgba(255, 237, 0, 0.08);
    filter: brightness(1.05);
  }

  .idx .nav-links .nav-dd-panel {
    position: static;
    transform: none;
    left: auto;
    min-width: 0;
    max-width: none;
    margin: 0 0 0.35rem 0;
    padding: 0.25rem 0 0.5rem 0.75rem;
    border: 0;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.22);
    border-radius: 4px;
  }

  .idx .nav-links .nav-dd-panel a {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.72rem;
  }

  .idx .nav-links .nav-dd-panel a:last-child {
    border-bottom: 0;
  }
}

/* --- site-index/pages.css --- */
/*
 * Cross-page additions on top of document.css + ui.css.
 * Keep this file small — only patterns that the homepage doesn't use.
 */

/* Sub-page hero — shorter than the homepage 88vh hero, but tall enough on
 * desktop to feel like a real block instead of text glued to the nav.
 * Floor values keep mobile compact; vh values give desktop real breathing room.
 *
 * justify-content is flex-start (NOT center) so the kicker line lands at the
 * same y-position on every sub-page. With center, pages whose hero content
 * differs in line count would re-center and the kicker would drift up/down
 * page-to-page. The homepage hero (`.idx section.hero` without `.page-hero`)
 * keeps its own flex-end + 88vh treatment and is unaffected. */
.idx section.hero.page-hero {
  min-height: clamp(18rem, 55vh, 32rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: clamp(2.5rem, 11vh, 8rem);
  padding-bottom: clamp(1.5rem, 5vh, 3.5rem);
  margin-bottom: 1rem;
}

/* Give sub-page sections a bit more breathing room than the homepage
 * default 3rem, since these sections carry richer cards/lists. */
.idx main > section.hero.page-hero ~ section:not(.hero) {
  margin-top: clamp(3rem, 6vh, 4.5rem);
}

.idx .page-hero .hero-main {
  margin: 0;
}

.idx .hero-subtitle {
  font-size: 1.05rem;
  color: var(--idx-muted);
  margin: 0.65rem 0 0;
  max-width: 38rem;
}

/* Section header eyebrow inside <header> on sub-pages */
.idx main > section > .container > header h2,
.idx main > section > header h2 {
  font-family: var(--idx-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: var(--idx-ink);
}

.idx main > section > .container > header > p,
.idx main > section > header > p {
  margin: -0.5rem 0 1.25rem;
  color: var(--idx-muted);
}

/* Sub-pages still wrap things in .container — collapse it inside the idx-flow measure */
.idx .container {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* Long-form prose blocks used across sub-pages */
.idx .about-text {
  margin: 0;
  color: var(--idx-muted);
}

.idx .about-text p {
  margin: 0 0 1rem;
}

.idx .about-text p:last-child {
  margin-bottom: 0;
}

.idx .about-text h3 {
  font-family: var(--idx-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--idx-ink);
}

.idx .about-text h3:first-child {
  margin-top: 0;
}

/* Bulleted feature list (residential "What's included", service pages, etc.) */
.idx .feature-list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--idx-line);
}

.idx .feature-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.2rem;
  border-bottom: 1px solid var(--idx-line);
  color: var(--idx-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Dog-head mark (assets/watchdog-mark.svg) — reads as branded bullet, not FAQ chevron */
.idx ul.feature-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  /* First-line vertical centre when `lh` is available; em fallback otherwise */
  top: calc(0.7rem + 0.34em);
  width: 0.62rem;
  /* viewBox 111.54 x 94.21 */
  height: calc(0.62rem * 94.21 / 111.54);
  background-color: var(--idx-accent);
  -webkit-mask-image: url("../assets/watchdog-mark.svg");
  mask-image: url("../assets/watchdog-mark.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

@supports (height: 1lh) {
  .idx ul.feature-list > li::before {
    top: calc(0.7rem + (1lh - (0.62rem * 94.21 / 111.54)) / 2);
  }
}

.idx ol.feature-list > li::before {
  content: none;
  display: none;
}

.idx .feature-list strong {
  color: var(--idx-ink);
  font-weight: 600;
}

/* Sectors grid — used on commercial */
.idx .sectors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--idx-line);
}

@media (min-width: 640px) {
  .idx .sectors-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 1.25rem;
  }
}

.idx .sector-block {
  padding: 1rem 0;
  border-bottom: 1px solid var(--idx-line);
}

.idx .sector-block h3 {
  font-family: var(--idx-display);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
  color: var(--idx-ink);
}

.idx .sector-block p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--idx-muted);
}

/* Leadership grid — used on why-watchdog */
.idx .leadership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--idx-line);
}

.idx .leadership-grid .service-card {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--idx-line);
  cursor: default;
}

.idx .leadership-grid .service-card:hover {
  background: transparent;
  padding-left: 0;
}

.idx .leadership-grid .service-card h3 {
  font-family: var(--idx-display);
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--idx-ink);
}

.idx .leadership-grid .service-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--idx-muted);
  line-height: 1.6;
}

/* Strip stray Font Awesome icons inside service-card / sector-block by default.
 * The new `.feature-grid` modifier (in blocks.css) re-enables them with proper
 * styling, so any sub-page upgrading to feature-grid gets icons back. */
.idx .services-grid:not(.feature-grid) .service-card > i,
.idx .services-grid:not(.feature-grid) .service-card > .service-icon,
.idx .leadership-grid .service-card > i,
.idx .leadership-grid .service-card > .service-icon,
.idx .sectors-grid:not(.sectors-bars) > .sector-block > i,
.idx .sectors-grid:not(.sectors-bars) > .sector-block > .service-icon {
  display: none;
}

/* Contact "Get in touch" block (no form, info-items only) */
.idx .contact-info-only {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* 3-up only when there's enough width for addresses to sit on one line.
   Below this they stack 1-up rather than wrap awkwardly mid-width. */
@media (min-width: 860px) {
  .idx .contact-info-only {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

/* Slim contact CTA card used on the homepage in place of the full form */
.idx .contact-cta {
  border: 1px solid var(--idx-line);
  border-radius: 4px;
  padding: 1.5rem 1.25rem;
  background: rgba(16, 16, 18, 0.55);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.idx .contact-cta h2 {
  margin: 0;
}

.idx .contact-cta p {
  margin: 0;
  color: var(--idx-muted);
}

.idx .contact-cta .contact-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: baseline;
  margin-top: 0.5rem;
}

/* Social share buttons (footer) — kept simple on sub-pages */
.idx .social-sharing {
  margin-top: 1rem;
}

.idx .share-buttons {
  display: flex;
  gap: 0.5rem;
}

.idx .share-btn {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--idx-line);
  border-radius: 50%;
  color: var(--idx-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.idx .share-btn:hover {
  color: var(--idx-accent);
  border-color: var(--idx-accent);
}

/* --- site-index/blocks.css --- */
/*
 * Reusable visual content blocks layered on top of document.css + ui.css + pages.css.
 * Keep additions here narrow in scope (one component each) so the file stays scannable.
 */

/* -------------------------------------------------------------------------
 * Sub-page hero — fuller treatment than the bare h1 + subtitle
 * --------------------------------------------------------------------- */

/* Pin the sub-page hero header to the previous measure so h1 wrapping and
 * trust-pill row counts stay identical across pages. This keeps the start
 * of the first non-hero section at the same y-position on every sub-page,
 * even though the body column (--idx-measure) is now wider. */
.idx .page-hero .hero-main {
  max-width: 42rem;
}

.idx .page-hero .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--idx-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--idx-accent);
  margin: 0 0 0.85rem;
}

.idx .page-hero .hero-kicker::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--idx-accent);
}

.idx .page-hero h1 {
  font-family: var(--idx-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  color: var(--idx-ink);
}

.idx .page-hero h1 em {
  font-style: italic;
  color: var(--idx-accent);
}

.idx .page-hero .hero-lead {
  font-size: 1.05rem;
  color: var(--idx-muted);
  margin: 0 0 1.4rem;
  max-width: 38rem;
}

.idx .page-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  align-items: baseline;
  margin-bottom: 1.4rem;
}

.idx .page-hero .hero-trust {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
}

.idx .page-hero .hero-trust li {
  font-family: var(--idx-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.32rem 0.7rem;
  border: 1px solid var(--idx-line);
  border-radius: 999px;
  color: var(--idx-muted);
  background: rgba(16, 16, 18, 0.55);
}

/* Homepage hero kicker gets the same accent dash as sub-page hero kickers */
.idx section.hero:not(.page-hero) > .idx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--idx-accent);
}

.idx section.hero:not(.page-hero) > .idx-kicker::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--idx-accent);
  flex-shrink: 0;
}

/* -------------------------------------------------------------------------
 * Section eyebrow — small accent label that sits above sub-page section h2s
 * --------------------------------------------------------------------- */

.idx .section-eyebrow {
  display: block;
  font-family: var(--idx-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--idx-accent);
  margin: 0 0 0.55rem;
}

/* -------------------------------------------------------------------------
 * Process grid — numbered steps for "How We Work"
 * Uses the existing .about-stats > .stat markup (so script.js scroll-in
 * animations keep working) with a `.steps` modifier.
 * --------------------------------------------------------------------- */

.idx .about-stats.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--idx-line);
}

.idx .about-stats.steps .stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1.1rem;
  align-items: start;
  background: transparent;
  padding: 1rem 0;
  border-bottom: 1px solid var(--idx-line);
  text-align: left;
}

.idx .about-stats.steps .stat h3 {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-family: var(--idx-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--idx-accent);
  border: 1px solid var(--idx-accent);
  border-radius: 50%;
  background: rgba(255, 237, 0, 0.06);
  flex-shrink: 0;
}

.idx .about-stats.steps .stat p {
  margin: 0.35rem 0 0;
  padding: 0;
  font-size: 0.94rem;
  color: var(--idx-muted);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.55;
}

/* -------------------------------------------------------------------------
 * Feature grid — icon + title + body cards
 * Built on the existing .services-grid > .service-card markup with a
 * `.feature-grid` modifier on the parent. Keeps script.js animation hooks
 * (`.services .service-card`).
 * --------------------------------------------------------------------- */

.idx .services-grid.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  border-top: 0;
}

@media (min-width: 600px) {
  .idx .services-grid.feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1rem;
  }
}

.idx .services-grid.feature-grid .service-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem 0.95rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border: 1px solid var(--idx-line);
  border-bottom: 1px solid var(--idx-line);
  border-radius: 4px;
  background: rgba(16, 16, 18, 0.55);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  /* Anchor jumps from the footer (e.g. #alarm-monitoring) land below the
     fixed navbar instead of behind it */
  scroll-margin-top: 6rem;
}

.idx .services-grid.feature-grid .service-card:hover {
  border-color: var(--idx-accent);
  background: rgba(16, 16, 18, 0.78);
  transform: translateY(-1px);
  padding-left: 1.05rem;
}

/* Override the global "hide service-card icons" rule from pages.css.
   Supports both legacy <i> (Font Awesome — being phased out) and the
   preferred inline <svg class="service-icon"> Lucide markup. */
.idx .services-grid.feature-grid .service-card > i,
.idx .services-grid.feature-grid .service-card > .service-icon {
  display: inline-flex;
  width: 2.1rem;
  height: 2.1rem;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 237, 0, 0.1);
  color: var(--idx-accent);
  font-size: 0.95rem;
  flex-shrink: 0;
  grid-row: span 2;
  padding: 0.4rem;
  box-sizing: border-box;
}

.idx .services-grid.feature-grid .service-card > .service-icon {
  stroke-width: 1.75;
}

.idx .services-grid.feature-grid .service-card h3 {
  font-family: var(--idx-display);
  font-size: 0.98rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--idx-ink);
  line-height: 1.3;
}

.idx .services-grid.feature-grid .service-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--idx-muted);
  line-height: 1.55;
}

/* -------------------------------------------------------------------------
 * Sectors grid v2 — accent left bar
 * Builds on existing .sectors-grid markup with a `.sectors-bars` modifier.
 * --------------------------------------------------------------------- */

.idx .sectors-grid.sectors-bars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  border-top: 0;
}

@media (min-width: 600px) {
  .idx .sectors-grid.sectors-bars {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 0.9rem;
  }
}

.idx .sectors-grid.sectors-bars .sector-block {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 1.1rem;
  border: 1px solid var(--idx-line);
  border-left: 3px solid var(--idx-accent);
  border-bottom: 1px solid var(--idx-line);
  border-radius: 0 4px 4px 0;
  background: rgba(16, 16, 18, 0.55);
  transition: background 0.2s ease, border-left-color 0.2s ease;
}

.idx .sectors-grid.sectors-bars .sector-block:hover {
  background: rgba(16, 16, 18, 0.78);
  border-left-color: var(--idx-ink);
}

/* Optional inline Lucide icon inside the sector heading. Sits inline with the
   sector name as a subtle accent — not a chip like feature-grid service cards
   (the left-edge yellow bar already carries that role here). */
.idx .sectors-grid.sectors-bars .sector-block h3 .service-icon {
  display: inline-block;
  vertical-align: -0.18em;
  width: 1.05rem;
  height: 1.05rem;
  margin-right: 0.5rem;
  color: var(--idx-accent);
  stroke-width: 1.75;
}

/* -------------------------------------------------------------------------
 * Leadership grid v2 — avatar + role tag + bio
 * Replaces the older leadership-grid > service-card pattern.
 * --------------------------------------------------------------------- */

.idx .leadership-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--idx-line);
  margin: 0;
  padding: 0;
  list-style: none;
}

.idx .leadership-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--idx-line);
}

.idx .leadership-card .leader-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--idx-line);
  color: var(--idx-accent);
  font-family: var(--idx-display);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.idx .leadership-card .leader-role {
  display: block;
  font-family: var(--idx-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--idx-accent);
  margin: 0 0 0.3rem;
}

.idx .leadership-card h3 {
  font-family: var(--idx-display);
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
  color: var(--idx-ink);
  line-height: 1.3;
}

.idx .leadership-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--idx-muted);
  line-height: 1.6;
}

/* -------------------------------------------------------------------------
 * Awards list v2 — bigger year badges
 * --------------------------------------------------------------------- */

.idx .awards-list.awards-badged li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--idx-line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
}

.idx .awards-list.awards-badged .award-year {
  font-family: var(--idx-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0a0a0b;
  background: var(--idx-accent);
  padding: 0.32rem 0.55rem;
  border-radius: 4px;
  align-self: start;
  white-space: nowrap;
  /* Cancel the inherited .idx main text-shadow — dark shadow under
     dark text on a yellow chip reads as smudgy/embossed. */
  text-shadow: none;
}

@media (max-width: 520px) {
  .idx .awards-list.awards-badged li {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------
 * Slim CTA card — used at the bottom of every sub-page in place of a
 * duplicate full contact form. Inherits base look from pages.css's
 * .contact-cta but adds a left accent bar.
 * --------------------------------------------------------------------- */

.idx .contact-cta.contact-cta-bar {
  border-left: 3px solid var(--idx-accent);
  border-radius: 0 4px 4px 0;
  padding-left: 1.4rem;
}

/* -------------------------------------------------------------------------
 * Accent rule — short yellow line for visual punctuation
 * --------------------------------------------------------------------- */

.idx .idx-rule-accent {
  border: 0;
  border-top: 2px solid var(--idx-accent);
  width: 2.25rem;
  margin: 0.4rem 0 1.25rem;
  opacity: 0.85;
}

/* -------------------------------------------------------------------------
 * Section spacing tweak — slightly tighter rhythm on sub-pages so the
 * page doesn't feel like a stack of identical cards.
 * --------------------------------------------------------------------- */

.idx main > section.hero.page-hero + section:not(.hero) {
  margin-top: 2rem;
}

/* Visually punctuate every other sub-page section with a subtle top rule */
.idx main > section:not(.hero) > .container > header,
.idx main > section:not(.hero) > header {
  position: relative;
}

/* --- site-index/footer.css --- */
/* =============================================================================
 * Sitewide footer — Watchdog Security
 *
 * Spec: design-system/watchdog-security/components/footer.md
 *
 * Three bands:
 *   1. .site-footer-action  — yellow-accent dark glass strip with phone CTA
 *   2. .site-footer-main    — 5-column grid (brand / services / sectors / locations / quick links)
 *   3. .site-footer-legal   — slim copyright + legal links bar
 *
 * Loaded after blocks.css on every page. Scoped to .site-footer so it does
 * not collide with the legacy .footer-* rules in styles.css (those are being
 * removed page by page).
 * ========================================================================== */

.site-footer {
  position: relative;
  z-index: var(--idx-z-base, 1);
  margin-top: 4rem;
  color: var(--idx-ink);
  font-family: var(--idx-font);
  font-size: 0.92rem;
  line-height: 1.6;
}

.site-footer a {
  color: var(--idx-ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--idx-accent);
}

.site-footer a:focus-visible {
  outline: 2px solid var(--idx-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.site-footer .section-eyebrow {
  display: block;
  font-family: var(--idx-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--idx-accent);
  margin: 0 0 0.85rem;
}

/* -----------------------------------------------------------------------------
 * Band 1 — Action strip
 * -------------------------------------------------------------------------- */

.site-footer-action {
  position: relative;
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--idx-accent);
  border-bottom: 1px solid var(--idx-line);
  /* Stable GPU layer so its backdrop-filter doesn't force a re-sample of the
     video texture during soft-nav swaps. */
  will-change: backdrop-filter, transform;
  transform: translateZ(0);
  contain: layout paint style;
}

.site-footer-action-inner {
  max-width: min(72rem, 100%);
  margin: 0 auto;
  padding: 1.6rem var(--idx-gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem 2rem;
  align-items: center;
}

.site-footer-action-copy .section-eyebrow {
  margin-bottom: 0.4rem;
}

.site-footer-action-h {
  margin: 0;
  font-family: var(--idx-display);
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.35;
  color: var(--idx-ink);
}

.site-footer-action-ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  text-align: right;
}

.site-footer-action-ctas .cta-primary {
  /* Inherits .cta-primary base from document.css */
  font-size: 0.95rem;
}

.site-footer-action-note {
  font-size: 0.78rem;
  color: var(--idx-muted);
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .site-footer-action-inner {
    grid-template-columns: 1fr;
  }

  .site-footer-action-ctas {
    align-items: stretch;
    text-align: left;
  }

  .site-footer-action-ctas .cta-primary {
    text-align: center;
  }
}

/* -----------------------------------------------------------------------------
 * Band 2 — Main grid
 * -------------------------------------------------------------------------- */

.site-footer-main {
  background: rgba(7, 7, 8, 0.45);
}

.site-footer-main-inner {
  max-width: min(76rem, 100%);
  margin: 0 auto;
  padding: 3.15rem var(--idx-gutter) 2.6rem;
  display: grid;
  grid-template-columns:
    minmax(19rem, 1.42fr) minmax(6.65rem, 0.78fr) minmax(6.65rem, 0.78fr) minmax(8.5rem, 0.96fr)
    minmax(6.35rem, 0.74fr);
  gap: 2.45rem 1.55rem;
  align-items: start;
}

/* Slightly before “desktop five-column” gets cramped (~laptop / half-screen FHD) */
@media (max-width: 1220px) {
  .site-footer-main-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.85rem 1.75rem;
  }

  .site-footer-col-brand {
    grid-column: 1 / -1;
  }

  /* Full-row brand: a bit more headroom than the 5-column cap */
  .site-footer-brand img {
    height: clamp(6.25rem, 18vw, 12.25rem);
    max-width: min(100%, 17rem);
  }
}

@media (max-width: 560px) {
  .site-footer-main-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2.25rem var(--idx-gutter) 1.75rem;
  }

  /* Primary mobile: keep the mark clear without eating the single-column stack */
  .site-footer-brand {
    margin-bottom: 1.05rem;
  }

  .site-footer-brand img {
    height: clamp(4.75rem, 13vw, 7.75rem);
    max-width: min(100%, 11rem);
  }
}

.site-footer-col {
  min-width: 0;
}

/* Brand column — wider grid track + larger mark so the shield reads at a glance */

.site-footer-brand {
  display: inline-block;
  background: none;
  border: 0;
  padding: 0;
  margin: 0 0 1.25rem;
  cursor: pointer;
  line-height: 0;
  max-width: 100%;
}

@media (min-width: 561px) {
  /* Nudge mark down toward eyebrow cap-height in link columns (optical alignment) */
  .site-footer-col-brand > .site-footer-brand {
    padding-top: 0.35rem;
  }
}

.site-footer-brand img {
  height: clamp(6rem, 17vw, 11.75rem);
  width: auto;
  max-width: min(100%, 16rem);
  display: block;
  transition: opacity 0.2s ease;
}

.site-footer-brand:hover img,
.site-footer-brand:focus-visible img {
  opacity: 0.85;
}

.site-footer-tagline {
  margin: 0 0 1.05rem;
  color: var(--idx-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: min(38ch, 100%);
}

.site-footer-credentials {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  font-size: 0.78rem;
  color: var(--idx-muted);
  letter-spacing: 0.03em;
}

.site-footer-credentials li {
  display: inline-flex;
  align-items: center;
}

.site-footer-credentials li + li::before {
  content: "·";
  color: var(--idx-accent);
  margin-right: 0.65rem;
  opacity: 0.8;
}

/* Award-winning trust link --------------------------------------------- */

.site-footer-awards {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding: 0.35rem 0.6rem 0.35rem 0.5rem;
  border: 1px solid var(--idx-line);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--idx-ink);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.site-footer-awards:hover {
  color: var(--idx-accent);
  border-color: var(--idx-accent);
  background: rgba(255, 237, 0, 0.04);
}

.site-footer-awards-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--idx-accent);
}

.site-footer-awards-arrow {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.site-footer-awards:hover .site-footer-awards-arrow {
  transform: translateX(2px);
  opacity: 1;
}

/* Link list columns (services / company) --------------------------------- */

.site-footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer-list a {
  display: inline-block;
  font-size: 0.92rem;
}

/* Locations column ------------------------------------------------------- */

.site-footer-offices {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.site-footer-office {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--idx-ink);
}

.site-footer-office-name {
  display: block;
  font-family: var(--idx-display);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--idx-ink);
  margin-bottom: 0.35rem;
}

.site-footer-office-line {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.28rem;
  color: var(--idx-muted);
}

.site-footer-office-name + .site-footer-office-line {
  margin-top: 0;
}

.site-footer-office-line a {
  color: var(--idx-ink);
  line-height: 1.55;
}

.site-footer-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 0.32em;
  color: var(--idx-accent);
  opacity: 0.85;
}

/* -----------------------------------------------------------------------------
 * Band 3 — Legal bar
 * -------------------------------------------------------------------------- */

.site-footer-legal {
  background: rgba(7, 7, 8, 0.65);
  border-top: 1px solid var(--idx-line);
}

.site-footer-legal-inner {
  max-width: min(72rem, 100%);
  margin: 0 auto;
  padding: 1rem var(--idx-gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.8rem;
  color: var(--idx-muted);
}

.site-footer-legal-inner p {
  margin: 0;
}

.site-footer-legal-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
}

.site-footer-legal-links a {
  color: var(--idx-muted);
  font-size: 0.8rem;
}

.site-footer-legal-links a:hover {
  color: var(--idx-ink);
}

@media (max-width: 560px) {
  .site-footer-legal-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* -----------------------------------------------------------------------------
 * Reduced motion
 * -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .site-footer a,
  .site-footer-brand img {
    transition: none;
  }
}

/* --- site-index/view-transitions.css --- */
/*
 * Soft-nav transition styles.
 *
 * The transition is a simple opacity fade on the live <main> element,
 * driven by soft-nav.js toggling the `.is-soft-nav-hidden` class.
 *
 * We previously used the View Transitions API (Chromium 111+), but on
 * slower machines the browser's animation timing slipped relative to
 * the actual DOM swap and users saw both old and new <main> content
 * layered for a noticeable beat. A manual opacity fade is rock-solid
 * across browsers and hardware: <main> fades out, content is swapped
 * while invisible, <main> fades back in. There is no possible frame
 * where two pages can be visible at the same time, because there is
 * only ever ONE <main> element on the page.
 *
 * The fade is intentionally short (140ms) so navigation still feels
 * instant. During the fade-out the video background is the only thing
 * visible, which doubles as confirmation that the click registered.
 */

.idx main {
    transition: opacity 140ms cubic-bezier(0.4, 0, 0.2, 1);
}

.idx main.is-soft-nav-hidden {
    opacity: 0;
}

/* Honor the OS reduced-motion preference: skip the fade. The DOM still
 * swaps softly (no full reload, video still continuous), just without
 * the visual transition. soft-nav.js also short-circuits the wait, so
 * navigation completes immediately for these users. */
@media (prefers-reduced-motion: reduce) {
    .idx main {
        transition: none;
    }
}

/* --- site-index/review-us.css --- */
/* =============================================================
 * review-us.css
 * -------------------------------------------------------------
 * Sitewide "leave a review" experience:
 *   1. Corner prompt (#wdReviewPrompt) shown to return visitors
 *   2. Submission modal (#wdReviewModal) with star rating + form
 *
 * Brand alignment lives in site-index/tokens.css. We only
 * reference the existing --idx-* custom properties here so this
 * stylesheet inherits the rest of the site's look automatically.
 * ============================================================= */

/* ---------- 1. Corner prompt ---------- */

.wd-review-prompt {
  position: fixed;
  right: clamp(0.85rem, 2.4vw, 1.5rem);
  bottom: clamp(0.85rem, 2.4vw, 1.5rem);
  z-index: var(--idx-z-chat, 40);
  width: min(20rem, calc(100vw - 1.7rem));
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1.1rem 1.05rem;
  background: rgba(16, 16, 18, 0.92);
  color: var(--idx-ink);
  border: 1px solid var(--idx-line-strong);
  border-left: 3px solid var(--idx-accent);
  border-radius: 2px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--idx-font);
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
              opacity 220ms ease;
}

.wd-review-prompt[data-state="visible"] {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.wd-review-prompt-kicker {
  font-family: var(--idx-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--idx-accent);
  position: relative;
  padding-left: 1.4rem;
}

.wd-review-prompt-kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1rem;
  height: 1px;
  background: var(--idx-accent);
}

.wd-review-prompt-h {
  margin: 0;
  font-family: var(--idx-display);
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 600;
  color: var(--idx-ink);
}

.wd-review-prompt-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.2rem;
}

.wd-review-prompt-cta {
  appearance: none;
  border: 0;
  background: var(--idx-accent);
  color: #070708;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 0.95rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.wd-review-prompt-cta:hover,
.wd-review-prompt-cta:focus-visible {
  background: #fff;
  outline: none;
}

.wd-review-prompt-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--idx-muted);
  font: inherit;
  font-size: 0.85rem;
  padding: 0.4rem 0.2rem;
  cursor: pointer;
  transition: color 180ms ease;
}

.wd-review-prompt-link:hover,
.wd-review-prompt-link:focus-visible {
  color: var(--idx-ink);
  outline: none;
}

.wd-review-prompt-close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--idx-muted);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}

.wd-review-prompt-close:hover,
.wd-review-prompt-close:focus-visible {
  color: var(--idx-ink);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.wd-review-prompt-close svg {
  width: 1rem;
  height: 1rem;
  stroke-width: 1.75;
}

/* ---------- 2. Submission modal ---------- */

.wd-review-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: calc(var(--idx-z-overlay, 30) + 5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--idx-gutter);
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.wd-review-modal-overlay[data-state="open"] {
  opacity: 1;
  visibility: visible;
}

.wd-review-modal {
  position: relative;
  width: 100%;
  max-width: 34rem;
  max-height: min(86vh, 44rem);
  overflow-y: auto;
  padding: 1.75rem 1.6rem 1.5rem;
  background: var(--idx-surface);
  color: var(--idx-ink);
  border: 1px solid var(--idx-line-strong);
  border-left: 3px solid var(--idx-accent);
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  font-family: var(--idx-font);
}

.wd-review-modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--idx-muted);
  border: 0;
  border-radius: 2px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}

.wd-review-modal-close:hover,
.wd-review-modal-close:focus-visible {
  color: var(--idx-ink);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.wd-review-modal-kicker {
  display: inline-block;
  font-family: var(--idx-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--idx-accent);
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.wd-review-modal-kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1rem;
  height: 1px;
  background: var(--idx-accent);
}

.wd-review-modal-h {
  margin: 0 0 0.4rem;
  font-family: var(--idx-display);
  font-size: clamp(1.4rem, 2.6vw, 1.7rem);
  line-height: 1.2;
  font-weight: 700;
}

.wd-review-modal-lead {
  margin: 0 0 1.15rem;
  color: var(--idx-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ---------- 3. Form ---------- */

.wd-review-form {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.wd-review-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.wd-review-form legend {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--idx-muted);
  margin-bottom: 0.4rem;
  padding: 0;
}

.wd-review-stars-row {
  display: inline-flex;
  gap: 0.2rem;
}

.wd-review-star {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0.25rem;
  color: var(--idx-line-strong);
  cursor: pointer;
  transition: color 150ms ease, transform 150ms ease;
  border-radius: 2px;
}

.wd-review-star:hover,
.wd-review-star:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

.wd-review-star:focus-visible {
  box-shadow: 0 0 0 2px var(--idx-accent);
}

.wd-review-star svg {
  width: 1.6rem;
  height: 1.6rem;
  display: block;
  stroke-width: 1.5;
  fill: transparent;
  transition: fill 150ms ease, stroke 150ms ease;
}

.wd-review-star[data-active="true"] {
  color: var(--idx-accent);
}

.wd-review-star[data-active="true"] svg {
  fill: var(--idx-accent);
  stroke: var(--idx-accent);
}

.wd-review-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--idx-muted);
}

.wd-review-form input[type="text"],
.wd-review-form input[type="email"],
.wd-review-form textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--idx-ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--idx-line);
  border-radius: 2px;
  padding: 0.65rem 0.75rem;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.wd-review-form textarea {
  min-height: 6.5rem;
  resize: vertical;
  line-height: 1.5;
}

.wd-review-form input:focus,
.wd-review-form textarea:focus {
  outline: none;
  border-color: var(--idx-accent);
  background: rgba(255, 255, 255, 0.06);
}

.wd-review-honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.wd-review-form-msg {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--idx-muted);
  min-height: 1.2em;
}

.wd-review-form-msg[data-tone="error"] {
  color: #ff8d8d;
}

.wd-review-form-msg[data-tone="success"] {
  color: var(--idx-accent);
}

.wd-review-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.3rem;
}

.wd-review-submit {
  appearance: none;
  border: 0;
  background: var(--idx-accent);
  color: #070708;
  font: inherit;
  font-weight: 600;
  padding: 0.7rem 1.15rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 180ms ease, opacity 180ms ease;
}

.wd-review-submit:hover,
.wd-review-submit:focus-visible {
  background: #fff;
  outline: none;
}

.wd-review-submit[disabled] {
  opacity: 0.55;
  cursor: progress;
}

.wd-review-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--idx-muted);
  font: inherit;
  font-size: 0.9rem;
  padding: 0.5rem 0.4rem;
  cursor: pointer;
  transition: color 180ms ease;
}

.wd-review-link:hover,
.wd-review-link:focus-visible {
  color: var(--idx-ink);
  outline: none;
}

.wd-review-form-foot {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--idx-muted);
}

.wd-review-form-foot a {
  color: var(--idx-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--idx-line-strong);
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.wd-review-form-foot a:hover,
.wd-review-form-foot a:focus-visible {
  color: var(--idx-accent);
  text-decoration-color: var(--idx-accent);
  outline: none;
}

/* ---------- 4. Thanks panel ---------- */

/* Use :not([hidden]) so the [hidden] attribute can hide the panel
 * without being overridden by this display rule. */
.wd-review-thanks:not([hidden]) {
  display: grid;
  gap: 0.55rem;
}

.wd-review-thanks .wd-review-form-actions {
  margin-top: 0.85rem;
}

.wd-review-thanks .cta-primary {
  background: var(--idx-accent);
  color: #070708;
  border: 0;
  font: inherit;
  font-weight: 600;
  padding: 0.7rem 1.15rem;
  border-radius: 2px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 180ms ease;
}

.wd-review-thanks .cta-primary:hover,
.wd-review-thanks .cta-primary:focus-visible {
  background: #fff;
  outline: none;
}

.wd-review-thanks .cta-primary svg {
  width: 1rem;
  height: 1rem;
  stroke-width: 1.75;
}

/* ---------- 5. Body lock when modal open ---------- */

body[data-wd-review-open="true"] {
  overflow: hidden;
}

/* ---------- 6. Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .wd-review-prompt,
  .wd-review-modal-overlay,
  .wd-review-star,
  .wd-review-form input,
  .wd-review-form textarea {
    transition: none !important;
  }
  .wd-review-prompt {
    transform: translateY(0);
  }
}

/* ---------- 7. Tighter mobile breakpoint ---------- */

@media (max-width: 480px) {
  .wd-review-prompt {
    right: 0.6rem;
    bottom: 0.6rem;
    left: 0.6rem;
    width: auto;
  }
  .wd-review-modal {
    padding: 1.4rem 1.15rem 1.2rem;
  }
}
