/**
 * OnModus campaign section treatments.
 *
 * Built against design.md section 4: exact brand tokens, 4-8px card radius,
 * Poppins headings / Inter body, alternating white / off-white / cream / navy
 * sections, green as an accent rather than as text.
 */

/* ============================================================ audience set */
/*
 * "Who it is for" was three near-identical rows of prose — the weakest block
 * on the page despite carrying the buyer/participant distinction the whole
 * campaign depends on. Rebuilt as a navy decision panel: the two audiences
 * read as substantial cards, and the scope boundary is deliberately demoted
 * so it reads as a guard rail instead of a third option.
 */

.audience-matrix {
  --am-navy: #00254b;
  --am-navy-deep: #00254b;
  --am-green: #16a085;
  --am-green-ref: #00cb99;
  --am-gold: #f39c12;

  position: relative;
  display: grid;
  overflow: hidden;
  padding: clamp(1.75rem, 4vw, 3rem);
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 203, 153, 0.11), transparent 26rem),
    radial-gradient(circle at 88% 100%, rgba(245, 158, 11, 0.08), transparent 24rem),
    var(--am-navy);
  isolation: isolate;
}

/* Shared commercial facts and availability pattern used by both training pages. */
.course-card__duration,
.course-card__price[aria-hidden="true"],
.fabric-course-card__price[aria-hidden="true"] {
  display: none;
}

.course-commercial-facts,
.course-availability__sessions {
  display: grid;
  gap: 0.55rem;
  width: 100%;
  margin: 0;
  padding: 0;
}

.course-commercial-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: auto;
}

.course-commercial-fact {
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid rgba(0, 37, 75, 0.16);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.72);
}

