@font-face {
  font-family: "Gill Sans MT Std";
  src: url("/assets/fonts/gill-sans-mt-std-light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gill Sans MT Std";
  src: url("/assets/fonts/gill-sans-mt-std-medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #292d4a;
  --navy-2: #20243e;
  --gold: #d9a91e;
  --saffron: #fad200;
  --skye: #3186c0;
  --olive: #a1bf56;
  --lilac: #cea3cc;
  --sienna: #c85e45;
  --ruby: #e66894;
  --clementine: #f18d00;
  --indigo: #384373;
  --violet: #ac61a3;
  --rose: #eadfda;
  --chalk: #f7f4ef;
  --ink: #202333;
  --muted: #6e7182;
  --line: #ded8d1;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(32, 36, 62, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 74px;
  background: var(--navy);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--chalk);
  font-family: "Gill Sans MT Std", "Gill Sans", "Trebuchet MS", Arial, sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

body,
p,
li,
h1,
h2,
h3,
dd,
dt,
span,
strong,
em,
a {
  overflow-wrap: anywhere;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 148px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(41, 45, 74, 0.96);
  border-bottom: 0;
  backdrop-filter: blur(14px);
  transition: min-height 480ms cubic-bezier(0.2, 0.8, 0.2, 1), padding 480ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 480ms ease;
}

.site-header.is-compact {
  min-height: 54px;
  padding-top: 5px;
  padding-bottom: 5px;
  box-shadow: 0 12px 34px rgba(17, 20, 38, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: min(390px, 72vw);
}

.brand img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 134px;
  height: auto;
  transition: max-height 480ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: max-height;
}

.site-header.is-compact .brand img {
  max-height: 42px;
}

main {
  min-height: 100vh;
  overflow-x: clip;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 0.9fr) minmax(270px, 360px);
  column-gap: clamp(28px, 4vw, 70px);
  row-gap: clamp(20px, 3vw, 42px);
  align-items: center;
  min-height: calc(100svh - 148px);
  padding: clamp(36px, 5vw, 70px) clamp(18px, 4vw, 56px) clamp(28px, 4vw, 52px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(41, 45, 74, 0.98), rgba(32, 36, 62, 0.94)),
    var(--navy);
  overflow: hidden;
}

.intro-band > * {
  min-width: 0;
}

.intro-copy {
  width: 100%;
  max-width: 820px;
  min-width: 0;
  grid-column: 2;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 5.2vw, 5.6rem);
  font-weight: 300;
  line-height: 0.95;
  white-space: normal;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 4vw, 2.7rem);
  font-weight: 300;
  line-height: 1;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  font-weight: 500;
}

.message {
  max-width: 760px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.45vw, 1.24rem);
  line-height: 1.45;
  overflow-wrap: normal;
}

.hero-lede {
  width: 100%;
  max-width: 760px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.18rem, 1.85vw, 1.55rem);
  line-height: 1.35;
}

.hero-actions {
  display: grid;
  grid-template-columns: minmax(220px, 340px);
  gap: 12px;
  align-items: start;
  max-width: 420px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.primary-action,
.secondary-action,
.hero-stat {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-radius: 4px;
}

.primary-action {
  justify-content: center;
  width: 100%;
  padding: 10px 14px;
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  background: var(--clementine);
}

.secondary-action {
  justify-content: center;
  width: 100%;
  padding: 10px 14px;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  background: var(--saffron);
  border: 1px solid rgba(41, 45, 74, 0.16);
}

.choice-badge {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: center;
  justify-self: center;
  width: min(100%, 360px);
  min-height: 190px;
  padding: 24px 26px;
  color: var(--navy);
  text-align: left;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(250, 210, 0, 0.24), rgba(49, 134, 192, 0.12)),
    var(--white);
  border: 1px solid rgba(217, 169, 30, 0.44);
  border-top: 6px solid var(--saffron);
  border-radius: 8px;
  box-shadow:
    0 18px 44px rgba(32, 36, 62, 0.14);
  isolation: isolate;
}

.choice-badge::before {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  z-index: 0;
  content: "";
  background: var(--skye);
  border: 8px solid var(--saffron);
  border-radius: 999px;
  box-shadow: 0 0 0 7px var(--ruby);
  pointer-events: none;
}

.choice-badge span,
.choice-badge strong,
.choice-badge em {
  position: relative;
  z-index: 1;
  max-width: 250px;
}

.choice-badge span {
  color: rgba(41, 45, 74, 0.78);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
}

.choice-badge strong {
  color: var(--navy);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1;
}

.choice-badge em {
  color: var(--ruby);
  font-size: 0.8rem;
  font-weight: 500;
  font-style: normal;
  line-height: 1.12;
}

.choice-badge.action-form {
  background:
    linear-gradient(135deg, rgba(250, 210, 0, 0.24), rgba(49, 134, 192, 0.12)),
    var(--white);
}

.hero-stat {
  position: relative;
  min-height: 24px;
  padding: 0 0 0 13px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
}

.hero-stat::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--stat-accent, var(--gold));
  border-radius: 50%;
}

.hero-stat.is-skye {
  --stat-accent: var(--skye);
}

.hero-stat.is-olive {
  --stat-accent: var(--olive);
}

.hero-stat.is-lilac {
  --stat-accent: var(--lilac);
}

.leader-quote {
  position: relative;
  grid-column: 2 / 4;
  margin: 0;
  padding: 20px 26px 22px 36px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
}

