/* ==========================================================================
   Lean On Me HR Solutions LLC
   Calm, light, wiring-diagram direction in white and blues.
   Mobile-first: base styles target phones, min-width queries scale up.
   Breakpoints: 640px (large phone / small tablet), 900px (tablet / laptop),
   1100px (desktop layouts), 1280px (desktop navigation).
   ========================================================================== */

:root {
  --blue: #1a56f0;
  --blue-dark: #1242c4;
  --blue-soft: #e8effd;
  --cyan: #18c1dc;
  --navy: #0b1b3f;
  --navy-deep: #071230;
  --charcoal: #2b303a;
  --gray: #56617a;
  --soft: #7586a6;
  --line: #dbe4f1;
  --line-strong: #bfcde5;
  --mist: #f3f6fc;
  --white: #ffffff;
  --red: #e5252a;
  --red-text: #c21d22;
  --green-text: #0c7a52;
  /* Flat tint the washed photos are blended into. */
  --photo-wash: #dfe8fa;

  /* Wiring artwork: overridden where it sits on a coloured band. */
  --wire: #cdd9ec;
  --wire-accent: var(--blue);
  --wire-fill: var(--mist);
  --wire-glyph: #9aadcd;

  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* One radius scale: panels, inner cards, small tiles and fields, buttons. */
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-btn: 8px;
  --shadow-tile: 0 1px 2px rgba(11, 27, 63, 0.06), 0 10px 22px rgba(11, 27, 63, 0.1);
  --shadow: 0 2px 4px rgba(11, 27, 63, 0.04), 0 22px 48px rgba(11, 27, 63, 0.1);
  --gutter: 20px;
  --header-h: 66px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

main { overflow-x: clip; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--navy);
  text-wrap: balance;
}
h1, h2 { line-height: 1.02; letter-spacing: -0.04em; }
h3 { line-height: 1.12; letter-spacing: -0.025em; }
h4 { font-family: var(--sans); line-height: 1.3; }
b, strong { font-weight: 600; }

h2 { font-size: clamp(2.100rem, 1.200rem + 3.800vw, 3.700rem); }
h3 { font-size: 1.350rem; }

/* Second tone for headings: the quieter half of a two-part line. */
.soft { color: var(--soft); }

/* Focus ring: blue on light surfaces, white wherever the surface itself is blue or navy. */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}
.framework :focus-visible,
.site-footer :focus-visible { outline-color: var(--white); }

.container {
  width: min(1200px, 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Shared bits ---------- */

.section { padding: clamp(72px, 10vw, 136px) 0; position: relative; }

/* Section label: a small pill with a dot. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.840rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--navy);
}
.eyebrow { margin-bottom: 22px; }
.eyebrow::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.lead { font-size: 1.080rem; color: var(--gray); }

.section-head {
  max-width: 820px;
  margin: 0 auto clamp(40px, 5vw, 68px);
  text-align: center;
}
.section-head h2 { margin-bottom: 20px; }
.section-head .lead { max-width: 54ch; margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(11, 27, 63, 0.2), 0 8px 18px rgba(26, 86, 240, 0.22);
}
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 1px 2px rgba(11, 27, 63, 0.2), 0 12px 24px rgba(26, 86, 240, 0.3); }

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(11, 27, 63, 0.05);
}
.btn-white:hover { border-color: var(--line-strong); box-shadow: var(--shadow-tile); }

.btn svg {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}
.btn:hover svg { transform: translateX(4px); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--blue); }

/* Social icons: comfortable tap targets on touch screens. */
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gray);
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.social-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.800;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-link:hover { color: var(--blue); border-color: var(--blue); background: var(--blue-soft); }

.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 0.920rem; }
.btn-block { width: 100%; }

