/* ---- styles.css ---- */
/* =====================================================================
   APAA — Association of Professional Accountants and Auditors
   "Annual report" design system: the logo's petrol blue with a gold
   accent on warm ivory, the accountant's double rule under totals and
   headings, tabular figures, and purposeful motion.
   ===================================================================== */

:root {
  --petrol: #0b3a5c;
  --petrol-2: #124c73;
  --petrol-deep: #072b45;
  --teal: #0f4f5c;
  --gold: #c9a24b;
  --gold-2: #b58c35;
  --gold-ink: #8a6a22;
  --gold-soft: #f6eedb;

  --ivory: #fbf8f1;
  --ice: #edf3f7;
  --text: #2d4a62;
  --muted: #5d768a;
  --line: #e1e7ec;
  --line-warm: #ebe3d1;

  --r: 14px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 58, 92, 0.05), 0 12px 32px -16px rgba(11, 58, 92, 0.22);
  --shadow-lg: 0 2px 6px rgba(11, 58, 92, 0.06), 0 30px 60px -24px rgba(11, 58, 92, 0.35);

  --f-head: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--petrol-2);
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--f-head);
  color: var(--petrol);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.3rem, 4.8vw, 3.9rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 700;
}

h3 {
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

::selection {
  background: var(--gold);
  color: var(--petrol-deep);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.i {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

.skip {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--petrol-deep);
  font-weight: 600;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

/* ---------- eyebrow + double rule ---------- */

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--f-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.eyebrow--gold {
  color: var(--gold);
}

.rule {
  display: block;
  width: 72px;
  height: 7px;
  margin: 4px 0 22px;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform-origin: left;
}

.shead {
  max-width: 760px;
  margin-bottom: 36px;
}

.shead h2 {
  margin-bottom: 10px;
}

.shead p {
  font-size: 1.1rem;
  margin: 0;
}

.shead--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.shead--center .rule {
  margin-left: auto;
  margin-right: auto;
  transform-origin: center;
}

.shead-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
}

.shead-row .shead {
  margin-bottom: 0;
}

.lead {
  font-size: 1.14rem;
  color: var(--petrol);
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--petrol);
  text-decoration: none;
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 100% 2px no-repeat;
  padding-bottom: 3px;
  transition: background-size 0.3s var(--ease);
}

.link:hover {
  background-size: 40% 2px;
}

.link .i,
.btn .i {
  transition: transform 0.25s var(--ease);
}

.link:hover .i,
.btn:hover .i:last-child,
a:hover > .link .i {
  transform: translateX(4px);
}

/* ---------- buttons ---------- */

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--f-head);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

/* a sheen that sweeps across on hover */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--gold {
  background: var(--gold);
  color: var(--petrol-deep);
  box-shadow: 0 10px 24px -12px rgba(201, 162, 75, 0.9);
}

.btn--gold:hover {
  background: #d2ae5c;
}

.btn--petrol {
  background: var(--petrol);
  color: #fff;
}

.btn--petrol:hover {
  background: var(--petrol-2);
}

.btn--line-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn--line-light:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.88rem;
}

.btn {
  white-space: nowrap;
}

.nav__link {
  white-space: nowrap;
}

/* French and Arabic labels run longer than English */
:lang(fr) .nav__link,
:lang(ar) .nav__link {
  padding-left: 8px;
  padding-right: 8px;
  font-size: 0.87rem;
}

:lang(fr) .brand__name small,
:lang(ar) .brand__name small {
  display: none;
}

@media (max-width: 1360px) {
  .header__verify span {
    display: none;
  }

  .nav__link {
    padding: 10px 10px;
  }
}

.btn--block {
  width: 100%;
}

/* ---------- header ---------- */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: 3px;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.3s var(--ease);
}

.header.is-hidden {
  transform: translateY(-100%);
}

.header.is-scrolled {
  box-shadow: 0 10px 30px -20px rgba(11, 58, 92, 0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: 44px;
  height: auto;
  transition: transform 0.5s var(--ease);
}

.brand:hover img {
  transform: rotate(-6deg) scale(1.05);
}

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name strong {
  font-family: var(--f-head);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--petrol);
}

.brand__name small {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__item {
  position: relative;
}

.nav__item--mobile {
  display: none;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: var(--f-head);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--petrol);
  text-decoration: none;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.nav__link:hover {
  background: var(--ice);
}

.nav__link.is-active {
  color: var(--gold-ink);
  font-weight: 600;
}

.caret {
  width: 12px;
  height: 12px;
  transition: transform 0.25s;
}

.nav__item.is-open .caret {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 280px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transform-origin: top left;
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease),
    visibility 0.22s;
}

.nav__item.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
}

.dropdown a:hover {
  background: var(--gold-soft);
}

.dropdown strong {
  display: block;
  font-family: var(--f-head);
  font-size: 0.92rem;
  color: var(--petrol);
}

.dropdown small {
  color: var(--muted);
  font-size: 0.84rem;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__verify {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 8px;
  font-family: var(--f-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--petrol);
  text-decoration: none;
  white-space: nowrap;
}

.header__verify:hover {
  background: var(--ice);
}

.header__verify .i {
  color: var(--gold-2);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--petrol);
  cursor: pointer;
}

.menu-toggle span {
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- home hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--petrol-deep);
  color: #d4e1ec;
  padding: clamp(72px, 9vw, 130px) 0 clamp(120px, 12vw, 170px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
  opacity: 0.38;
  animation: kenburns 24s ease-in-out infinite alternate;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--petrol-deep) 20%, rgba(7, 43, 69, 0.82) 55%, rgba(7, 43, 69, 0.55));
}

@keyframes kenburns {
  from {
    transform: scale(1.04) translate(0, 0);
  }
  to {
    transform: scale(1.14) translate(-2%, -2%);
  }
}

.hero__chart {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: 100%;
  height: 46%;
}

.hero__chart-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: draw 2.8s var(--ease) 0.5s forwards;
  vector-effect: non-scaling-stroke;
}

.hero__chart-area {
  fill: rgba(201, 162, 75, 0.1);
  opacity: 0;
  animation: fadeIn 1.2s ease 2s forwards;
}

.hero__chart-dot {
  fill: var(--gold);
  stroke: var(--petrol-deep);
  stroke-width: 3;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: pop 0.5s var(--ease) forwards;
  animation-delay: calc(1.4s + var(--i) * 0.35s);
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  margin-bottom: 22px;
}

.hero__kicker {
  animation: slideUp 0.8s var(--ease) both;
}

.hero__lead {
  max-width: 58ch;
  font-size: 1.16rem;
  margin-bottom: 30px;
  animation: slideUp 0.9s var(--ease) 0.7s both;
}

.hero__lead strong {
  color: #fff;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: slideUp 0.9s var(--ease) 0.9s both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* headline words rise in one by one */
.rise .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
}

.rise .w > span {
  display: inline-block;
  animation: wordUp 0.9s var(--ease) both;
  animation-delay: calc(0.15s + var(--i) * 0.07s);
}

@keyframes wordUp {
  from {
    transform: translateY(110%);
  }
  to {
    transform: none;
  }
}

/* the "at a glance" statement card */
.ledger {
  padding: 26px 26px 22px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  animation: slideUp 1s var(--ease) 0.6s both;
}

.ledger__head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 2px solid var(--petrol);
  font-family: var(--f-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--petrol);
}

.ledger dl {
  margin: 0;
}

.ledger__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  animation: slideUp 0.6s var(--ease) both;
  animation-delay: calc(1s + var(--i) * 0.15s);
}

.ledger dt {
  font-size: 0.97rem;
}

.ledger dd {
  margin: 0;
  font-family: var(--f-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--petrol);
  font-variant-numeric: tabular-nums;
}

.ledger__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  padding: 14px 0 6px;
  border-bottom: 5px double var(--gold);
  font-family: var(--f-head);
  font-weight: 600;
  color: var(--petrol);
}

.ledger__total strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-ink);
  font-size: 0.95rem;
}

/* ---------- trust strip / marquee ---------- */

.trust {
  position: relative;
  z-index: 2;
  margin-top: -64px;
}

.trust__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 28px;
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
}

