/*
 * brand.css
 * Served stylesheet for searchextraining.com. Colour values live ONLY in :root, copied from
 * branding.md. Everything else references a token. Mobile first: base rules are for phones,
 * min-width media queries add the desktop layout.
 */

:root {
  --brand-primary: #272727;
  --brand-accent: #272727;
  --brand-highlight: #f55c54;
  --brand-text: #272727;
  --brand-bg: #ffffff;
  --brand-white: #ffffff;
  --brand-nav-text: #ffffff;
  --brand-border: #cccccc;
  --brand-muted: #666666;
  --brand-surface: #f8f8f8;
  --brand-error: #b00020;
  --brand-error-bg: #fdecea;
  --brand-success-bg: #d4edda;
  --brand-success-text: #155724;

  --font-heading: 'proxima-nova', 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'adobe-garamond-pro', 'EB Garamond', Georgia, 'Times New Roman', serif;

  --text-on-dark-muted: var(--brand-border);
  --shadow-soft: 0 4px 14px color-mix(in srgb, var(--brand-primary) 6%, transparent);
  --shadow-lift: 0 18px 40px color-mix(in srgb, var(--brand-primary) 12%, transparent);
  --radius-button: 8px;
  --radius-card: 16px;
  --container: 1200px;
  --gutter: 16px;
}

@media (min-width: 640px) {
  :root { --gutter: 24px; }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--brand-bg);
  color: var(--brand-text);
  font-family: var(--font-body);
  font-size: 1.1875rem; /* EB Garamond runs small; 19px reads like 16px in most faces */
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 5vw + 1rem, 3.5rem); line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.25rem); }
h3 { font-size: 1.4rem; }

p, ul, ol { margin: 0 0 1em; }

img { max-width: 100%; height: auto; }

a { color: var(--brand-accent); }
a:hover { opacity: 0.85; }

:focus-visible {
  outline: 3px solid var(--brand-highlight);
  outline-offset: 3px;
}

main:focus { outline: none; }

.wordmark-e { color: var(--brand-highlight); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.prose { max-width: 760px; margin-left: auto; margin-right: auto; }

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--brand-white);
  color: var(--brand-text);
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-button);
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: var(--radius-button);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.btn--primary {
  background: var(--brand-highlight);
  color: var(--brand-white);
}

/* ---------- Sections ---------- */

.section { padding: 56px 0; }
.section--surface { background: var(--brand-surface); }
.section--error { padding: 80px 0 96px; }

@media (min-width: 900px) {
  .section { padding: 88px 0; }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--brand-highlight);
}

.accent-bar { height: 6px; background: var(--brand-highlight); }

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-nav-text);
  text-decoration: none;
}
.logo:hover { opacity: 1; }
.logo__icon { height: 44px; width: auto; }
.logo__bar { width: 3px; height: 38px; border-radius: 2px; background: var(--brand-highlight); }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-heading); }
.logo__name { font-weight: 700; font-size: 1.375rem; letter-spacing: 0.3px; }
.logo__sub { font-weight: 500; font-size: 0.75rem; letter-spacing: 4px; color: var(--text-on-dark-muted); }

.logo--small .logo__icon { height: 40px; }
.logo--small .logo__bar { height: 34px; }
.logo--small .logo__name { font-size: 1.25rem; }
.logo--small .logo__sub { font-size: 0.6875rem; }

@media (min-width: 900px) {
  .site-header .logo__icon { height: 52px; }
  .site-header .logo__bar { height: 44px; }
  .site-header .logo__name { font-size: 1.5625rem; }
  .site-header .logo__sub { font-size: 0.8125rem; }
}

/* ---------- Header and navigation ---------- */

.site-header {
  position: relative;
  z-index: 20;
  background: var(--brand-primary);
  color: var(--brand-nav-text);
  font-family: var(--font-heading);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--text-on-dark-muted);
  border-radius: var(--radius-button);
  background: transparent;
  color: var(--brand-nav-text);
  font: 600 1rem var(--font-heading);
  cursor: pointer;
}
.nav-toggle[hidden] { display: none; }

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

/* Phone layout: menu stacks under the logo. With JS it collapses behind the Menu button. */
.site-nav { flex-basis: 100%; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }

.site-nav__list,
.site-nav__sub {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list { border-top: 1px solid color-mix(in srgb, var(--brand-nav-text) 15%, transparent); }

.site-nav a { color: var(--brand-nav-text); text-decoration: none; }

.site-nav__link {
  display: block;
  padding: 14px 0;
  font-weight: 600;
  font-size: 1.0625rem;
}

.site-nav__sub { padding: 0 0 10px 16px; }
.site-nav__sub a {
  display: block;
  padding: 8px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
}

.site-nav__item { border-bottom: 1px solid color-mix(in srgb, var(--brand-nav-text) 15%, transparent); }

.site-nav [aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--brand-highlight);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

.site-nav__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding: 12px 0 8px;
}
.site-nav__actions .btn { flex: 1 1 auto; text-align: center; }

/* Desktop layout: one row, sub-menus drop down on hover or keyboard focus. */
@media (min-width: 1080px) {
  .nav-toggle { display: none !important; }

  .site-nav,
  .js .site-nav {
    display: flex;
    flex-basis: auto;
    align-items: center;
    gap: 28px;
  }

  .site-nav__list {
    display: flex;
    gap: 26px;
    border-top: 0;
  }

  .site-nav__item { position: relative; border-bottom: 0; }

  .site-nav__link { padding: 10px 0; font-size: 0.9375rem; }

  .has-children > .site-nav__link::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
  }

  .site-nav__sub {
    position: absolute;
    top: 100%;
    left: -18px;
    min-width: 250px;
    padding: 10px 0;
    background: var(--brand-white);
    border-top: 4px solid var(--brand-highlight);
    border-radius: 0 0 12px 12px;
    box-shadow: var(--shadow-lift);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
  }

  .has-children:hover > .site-nav__sub,
  .has-children:focus-within > .site-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__sub a {
    padding: 10px 20px;
    color: var(--brand-text);
    font-size: 0.9375rem;
  }
  .site-nav__sub a:hover { background: var(--brand-surface); opacity: 1; }

  .site-nav__actions { padding: 0; gap: 24px; }
  .site-nav__actions .site-nav__link { font-size: 0.9375rem; }
  .site-nav__actions .btn { flex: none; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--brand-primary);
  color: var(--text-on-dark-muted);
  font-family: var(--font-heading);
  font-size: 0.875rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding-top: 48px;
  padding-bottom: 48px;
}

.site-footer__company { flex: 1 1 320px; }
.site-footer__company .logo { margin-bottom: 16px; }
.site-footer__company p { margin: 0 0 6px; }

.site-footer__nav { flex: 1 1 320px; }
.site-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer a { color: var(--brand-nav-text); }

/* ---------- Shared page pieces ---------- */

.btn--large { padding: 16px 28px; font-size: 1.0625rem; }

.btn--primary { box-shadow: 0 10px 24px color-mix(in srgb, var(--brand-highlight) 30%, transparent); }

.eyebrow--on-dark { color: var(--brand-nav-text); }

.section--tint { background: color-mix(in srgb, var(--brand-highlight) 6%, var(--brand-white)); }

.section--dark {
  background: var(--brand-primary);
  color: var(--brand-nav-text);
}

.section-head { margin-bottom: 32px; }
.section-head h2 { margin: 0; }

.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
}

.text-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
}

.text-link--on-dark { color: var(--brand-nav-text); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

/* Two columns that stack on phones. */
.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 64px;
}
.split__main { flex: 999 1 480px; min-width: 0; }
.split--even > * { flex: 1 1 400px; min-width: 0; }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--brand-white);
  border: 1px solid color-mix(in srgb, var(--brand-primary) 10%, transparent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  color: var(--brand-text);
  text-decoration: none;
}

.card--link { transition: transform .2s ease, box-shadow .2s ease; }
.card--link:hover {
  opacity: 1;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.card__image {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card__image--tall { height: 210px; }

.card__bar { display: block; height: 5px; background: var(--brand-highlight); }

.card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
  padding: 24px 26px 28px;
}

.card__title { margin: 0; font-size: 1.4rem; }
.card__title--small { font-size: 1.25rem; line-height: 1.3; }

.card__meta {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--brand-muted);
}

.card__more {
  margin-top: auto;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
}
.card__more span, .problem__fix span, .text-link span { color: var(--brand-highlight); }

/* ---------- Home: hero ---------- */