.check-list { display: grid; gap: 10px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 0.950rem;
  line-height: 1.45;
  color: var(--charcoal);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  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='%231a56f0' stroke-width='3.200' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.500 12.500l3.500 3.500 7.500-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.to-top svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.700;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Wiring artwork ---------- */

.wire-defs { position: absolute; }

.wires {
  position: absolute;
  top: 0;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}
.wires-narrow { left: 0; width: 100%; aspect-ratio: 390 / 60; }
.wires-wide {
  display: none;
  left: 50%;
  width: max(100%, 1100px);
  margin-left: calc(max(100%, 1100px) / -2);
  aspect-ratio: 1600 / 720;
}

.wire-lines path { fill: none; stroke: var(--wire); stroke-width: 1.250; }
.wire-nodes rect { fill: var(--wire-fill); stroke: var(--wire); stroke-width: 1.250; }
.wire-glyphs { fill: none; stroke: var(--wire-glyph); stroke-width: 1.400; stroke-linecap: round; stroke-linejoin: round; }
.wire-dots { stroke-width: 2.600; }

/* A short pulse travelling along the main runs. */
.wire-flow path {
  fill: none;
  stroke: var(--wire-accent);
  stroke-width: 1.750;
  stroke-linecap: round;
  stroke-dasharray: 7 93;
  animation: wireFlow 7s linear infinite;
}
.wire-flow path:nth-child(2) { animation-duration: 5s; animation-delay: -2s; }
.wire-flow path:nth-child(3) { animation-duration: 8s; animation-delay: -4s; }
.wire-flow path:nth-child(4) { animation-duration: 6s; animation-delay: -1s; }
@keyframes wireFlow {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}

/* ---------- Scroll progress ---------- */

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 120;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

/* ---------- Header ---------- */

/* Fixed to the top edge on solid white, so the logo artwork (white backdrop) sits on
   its own colour. A hairline appears once the page scrolls underneath it. */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.35s var(--ease);
}
.js .site-header { animation: chromeIn 1.2s var(--ease) 0.15s both; }
@keyframes chromeIn {
  from { opacity: 0; }
}
.site-header.is-scrolled,
.nav-open .site-header {
  border-color: var(--line);
  box-shadow: 0 6px 20px rgba(11, 27, 63, 0.06);
}

/* Phone and tablet: logo centred, menu button pinned to the right edge. */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* The logo artwork exactly as supplied, straight on the white header. */
.brand { display: inline-flex; }
.brand img {
  width: auto;
  height: 58px;
  transition: height 0.35s var(--ease);
}

.nav-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--mist);
  cursor: pointer;
  transition: background-color 0.3s;
}
.nav-toggle[aria-expanded="true"] { background: var(--blue-soft); }
.nav-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.500px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle span:nth-child(3) { display: none; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21.500px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21.500px; transform: rotate(-45deg); }

/* The menu: a sheet that drops from the bar over a dimmed page. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(7, 18, 48, 0.32);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.nav-open body::before { opacity: 1; pointer-events: auto; }
html.nav-open { overflow: hidden; }

.primary-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 6px var(--gutter) 22px;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 24px 40px rgba(11, 27, 63, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0.25s;
}
.primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }

.nav-list { counter-reset: nav; }
.nav-list > li {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s;
}
.primary-nav.is-open .nav-list > li {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(0.05s + var(--k, 0) * 0.045s);
}
.nav-list > li:nth-child(2) { --k: 1; }
.nav-list > li:nth-child(3) { --k: 2; }
.nav-list > li:nth-child(4) { --k: 3; }
.nav-list > li:nth-child(5) { --k: 4; }
.nav-list > li:nth-child(6) { --k: 5; }

.nav-link {
  counter-increment: nav;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 54px;
  padding: 0 4px;
  font-family: var(--display);
  font-size: 1.550rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}
.nav-link::before {
  content: "0" counter(nav);
  flex: none;
  width: 22px;
  font-family: var(--sans);
  font-size: 0.780rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--gray);
  transition: color 0.2s;
}
.nav-list > li:last-child .nav-link { border-bottom: 0; }
.nav-link:hover,
.nav-link.is-active { color: var(--blue); }
.nav-link.is-active::before { color: var(--blue); }

/* Services: a button that opens the two service groups. In the phone menu it
   unfolds in place; on desktop (1280px+) it drops a panel below the bar. */
.sub-toggle {
  width: 100%;
  background: none;
  border-width: 0 0 1px;
  cursor: pointer;
  text-align: left;
}
.sub-toggle .chev {
  width: 20px;
  height: 20px;
  margin-left: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}
.sub-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.sub-menu { display: none; gap: 18px; padding: 6px 4px 18px 42px; border-bottom: 1px solid var(--line); }
.has-sub.is-open > .sub-menu { display: grid; }
.sub-title {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.800rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--blue);
}
.sub-group a:not(.sub-title) {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.2s;
}
.sub-group a:hover,
.sub-title:hover { color: var(--blue-dark); }

.header-social { padding-top: 4px; }
.nav-cta { margin-top: 8px; }

/* ---------- Hero ---------- */

.hero {
  --wire: #a9bcdc;
  --wire-glyph: #7d93bb;
  --wire-fill: rgba(243, 246, 252, 0.88);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--header-h) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