.leader-quote::before {
  position: absolute;
  top: -22px;
  left: 16px;
  color: rgba(217, 169, 30, 0.34);
  content: "“";
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 500;
  line-height: 1;
  transform: scaleX(0.72);
  transform-origin: left center;
}

.leader-quote .message {
  position: relative;
  margin-bottom: 16px;
}

.leader-quote .message::after {
  display: inline-block;
  color: rgba(217, 169, 30, 0.58);
  content: "”";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85em;
  line-height: 0;
  transform: scaleX(0.76);
  transform-origin: left center;
  vertical-align: -0.18em;
}

.leader-quote footer {
  color: var(--rose);
  font-weight: 500;
}

.leader-card {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: var(--rose);
  border-top: 5px solid var(--gold);
  border-radius: 6px;
}

.leader-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.leader-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  content: "";
  background: linear-gradient(180deg, rgba(17, 20, 38, 0), rgba(17, 20, 38, 0.78));
}

.leader-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 1;
  display: grid;
  gap: 2px;
  color: var(--white);
}

.leader-card strong {
  font-size: 1.25rem;
  font-weight: 500;
}

.leader-card span {
  color: var(--rose);
}

.decision-panel {
  grid-column: 3;
  grid-row: 1;
  padding: 22px;
  color: var(--navy);
  background: var(--rose);
  border-top: 5px solid var(--gold);
  border-radius: 6px;
}

.decision-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  line-height: 1.35;
}

.watch-section,
.resources-section,
.subjects-section {
  padding: clamp(30px, 5vw, 58px) clamp(18px, 4vw, 56px);
}

.watch-section {
  scroll-margin-top: 58px;
}

.watch-section.is-hidden {
  display: none;
}

.watch-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: stretch;
}

.player-frame {
  display: grid;
  place-items: center;
  min-height: 320px;
  overflow: hidden;
  background: #111426;
  border: 1px solid rgba(32, 36, 62, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.player-frame.is-landscape {
  aspect-ratio: 16 / 9;
}

.player-frame.is-portrait {
  width: min(100%, 560px);
  justify-self: center;
  aspect-ratio: 9 / 16;
}

.player-frame.is-square {
  width: min(100%, 640px);
  justify-self: center;
  aspect-ratio: 1;
}

.player-frame iframe,
.player-frame video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #111426;
}

.empty-player {
  display: grid;
  gap: 8px;
  place-items: center;
  min-height: 260px;
  color: var(--white);
  text-align: center;
}

.empty-player span {
  color: var(--gold);
  font-weight: 500;
}

.empty-player strong {
  font-size: clamp(1.4rem, 4vw, 2.5rem);
  font-weight: 300;
}

.slide-player {
  display: grid;
  gap: 14px;
  place-items: center;
  min-height: 260px;
  padding: 24px;
  color: var(--white);
  text-align: center;
}

.slide-player span {
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
}

.slide-player strong {
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 300;
}

.slide-action {
  min-width: 112px;
  padding: 11px 15px;
  color: var(--navy);
  text-decoration: none;
  background: var(--gold);
  border-radius: 4px;
}

.slide-action.is-disabled {
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.slide-player p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.35;
}

.watch-detail {
  min-width: 0;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

@media (min-width: 1181px) {
  .watch-shell {
    grid-template-columns: minmax(620px, 1020px) minmax(340px, 520px);
    justify-content: center;
    align-items: start;
  }

  .player-frame.is-landscape {
    width: 100%;
    max-height: min(62vh, 600px);
  }

  .player-frame.is-square {
    max-height: min(62vh, 600px);
  }
}

.watch-detail p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.45;
}

.watch-detail dl {
  display: grid;
  gap: 12px;
  margin: 24px 0 18px;
}

.watch-detail dl div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.watch-detail dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
}

.watch-detail dd {
  margin: 4px 0 0;
  color: var(--navy);
  font-weight: 500;
}

.slides-resource {
  display: grid;
  gap: 10px;
  margin: 26px 0 24px;
  padding: 18px;
  background: rgba(225, 180, 25, 0.12);
  border: 1px solid rgba(225, 180, 25, 0.38);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
}

.slides-resource[hidden] {
  display: none;
}

.slides-resource .eyebrow {
  margin-bottom: 0;
}

.watch-detail .slides-resource p:not(.eyebrow) {
  margin-bottom: 2px;
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.35;
}

.slide-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 240px;
  min-height: 44px;
  padding: 11px 16px;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  background: var(--indigo);
  border: 1px solid rgba(26, 31, 57, 0.12);
  border-radius: 4px;
}

.return-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 240px;
  min-height: 42px;
  padding: 10px 14px;
  color: var(--white);
  text-decoration: none;
  background: var(--clementine);
  border-radius: 4px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 20px;
}

.subject-note {
  max-width: 540px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.35;
}

.search-field {
  display: grid;
  gap: 6px;
  min-width: min(100%, 320px);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
}

.search-field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.resources-section {
  padding-bottom: clamp(18px, 2.4vw, 30px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 244, 239, 1)),
    var(--chalk);
}

.subjects-section {
  padding-top: clamp(18px, 2.6vw, 34px);
}

.resources-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 420px);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  margin-bottom: 22px;
  padding: clamp(20px, 3vw, 30px);
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.resources-hero h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.resources-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.4;
}

