:root {
  --navy: #0a1929;
  --navy-mid: #1a2a4a;
  --navy-soft: #243b5c;
  --accent: #c9a227;
  --accent-hover: #ddb83a;
  --accent-bright: #e4c84a;
  --accent-deep: #a6851f;
  --accent-dark: #7a6414;
  --accent-muted: #b8962e;
  --accent-soft: #f0e6b8;
  --accent-pale: #faf6e8;
  --light-blue: #4a90c8;
  --white: #ffffff;
  --off-white: #f4f7fb;
  --text: #1c2738;
  --muted: #5a6b7f;
  --border: #d8e0ea;
  --danger: #b42318;
  --success: #067647;
  --shadow: 0 12px 40px rgba(10, 25, 41, 0.12);
  --radius: 4px;
  --header-h: 72px;
  --hero-band-min: 10.75rem;
  --hero-subtitle-max: 52rem;
  --font: "Inter", system-ui, sans-serif;
  --accent-bar: 2px solid var(--accent);
  --divider-soft: rgba(15, 35, 58, 0.06);
  --divider: rgba(15, 35, 58, 0.1);
  --divider-mid: rgba(15, 35, 58, 0.16);
  --divider-strong: rgba(15, 35, 58, 0.18);
  --ink-faint: rgba(15, 35, 58, 0.35);
  --ink-muted: rgba(15, 35, 58, 0.42);
  --ink-muted-mid: rgba(15, 35, 58, 0.45);
  --ink-subtle: rgba(15, 35, 58, 0.5);
  --ink-soft: rgba(15, 35, 58, 0.55);
  --section-pad-y: 4.5rem;
  --section-pad-y-compact: 2.25rem;
  --section-pad-bottom-tight: 1.25rem;
  --prose-width: 42rem;
  --surface-pad: 1.15rem 1.2rem 1.25rem;
  --card-pad: 1.15rem 1.2rem 1.25rem;
  --contact-fs: 0.95rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.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;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--light-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 16, 24, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
}

.brand-text .brand-word {
  display: inline-block;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-text .brand-unit {
  display: inline-block;
  letter-spacing: normal;
  text-transform: none;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  border-radius: var(--radius);
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: 0.2s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1.15rem;
}

.site-nav > a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav > a:hover,
.site-nav > a.active,
.site-nav > a[aria-current="page"] {
  color: var(--accent);
  text-decoration: none;
}

.lang-switch {
  display: inline-flex;
  gap: 0.25rem;
  margin-left: 0.5rem;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-switch a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.4rem;
  text-decoration: none;
}

.lang-switch a.active,
.lang-switch a:hover {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: var(--border);
}

.btn-danger {
  background: transparent;
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 35%, white);
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
}

.btn-block {
  width: 100%;
}

.site-nav > a.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--navy) !important;
  font-weight: 600;
  font-size: 0.85rem;
}

.site-nav > a.nav-cta:hover,
.site-nav > a.nav-cta[aria-current="page"] {
  background: var(--accent-hover);
  color: var(--navy) !important;
  text-decoration: none;
}

.ops-lines-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 1.25rem 1.5rem;
  width: 100%;
}

.ops-lines-grid .service-item {
  height: 100%;
  min-height: 100%;
}

.ops-line-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: var(--surface-pad);
}

.ops-line-card .service-title {
  margin-bottom: 0.75rem;
}

.ops-line-text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.58;
  color: var(--text);
}

.ops-line-links {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.ops-line-links li + li {
  margin-top: 0.35rem;
}

.ops-line-links a {
  font-size: 0.9rem;
  font-weight: 600;
}

.ops-line-action {
  margin: auto 0 0;
  padding-top: 1.15rem;
}

.ops-consulting-note {
  margin-top: 1.75rem;
}

.ops-programme-lead {
  max-width: 58ch;
  margin: 0 0 1.75rem;
  font-size: 1.02rem;
  line-height: 1.65;
}

.ops-programme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.ops-programme-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 100%;
  padding: var(--surface-pad);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.ops-programme-card:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.ops-programme-card-label {
  font-weight: 600;
  color: var(--navy);
}

.ops-programme-card-arrow {
  color: var(--accent-deep);
  font-weight: 700;
}

.trust-programme-actions-page {
  flex-direction: row;
  flex-wrap: wrap;
  min-width: 0;
}

.trust-programme-actions-page .btn {
  flex: 0 1 auto;
}

.section-trust-programme {
  padding: var(--section-pad-y-compact) 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--navy) 5%, white) 0%,
    var(--white) 100%
  );
}

