/* Generated by tools/build.mjs from src/css/shared/*.css. Do not edit this file. */

/* ---- 01-base.css ---- */
/* Design tokens, reset and base typography.
   Values come from reference/DESIGN.md (measured on the original site). */
:root {
  /* palette */
  --teal: #488D95;
  --brown: #8E6550;
  --black: #000000;
  --white: #FFFFFF;
  --navy: #324158;
  --light-teal: #D1E3E5;
  --beige: #DDCBB7;
  --off-white: #FCFCFC;
  --blue-grey: #D3DAE5;
  --tan: #E7D2C0;
  --mid-blue: #5F89AB;
  --grey-hover: #666666;
  --card-border: rgba(209, 227, 229, 0.75);

  /* font stacks. Names in comments are the original (paid) fonts these replace. */
  --font-body: 'Sarabun', sans-serif;                                  /* Sarabun */
  --font-title: 'Rubik', sans-serif;                                   /* Rubik Medium */
  --font-light: 'Rubik', sans-serif;                                   /* Rubik Light */
  --font-button: 'League Spartan', sans-serif;                         /* League Spartan */
  --font-poppins: 'Poppins', sans-serif;                               /* Poppins SemiBold */
  --font-avenir-heavy: 'Nunito Sans', sans-serif;                      /* Avenir Heavy (weight 800) */
  --font-avenir-light: 'Nunito Sans', sans-serif;                      /* Avenir Light (weight 300) */
  --font-futura: 'Jost', sans-serif;                                   /* Futura Book */
  --font-helvetica: 'Arimo', Arial, Helvetica, sans-serif;             /* Helvetica Roman and Bold */

  /* layout */
  --header-height: 64px;
  --page-width: 1440px;       /* above this width the page stays a centred column */
  --column-width: 980px;      /* the original Wix content grid */
  --gutter: 20px;
}

@media (min-width: 1024px) {
  :root { --header-height: 62px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

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

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 2px;
}

[hidden] { display: none !important; }

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 200;
  padding: 8px 14px;
  background: var(--white);
  color: var(--teal);
}
.skip-link:focus { top: 8px; }

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

/* Section headings in Rubik, as "Glimpses from ProtoVillage" and "Blog" */
.section-title {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 1.26px;
  line-height: normal;
  color: var(--teal);
  text-align: center;
}
@media (min-width: 1200px) {
  .section-title { font-size: 33px; letter-spacing: 2.7px; }
}

/* ---- 02-header.css ---- */
/* Sticky header, desktop nav with dropdowns, mobile menu.
   Markup: src/partials/header.html. Behaviour: src/js/site.js. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: var(--white);
}

.site-header__inner {
  position: relative;
  max-width: var(--column-width);
  height: 100%;
  margin: 0 auto;
}

.site-header__logo {
  position: absolute;
  left: 20px;
  top: 14px;
  display: block;
}
.site-header__logo img { width: 150px; height: auto; }

/* hamburger */
.site-header__toggle {
  position: absolute;
  right: 6px;
  top: 8px;
  z-index: 3;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: none;
}
.site-header__bars,
.site-header__bars::before,
.site-header__bars::after {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  content: "";
  transition: transform 0.15s, top 0.15s, opacity 0.15s;
}
.site-header__bars { top: 23px; }
.site-header__bars::before { left: 0; top: -8px; }
.site-header__bars::after { left: 0; top: 8px; }
.is-menu-open .site-header__bars { background: transparent; }
.is-menu-open .site-header__bars::before { top: 0; transform: rotate(45deg); }
.is-menu-open .site-header__bars::after { top: 0; transform: rotate(-45deg); }

/* ---- mobile menu: a full-screen white panel ---- */
.site-nav {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: none;
  padding: 88px 40px 40px;
  overflow-y: auto;
  background: var(--white);
}
.is-menu-open .site-nav { display: block; }

.site-nav__link,
.site-nav__sub a {
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  color: var(--teal);
}
.site-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 49px;
  padding: 8px 10px;
  border: 0;
  background: none;
  text-align: left;
}
.site-nav__link[aria-current="page"],
.site-nav__sub a[aria-current="page"],
.site-nav__item--group:has([aria-current="page"]) > .site-nav__toggle { color: var(--brown); }

