/* ==========================================================================
   Impact Training Center — staging stylesheet
   Palette per T034: Navy Blue, White, Gold, Light Beige
   ========================================================================== */

:root {
  --navy:        #10294A;
  --navy-deep:   #0A1C33;
  --navy-soft:   #1B3B63;
  --gold:        #BF9231;
  --gold-light:  #E3B94A;
  --gold-wash:   #F5EAD3;
  --beige:       #F6F1E8;
  --beige-deep:  #EDE5D6;
  --white:       #FFFFFF;
  --ink:         #24303F;
  --muted:       #66717F;
  --line:        #E2DDD3;

  --shell: 1180px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(16, 41, 74, .06), 0 4px 12px rgba(16, 41, 74, .05);
  --shadow-md: 0 2px 4px rgba(16, 41, 74, .07), 0 12px 28px rgba(16, 41, 74, .09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -.015em;
  font-weight: 800;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { margin: 0 0 1.1em; max-width: 68ch; }

a { color: var(--navy); text-decoration-color: rgba(191, 146, 49, .5); text-underline-offset: 3px; }
a:hover { color: var(--gold); }

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 22px;
}

/* --------------------------------------------------------------- staging bar */

.staging-bar {
  background: var(--navy-deep);
  color: #C7D4E4;
  font-size: .8rem;
  letter-spacing: .01em;
  padding: 8px 22px;
  text-align: center;
}
.staging-bar strong { color: var(--gold-light); font-weight: 700; }

/* ------------------------------------------------------------------- header */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 82px;
}

.brand img { height: 46px; width: auto; }

.nav { margin-left: auto; }

.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  font-size: .87rem;
  font-weight: 600;
  color: var(--navy);
  padding: 6px 0;
  display: inline-block;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.nav a.current { border-bottom-color: var(--gold); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white) !important;
  padding: 11px 18px !important;
  border-radius: var(--radius);
  border-bottom: 0 !important;
  font-size: .9rem;
}
.nav-cta:hover { background: var(--gold); color: var(--navy) !important; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--navy);
  color: var(--white);
  border: 0;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: .9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

/* -------------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn-gold      { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.btn-gold:hover{ background: var(--gold-light); color: var(--navy-deep); border-color: var(--gold-light); }

.btn-navy      { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover{ background: var(--navy-soft); color: var(--white); border-color: var(--navy-soft); }

.btn-ghost      { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover{ background: rgba(255,255,255,.12); color: var(--white); border-color: var(--white); }

.btn-outline      { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover{ background: var(--navy); color: var(--white); }

.btn-sm { padding: 10px 18px; font-size: .88rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ------------------------------------------------------------------ sections */

.band { padding: 84px 0; }
.band-beige { background: var(--beige); }
.band-navy  { background: var(--navy); color: #D9E2EE; }
.band-navy h2, .band-navy h3 { color: var(--white); }
.band-tight { padding: 60px 0; }

.band-head { max-width: 640px; margin-bottom: 46px; }
.band-head.center { margin-inline: auto; text-align: center; }
.band-head p { color: var(--muted); margin-bottom: 0; }
.band-navy .band-head p { color: #A9BDD4; }

.eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}

/* ---------------------------------------------------------------------- hero */

.hero {
  background:
    linear-gradient(180deg, rgba(10,28,51,.94), rgba(16,41,74,.9)),
    radial-gradient(1100px 460px at 78% 8%, rgba(191,146,49,.42), transparent 62%),
    var(--navy);
  color: #D9E2EE;
  padding: 96px 0 88px;
}

.hero h1 { color: var(--white); max-width: 15ch; }

.hero-sub {
  font-size: 1.12rem;
  color: #B8C9DD;
  max-width: 56ch;
  margin-bottom: 34px;
}

.hero-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .9rem;
  color: #A9BDD4;
}
.hero-marks span { display: inline-flex; align-items: center; gap: 8px; }
.hero-marks svg { flex: none; }

/* --------------------------------------------------------- audience cards */

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.aud-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.aud-card .ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--gold-wash);
  border-radius: 12px;
  margin-bottom: 18px;
}
.aud-card h3 { margin-bottom: 8px; }
.aud-card p { font-size: .95rem; color: var(--muted); flex: 1; margin-bottom: 20px; }

/* --------------------------------------------------------- LSA flagship */

