/* ── Site Search Styles ─────────────────────────────────────────────── */
.site-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.search-input {
  padding: 0.5em 1em;
  border: 1px solid var(--navy);
  border-radius: 20px;
  font-size: 1rem;
  min-width: 180px;
  outline: none;
  transition: border 0.2s;
}
.search-input:focus {
  border-color: var(--teal);
}
.search-btn {
  background: var(--gold);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.search-btn:hover {
  background: var(--teal);
  color: #fff;
}
.search-results-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.search-result-item {
  margin-bottom: 1.5em;
  padding: 1em;
  background: var(--bg, #f4f6fa);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(11,22,40,0.04);
}
.search-snippet {
  color: #555;
  font-size: 0.98em;
  margin-top: 0.5em;
  word-break: break-word;
}
.nav__dropdown-menu a {
  /* Default: navy for light, override for dark/colour below */
}
html[data-theme="dark"] .nav__dropdown-menu a {
  color: var(--text);
}
html[data-theme="colour"] .nav__dropdown-menu a {
  color: var(--text);
}
/* ── Dropdown menu for nav (About/Founder) ── */
.nav__dropdown {
  position: relative;
}
.nav__link--dropdown {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3em;
}
.nav__dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 180px;
  background: var(--bg);
  box-shadow: 0 8px 32px rgba(11,22,40,0.13);
  border-radius: 0 0 8px 8px;
  padding: 0.5em 0;
  z-index: 100;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  display: block;
}
.nav__dropdown-menu li {
  list-style: none;
}
.nav__dropdown-menu a {
  display: block;
  padding: 0.65em 1.2em;
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-b);
  font-size: 0.88rem; /* Two sizes less than .nav__link (1.04rem) */
  border-radius: 4px;
  transition: background 0.18s;
}
.nav__dropdown-menu a:hover,
.nav__dropdown-menu a:focus {
  background: var(--yellow);
  color: #222 !important;
}
.costing-table--bordered th .icon--lg {
  background: #fff;
}
html[data-theme="dark"] .costing-table--bordered th .icon--lg {
  background: #222;
  box-shadow: 0 2px 8px #FFD60A33, 0 0 0 2px #333 inset;
}
html[data-theme="colour"] .costing-table--bordered th .icon--lg {
  background: #0A2840;
  box-shadow: 0 2px 8px #E8A02033, 0 0 0 2px #0A7070 inset;
}
.costing-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ═══ Custom: Costing Table with Borders and Icons ════════════════════════ */
.costing-table--bordered {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  margin: 2.5rem 0 1.5rem 0;
  background: var(--surface);
  box-shadow: 0 4px 24px rgba(11,22,40,0.07);
  border-radius: 12px;
  overflow: hidden;
}
.costing-table--bordered th,
.costing-table--bordered td {
  border: 1.5px solid var(--border);
  padding: 1.1rem 1.2rem;
  text-align: center;
  font-size: 1.04rem;
}
.costing-table--bordered th {
  background: var(--bg-alt);
  color: var(--icon-clr);
  font-family: var(--font-p);
  font-weight: 700;
  font-size: 1.08rem;
  border-bottom: 2.5px solid var(--yellow);
}
.costing-table--bordered tr:first-child th:first-child {
  border-top-left-radius: 12px;
}
.costing-table--bordered tr:first-child th:last-child {
  border-top-right-radius: 12px;
}
.costing-table--bordered tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}
.costing-table--bordered tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}
.costing-table--bordered td strong {
  color: var(--teal);
  font-weight: 700;
}
.costing-table--bordered img.icon--lg {
  width: 32px;
  height: 32px;
  margin-bottom: 0.25rem;
  box-shadow: 0 2px 8px rgba(11,112,112,0.08);
}
/* ═══ Custom Info Grid Section (Home Page) ════════════════════════════════ */
.info-grid {
  background: var(--foot-bg);
  color: rgba(255,255,255,0.82);
  padding: 3.5rem 0 2.5rem 0;
  margin-top: 0;
}
.info-grid__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.info-col h4 {
  font-family: var(--font-p);
  font-size: 1rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
}
.info-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.info-col li {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.5rem;
}
.info-col--about p {
  font-size: 1.01rem;
  color: rgba(255,255,255,0.58);
  margin-bottom: 1.2rem;
}
.info-contact {
  margin-top: 1.2rem;
}
.info-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.97rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.4rem;
}
.info-contact .icon-mail::before {
  content: '\2709';
  font-size: 1.1em;
  color: var(--yellow);
}
.info-contact .icon-phone::before {
  content: '\260E';
  font-size: 1.1em;
  color: var(--yellow);
}
.info-contact .icon-location::before {
  content: '\1F4CD';
  font-size: 1.1em;
  color: var(--yellow);
}
.info-col--connect a {
  color: var(--yellow);
  text-decoration: underline;
  font-size: 0.98rem;
  opacity: 0.95;
}
.info-col--connect a:hover {
  color: var(--gold);
}
.info-col--quicklinks a {
  color: var(--yellow);
  text-decoration: underline;
  font-size: 0.98rem;
  opacity: 0.95;
}
.info-col--quicklinks a:hover {
  color: var(--gold);
}
.info-col--about img {
  margin-bottom: 1.1rem;
  max-width: 120px;
}
@media (max-width: 1100px) {
  .info-grid__inner { grid-template-columns: 1fr 1fr 1fr; }
  .info-col--quicklinks { grid-column: span 3; margin-top: 2.5rem; }
  
  
}
@media (max-width: 900px) {
  .info-grid__inner { grid-template-columns: 1fr 1fr; }
  .info-col--consulting { grid-column: span 2; margin-top: 2.5rem; }
  .info-col--quicklinks { grid-column: span 2; margin-top: 2.5rem; }
}