.site-nav__toggle::after {
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.15s;
  content: "";
}
.site-nav__toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translate(-3px, -3px); }

.site-nav__sub { display: none; padding: 0 0 6px 24px; }
.site-nav__item.is-open > .site-nav__sub { display: block; }
.site-nav__sub a {
  display: block;
  padding: 10px 10px;
  font-size: 18px;
  font-weight: 600;
}

/* ---- desktop: inline nav and hover dropdowns ---- */
@media (min-width: 1024px) {
  .site-header__logo { left: 26px; top: 13px; }
  .site-header__logo img { width: 160px; }
  .site-header__toggle { display: none; }

  .site-nav {
    position: absolute;
    inset: 0 -14px auto auto;
    z-index: auto;
    display: block;
    padding: 8px 0 0;
    overflow: visible;
    background: none;
  }
  .site-nav__list { display: flex; align-items: flex-start; }
  .site-nav__item { position: relative; margin: 4px 4px; }
  .site-nav__item--mobile-only { display: none; }

  .site-nav__link {
    display: block;
    width: auto;
    min-height: 0;
    padding: 10px 18.1px;
    font-family: var(--font-avenir-heavy);
    font-weight: 800;
    font-size: 11.5px;
    line-height: 16px;
    letter-spacing: 0.7px;
    transition: color 0.08s linear;
  }
  .site-nav__link:hover { color: var(--brown); }
  .site-nav__toggle::after { display: none; }

  .site-nav__sub {
    position: absolute;
    left: 50%;
    top: 36px;                       /* 4 px above the bottom of the nav item */
    z-index: 5;
    display: block;
    padding: 10px;
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%);
    transition: opacity 0.12s linear, visibility 0s linear 0.12s;
  }
  .site-nav__item:hover > .site-nav__sub,
  .site-nav__item:focus-within > .site-nav__sub,
  .site-nav__item.is-open > .site-nav__sub {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }
  .site-nav__item.is-dismissed > .site-nav__sub { opacity: 0; visibility: hidden; }

  .site-nav__sub li + li { margin-top: 8px; }
  .site-nav__sub a {
    display: block;
    min-width: 100%;
    padding: 10px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    letter-spacing: 0.8px;
    white-space: nowrap;
    transition: color 0.08s linear;
  }
  .site-nav__sub a:hover { color: var(--brown); }
}

/* ---- 03-footer.css ---- */
/* Footer: one pale band with a centred line. */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  padding: 32px var(--gutter);
  background: var(--light-teal);
  text-align: center;
}
.site-footer__text {
  font-size: 15px;
  line-height: normal;
}
@media (min-width: 1200px) {
  .site-footer { height: 115px; min-height: 0; margin-top: -3px; padding: 0; }   /* the original band overlaps the section above by 3 px */
  .site-footer__text { font-size: 16px; }
}

/* ---- 04-components.css ---- */
/* Reusable components. Each block says which markup it styles; see src/README.md for snippets. */

/* ---------- Buttons ---------- */

/* Outline button (hero LEARN MORE). <a class="btn btn--outline">LEARN MORE <span class="btn__chevron" aria-hidden="true"></span></a> */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--outline {
  gap: 9px;
  width: 172px;
  height: 43px;
  padding: 0 0 0 1px;
  background: var(--white);
  border-color: var(--brown);
  color: var(--brown);
  font-family: var(--font-button);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.9px;
  transition: background-color 0.08s linear, color 0.08s linear;
}
.btn--outline:hover { background: var(--brown); color: var(--white); }
.btn__chevron {
  width: 7px;
  height: 7px;
  margin-left: -2px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

/* Pill button (form Submit). <button class="btn btn--pill" type="submit">Submit</button> */
.btn--pill {
  width: 100%;
  height: 41.2px;
  padding: 11px 15px;
  border: 0;
  border-radius: 100px;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-helvetica);
  font-size: 16px;
  line-height: 19.2px;
  transition: background-color 0.2s ease-in-out;
}
.btn--pill:hover { background: var(--grey-hover); }

/* ---------- Teal text card ----------
   <article class="teal-card"><p class="teal-card__text">..</p><p class="teal-card__strong">..</p></article> */
