@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/outfit-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/outfit-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/outfit-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-600.woff2") format("woff2");
}

:root {
  --ink: #0a0a0a;
  --navy: #0a0a0a;
  --navy-2: #404040;
  --teal: #737373;
  --paper: #f0f0f0;
  --white: #ffffff;
  --muted: #737373;
  --brand-red: #c41e3a;
  --brand-red-hover: #a31830;
  --brand-red-soft: color-mix(in srgb, var(--brand-red) 14%, var(--white));
  --line: rgba(20, 26, 34, 0.12);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: Outfit, "Segoe UI", sans-serif;
  --container: 1120px;
  --header: 72px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --duration-press: 140ms;
  --duration-hover: 160ms;
  --duration-menu: 180ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
button, input, select, textarea { font: inherit; }
::selection {
  background: color-mix(in srgb, var(--brand-red) 22%, var(--white));
  color: var(--ink);
}
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .btn:active,
  .nav-toggle:active,
  .card:hover,
  .card:active,
  .industry-board a:hover,
  .industry-board a:active,
  .btn-arrow:hover::after,
  .related a:hover::after {
    transform: none !important;
  }
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 80;
  background: var(--navy);
  color: var(--white);
  padding: 8px 12px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-shell { position: relative; }
.header-bar {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--brand-red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.header-end { display: flex; align-items: stretch; align-self: stretch; }
.nav-toggle {
  display: none;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-weight: 500;
  cursor: pointer;
}
.header-end,
.site-nav { align-self: stretch; }
.site-nav {
  display: flex;
  align-items: stretch;
  gap: 2px;
}
.site-nav > .nav-link,
.nav-trigger {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 12px;
  cursor: pointer;
}
.nav-trigger::after {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 1px;
  border-right: 2.5px solid var(--brand-red);
  border-bottom: 2.5px solid var(--brand-red);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}
.nav-trigger[aria-expanded="true"]::after {
  transform: rotate(-135deg);
  margin-top: 3px;
}
.nav-item.has-mega .nav-trigger[aria-expanded="true"] {
  color: var(--brand-red);
}
@media (hover: hover) and (pointer: fine) {
  .nav-trigger:hover {
    color: var(--brand-red);
  }
}
.site-nav > .nav-link.is-current,
.site-nav > .nav-link[aria-current="page"] {
  color: var(--brand-red);
}
.nav-item { position: static; display: flex; align-items: stretch; }
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(var(--container), calc(100% - 48px));
  transform: translateX(-50%);
  z-index: 30;
  padding-top: 10px;
}
.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10px;
}
.mega[hidden] { display: none; }
.mega-panel {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(14, 28, 51, 0.08);
  padding: 22px 22px 14px;
}
.mega-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr 0.9fr;
  gap: 18px;
}
.mega-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}
.mega-list { list-style: none; margin: 0; padding: 0; }
.mega-link {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 6px;
  color: var(--ink);
  text-decoration: none;
}
.mega-link-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
}
.mega-link-mark svg { display: block; width: 16px; height: 16px; }
.mega-link-title { font-size: 0.92rem; font-weight: 500; }
.mega-link-go {
  color: var(--brand-red);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--duration-hover) var(--ease-out), transform var(--duration-hover) var(--ease-out);
}
.mega-link {
  transition: background-color var(--duration-hover) ease;
}
@media (hover: hover) and (pointer: fine) {
  .mega-link:hover { background: var(--paper); }
  .mega-link:hover .mega-link-go { opacity: 1; transform: none; }
  .mega-link:hover .mega-link-mark { border-color: var(--brand-red); color: var(--brand-red); }
}
.mega-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.mega-foot-note { margin: 0; color: var(--muted); font-size: 0.85rem; }
.mega-foot-link { color: var(--navy); font-weight: 600; text-decoration: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
}
.btn {
  transition:
    background-color var(--duration-hover) ease,
    color var(--duration-hover) ease,
    border-color var(--duration-hover) ease,
    transform var(--duration-press) var(--ease-out);
}
.btn-primary { background: var(--brand-red); color: var(--white); }
.btn-secondary,
.btn-ghost {
  border-color: rgba(14, 28, 51, 0.28);
  background: transparent;
  color: var(--navy);
}
.btn-arrow::after {
  content: "→";
  display: inline-block;
  transition: transform var(--duration-hover) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--brand-red-hover); color: var(--white); }
  .btn-secondary:hover,
  .btn-ghost:hover { border-color: var(--navy); background: var(--paper); }
  .btn-arrow:hover::after { transform: translateX(6px); }
}
.nav-cta {
  min-height: 38px;
  margin-left: 8px;
  padding: 0 14px;
  font-size: 0.875rem;
}

