/* Digital Trust website. Brand colours and fonts carried over from the original site:
   very dark brown #321E1E, dark brown #4E3636, red #CD1818, white; Montserrat headings, Lato text. */
:root {
  --brown-900: #321e1e;
  --brown-950: #241515;
  --brown-700: #4e3636;
  --red: #cd1818;
  --red-dark: #9f1313;
  --red-tint: #fbeaea;
  --white: #fff;
  --grey-50: #f8f9fa;
  --grey-100: #e9ecef;
  --sand: #faf6f5;

  --text: var(--brown-900);
  --text-muted: #6f5b5b;
  --line: #ece4e3;
  --line-strong: #d9cccb;
  --on-dark: #fff;
  --on-dark-muted: rgba(255, 255, 255, .74);
  --on-dark-faint: rgba(255, 255, 255, .5);
  --line-dark: rgba(255, 255, 255, .14);
  --line-dark-strong: rgba(255, 255, 255, .34);
  --header-bg: rgba(255, 255, 255, .86);

  --font-heading: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Type scale. Display headings use fluid sizes (clamp) at their own rules. */
  --text-2xs: 12px;
  --text-xs: 13px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-md: 18px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 28px;

  --leading-none: 1.05;
  --leading-tight: 1.25;
  --leading-normal: 1.55;
  --leading-relaxed: 1.7;

  /* Spacing on a 4px grid; the number is the multiple of 4px (--space-6 = 24px). */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  --gutter: 24px;
  --radius: 6px;     /* the corner of a logo tile */
  --radius-lg: 14px; /* cards */
  --hover: .18s;     /* duration of every hover and focus change */
  --motion: .5s;     /* things that move or appear */
  --shadow-card: 0 24px 48px -24px rgba(50, 30, 30, .28);

  /* Stacking layers, lowest first. */
  --z-header: 50;
  --z-consent: 60;
  --z-skip: 100;
  --header-h: 76px;
  --max: 1200px;
  color-scheme: light;
}

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

/* In-page links land just below the sticky header and its 1px border. */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--hover); }
a:where(:hover) { color: var(--red-dark); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background-color: var(--red); color: var(--white); }

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: inherit; overflow-wrap: break-word; text-wrap: balance; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: var(--z-skip);
  padding: var(--space-2) var(--space-4); background-color: var(--red); color: var(--white);
}
.skip:focus { left: 8px; color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background-color: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--hover);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: var(--space-10); height: var(--header-h); }

.brand { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; color: var(--brown-900); }
.brand:hover { color: var(--brown-900); }
.brand img { width: 36px; height: 36px; }
.brand span {
  font-family: var(--font-heading); font-weight: 800; font-size: var(--text-sm);
  line-height: var(--leading-none); letter-spacing: .08em; text-transform: uppercase;
}

.nav { display: flex; gap: var(--space-8); margin-left: auto; }
.nav a {
  position: relative; padding: var(--space-2) 0;
  font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 600; color: var(--brown-900);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background-color: var(--red); transform: scaleX(0); transform-origin: left; transition: transform var(--hover);
}
.nav a:hover { color: var(--red); }
.nav a:hover::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: var(--space-3); }
.brand + .header-tools { margin-left: auto; }

.menu-btn {
  display: none; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: none; color: var(--brown-900); cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 2px; background-color: currentColor; border-radius: 1px;
  transition: transform var(--hover), background-color var(--hover);
}
.menu-btn span { position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background-color: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 52px; padding: 0 var(--space-7);
  border: 2px solid transparent; border-radius: var(--radius);
  font-family: var(--font-heading); font-size: var(--text-base); font-weight: 700; line-height: var(--leading-none);
  white-space: nowrap; cursor: pointer;
  transition: background-color var(--hover), border-color var(--hover), color var(--hover), transform var(--hover), box-shadow var(--hover);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background-color: var(--red); border-color: var(--red); color: var(--white); }