.teal-card {
  padding: 36px 24px;
  background: var(--teal);
  color: var(--white);
}
.teal-card__text { font-size: 19.5px; line-height: 24px; }
.teal-card__strong { font-size: 20.7px; line-height: 29px; }

/* ---------- Blog post card ----------
   <article class="post-card"><a class="post-card__link" href="/post/slug/"><img class="post-card__image" ..>
   <div class="post-card__body"><p class="post-card__meta"><span>date</span><span>n min read</span></p>
   <div class="post-card__text"><h3 class="post-card__title">..</h3><p class="post-card__excerpt">..</p></div></div></a></article> */
.post-card {
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--white);
}
.post-card__link { display: block; height: 100%; }
.post-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.post-card__body {
  height: 230px;
  padding: 36px 24px 0;
}
@media (min-width: 1200px) { .post-card__body { height: 266px; } }
.post-card__meta {
  display: flex;
  align-items: center;
  height: 16px;
  font-size: 12px;
}
.post-card__meta span + span::before {
  display: inline-block;
  width: 2px;
  height: 2px;
  margin: 0 8px 2px 8px;
  border-radius: 50%;
  background: var(--black);
  vertical-align: middle;
  content: "";
}
.post-card__text {
  display: flex;
  flex-direction: column;
  height: 132px;
  margin-top: 22px;
  overflow: hidden;
}
.post-card__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 30.8px;
}
.post-card__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;                  /* the ellipsis the original shows after three lines */
  flex: none;
  height: calc(var(--lines, 3) * 24px);   /* set by site.js so no half line is ever shown */
  margin-top: 12px;
  overflow: hidden;
  font-size: 16px;
  line-height: 24px;
}
.post-card__link:hover .post-card__title { color: var(--brown); }

/* ---------- Testimonial card ----------
   <figure class="testimonial-card"><figcaption class="testimonial-card__name">Name</figcaption>
   <blockquote class="testimonial-card__quote"><p>..</p></blockquote><svg class="testimonial-card__mark">..</svg></figure> */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 77px 40px 40px;
  background: var(--teal);
  color: var(--white);
  text-align: center;
}
.testimonial-card__name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 21px;
  line-height: 18px;
  color: #FFFFFE;
}
.testimonial-card__quote {
  margin-top: 27px;
  font-family: var(--font-light);
  font-weight: 300;
  font-size: 17px;
  line-height: 25.5px;
}
.testimonial-card__mark {
  width: 36px;
  height: 28px;
  margin-top: 34px;
  fill: var(--white);
}

/* ---------- Form fields ----------
   <div class="field"><label class="field__label" for="id">Name <span aria-hidden="true">*</span></label><input class="field__input" id="id"></div>
   Use <!-- FORM: not connected, see FORMS.md --> above every form until forms are wired up. */
.field { display: flex; flex-direction: column; }
.field__label {
  height: 17px;
  margin-bottom: 8px;
  font-family: var(--font-helvetica);
  font-size: 14px;
  line-height: 17px;
}
.field__input {
  width: 100%;
  height: 38px;
  padding: 0 12px 0 0;
  border: 0;
  border-bottom: 2px solid var(--black);
  border-radius: 0;
  background: var(--white);
  font-family: var(--font-helvetica);
  font-size: 16px;
}
.field__input:focus-visible { outline-offset: 0; }
.field__input--area { height: 92px; padding-top: 6px; resize: none; }
.field__phone { display: flex; border-bottom: 2px solid var(--black); }
.field__phone .field__input { border-bottom: 0; }
.field__country {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  width: 64px;
  padding-left: 14px;
}
.field__country svg { fill: none; stroke: var(--black); stroke-width: 1.2; }
.field__country svg:first-child { width: 18px; height: 18px; }
.field__chevron { width: 10px; height: 6px; stroke-width: 1.2; }
.field__country select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.form__note {
  margin-top: 8px;
  font-family: var(--font-helvetica);
  font-size: 14px;
  color: var(--brown);
}
.form__note:empty { display: none; }

/* ---------- Slideshow (hero) ----------
   <div class="slideshow" data-slideshow><div class="slideshow__slide" data-slide>..</div>
   <button class="slideshow__arrow slideshow__arrow--prev" data-prev>..</button> .. <div class="slideshow__dots" data-dots></div></div>
   No autoplay; slides swap instantly. JS builds the dots. */
