/* =============================================================
   Supplied Education — styles.css
   All colours are CSS custom properties: change once, updates everywhere.
   Fonts: Manrope (headings) + Inter (body) via Google Fonts.
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Purple brand palette — derived from logo gradient */
  --c-purple-deep:    #1E0657;   /* footer, deepest CTA bands */
  --c-purple-dark:    #2D0A8E;   /* hero gradient start */
  --c-purple-mid:     #7B2FC9;   /* hero gradient end, primary buttons */
  --c-purple-bright:  #9333EA;   /* hover state */
  --c-purple-100:     #EDE9FE;   /* card borders, light accents */
  --c-purple-50:      #F5F3FF;   /* section backgrounds */

  /* Neutrals */
  --c-white:          #FFFFFF;
  --c-off-white:      #F8F7FC;
  --c-text-dark:      #1F2937;
  --c-text-mid:       #4B5563;
  --c-text-light:     #9CA3AF;
  --c-border:         #E5E7EB;

  /* Typography */
  --f-heading: 'Manrope', system-ui, sans-serif;
  --f-body:    'Inter', system-ui, sans-serif;

  /* Spacing */
  --sp-1:   0.25rem;
  --sp-2:   0.5rem;
  --sp-3:   0.75rem;
  --sp-4:   1rem;
  --sp-6:   1.5rem;
  --sp-8:   2rem;
  --sp-10:  2.5rem;
  --sp-12:  3rem;
  --sp-16:  4rem;
  --sp-20:  5rem;
  --sp-24:  6rem;

  /* Layout */
  --container-max: 1200px;
  --container-px:  1.25rem;

  /* Border radius */
  --r-sm:   0.375rem;
  --r-md:   0.75rem;
  --r-lg:   1rem;
  --r-xl:   1.5rem;
  --r-full: 9999px;

  /* Shadows */
  --shadow-card:  0 2px 8px rgba(30, 6, 87, 0.07);
  --shadow-hover: 0 8px 28px rgba(30, 6, 87, 0.15);
  --shadow-btn:   0 2px 6px rgba(30, 6, 87, 0.22);

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 250ms ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; font-size: 16px; }

body {
  font-family: var(--f-body);
  color: var(--c-text-dark);
  background: var(--c-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--f-body); cursor: pointer; border: none; background: none; }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--c-purple-dark);
  color: var(--c-white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0 0 var(--r-md) var(--r-md);
  transition: top var(--t-fast);
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--c-purple-mid);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--f-heading);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--c-text-dark);
}

h1 { font-size: clamp(2rem,   5vw,   3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.125rem, 2vw,  1.375rem); font-weight: 600; }
h4 { font-size: 1rem;    font-weight: 600; }
h5 { font-size: 0.875rem; font-weight: 600; }

p { max-width: 65ch; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-purple-mid);
  display: block;
}

.lead {
  font-size: 1.0625rem;
  color: var(--c-text-mid);
  line-height: 1.7;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section           { padding-block: var(--sp-20); }
.section--sm       { padding-block: var(--sp-12); }
.section--light    { background: var(--c-off-white); }
.section--purple   { background: var(--c-purple-50); }

.section-header { margin-bottom: var(--sp-10); }
.section-header--centre { text-align: center; }
.section-header--centre p,
.section-header--centre .eyebrow { margin-inline: auto; }
.section-header h2 { margin-block: var(--sp-2) var(--sp-3); }

.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mt-12 { margin-top: var(--sp-12); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--r-full);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--c-purple-mid);
  color: var(--c-white);
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover {
  background: var(--c-purple-bright);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--c-white);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--c-white);
}

.btn--outline-purple {
  background: transparent;
  color: var(--c-purple-mid);
  border: 2px solid var(--c-purple-mid);
}
.btn--outline-purple:hover {
  background: var(--c-purple-50);
  transform: translateY(-1px);
}

