/* ============================================================
   AD ASTRA TRAINING — Design System & Styles
   ============================================================ */

/* --- CSS Variables --- */
:root {
  /* Colour system */
  --navy:         #0B1D33;
  --navy-deep:    #071422;
  --navy-light:   #122B47;
  --slate:        #1E3A5F;
  --blue-muted:   #2C4A6E;

  --gold:         #B8963E;
  --gold-hover:   #CBAA52;
  --gold-muted:   #9A7E35;
  --gold-light:   rgba(184, 150, 62, 0.12);

  --cream:        #FAF8F4;
  --cream-warm:   #F3EDE3;
  --white:        #FFFFFF;

  --text-heading:   #1A2332;
  --text-body:      #3D4F5F;
  --text-secondary: #6B7B8D;
  --text-muted:     #94A3B8;
  --text-on-dark:   #E8E4DC;
  --text-on-dark-secondary: #A0A8B4;

  --border:       #E2DDD5;
  --border-light: #EDEAE4;

  /* Typography */
  --font-serif: 'Montserrat', 'Inter', Arial, sans-serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type scale */
  --text-display:  clamp(2.25rem, 4vw, 3.5rem);
  --text-h1:       clamp(2rem, 3.2vw, 3rem);
  --text-h2:       clamp(1.75rem, 2.5vw, 2.5rem);
  --text-h3:       clamp(1.25rem, 1.8vw, 1.625rem);
  --text-h4:       clamp(1.125rem, 1.4vw, 1.375rem);
  --text-body-lg:  1.125rem;
  --text-body:     1rem;
  --text-small:    0.875rem;
  --text-caption:  0.8125rem;
  --text-label:    0.75rem;

  /* Spacing */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;
  --space-5xl:  8rem;

  /* Section padding */
  --section-py:   clamp(4rem, 7vw, 6.5rem);
  --section-py-sm: clamp(3rem, 5vw, 4.5rem);

  /* Container */
  --container-max: 72rem;
  --container-narrow: 52rem;
  --container-px: clamp(1.25rem, 3vw, 2rem);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --duration: 0.3s;

  /* Borders */
  --radius-sm: 3px;
  --radius-md: 5px;
  --radius-lg: 8px;
}


/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-body);
  background-color: var(--cream);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background-color: var(--gold-light);
  color: var(--text-heading);
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}


/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-heading);
  letter-spacing: -0.015em;
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); line-height: 1.3; }
h4 { font-size: var(--text-h4); line-height: 1.35; }

p {
  margin-bottom: var(--space-md);
}
p:last-child {
  margin-bottom: 0;
}

.text-display {
  font-family: var(--font-serif);
  font-size: var(--text-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.section-label {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-lg);
  display: block;
}

.section-label--light {
  color: var(--gold-hover);
}

.lead {
  font-size: var(--text-body-lg);
  line-height: 1.7;
  color: var(--text-secondary);
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

strong {
  font-weight: 600;
}


/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.section--sm {
  padding-top: var(--section-py-sm);
  padding-bottom: var(--section-py-sm);
}

.section--navy {
  background-color: var(--navy);
  color: var(--text-on-dark);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

.section--navy .lead {
  color: var(--text-on-dark-secondary);
}

.section--cream-warm {
  background-color: var(--cream-warm);
}

.section--bordered {
  border-top: 1px solid var(--border-light);
}

.section--tight-top {
  padding-top: var(--section-py-sm);
}

.grid {
  display: grid;
  gap: var(--space-2xl);
}

.grid--2 {
  grid-template-columns: 1fr 1fr;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.flex {
  display: flex;
}

.flex--center {
  align-items: center;
}

.flex--between {
  justify-content: space-between;
}

.flex--gap-sm {
  gap: var(--space-sm);
}

.flex--gap-md {
  gap: var(--space-md);
}

.flex--gap-lg {
  gap: var(--space-lg);
}


/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.nav--scrolled {
  background-color: rgba(250, 248, 244, 0.97);
  box-shadow: 0 1px 8px rgba(11, 29, 51, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav__logo-suffix {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  line-height: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav__link {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  transition: color var(--duration) var(--ease);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold);
  transition: width var(--duration) var(--ease);
}

.nav__link:hover,
.nav__link--active {
  color: var(--text-heading);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__cta {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--gold-muted);
  border: 1px solid var(--gold);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  transition: all var(--duration) var(--ease);
}

.nav__cta:hover,
.nav__cta--active {
  background-color: var(--gold);
  color: var(--white);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  gap: 5px;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background-color: var(--navy);
  transition: all var(--duration) var(--ease);
  transform-origin: center;
}

.nav__toggle--open span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}

.nav__toggle--open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle--open span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 4.5rem;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--cream);
  padding: var(--space-2xl) var(--container-px);
  z-index: 99;
  flex-direction: column;
  gap: var(--space-sm);
}

.nav__mobile--open {
  display: flex;
}

.nav__mobile .nav__link {
  font-size: 1.125rem;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-light);
  display: block;
}

.nav__mobile .nav__link::after {
  display: none;
}

.nav__mobile .nav__cta {
  margin-top: var(--space-lg);
  text-align: center;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  display: block;
}


/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
}

.btn--primary {
  background-color: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
}

.btn--primary:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
}

