/* ============================================================================
   QS MANAGEMENT — DESIGN SYSTEM
   Built for Better Facilities
   Headlines: Manrope · Body/UI: Inter
   Navy authority · Blue identity · Teal performance · Amber action only
   ========================================================================= */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------------------------------------------------------------- tokens - */
:root {
  /* brand */
  --navy: #0B2F6B;
  --navy-deep: #071E45;
  --navy-ink: #04142F;
  --blue: #0A84F8;          /* graphics, fills, icons */
  --blue-text: #0A6FD4;     /* same hue, AA-safe for link text on light */
  --blue-soft: #E8F1FE;
  --blue-line: #C9DFFC;
  --teal: #0F8F8D;          /* graphics, fills, icons */
  --teal-text: #0A7473;     /* same hue, AA-safe for small text on light */
  --teal-soft: #E6F4F4;
  --amber: #D98A2B;
  --amber-dark: #BE7520;

  /* neutrals */
  --ink: #1F2937;
  --slate: #667085;
  --slate-light: #8A93A5;
  --line: #E4E9F1;
  --line-strong: #D3DBE7;
  --soft: #F6F8FB;
  --soft-2: #EEF2F8;
  --white: #ffffff;

  /* type */
  --font-head: "Manrope", "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* space + shape */
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1240px;
  --max-narrow: 900px;
  --section-y: clamp(72px, 9vw, 128px);
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* elevation — restrained */
  --sh-xs: 0 1px 2px rgba(11, 47, 107, 0.05);
  --sh-sm: 0 2px 6px rgba(11, 47, 107, 0.05), 0 1px 2px rgba(11, 47, 107, 0.04);
  --sh-md: 0 12px 28px -12px rgba(11, 47, 107, 0.18), 0 2px 6px rgba(11, 47, 107, 0.05);
  --sh-lg: 0 28px 60px -22px rgba(11, 47, 107, 0.28), 0 4px 12px rgba(11, 47, 107, 0.06);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.375rem, 1.5rem + 2.7vw, 3.75rem); font-weight: 700; line-height: 1.04; }
h2 { font-size: clamp(1.95rem, 1.25rem + 2.1vw, 2.75rem); font-weight: 700; line-height: 1.12; }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.4rem); font-weight: 600; line-height: 1.28; letter-spacing: -0.02em; }
h4 { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.015em; }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

strong, b { font-weight: 600; }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  transition: top 160ms var(--ease);
}
.skip-link:focus { top: 16px; }

/* ------------------------------------------------------------- primitives - */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--max-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }
.section--soft { background: var(--soft); }
.section--hairline { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--teal-text);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}
.eyebrow::before {
  content: "";
  width: 15px;
  height: 15px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='5.4'/%3E%3Cpath d='M11.9 11.9 14.6 14.6'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='5.4'/%3E%3Cpath d='M11.9 11.9 14.6 14.6'/%3E%3C/svg%3E") no-repeat center / contain;
  flex: none;
}
.eyebrow--plain::before { display: none; }

.section-head { max-width: 46rem; margin-bottom: clamp(40px, 4.5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p {
  margin-top: 20px;
  color: var(--slate);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 40rem;
}
.section-head--center p { margin-inline: auto; }

.lede {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.68;
  color: var(--slate);
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------------------------------------------------------------- buttons - */
.btn {
  --btn-bg: var(--amber);
  --btn-fg: #1F2937;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid var(--btn-bd);
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms var(--ease), border-color 180ms var(--ease),
              color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--primary { box-shadow: 0 8px 20px -10px rgba(217, 138, 43, 0.75); }
.btn--primary:hover { background: var(--amber-dark); transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(217, 138, 43, 0.8); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bd: var(--navy); background: rgba(11, 47, 107, 0.03); }

.btn--onDark { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,0.32); }
.btn--onDark:hover { --btn-bd: rgba(255,255,255,0.7); background: rgba(255,255,255,0.07); }

.btn--sm { padding: 11px 20px; font-size: 0.875rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-text);
  font-size: 0.9375rem;
  font-weight: 600;
}
.link-arrow::after {
  content: "";
  width: 15px; height: 15px;
  background: currentColor;
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M12 5l7 7-7 7'/%3E%3C/svg%3E");
  mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M12 5l7 7-7 7'/%3E%3C/svg%3E");
  transition: transform 200ms var(--ease);
}
.link-arrow:hover::after { transform: translateX(4px); }

/* ----------------------------------------------------------------- header - */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(11, 47, 107, 0.4);
}

.header-inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
  transition: padding 220ms var(--ease);
}
.site-header.is-scrolled .header-inner { padding-block: 11px; }