.btn--white {
  background: var(--c-white);
  color: var(--c-purple-dark);
  box-shadow: var(--shadow-btn);
}
.btn--white:hover {
  background: var(--c-purple-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: linear-gradient(135deg, var(--c-purple-dark) 0%, var(--c-purple-mid) 100%);
  box-shadow: 0 2px 16px rgba(30,6,87,0.3);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  padding-block: var(--sp-3);
}

.site-logo { flex-shrink: 0; display: flex; align-items: center; }
.site-logo img { height: 48px; width: auto; }

/* Text wordmark */
.site-logo__text {
  font-family: var(--f-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--c-white);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--t-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--c-white);
  border-radius: var(--r-full);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.nav-link:hover { color: var(--c-white); }
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--c-white); }

.nav-cta {
  background: rgba(255,255,255,0.15);
  color: var(--c-white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,0.3);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background var(--t-fast), border-color var(--t-fast) !important;
}
.nav-cta:hover {
  background: rgba(255,255,255,0.28) !important;
  border-color: rgba(255,255,255,0.6) !important;
}
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 4px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-white);
  border-radius: var(--r-full);
  transition: transform var(--t-base), opacity var(--t-base);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-1);
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--c-purple-dark);
    padding: var(--sp-4) var(--container-px) var(--sp-6);
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(30,6,87,0.3);
  }
  .nav-links.is-open { display: flex; }
  .nav-link { padding-block: var(--sp-3); font-size: 1rem; width: 100%; }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: var(--sp-2); width: 100%; text-align: center; }
  .site-header { position: relative; }
}

/* ============================================================
   HERO — HOMEPAGE
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--c-purple-dark) 0%, var(--c-purple-mid) 100%);
  color: var(--c-white);
  padding-block: var(--sp-24) var(--sp-20);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 40%, rgba(255,255,255,0.04) 0%, transparent 65%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--sp-16);
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--sp-4);
  display: block;
}

.hero h1 {
  color: var(--c-white);
  margin-bottom: var(--sp-5);
  max-width: 18ch;
}

.hero__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.78);
  max-width: 46ch;
  margin-bottom: var(--sp-8);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__graphic { display: none; }
  .hero { padding-block: var(--sp-16) var(--sp-12); }
}
@media (max-width: 480px) {
  .hero { padding-block: var(--sp-12) var(--sp-10); }
}

/* ============================================================
   HERO ANIMATED SVG GRAPHIC
   ============================================================ */
.hero__graphic { display: flex; justify-content: center; align-items: center; }

.svg-paper-group {
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.28));
}

/* stroke-dasharray draw-on animation */
.svg-tick {
  stroke-dasharray: 52;
  stroke-dashoffset: 52;
  animation: svgDraw 0.55s cubic-bezier(0.4,0,0.2,1) 1.3s forwards;
}

/* Progress bar fill */
.svg-bar-fill {
  animation: svgBarFill 1.1s cubic-bezier(0.4,0,0.2,1) 1.7s both;
}

/* Fade-in for individual elements */
.svg-el { animation: svgFadeUp 0.5s ease both; }
.svg-el:nth-child(1) { animation-delay: 0.1s; }
.svg-el:nth-child(2) { animation-delay: 0.2s; }
.svg-el:nth-child(3) { animation-delay: 0.3s; }
.svg-el:nth-child(4) { animation-delay: 0.45s; }
.svg-el:nth-child(5) { animation-delay: 0.6s; }
.svg-el:nth-child(6) { animation-delay: 0.75s; }
.svg-el:nth-child(7) { animation-delay: 0.9s; }
.svg-el:nth-child(8) { animation-delay: 1.05s; }

@keyframes svgFadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes svgDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes svgBarFill {
  from { width: 0; }
  to   { width: 118px; }
}

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-section {
  background: var(--c-off-white);
  padding-block: var(--sp-16);
  text-align: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: var(--sp-8) auto 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background: var(--c-purple-deep);
  aspect-ratio: 16/9;
}