.hero {
  color: var(--brand-nav-text);
  background-color: var(--brand-primary);
  background-image:
    linear-gradient(90deg,
      color-mix(in srgb, var(--brand-primary) 94%, transparent) 0%,
      color-mix(in srgb, var(--brand-primary) 82%, transparent) 45%,
      color-mix(in srgb, var(--brand-primary) 55%, transparent) 100%),
    url("/images/home/hero-trainer.jpg");
  background-size: cover;
  background-position: center right;
}

.hero__inner { padding-top: 64px; padding-bottom: 40px; }

.hero__heading { max-width: 780px; }

.hero__intro {
  max-width: 600px;
  font-size: clamp(1.25rem, 1vw + 1rem, 1.45rem);
}

.credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background: color-mix(in srgb, var(--brand-nav-text) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-nav-text) 14%, transparent);
  border-radius: 14px;
  font-family: var(--font-heading);
  backdrop-filter: blur(6px);
}

.credentials__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px 24px;
  background: color-mix(in srgb, var(--brand-primary) 60%, transparent);
}
.credentials__figure { font-size: 1.75rem; font-weight: 700; }
.credentials__label { font-size: 0.875rem; color: var(--text-on-dark-muted); }

@media (min-width: 900px) {
  .hero__inner { padding-top: 112px; padding-bottom: 48px; }
  .credentials { margin-top: 72px; }
}

.hero--short .hero__inner { padding-bottom: 64px; }
@media (min-width: 900px) {
  .hero--short .hero__inner { padding-top: 96px; padding-bottom: 96px; }
}

/* ---------- Point cards (landing pages) ---------- */

.point-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.point {
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--brand-surface);
}
.section--surface .point,
.section--surface .tag-list li { background: var(--brand-white); }
.point__title { margin: 24px 26px 8px; font-size: 1.3rem; }
.point p { margin: 0 26px 26px; }

/* Faded, tilted sample certificate behind a section. Decorative only. */
.section--cert-bg { position: relative; overflow: hidden; }
.section--cert-bg::before {
  content: "";
  position: absolute;
  top: 50%;
  right: max(32px, calc((100vw - var(--container)) / 2));
  width: 540px;
  translate: 0 -50%;
  display: none;
  aspect-ratio: 1200 / 630;
  background: url("/images/certification/sample-certificate.jpg") center / contain no-repeat;
  opacity: 0.12;
  transform: rotate(-6deg);
  pointer-events: none;
}
.section--cert-bg > .container { position: relative; z-index: 1; }
.section--cert-bg .prose { max-width: var(--container); }
.section--cert-bg .prose > * { max-width: 580px; }
/* Only where there is room beside the text, so it never sits behind words. */
@media (min-width: 1200px) {
  .section--cert-bg::before { display: block; }
}
.subhead { margin: 56px 0 16px; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
}
.tag-list li {
  padding: 10px 18px;
  border: 1px solid var(--brand-border);
  border-left: 4px solid var(--brand-highlight);
  border-radius: var(--radius-button);
}

/* Numbered steps with coral circles. */
.steps {
  counter-reset: step;
  margin: 24px 0 32px;
  padding: 0;
  list-style: none;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 4px 0 18px 56px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-highlight);
  color: var(--brand-white);
  font-family: var(--font-heading);
  font-weight: 700;
}

.aside-link {
  margin: 40px 0 0;
  text-align: center;
}
.video-aside { padding-bottom: 40px; }

/* ---------- Training catalogue ---------- */

.breadcrumb {
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
}
.breadcrumb a { color: var(--brand-nav-text); }

.method-strip {
  background: var(--brand-primary);
  border-top: 1px solid color-mix(in srgb, var(--brand-nav-text) 12%, transparent);
  color: var(--brand-nav-text);
  font-family: var(--font-heading);
}
.method-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.method-strip__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}
.method-strip__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  flex: 1 1 auto;
  font-size: 0.9375rem;
}
.method-strip__steps b { color: var(--brand-highlight); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.chip {
  padding: 10px 16px;
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  background: var(--brand-white);
  color: var(--brand-text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}
.chip:hover { border-color: var(--brand-primary); opacity: 1; }

/* Service pages: "Go straight to" quick links under the hero */
.jump { padding: 20px 0; border-bottom: 1px solid var(--brand-border); }
.jump__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.jump__label { font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; margin-right: 6px; }
.package[id] { scroll-margin-top: 24px; }
.chip[aria-current="page"] {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: var(--brand-nav-text);
}

.group-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 16px;
  padding: 18px 22px;
  border-left: 4px solid var(--brand-highlight);
  border-radius: 0 12px 12px 0;
  background: var(--brand-surface);
}
.group-intro__title { display: block; font-family: var(--font-heading); }
.group-intro__question { font-style: italic; }
.group-intro__links { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }

.result-count {
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--brand-muted);
}

/* Course cards: the whole image (any shape) beside the text, never cropped. */
.card-grid--courses { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.course-card {
  display: grid;
  grid-template-columns: minmax(110px, 38%) 1fr;
  grid-template-rows: auto 1fr;
}
.course-card .card__bar { grid-column: 1 / -1; grid-row: 1; }
.course-card .course-card__image {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  width: 100%;
  height: auto;
  margin: 18px 0 18px 18px;
  max-width: calc(100% - 18px);
  object-fit: contain;
  border-radius: 8px;
}
.course-card .card__body { grid-column: 2; grid-row: 2; padding: 18px 22px 22px; }

.course-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  color: var(--brand-muted);
}

.course-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--brand-primary) 10%, transparent);
}
.course-card__foot .card__more { margin-top: 0; }
.course-card__price { font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; }
.course-card__price small,
.package__price small { font-weight: 500; font-size: 0.75rem; color: var(--brand-muted); }

.feature__intro { max-width: 640px; margin-top: 12px; }

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.package {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--brand-nav-text) 14%, transparent);
  border-top: 4px solid var(--brand-highlight);
  border-radius: 14px;
  background: color-mix(in srgb, var(--brand-nav-text) 6%, transparent);
}
.package__fit {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}
.package__name { margin: 0; font-size: 1.4rem; }
.package__price { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; }
.package__price small { display: block; margin-top: 2px; color: var(--text-on-dark-muted); }
.package__points { margin: 4px 0 12px; padding-left: 20px; }
.package .text-link { margin-top: auto; }
.package:only-child { max-width: 360px; }
.pricing__cta { margin: 28px 0 0; }
.package-note { margin: 32px 0 0; }
.package-note--tight { margin-top: 12px; }

/* ---------- Home: what I see ---------- */

.photo-offset {
  position: relative;
  flex: 1 1 300px;
  max-width: 420px;
  padding: 0 20px 20px 0;
}
.photo-offset::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 82%;
  height: 82%;
  border-radius: 20px;
  background: var(--brand-highlight);
  opacity: 0.85;
}
.photo-offset img {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lift);
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 26px;
  border-radius: 14px;
  background: var(--brand-white);
  box-shadow: var(--shadow-soft);
  color: var(--brand-text);
  text-decoration: none;
}

.problem__number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--brand-highlight);
  flex: 0 0 1.25em;
  text-align: center;
}

.problem__body { display: flex; flex-direction: column; gap: 4px; }
.problem__title { font-family: var(--font-heading); font-weight: 700; font-size: 1.1875rem; }
.problem__fix { font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; }

/* ---------- Home: featured product ---------- */

.feature { position: relative; overflow: hidden; }
.feature::before,
.feature::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.feature::before {
  right: -120px;
  top: -120px;
  width: 520px;
  height: 520px;
  background: color-mix(in srgb, var(--brand-highlight) 10%, transparent);
}
.feature::after {
  right: 180px;
  bottom: -200px;
  width: 380px;
  height: 380px;
  background: color-mix(in srgb, var(--brand-nav-text) 4%, transparent);
}
.feature .container { position: relative; z-index: 1; }

.feature h2 { font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem); }

.feature__points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 22px;
  margin-bottom: 28px;
}
.feature__points li::marker { color: var(--brand-highlight); }