@media (max-width: 600px) {
  .info-grid__inner { grid-template-columns: 1fr; gap: 2rem; }
  .info-col { margin-bottom: 2.2rem; }
}
/* ── edjitsu main stylesheet ─────────────────────────────────────────────── */

/* ═══ 1. Brand constants (never change across themes) ══════════════════════ */
:root {
  --yellow:   #FFD60A;
  --yellow-2: #E8B800;
  --teal:     #0A7070;
  --gold:     #E8A020;
  --navy:     #0B1628;

  --font-p:   'Space Grotesk', sans-serif;
  --font-b:   'Plus Jakarta Sans', sans-serif;
  --radius:   4px;
  --trans:    0.22s ease;
  --max-w:    1120px;

  /* ── Light theme tokens (default) ─────────────────────────────────────── */
  --bg:         #FFFFFF;
  --bg-alt:     #F7F7F7;
  --surface:    #FFFFFF;
  --text:       #1E293B;
  --muted:      #64748B;
  --border:     #E2E8F0;
  --shad:       0 4px 24px rgba(0,0,0,0.08);

  --nav-bg:     #0B1628;
  --foot-bg:    #0B1628;
  --hero-bg:    #F0F4F8;
  --hero-text:  #0B1628;
  --hero-sub:   #64748B;

  --ghost-clr:      #0B1628;
  --ghost-bdr:      rgba(11,22,40,0.35);
  --ghost-hover-bg: rgba(11,22,40,0.06);
  --ghost-hover-bdr:rgba(11,22,40,0.65);

  --card:       #FFFFFF;
  --card-title: #0B1628;
  --card-body:  #64748B;

  --train-bg:    #0B1628;
  --train-text:  #FFFFFF;
  --train-muted: rgba(255,255,255,0.75);
  --train-sep:   rgba(255,255,255,0.08);

  --input-bg:    #FFFFFF;
  --input-bdr:   #E2E8F0;
  --input-text:  #1E293B;

  --icon-clr:    var(--teal);
  --hl-clr:      var(--yellow-2);
}

/* ═══ Dark theme ════════════════════════════════════════════════════════════ */
html[data-theme="dark"] {
  --bg:         #111111;
  --bg-alt:     #161616;
  --surface:    #1C1C1C;
  --text:       #E2E8F0;
  --muted:      #94A3B8;
  --border:     #262626;
  --shad:       0 4px 28px rgba(0,0,0,0.55);

  --nav-bg:     #080808;
  --foot-bg:    #080808;
  --hero-bg:    #0A0A0A;
  --hero-text:  #FFFFFF;
  --hero-sub:   rgba(255,255,255,0.7);

  --ghost-clr:      rgba(255,255,255,0.88);
  --ghost-bdr:      rgba(255,255,255,0.35);
  --ghost-hover-bg: rgba(255,255,255,0.1);
  --ghost-hover-bdr:rgba(255,255,255,0.65);

  --card:       #1C1C1C;
  --card-title: #E2E8F0;
  --card-body:  #94A3B8;

  --train-bg:    #1A1A1A;
  --train-text:  #E2E8F0;
  --train-muted: rgba(226,232,240,0.7);
  --train-sep:   rgba(255,255,255,0.06);

  --input-bg:    #1C1C1C;
  --input-bdr:   #333333;
  --input-text:  #E2E8F0;

  --icon-clr:    var(--yellow);
  --hl-clr:      var(--yellow);
}

/* ═══ Colour theme (brand palette) ══════════════════════════════════════════ */
html[data-theme="colour"] {
  --bg:         #0B1628;
  --bg-alt:     #0F1E38;
  --surface:    #112040;
  --text:       #EEF2FF;
  --muted:      #8BA0C4;
  --border:     #1E3355;
  --shad:       0 4px 28px rgba(0,0,0,0.65);

  --nav-bg:     #07101E;
  --foot-bg:    #07101E;
  --hero-bg:    #060D1B;
  --hero-text:  #EEF2FF;
  --hero-sub:   rgba(238,242,255,0.7);

  --ghost-clr:      rgba(255,255,255,0.88);
  --ghost-bdr:      rgba(255,255,255,0.35);
  --ghost-hover-bg: rgba(255,255,255,0.1);
  --ghost-hover-bdr:rgba(255,255,255,0.65);

  --card:       #112040;
  --card-title: #EEF2FF;
  --card-body:  #8BA0C4;

  --train-bg:    #0A2840;
  --train-text:  #EEF2FF;
  --train-muted: rgba(238,242,255,0.65);
  --train-sep:   rgba(10,112,112,0.35);

  --input-bg:    #112040;
  --input-bdr:   #1E3355;
  --input-text:  #EEF2FF;

  --icon-clr:    var(--gold);
  --hl-clr:      var(--gold);
}