.trust-programme-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 2.5rem;
  align-items: center;
  padding: var(--surface-pad);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 rgba(10, 25, 41, 0.06);
}

.trust-programme-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.trust-programme-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
}

.trust-programme-lead {
  margin: 0 0 1rem;
  max-width: 52ch;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.trust-programme-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-programme-links a {
  font-size: 0.9rem;
  font-weight: 600;
}

.trust-programme-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: min(100%, 14rem);
}

.trust-programme-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: var(--surface-pad);
  margin-top: 1.5rem;
}

.trust-programme-callout-copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.trust-programme-callout .panel-heading {
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

/* Compact intro / page hero — shared band height */
.intro,
.page-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(var(--hero-band-min) + var(--header-h));
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 2.15rem) 0 2.15rem;
  background: linear-gradient(160deg, #061018 0%, var(--navy) 48%, var(--navy-mid) 100%);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
}

.intro-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
}

.intro-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.intro-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 0;
  animation: rise 0.55s ease both;
}

.intro-kicker {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.intro-title {
  margin: 0 0 0.75rem;
  max-width: none;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 700;
  white-space: nowrap;
}

.intro-for {
  margin: 0;
  max-width: var(--hero-subtitle-max);
  padding-left: 0.85rem;
  border-left: var(--accent-bar);
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0.005em;
}

.page-hero-contact .intro-for {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.55;
}

.section-head,
.section-head-services {
  margin-bottom: 1.75rem;
}

.section-head-services {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem 2.5rem;
  align-items: start;
}

.section-head-services h2 {
  margin: 0;
  padding-top: 0.1rem;
  white-space: nowrap;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--navy);
  letter-spacing: -0.02em;
}

.service-frameworks {
  min-width: 0;
}

.service-frameworks-footer {
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--divider);
}

.service-frameworks-detail {
  margin: 0;
}

.service-frameworks-stack {
  display: grid;
  gap: 0.7rem;
}

.service-frameworks-lead {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.service-frameworks-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
}

.service-frameworks-tags li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.22rem 0.55rem 0.22rem 0.5rem;
  border: 1px solid color-mix(in srgb, var(--border) 78%, var(--navy));
  border-left: var(--accent-bar);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--off-white) 92%, var(--white));
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  white-space: nowrap;
}

.service-frameworks-list {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.section-head-services-solo {
  grid-template-columns: 1fr;
}

.about-thin-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem 3rem;
  align-items: start;
}

.about-thin-grid-solo {
  grid-template-columns: 1fr;
}

.about-thin-main,
.about-thin-leadership {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

/* Section titles (about sub-pages) */
.section-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--navy);
}

.section-title--gap-lg {
  margin-bottom: 1.5rem;
}

.section-title--gap-md {
  margin-bottom: 0.75rem;
}

.about-thin-lead {
  display: grid;
  gap: 0;
}