.form-cta-card {
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 186px;
  padding: 22px;
  color: var(--white);
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(217, 169, 30, 0.26), rgba(49, 134, 192, 0.2)),
    var(--navy);
  border: 1px solid rgba(217, 169, 30, 0.42);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
}

.form-cta-card span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
}

.form-cta-card strong {
  max-width: 320px;
  color: var(--white);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 300;
  line-height: 0.98;
}

.form-cta-card em {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

.event-media {
  display: grid;
  gap: 20px;
  margin: 4px 0 24px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--skye);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.event-media-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.event-media-header h3 {
  margin: 2px 0 6px;
  color: var(--navy);
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  font-weight: 300;
}

.event-media-header p:not(.eyebrow),
.event-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.event-media-header p:not(.eyebrow) {
  max-width: 860px;
}

.event-summary-text {
  flex: 0 1 300px;
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
  text-align: right;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.event-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
  background: var(--chalk);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.event-card.is-gcse {
  border-top: 4px solid var(--gold);
}

.event-card.is-ks3 {
  border-top: 4px solid var(--olive);
}

.event-copy h4 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 300;
}

.event-copy h4 span {
  color: var(--muted);
  font-size: 0.72em;
}

.event-player {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 0;
  color: var(--white);
  text-align: center;
  background: #111426;
  border: 1px solid rgba(32, 36, 62, 0.16);
  border-radius: 8px;
}

.event-player.is-pending span {
  max-width: 260px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  line-height: 1.3;
}

.event-player video,
.event-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #111426;
}

.event-download {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: var(--white);
  border: 1px solid rgba(225, 180, 25, 0.35);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}

.event-download strong {
  color: var(--navy);
  font-weight: 600;
}

.event-download span {
  color: var(--muted);
  line-height: 1.35;
}

.resource-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  margin-top: 2px;
}

.resource-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 11px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  background: var(--gold);
  border: 1px solid rgba(41, 45, 74, 0.12);
  border-radius: 4px;
}

.resource-action.is-secondary {
  color: var(--navy);
  background: rgba(230, 104, 148, 0.12);
  border-color: rgba(230, 104, 148, 0.34);
}

.action-form {
  color: var(--navy);
  background: var(--saffron);
  border-color: rgba(41, 45, 74, 0.16);
}

.action-view {
  color: var(--white);
  background: var(--skye);
  border-color: rgba(49, 134, 192, 0.2);
}

.action-download {
  color: var(--white);
  background: var(--indigo);
  border-color: rgba(41, 45, 74, 0.2);
}

.action-contact {
  color: var(--white);
  background: rgba(230, 104, 148, 0.16);
  border-color: rgba(230, 104, 148, 0.45);
}

.action-nav {
  color: var(--white);
  background: var(--clementine);
  border-color: rgba(241, 141, 0, 0.28);
}

.booklet-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  margin-top: 24px;
  margin-bottom: 0;
  padding: clamp(18px, 3vw, 26px);
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(49, 134, 192, 0.09), rgba(230, 104, 148, 0.1)),
    var(--white);
  border: 1px solid rgba(49, 134, 192, 0.24);
  border-left: 7px solid var(--skye);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(32, 36, 62, 0.11);
}

.booklet-strip h3 {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
}

.booklet-strip p:not(.eyebrow) {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.booklet-strip-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.booklet-strip-points li {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  color: var(--navy);
  font-size: 0.9rem;
  line-height: 1.2;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(49, 134, 192, 0.2);
  border-left: 4px solid var(--skye);
  border-radius: 4px;
}

.download-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  background: var(--skye);
  border: 1px solid rgba(41, 45, 74, 0.12);
  border-radius: 4px;
}

.download-placeholder.is-secondary {
  color: var(--white);
  background: var(--indigo);
  border-color: rgba(41, 45, 74, 0.2);
}

.download-placeholder.action-download {
  color: var(--white);
  background: var(--indigo);
  border-color: rgba(41, 45, 74, 0.2);
}

.download-placeholder.action-view {
  color: var(--white);
  background: var(--skye);
  border-color: rgba(49, 134, 192, 0.2);
}

.booklet-strip-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 8px;
  justify-self: stretch;
  min-width: min(100%, 420px);
}

.booklet-page {
  overflow-wrap: normal;
  word-break: normal;
  min-height: calc(100vh - 54px);
  padding: clamp(22px, 4vw, 48px) clamp(14px, 4vw, 56px) clamp(42px, 6vw, 76px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(247, 244, 239, 1)),
    var(--chalk);
}

.booklet-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(18px, 3vw, 34px);
  align-items: end;
  max-width: 1220px;
  margin: 0 auto 16px;
  padding: clamp(22px, 4vw, 36px);
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.booklet-hero h1 {
  max-width: 760px;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.booklet-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.38;
}

.booklet-actions {
  display: grid;
  gap: 8px;
}

.booklet-actions .resource-action {
  justify-content: center;
  min-height: 44px;
}

.booklet-nav {
  position: sticky;
  top: 54px;
  z-index: 9;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1220px;
  margin: 0 auto 18px;
  padding: 10px 0;
  background:
    linear-gradient(180deg, rgba(247, 244, 239, 0.98), rgba(247, 244, 239, 0.9));
  backdrop-filter: blur(10px);
}

.booklet-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.booklet-nav a.is-active {
  color: var(--white);
  background: var(--indigo);
  border-color: rgba(56, 67, 115, 0.4);
  outline: none;
  box-shadow: 0 8px 20px rgba(56, 67, 115, 0.18);
}