/* ═══ 2. Reset ═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html { height: 100%; }
body {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  font-family: var(--font-b);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  transition: background var(--trans), color var(--trans);
}
main {
  height: 100%;
  overflow-y: auto;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,214,10,0.55) rgba(0,0,0,0.25);
}
main::-webkit-scrollbar { width: 8px; }
main::-webkit-scrollbar-track { background: rgba(0,0,0,0.25); }
main::-webkit-scrollbar-thumb {
  background: rgba(255,214,10,0.55);
  border-radius: 4px;
}
main::-webkit-scrollbar-thumb:hover { background: rgba(255,214,10,0.8); }
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ═══ 3. Layout helpers ══════════════════════════════════════════════════════ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }

.section__heading {
  font-family: var(--font-p);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--card-title);
  margin-bottom: 0.75rem;
}
.section__sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 3rem;
}
.hl { color: var(--hl-clr); }

/* ── Nav brandname wordmark ─────────────────────────────────────────────── */
.nav-brandname {
  height: 26px;
  width: auto;
  object-fit: contain;
}

/* ── Footer tree icon + brandname ───────────────────────────────────────── */
.footer-tree {
  height: 28px;
  width: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-brandname {
  height: 18px;
  width: auto;
  object-fit: contain;
}

/* ── Hero BrandName wordmark ────────────────────────────────────────────── */
.brandname-wrap { margin-bottom: 1.5rem; }
.brandname-img  {
  max-width: 380px;
  width: 100%;
  height: auto;
}

/* ── Page-header logo (Training / Consulting) ───────────────────────────── */
.page-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
}
/* White variant only shows on dark/colour, which have dark page-header bg */

/* ═══ 4c. Nav logo tree image ════════════════════════════════════════════════ */
.logo-tree {
  height: 32px;
  width: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ── Per-theme image visibility ─────────────────────────────────────────── */
/* Default (light theme): show light variant, hide others */
.theme-img--light  { display: block; }
.theme-img--dark   { display: none;  }
.theme-img--colour { display: none;  }

html[data-theme="dark"]   .theme-img--light  { display: none;  }
html[data-theme="dark"]   .theme-img--dark   { display: block; }
html[data-theme="dark"]   .theme-img--colour { display: none;  }

html[data-theme="colour"] .theme-img--light  { display: none;  }
html[data-theme="colour"] .theme-img--dark   { display: none;  }
html[data-theme="colour"] .theme-img--colour { display: block; }

/* ═══ 4b. Inline icons ═══════════════════════════════════════════════════════ */
/* Doubled icon size for training cards */
/* Doubled icon size for training cards, now with rounded edges */
.icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  color: var(--icon-clr);
  transition: color var(--trans), filter var(--trans);
  border-radius: 12px;
  filter: brightness(0) saturate(100%);
  opacity: 0.85;
}
html[data-theme="light"] .icon {
  filter: brightness(0) saturate(100%) invert(28%) sepia(68%) saturate(387%) hue-rotate(170deg) brightness(95%);
  opacity: 0.9;
}
html[data-theme="dark"] .icon {
  filter: brightness(0) saturate(100%) invert(97%) sepia(99%) saturate(350%) hue-rotate(355deg) brightness(105%);
  opacity: 0.95;
}
html[data-theme="colour"] .icon {
  filter: brightness(0) saturate(100%) invert(60%) sepia(38%) saturate(356%) hue-rotate(27deg) brightness(103%);
  opacity: 0.9;
}
.icon--lg { width: 64px; height: 64px; }
.icon--sm { width: 15px; height: 15px; }
.nav-icon { width: 15px; height: 15px; opacity: 0.75; }

/* ═══ 5. Buttons ═════════════════════════════════════════════════════════════ */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-p);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--trans), color var(--trans), transform var(--trans), border-color var(--trans);
  border: 2px solid transparent;
}
.btn--yellow { background: var(--yellow); color: #111; }
.btn--yellow:hover { background: var(--yellow-2); transform: translateY(-2px); }
.btn--primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn--primary:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--ghost-clr);
  border-color: var(--ghost-bdr);
}
.btn--ghost:hover { background: var(--ghost-hover-bg); border-color: var(--ghost-hover-bdr); }
.btn--outline {
  background: transparent;
  color: var(--card-title);
  border-color: var(--border);
}
.btn--outline:hover { background: var(--surface); border-color: var(--muted); }

/* ═══ 6. Site header / nav ════════════════════════════════════════════════════ */
.site-header {
  position: relative;
  z-index: 100;
  background: var(--nav-bg);
  box-shadow: 0 2px 16px rgba(0,0,0,0.35);
  transition: background var(--trans);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1.5rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-p);
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__logo em { color: var(--yellow); font-style: normal; }
.logo-chip { width: 22px; height: 22px; color: var(--yellow); }

.nav__links {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
  align-items: center;
  justify-content: flex-end;
}
.nav__link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-p);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  transition: color var(--trans);
}
.nav__link:hover { color: var(--yellow); }
.nav__link:hover .nav-icon { opacity: 1; }
.nav__link--cta {
  background: var(--yellow);
  color: #111 !important;
  padding: 0.38rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
}
.nav__link--cta:hover { background: var(--yellow-2); }