/* The team photograph, washed into the page colour so it reads as texture. */
.hero-bg {
  position: absolute;
  inset: -6% 0 0;
  z-index: -3;
  background: var(--photo-wash);
  will-change: transform;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  mix-blend-mode: luminosity;
  opacity: 0.280;
}
/* Wash the photo towards the page colour, fading out completely at the bottom. */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(243, 246, 252, 0.72) 0%, rgba(243, 246, 252, 0.34) 34%, rgba(243, 246, 252, 0.46) 70%, var(--mist) 100%);
}
/* Clear a calm field behind the type; sits above the wiring. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(40% 320px at 50% 46%, rgba(243, 246, 252, 0.92) 35%, rgba(243, 246, 252, 0) 100%);
  pointer-events: none;
}
.hero .wires { top: var(--header-h); z-index: -2; }

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: clamp(72px, 19vw, 110px) clamp(44px, 7vw, 76px);
}

.hero-badge { margin-bottom: 26px; }

/* Headline first, the motto as its second voice, then the supporting text. */
.hero h1 {
  max-width: 15ch;
  margin: 0 auto 18px;
  font-size: clamp(2.250rem, 1rem + 5.400vw, 4.600rem);
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero-motto {
  margin-bottom: 22px;
  font-family: var(--display);
  font-size: clamp(1.350rem, 1rem + 1.500vw, 2.100rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.hero-motto .accent { color: var(--blue); }

.hero-lead {
  max-width: 34rem;
  margin: 0 auto 30px;
  font-size: 1.080rem;
  color: var(--charcoal);
}

.hero-actions { display: grid; gap: 10px; align-self: stretch; }

/* Brand card under the hero: name, promise, and the three HR services. */
.hero-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: left;
}
.hero-card-name {
  font-family: var(--display);
  font-size: 1.250rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.hero-card-sub { font-size: 0.880rem; font-weight: 500; color: var(--blue); }
.hero-card-chips { display: grid; gap: 6px; }
.hero-card-chips a {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  min-height: 54px;
  padding: 10px 14px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: background-color 0.25s, border-color 0.25s;
}
.hero-card-chips small { font-size: 0.760rem; font-weight: 500; color: var(--blue); }
.hero-card-chips b {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.hero-card-chips a:hover { background: var(--blue-soft); border-color: var(--blue); }

/* ---------- About ---------- */

.about { background: var(--white); }

/* Statement on the left, the introduction beside it. */
.about-head { display: grid; gap: 26px; margin-bottom: clamp(40px, 6vw, 72px); }
.about-head h2 { font-size: clamp(2.300rem, 1.100rem + 5vw, 4.400rem); }
.about-text { display: grid; gap: 14px; max-width: 56ch; color: var(--gray); }
.about-intro .lead {
  max-width: 40ch;
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: 1.400rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--navy);
}

/* A mosaic of photos and statements. One column here, twelve from 900px. */
.about-bento { display: grid; gap: 12px; }
.about-tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; }

.about-photo { aspect-ratio: 16 / 10; background: var(--blue-soft); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.tile-label { margin-bottom: 14px; font-family: var(--sans); font-size: 0.840rem; font-weight: 500; letter-spacing: 0; color: var(--gray); }

.about-mission {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  padding: 26px 24px;
  background: var(--blue);
  color: var(--white);
}
.about-mission .tile-label { color: rgba(255, 255, 255, 0.78); }
.about-mission-text {
  font-family: var(--display);
  font-size: clamp(1.400rem, 1.100rem + 1.100vw, 1.850rem);
  font-weight: 500;
  line-height: 1.140;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.about-belief {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
}
.about-belief-more { max-width: 60ch; color: var(--gray); }
.about-belief-text {
  font-family: var(--display);
  font-size: clamp(1.300rem, 1.050rem + 0.900vw, 1.650rem);
  font-weight: 500;
  line-height: 1.200;
  letter-spacing: -0.025em;
  color: var(--navy);
  text-wrap: balance;
}

/* ---------- Services ---------- */

/* HR consulting: the three services as tabs, each with its own photo,
   straight on the section background rather than in a card. */
.hr-card { display: grid; gap: 24px; }
.offers-label { margin-bottom: 12px; font-size: 0.840rem; font-weight: 500; color: var(--blue); }
.offers-tabs { display: grid; gap: 6px; }
html:not(.js) .offers-tabs { display: none; }
.offers-tab {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 6px 10px;
  width: 100%;
  min-height: 54px;
  padding: 10px 16px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.950rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: left;
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.offers-tab small { font-size: 0.760rem; color: var(--blue); transition: color 0.25s; }
.offers-tab:hover { border-color: var(--line-strong); background: var(--white); }
.offers-tab.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.offers-tab.is-active small { color: rgba(255, 255, 255, 0.72); }

.offers-panel { display: grid; gap: 4px; }
html:not(.js) .offers-panel + .offers-panel { margin-top: 18px; }
.js .offers-panel { display: none; }
.js .offers-panel.is-active { display: grid; animation: offerIn 0.5s var(--ease); }
@keyframes offerIn {
  from { opacity: 0; transform: translateY(8px); }
}
.offers-photo,
.stage-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  /* Concentric with the stage card around it: its radius less the 10px inset. */
  border-radius: calc(var(--radius-lg) - 10px);
  overflow: hidden;
  background: var(--blue-soft);
}
.offers-photo img,
.stage-photo img { width: 100%; height: 100%; object-fit: cover; }
.offers-photo { border-radius: var(--radius-lg); }
.offers-copy { padding-top: 24px; }
.offers-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.840rem;
  font-weight: 500;
  color: var(--blue);
}
.offers-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(1.650rem, 1.250rem + 1.600vw, 2.250rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.offers-copy > p { max-width: 52ch; margin-bottom: 18px; color: var(--gray); }
.offers-copy .check-list { margin-bottom: 22px; }
/* Starting price: sits at the foot of each service, just above its button. */
.price {
  margin-bottom: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.price-main { color: var(--navy); }
.price-main small { display: block; margin-bottom: 4px; font-size: 0.840rem; font-weight: 500; color: var(--gray); }
.price-main b {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}
.price-main span { font-size: 0.950rem; color: var(--gray); }
.price-note { margin-top: 6px; max-width: 46ch; font-size: 0.880rem; color: var(--gray); }
.services-disclaimer {
  max-width: 72ch;
  margin: 36px auto 0;
  font-size: 0.880rem;
  text-align: center;
  color: var(--gray);
}

/* ---------- Professional Services ---------- */

/* A soft blue wash sets the individual services apart from the business ones above. */
.pro { background: linear-gradient(180deg, var(--blue-soft) 0%, var(--white) 70%); }
.pro .section-head h2 { font-size: clamp(2rem, 1.200rem + 3.200vw, 3.400rem); }

/* The three-stage framework: a navy band whose stages jump to the matching card. */
.framework {
  margin-bottom: 16px;
  padding: 26px 24px;
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, 0.8);
}
.framework h3 {
  margin-bottom: 12px;
  font-size: clamp(1.600rem, 1.200rem + 1.500vw, 2.200rem);
  letter-spacing: -0.035em;
  color: var(--white);
}
.framework p { max-width: 52ch; }
.framework-stages { display: grid; gap: 8px; margin-top: 22px; }
.framework-stages a {
  display: block;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  font-family: var(--display);
  font-size: 1.050rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--white);
  transition: background-color 0.25s, border-color 0.25s;
}
.framework-stages small {
  display: block;
  margin-bottom: 3px;
  font-family: var(--sans);
  font-size: 0.760rem;
  letter-spacing: 0;
  color: #9fb9ff;
}
.framework-stages a:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.4); }

.stage-list { position: relative; display: grid; gap: 14px; }
.stage {
  display: flex;
  flex-direction: column;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.35s, box-shadow 0.45s var(--ease), transform 0.45s var(--ease);
}
.stage:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-4px); }
.stage-photo { aspect-ratio: 16 / 10; }
.stage-num {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 12px;
  background: var(--white);
  border-radius: 999px;
  font-size: 0.780rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(11, 27, 63, 0.12);
}
.stage-body { display: flex; flex: 1; flex-direction: column; padding: 20px 12px 12px; }
.stage-body h4 {
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 1.650rem;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.stage-body > p { margin-bottom: 18px; color: var(--gray); }
/* Each stage's three services: buttons that open their full description. */
.offer-label {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 10px;
  margin-bottom: 8px;
  font-size: 0.800rem;
  font-weight: 600;
  color: var(--navy);
}
.offer-label span { font-weight: 400; color: var(--gray); }
.offer-list { display: grid; gap: 6px; margin-bottom: 20px; }
.offer-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px 10px 14px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.920rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.offer-btn svg {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.800;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.offer-btn:hover { background: var(--blue-soft); border-color: var(--blue); }

/* The shared description pop-up. */
.offer-dialog {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 30px 26px 24px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(7, 18, 48, 0.35);
  color: var(--charcoal);
}
.offer-dialog::backdrop { background: rgba(7, 18, 48, 0.55); backdrop-filter: blur(3px); }
.offer-dialog[open] { animation: offerIn 0.3s var(--ease); }
.offer-dialog-kicker { margin-bottom: 8px; font-size: 0.820rem; font-weight: 600; color: var(--blue); }
.offer-dialog h3 { margin-bottom: 12px; padding-right: 36px; font-size: clamp(1.450rem, 1.200rem + 1vw, 1.850rem); line-height: 1.12; letter-spacing: -0.03em; }
.offer-dialog p:not(.offer-dialog-kicker) { margin-bottom: 22px; font-size: 1.020rem; line-height: 1.6; color: var(--gray); }
.offer-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.offer-dialog-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--mist);
  font-size: 1.600rem;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
}
.offer-dialog-x:hover { background: var(--blue-soft); }
.stage-body .service-note { margin-bottom: 14px; font-size: 0.800rem; line-height: 1.45; color: var(--gray); }
/* Price and button sit together at the foot of each card, so they line up across the row. */
.stage-body .price { margin-top: auto; margin-bottom: 18px; }