.about-etymology {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 500;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* Prose blocks — ragged right. Justifying without hyphenation opens rivers of
   whitespace, and these blocks sit in columns too narrow to absorb them. */
.prose-muted,
.about-certifications-disclosure,
.trust-card-label + p,
.cases-note,
.cases-empty {
  text-align: left;
  hyphens: none;
  -webkit-hyphens: none;
}

.prose-muted {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.about-thin-lead > p {
  margin: 0 0 1rem;
  line-height: 1.65;
}

.about-thin-lead > p:last-child {
  margin-bottom: 0;
}

/* Muted lead copy under section titles */
.lead-muted {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  text-align: left;
  hyphens: none;
  -webkit-hyphens: none;
}

.lead-muted--compact {
  font-size: 0.92rem;
  line-height: 1.6;
}

.lead-muted--spaced {
  margin-bottom: 1.35rem;
  line-height: 1.65;
}

.about-presence {
  padding-left: 0.85rem;
  border-left: var(--accent-bar);
  color: var(--text) !important;
}

.about-thin-split {
  display: grid;
  gap: 1.25rem;
  margin-top: 0.65rem;
}

/* Accent divider — gold top rule on stacked blocks */
.accent-divider {
  border-top: var(--accent-bar);
}

.about-thin-split > .accent-divider {
  padding-top: 0.85rem;
}

.about-why-list > .accent-divider {
  margin: 0;
  padding-top: 0.75rem;
}

/* Block label — navy uppercase (mission, vision, why items) */
.label-block {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.about-why-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 2.5rem;
}

.section.about-leadership {
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

.about-leadership-stack {
  display: grid;
  gap: 1rem;
}

/* Accent card — white surface with gold top bar */
.accent-card {
  border: 1px solid var(--border);
  border-top: var(--accent-bar);
  background: var(--white);
  padding: var(--card-pad);
}

.about-leadership-stack .accent-card::after {
  content: "";
  display: table;
  clear: both;
}

.about-leadership-card-aside {
  float: left;
  width: 9.25rem;
  margin: 0 1rem 0.35rem 0;
}

.about-leadership-card-meta {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.35rem;
  text-align: center;
}

.about-leadership-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--border);
  background: var(--off-white);
}

.about-leadership-name {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.about-leadership-role {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--accent-deep);
}

.about-leadership-link {
  margin: 0.15rem auto 0;
}

.contact-audience {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
}

#services,
#contact {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* Sections */
.section {
  padding: var(--section-pad-y) 0;
}

/* Content bands: white → gray → white → gray (hero is div, not counted) */
main > .section:nth-of-type(odd) {
  background: var(--white);
}

main > .section:nth-of-type(even) {
  background: var(--off-white);
}

main > .section + .section {
  border-top: 1px solid var(--border);
}

.section.section-contact-page {
  padding: 2.75rem 0 4rem;
  background:
    linear-gradient(180deg, rgba(10, 25, 41, 0.035) 0%, transparent 7rem),
    var(--white);
}

/* Contact */
.contact-channels {
  --contact-fs: 0.95rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 2.25rem;
  align-items: start;
}

.contact-channel {
  margin: 0;
  min-width: 0;
  text-align: left;
}

.contact-channel-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  font-size: var(--contact-fs);
  line-height: 1.45;
  text-align: left;
  width: 100%;
}

.contact-channel-body-stack {
  gap: 0.3rem;
  width: 100%;
}

.contact-channel-body-stack .detail-line {
  margin: 0;
  width: 100%;
  font-size: var(--contact-fs);
}

.contact-channel-body-stack .detail-sub {
  font-size: var(--contact-fs);
}

.contact-channels .prose-note {
  margin-top: 0.45rem;
  color: var(--ink-subtle);
  font-size: 0.84rem;
  line-height: 1.45;
}

.contact-channel-body a,
.contact-channel-body .meta-muted,
.contact-channel-plain {
  font-size: var(--contact-fs);
  line-height: 1.45;
}

.contact-channel-body a {
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  word-break: break-word;
}

.contact-channel-body a:hover,
.contact-channel-body a:focus-visible {
  color: var(--accent);
}

.contact-channel-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.55rem;
  width: 100%;
}

.contact-channel-row a[data-email-link] {
  min-width: 0;
}

a.contact-pgp {
  flex: 0 0 auto;
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted-mid);
  text-decoration: none;
  line-height: 1.2;
}

a.contact-pgp:hover,
a.contact-pgp:focus-visible {
  color: var(--accent);
}

.contact-channel-plain {
  color: var(--text);
  text-decoration: none;
}

a.contact-channel-plain {
  color: var(--navy);
  font-weight: 500;
}

a.contact-channel-plain:hover,
a.contact-channel-plain:focus-visible {
  color: var(--accent);
}

.contact-channels .detail-label {
  font-size: var(--contact-fs);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-subtle);
}

.contact-channels .detail-value {
  font-size: var(--contact-fs);
}

a[data-email-link] {
  display: inline;
  width: fit-content;
  max-width: 100%;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
}

a[data-email-link]:hover,
a[data-email-link]:focus-visible {
  color: var(--accent);
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

a.contact-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

a.contact-social-icon:hover,
a.contact-social-icon:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
  text-decoration: none;
}

.contact-social-icon img {
  display: block;
  width: 28px;
  height: 28px;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy-mid);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  color: var(--text);
  background: #fbfcfd;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

input:hover,
textarea:hover,
select:hover {
  border-color: color-mix(in srgb, var(--border) 55%, var(--navy-mid));
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--light-blue) 55%, var(--navy));
  background: var(--white);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--light-blue) 28%, transparent);
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.alert p {
  margin: 0.2rem 0;
}

