/* ==========================================================================
   SERVICES — overview (/services/) and per-service detail pages.
   Loaded after monoblood.css, only on the services section. Uses the
   --mb-* tokens, so light and dark themes come for free.
   ========================================================================== */

.sv-page {
  --sv-gap: clamp(72px, 10vw, 128px);
}

.sv-page .mb-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sv-page .mb-kicker i {
  color: var(--mb-red);
  font-size: 13px;
}

/* ---------- Shared section scaffolding ---------- */

.sv-section {
  margin-top: var(--sv-gap);
  scroll-margin-top: calc(var(--mb-header-h) + 24px);
}

.sv-section__head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.sv-section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  max-width: none;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--mb-line-strong);
}

.sv-section__head--row > a {
  flex: none;
  color: var(--mb-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.sv-section__head--row > a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sv-page h2 {
  margin: 0;
  color: var(--mb-text);
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.sv-section__head > p,
.sv-method__head > p,
.sv-safe__copy > p {
  margin: 16px 0 0;
  color: var(--mb-muted);
  font-size: 14px;
  line-height: 1.75;
}

.sv-section--band {
  position: relative;
  padding: clamp(36px, 6vw, 72px) 0;
}

.sv-section--band::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: var(--mb-alt);
  border-top: 1px solid var(--mb-line);
  border-bottom: 1px solid var(--mb-line);
}

/* "> item" checklist used in several blocks */
.sv-checks {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.sv-checks li {
  position: relative;
  padding-left: 26px;
  color: var(--mb-text);
  font-size: 13px;
  line-height: 1.55;
}

.sv-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  background: var(--mb-red-fill);
  color: var(--mb-on-red);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

/* ---------- Overview hero ---------- */

.sv-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.sv-hero__copy,
.sv-dhero__copy {
  min-width: 0;
}

.sv-hero h1,
.sv-dhero h1 {
  margin: 0;
  color: var(--mb-text);
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.sv-hero h1 span {
  color: var(--mb-red);
}

.sv-hero__lede {
  max-width: 60ch;
  margin: 24px 0 0;
  color: var(--mb-muted);
  font-size: 15px;
  line-height: 1.75;
}

.sv-hero__panel .mb-term__list em {
  max-width: none;
}

/* ---------- Credentials strip ---------- */

.sv-proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px clamp(24px, 4vw, 56px);
  margin-top: clamp(48px, 7vw, 80px);
  padding: 20px 0;
  border-top: 2px solid var(--mb-line-strong);
  border-bottom: 1px solid var(--mb-line);
}

.sv-proof p {
  margin: 0;
}

.sv-proof__label {
  color: var(--mb-red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sv-proof__name {
  margin-top: 4px !important;
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
}

.sv-proof__name a {
  color: var(--mb-text);
  text-decoration: none;
}

.sv-proof__name a:hover {
  color: var(--mb-red);
}

.sv-proof__role {
  margin-top: 4px !important;
  color: var(--mb-muted);
  font-size: 12px;
  line-height: 1.6;
}

.sv-proof__certs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sv-proof__certs li {
  padding: 5px 10px;
  border: 1px solid var(--mb-line-strong);
  background: var(--mb-surface);
  color: var(--mb-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* ---------- Service index (rows) ---------- */

.sv-index {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--mb-line-strong);
}

.sv-row {
  scroll-margin-top: calc(var(--mb-header-h) + 24px);
  border-bottom: 1px solid var(--mb-line);
}

.sv-row__link {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(16px, 2.5vw, 28px);
  padding: clamp(24px, 3.5vw, 36px) clamp(8px, 1.5vw, 20px);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.15s;
}

.sv-row__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  bottom: -1px;
  width: 4px;
  background: var(--mb-red-fill);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.2s;
}

.sv-row__link:hover,
.sv-row__link:focus-visible,
.sv-row:target .sv-row__link {
  background: var(--mb-surface);
}

.sv-row__link:hover::before,
.sv-row__link:focus-visible::before,
.sv-row:target .sv-row__link::before {
  transform: scaleY(1);
}

.sv-row__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--mb-line-strong);
  background: var(--mb-surface);
  color: var(--mb-red);
  font-size: 22px;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.sv-row__link:hover .sv-row__icon,
.sv-row__link:focus-visible .sv-row__icon {
  background: var(--mb-red-fill);
  border-color: var(--mb-red-fill);
  color: var(--mb-on-red);
}

.sv-row__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sv-row__cat {
  color: var(--mb-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sv-row__title {
  margin-top: 8px;
  color: var(--mb-text);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.sv-row__q {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 2px solid var(--mb-red);
  color: var(--mb-text);
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
}

.sv-row__desc {
  max-width: 72ch;
  margin-top: 12px;
  color: var(--mb-muted);
  font-size: 13px;
  line-height: 1.75;
}

.sv-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.sv-row__tags span {
  padding: 4px 9px;
  border: 1px solid var(--mb-line);
  color: var(--mb-muted);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.sv-row__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--mb-line-strong);
  color: var(--mb-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.sv-row__link:hover .sv-row__go,
.sv-row__link:focus-visible .sv-row__go {
  background: var(--mb-red-fill);
  border-color: var(--mb-red-fill);
  color: var(--mb-on-red);
  transform: translateX(4px);
}

.sv-row__link:focus-visible {
  outline-offset: -2px;
}

/* ---------- Shared method (5 steps) ---------- */

.sv-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.sv-step {
  position: relative;
  min-width: 0;
  padding: 0 clamp(12px, 1.6vw, 22px) 0 0;
}

.sv-step__num {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 22px;
  color: var(--mb-red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.sv-step__num::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-right: 12px;
  background: var(--mb-red-fill);
  border: 2px solid var(--mb-red-fill);
}

.sv-step__num::after {
  content: "";
  flex: 1;
  height: 2px;
  margin-left: 12px;
  background: repeating-linear-gradient(to right, var(--mb-line-strong) 0 6px, transparent 6px 10px);
}

.sv-step:last-child .sv-step__num::after {
  background: var(--mb-line-strong);
  max-width: 24px;
}

.sv-step h3 {
  margin: 0;
  color: var(--mb-text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.sv-step p {
  margin: 10px 0 0;
  color: var(--mb-muted);
  font-size: 12px;
  line-height: 1.7;
}

/* ---------- Report showcase ---------- */

.sv-report {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}

.sv-report__copy {
  min-width: 0;
}

.sv-report__copy > p:not(.mb-kicker) {
  max-width: 60ch;
  margin: 16px 0 0;
  color: var(--mb-muted);
  font-size: 14px;
  line-height: 1.75;
}

.sv-report__copy .btn-ghost {
  margin-top: 32px;
}

.sv-report__doc {
  position: relative;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px 18px 0;
}

.sv-report__sheet {
  position: relative;
  padding: 26px 26px 22px;
  background: var(--mb-surface);
  border: 1px solid var(--mb-line-strong);
  box-shadow: 8px 8px 0 var(--mb-shadow) !important;
  transform: rotate(-1.5deg);
}

.sv-report__sheet--back {
  position: absolute;
  inset: 18px 0 0 18px;
  padding: 0;
  background: var(--mb-alt);
  box-shadow: none !important;
  transform: rotate(2.5deg);
}

.sv-report__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--mb-red-fill);
  color: var(--mb-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sv-report__head span:last-child {
  color: var(--mb-red);
}

.sv-report__type {
  margin: 18px 0 0;
  color: var(--mb-red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sv-report__name {
  margin: 6px 0 18px;
  color: var(--mb-text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.sv-report__toc {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px 0;
  border-top: 1px dashed var(--mb-line);
  border-bottom: 1px dashed var(--mb-line);
  list-style: none;
}

.sv-report__toc li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  color: var(--mb-text);
  font-size: 10px;
  line-height: 1.4;
}

.sv-report__toc b {
  flex: none;
  color: var(--mb-red);
}

.sv-report__toc span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sv-report__toc i {
  flex: 1 1 12px;
  min-width: 12px;
  border-bottom: 1px dotted var(--mb-line-strong);
}

.sv-report__sev {
  display: flex;
  height: 10px;
  margin-top: 16px;
}

.sv-report__sev span {
  display: block;
}

.sv-report__sev .is-crit { flex: 1; background: var(--mb-red-fill); }
.sv-report__sev .is-high { flex: 2; background: var(--mb-red); opacity: 0.75; }
.sv-report__sev .is-med  { flex: 3; background: var(--mb-muted); opacity: 0.6; }
.sv-report__sev .is-low  { flex: 4; background: var(--mb-line); }

.sv-report__lines {
  display: grid;
  gap: 6px;
  margin-top: 16px;
}

.sv-report__lines i {
  display: block;
  height: 5px;
  background: var(--mb-alt);
}

.sv-report__lines i:nth-child(2) { width: 88%; }
.sv-report__lines i:nth-child(3) { width: 64%; }

/* ---------- Principles ---------- */

.sv-principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--mb-line-strong);
}

.sv-principles li {
  min-width: 0;
  padding: clamp(20px, 2.5vw, 28px);
  background: var(--mb-surface);
}

.sv-principles li + li {
  border-left: 1px solid var(--mb-line);
}

.sv-principles__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border: 1px solid var(--mb-red);
  color: var(--mb-red);
  font-size: 18px;
}

.sv-principles h3 {
  margin: 0;
  color: var(--mb-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.sv-principles p {
  margin: 10px 0 0;
  color: var(--mb-muted);
  font-size: 12px;
  line-height: 1.7;
}

/* ---------- CTA ---------- */

.sv-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  margin-top: var(--sv-gap);
  padding: clamp(28px, 5vw, 56px);
  background: var(--mb-ink);
  color: var(--mb-ink-text);
  border: 1px solid var(--mb-line-strong);
  border-top: 4px solid var(--mb-red-fill);
  box-shadow: 8px 8px 0 var(--mb-shadow) !important;
}

html[data-theme="dark"] .sv-cta {
  border-color: var(--mb-ink-line);
  border-top-color: var(--mb-red-fill);
}

.sv-cta .mb-kicker {
  margin-bottom: 10px;
  color: var(--mb-ink-muted);
}

.sv-cta .mb-kicker span {
  color: var(--mb-ink-red);
}

.sv-page .sv-cta h2 {
  color: #fff;
}

.sv-cta__copy {
  min-width: 0;
}

.sv-cta__copy > p:last-child {
  max-width: 64ch;
  margin: 16px 0 0;
  color: var(--mb-ink-muted);
  font-size: 13px;
  line-height: 1.75;
}

.sv-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.sv-cta .btn-primary {
  white-space: nowrap;
  box-shadow: 4px 4px 0 #000 !important;
}

.sv-cta__mail {
  margin: 0;
  color: var(--mb-ink-muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.sv-cta__mail a {
  color: var(--mb-ink-red);
  text-underline-offset: 3px;
}

/* ==========================================================================
   Detail page
   ========================================================================== */

.sv-dhero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: clamp(32px, 6vw, 72px);
}

.sv-dhero .mb-kicker span {
  color: var(--mb-red);
}

.sv-dhero h1 {
  font-size: clamp(36px, 6.5vw, 72px);
}

.sv-facts {
  margin: 0;
  background: var(--mb-surface);
  border: 1px solid var(--mb-line-strong);
  box-shadow: 6px 6px 0 var(--mb-shadow) !important;
}

.sv-facts__bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 18px;
  background: var(--mb-red-fill);
  color: var(--mb-on-red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sv-facts dl {
  margin: 0;
}

.sv-facts dl > div {
  padding: 14px 18px;
}

.sv-facts dl > div + div {
  border-top: 1px dashed var(--mb-line);
}

.sv-facts dt {
  color: var(--mb-red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sv-facts dd {
  margin: 4px 0 0;
  color: var(--mb-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

/* sticky in-page navigation */
.sv-toc {
  position: sticky;
  top: var(--mb-header-h);
  z-index: 20;
  display: flex;
  gap: 4px;
  margin-top: clamp(48px, 7vw, 80px);
  padding: 10px 0;
  overflow-x: auto;
  background: var(--mb-bg);
  border-top: 2px solid var(--mb-line-strong);
  border-bottom: 1px solid var(--mb-line);
  scrollbar-width: none;
}

.sv-toc::-webkit-scrollbar {
  display: none;
}

.sv-toc a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid transparent;
  color: var(--mb-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.sv-toc a:hover {
  border-color: var(--mb-red);
  color: var(--mb-red);
}

.sv-detail .sv-toc + .sv-section {
  margin-top: clamp(48px, 7vw, 80px);
}

.sv-detail .sv-section {
  scroll-margin-top: calc(var(--mb-header-h) + 72px);
}

/* overview */
.sv-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 80px);
}

.sv-overview__copy {
  min-width: 0;
}

.sv-prose p {
  margin: 18px 0 0;
  color: var(--mb-muted);
  font-size: 14px;
  line-height: 1.85;
}

.sv-prose strong {
  color: var(--mb-text);
  font-weight: 700;
}

.sv-questions {
  min-width: 0;
  background: var(--mb-surface);
  border: 1px solid var(--mb-line-strong);
}

.sv-questions__label {
  margin: 0;
  padding: 10px 18px;
  background: var(--mb-red-fill);
  color: var(--mb-on-red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sv-questions ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sv-questions li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 20px 18px;
}

.sv-questions li + li {
  border-top: 1px dashed var(--mb-line);
}

.sv-questions li > span {
  color: var(--mb-red);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.sv-questions li p {
  margin: 0;
  color: var(--mb-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

/* method timeline */
.sv-method {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(32px, 6vw, 80px);
}

.sv-method__head {
  position: sticky;
  top: calc(var(--mb-header-h) + 96px);
  min-width: 0;
}

.sv-timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sv-timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 23px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--mb-line-strong) 0 6px, transparent 6px 10px);
}

.sv-phase {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}

.sv-phase + .sv-phase {
  margin-top: 20px;
}

.sv-phase__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--mb-bg);
  border: 2px solid var(--mb-red-fill);
  color: var(--mb-red);
  font-size: 14px;
  font-weight: 800;
  transition: background-color 0.15s, color 0.15s;
}

.sv-phase:hover .sv-phase__num {
  background: var(--mb-red-fill);
  color: var(--mb-on-red);
}

.sv-phase__body {
  min-width: 0;
  padding: 20px 22px;
  background: var(--mb-surface);
  border: 1px solid var(--mb-line);
  transition: border-color 0.15s;
}

.sv-phase:hover .sv-phase__body {
  border-color: var(--mb-line-strong);
}

.sv-phase h3 {
  margin: 0;
  color: var(--mb-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.sv-phase__body > p {
  margin: 10px 0 0;
  color: var(--mb-muted);
  font-size: 13px;
  line-height: 1.75;
}

.sv-phase__body > .sv-phase__out {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--mb-line);
  color: var(--mb-text);
  font-size: 12px;
  font-weight: 700;
}

.sv-phase__out span {
  padding: 3px 7px;
  border: 1px solid var(--mb-red);
  color: var(--mb-red);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* scope tiles */
.sv-scope {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--mb-line-strong);
  border-left: 1px solid var(--mb-line-strong);
}

.sv-scope li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  min-height: 88px;
  padding: 20px 22px;
  background: var(--mb-surface);
  border-right: 1px solid var(--mb-line-strong);
  border-bottom: 1px solid var(--mb-line-strong);
  color: var(--mb-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  transition: background-color 0.15s, color 0.15s;
}

.sv-scope li i {
  flex: none;
  width: 24px;
  color: var(--mb-red);
  font-size: 20px;
  text-align: center;
  transition: color 0.15s;
}

.sv-scope li:hover {
  background: var(--mb-red-fill);
  color: var(--mb-on-red);
}

.sv-scope li:hover i {
  color: var(--mb-on-red);
}

/* safeguards */
.sv-safe {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(28px, 5vw, 56px);
  border: 2px solid var(--mb-line-strong);
  background:
    repeating-linear-gradient(-45deg, transparent 0 14px, var(--mb-alt) 14px 15px),
    var(--mb-bg);
}

.sv-safe__copy {
  min-width: 0;
}

.sv-checks--boxed {
  margin: 0;
  padding: clamp(20px, 3vw, 28px);
  background: var(--mb-surface);
  border: 1px solid var(--mb-line-strong);
  box-shadow: 6px 6px 0 var(--mb-shadow) !important;
}

/* related services */
.sv-more {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sv-more li {
  min-width: 0;
}

.sv-more a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 22px;
  background: var(--mb-surface);
  border: 1px solid var(--mb-line-strong);
  color: inherit;
  text-decoration: none;
  transition: transform 0.1s, box-shadow 0.1s;
}

.sv-more a:hover,
.sv-more a:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--mb-shadow) !important;
}

.sv-more__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--mb-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.sv-more__top i {
  font-size: 18px;
}

.sv-more__title {
  margin-top: 18px;
  color: var(--mb-text);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.sv-more__cat {
  margin-top: 6px;
  color: var(--mb-muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sv-more__go {
  margin-top: auto;
  padding-top: 18px;
  color: var(--mb-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .sv-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 36px;
  }

  .sv-principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sv-principles li + li {
    border-left: 0;
  }

  .sv-principles li:nth-child(even) {
    border-left: 1px solid var(--mb-line);
  }

  .sv-principles li:nth-child(n + 3) {
    border-top: 1px solid var(--mb-line);
  }

  .sv-scope {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .sv-proof {
    grid-template-columns: minmax(0, 1fr);
  }

  .sv-proof__certs {
    justify-content: flex-start;
  }

  .sv-hero,
  .sv-dhero,
  .sv-report,
  .sv-overview,
  .sv-method,
  .sv-safe,
  .sv-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .sv-hero__panel {
    margin-right: 8px;
  }

  .sv-method__head {
    position: static;
  }

  .sv-report__doc {
    order: 2;
  }

  .sv-row__link {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .sv-row__go {
    grid-column: 2;
    justify-self: start;
  }

  .sv-more {
    grid-template-columns: minmax(0, 1fr);
  }

  .sv-facts {
    margin-right: 6px;
  }
}

@media (max-width: 640px) {
  .sv-steps {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }

  .sv-step {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    column-gap: 16px;
    padding: 0 0 24px;
  }

  .sv-step::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 18px;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(to bottom, var(--mb-line-strong) 0 6px, transparent 6px 10px);
  }

  .sv-step:last-child::before {
    display: none;
  }

  .sv-step__num {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }

  .sv-step__num::after {
    display: none;
  }

  .sv-step h3,
  .sv-step p {
    grid-column: 2;
  }

  .sv-principles,
  .sv-scope {
    grid-template-columns: minmax(0, 1fr);
  }

  .sv-principles li:nth-child(even) {
    border-left: 0;
  }

  .sv-principles li + li {
    border-top: 1px solid var(--mb-line);
  }

  .sv-row__link {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-left: 12px;
  }

  .sv-row__icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .sv-row__go {
    grid-column: 1;
  }

  .sv-row__link:hover .sv-row__go {
    transform: none;
  }

  .sv-timeline::before {
    left: 17px;
  }

  .sv-phase {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
  }

  .sv-phase__num {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .sv-phase__body {
    padding: 16px;
  }

  .sv-questions li {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 16px;
  }

  .sv-questions li p {
    font-size: 14px;
  }

  .sv-section__head--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .sv-cta .btn-primary {
    width: 100%;
    white-space: normal;
  }

  .sv-cta__actions {
    align-items: stretch;
  }

  .sv-report__sheet,
  .sv-report__sheet--back {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sv-row__link::before,
  .sv-row__go,
  .sv-more a {
    transition: none;
  }
}