/* ── VIDEO EMBED ─────────────────────────────────────────────
   REPLACE the .video-poster div below with one of:

   A) YouTube:
      <iframe
        style="position:absolute;inset:0;width:100%;height:100%;border:0"
        src="https://www.youtube.com/embed/YOUR_VIDEO_ID"
        title="Supplied Education — founder introduction"
        allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
        allowfullscreen>
      </iframe>

   B) Vimeo:
      <iframe
        style="position:absolute;inset:0;width:100%;height:100%;border:0"
        src="https://player.vimeo.com/video/YOUR_VIDEO_ID"
        title="Supplied Education — founder introduction"
        allow="autoplay; fullscreen; picture-in-picture"
        allowfullscreen>
      </iframe>

   C) Self-hosted MP4:
      <video
        style="position:absolute;inset:0;width:100%;height:100%;object-fit:cover"
        src="assets/video/intro.mp4"
        controls
        poster="assets/img/video-poster.jpg">
      </video>
   ──────────────────────────────────────────────────────────── */

.video-poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  background: linear-gradient(135deg, var(--c-purple-dark) 0%, var(--c-purple-mid) 100%);
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

.video-play-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  padding-left: 4px; /* optical centering of play arrow */
}

/* ============================================================
   TWO PATHS
   ============================================================ */
.paths-section { padding-block: var(--sp-20); }

.paths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}
@media (max-width: 640px) { .paths-grid { grid-template-columns: 1fr; } }

.path-card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-10);
  border-radius: var(--r-xl);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.path-card--parent {
  background: var(--c-purple-50);
  border: 2px solid var(--c-purple-100);
}
.path-card--school {
  background: linear-gradient(135deg, var(--c-purple-dark) 0%, var(--c-purple-mid) 100%);
  color: var(--c-white);
}

.path-card__title {
  font-family: var(--f-heading);
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-3);
}
.path-card--parent .path-card__title { color: var(--c-purple-dark); }
.path-card--school .path-card__title { color: var(--c-white); }

.path-card__body {
  font-size: 0.9375rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: var(--sp-6);
  max-width: none;
}
.path-card--parent .path-card__body { color: var(--c-text-mid); }
.path-card--school .path-card__body { color: rgba(255,255,255,0.8); }

.path-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: gap var(--t-fast);
}
.path-card--parent .path-card__link { color: var(--c-purple-mid); }
.path-card--school .path-card__link { color: rgba(255,255,255,0.9); }
.path-card:hover .path-card__link { gap: 0.75rem; }

/* ============================================================
   RESOURCE FINDER WIDGET
   ============================================================ */
.finder-section { background: var(--c-purple-50); padding-block: var(--sp-20); }

.finder-widget {
  max-width: 680px;
  margin: var(--sp-10) auto 0;
  background: var(--c-white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
}

.finder-progress-bar {
  display: flex;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-8);
  background: var(--c-off-white);
  border-bottom: 1px solid var(--c-border);
  align-items: center;
}
.finder-progress-bar__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-border);
  transition: background var(--t-base), box-shadow var(--t-base);
}
.finder-progress-bar__dot.is-done   { background: var(--c-purple-mid); }
.finder-progress-bar__dot.is-active { background: var(--c-purple-mid); box-shadow: 0 0 0 3px var(--c-purple-100); }
.finder-progress-bar__label {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--c-text-light);
  font-weight: 500;
}

.finder-step {
  padding: var(--sp-8);
  display: none;
}
.finder-step.is-active { display: block; }

.finder-step__q {
  font-family: var(--f-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--c-text-dark);
  margin-bottom: var(--sp-5);
}

.finder-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--sp-3);
}

.finder-opt {
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-purple-50);
  border: 2px solid var(--c-purple-100);
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-text-dark);
  text-align: left;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.finder-opt:hover,