/* ---------- Discover Your Next Move ---------- */

/* Two assessment panels. Each opens its form on request so the section stays short;
   without JavaScript both forms simply show. */
.discover { background: var(--white); }
.assess-grid { display: grid; gap: 16px; align-items: start; }
.assess {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-tile);
  overflow: hidden;
}
.assess-head {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 28px 24px;
  color: rgba(255, 255, 255, 0.86);
}
.assess-business .assess-head { background: var(--navy); }
.assess-professional .assess-head { background: var(--blue); }
.assess-tag {
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 0.800rem;
  font-weight: 500;
  color: var(--white);
}
.assess-head h3 {
  font-size: clamp(1.550rem, 1.200rem + 1.400vw, 2.050rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--white);
}
.assess-head > p:not(.assess-tag) { max-width: 46ch; }
.assess-toggle { margin-top: 6px; }
.assess-head :focus-visible { outline-color: var(--white); }

.assess-body { padding: 24px; }
.js .assess-body { display: none; }
.js .assess.is-open .assess-body { display: block; animation: offerIn 0.45s var(--ease); }
.assess-form fieldset { min-width: 0; margin: 0 0 8px; padding: 0; border: 0; }
.assess-form legend {
  width: 100%;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 1.150rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.assess-row { display: grid; }

/* Privacy acknowledgment. */
.check-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 20px;
  font-size: 0.900rem;
  line-height: 1.5;
  color: var(--gray);
  cursor: pointer;
}
.check-field input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--blue);
  cursor: pointer;
}
.check-field a { font-weight: 500; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.check-field input.is-invalid { outline: 2px solid var(--red); outline-offset: 2px; }

/* ---------- Testimonials ---------- */

.quote-grid { display: grid; gap: 16px; }
.quote-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.stars { margin-bottom: 16px; font-size: 1.050rem; letter-spacing: 0.12em; color: var(--blue); }
.quote-card blockquote {
  flex: 1;
  margin-bottom: 26px;
  font-family: var(--display);
  font-size: 1.300rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.quote-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-soft);
  font-size: 0.850rem;
  font-weight: 600;
  color: var(--blue-dark);
}
.quote-card b { display: block; font-weight: 600; color: var(--navy); }
.quote-card small { font-size: 0.850rem; color: var(--gray); }