.flagship {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.flagship-copy { background: var(--navy); color: #D3DEEC; padding: 54px 48px; }
.flagship-copy h2 { color: var(--white); }
.flagship-copy .eyebrow { color: var(--gold-light); }
.flagship-list { list-style: none; margin: 0 0 30px; padding: 0; }
.flagship-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 11px;
  font-size: .97rem;
}
.flagship-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 9px; height: 9px;
  background: var(--gold);
  border-radius: 2px;
}
.flagship-visual {
  background: var(--beige-deep);
  display: grid;
  place-items: center;
  padding: 40px;
  min-height: 340px;
}

/* -------------------------------------------------------------- course cards */

.course-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.course-thumb {
  aspect-ratio: 16 / 9;
  background: var(--beige-deep);
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
}
.course-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.course-tag {
  align-self: flex-start;
  font-size: .74rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold-wash);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 13px;
}
.course-body h3 { font-size: 1.12rem; margin-bottom: 10px; }
.course-body h3 a { text-decoration: none; }
.course-meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: .85rem;
  color: var(--muted);
}
.course-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ------------------------------------------------------------------ approach */

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--navy);
  color: var(--gold-light);
  font-weight: 800;
  font-size: .95rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 7px; }
.step p { font-size: .93rem; color: var(--muted); margin-bottom: 0; }

/* ------------------------------------------------------------------- metrics */

.metric { text-align: center; padding: 10px; }
.metric-num {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.metric-label { font-size: .92rem; color: #A9BDD4; margin-top: 6px; }

/* ---------------------------------------------------------------- trust strip */

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 22px;
  min-width: 210px;
  box-shadow: var(--shadow-sm);
}
.trust-badge img { height: 42px; width: auto; }
.trust-badge .tb-title { font-weight: 700; font-size: .95rem; color: var(--navy); }
.trust-badge .tb-sub { font-size: .8rem; color: var(--muted); }

/* -------------------------------------------------------------------- values */

.value { text-align: center; padding: 8px; }
.value .ico {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}
.value h3 { font-size: 1.02rem; margin-bottom: 6px; }
.value p { font-size: .89rem; color: var(--muted); margin: 0 auto; max-width: 24ch; }

/* -------------------------------------------------------------- testimonials */

.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.quote p { font-size: .98rem; margin-bottom: 18px; }
.quote-by { font-weight: 700; color: var(--navy); font-size: .93rem; }
.quote-role { font-size: .84rem; color: var(--muted); }

/* --------------------------------------------------------------------- about */

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.mission {
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--navy);
  font-weight: 600;
  border-left: 4px solid var(--gold);
  padding-left: 22px;
  max-width: none;
}

/* ----------------------------------------------------------------- final CTA */

.final-cta {
  background:
    linear-gradient(180deg, rgba(10,28,51,.95), rgba(10,28,51,.95)),
    radial-gradient(760px 320px at 20% 10%, rgba(191,146,49,.45), transparent 60%),
    var(--navy-deep);
  color: #D9E2EE;
  text-align: center;
  padding: 78px 0;
}
.final-cta h2 { color: var(--white); }
.final-cta p { margin-inline: auto; color: #B8C9DD; }
.final-cta .btn-row { justify-content: center; margin-top: 28px; }

/* -------------------------------------------------------------------- footer */

.site-footer { background: var(--navy-deep); color: #9FB2C8; padding: 66px 0 0; font-size: .93rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.25fr;
  gap: 40px;
  padding-bottom: 46px;
}
.site-footer h4 { color: var(--white); font-size: .98rem; margin-bottom: 16px; }
.site-footer a { color: #9FB2C8; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-brand img { height: 44px; background: var(--white); padding: 8px 12px; border-radius: 8px; }
.footer-brand p { font-size: .9rem; margin: 18px 0 0; max-width: 34ch; }
.contact-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 11px; }
.contact-line svg { flex: none; margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
}
.socials a:hover { border-color: var(--gold); background: rgba(191,146,49,.16); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: space-between;
  font-size: .85rem;
}

/* ------------------------------------------------------- placeholder marking */

.ph {
  background: rgba(191, 146, 49, .14);
  border-bottom: 1.5px dashed var(--gold);
  padding: 0 3px;
  border-radius: 2px;
}
.band-navy .ph, .final-cta .ph, .hero .ph { background: rgba(227,185,74,.2); }

.ph-box {
  border: 1.5px dashed var(--gold);
  background: rgba(191, 146, 49, .07);
  border-radius: var(--radius);
  padding: 20px 22px;
  color: var(--muted);
  font-size: .92rem;
}
.ph-box strong { color: var(--navy); }

.ph-img {
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  color: var(--muted);
  font-size: .82rem;
  padding: 20px;
}
.ph-img svg { opacity: .45; }

/* ============================================================ programme pages */

.prog-hero {
  background: linear-gradient(180deg, rgba(10,28,51,.95), rgba(16,41,74,.92)), var(--navy);
  color: #C9D6E6;
  padding: 62px 0 66px;
}
.prog-hero h1 { color: var(--white); max-width: 20ch; }
.crumb { font-size: .87rem; color: #93A9C2; margin-bottom: 18px; }
.crumb a { color: #93A9C2; text-decoration: none; }
.crumb a:hover { color: var(--gold-light); }

.prog-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.fact {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 11px 17px;
  font-size: .88rem;
}
.fact b { color: var(--white); display: block; font-size: .95rem; }

.prog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 54px;
  align-items: start;
  padding: 74px 0;
}

.prog-body > section { margin-bottom: 54px; }
.prog-body > section:last-child { margin-bottom: 0; }
.prog-body h2 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 13px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .2em;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--gold-wash);
  border: 1px solid var(--gold);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 7px; top: .52em;
  width: 5px; height: 9px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(42deg);
}