.trust__label {
  flex-shrink: 0;
  font-family: var(--f-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
  max-width: 110px;
  line-height: 1.3;
}

.marquee {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee img {
  height: 46px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: saturate(0.9);
  opacity: 0.85;
  transition:
    opacity 0.2s,
    transform 0.3s var(--ease);
}

.marquee img:hover {
  opacity: 1;
  transform: scale(1.08);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- sections ---------- */

.section {
  padding: clamp(68px, 8vw, 112px) 0;
}

.section--tight {
  padding: clamp(44px, 5vw, 72px) 0;
}

.section--ivory {
  background: var(--ivory);
}

.section--ice {
  background: var(--ice);
}

.section--petrol {
  position: relative;
  overflow: hidden;
  background: var(--petrol);
  color: #cddbe7;
}

.section--petrol::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -80px;
  width: 520px;
  height: 520px;
  border: 70px solid rgba(255, 255, 255, 0.03);
  transform: rotate(30deg);
  pointer-events: none;
}

.section--petrol h2,
.section--petrol h3,
.on-dark {
  color: #fff;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.split--top {
  align-items: start;
}

.split__photo {
  margin: 32px 0 0;
}

.split__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  border-bottom: 5px double var(--gold);
}

.fig-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 28px 0 26px;
  border-top: 1px solid var(--line);
  border-bottom: 5px double var(--gold);
}

.fig-row div {
  padding: 16px 12px 14px 0;
}

.fig-row div + div {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.fig-row strong {
  display: block;
  font-family: var(--f-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--petrol);
  line-height: 1.1;
}

.fig-row span {
  font-size: 0.9rem;
  color: var(--muted);
}

.stack {
  position: relative;
  margin: 0 0 40px;
}

.stack__main {
  width: 88%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.stack__small {
  position: absolute;
  right: 0;
  bottom: -40px;
  width: 52%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 8px solid #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
}

/* ---------- routes (certificate groups) ---------- */

.route-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.route-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.route {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line-warm);
  border-radius: var(--r);
  text-decoration: none;
  color: var(--text);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s;
}

.route:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.route__n {
  position: absolute;
  top: 26px;
  right: 30px;
  font-family: var(--f-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold-soft);
  line-height: 1;
}

.route__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--petrol);
  color: var(--gold);
  font-size: 1.5rem;
  transition: transform 0.4s var(--ease);
}

.route:hover .route__icon {
  transform: rotate(-8deg) scale(1.06);
}

.route h3 {
  font-size: 1.4rem;
}

.route p {
  flex: 1;
}

.route__badges {
  display: flex;
  align-items: center;
  margin: 8px 0 22px;
}

.route__badges img {
  width: 48px;
  height: 48px;
  margin-right: -10px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s var(--ease);
}

.route:hover .route__badges img {
  transform: translateX(calc(var(--k, 0) * 1px));
}

.route__badges img:nth-child(2) {
  --k: 4;
}

.route__badges img:nth-child(3) {
  --k: 8;
}

.route__badges img:nth-child(4) {
  --k: 12;
}

.route__badges img:nth-child(5) {
  --k: 16;
}

.route__badges em {
  margin-left: 22px;
  font-style: normal;
  font-family: var(--f-head);
  font-weight: 600;
  color: var(--gold-ink);
}

/* ---------- CEO / petrol feature ---------- */

.ceo {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.ceo__art {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r);
}

.ceo__art img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: scale(1.12);
}

.ceo__art figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 16px;
  background: rgba(7, 43, 69, 0.8);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--f-head);
  font-size: 0.9rem;
}

.ceo blockquote {
  margin: 0 0 22px;
  font-family: var(--f-head);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}

.ceo__sign {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 5px double var(--gold);
  max-width: 280px;
}

.ceo__sign strong {
  font-family: var(--f-head);
  color: #fff;
  font-size: 1.1rem;
}

.ceo__sign span {
  color: var(--gold);
  font-size: 0.92rem;
}

.mission {
  font-family: var(--f-head);
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}

/* ---------- membership ladder ---------- */

.ladder {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: end;
}

.ladder__step {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(260px + var(--i) * 44px);
  padding: 26px 24px;
  border-radius: var(--r);
  background: var(--ivory);
  border: 1px solid var(--line-warm);
  overflow: hidden;
  isolation: isolate;
}

.ladder__bar {
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-soft), #fff 65%);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--i) * 0.15s);
}

.ladder.is-in .ladder__bar {
  transform: none;
}

.ladder__step:last-child {
  background: var(--petrol);
  border-color: var(--petrol);
  color: #cddbe7;
}

.ladder__step:last-child .ladder__bar {
  background: linear-gradient(180deg, var(--petrol-2), var(--petrol) 70%);
}

.ladder__step:last-child h3 {
  color: #fff;
}

.ladder__n {
  font-family: var(--f-head);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
  margin-bottom: auto;
}

.ladder__step h3 {
  margin-top: 16px;
}

.ladder__step p {
  margin: 0;
  font-size: 0.97rem;
}

.center-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* ---------- courses ---------- */

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.course {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.course:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.course__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ice);
}

.course__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.course:hover .course__media img {
  transform: scale(1.07);
}

.course__price {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--petrol-deep);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.92rem;
}

.course__price:empty {
  display: none;
}

.course__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 20px 22px 22px;
}

.course__cat {
  font-family: var(--f-head);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.course strong {
  flex: 1;
  font-family: var(--f-head);
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--petrol);
}

.course__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.88rem;
  color: var(--muted);
}

.course__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.topic-grid--2 {
  grid-template-columns: 1fr 1fr;
}

.topic {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  isolation: isolate;
}

.topic__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.topic__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.topic__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 43, 69, 0.1) 20%, rgba(7, 43, 69, 0.92));
}

.topic:hover .topic__media img {
  transform: scale(1.08);
}

.topic__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding: 24px;
}

.topic__count {
  font-family: var(--f-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.topic strong {
  font-family: var(--f-head);
  font-size: 1.4rem;
  line-height: 1.25;
}

.topic .link {
  color: #fff;
}

.topic--flat {
  min-height: 0;
  background: #fff;
  border: 1px solid var(--line-warm);
  color: var(--petrol);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.topic--flat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.topic--flat .topic__count {
  color: var(--gold-ink);
}

.topic--flat .link {
  color: var(--petrol);
}

/* ---------- inner page hero ---------- */

.phero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--petrol-deep);
  color: #cddbe7;
  padding: clamp(48px, 6vw, 84px) 0 clamp(56px, 7vw, 96px);
}

.phero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.phero__bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  opacity: 0.3;
}

.phero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--petrol-deep) 30%, rgba(7, 43, 69, 0.7));
}

.phero__lines {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 60%;
  height: 70%;
  pointer-events: none;
}

.phero__lines path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  opacity: 0.55;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: draw 2.6s var(--ease) 0.4s forwards;
  vector-effect: non-scaling-stroke;
}

.phero__inner {
  position: relative;
  z-index: 1;
}

.phero h1 {
  color: #fff;
  max-width: 22ch;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
}

.phero__lead {
  max-width: 64ch;
  font-size: 1.14rem;
  margin: 0;
  animation: slideUp 0.9s var(--ease) 0.5s both;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 0.88rem;
  animation: fadeIn 0.6s ease both;
}

.crumbs li + li::before {
  content: '›';
  margin: 0 10px;
  color: var(--gold);
}

.crumbs a {
  color: #a9bfd1;
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--gold);
}

.crumbs [aria-current] {
  color: #fff;
}

/* ---------- about ---------- */

.prose p {
  max-width: 68ch;
}

.prose--wide p {
  max-width: 90ch;
  margin-left: auto;
  margin-right: auto;
}

.panel {
  padding: 30px;
  border-radius: var(--r);
  background: var(--ivory);
  border: 1px solid var(--line-warm);
}

.panel--gold {
  border-top: 5px double var(--gold);
}

.keylist {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.keylist li {
  display: grid;
  gap: 2px;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
}

.keylist strong {
  font-family: var(--f-head);
  color: var(--petrol);
}

.keylist span {
  font-size: 0.97rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value {
  padding: 28px;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s;
}

.value:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.value__n {
  display: block;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
}

.value p {
  margin: 0;
  font-size: 0.98rem;
}

/* ---------- certificates ---------- */

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.duo__card {
  padding: 30px;
  border-radius: var(--r);
  background: var(--ivory);
  border: 1px solid var(--line-warm);
}

.duo__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--petrol);
  color: var(--gold);
  font-size: 1.35rem;
}

.duo__card h2 {
  font-size: 1.4rem;
}

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
  color: var(--petrol);
}

.ticks .i {
  margin-top: 4px;
  padding: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--petrol-deep);
}

.ticks--big {
  gap: 14px;
}

.ticks--big li {
  padding: 16px 18px;
  background: var(--ivory);
  border: 1px solid var(--line-warm);
  border-radius: var(--r-sm);
}

.note-line {
  margin-top: 18px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
  font-weight: 500;
  color: var(--petrol);
}

.duo .ticks {
  grid-template-columns: 1fr 1fr;
}

.tabs-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: top 0.35s var(--ease);
}

.header.is-hidden ~ main .tabs-bar {
  top: 0;
}