/* Before → after images, top to bottom, with a coral arrow between them. */
.flow {
  display: flex;
  flex-direction: column;
  gap: 52px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow__step {
  position: relative;
  overflow: visible;
  border-radius: 14px;
  background: var(--brand-white);
  box-shadow: 0 24px 50px color-mix(in srgb, var(--brand-primary) 70%, transparent);
}

.flow__step img {
  display: block;
  width: 100%;
  border-radius: 14px 14px 0 0;
}

.flow__caption {
  display: block;
  padding: 12px 16px;
  border-top: 3px solid var(--brand-highlight);
  border-radius: 0 0 14px 14px;
  background: var(--brand-white);
  color: var(--brand-text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: center;
}

/* Down arrow in the gap above every step after the first. */
.flow__step + .flow__step::before,
.flow__step + .flow__step::after {
  content: "";
  position: absolute;
  left: 50%;
  background: var(--brand-highlight);
}
.flow__step + .flow__step::before {
  top: -44px;
  width: 3px;
  height: 30px;
  margin-left: -1.5px;
  border-radius: 2px;
}
.flow__step + .flow__step::after {
  top: -22px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  background: transparent;
  border-right: 3px solid var(--brand-highlight);
  border-bottom: 3px solid var(--brand-highlight);
  transform: rotate(45deg);
}

/* ---------- Home: closing call to action ---------- */

.closing {
  background-color: var(--brand-surface);
  background-image:
    linear-gradient(color-mix(in srgb, var(--brand-surface) 90%, transparent),
                    color-mix(in srgb, var(--brand-surface) 90%, transparent)),
    url("/images/home/hero-trainer.jpg");
  background-size: cover;
  background-position: center;
}

.closing__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 900px;
}

.closing__photo {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  border: 5px solid var(--brand-white);
  box-shadow: var(--shadow-lift);
}

.closing__copy { flex: 1 1 380px; }
.closing__copy h2 { margin-bottom: 12px; }
.closing__text { font-size: 1.3rem; }
.closing__video { margin: 16px 0 0; }

/* ---------- Course page ---------- */

.course-layout {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 900px) {
  .course-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; }
}

.tick-list { margin: 20px 0 0; padding: 0; list-style: none; }
.tick-list li {
  position: relative;
  padding: 10px 0 10px 36px;
  font-size: 1.2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--brand-primary) 10%, transparent);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--brand-highlight);
  border-bottom: 3px solid var(--brand-highlight);
  transform: rotate(-45deg);
}

.course-note { margin: 24px 0 0; font-style: italic; }

.course-options__heading { margin: 36px 0 12px; font-size: 1.15rem; }
.course-options { margin: 0; padding: 0; list-style: none; }
.course-options__item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 14px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--brand-primary) 10%, transparent);
}
.course-options__item > span:first-child { flex: 1 1 280px; }
.course-options__price { margin-left: auto; font-family: var(--font-heading); font-weight: 700; white-space: nowrap; }
.course-options__price small { font-weight: 500; font-size: 0.75rem; color: var(--brand-muted); }

.glance {
  padding: 28px;
  background: var(--brand-surface);
  border-top: 4px solid var(--brand-highlight);
  border-radius: var(--radius-card);
}
@media (min-width: 900px) {
  .glance { position: sticky; top: 24px; }
}
.glance__heading { margin: 0 0 12px; font-size: 1.25rem; }
.glance__list { margin: 0 0 20px; }
.glance__row {
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--brand-primary) 10%, transparent);
}
.glance__row dt {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-muted);
}
.glance__row dd { margin: 2px 0 0; font-size: 1.1rem; }
.glance__price { font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem; }
.glance__price small { font-weight: 500; font-size: 0.75rem; color: var(--brand-muted); }
.glance__btn { display: block; text-align: center; }

.tip {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}
.tip__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.tip > div { flex: 1 1 320px; }
.tip__heading { margin: 0 0 8px; font-size: 1.25rem; }
.tip__quote { margin: 0; font-size: 1.35rem; font-style: italic; }
.tip__quote p { margin: 0; }
.tip__by { margin-top: 12px; font-family: var(--font-heading); font-size: 0.875rem; color: var(--brand-muted); }

.related-grid { margin-top: 24px; }

/* ---------- Service pages ---------- */

.service-problems { max-width: 820px; }
.service-problems__list { margin: 24px 0 0; padding: 0; list-style: none; }
.service-problems__list li {
  position: relative;
  padding: 16px 0 16px 36px;
  font-size: 1.3rem;
  border-bottom: 1px solid color-mix(in srgb, var(--brand-primary) 10%, transparent);
}
.service-problems__list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-highlight);
}

.service-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.service-steps__item { counter-increment: step; }
.service-steps__item::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--brand-highlight);
  color: var(--brand-white);
  font: 700 1.1rem var(--font-heading);
}
.service-steps__title { margin: 0 0 6px; font-size: 1.2rem; }
.service-steps__item p { margin: 0; }

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.link-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 24px;
  border-radius: var(--radius-card);
  border-top: 4px solid var(--brand-highlight);
  background: var(--brand-white);
  box-shadow: var(--shadow-soft);
  color: var(--brand-text);
  text-decoration: none;
}
.link-card__title { font: 700 1.2rem var(--font-heading); }
.link-card .card__more { margin-top: auto; }

.service-proof { max-width: 820px; }
.stat-source { margin-left: 6px; font: 500 0.8rem var(--font-heading); color: var(--brand-muted); }

.faq { max-width: 820px; }
.faq h2 { margin-bottom: 20px; }
.faq__item {
  border-bottom: 1px solid color-mix(in srgb, var(--brand-primary) 12%, transparent);
}
.faq__q {
  padding: 18px 36px 18px 0;
  position: relative;
  cursor: pointer;
  list-style: none;
  font: 600 1.1rem var(--font-heading);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  font-size: 1.5rem;
  color: var(--brand-highlight);
}
.faq__item[open] .faq__q::after { content: "−"; }
.faq__a { margin: 0 0 20px; font-size: 1.15rem; }

/* ---------- Automation Blueprints ---------- */

.hero__price {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 14px;
  border-radius: var(--radius-button);
  background: color-mix(in srgb, var(--brand-highlight) 22%, transparent);
  font: 600 0.95rem var(--font-heading);
}
.blueprint-group { margin: 8px 0 16px; font-size: 1.3rem; }
.blueprint-section:not([hidden]) ~ .blueprint-section:not([hidden]) { margin-top: 40px; }
.blueprint-grid { margin: 0; padding: 0; list-style: none; }
.blueprint-card__link { color: inherit; text-decoration: none; }
.blueprint-card__link:hover,
.blueprint-card__link:focus-visible { text-decoration: underline; }
.blueprint-card__problem { margin: 0; }
.blueprint-card__benefit { font-weight: 600; }
.blueprint-pick {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 8px 14px;
  border: 1px solid color-mix(in srgb, var(--brand-primary) 20%, transparent);
  border-radius: var(--radius-button);
  font: 600 0.9rem var(--font-heading);
  cursor: pointer;
  align-self: flex-start;
}
.blueprint-pick input { width: 18px; height: 18px; accent-color: var(--brand-highlight); }
.blueprint-pick:has(input:checked) {
  border-color: var(--brand-highlight);
  background: color-mix(in srgb, var(--brand-highlight) 10%, transparent);
}

.blueprint-picker {
  position: sticky;
  bottom: 0;
  z-index: 5;
  background: var(--brand-primary);
  color: var(--brand-nav-text);
  border-top: 4px solid var(--brand-highlight);
}
.blueprint-picker__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.blueprint-picker__status { margin: 0; flex: 1 1 260px; }
.blueprint-picker__total { margin: 0; font: 700 1.3rem var(--font-heading); }
.blueprint-picker__btn { visibility: hidden; }
.blueprint-picker.is-complete .blueprint-picker__btn { visibility: visible; }

.blueprint-detail {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 900px) {
  .blueprint-detail { grid-template-columns: 380px minmax(0, 1fr); gap: 56px; }
}
.blueprint-detail__image { width: 100%; height: auto; border-radius: var(--radius-card); box-shadow: var(--shadow-soft); }
.blueprint-detail__does { font-size: 1.3rem; }
.blueprint-detail__facts { margin-top: 28px; }

/* ---------- About ---------- */

.section-head__intro { max-width: 680px; margin: 12px 0 0; font-size: 1.2rem; }
.about-ken p { max-width: 640px; font-size: 1.25rem; }
#edicts { scroll-margin-top: 24px; }

.edicts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.edicts__step {
  padding: 24px 22px;
  border-radius: var(--radius-card);
  background: var(--brand-surface);
  border-top: 4px solid var(--brand-highlight);
}
.edicts__letter {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.75rem;
  line-height: 1;
  color: var(--brand-highlight);
}
.edicts__name { margin: 12px 0 6px; font-size: 1.15rem; }
.edicts__text { margin: 0; }