.btn--outline {
  background-color: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn--outline:hover {
  background-color: var(--gold);
  color: var(--white);
}

.btn--outline-light {
  background-color: transparent;
  color: var(--gold-hover);
  border: 1px solid rgba(184, 150, 62, 0.4);
}

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

.btn--dark {
  background-color: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
}

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

.btn--ghost {
  background-color: transparent;
  color: var(--text-body);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--text-secondary);
  color: var(--text-heading);
}

.btn--lg {
  font-size: var(--text-body);
  padding: 0.875rem 2rem;
}

.btn__arrow {
  font-size: 0.8em;
  transition: transform var(--duration) var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}


/* --- Hero --- */
.hero {
  background-color: var(--navy);
  padding-top: calc(4.5rem + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  position: relative;
  overflow: hidden;
}

.hero__bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(184, 150, 62, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 150, 62, 0.3) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 36rem;
}

.hero__label {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__label-line {
  width: 2rem;
  height: 1px;
  background-color: var(--gold-muted);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: var(--text-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: var(--space-xl);
}

.hero__text {
  font-size: var(--text-body-lg);
  line-height: 1.7;
  color: var(--text-on-dark-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 32rem;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Programme facts panel */
.hero__panel {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid var(--gold-muted);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: var(--space-2xl) var(--space-2xl) var(--space-xl);
}

.hero__panel-title {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(184, 150, 62, 0.15);
}

.hero__fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__fact:last-child {
  border-bottom: none;
}

.hero__fact-label {
  font-size: var(--text-small);
  color: var(--text-on-dark-secondary);
}

.hero__fact-value {
  font-family: var(--font-serif);
  font-size: var(--text-body-lg);
  font-weight: 500;
  color: var(--white);
  text-align: right;
}


/* --- Section Header --- */
.section-header {
  margin-bottom: var(--space-3xl);
}

.section-header--center {
  text-align: center;
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  max-width: 40rem;
}

.section-header--center p {
  margin-left: auto;
  margin-right: auto;
}


/* --- Problem Section --- */
.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.problem__text {
  max-width: 30rem;
}

.problem__text p {
  color: var(--text-body);
  font-size: var(--text-body-lg);
  line-height: 1.75;
}

.problem__points {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.problem__point {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border-light);
}

.problem__point:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.problem__point-number {
  font-family: var(--font-sans);
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--gold-muted);
  line-height: 1.6;
  min-width: 1.25rem;
  letter-spacing: 0.02em;
}

.problem__point p {
  font-size: var(--text-body);
  color: var(--text-body);
  line-height: 1.6;
}


/* --- Programme Solution Section --- */
.solution__intro {
  max-width: 42rem;
  margin-bottom: var(--space-3xl);
}

.solution__intro p {
  font-size: var(--text-body-lg);
  line-height: 1.75;
}

.solution__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.solution__card {
  padding: var(--space-2xl) 0;
  border-top: 1px solid rgba(184, 150, 62, 0.2);
}

.solution__card-icon {
  font-family: var(--font-sans);
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: var(--space-md);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.solution__card h3 {
  font-size: var(--text-h3);
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.solution__card p {
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--text-on-dark-secondary);
}


/* --- How It Works Section --- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 42rem;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-2xl);
  position: relative;
}

.step:last-child {
  padding-bottom: 0;
}

/* Vertical line connecting steps */
.step::before {
  content: '';
  position: absolute;
  left: calc(1.375rem - 0.5px);
  top: 2.25rem;
  bottom: 0;
  width: 1px;
  background-color: var(--border);
}

.step:last-child::before {
  display: none;
}

.step__number {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--gold-muted);
  border: 1px solid var(--border);
  border-radius: 50%;
  background-color: var(--cream);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.step__content h3 {
  margin-bottom: 0.5rem;
  padding-top: 0.5rem;
}

.step__content p {
  color: var(--text-body);
  line-height: 1.65;
}


/* --- Outcomes Section --- */
.outcomes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.outcome {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
}

.outcome__marker {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.55rem;
}

.outcome p {
  color: var(--text-body);
  font-size: var(--text-body);
  line-height: 1.6;
}


/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.cta-section__inner {
  max-width: 36rem;
  margin: 0 auto;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: var(--text-on-dark-secondary);
  font-size: var(--text-body-lg);
  margin-bottom: var(--space-2xl);
}

.cta-section__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}


/* --- Director / About Preview --- */
.director {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-3xl);
  align-items: center;
}

.director__image-wrap {
  position: relative;
}

.director__image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-md);
  background-color: var(--cream-warm);
}