.brand { flex: none; display: block; }
.brand img {
  width: auto;
  height: 46px;
  transition: height 220ms var(--ease);
}
.site-header.is-scrolled .brand img { height: 40px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.main-nav > a,
.nav-item > a {
  position: relative;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 160ms var(--ease), background 160ms var(--ease);
}
.main-nav > a:hover,
.nav-item > a:hover { color: var(--navy); background: rgba(11, 47, 107, 0.045); }
.main-nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

.nav-item { position: relative; }
.nav-item--services > a::after {
  content: "";
  width: 9px; height: 9px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.5;
  transition: transform 200ms var(--ease);
}
.nav-item--services:hover > a::after { transform: translateY(1px) rotate(45deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  min-width: 290px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 180ms;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  transition: background 140ms var(--ease), color 140ms var(--ease);
}
.nav-dropdown a small {
  display: block;
  margin-top: 2px;
  color: var(--slate);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
}
.nav-dropdown a:hover { background: var(--soft); color: var(--navy); }
.nav-dropdown--compact { min-width: 250px; }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.main-nav .mobile-cta { display: none; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
}
.header-phone svg { width: 16px; height: 16px; color: var(--blue); }
.header-phone:hover { color: var(--blue-text); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle-box { display: grid; gap: 4px; width: 18px; }
.menu-toggle-box span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 200ms var(--ease), opacity 160ms var(--ease);
}
.is-menu-open .menu-toggle-box span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.is-menu-open .menu-toggle-box span:nth-child(2) { opacity: 0; }
.is-menu-open .menu-toggle-box span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.noscript-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* ================================================================== HERO === */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
  padding-block: clamp(56px, 6.5vw, 96px) clamp(72px, 8vw, 112px);
}

/* Q-arc backdrop motif */
.hero-arcs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
/* the ring sits fully inside the hero so the circle geometry never clips;
   the hero photo overlapping it reads as intentional layering */
.hero-arcs svg {
  position: absolute;
  top: clamp(12px, 3vw, 40px);
  right: clamp(12px, 3vw, 48px);
  width: min(520px, 42vw);
  height: auto;
  opacity: 0.55;
}
@media (max-width: 1080px) {
  .hero-arcs svg { width: min(420px, 52vw); }
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(11, 47, 107, 0.038) 1px, transparent 1px),
    linear-gradient(0deg, rgba(11, 47, 107, 0.028) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000 0%, transparent 72%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(40px, 5vw, 76px);
}

.hero-copy { max-width: 36rem; }
.hero-copy h1 { margin-bottom: 24px; }
.hero-copy h1 em {
  font-style: normal;
  position: relative;
  color: var(--blue);
}
.hero-copy .lede { margin-bottom: 34px; max-width: 32rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 38px;
}

.hero-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-assurance span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--slate);
  font-size: 0.875rem;
  font-weight: 500;
}
.hero-assurance span::before {
  content: "";
  width: 16px; height: 16px;
  flex: none;
  border-radius: 50%;
  background: var(--teal-soft);
  -webkit-mask: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F8F8D' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E");
  background-size: 11px 11px;
  background-repeat: no-repeat;
  background-position: center;
}

/* --- hero visual: photo + performance panel ------------------------------- */
.hero-visual {
  position: relative;
  isolation: isolate;
}
.hero-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 4 / 3.15;
  background: var(--soft-2);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(4, 20, 47, 0) 42%, rgba(4, 20, 47, 0.4) 100%);
}