/* ── Theme switcher ─────────────────────────────────────────────────────── */
.theme-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 3px;
  flex-shrink: 0;
}
.theme-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-p);
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  transition: background var(--trans), color var(--trans);
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0;
}
.theme-btn:hover { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.12); }
.theme-btn.active { background: var(--yellow); color: #111; }

.nav__burger {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.4rem;
  cursor: pointer;
  flex-shrink: 0;
}

/* ═══ 7. Flash bar ═══════════════════════════════════════════════════════════ */
.flash-bar { padding: 0.5rem 1.5rem; }
.flash {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  font-family: var(--font-p);
  font-size: 0.9rem;
}
.flash--success { background: #d4f4dd; color: #1a7a3a; }
.flash--error   { background: #fde8e8; color: #a83232; }

/* ═══ 8. Hero ════════════════════════════════════════════════════════════════ */
.hero-page {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.hero {
  background: var(--hero-bg);
  color: var(--hero-text);
  display: flex;
  align-items: center;
  flex: 1;
  min-height: 0;
  padding: 2rem 0;
  transition: background var(--trans), color var(--trans);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  width: 100%;
}
.hero__heading {
  font-family: var(--font-p);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--hero-text);
}
.hero__heading .hl { color: var(--hl-clr); }
.hero__sub {
  font-size: 1.05rem;
  color: var(--hero-sub);
  margin-bottom: 2rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Circuit-tree hero image */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-tree-img {
  max-width: 340px;
  width: 100%;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 0 20px rgba(11,22,40,0.15));
  transition: filter var(--trans);
}
html[data-theme="dark"] .hero-tree-img {
  mix-blend-mode: normal;
  filter: drop-shadow(0 0 32px rgba(255,214,10,0.35));
}
html[data-theme="colour"] .hero-tree-img {
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 40px rgba(10,112,112,0.6)) brightness(1.05);
}

/* ── Pain-anchored headline (h1 on homepage) ────────────────────────────── */
.hero__pain-headline {
  font-family: var(--font-p);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  color: var(--hero-text);
  line-height: 1.35;
  margin-bottom: 1.25rem;
}

/* ── Stats strip (below hero) ───────────────────────────────────────────── */
.stats-strip {
  background: var(--navy);
  border-top: 2px solid var(--yellow);
  padding: 1rem 0;
}
html[data-theme="dark"]   .stats-strip { background: #0A0A0A; }
html[data-theme="colour"] .stats-strip { background: #07101E; }
.stats-strip__inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-p);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ═══ 9. Service tiles ════════════════════════════════════════════════════════ */
.services-page {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.services-page .services {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 0;
}
.services { background: var(--bg-alt); transition: background var(--trans); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shad);
  position: relative;
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans), background var(--trans), border-color var(--trans);
}
.service-tile::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans);
}
.service-tile:hover { transform: translateY(-4px); box-shadow: 0 10px 36px rgba(0,0,0,0.18); }
.service-tile:hover::after { transform: scaleX(1); }
.tile-icon-wrap {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.service-tile__title {
  font-family: var(--font-p);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--card-title);
  margin-bottom: 0.65rem;
  transition: color var(--trans);
}
.service-tile__body { font-size: 0.93rem; color: var(--card-body); line-height: 1.65; }
.service-tile__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1rem;
  font-family: var(--font-p);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--icon-clr);
  transition: gap var(--trans), color var(--trans);
}
.service-tile__link:hover { gap: 0.5rem; }

/* ═══ 10. Training cards ══════════════════════════════════════════════════════ */
.training-section { background: var(--bg); transition: background var(--trans); }
.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.training-card {
  background: var(--train-bg);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: background var(--trans), transform var(--trans);
  border: 1px solid var(--train-sep);
}
.training-card:hover { transform: translateY(-3px); }
.training-card-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}
.training-card-header .icon {
  color: var(--icon-clr);
  filter: saturate(1.3) brightness(1.15) contrast(1.2);
  opacity: 1;
  width: 44px;
  height: 44px;
}

/* Dark theme training card icons - aggressive boost for yellow brightness */
html[data-theme="dark"] .training-card-header .icon {
  filter: saturate(1.5) brightness(1.3) contrast(1.3);
}

/* Color theme training card icons - boost for orange to match brand brightness */
html[data-theme="colour"] .training-card-header .icon {
  filter: saturate(1.5) brightness(1.3) contrast(1.3);
}

/* Tile icon wrappers use theme-aware SVGs — no CSS filter recoloring needed */
.tile-icon-wrap .icon {
  filter: saturate(1.3) brightness(1.15) contrast(1.2);
  opacity: 1;
}

/* Dark theme tile icons - most aggressive boost for maximum brightness */
html[data-theme="dark"] .tile-icon-wrap .icon {
  filter: saturate(1.5) brightness(1.3) contrast(1.3);
}

/* Color theme tile icons - boost for orange to match brand brightness */
html[data-theme="colour"] .tile-icon-wrap .icon {
  filter: saturate(1.5) brightness(1.3) contrast(1.3);
}
.training-card__title {
  font-family: var(--font-p);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--train-text);
}
.training-card__list li {
  font-size: 0.88rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--train-sep);
  color: var(--train-muted);
}
.training-card__list li:last-child { border-bottom: none; }

/* ═══ 11. CTA band ═══════════════════════════════════════════════════════════ */
.cta-band { background: var(--yellow); padding: 2.6rem 0; }
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band__heading {
  font-family: var(--font-p);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #111;
}
.cta-band .btn--yellow { background: #111; color: var(--yellow); }
.cta-band .btn--yellow:hover { background: var(--navy); }

/* ═══ 12. Contact form ════════════════════════════════════════════════════════ */
.contact-page { background: var(--bg-alt); transition: background var(--trans); }
.contact-page__inner { max-width: 640px; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-family: var(--font-p);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--card-title);
}
.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--input-bdr);
  border-radius: var(--radius);
  font-family: var(--font-b);
  font-size: 0.95rem;
  color: var(--input-text);
  background: var(--input-bg);
  transition: border-color var(--trans), background var(--trans);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--yellow-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-required { color: var(--yellow-2); }

