/* ═══════════════════════════════════════════════════════════════════════
   CLOUDPIRE — Design system (2026 brand refresh)
   Colours, type and the "summit" ridge motif come from the Cloudpire
   brand kit. One stylesheet, no build step.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* Brand */
  --night: #0b1f45;        /* dark bands: heroes, CTA, footer */
  --navy: #183c86;         /* Summit Navy */
  --navy-deep: #12295a;
  --pine: #23824a;         /* Pine Green, darkened so white text passes 4.5:1 */
  --pine-dark: #1b6a3c;
  --pine-ink: #1e7a45;     /* green text on white (5.2:1) */
  --sky: #1e96d4;
  --bright: #5cc46a;       /* green on dark backgrounds */
  --ice: #a9c8e8;          /* secondary text on dark backgrounds */
  --mist: #f2f6f9;         /* alternate section background */
  --grad: linear-gradient(90deg, #1a5fc9 0%, #1e96d4 50%, #56c04a 100%);

  /* Neutrals (names kept from the previous system so inline styles still resolve) */
  --ink: #13213a;
  --paper: #ffffff;
  --gray-900: #13213a;
  --gray-600: #4a5568;
  --gray-400: #5f6b7a;
  --gray-300: #aab4c2;
  --gray-200: #e3e8ef;
  --gray-100: #f2f6f9;
  --line-ui: #8a94a3;
  --accent: #1a5fc9;
  --accent-dim: rgba(26, 95, 201, 0.08);

  /* Type */
  --font: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --head: var(--font);
  --body: var(--font);
  --serif: var(--font);

  /* Layout */
  --max: 1280px;
  --header-h: 80px;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(11, 31, 69, 0.06), 0 12px 32px -12px rgba(11, 31, 69, 0.22);
}

/* ── Base ──────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}
img,
svg {
  max-width: 100%;
}
svg {
  display: block;
}
h1,
h2,
h3,
h4 {
  font-family: var(--head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
p {
  margin: 0 0 1rem;
  text-wrap: pretty;
}
:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: rgba(30, 150, 212, 0.22);
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--paper);
  color: var(--ink);
  padding: 0.75rem 1.1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  box-shadow: var(--shadow);
}
.skip:focus {
  top: 1rem;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
main:focus {
  outline: none;
}

/* ── Header ────────────────────────────────────────────────────────────
   Sits transparently over the dark hero at the top of every page, then
   becomes a solid white bar once the visitor scrolls (js/lean.js adds
   .is-scrolled). Without JavaScript it simply scrolls away with the page. */