.perf-panel {
  position: absolute;
  left: clamp(-40px, -3vw, -18px);
  bottom: clamp(-34px, -3vw, -22px);
  z-index: 2;
  width: min(308px, 74%);
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--sh-lg);
}
.perf-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.perf-panel-head b {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.015em;
}
.perf-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-text);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.perf-live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(15, 143, 141, 0.16);
}
.perf-rows { display: grid; gap: 13px; }
.perf-row { display: grid; gap: 7px; }
.perf-row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.perf-row-top span { color: var(--slate); font-size: 0.8125rem; font-weight: 500; }
.perf-row-top b {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.perf-track {
  height: 5px;
  border-radius: var(--r-pill);
  background: var(--soft-2);
  overflow: hidden;
}
.perf-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  width: var(--val, 90%);
  transform-origin: left center;
  animation: perfGrow 1.1s var(--ease) both;
}
.perf-row:nth-child(2) .perf-fill { animation-delay: 0.1s; }
.perf-row:nth-child(3) .perf-fill { animation-delay: 0.2s; }
@keyframes perfGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-badge {
  position: absolute;
  top: clamp(-16px, -1.4vw, -10px);
  right: clamp(-14px, -1.2vw, -8px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px 13px 14px;
  background: var(--navy-deep);
  color: #fff;
  border-radius: 14px;
  box-shadow: var(--sh-lg);
}
.hero-badge b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-badge span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --------------------------------------------------------- credential bar - */
.credbar {
  border-block: 1px solid var(--line);
  background: #fff;
  padding-block: 26px;
}
.credbar-inner {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}
.client-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}
.client-proof img {
  width: 108px;
  height: 62px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  flex: none;
}
.client-proof-text span {
  display: block;
  color: var(--teal-text);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.client-proof-text b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.client-proof-text small {
  display: block;
  margin-top: 4px;
  color: var(--slate);
  font-size: 0.8125rem;
}
.credbar-facts {
  display: flex;
  align-items: stretch;
  gap: clamp(20px, 3vw, 40px);
  margin-left: auto;
  flex-wrap: wrap;
}
.credbar-facts div {
  padding-left: clamp(20px, 3vw, 40px);
  border-left: 1px solid var(--line);
}
.credbar-facts--full {
  width: 100%;
  margin-left: 0;
  justify-content: space-between;
}
.credbar-facts--full div:first-child { padding-left: 0; border-left: 0; }
.credbar-facts b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
}
.credbar-facts span {
  display: block;
  margin-top: 7px;
  color: var(--slate);
  font-size: 0.8125rem;
  line-height: 1.4;
  max-width: 15ch;
}

/* ------------------------------------------------------------- reviews ---- */
.reviews { background: var(--soft); }
.reviews[hidden] { display: none; }
.reviews .section-head { margin-bottom: clamp(32px, 3.5vw, 48px); }

.reviews-source {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.8125rem;
  font-weight: 500;
}
.reviews-source svg { width: 15px; height: 15px; color: var(--teal-text); }

/* Host for the Trustindex widget. It ships its own styles, so we only give it
   a measured container and keep the surrounding rhythm consistent. */
.reviews-widget {
  min-height: 296px;   /* reserve the slider's height to avoid layout shift */
  margin-inline: auto;
}
.reviews-widget .ti-widget { margin-bottom: 0 !important; }
.reviews-widget iframe { max-width: 100%; }

/* ------------------------------------------------------ certification band - */
.certband {
  background: #fff;
  border-block: 1px solid var(--line);
  padding-block: clamp(36px, 4.2vw, 56px);
}
.certband-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.5fr);
  align-items: center;
  gap: clamp(30px, 4.5vw, 68px);
}
.certband-copy { max-width: 25rem; }
.certband-copy p {
  margin: 0;
  color: var(--slate);
  font-size: 0.9375rem;
  line-height: 1.62;
}
.certband-copy b {
  display: block;
  margin-bottom: 9px;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.cert-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(22px, 3vw, 44px);
  flex-wrap: wrap;
  padding-left: clamp(30px, 4.5vw, 68px);
  border-left: 1px solid var(--line);
  list-style: none;
}
.cert-rail li { display: flex; align-items: center; }
.cert-rail img {
  width: auto;
  height: 68px;
  max-width: 168px;
  object-fit: contain;
  transition: transform 220ms var(--ease);
}
.cert-rail li:hover img { transform: translateY(-2px); }
.cert-rail li.cert--wide img { height: 52px; }

@media (max-width: 900px) {
  .certband-inner { grid-template-columns: 1fr; }
  .cert-rail {
    justify-content: flex-start;
    padding-left: 0;
    padding-top: 28px;
    border-left: 0;
    border-top: 1px solid var(--line);
    gap: 30px;
  }
}
@media (max-width: 560px) {
  .cert-rail { gap: 24px; }
  .cert-rail img { height: 52px; }
  .cert-rail li.cert--wide img { height: 40px; }
}

/* ============================================================ RING / GAUGE = */
.ring {
  position: relative;
  width: var(--ring-size, 104px);
  height: var(--ring-size, 104px);
  flex: none;
}
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-linecap: round; }
.ring .ring-bg { stroke: var(--ring-track, rgba(11, 47, 107, 0.1)); }
.ring .ring-fg {
  stroke: var(--ring-color, var(--blue));
  stroke-dasharray: var(--dash, 264);
  stroke-dashoffset: var(--dash, 264);
  transition: stroke-dashoffset 1.2s var(--ease);
}
.ring.is-visible .ring-fg { stroke-dashoffset: var(--offset, 30); }
.ring-value {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
}
.ring-value b { font-size: 1.375rem; display: block; }
.ring-value small { display: block; margin-top: 3px; font-size: 0.625rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }

/* ======================================================== METRICS (dark) === */
.metrics {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: #fff;
  padding-block: clamp(64px, 7.5vw, 104px);
}
.metrics::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -8%;
  width: 620px; height: 620px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 60px rgba(255, 255, 255, 0.02);
}
.metrics::after {
  content: "";
  position: absolute;
  bottom: -46%;
  right: -6%;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 132, 248, 0.14), transparent 62%);
}
.metrics .wrap { position: relative; z-index: 1; }
.metrics h2 { color: #fff; }
.metrics .eyebrow { color: #46D6D3; }
.metrics .section-head p { color: rgba(255, 255, 255, 0.7); }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r);
  overflow: hidden;
}
.metric {
  background: var(--navy-deep);
  padding: 30px 26px;
  transition: background 220ms var(--ease);
}
.metric:hover { background: #0a2758; }
.metric b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2rem, 1.4rem + 1.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.metric span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
}
.metric i {
  display: block;
  width: 18px; height: 18px;
  margin-bottom: 16px;
  background: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='5.4'/%3E%3Cpath d='M11.9 11.9 14.6 14.6'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='5.4'/%3E%3Cpath d='M11.9 11.9 14.6 14.6'/%3E%3C/svg%3E") no-repeat center / contain;
}
.metric:nth-child(even) i { background: var(--blue); }

.metrics-note {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
  line-height: 1.6;
  max-width: 46rem;
}

/* ============================================================ SPLIT / DUEL = */
.duel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.duel-card {
  position: relative;
  padding: 34px 32px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: #fff;
}
.duel-card h3 { margin-bottom: 12px; }
.duel-card p { color: var(--slate); font-size: 0.9688rem; }
.duel-card ul { display: grid; gap: 11px; margin-top: 20px; list-style: none; }
.duel-card li {
  display: flex;
  gap: 11px;
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.duel-card li::before {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.duel-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.duel-card--problem { background: var(--soft); border-color: var(--line); }
.duel-card--problem .duel-tag { background: rgba(102, 112, 133, 0.12); color: var(--slate); }
.duel-card--problem li::before {
  background-color: rgba(102, 112, 133, 0.13);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}

.duel-card--solution {
  background: #fff;
  border-color: var(--blue-line);
  box-shadow: var(--sh-md);
}
.duel-card--solution::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: var(--r) var(--r) 0 0;
  background: linear-gradient(90deg, var(--navy), var(--blue) 55%, var(--teal));
}
.duel-card--solution .duel-tag { background: var(--teal-soft); color: var(--teal-text); }
.duel-card--solution li::before {
  background-color: var(--teal-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F8F8D' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E");
}

/* =========================================================== SERVICE CARDS = */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 20px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 240ms var(--ease), box-shadow 240ms var(--ease), transform 240ms var(--ease);
}
.service-card:hover {
  border-color: var(--blue-line);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.service-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft-2);
}
.service-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.service-card:hover .service-card-media img { transform: scale(1.045); }
.service-card-index {
  position: absolute;
  top: 14px; left: 14px;
  display: grid;
  place-content: center;
  min-width: 30px; height: 30px;
  padding-inline: 8px;
  border-radius: 8px;
  background: rgba(4, 20, 47, 0.62);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 26px 24px;
}
.service-card-body h3 { margin-bottom: 10px; }
.service-card-body > p {
  color: var(--slate);
  font-size: 0.9375rem;
  line-height: 1.62;
  margin-bottom: 20px;
}
.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
  list-style: none;
}
.service-card-tags li {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.75rem;
  font-weight: 500;
}
.service-card .link-arrow { margin-top: auto; }

/* ------------------------------------------------------------ pillar grid - */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.pillar {
  background: #fff;
  padding: 32px 30px;
  transition: background 220ms var(--ease);
}
.pillar:hover { background: var(--soft); }
.pillar-icon {
  display: grid;
  place-content: center;
  width: 42px; height: 42px;
  margin-bottom: 20px;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--blue);
}
.pillar-icon svg { width: 20px; height: 20px; }
.pillar--teal .pillar-icon { background: var(--teal-soft); color: var(--teal); }
.pillar h3 { margin-bottom: 10px; }
.pillar p { color: var(--slate); font-size: 0.9375rem; line-height: 1.62; }