/* ── Star rating ─────────────────────────────────────────────────────────── */
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  gap: 0.25rem;
}
.star-rating input { display: none; }
.star-rating label {
  font-size: 1.75rem;
  color: var(--border);
  cursor: pointer;
  transition: color var(--trans);
  font-weight: 400;
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label { color: var(--yellow); }

.cta-inline { margin-top: 2.5rem; }

/* ═══ 13. Site footer ════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--foot-bg);
  padding: 1.3rem 0;
  transition: background var(--trans);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.footer__copy { font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a {
  font-family: var(--font-p);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--trans);
}
.footer__links a:hover { color: var(--yellow); }
.footer__social-link {
  color: rgba(255,255,255,0.45);
  transition: color var(--trans);
  display: flex;
  align-items: center;
}
.footer__social-link:hover { color: var(--yellow); }

/* ═══ 14. About page ══════════════════════════════════════════════════════════ */
.about-page { background: var(--bg); transition: background var(--trans); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-text p {
  font-size: 1.02rem;
  margin-bottom: 1rem;
  color: var(--text);
}
.about-brandname-heading {
  display: flex;
  align-items: center;
  gap: 0.35em;
  flex-wrap: wrap;
}
.about-brandname {
  height: calc(clamp(1.75rem, 3vw, 2.5rem) * 0.8);
  width: auto;
  vertical-align: middle;
}
.about-lead {
  font-size: 1.12rem !important;
  color: var(--card-title) !important;
  margin-bottom: 1.25rem !important;
}

/* Tree visual */
.about-visual { display: flex; justify-content: center; }
.about-tree-wrap {
  position: relative;
  display: inline-block;
  max-width: 400px;
  width: 100%;
}
.about-tree-img {
  width: 100%;
  border-radius: 12px;
  /* In light theme: multiply removes white bg on white surface */
  mix-blend-mode: multiply;
  transition: mix-blend-mode var(--trans);
}
html[data-theme="dark"] .about-tree-img,
html[data-theme="colour"] .about-tree-img {
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 28px rgba(33,150,243,0.4));
}

/* ═══ 15. Page header (Training / Consulting) ════════════════════════════════ */
.page-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
  transition: background var(--trans), border-color var(--trans);
}
.page-header__inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.page-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.page-header__title {
  font-family: var(--font-p);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--card-title);
  margin-bottom: 0.4rem;
}
.page-header__sub {
  font-size: 1rem;
  color: var(--muted);
}
.price-anchor {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.35rem 0.9rem;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.01em;
}

/* ═══ 16. Consulting page ════════════════════════════════════════════════════ */
.cta-inline { margin-top: 2.5rem; }

/* ═══ 16. Responsive ══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav__links      { gap: 1.1rem; }
  .nav__link span  { display: none; }
  .about-inner     { grid-template-columns: 1fr; }
  .about-visual    { order: -1; }
  .about-tree-wrap { max-width: 280px; }
  .tree-label      { display: none; }
}
@media (max-width: 768px) {
  .hero__inner        { grid-template-columns: 1fr; }
  .hero__visual       { order: -1; }
  .hero-tree-img      { max-width: 220px; }
  .stats-strip__inner { gap: 1rem; }
  .stat-num           { font-size: 1.9rem; }
  .nav__links         { display: none; }
  .nav__burger        { display: block; }
  .site-search        { display: none; }
  .cta-band__inner    { flex-direction: column; text-align: center; }
  .footer__inner      { flex-direction: column; text-align: center; }
  .theme-switcher     { order: -1; }
  .theme-btn          { min-width: 36px; min-height: 36px; }
  .form-row           { grid-template-columns: 1fr; }
  .training-meta-grid { grid-template-columns: 1fr 1fr; }
  .engagement-grid    { grid-template-columns: 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .page-header__inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .page-header__logo  { align-self: center; }
  .entry-product-grid { grid-template-columns: 1fr; }
  .ecosystem-grid     { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ═══ 17. Utilities ══════════════════════════════════════════════════════════ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.mt-lg { margin-top: 1.5rem; }

/* Skip to main content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--yellow);
  color: #111;
  font-family: var(--font-p);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  z-index: 9999;
  transition: top 0.1s;
}
.skip-link:focus { top: 0.5rem; }

/* Focus outlines */
:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

/* ═══ 18. Error pages ════════════════════════════════════════════════════════ */
.error-page { background: var(--bg); }
.error-page__inner { max-width: 560px; text-align: center; }
.error-page__code {
  display: block;
  font-family: var(--font-p);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 1rem;
}
.error-page__heading {
  font-family: var(--font-p);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--card-title);
  margin-bottom: 0.75rem;
}
.error-page__sub {
  color: var(--muted);
  margin-bottom: 2rem;
}
.error-page__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ═══ 19. FAQ page ═══════════════════════════════════════════════════════════ */
.faq-page { background: var(--bg-alt); }
.faq-page__inner { max-width: 760px; }
.faq-group { margin-bottom: 2.5rem; }
.faq-group__heading {
  font-family: var(--font-p);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hl-clr);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0.1rem 0;
}
.faq-item__q {
  font-family: var(--font-p);
  font-weight: 600;
  font-size: 1rem;
  color: var(--card-title);
  padding: 1rem 1.5rem 1rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color var(--trans);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 1.3rem;
  color: var(--muted);
  transition: transform var(--trans);
}
.faq-item[open] .faq-item__q::after { transform: rotate(45deg); }
.faq-item__q:hover { color: var(--hl-clr); }
.faq-item__a {
  padding: 0 0 1rem;
  color: var(--text);
  line-height: 1.7;
}
.faq-item__a a { color: var(--hl-clr); text-decoration: underline; }
.faq-cta { margin-top: 3rem; text-align: center; }
.faq-cta p { color: var(--muted); margin-bottom: 1rem; }