header.site {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  color: #fff;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
header.site .wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
header.site.is-scrolled {
  position: fixed;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--gray-200), 0 8px 24px -16px rgba(11, 31, 69, 0.35);
  animation: header-in 0.3s ease both;
}
@supports (backdrop-filter: blur(8px)) {
  header.site.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(1.4) blur(12px);
  }
}
@keyframes header-in {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.logo .logo--dark,
header.site.is-scrolled .logo .logo--light {
  display: none;
}
header.site.is-scrolled .logo .logo--dark {
  display: block;
}

nav.primary {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
nav.primary > a,
.has-drop > button {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.6rem 0.85rem;
  border-radius: var(--r-sm);
  color: inherit;
  transition: background-color 0.15s ease;
}
nav.primary > a:hover,
.has-drop > button:hover,
.has-drop > button[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.1);
}
header.site.is-scrolled nav.primary > a:hover,
header.site.is-scrolled .has-drop > button:hover,
header.site.is-scrolled .has-drop > button[aria-expanded="true"] {
  background: var(--mist);
}
nav.primary > a[aria-current="page"],
.has-drop.is-current > button {
  box-shadow: inset 0 -2px 0 var(--bright);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}
header.site.is-scrolled nav.primary > a[aria-current="page"],
header.site.is-scrolled .has-drop.is-current > button {
  box-shadow: inset 0 -2px 0 var(--pine);
}
nav.primary > a.cta,
header.site.is-scrolled nav.primary > a.cta {
  margin-left: 0.75rem;
  background: var(--pine);
  color: #fff;
  padding: 0.65rem 1.2rem;
}
nav.primary > a.cta:hover,
header.site.is-scrolled nav.primary > a.cta:hover {
  background: var(--pine-dark);
}

/* Mega-menu dropdowns */
.has-drop {
  position: relative;
}
.has-drop > button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.has-drop > button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}
.has-drop > button[aria-expanded="true"]::after {
  transform: translateY(1px) rotate(-135deg);
}
.drop-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: min(720px, 90vw);
  display: grid;
  grid-template-columns: 240px 1fr;
  background: #fff;
  color: var(--ink);
  border-radius: var(--r);
  box-shadow: 0 24px 60px -20px rgba(4, 12, 30, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.drop-panel::before {
  /* hover bridge so the panel doesn't close while crossing the gap */
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.has-drop:hover .drop-panel,
.has-drop > button[aria-expanded="true"] + .drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.has-drop.is-dismissed:hover .drop-panel {
  opacity: 0;
  visibility: hidden;
}
.drop-intro {
  background: var(--navy);
  color: #fff;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  border-radius: var(--r) 0 0 var(--r);
}
.drop-intro::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--grad);
  border-bottom-left-radius: var(--r);
}
.drop-intro__title {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}
.drop-intro p {
  color: var(--ice);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0 0 0.5rem;
}
.drop-intro a {
  margin-top: auto;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}
.drop-intro a:hover {
  color: var(--bright);
}
.drop-links {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
}
.drop-links a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.8rem 1rem;
  border-radius: var(--r-sm);
  transition: background-color 0.15s ease;
}
.drop-links a:hover,
.drop-links a:focus-visible {
  background: var(--mist);
}
.drop-link__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}
.drop-link__desc {
  font-size: 0.84rem;
  color: var(--gray-600);
  line-height: 1.45;
}

/* Burger + mobile menu */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
#navMobile {
  display: none;
}
#navMobile.open {
  display: block;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: #fff;
  color: var(--ink);
  z-index: 55;
  overflow-y: auto;
  padding: 1rem 1.5rem 3rem;
  border-top: 1px solid var(--gray-200);
}
body.menu-open header.site {
  position: fixed;
  background: #fff;
  color: var(--ink);
}
body.menu-open header.site .logo--light {
  display: none;
}
body.menu-open header.site .logo--dark {
  display: block;
}
#navMobile details {
  border-bottom: 1px solid var(--gray-200);
}
#navMobile summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-weight: 700;
  font-size: 1.05rem;
}
#navMobile summary::-webkit-details-marker {
  display: none;
}
#navMobile summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--pine-ink);
}
#navMobile details[open] summary::after {
  content: "\2212";
}
#navMobile details a {
  display: block;
  padding: 0.6rem 0 0.6rem 1rem;
  font-weight: 500;
  color: var(--gray-600);
  border-left: 2px solid var(--gray-200);
}
#navMobile details a:last-child {
  margin-bottom: 1rem;
}
#navMobile details a:hover {
  color: var(--ink);
  border-left-color: var(--pine);
}
#navMobile > a {
  display: block;
  padding: 1rem 0;
  font-weight: 700;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--gray-200);
}
#navMobile > a.btn-solid {
  display: flex;
  margin-top: 1.5rem;
  border-bottom: 0;
  color: #fff;
}

/* Reading progress (articles; element added by js/lean.js) */
.read-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--grad);
  transform-origin: 0 50%;
  transform: scaleX(0);
}
header.site:not(.is-scrolled) .read-progress {
  display: none;
}