.about-plans {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .about-plans { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.about-plans__text { font-size: 1.2rem; }
.about-plans__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

.testimonial {
  margin: 0;
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--brand-white);
  border-left: 4px solid var(--brand-highlight);
  box-shadow: var(--shadow-soft);
}
.testimonial__quote { margin: 0; font-size: 1.3rem; font-style: italic; }
.testimonial__quote p { margin: 0; }
.testimonial__by { margin-top: 16px; font-family: var(--font-heading); font-size: 0.9rem; color: var(--brand-muted); }
.testimonial__by strong { color: var(--brand-text); }
.package-card .card__body { padding: 22px; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- Advice hub and articles ---------- */

.advice-grid { margin: 0; padding: 0; list-style: none; }
.advice-grid > li { display: flex; }
.advice-card { width: 100%; }
.advice-card .card__image { height: auto; aspect-ratio: 3 / 2; } /* show the whole 3:2 image, so logos are not cut off */
.article__heading { max-width: 900px; }
.article__image { display: block; width: 100%; height: auto; margin: 0 0 32px; border-radius: var(--radius-card); }
.article__body h2 { margin: 40px 0 12px; font-size: 1.6rem; }
.article__body h3 { margin: 32px 0 10px; font-size: 1.25rem; }
.article__body ul,
.article__body ol { padding-left: 24px; }
.article__body li { margin-bottom: 8px; }
.article__body li > p { margin: 0; }

/* ---------- Legal pages ---------- */

.legal__heading { max-width: 900px; }
.legal__body { overflow-wrap: anywhere; }

/* ---------- Trust and security ---------- */

.trust__section + .trust__section { margin-top: 40px; }
.trust__section h2 { margin-bottom: 12px; }
.trust__section--pending { padding: 20px 24px; border: 2px dashed var(--brand-highlight); border-radius: 12px; }
.trust__draft { margin: 0 0 8px; font-family: var(--font-heading); font-size: 0.8125rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--brand-highlight); }

/* ---------- Procurement pack and public forms ---------- */

.procurement { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .procurement { grid-template-columns: 1fr 1fr; align-items: start; } }
.procurement__form-wrap { padding: 28px; border: 1px solid var(--brand-border); border-radius: var(--radius-card); background: var(--brand-white); box-shadow: var(--shadow-soft); }
.form__row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form__row label { font-family: var(--font-heading); font-weight: 600; font-size: 0.9375rem; }
.form__row input[type="text"],
.form__row input[type="email"],
.form__row select,
.form__row textarea { padding: 12px 14px; border: 1px solid var(--brand-border); border-radius: 8px; font: inherit; font-size: 1rem; }
.form__row select:focus-visible,
.form__row textarea:focus-visible,
.form__row input:focus-visible { outline: 3px solid var(--brand-highlight); outline-offset: 1px; }
.form__row input[aria-invalid="true"] { border-color: var(--brand-highlight); }
.form__row--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.form__row--check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.form__row--check label { font-family: inherit; font-weight: 400; }
.form__error { margin: 0; color: var(--brand-highlight); font-weight: 600; }
.form-message { padding: 12px 16px; border-left: 4px solid var(--brand-highlight); background: var(--brand-surface); }
.form__privacy { font-size: 0.875rem; color: var(--brand-muted); }
.form__decoy { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 18px; }
.support { max-width: 720px; }
.form__row textarea { resize: vertical; min-height: 160px; }

/* ---------- Shop ---------- */

.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.basket { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .basket { grid-template-columns: 3fr 2fr; align-items: start; } }
.basket__table { width: 100%; border-collapse: collapse; }
.basket__table th, .basket__table td { padding: 14px 8px; border-bottom: 1px solid var(--brand-border); text-align: left; vertical-align: top; }
.basket__table thead th { font-family: var(--font-heading); font-size: 0.875rem; }
.basket__price { text-align: right !important; white-space: nowrap; }
.basket__detail { color: var(--brand-muted); font-size: 0.9375rem; }
.basket__total th, .basket__total td { font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; border-bottom: 0; }
.basket__remove { margin: 0; }
.basket__remove-btn { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: 0.875rem; }
.cart-link { position: relative; }
.cart-link__count { display: inline-block; min-width: 20px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--brand-highlight); color: var(--brand-white); font-size: 0.75rem; font-weight: 700; text-align: center; }
.book-form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }
.book-form__qty { width: 80px; padding: 10px 12px; border: 1px solid var(--brand-border); border-radius: 8px; font: inherit; }
.book-form select { padding: 10px 12px; border: 1px solid var(--brand-border); border-radius: 8px; font: inherit; }

/* ---------- Shop Stage 2: currency switch, payment choice ---------- */

.basket__currency { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.basket__currency label { font-family: var(--font-heading); font-weight: 600; font-size: 0.9375rem; }
.basket__currency select { padding: 8px 12px; border: 1px solid var(--brand-border); border-radius: 8px; font: inherit; }
.basket__currency-btn { padding: 8px 14px; border: 1px solid var(--brand-primary); border-radius: 8px; background: var(--brand-white); color: var(--brand-primary); font: inherit; font-weight: 600; cursor: pointer; }
.basket__currency-btn:focus-visible, .basket__currency select:focus-visible { outline: 3px solid var(--brand-highlight); outline-offset: 1px; }
.form__choices { border: 0; padding: 0; }
.form__choices legend { font-family: var(--font-heading); font-weight: 600; font-size: 0.9375rem; margin-bottom: 8px; padding: 0; }
.form__choice { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.form__choice input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.price-other { display: block; margin-top: 4px; font-family: var(--font-heading); font-weight: 500; font-size: 0.75rem; color: var(--brand-muted); }
.course-options__price .price-other { text-align: right; }

.currency-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 4px 0 18px; }
.currency-switch label { font-family: var(--font-heading); font-weight: 600; font-size: 0.8125rem; }
.currency-switch select { padding: 6px 10px; border: 1px solid var(--brand-border); border-radius: 8px; font: inherit; background: var(--brand-white); }
.currency-switch select:focus-visible, .currency-switch__btn:focus-visible { outline: 3px solid var(--brand-highlight); outline-offset: 1px; }
.currency-switch__btn { padding: 6px 12px; border: 1px solid var(--brand-primary); border-radius: 8px; background: var(--brand-white); color: var(--brand-primary); font: inherit; font-weight: 600; cursor: pointer; }

.currency-switch--on-dark label { color: var(--brand-white); }
.currency-switch--on-dark .currency-switch__btn { border-color: var(--brand-white); }
.result-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.result-bar .currency-switch { margin: 0; }

/* ---------- Site search ---------- */
.search-link { display: inline-flex; align-items: center; gap: 6px; }
.search-link__icon { flex: none; }
.site-search { max-width: 640px; margin-top: 24px; }
.site-search label { display: block; margin-bottom: 8px; font-family: var(--font-heading); font-weight: 600; font-size: 0.9375rem; }
.site-search__row { display: flex; flex-wrap: wrap; gap: 10px; }
.site-search input[type="search"] { flex: 1 1 260px; min-width: 0; padding: 12px 14px; border: 1px solid var(--brand-border); border-radius: 8px; font: inherit; font-size: 1.0625rem; background: var(--brand-white); color: var(--brand-primary); }
.site-search input[type="search"]:focus-visible { outline: 3px solid var(--brand-highlight); outline-offset: 2px; }
.site-search .btn { flex: none; }
.search-results { max-width: 820px; }
.search-results__count { margin: 0 0 24px; font-size: clamp(1.35rem, 1vw + 1rem, 1.6rem); }
.search-group { margin-bottom: 36px; }
.search-group__heading { margin: 0 0 12px; padding-top: 10px; border-top: 3px solid var(--brand-highlight); font-size: 1.125rem; }
.search-group__count { font-weight: 500; color: var(--brand-muted); }
.search-group__list, .search-browse { margin: 0; padding: 0; list-style: none; }
.search-hit { padding: 14px 0; border-bottom: 1px solid var(--brand-border); }
.search-hit__title { font-family: var(--font-heading); font-weight: 600; font-size: 1.0625rem; color: var(--brand-primary); }
.search-hit__title:hover, .search-hit__title:focus-visible { color: var(--brand-highlight); }
.search-hit__summary { margin: 4px 0 0; }
.search-browse { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0 0 24px; }
.search-browse a { font-family: var(--font-heading); font-weight: 600; }

/* ---------- Home page, layout "Option C" (Ken, 20 Nov 2026) ---------- */

.btn--outline {
  background: transparent;
  color: var(--brand-text);
  box-shadow: inset 0 0 0 2px var(--brand-primary);
}
.btn--outline-light {
  background: transparent;
  color: var(--brand-nav-text);
  box-shadow: inset 0 0 0 1px var(--brand-nav-text);
}

.accent { color: var(--brand-highlight); font-style: italic; }

.home-eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-muted);
}
.home-eyebrow--on-dark { color: var(--text-on-dark-muted); }