.booklet-nav a:hover:not(.is-active),
.booklet-nav a:focus-visible:not(.is-active) {
  color: var(--indigo);
  background: rgba(49, 134, 192, 0.08);
  border-color: rgba(49, 134, 192, 0.35);
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(49, 134, 192, 0.16);
}

.booklet-nav [data-nav-clone] {
  display: none;
}

.booklet-content {
  display: grid;
  gap: 18px;
  max-width: 1220px;
  margin: 0 auto;
}

.booklet-section {
  scroll-margin-top: 132px;
  padding: clamp(20px, 4vw, 34px);
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(32, 36, 62, 0.08);
}

.booklet-section h2 {
  max-width: 820px;
  color: var(--navy);
}

.booklet-section p {
  max-width: none;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.45;
  overflow-wrap: normal;
  word-break: normal;
}

.booklet-callout,
.booklet-note {
  max-width: none;
  margin: 18px 0;
  padding: 16px 18px;
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(230, 104, 148, 0.13), rgba(241, 141, 0, 0.1)),
    var(--white);
  border: 1px solid rgba(230, 104, 148, 0.42);
  border-left: 7px solid var(--ruby);
  border-radius: 8px;
}

.booklet-callout strong {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  margin-bottom: 8px;
  padding: 5px 10px;
  color: var(--white);
  background: var(--ruby);
  border-radius: 4px;
}

.booklet-callout p,
.booklet-note {
  color: var(--navy);
}

.booklet-callout p {
  margin: 0;
}

.booklet-list {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin: 16px 0 0;
  padding-left: 22px;
  color: var(--navy);
  font-size: 1.04rem;
  line-height: 1.35;
}

.booklet-section a {
  color: var(--indigo);
  font-weight: 500;
  text-decoration-color: rgba(56, 67, 115, 0.36);
  text-underline-offset: 3px;
}

.booklet-section a:hover,
.booklet-section a:focus-visible {
  color: var(--ruby);
  text-decoration-color: currentColor;
}

.booklet-subject-grid,
.booklet-choice-grid,
.booklet-date-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.booklet-subject-grid article,
.booklet-choice-grid article,
.booklet-date-grid article {
  padding: 16px;
  background: rgba(247, 244, 239, 0.82);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 8px;
}

.booklet-subject-grid h3,
.booklet-subject-grid h4,
.booklet-choice-grid h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 500;
}

.booklet-subject-grid p,
.booklet-choice-grid p {
  margin: 0 0 10px;
  font-size: 0.98rem;
  line-height: 1.35;
}

.booklet-subject-grid article ul {
  margin: 8px 0 10px;
  padding-left: 20px;
}

.booklet-subject-grid article li {
  margin: 4px 0;
  color: var(--muted);
  line-height: 1.32;
}

.booklet-subject-grid article h4 + p,
.booklet-subject-grid article p + h4,
.booklet-subject-grid article ul + h4 {
  margin-top: 12px;
}

.booklet-subject-grid span,
.booklet-date-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.booklet-or-card {
  display: grid;
  place-items: center;
  min-height: 92px;
  color: var(--navy);
  background: rgba(250, 210, 0, 0.18);
  border-color: rgba(250, 210, 0, 0.55);
  border-left-color: var(--saffron);
}

.booklet-or-card h4 {
  margin: 0;
  color: var(--navy);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.booklet-category {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.booklet-category h3 {
  margin: 0;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: uppercase;
}

.option-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.option-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  background: var(--white);
}

.option-table th,
.option-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.option-table th {
  color: var(--navy);
  font-weight: 500;
  background: rgba(230, 104, 148, 0.12);
}

.option-table tr:last-child td {
  border-bottom: 0;
}

.booklet-date-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-size: 1.08rem;
}

.booklet-date-grid article.is-deadline {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(241, 141, 0, 0.16), rgba(230, 104, 148, 0.18)),
    var(--ruby);
  border-color: rgba(230, 104, 148, 0.34);
  border-top-color: var(--clementine);
  box-shadow: 0 16px 34px rgba(230, 104, 148, 0.22);
}

.booklet-date-grid article.is-deadline span,
.booklet-date-grid article.is-deadline strong {
  color: var(--white);
}

.booklet-date-grid article.is-deadline strong {
  font-size: 1.22rem;
}

.booklet-form-card {
  display: grid;
  gap: 6px;
  max-width: 560px;
  margin-top: 20px;
  padding: 22px;
  color: var(--navy);
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(250, 210, 0, 0.36)),
    var(--saffron);
  border: 1px solid rgba(41, 45, 74, 0.18);
  border-left: 7px solid var(--clementine);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(32, 36, 62, 0.12);
}

.booklet-form-card span,
.booklet-form-card em {
  color: rgba(41, 45, 74, 0.76);
  font-style: normal;
}

.booklet-form-card span {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
}

.booklet-form-card strong {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 500;
  line-height: 1;
}

.booklet-form-card b {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.1;
}

.slide-viewer-page {
  min-height: calc(100vh - 54px);
  padding: clamp(24px, 4vw, 48px) clamp(14px, 4vw, 56px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 244, 239, 1)),
    var(--chalk);
}

.slide-viewer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  max-width: 1280px;
  margin: 0 auto 18px;
  padding: clamp(18px, 3vw, 26px);
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.slide-viewer-hero h1 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 4.3rem);
  line-height: 0.98;
}