.hero { padding: 3.25rem 0 2rem; }
.page-home .hero-home {
  background: linear-gradient(180deg, var(--paper) 0%, var(--white) 78%);
  padding: 3.5rem 0 1.25rem;
}
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero-split-align-start { align-items: start; }
.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--brand-red);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.page-home .hero-home .hero-primary > .eyebrow {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.84rem;
}
h1, h2, .wordmark {
  text-wrap: pretty;
}
h1 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 2.1vw, 2.15rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.page-home h1 {
  font-size: clamp(1.85rem, 2.3vw, 2.35rem);
}
.hero-accent { color: inherit; font-style: normal; }
.lead, .hero-seo-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.65;
  text-wrap: pretty;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6rem; }
.portrait {
  position: relative;
  width: min(100%, 400px);
  margin-left: auto;
}
.portrait::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -14px;
  bottom: -14px;
  width: 68%;
  height: 62%;
  border: 1px solid color-mix(in srgb, var(--brand-red) 72%, var(--navy));
}
.portrait img { position: relative; z-index: 1; width: 100%; }

.proof { padding: 0.25rem 0 2.75rem; }
.page-home .proof { background: var(--white); }
.proof-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid color-mix(in srgb, var(--brand-red) 28%, var(--line));
}
.proof-grid li { padding-right: 1.5rem; }
.proof-grid strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.65rem, 2vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy);
}
.proof-grid span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.section { padding: clamp(3.75rem, 7vw, 6.25rem) 0; }
main > section { background: var(--white); }
main > section.band-ivory,
.band-ivory { background: var(--paper); }
.section-head.stack-head { margin-top: 2.75rem; }
h2 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.35rem, 1.6vw, 1.7rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--navy);
}
h3 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.who-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.manifest-row {
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
}
.manifest-row:last-child { border-bottom: 1px solid var(--line); }
.manifest-tags {
  margin: 0 0 0.2rem;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
}
.manifest-row p:not(.manifest-tags) { margin: 0; color: var(--muted); font-size: 0.98rem; }
.manifest-row a,
.card a,
.aside-points a,
.plain-list a { color: inherit; text-decoration: none; }
.card a,
.plain-list a,
.manifest-row a {
  transition: color var(--duration-hover) ease;
}
@media (hover: hover) and (pointer: fine) {
  .manifest-row a:hover,
  .card a:hover,
  .card:hover h3 a,
  .plain-list a:hover { color: var(--brand-red); }
}
.plain-list a { color: var(--ink); text-decoration: underline; text-underline-offset: 0.18em; }