/* ---------- Contact ---------- */

/* Brand blue with the wiring artwork running behind; the form stays a white card. */
.contact {
  --wire: rgba(255, 255, 255, 0.22);
  --wire-accent: var(--white);
  --wire-fill: var(--blue);
  --wire-glyph: rgba(255, 255, 255, 0.6);
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: rgba(255, 255, 255, 0.88);
  overflow: hidden;
  isolation: isolate;
}
.contact .wires { top: 24px; z-index: -1; }
.contact :focus-visible { outline-color: var(--white); }
.contact .contact-form :focus-visible { outline-color: var(--blue); }
.contact-copy h2 { color: var(--white); }
.contact-copy .soft { color: rgba(255, 255, 255, 0.7); }
.contact-copy .lead { color: rgba(255, 255, 255, 0.88); }
.contact-copy .eyebrow { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.28); color: var(--white); }
.contact-copy .eyebrow::before { background: var(--white); }

.contact-grid { display: grid; gap: 40px; }
.contact-more { margin-top: 12px; max-width: 52ch; color: rgba(255, 255, 255, 0.88); }
.contact-copy h2 { margin-bottom: 18px; }

.contact-list { display: grid; gap: 10px; margin-top: 30px; }
.contact-list li {
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}
.contact-list small { display: block; font-size: 0.800rem; color: rgba(255, 255, 255, 0.75); }
.contact-list a,
.contact-list b { font-weight: 500; color: var(--white); }
.contact-list a { display: inline-block; padding: 9px 0; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }

.contact-form {
  padding: 28px 20px 24px;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-form h3 { margin-bottom: 22px; font-size: 1.750rem; letter-spacing: -0.03em; }

.field { margin-bottom: 18px; }
.field-row { display: grid; }
.optional { font-weight: 400; color: var(--gray); }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.880rem;
  font-weight: 500;
  color: var(--navy);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356617a' stroke-width='2.200' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background-color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(26, 86, 240, 0.14);
}
.field .is-invalid { border-color: var(--red); background-color: #fff7f7; }

.form-status { margin-top: 14px; font-size: 0.950rem; font-weight: 500; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--red-text); }
.form-status.is-success { color: var(--green-text); }
.form-status.is-notice {
  padding: 14px 16px;
  background: var(--blue-soft);
  border-radius: var(--radius-sm);
  color: var(--navy);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding-top: clamp(56px, 7vw, 88px);
  font-size: 0.950rem;
}
.footer-grid { display: grid; gap: 36px; padding-bottom: 44px; }
/* The full logo artwork sits on its own white card against the navy. */
.footer-logo {
  display: inline-block;
  width: 190px;
  padding: 16px 18px 14px;
  background: var(--white);
  border-radius: var(--radius);
}
.footer-logo img { width: 100%; height: auto; }
.footer-company {
  margin-top: 22px;
  font-family: var(--display);
  font-size: 1.250rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--white);
}

.footer-social { margin-top: 18px; }
.footer-social .social-link { border-color: rgba(255, 255, 255, 0.22); color: rgba(255, 255, 255, 0.8); }
.footer-social .social-link:hover { color: var(--white); border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.footer-col h3 { margin-bottom: 10px; font-family: var(--sans); font-size: 0.840rem; letter-spacing: 0; line-height: 1.4; font-weight: 500; color: rgba(255, 255, 255, 0.55); }
.footer-col li a,
.footer-col li span { display: inline-block; padding: 10px 0; }
.footer-col li a { color: rgba(255, 255, 255, 0.88); transition: color 0.2s, transform 0.25s var(--ease); }
.footer-col li a:hover { color: var(--white); transform: translateX(4px); }
.footer-btn { margin-top: 12px; }

.footer-bottom {
  padding: 24px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.860rem;
}
.disclaimer { margin-bottom: 16px; font-size: 0.800rem; color: rgba(255, 255, 255, 0.6); }
.footer-meta { display: grid; gap: 8px; }
.footer-meta a { color: var(--white); font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, 0.5); transition: color 0.2s; }
.footer-meta a:hover { color: var(--cyan); }
.footer-meta .footer-privacy {
  display: inline-block;
  margin-left: 6px;
  padding: 11px 0;
  border-bottom: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* ---------- Privacy policy page ---------- */

.legal { padding: calc(var(--header-h) + clamp(40px, 7vw, 80px)) 0 clamp(56px, 8vw, 96px); }
.legal-inner { max-width: 760px; }
.legal h1 { margin-bottom: 10px; font-size: clamp(2.300rem, 1.400rem + 4vw, 3.600rem); }
.legal-updated { margin-bottom: 30px; font-size: 0.880rem; color: var(--gray); }
.legal h2 { margin: 40px 0 12px; font-size: clamp(1.450rem, 1.150rem + 1.200vw, 1.850rem); }
.legal h3 { margin: 22px 0 8px; font-size: 1.150rem; }
.legal p { margin-bottom: 14px; color: var(--charcoal); }
.legal .check-list { margin: 4px 0 18px; }
.legal a { font-weight: 500; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-contact { display: grid; gap: 6px; }

/* Footer text button (Cookie Preferences, shown only once analytics is configured). */
.link-button {
  margin-left: 14px;
  padding: 11px 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-button:hover { color: var(--cyan); }

/* ---------- Cookie consent (only built when an analytics ID is set) ---------- */

.consent {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 120;
  max-width: 560px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(11, 27, 63, 0.22);
  font-size: 0.920rem;
  color: var(--charcoal);
}
.consent[hidden] { display: none; }
.consent-title { margin-bottom: 6px; font-family: var(--display); font-size: 1.150rem; font-weight: 500; color: var(--navy); }
.consent a { font-weight: 500; color: var(--blue); text-decoration: underline; }
.consent-prefs { display: grid; gap: 10px; margin: 14px 0 4px; }
.consent-prefs[hidden] { display: none; }
.consent-prefs label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-weight: 500; color: var(--navy); }
.consent-prefs input { width: 20px; height: 20px; accent-color: var(--blue); }
.consent-prefs span { flex-basis: 100%; padding-left: 30px; font-size: 0.820rem; font-weight: 400; color: var(--gray); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.consent-actions [hidden] { display: none; }

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-tile);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s, color 0.2s;
}
.to-top svg { width: 22px; height: 22px; stroke-width: 2; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--blue); }