/* ── Buttons & links ───────────────────────────────────────────────── */
.btn-solid,
.btn-outline,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-solid {
  background: var(--pine);
  color: #fff;
}
.btn-solid:hover {
  background: var(--pine-dark);
}
.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.btn-ghost {
  border: 1.5px solid var(--navy);
  color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: #fff;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--navy);
}
.link-arrow::after {
  content: "";
  width: 18px;
  height: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.8'/%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 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform 0.2s ease;
}
.link-arrow:hover::after,
a:hover > .link-arrow::after,
a:hover .link-arrow::after {
  transform: translateX(4px);
}

/* ── Type helpers ──────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pine-ink);
  line-height: 1.4;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad);
  flex-shrink: 0;
}
.grid-label-body > .eyebrow {
  align-self: start;
  margin-top: 0.45rem;
}
.h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.subhead {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 60ch;
}
.intro-p {
  font-size: 1.08rem;
  color: var(--gray-600);
  max-width: 66ch;
}

/* ── Sections ──────────────────────────────────────────────────────── */
.section {
  padding: 5.5rem 0;
}
.section.tight {
  padding: 2.5rem 0;
}
.section.alt {
  background: var(--mist);
}
.hr {
  height: 1px;
  background: var(--gray-200);
}
/* The dark hero bands already separate themselves from the content */
.page-hero + .hr,
.svc-hero + .hr,
.masthead + .hr {
  display: none;
}
.grid-label-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3.5rem;
}

/* ── Dark hero bands (all interior pages) ──────────────────────────── */
.page-hero,
.svc-hero,
.masthead,
.notfound {
  /* full-bleed even when nested inside .wrap */
  margin-inline: calc(50% - 50vw);
  padding-inline: calc(50vw - 50%);
  background-color: var(--night);
  background-image: url("../assets/brand/ridge.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% 110px;
  color: #fff;
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: calc(110px + 2.5rem);
  /* re-map neutral tokens so inline styles stay legible on dark */
  --gray-600: #c9d8ea;
  --gray-400: #a9c8e8;
  --gray-300: #8fa9c9;
  --pine-ink: var(--bright);
}
.page-hero h1,
.svc-hero h1,
.masthead h1,
.notfound h1 {
  color: #fff;
  font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  max-width: 22ch;
  margin: 1rem 0 1.25rem;
  letter-spacing: -0.02em;
}
.page-hero p,
.svc-hero p {
  font-size: 1.15rem;
  color: var(--gray-600);
  max-width: 60ch;
  margin: 0;
}
.svc-hero__crumb {
  font-size: 0.88rem;
  color: var(--ice);
  margin-bottom: 1.25rem;
}
.svc-hero__crumb a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}
.svc-hero__crumb a:hover {
  text-decoration-color: var(--bright);
}
.masthead h1 {
  max-width: 26ch;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

/* ── Homepage hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--night);
  color: #fff;
  min-height: min(94vh, 880px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 clamp(170px, 22vw, 290px);
  overflow: hidden;
  isolation: isolate;
}
.hero .wrap {
  width: 100%;
}
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(60% 55% at 78% 30%, rgba(30, 150, 212, 0.22), transparent 70%),
    radial-gradient(40% 40% at 15% 85%, rgba(92, 196, 106, 0.12), transparent 70%);
}
.hero__ridges {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: -1;
  width: 100%;
  height: clamp(200px, 30vw, 380px);
}
.hero__ridge-line {
  stroke-dasharray: 3200;
  stroke-dashoffset: 3200;
  animation: draw-ridge 2.4s 0.3s cubic-bezier(0.6, 0, 0.2, 1) forwards;
}
@keyframes draw-ridge {
  to {
    stroke-dashoffset: 0;
  }
}
.hero .eyebrow {
  color: var(--bright);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.75rem, 6.6vw, 5.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 17ch;
  margin: 1.25rem 0 1.75rem;
}
.hero p {
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  color: #c9d8ea;
  max-width: 54ch;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Homepage: practices ───────────────────────────────────────────── */
.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(0, 520px);
  gap: 1rem 4rem;
  align-items: end;
  margin-bottom: 3.5rem;
}
.section-head .h2 {
  margin: 0.75rem 0 0;
  max-width: 18ch;
}
.section-head p {
  color: var(--gray-600);
  margin: 0;
}
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.practice {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 2rem;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.practice::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad);
  background-size: 300% 100%;
}
.practice:nth-child(1)::before {
  background-position: 0% 0;
}
.practice:nth-child(2)::before {
  background-position: 50% 0;
}
.practice:nth-child(3)::before {
  background-position: 100% 0;
}
.practice__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r);
  background: var(--mist);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
}
.practice h3 {
  font-size: 1.4rem;
}
.practice > p {
  color: var(--gray-600);
  font-size: 0.98rem;
}
.practice ul {
  list-style: none;
  margin: 0.5rem 0 1.75rem;
  border-top: 1px solid var(--gray-200);
}
.practice li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-weight: 600;
  font-size: 0.95rem;
}
.practice li a:hover {
  color: var(--pine-ink);
}
.practice li a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--line-ui);
  border-right: 2px solid var(--line-ui);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.practice .link-arrow {
  margin-top: auto;
}