/* Large serif headings, used for the main section titles. */
.home-display {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(2.25rem, 3.5vw + 1rem, 3.625rem);
  line-height: 1.05;
  margin: 0;
}
.home-display--center { text-align: center; margin-bottom: 40px; }

/* Hero: words left, photo right; stacks on phones. */
.home-hero { display: flex; flex-wrap: wrap; }
.home-hero__copy { flex: 1 1 520px; min-width: 0; display: flex; align-items: center; }
.home-hero__inner {
  max-width: 640px;
  padding: 56px var(--gutter);
}
.home-hero__bar { display: block; width: 72px; height: 6px; background: var(--brand-highlight); margin-bottom: 28px; }
.home-hero__heading {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(2.6rem, 4vw + 1rem, 4.875rem);
  line-height: 1.02;
  margin: 0 0 24px;
}
.home-hero__intro { font-size: 1.375rem; color: var(--brand-muted); margin-bottom: 32px; }
.home-hero__media { flex: 1 1 520px; min-width: 0; min-height: 360px; position: relative; }
.home-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero__note {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: var(--gutter);
  max-width: 320px;
  margin: 0;
  padding: 16px 20px;
  background: var(--brand-white);
  border-radius: 6px;
  font-size: 1.0625rem;
  line-height: 1.4;
}
.home-hero__note strong { display: block; font-family: var(--font-heading); font-size: 0.9375rem; margin-bottom: 4px; }

@media (min-width: 1100px) {
  .home-hero { min-height: 640px; }
  .home-hero__copy { justify-content: flex-end; }
  .home-hero__inner { padding: 72px 48px 72px var(--gutter); }
}

/* Charcoal bands */
.home-band { background: var(--brand-primary); color: var(--brand-nav-text); }

.home-credentials {
  list-style: none;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.home-credentials li { display: flex; flex-direction: column; gap: 6px; }
.home-credentials__figure { font-size: clamp(2.25rem, 2vw + 1.25rem, 3.125rem); line-height: 1; font-weight: 500; }
.home-credentials__label { color: var(--text-on-dark-muted); font-size: 1.0625rem; }

.home-services { border-top: 1px solid color-mix(in srgb, var(--brand-nav-text) 12%, var(--brand-primary)); }
.home-services__inner { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.home-services__head { flex: 1 1 280px; min-width: 0; }
.home-services__list { flex: 999 1 600px; min-width: 0; }
.home-service {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  padding: 28px 0;
  border-top: 1px solid color-mix(in srgb, var(--brand-nav-text) 28%, var(--brand-primary));
}
.home-service:last-child { border-bottom: 1px solid color-mix(in srgb, var(--brand-nav-text) 28%, var(--brand-primary)); }
.home-service__name { flex: 0 1 200px; margin: 0; font-size: 1.5rem; }
.home-service__body { flex: 1 1 320px; min-width: 0; }
.home-service__text { font-size: 1.375rem; margin-bottom: 12px; }
.home-service__includes { color: var(--text-on-dark-muted); margin-bottom: 12px; }

/* Course finder: questions on a training photo */
.home-finder { position: relative; overflow: hidden; background: var(--brand-primary); }
.home-finder__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.home-finder__inner { position: relative; display: flex; justify-content: flex-end; padding-top: 48px; padding-bottom: 48px; }
.home-finder__panel {
  flex: 0 1 560px;
  min-width: 0;
  padding: 40px 28px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand-primary) 94%, transparent);
  color: var(--brand-nav-text);
}
.home-finder__heading { font-family: var(--font-body); font-weight: 500; font-size: clamp(2rem, 2vw + 1.25rem, 2.625rem); line-height: 1.05; margin: 0 0 12px; }
.home-finder__intro { color: var(--text-on-dark-muted); }
.home-finder__item { border-top: 1px solid color-mix(in srgb, var(--brand-nav-text) 28%, var(--brand-primary)); padding: 14px 0; }
.home-finder__item:last-of-type { border-bottom: 1px solid color-mix(in srgb, var(--brand-nav-text) 28%, var(--brand-primary)); margin-bottom: 24px; }
.home-finder__item summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
}
.home-finder__item summary::-webkit-details-marker { display: none; }
.home-finder__plus { font-size: 1.5rem; line-height: 1; transition: transform .2s ease; }
.home-finder__item[open] .home-finder__plus { transform: rotate(45deg); }
.home-finder__item p { margin: 6px 0 4px; color: var(--text-on-dark-muted); }
.home-finder__aside { margin: 20px 0 0; color: var(--text-on-dark-muted); }

@media (min-width: 900px) {
  .home-finder__inner { padding-top: 64px; padding-bottom: 64px; }
  .home-finder__panel { padding: 52px 44px; }
}

/* How it works */
.home-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.home-step {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  padding: 28px 26px;
}
.home-step__label {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.home-step__label::before { content: ""; display: block; width: 28px; height: 3px; background: var(--brand-highlight); margin-bottom: 12px; }
.home-step__heading { font-family: var(--font-body); font-weight: 500; font-size: 1.75rem; line-height: 1.1; margin: 0 0 10px; }
.home-step__text { margin: 0; }

/* What I see at most firms: charcoal panel with Ken's headshot, problems below */
.home-ken {
  display: flex;
  flex-wrap: wrap;
  background: var(--brand-primary);
  color: var(--brand-nav-text);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}
.home-ken__copy { flex: 999 1 480px; min-width: 0; padding: 48px 28px; display: flex; flex-direction: column; justify-content: center; }
.home-ken__intro { font-style: italic; font-size: 1.375rem; color: var(--text-on-dark-muted); margin: 18px 0 0; }
.home-ken__photo { flex: 1 1 280px; max-width: 400px; position: relative; aspect-ratio: 4 / 5; margin-left: auto; }
.home-ken__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.home-ken__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--brand-primary) 0%, transparent 30%);
}
.home-problems {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  background: var(--brand-surface);
  border-radius: 0 0 8px 8px;
}
.home-problem { padding: 28px; }
.home-problem + .home-problem { border-top: 1px solid var(--brand-border); }
.home-problem__heading { font-size: 1.3125rem; margin: 0 0 10px; }

@media (min-width: 900px) {
  .home-ken__copy { padding: 56px 48px; }
  .home-problem { padding: 32px; }
  .home-problem + .home-problem { border-top: 0; border-left: 1px solid var(--brand-border); }
}

/* Invenias tools: alternating rows */
.home-tools__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: 28px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--brand-border);
}
.home-tool { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; padding: 48px 0; }
.home-tool + .home-tool { border-top: 1px solid var(--brand-border); }
.home-tool__figure { flex: 1 1 400px; min-width: 0; margin: 0; }
.home-tool__figure img { display: block; width: 100%; border-radius: 6px; }
.home-tool--flip .home-tool__figure img { max-width: 480px; margin: 0 auto; }
.home-tool__figure figcaption { margin-top: 10px; font-size: 1rem; color: var(--brand-muted); }
.home-tool__copy { flex: 1 1 400px; min-width: 0; }
.home-tool__name {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.home-tool__heading { font-family: var(--font-body); font-weight: 500; font-size: clamp(2rem, 2vw + 1.25rem, 3rem); line-height: 1.05; margin: 0 0 20px; }
.home-tool__points { padding-left: 22px; font-size: 1.25rem; margin-bottom: 28px; }
.home-tool__points li { margin-bottom: 8px; }
.home-tool__points li::marker { color: var(--brand-highlight); }

@media (min-width: 900px) {
  .home-tool--flip { flex-direction: row-reverse; }
}

/* Advice */
.home-advice {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.home-advice__item { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--brand-text); }
.home-advice__item img { width: 100%; height: 200px; object-fit: cover; border-radius: 6px; }
.home-advice__item span { font-size: 1.5rem; line-height: 1.25; }
.home-advice__item:hover span { text-decoration: underline; }

/* Closing call to action */
.home-closing__inner { display: flex; flex-wrap: wrap; gap: 28px 36px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.home-closing__photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; }
.home-closing__copy { flex: 1 1 380px; min-width: 0; }
.home-closing__copy p { margin: 10px 0 0; font-size: 1.375rem; color: var(--text-on-dark-muted); }

@media (prefers-reduced-motion: reduce) {
  .home-finder__plus { transition: none; }
}

/* Video courses (The Invenias Express, on the LMS) */
.home-video { padding: 0; }
.home-video .home-tool__figure img { border: 1px solid var(--brand-border); }
.home-video__intro { font-size: 1.375rem; color: var(--brand-muted); margin-bottom: 20px; }
.home-video__signin { margin: 20px 0 0; color: var(--brand-muted); }

/* ---------- Inner pages in the home page's style (from 20 Nov 2026) ---------- */

/* Shared page header: words left, photo right (partials/page-hero.php) */
.page-hero { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--brand-border); }
.page-hero__copy { flex: 1 1 520px; min-width: 0; display: flex; align-items: center; }
.page-hero__inner { max-width: 660px; padding: 40px var(--gutter) 48px; }
.page-hero--text .page-hero__copy { justify-content: center; }
.page-hero--text .page-hero__inner { max-width: var(--container); width: 100%; }
.page-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 28px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--brand-muted);
}
.page-hero__crumbs a { color: var(--brand-muted); }
.page-hero__bar { display: block; width: 72px; height: 6px; background: var(--brand-highlight); margin-bottom: 24px; }
.page-hero__heading {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(2.4rem, 3.2vw + 1rem, 4.125rem);
  line-height: 1.04;
  margin: 0 0 20px;
}
.page-hero__intro { font-size: 1.375rem; color: var(--brand-muted); margin-bottom: 28px; max-width: 600px; }
.page-hero__media { flex: 1 1 480px; min-width: 0; min-height: 300px; position: relative; }
.page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 1100px) {
  .page-hero { min-height: 480px; }
  .page-hero__copy { justify-content: flex-end; }
  .page-hero--text .page-hero__copy { justify-content: center; }
  .page-hero__inner { padding: 56px 48px 64px var(--gutter); }
}