.finder-opt:focus {
  background: var(--c-purple-100);
  border-color: var(--c-purple-mid);
  color: var(--c-purple-dark);
}

.finder-result { padding: var(--sp-8); display: none; }
.finder-result.is-active { display: block; }

.finder-result__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.375rem 1rem;
  background: var(--c-purple-100);
  color: var(--c-purple-dark);
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: var(--sp-4);
}

.finder-result h3 {
  font-size: 1.125rem;
  color: var(--c-purple-dark);
  margin-bottom: var(--sp-2);
}

.finder-result p {
  font-size: 0.9375rem;
  color: var(--c-text-mid);
  margin-bottom: var(--sp-5);
  max-width: none;
}

.finder-reset {
  display: block;
  margin-top: var(--sp-5);
  font-size: 0.8125rem;
  color: var(--c-text-light);
  cursor: pointer;
  text-decoration: underline;
  background: none;
  border: none;
  font-family: var(--f-body);
  padding: 0;
}
.finder-reset:hover { color: var(--c-text-mid); }

/* ============================================================
   TRUST / CREDENTIALS
   ============================================================ */
.trust-section { padding-block: var(--sp-20); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr 1fr; } }

.trust-card {
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
  background: var(--c-white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--c-purple-100);
  transition: transform var(--t-base), box-shadow var(--t-base), border-top-color var(--t-base);
}
.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--c-purple-mid);
}

.trust-card__number {
  font-family: var(--f-heading);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--c-purple-dark);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.trust-card__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-text-dark);
  margin-bottom: var(--sp-1);
}
.trust-card__desc {
  font-size: 0.8125rem;
  color: var(--c-text-light);
  line-height: 1.5;
  max-width: none;
}

/* ============================================================
   HOW OUR PAPERS HELP — STEPS
   ============================================================ */
.steps-section { background: var(--c-off-white); padding-block: var(--sp-20); }

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 2px;
  background: var(--c-purple-100);
  z-index: 0;
}

@media (max-width: 900px) {
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .steps-row::before { display: none; }
}
@media (max-width: 500px) { .steps-row { grid-template-columns: 1fr; } }

.step-card { text-align: center; position: relative; z-index: 1; }

.step-card__num {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-purple-dark) 0%, var(--c-purple-mid) 100%);
  color: var(--c-white);
  font-family: var(--f-heading);
  font-size: 1.375rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
  box-shadow: var(--shadow-btn);
}

.step-card__title {
  font-family: var(--f-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--sp-2);
}
.step-card__body {
  font-size: 0.875rem;
  color: var(--c-text-mid);
  max-width: 22ch;
  margin-inline: auto;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { padding-block: var(--sp-20); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow-card);
  border-left: 3px solid var(--c-purple-100);
  transition: border-left-color var(--t-base), box-shadow var(--t-base);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  border-left-color: var(--c-purple-mid);
  box-shadow: var(--shadow-hover);
}

.testimonial-card__quote {
  font-size: 0.9375rem;
  color: var(--c-text-mid);
  line-height: 1.72;
  font-style: italic;
  flex: 1;
  margin-bottom: var(--sp-4);
  max-width: none;
}
.testimonial-card__attribution {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-text-light);
  font-style: normal;
}