/* ── Homepage: principles ──────────────────────────────────────────── */
.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.principles__statement {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 1rem 0 1.5rem;
  max-width: 20ch;
}
.principles__intro {
  color: var(--gray-600);
  max-width: 46ch;
  margin-bottom: 1.75rem;
}
.principle-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.principle {
  background: #fff;
  border-radius: var(--r);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
}
.principle h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.principle p {
  font-size: 0.93rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.6;
}

/* ── Homepage: engagement steps (a real sequence) ──────────────────── */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 24px;
  right: calc(25% - 1.5rem - 24px);
  height: 2px;
  background: var(--grad);
  opacity: 0.6;
}
.step {
  counter-increment: step;
  position: relative;
}
.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--night);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  position: relative;
  box-shadow: 0 0 0 6px #fff;
}
.step h3 {
  font-size: 1.1rem;
}
.step p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 0;
}

/* ── Homepage: insight cards ───────────────────────────────────────── */
.insight-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.insight-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.insight-card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}
.insight-card__band {
  height: 112px;
  background-color: var(--night);
  background-image: url("../assets/brand/ridge.svg");
  background-repeat: no-repeat;
  background-position: 0 bottom;
  background-size: 180% 84px;
}
.insight-card:nth-child(2) .insight-card__band {
  background-position: 45% bottom;
}
.insight-card:nth-child(3) .insight-card__band {
  background-position: 100% bottom;
}
.insight-card__body {
  padding: 1.5rem 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.insight-card__meta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pine-ink);
}
.insight-card__meta span {
  color: var(--gray-400);
  font-weight: 500;
}
.insight-card h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 0;
}
.insight-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
}
.insight-card .link-arrow {
  margin-top: auto;
}
.section-foot {
  margin-top: 2.5rem;
}

/* ── Proof strip ───────────────────────────────────────────────────── */
.proof {
  display: grid;
  gap: 1rem;
}
.proof[data-cols="3"] {
  grid-template-columns: repeat(3, 1fr);
}
.proof[data-cols="4"] {
  grid-template-columns: repeat(4, 1fr);
}
.proof__item {
  background: var(--mist);
  border-radius: var(--r);
  padding: 1.5rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.proof__item::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad);
  margin-bottom: 0.6rem;
}
.proof__num {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--navy);
}
.proof__label {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ── Pillar rows (hub pages) ───────────────────────────────────────── */
.pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pillar-row {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1.75rem 2rem;
  border-radius: var(--r);
  border: 1px solid var(--gray-200);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pillar-row:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
}
.pillar-row__tag {
  justify-self: start;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pine-ink);
  background: rgba(46, 155, 87, 0.1);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
}
.pillar-row__name {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}
.pillar-row__desc {
  color: var(--gray-600);
  font-size: 0.97rem;
  line-height: 1.6;
}