/* ═══ 20. Testimonials display ═══════════════════════════════════════════════ */
.testimonials-section { background: var(--bg); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 0;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: var(--shad);
}
.testimonial-card__quote {
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-card__quote::before { content: '\201C'; }
.testimonial-card__quote::after  { content: '\201D'; }
.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.testimonial-card__author strong {
  font-family: var(--font-p);
  font-size: 0.92rem;
  color: var(--card-title);
}
.testimonial-card__author span {
  font-size: 0.82rem;
  color: var(--muted);
}
.testimonial-card__stars { color: var(--yellow); font-size: 0.95rem; margin-top: 0.4rem; }

/* ═══ 21. Training meta strip ════════════════════════════════════════════════ */
.training-meta-strip { background: var(--bg-alt); padding: 2.5rem 0; }
.training-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.training-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  color: var(--text);
}
.training-meta-item .icon {
  width: 28px; height: 28px;
  stroke: var(--icon-clr);
  margin-bottom: 0.25rem;
}
.training-meta-item strong {
  font-family: var(--font-p);
  font-size: 0.9rem;
  color: var(--card-title);
}
.training-meta-item span { font-size: 0.85rem; color: var(--muted); }
.training-card__desc {
  font-size: 0.93rem;
  color: var(--train-muted);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.training-card__meta {
  font-size: 0.82rem;
  color: var(--train-muted);
  margin-top: 0.75rem;
  opacity: 0.8;
}

/* ═══ 21b. Training impact strip ════════════════════════════════════════════ */
.training-impact-strip { border-top: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow); }
.training-impact__eyebrow {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.25rem;
}

/* ═══ 22. Consulting engagement models ═══════════════════════════════════════ */
.engagement-section { background: var(--bg-alt); }
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.engagement-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: var(--shad);
}
.engagement-card__title {
  font-family: var(--font-p);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--card-title);
  margin-bottom: 0.75rem;
}
.engagement-card__body {
  font-size: 0.93rem;
  color: var(--card-body);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.engagement-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.engagement-card__list li {
  font-size: 0.85rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
}
.engagement-card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--hl-clr);
}

/* ═══ 22b. Entry-product cards ═══════════════════════════════════════════════ */
.entry-product-section { background: var(--bg); }
.entry-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.entry-product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--teal);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: var(--shad);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
}
.entry-product-card--featured {
  border-top-color: var(--yellow);
}
.entry-product__badge {
  position: absolute;
  top: -1px;
  right: 1.2rem;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 0 0 4px 4px;
}
.entry-product__label {
  font-family: var(--font-p);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--card-title);
  padding-top: 0.5rem;
}
.entry-product__price {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--yellow);
  font-family: var(--font-p);
  line-height: 1.1;
}
.entry-product__meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.entry-product__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  margin-bottom: 1rem;
}
.entry-product__list li {
  font-size: 0.88rem;
  color: var(--card-body);
  padding-left: 1.1rem;
  position: relative;
}
.entry-product__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.entry-product-card--featured .entry-product__list li::before { color: var(--yellow); }
.btn--sm { padding: 0.45rem 1.1rem; font-size: 0.88rem; }
.btn--outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
  border-radius: 4px;
  font-weight: 600;
  transition: border-color var(--trans), color var(--trans);
  text-decoration: none;
  display: inline-block;
}
.btn--outline:hover { border-color: var(--yellow); color: var(--yellow); }
@media (max-width: 768px) {
  .entry-product-grid { grid-template-columns: 1fr; }
}

/* ═══ 23. About skills list ══════════════════════════════════════════════════ */
.about-expertise {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.about-sub-heading {
  font-family: var(--font-p);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--card-title);
  margin: 0 0 1rem;
}
.about-skills {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.65rem 2.5rem;
  margin-bottom: 0.5rem;
}
.about-skills li {
  font-size: 0.95rem;
  color: var(--text);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}
.about-skills li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--hl-clr);
  font-weight: 700;
}

/* ═══ 24. Form hint ══════════════════════════════════════════════════════════ */
.form-hint {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--muted);
  margin-left: 0.25rem;
}

/* ═══ Theme-aware icon styling for all pages ════════════════════════════════ */

/* All themed icon containers use native SVG colors — no CSS filter recoloring */

/* ═══ 25. Ecosystem strip ════════════════════════════════════════════════════ */
.ecosystem-strip { background: var(--bg-alt); }
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.ecosystem-group { display: flex; flex-direction: column; gap: 0.75rem; }
.ecosystem-group__label {
  font-family: var(--font-p);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--hl-clr);
}
.ecosystem-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  display: inline-block;
  padding: 0.28rem 0.75rem;
  font-family: var(--font-b);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: border-color var(--trans), color var(--trans);
  white-space: nowrap;
}
.chip:hover { border-color: var(--hl-clr); color: var(--hl-clr); }