.alert-success {
  background: #e8f8ef;
  color: var(--success);
  border: 1px solid #abefc6;
}

.alert-error {
  background: #fef3f2;
  color: var(--danger);
  border: 1px solid #fecdca;
}

.section.about-thin,
.section.about-why,
.section.about-certifications,
.section.about-leadership,
.section-case-detail,
.section-service-detail,
.section-legal {
  padding: var(--section-pad-y-compact) 0 var(--section-pad-y);
}

.section-service-detail {
  padding-bottom: 3.5rem;
}

.section.section-trust,
.section.section-services,
.section.section-cases,
.section.section-ops,
.section.section-home-cases {
  padding: var(--section-pad-y-compact) 0 var(--section-pad-bottom-tight);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-card-label {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.accent-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.58;
}

.trust-card-label + p {
  color: var(--text);
}

.about-certifications-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-certifications-panel {
  width: 100%;
}

.about-certifications-pro-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.85rem;
}

.about-certifications-pro-cell:nth-child(n + 5) {
  grid-column: span 2;
}

.about-certifications-pro-cell {
  height: 100%;
}

.about-certifications-panel-pro .about-certifications-subtitle {
  margin-bottom: 0;
}

.about-certifications-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.85rem;
}

.about-certifications-subtitle {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.about-certifications-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-pale);
  border: 1px solid var(--accent-soft);
}

.about-certifications-issuer {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.about-certifications-issuer a {
  color: inherit;
  text-decoration: none;
}

.about-certifications-issuer a:hover,
.about-certifications-issuer a:focus-visible {
  color: var(--accent);
}

.about-certifications-scope {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.about-certifications-stack .bullet-list a {
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
}

.about-certifications-stack .bullet-list a:hover,
.about-certifications-stack .bullet-list a:focus-visible {
  color: var(--accent);
}

.about-certifications-disclosure {
  margin: 1.15rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.about-credentials-teaser-card {
  padding: 1.5rem 1.75rem;
}

.about-credentials-teaser-highlights {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.about-credentials-teaser-link {
  margin: 1.15rem 0 0;
}

.about-credentials-teaser-link a {
  font-weight: 600;
  text-decoration: none;
}

.about-credentials-teaser-link a:hover,
.about-credentials-teaser-link a:focus-visible {
  color: var(--accent);
}

/* Accent label — gold uppercase field markers */
.label-accent {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.case-detail-block-body {
  margin: 0;
  padding: var(--surface-pad);
}

.case-detail-block-body .prose-muted {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.case-detail-block-body .prose-muted:last-child {
  margin-bottom: 0;
}

.case-detail-block-body .prose-muted strong {
  color: var(--navy);
  font-weight: 650;
}

.case-detail-block-body .prose-muted em {
  color: var(--text);
  font-style: italic;
  font-weight: 500;
}

.cases-note,
.cases-empty {
  margin: 1.75rem 0 0;
  max-width: var(--prose-width);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.cases-grid {
  max-width: none;
}

.section-more {
  margin: 1.75rem 0 0;
  font-size: 0.95rem;
  font-weight: 650;
}

.section-more a {
  color: var(--accent);
  text-decoration: none;
}

.section-more a:hover,
.section-more a:focus-visible {
  text-decoration: underline;
}

.case-detail-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}

.case-detail-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--off-white) 88%, var(--white));
  color: var(--navy);
  text-decoration: none;
  transition: background 0.2s ease;
}

.case-detail-nav-link-next {
  text-align: right;
}

.case-detail-nav-link:hover,
.case-detail-nav-link:focus-visible {
  background: color-mix(in srgb, var(--off-white) 55%, var(--accent) 8%);
  color: var(--navy);
}

.case-detail-nav-link.is-disabled {
  visibility: hidden;
}

.case-detail-nav-title {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--muted);
}

.section.section-contact-page .contact-channels h2.channel-title {
  margin: 0 0 0.55rem;
  font-size: var(--contact-fs);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--navy);
  line-height: 1.3;
  text-align: left;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 1.25rem 1.5rem;
  width: 100%;
}

.service-item {
  width: 100%;
  height: 100%;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.15rem 1.2rem;
  border: 1px solid var(--border);
  border-top: var(--accent-bar);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--white);
  cursor: pointer;
  animation: rise 0.55s ease both;
  transition:
    background 0.2s ease,
    border-top-color 0.2s ease;
}