.director__image-accent {
  position: absolute;
  top: -8px;
  left: -8px;
  right: 8px;
  bottom: 8px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  opacity: 0.3;
  pointer-events: none;
}

.director__content h2 {
  margin-bottom: var(--space-sm);
}

.director__role {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
}

.director__content p {
  font-size: var(--text-body-lg);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.director__credentials {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.director__credential {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--text-small);
  color: var(--text-secondary);
}

.director__credential-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--gold);
  flex-shrink: 0;
}


/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  padding: var(--space-2xl) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: var(--space-xs);
}

.stat__label {
  font-size: var(--text-caption);
  color: var(--text-on-dark-secondary);
  letter-spacing: 0.03em;
}


/* --- Programme Page --- */
.audience__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.audience__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.audience__item-icon {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.audience__item h4 {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}

.audience__item p {
  font-size: var(--text-small);
  color: var(--text-secondary);
  line-height: 1.6;
}


/* --- Format / Details Panel --- */
.format-panel {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-2xl) var(--space-2xl);
}

.format-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.format-panel__item {
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-light);
}

.format-panel__label {
  font-size: var(--text-caption);
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.format-panel__value {
  font-family: var(--font-serif);
  font-size: var(--text-h4);
  font-weight: 500;
  color: var(--text-heading);
}

.format-panel__note {
  font-size: var(--text-small);
  color: var(--text-secondary);
  margin-top: 0.125rem;
}


/* --- Learning Areas --- */
.learning-areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.learning-area {
  padding: var(--space-xl);
  border-left: 2px solid var(--gold-light);
}

.learning-area h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-body);
  margin-bottom: var(--space-sm);
}

.learning-area ul {
  list-style: none;
}

.learning-area li {
  font-size: var(--text-small);
  color: var(--text-secondary);
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
}

.learning-area li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--gold);
}


/* --- FAQs --- */
.faqs {
  max-width: 42rem;
  margin: 0 auto;
}

.faq {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--space-lg) 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 500;
  color: var(--text-heading);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  gap: var(--space-lg);
}