/* How we teach: the six EDICTS steps as large serif letters on charcoal */
.method-band { background: var(--brand-primary); color: var(--brand-nav-text); }
.method-band__inner { padding-top: 40px; padding-bottom: 44px; }
.method-band__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
  margin-bottom: 20px;
}
.method-band__head .home-eyebrow { margin: 0; }
.method-band__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}
.method-band__steps li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid color-mix(in srgb, var(--brand-nav-text) 28%, var(--brand-primary));
}
.method-band__letter { font-family: var(--font-body); font-size: 2.75rem; line-height: 1; color: var(--brand-highlight); }
.method-band__word { font-family: var(--font-heading); font-weight: 600; font-size: 1rem; }

/* Filters and course cards, refined */
.chip { border-radius: 999px; }
.chip[aria-current="page"] { background: var(--brand-primary); border-color: var(--brand-primary); color: var(--brand-nav-text); }
.group-intro { border-radius: 8px; }
.group-intro__question { font-size: 1.25rem; }
.course-card { border-radius: 8px; }
.course-card .card__title { font-family: var(--font-body); font-weight: 500; font-size: 1.5rem; line-height: 1.15; }
.course-card__price { font-family: var(--font-body); font-weight: 500; font-size: 1.375rem; }
.package { border-radius: 8px; }
.package__name { font-family: var(--font-body); font-weight: 500; font-size: 1.75rem; }
.package__price { font-family: var(--font-body); font-weight: 500; font-size: 1.75rem; }

/* Video courses band (The Invenias Express) */
.video-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  padding: 40px 28px;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  background: var(--brand-surface);
}
.video-band__copy { flex: 1 1 420px; min-width: 0; }
.video-band__heading { font-family: var(--font-body); font-weight: 500; font-size: clamp(1.875rem, 1.5vw + 1.25rem, 2.5rem); line-height: 1.1; margin: 0 0 10px; }
.video-band__text { margin: 0; font-size: 1.25rem; color: var(--brand-muted); }
.video-band__actions { margin: 0; }

@media (min-width: 900px) {
  .video-band { padding: 48px 44px; }
}
.video-band__points {
  flex: 1 1 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px 32px;
}
.video-band__points li { padding-top: 14px; border-top: 3px solid var(--brand-highlight); }
.video-band__points strong { display: block; font-family: var(--font-heading); font-size: 1.0625rem; margin-bottom: 4px; }
.video-band__actions { order: 3; }

/* Course pages in the home page style */
.page-hero__media--square { display: flex; align-items: center; justify-content: center; padding: 32px var(--gutter); min-height: 0; background: var(--brand-surface); }
.page-hero__media--square img { position: static; width: 100%; max-width: 440px; height: auto; aspect-ratio: 1; border-radius: 8px; box-shadow: var(--shadow-lift); }
.course-display { font-family: var(--font-body); font-weight: 500; font-size: clamp(2rem, 2vw + 1.25rem, 2.875rem); line-height: 1.08; margin: 0 0 8px; }
.tick-list li { font-size: 1.25rem; }
.glance { border-radius: 8px; border-top: 6px solid var(--brand-highlight); }
.glance__heading { font-family: var(--font-body); font-weight: 500; font-size: 1.75rem; }
.glance__price { font-family: var(--font-body); font-weight: 500; font-size: 1.75rem; }
.tip { align-items: center; }
.tip__photo { width: 120px; height: 120px; }
.tip__quote { font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem); line-height: 1.3; }
.home-closing__aside { font-size: 1.125rem; }
.home-closing__actions { margin: 0; }

/* Service pages in the home page style */
.service-familiar { display: flex; flex-wrap: wrap; gap: 32px 56px; padding-top: 72px; padding-bottom: 72px; }
.service-familiar__heading { flex: 1 1 280px; min-width: 0; }
.service-familiar__list { flex: 999 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; }
.service-familiar__list li { display: flex; gap: 20px; align-items: baseline; padding: 18px 0; border-top: 1px solid color-mix(in srgb, var(--brand-nav-text) 28%, var(--brand-primary)); font-size: 1.3125rem; }
.service-familiar__list li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--brand-nav-text) 28%, var(--brand-primary)); }
.service-familiar__n { font-family: var(--font-body); font-size: 1.75rem; color: var(--brand-highlight); flex: 0 0 auto; }
.point { border-radius: 8px; border-top: 6px solid var(--brand-highlight); }
.point__title { font-family: var(--font-body); font-weight: 500; font-size: 1.625rem; line-height: 1.15; }
.section-head .home-display { margin-bottom: 12px; }
.link-card { border-radius: 8px; }
.link-card__title { font: 500 1.625rem/1.15 var(--font-body); }
.testimonial__quote { font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem); line-height: 1.3; }
.faq__q { font-size: 1.125rem; }
.faq .home-display { margin-bottom: 24px; }
.page-hero__media img { object-position: center 25%; }

/* Home video section: the certificate reads clearly as a certificate (Ken, 21 Nov 2026) */
.home-video .home-tool__figure { flex-grow: 1.25; }
.home-video .home-tool__figure img { box-shadow: var(--shadow-lift); }
.home-video .home-tool__figure figcaption { margin-top: 18px; text-align: center; font-family: var(--font-heading); font-weight: 600; font-size: 1.25rem; color: var(--brand-text); }