.btn-primary:hover { background-color: var(--red-dark); border-color: var(--red-dark); color: var(--white); box-shadow: 0 12px 24px -12px rgba(205, 24, 24, .6); }
.btn-ghost { background-color: transparent; border-color: var(--edge, var(--brown-900)); color: var(--ink, var(--brown-900)); }
.btn-ghost:hover { background-color: var(--ink, var(--brown-900)); border-color: var(--ink, var(--brown-900)); color: var(--ink-reverse, var(--white)); }
.btn-sm { min-height: 42px; padding: 0 var(--space-5); font-size: var(--text-sm); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* Dark surfaces flip the outlined buttons. */
.hero, .approach, .contact, .consent { --ink: var(--white); --ink-reverse: var(--brown-900); --edge: var(--line-dark-strong); }

/* ---------- Shared type ---------- */
.section { position: relative; padding: var(--space-32) 0; }
.section-head { max-width: 760px; margin-bottom: var(--space-16); }
.section h2 {
  font-weight: 800; font-size: clamp(32px, 4.4vw, 54px); line-height: var(--leading-none); letter-spacing: -.03em;
}
.section-head p, .why-intro p, .training-intro > p:first-of-type {
  margin-top: var(--space-6); font-size: var(--text-lg); line-height: var(--leading-normal); color: var(--text-muted);
}
.eyebrow, .engagement-label {
  font-family: var(--font-heading); font-size: var(--text-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}

.card {
  position: relative;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

/* Scroll reveal, switched on by site.js only. */
.reveal-on .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--motion) ease-out, transform var(--motion) ease-out; }
.reveal-on .reveal.in { opacity: 1; transform: none; }
@media print { .reveal-on .reveal { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: var(--space-24) 0 var(--space-12);
  background-color: var(--brown-900);
  background-image:
    radial-gradient(circle at 82% 18%, rgba(205, 24, 24, .32), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(78, 54, 54, .9), transparent 50%);
  color: var(--on-dark);
}
/* A faint grid, like squared paper, fading out towards the bottom. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: var(--space-16); }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-4); border: 1px solid var(--line-dark); border-radius: 999px;
  color: var(--on-dark-muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background-color: var(--red); }
.hero h1 {
  margin-top: var(--space-6);
  font-weight: 800; font-size: clamp(40px, 6.2vw, 80px); line-height: var(--leading-none); letter-spacing: -.035em;
}
/* The accent word sits on a red bar, like a highlighter stroke: red text on dark brown would be too faint. */
.hero h1 .accent {
  padding: 0 .06em;
  background-image: linear-gradient(transparent 60%, var(--red) 60%, var(--red) 90%, transparent 90%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero .lead { max-width: 600px; margin-top: var(--space-8); font-size: var(--text-lg); line-height: var(--leading-normal); color: var(--on-dark-muted); }
.hero .actions { margin-top: var(--space-10); }

/* The logo grid at large size: TRUST in 7-bit binary, one letter per row. */
.mark { justify-self: end; width: 100%; max-width: 400px; }
.mark-grid { position: relative; display: grid; gap: var(--space-2); overflow: hidden; }
.mark-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--space-2); align-items: center; }
.tile {
  aspect-ratio: 40 / 64; border-radius: var(--radius);
  background-color: var(--red);
  animation: tile-in .6s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: calc(var(--i) * 22ms + .15s);
}
.tile.on { background-color: var(--brown-700); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
/* A slow scan line passes over the grid. */
.mark-grid::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%; pointer-events: none;
  background-image: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .16), transparent);
  animation: scan 7s 1.6s linear infinite both;
}
@keyframes tile-in { from { opacity: 0; transform: scale(.6); } }
@keyframes scan { from { transform: translateY(-110%); } to { transform: translateY(360%); } }