.tabs-bar .wrap {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.tabs-bar a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 14px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.tabs-bar a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.tabs-bar a.is-on {
  color: var(--petrol);
}

.tabs-bar a.is-on::after {
  transform: none;
}

.tabs-bar em {
  font-style: normal;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-ink);
  font-size: 0.8rem;
}

.group-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
}

.group-head .shead {
  margin-bottom: 0;
}

.group-head__text p {
  font-size: 1rem;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s;
}

.cert:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.cert__badge {
  width: 132px;
  height: 132px;
  margin-bottom: 16px;
  perspective: 600px;
}

.cert__badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.8s var(--ease);
}

.cert:hover .cert__badge img {
  transform: rotateY(360deg);
}

.cert__code {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--petrol);
  color: #fff;
  font-family: var(--f-head);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.cert__code--dip {
  background: var(--gold-soft);
  color: var(--gold-ink);
}

.cert h3 {
  flex: 1;
  font-size: 1.02rem;
  margin-bottom: 16px;
}

.cert__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-ink);
  text-decoration: none;
}

.cert__link:hover {
  color: var(--petrol);
}

.cert__link--muted {
  color: var(--muted);
}

.banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.banner h2 {
  margin: 0;
  color: #fff;
}

.banner--light {
  padding: 34px 38px;
  border-radius: var(--r);
  background: var(--gold-soft);
}

.banner--light h2 {
  color: var(--petrol);
}

.banner--light p {
  margin: 6px 0 0;
}

/* ---------- membership ---------- */

.benefit-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.benefit-list li {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line-warm);
  border-radius: var(--r-sm);
  transition:
    border-color 0.25s,
    transform 0.3s var(--ease);
}

.benefit-list li:hover {
  border-color: var(--gold);
  transform: translateX(4px);
}

.bl__n {
  font-family: var(--f-head);
  font-weight: 700;
  color: var(--gold-ink);
  font-variant-numeric: tabular-nums;
}

.benefit-list h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.benefit-list p {
  margin: 0;
  font-size: 0.95rem;
}

.net-cards {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.net-card {
  padding: 24px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.net-card p {
  margin: 0;
}

/* ---------- CPD ---------- */

.cpd-mark {
  margin: 0;
  justify-self: center;
  max-width: 360px;
  padding: 30px;
  background: var(--ivory);
  border-radius: var(--r);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.offer {
  padding: 26px 22px;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line-warm);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.offer:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.offer__n {
  display: block;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.offer h3 {
  font-size: 1.02rem;
}

.offer p {
  margin: 0;
  font-size: 0.95rem;
}

.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 8px;
  display: grid;
  gap: 18px;
  max-width: 860px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--line);
}

.timeline::after {
  content: '';
  position: absolute;
  left: 30px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--gold);
  transform: scaleY(var(--progress, 0));
  transform-origin: top;
  transition: transform 0.2s linear;
}

.timeline__step {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.timeline__dot {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--gold);
  font-family: var(--f-head);
  font-weight: 700;
  box-shadow: 0 0 0 6px #fff;
}

.timeline__step div {
  padding: 18px 22px;
  flex: 1;
  background: var(--ivory);
  border-radius: var(--r-sm);
}

.timeline__step h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.timeline__step p {
  margin: 0;
  font-size: 0.97rem;
}

.criteria {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.criteria li {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.criteria .i {
  margin-top: 4px;
  color: var(--gold);
}

.criteria strong {
  display: block;
  font-family: var(--f-head);
  color: #fff;
}

.note-gold {
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  background: rgba(201, 162, 75, 0.1);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: #fff;
}

.note-gold strong {
  color: var(--gold);
}

/* ---------- course detail ---------- */

.course-detail {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.block + .block {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.block h2 {
  font-size: 1.5rem;
}

.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips li {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ice);
  color: var(--petrol);
  font-size: 0.92rem;
  font-weight: 500;
  transition:
    background-color 0.2s,
    transform 0.2s;
}

.chips li:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
}

.buy {
  position: sticky;
  top: 100px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.buy__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-sm);
  margin-bottom: 18px;
}

.buy__price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 5px double var(--gold);
}

.buy__price strong {
  font-family: var(--f-head);
  font-size: 2rem;
  color: var(--petrol);
}

.buy__facts {
  margin: 8px 0 20px;
}

.buy__facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.buy__facts dt {
  color: var(--muted);
}

.buy__facts dd {
  margin: 0;
  font-weight: 600;
  color: var(--petrol);
  text-align: right;
}

.buy__note {
  margin: 14px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

/* ---------- alliance ---------- */

.partner-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.partner-nav a {
  display: grid;
  place-items: center;
  width: 124px;
  height: 72px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition:
    border-color 0.2s,
    transform 0.3s var(--ease);
}

.partner-nav a:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.partner-nav img {
  max-height: 100%;
  object-fit: contain;
}

.partners {
  display: grid;
  gap: 24px;
}

.partner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(26px, 4vw, 52px);
  padding: clamp(24px, 3.5vw, 40px);
  background: #fff;
  border: 1px solid var(--line-warm);
  border-radius: var(--r);
  scroll-margin-top: 110px;
}

.partner__logo {
  display: grid;
  place-items: center;
  align-self: start;
  aspect-ratio: 4 / 3;
  padding: 22px;
  background: var(--ivory);
  border-radius: var(--r-sm);
}

.partner__logo img {
  max-height: 160px;
  object-fit: contain;
}

.partner__n {
  font-family: var(--f-head);
  font-weight: 700;
  color: var(--gold-ink);
}

.partner h2 {
  font-size: 1.5rem;
  margin-top: 4px;
}

/* ---------- centres ---------- */

.mini-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.mini-steps li {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--r);
  background: var(--ivory);
  border: 1px solid var(--line-warm);
}

.mini-steps--plain li {
  background: transparent;
  border: 0;
  padding: 0 0 6px;
}

.mini-steps span {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--petrol-deep);
  font-family: var(--f-head);
  font-weight: 700;
}

.mini-steps strong {
  font-family: var(--f-head);
  color: var(--petrol);
}

.mini-steps p {
  margin: 2px 0 0;
  font-size: 0.96rem;
}

.centre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  align-items: start;
}

.centre {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line-warm);
  border-radius: var(--r);
}

.centre__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.centre__logo {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}

.centre__logo img {
  max-height: 100%;
  object-fit: contain;
}

.centre h3 {
  margin: 0;
}

.centre__details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

.centre__details li {
  display: flex;
  gap: 10px;
  overflow-wrap: anywhere;
}

.centre__details .i {
  margin-top: 4px;
  color: var(--gold-2);
}

.centre__quals {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.centre__quals summary {
  cursor: pointer;
  font-family: var(--f-head);
  font-weight: 600;
  color: var(--petrol);
}

.centre__quals ul {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 0.94rem;
}

/* ---------- insights ---------- */

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.filter__btn {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: var(--f-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--petrol);
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.filter__btn:hover {
  border-color: var(--gold);
}

.filter__btn.is-on {
  background: var(--petrol);
  border-color: var(--petrol);
  color: #fff;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.post {
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.post[hidden] {
  display: none;
}

.post:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.post__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ice);
}

.post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.post:hover .post__media img {
  transform: scale(1.06);
}

.post__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 20px 22px 22px;
}

.post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.post__meta span {
  color: var(--gold-ink);
  font-weight: 600;
}

.post strong {
  flex: 1;
  font-family: var(--f-head);
  font-size: 1.08rem;
  color: var(--petrol);
}

/* ---------- contact / verification ---------- */

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.contact__cards {
  display: grid;
  gap: 12px;
}

.ccard {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  transition:
    border-color 0.2s,
    transform 0.3s var(--ease);
}

a.ccard:hover {
  border-color: var(--gold);
  transform: translateX(4px);
}

.ccard__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--petrol);
  color: var(--gold);
  font-size: 1.3rem;
}

.ccard small {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.ccard strong {
  font-family: var(--f-head);
  color: var(--petrol);
}

.form {
  padding: clamp(24px, 4vw, 40px);
  background: var(--ivory);
  border: 1px solid var(--line-warm);
  border-radius: var(--r);
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--f-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--petrol);
}

.form__full {
  grid-column: 1 / -1;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font: inherit;
  font-weight: 400;
  color: var(--petrol);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 75, 0.2);
}

.form__note {
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.stamp {
  display: grid;
  place-items: center;
  padding: 40px;
  background: var(--ivory);
  border-radius: var(--r);
}

.stamp__card {
  width: min(100%, 380px);
  padding: 28px;
  background: #fff;
  border-radius: var(--r);
  border-bottom: 6px double var(--gold);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}

.stamp__card img {
  width: 120px;
  margin-bottom: 18px;
}

.stamp__ok {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-ink);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.9rem;
}

.stamp__card dl {
  margin: 18px 0 0;
}