/* ── Feature list ──────────────────────────────────────────────────── */
.feature-list {
  display: flex;
  flex-direction: column;
}
.feature-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.feature-list .feature-item:first-child {
  padding-top: 0;
}
.feature-list .feature-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.feature-item__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mist);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
}
.feature-item h3 {
  font-size: 1.2rem;
  margin: 0.55rem 0 0.5rem;
}
.feature-item p {
  color: var(--gray-600);
  margin: 0;
  max-width: 68ch;
}

/* ── FAQ ───────────────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  background: #fff;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.faq-item[open] {
  border-color: var(--gray-300);
  background: var(--mist);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9 14h10M14 9v10' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 28px no-repeat;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  padding: 0 1.5rem 1.4rem;
  margin: 0;
  color: var(--gray-600);
  max-width: 72ch;
}

/* ── Diagrams ──────────────────────────────────────────────────────── */
figure.diagram {
  margin: 2.5rem 0;
  padding: 2rem;
  border-radius: var(--r);
  background: var(--mist);
  overflow-x: auto;
}
figure.diagram svg {
  width: 100%;
  min-width: 560px;
  height: auto;
  font-family: var(--font);
}
figure.diagram figcaption {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--gray-600);
}
figure.diagram figcaption .cap-label {
  font-weight: 700;
  color: var(--navy);
  margin-right: 0.4rem;
}
.dg-box {
  fill: #fff;
  stroke: var(--navy);
  stroke-width: 1.5;
}
.dg-box-accent {
  fill: rgba(46, 155, 87, 0.12);
  stroke: var(--pine);
  stroke-width: 1.5;
}
.dg-line {
  fill: none;
  stroke: var(--line-ui);
  stroke-width: 1.5;
}
.dg-text {
  fill: var(--ink);
  font-size: 13px;
}
.dg-text-dim {
  fill: var(--gray-600);
  font-size: 11.5px;
}
pre.code {
  background: var(--night);
  color: #e3ecf7;
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 1.5rem 0;
}
pre.code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ── Articles ──────────────────────────────────────────────────────── */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 4.5rem;
  padding: 4.5rem 0 5rem;
  align-items: start;
}
.section .layout {
  padding: 0;
}
.col-main {
  min-width: 0;
}
.article-content {
  max-width: 70ch;
}
.article-lede,
.col-main .lede {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 1.75rem;
}
.col-main p {
  color: #2b3850;
}
.col-main h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 700;
  margin: 3rem 0 1rem;
}
.col-main h3 {
  margin-top: 2rem;
}
.col-main ul,
.col-main ol {
  padding-left: 1.3rem;
  margin: 0 0 1.25rem;
}
.col-main li {
  margin-bottom: 0.6rem;
  color: #2b3850;
}
.col-main li::marker {
  color: var(--pine);
}
.article-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.callout {
  border-radius: var(--r);
  background: var(--mist);
  padding: 1.5rem 1.75rem 1.5rem 2rem;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}