.who-card {
  background: var(--beige);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.who-card h4 { margin-bottom: 6px; }
.who-card p { font-size: .93rem; color: var(--muted); margin: 0; }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
  vertical-align: top;
}
.spec-table th { width: 190px; color: var(--navy); font-weight: 700; }

.trainer {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 26px;
  align-items: start;
  background: var(--beige);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.trainer-photo {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--beige-deep);
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}
.trainer p { font-size: .94rem; margin-bottom: .8em; }

details.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
}
details.faq summary {
  cursor: pointer;
  padding: 17px 22px;
  font-weight: 700;
  color: var(--navy);
  font-size: .98rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  flex: none;
}
details.faq[open] summary::after { content: "\2013"; }
details.faq[open] summary { border-bottom: 1px solid var(--line); }
details.faq .faq-body { padding: 18px 22px 6px; }
details.faq .faq-body p { font-size: .95rem; }

.sticky-panel { position: sticky; top: 104px; display: grid; gap: 18px; }

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-md);
}
.panel h3 { font-size: 1.08rem; margin-bottom: 6px; }
.panel p { font-size: .91rem; color: var(--muted); margin-bottom: 18px; }
.panel .btn { width: 100%; margin-bottom: 10px; }
.panel .btn:last-child { margin-bottom: 0; }

.panel-navy { background: var(--navy); border-color: var(--navy); }
.panel-navy h3 { color: var(--white); }
.panel-navy p { color: #A9BDD4; }

.metric-inline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  background: var(--beige);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
}
.metric-inline .metric-num { color: var(--gold); }
.metric-inline .metric-label { color: var(--muted); }

/* ================================================================== progress */