.slideshow { position: relative; height: 100%; overflow: hidden; background: var(--blue-grey); }
.slideshow__slide { position: absolute; inset: 0; background: var(--slide-bg, var(--blue-grey)); }
.slideshow__poster { width: 100%; height: 100%; object-fit: cover; }

.slideshow__arrow,
.gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  padding: 0;
  border: 0;
  background: none;
  transform: translateY(-50%);
  transition: opacity 0.1s;
}
.slideshow__arrow { width: 18px; height: 38px; }
.slideshow__arrow svg,
.gallery__arrow svg { width: 100%; height: 100%; fill: none; stroke: var(--white); stroke-width: 1; stroke-linejoin: miter; }
.slideshow__arrow:hover,
.gallery__arrow:hover { opacity: 0.6; }
.slideshow__arrow--prev { left: 12px; }
.slideshow__arrow--next { right: 12px; }

.slideshow__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.slideshow__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--white);
}
.slideshow__dot[aria-current="true"] { background: rgba(255, 255, 255, 0.46); }
@media (min-width: 1200px) {
  .slideshow__arrow--prev { left: 78px; }
  .slideshow__arrow--next { right: 78px; }
  .slideshow__dots { bottom: 46px; }
}

/* ---------- Gallery slider with lightbox ----------
   <div class="gallery__slider" data-gallery data-start="2"><div class="gallery__track"><button class="gallery__item" data-gallery-item><img ..></button>..</div>
   <button class="gallery__arrow gallery__arrow--prev" data-gallery-prev>..</button>..</div>
   Item width is --item-w; JS sets --rel (position relative to the centred item) on every item. */
.gallery__slider {
  --item-w: min(617px, 64vw);
  position: relative;
  height: calc(var(--item-w) * 463 / 617);
  overflow: hidden;
}
.gallery__track { position: absolute; inset: 0; }
.gallery__item {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--item-w);
  height: 100%;
  margin: 0 0 0 calc(var(--item-w) / -2);
  padding: 0;
  border: 0;
  background: none;
  transform: translateX(calc(var(--rel, 0) * (var(--item-w) + 10px)));
  transition: transform 0.4s ease;
}
.gallery__item.is-jump { transition: none; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__arrow { width: 23px; height: 39px; opacity: 0.9; }
.gallery__arrow svg { width: 18px; height: 38px; margin: 0 auto; filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.35)); }
.gallery__arrow--prev { left: 8px; }
.gallery__arrow--next { right: 8px; }
@media (min-width: 1200px) {
  .gallery__arrow--prev { left: 23px; }
  .gallery__arrow--next { right: 23px; }
}

/* Lightbox (built by site.js when a gallery item is clicked) */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 64px;
  background: var(--white);
}
.lightbox__image { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
}
.lightbox__close { top: 8px; right: 12px; }
.lightbox__close::before, .lightbox__close::after {
  position: absolute;
  left: 8px;
  top: 21px;
  width: 28px;
  height: 2px;
  background: var(--black);
  content: "";
  transform: rotate(45deg);
}
.lightbox__close::after { transform: rotate(-45deg); }
.lightbox__prev, .lightbox__next { top: 50%; margin-top: -22px; }
.lightbox__prev { left: 8px; }
.lightbox__next { right: 8px; }
.lightbox__prev svg, .lightbox__next svg { width: 18px; height: 38px; margin: 0 auto; fill: none; stroke: var(--black); stroke-width: 1.2; }
.lightbox__count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 14px; color: var(--grey-hover); }

/* ---- 05-tabs.css ---- */
/* Tabs component. Structure only; each page styles its own variant (colours, sizes) in its page stylesheet.
   <div class="tabs" data-tabs>
     <div class="tabs__bar">
       <div class="tabs__list" role="tablist" aria-label="..."> <button class="tabs__tab" role="tab" id="a" aria-controls="a-panel" aria-selected="true">..</button> .. </div>
       <button class="tabs__more" type="button" data-tabs-more aria-label="Show more tabs"><svg>..</svg></button>   (optional scroll arrow)
     </div>
     <div class="tabs__panel" role="tabpanel" id="a-panel" aria-labelledby="a"> .. (may hold a nested .tabs) </div>
   </div>
   Behaviour is in src/js/site.js (section TABS). */