.highlights {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: var(--space-20); padding: 0;
  border-top: 1px solid var(--line-dark);
}
.highlights li { list-style: none; display: grid; align-content: start; gap: var(--space-2); padding: var(--space-8) var(--space-6) var(--space-4); }
.highlights li + li { border-left: 1px solid var(--line-dark); }
.highlights li:first-child { padding-left: 0; }
.highlights strong { font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 800; line-height: var(--leading-tight); letter-spacing: -.02em; }
.highlights span { font-size: var(--text-sm); line-height: var(--leading-normal); color: var(--on-dark-muted); }

/* ---------- Services ---------- */
.group { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-12); padding: var(--space-14) 0; border-top: 1px solid var(--line); }
.group:last-child { padding-bottom: 0; }
.group-head { position: sticky; top: calc(var(--header-h) + var(--space-8)); align-self: start; }
.group-head h3 { font-size: var(--text-2xl); font-weight: 800; line-height: var(--leading-tight); letter-spacing: -.02em; }
.group-head p:last-child { margin-top: var(--space-3); color: var(--text-muted); }
.group-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }

.service { display: flex; flex-direction: column; overflow: hidden; transition: transform var(--hover), box-shadow var(--hover), border-color var(--hover); }
/* A red bar slides in along the top edge on hover. */
.service::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background-color: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform var(--motion);
}
/* An odd card out spans the row instead of leaving a hole. */
.group-cards .service:last-child:nth-child(odd) { grid-column: 1 / -1; }
.service:hover { border-color: var(--line-strong); box-shadow: var(--shadow-card); transform: translateY(-3px); }
.service:hover::before { transform: scaleX(1); }
.service h4 { margin-top: var(--space-6); font-size: var(--text-md); font-weight: 700; line-height: var(--leading-tight); }
.service p { margin-top: var(--space-3); color: var(--text-muted); }
.service .more { margin-top: auto; padding-top: var(--space-5); font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 700; }

.icon { position: relative; display: block; width: 48px; height: 48px; border-radius: var(--radius); background-color: var(--red-tint); }
.icon::before {
  content: ""; position: absolute; inset: var(--space-3); background-color: var(--red);
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}

/* ---------- How we work ---------- */
.approach { overflow: hidden; background-color: var(--brown-900); color: var(--on-dark); }
.approach .section-head p { color: var(--on-dark-muted); }
.scribble { position: absolute; top: -40px; right: -60px; width: 520px; opacity: .1; pointer-events: none; }
.engagements { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); padding: 0; counter-reset: engagement; }
.engagement { list-style: none; padding-top: var(--space-8); border-top: 2px solid var(--line-dark-strong); counter-increment: engagement; transition: border-color var(--hover); }
.engagement:hover { border-top-color: var(--red); }
.engagement::before {
  content: counter(engagement, decimal-leading-zero); display: block; margin-bottom: var(--space-6);
  font-family: var(--font-heading); font-size: clamp(40px, 4vw, 56px); font-weight: 800; line-height: var(--leading-none); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px var(--line-dark-strong);
}
.engagement-label { color: var(--on-dark-faint); }
.engagement h3 { margin-top: var(--space-3); font-size: var(--text-lg); font-weight: 700; line-height: var(--leading-tight); }
.engagement p:last-child { margin-top: var(--space-3); color: var(--on-dark-muted); }

/* ---------- Why us ---------- */
.why { background-color: var(--sand); }
.why .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-20); align-items: start; }
.why-intro { position: sticky; top: calc(var(--header-h) + var(--space-8)); }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-10) var(--space-8); padding: 0; }
.principles li { list-style: none; position: relative; padding-top: var(--space-16); }
/* A red disc with a white tick. */
.principles li::before, .principles li::after { content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 40px; }
.principles li::before { border-radius: 50%; background-color: var(--red); }
.principles li::after {
  background-color: var(--white);
  -webkit-mask: var(--i) center / 22px no-repeat; mask: var(--i) center / 22px no-repeat;
}
.principles h3 { font-size: var(--text-lg); font-weight: 700; line-height: var(--leading-tight); }
.principles p { margin-top: var(--space-3); color: var(--text-muted); }