.stamp__card dl div {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.stamp__card dt {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.stamp__card dd {
  margin: 2px 0 0;
  font-weight: 600;
  color: var(--petrol);
}

/* ---------- certificate cards that link through ---------- */

.cert--link {
  position: relative;
  padding: 0;
}

.cert__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  width: 100%;
  padding: 28px 22px 16px;
  text-decoration: none;
}

.cert--link .cert__link {
  margin-bottom: 4px;
}

.cert__flyer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  justify-content: center;
  padding: 12px;
  border-top: 1px dashed var(--line);
  font-family: var(--f-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.cert__flyer:hover {
  color: var(--gold-ink);
}

/* ---------- certificate detail ---------- */

.phero__cert {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.phero__badge {
  width: clamp(160px, 20vw, 240px);
  animation: badgeIn 1.2s var(--ease) 0.3s both;
}

.phero__badge img {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

@keyframes badgeIn {
  from {
    opacity: 0;
    transform: rotate(-25deg) scale(0.7);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.phero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  animation: slideUp 0.9s var(--ease) 0.8s both;
}

.phero__facts span {
  display: flex;
  flex-direction: column;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 3px double var(--gold);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.phero__facts small {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fb6c9;
}

.phero__facts strong {
  font-family: var(--f-head);
  color: #fff;
}

.modules {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: m;
  display: grid;
  gap: 10px;
}

.modules li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  background: var(--ivory);
  border: 1px solid var(--line-warm);
  font-family: var(--f-head);
  font-weight: 600;
  color: var(--petrol);
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s;
}

.modules li:hover {
  transform: translateX(6px);
  border-color: var(--gold);
}

.modules li span {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--gold);
  font-size: 0.9rem;
}

.chips--audience li {
  background: var(--gold-soft);
}

.buy__badge {
  width: 140px;
  margin: 0 auto 16px;
}

.buy__title {
  font-size: 1.15rem !important;
  text-align: right;
  line-height: 1.3;
}

.buy .btn + .btn {
  margin-top: 10px;
}

.buy__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--f-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-ink);
  text-decoration: none;
}

/* ---------- certification requirements ---------- */

a.cert--link {
  padding: 28px 22px 24px;
  text-decoration: none;
}

.req-facts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0 0 32px;
  border-top: 2px solid var(--petrol);
  border-bottom: 5px double var(--gold);
}

.req-facts div {
  padding: 18px 16px;
}

.req-facts div + div {
  border-inline-start: 1px solid var(--line);
}

.req-facts small {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.req-facts strong {
  font-family: var(--f-head);
  font-size: 1.1rem;
  color: var(--petrol);
}

.req-facts--inline {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: 12px 0 18px;
}

.req-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.req {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--r);
  background: var(--ivory);
  border: 1px solid var(--line-warm);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s;
}

.req:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.req__n {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--gold);
  font-family: var(--f-head);
  font-weight: 700;
}

.req h3 {
  font-size: 1.08rem;
}

.req p {
  font-size: 0.97rem;
}

.req .ticks li {
  font-size: 0.95rem;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .req-grid {
    grid-template-columns: 1fr 1fr;
  }

  .req-facts {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .req-grid,
  .req-facts {
    grid-template-columns: 1fr 1fr;
  }

  .req-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- accreditation ---------- */

.accred {
  background: #fff;
}

.accred__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.accred__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border: 1px solid var(--line-warm);
  border-radius: var(--r);
  background: var(--ivory);
  text-decoration: none;
  color: var(--text);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s;
}

.accred__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.accred__logo {
  display: grid;
  place-items: center;
  height: 84px;
  margin-bottom: 10px;
  padding: 8px;
  border-radius: var(--r-sm);
  background: #fff;
}

.accred__logo img {
  max-height: 68px;
  max-width: 100%;
  object-fit: contain;
}

.accred__standing {
  font-family: var(--f-head);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.accred__card strong {
  font-family: var(--f-head);
  color: var(--petrol);
  line-height: 1.3;
}

.accred__card small {
  flex: 1;
  color: var(--muted);
  font-size: 0.86rem;
}

.accred__card .link {
  align-self: flex-start;
  margin-top: 8px;
}

/* ---------- legal ---------- */

.legal {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.legal__toc {
  position: sticky;
  top: 100px;
  padding: 22px;
  border-radius: var(--r);
  background: var(--ivory);
  border: 1px solid var(--line-warm);
}

.legal__toc strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--f-head);
  color: var(--petrol);
}

.legal__toc ol {
  margin: 0;
  padding-left: 20px;
  font-size: 0.92rem;
  display: grid;
  gap: 6px;
}

.legal__toc a {
  color: var(--text);
  text-decoration: none;
}

.legal__toc a:hover {
  color: var(--gold-ink);
}

.legal__section {
  scroll-margin-top: 110px;
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.legal__section h2 {
  font-size: 1.35rem;
}

.legal__list {
  padding-left: 22px;
}

.legal__list li {
  margin-bottom: 8px;
}

.footer__legal-links {
  display: flex;
  gap: 18px;
}

.footer__marks a {
  display: block;
  transition: transform 0.3s var(--ease);
}

.footer__marks a:hover {
  transform: translateY(-3px);
}

@media (max-width: 1024px) {
  .accred__grid {
    grid-template-columns: 1fr 1fr;
  }

  .legal {
    grid-template-columns: 1fr;
  }

  .legal__toc {
    position: static;
  }

  .phero__cert {
    grid-template-columns: 1fr;
  }

  .phero__badge {
    order: -1;
    width: 140px;
  }
}

@media (max-width: 680px) {
  .accred__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- CEO hero (Gillian MacEwan) ---------- */

.ceo-hero .ceo {
  grid-template-columns: 0.8fr 1.2fr;
}

.ceo__portrait {
  position: relative;
  margin: 0;
  padding: 0 0 28px 28px;
}

.ceo__frame {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 78%;
  height: 78%;
  border: 2px solid var(--gold);
  border-radius: var(--r);
}

.ceo__portrait img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: var(--r);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.55);
}

.ceo__plate {
  position: absolute;
  right: -18px;
  bottom: 60px;
  display: flex;
  flex-direction: column;
  padding: 14px 20px;
  background: var(--gold);
  color: var(--petrol-deep);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}

.ceo__plate strong {
  font-family: var(--f-head);
  font-size: 1.05rem;
}

.ceo__plate span {
  font-size: 0.85rem;
}

.ceo__mark {
  display: block;
  height: 0.55em;
  margin-bottom: 6px;
  font-family: Georgia, serif;
  font-size: 4.2rem;
  line-height: 1;
  color: var(--gold);
}

/* ---------- language switcher ---------- */

.lang {
  position: relative;
}

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-family: var(--f-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--petrol);
  cursor: pointer;
}

.lang__btn:hover {
  border-color: var(--gold);
}

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 110;
  min-width: 160px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease),
    visibility 0.2s;
}

.lang.is-open .lang__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.lang__menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--petrol);
  text-decoration: none;
  font-weight: 500;
}

.lang__menu a:hover {
  background: var(--gold-soft);
}

.lang__menu a.is-on {
  background: var(--petrol);
  color: #fff;
}

/* ---------- right-to-left (Arabic) ---------- */

[dir='rtl'] body,
[dir='rtl'] h1,
[dir='rtl'] h2,
[dir='rtl'] h3,
[dir='rtl'] .btn,
[dir='rtl'] .eyebrow,
[dir='rtl'] .nav__link,
[dir='rtl'] .link,
[dir='rtl'] strong {
  font-family: 'IBM Plex Sans Arabic', var(--f-body);
  letter-spacing: 0;
}

[dir='rtl'] body {
  line-height: 1.85;
}

[dir='rtl'] .eyebrow,
[dir='rtl'] .trust__label,
[dir='rtl'] .ledger__head,
[dir='rtl'] .course__cat,
[dir='rtl'] .topic__count,
[dir='rtl'] .accred__standing {
  text-transform: none;
  letter-spacing: 0;
}

[dir='rtl'] .link .i,
[dir='rtl'] .btn .i:last-child,
[dir='rtl'] .cert__link .i {
  transform: scaleX(-1);
}

[dir='rtl'] .link:hover .i,
[dir='rtl'] .btn:hover .i:last-child,
[dir='rtl'] a:hover > .link .i {
  transform: scaleX(-1) translateX(4px);
}

[dir='rtl'] .rule,
[dir='rtl'] .link {
  transform-origin: right;
  background-position: right bottom;
}

[dir='rtl'] .hero__bg::after {
  background: linear-gradient(270deg, var(--petrol-deep) 20%, rgba(7, 43, 69, 0.82) 55%, rgba(7, 43, 69, 0.55));
}

