/* Legacy case study stylesheet.
   Shared by the four case studies built on the Gold-Standard template:
   Thinking Schools Academy Trust, Star Academies, Discovery Schools Academies Trust,
   and the Cyber Readiness story. Extracted from their identical inline styles on
   29 July 2026 so that a change to legacy case study styling is made once, here,
   rather than four times. Page-specific rules remain inline on each page and load
   after this file, so they continue to take precedence. */

html { scroll-behavior: smooth; }
body {
      font-family: Arial, Helvetica, sans-serif;
      font-size: 16px;
      line-height: 1.65;
      color: #2C2C2C;
      background: #ffffff;
    }
h1, h2, h3, h4 { font-family: Arial, Helvetica, sans-serif; line-height: 1.25; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.section { padding: 72px 0; }
.hero::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
      background: linear-gradient(90deg, var(--orange) 0%, var(--teal) 100%);
    }
.hero-eyebrow {
      display: inline-block; background: var(--orange); color: #ffffff;
      font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
      padding: 5px 14px; border-radius: 3px; margin-bottom: 24px;
    }
.hero h1 { color: #ffffff; font-size: clamp(28px, 4vw, 44px); font-weight: 700; max-width: 760px; margin-bottom: 16px; }
.stat-bar__item:last-child { border-right: none; }
.stat-n1 { color: #ffffff; }
.stat-n2 { color: var(--amber); }
.stat-n3 { color: var(--teal); }
.stat-n4 { color: #ffffff; }
.stat-n5 { color: var(--amber); }
.stat-bar__label { color: var(--sky-blue); font-size: 12px; line-height: 1.35; }
.profile-intro h2 { color: var(--blue); font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.profile-intro p { color: var(--charcoal); font-size: 16px; margin-bottom: 14px; }
.profile-table { background: var(--pale-blue); border-radius: 6px; overflow: hidden; border: 1px solid var(--sky-blue); }
.profile-table__header {
      background: var(--blue); color: #ffffff; font-size: 12px; font-weight: 700;
      letter-spacing: 1px; text-transform: uppercase; padding: 12px 20px;
    }
.profile-table__row { display: flex; padding: 11px 20px; border-bottom: 1px solid var(--sky-blue); font-size: 14px; }
.profile-table__row:last-child { border-bottom: none; }
.profile-table__row:nth-child(odd) { background: #ffffff; }
.profile-table__val { color: var(--charcoal); font-weight: 400; }
.challenge-bg h2 { color: var(--blue); font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.challenge-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.challenge-card {
      background: #ffffff; border-radius: 6px; padding: 24px;
      border-left: 4px solid var(--orange); box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    }
.challenge-card h4 { color: var(--blue); font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.challenge-card p { color: var(--charcoal); font-size: 14px; line-height: 1.55; }
.step-num--blue { background: var(--blue); }
.step-num--orange { background: var(--orange); }
.step-num--dark-teal { background: var(--dark-teal); }
.step-num--deep-navy { background: var(--deep-navy); }
.callout p { color: var(--charcoal); font-size: 14px; line-height: 1.6; }
.callout strong { color: var(--blue); }
.timeline-bg h2 { color: var(--blue); font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.timeline { position: relative; }
.timeline::before { content: ''; position: absolute; left: 119px; top: 0; bottom: 0; width: 3px; background: var(--sky-blue); }
.timeline-item { display: flex; gap: 32px; margin-bottom: 8px; position: relative; }
.timeline-date { width: 120px; flex-shrink: 0; text-align: right; padding-top: 18px; }
.timeline-date__day { font-size: 13px; font-weight: 700; color: var(--blue); display: block; }
.timeline-date__label { font-size: 11px; color: var(--grey); display: block; }
.timeline-dot-wrap { width: 0; flex-shrink: 0; position: relative; }
.timeline-dot { width: 16px; height: 16px; border-radius: 50%; position: absolute; left: -6px; top: 22px; border: 3px solid #ffffff; box-shadow: 0 0 0 2px var(--blue); }
.timeline-dot--orange { background: var(--orange); box-shadow: 0 0 0 2px var(--orange); }
.timeline-dot--blue { background: var(--blue); }
.timeline-dot--dark-teal { background: var(--dark-teal); box-shadow: 0 0 0 2px var(--dark-teal); }
.timeline-dot--teal { background: var(--teal); box-shadow: 0 0 0 2px var(--dark-teal); }
.timeline-content { background: #ffffff; border-radius: 6px; padding: 18px 24px; margin-left: 32px; flex: 1; border-left: 3px solid var(--blue); box-shadow: 0 1px 4px rgba(0,0,0,0.06); margin-bottom: 12px; }
.timeline-content--orange { border-left-color: var(--orange); }
.timeline-content--teal { border-left-color: var(--dark-teal); }
.timeline-content--green { border-left-color: #5abf8e; }
.timeline-content h4 { color: var(--blue); font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.timeline-content p { color: var(--charcoal); font-size: 14px; line-height: 1.55; }
.timeline-content .badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 2px 8px; border-radius: 3px; margin-bottom: 8px; }
.badge--teal { background: var(--light-teal); color: var(--dark-teal); }
.badge--green { background: #e8f5ef; color: #276749; }
.badge--blue { background: var(--pale-blue); color: var(--blue); }
.quotes-bg h2 { color: #ffffff; font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.quote-card__attr { color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.cta-bg h2 { color: #ffffff; font-size: 30px; font-weight: 700; margin-bottom: 14px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; font-size: 14px; font-weight: 700; padding: 14px 28px; border-radius: 4px; text-decoration: none; letter-spacing: 0.5px; }
.btn--orange { background: var(--orange); color: #ffffff; }
.btn--outline { border: 2px solid var(--teal); color: var(--teal); background: transparent; }
.pull-quote p { font-size: 17px; line-height: 1.65; font-style: italic; margin-bottom: 10px; }
.pull-quote--light { background: var(--pale-blue); border-left-color: var(--blue); }
.pull-quote--light p { color: var(--charcoal); }
.pull-quote--teal { background: rgba(255,255,255,0.55); border-left-color: var(--dark-teal); }
.pull-quote--teal p { color: var(--charcoal); }
.partner-carousel .pc-label { color: #8ea4c2; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; text-align: center; margin-bottom: 16px; font-weight: 700; }
.pc-track { display: flex; gap: 42px; align-items: center; animation: scroll-x 36s linear infinite; width: max-content; }
.partner-carousel:hover .pc-track { animation-play-state: paused; }
.pc-track .pc-item { display: flex; align-items: center; white-space: nowrap; }
.pc-track .pc-item.pc-text { color: #e4ecf6; font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; opacity: .85; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 9px 18px; }
.pc-track a.pc-item { text-decoration: none; }
.pc-track a.pc-item.pc-text:hover { border-color: var(--teal); color: #fff; }
.pc-accreds { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: 6px 24px 4px; }
.pc-accreds a.pc-badge:hover { border-color: var(--teal); color: #fff; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .pc-track { animation: none; } }
.pc-track--t1 { animation: scroll-x-rev 42s linear infinite; }
@keyframes scroll-x-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.pc-track--t2 { margin-top: 4px; animation-duration: 34s; }
.pc-track--t2 .pc-item.pc-text { font-size: .9rem; padding: 7px 14px; opacity: .78; }

/* ------------------------------------------------------------------ Mobile navigation (N-098)
   Added 29 July 2026. Below 980px these pages set .site-nav to display:none, and because they
   do not load site.js there was no menu button to take its place. A visitor on a phone or a
   portrait tablet therefore had no header navigation at all: logo, call to action, story,
   footer. The five links are shown instead as a single horizontally scrollable row beneath the
   logo. No JavaScript, so there is nothing to break and it works with scripting disabled.

   Two deliberate choices:
   - Specificity. '.site-header .site-nav' scores 0-2-0 and so beats each page's own inline
     '.site-nav' rule at 0-1-0 regardless of load order. That means no page markup changes and
     no !important, and the four HTML files keep their approved content untouched.
   - The print stylesheet still hides the nav with !important, so the customer approval PDFs
     are unaffected. Verified.

   Redundant once these pages move onto the shared template (N-097), at which point they
   inherit the working header and this block should be deleted.

   Verified 29 July 2026 against the live staging page in 390px and 1200px iframes: nav visible
   and scrollable at 320 to 980px, five links at 40px tall each, no horizontal page overflow at
   any width from 320 to 1024px, and the desktop header byte-for-byte unchanged at 71px. */
@media (max-width: 980px) {
  .site-header .site-header__inner { flex-wrap: wrap; gap: 0 16px; padding: 10px 20px; }
  .site-header .brand-logo img { height: 34px; }
  .site-header .header-cta { margin-left: auto; }
  .site-header .site-nav {
    display: flex; order: 3; flex-basis: 100%; margin: 6px 0 0; gap: 20px;
    overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; border-top: 1px solid #e6e9ee; padding-top: 2px;
  }
  .site-header .site-nav::-webkit-scrollbar { display: none; }
  .site-header .site-nav a { flex: 0 0 auto; padding: 9px 0; font-size: 13.5px; }
}
/* Keep the call to action on one line on the narrowest phones; at 390px it previously wrapped
   to two lines and made the button 63px tall. */
@media (max-width: 420px) {
  .site-header .header-cta { font-size: 12px; padding: 9px 13px; }
}