.industry-board {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
}
.industry-board a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 7.4rem;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.industry-board strong { font-size: 0.98rem; letter-spacing: -0.015em; }
.industry-board em {
  margin-top: 0.8rem;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
}
.industry-board a {
  transition:
    transform var(--duration-hover) var(--ease-out),
    border-color var(--duration-hover) ease;
}
@media (hover: hover) and (pointer: fine) {
  .industry-board a:hover {
    transform: translateY(-4px);
    border-color: var(--brand-red);
  }
}
.industry-board a:active { transform: scale(0.985); }
.section-foot { margin: 1.4rem 0 0; }
.section-foot-link {
  font-weight: 600;
  text-underline-offset: 3px;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--brand-red) 45%, transparent);
}
.section-foot-link { transition: color var(--duration-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .section-foot-link:hover { color: var(--brand-red); }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.25rem 1.15rem 1.15rem;
}
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.card .program-meta,
.program-meta {
  margin: 0 0 0.55rem;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
}
.form-note { margin-top: 0.9rem; }
.form-note a { font-weight: 600; }

.process-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.process-grid li {
  padding: 1.2rem 1.2rem 0 0;
  border-right: 1px solid var(--line);
}
.process-grid li:last-child { border-right: 0; padding-right: 0; }
.process-grid p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.index-num {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--brand-red);
}
.process-grid-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.process-grid-steps h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}
.service-audience li {
  font-size: 1.02rem;
  line-height: 1.6;
}
.section-scope .section-head h2 {
  font-size: clamp(1.45rem, 1.85vw, 1.85rem);
}
.scope-panel {
  margin-top: 0.25rem;
  padding: clamp(1.15rem, 2.5vw, 1.85rem) clamp(1.15rem, 2.8vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--brand-red);
  box-shadow: 0 12px 36px rgba(10, 10, 10, 0.04);
}
.scope-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(20px, 4vw, 40px);
  margin: 0;
  padding: 0;
}
.scope-grid li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.5;
}
.scope-grid li::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 0.5rem;
  background: var(--brand-red);
}
.scope-note {
  margin: 1.1rem 0 0;
  padding: 1rem 1.05rem;
  background: color-mix(in srgb, var(--brand-red) 8%, var(--white));
  border: 1px solid color-mix(in srgb, var(--brand-red) 20%, var(--line));
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.55;
}
.scope-grid-single { grid-template-columns: 1fr; }
.scope-panel-inline { margin-top: 0; }
.scope-eyebrow-inline {
  margin: 0 0 0.65rem;
}
.scope-grid a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--brand-red) 45%, transparent);
  text-underline-offset: 0.18em;
}
.scope-grid a { transition: color var(--duration-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .scope-grid a:hover { color: var(--brand-red); }
}
.card-grid.four-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 1000px) {
  .card-grid.four-up { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.related { border-top: 1px solid var(--line); }
.related a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
}
.related a {
  transition: color var(--duration-hover) ease;
}
.related a::after {
  content: "→";
  display: inline-block;
  color: var(--teal);
  font-family: var(--sans);
  font-weight: 500;
  transition: transform var(--duration-hover) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .related a:hover { color: var(--brand-red); }
  .related a:hover::after { transform: translateX(4px); color: var(--brand-red); }
}

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 1rem 2rem 1rem 0;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 1.15rem;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--brand-red);
  border-bottom: 1.5px solid var(--brand-red);
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--duration-hover) var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq details p { margin: 0 0 1rem; color: var(--muted); line-height: 1.65; text-wrap: pretty; }

.cta-band { padding: 0 0 clamp(3.5rem, 7vw, 5.5rem); background: var(--white); }
.cta-inner {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2rem;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  padding: clamp(1.75rem, 4vw, 3rem);
}
.cta-inner h2 { color: var(--white); }
.cta-inner p { margin: 0; color: rgba(255, 255, 255, 0.76); line-height: 1.65; text-wrap: pretty; }
.cta-inner .btn-primary { background: var(--white); color: var(--navy); }
@media (hover: hover) and (pointer: fine) {
  .cta-inner .btn-primary:hover { background: var(--navy-2); color: var(--white); }
}

.crumbs { margin: 0 0 1rem; font-size: 0.82rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.crumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--duration-hover) ease;
}
@media (hover: hover) and (pointer: fine) {
  .crumbs a:hover { color: var(--navy); }
}
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: rgba(20, 26, 34, 0.35); }