.callout::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #1a5fc9, #1e96d4, #56c04a);
}
.callout__head {
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.4rem !important;
}
.callout p {
  margin: 0;
}
.pullquote {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 2.5rem 0;
  padding: 0.25rem 0 0.25rem 1.75rem;
  border-left: 3px solid var(--bright);
}
.col-side {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.side-block {
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  padding: 1.4rem 1.5rem;
}
.side-block__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.toc a {
  display: block;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--gray-600);
  padding: 0.45rem 0 0.45rem 0.9rem;
  border-left: 2px solid var(--gray-200);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.toc a:hover {
  color: var(--ink);
}
.toc a.is-active {
  color: var(--ink);
  font-weight: 600;
  border-left-color: var(--pine);
}
.related a {
  display: block;
  font-weight: 600;
  font-size: 0.93rem;
  line-height: 1.45;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.related a:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.related a:hover {
  color: var(--pine-ink);
}
.related span {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-400);
  margin-bottom: 0.15rem;
}

/* ── Insights hub ──────────────────────────────────────────────────── */
.insight-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.insight-filters[hidden] {
  display: none;
}
.filter-chip {
  border: 1.5px solid var(--gray-200);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-600);
  min-height: 44px;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.filter-chip:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.filter-chip[aria-pressed="true"] {
  background: var(--night);
  border-color: var(--night);
  color: #fff;
}
.insight-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.insight-row {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1.75rem 2rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.insight-row[hidden] {
  display: none;
}
.insight-row:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
}
.insight-row__tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pine-ink);
  line-height: 1.6;
}
.insight-row__tag span {
  color: var(--gray-400) !important;
  font-weight: 500;
}
.insight-row__title {
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}
.insight-row__excerpt {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── About: technologies & team ────────────────────────────────────── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.tech-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 140px;
}
.tech-item__mark {
  height: 32px;
  display: flex;
  align-items: center;
  color: var(--navy);
}
.tech-item__mark svg {
  height: 28px;
  width: auto;
}
.tech-item__mark--wordmark {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}
.tech-item__name {
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.4;
}
.tech-item__role {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--gray-600);
}
.team-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.team-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  padding: 2rem;
  border-radius: var(--r-lg);
  background: var(--mist);
}
.team-row__role {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pine-ink);
}
.team-row__name {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin-top: 0.25rem;
}
.team-row__bio {
  color: var(--gray-600);
  font-size: 0.98rem;
  line-height: 1.7;
}
.team-row__bio .pillar-row__tag {
  display: inline-block;
}

/* ── Contact ───────────────────────────────────────────────────────── */
.form-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.35rem;
  background: var(--mist);
  border-radius: calc(var(--r-sm) + 4px);
  margin-bottom: 2rem;
}
.form-tab {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 0.6rem 1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gray-600);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.form-tab:hover {
  color: var(--ink);
}
.form-tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(11, 31, 69, 0.14);
}
.f-group {
  margin-bottom: 1.25rem;
}
.f-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.f-input,
.f-select,
.f-textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line-ui);
  border-radius: var(--r-sm);
  padding: 0.8rem 0.95rem;
  min-height: 48px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.f-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