.faq__icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease);
}

.faq--open .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s var(--ease);
}

.faq--open .faq__answer {
  max-height: 30rem;
}

.faq__answer-inner {
  padding-bottom: var(--space-lg);
}

.faq__answer p {
  color: var(--text-body);
  font-size: var(--text-body);
  line-height: 1.65;
}


/* --- Forms --- */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form__label {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-heading);
  letter-spacing: 0.01em;
}

.form__label-optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: var(--text-caption);
}

.form__input,
.form__select,
.form__textarea {
  padding: 0.75rem 1rem;
  font-size: var(--text-body);
  color: var(--text-heading);
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
  width: 100%;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-muted);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-light);
}

.form__textarea {
  min-height: 8rem;
  resize: vertical;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%236B7B8D'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form__file {
  padding: var(--space-lg);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--duration) var(--ease);
}

.form__file:hover {
  border-color: var(--gold);
}

.form__file input {
  display: none;
}

.form__file-text {
  font-size: var(--text-small);
  color: var(--text-secondary);
}

.form__file-text span {
  color: var(--gold);
  font-weight: 500;
}

.form__submit {
  padding-top: var(--space-md);
}

.form__note {
  font-size: var(--text-caption);
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: var(--space-sm);
}

/* Form success state */
.form-success {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
}

.form-success__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--gold-light);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  font-size: 1.25rem;
}

.form-success h3 {
  margin-bottom: var(--space-md);
}

.form-success p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}


/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.contact-info__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-info__label {
  font-size: var(--text-caption);
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-info__value {
  font-size: var(--text-body);
  color: var(--text-heading);
}

.contact-info__value a {
  color: var(--text-heading);
  transition: color var(--duration) var(--ease);
}

.contact-info__value a:hover {
  color: var(--gold);
}


/* --- Footer --- */
.footer {
  background-color: var(--navy-deep);
  color: var(--text-on-dark-secondary);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-2xl);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__brand {
  max-width: 20rem;
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.footer__desc {
  font-size: var(--text-small);
  line-height: 1.6;
  color: var(--text-on-dark-secondary);
}

.footer__heading {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark-secondary);
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: var(--text-small);
  color: var(--text-on-dark-secondary);
  transition: color var(--duration) var(--ease);
}

.footer__link:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  gap: var(--space-xl);
}

.footer__copyright {
  font-size: var(--text-caption);
  color: var(--text-muted);
}

.footer__legal {
  display: flex;
  gap: var(--space-lg);
}

.footer__legal a {
  font-size: var(--text-caption);
  color: var(--text-muted);
  transition: color var(--duration) var(--ease);
}

.footer__legal a:hover {
  color: var(--text-on-dark-secondary);
}