.hero-form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.2rem 1.25rem 1.3rem;
}
.aside-points,
.skill-list,
.plain-list { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.aside-points li,
.skill-list li,
.plain-list li {
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
.cert-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
}
.cert-list li {
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
}
.cert-list strong { display: block; font-family: var(--serif); font-size: 1.05rem; }
.cert-list span { display: block; margin-top: 0.35rem; color: var(--muted); font-size: 0.82rem; }

.prose { max-width: none; }
.prose p { color: var(--muted); }
.legal { padding-top: 4.5rem; }

.contact-form.in-panel { display: grid; gap: 1rem; }
.contact-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.contact-form .hint { font-weight: 500; color: var(--muted); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0;
  border: 0;
  border-bottom: 1px solid rgba(20, 26, 34, 0.24);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
  min-height: 44px;
  transition: border-color var(--duration-hover) ease;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--brand-red);
}
.optional-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
}
.consent input {
  width: 1.1rem;
  min-height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--brand-red);
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-success { margin: 0; color: var(--navy); }
.form-error { margin: 0 0 0.75rem; color: #8d1d32; font-size: 0.92rem; }
.privacy-micro { margin: 0; color: var(--muted); font-size: 0.82rem; }

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.74);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
.site-footer .wordmark,
.site-footer .brand { color: var(--white); }
.site-footer .brand-mark { background: var(--white); color: var(--navy); }
.footer-brand p { max-width: 28ch; margin: 14px 0 0; }
.footer-contact { list-style: none; margin: 16px 0 0; padding: 0; }
.footer-contact li { margin: 0 0 0.45rem; }
.site-footer h2 {
  margin: 0 0 0.85rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--white);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.45rem; }
.site-footer a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  transition: color var(--duration-hover) ease;
}
@media (hover: hover) and (pointer: fine) {
  .site-footer a:hover { color: var(--white); }
}
.copyright {
  width: min(var(--container), calc(100% - 48px));
  margin: 2.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.copyright p { margin: 0; }
.copyright-legal { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }

@media (max-width: 1100px) {
  .process-grid-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid-steps li:nth-child(2n) { border-right: 0; }
  .industry-board,
  .cert-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 35;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 88px 24px 32px;
    background: var(--white);
    overflow: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 320ms var(--ease-drawer),
      visibility 0s linear 320ms;
  }
  body.nav-open .site-nav {
    transform: none;
    visibility: visible;
    transition:
      transform 320ms var(--ease-drawer),
      visibility 0s linear 0s;
  }
  body.nav-open { overflow: hidden; }
  .site-header { z-index: 50; }
  .site-nav > .nav-link,
  .nav-trigger {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    font-family: var(--serif);
    font-size: 1.2rem;
    padding: 8px 0;
  }
  .nav-trigger {
    justify-content: space-between;
  }
  .nav-trigger::after {
    margin-top: 0;
    width: 8px;
    height: 8px;
    margin-left: 12px;
    border-right-width: 3px;
    border-bottom-width: 3px;
  }
  .nav-trigger[aria-expanded="true"]::after {
    margin-top: 2px;
  }
  .nav-cta { margin: 12px 0 0; width: fit-content; }
  .mega {
    position: static;
    width: auto;
    transform: none;
    left: auto;
    padding-top: 0;
  }
  .mega::before { display: none; }
  .mega-panel { border: 0; box-shadow: none; padding: 4px 0 8px; }
  .mega-grid { grid-template-columns: 1fr; }
  .hero-split,
  .who-layout,
  .cta-inner,
  .card-grid,
  .card-grid.two,
  .process-grid,
  .scope-grid,
  .proof-grid,
  .footer-grid,
  .optional-grid { grid-template-columns: 1fr; }
  .process-grid li { border-right: 0; border-bottom: 1px solid var(--line); padding: 1rem 0; }
  .portrait { margin: 0.5rem auto 0; }
  .portrait::after { right: 0; bottom: -10px; }
}
@media (max-width: 720px) {
  .container,
  .header-bar,
  .copyright { width: min(var(--container), calc(100% - 32px)); }
  .industry-board,
  .cert-list { grid-template-columns: 1fr 1fr; }
  body { overflow-x: clip; }
}
@media (max-width: 480px) {
  .industry-board,
  .cert-list { grid-template-columns: 1fr; }
}

/* Motion: transform and opacity only. Headings, hero image, and form text stay still so LCP is not delayed. */