.services-grid .service-item:nth-child(1) { animation-delay: 0s; }
.services-grid .service-item:nth-child(2) { animation-delay: 0.08s; }
.services-grid .service-item:nth-child(3) { animation-delay: 0.16s; }
.services-grid .service-item:nth-child(4) { animation-delay: 0.24s; }
.services-grid .service-item:nth-child(5) { animation-delay: 0.32s; }
.services-grid .service-item:nth-child(6) { animation-delay: 0.40s; }
.services-grid .service-item:nth-child(7) { animation-delay: 0.48s; }
.services-grid .service-item:nth-child(8) { animation-delay: 0.56s; }
.services-grid .service-item:nth-child(9) { animation-delay: 0.64s; }
.services-grid .service-item:nth-child(10) { animation-delay: 0.72s; }
.services-grid .service-item:nth-child(n+11) { animation-delay: 0.80s; }

.service-item:hover {
  background: color-mix(in srgb, var(--off-white) 55%, var(--accent) 8%);
  border-top-color: var(--accent-hover);
}

.service-item-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-title {
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.85rem;
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--navy);
  font-weight: 700;
  text-align: left;
}

.service-index {
  display: none;
}

.service-title-text {
  position: static;
  padding-left: 0;
  color: inherit;
  text-decoration: none;
  text-align: left;
}

/* Stretch link hit-area across the whole tile */
.service-title-text::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

a.service-title-text:hover,
a.service-title-text:focus-visible,
.service-item:hover .service-title-text {
  color: inherit;
  text-decoration: none;
}

.service-title-text::before {
  display: none;
}

.service-item p,
.service-description {
  margin: 0;
  width: 100%;
  max-width: none;
  color: var(--muted);
  line-height: 1.55;
  text-align: left;
  hyphens: none;
  -webkit-hyphens: none;
}

.service-deliverables {
  margin-top: 0.95rem;
}

.service-deliverables-rule {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.65rem;
}

.service-deliverables-rule::before,
.service-deliverables-rule::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--divider-mid);
}

.service-deliverables-label {
  flex: 0 0 auto;
  margin: 0;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}

.service-deliverables-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Footer */
.fidelir-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.fidelir-footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.25rem 2rem;
  align-items: center;
}

.fidelir-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.fidelir-footer-brand strong {
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fidelir-footer-copy {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.fidelir-footer-imprint {
  grid-column: 1 / -1;
  margin: 0;
  order: 4;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  line-height: 1.4;
}

.fidelir-footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  justify-self: center;
}

.fidelir-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
}

.fidelir-footer-nav a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.88rem;
}

.fidelir-footer-nav a:hover,
.fidelir-footer-nav a.active {
  color: var(--accent);
  text-decoration: none;
}

.fidelir-footer-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  justify-self: end;
}

.fidelir-footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.fidelir-footer-icon img {
  display: block;
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  opacity: 0.72;
}

.fidelir-footer-icon:hover,
.fidelir-footer-icon:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
  text-decoration: none;
}

.fidelir-footer-icon:hover img,
.fidelir-footer-icon:focus-visible img {
  opacity: 1;
}

.fidelir-footer-ops {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  align-self: stretch;
}

.fidelir-footer-ops a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.fidelir-footer-ops a:hover {
  color: var(--accent);
  text-decoration: none;
}

.page-prose {
  max-width: var(--prose-width);
  margin: 0 auto;
}

.case-detail {
  display: grid;
  gap: 2.75rem;
}

.service-detail {
  display: grid;
  gap: 2.75rem;
}

.service-detail-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding-bottom: 0.25rem;
}

/* Accent surface — off-white panel with gold top bar */
.accent-surface,
.service-panel,
.service-steps-grid li {
  background: var(--off-white);
  border-top: var(--accent-bar);
}

.service-detail-body .accent-surface {
  margin: 0;
  min-height: 100%;
  padding: var(--surface-pad);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.65;
  max-width: none;
}

.service-detail-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.service-panel {
  display: block;
  min-height: 100%;
  margin: 0;
  padding: var(--surface-pad);
}

.service-panel > .mobile-collapse-summary {
  margin-bottom: 0.7rem;
}

/* Panel heading — muted sentence-case labels (service detail) */
.panel-heading {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  line-height: 1.3;
}

.service-detail-engagement > .panel-heading {
  margin-bottom: 0.75rem;
}