/* --------------------------------------------------------------- feature --- */
.feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  gap: clamp(40px, 5.5vw, 80px);
}
.feature--reverse .feature-media { order: 2; }
.feature-copy h2 { margin-bottom: 22px; }
.feature-copy > p { color: var(--slate); }

.feature-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 5 / 5.4;
  background: var(--soft-2);
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-caption {
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  padding: 16px 18px;
  border-radius: 13px;
  background: rgba(4, 20, 47, 0.74);
  backdrop-filter: blur(12px);
  color: #fff;
}
.feature-caption span {
  display: block;
  color: #46D6D3;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.feature-caption b {
  font-family: var(--font-head);
  font-size: 0.9688rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.checklist { display: grid; gap: 16px; margin-top: 30px; list-style: none; }
.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
}
.checklist li::before {
  content: "";
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F8F8D' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") no-repeat center / 13px;
}
.checklist b {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.015em;
}
.checklist p { margin: 4px 0 0; color: var(--slate); font-size: 0.9375rem; line-height: 1.58; }

/* ---------------------------------------------------------------- process - */
.process-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 0 26px 0 0;
  counter-increment: step;
}
.process-step-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.process-dot {
  position: relative;
  z-index: 1;
  flex: none;
  display: grid;
  place-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
}
.process-dot svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}
.process-dot circle { fill: none; stroke-width: 2.4; }
.process-dot .dot-track { stroke: var(--soft-2); }
.process-dot .dot-arc {
  stroke: var(--blue);
  stroke-linecap: round;
  /* arc length = progress share of C (2pi*21 = 131.9) */
  stroke-dasharray: calc(var(--p, 1) * 131.9) 999;
  transition: stroke-dasharray 900ms var(--ease) 200ms, stroke 260ms var(--ease);
}
.process-step[data-reveal]:not(.is-visible) .dot-arc { stroke-dasharray: 0 999; }
.process-step:hover .dot-arc { stroke: var(--teal); }
.process-line {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 5px, transparent 5px 11px);
}
.process-step:last-child .process-line { display: none; }
.process-step h3 { margin-bottom: 10px; }
.process-step p { color: var(--slate); font-size: 0.9375rem; line-height: 1.62; padding-right: 6px; }
.process-step > span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--teal-text);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------- deliverable ---- */
.deliverable {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(36px, 4.5vw, 64px);
  align-items: center;
  padding: clamp(32px, 4vw, 56px);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.plan-doc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.plan-doc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  background: var(--navy-deep);
  color: #fff;
}
.plan-doc-head b {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.plan-doc-head span {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.plan-doc-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.plan-doc-metrics div {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}
.plan-doc-metrics div:last-child { border-right: 0; }
.plan-doc-metrics span {
  display: block;
  color: var(--slate);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.plan-doc-metrics b {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.plan-doc-body { padding: 22px; display: grid; gap: 11px; }
.plan-doc-body li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 9px;
  background: var(--soft);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  list-style: none;
}
.plan-doc-body li::before {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  border-radius: 4px;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") no-repeat center / 11px;
}
.plan-doc-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 22px 22px;
}
.plan-doc-foot span {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--blue-soft);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 500;
}

/* --------------------------------------------------------------- sectors -- */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 1000px) { .sector-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sector {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.sector:hover { border-color: var(--blue-line); background: var(--soft); }
.sector svg { width: 20px; height: 20px; flex: none; color: var(--blue); }
.sector b {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.015em;
}

/* ------------------------------------------------------------------- FAQ -- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 44px 26px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.018em;
  line-height: 1.4;
  transition: color 180ms var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue-text); }
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 27px;
  width: 18px; height: 18px;
  background: currentColor;
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform 260ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details > div {
  padding: 0 44px 28px 0;
  color: var(--slate);
  font-size: 0.9688rem;
  line-height: 1.7;
  max-width: 52rem;
}
.faq details > div p + p { margin-top: 0.9rem; }

/* ------------------------------------------------------------ quote band -- */
.quote-band {
  position: relative;
  padding: clamp(40px, 5vw, 64px);
  background: linear-gradient(135deg, var(--navy-deep), #0a2a5f);
  border-radius: var(--r-lg);
  color: #fff;
  overflow: hidden;
}
.quote-band::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -110px;
  width: 340px; height: 340px;
  border: 40px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
}
.quote-band blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 44rem;
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -0.024em;
}
.quote-band figcaption {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.875rem;
  line-height: 1.5;
}
.quote-band figcaption b { display: block; color: #fff; font-weight: 600; }

/* ============================================================== PAGE HERO == */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: #fff;
  padding-block: clamp(64px, 8vw, 112px);
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 760px; height: 760px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 90px rgba(255, 255, 255, 0.018);
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -55%; left: -12%;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 132, 248, 0.18), transparent 62%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .eyebrow { color: #46D6D3; }
.page-hero-copy { max-width: 44rem; }
.page-hero-copy p {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.65;
  max-width: 38rem;
}
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  align-items: start;
  gap: clamp(42px, 6vw, 86px);
}
.contact-hero-grid .page-hero-copy { padding-top: clamp(24px, 4vw, 64px); }
.contact-hero-form {
  scroll-margin-top: 92px;
  box-shadow: 0 28px 80px rgba(0, 8, 24, 0.34);
}

.page-hero--media { background: var(--navy-ink); }
.page-hero--media .page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero--media .page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.62; }
.page-hero--media::after {
  content: "";
  position: absolute;
  inset: 0;
  width: auto; height: auto;
  border-radius: 0;
  background: linear-gradient(97deg, rgba(4, 20, 47, 0.96) 30%, rgba(4, 20, 47, 0.55) 68%, rgba(4, 20, 47, 0.22) 100%);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.72); transition: color 160ms var(--ease); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span::after { content: "/"; margin-left: 8px; opacity: 0.4; }