[dir='rtl'] .phero::after {
  background: linear-gradient(270deg, var(--petrol-deep) 30%, rgba(7, 43, 69, 0.7));
}

[dir='rtl'] .hero__chart,
[dir='rtl'] .phero__lines {
  transform: scaleX(-1);
}

[dir='rtl'] .phero__lines {
  right: auto;
  left: 0;
}

[dir='rtl'] .route__n {
  right: auto;
  left: 30px;
}

[dir='rtl'] .stack__small {
  right: auto;
  left: 0;
}

[dir='rtl'] .route__badges img {
  margin-right: 0;
  margin-left: -10px;
}

[dir='rtl'] .route__badges em {
  margin-left: 0;
  margin-right: 22px;
}

[dir='rtl'] .crumbs li + li::before {
  content: '‹';
}

[dir='rtl'] .marquee__track {
  direction: ltr;
}

[dir='rtl'] .js [data-reveal='left'] {
  transform: translateX(40px);
}

[dir='rtl'] .js [data-reveal='right'] {
  transform: translateX(-40px);
}

[dir='rtl'] .js [data-reveal].is-in {
  transform: none;
}

[dir='rtl'] .keylist li {
  padding-left: 0;
  padding-right: 18px;
  border-left: 0;
  border-right: 2px solid var(--gold);
}

[dir='rtl'] .note-gold,
[dir='rtl'] .note-line {
  border-left: 0;
  border-right: 3px solid var(--gold);
  padding-left: 18px;
  padding-right: 16px;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
}

[dir='rtl'] .ceo__art figcaption {
  border-left: 0;
  border-right: 3px solid var(--gold);
}

[dir='rtl'] .timeline {
  padding: 0 8px 0 0;
}

[dir='rtl'] .timeline::before,
[dir='rtl'] .timeline::after {
  left: auto;
  right: 30px;
}

[dir='rtl'] .ceo__portrait {
  padding: 0 28px 28px 0;
}

[dir='rtl'] .ceo__frame {
  left: auto;
  right: 0;
}

[dir='rtl'] .ceo__plate {
  right: auto;
  left: -18px;
}

[dir='rtl'] .benefit-list li:hover,
[dir='rtl'] .modules li:hover,
[dir='rtl'] a.ccard:hover {
  transform: translateX(-4px);
}

[dir='rtl'] .buy__title {
  text-align: left;
}

[dir='rtl'] .buy__facts dd {
  text-align: left;
}

@media (max-width: 1024px) {
  .ceo-hero .ceo {
    grid-template-columns: 1fr;
  }

  .ceo__portrait {
    max-width: 420px;
  }

  .lang__btn span {
    display: none;
  }
}

@media (max-width: 680px) {
  .ceo__plate {
    right: 0;
  }

  [dir='rtl'] .ceo__plate {
    left: 0;
  }
}

/* ---------- footer ---------- */

.footer {
  background: var(--petrol-deep);
  color: #b9cddd;
  font-size: 0.97rem;
}

.footer__band {
  background: var(--petrol);
}

.footer__band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.footer__band h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  max-width: 26ch;
}

.footer__band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 36px;
}

.footer__brand img {
  width: 150px;
  margin-bottom: 18px;
}

.footer__col h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0;
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer a {
  color: #b9cddd;
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--gold);
}

.footer__contact li {
  display: flex;
  gap: 10px;
}

.footer__contact .i {
  margin-top: 4px;
  color: var(--gold);
}

.footer__marks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 36px;
}

.footer__marks img {
  height: 60px;
  width: auto;
  padding: 6px;
  background: #fff;
  border-radius: 8px;
}

/* website accreditation badge: sits on the petrol footer as-is (no white tile) */
.footer__marks .footer__eco {
  align-self: center;
  height: 50px;
  padding: 0 0 0 20px;
  margin-inline-start: auto;
  background: none;
  border-radius: 0;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.18);
}

[dir='rtl'] .footer__marks .footer__eco {
  padding: 0 20px 0 0;
}

@media (max-width: 680px) {
  .footer__marks .footer__eco,
  [dir='rtl'] .footer__marks .footer__eco {
    flex-basis: 100%;
    max-width: 195px;
    height: auto;
    margin: 8px 0 0;
    padding: 0;
    border: 0;
  }
}

.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
}

.footer__legal-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 16px;
  padding-bottom: 18px;
}

/* ---------- scroll reveal (directional) ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}

.js [data-reveal='left'] {
  transform: translateX(-40px);
}

.js [data-reveal='right'] {
  transform: translateX(40px);
}

.js [data-reveal='zoom'] {
  transform: scale(0.92) translateY(16px);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.js .shead .rule {
  transform: scaleX(0);
  transition: transform 0.9s var(--ease) 0.3s;
}

.js .shead.is-in .rule {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal],
  .js .shead .rule {
    opacity: 1;
    transform: none;
  }

  .hero__chart-line,
  .phero__lines path {
    stroke-dashoffset: 0;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .nav__link {
    padding: 10px 9px;
    font-size: 0.88rem;
  }

  .brand__name small {
    display: none;
  }

  .header__verify span {
    display: none;
  }
}

@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
  }

  .header__actions {
    margin-left: auto;
  }

  .header__actions .btn,
  .header__verify {
    display: none;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    margin: 0;
    padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
    background: var(--petrol-deep);
    overflow-y: auto;
    visibility: hidden;
    clip-path: circle(0 at calc(100% - 44px) 38px);
    transition:
      clip-path 0.6s var(--ease),
      visibility 0.6s;
  }

  .menu-open .nav {
    visibility: visible;
    clip-path: circle(150% at calc(100% - 44px) 38px);
  }

  .menu-open .header {
    background: var(--petrol-deep);
    border-color: transparent;
  }

  .menu-open .brand__name strong {
    color: #fff;
  }

  .menu-open .menu-toggle {
    background: var(--gold);
  }

  .menu-open .menu-toggle span {
    background: var(--petrol-deep);
  }

  .brand,
  .menu-toggle {
    position: relative;
    z-index: 95;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__item--mobile {
    display: block;
  }

  .nav__link {
    justify-content: space-between;
    padding: 16px 4px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.25rem;
    color: #fff;
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 0.4s var(--ease),
      transform 0.4s var(--ease);
  }

  .menu-open .nav__link {
    opacity: 1;
    transform: none;
  }

  .menu-open .nav__item:nth-child(1) .nav__link { transition-delay: 0.15s; }
  .menu-open .nav__item:nth-child(2) .nav__link { transition-delay: 0.19s; }
  .menu-open .nav__item:nth-child(3) .nav__link { transition-delay: 0.23s; }
  .menu-open .nav__item:nth-child(4) .nav__link { transition-delay: 0.27s; }
  .menu-open .nav__item:nth-child(5) .nav__link { transition-delay: 0.31s; }
  .menu-open .nav__item:nth-child(6) .nav__link { transition-delay: 0.35s; }
  .menu-open .nav__item:nth-child(7) .nav__link { transition-delay: 0.39s; }
  .menu-open .nav__item:nth-child(8) .nav__link { transition-delay: 0.43s; }
  .menu-open .nav__item:nth-child(9) .nav__link { transition-delay: 0.47s; }

  .nav__link:hover {
    background: transparent;
    color: var(--gold);
  }

  .nav__link.is-active {
    color: var(--gold);
  }

  .dropdown {
    position: static;
    width: auto;
    display: none;
    padding: 4px 0 8px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__item.is-open .dropdown {
    display: block;
  }

  .dropdown a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .dropdown strong {
    color: #fff;
  }

  .dropdown small {
    color: #9fb6c9;
  }

  .hero__inner,
  .split,
  .ceo,
  .contact,
  .course-detail,
  .group-head {
    grid-template-columns: 1fr;
  }

  .ledger {
    max-width: 460px;
  }

  .ladder {
    grid-template-columns: 1fr 1fr;
  }

  .ladder__step {
    min-height: 240px;
  }

  .course-grid,
  .post-grid,
  .topic-grid,
  .value-grid {
    grid-template-columns: 1fr 1fr;
  }

  .buy {
    position: static;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__band-inner,
  .banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .partner {
    grid-template-columns: 1fr;
  }

  .partner__logo {
    max-width: 280px;
  }

  .stack {
    max-width: 560px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 1rem;
  }

  :root {
    --header-h: 66px;
  }

  .brand img {
    width: 38px;
  }

  .trust {
    margin-top: -40px;
  }

  .trust__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
  }

  .trust__label {
    max-width: none;
  }

  .marquee {
    width: 100%;
  }

  .route-grid,
  .duo,
  .duo .ticks,
  .ladder,
  .course-grid,
  .post-grid,
  .topic-grid,
  .topic-grid--2,
  .value-grid,
  .form__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .fig-row {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .fig-row strong {
    font-size: 1.4rem;
  }

  .shead-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .route {
    padding: 26px;
  }

  .timeline::before,
  .timeline::after {
    left: 22px;
  }

  .timeline__dot {
    width: 38px;
    height: 38px;
  }
}

/* ---------- ISO/IEC 17024 certificate showcase ---------- */