/* ---------- Scroll reveal ---------- */

/* Blocks rise into place; headings resolve word by word out of a soft blur. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.05s var(--ease), transform 1.15s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { --d: 0.085s; }
.js .reveal[data-delay="2"] { --d: 0.17s; }
.js .reveal[data-delay="3"] { --d: 0.255s; }
.js .reveal[data-delay="4"] { --d: 0.34s; }

.js .reveal.split { opacity: 1; transform: none; }
.js .split .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.42em);
  filter: blur(7px);
  transition: opacity 1.05s var(--ease), transform 1.15s var(--ease), filter 1.05s var(--ease);
  transition-delay: calc(var(--d, 0s) + var(--i) * 0.085s);
}
.js .split.is-visible .w { opacity: 1; transform: none; filter: blur(0); }

picture { display: contents; }

/* Photos dolly forward as they travel up the viewport (--z is set from the scroll loop). */
.offers-photo img,
.stage-photo img,
.about-photo img { transform: scale(var(--z, 1)); }


/* ==========================================================================
   640px and up: large phones, small tablets
   ========================================================================== */

@media (min-width: 640px) {
  :root { --gutter: 28px; }

  .wires-narrow { display: none; }
  .wires-wide { display: block; }

  .hero-inner { padding-block: clamp(64px, 8vw, 96px) clamp(48px, 6vw, 72px); }
  .hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .hero-lead { font-size: 1.150rem; }
  .hero-card { padding: 24px; }
  .hero-card-chips { grid-template-columns: repeat(3, 1fr); }
  .hero-card-chips a { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }

  .about-bento { grid-template-columns: 1fr 1fr; gap: 14px; }
  .about-photo-a { grid-column: 1 / -1; }
  .about-mission,
  .about-belief,
  .framework { padding: 32px; }
  .framework-stages { grid-template-columns: repeat(3, 1fr); }

  .offers-photo { aspect-ratio: 21 / 9; }

  .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-card:last-child { grid-column: 1 / -1; }

  .contact-form { padding: 38px 34px 30px; }
  .field-row { grid-template-columns: 1fr 1fr; align-items: end; gap: 16px; }
  .assess-row { grid-template-columns: 1fr 1fr; align-items: end; gap: 16px; }
  .assess-head { padding: 34px 32px; }
  .assess-body { padding: 30px 32px 28px; }


  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
  .to-top { right: 22px; bottom: 22px; }
}

/* ==========================================================================
   900px and up: tablets in landscape, laptops
   ========================================================================== */