/* --- Page Header (inner pages) --- */
.page-header {
  background-color: var(--navy);
  padding-top: calc(4.5rem + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.page-header__bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(184, 150, 62, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 150, 62, 0.3) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.page-header h1 {
  color: var(--white);
  position: relative;
  z-index: 1;
}

.page-header .lead {
  color: var(--text-on-dark-secondary);
  position: relative;
  z-index: 1;
  margin-top: var(--space-md);
  max-width: 36rem;
}

.page-header .section-label {
  position: relative;
  z-index: 1;
}


/* --- Legal Pages --- */
.legal-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.legal-content h2 {
  font-size: var(--text-h3);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.legal-content h3 {
  font-size: var(--text-h4);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-content p {
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.legal-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.legal-content li {
  color: var(--text-body);
  line-height: 1.7;
  padding: 0.25rem 0;
  list-style: disc;
}

.legal-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--gold-hover);
}

.legal-date {
  font-size: var(--text-small);
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
}


/* --- Compliance Notice --- */
.compliance {
  background-color: rgba(184, 150, 62, 0.06);
  border: 1px solid rgba(184, 150, 62, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin-top: var(--space-2xl);
}

.compliance__title {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: var(--space-sm);
}

.compliance p {
  font-size: var(--text-small);
  color: var(--text-secondary);
  line-height: 1.6;
}


/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in--delay-1 { transition-delay: 0.1s; }
.fade-in--delay-2 { transition-delay: 0.2s; }
.fade-in--delay-3 { transition-delay: 0.3s; }


/* --- Content Utilities --- */
.text-lg {
  font-size: var(--text-body-lg);
  line-height: 1.75;
}

.text-lg p {
  font-size: var(--text-body-lg);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
}

.text-lg p:last-child {
  margin-bottom: 0;
}

.content-narrow {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.compliance--centered {
  margin-top: var(--space-3xl);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}


/* --- Form Section Headers --- */
.form__section {
  margin-bottom: var(--space-sm);
}

.form__section--divider {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-light);
}

.form__section h3 {
  font-size: var(--text-h4);
  margin-bottom: 0.25rem;
}

.form__section p {
  font-size: var(--text-small);
  color: var(--text-secondary);
}


/* --- Sidebar --- */
.sidebar {
  position: sticky;
  top: 6rem;
}

.sidebar__panel {
  padding: var(--space-2xl);
  background-color: var(--cream-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.sidebar__panel-title {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.sidebar__facts {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.sidebar__fact {
  display: flex;
  justify-content: space-between;
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-light);
}

.sidebar__fact:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar__fact-label {
  font-size: var(--text-small);
  color: var(--text-secondary);
}

.sidebar__fact-value {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-heading);
}

.sidebar__extra {
  margin-top: var(--space-xl);
  padding: var(--space-xl);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.sidebar__extra h4 {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.sidebar__extra p {
  font-size: var(--text-small);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}


/* --- Expect List (About page) --- */
.expect-panel {
  padding: var(--space-2xl);
  background-color: var(--cream-warm);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.expect-panel h3 {
  font-size: var(--text-h4);
  margin-bottom: var(--space-xl);
}

.expect-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.expect-list__item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.expect-list__check {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.expect-list__item p {
  font-size: var(--text-body);
  line-height: 1.6;
}


/* --- Contact Info (inline style replacement) --- */
.contact-info__heading {
  font-size: var(--text-h3);
  margin-bottom: var(--space-md);
}

.contact-info__text {
  font-size: var(--text-body-lg);
  line-height: 1.75;
  color: var(--text-body);
}

.contact-info__divider {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.contact-info__divider p {
  font-size: var(--text-small);
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-info__divider a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* --- Form Error State --- */
.form__error {
  display: none;
  padding: var(--space-lg);
  background-color: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius-md);
  color: #991B1B;
  font-size: var(--text-small);
  line-height: 1.6;
}

.form__error--visible {
  display: block;
}

.form__input--error,
.form__select--error,
.form__textarea--error {
  border-color: #F87171;
}

.form__input--error:focus,
.form__select--error:focus,
.form__textarea--error:focus {
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}


/* --- Supervision Cards --- */
.supervision-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding-top: var(--space-xl);
}

.supervision-card {
  padding: var(--space-lg) var(--space-xl);
  border-left: 2px solid var(--gold);
  background-color: var(--white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.supervision-card h4 {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.supervision-card p {
  font-size: var(--text-small);
  color: var(--text-secondary);
  line-height: 1.6;
}


/* --- Location Cards --- */
.location-card {
  padding: var(--space-lg);
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.location-card__label {
  font-size: var(--text-caption);
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.location-card__value {
  font-family: var(--font-serif);
  font-size: var(--text-h4);
  font-weight: 500;
  color: var(--text-heading);
}

.location-card__note {
  font-size: var(--text-small);
  color: var(--text-secondary);
  margin-top: 0.25rem;
}


/* --- Portrait refinements --- */
.director__image--real {
  object-position: center 15%;
}


/* --- Grid Utilities --- */
.grid-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-3xl);
  align-items: start;
}

.grid-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.grid-location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}


/* --- Responsive --- */

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .hero__panel {
    max-width: 28rem;
  }

  .problem__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .solution__grid {
    grid-template-columns: 1fr 1fr;
  }

  .director {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .director__image-wrap {
    max-width: 20rem;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .grid--3 {
    grid-template-columns: 1fr 1fr;
  }

  .grid--4 {
    grid-template-columns: 1fr 1fr;
  }

  .learning-areas {
    grid-template-columns: 1fr 1fr;
  }

  .format-panel__grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .grid-sidebar {
    grid-template-columns: 1fr !important;
  }

  .grid-split {
    grid-template-columns: 1fr !important;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero {
    padding-top: calc(4.5rem + var(--space-2xl));
    padding-bottom: var(--space-3xl);
  }

  .hero__title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .hero__actions {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__panel {
    max-width: none;
  }

  .solution__grid {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 2.5rem 1fr;
    gap: var(--space-md);
  }

  .step__number {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }

  .step::before {
    left: calc(1.25rem - 0.5px);
    top: 2rem;
  }

  .outcomes__grid {
    grid-template-columns: 1fr;
  }

  .audience__grid {
    grid-template-columns: 1fr;
  }

  .format-panel__grid {
    grid-template-columns: 1fr;
  }

  .learning-areas {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .grid-sidebar {
    grid-template-columns: 1fr !important;
  }

  .grid-sidebar aside {
    position: static !important;
  }

  .grid-split {
    grid-template-columns: 1fr !important;
  }

  .grid-location {
    grid-template-columns: 1fr !important;
  }

  .cta-section__actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-section__actions .btn {
    width: 100%;
    max-width: 20rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .footer__legal {
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .page-header {
    padding-top: calc(4.5rem + var(--space-2xl));
    padding-bottom: var(--space-2xl);
  }
}

@media (max-width: 480px) {
  .stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .stat__number {
    font-size: 1.5rem;
  }

  .hero__fact {
    flex-direction: column;
    gap: 0.125rem;
  }
}

/* September consolidated programme brief */
.programme-price, .outcome-features, .application-process { margin-top: 2rem; }
.outcome-features { max-width: 850px; margin-inline: auto; }
.outcome-features h3, .application-process h2, .content-narrow h3 { margin-top: 2rem; margin-bottom: .75rem; }
.programme-price { border-top: 1px solid var(--color-border, #d8d9dc); padding-top: 1.5rem; }
.acknowledgement { display: flex; align-items: flex-start; gap: .75rem; line-height: 1.6; }
.acknowledgement input { margin-top: .4rem; flex-shrink: 0; width: 1.15rem; height: 1.15rem; }
.cookie-banner { position: fixed; z-index: 300; bottom: 1rem; left: 1rem; right: 1rem; padding: 1.5rem; border: 1px solid #b59a62; background: #fffdf8; color: #172a46; box-shadow: 0 4px 30px #172a4626; max-height: 75vh; overflow: auto; }
[hidden] { display: none !important; }
.cookie-banner h2 { font-size: 1.2rem; margin: 0 0 .5rem; }
.cookie-banner p { font-size: .95rem; margin-bottom: .75rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cookie-actions .btn { border: 1px solid #172a46; padding: .65rem 1rem; font-size: .9rem; }
.cookie-settings-link { font: inherit; color: inherit; text-decoration: underline; background: none; border: 0; cursor: pointer; padding: 0; }
#cookieOptions { margin-top: 1rem; }
#cookieOptions .btn { margin-left: 1rem; }
.sidebar__fact-value { overflow-wrap: anywhere; }
.hero__history { font-size: .95rem; }
@media(max-width: 600px) { .cookie-actions { display: grid; } .cookie-actions .btn { width: 100%; } .cookie-banner { padding: 1rem; } .programme-facts__grid strong, .programme-facts__grid span { overflow-wrap: anywhere; } }
@media print { .cookie-banner { display: none !important; } }

.hero__programme-name { color: #cfbb86; font-size: .95rem; margin: 0 0 1rem; }