.tabs { position: relative; }
.tabs__bar { position: relative; }
.tabs__list {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab {
  flex: none;
  margin: 0;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.tabs__tab:focus-visible { outline-offset: -2px; }
.tabs__more {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  padding: 0;
  border: 0;
  background: #EEEDFE;
}
.tabs__more svg { width: 8px; height: 12px; fill: none; stroke: var(--black); stroke-width: 1.5; }
.tabs__more[hidden] { display: none; }
.tabs__panel[hidden] { display: none; }

/* ---- 06-school.css ---- */
/* Shared styles for the school pages: /why-school/, /curriculum/, /where-to-from-here/ and /inspiration-and-vision/.
   Mobile first; the desktop layout (matching the original at 1440 px) starts at 1200 px.
   Poppins (light) is loaded by the pages that use the matrix, see the @import at the top of their stylesheets. */

/* ---------- Curriculum: matrix of learning (a real table) ---------- */
.curriculum__head { padding: 28px var(--gutter) 0; }
.curriculum__title {
  font-family: var(--font-body);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--brown);
}
.curriculum__lead {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--teal);
}

.matrix {
  margin: 20px 0 0;
  padding: 0 var(--gutter) 8px;
  overflow-x: auto;                 /* the table scrolls inside its own box on narrow screens */
  -webkit-overflow-scrolling: touch;
}
.matrix:focus-visible { outline-offset: -2px; }
.matrix__table {
  --gap-a: 14px; --gap-b: 10px; --gap-c: 14px; --gap-d: 10px;
  width: 100%;
  min-width: 600px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0 8px;
}
.matrix__table col.matrix__col--need { width: 24.3%; }
.matrix__table col.matrix__col--self { width: 13%; }
.matrix__table col.matrix__col--env { width: 22.6%; }
.matrix__table col.matrix__col--tools { width: 21.6%; }
.matrix__table col.matrix__col--expr { width: 18.5%; }
.matrix__table thead th {
  padding: 0 0 8px;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
  color: #045184;
}
.matrix__table tbody th,
.matrix__table tbody td {
  height: 64px;
  padding: 0;
  background: #E8EDEA;
  background-clip: padding-box;
}
.matrix__table tbody th {
  padding: 0 10px;
  font-family: 'Poppins', var(--font-poppins);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  color: #0C4426;
}
/* the transparent right border makes the gaps between the columns without extra cells */
.matrix__table tbody th { border-right: var(--gap-a) solid transparent; }
.matrix__table tbody td:nth-child(2) { border-right: var(--gap-b) solid transparent; }
.matrix__table tbody td:nth-child(3) { border-right: var(--gap-c) solid transparent; }
.matrix__table tbody td:nth-child(4) { border-right: var(--gap-d) solid transparent; }
.matrix__table thead th:nth-child(1) { border-right: var(--gap-a) solid transparent; }

/* ---------- Curriculum: the 4 columns (learning journeys) ---------- */
.journeys { background: var(--light-teal); padding: 40px var(--gutter) 44px; }
.journeys__inner { max-width: 1044px; margin: 0 auto; }
.journeys__title { font-size: 30px; font-weight: 700; line-height: 1.3; }
.journeys__list { margin: 22px 0 0; }
.journeys__row { display: grid; grid-template-columns: 1fr; }
.journeys__term {
  margin: 0;
  font-family: var(--font-light);
  font-size: 21px;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 4px;
}
.journeys__desc {
  margin: 0 0 26px;
  padding-left: 14px;
  border-left: 1px solid rgba(0, 0, 0, 0.35);
  font-family: var(--font-light);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
}

/* ---------- Curriculum: the 9 rows (missions) ---------- */
.missions { padding: 44px var(--gutter) 52px; text-align: center; font-family: var(--font-light); font-weight: 300; background: var(--beige); border-top: 5px solid var(--white); border-bottom: 6px solid var(--white); }
.missions__inner { max-width: 940px; margin: 0 auto; }
.missions__title { font-family: var(--font-title); font-size: 24px; font-weight: 700; letter-spacing: 0.05em; line-height: 1.2; }
.missions__rule { width: 42px; height: 5px; margin: 20px auto 18px; border: 0; border-top: 3px solid var(--white); }
.missions__text { font-size: 18px; line-height: 1.4; text-align: left; }
.missions__label { margin-top: 24px; font-size: 18px; font-weight: 500; line-height: 1.4; }
.missions__criteria { margin-top: 24px; font-size: 18px; line-height: 1.4; }