@media (min-width: 900px) {
  :root { --header-h: 72px; }
  body { font-size: 17px; }
  h3 { font-size: 1.450rem; }
  .lead { font-size: 1.150rem; }

  .hero { min-height: min(100vh, 900px); }
  .hero-card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    padding: 18px 18px 18px 28px;
  }
  .hero-card-brand { padding-right: 28px; border-right: 1px solid var(--line); }

  /* HR: tabs down the left, the chosen service and its photo beside them. */
  .js .hr-card { grid-template-columns: minmax(220px, 0.320fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); }
  .js .offers-panel.is-active { grid-template-columns: minmax(0, 1fr) minmax(0, 0.900fr); gap: clamp(32px, 4vw, 56px); }
  .js .offers-photo { order: 2; aspect-ratio: auto; min-height: 400px; }
  .js .offers-photo img { position: absolute; inset: 0; }
  .js .offers-copy { align-self: center; padding: 0; }

  .stage-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

  .quote-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .quote-card:last-child { grid-column: auto; }

  .about-head {
    grid-template-columns: 1.150fr 0.850fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
  }
  .about-intro { padding-top: 58px; }
  .about-intro .lead { font-size: 1.550rem; }

  .about-bento {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: minmax(250px, auto) minmax(230px, auto);
    gap: 16px;
  }
  .about-photo-a { grid-column: 1 / span 5; grid-row: 1 / span 2; aspect-ratio: auto; }
  .about-photo-a img { position: absolute; inset: 0; object-position: 42% 50%; }
  .about-mission { grid-column: 6 / span 7; grid-row: 1; padding: 36px 40px; }
  .about-belief { grid-column: 6 / span 7; grid-row: 2; padding: 36px 40px; }
  /* Framework band: copy on the left, the three stages on the right. */
  .framework {
    display: grid;
    grid-template-columns: minmax(0, 0.900fr) minmax(0, 1.100fr);
    align-items: center;
    gap: 40px;
    padding: 40px;
  }
  .framework .framework-stages { margin-top: 0; }

  .assess-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .assess-head { min-height: 300px; align-content: start; }
  .assess-toggle { align-self: end; }
  .assess-row { grid-template-columns: 1fr; gap: 0; }

  .contact-grid {
    grid-template-columns: 0.900fr 1.100fr;
    gap: clamp(48px, 6vw, 80px);
    align-items: start;
  }
  .contact-form { padding: 44px; }
}

/* ==========================================================================
   1100px and up: desktop layouts
   ========================================================================== */

@media (min-width: 1100px) {
  .hero h1 { max-width: 24ch; font-size: clamp(3.600rem, 4.600vw, 4.400rem); }

  .stage-body { padding: 24px 16px 14px; }
  .quote-card { padding: 34px 30px 28px; }
  .assess-row { grid-template-columns: 1fr 1fr; gap: 16px; }

  .footer-grid { grid-template-columns: 1.150fr 0.850fr 1.050fr 0.950fr 1.150fr; gap: clamp(28px, 3vw, 48px); padding-bottom: 52px; }
}

/* ==========================================================================
   1280px and up: full desktop navigation
   ========================================================================== */

@media (min-width: 1280px) {
  /* Desktop: logo, plain text links, the social icons, then Contact Us. */
  :root { --header-h: 88px; }
  .site-header.is-scrolled { height: 70px; }
  .header-inner { justify-content: flex-start; gap: 24px; }
  .brand img { height: 78px; }
  .site-header.is-scrolled .brand img { height: 62px; }

  .nav-toggle { display: none; }
  body::before { display: none; }

  .primary-nav {
    position: static;
    flex: 1;
    max-height: none;
    overflow: visible;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav-list {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2vw - 4px, 30px);
    margin-right: auto;
    margin-left: auto;
  }
  .nav-list > li,
  .primary-nav.is-open .nav-list > li { opacity: 1; transform: none; transition: none; }

  .nav-link {
    min-height: 44px;
    padding: 0 2px;
    font-family: var(--sans);
    font-size: 0.900rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--gray);
    border-bottom: 0;
    white-space: nowrap;
  }
  .nav-link::before { content: none; }
  .nav-link:hover,
  .nav-link.is-active { color: var(--navy); }

  .has-sub { position: relative; }
  .sub-toggle { width: auto; gap: 4px; }
  .sub-toggle .chev { width: 16px; height: 16px; margin-left: 0; }
  .sub-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    z-index: 2;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    width: 560px;
    padding: 22px 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateX(-50%);
  }
  .has-sub.is-open > .sub-menu { animation: subIn 0.25s var(--ease); }
  @keyframes subIn {
    from { opacity: 0; transform: translate(-50%, -6px); }
  }
  /* Bridges the gap under the button so the pointer can travel into the panel. */
  .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .sub-group a:not(.sub-title) { min-height: 40px; font-size: 0.950rem; }

  /* The icons sit as one tight group beside the button, not spread like the links. */
  .primary-nav .header-social { flex-wrap: nowrap; gap: 2px; margin: 0; padding-top: 0; }
  .header-social .social-link { width: 36px; height: 36px; border-color: transparent; }
  .nav-cta { flex: none; margin-top: 0; white-space: nowrap; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.14s !important;
    transition-delay: 0s !important;
  }
  .wire-flow { display: none; }
  .js .reveal,
  .js .split .w { opacity: 1; transform: none; filter: none; }
}