/* ============================================================
   CLOSING CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--c-purple-deep) 0%, var(--c-purple-dark) 60%, var(--c-purple-mid) 100%);
  padding-block: var(--sp-20);
  text-align: center;
  color: var(--c-white);
}
.cta-band h2 { color: var(--c-white); margin-bottom: var(--sp-3); }
.cta-band .lead { color: rgba(255,255,255,0.75); margin-inline: auto; margin-bottom: var(--sp-8); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--c-purple-deep);
  color: rgba(255,255,255,0.55);
  padding-block: var(--sp-16) var(--sp-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-10);
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand__name {
  font-family: var(--f-heading);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: var(--sp-3);
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 34ch;
}

.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: var(--sp-4);
}

.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--c-white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--sp-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  font-size: 0.8125rem;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-stack { display: flex; flex-direction: column; gap: var(--sp-5); }

.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-text-dark);
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--f-body);
  font-size: 0.9375rem;
  color: var(--c-text-dark);
  background: var(--c-white);
  border: 2px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--c-purple-mid);
  box-shadow: 0 0 0 3px rgba(123,47,201,0.12);
}
.form-textarea { min-height: 130px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-hint { font-size: 0.8125rem; color: var(--c-text-light); }

.form-upload-area {
  position: relative;
  border: 2px dashed var(--c-purple-100);
  border-radius: var(--r-md);
  padding: var(--sp-8);
  text-align: center;
  background: var(--c-purple-50);
  transition: border-color var(--t-fast), background var(--t-fast);
  cursor: pointer;
}
.form-upload-area:hover,
.form-upload-area:focus-within {
  border-color: var(--c-purple-mid);
  background: var(--c-purple-100);
}
.form-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.form-upload-area__icon { color: var(--c-purple-mid); margin-bottom: var(--sp-2); line-height: 0; }
.form-upload-area__label { font-size: 0.9375rem; font-weight: 600; color: var(--c-purple-dark); }
.form-upload-area__hint { font-size: 0.8125rem; color: var(--c-text-light); margin-top: var(--sp-1); max-width: none; }

.form-mailto {
  margin-top: var(--sp-4);
  font-size: 0.875rem;
  color: var(--c-text-mid);
}
.form-mailto a { color: var(--c-purple-mid); text-decoration: underline; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--c-purple-dark) 0%, var(--c-purple-mid) 100%);
  color: var(--c-white);
  padding-block: var(--sp-16) var(--sp-12);
}
.page-hero .eyebrow { color: rgba(255,255,255,0.6); margin-bottom: var(--sp-3); }
.page-hero h1 { color: var(--c-white); margin-bottom: var(--sp-4); }
.page-hero .lead { color: rgba(255,255,255,0.78); max-width: 56ch; }

/* ============================================================
   RESOURCE CARDS
   ============================================================ */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}
@media (max-width: 900px) { .resource-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .resource-grid { grid-template-columns: 1fr; } }

.resource-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.resource-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.resource-card--soon { opacity: 0.75; }
.resource-card--soon:hover { transform: none; box-shadow: var(--shadow-card); }

.resource-card__header {
  padding: var(--sp-6);
  background: linear-gradient(135deg, var(--c-purple-dark) 0%, var(--c-purple-mid) 100%);
}
.resource-card--soon .resource-card__header { background: #4B5563; }

.resource-card__subject {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  display: block;
  margin-bottom: var(--sp-2);
}
.resource-card__title {
  font-family: var(--f-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.25;
}

.resource-card__body {
  padding: var(--sp-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.resource-card__desc {
  font-size: 0.9rem;
  color: var(--c-text-mid);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--sp-4);
  max-width: none;
}
.resource-card__price {
  font-family: var(--f-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-purple-dark);
  margin-bottom: var(--sp-4);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge--purple { background: var(--c-purple-100); color: var(--c-purple-dark); }
.badge--grey   { background: #F3F4F6; color: #6B7280; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--sp-16);
  align-items: start;
}
@media (max-width: 900px) { .about-layout { grid-template-columns: 1fr; } }

.about-portrait {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-hover);
  object-fit: cover;
  aspect-ratio: 3/4;
  background: var(--c-purple-100);
}

.about-portrait--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-purple-50) 0%, var(--c-purple-100) 100%);
  border: 2px dashed var(--c-purple-100);
  font-size: 0.875rem;
  color: var(--c-text-light);
  text-align: center;
  padding: var(--sp-8);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-10);
}
@media (max-width: 900px) { .pillars-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .pillars-grid { grid-template-columns: 1fr; } }