/* About page in the home page style */
.founder { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.founder__panel { background: var(--brand-primary); color: var(--brand-nav-text); border-radius: 8px; padding: 40px 28px; display: flex; flex-direction: column; gap: 16px; }
.founder__words p { font-size: clamp(1.3rem, 0.8vw + 1.05rem, 1.625rem); line-height: 1.45; color: var(--brand-nav-text); }
.founder__words p:last-child { margin-bottom: 0; }
.founder__photo { border-radius: 8px; overflow: hidden; min-height: 420px; background: var(--brand-surface); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.edicts__step { border-radius: 8px; background: var(--brand-white); }
.edicts__letter { font-family: var(--font-body); font-weight: 500; }
.edicts__name { font-family: var(--font-body); font-weight: 500; font-size: 1.5rem; }
.testimonial--large { position: relative; padding-top: 28px; }
.testimonial__mark { position: absolute; top: -18px; left: 0; font-family: var(--font-body); font-size: 6rem; line-height: 1; color: var(--brand-highlight); }
.testimonial--large .testimonial__quote { font-style: normal; font-size: clamp(1.6rem, 1.2vw + 1.2rem, 2.25rem); line-height: 1.3; }
@media (min-width: 900px) { .founder__panel { padding: 56px 48px; justify-content: center; } }

/* Blueprints in the home page style */
.page-hero__price { font-family: var(--font-body); font-size: 1.5rem; margin: -8px 0 12px; }
.page-hero__media--framed img { aspect-ratio: auto; max-width: 480px; }
.blueprints-licence { text-align: center; margin-top: 28px; }
.blueprint-group { font-family: var(--font-body); font-weight: 500; font-size: 1.875rem; }
.section--tight { padding: 24px 0 56px; }

/* Advice hub and articles in the home page style */
.advice-feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 28px 48px;
  align-items: center;
  padding-bottom: 48px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--brand-border);
  text-decoration: none;
  color: var(--brand-text);
}
.advice-feature img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.advice-feature__copy { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.advice-feature__copy .home-eyebrow { margin: 0; }
.advice-feature__title { font-family: var(--font-body); font-weight: 500; font-size: clamp(2rem, 2vw + 1.25rem, 3rem); line-height: 1.08; margin: 0; }
.advice-feature__text { font-size: 1.25rem; color: var(--brand-muted); }
.advice-feature:hover .advice-feature__title { text-decoration: underline; }
.advice-list { list-style: none; padding: 0; }
.article { padding-top: 40px; }
.article .article__image { display: block; width: 100%; max-width: 960px; height: auto; margin: 0 auto 48px; border-radius: 8px; }
.article__body { font-size: 1.3125rem; line-height: 1.7; }
.article__body h2, .article__body h3 { font-family: var(--font-body); font-weight: 500; line-height: 1.15; margin-top: 1.6em; }
.article__body h2 { font-size: clamp(1.75rem, 1vw + 1.35rem, 2.25rem); }
.article__body h3 { font-size: 1.5rem; }
.article__body li::marker { color: var(--brand-highlight); }
.article__body blockquote { margin: 1.5em 0; padding-left: 24px; border-left: 3px solid var(--brand-highlight); font-style: italic; }

/* Advice hub front page and centred text-only headers (Ken: "more high end", 21 Nov 2026) */
.advice-top { padding: 32px 0 56px; }
.advice-top__title {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 48px;
  padding-bottom: 28px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--brand-primary);
}
.advice-top__heading { flex: 1 1 520px; margin: 0; font-family: var(--font-body); font-weight: 500; font-size: clamp(2.5rem, 3.5vw + 1rem, 4.5rem); line-height: 1.02; }
.advice-top__intro { flex: 0 1 380px; margin: 0; font-size: 1.25rem; color: var(--brand-muted); }
.advice-front { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px 56px; }
.advice-front__label {
  display: block;
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-muted);
}
.advice-front__feature { display: block; text-decoration: none; color: var(--brand-text); }
.advice-front__feature img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; margin-bottom: 20px; }
.advice-front__title { font-family: var(--font-body); font-weight: 500; font-size: clamp(2rem, 1.5vw + 1.4rem, 2.875rem); line-height: 1.08; margin: 0 0 12px; }
.advice-front__text { margin: 0; font-size: 1.25rem; color: var(--brand-muted); }
.advice-front__feature:hover .advice-front__title { text-decoration: underline; }
.advice-front__latest ul { list-style: none; margin: 0; padding: 0; }
.advice-front__latest li { border-top: 1px solid var(--brand-border); }
.advice-front__latest li:last-child { border-bottom: 1px solid var(--brand-border); }
.advice-front__latest a { display: flex; gap: 18px; align-items: center; padding: 18px 0; text-decoration: none; color: var(--brand-text); }
.advice-front__latest img { flex: 0 0 112px; width: 112px; height: 84px; object-fit: cover; border-radius: 6px; }
.advice-front__latest span { font-family: var(--font-body); font-size: 1.375rem; line-height: 1.25; }
.advice-front__latest a:hover span { text-decoration: underline; }
.advice-list { margin-top: 32px; }

@media (min-width: 1000px) {
  .advice-front { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .advice-front__latest { border-left: 1px solid var(--brand-border); padding-left: 48px; }
}

/* Text-only headers (articles, Tools, Clients): centred, editorial */
.page-hero--text { border-bottom: 0; }
.page-hero--text .page-hero__inner { max-width: 920px; margin: 0 auto; text-align: center; padding: 48px var(--gutter) 40px; }
.page-hero--text .page-hero__crumbs { justify-content: center; }
.page-hero--text .page-hero__bar { margin-left: auto; margin-right: auto; }
.page-hero--text .page-hero__intro { margin-left: auto; margin-right: auto; }
.page-hero--text .cta-row { justify-content: center; }
.page-hero--text .page-hero__heading { font-size: clamp(2.4rem, 3vw + 1.1rem, 4.25rem); }

/* Remaining pages (online courses, certification, trust, search, legal, procurement, support,
   basket, order pages): the old dark header restyled as the light, centred serif header
   (Ken, 21 Nov 2026). */
.hero--short {
  color: var(--brand-text);
  background: var(--brand-bg);
  background-image: none;
  text-align: center;
}
.hero--short .hero__inner { max-width: 920px; padding-top: 48px; padding-bottom: 40px; }
.hero--short .breadcrumb::after {
  content: "";
  display: block;
  width: 72px;
  height: 6px;
  margin: 24px auto 0;
  background: var(--brand-highlight);
}
.hero--short .breadcrumb { color: var(--brand-muted); margin-bottom: 24px; }
.hero--short .breadcrumb a { color: var(--brand-muted); }
.hero--short .eyebrow { justify-content: center; color: var(--brand-muted); }
.hero--short .eyebrow::before { display: none; }
.hero--short .hero__heading {
  max-width: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(2.4rem, 3vw + 1.1rem, 4.25rem);
  line-height: 1.04;
}
.hero--short .hero__intro { margin-left: auto; margin-right: auto; color: var(--brand-muted); font-size: 1.375rem; }
.hero--short .text-link--on-dark { color: var(--brand-text); }
.hero--short .cta-row { justify-content: center; }
.hero--short .hero__price { background: var(--brand-surface); color: var(--brand-text); }
.hero--short .currency-switch--on-dark { color: var(--brand-text); }

@media (min-width: 900px) {
  .hero--short .hero__inner { padding-top: 64px; padding-bottom: 48px; }
}

/* Online courses (The Invenias Express), in the home page style */
.express-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 32px 40px;
}
.express-point { padding-top: 20px; border-top: 1px solid var(--brand-primary); }
.express-point__n { display: block; font-family: var(--font-body); font-size: 2.75rem; line-height: 1; color: var(--brand-highlight); margin-bottom: 14px; }
.express-point__title { font-family: var(--font-body); font-weight: 500; font-size: 1.875rem; line-height: 1.1; margin: 0 0 10px; }
.express-point__lead { font-style: italic; font-size: 1.25rem; margin-bottom: 10px; }

.express-portal {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
  align-items: center;
  padding: 44px 28px;
  border-radius: 8px;
  background: var(--brand-primary);
  color: var(--brand-nav-text);
}
.express-portal__copy { flex: 1 1 420px; min-width: 0; }
.express-portal__intro { margin: 16px 0 0; font-size: 1.25rem; color: var(--text-on-dark-muted); }
.express-portal__list { flex: 1 1 320px; min-width: 0; list-style: none; margin: 0; padding: 0; }
.express-portal__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid color-mix(in srgb, var(--brand-nav-text) 28%, var(--brand-primary));
  font-family: var(--font-body);
  font-size: 1.5rem;
}
.express-portal__list li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--brand-nav-text) 28%, var(--brand-primary)); }
.express-portal__list li::before { content: ""; flex: 0 0 10px; height: 10px; border-radius: 50%; background: var(--brand-highlight); }

.express-cta { justify-content: center; margin: 36px 0 0; }
.express-certs__text { font-size: 1.25rem; color: var(--brand-muted); margin: 20px 0 28px; max-width: 760px; }
.express-levels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 24px;
}
.express-level { padding: 28px; border-radius: 8px; border-top: 6px solid var(--brand-highlight); background: var(--brand-surface); }
.express-level__name { font-family: var(--font-body); font-weight: 500; font-size: 2rem; margin: 0 0 8px; }

@media (min-width: 900px) {
  .express-portal { padding: 56px 48px; }
}

/* Certification, Trust, Procurement pack, Support in the home page style (21 Nov 2026) */
.cert-levels { margin-top: 28px; }
.cert-tracks__heading { font-family: var(--font-body); font-weight: 500; font-size: 1.75rem; margin: 40px 0 16px; }
.cert-tracks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.cert-tracks li { padding: 12px 20px; border-radius: 999px; background: var(--brand-white); border: 1px solid var(--brand-border); font-family: var(--font-heading); font-weight: 600; }
.cert-verify { flex: 1 1 360px; min-width: 0; list-style: none; margin: 0; padding: 0; }
.cert-verify li { display: flex; gap: 18px; align-items: baseline; padding: 18px 0; border-top: 1px solid color-mix(in srgb, var(--brand-nav-text) 28%, var(--brand-primary)); font-size: 1.25rem; }
.cert-verify li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--brand-nav-text) 28%, var(--brand-primary)); }
.cert-verify .express-point__n { font-size: 2rem; margin: 0; }
.cert-verify__cta { margin: 28px 0 0; }

