/* =====================================================================
   AI for Team Leaders Level 4 — TESS Group Landing Page
   Brand colours drawn from the TESS Group logo rainbow.
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand */
  --tess-pink:    #E5097F;
  --tess-magenta: #B81272;
  --tess-pink-light: #fdf4f9;
  --tess-green:   #8BC53F;
  --tess-blue:    #1B75BC;
  --tess-yellow:  #FFC20E;
  --tess-orange:  #F7941D;
  --tess-red:     #ED1C24;
  --tess-navy:    #0a1a3a;

  /* Neutrals */
  --ink:        #14161b;
  --ink-soft:   #2a2e36;
  --ink-body:   #3a3f48;
  --slate:      #5b6068;
  --slate-2:    #8a8f98;
  --line:       #e7e6df;
  --line-soft:  #f1efe9;
  --paper:      #ffffff;
  --cream:      #faf8f3;
  --warm-grey:  #f4f2ec;
  --bg-soft:    #f9f8f3;

  /* Sector accent palette (for audience cards) */
  --sec-blue:    #1B75BC;  --sec-blue-bg:   #E3EDFB;  --sec-blue-dark:   #155A91;
  --sec-coral:   #E07B4F;  --sec-coral-bg:  #FAEAE1;  --sec-coral-dark:  #A84D28;
  --sec-amber:   #D4920A;  --sec-amber-bg:  #FDF3DC;  --sec-amber-dark:  #9A6800;
  --sec-pink:    #E5097F;  --sec-pink-bg:   #FBE5EF;  --sec-pink-dark:   #B81272;
  --sec-purple:  #7B6FD4;  --sec-purple-bg: #EEECFB;  --sec-purple-dark: #4E43A8;
  --sec-green:   #5BA631;  --sec-green-bg:  #EAF4DC;  --sec-green-dark:  #3A6B1E;
  --sec-magenta: #B81272;  --sec-magenta-bg:#FAEAF2;  --sec-magenta-dark:#7E0A4C;
  --sec-slate:   #5A6E84;  --sec-slate-bg:  #EDF0F4;  --sec-slate-dark:  #3A4E62;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv01", "cv11";
}

img { max-width: 100%; display: block; }
a { color: var(--tess-pink); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--tess-magenta); }

/* ================== LAYOUT ================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* ================== TYPOGRAPHY ================== */
h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.1;
  color: var(--ink);
}
.serif, .serif-em {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.025em;
  color: var(--tess-blue);
}
.serif-em.blue { color: var(--tess-blue); }
.serif-em.pink { color: var(--tess-pink); }
.serif-em.yellow { color: var(--tess-yellow); }
.serif-em.green { color: var(--tess-green); }
.serif-em.orange { color: var(--tess-orange); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tess-blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 2px;
  background: currentColor;
}
.eyebrow.blue   { color: var(--tess-blue); }
.eyebrow.green  { color: var(--tess-green); }
.eyebrow.orange { color: var(--tess-orange); }
.eyebrow.pink   { color: var(--tess-pink); }
.eyebrow.yellow { color: var(--tess-yellow); }

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 14px;
  max-width: 22ch;
}
.section-title.light { color: #fff; max-width: 22ch; }
.section-intro {
  font-size: 16px;
  color: var(--ink-body);
  max-width: 70ch;
  line-height: 1.6;
}
.section-intro.light { color: rgba(255,255,255,0.78); }
.section-intro strong { color: var(--ink); font-weight: 700; }
.section-intro.light strong { color: #fff; }

.section-head { margin-bottom: 40px; max-width: 800px; }
.section-head.dark { max-width: 900px; }
.section-head.wide { max-width: 1100px; }

/* ================== BUTTONS ================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-lg { padding: 15px 28px; font-size: 15px; }
.btn-primary {
  background: var(--tess-blue);
  color: #fff;
}
.btn-primary:hover {
  background: #155a91;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27,117,188,0.30);
}
.btn-pink {
  background: var(--tess-pink);
  color: #fff;
}
.btn-pink:hover {
  background: var(--tess-magenta);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(229,9,127,0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--cream);
}
.btn-block { width: 100%; }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ================== RAINBOW BAR ================== */
.rainbow-bar {
  height: 3px;
  background: linear-gradient(90deg,
    var(--tess-pink)   0%, var(--tess-pink)   20%,
    var(--tess-orange) 20%, var(--tess-orange) 40%,
    var(--tess-yellow) 40%, var(--tess-yellow) 60%,
    var(--tess-green)  60%, var(--tess-green)  80%,
    var(--tess-blue)   80%, var(--tess-blue)   100%);
}

/* ================== ANNOUNCEMENT BAR ================== */
.announce-bar {
  background: var(--ink);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  padding: 10px 0;
  position: relative;
  z-index: 30;
}
.announce-bar .container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  letter-spacing: -0.005em;
}
.announce-bar strong { color: #fff; font-weight: 700; }
.announce-bar a {
  color: var(--tess-yellow);
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}
.announce-bar a:hover { color: #fff; text-decoration: underline; }
.announce-dot {
  width: 8px; height: 8px;
  background: var(--tess-red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(237,28,36,0.25);
  animation: pulse 1.5s ease-in-out infinite;
}
.announce-sep { color: rgba(255,255,255,0.35); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(237,28,36,0.25); }
  50%      { box-shadow: 0 0 0 7px rgba(237,28,36,0.15); }
}

/* ================== HEADER ================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.2s;
}
.site-header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 28px;
  max-width: 1240px;
  margin: 0 auto;
}
.brand-logo { height: 36px; width: auto; }
.primary-nav {
  display: flex;
  gap: 26px;
  flex: 1;
  margin-left: 8px;
}
.primary-nav a {
  color: var(--ink-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
}
.primary-nav a:hover { color: var(--tess-blue); }
.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-phone {
  color: var(--ink-body);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.header-phone:hover { color: var(--ink); }
.header-phone svg { color: var(--tess-blue); }

@media (max-width: 900px) {
  .primary-nav { display: none; }
  .header-phone { display: none; }
}

/* ================== HERO ================== */
.hero {
  position: relative;
  background: var(--bg-soft);
  overflow: hidden;
  padding: 72px 0 56px;
}
.hero-bg-shape {
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(27,117,188,0.10), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-body);
  letter-spacing: -0.005em;
  margin-bottom: 22px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--tess-blue);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(27,117,188,0.18);
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero-title .serif {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--tess-blue);
  letter-spacing: -0.04em;
}
.hero-title .strikethrough {
  position: relative;
  font-size: 0.75em;
  color: var(--slate);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hero-title .strikethrough::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px; top: 50%;
  height: 3px;
  background: var(--tess-red);
  transform: rotate(-2deg);
}

.hero-sub {
  font-size: 18px;
  color: var(--ink-body);
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 580px;
}
.hero-sub strong { color: var(--ink); font-weight: 700; }
.hero-sub em { font-family: 'Fraunces', Georgia, serif; font-style: italic; color: var(--tess-pink); font-weight: 500; }

.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero-fineprint {
  font-size: 12.5px;
  color: var(--slate);
  font-weight: 500;
}

/* hero card */
.hero-card {
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(20,22,27,0.25);
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--tess-pink) 0%, var(--tess-pink) 25%,
    var(--tess-orange) 25%, var(--tess-orange) 50%,
    var(--tess-green) 50%, var(--tess-green) 75%,
    var(--tess-blue) 75%, var(--tess-blue) 100%);
}
.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.card-eyebrow {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}
.card-badge {
  background: var(--tess-green);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
}
.hero-stat {
  padding: 14px 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-stat:nth-child(2n) { border-right: none; }
.hero-stat:nth-last-child(-n+2) { border-bottom: none; }
.hero-stat-num {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.hero-stat-num .unit { font-size: 16px; color: rgba(255,255,255,0.6); margin-left: 1px; }
.accent-pink   { color: var(--tess-pink); }
.accent-blue   { color: #5dade2; }
.accent-green  { color: var(--tess-green); }
.accent-orange { color: var(--tess-orange); }

.hero-stat-lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.78);
  line-height: 1.35;
  font-weight: 600;
}
.hero-stat-lbl .dim { color: rgba(255,255,255,0.5); font-weight: 400; }

.hero-tickbox {
  list-style: none;
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}
.hero-tickbox li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(255,255,255,0.86);
}
.tickbox {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 11px;
}
.tickbox.b { background: var(--tess-blue); }
.tickbox.p { background: var(--tess-pink); }
.tickbox.g { background: var(--tess-green); }
.tickbox.o { background: var(--tess-orange); color: #fff; }
.hero-tickbox strong { color: #fff; font-weight: 700; }

.hero-rating {
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  gap: 10px;
}
.stars { color: var(--tess-yellow); letter-spacing: 1px; font-size: 14px; }
.rating-text { font-size: 12px; color: rgba(255,255,255,0.7); }
.rating-text strong { color: #fff; }

/* trust strip below hero */
.trust-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 36px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.trust-label {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--slate-2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-right: 8px;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.trust-pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 14px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
}
.trust-pill img { max-height: 30px; max-width: 80px; width: auto; }
.trust-pill.cmi img { max-height: 26px; }
.trust-pill.bcs img { max-height: 32px; }
.trust-pill.ncfe img { max-height: 22px; }
.trust-pill.copilot img { max-height: 28px; }
.trust-pill.gemini img { max-height: 22px; }
.trust-pill.ofsted {
  padding: 4px;
  background: transparent;
  border: none;
  height: 56px;
  width: 56px;
  min-width: 56px;
}
.trust-pill.ofsted img { max-height: 56px; max-width: 56px; border-radius: 8px; display: block; }
.trust-text {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-body);
  letter-spacing: 0.02em;
  padding: 8px 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 48px;
  display: inline-flex;
  align-items: center;
}

/* ================== DEFUND SECTION ================== */
.defund-section {
  background: var(--paper);
  padding: 28px 0 12px;
}
.defund-box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 6px solid var(--tess-red);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.defund-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: var(--tess-red);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
}
.defund-eyebrow {
  font-size: 11px;
  font-weight: 800;
  color: var(--tess-red);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.defund-title {
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.2;
}
.defund-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-body);
  margin-bottom: 8px;
}
.defund-body p:last-child { margin-bottom: 0; }
.defund-cta-line strong { color: var(--ink); font-weight: 700; }
.defund-cta-line a { font-weight: 700; }