.course-commercial-fact dt {
  color: var(--navy-700, #12456f);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-commercial-fact dd {
  margin: 0.22rem 0 0;
  color: var(--ink, #00254b);
  font-weight: 800;
  line-height: 1.3;
}

.course-commercial-fact dd strong,
.course-commercial-fact dd small {
  display: block;
}

.course-commercial-fact dd small {
  margin-top: 0.16rem;
  font-size: 0.72rem;
  font-weight: 650;
}

.course-availability {
  display: grid;
  width: 100%;
  gap: 0.55rem;
}

.course-availability__sessions {
  list-style: none;
}

.course-date {
  display: grid;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.58rem 0.68rem;
  border: 1px solid rgba(0, 37, 75, 0.2);
  border-radius: 0.55rem;
  background: #fff;
  color: var(--navy-900, #00254b);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.course-date span {
  font-weight: 800;
}

.course-date small,
.course-availability__message {
  color: var(--body, #425d70);
  font-size: 0.76rem;
  font-weight: 650;
}

.course-date:focus-visible {
  outline: 3px solid var(--teal-500, #00cb99);
  outline-offset: 2px;
}

.course-date--full:disabled {
  border-style: dashed;
  background: var(--cream-100, #f7f2e9);
  color: var(--body, #425d70);
  cursor: not-allowed;
  opacity: 1;
}

.course-availability__message {
  margin: 0;
  padding: 0.75rem;
  border-left: 3px solid var(--teal-500, #00cb99);
  background: rgba(0, 203, 153, 0.08);
}

@media (max-width: 30rem) {
  .course-commercial-facts {
    grid-template-columns: 1fr;
  }
}

/* Fine grid, matching the hero's light field. */
.audience-matrix::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 3rem 3rem;
  content: "";
  pointer-events: none;
}

.audience-matrix__card {
  position: relative;
  z-index: 1;
  display: grid;
  padding: clamp(1.35rem, 2.5vw, 1.9rem);
  gap: 0.7rem;
  align-content: start;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 3px solid var(--am-green-ref);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(10px);
}

/* Oversized ghost numeral for weight, kept far behind the text. */
.audience-matrix__card::after {
  position: absolute;
  right: 0.75rem;
  bottom: 0.15rem;
  z-index: -1;
  color: rgba(255, 255, 255, 0.05);
  content: attr(data-index);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.audience-matrix__role {
  color: var(--am-green-ref);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.audience-matrix__card h3 {
  margin: 0;
  color: #ffffff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.audience-matrix__card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.audience-matrix__tags {
  display: flex;
  margin: 0.25rem 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
}

.audience-matrix__tags li {
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.75rem;
  font-weight: 500;
}

/* The boundary spans both columns and reads as a rule, not a choice. */
.audience-matrix__boundary {
  position: relative;
  z-index: 1;
  display: grid;
  padding: 1.1rem 1.35rem;
  gap: 0.35rem 1.1rem;
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr;
  align-items: center;
  border: 1px dashed rgba(245, 158, 11, 0.42);
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.06);
}

.audience-matrix__boundary .audience-matrix__role {
  color: var(--am-gold);
}

.audience-matrix__boundary h3 {
  margin: 0;
  color: #ffffff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
}

.audience-matrix__boundary p {
  margin: 0;
  grid-column: 2;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  line-height: 1.55;
}

.audience-matrix__boundary .audience-matrix__role {
  grid-row: span 2;
  align-self: start;
  padding-top: 0.2rem;
}

/* Staggered fade-and-rise, design.md section 7. */
.js-reveal-ready .audience-matrix[data-reveal] .audience-matrix__card,
.js-reveal-ready .audience-matrix[data-reveal] .audience-matrix__boundary {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 620ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.js-reveal-ready .audience-matrix.is-visible .audience-matrix__card,
.js-reveal-ready .audience-matrix.is-visible .audience-matrix__boundary {
  opacity: 1;
  transform: none;
}

.js-reveal-ready .audience-matrix.is-visible .audience-matrix__card:nth-child(2) { transition-delay: 90ms; }
.js-reveal-ready .audience-matrix.is-visible .audience-matrix__card:nth-child(3) { transition-delay: 180ms; }
.js-reveal-ready .audience-matrix.is-visible .audience-matrix__boundary { transition-delay: 270ms; }

@media (max-width: 52rem) {
  .audience-matrix {
    grid-template-columns: 1fr;
  }

  .audience-matrix__boundary {
    gap: 0.5rem;
    grid-template-columns: 1fr;
  }

  .audience-matrix__boundary p,
  .audience-matrix__boundary .audience-matrix__role {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal-ready .audience-matrix[data-reveal] .audience-matrix__card,
  .js-reveal-ready .audience-matrix[data-reveal] .audience-matrix__boundary {
    opacity: 1;
    transform: none;
    transition: none !important;
  }

  .audience-matrix__card {
    backdrop-filter: none;
  }
}

/* ============================================================ location */
/*
 * Client feedback (2026-08-19) asked whether showing the office sparks
 * interest, and supplied two copy options: one sentence, or a pair of benefit
 * cards. Both are used. The sentence becomes the block heading so the cards do
 * not float context-free inside an already card-dense section, and each card
 * carries exactly one job: who teaches you (trust) and how you get there
 * (removes the travel objection). Deliberately text-only — the photos the
 * client linked sit on a third-party domain and are not cleared for use.
 *
 * Lives in shared/ because both campaign pages render it identically; the
 * surrounding .training-fact grid does not (6 columns on Power BI, 5 on
 * Fabric), which is why that stayed in each page's own stylesheet.
 */

.training-location {
  display: grid;
  min-width: 0;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.training-location__heading {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  text-align: center;
}

.training-location__heading h3 {
  max-width: 24ch;
  margin: 0;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.training-location__cards {
  display: grid;
  margin: 0;
  padding: 0;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
}

/* Same shell as .training-fact above it — white, 1rem radius, soft navy lift —
   so the pair reads as one more row of the practical-details system. */
.training-location__card {
  display: grid;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  gap: 0.5rem clamp(1rem, 2vw, 1.4rem);
  align-content: start;
  grid-template-columns: auto minmax(0, 1fr);
  border: 1px solid rgba(0, 37, 75, 0.06);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 0.8rem 2rem rgba(0, 37, 75, 0.08);
}

.training-location__icon {
  display: grid;
  width: clamp(2.75rem, 4vw, 3.5rem);
  height: clamp(2.75rem, 4vw, 3.5rem);
  grid-row: span 2;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--white);
  box-shadow: 0 0.5rem 1.1rem rgba(0, 37, 75, 0.18);
}

/* Mirrors .training-fact:last-child — the amber marker closes the row. */
.training-location__card:last-child .training-location__icon {
  background: var(--amber-500);
  color: var(--navy-950);
}

.training-location__icon svg {
  width: 54%;
  height: 54%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

/* h4 sits outside the base h1-h3 typography rules, so it is set in full. */
.training-location__card h4 {
  margin: 0;
  align-self: end;
  color: var(--navy-900);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.training-location__card p {
  margin: 0;
  color: var(--body);
  font-size: clamp(0.86rem, 0.8rem + 0.2vw, 1rem);
  line-height: 1.6;
}

.training-location__card p strong {
  color: var(--ink);
  font-weight: 700;
}

/* Matches .audience-matrix's collapse point in this file. */
@media (max-width: 52rem) {
  .training-location__cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 30rem) {
  .training-location__card {
    grid-template-columns: minmax(0, 1fr);
  }

  .training-location__icon {
    grid-row: auto;
  }
}

/* ================================================= conversion paths */
/*
 * Client feedback (2026-08-19): the pages had one conversion path (book a
 * seat) while the brief targets organisations too. These two buttons are the
 * visible fork; both write into one select inside the form, so the choice
 * survives without JS and arrives in the enquiry email either way.
 */

.booking-paths {
  display: grid;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  gap: 0.75rem;
}

.booking-paths__label {
  margin: 0;
  color: var(--mint-400);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.booking-paths__options {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-path {
  display: grid;
  padding: clamp(0.9rem, 1.8vw, 1.25rem);
  gap: 0.3rem;
  align-content: start;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.booking-path:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.booking-path:focus-visible {
  outline: 2px solid var(--mint-400);
  outline-offset: 0.25rem;
}

/* The chosen path is the one the form will submit, so it is marked, not merely
   hovered: mint edge plus a lifted surface. */
.booking-path[aria-pressed="true"] {
  border-color: var(--mint-400);
  background: rgba(0, 203, 153, 0.12);
  box-shadow: inset 0 0 0 1px rgba(0, 203, 153, 0.35);
}

.booking-path__title {
  color: var(--white);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.booking-path__body {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ------------------------------------------------- optional-field marker */
/*
 * The client cut the required set to name, work email and training interest.
 * Everything else stays on the form but has to *look* skippable, or the
 * shorter form is not actually felt as shorter.
 */
.form-optional > span,
.form-optional-field .select-field__label > span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78em;
  font-weight: 500;
  letter-spacing: 0.01em;
}

@media (max-width: 40rem) {
  .booking-paths__options {
    grid-template-columns: 1fr;
  }
}

/* ============================================== course card detail rows */
/*
 * Client feedback (2026-08-19): every course card must answer the same five
 * questions in the same order - best for, outcome, what you learn, what you
 * leave with, price. The labelled rows below carry "best for" and "leave
 * with"; the promise line carries the outcome and the existing topic list is
 * now explicitly labelled, so the four cards are scannable against each other.
 */

.course-card__bestfor,
.course-card__leave {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
}

.course-card__bestfor strong,
.course-card__leave strong {
  display: block;
  color: var(--navy-900);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* "Leave with" is the payoff, so it is boxed off from the topic list above. */
.course-card__leave {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(0, 37, 75, 0.1);
}

.course-card__list-label {
  margin: 0;
  color: var(--navy-900);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.course-card--featured .course-card__bestfor strong,
.course-card--featured .course-card__leave strong,
.course-card--featured .course-card__list-label {
  color: var(--mint-400);
}

.course-card--featured .course-card__leave {
  border-top-color: rgba(255, 255, 255, 0.18);
}

/* ================================================== business impact */
/*
 * From the client's "Proof-evidence cards" document: external, boardroom-
 * recognised numbers only (MIT Sloan, Gartner, McKinsey), no vendor ROI claims
 * and no OnModus cases. The numbers are the visual anchor, so they are set
 * large; the attribution sits in the body text of each card rather than in a
 * footnote, because an unattributed statistic on a commercial page is worth
 * nothing. The sources list is a <details> so it is present and checkable
 * without competing with the numbers for attention.
 */

.impact-grid {
  display: grid;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  padding: 0;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.impact-card {
  display: grid;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  gap: 0.4rem;
  align-content: start;
  border: 1px solid rgba(0, 37, 75, 0.08);
  border-top: 3px solid var(--teal-600);
  border-radius: 0.75rem;
  background: var(--white);
  box-shadow: 0 0.8rem 2rem rgba(0, 37, 75, 0.07);
}

.impact-card__number {
  margin: 0;
  color: var(--navy-900);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.impact-card__label {
  margin: 0;
  color: var(--navy-800);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.impact-card__body {
  margin: 0;
  color: var(--body);
  font-size: 0.88rem;
  line-height: 1.6;
}

.impact-outcome {
  display: grid;
  gap: clamp(1rem, 2vw, 1.75rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  align-items: start;
}

.impact-outcome__copy h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
}

.impact-outcome__list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
  list-style: none;
}

.impact-outcome__list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--body);
  line-height: 1.55;
}

.impact-outcome__list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--mint-400);
  content: "";
}

.impact-outcome__panel {
  display: grid;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  gap: 0.75rem;
  align-content: start;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-900));
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1rem 2.5rem rgba(0, 37, 75, 0.18);
}

.impact-outcome__panel p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.impact-outcome__label {
  color: var(--mint-400);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.impact-sources {
  margin-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 0.75rem;
  font-size: 0.82rem;
}

.impact-sources summary {
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.impact-sources summary:focus-visible {
  outline: 2px solid var(--mint-400);
  outline-offset: 0.25rem;
}

.impact-sources ul {
  display: grid;
  margin: 0.6rem 0 0;
  padding: 0 0 0 1.1rem;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

@media (max-width: 64rem) {
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .impact-outcome {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------- location photography */
/*
 * Client confirmed 2026-08-19 that these are OnModus's own office in WTC
 * Arnhem, so the photos are evidence, not decoration: the desk room shows what
 * a training day physically looks like, and the aerial proves the "right above
 * Arnhem Central" claim more directly than the sentence next to it can.
 *
 * Both images are 3:2. The pair must share one ratio or the two equal cards
 * stop reading as a pair, and 3:2 is what the aerial needs - crop it tighter
 * and you lose either the towers or the platforms.
 */

.training-location__card--photo {
  padding: 0;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.training-location__media {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
  background: var(--cream-100);
}

.training-location__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Keeps the top corners honest against the card radius on older engines that
   ignore overflow clipping on replaced elements. */
.training-location__media::after {
  position: absolute;
  inset: auto 0 0;
  height: 3rem;
  background: linear-gradient(transparent, rgba(0, 37, 75, 0.14));
  content: "";
  pointer-events: none;
}

.training-location__body {
  display: grid;
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  gap: 0.5rem clamp(1rem, 2vw, 1.4rem);
  align-content: start;
  grid-template-columns: auto minmax(0, 1fr);
}

.training-location__card--photo .training-location__icon {
  width: clamp(2.25rem, 3vw, 2.75rem);
  height: clamp(2.25rem, 3vw, 2.75rem);
  grid-row: span 2;
}

@media (max-width: 30rem) {
  .training-location__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .training-location__card--photo .training-location__icon {
    grid-row: auto;
  }
}

/* ------------------------------------------------- location gallery */
/*
 * The two benefit cards answer "who teaches" and "how do I get there". These
 * two rooms answer the question the cards cannot: what does the day physically
 * look like. Kept as a secondary row with captions so it reads as supporting
 * evidence, not as two more competing claims.
 */

.training-location__gallery {
  display: grid;
  margin: 0;
  padding: 0;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
}

.training-location__gallery figure {
  display: grid;
  margin: 0;
  gap: 0.6rem;
}

.training-location__gallery picture {
  display: block;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 0.6rem 1.5rem rgba(0, 37, 75, 0.09);
}

.training-location__gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.training-location__gallery figcaption {
  color: var(--body);
  font-size: 0.84rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 52rem) {
  .training-location__gallery {
    grid-template-columns: 1fr;
  }
}

/* ================================================== proof strip */
/*
 * Client feedback 2026-08-19, structure step 2: credibility signals near the
 * top. The full case panel (his step 7) stays lower down - he listed proof
 * twice, so it is split rather than moved.
 *
 * Presented as a white card lifted into the navy hero rather than a flat band.
 * A flat band could not work on both pages: Power BI runs into a cream section
 * and Fabric into a white one, so any single background colour merged with one
 * of them. Floating it on the hero makes it read as deliberate on both, and
 * gives the two logos a light ground - both are dark artwork and would vanish
 * on navy.
 */

.proof-strip {
  position: relative;
  z-index: 3;
  margin-top: clamp(-3.5rem, -4vw, -2.25rem);
}

.proof-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.35rem, 3vw, 2.5rem);
  gap: clamp(1rem, 2.5vw, 2.25rem);
  flex-wrap: wrap;
  border: 1px solid rgba(0, 37, 75, 0.07);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 1.25rem 3rem rgba(0, 37, 75, 0.16);
}

.proof-strip__label {
  margin: 0;
  color: var(--navy-900);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.proof-strip__label::after {
  display: block;
  width: 1.75rem;
  height: 0.14rem;
  margin-top: 0.45rem;
  border-radius: 1px;
  background: var(--teal-600);
  content: "";
}

.proof-strip__list {
  display: flex;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: center;
  justify-content: center;
  list-style: none;
}

/* A hairline rule reads as "separate client" more quietly than a gap alone. */
.proof-strip__item + .proof-strip__item {
  padding-left: clamp(1.25rem, 3vw, 2.75rem);
  border-left: 1px solid rgba(0, 37, 75, 0.1);
}

.proof-strip__item {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.6vw, 1.15rem);
}

/* The two logos have very different intrinsic ratios (Impacx 1200x175,
   Amsterdam 583x183), so height is capped and width follows. */
.proof-strip__logo {
  width: auto;
  height: clamp(1.5rem, 2.4vw, 2rem);
  flex: 0 0 auto;
  object-fit: contain;
}

.proof-strip__metric {
  display: flex;
  margin: 0;
  gap: 0.1rem;
  flex-direction: column;
  line-height: 1.15;
}

.proof-strip__metric strong {
  color: var(--navy-900);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.15rem, 0.95rem + 0.7vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.proof-strip__metric span {
  max-width: 16ch;
  color: var(--body);
  font-size: 0.74rem;
  line-height: 1.35;
}

.proof-strip__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy-800);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.proof-strip__link span {
  transition: transform 160ms ease;
}

.proof-strip__link:hover {
  color: var(--navy-950);
  text-decoration: underline;
}

.proof-strip__link:hover span {
  transform: translateX(3px);
}

.proof-strip__link:focus-visible {
  outline: 2px solid var(--mint-400);
  outline-offset: 0.25rem;
  border-radius: 2px;
}

@media (max-width: 64rem) {
  .proof-strip__inner {
    justify-content: center;
    text-align: center;
  }

  .proof-strip__label::after {
    margin-inline: auto;
  }
}

@media (max-width: 44rem) {
  .proof-strip {
    margin-top: -1.75rem;
  }

  .proof-strip__list {
    flex-direction: column;
    gap: 0.9rem;
    align-items: stretch;
  }

  /* Stacked, the vertical rule becomes a horizontal one. */
  .proof-strip__item + .proof-strip__item {
    padding-top: 0.9rem;
    padding-left: 0;
    border-top: 1px solid rgba(0, 37, 75, 0.1);
    border-left: 0;
  }

  .proof-strip__item {
    display: grid;
    grid-template-columns: clamp(4.75rem, 24vw, 5.5rem) minmax(0, 1fr);
    justify-content: initial;
  }

  .proof-strip__logo {
    justify-self: center;
  }

  .proof-strip__metric {
    align-items: center;
    text-align: center;
  }

  .proof-strip__metric span {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .proof-strip__link span {
    transition: none;
  }
}

/* Review-only overlays: candidates stay fully visible until the client decides. */
.review-candidate {
  position: relative;
  isolation: isolate;
}

.review-candidate::after {
  position: absolute;
  inset: clamp(0.65rem, 1.4vw, 1.25rem);
  z-index: 4;
  border: 3px dashed #f59e0b;
  border-radius: clamp(1rem, 2vw, 1.75rem);
  content: "";
  pointer-events: none;
}

.review-candidate__flag {
  position: absolute;
  top: clamp(0.85rem, 1.6vw, 1.35rem);
  right: clamp(1.25rem, 3vw, 3rem);
  z-index: 5;
  display: inline-flex;
  max-width: min(34rem, calc(100% - 2.5rem));
  min-height: 2rem;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #f59e0b;
  color: #00254b;
  box-shadow: 0 0.5rem 1.4rem rgba(0, 37, 75, 0.2);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.25;
  text-transform: uppercase;
}

.approach-panel.review-candidate .review-candidate__flag {
  top: 0.75rem;
  right: 0.9rem;
}

/* Branded supporting-photo panels, matching the OnModus location cards. */
.training-gallery-panel {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(0, 37, 75, 0.08);
  border-radius: 0.9rem;
  background: #00254b;
  box-shadow: 0 1rem 2.4rem rgba(0, 37, 75, 0.15);
}

.training-location__gallery .training-gallery-panel figure {
  height: 100%;
  gap: 0;
}

.training-location__gallery .training-gallery-panel picture {
  border-radius: 0;
  box-shadow: none;
}

.training-location__gallery .training-gallery-panel figcaption {
  display: grid;
  min-height: 7rem;
  padding: 1rem 1.15rem 1.15rem;
  gap: 0.3rem;
  align-content: center;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
}

.training-gallery-panel__brand {
  color: #00cb99;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.training-gallery-panel figcaption strong {
  color: #ffffff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
}

@media (max-width: 48rem) {
  .review-candidate__flag {
    position: relative;
    top: auto;
    right: auto;
    margin: 1rem 1rem 0 auto;
  }
}

/* Prompt, one-time section entrances across both campaign pages. */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal-ready main > section {
    opacity: 0;
    translate: 0 0.75rem;
    transition:
      opacity 550ms cubic-bezier(0.16, 1, 0.3, 1),
      translate 550ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .js-reveal-ready main > section.is-visible {
    opacity: 1;
    translate: none;
  }

  /* A jump link aims at the section's still-lowered (0.75rem) box, so it landed
     0.75rem too high once the section settled. Offset by the same amount. */
  .js-reveal-ready main > section:not(.is-visible):not(.training-selector) {
    scroll-margin-top: 0.75rem;
  }
}

/* Fabric location story: native-ratio cards in a continuous rightward loop. */
.location-marquee {
  --location-marquee-gap: clamp(0.9rem, 2vw, 1.25rem);
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.location-marquee__toolbar {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.location-marquee__toolbar p {
  margin: 0;
  color: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-marquee__toggle {
  display: none;
  min-width: 6.5rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(0, 37, 75, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy-900);
  box-shadow: 0 0.45rem 1.2rem rgba(0, 37, 75, 0.1);
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.is-marquee-ready .location-marquee__toggle {
  display: inline-flex;
}

.location-marquee__toggle:focus-visible,
.location-marquee__viewport:focus-visible {
  outline: 3px solid var(--mint-400);
  outline-offset: 0.22rem;
}

.location-marquee__toggle-icon {
  display: inline-flex;
  width: 0.85rem;
  height: 0.85rem;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
}

.location-marquee__toggle-icon span {
  width: 0.16rem;
  height: 0.75rem;
  border-radius: 999px;
  background: currentColor;
}

.location-marquee.is-manually-paused .location-marquee__toggle-icon span:first-child {
  width: 0;
  height: 0;
  border-top: 0.4rem solid transparent;
  border-bottom: 0.4rem solid transparent;
  border-left: 0.65rem solid currentColor;
  border-radius: 0;
  background: transparent;
}

.location-marquee.is-manually-paused .location-marquee__toggle-icon span:last-child {
  display: none;
}

.location-marquee__viewport {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  padding: 0.35rem 0 1.25rem;
  overscroll-behavior-inline: contain;
  scrollbar-color: rgba(0, 37, 75, 0.32) transparent;
  scrollbar-width: thin;
}

.is-marquee-ready .location-marquee__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.location-marquee__track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  gap: var(--location-marquee-gap);
  list-style: none;
}

.is-marquee-ready .location-marquee__track {
  animation: location-marquee-right 52s linear infinite;
  transform: translateX(calc(-50% - (var(--location-marquee-gap) / 2)));
  will-change: transform;
}

.location-marquee:hover .location-marquee__track,
.location-marquee.is-manually-paused .location-marquee__track,
.location-marquee.is-offscreen .location-marquee__track {
  animation-play-state: paused;
}

.training-location__slide {
  width: clamp(18.5rem, 39vw, 31.5rem);
  flex: 0 0 clamp(18.5rem, 39vw, 31.5rem);
  overflow: hidden;
  border: 1px solid rgba(0, 37, 75, 0.1);
  border-radius: 1rem;
  background: #00254b;
  box-shadow: 0 1rem 2.6rem rgba(0, 37, 75, 0.16);
}

.training-location__slide figure {
  display: grid;
  height: 100%;
  margin: 0;
  grid-template-rows: auto 1fr;
}

.training-location__slide picture {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #dce3e8;
}

.training-location__slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.training-location__slide:hover img,
.training-location__slide:focus-within img {
  transform: scale(1.018);
}

.training-location__slide figcaption {
  display: grid;
  min-height: 8.4rem;
  align-content: center;
  gap: 0.28rem;
  padding: 1.05rem 1.15rem 1.2rem;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
}

.training-location__slide figcaption strong {
  color: #ffffff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.3;
}

.training-location__slide figcaption > span:last-child {
  font-size: 0.84rem;
  line-height: 1.55;
}

@keyframes location-marquee-right {
  from { transform: translateX(calc(-50% - (var(--location-marquee-gap) / 2))); }
  to { transform: translateX(0); }
}

@media (max-width: 48rem) {
  .location-marquee__toolbar {
    align-items: flex-start;
  }

  .location-marquee__toolbar p {
    max-width: 18rem;
  }

  .training-location__slide {
    width: min(82vw, 24rem);
    flex-basis: min(82vw, 24rem);
  }

  .training-location__slide figcaption {
    min-height: 9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal-ready main > section {
    opacity: 1;
    translate: none;
    transition: none;
  }

  .location-marquee__track {
    animation: none !important;
    transform: none !important;
  }

  .location-marquee__viewport,
  .is-marquee-ready .location-marquee__viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .training-location__slide img {
    transition: none;
  }

  .training-location__slide:hover img,
  .training-location__slide:focus-within img {
    transform: none;
  }
}