/* ---------- Where to from here: year tabs ---------- */
.year-tabs { max-width: 936px; margin: 0 auto; }
.year-tabs .tabs__list { overflow: visible; }
.year-tabs .tabs__tab {
  flex: 1 1 0;
  min-width: 0;
  padding: 16px 6px;
  background: var(--light-teal);
  color: var(--black);
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
  border: 1px solid var(--teal);
}
.year-tabs .tabs__tab + .tabs__tab { margin-left: -1px; }
.year-tabs .tabs__tab[aria-selected="true"] { background: var(--teal); color: var(--white); }
.year-tabs__panel {
  padding: 28px 24px 36px;
  background: var(--light-teal);
  font-family: var(--font-light);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.8;
}
.year-tabs__panel p + p { margin-top: 0; }
.year-tabs__text--bold { font-weight: 500; }

/* ---------- Where to from here: closing statement ---------- */
.dream { padding: 40px var(--gutter); text-align: center; font-family: var(--font-light); font-weight: 300; font-size: 24px; line-height: 1.6; }
.dream__text { max-width: 900px; margin: 0 auto; }

@media (min-width: 760px) {
  .curriculum__title { font-size: 44px; }
  .curriculum__lead { font-size: 18px; }
  .matrix__table { border-spacing: 0 10px; }
  .matrix__table tbody th, .matrix__table tbody td { height: 80px; }
  .matrix__table tbody th { font-size: 17px; }
  .matrix__table thead th { font-size: 20px; }
  .journeys__title { font-size: 34px; }
  .missions__title { font-size: 30px; }
  .missions__text, .missions__label, .missions__criteria { font-size: 20px; }
  .year-tabs .tabs__tab { padding: 18px 20px; font-size: 16px; }
  .year-tabs__panel { padding: 48px 48px 56px; font-size: 21px; }
  .dream { font-size: 30px; }
}

@media (min-width: 1200px) {
  .curriculum__head { max-width: 980px; margin: 0 auto; padding: 32px 29px 0; }
  .curriculum__title { font-size: 56px; line-height: 67.2px; }
  .curriculum__lead { margin-top: 16px; font-size: 18px; line-height: 23px; }
  .matrix { max-width: 980px; margin: 20px auto 0; padding: 0 28px 49px 22px; overflow: visible; }
  .matrix__table { --gap-a: 43px; --gap-b: 25px; --gap-c: 46px; --gap-d: 29px; width: 930px; min-width: 0; border-spacing: 0 10.5px; }
  .matrix__table thead th { height: 35.5px; padding: 0 0 7px; font-size: 23px; line-height: 25.3px; vertical-align: top; }
  .matrix__table tbody th, .matrix__table tbody td { height: 89.7px; }
  .matrix__table tbody th { font-size: 18px; line-height: 25.2px; }

  .journeys { padding: 47px var(--gutter) 82px; }
  .journeys__inner { display: grid; grid-template-columns: 442px 602px; }
  .journeys__title { align-self: start; margin-top: 239px; width: 249px; font-size: 38px; line-height: 50px; }
  .journeys__list { margin: 0; }
  .journeys__row { grid-template-columns: 169px 1fr; }
  .journeys__term { padding-right: 18px; text-align: right; font-size: 23px; line-height: 28px; margin: 0; }
  .journeys__desc { margin: 0; padding: 0 30px 33px 21px; font-size: 16px; line-height: 28.8px; }
  .journeys__row:last-child .journeys__desc { padding-bottom: 0; }

  .missions { padding: 45px 0 59px; }
  .missions__title { font-size: 36px; line-height: 43px; }
  .missions__text { max-width: 923px; margin: 0 auto; font-size: 23px; line-height: 32.2px; }
  .missions__label { margin-top: 38px; font-size: 23px; line-height: 32.2px; }
  .missions__criteria { margin-top: 38px; font-size: 23px; line-height: 32.2px; }
}