.slide-viewer-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.35;
}

.slide-viewer-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  justify-self: stretch;
  gap: 8px;
}

.slide-viewer-actions .resource-action.is-secondary {
  color: var(--navy);
  background: rgba(230, 104, 148, 0.14);
  border-color: rgba(230, 104, 148, 0.34);
}

.slide-stage {
  display: grid;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto;
}

.slide-toolbar {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr) 136px;
  gap: 10px;
  align-items: center;
}

.slide-toolbar p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
}

.slide-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 136px;
  min-height: 42px;
  padding: 9px 14px;
  color: var(--white);
  background: var(--navy);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.slide-nav-button:last-child {
  justify-self: end;
}

.slide-nav-button span[aria-hidden="true"] {
  font-size: 1.1rem;
  line-height: 1;
}

.slide-nav-button:disabled {
  color: rgba(41, 45, 74, 0.48);
  background: rgba(41, 45, 74, 0.1);
  cursor: default;
}

.slide-frame {
  display: grid;
  place-items: center;
  margin: 0;
  overflow: hidden;
  background: #111426;
  border: 1px solid rgba(32, 36, 62, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
  touch-action: pan-y;
}

.slide-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  background: #111426;
}

.slide-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.slide-dots button {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  width: 34px;
  height: 34px;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}

.slide-dots button.is-active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.subject-resume {
  margin: 26px 0 18px;
  padding: clamp(18px, 3vw, 26px);
  color: var(--white);
  background: var(--navy);
  border-top: 5px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(41, 45, 74, 0.18);
}

.subject-resume .eyebrow {
  margin-bottom: 6px;
  color: var(--gold);
}

.subject-resume h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  font-weight: 300;
  line-height: 1.02;
}

.subject-resume p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
  line-height: 1.35;
}

.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.filter-pill {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}

.filter-pill.is-active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.shortlist-panel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin: 8px 0 16px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--ruby);
  border-radius: 8px;
}

.shortlist-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.shortlist-panel.is-empty {
  border-left-color: var(--line);
}

.shortlist-items {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}

.shortlist-chip,
.shortlist-toggle {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.shortlist-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 10px;
  color: var(--navy);
  background: rgba(230, 104, 148, 0.13);
  border-radius: 4px;
}

.shortlist-chip span {
  color: var(--ruby);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.video-card {
  display: grid;
  gap: 9px;
  min-height: 170px;
  padding: 18px;
  color: var(--ink);
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--card-accent, var(--gold));
  border-radius: 8px;
  cursor: pointer;
}

.card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.shortlist-toggle {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  min-width: 34px;
  min-height: 34px;
  margin-top: -7px;
  margin-right: -7px;
  color: var(--muted);
  background: transparent;
  border-radius: 999px;
}

.shortlist-toggle:hover,
.shortlist-toggle:focus-visible,
.shortlist-toggle.is-active {
  color: var(--ruby);
  background: rgba(230, 104, 148, 0.12);
  outline: none;
}

.shortlist-toggle.is-detail {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  margin: -2px 0 14px;
  padding: 8px 12px;
  color: var(--navy);
  background: rgba(230, 104, 148, 0.1);
  border: 1px solid rgba(230, 104, 148, 0.26);
  border-radius: 4px;
}

.shortlist-toggle.is-detail.is-active {
  color: var(--white);
  background: var(--ruby);
  border-color: var(--ruby);
}

.video-card:hover,
.video-card:focus-visible,
.video-card.is-selected {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 14px 36px rgba(41, 45, 74, 0.12);
}

.video-card.is-unavailable {
  background: #eee9e3;
  border-color: #d4ccc4;
  border-top-color: var(--line);
  box-shadow: none;
}

.video-card.is-unavailable:hover,
.video-card.is-unavailable:focus-visible {
  border-color: #c8c0b8;
  box-shadow: 0 10px 24px rgba(41, 45, 74, 0.08);
}

.video-card.is-unavailable .card-kicker,
.video-card.is-unavailable strong,
.video-card.is-unavailable .teacher-meta {
  color: rgba(41, 45, 74, 0.72);
}

.card-main {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.card-text {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.teacher-photo {
  display: block;
  width: 66px;
  height: 66px;
  overflow: hidden;
  background: var(--rose);
  border: 3px solid var(--white);
  border-radius: 999px;
  box-shadow: 0 0 0 2px var(--card-accent, var(--gold));
}

.teacher-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.teacher-photo img[src*="Victoria%20for%20GCSE%20site"] {
  object-position: center 34%;
}

.video-card strong {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.05;
}

.video-card span {
  color: var(--muted);
}

.teacher-meta {
  display: grid;
  gap: 3px;
  color: var(--navy);
  font-weight: 500;
}

.teacher-meta span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.video-card em {
  align-self: end;
  color: var(--muted);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 300;
}

.video-card em.status-badge {
  width: fit-content;
  padding: 5px 9px;
  color: #6e6259;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid #d4ccc4;
  border-radius: 4px;
}

.final-choice-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  padding: clamp(34px, 5vw, 62px) clamp(18px, 4vw, 56px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(41, 45, 74, 0.98), rgba(32, 36, 62, 0.96)),
    var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.final-choice-copy {
  max-width: 820px;
}

.final-choice-copy h2 {
  max-width: 780px;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 0.98;
}

.final-choice-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
  line-height: 1.4;
}

.card-kicker {
  color: var(--card-accent-text, var(--navy));
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
}

.contact-section {
  display: block;
  padding: clamp(32px, 5vw, 58px) clamp(18px, 4vw, 56px);
  color: var(--white);
  background: var(--navy);
}

.contact-copy {
  position: relative;
  max-width: 980px;
  margin: 0;
  padding: 20px 0 0 34px;
  border-left: 4px solid var(--gold);
}

.contact-copy::before {
  position: absolute;
  top: -22px;
  left: 16px;
  color: rgba(217, 169, 30, 0.34);
  content: "“";
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 500;
  line-height: 1;
  transform: scaleX(0.72);
  transform-origin: left center;
}

.contact-copy h2 {
  max-width: 760px;
}

.contact-copy p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  line-height: 1.45;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.contact-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px 14px;
  align-items: center;
  padding: 14px;
  color: var(--white);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 4px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
}