.breadcrumb span:last-child::after { display: none; }

.page-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.page-hero-stats div b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.page-hero-stats div span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ============================================================== FINAL CTA = */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--soft);
  padding-block: var(--section-y);
}
.cta-section::before {
  content: "";
  position: absolute;
  top: -180px; left: 50%;
  translate: -50% 0;
  width: 900px; height: 900px;
  border-radius: 50%;
  border: 1px solid rgba(11, 47, 107, 0.06);
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 4.5vw, 68px);
  align-items: start;
}
.cta-copy h2 { margin-bottom: 22px; }
.cta-copy > p { color: var(--slate); }
.cta-points { display: grid; gap: 14px; margin-top: 30px; list-style: none; }
.cta-points li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  color: var(--ink);
  font-size: 0.9688rem;
  line-height: 1.55;
}
.cta-points li::before {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A84F8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") no-repeat center / 12px;
}
.cta-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}
.cta-direct a, .cta-direct span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 0.9375rem;
  font-weight: 600;
}
.cta-direct svg { width: 17px; height: 17px; color: var(--blue); }
.cta-direct a:hover { color: var(--blue-text); }

/* Assumes the embedded GoHighLevel form uses the light QS theme
   (white surface, #D3DBE7 field borders, amber submit button). */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.form-card-head {
  padding: 24px 28px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--soft));
}
.form-card-head b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.022em;
}
.form-card-head span {
  display: block;
  margin-top: 7px;
  color: var(--slate);
  font-size: 0.875rem;
  line-height: 1.5;
}
.form-card iframe { background: #fff; }
.form-card iframe {
  display: block;
  width: 100%;
  min-height: 680px;
  border: 0;
  background: transparent;
}

/* ============================================================ CONTACT ===== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 18px;
}
.contact-card {
  display: block;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
a.contact-card:hover { border-color: var(--blue-line); box-shadow: var(--sh-md); transform: translateY(-2px); }
.contact-card-icon {
  display: grid;
  place-content: center;
  width: 42px; height: 42px;
  margin-bottom: 20px;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--blue);
}
.contact-card-icon svg { width: 19px; height: 19px; }
.contact-card b {
  display: block;
  color: var(--slate);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-card em {
  display: block;
  font-family: var(--font-head);
  font-style: normal;
  overflow-wrap: anywhere;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.018em;
  line-height: 1.35;
  word-break: break-word;
}
.contact-card small {
  display: block;
  margin-top: 10px;
  color: var(--slate);
  font-size: 0.8125rem;
  line-height: 1.55;
}
.contact-card--email em { font-size: 0.9375rem; letter-spacing: -0.01em; }
.hours-list { display: grid; gap: 4px; margin-top: 4px; }
.hours-list span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink);
}
.hours-list span b {
  color: var(--slate);
  font-size: 0.875rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  margin: 0;
}

.map-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
  background: var(--soft-2);
  min-height: 380px;
}
.map-card iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: grayscale(0.35) contrast(1.02); }
.map-label {
  position: absolute;
  left: 20px; bottom: 20px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow: var(--sh-md);
}
.map-label span {
  display: block;
  color: var(--teal-text);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.map-label b { font-family: var(--font-head); color: var(--navy); font-size: 1rem; font-weight: 600; }

/* ============================================================ COVERAGE ==== */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.coverage-region {
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}
.coverage-region:hover { border-color: var(--blue-line); box-shadow: var(--sh-md); }
.coverage-region span {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--teal-soft);
  color: var(--teal-text);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.coverage-region h3 { margin-bottom: 12px; }
.coverage-region p { color: var(--slate); font-size: 0.9375rem; line-height: 1.6; }
.coverage-region ul { margin-top: 18px; display: grid; gap: 9px; list-style: none; }
.coverage-region li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.9063rem;
}
.coverage-region li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}