.btn--line {
  border-color: var(--petrol);
  color: var(--petrol);
}

.btn--line:hover {
  border-color: var(--gold-2);
  color: var(--gold-ink);
}

.certshow__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

/* the certificate sits on the page like a framed document */
.certshow__paper {
  position: relative;
  display: block;
  max-width: 440px;
  justify-self: center;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line-warm);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

.certshow__paper::before {
  content: '';
  position: absolute;
  inset: 22px -14px -14px 22px;
  z-index: -1;
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  opacity: 0.55;
}

.certshow__paper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.certshow__paper:hover,
.certshow__paper:focus-visible {
  transform: rotate(0) translateY(-4px);
}

.certshow__seal {
  position: absolute;
  top: -18px;
  inset-inline-end: -18px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--petrol-deep);
  box-shadow: 0 0 0 5px #fff, 0 12px 24px -10px rgba(138, 106, 34, 0.8);
}

.certshow__seal .i {
  width: 26px;
  height: 26px;
}

.certshow__hint {
  position: absolute;
  inset-inline: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: rgba(7, 43, 69, 0.88);
  color: #fff;
  font-family: var(--f-head);
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.certshow__paper:hover .certshow__hint,
.certshow__paper:focus-visible .certshow__hint {
  opacity: 1;
}

.certshow__register {
  margin: 8px 0 30px;
  border-top: 1px solid var(--line);
  border-bottom: 5px double var(--gold);
}

.certshow__register div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.certshow__register div:last-child {
  border-bottom: 0;
}

.certshow__register dt {
  font-family: var(--f-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}

.certshow__register dd {
  margin: 0;
  color: var(--petrol);
  font-weight: 500;
}

.certshow__num {
  font-family: var(--f-head);
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.certshow__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

@media (max-width: 1024px) {
  .certshow__inner {
    grid-template-columns: 1fr;
  }

  .certshow__paper {
    max-width: 360px;
  }
}

@media (max-width: 680px) {
  .certshow__paper {
    max-width: 280px;
  }

  .certshow__register div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .certshow__actions .btn {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .certshow__paper,
  .certshow__paper:hover {
    transform: none;
  }
}

/* ---------- certification pathway ---------- */

.pathway__levels {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.pathway__level {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) minmax(0, 1.2fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pathway__level > * {
  padding: 28px 30px;
}

.pathway__level--2 {
  background: var(--ice);
}

.pathway__level--3 {
  background: var(--petrol-deep);
  border-color: var(--petrol-deep);
  color: #fff;
}

.pathway__head {
  border-inline-end: 1px solid var(--line);
}

.pathway__level--3 .pathway__head,
.pathway__level--3 .pathway__certs {
  border-color: rgba(255, 255, 255, 0.14);
}

.pathway__n {
  display: block;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--petrol);
}

.pathway__head h3 {
  margin: 12px 0 8px;
  font-family: var(--f-head);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--petrol);
}

.pathway__head h3::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 10px;
  background: var(--gold);
}

.pathway__head p {
  margin: 0;
  color: var(--muted);
}

.pathway__level--3 .pathway__n,
.pathway__level--3 .pathway__head h3,
.pathway__level--3 .pathway__who strong {
  color: #fff;
}

.pathway__level--3 .pathway__head p,
.pathway__level--3 .pathway__who p {
  color: rgba(255, 255, 255, 0.78);
}

.pathway__certs {
  list-style: none;
  margin: 0;
  display: grid;
  align-content: center;
  gap: 4px;
  border-inline-end: 1px solid var(--line);
}

.pathway__certs a,
.pathway__cert {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 8px;
  border-radius: var(--r-sm);
  color: inherit;
  text-decoration: none;
  line-height: 1.4;
}

.pathway__certs a:hover {
  background: var(--gold-soft);
  color: var(--petrol);
}

.pathway__level--3 .pathway__certs a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.pathway__certs a .i {
  flex-shrink: 0;
  margin-inline-start: auto;
  align-self: center;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s var(--ease);
}

.pathway__certs a:hover .i {
  opacity: 1;
  transform: translateX(3px);
}

.pathway__code {
  flex-shrink: 0;
  min-width: 78px;
  font-family: var(--f-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold-ink);
}

.pathway__level--3 .pathway__code {
  color: var(--gold);
}

.pathway__who strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--f-head);
  font-size: 1.05rem;
  color: var(--petrol);
}

.pathway__who p {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}

.pathway__note {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(11, 58, 92, 0.18);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.6);
}

.pathway__note span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--petrol);
}

.pathway__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 22px;
}

.pathway__foot p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.pathway--compact .pathway__note {
  display: none;
}

@media (max-width: 960px) {
  .pathway__level {
    grid-template-columns: 1fr;
  }

  .pathway__head,
  .pathway__certs {
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }

  .pathway__level > * {
    padding: 22px 20px;
  }
}

/* contact form spam trap — invisible to people, filled in by bots */
.form__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ---------- hero layouts (Split, Centred, Full-bleed, Compact) ----------
   Views/partials/_hero.php. The Standard hero and page hero above keep
   their own styles; these are the editor-chosen alternatives. */

.hv {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  background: var(--hv-bg, var(--petrol-deep));
  color: #cddbe7;
  padding: clamp(56px, 7vw, 104px) 0 clamp(64px, 8vw, 112px);
}

.hv > .wrap {
  width: 100%;
}

.hv--h-medium {
  min-height: 55vh;
  min-height: 55svh;
}

.hv--h-tall {
  min-height: 75vh;
  min-height: 75svh;
}

.hv--h-full {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
}

.hv__title {
  max-width: 20ch;
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
}

.hv__eyebrow {
  animation: slideUp 0.8s var(--ease) both;
}

.hv__lead {
  max-width: 60ch;
  margin: 0;
  font-size: 1.14rem;
  animation: slideUp 0.9s var(--ease) 0.5s both;
}

.hv__lead strong {
  color: #fff;
}

.hv__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  animation: slideUp 0.9s var(--ease) 0.7s both;
}

/* text colour */

.hv--tone-dark {
  color: var(--text);
}

.hv--tone-dark .hv__title,
.hv--tone-dark .hv__lead strong {
  color: var(--petrol);
}

.hv--tone-dark .crumbs a {
  color: var(--muted);
}

.hv--tone-dark .crumbs a:hover {
  color: var(--gold-ink);
}

.hv--tone-dark .crumbs [aria-current] {
  color: var(--petrol);
}

/* alignment */

.hv--align-center .hv__copy {
  margin-inline: auto;
  text-align: center;
}

.hv--align-center .hv__title,
.hv--align-center .hv__lead,
.hv--align-center .hv__rule {
  margin-inline: auto;
}

.hv--align-center .crumbs ol,
.hv--align-center .hv__actions,
.hv--align-center .hv__figures {
  justify-content: center;
}

.hv--align-center .hv__rule {
  transform-origin: center;
}

/* the rising chart line (as on the page hero) */

.hv__lines {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  z-index: -1;
  width: 60%;
  height: 70%;
  pointer-events: none;
}

.hv__lines path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  opacity: 0.55;
  vector-effect: non-scaling-stroke;
}

/* drawn in from the start side (a clip reveal: dashes don't survive non-scaling strokes at every size) */
.hv__lines {
  animation: hv-draw 2.6s var(--ease) 0.4s both;
}

@keyframes hv-draw {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

.hv--centered .hv__lines,
.hv--fullbleed.hv--align-center .hv__lines {
  width: 100%;
  height: 26%;
  opacity: 0.6;
}

[dir='rtl'] .hv__lines {
  transform: scaleX(-1);
}

/* split: text beside a framed photo or video */

.hv--split .hv__title {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.hv--split.hv--has-media .hv__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5.5vw, 84px);
  align-items: center;
}

.hv--media-start .hv__media {
  order: -1;
}

.hv__media {
  position: relative;
  margin-block: 18px;
  animation: slideUp 1s var(--ease) 0.3s both;
}

/* the accountant's double rule, offset behind the photo */
.hv__media::before {
  content: '';
  position: absolute;
  inset-block: 22px -22px;
  inset-inline: 22px -22px;
  z-index: -1;
  border: 6px double var(--gold);
  border-radius: var(--r);
}

.hv--media-start .hv__media::before {
  inset-inline: -22px 22px;
}

.hv__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.3;
  border-radius: var(--r);
  background: var(--petrol);
  box-shadow: var(--shadow-lg);
}