.contact-card.is-primary {
  position: relative;
  border-left-color: var(--ruby);
  background: rgba(230, 104, 148, 0.14);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.contact-card.action-contact {
  border-color: rgba(230, 104, 148, 0.42);
  border-left-color: var(--ruby);
  background: rgba(230, 104, 148, 0.12);
}

.contact-card:hover,
.contact-card:focus-visible {
  outline: none;
  border-color: rgba(230, 104, 148, 0.62);
  background: rgba(255, 255, 255, 0.12);
}

.contact-badge {
  grid-column: 1 / -1;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
}

.contact-card.is-primary .contact-badge {
  width: fit-content;
  padding: 5px 9px;
  color: var(--white);
  background: var(--ruby);
  border-radius: 4px;
}

.contact-photo {
  display: block;
  width: 76px;
  height: 76px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 3px solid var(--white);
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(217, 169, 30, 0.55);
}

.contact-card.is-primary .contact-photo {
  box-shadow: 0 0 0 3px var(--gold);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.contact-details {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.contact-card strong {
  color: var(--white);
  font-size: 1.18rem;
  font-weight: 500;
}

.contact-details span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.25;
}

.contact-details em {
  color: var(--rose);
  font-style: normal;
  overflow-wrap: anywhere;
}

.contact-button {
  flex: 0 0 auto;
  min-width: 190px;
  padding: 13px 18px;
  color: var(--navy);
  text-align: center;
  text-decoration: none;
  background: var(--gold);
  border-radius: 4px;
}

.quick-links-section {
  padding: clamp(30px, 5vw, 58px) clamp(18px, 4vw, 56px);
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(49, 134, 192, 0.08), rgba(230, 104, 148, 0.08)),
    var(--paper);
}

.quick-links-heading {
  max-width: 820px;
  margin-bottom: 18px;
}

.quick-links-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 300;
  line-height: 1;
}

.quick-links-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.quick-link-card {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 138px;
  padding: 16px;
  color: var(--navy);
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(32, 36, 62, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.quick-link-card:hover,
.quick-link-card:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(32, 36, 62, 0.14);
}

.quick-link-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
}

.quick-link-card strong {
  font-size: 1.03rem;
  font-weight: 500;
  line-height: 1.15;
}

.quick-link-card em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.25;
}

.quick-link-card.is-form {
  background: linear-gradient(135deg, rgba(250, 210, 0, 0.18), rgba(255, 255, 255, 0.94));
  border-color: rgba(250, 210, 0, 0.62);
  border-top-color: var(--saffron);
}

.quick-link-card.is-view {
  border-top-color: var(--skye);
}

.quick-link-card.is-download {
  border-top-color: var(--indigo);
}

.quick-link-card.is-nav {
  border-top-color: var(--clementine);
}

.quick-link-card.is-contact {
  border-top-color: var(--ruby);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--navy);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: min(240px, 58vw);
  height: auto;
  transform: scale(0.86);
  transform-origin: left center;
  opacity: 0.88;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 700ms ease;
}

