/**
 * Ghost BEM layout chrome
 * HTML preview moved layout to Tailwind utilities; Ghost .hbs still uses BEM only.
 * This file restores the missing layout so the theme is not "naked HTML".
 */
.site-container {
  width: 100%;
  max-width: var(--container-max, 1280px);
  margin-inline: auto;
  padding-inline: var(--container-pad, clamp(1.25rem, 4vw, 2.5rem));
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

/* Utility used in .hbs (about history header) but not emitted by the
   prebuilt Tailwind app.css — restore it so heading→content spacing
   matches the locked HTML. */
.mb-section-gap {
  margin-bottom: var(--spacing-section-gap);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body, "Roboto", sans-serif);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: var(--radius, 4px);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--primary-brand, #000050);
  color: #fff;
  border: 1px solid var(--primary-brand, #000050);
  padding: 0.65rem 1rem;
}

.btn-primary:hover {
  box-shadow: 0 0 16px rgba(0, 0, 80, 0.35);
}

/* ── Hero stage — matches html/index.html locked hero ── */
.hero-stage {
  position: relative;
  z-index: 10;
  width: 100%;
  height: calc(220vh + var(--hub-hold-h, 100vh));
  color: #fff;
  background: #000050;
}

.hero-stage__viewport {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #000050;
}

.hero-bg__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #000050;
  background-image: url("https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&w=1920&q=80");
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(0.25) brightness(0.38);
}

/* Optional: force navy-only (no photo) via Theme setting — leave hero_image_url empty
   and add body class… kept as default photo + mesh like HTML. Mesh always on. */
.hero-bg__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 80, 0.45) 0%,
    rgba(0, 0, 80, 0.72) 45%,
    rgba(0, 0, 50, 0.88) 100%
  );
}

.hero-bg__mesh {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.hero-bg__flare {
  position: absolute;
  top: -12%;
  right: -5%;
  z-index: 3;
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.12) 30%,
    transparent 65%
  );
}

/* No custom URL: still use theme default photo; mesh stays visible.
   If default photo blocked/fails, navy #000050 + mesh/flare remain. */
.hero-bg--default .hero-bg__mesh {
  opacity: 0.9;
}

.hero-panel {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding-bottom: var(--quick-bar-h, 68px);
  will-change: opacity, transform;
}

.hero-panel__center {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.45rem, 1.5vw, 0.65rem);
  width: 100%;
  min-width: 0;
  padding: calc(var(--header-h, 72px) + 0.75rem) clamp(0.75rem, 3vw, 1.25rem) clamp(0.75rem, 2vw, 1rem);
  text-align: center;
}

.hero-panel__tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.5rem;
  margin: 0 0 1.25rem;
}

.hero-panel__dot {
  color: rgba(192, 192, 192, 0.6);
  font-size: 0.75rem;
  user-select: none;
}