.nav-toggle {
  transition: transform var(--duration-press) var(--ease-out);
}
.nav-toggle:active { transform: scale(0.97); }
.site-nav > .nav-link,
.nav-trigger,
.mega-foot-link,
.mega-link-mark {
  transition: color var(--duration-hover) ease, border-color var(--duration-hover) ease;
}
@media (min-width: 981px) {
  .site-nav > .nav-link { position: relative; }
  .site-nav > .nav-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 5px;
    height: 1px;
    background: var(--brand-red);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--duration-menu) var(--ease-out);
  }
  .site-nav > .nav-link.is-current::after,
  .site-nav > .nav-link[aria-current="page"]::after {
    transform: scaleX(1);
  }
}
@media (min-width: 981px) and (hover: hover) and (pointer: fine) {
  .site-nav > .nav-link:hover { color: var(--brand-red); }
  .site-nav > .nav-link:hover::after { transform: scaleX(1); }
  .mega-foot-link:hover { color: var(--brand-red); }
}
@media (min-width: 981px) and (prefers-reduced-motion: no-preference) {
  .mega:not([hidden]) .mega-panel {
    transform-origin: 50% 0;
    transition:
      opacity var(--duration-menu) var(--ease-out),
      transform var(--duration-menu) var(--ease-out);
    @starting-style {
      opacity: 0;
      transform: translateY(12px) scale(0.97);
    }
  }
}

.card {
  position: relative;
  transition: transform var(--duration-hover) var(--ease-out);
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--brand-red);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform var(--duration-menu) var(--ease-out);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover,
  html.motion .card.is-set:hover {
    transform: translateY(-6px);
  }
  .card:hover::before { transform: scaleY(1); }
}
.card:has(:focus-visible)::before { transform: scaleY(1); }
.card:active,
html.motion .card.is-set:active {
  transform: scale(0.985);
}

.card-grid > .card:nth-child(1),
.industry-board > li:nth-child(1),
.cert-list > li:nth-child(1),
.process-grid > li:nth-child(1) { --rise: 36px; --d: 0ms; }
.card-grid > .card:nth-child(2),
.industry-board > li:nth-child(2),
.cert-list > li:nth-child(2),
.process-grid > li:nth-child(2) { --rise: 24px; --d: 80ms; }
.card-grid > .card:nth-child(3),
.industry-board > li:nth-child(3),
.cert-list > li:nth-child(3),
.process-grid > li:nth-child(3) { --rise: 16px; --d: 140ms; }
.card-grid > .card:nth-child(n + 4),
.industry-board > li:nth-child(n + 4),
.cert-list > li:nth-child(n + 4),
.process-grid > li:nth-child(n + 4) { --rise: 10px; --d: 190ms; }

.hero-primary > h1::after,
.section .eyebrow::after,
.proof-grid li::after {
  content: "";
  display: block;
  background: var(--brand-red);
  transform-origin: left center;
}
.hero-primary > h1::after {
  width: 4.5rem;
  height: 2px;
  margin-top: 0.9rem;
}
.section .eyebrow::after {
  width: 2.25rem;
  height: 2px;
  margin-top: 0.5rem;
}
.proof-grid li::after {
  width: 3.5rem;
  height: 2px;
  margin-top: 0.85rem;
}