/* ── Founder bio skills list (chips in rows) ─────────────────────────────── */
.founder-bio > ul:first-of-type {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.founder-bio > ul:first-of-type li {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
}
.founder-bio > ul:first-of-type strong {
  flex-shrink: 0;
  min-width: max-content;
}
/* ── Founder bio education list (no wrapping) ─────────────────────────────── */
.founder-bio > ul:last-of-type {
  list-style: none;
}
.founder-bio > ul:last-of-type li {
  white-space: nowrap;
}
/* ── Contact links with theme-based icons ───────────────────────────────── */
.contact-links {
  line-height: 1.8;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
  transition: opacity var(--trans);
}
.contact-link:hover {
  opacity: 0.7;
}
.contact-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  color: inherit;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ═══ 26. Share strip ════════════════════════════════════════════════════════ */
.share-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}
.share-strip__inner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.share-strip__label {
  font-family: var(--font-p);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 0.25rem;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-p);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-decoration: none;
  transition: border-color var(--trans), color var(--trans);
}

/* ═══ 27. Newsletter section ════════════════════════════════════════════════ */
.newsletter-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
}
.newsletter-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
}
.newsletter-heading h2 {
  font-family: var(--font-h);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.newsletter-heading p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 480px;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  max-width: 640px;
}
.newsletter-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  width: 100%;
  justify-content: center;
}
.newsletter-input {
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-b);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  flex: 1 1 180px;
  min-width: 0;
  transition: border-color var(--trans);
}
.newsletter-input:focus {
  outline: 2px solid var(--hl-clr);
  outline-offset: 2px;
  border-color: var(--hl-clr);
}
.newsletter-input--email { flex: 2 1 220px; }
.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
}
.newsletter-consent input[type="checkbox"] { margin-top: 0.2rem; flex-shrink: 0; }

/* ═══ 28. Learning paths ════════════════════════════════════════════════════ */
.learning-paths-section { padding: 4rem 0; }
.learning-paths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.path-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.path-card__header { display: flex; flex-direction: column; gap: 0.4rem; }
.path-card__role {
  font-family: var(--font-p);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hl-clr);
}
.path-card__title {
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.path-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.path-steps { display: flex; flex-direction: column; gap: 0; flex: 1; }
.path-step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.path-step__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 28px;
}
.path-step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--hl-clr);
  color: #fff;
  font-family: var(--font-h);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.path-step__line {
  width: 2px;
  flex: 1;
  min-height: 1.5rem;
  background: var(--border);
  margin: 2px 0;
}
.path-step:last-child .path-step__line { display: none; }
.path-step__content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 1rem;
}
.path-step__name {
  font-family: var(--font-h);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.path-step__name:hover { color: var(--hl-clr); }
.path-step__tag {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}
.path-outcome {
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--bg-alt);
  border-left: 3px solid var(--hl-clr);
  padding: 0.6rem 0.85rem;
  border-radius: 0 6px 6px 0;
}
.path-card__cta { align-self: flex-start; margin-top: auto; }
.paths-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.paths-cta p { font-size: 1.1rem; color: var(--muted); margin: 0; }