.fit-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.fit-col {
  padding: 30px 28px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: #fff;
}
.fit-col--yes { border-color: var(--blue-line); background: linear-gradient(180deg, #fff, var(--blue-soft) 340%); }
.fit-col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.fit-col ul { display: grid; gap: 12px; list-style: none; }
.fit-col li {
  display: flex;
  gap: 11px;
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.fit-col li::before {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.fit-col--yes li::before {
  background-color: var(--teal-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F8F8D' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E");
}
.fit-col--maybe li::before {
  background-color: rgba(102, 112, 133, 0.13);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8v5M12 16.5h.01'/%3E%3C/svg%3E");
}

/* ================================================================= ABOUT == */
.value-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 1px;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.value-list-wrap { padding-inline: var(--gutter); }
.value {
  background: #fff;
  padding: 34px 30px;
}
.value span {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-text);
}
.value b {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.32;
}
.value p { color: var(--slate); font-size: 0.9375rem; line-height: 1.62; }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
@media (max-width: 520px) { .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat-strip div b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.035em;
  line-height: 1;
}
.stat-strip div span {
  display: block;
  margin-top: 9px;
  color: var(--slate);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ----------------------------------------------------------------- origin -- */
.origin { text-align: left; }
.origin h2 { margin-bottom: 28px; }
.origin-quote {
  margin: 0;
  padding-left: 26px;
  border-left: 3px solid var(--blue);
}
.origin-quote p {
  font-family: var(--font-head);
  font-size: clamp(1.125rem, 1rem + 0.55vw, 1.375rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.018em;
  color: var(--navy);
  margin-bottom: 1.2em;
}
.origin-quote p:last-child { margin-bottom: 0; }
.founder-sig {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.founder-sig b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.founder-sig span {
  display: block;
  margin-top: 4px;
  color: var(--slate);
  font-size: 0.875rem;
}

/* ============================================================ SCOPE LIST == */
.scope-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.scope-block {
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.scope-block h3 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 1.0625rem;
}
.scope-block h3 svg { width: 19px; height: 19px; color: var(--teal); flex: none; }
.scope-block ul { display: grid; gap: 10px; list-style: none; }
.scope-block li {
  display: flex;
  gap: 10px;
  color: var(--slate);
  font-size: 0.9063rem;
  line-height: 1.55;
}
.scope-block li::before {
  content: "";
  flex: none;
  width: 5px; height: 5px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--blue-line);
}

/* ================================================================ FOOTER == */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--navy-ink);
  color: rgba(255, 255, 255, 0.72);
  padding-block: clamp(56px, 6vw, 84px) 0;
  font-size: 0.9375rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -220px; right: -140px;
  width: 620px; height: 620px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 80px rgba(255, 255, 255, 0.014);
  pointer-events: none;
}
.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 4vw, 64px);
  padding-bottom: 48px;
}
.footer-brand img { height: 46px; width: auto; margin-bottom: 22px; }
.footer-brand p {
  max-width: 26rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  line-height: 1.65;
}
.footer-cta { margin-top: 26px; }

.footer-col h4 {
  margin-bottom: 20px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.footer-col ul { display: grid; gap: 12px; list-style: none; }
.footer-col a, .footer-col li {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: color 160ms var(--ease);
}
.footer-col a:hover { color: #fff; }
.footer-col li.footer-meta { color: rgba(255, 255, 255, 0.45); font-size: 0.8125rem; }

.footer-contact { display: grid; gap: 14px; list-style: none; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--blue); }
.footer-contact b { display: block; color: #fff; font-weight: 500; }
.footer-contact span { display: block; color: rgba(255, 255, 255, 0.5); font-size: 0.8125rem; margin-top: 3px; line-height: 1.5; }
.footer-contact a:hover b { color: var(--blue); }

.footer-regions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-block: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.footer-regions b {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 8px;
}
.footer-regions span {
  padding: 6px 13px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8125rem;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 26px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.8125rem;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }

/* =============================================================== MOTION === */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ============================================================ RESPONSIVE == */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 42rem; }
  .hero-visual { max-width: 620px; margin-top: 18px; }
  .perf-panel { left: -14px; }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .cta-inner { grid-template-columns: 1fr; }
  .contact-hero-grid { grid-template-columns: 1fr; }
  .contact-hero-grid .page-hero-copy { padding-top: 0; }
  .contact-hero-form { max-width: 720px; }
}

@media (max-width: 900px) {
  .header-inner { gap: 14px; }
  .menu-toggle { display: flex; }
  .header-actions { display: none; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 14px var(--gutter) 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-lg);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }
  .is-menu-open .main-nav { display: flex; }
  .main-nav > a, .nav-item > a {
    padding: 13px 12px;
    font-size: 1rem;
    border-radius: 9px;
  }
  .main-nav a[aria-current="page"]::after { display: none; }
  .main-nav a[aria-current="page"] { background: var(--soft); }
  .nav-item--services > a::after { margin-left: auto; }
  .nav-dropdown {
    position: static;
    translate: none;
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    margin: 2px 0 8px 12px;
    padding: 4px 0 4px 14px;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }
  .nav-dropdown a { padding: 10px 12px; }
  .main-nav .mobile-cta { display: inline-flex; margin-top: 14px; }

  .process-step { padding-right: 0; padding-bottom: 34px; }
  .process-line { display: none; }
  .feature--reverse .feature-media { order: 0; }
  .metrics::before, .metrics::after { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --section-y: clamp(56px, 11vw, 80px); }
  .hero { padding-block: 40px 64px; }
  .contact-hero-grid { gap: 34px; }
  .contact-hero-form { margin-inline: calc(var(--gutter) * -0.2); }
  .hero-photo { aspect-ratio: 4 / 3.4; }
  .hero-photo img[src*="home-hero-"] { object-position: 58% center; }
  .page-hero-bg img[src*="about-hero"] { object-position: 66% center; }
  .page-hero-bg img[src*="svc-commercial-hero"] { object-position: 76% center; }
  .page-hero-bg img[src*="svc-porter-hero"] { object-position: 55% center; }
  .page-hero-bg img[src*="svc-floor-hero"] { object-position: 64% center; }
  .page-hero-bg img[src*="svc-postcon-hero"] { object-position: 76% center; }
  .page-hero-bg img[src*="ind-property-hero"] { object-position: 68% center; }
  .perf-panel { position: static; width: 100%; margin-top: 18px; }
  .hero-badge { top: -12px; right: 8px; padding: 10px 14px; }
  .hero-badge b { font-size: 1.125rem; }
  .credbar-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .credbar-logos { margin-left: 0; gap: 26px; }
  .credbar-label { max-width: none; }
  .plan-doc-metrics { grid-template-columns: 1fr; }
  .plan-doc-metrics div { border-right: 0; border-bottom: 1px solid var(--line); }
  .plan-doc-metrics div:last-child { border-bottom: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .faq summary { font-size: 1rem; padding-block: 22px; }
  .duel-card, .pillar, .service-card-body, .contact-card { padding: 24px 22px; }
  .deliverable { padding: 24px 20px; }
  .quote-band { padding: 32px 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ================================================================= 404 ==== */
.notfound {
  display: grid;
  place-content: center;
  text-align: center;
  min-height: min(58vh, 520px);
  padding: clamp(64px, 9vw, 120px) var(--gutter);
}
.notfound-code {
  font-family: var(--font-head);
  font-size: clamp(4rem, 3rem + 6vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(120deg, var(--navy), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
}
.notfound p { color: var(--slate); max-width: 32rem; margin-inline: auto; }
.notfound .btn { margin-top: 30px; }

/* ================================================================= LEGAL == */
.legal-body { max-width: 46rem; }
.legal-body h2 { font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.625rem); margin: 44px 0 14px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { margin: 28px 0 10px; }
.legal-body p, .legal-body li { color: var(--slate); font-size: 1rem; line-height: 1.72; }
.legal-body ul { margin: 0 0 1.1rem; padding-left: 22px; list-style: disc; display: grid; gap: 8px; }
.legal-body a { color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; }
.legal-meta {
  display: inline-block;
  margin-bottom: 32px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.8125rem;
  font-weight: 500;
}