/* ================== MAPPING ================== */
.mapping-section { padding: 72px 0; }
.mapping-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
@media (max-width: 880px) { .mapping-grid { grid-template-columns: 1fr; } }

.mapping-card {
  border-radius: 18px;
  padding: 28px 30px;
  position: relative;
  border: 1px solid var(--line);
}
.mapping-card.old {
  background: var(--warm-grey);
}
.mapping-card.new {
  background: #fff;
  border: 2px solid var(--tess-pink);
  box-shadow: 0 10px 30px rgba(229,9,127,0.10);
}
.mapping-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 5px 11px;
  border-radius: 6px;
  text-transform: uppercase;
}
.mapping-card.old .mapping-badge { background: var(--ink); color: #fff; }
.mapping-card.new .mapping-badge { background: var(--tess-pink); color: #fff; }

.mapping-card h3 {
  font-size: 22px;
  margin-bottom: 4px;
  color: var(--ink);
}
.mapping-card.old h3 { color: var(--slate); }
.mapping-card h3 small {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0;
}
.mapping-sub {
  font-size: 11px;
  color: var(--slate-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
}
.mapping-list {
  list-style: none;
  counter-reset: mlist;
}
.mapping-list li {
  counter-increment: mlist;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-body);
  padding: 9px 0 9px 36px;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.mapping-list li:last-child { border-bottom: none; }
.mapping-list li::before {
  content: counter(mlist, decimal-leading-zero);
  position: absolute;
  left: 0; top: 9px;
  font-size: 11px;
  font-weight: 800;
  color: var(--slate-2);
  font-feature-settings: "tnum";
}
.mapping-card.new .mapping-list li::before { color: var(--tess-pink); }
.mapping-card.old .mapping-list li {
  color: var(--slate);
  text-decoration: line-through;
  text-decoration-color: rgba(0,0,0,0.15);
}
.plus-tag {
  display: inline-block;
  background: var(--tess-pink);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 5px;
  font-weight: 800;
  vertical-align: middle;
  margin-left: 4px;
  letter-spacing: 0.04em;
}
.cmi-flag {
  display: inline-block;
  background: var(--tess-yellow);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 4px;
  margin-left: 6px;
  letter-spacing: 0.04em;
  vertical-align: 2px;
}
.plus-row {
  margin-top: 18px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #fdf4f9, #fff);
  border: 1px solid rgba(229,9,127,0.18);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-body);
}
.plus-row strong { color: var(--tess-pink); font-weight: 800; }
.plus-label {
  display: inline-block;
  background: var(--tess-pink);
  color: #fff;
  padding: 2px 9px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 6px;
  vertical-align: 1px;
}

.why-better {
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
}
.why-better::before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--tess-pink) 0%, var(--tess-pink) 25%,
    var(--tess-orange) 25%, var(--tess-orange) 50%,
    var(--tess-green) 50%, var(--tess-green) 75%,
    var(--tess-blue) 75%, var(--tess-blue) 100%);
}
.why-better h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 22px;
}
.why-better-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 36px;
}
@media (max-width: 720px) { .why-better-grid { grid-template-columns: 1fr; } }