.service-panel .mobile-collapse-panel > p,
.service-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Bullet list — accent dot markers */
.bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.bullet-list--tight {
  gap: 0.35rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1rem;
  line-height: 1.5;
  color: var(--muted);
  font-size: 0.95rem;
}

.about-certifications-stack .bullet-list li {
  color: var(--text);
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
}

/* Channel title — compact column labels (contact grid) */
.channel-title {
  margin: 0 0 0.55rem;
  font-size: var(--contact-fs, 0.95rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--navy);
  line-height: 1.3;
  text-align: left;
}

/* Prose — long-form readable content (legal, transparency) */
.prose {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  letter-spacing: 0;
}

.prose-heading {
  margin: 1.85rem 0 0.55rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.prose > .prose-heading:first-child,
.prose > .accent-divider:first-child .prose-heading,
.prose > .prose-section:first-child > .mobile-collapse-summary .prose-heading {
  margin-top: 0;
}

.prose--charter .prose-heading,
.prose--charter .prose-section > .mobile-collapse-summary .prose-heading {
  font-size: 1.02rem;
}

.prose p,
.prose-section .mobile-collapse-panel > p {
  margin: 0 0 0.95rem;
  color: var(--text);
  text-align: justify;
  text-align-last: left;
  hyphens: none;
  -webkit-hyphens: none;
}

.prose a {
  color: var(--accent);
  font-weight: 650;
  text-decoration: none;
}

.prose a:hover,
.prose a:focus-visible {
  color: var(--accent-hover);
  text-decoration: underline;
}

.prose-list {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--text);
  line-height: 1.65;
  text-align: justify;
  text-align-last: left;
  hyphens: none;
  -webkit-hyphens: none;
}

.prose-list li + li {
  margin-top: 0.35rem;
}