.prog-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.prog-table th {
  text-align: left;
  background: var(--navy);
  color: var(--white);
  padding: 13px 14px;
  font-size: .85rem;
  font-weight: 700;
  position: sticky;
  top: 0;
}
.prog-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prog-table tr:nth-child(even) td { background: #FBF9F5; }
.prog-table .tid { font-weight: 700; color: var(--navy); white-space: nowrap; }

.pill {
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill-done    { background: #E0EFE4; color: #205C34; }
.pill-part    { background: var(--gold-wash); color: #7A5A12; }
.pill-pending { background: #EDEFF2; color: #5A6472; }

.progress-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.psum {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.psum .n { font-size: 2.1rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.psum .l { font-size: .88rem; color: var(--muted); margin-top: 4px; }

.bar { height: 12px; background: var(--beige-deep); border-radius: 999px; overflow: hidden; margin: 26px 0 8px; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

/* --------------------------------------------------------------- responsive */

@media (max-width: 1040px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .prog-layout { grid-template-columns: 1fr; gap: 44px; }
  .sticky-panel { position: static; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 14px 22px 20px;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 12px; justify-content: center; }
  .nav-toggle { display: inline-block; }
  .site-header { position: relative; }

  .flagship { grid-template-columns: 1fr; }
  .flagship-copy { padding: 40px 28px; }
  .about-split { grid-template-columns: 1fr; gap: 32px; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .progress-summary { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .band { padding: 58px 0; }
  .hero { padding: 64px 0 58px; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .sticky-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .trainer { grid-template-columns: 1fr; }
  .trainer-photo { width: 110px; }
  .metric-inline { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .spec-table th { width: auto; display: block; padding-bottom: 2px; border: 0; }
  .spec-table td { display: block; padding-top: 2px; }
  .prog-table { font-size: .86rem; }
  .prog-table td, .prog-table th { padding: 10px 8px; }
}

/* progress page nav stays visible on mobile (no toggle button on that page) */
@media (max-width: 900px) {
  .nav-static { display: block; position: static; box-shadow: none; border: 0; padding: 0; margin-left: 0; width: 100%; }
  .nav-static ul { flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .nav-static a { border-bottom: 0; padding: 4px 0; }
  .header-inner:has(.nav-static) { flex-wrap: wrap; padding-bottom: 12px; }
}

/* =========================================================================
   Layout revisions — fixing cramped grids at desktop width
   ========================================================================= */

/* 'What we offer': 5 cards forced into one row wrapped headings badly.
   Flex wrapping gives 3 + 2 centred, with room for the titles. */
.offer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.offer-grid > * {
  flex: 1 1 300px;
  max-width: 362px;
}

/* Testimonials: 4 columns produced ~240px ribbons. Two columns instead. */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 760px) { .quote-grid { grid-template-columns: 1fr; } }

/* The 7th programme card was orphaned on its own row.
   It now spans the full width as a horizontal card. */
.course-card.wide { grid-column: 1 / -1; flex-direction: row; }
.course-card.wide .course-thumb {
  flex: 0 0 320px;
  aspect-ratio: auto;
  border-bottom: 0;
  border-right: 1px solid var(--line);
}
.course-card.wide .course-body { justify-content: center; }
@media (max-width: 900px) {
  .course-card.wide { flex-direction: column; }
  .course-card.wide .course-thumb {
    flex: none;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* LSA flagship: the image side read as empty space rather than a
   reserved slot. A framed placeholder fills the panel. */
.flagship-visual { padding: 28px; }
.ph-frame {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 2px dashed var(--gold);
  border-radius: 12px;
  background: rgba(191, 146, 49, .06);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
}
.ph-frame .ph-title { font-weight: 700; color: var(--navy); font-size: .95rem; }
.ph-frame .ph-note { font-size: .84rem; color: var(--muted); max-width: 30ch; }

/* =========================================================================
   Navigation v2 — ten cramped top-level items collapsed to five,
   audience categories moved into a Programmes dropdown.
   ========================================================================= */

.header-inner { min-height: 88px; gap: 40px; }
.brand img { height: 50px; }

.nav { margin-left: auto; }

.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav > ul > li { position: relative; }

.nav a,
.nav .sub-toggle {
  text-decoration: none;
  font-family: inherit;
  font-size: .96rem;
  font-weight: 600;
  color: var(--navy);
  background: none;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  line-height: 1.4;
}

.nav a:hover,
.nav .sub-toggle:hover { color: var(--gold); border-bottom-color: var(--gold); }
.nav a.current,
.nav .sub-toggle.current { border-bottom-color: var(--gold); }

.sub-toggle svg { transition: transform .18s ease; flex: none; }
.has-sub.open > .sub-toggle svg { transform: rotate(180deg); }

/* dropdown panel */
.nav .sub {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 268px;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  z-index: 60;
}
.has-sub.open > .sub { display: flex; }
.nav .sub::before {
  content: "";
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px;
}
.nav .sub a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  border-bottom: 0;
  font-weight: 500;
  white-space: normal;
}
.nav .sub a:hover { background: var(--beige); color: var(--navy); border-bottom: 0; }
.nav .sub a.current { background: var(--gold-wash); color: var(--navy); }

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 12px 20px !important;
  border-radius: var(--radius);
  border-bottom: 0 !important;
  font-size: .93rem;
  font-weight: 700;
}
.nav-cta:hover { background: var(--gold); color: var(--navy-deep) !important; border-bottom: 0 !important; }

@media (max-width: 1080px) {
  .nav ul { gap: 22px; }
  .nav a, .nav .sub-toggle { font-size: .91rem; }
  .header-inner { gap: 24px; }
}

@media (max-width: 940px) {
  .site-header { position: relative; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 22px 22px;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
  }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a, .nav .sub-toggle {
    padding: 14px 0;
    width: 100%;
    justify-content: space-between;
    border-bottom: 0;
    font-size: 1rem;
  }
  .nav .sub {
    position: static;
    display: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 10px 0;
    min-width: 0;
    background: var(--beige);
    border-radius: 8px;
    margin-bottom: 10px;
  }
  .has-sub.open > .sub { display: flex; }
  .nav .sub a { padding: 11px 16px; font-size: .95rem; }
  .nav-cta { margin-top: 14px; justify-content: center; }
  .nav > ul > li:last-child { border-bottom: 0; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
}