/* ---------- Training ---------- */
.training .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-20); align-items: start; }
.training-format {
  display: inline-block; margin: var(--space-8) 0 var(--space-10); padding: var(--space-2) var(--space-4);
  border-radius: 999px; background-color: var(--red-tint);
  font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 600; color: var(--red-dark);
}
.training-intro .btn { display: flex; width: fit-content; }
.courses { padding: 0; counter-reset: course; border-top: 1px solid var(--line); }
.courses li {
  list-style: none; display: flex; align-items: baseline; gap: var(--space-6);
  padding: var(--space-6) var(--space-2); border-bottom: 1px solid var(--line); counter-increment: course;
  font-family: var(--font-heading); font-size: var(--text-lg); font-weight: 600; line-height: var(--leading-tight);
  transition: background-color var(--hover), padding var(--hover);
}
.courses li::before { content: counter(course, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--text-sm); font-weight: 400; color: var(--red); }
.courses li:hover { padding-left: var(--space-4); background-color: var(--sand); }

/* ---------- Contact ---------- */
.contact {
  background-color: var(--brown-900);
  background-image: radial-gradient(circle at 10% 0%, rgba(205, 24, 24, .26), transparent 40%);
  color: var(--on-dark);
}
.contact .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-20); align-items: start; }
.contact .lead { margin-top: var(--space-6); font-size: var(--text-lg); color: var(--on-dark-muted); }
.contact-email { margin-top: var(--space-8); color: var(--on-dark-muted); }
.contact-email a { display: block; margin-top: var(--space-1); font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 700; color: var(--on-dark); }
.contact-email a:hover { color: var(--on-dark-muted); }

.form { --ink: var(--brown-900); --ink-reverse: var(--white); --edge: var(--line-strong); color: var(--text); padding: var(--space-10); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); }
.form .fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.field { display: grid; gap: var(--space-2); }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 600; }
.field label .req { font-family: var(--font-body); font-weight: 400; color: var(--text-muted); }
.field input, .field textarea {
  width: 100%; padding: var(--space-3) var(--space-4);
  background-color: var(--grey-50); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--radius); -webkit-appearance: none; appearance: none;
  font-family: var(--font-body); font-size: var(--text-base); line-height: var(--leading-normal);
  transition: border-color var(--hover), box-shadow var(--hover), background-color var(--hover);
}
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field textarea:focus { outline: none; background-color: var(--white); border-color: var(--brown-900); box-shadow: 0 0 0 3px rgba(50, 30, 30, .12); }
.form .actions { margin-top: var(--space-8); }

/* ---------- Footer ---------- */
.site-footer { padding: var(--space-8) 0 var(--space-10); background-color: var(--brown-950); color: var(--on-dark-muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); }
.footer-brand { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-sm); }
.site-footer img { width: 24px; height: 24px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); padding: 0; }
.site-footer li { list-style: none; font-size: var(--text-sm); }
/* The Cookie Preferences button looks and behaves exactly like the links next to it. */
.site-footer a, .site-footer .link { color: var(--on-dark-muted); }
.site-footer .link { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; transition: color var(--hover); }
.site-footer a:hover, .site-footer .link:hover { color: var(--on-dark); }

/* ---------- Cookie consent ---------- */
.consent {
  position: fixed; left: var(--gutter); bottom: var(--gutter); z-index: var(--z-consent); width: min(460px, calc(100% - 2 * var(--gutter)));
  padding: var(--space-6); border-radius: var(--radius-lg);
  background-color: var(--brown-900); border: 1px solid var(--line-dark); color: var(--on-dark-muted);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5);
  font-size: var(--text-sm); line-height: var(--leading-normal);
}
.consent[hidden] { display: none; }
.consent-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-2); }
.consent h2 { font-size: var(--text-base); font-weight: 700; color: var(--on-dark); }
.consent a { color: var(--on-dark-muted); text-decoration: underline; white-space: nowrap; }
.consent a:hover { color: var(--on-dark); }
.consent-options { display: grid; gap: var(--space-2); margin-top: var(--space-4); }
.consent-options label { display: flex; align-items: flex-start; gap: var(--space-3); cursor: pointer; }
.consent-options input { flex-shrink: 0; width: 16px; height: 16px; margin: var(--space-1) 0 0; accent-color: var(--red); cursor: pointer; }
.consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-5); }