.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px; }
.trust-grid .trust__section { margin: 0; padding: 28px; border-radius: 8px; border-top: 6px solid var(--brand-highlight); background: var(--brand-surface); }
.trust__heading { font-family: var(--font-body); font-weight: 500; font-size: 1.75rem; line-height: 1.15; margin: 0 0 12px; }

.procurement__form-wrap { border-radius: 8px; border-top: 6px solid var(--brand-highlight); }
.procurement__form-wrap h2 { font-family: var(--font-body); font-weight: 500; font-size: 2rem; line-height: 1.1; }

/* Composed pictures shown whole (online courses certificate showcase) */
.page-hero__media--contain { background: var(--brand-surface); }
.page-hero__media--contain img { object-fit: contain; }

/* Online courses: comparison with the free knowledge-base videos */
.compare__intro { max-width: 760px; margin: -16px auto 32px; text-align: center; font-size: 1.25rem; color: var(--brand-muted); }
.compare__scroll { overflow-x: auto; border-radius: 8px; background: var(--brand-white); border: 1px solid var(--brand-border); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 1.125rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--brand-border); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--font-heading); font-size: 0.875rem; letter-spacing: 1px; text-transform: uppercase; color: var(--brand-muted); }
.compare tbody th { font-family: var(--font-body); font-weight: 500; font-size: 1.25rem; width: 28%; }
.compare td { color: var(--brand-muted); }
.compare .compare__ours { background: var(--brand-primary); color: var(--brand-nav-text); }
.compare thead .compare__ours { color: var(--brand-nav-text); border-top: 6px solid var(--brand-highlight); }
.compare tbody .compare__ours { border-bottom-color: color-mix(in srgb, var(--brand-nav-text) 22%, var(--brand-primary)); }

/* Selling points under a page header's intro (online courses) */
.page-hero__points { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.page-hero__points li { position: relative; padding-left: 30px; font-size: 1.1875rem; }
.page-hero__points li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px; border-left: 3px solid var(--brand-highlight); border-bottom: 3px solid var(--brand-highlight); transform: rotate(-45deg); }
.page-hero__points { margin: 0 0 32px; }

/* Composed picture with its note directly underneath (Ken, 21 Nov 2026) */
.page-hero__media--contain { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 32px var(--gutter); }
.page-hero__media--contain img { position: static; width: 100%; max-width: 640px; height: auto; }
.page-hero__media--contain .home-hero__note { position: static; max-width: 440px; text-align: center; }

/* Portrait photos in a page header keep the face in view (support page) */
.page-hero__media--portrait img { object-position: center top; }

.page-hero__aside { margin: 20px 0 0; color: var(--brand-muted); }

/* Basket and order pages in the home page style (Ken, 21 Nov 2026) */
.section--tight-top { padding-top: 40px; }
.shop-card { padding: 28px; border-radius: 8px; border-top: 6px solid var(--brand-highlight); background: var(--brand-white); box-shadow: var(--shadow-soft); }
.shop-card__heading { margin: 0; font-family: var(--font-body); font-weight: 500; font-size: 2rem; line-height: 1.1; }
.shop-card--centre { max-width: 640px; margin: 0 auto; text-align: center; }
.shop-card--centre .cta-row { justify-content: center; }
.basket__empty { grid-column: 1 / -1; }
.basket__empty p { font-size: 1.25rem; color: var(--brand-muted); }
.basket__empty-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin: 8px 0 0; }
.basket__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 12px; }
.basket__head .basket__currency { margin: 0; }
.basket__table { font-size: 1.125rem; }
.basket__total th, .basket__total td { font-size: 1.375rem; padding-top: 18px; }
@media (min-width: 960px) { .basket__checkout { position: sticky; top: 24px; } }
.shop-assure { display: grid; gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; grid-template-columns: 1fr; }
@media (min-width: 760px) { .shop-assure { grid-template-columns: repeat(3, 1fr); } }
.shop-assure li { padding: 20px 0 0; border-top: 3px solid var(--brand-highlight); color: var(--brand-muted); }
.shop-assure strong { display: block; margin-bottom: 4px; font-family: var(--font-heading); font-size: 1rem; color: var(--brand-text); }
.order-layout { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .order-layout { grid-template-columns: 1fr 1fr; } }
.order-receipt__lines { margin: 20px 0 0; padding: 0; list-style: none; }
.order-receipt__lines li { padding: 14px 0; border-bottom: 1px solid var(--brand-border); font-size: 1.125rem; }
.order-receipt__total { display: flex; justify-content: space-between; margin: 18px 0 0; font-family: var(--font-heading); font-size: 1.375rem; }
.order-next { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.order-next__photo { width: 160px; height: auto; border-radius: 8px; box-shadow: var(--shadow-lift); }
.order-next > div { flex: 1 1 260px; }
.order-next .home-eyebrow { margin: 0 0 8px; }
.order-next__text { margin: 0; font-size: 1.25rem; }
.order-confirm { margin: 0; }
@media (min-width: 960px) {
  .basket { grid-template-rows: auto 1fr; }
  .basket__checkout { grid-column: 2; grid-row: 1 / span 2; }
  .basket .shop-assure { grid-column: 1; margin-top: 0; }
}
.order-next .cta-row { margin-top: 20px; }
.page-hero--text .page-hero__aside { max-width: 640px; margin-left: auto; margin-right: auto; }

/* Search page and error pages in the home page style (Ken, 21 Nov 2026) */
.site-search--centre { max-width: 640px; margin: 32px auto 0; text-align: left; }
.page-hero--error .site-search--centre { margin-top: 40px; }
.site-search--centre input[type="search"] { padding: 14px 18px; font-size: 1.25rem; }
.search-browse--centre { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 24px 0 0; }
.search-browse--centre span { color: var(--brand-muted); }
.search-results { margin: 0 auto; }
.search-results__count { font-family: var(--font-body); font-weight: 500; font-size: clamp(1.75rem, 1.5vw + 1.2rem, 2.5rem); line-height: 1.15; }
.search-group.shop-card { margin-bottom: 28px; }
.search-group.shop-card .search-group__heading { padding-top: 0; border-top: 0; font-size: 0.875rem; letter-spacing: 1px; text-transform: uppercase; color: var(--brand-muted); }
.search-hit:last-child { border-bottom: 0; padding-bottom: 0; }
.search-hit__title { font-family: var(--font-body); font-weight: 500; font-size: 1.375rem; }
.search-hit__summary { color: var(--brand-muted); }

/* Legal pages in the home page style (Ken, 21 Nov 2026): the document on a white sheet */
.page-hero--text .page-hero__heading { overflow-wrap: break-word; }
.page-hero:has(+ .legal) .page-hero__heading { font-size: clamp(2rem, 2vw + 1.2rem, 3.25rem); }
.legal__card { max-width: 860px; margin: 0 auto; padding: clamp(24px, 4vw, 56px); }
.legal__body > :first-child { margin-top: 0; }
.legal__body h2, .legal__body h3 { margin: 40px 0 12px; font-family: var(--font-body); font-weight: 500; font-size: 1.75rem; line-height: 1.2; }
.legal__body h4 { margin: 28px 0 8px; font-family: var(--font-heading); font-size: 1rem; }
.legal__body table { width: 100%; border-collapse: collapse; }
.legal__body th, .legal__body td { padding: 10px; border-bottom: 1px solid var(--brand-border); text-align: left; vertical-align: top; }
@media (min-width: 960px) { .page-hero--text { min-height: 0; } }
.page-hero:has(+ .legal) .page-hero__heading .accent { font-style: normal; font-size: 1.2em; line-height: 0; margin-right: 0.08em; vertical-align: -0.04em; }
.legal__body [id] { scroll-margin-top: 24px; }
/* Basket: a clear Remove button on every line (Ken, 21 Nov 2026) */
.basket__remove-cell { text-align: right; white-space: nowrap; }
.basket__remove-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--brand-border); border-radius: 8px; background: var(--brand-white); color: var(--brand-primary); font-family: var(--font-heading); font-size: 0.8125rem; font-weight: 600; cursor: pointer; }
.basket__remove-btn span { color: var(--brand-highlight); font-size: 1.125rem; line-height: 1; }
.basket__remove-btn:hover { border-color: var(--brand-highlight); }
.basket__remove-btn:focus-visible { outline: 3px solid var(--brand-highlight); outline-offset: 2px; }
.basket__partial { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.basket__partial p { margin: 0; }