.hv--h-tall .hv__frame,
.hv--h-full .hv__frame {
  aspect-ratio: 4 / 4.2;
  max-height: 72svh;
}

.hv__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hv--split.hv--no-media .hv__copy {
  max-width: 860px;
}

.hv--align-center.hv--no-media .hv__copy {
  margin-inline: auto;
}

/* centred */

.hv--centered .hv__copy {
  max-width: 880px;
  margin-inline: auto;
}

.hv--centered .hv__title {
  max-width: 22ch;
}

.hv--centered.hv--align-start .hv__copy {
  margin-inline: 0;
}

/* full-bleed: photo or video behind, tinted by the overlay */

.hv--fullbleed {
  padding: clamp(96px, 12vw, 176px) 0;
}

.hv__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hv__bgmedia {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hv__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hv-ov, var(--petrol-deep));
  opacity: var(--hv-ov-o, 0.55);
}

.hv--fullbleed .hv__copy {
  max-width: 780px;
}

/* a soft scrim in the overlay colour behind the text keeps busy photos readable */
.hv--fullbleed.hv--tone-light::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, color-mix(in srgb, var(--hv-ov, #072b45) 55%, transparent), transparent 70%);
}

[dir='rtl'] .hv--fullbleed.hv--tone-light::before {
  background: linear-gradient(270deg, color-mix(in srgb, var(--hv-ov, #072b45) 55%, transparent), transparent 70%);
}

.hv--fullbleed.hv--tone-light.hv--align-center::before {
  background: radial-gradient(ellipse 60% 70% at 50% 50%, color-mix(in srgb, var(--hv-ov, #072b45) 45%, transparent), transparent);
}

.hv--fullbleed.hv--align-center .hv__copy {
  max-width: 880px;
}

.hv--fullbleed.hv--tone-light .hv__title,
.hv--fullbleed.hv--tone-light .hv__lead {
  text-shadow: 0 2px 24px rgba(7, 43, 69, 0.35);
}

/* compact: breadcrumb, title and the double rule */

.hv--minimal {
  padding: clamp(34px, 4.5vw, 56px) 0 clamp(34px, 4.5vw, 52px);
}

.hv--minimal .crumbs ol {
  margin-bottom: 14px;
}

.hv--minimal .hv__title {
  max-width: 28ch;
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.hv--minimal .hv__rule {
  margin-top: 16px;
  margin-bottom: 0;
}

.hv--minimal .hv__lead {
  margin-top: 16px;
}

.hv--minimal .hv__actions {
  margin-top: 22px;
}

.hv--minimal .hv__lines {
  width: 40%;
  height: 90%;
  animation: fadeIn 1.2s ease 0.3s both;
}

/* the home hero's figures as a strip */

.hv__figures {
  display: flex;
  flex-wrap: wrap;
  margin: 40px 0 0;
  padding-top: 6px;
  border-top: 2px solid rgba(255, 255, 255, 0.16);
}

.hv__figure {
  display: flex;
  flex-direction: column;
  padding: 14px 28px 4px 0;
  padding-inline: 0 28px;
  margin-inline-end: 28px;
  border-inline-end: 1px dashed rgba(255, 255, 255, 0.2);
  animation: slideUp 0.6s var(--ease) both;
  animation-delay: calc(0.9s + var(--i) * 0.12s);
}

.hv__figure:last-child {
  margin-inline-end: 0;
  padding-inline-end: 0;
  border-inline-end: 0;
}

.hv__figure dd {
  order: -1;
  margin: 0;
  font-family: var(--f-head);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.hv__figure dt {
  font-size: 0.9rem;
}

.hv--split.hv--has-media .hv__figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}

.hv--split.hv--has-media .hv__figure {
  margin-inline-end: 16px;
  padding-inline-end: 16px;
}

.hv--split.hv--has-media .hv__figure:last-child {
  margin-inline-end: 0;
  padding-inline-end: 0;
}

.hv--tone-dark .hv__figures {
  border-top-color: var(--petrol);
}

.hv--tone-dark .hv__figure {
  border-inline-end-color: var(--line);
}

.hv--tone-dark .hv__figure dd {
  color: var(--petrol);
}

@media (max-width: 1024px) {
  .hv--split.hv--has-media .hv__inner {
    grid-template-columns: 1fr;
  }

  .hv--media-start .hv__media {
    order: 0;
  }

  .hv__media {
    width: min(620px, calc(100% - 22px));
  }

  .hv--align-center .hv__media {
    margin-inline: auto;
  }

  .hv__frame,
  .hv--h-tall .hv__frame,
  .hv--h-full .hv__frame {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 680px) {
  .hv {
    padding: 44px 0 52px;
  }

  .hv--fullbleed {
    padding: 72px 0;
  }

  .hv--minimal {
    padding: 30px 0 34px;
  }

  .hv__lead {
    font-size: 1.05rem;
  }

  .hv__media::before {
    inset-block: 12px -12px;
    inset-inline: 12px -12px;
    border-width: 4px;
  }

  .hv--media-start .hv__media::before {
    inset-inline: 12px -12px;
  }

  .hv__media {
    width: calc(100% - 12px);
  }

  .hv__figures {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 32px;
  }

  .hv__figure,
  .hv__figure:last-child {
    margin-inline-end: 0;
    padding-inline: 0 12px;
    border-inline-end: 0;
  }

  .hv--align-center .hv__figure {
    padding-inline: 6px;
  }

  .hv__lines,
  .hv--centered .hv__lines,
  .hv--fullbleed.hv--align-center .hv__lines {
    width: 100%;
    height: 16%;
    opacity: 0.45;
  }

  .hv--minimal .hv__lines {
    display: none;
  }

  .hv--fullbleed.hv--tone-light::before,
  [dir='rtl'] .hv--fullbleed.hv--tone-light::before,
  .hv--fullbleed.hv--tone-light.hv--align-center::before {
    background: color-mix(in srgb, var(--hv-ov, #072b45) 35%, transparent);
  }
}

/* ---------- Registered trade marks (®) ---------- */
.tm {
  font-size: 0.55em;
  line-height: 0;
  vertical-align: super;
  margin-left: 0.08em;
  font-weight: 600;
  letter-spacing: 0;
}

.brand__name strong .tm {
  font-size: 0.5em;
  color: var(--gold-ink);
}

.footer__logo {
  position: relative;
  display: inline-block;
}

.footer__logo .tm {
  position: absolute;
  top: 6px;
  right: 25%;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer__tm {
  flex-basis: 100%;
  order: 3;
  font-size: 0.74rem;
  opacity: 0.75;
}

.tm-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 62ch;
  margin-top: 22px;
  padding: 12px 16px;
  border: 1px solid rgba(201, 162, 75, 0.45);
  border-radius: var(--r-sm);
  background: rgba(201, 162, 75, 0.1);
  font-size: 0.86rem;
  line-height: 1.5;
}

.tm-notice .i {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--gold);
}

/* ---------- CPA-UK: practising accounting & statutory audit ---------- */
.practise__intro {
  font-size: 1.05rem;
}

.practise__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 22px 0 18px;
}

.practise__card {
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow);
}

.practise__card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--petrol);
}

.practise__card p {
  margin: 0 0 10px;
  font-size: 0.94rem;
}

.practise__list {
  margin: 0;
  padding-left: 1.1em;
  font-size: 0.92rem;
  line-height: 1.55;
}

.practise__list li + li {
  margin-top: 5px;
}

.practise__list--ticks {
  padding-left: 0;
  list-style: none;
}

.practise__list--ticks li {
  position: relative;
  padding-left: 22px;
}

.practise__list--ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.practise__card--audit {
  border-top: 3px solid var(--petrol);
}

.practise__flag {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--ice);
  color: var(--petrol);
}

.practise__flag .i {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.practise__card--warn {
  border-left: 4px solid #b8452f;
}

.practise__list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.practise__list--inline li {
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fbeeea;
  color: #8f3322;
  font-size: 0.85rem;
}

.practise__list--inline li + li {
  margin-top: 0;
}

.practise__small {
  margin-top: 12px !important;
  font-size: 0.85rem !important;
  color: var(--muted);
}

.practise__notice {
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: var(--r);
  background: var(--petrol);
  color: rgba(255, 255, 255, 0.9);
}

.practise__notice h3 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 1.05rem;
}

.practise__notice p {
  margin: 0 0 10px;
  font-size: 0.93rem;
}

.practise__notice p:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .practise__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Membership: light photographic backgrounds ---------- */
.section--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.section--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: center / cover no-repeat;
  pointer-events: none;
}

.section--photo-city::before {
  background-image: url('../img/bg-membership-edinburgh.jpg');
  background-position: center 62%;
  opacity: 0.13;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 75%, transparent 100%);
}

.section--photo-team::before {
  background-image: url('../img/bg-membership-team.jpg');
  background-position: 70% center;
  opacity: 0.18;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 30%, transparent 100%);
}

.buy__price > span,
.cert__code,
.pathway__code {
  white-space: nowrap;
}

.section--photo-custom::before {
  background-image: var(--section-photo);
  opacity: 0.14;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%);
}

.phero .tm-notice {
  color: rgba(255, 255, 255, 0.86);
}

/* ---------- Certificate pages: curriculum with topics ---------- */
.modules--topics > li {
  align-items: flex-start;
}

.modules--topics > li:hover {
  transform: none;
}

.modules--topics > li > div {
  flex: 1;
  min-width: 0;
  padding-top: 8px;
}

.modules__topics {
  list-style: none;
  margin: 10px 0 2px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 6px 22px;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text);
}