/* ---------- Legal pages ---------- */
.legal { padding: var(--space-24) 0 var(--space-32); }
.legal .wrap { max-width: 800px; }
.legal h1 { margin: 0 0 var(--space-3); font-weight: 800; font-size: clamp(36px, 5vw, 56px); line-height: var(--leading-none); letter-spacing: -.03em; }
.legal .updated { color: var(--text-muted); font-size: var(--text-sm); margin-bottom: var(--space-12); }
.legal h2 { margin: var(--space-12) 0 var(--space-4); font-size: var(--text-xl); font-weight: 700; line-height: var(--leading-tight); }
.legal h3 { margin: var(--space-8) 0 var(--space-2); font-size: var(--text-md); font-weight: 700; }
.legal p, .legal li { color: var(--text-muted); font-size: var(--text-base); line-height: var(--leading-relaxed); }
.legal p + p { margin-top: var(--space-4); }
.legal ul { margin: var(--space-3) 0 var(--space-4); padding-left: var(--space-6); }
.legal li + li { margin-top: var(--space-2); }
.legal li::marker { color: var(--red); }
.legal strong { color: var(--text); }
.legal a { overflow-wrap: anywhere; }

/* ---------- Icons (masks, filled with the background colour) ---------- */
.i-compass { --i: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%229%22/%3E%3Cpath%20d=%22M15.5%208.5l-2%205-5%202%202-5z%22/%3E%3C/svg%3E"); }
.i-route { --i: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%226%22%20cy=%2219%22%20r=%222%22/%3E%3Ccircle%20cx=%2218%22%20cy=%225%22%20r=%222%22/%3E%3Cpath%20d=%22M8%2019h7.5a3.5%203.5%200%200%200%200-7h-7a3.5%203.5%200%200%201%200-7H16%22/%3E%3C/svg%3E"); }
.i-mentor { --i: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%229%22%20cy=%228%22%20r=%223.5%22/%3E%3Cpath%20d=%22M2.5%2020a6.5%206.5%200%200%201%2013%200%22/%3E%3Cpath%20d=%22M16%204.6a3.5%203.5%200%200%201%200%206.8%22/%3E%3Cpath%20d=%22M18.5%2014.6A6.5%206.5%200%200%201%2021.5%2020%22/%3E%3C/svg%3E"); }
.i-embed { --i: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M8%206l-6%206%206%206M16%206l6%206-6%206M14%204l-4%2016%22/%3E%3C/svg%3E"); }
.i-lifebuoy { --i: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%2210%22/%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%224%22/%3E%3Cpath%20d=%22M4.9%204.9l4.3%204.3M14.8%209.2l4.3-4.3M14.8%2014.8l4.3%204.3M9.2%2014.8l-4.3%204.3%22/%3E%3C/svg%3E"); }
.i-layers { --i: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M12%203l9%204.5-9%204.5-9-4.5z%22/%3E%3Cpath%20d=%22M3%2012l9%204.5%209-4.5%22/%3E%3Cpath%20d=%22M3%2016.5L12%2021l9-4.5%22/%3E%3C/svg%3E"); }
.i-review { --i: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2211%22%20cy=%2211%22%20r=%227%22/%3E%3Cpath%20d=%22M21%2021l-4.3-4.3%22/%3E%3Cpath%20d=%22M8%209.5h6M8%2012.5h4%22/%3E%3C/svg%3E"); }
.i-target { --i: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%228%22/%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%223.5%22/%3E%3Cpath%20d=%22M12%201.5v4M12%2018.5v4M1.5%2012h4M18.5%2012h4%22/%3E%3C/svg%3E"); }
.i-badge { --i: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M12%202l8%203v6c0%205-3.4%209.2-8%2011-4.6-1.8-8-6-8-11V5z%22/%3E%3Cpath%20d=%22M8.5%2012l2.5%202.5%204.5-5%22/%3E%3C/svg%3E"); }
.i-siren { --i: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M10.3%203.9L1.8%2018a2%202%200%200%200%201.7%203h17a2%202%200%200%200%201.7-3L13.7%203.9a2%202%200%200%200-3.4%200z%22/%3E%3Cpath%20d=%22M12%209v4M12%2017h.01%22/%3E%3C/svg%3E"); }
.i-pulse { --i: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M2%2012h4l3-8%205%2016%203-8h5%22/%3E%3C/svg%3E"); }
.i-check { --i: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M5%2012.5l4.5%204.5L19%207.5%22/%3E%3C/svg%3E"); }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: var(--space-10); }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .highlights li:nth-child(3) { padding-left: 0; border-left: 0; }
  .highlights li:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
  .group { grid-template-columns: 1fr; gap: var(--space-8); }
  .group-head { position: static; max-width: 640px; }
  .engagements { grid-template-columns: repeat(2, 1fr); gap: var(--space-12) var(--space-8); }
  .why .wrap, .training .wrap, .contact .wrap { grid-template-columns: 1fr; gap: var(--space-12); }
  .why-intro { position: static; max-width: 720px; }
}

@media (max-width: 900px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: var(--space-2) var(--gutter) var(--space-5);
    background-color: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-card);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--hover), transform var(--hover), visibility 0s var(--hover);
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity var(--hover), transform var(--hover); }
  .nav a { padding: var(--space-4) 0; font-size: var(--text-md); border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .header-tools { margin-left: auto; }
  .menu-btn { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .mark { justify-self: start; max-width: 340px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 64px; }
  .section { padding: var(--space-20) 0; }
  .section-head { margin-bottom: var(--space-10); }
  .section-head p, .why-intro p, .training-intro > p:first-of-type, .hero .lead, .contact .lead { font-size: var(--text-md); }
  .hero { padding: var(--space-14) 0 var(--space-8); }
  .eyebrow { padding: 0; border: 0; font-size: var(--text-2xs); letter-spacing: .1em; }
  .hero .actions .btn { flex: 1 1 auto; }
  .mark { max-width: 280px; }
  .highlights { grid-template-columns: 1fr 1fr; margin-top: var(--space-14); }
  .highlights li { padding: var(--space-6) var(--space-4) var(--space-4); }
  .highlights strong { font-size: var(--text-xl); }
  .site-header .wrap { gap: var(--space-4); }
  .header-tools .btn-header { display: none; }
  .group { padding: var(--space-12) 0; }
  .group-cards, .principles { grid-template-columns: 1fr; }
  .card { padding: var(--space-6); }
  .engagements { grid-template-columns: 1fr; gap: var(--space-10); }
  .scribble { width: 320px; }
  .courses li { font-size: var(--text-md); gap: var(--space-4); }
  .form { padding: var(--space-6); }
  .form .fields { grid-template-columns: 1fr; }
  .form .actions .btn { flex: 1 1 auto; }
  .consent { left: 0; bottom: 0; width: 100%; padding: var(--space-5) var(--gutter); border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-width: 1px 0 0; }
  .consent-actions .btn { flex: 1 1 auto; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
}

@media (max-width: 400px) {
  .highlights { grid-template-columns: 1fr; }
  .highlights li, .highlights li + li { padding-left: 0; border-left: 0; }
  .highlights li + li { border-top: 1px solid var(--line-dark); }
  .btn { padding: 0 var(--space-5); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* stylelint-disable-next-line declaration-no-important -- reduced motion must beat every component rule */
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mark-grid::after { display: none; }
}