.pillar-card {
  padding: var(--sp-6);
  background: var(--c-purple-50);
  border-radius: var(--r-lg);
  border-left: 3px solid var(--c-purple-mid);
  transition: box-shadow var(--t-base);
}
.pillar-card:hover { box-shadow: var(--shadow-card); }
.pillar-card__num {
  font-family: var(--f-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-purple-mid);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.pillar-card h3 { font-size: 1rem; margin-bottom: var(--sp-2); }
.pillar-card p { font-size: 0.875rem; color: var(--c-text-mid); max-width: none; }

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}
.cred-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
}
.cred-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-purple-100);
  color: var(--c-purple-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}
.cred-item__main { font-size: 0.9375rem; font-weight: 600; color: var(--c-text-dark); }
.cred-item__sub { font-size: 0.8125rem; color: var(--c-text-light); max-width: none; }

/* ============================================================
   SCHOOLS PAGE
   ============================================================ */
.schools-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}
@media (max-width: 900px) { .schools-services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .schools-services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--c-purple-mid);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.service-card h3 { margin-bottom: var(--sp-2); }
.service-card p { font-size: 0.9rem; color: var(--c-text-mid); max-width: none; }

.rate-highlight {
  background: linear-gradient(135deg, var(--c-purple-dark) 0%, var(--c-purple-mid) 100%);
  color: var(--c-white);
  border-radius: var(--r-xl);
  padding: var(--sp-12) var(--sp-10);
  text-align: center;
  max-width: 480px;
  margin-inline: auto;
}
.rate-highlight__amount {
  font-family: var(--f-heading);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: var(--sp-1);
}
.rate-highlight__unit { font-size: 1.125rem; opacity: 0.8; }
.rate-highlight__label { font-size: 0.875rem; opacity: 0.7; margin-top: var(--sp-1); max-width: none; }

.pay-scales-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}
.pay-scale-tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: rgba(255,255,255,0.15);
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.25);
}

/* ============================================================
   PRIVACY / PROSE PAGE
   ============================================================ */
.prose-page { padding-block: var(--sp-20); }

.prose-content {
  max-width: 780px;
}
.prose-content h2 {
  font-size: 1.25rem;
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-3);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--c-border);
}
.prose-content h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.prose-content p,
.prose-content li {
  font-size: 0.9375rem;
  color: var(--c-text-mid);
  line-height: 1.75;
  margin-bottom: var(--sp-3);
  max-width: 72ch;
}
.prose-content ul {
  list-style: disc;
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
}
.prose-content a { color: var(--c-purple-mid); text-decoration: underline; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-routes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}
@media (max-width: 680px) { .contact-routes { grid-template-columns: 1fr; } }

.contact-route-card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-10);
  background: var(--c-white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  border: 2px solid var(--c-border);
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.contact-route-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--c-purple-100);
}
.contact-route-card h2 { font-size: 1.375rem; margin-bottom: var(--sp-2); }
.contact-route-card p  { font-size: 0.9375rem; color: var(--c-text-mid); margin-bottom: var(--sp-6); flex: 1; }

/* Compact page hero — shorter variant for utility pages */
.page-hero--compact {
  padding-block: var(--sp-10) var(--sp-8);
}

/* ============================================================
   REDUCED MOTION — override all animations
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .svg-tick       { animation: none; stroke-dashoffset: 0; }
  .svg-bar-fill   { animation: none; }
  .svg-el         { animation: none; opacity: 1; }
  .btn, .path-card, .trust-card, .card, .service-card, .resource-card {
    transition: none;
  }
}

/* Programmatic focus target in the resource finder: no visible ring */
.finder-step__q:focus, .finder-result:focus { outline: none; }

/* Clickable service cards (home page) */
.service-card--link { display: block; color: inherit; text-decoration: none; }
.service-card--link .badge { margin-bottom: var(--sp-3); }