.f-input:focus,
.f-select:focus,
.f-textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(30, 150, 212, 0.18);
}
.f-input:user-invalid,
.f-select:user-invalid,
.f-textarea:user-invalid {
  border-color: #c2412d;
}
.f-input::placeholder,
.f-textarea::placeholder {
  color: #6f7a89;
}
.f-consent {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}
.f-consent input {
  accent-color: var(--pine);
  margin-right: 0.4rem;
}
.f-consent a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  display: none;
  border-radius: var(--r);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  background: rgba(46, 155, 87, 0.1);
  border: 1px solid rgba(46, 155, 87, 0.35);
  font-weight: 500;
}
.form-status.is-visible {
  display: block;
}
.form-status.is-error {
  background: rgba(194, 65, 45, 0.08);
  border-color: rgba(194, 65, 45, 0.35);
}
.contact-sidebar {
  background: var(--mist);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.contact-sidebar .side-block {
  border: 0;
  border-bottom: 1px solid var(--gray-200);
  border-radius: 0;
  padding: 0 0 1.25rem;
  margin-bottom: 1.25rem;
}
.contact-sidebar .side-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.contact-sidebar a {
  color: var(--navy);
}

/* ── Final CTA band (every page) ───────────────────────────────────── */
.cta-final {
  margin-inline: calc(50% - 50vw);
  padding: 6rem calc(50vw - 50%);
  background: var(--night);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 80% at 50% 120%, rgba(30, 150, 212, 0.28), transparent 70%);
}
.cta-final::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--grad);
}
.cta-final h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 700;
  margin: 0 auto 1rem;
  max-width: 22ch;
}
.cta-final p {
  color: #c9d8ea;
  font-size: 1.1rem;
  max-width: 56ch;
  margin: 0 auto 2.25rem;
}
.cta-final__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── 404 ───────────────────────────────────────────────────────────── */
.notfound {
  text-align: center;
  min-height: 74vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.notfound .code {
  font-weight: 800;
  font-size: clamp(5rem, 14vw, 9rem);
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.notfound h1 {
  margin-inline: auto;
}
.notfound p {
  color: #c9d8ea;
  margin-bottom: 2rem;
  max-width: 48ch;
}

/* ── Legal / plain prose pages ─────────────────────────────────────── */
.prose {
  max-width: 72ch;
}
.prose h2 {
  font-size: 1.35rem;
  margin: 2.75rem 0 0.85rem;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose p,
.prose li {
  color: #2b3850;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.prose ul {
  padding-left: 1.2rem;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
}

/* ── Back to top ───────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 70;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--night);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s, background-color 0.15s;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--navy);
}

/* ── Footer ────────────────────────────────────────────────────────── */
footer.site {
  background: #081733;
  color: #c9d8ea;
  padding: 4.5rem 0 2rem;
  font-size: 0.95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(169, 200, 232, 0.16);
}
.footer__brand img {
  height: 42px;
  width: auto;
  margin-bottom: 1.25rem;
}
.footer__brand p {
  max-width: 34ch;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.footer__brand a.footer__email {
  color: #fff;
  font-weight: 600;
}
.footer__brand a.footer__email:hover {
  color: var(--bright);
}
.footer__col h2 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0;
}
.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__col a {
  color: #c9d8ea;
  transition: color 0.15s ease;
}
.footer__col a:hover {
  color: #fff;
}
.footer__social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.footer__social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(169, 200, 232, 0.28);
  color: #c9d8ea;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.footer__social a:hover {
  background: #fff;
  border-color: #fff;
  color: var(--night);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding-top: 1.75rem;
}
footer.site .legal {
  font-size: 0.85rem;
  color: var(--ice);
}
footer.site .footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
footer.site .footer__bottom nav a {
  font-size: 0.85rem;
  color: var(--ice);
}
footer.site .footer__bottom nav a:hover {
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1140px) {
  nav.primary {
    display: none;
  }
  .burger {
    display: flex;
  }
  .practice-grid,
  .insight-cards {
    grid-template-columns: 1fr 1fr;
  }
  .practice:last-child,
  .insight-card:last-child {
    grid-column: 1 / -1;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 3rem;
  }
  .steps::before {
    display: none;
  }
  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 900px) {
  .grid-label-body {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .section-head,
  .principles {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proof[data-cols="4"] {
    grid-template-columns: repeat(2, 1fr);
  }
  .proof[data-cols="3"] {
    grid-template-columns: 1fr;
  }
  .pillar-row,
  .insight-row,
  .team-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .col-side,
  .contact-sidebar {
    position: static;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  :root {
    --header-h: 68px;
  }
  .wrap {
    padding: 0 1.25rem;
  }
  .logo img {
    height: 34px;
  }
  .section {
    padding: 3.75rem 0;
  }
  .section.tight {
    padding: 2rem 0;
  }
  .practice-grid,
  .insight-cards,
  .principle-list,
  .steps,
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    padding-bottom: 230px;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .page-hero,
  .svc-hero,
  .masthead,
  .notfound {
    padding-top: calc(var(--header-h) + 2.5rem);
    padding-bottom: calc(80px + 2rem);
    background-size: 220% 80px;
  }
  .feature-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .pillar-row,
  .insight-row {
    padding: 1.5rem;
  }
  figure.diagram {
    padding: 1.25rem;
  }
  .cta-final {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .cta-final__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .back-to-top {
    right: 1rem;
    bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__ridge-line {
    stroke-dashoffset: 0;
  }
}

@media print {
  header.site,
  #navMobile,
  .back-to-top,
  .cta-final,
  footer.site {
    display: none !important;
  }
  .page-hero,
  .svc-hero,
  .masthead {
    background: none;
    color: #000;
    padding: 0 0 1rem;
    margin: 0;
  }
  .page-hero h1,
  .svc-hero h1,
  .masthead h1 {
    color: #000;
  }
}