.site-footer.is-visible img {
  transform: scale(1);
  opacity: 1;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.load-error {
  padding: 20px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

@media (max-width: 1180px) {
  .intro-band {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    min-height: auto;
  }

  .leader-card {
    grid-column: 1;
  }

  .intro-copy {
    grid-column: 2;
  }

  .decision-panel {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .leader-quote {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
  }

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

@media (max-width: 1180px) and (orientation: portrait) {
  .watch-section {
    overflow-x: clip;
  }

  .watch-shell {
    grid-template-columns: minmax(0, 1fr);
    max-width: 900px;
    margin: 0 auto;
    align-items: stretch;
  }

  .player-frame {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .player-frame.is-landscape {
    aspect-ratio: 16 / 9;
    max-height: none;
  }

  .player-frame.is-square {
    width: min(100%, 680px);
    max-height: none;
  }

  .watch-detail {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 860px) {
  .site-header,
  .intro-band,
  .watch-shell,
  .section-heading,
  .resources-hero,
  .booklet-strip,
  .booklet-hero,
  .slide-viewer-hero,
  .final-choice-section,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .decision-panel {
    align-self: stretch;
  }

  .intro-copy {
    order: 1;
    grid-column: auto;
  }

  .decision-panel {
    order: 2;
    grid-column: auto;
    grid-row: auto;
  }

  .leader-quote {
    order: 3;
    grid-column: auto;
  }

  .leader-card {
    order: 4;
    grid-column: auto;
    grid-row: auto;
    max-width: 420px;
  }

  .booklet-nav {
    position: sticky;
    top: 54px;
    z-index: 9;
    flex-wrap: nowrap;
    width: calc(100% - 20px);
    max-width: none;
    margin: 0 10px 12px;
    padding: 8px 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    background:
      linear-gradient(90deg, rgba(247, 244, 239, 0.98) 0%, rgba(247, 244, 239, 0.92) 84%, rgba(247, 244, 239, 0.35) 100%);
    border: 1px solid rgba(56, 67, 115, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(32, 36, 62, 0.11);
    backdrop-filter: blur(10px);
  }

  .booklet-nav a {
    flex: 0 0 auto;
    min-width: max-content;
    justify-content: center;
    font-size: 0.92rem;
    line-height: 1.05;
    white-space: nowrap;
  }

  .booklet-nav [data-nav-clone] {
    display: inline-flex;
  }

  .booklet-nav [data-loop-start] {
    position: relative;
    margin-left: 18px;
  }

  .booklet-nav [data-loop-start]::before {
    content: "•";
    position: absolute;
    left: -14px;
    top: 50%;
    color: var(--saffron);
    font-weight: 700;
    transform: translateY(-52%);
    pointer-events: none;
  }

  .booklet-nav::-webkit-scrollbar {
    display: none;
  }

  .booklet-page {
    padding: 10px 0 34px;
    overflow-x: clip;
  }

  .booklet-hero,
  .booklet-content {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .booklet-hero,
  .booklet-section {
    width: calc(100% - 20px);
    max-width: none;
    min-width: 0;
    margin-left: 10px;
    margin-right: 10px;
  }

  .booklet-section {
    scroll-margin-top: 74px;
  }

  .booklet-content,
  .booklet-section,
  .booklet-subject-grid,
  .booklet-choice-grid,
  .booklet-date-grid,
  .booklet-callout,
  .booklet-note,
  .option-table-wrap {
    min-width: 0;
  }

  .option-table-wrap {
    width: 100%;
    max-width: 100%;
  }

  .player-frame,
  .player-frame.is-portrait,
  .player-frame.is-square {
    width: 100%;
  }

  .event-media-header {
    flex-direction: column;
  }

  .event-summary-text {
    flex-basis: auto;
    text-align: left;
  }

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

  .form-cta-card {
    min-height: 150px;
  }

  .quick-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-actions,
  .booklet-strip-actions,
  .slide-viewer-actions {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }

  .resource-action,
  .download-placeholder,
  .slide-download-link,
  .return-link,
  .slide-viewer-actions .resource-action {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 112px;
  }

  .site-header,
  .intro-band,
  .watch-section,
  .subjects-section,
  .contact-section,
  .site-footer {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .brand {
    width: min(calc(100vw - 28px), 350px);
  }

  .brand img {
    max-height: 96px;
  }

  .site-header.is-compact .brand img {
    max-height: 38px;
  }

  h1 {
    max-width: calc(100vw - 28px);
    margin-bottom: 14px;
    font-size: 3.45rem;
    line-height: 0.92;
    white-space: normal;
  }

  .eyebrow {
    font-size: 0.86rem;
    line-height: 1.25;
  }

  .hero-lede {
    width: min(100%, 326px);
    max-width: calc(100vw - 52px);
    margin-bottom: 18px;
    font-size: 1.12rem;
    line-height: 1.35;
    overflow-wrap: break-word;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: calc(100vw - 28px);
  }

  .primary-action {
    min-height: 48px;
    font-size: 1.1rem;
  }

  .secondary-action {
    min-height: 46px;
    font-size: 1rem;
  }

  .choice-badge {
    width: min(78vw, 260px);
    margin: 4px 0;
    padding: 26px 20px;
    border-width: 6px;
  }

  .choice-badge strong {
    font-size: 1.42rem;
  }

  .hero-stats {
    gap: 4px 14px;
  }

  .hero-stat {
    min-height: 34px;
    padding-left: 13px;
    font-size: 0.9rem;
  }

  .message {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    font-size: 1.02rem;
    line-height: 1.38;
    overflow-wrap: normal;
  }

  .leader-quote {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    min-width: 0;
    padding: 20px 16px 18px 22px;
  }

  .leader-quote::before {
    top: -10px;
    left: 8px;
    font-size: 4.2rem;
  }

  .leader-quote .message {
    display: block;
    width: min(100%, 312px);
    max-width: calc(100vw - 78px);
    min-width: 0;
    font-size: 0.98rem;
    overflow-wrap: break-word;
    white-space: normal;
  }

  .leader-quote .message::after {
    font-size: 1.5em;
  }

  .leader-quote footer {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.3;
  }

  .intro-copy,
  .decision-panel,
  .leader-quote,
  .leader-card,
  .watch-detail,
  .video-card {
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .player-frame {
    min-height: 260px;
  }

  .player-frame.is-portrait {
    width: min(100%, 320px);
    max-height: 62svh;
  }

  .player-frame.is-portrait video {
    max-height: 62svh;
  }

  .player-frame:has(.slide-player) {
    min-height: 430px;
  }

  .slide-player {
    min-height: 430px;
    gap: 14px;
    padding: 30px 20px;
  }

  .slide-player strong {
    font-size: 2rem;
    line-height: 1;
  }

  .slide-action {
    padding: 10px 14px;
    font-size: 1.15rem;
  }

  .slide-player p {
    max-width: 310px;
    font-size: 0.9rem;
    line-height: 1.32;
  }

  .watch-section,
  .resources-section,
  .subjects-section,
  .final-choice-section,
  .contact-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .resources-hero,
  .event-media,
  .slide-viewer-hero,
  .booklet-strip,
  .booklet-hero,
  .booklet-nav,
  .booklet-content {
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .booklet-hero,
  .booklet-content {
    max-width: none;
  }

  .resources-hero {
    gap: 14px;
  }

  .resources-hero h2 {
    font-size: 2rem;
    line-height: 1;
  }

  .resources-hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .form-cta-card {
    min-height: 138px;
    padding: 18px;
  }

  .form-cta-card strong {
    font-size: 1.55rem;
  }

  .booklet-page {
    padding: 8px 0 34px;
    overflow-x: clip;
  }

  .booklet-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
    line-height: 0.98;
  }

  .booklet-hero p:not(.eyebrow),
  .booklet-section p {
    font-size: 0.98rem;
    line-height: 1.38;
  }

  .booklet-section {
    padding: 16px;
  }

  .resource-actions,
  .download-placeholder,
  .booklet-strip-actions,
  .slide-viewer-actions,
  .quick-links-section,
  .quick-links-grid {
    width: 100%;
  }

  .resource-action,
  .download-placeholder,
  .slide-download-link,
  .return-link {
    justify-content: center;
  }

  .quick-links-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .quick-links-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .quick-link-card {
    min-height: 116px;
  }

  .booklet-hero {
    align-items: stretch;
    padding: 18px 16px;
  }

  .booklet-nav {
    position: sticky;
    top: 54px;
    z-index: 9;
    flex-wrap: nowrap;
    gap: 7px;
    width: calc(100% - 16px);
    max-width: none;
    margin-left: 8px;
    margin-right: 8px;
    margin-bottom: 12px;
    padding: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    background:
      linear-gradient(90deg, rgba(247, 244, 239, 0.98) 0%, rgba(247, 244, 239, 0.92) 84%, rgba(247, 244, 239, 0.35) 100%);
    border: 1px solid rgba(56, 67, 115, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(32, 36, 62, 0.11);
    backdrop-filter: blur(10px);
  }

  .booklet-nav a {
    flex: 0 0 auto;
    min-width: max-content;
    justify-content: center;
    min-height: 34px;
    padding: 6px 8px;
    font-size: 0.86rem;
    line-height: 1.05;
    white-space: nowrap;
  }

  .booklet-nav [data-loop-start] {
    margin-left: 16px;
  }

  .booklet-nav::-webkit-scrollbar {
    display: none;
  }

  .booklet-content {
    gap: 12px;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .booklet-hero,
  .booklet-section {
    width: calc(100% - 16px);
    max-width: none;
    min-width: 0;
    margin-left: 8px;
    margin-right: 8px;
  }

  .booklet-hero {
    margin-bottom: 10px;
  }

  .booklet-section p,
  .booklet-section li,
  .booklet-section h2,
  .booklet-section h3,
  .booklet-section h4 {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .booklet-section h2 {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
    line-height: 1.04;
  }

  .booklet-subject-grid,
  .booklet-choice-grid,
  .booklet-date-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .booklet-subject-grid article,
  .booklet-choice-grid article,
  .booklet-date-grid article {
    padding: 13px;
  }

  .booklet-callout,
  .booklet-note {
    margin: 14px 0;
    padding: 13px 14px;
    border-left-width: 5px;
  }

  .slide-viewer-page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .slide-toolbar {
    grid-template-columns: 62px minmax(0, 1fr) 62px;
  }

  .slide-toolbar p {
    grid-column: 2;
    grid-row: 1;
  }

  .slide-nav-button {
    grid-row: 1;
    width: 62px;
    min-height: 54px;
    padding: 0;
    font-size: 1.45rem;
  }

  .slide-nav-button:first-child {
    grid-column: 1;
  }

  .slide-nav-button:last-child {
    grid-column: 3;
  }

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

  .slide-frame img {
    max-height: 70vh;
  }

  .slide-dots button {
    min-width: 40px;
    width: 40px;
    height: 34px;
    font-size: 0.74rem;
    word-break: keep-all;
  }

  .final-choice-section {
    justify-items: center;
    text-align: left;
  }

  .final-choice-copy {
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .final-choice-copy h2 {
    font-size: 2rem;
  }

  .intro-band {
    min-height: calc(100svh - 112px);
    padding: 28px 14px 32px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .shortlist-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .quick-links-grid {
    grid-template-columns: 1fr;
  }

  .shortlist-items {
    justify-content: flex-start;
  }

  .video-card {
    gap: 6px;
    min-height: 124px;
    padding: 13px 14px 12px;
  }

  .card-main {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
  }

  .teacher-photo {
    width: 56px;
    height: 56px;
    border-width: 2px;
  }

  .card-topline {
    gap: 8px;
  }

  .card-kicker {
    font-size: 0.7rem;
    line-height: 1.15;
  }

  .shortlist-toggle {
    min-width: 38px;
    min-height: 38px;
    margin-top: -9px;
    margin-right: -8px;
    font-size: 1.08rem;
  }

  .video-card strong {
    font-size: 1.16rem;
    line-height: 1.05;
  }

  .video-card span {
    line-height: 1.18;
  }

  .teacher-meta {
    gap: 2px;
    font-size: 0.96rem;
  }

  .video-card em {
    font-size: 0.95rem;
    line-height: 1.15;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 3rem;
  }
}