.meta-muted {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.meta-muted--emphasis {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.prose-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.detail-line {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.detail-strong {
  color: var(--navy);
  font-weight: 600;
}

.detail-sub {
  margin-top: -0.1rem;
  font-size: 0.86rem;
}

.detail-label {
  display: block;
  margin: 0 0 0.1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.detail-value {
  display: block;
  color: var(--muted);
  word-break: break-word;
}

.prose > .accent-divider:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.service-steps-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-steps-grid li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 1.1rem 1.25rem;
  min-height: 100%;
  border-radius: 0 0 var(--radius) var(--radius);
}

.service-step-num {
  display: block;
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  line-height: 1;
}

.service-step-text {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.mssp-diagrams {
  display: grid;
  gap: 2.25rem;
}

.mssp-figure {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.mssp-figure > .service-detail-body {
  padding-bottom: 0;
}

.mssp-figure figcaption .panel-heading {
  margin-bottom: 0.35rem;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 600;
}

.mssp-figure figcaption .prose-muted {
  margin: 0;
  max-width: none;
}

.mssp-ops {
  display: grid;
  grid-template-columns: minmax(14rem, 0.72fr) auto minmax(0, 1.55fr);
  gap: 0.7rem;
  align-items: center;
  padding: 1.05rem 1rem 1rem;
  background: var(--navy);
  color: var(--white);
  border-top: var(--accent-bar);
}

.mssp-ops-pane {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 0.5rem;
  min-width: 0;
  padding: 0.95rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mssp-ops-run {
  border-color: rgba(201, 162, 39, 0.42);
}

.mssp-ops-kicker {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mssp-ops-client strong {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent-soft);
}

.mssp-ops-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-items: stretch;
  width: 100%;
  gap: 0.35rem;
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
}

.mssp-ops-chips li {
  padding: 0.28rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  line-height: 1.3;
  text-align: center;
}

.mssp-ops-stages {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.5rem;
  align-items: stretch;
  justify-items: stretch;
  width: 100%;
  margin-top: 0.15rem;
}

.mssp-ops-sla {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.mssp-node {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 0.28rem;
  min-width: 0;
  padding: 0.75rem 0.8rem 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mssp-node strong {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.mssp-node span {
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.mssp-k {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.mssp-node-alert {
  border-color: rgba(74, 144, 200, 0.55);
}

.mssp-node-csirt {
  border-color: rgba(201, 162, 39, 0.65);
}

.mssp-chevron {
  width: 0;
  height: 0;
  align-self: center;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--accent);
  opacity: 0.85;
}

.mssp-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  color: var(--muted);
}

.mssp-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.mssp-leg-swatch {
  width: 0.7rem;
  height: 0.7rem;
  border: 1px solid var(--border);
  background: var(--navy);
}

.mssp-leg-data {
  border-color: rgba(255, 255, 255, 0.35);
}

.mssp-leg-alert {
  border-color: var(--light-blue);
  background: var(--light-blue);
}

.mssp-leg-csirt {
  border-color: var(--accent);
  background: var(--accent);
}

.mssp-arch-hint {
  display: none;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.mssp-arch-frame {
  overflow-x: auto;
  background: #061018;
  border-top: var(--accent-bar);
  scrollbar-color: rgba(201, 162, 39, 0.45) #061018;
}

.mssp-svg {
  display: block;
  width: 100%;
  height: auto;
  min-width: 54rem;
  font-family: var(--font);
}

.mssp-svg-bg {
  fill: #061018;
}

.mssp-svg-card {
  fill: #122033;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1;
}

.mssp-svg-card-alert {
  stroke: rgba(74, 144, 200, 0.72);
}

.mssp-svg-card-csirt {
  stroke: rgba(201, 162, 39, 0.78);
}

.mssp-svg-plat {
  fill: #0d1f30;
  stroke: rgba(201, 162, 39, 0.55);
  stroke-width: 1.4;
}

.mssp-svg-kicker {
  fill: var(--accent);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mssp-svg-title {
  fill: var(--accent-soft);
  font-weight: 600;
}

.mssp-svg-sub {
  fill: rgba(255, 255, 255, 0.62);
}

.mssp-svg-arrow {
  fill: none;
  stroke: rgba(201, 162, 39, 0.7);
  stroke-width: 1.4;
}

.mssp-svg-arrow-head,
.mssp-svg-mark {
  fill: var(--accent);
}

.mssp-svg-base {
  fill: #0a1929;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1;
}

.mssp-svg-base-t {
  fill: rgba(255, 255, 255, 0.62);
}

.service-detail-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.6rem;
  background: var(--navy);
}

.service-detail-cta-copy {
  flex: 1;
  min-width: 0;
}

.service-detail-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  max-width: 40rem;
}

.service-detail-cta .btn-primary {
  flex-shrink: 0;
}

.case-detail-block .section-head-services,
.case-detail-services .section-head-services,
.service-detail-cases .section-head-services {
  display: block;
  margin-bottom: 1rem;
}

.case-detail-services .section-more,
.service-detail-cases .section-more {
  margin: 1rem 0 0;
}

/* Cross-link grids hold 1–3 curated items, so an odd last card would leave a
   half-empty row next to it. The index grids are excluded — they are paginated
   to even counts. */
.case-detail-services .services-grid > .service-item:last-child:nth-child(odd),
.service-detail-cases .services-grid > .service-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.case-detail-services + .case-detail-nav {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
}

.service-detail-cases + .service-detail-cta {
  margin-top: -1.75rem;
}

.transparency-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 1.15rem 0 0;
  padding: 0;
}

.transparency-stat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.5rem;
  align-items: baseline;
  padding: 0.75rem 0;
  border-top: 1px solid var(--divider);
}

.transparency-stat:last-child {
  border-bottom: 1px solid var(--divider);
}

.transparency-stat dt {
  margin: 0;
  font-weight: 500;
  color: var(--text);
}

.transparency-stat dd {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

/* Collapsible sections: open on desktop, closed on mobile via JS */
.mobile-collapse {
  margin: 0;
}

.mobile-collapse-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  list-style: none;
  cursor: pointer;
}

.mobile-collapse-summary::-webkit-details-marker {
  display: none;
}

.mobile-collapse-summary-text {
  flex: 1 1 auto;
  min-width: 0;
}

.mobile-collapse-chevron {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.2em;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.mobile-collapse[open] > .mobile-collapse-summary .mobile-collapse-chevron {
  transform: rotate(225deg);
  margin-top: 0.45em;
}

.mobile-collapse-panel {
  margin-top: 0.55rem;
}

.service-frameworks.mobile-collapse > .mobile-collapse-summary .mobile-collapse-summary-text {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 500;
}

@media (min-width: 861px) {
  .mobile-collapse > .mobile-collapse-summary {
    cursor: default;
    pointer-events: none;
  }

  .mobile-collapse-chevron {
    display: none;
  }

  /* Show body even if details lacks [open] (no-JS / before sync) */
  .mobile-collapse > .mobile-collapse-panel {
    display: block !important;
  }

  .about-thin-split > .accent-divider > .mobile-collapse-summary {
    margin-bottom: 0.4rem;
  }

  .about-why-list > .accent-divider > .mobile-collapse-summary {
    margin-bottom: 0.35rem;
  }

  .service-frameworks.mobile-collapse > .mobile-collapse-summary {
    margin-bottom: 0.45rem;
  }

  .service-detail-engagement > .panel-heading {
    margin-bottom: 0.75rem;
  }

  .prose-section > .mobile-collapse-summary .mobile-collapse-summary-text {
    display: block;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .about-certifications-pro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-certifications-pro-cell:nth-child(n + 5) {
    grid-column: span 1;
  }

  .service-detail-body,
  .service-detail-panels {
    grid-template-columns: 1fr;
  }

  .mssp-ops {
    grid-template-columns: 1fr;
  }

  .mssp-ops > .mssp-chevron,
  .mssp-ops-stages .mssp-chevron {
    justify-self: center;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--accent);
    border-bottom: 0;
    width: 0;
    height: 0;
  }

  .mssp-ops-stages {
    grid-template-columns: 1fr;
  }

  .mssp-ops-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    padding: 1rem;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 99;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-nav > a.nav-cta {
    justify-content: center;
    margin: 0.75rem 0.5rem 0.25rem;
  }

  .trust-programme-band {
    grid-template-columns: 1fr;
  }

  .ops-lines-grid {
    grid-template-columns: 1fr;
  }

  .ops-programme-grid {
    grid-template-columns: 1fr;
  }

  .trust-programme-actions-page {
    flex-direction: column;
    width: 100%;
  }

  .trust-programme-actions {
    width: 100%;
  }

  .lang-switch {
    margin: 0.75rem 0 0;
    padding: 0.75rem 0.5rem 0.25rem;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .contact-channels,
  .about-thin-grid,
  .about-why-list,
  .about-leadership-stack,
  .about-certifications-pro-grid,
  .trust-grid,
  .section-head-services,
  .service-detail-body,
  .service-detail-panels,
  .service-steps-grid {
    grid-template-columns: 1fr;
  }

  .about-certifications-pro-cell:nth-child(n + 5) {
    grid-column: auto;
  }

  /* Catalogue cards keep their body copy here: two columns still leave a
     ~37–51 character measure. Below 640px the grid drops to one column. */
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 0.85rem;
  }

  .service-item {
    padding: 0.9rem 0.85rem 1rem;
    height: 100%;
    align-items: stretch;
    justify-content: flex-start;
  }

  .service-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    line-height: 1.3;
    width: 100%;
  }

  .services-grid .service-description,
  .cases-grid .service-description {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .mobile-collapse > .mobile-collapse-summary {
    padding: 0.15rem 0;
  }

  .label-block {
    margin: 0;
  }

  .prose-section {
    border-top: 1px solid var(--border);
    padding: 0.35rem 0 0.15rem;
  }

  .prose-section > .mobile-collapse-summary .prose-heading {
    margin: 0.65rem 0;
  }

  .prose > .prose-section:first-child {
    border-top: 0;
  }

  .service-detail-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .service-detail-cta .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .mssp-arch-hint {
    display: block;
  }

  .mssp-svg {
    min-width: 48rem;
  }

  .contact-channels {
    gap: 1.75rem;
  }

  .fidelir-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .fidelir-footer-imprint {
    order: 0;
  }

  .fidelir-footer-nav {
    justify-content: center;
  }

  .fidelir-footer-end {
    justify-content: center;
    justify-self: center;
  }

  .intro-inner {
    padding: 0;
  }

  .intro,
  .page-hero {
    min-height: calc(11.25rem + var(--header-h));
    padding: calc(var(--header-h) + 1.5rem) 0 1.5rem;
  }

  .intro-for {
    white-space: normal;
  }

  .intro-title {
    white-space: normal;
    max-width: 18ch;
    font-size: clamp(1.45rem, 5.5vw, 1.85rem);
  }

  .section.section-trust,
  .section.section-services,
  .section.section-ops,
  .section.section-home-cases {
    padding: 1.5rem 0 1rem;
  }
}

/* Two catalogue columns fall under ~34 characters per line here, so the grid
   goes single-column and cards size to their own content. */
@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .service-item {
    height: auto;
  }
}