.modules .modules__topics li {
  position: relative;
  display: block;
  padding: 0 0 0 14px;
  border: 0;
  border-radius: 0;
  background: none;
  font: inherit;
  color: inherit;
  transition: none;
}

.modules .modules__topics li:hover {
  transform: none;
}

.modules .modules__topics li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

[dir='rtl'] .modules .modules__topics li {
  padding: 0 14px 0 0;
}

/* ---- site-blocks.css ---- */
:root {
  --cms-accent: var(--gold);
  --cms-tint: var(--gold-soft);
  --cms-ink: var(--petrol);
  --cms-muted: var(--muted);
  --cms-line: var(--line);
  --cms-radius: var(--r);
  --cms-head-font: var(--f-head);
}
.cms-article {
  max-width: 780px;
  margin-top: 40px;
}
.post-grid--cms {
  margin-bottom: 28px;
}
/* ---------- Insights CMS content blocks ----------
 * Appended to each site's stylesheet by its build. Colours come from the
 * site's own tokens through the --cms-* variables set just above this block.
 */

.cms-body > * + * {
  margin-top: 1.1em;
}

.cms-body h2,
.cms-body h3 {
  margin-top: 1.6em;
}

.cms-callout {
  padding: 20px 24px;
  border-inline-start: 4px solid var(--cms-accent);
  border-radius: var(--cms-radius);
  background: var(--cms-tint);
}

.cms-callout p {
  margin: 0;
  color: var(--cms-ink);
  font-size: 1.08em;
}

.cms-quote {
  margin: 1.8em 0;
  padding: 4px 0 4px 26px;
  border-inline-start: 3px solid var(--cms-accent);
}

.cms-quote p {
  margin: 0;
  color: var(--cms-ink);
  font-family: var(--cms-head-font);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.45;
}

.cms-quote cite {
  display: block;
  margin-top: 12px;
  color: var(--cms-muted);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 600;
}

.cms-quote cite::before {
  content: '— ';
}

.cms-figure {
  margin: 1.8em 0;
}

.cms-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--cms-radius);
}

.cms-figure figcaption,
.cms-embed figcaption {
  margin-top: 10px;
  color: var(--cms-muted);
  font-size: 0.9rem;
}

.cms-figure--wide {
  width: min(1100px, 100vw - 2 * var(--gutter, 24px));
  margin-inline: 50%;
  transform: translateX(-50%);
}

[dir='rtl'] .cms-figure--wide {
  transform: translateX(50%);
}

.cms-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin: 2em 0;
}

.cms-split img {
  width: 100%;
  height: auto;
  border-radius: var(--cms-radius);
}

.cms-split--right img {
  order: 2;
}

.cms-split h3 {
  margin: 0 0 8px;
}

.cms-split p {
  margin: 0;
}

.cms-embed {
  margin: 1.8em 0;
}

.cms-embed__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--cms-radius);
  background: #000;
}

.cms-embed__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cms-actions {
  margin: 1.6em 0;
}

.cms-divider {
  margin: 2.4em 0;
  border: 0;
  border-top: 1px solid var(--cms-line);
}

.cms-cover {
  width: min(1100px, 100% - 2 * var(--gutter, 24px));
  margin: 0 auto;
}

.cms-cover img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--cms-radius);
}

@media (max-width: 720px) {
  .cms-split {
    grid-template-columns: 1fr;
  }

  .cms-split--right img {
    order: 0;
  }
}

/* ---------- Forms made in the Website builder (blocks/form_builder) ----------
 * Theme-neutral markup (.cms-fb); colours, radius and heading font come from
 * the --cms-* tokens above. Logical properties throughout, so /ar/ (RTL)
 * mirrors correctly.
 */

.cms-fb {
  --cms-fb-radius: clamp(4px, calc(var(--cms-radius) / 2), 10px);
  --cms-fb-danger: #b42318;
  max-width: 760px;
  margin: 0 0 1.6em;
  padding: clamp(20px, 3.5vw, 36px);
  border: 1px solid var(--cms-line);
  border-radius: var(--cms-radius);
  background: #fff;
  color: var(--cms-ink);
  text-align: start;
}

.cms-fb [hidden] {
  display: none !important;
}

.cms-fb__title {
  margin: 0 0 18px;
  color: var(--cms-ink);
  font-family: var(--cms-head-font);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.2;
}

.cms-fb__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.cms-fb__field,
.cms-fb__heading,
.cms-fb__text {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
}

.cms-fb__field--half {
  grid-column: auto;
}

fieldset.cms-fb__field {
  padding: 0;
  border: 0;
}

.cms-fb__heading {
  margin-top: 8px;
  color: var(--cms-ink);
  font-family: var(--cms-head-font);
  font-size: 1.15rem;
}

.cms-fb__text {
  color: var(--cms-muted);
  line-height: 1.6;
}

.cms-fb__label {
  display: block;
  margin: 0 0 7px;
  padding: 0;
  color: var(--cms-ink);
  font-family: var(--cms-head-font);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.cms-fb__req {
  color: var(--cms-fb-danger);
  font-weight: 700;
}

.cms-fb__input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid var(--cms-line);
  border-radius: var(--cms-fb-radius);
  background: #fff;
  color: var(--cms-ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.cms-fb__input::placeholder {
  color: var(--cms-muted);
  opacity: 0.75;
}

textarea.cms-fb__input {
  min-height: 140px;
  resize: vertical;
}

select.cms-fb__input {
  appearance: auto;
}

.cms-fb__file {
  padding: 9px 10px;
  border-style: dashed;
  background: var(--cms-tint);
  cursor: pointer;
}

.cms-fb__input:focus,
.cms-fb__choice input:focus-visible {
  border-color: var(--cms-ink);
  outline: 3px solid color-mix(in srgb, var(--cms-accent) 45%, transparent);
  outline-offset: 1px;
}

.cms-fb__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.cms-fb__choice {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: var(--cms-ink);
  font-size: 0.97rem;
  font-weight: 400;
  line-height: 1.45;
  cursor: pointer;
}

.cms-fb__choice input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--cms-ink);
}

.cms-fb__choice a {
  color: inherit;
  text-decoration: underline;
}

.cms-fb__help {
  margin: 6px 0 0;
  color: var(--cms-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.cms-fb__error {
  margin: 6px 0 0;
  color: var(--cms-fb-danger);
  font-size: 0.86rem;
  font-weight: 600;
}

.cms-fb__field.is-invalid .cms-fb__input {
  border-color: var(--cms-fb-danger);
  box-shadow: 0 0 0 1px var(--cms-fb-danger);
}

.cms-fb__actions {
  margin-top: 24px;
}

.cms-fb__submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--cms-accent);
  color: var(--cms-ink);
  font-family: var(--cms-head-font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
}

.cms-fb__submit:hover {
  filter: brightness(0.94);
}

.cms-fb__submit:active {
  transform: translateY(1px);
}

.cms-fb__submit:disabled {
  opacity: 0.65;
  cursor: progress;
}

.cms-fb__notice {
  margin: 0 0 18px;
  padding: 14px 18px;
  border-radius: var(--cms-fb-radius);
  font-size: 0.97rem;
  line-height: 1.5;
}

.cms-fb__notice:focus {
  outline: none;
}

.cms-fb__notice--ok {
  border: 1px solid color-mix(in srgb, var(--cms-accent) 60%, transparent);
  border-inline-start-width: 4px;
  background: var(--cms-tint);
  color: var(--cms-ink);
  font-weight: 600;
}

.cms-fb__notice--error {
  border: 1px solid #f3c2bd;
  border-inline-start: 4px solid var(--cms-fb-danger);
  background: #fef3f2;
  color: var(--cms-fb-danger);
}

@media (max-width: 640px) {
  .cms-fb__grid {
    grid-template-columns: 1fr;
  }

  .cms-fb__submit {
    width: 100%;
    justify-content: center;
  }
}