.hero-panel__tab {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 50, 0.2);
  color: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius, 4px);
  padding: 0.45rem 0.75rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  backdrop-filter: blur(4px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.hero-panel__tab:hover {
  border-color: var(--secondary-accent, #c0c0c0);
  background: rgba(0, 0, 50, 0.45);
}

/* LOCKED: hero + inner banner titles — single line on desktop (was 18ch → forced wrap) */
.hero-title,
.inner-hero__title,
.inner-banner .hero-title,
.inner-banner h1 {
  margin: 0;
  max-width: 100%;
  width: max-content;
  margin-inline: auto;
  font-family: var(--font-heading, "Oswald", sans-serif);
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.03em;
  color: #fff;
  text-wrap: nowrap;
  white-space: nowrap;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.inner-hero__title {
  margin-inline: 0;
  color: inherit;
  text-shadow: none;
}

@media (max-width: 700px) {
  .hero-title,
  .inner-hero__title,
  .inner-banner .hero-title,
  .inner-banner h1 {
    white-space: normal;
    text-wrap: balance;
    width: auto;
    max-width: 100%;
    font-size: clamp(1.85rem, 9vw, 2.75rem);
  }
}

.hero-subtitle {
  margin: 0.5rem 0 0;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 500;
  color: #fff;
}

.hero-desc {
  margin: 0.25rem 0 0;
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  color: var(--secondary-accent, #c0c0c0);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.75rem;
  padding: clamp(0.75rem, 2vw, 0.9rem) clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius, 4px);
  background: rgba(0, 0, 50, 0.28);
  color: #fff;
  font-size: clamp(0.65rem, 1.8vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  backdrop-filter: blur(14px);
  box-shadow: 0 0 20px rgba(192, 192, 192, 0.12);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover {
  border-color: #fff;
  background: rgba(0, 0, 50, 0.5);
  box-shadow: 0 0 20px rgba(192, 192, 192, 0.25);
}

.hero-share {
  margin: 1rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}

/* Hub: default hidden until GSAP scroll; keep main.css hooks */
.hub-panel.hub-panel--circuit {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  padding: 0 0 var(--quick-bar-h, 68px);
  background: transparent;
  will-change: opacity, transform;
}

.hub-panel.hub-panel--circuit .hub-panel__inner {
  height: 100%;
  overflow: hidden;
  padding: calc(var(--header-h, 72px) + 0.35rem) clamp(0.75rem, 1.5vw, 1.25rem) clamp(0.5rem, 1.5vw, 1rem);
}

.hub-panel__note {
  display: none;
}

/* Quick bar pinned to hero bottom */
.hero-quick-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: var(--quick-bar-h, 68px);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 50, 0.55);
  backdrop-filter: blur(10px);
}

.hero-quick-bar__card {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: clamp(0.4rem, 1.5vw, 0.75rem);
  padding: clamp(0.85rem, 2.5vw, 1.15rem) clamp(0.5rem, 2vw, 1rem);
  color: #fff;
  font-size: clamp(0.55rem, 1.6vw, 0.7rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.2s ease;
}

.hero-quick-bar__card:last-child {
  border-right: 0;
}

.hero-quick-bar__card:hover {
  background: rgba(0, 0, 80, 0.45);
}

.hero-quick-bar__icon {
  display: inline-flex;
  width: clamp(1.35rem, 3.5vw, 1.75rem);
  height: clamp(1.35rem, 3.5vw, 1.75rem);
  flex-shrink: 0;
  opacity: 0.92;
}

.hero-quick-bar__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-quick-bar__label {
  text-align: center;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

/* Legacy standalone quick-bar (inner pages) */
.quick-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: var(--quick-bar-h, 68px);
  background: #000050;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.quick-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  color: #fff;
  font-size: clamp(0.55rem, 1.6vw, 0.72rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.quick-card:last-child {
  border-right: 0;
}

.quick-card:hover {
  background: rgba(0, 0, 80, 0.45);
}

.quick-card__icon {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.quick-card__icon svg {
  width: 100%;
  height: 100%;
}

/* ── Section shells ── */
.skill-band,
.value-band,
.info-band {
  position: relative;
  background: #fff;
  color: var(--text-main, #212121);
}

/* Do NOT force white on .quality-section / .course-band — main.css gradients win */

/* Section vertical rhythm — matches locked HTML per-section padding
   (html/index.html + html/pages/about.html). Kept consistent so the
   gap between any two stacked sections stays ~HTML parity. */
.quality-section__body {
  padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(3rem, 7vw, 5rem);
}

.course-band__body,
.skill-band__body,
.value-band__body {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.info-band__body {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.75rem, 6vw, 4.25rem);
}

/* QUALITY title — HTML text-section-lg */
.quality-section.quality-section--c .quality-section__body {
  padding-top: calc(var(--header-h, 72px) + clamp(0.5rem, 1.5vw, 1rem));
}

.quality-hero__title,
.skill-band__title,
.value-band__title,
.info-band__title,
.course-band__title {
  display: inline-block;
  margin: 0;
  padding-bottom: 0.8rem;
  font-family: var(--font-heading, "Oswald", sans-serif);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.15;
  color: var(--primary-brand, #000050);
  text-align: center;
}

.quality-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: 0.12em;
}

.quality-hero__title::after,
.skill-band__title::after,
.value-band__title::after,
.info-band__title::after,
.course-band__title::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 0.8rem;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 90, 0.35) 12%,
    rgba(0, 0, 50, 0.96) 50%,
    rgba(0, 0, 90, 0.35) 88%,
    transparent 100%
  );
}

.quality-section__header,
.skill-band__header,
.value-band__header,
.course-band__header {
  margin-bottom: 1.25rem;
  text-align: center;
}

.quality-content h2,
.skill-content h2,
.value-content h2,
.ghost-content h2 {
  font-family: var(--font-heading, "Oswald", sans-serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: 0.06em;
  color: var(--primary-brand, #000050);
  margin: 1.5rem 0 0.5rem;
}

.quality-content p,
.skill-content p,
.value-content p,
.ghost-content p,
.ghost-content li {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.65;
  color: var(--text-main, #212121);
}

.ghost-content ul {
  padding-left: 1.25rem;
}

/* ── Course bands / icon cards (HTML parity) ── */
.course-band__wrap {
  display: grid;
  gap: clamp(1.75rem, 3.5vw, 2.5rem);
}

.course-card.course-card--icon,
.course-card--icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  gap: 0.55rem;
  padding: clamp(1.15rem, 2.2vw, 1.55rem);
  text-align: center;
  background: transparent;
  border: 1px solid rgba(192, 192, 192, 0.8);
  border-radius: var(--radius, 4px);
  box-shadow: none;
  overflow: visible;
}

.course-card--icon:hover {
  transform: none;
  box-shadow: none;
}

.course-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 0.15rem;
  padding: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(192, 192, 192, 0.7);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.95), transparent 58%),
    linear-gradient(155deg, #ffffff 0%, #f4f6fb 52%, #e9edf6 100%);
  box-shadow:
    0 10px 24px rgba(0, 0, 80, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.course-card__icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.course-card--icon .course-card__title,
.course-card__title {
  margin: 0;
  font-family: var(--font-heading, "Oswald", sans-serif);
  font-size: clamp(1.05rem, 1.9vw, 1.25rem); /* 20px, fluid */
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.28;
  text-transform: uppercase; /* force every card title uppercase, whatever the source casing */
  color: var(--primary-brand, #000050);
  text-wrap: balance;
}

.course-card__price {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--primary-brand, #000050);
}

.course-card__desc {
  margin: 0;
  font-size: clamp(0.84rem, 1.35vw, 0.95rem);
  line-height: 1.5;
  color: var(--text-meta, #757575);
  text-wrap: pretty;
}

.course-card--icon .course-card__cta {
  /* Pin CTA to the bottom of the equal-height card so every "Learn More"
     button lines up regardless of how many lines the title/description take. */
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-heading, "Oswald", sans-serif);
  font-size: clamp(0.72rem, 1.2vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--primary-brand, #000050);
  background: transparent;
  border: 1.5px solid rgba(0, 0, 80, 0.32);
  border-radius: var(--radius, 4px);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.course-card--icon .course-card__cta:hover {
  color: #fff;
  background: var(--primary-brand, #000050);
  border-color: var(--primary-brand, #000050);
}

/* ── Skill / Value icon rows ── */
.skill-band__list,
.value-band__list {
  width: min(68.75rem, 100%);
  max-width: 1100px;
  margin-inline: auto;
}

.skill-row {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.1rem, 2.5vw, 2rem);
  padding: clamp(1.35rem, 2.8vw, 2rem) 0;
  color: inherit;
  text-decoration: none;
}

.skill-row--link:hover .skill-row__title {
  text-decoration: underline;
}

.skill-row__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: clamp(4.25rem, 8.5vw, 5rem);
  height: clamp(4.25rem, 8.5vw, 5rem);
  border-radius: 999px;
  border: 1px solid rgba(192, 192, 192, 0.7);
  color: var(--primary-brand, #000050);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.95), transparent 58%),
    linear-gradient(155deg, #ffffff 0%, #f4f6fb 52%, #e9edf6 100%);
  box-shadow:
    0 10px 24px rgba(0, 0, 80, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.skill-row__icon .material-symbols-outlined {
  font-size: clamp(1.85rem, 3.5vw, 2.25rem);
  line-height: 1;
  font-variation-settings: "wght" 300, "opsz" 28, "FILL" 0, "GRAD" 0;
}

.skill-row__icon--img img,
.skill-row__icon--custom .skill-row__media,
.skill-row__icon--custom img,
.skill-row__icon--custom svg {
  display: block;
  width: 70%;
  height: 70%;
  max-width: 2.5rem;
  max-height: 2.5rem;
  object-fit: contain;
  object-position: center;
}

.skill-row--no-icon {
  /* Title + content only — no empty circle */
}

.skill-row--no-icon .skill-row__copy {
  padding-top: 0;
}

.skill-empty {
  text-align: center;
  color: var(--text-meta, #757575);
}

/* Lists from Page editor (ul/ol) — same look as Value checklists */
.skill-row__copy .value-checklist,
.skill-row__copy ul.value-checklist,
.skill-row__copy ol.value-checklist {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.skill-row__copy .value-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.6;
  color: var(--text-main, #212121);
}

.skill-row__copy p,
.skill-row__copy li {
  margin: 0;
}

/* Editor-slot paragraphs land here (not .skill-row__text) — keep them at the
   18px body scale to match the rest of the homepage. */
.skill-row__copy p {
  font-size: clamp(1.0625rem, 1.85vw, 1.125rem); /* 18px */
  line-height: 1.75;
  color: var(--text-main, #212121);
}

.skill-row__copy p + p,
.skill-row__copy p + ul,
.skill-row__copy p + ol {
  margin-top: 0.55rem;
}

.skill-row__copy a {
  color: var(--primary-brand, #000050);
  text-decoration: underline;
}


.skill-row__copy {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  padding-top: 0.15rem;
}

.skill-row__title {
  margin: 0;
  font-family: var(--font-heading, "Oswald", sans-serif);
  font-size: clamp(1.16rem, 2.25vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary-brand, #000050);
}

.skill-row__text {
  margin: 0;
  font-size: clamp(1.0625rem, 1.85vw, 1.125rem); /* 18px */
  line-height: 1.75;
  color: var(--text-main, #212121);
}

.skill-row__rule {
  height: 1px;
  background: rgba(192, 192, 192, 0.85);
}

.value-checklist {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.value-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: clamp(0.9rem, 1.4vw, 0.98rem);
  line-height: 1.55;
  color: var(--text-main, #212121);
}

.value-checklist .material-symbols-outlined {
  flex-shrink: 0;
  margin-top: 0.05rem;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--primary-brand, #000050);
  font-variation-settings: "wght" 400, "opsz" 20, "FILL" 1, "GRAD" 0;
}

/* Quality collage extras */
.quality-collage__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius, 4px);
  border: 3px solid #fff;
  box-shadow:
    0 20px 46px rgba(0, 0, 80, 0.17),
    0 8px 20px rgba(0, 0, 80, 0.09);
}

.quality-collage__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quality-collage {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.quality-wrap {
  display: grid;
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
}

.quality-mvf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  align-items: start;
}

.quality-mvf h3,
.quality-trust h3,
.quality-delivery h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading, "Oswald", sans-serif);
  letter-spacing: 0.08em;
  color: var(--primary-brand, #000050);
}

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

.quality-delivery article {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.quality-delivery__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  color: var(--primary-brand, #000050);
  background: #eef1f7;
}

/* Space between MVF and @GuardTrainingTN (marked gap in QA) */
.quality-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  max-width: 36rem;
  margin: 0 auto;
  padding-top: clamp(1.5rem, 4vw, 2.75rem);
  font-family: var(--font-heading, "Oswald", sans-serif);
  font-size: clamp(0.82rem, 1.5vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent, #c0c0c0);
}

.quality-handle__line {
  flex: 1;
  height: 1px;
  background: rgba(192, 192, 192, 0.9);
}

.quality-trust {
  text-align: center;
  margin: clamp(1.5rem, 3vw, 2.25rem) auto 0;
  max-width: 1100px;
}

.quality-trust__title {
  margin: 0 0 1.15rem;
  font-family: var(--font-heading, "Oswald", sans-serif);
  font-size: clamp(1.28rem, 2.7vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary-brand, #000050);
}

.quality-trust__body {
  display: grid;
  gap: clamp(0.85rem, 1.8vw, 1.15rem);
  width: min(68.75rem, 100%);
  margin-inline: auto;
}

.quality-trust__body p,
.quality-mvf__item p,
.quality-delivery__copy p {
  margin: 0;
  font-size: clamp(1.0625rem, 1.85vw, 1.125rem); /* 18px */
  line-height: 1.75;
  color: var(--text-main, #212121);
}

.quality-mvf {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
  margin: 0;
  text-align: center;
}

.quality-mvf__rule {
  width: 1px;
  min-height: 4.5rem;
  align-self: stretch;
  background: rgba(192, 192, 192, 0.85);
}

.quality-mvf__item h3,
.quality-delivery__copy h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-heading, "Oswald", sans-serif);
  font-size: clamp(1.02rem, 1.9vw, 1.18rem);
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--primary-brand, #000050);
}

.quality-delivery {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2.5vw, 1.85rem);
  max-width: 60rem;
  margin: 1.25rem auto 0;
}

/* Desktop: stacked full-width rows — icon LEFT, heading + wide text RIGHT.
   Mobile (<=1023px): icon ABOVE title, centered. */
.quality-delivery__item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: clamp(0.85rem, 1.8vw, 1.15rem);
  text-align: left;
}

.quality-delivery__copy {
  flex: 1;
  min-width: 0;
}

.quality-delivery__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 999px;
  border: 1px solid rgba(192, 192, 192, 0.7);
  color: var(--primary-brand, #000050);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.95), transparent 58%),
    linear-gradient(155deg, #ffffff 0%, #f4f6fb 52%, #e9edf6 100%);
  box-shadow:
    0 10px 24px rgba(0, 0, 80, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.quality-delivery__icon .material-symbols-outlined {
  font-size: 1.6rem;
  line-height: 1;
  font-variation-settings: "wght" 280, "opsz" 24, "FILL" 0, "GRAD" 0;
}

/* Custom Page image / SVG (priority over Material default) */
.quality-delivery__icon--custom {
  overflow: hidden;
  padding: 0.45rem;
}

.quality-delivery__icon .quality-delivery__media,
.quality-delivery__icon .js-delivery-custom {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 2.35rem;
  max-height: 2.35rem;
  object-fit: contain;
  object-position: center;
}

.quality-delivery__icon svg.quality-delivery__media,
.quality-delivery__icon svg.js-delivery-custom {
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
}

.quality-delivery__icon picture.quality-delivery__media,
.quality-delivery__icon picture.js-delivery-custom {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.quality-delivery__icon picture img {
  width: 100%;
  height: 100%;
  max-width: 2.35rem;
  max-height: 2.35rem;
  object-fit: contain;
}

.quality-delivery__copy h3 {
  margin-bottom: 0.25rem;
  font-size: clamp(0.88rem, 1.55vw, 1.02rem);
}

.quality-empty {
  text-align: center;
  color: var(--text-meta, #757575);
}

/* Hub positions by slug index (layout locked; nodes come from Course Pages loop) */
.hub-node[data-hub-index="1"] { --hub-x: 20%; --hub-y: 12.5%; }
.hub-node[data-hub-index="2"] { --hub-x: 50%; --hub-y: 9.5%; }
.hub-node[data-hub-index="3"] { --hub-x: 80%; --hub-y: 12.5%; }
.hub-node[data-hub-index="4"] { --hub-x: 14%; --hub-y: 40%; }
.hub-node[data-hub-index="5"] { --hub-x: 86%; --hub-y: 40%; }
.hub-node[data-hub-index="6"] { --hub-x: 10%; --hub-y: 88.6%; }
.hub-node[data-hub-index="7"] { --hub-x: 26%; --hub-y: 88.6%; }
.hub-node[data-hub-index="8"] { --hub-x: 42%; --hub-y: 88.6%; }
.hub-node[data-hub-index="9"] { --hub-x: 58%; --hub-y: 88.6%; }
.hub-node[data-hub-index="10"] { --hub-x: 74%; --hub-y: 88.6%; }
.hub-node[data-hub-index="11"] { --hub-x: 90%; --hub-y: 88.6%; }

/* ── Information (HTML circular icon cards + 2-col intro) ── */
.info-band__wrap {
  display: grid;
  gap: clamp(2.75rem, 5.5vw, 3.75rem);
}

.info-band__header {
  margin-bottom: 0;
  text-align: center;
}

.info-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  width: min(68.75rem, 100%);
  max-width: 1100px;
  margin-inline: auto;
}

.info-intro--no-video {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.info-intro__media {
  min-width: 0;
}

.info-brand {
  display: grid;
  justify-items: start;
  gap: 0.85rem;
}

.info-intro--no-video .info-brand {
  justify-items: center;
}

.info-brand__name {
  margin: 0;
  font-family: var(--font-heading, "Oswald", sans-serif);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-brand, #000050);
  text-wrap: balance;
}

.info-brand__tagline {
  margin: 0;
  max-width: 28ch;
  font-size: clamp(0.98rem, 1.7vw, 1.12rem);
  line-height: 1.55;
  color: var(--text-main, #212121);
}

.info-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.35rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--primary-brand, #000050);
  border-radius: var(--radius, 4px);
  background: var(--primary-brand, #000050);
  color: #fff !important;
  font-family: var(--font-heading, "Oswald", sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition:
    background-color 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.info-contact:hover {
  background: #00006a;
  border-color: #00006a;
  transform: translateY(-1px);
}

.info-block {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  width: min(68.75rem, 100%);
  max-width: 1100px;
  margin-inline: auto;
}

.info-block__title {
  margin: 0;
  text-align: center;
  font-family: var(--font-heading, "Oswald", sans-serif);
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  color: var(--primary-brand, #000050);
}

/* Let main.css control column counts; restore circular cards (Tailwind lived in HTML) */
.info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 0;
  padding: clamp(0.85rem, 1.8vw, 1.15rem) clamp(0.5rem, 1.2vw, 0.75rem);
  text-align: center;
  text-decoration: none;
  color: var(--primary-brand, #000050);
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: color 0.18s ease;
}

.info-card:hover {
  box-shadow: none;
  color: #00006a;
}

.info-card__icon {
  display: block;
  width: 3.35rem;
  height: 3.35rem;
  flex-shrink: 0;
  object-fit: contain;
  padding: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(192, 192, 192, 0.7);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.95), transparent 58%),
    linear-gradient(155deg, #ffffff 0%, #f4f6fb 52%, #e9edf6 100%);
  box-shadow:
    0 10px 24px rgba(0, 0, 80, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition:
    transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.info-card:hover .info-card__icon {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 80, 0.3);
  box-shadow:
    0 14px 28px rgba(0, 0, 80, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.info-card__label {
  font-family: var(--font-heading, "Oswald", sans-serif);
  font-size: clamp(0.82rem, 1.25vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-wrap: balance;
  color: inherit;
}

.info-courses {
  display: grid;
  gap: clamp(2.75rem, 5.5vw, 3.75rem);
  width: min(68.75rem, 100%);
  max-width: 1100px;
  margin-inline: auto;
}

.info-map-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0.25rem;
}

/* ── Footer chrome (structure matches HTML; 5-col from main.css .site-footer__groups) ── */
.site-footer__body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(1.25rem, 2.5vw, 1.75rem);
  justify-items: center;
}

.site-footer__wrap,
.site-footer__bottom-wrap {
  width: 100%;
  max-width: var(--container-max, 1280px);
  margin-inline: auto;
  padding-inline: var(--container-pad, clamp(1.25rem, 4vw, 2.5rem));
  box-sizing: border-box;
  justify-self: center;
}

.site-footer__groups-shell {
  width: 100%;
  max-width: 100%;
  justify-self: stretch;
}

.site-footer__wrap {
  display: grid;
  gap: 0;
}

.site-footer__brand {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  text-align: center;
}

.site-footer__tagline {
  margin: 0;
  font-size: clamp(0.88rem, 1.4vw, 0.98rem);
  line-height: 1.45;
  color: rgba(192, 192, 192, 0.92);
}

.site-footer__title {
  margin: 0 0 1rem;
  font-family: var(--font-heading, "Oswald", sans-serif);
  letter-spacing: 0.12em;
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  justify-items: start;
  gap: 0.55rem;
}

.site-footer__bottom-wrap {
  padding-top: clamp(0.75rem, 2vw, 1.25rem);
}

.site-footer__bottom {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  text-align: center;
}

.site-footer__copy {
  margin: 0;
  color: rgba(232, 236, 244, 0.72);
  font-size: 0.8rem;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  gap: 1.15rem;
}

.site-footer__social a {
  display: grid;
  place-items: center;
  padding: 0.15rem;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.site-footer__social a:hover {
  color: #fff;
  opacity: 0.75;
}

.site-footer__social svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}

/* Hide Ghost announcement bar (Admin → Settings → Announcement) */
.gh-announcement-bar,
.gh-head-announcement {
  display: none !important;
}

.logo__text {
  font-family: var(--font-heading, "Oswald", sans-serif);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: inherit;
}

.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--primary-brand, #000050);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 80, 0.25);
}

.scroll-top[hidden] {
  display: none !important;
}

@media (max-width: 1023px) {
  .hero-panel__dot {
    display: none;
  }

  .hub-panel.hub-panel--circuit {
    display: none !important;
  }

  .hero-stage {
    height: auto;
    min-height: 100dvh;
  }

  .hero-stage__viewport {
    position: relative;
    height: 100dvh;
  }

  .info-intro {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .info-brand {
    justify-items: center;
  }

  .info-courses {
    gap: clamp(1.75rem, 4vw, 2.5rem);
  }

  .skill-row {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    text-align: center;
  }

  .skill-row__copy {
    padding-top: 0;
  }

  .quality-mvf {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .quality-mvf__rule {
    display: none;
  }

  .quality-delivery {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .quality-delivery__item {
    flex-direction: column;
    text-align: center;
  }
}

/* Quick bars (hero + legacy inner-page) stay 3-up on mobile — locked HTML
   parity. They only switch to icon-over-label at ≤400px (see below).
   Previously .quick-bar stacked to 1 column at ≤700px, diverging from HTML. */

@media (max-width: 400px) {
  .hero-quick-bar,
  .quick-bar {
    min-height: 88px;
  }

  .hero-quick-bar__card,
  .quick-card {
    flex-direction: column;
    gap: 0.35rem;
    letter-spacing: 0.05em;
  }

  .hero-panel__tab {
    padding: 0.25rem 0.55rem;
    font-size: 0.55rem;
  }
}