@media (prefers-reduced-motion: no-preference) {
  html.motion .card-grid > .card:not(.is-in),
  html.motion .industry-board > li:not(.is-in),
  html.motion .cert-list > li:not(.is-in),
  html.motion .process-grid > li:not(.is-in),
  html.motion .scope-panel:not(.is-in),
  html.motion .cta-inner:not(.is-in) {
    opacity: 0;
    transform: translateY(var(--rise, 28px));
  }
  html.motion .is-in {
    animation: rise-in 680ms var(--ease-out) both;
    animation-delay: var(--d, 0ms);
  }
  html.motion .is-set {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero-primary > .eyebrow {
    animation: hero-fade 560ms var(--ease-out) both;
  }
  .hero-primary > h1 {
    animation: hero-title 720ms var(--ease-out) both;
  }
  .hero-primary > h1::after {
    animation: rule-draw 640ms var(--ease-out) 280ms both;
  }
  .hero-primary > .lead,
  .hero-primary > .hero-seo-lead {
    animation: hero-lead 640ms var(--ease-out) 80ms both;
  }
  .hero .actions {
    animation: hero-fade 560ms var(--ease-out) 160ms both;
  }
  .portrait img {
    animation: hero-photo 780ms var(--ease-out) 40ms both;
  }
  .portrait::after {
    transform-origin: right bottom;
    animation: frame-in 760ms var(--ease-out) 120ms both;
  }
  .hero-form-panel,
  .hero-aside > .enquiry-card {
    animation: hero-panel 700ms var(--ease-out) 60ms both;
  }
  .proof-grid li {
    animation: hero-fade 600ms var(--ease-out) both;
  }
  .proof-grid li:nth-child(1) { animation-delay: 220ms; }
  .proof-grid li:nth-child(2) { animation-delay: 300ms; }
  .proof-grid li:nth-child(3) { animation-delay: 370ms; }
  .proof-grid li::after {
    animation: rule-draw 560ms var(--ease-out) both;
  }
  .proof-grid li:nth-child(1)::after { animation-delay: 400ms; }
  .proof-grid li:nth-child(2)::after { animation-delay: 480ms; }
  .proof-grid li:nth-child(3)::after { animation-delay: 550ms; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section .eyebrow::after {
      animation: rule-draw linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 28%;
    }
  }
}

@keyframes hero-title {
  from { transform: translateY(28px); }
  to { transform: none; }
}
@keyframes hero-lead {
  from { transform: translateY(18px); }
  to { transform: none; }
}
@keyframes hero-fade {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-photo {
  from { transform: translateY(40px); }
  to { transform: none; }
}
@keyframes hero-panel {
  from { transform: translateY(24px); }
  to { transform: none; }
}
@keyframes frame-in {
  from { opacity: 0; transform: translate(16px, 16px) scale(0.92); }
  to { opacity: 1; transform: none; }
}
@keyframes rule-draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(var(--rise, 28px)); }
  to { opacity: 1; transform: translateY(0); }
}

.page-contact .hero {
  background: linear-gradient(180deg, var(--paper) 0%, var(--white) 82%);
}
.hero-aside > .enquiry-card {
  width: min(442px, 100%);
  margin-left: auto;
}
.enquiry-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 18px 20px 16px;
}
.enquiry-card > h2 {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.42px;
  color: var(--ink);
}
.enquiry-form { display: grid; }
.enquiry-field { display: block; }
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  margin: 0;
  padding: 12px 0 10px;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  min-height: 48px;
}
.enquiry-form input::placeholder,
.enquiry-form textarea::placeholder { color: #8a8a8a; }
.enquiry-form select {
  appearance: none;
  padding-right: 1.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%230a0a0a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 14px 14px;
}
.enquiry-form select:has(option[value=""]:checked) { color: #8a8a8a; }
.enquiry-form textarea {
  min-height: 92px;
  resize: vertical;
  line-height: 1.45;
}
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.enquiry-privacy {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin: 0.9rem 0 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}
.enquiry-privacy svg {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  fill: none;
  stroke: var(--brand-red);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.enquiry-privacy a {
  color: var(--ink);
  font-weight: 600;
}
.enquiry-form .btn {
  width: 100%;
  min-height: 44px;
  margin-top: 0.15rem;
  border-radius: 980px;
  font-weight: 500;
}
.enquiry-dialog {
  position: fixed;
  inset: 0;
  width: min(440px, calc(100vw - 32px));
  height: fit-content;
  max-height: calc(100dvh - 32px);
  margin: auto;
  overflow: auto;
  border: 0;
}
.enquiry-dialog::backdrop { background: rgba(10, 10, 10, 0.46); }
.enquiry-dialog > h2 { padding-right: 2rem; }
.enquiry-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  .enquiry-close:hover { background: var(--paper); }
}
html.motion .enquiry-dialog[open] {
  transform-origin: center;
  transition:
    opacity 250ms var(--ease-out),
    transform 250ms var(--ease-out);
}
html.motion .enquiry-dialog[open]::backdrop {
  transition: opacity 250ms var(--ease-out);
}
@starting-style {
  html.motion .enquiry-dialog[open] {
    opacity: 0;
    transform: scale(0.96);
  }
  html.motion .enquiry-dialog[open]::backdrop { opacity: 0; }
}
html.motion .enquiry-dialog[data-closing] {
  opacity: 0;
  transform: scale(0.96);
}
html.motion .enquiry-dialog[data-closing]::backdrop { opacity: 0; }
@media (max-width: 720px) {
  .hero-aside > .enquiry-card { margin-left: 0; }
}