.why-better-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
}
.why-better-item .nm {
  flex-shrink: 0;
  color: var(--tess-pink);
  font-weight: 600;
  font-size: 22px;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-feature-settings: "tnum";
  width: 28px;
  line-height: 1.05;
}
.why-better-item strong { color: #fff; font-weight: 700; }

/* ================== STACK ================== */
.stack-section { padding: 72px 0; background: var(--bg-soft); }
.qual-stack {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 18px;
}
@media (max-width: 980px) { .qual-stack { grid-template-columns: 1fr; } }

.qual-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  position: relative;
}
.qual-card.flagship {
  border: 2px solid var(--tess-pink);
  background: linear-gradient(180deg, #fff, #fdf4f9);
}
.qual-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  min-height: 50px;
}
.qual-logo {
  height: 38px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}
.qual-flag {
  background: var(--tess-pink);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 5px 9px;
  border-radius: 5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.qual-comp {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.qual-card h3 {
  font-size: 17px;
  line-height: 1.25;
  margin-bottom: 8px;
}
.qual-body {
  font-size: 13px;
  color: var(--ink-body);
  line-height: 1.55;
  margin-bottom: 14px;
}
.qual-body strong { color: var(--ink); font-weight: 700; }
.qual-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.meta-chip {
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  background: var(--warm-grey);
  color: var(--ink);
}
.meta-chip.flag { background: var(--tess-pink); color: #fff; }
.meta-chip.blue { background: var(--tess-blue); color: #fff; }
.meta-chip.green { background: var(--tess-green); color: #fff; }

/* ================== WORKSHOPS ================== */
.workshops-section { padding: 72px 0; }
.day-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
@media (max-width: 880px) { .day-strip { grid-template-columns: 1fr; } }

.day-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
}
.day-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--tess-pink);
}
.day-card.d2 { background: linear-gradient(180deg, #fff, #fffbe6); border-color: var(--tess-yellow); }
.day-card.d2::before { background: var(--tess-yellow); }
.day-card.d3::before { background: var(--tess-blue); }
.day-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.day-num {
  background: var(--tess-pink);
  color: #fff;
  padding: 3px 10px;
  border-radius: 5px;
}
.day-card.d2 .day-num { background: var(--tess-yellow); color: var(--ink); }
.day-card.d3 .day-num { background: var(--tess-blue); }
.cmi-tag {
  background: var(--ink);
  color: var(--tess-yellow);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 9.5px;
  letter-spacing: 0.06em;
}
.day-card h3 { font-size: 18px; margin-bottom: 4px; color: var(--ink); }
.day-theme {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 14px;
}
.day-workshops { list-style: none; }
.day-workshops li {
  font-size: 13.5px;
  color: var(--ink-body);
  line-height: 1.55;
  padding: 4px 0;
}
.day-workshops li strong { color: var(--tess-pink); font-weight: 800; }
.day-card.d2 .day-workshops li strong { color: var(--ink); background: var(--tess-yellow); padding: 1px 6px; border-radius: 4px; }
.day-card.d3 .day-workshops li strong { color: var(--tess-blue); }

.workshop-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 880px) { .workshop-detail { grid-template-columns: 1fr; } }

.ws {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
.ws-num {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  position: relative;
}
.ws-num.gold {
  background: var(--tess-yellow);
  color: var(--ink);
}
.ws-num .cmi-pip {
  position: absolute;
  top: -6px; right: -6px;
  width: 18px; height: 18px;
  background: var(--ink);
  color: var(--tess-yellow);
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ws-body { flex: 1; }
.ws-meta {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--slate-2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ws-cmi { border-color: var(--tess-yellow); background: linear-gradient(180deg, #fff, #fffbe6); }
.ws-cmi-tag {
  display: inline-block;
  background: var(--tess-yellow);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 5px;
  margin-left: 4px;
  vertical-align: 3px;
  letter-spacing: 0.04em;
}
.ws h3 { font-size: 17px; margin-bottom: 8px; }
.ws p { font-size: 13px; line-height: 1.55; color: var(--ink-body); margin-bottom: 10px; }
.ws-bullets { list-style: none; }
.ws-bullets li {
  font-size: 12.5px;
  color: var(--ink-body);
  line-height: 1.5;
  padding: 3px 0 3px 18px;
  position: relative;
}
.ws-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  background: var(--tess-pink);
  border-radius: 50%;
}

/* ================== AI MODULES ================== */
.ai-section { padding: 72px 0; background: var(--bg-soft); }
.ai-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 1000px) { .ai-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .ai-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .ai-grid { grid-template-columns: 1fr; } }

.ai-mod {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.ai-mod.accent { background: linear-gradient(180deg, #fff, #fffbe6); border-color: var(--tess-yellow); }
.ai-num {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  color: var(--tess-pink);
  font-feature-settings: "tnum";
  width: 22px;
  letter-spacing: 0.02em;
  padding-top: 2px;
}
.ai-mod.accent .ai-num { color: var(--tess-orange); }
.ai-mod h4 { font-size: 13px; margin-bottom: 4px; line-height: 1.3; }
.ai-mod p { font-size: 11.5px; color: var(--ink-body); line-height: 1.45; }

/* ================== AI TOOLS GRID ================== */
.tools-section { padding: 72px 0; background: var(--bg-soft); }
.tools-section .section-intro em {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  color: var(--tess-blue);
  font-weight: 500;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 1000px) { .tools-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .tools-grid { grid-template-columns: 1fr; } }

.tool-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 14px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -10px rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.18);
}
.tool-mark {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
}
.tool-mark svg { display: block; }

/* tool brand colours */
.tool-mark.copilot       { background: linear-gradient(135deg, #34D5FB 0%, #6F6FF5 50%, #FF6B9D 100%); }
.tool-mark.chatgpt       { background: #10A37F; }
.tool-mark.claude        { background: #D97757; }
.tool-mark.gemini        { background: linear-gradient(135deg, #4285F4 0%, #9168F5 50%, #D96570 100%); }
.tool-mark.perplexity    { background: #20808D; }
.tool-mark.notebooklm    { background: linear-gradient(135deg, #4285F4, #34A853); }
.tool-mark.powerautomate { background: #0066FF; }
.tool-mark.zapier        { background: #FF4A00; }
.tool-mark.make          { background: #6D00CC; }
.tool-mark.n8n           { background: #EA4B71; }
.tool-mark.uipath        { background: #FA4616; }
.tool-mark.copilotstudio { background: linear-gradient(135deg, #5B5FC7, #C239B3); }
.tool-mark.appsheet      { background: #34A853; }
.tool-mark.powerbi       { background: #F2C811; color: #14161b; }
.tool-mark.canva         { background: linear-gradient(135deg, #00C4CC 0%, #7D2AE7 100%); }
.tool-mark.notion        { background: #000; }

.tool-body { flex: 1; min-width: 0; }
.tool-body h4 {
  font-size: 13.5px;
  margin-bottom: 2px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.tool-body p {
  font-size: 11.5px;
  color: var(--ink-body);
  line-height: 1.4;
}

.tools-foot {
  text-align: center;
  font-size: 13px;
  color: var(--slate);
  padding-top: 8px;
  line-height: 1.6;
}
.tools-foot strong { color: var(--ink); font-weight: 800; margin-right: 4px; }
.coachy-section { padding: 72px 0; }
.coachy-block {
  background: linear-gradient(135deg, var(--ink) 0%, #1f232c 100%);
  color: #fff;
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.coachy-block::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(229,9,127,0.22), transparent 65%);
  pointer-events: none;
}
@media (max-width: 880px) {
  .coachy-block { grid-template-columns: 1fr; padding: 32px; gap: 28px; }
}
.coachy-left { position: relative; z-index: 1; }
.coachy-left .eyebrow { color: var(--tess-pink); }
.coachy-left .eyebrow::before { background: var(--tess-pink); }
.coachy-left h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.1;
}
.coachy-left p {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  margin-bottom: 20px;
}
.coachy-left p strong { color: #fff; font-weight: 700; }
.coachy-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.cf {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.86);
}
.cf-mark {
  width: 18px; height: 18px;
  background: var(--tess-green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.coachy-right { position: relative; z-index: 1; }
.coachy-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
}
.coachy-lockup {
  height: 30px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}
.coachy-chat { display: flex; flex-direction: column; gap: 8px; }
.chat-msg {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
  max-width: 92%;
}
.chat-msg.user {
  background: var(--cream);
  color: var(--ink);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-msg.ai {
  background: var(--tess-pink-light);
  color: var(--ink);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(229,9,127,0.15);
}
.chat-msg.ai .ai-sparkle {
  display: inline-flex;
  align-items: center;
  vertical-align: -3px;
  margin-right: 2px;
}
.chat-msg.ai .ai-sparkle img {
  width: 18px;
  height: 18px;
  display: block;
}

/* Reusable TESS AI sparkle */
.eyebrow-sparkle {
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-left: 4px;
  vertical-align: -3px;
}
.chat-msg.typing { padding: 14px 16px; }
.dots { display: inline-flex; gap: 4px; }
.dots span {
  width: 6px; height: 6px;
  background: var(--tess-pink);
  border-radius: 50%;
  animation: typing 1.2s infinite;
}
.dots span:nth-child(2) { animation-delay: 0.15s; }
.dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50%      { opacity: 1; transform: translateY(-3px); }
}

/* ================== AUDIENCE / SECTOR SECTION ================== */
.audience-section { padding: 72px 0; background: var(--bg-soft); }

.sector-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.sector-pills-label {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--slate);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-right: 4px;
}
.sector-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  letter-spacing: -0.005em;
}
.sector-pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 720px) { .sector-grid { grid-template-columns: 1fr; } }

.sector-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.sector-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}
.sector-accent {
  height: 5px;
  width: 100%;
}
.sector-top {
  padding: 22px 22px 18px;
  flex: 1;
}
.sector-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.sector-badge {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}
.sector-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 3px;
  letter-spacing: -0.018em;
}
.sector-tagline {
  font-size: 12.5px;
  color: var(--slate);
  line-height: 1.45;
}
.sector-body {
  font-size: 13.5px;
  color: var(--ink-body);
  line-height: 1.65;
}
.sector-chips {
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid var(--line);
}
.company-chip {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 6px;
  line-height: 1.55;
  background: #fff;
  border: 1px solid transparent;
  letter-spacing: -0.005em;
}

/* Per-sector colour mappings */
.sector-card.s-blue    .sector-accent { background: var(--sec-blue); }
.sector-card.s-blue    .sector-badge  { background: var(--sec-blue-bg); }
.sector-card.s-blue    .sector-chips  { background: var(--sec-blue-bg); }
.sector-card.s-blue    .company-chip  { color: var(--sec-blue-dark); border-color: rgba(27,117,188,0.22); }

.sector-card.s-coral   .sector-accent { background: var(--sec-coral); }
.sector-card.s-coral   .sector-badge  { background: var(--sec-coral-bg); }
.sector-card.s-coral   .sector-chips  { background: var(--sec-coral-bg); }
.sector-card.s-coral   .company-chip  { color: var(--sec-coral-dark); border-color: rgba(224,123,79,0.22); }

.sector-card.s-amber   .sector-accent { background: var(--sec-amber); }
.sector-card.s-amber   .sector-badge  { background: var(--sec-amber-bg); }
.sector-card.s-amber   .sector-chips  { background: var(--sec-amber-bg); }
.sector-card.s-amber   .company-chip  { color: var(--sec-amber-dark); border-color: rgba(212,146,10,0.22); }

.sector-card.s-pink    .sector-accent { background: var(--sec-pink); }
.sector-card.s-pink    .sector-badge  { background: var(--sec-pink-bg); }
.sector-card.s-pink    .sector-chips  { background: var(--sec-pink-bg); }
.sector-card.s-pink    .company-chip  { color: var(--sec-pink-dark); border-color: rgba(229,9,127,0.22); }

.sector-card.s-purple  .sector-accent { background: var(--sec-purple); }
.sector-card.s-purple  .sector-badge  { background: var(--sec-purple-bg); }
.sector-card.s-purple  .sector-chips  { background: var(--sec-purple-bg); }
.sector-card.s-purple  .company-chip  { color: var(--sec-purple-dark); border-color: rgba(123,111,212,0.22); }

.sector-card.s-green   .sector-accent { background: var(--sec-green); }
.sector-card.s-green   .sector-badge  { background: var(--sec-green-bg); }
.sector-card.s-green   .sector-chips  { background: var(--sec-green-bg); }
.sector-card.s-green   .company-chip  { color: var(--sec-green-dark); border-color: rgba(91,166,49,0.22); }

.sector-card.s-magenta .sector-accent { background: var(--sec-magenta); }
.sector-card.s-magenta .sector-badge  { background: var(--sec-magenta-bg); }
.sector-card.s-magenta .sector-chips  { background: var(--sec-magenta-bg); }
.sector-card.s-magenta .company-chip  { color: var(--sec-magenta-dark); border-color: rgba(184,18,114,0.22); }

.sector-card.s-slate   .sector-accent { background: var(--sec-slate); }
.sector-card.s-slate   .sector-badge  { background: var(--sec-slate-bg); }
.sector-card.s-slate   .sector-chips  { background: var(--sec-slate-bg); }
.sector-card.s-slate   .company-chip  { color: var(--sec-slate-dark); border-color: rgba(90,110,132,0.22); }

.trusted-by-strip {
  margin-top: 4px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--slate);
  line-height: 1.75;
  letter-spacing: -0.005em;
}
.trusted-by-strip strong {
  color: var(--ink);
  font-weight: 800;
  margin-right: 6px;
  letter-spacing: 0.02em;
}

/* ================== COMPARE ================== */
.compare-section { padding: 72px 0; }
.compare-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  min-width: 700px;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  font-size: 13.5px;
  background: #fff;
}
.compare-table th, .compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table thead th {
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.compare-table thead th.tess-col {
  background: var(--tess-pink);
  text-align: center;
}
.compare-table thead th:not(.tess-col):not(.label) { text-align: center; }
.compare-table thead th .th-sub { font-weight: 500; opacity: 0.7; display: block; font-size: 11px; margin-top: 2px; }
.compare-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.compare-table td.label { font-weight: 700; color: var(--ink); }
.compare-table td.tess { background: rgba(229,9,127,0.06); text-align: center; }
.compare-table td:not(.label):not(.tess) { text-align: center; color: var(--slate); }
.tick {
  display: inline-block;
  width: 22px; height: 22px;
  background: var(--tess-green);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 22px;
  font-size: 13px;
  font-weight: 900;
}
.cross {
  display: inline-block;
  width: 22px; height: 22px;
  background: var(--warm-grey);
  color: var(--slate);
  border-radius: 50%;
  text-align: center;
  line-height: 22px;
  font-size: 13px;
  font-weight: 900;
}
.partial {
  display: inline-block;
  background: var(--tess-yellow);
  color: var(--ink);
  padding: 3px 11px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.defunded {
  display: inline-block;
  background: rgba(237,28,36,0.10);
  color: var(--tess-red);
  padding: 3px 11px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* ================== ROI ================== */
.roi-section {
  padding: 72px 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.roi-section::before {
  content: '';
  position: absolute;
  left: -100px; top: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(229,9,127,0.10), transparent 65%);
  pointer-events: none;
}
.roi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
@media (max-width: 880px) { .roi-grid { grid-template-columns: repeat(2, 1fr); } }
.roi-stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 26px 24px;
}
.roi-num {
  font-size: 56px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.roi-num .unit { font-size: 24px; color: var(--tess-pink); margin-left: 2px; }
.roi-stat:nth-child(1) .roi-num { color: var(--tess-pink); }
.roi-stat:nth-child(2) .roi-num { color: var(--tess-green); }
.roi-stat:nth-child(3) .roi-num { color: var(--tess-yellow); }
.roi-stat:nth-child(4) .roi-num { color: #5dade2; }
.roi-stat:nth-child(1) .roi-num .unit,
.roi-stat:nth-child(2) .roi-num .unit,
.roi-stat:nth-child(3) .roi-num .unit,
.roi-stat:nth-child(4) .roi-num .unit { color: rgba(255,255,255,0.5); }
.roi-lbl {
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  font-weight: 500;
}

/* ================== JOURNEY ================== */
.journey-section { padding: 72px 0; }
.journey-timeline {
  list-style: none;
  position: relative;
  padding-left: 0;
  margin-top: 20px;
}
.journey-timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: var(--line);
}
.journey-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 16px;
  position: relative;
}
.step-marker {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
.step-marker > span:first-child {
  width: 64px; height: 64px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
}
.step-marker.gateway > span:first-child {
  background: var(--tess-yellow);
  border-color: var(--tess-yellow);
  color: var(--ink);
}
.step-when {
  font-size: 10px;
  font-weight: 800;
  color: var(--slate-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
  text-align: center;
  white-space: nowrap;
}
.step-body {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  margin-top: 4px;
}
.step-body h3 { font-size: 17px; margin-bottom: 4px; }
.step-body p { font-size: 13.5px; color: var(--ink-body); line-height: 1.55; }
.step-body p strong { color: var(--tess-pink); }
.journey-step.gateway .step-body {
  background: linear-gradient(180deg, #fff, #fffbe6);
  border-color: var(--tess-yellow);
}

/* ================== TESTIMONIALS ================== */
.testimonials-section { padding: 72px 0; background: var(--bg-soft); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .testimonial-grid { grid-template-columns: 1fr; } }

.t-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.t-quote {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 56px;
  line-height: 0.6;
  color: var(--tess-pink);
  margin-bottom: 8px;
}
.t-stars { color: var(--tess-yellow); letter-spacing: 1px; font-size: 13px; margin-bottom: 12px; }
.t-card blockquote {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  flex: 1;
  margin-bottom: 16px;
}
.t-author {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
}
.t-author strong { font-size: 12.5px; color: var(--ink); font-weight: 700; }
.t-author span { font-size: 11.5px; color: var(--slate); margin-top: 2px; }

/* ================== WHY TESS ================== */
.why-tess-section { padding: 72px 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
.why-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}
.why-icon.star    { background: var(--tess-yellow); color: var(--ink); }
.why-icon.ofsted  { background: var(--tess-green); }
.why-icon.ws      { background: var(--tess-pink); }
.why-icon.stack   { background: var(--tess-blue); }
.why-icon.future  { background: var(--tess-orange); }
.why-icon.non-tech{ background: var(--ink); }
.why-card h3 { font-size: 15.5px; margin-bottom: 6px; line-height: 1.3; }
.why-card p { font-size: 13px; color: var(--ink-body); line-height: 1.55; }

.accreditation-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 28px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  flex-wrap: wrap;
}
.accred-label {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--slate);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-right: 8px;
}
.accred-pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.accred-pill img { max-height: 30px; max-width: 80px; width: auto; }
.accred-pill.ofsted-pill {
  padding: 0;
  border: none;
  background: transparent;
  width: 50px;
  height: 50px;
}
.accred-pill.ofsted-pill img { max-height: 50px; max-width: 50px; border-radius: 6px; display: block; }
.accred-text {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 14px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-body);
  letter-spacing: 0.04em;
}

/* ================== BROCHURE TEASE ================== */
.brochure-tease { padding: 0 0 72px; }
.brochure-card {
  background: linear-gradient(135deg, var(--bg-soft) 0%, #fff 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  gap: 24px;
  align-items: center;
}
@media (max-width: 760px) { .brochure-card { flex-direction: column; align-items: flex-start; gap: 16px; } }
.brochure-icon {
  flex-shrink: 0;
  width: 64px; height: 64px;
  background: var(--tess-blue);
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brochure-body { flex: 1; }
.brochure-body h2 { font-size: 22px; margin-bottom: 6px; }
.brochure-body p { font-size: 13.5px; color: var(--ink-body); line-height: 1.55; }
.brochure-cta { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }

/* ================== FAQ ================== */
.faq-section { padding: 72px 0; background: var(--bg-soft); }
.faq-list { max-width: 920px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 24px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--slate);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--tess-blue); }
.faq-body { padding: 0 24px 22px; }
.faq-body p { font-size: 14px; line-height: 1.6; color: var(--ink-body); }
.faq-body strong { color: var(--ink); font-weight: 700; }

/* ================== CTA + FORM ================== */
.cta-section {
  padding: 72px 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  right: -120px; bottom: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(229,9,127,0.15), transparent 65%);
  pointer-events: none;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: flex-start;
  position: relative;
}
@media (max-width: 880px) { .cta-grid { grid-template-columns: 1fr; gap: 32px; } }

.cta-text .eyebrow.yellow { color: var(--tess-yellow); }
.cta-text .eyebrow.yellow::before { background: var(--tess-yellow); }
.cta-title {
  font-size: clamp(32px, 5vw, 50px);
  color: #fff;
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}
.cta-title .serif-em.yellow { color: var(--tess-yellow); }
.cta-text > p {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 56ch;
}

.cta-bullets {
  list-style: none;
  margin-bottom: 28px;
}
.cta-bullets li {
  font-size: 14px;
  color: rgba(255,255,255,0.86);
  line-height: 1.55;
  padding: 6px 0 6px 28px;
  position: relative;
}
.cta-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 18px; height: 18px;
  background: var(--tess-pink);
  border-radius: 5px;
}
.cta-bullets li::after {
  content: '✓';
  position: absolute;
  left: 4px; top: 7px;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
}
.cta-bullets li strong { color: #fff; font-weight: 700; }

.cta-contact-line {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.cta-contact-line a {
  color: rgba(255,255,255,0.78);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cta-contact-line a strong { color: #fff; }
.cta-contact-line a:hover { color: var(--tess-blue); }

/* form */
.form-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
}
.form-fields h3 { font-size: 22px; margin-bottom: 4px; }
.form-sub { font-size: 13px; color: var(--ink-body); margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.field { margin-bottom: 12px; }
.field label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--tess-blue);
  box-shadow: 0 0 0 3px rgba(27,117,188,0.12);
}
.field textarea { resize: vertical; font-family: inherit; }
.form-fine {
  font-size: 11.5px;
  color: var(--slate);
  text-align: center;
  margin-top: 12px;
}

.form-success { text-align: center; padding: 16px 12px 8px; }
.success-mark {
  width: 56px; height: 56px;
  background: var(--tess-green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 28px;
  font-weight: 800;
}
.form-success h3 { font-size: 22px; margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--ink-body); margin-bottom: 6px; line-height: 1.5; }
.success-meta { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); }

/* legacy sector-bar (kept for backward compat, unused) */
.sector-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.sector-bar-label {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--slate);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-right: 4px;
}
.sector-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  letter-spacing: -0.005em;
}
.sector-chip::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--tess-blue);
  flex-shrink: 0;
}
.sector-chip:nth-child(3n)::before { background: var(--tess-pink); }
.sector-chip:nth-child(3n+1)::before { background: var(--tess-green); }
.sector-chip:nth-child(4n)::before { background: var(--tess-orange); }

/* ================== BOOKING CARD (CALENDLY-STYLE) ================== */
.booking-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
  overflow: hidden;
}

.booking-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.booking-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: transparent;
  border: none;
  font-family: inherit;
  cursor: pointer;
  color: var(--ink-body);
  text-align: left;
  position: relative;
  transition: background 0.15s;
}
.booking-tab:not(.active):hover { background: rgba(0,0,0,0.02); }
.booking-tab.active {
  background: #fff;
  color: var(--ink);
}
.booking-tab.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: var(--tess-blue);
}
.tab-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--tess-blue);
  color: #fff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.booking-tab.active .tab-icon {
  background: var(--tess-blue);
  box-shadow: 0 4px 12px rgba(27,117,188,0.30);
}
.booking-tab:not(.active) .tab-icon {
  background: rgba(0,0,0,0.06);
  color: var(--slate);
}
.tab-label { display: flex; flex-direction: column; line-height: 1.25; }
.tab-label strong { font-size: 14px; font-weight: 800; color: inherit; }
.tab-sub { font-size: 11.5px; color: var(--slate); }

.booking-panel { display: none; padding: 22px 26px 26px; }
.booking-panel.active { display: block; }

/* === Calendly-style booker === */
.booker-header { padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); margin-bottom: 18px; }
.booker-meet { display: flex; gap: 14px; align-items: flex-start; }
.booker-logo {
  width: 44px; height: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 5px 7px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.booker-org {
  font-size: 11px;
  font-weight: 800;
  color: var(--slate-2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 2px;
}
.booker-header h3 { font-size: 19px; margin-bottom: 6px; }
.booker-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--slate);
}
.booker-meta span { display: inline-flex; align-items: center; gap: 5px; }
.booker-meta svg { color: var(--tess-blue); flex-shrink: 0; }

.booker-day-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 18px;
}
.day-tab {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 6px;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.15s;
}
.day-tab:hover { border-color: var(--tess-blue); }
.day-tab.active {
  background: var(--tess-blue);
  border-color: var(--tess-blue);
  color: #fff;
}
.day-name { font-size: 10.5px; font-weight: 700; color: var(--slate); letter-spacing: 0.06em; text-transform: uppercase; }
.day-num { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.day-tab.active .day-name { color: rgba(255,255,255,0.85); }
.day-tab.active .day-num { color: #fff; }

.booker-slots-label {
  font-size: 12px;
  color: var(--slate);
  margin-bottom: 10px;
}
.booker-slots-label strong { color: var(--ink); font-weight: 700; }

.booker-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
@media (max-width: 540px) {
  .booker-slots { grid-template-columns: repeat(3, 1fr); }
}
.slot-btn {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 10px 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  font-feature-settings: "tnum";
  transition: all 0.15s;
}
.slot-btn:hover {
  border-color: var(--tess-blue);
  color: var(--tess-blue);
  background: rgba(27,117,188,0.04);
}
.slot-btn.selected {
  background: var(--tess-blue);
  border-color: var(--tess-blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(27,117,188,0.30);
}

.booker-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  gap: 12px;
  flex-wrap: wrap;
}
.booker-secure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--slate);
  font-weight: 600;
}
.booker-secure svg { color: var(--tess-green); }

/* === enquire form panel === */
.booking-panel .form-fields .form-header { margin-bottom: 18px; }
.booking-panel .form-fields h3 { font-size: 19px; margin-bottom: 4px; }
.booking-panel .form-sub { font-size: 13px; color: var(--ink-body); margin-bottom: 16px; }
.booking-panel .form-success { padding: 24px 12px 12px; text-align: center; }
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 56px 28px 36px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; padding: 40px 28px 24px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  margin: 14px 0 18px;
  max-width: 32ch;
}
.footer-logo {
  height: 38px;
  width: auto;
  background: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-block;
}
.footer-contact { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.footer-contact a { color: rgba(255,255,255,0.86); }
.footer-contact a:hover { color: var(--tess-blue); }
.footer-contact a strong { color: #fff; font-weight: 700; }

.footer-col h4 {
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.78);
  font-size: 13.5px;
  padding: 4px 0;
}
.footer-col a:hover { color: #fff; }
.footer-col a.current { color: var(--tess-blue); font-weight: 700; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.footer-meta { color: rgba(255,255,255,0.6); }

/* ================== STICKY MOBILE CTA ================== */
.sticky-cta-mobile {
  display: none;
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  background: var(--tess-blue);
  color: #fff;
  text-align: center;
  padding: 16px 20px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 12px 36px rgba(27,117,188,0.4);
  z-index: 50;
}
@media (max-width: 900px) {
  .sticky-cta-mobile { display: block; }
  .cta-section { padding-bottom: 100px; }
}


/* =====================================================================
   v2 — HUB-STYLE HEADER (mega menu) + PROGRESS NAV + PREMIUM POLISH
   ===================================================================== */

/* Site header — hub-style */
.site-header {
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.header-inner {
  width: 100%; max-width: 1280px;
  margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 36px; width: auto; display: block; }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.primary-nav .nav-link {
  position: relative;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--ink-body, #3a3f48);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  transition: color .15s, background .15s;
  display: inline-flex; align-items: center; gap: 6px;
}
.primary-nav .nav-link:hover { background: var(--cream); color: var(--ink); }
.primary-nav .nav-link .caret { width: 10px; height: 10px; transition: transform .2s; color: var(--slate-2); }
.nav-item:hover .nav-link .caret { transform: rotate(180deg); }

.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-phone {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--ink-body); font-size: 13.5px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
}
.header-phone:hover { color: var(--ink); }
.header-phone svg { color: var(--tess-blue); }

@media (max-width: 1080px) {
  .primary-nav { display: none; }
  .header-phone { display: none; }
}

/* Mega menu */
.mega-menu {
  position: absolute; top: calc(100% + 8px); left: -20px;
  min-width: 720px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 18px;
  box-shadow: 0 30px 60px -20px rgba(20,22,27,.2);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 110;
}
.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.mega-wide {
  /* FIXED — viewport-centered, never overflows */
  position: fixed;
  top: 70px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  min-width: 880px;
  max-width: min(1100px, calc(100vw - 32px));
  padding: 22px;
}
/* Invisible bridge so hover doesn't break when mouse moves down to dropdown */
.nav-item:has(.mega-wide)::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  height: 24px;
  pointer-events: none;
}
.nav-item:hover:has(.mega-wide)::after { pointer-events: auto; }
@media (max-width: 920px) {
  .mega-wide {
    min-width: 0;
    width: calc(100vw - 16px);
    max-width: none;
    top: 60px;
  }
}

.mega-grid-3 { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 22px; }
.mega-col {
  display: flex; flex-direction: column;
  border-right: 1px solid var(--line-soft);
  padding-right: 18px;
}
.mega-col:last-child { border-right: 0; padding-right: 0; }

.mega-section-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--slate-2);
  padding: 4px 4px 10px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 10px;
}
.mega-section-pill {
  font-size: 9.5px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(229,9,127,.1); color: var(--tess-pink);
}
.mega-section-pill.alt { background: rgba(27,117,188,.1); color: var(--tess-blue); }
.mega-sub {
  font-size: 10px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--slate);
  padding: 10px 4px 4px;
}
.mega-blurb { font-size: 12px; color: var(--slate); padding: 0 4px 8px; line-height: 1.45; }

.mega-link {
  display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start;
  padding: 8px 10px; border-radius: 10px;
  color: var(--ink); cursor: pointer; text-decoration: none;
  transition: background .12s;
}
.mega-link:hover { background: var(--cream); color: var(--ink); }
.mega-link.current { background: rgba(229,9,127,.08); }

.mega-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 11px;
  letter-spacing: -.005em;
}
.mega-icon.l3 { background: var(--slate); }
.mega-icon.l4 { background: var(--tess-blue); }
.mega-icon.l4-base { background: var(--tess-navy, #0a1a3a); }
.mega-icon.l4-ops { background: var(--tess-orange); }
.mega-icon.l4-coach { background: var(--tess-pink); }
.mega-icon.l6 { background: #D4920A; }
.mega-icon.short {
  background: linear-gradient(135deg, var(--tess-pink), var(--tess-orange));
  flex-direction: column;
  font-size: 10px;
  padding-top: 4px;
}
.mega-icon.short small { font-size: 11px; font-weight: 800; }

.mega-title {
  font-weight: 700; font-size: 12.5px; line-height: 1.2;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  color: var(--ink);
}
.mega-title .pill {
  font-size: 9.5px; font-weight: 800; letter-spacing: .06em;
  padding: 2px 7px; border-radius: 999px;
  text-transform: uppercase;
}
.pill.new { background: rgba(139,197,63,.15); color: #5BA631; }
.pill.hot { background: var(--tess-pink); color: #fff; }
.mega-desc { font-size: 11px; color: var(--slate); margin-top: 2px; }

.mod-link {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  align-items: center;
  padding: 7px 8px;
  border-radius: 7px;
  color: var(--ink-body);
  text-decoration: none;
  transition: background .12s, color .12s;
  margin-bottom: 2px;
}
.mod-link:hover { background: var(--cream); color: var(--ink); }
.mod-link .mn {
  font-weight: 800; font-size: 11px;
  background: var(--ink); color: #fff;
  width: 26px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 5px;
}
.mod-link .mt { font-size: 11.5px; font-weight: 700; line-height: 1.2; }

.mega-foot {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 13px;
}
.mega-foot strong { color: var(--ink); }
.mega-foot .btn { padding: 10px 16px; }

/* Progress nav */
.progress-nav {
  position: sticky;
  top: 67px;
  z-index: 95;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.progress-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.progress-inner::-webkit-scrollbar { display: none; }
.progress-inner a {
  position: relative;
  padding: 14px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
}
.progress-inner a:hover { color: var(--ink); }
.progress-inner a.active { color: var(--tess-pink); }
.progress-inner a.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px;
  bottom: -1px;
  height: 2px;
  background: var(--tess-pink);
}
.progress-bar { height: 2px; background: var(--line-soft); }
.progress-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--tess-pink), var(--tess-orange), var(--tess-yellow), var(--tess-green), var(--tess-blue));
  width: 0;
  transition: width .15s linear;
}

@media (max-width: 1080px) { .progress-nav { top: 60px; } }

/* Bold pink CTA */
.btn-pink {
  background: var(--tess-pink);
  color: #fff;
  border: 1.5px solid var(--tess-pink);
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .18s;
  box-shadow: 0 8px 24px -8px rgba(229,9,127,.35);
}
.btn-pink:hover {
  background: var(--tess-magenta);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px rgba(229,9,127,.5);
}

/* =====================================================================
   PREMIUM POLISH — refined elevation, scroll-reveal, bolder colour
   ===================================================================== */

/* Cohesive shadow rhythm */
.qual-card, .day-card, .ws, .mapping-card, .why-card, .ai-mod,
.review-card, .audience-card, .stat-card,
.workshop-detail .ws {
  box-shadow:
    0 1px 2px rgba(20,22,27,.04),
    0 8px 18px -10px rgba(20,22,27,.06);
  transition: transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s, border-color .2s;
}
.qual-card:hover, .day-card:hover, .ws:hover, .mapping-card:hover,
.why-card:hover, .audience-card:hover, .ai-mod:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 2px rgba(20,22,27,.04),
    0 24px 48px -12px rgba(20,22,27,.12);
}

/* Bigger, premium section titles */
.section-title {
  font-size: clamp(32px, 4vw, 50px) !important;
  line-height: 1.04 !important;
  letter-spacing: -.03em !important;
  font-weight: 800 !important;
  text-wrap: balance;
}
.section-intro {
  font-size: 17px !important;
  line-height: 1.65 !important;
  color: var(--slate) !important;
  max-width: 64ch;
}
.eyebrow {
  font-size: 11px !important;
  letter-spacing: .22em !important;
  margin-bottom: 18px !important;
}
.section-head { margin-bottom: 56px !important; }

section[id]:not([id="programme"]) { padding: 96px 0 !important; }
@media (max-width: 768px) { section[id]:not([id="programme"]) { padding: 64px 0 !important; } }

/* Day cards — bold coloured top stripes */
.day-card { border-radius: 18px; padding: 28px 26px !important; }
.day-card.d1 { border-top: 4px solid var(--tess-blue); }
.day-card.d2 { border-top: 4px solid var(--tess-pink); }
.day-card.d3 { border-top: 4px solid var(--tess-orange); }

/* Mapping cards */
.mapping-card { border-radius: 20px !important; padding: 30px 28px !important; }
.mapping-card.new {
  box-shadow:
    0 1px 2px rgba(20,22,27,.04),
    0 30px 60px -20px rgba(229,9,127,.2) !important;
}

/* Qualification flagship glow */
.qual-card.flagship {
  box-shadow:
    0 1px 2px rgba(20,22,27,.04),
    0 30px 60px -20px rgba(229,9,127,.25) !important;
}

/* Hero — softer radial accents */
.hero {
  position: relative;
  isolation: isolate;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(229,9,127,.06) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(255,194,14,.06) 0%, transparent 55%);
  pointer-events: none;
  z-index: -1;
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Bigger body type for premium */
@media (min-width: 1024px) {
  .hero-sub { font-size: 19px !important; line-height: 1.55 !important; }
}

/* ============================================================
   MOBILE / A11Y PATCH — safe area, form inputs, skip-link
   Appended by deploy script — keep at end of file
   ============================================================ */
body { padding-bottom: env(safe-area-inset-bottom); }
.sticky-cta-mobile { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
@media (max-width: 720px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  input, select, textarea { font-size: 16px !important; }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
.skip-link:focus { left: 0 !important; top: 0 !important; width: auto !important; height: auto !important; }


/* ============================================================
   MID-PAGE CTA BANDS — added by deploy script
   ============================================================ */
.mid-cta-band {
  background: linear-gradient(135deg, #0E1B2C 0%, #1B75BC 100%);
  color: #fff;
  padding: 28px 0;
  border-top: 4px solid #FFC20E;
  border-bottom: 4px solid #E5097F;
}
.mid-cta-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.mid-cta-text strong {
  display: block;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  color: #fff;
}
.mid-cta-text span {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.mid-cta-btn {
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .mid-cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .mid-cta-btn { width: 100%; }
}