/* ═══ 29. Cookie consent banner ═════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--navy);
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}
.cookie-banner--visible { transform: translateY(0); }
.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}
.cookie-banner__text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
  flex: 1;
}
.cookie-banner__text a { color: var(--yellow); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 0.65rem; flex-shrink: 0; }
.cookie-btn { padding: 0.45rem 1.1rem; font-size: 0.88rem; }

@media (max-width: 480px) {
  .newsletter-form__row { flex-direction: column; }
  .newsletter-input { flex-basis: 100%; }
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; }
  .learning-paths-grid { grid-template-columns: 1fr; }
}
.share-btn:hover { border-color: var(--hl-clr); color: var(--hl-clr); }

/* ═══ 30. Star display on training cards ════════════════════════════════════ */
.training-rating {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}
.star-display {
  position: relative;
  display: inline-block;
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: 0.05em;
}
.star-bg { color: #bbb; }
html[data-theme="dark"]   .star-bg { color: #444; }
html[data-theme="colour"] .star-bg { color: #2E4870; }
.star-fg {
  position: absolute;
  inset: 0;
  white-space: nowrap;
  overflow: hidden;
  width: var(--rating-pct, 0%);
}
.star-display--gold   .star-fg { color: var(--yellow); }
.star-display--green  .star-fg { color: #27AE60; }
.star-display--orange .star-fg { color: var(--gold); }
.star-display--red    .star-fg { color: #E74C3C; }
.star-display--empty  .star-fg { display: none; }
.star-meta {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-b);
}
.star-meta--muted { font-style: italic; }
.star-cta {
  font-size: 0.78rem;
  color: var(--hl-clr);
  text-decoration: none;
  font-family: var(--font-b);
  font-weight: 600;
  margin-left: auto;
  white-space: nowrap;
}
.star-cta:hover { text-decoration: underline; }
.training-rating--empty .star-bg { opacity: 0.45; }

/* ═══ 31. Feedback form ═════════════════════════════════════════════════════ */
.feedback-section { padding: 3.5rem 0 5rem; }
.feedback-form-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.fb-fieldset {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.fb-legend {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  display: block;
}
.fb-req { color: #E74C3C; }
.fb-label {
  display: block;
  font-family: var(--font-b);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.45rem;
}
.fb-hint {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.82rem;
}
.fb-row { display: flex; flex-direction: column; }
.fb-row--flex { flex-direction: row; align-items: center; gap: 1rem; }
.fb-inline-row { display: flex; flex-direction: column; gap: 0.5rem; }
.fb-input, .fb-textarea {
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-b);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--trans), outline var(--trans);
  width: 100%;
  box-sizing: border-box;
}
.fb-input:focus, .fb-textarea:focus {
  outline: 2px solid var(--hl-clr);
  outline-offset: 2px;
  border-color: var(--hl-clr);
}
.fb-input--date { max-width: 220px; }
.fb-textarea { resize: vertical; min-height: 130px; }
.fb-char-count {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: right;
  margin-top: 0.3rem;
}

/* Training radio cards */
.fb-radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.65rem;
}
.fb-radio-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color var(--trans), background var(--trans);
  background: var(--surface);
}
.fb-radio-card input[type="radio"] { flex-shrink: 0; accent-color: var(--hl-clr); }
.fb-radio-card:hover { border-color: var(--hl-clr); }
.fb-radio-card--checked { border-color: var(--hl-clr); background: var(--bg-alt); }
.fb-radio-label {
  font-family: var(--font-b);
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.3;
}

/* Participant type radios */
.fb-type-radios { display: flex; gap: 1.25rem; }
.fb-type-radio {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-family: var(--font-b);
  font-size: 0.9rem;
  color: var(--text);
}
.fb-type-radio input { accent-color: var(--hl-clr); }

/* Interactive star picker */
.star-picker {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.05rem;
  font-size: 2.2rem;
  line-height: 1;
  margin: 0.3rem 0;
}
.star-picker input[type="radio"] { display: none; }
.star-picker label {
  cursor: pointer;
  color: #bbb;
  transition: color 0.1s;
  padding: 0 0.08rem;
  user-select: none;
}
html[data-theme="dark"]   .star-picker label { color: #444; }
html[data-theme="colour"] .star-picker label { color: #2E4870; }
/* Checked: colour the clicked star and all lower-value DOM-siblings */
.star-picker input:checked + label,
.star-picker input:checked ~ label { color: var(--yellow); }
/* While hovering inside, reset checked colour so hover preview is accurate */
.star-picker:hover input:checked + label,
.star-picker:hover input:checked ~ label { color: #bbb; }
html[data-theme="dark"]   .star-picker:hover input:checked + label,
html[data-theme="dark"]   .star-picker:hover input:checked ~ label { color: #444; }
html[data-theme="colour"] .star-picker:hover input:checked + label,
html[data-theme="colour"] .star-picker:hover input:checked ~ label { color: #2E4870; }
/* Hover preview */
.star-picker label:hover,
.star-picker label:hover ~ label { color: var(--yellow); }
.star-picker-hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.15rem;
  min-height: 1.2em;
}
.fb-submit { align-self: flex-start; padding: 0.75rem 2.5rem; font-size: 1rem; }

@media (max-width: 600px) {
  .fb-radio-grid { grid-template-columns: 1fr 1fr; }
  .fb-row--flex { flex-direction: column; align-items: flex-start; }
  .fb-input--date { max-width: 100%; }
}

/* ═══ 32. Careers page ══════════════════════════════════════════════════════ */
.careers-section { padding: 2.5rem 0 5rem; }
.careers-prompt {
  font-family: var(--font-b);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1rem;
}

/* Training selector buttons */
.careers-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
}
.career-train-btn {
  padding: 0.55rem 1.1rem;
  font-family: var(--font-b);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  cursor: pointer;
  transition: border-color var(--trans), background var(--trans), color var(--trans);
  line-height: 1.3;
}
.career-train-btn:hover {
  border-color: var(--hl-clr);
  color: var(--hl-clr);
}
.career-train-btn--active {
  border-color: var(--hl-clr);
  background: var(--hl-clr);
  color: var(--navy);
}

/* Placeholder */
.career-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  color: var(--muted);
  font-size: 1rem;
  gap: 0.5rem;
}

/* Career content panel */
.career-content {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.career-content--visible {
  opacity: 1;
  transform: translateY(0);
}

.career-heading {
  font-family: var(--font-h);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.75rem;
}

/* Role cards grid */
.career-roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.career-role-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow var(--trans);
}
.career-role-card:hover { box-shadow: var(--shad); }
.career-role-card__header { display: flex; flex-direction: column; gap: 0.45rem; }
.career-role-card__title {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.career-role-card__badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.career-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-family: var(--font-b);
  font-size: 0.75rem;
  font-weight: 600;
}
.career-badge--level {
  background: var(--bg-alt);
  color: var(--muted);
  border: 1px solid var(--border);
}
.career-badge--salary {
  background: transparent;
  color: var(--hl-clr);
  border: 1px solid var(--hl-clr);
}
.career-role-card__desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.career-role-card__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}
.career-role-card__skills .chip { font-size: 0.75rem; padding: 0.2rem 0.6rem; }

/* Meta row */
.career-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1.5rem 2rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  align-items: start;
}
.career-meta-block { display: flex; flex-direction: column; gap: 0.6rem; }
.career-meta-label {
  font-family: var(--font-p);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.career-meta-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.career-meta-chips .chip { font-size: 0.78rem; }
.career-meta-block--salary { text-align: right; white-space: nowrap; }
.career-salary-badge {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hl-clr);
}
.career-salary-note {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-b);
  font-style: italic;
}

/* CTA strip */
.career-cta-strip {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 768px) {
  .career-meta-row { grid-template-columns: 1fr; }
  .career-meta-block--salary { text-align: left; }
  .career-roles-grid { grid-template-columns: 1fr; }
}
