:root {
  --slate: #384959;
  --slate-deep: #20313f;
  --slate-ink: #172630;
  --blue: #6a89a7;
  --sky: #88bdf2;
  --pale: #bdddfc;
  --pale-soft: #eaf5ff;
  --coral: #ff6b5b;
  --nav-violet: #6f63d9;
  --nav-violet-soft: rgba(111, 99, 217, 0.12);
  --lime: #bdddfc;
  --lime-deep: #88bdf2;
  --paper: #f8f8f3;
  --white: #ffffff;
  --radius: 1.1rem;
  --shadow: 0 28px 80px rgba(56, 73, 89, 0.18);
  --page-pad: clamp(1.25rem, 4vw, 4rem);
  --content-max: 106rem;
  --section-space: clamp(7rem, 13vw, 12rem);
}

/* Subjects and pricing page */
.subjects-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(27rem, 0.95fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  width: min(100%, var(--content-max));
  min-height: 100dvh;
  margin-inline: auto;
  padding: 8.5rem var(--page-pad) 5rem;
}

.subjects-hero-copy h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.6rem, 6.5vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.subjects-hero-copy > p:not(.hero-kicker) {
  max-width: 39rem;
  margin: 1.8rem 0 0;
  color: var(--slate);
  font-size: 1.1rem;
}

.subjects-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.2rem;
}

.exam-board-line {
  display: flex;
  gap: 0.55rem;
  margin-top: 2.5rem;
}

.exam-board-line span {
  padding: 0.55rem 0.8rem;
  color: var(--slate);
  background: var(--white);
  border: 1px solid rgba(56, 73, 89, 0.14);
  border-radius: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subject-orbit {
  position: relative;
  min-height: 41rem;
  background: rgba(189, 221, 252, 0.52);
  border: 1px solid rgba(106, 137, 167, 0.18);
  border-radius: 48% 52% 43% 57% / 52% 44% 56% 48%;
  box-shadow: 0 2.5rem 7rem rgba(56, 73, 89, 0.15);
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(56, 73, 89, 0.25);
  border-radius: 50%;
  will-change: transform;
}

.orbit-ring::before,
.orbit-ring::after {
  position: absolute;
  display: block;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 0.5rem 1rem rgba(56, 73, 89, 0.18);
  content: "";
}

.orbit-ring::before {
  top: 50%;
  right: -0.48rem;
  width: 0.8rem;
  height: 0.8rem;
  background: var(--coral);
  transform: translateY(-50%);
}

.orbit-ring::after {
  bottom: 12%;
  left: 12%;
  width: 0.58rem;
  height: 0.58rem;
  background: var(--slate);
}

.orbit-ring-one {
  width: 84%;
  height: 48%;
  animation: subject-orbit-clockwise 17s linear infinite;
}

.orbit-ring-two {
  width: 61%;
  height: 34%;
  animation: subject-orbit-counter 12s linear infinite;
}

.orbit-ring-two::before {
  background: var(--sky);
}

.orbit-ring-two::after {
  background: var(--coral);
}

@keyframes subject-orbit-clockwise {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes subject-orbit-counter {
  from { transform: translate(-50%, -50%) rotate(18deg); }
  to { transform: translate(-50%, -50%) rotate(-342deg); }
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 10.25rem;
  height: 10.25rem;
  color: var(--white);
  background: var(--slate-ink);
  border-radius: 50%;
  box-shadow: 0 1.5rem 3rem rgba(32, 49, 63, 0.24);
  place-content: center;
  text-align: center;
  transform: translate(-50%, -50%);
}

.orbit-core span {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.orbit-core strong { color: var(--sky); font-size: 1.5rem; line-height: 1.1; }

.orbit-subject {
  position: absolute;
  display: grid;
  min-width: 9.5rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(56, 73, 89, 0.14);
  border-radius: 0.75rem;
  box-shadow: 0 1.3rem 3.2rem rgba(56, 73, 89, 0.16);
}

.orbit-subject small { color: var(--coral); font-weight: 800; }
.orbit-subject strong { font-size: 1.05rem; }
.orbit-maths { top: 8%; left: 8%; transform: rotate(-3deg); }
.orbit-further { top: 17%; right: -3%; transform: rotate(2deg); }
.orbit-physics { bottom: 12%; left: -2%; transform: rotate(2deg); }
.orbit-chemistry { right: 8%; bottom: 7%; transform: rotate(-3deg); }

.subject-catalogue { padding-top: calc(var(--section-space) * 0.8); }
.subjects-heading { max-width: 66rem; }
.subjects-heading h2 { max-width: 13ch; }

.subject-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 4rem;
}

.subject-course-card {
  position: relative;
  display: flex;
  min-height: 46rem;
  padding: clamp(1.6rem, 3.5vw, 3.25rem);
  overflow: hidden;
  background: var(--pale);
  border-radius: var(--radius);
  flex-direction: column;
}

.subject-course-further { background: #d9ebfc; }
.subject-course-physics { color: var(--white); background: var(--slate); }
.subject-course-chemistry { background: var(--sky); }

.course-number {
  position: absolute;
  top: 1.5rem;
  right: 1.6rem;
  color: rgba(56, 73, 89, 0.3);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.subject-course-physics .course-number { color: rgba(255, 255, 255, 0.28); }

.course-animation {
  position: relative;
  width: min(100%, 19rem);
  height: 12rem;
  margin-bottom: 2rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(56, 73, 89, 0.12);
  border-radius: 0.7rem;
}

.course-animation svg { width: 100%; height: 100%; }
.course-animation text { fill: var(--slate); font-family: "Outfit", sans-serif; font-size: 13px; font-weight: 700; }
.mini-axis, .mini-circle, .mini-tangent, .mini-curve, .mini-max-line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mini-axis { stroke: rgba(56, 73, 89, 0.45); stroke-width: 2; }
.mini-circle { stroke: var(--slate); stroke-width: 4; stroke-dasharray: 285; animation: subject-draw 5s ease-in-out infinite; }
.mini-tangent, .mini-max-line { stroke: var(--coral); stroke-width: 4; stroke-dasharray: 130; animation: subject-draw 5s ease-in-out 0.5s infinite; }
.mini-point { fill: var(--coral); animation: subject-point-pop 2.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.mini-curve { stroke: var(--blue); stroke-width: 6; stroke-dasharray: 330; animation: subject-draw 5s ease-in-out infinite; }

.physics-field-animation { background: rgba(255, 255, 255, 0.9); }
.field-pole { position: absolute; top: 50%; display: grid; width: 3rem; height: 5.5rem; color: var(--white); background: var(--slate); border-radius: 0.45rem; place-items: center; font-size: 1.25rem; font-weight: 800; transform: translateY(-50%); }
.field-pole-n { left: 1.25rem; }
.field-pole-s { right: 1.25rem; background: var(--blue); }
.field-wave { position: absolute; left: 4.3rem; width: calc(100% - 8.6rem); height: 2.8rem; border-top: 2px solid var(--sky); border-radius: 50%; animation: field-flow 2.8s ease-in-out infinite; }
.field-wave::after { position: absolute; top: -0.35rem; right: 0; width: 0.55rem; height: 0.55rem; border-top: 2px solid var(--sky); border-right: 2px solid var(--sky); content: ""; transform: rotate(45deg); }
.field-wave-one { top: 27%; }.field-wave-two { top: 50%; animation-delay: 0.25s; }.field-wave-three { top: 73%; animation-delay: 0.5s; }
.field-particle { position: absolute; top: 50%; left: 50%; width: 1.15rem; height: 1.15rem; background: var(--coral); border: 3px solid var(--white); border-radius: 50%; box-shadow: 0 0 0 0.35rem rgba(255, 107, 91, 0.2); transform: translate(-50%, -50%); }

.chemistry-orbit-animation { display: grid; place-items: center; }
.chem-nucleus { position: absolute; width: 3.2rem; height: 3.2rem; background: var(--coral); border: 0.55rem double var(--white); border-radius: 50%; }
.chemistry-orbit-animation i { position: absolute; width: 11rem; height: 4rem; border: 2px solid var(--slate); border-radius: 50%; }
.chemistry-orbit-animation i:nth-of-type(2) { transform: rotate(60deg); }
.chemistry-orbit-animation i:nth-of-type(3) { transform: rotate(120deg); }
.chem-electron { position: absolute; top: calc(50% - 0.4rem); left: calc(50% + 5rem); width: 0.8rem; height: 0.8rem; background: var(--slate); border-radius: 50%; animation: electron-orbit 4s linear infinite; transform-origin: -5rem 0.4rem; }
.chem-electron.electron-b { animation-duration: 5.3s; animation-direction: reverse; transform: rotate(60deg); }

.course-level { margin: 0; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.subject-course-card h3 { margin: 0.55rem 0 0; font-size: clamp(3rem, 5vw, 5.3rem); letter-spacing: -0.065em; line-height: 0.92; }
.subject-course-card > p:not(.course-level) { max-width: 34rem; margin: 1.3rem 0 0; }
.subject-course-card ul { display: grid; gap: 0.45rem; margin: 1.7rem 0 2rem; padding-left: 1.1rem; }
.course-price-link { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: auto; padding: 1.15rem 0; color: inherit; background: transparent; border: 0; border-top: 1px solid currentColor; cursor: pointer; font-weight: 800; text-align: left; }
.course-price-link span { color: var(--coral); font-size: 1.35rem; transition: transform 180ms ease; }
.course-price-link:hover span { transform: translateX(0.4rem); }

.subject-pricing { color: var(--white); background: var(--slate-ink); scroll-margin-top: 6rem; }
.pricing-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.6fr); align-items: end; gap: 4rem; }
.pricing-intro h2 { max-width: 12ch; margin: 0; font-size: clamp(3.2rem, 5.5vw, 6rem); letter-spacing: -0.065em; line-height: 0.92; }
.pricing-intro > p { max-width: 31rem; margin: 0; color: var(--pale); }
.subject-pricing .hero-kicker { color: var(--sky); }

.pricing-subject-tabs { display: flex; gap: 0.5rem; margin: 3.5rem 0 2rem; padding: 0.45rem; overflow-x: auto; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 0.7rem; }
.pricing-subject-tabs button { flex: 1 0 auto; padding: 0.85rem 1.1rem; color: var(--pale); background: transparent; border: 0; border-radius: 0.45rem; cursor: pointer; font-weight: 700; }
.pricing-subject-tabs button.is-active { color: var(--slate-ink); background: var(--sky); }

.pricing-view { display: grid; gap: 1rem; }
.pricing-view[hidden] { display: none; }
.pricing-band { display: grid; grid-template-columns: minmax(13rem, 0.28fr) minmax(0, 1fr); gap: 1rem; padding: 1rem; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); }
.pricing-band-heading { display: flex; min-height: 22rem; padding: 1.5rem; background: var(--pale); border-radius: 0.65rem; flex-direction: column; }
.pricing-band-heading span { width: fit-content; padding: 0.4rem 0.55rem; color: var(--white); background: var(--coral); border-radius: 0.3rem; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.pricing-band-heading h3 { margin: auto 0 0; color: var(--slate-ink); font-size: clamp(2rem, 3vw, 3.4rem); letter-spacing: -0.05em; line-height: 0.94; }
.pricing-band-heading small { margin-top: 0.65rem; color: var(--slate); font-weight: 700; text-transform: uppercase; }
.pricing-band-advanced .pricing-band-heading { background: var(--sky); }

.pricing-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.65rem; }
.pricing-options article { display: flex; min-height: 22rem; padding: 1.35rem; color: var(--slate-ink); background: var(--white); border-radius: 0.65rem; flex-direction: column; transition: transform 220ms ease, box-shadow 220ms ease; }
.pricing-options article:hover { z-index: 1; box-shadow: 0 1.3rem 3rem rgba(0, 0, 0, 0.22); transform: translateY(-0.35rem); }
.pricing-options article > span { color: var(--coral); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.pricing-options h4 { margin: 1rem 0 0; font-size: 1.35rem; line-height: 1.1; }
.pricing-options p { margin: 0.8rem 0 1.2rem; color: var(--slate); }
.pricing-options article > small { margin-top: auto; color: var(--blue); font-weight: 700; }
.pricing-options article > strong { margin-top: 0.15rem; color: var(--slate-ink); font-size: 3.2rem; letter-spacing: -0.06em; line-height: 1; }
.pricing-options article > a { width: 100%; margin-top: 1rem; padding: 0.8rem; color: var(--white); background: var(--coral); border-radius: 0.4rem; font-weight: 800; text-align: center; transition: transform 180ms ease, background 180ms ease; }
.pricing-options article > a:hover { background: #e85b4d; transform: translateY(-0.12rem); }
.pricing-enquiry-card { color: var(--white) !important; background: var(--slate) !important; }
.pricing-enquiry-card h4, .pricing-enquiry-card p { color: var(--white); }
.pricing-enquiry-card a { margin-top: auto !important; }

.pricing-note { display: flex; align-items: flex-start; gap: 1rem; margin-top: 1.5rem; padding: 1rem 1.2rem; color: var(--pale); border-top: 1px solid rgba(255, 255, 255, 0.15); }
.pricing-note span { display: grid; flex: 0 0 auto; width: 1.5rem; height: 1.5rem; color: var(--slate-ink); background: var(--sky); border-radius: 50%; place-items: center; font-weight: 800; }
.pricing-note p { margin: 0; }

.subjects-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.65fr); align-items: end; gap: clamp(3rem, 8vw, 9rem); }
.subjects-cta h2 { max-width: 12ch; margin: 0; font-size: clamp(3rem, 5.5vw, 5.8rem); letter-spacing: -0.06em; line-height: 0.94; }
.subjects-cta > div:last-child p { margin: 0 0 2rem; color: var(--slate); font-size: 1.08rem; }

@keyframes field-flow { 0%, 100% { opacity: 0.35; transform: translateX(-0.35rem); } 50% { opacity: 1; transform: translateX(0.35rem); } }

@media (max-width: 980px) {
  .subjects-hero { grid-template-columns: 1fr; padding-top: 9rem; }
  .subjects-hero-copy h1 { max-width: 12ch; }
  .subject-orbit { width: min(100%, 40rem); min-height: 35rem; margin-left: auto; }
  .pricing-band { grid-template-columns: 1fr; }
  .pricing-band-heading { min-height: 11rem; }
  .pricing-options article { min-height: 21rem; }
}

@media (max-width: 760px) {
  .subjects-hero { min-height: auto; padding-bottom: 6rem; }
  .subjects-hero-copy h1 { font-size: clamp(3.4rem, 14vw, 5.4rem); }
  .subjects-hero-actions { align-items: flex-start; flex-direction: column; }
  .subject-orbit { min-height: 30rem; }
  .orbit-subject { min-width: 8.25rem; padding: 0.8rem; }
  .orbit-further { right: 0; }
  .orbit-physics { left: 0; }
  .subject-card-grid { grid-template-columns: 1fr; }
  .subject-course-card { min-height: 42rem; }
  .pricing-intro, .subjects-cta { grid-template-columns: 1fr; gap: 2rem; }
  .pricing-options { grid-template-columns: 1fr; }
  .pricing-options article { min-height: 0; }
}

@media (max-width: 480px) {
  .subject-orbit { min-height: 25rem; }
  .orbit-core { width: 7.8rem; height: 7.8rem; }
  .orbit-ring-one { width: 86%; height: 48%; }
  .orbit-subject { min-width: 7rem; padding: 0.65rem; }
  .orbit-subject strong { font-size: 0.85rem; }
  .subject-course-card { min-height: 0; padding: 1.35rem; }
  .course-animation { width: 100%; height: 10rem; margin-top: 1rem; }
  .pricing-subject-tabs { margin-inline: calc(var(--page-pad) * -0.5); }
}

/* How we teach */
.teaching-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(27rem, 0.75fr);
  align-items: center;
  gap: clamp(4rem, 8vw, 9rem);
  width: min(100%, var(--content-max));
  min-height: 100dvh;
  margin-inline: auto;
  padding: clamp(8.5rem, 13vh, 10rem) var(--page-pad) 6rem;
}

.teaching-hero-copy h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.7rem, 7vw, 7.4rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.88;
  text-wrap: balance;
}

.teaching-hero-copy > p:not(.hero-kicker) {
  max-width: 38rem;
  margin: 2rem 0 0;
  color: var(--slate);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

.teaching-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2.3rem;
}

.method-preview {
  position: relative;
  display: grid;
  gap: 0.75rem;
  min-height: 34rem;
  padding: 3.2rem 2.5rem;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 12%, rgba(136, 189, 242, 0.22), transparent 25%),
    var(--slate-deep);
  border-radius: 2rem 0.8rem 2rem 0.8rem;
  box-shadow: 0 2.5rem 7rem rgba(32, 49, 63, 0.24);
  overflow: hidden;
}

.method-preview::before {
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 13rem;
  height: 13rem;
  background: rgba(255, 107, 91, 0.16);
  border-radius: 50%;
  content: "";
}

.method-preview > div:not(.method-preview-line) {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  align-items: center;
  gap: 1rem;
  width: calc(100% - 1.6rem);
  min-height: 4.6rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.65rem;
  backdrop-filter: blur(8px);
}

.method-preview > div:nth-of-type(even) {
  margin-left: 1.6rem;
}

.method-preview > div:not(.method-preview-line) span {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.method-preview > div:not(.method-preview-line) strong {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.method-preview-line {
  position: absolute;
  z-index: 1;
  top: 4rem;
  bottom: 4rem;
  left: 3.7rem;
  width: 2px;
  background: rgba(189, 221, 252, 0.28);
}

.method-preview-line span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0.85rem;
  height: 0.85rem;
  background: var(--sky);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 0.55rem rgba(136, 189, 242, 0.13);
  animation: method-preview-progress 5.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  transform: translate(-50%, 0);
}

@keyframes method-preview-progress {
  0%, 8% { transform: translate(-50%, 0); }
  92%, 100% { transform: translate(-50%, 25rem); }
}

.teaching-process {
  padding-top: clamp(7rem, 10vw, 10rem);
  padding-bottom: clamp(8rem, 12vw, 12rem);
  scroll-margin-top: 5rem;
}

.teaching-process-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.65fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 9rem);
  margin-bottom: 6rem;
}

.teaching-process-heading .hero-kicker {
  grid-column: 1 / -1;
  margin-bottom: -2rem;
}

.teaching-process-heading h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 6.5rem);
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.teaching-process-heading > p:last-child {
  max-width: 35rem;
  margin: 0;
  color: var(--slate);
  font-size: 1.08rem;
  line-height: 1.65;
}

.teaching-flow {
  position: relative;
  width: min(100%, 72rem);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.teaching-flow::before,
.teaching-flow::after {
  position: absolute;
  z-index: 0;
  top: 2rem;
  bottom: 2rem;
  left: 50%;
  width: 2px;
  content: "";
}

.teaching-flow::before {
  background: rgba(106, 137, 167, 0.24);
}

.teaching-flow::after {
  background: var(--sky);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 3.2s cubic-bezier(0.65, 0, 0.35, 1);
}

.teaching-process.is-active .teaching-flow::after {
  transform: scaleY(1);
}

.teaching-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5rem minmax(0, 1fr);
  align-items: center;
  min-height: 15rem;
  margin-bottom: 2rem;
  transition: opacity 600ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.has-js .teaching-step {
  opacity: 0;
  transform: translateY(2.5rem);
}

.has-js .teaching-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.teaching-step-number {
  z-index: 2;
  display: grid;
  grid-column: 2;
  grid-row: 1;
  width: 4rem;
  height: 4rem;
  margin-inline: auto;
  color: var(--slate-ink);
  background: var(--sky);
  border: 0.4rem solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0.8rem 2rem rgba(56, 73, 89, 0.16);
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.teaching-step:nth-child(odd) article {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}

.teaching-step:nth-child(even) article {
  grid-column: 3;
  grid-row: 1;
}

.teaching-step article {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--white);
  border-top: 3px solid var(--coral);
  border-radius: 0.7rem 0.7rem 1.4rem 0.7rem;
  box-shadow: 0 1.8rem 5rem rgba(56, 73, 89, 0.11);
}

.teaching-step:nth-child(even) article {
  border-color: var(--sky);
  border-radius: 0.7rem 0.7rem 0.7rem 1.4rem;
}

.teaching-step-label {
  margin: 0 0 0.6rem;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.teaching-step h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.teaching-step article > p:not(.teaching-step-label) {
  margin: 1rem 0 0;
  color: var(--slate);
  line-height: 1.6;
}

.teaching-step-proof {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.58rem 0.72rem;
  color: var(--slate-ink);
  background: rgba(189, 221, 252, 0.45);
  border-radius: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.teaching-step:not(:last-child)::after {
  position: absolute;
  z-index: 3;
  bottom: -1.3rem;
  left: 50%;
  display: grid;
  width: 2rem;
  height: 2rem;
  color: var(--coral);
  background: var(--paper);
  border: 1px solid rgba(255, 107, 91, 0.28);
  border-radius: 50%;
  content: "↓";
  place-items: center;
  font-size: 1.35rem;
  font-weight: 800;
  animation: teaching-arrow-forward 1.5s ease-in-out infinite;
  transform: translateX(-50%);
}

@keyframes teaching-arrow-forward {
  0%, 100% { opacity: 0.45; transform: translate(-50%, -0.35rem); }
  50% { opacity: 1; transform: translate(-50%, 0.35rem); }
}

.teaching-evidence {
  display: grid;
  grid-template-columns: minmax(18rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 8vw, 9rem);
  padding-top: 2rem;
  padding-bottom: clamp(8rem, 12vw, 12rem);
}

.teaching-evidence-heading h2 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(3rem, 5.5vw, 5.8rem);
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.teaching-evidence-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 0.8rem;
}

.teaching-evidence-grid article {
  padding: clamp(1.7rem, 3vw, 2.6rem);
  background: var(--pale);
  border-radius: 0.6rem;
}

.teaching-evidence-grid article:first-child {
  grid-row: span 2;
  align-content: end;
  display: grid;
  min-height: 24rem;
  color: var(--white);
  background: var(--slate);
}

.teaching-evidence-grid article:last-child {
  background: rgba(255, 107, 91, 0.13);
}

.teaching-evidence-grid span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
}

.teaching-evidence-grid h3 {
  margin: 1rem 0 0;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.teaching-evidence-grid p {
  margin: 0.8rem 0 0;
  color: var(--slate);
  line-height: 1.55;
}

.teaching-evidence-grid article:first-child p {
  color: rgba(255, 255, 255, 0.75);
}

.teaching-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.72fr);
  align-items: end;
  gap: clamp(2.5rem, 6vw, 6rem);
  width: min(calc(100% - 2rem), 76rem);
  margin-bottom: 2.5rem;
  padding: clamp(2.6rem, 4.5vw, 4rem);
  color: var(--white);
  background:
    radial-gradient(circle at 92% 10%, rgba(136, 189, 242, 0.18), transparent 26%),
    var(--slate);
  border-radius: 1rem;
  box-shadow: 0 2rem 5rem rgba(32, 49, 63, 0.18);
}

.teaching-cta h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(2.7rem, 4.5vw, 4.6rem);
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.teaching-cta > div:last-child > p {
  margin: 0 0 1.6rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
  line-height: 1.6;
}

.teaching-whatsapp {
  display: inline-flex;
  gap: 0.55rem;
  margin: 1.2rem 0 0 1.2rem;
  color: var(--pale);
  font-weight: 700;
}

.teaching-whatsapp span {
  transition: transform 180ms ease;
}

.teaching-whatsapp:hover span {
  transform: translateX(0.25rem);
}

@media (max-width: 980px) {
  .teaching-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 10rem;
  }

  .method-preview {
    width: min(100%, 38rem);
    margin-left: auto;
  }

  .teaching-process-heading,
  .teaching-evidence,
  .teaching-cta {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .teaching-process-heading .hero-kicker {
    margin-bottom: -1rem;
  }

  .teaching-evidence-grid {
    width: min(100%, 48rem);
  }
}

@media (max-width: 680px) {
  .teaching-hero-copy h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .teaching-hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .method-preview {
    min-height: 31rem;
    padding: 2rem 1.2rem;
  }

  .method-preview-line {
    top: 2.8rem;
    bottom: 2.8rem;
    left: 2.45rem;
  }

  .method-preview > div:not(.method-preview-line) {
    width: 100%;
    min-height: 4.5rem;
  }

  .method-preview > div:nth-of-type(even) {
    margin-left: 0;
  }

  @keyframes method-preview-progress {
    0%, 8% { transform: translate(-50%, 0); }
    92%, 100% { transform: translate(-50%, 23rem); }
  }

  .teaching-process-heading {
    margin-bottom: 4rem;
  }

  .teaching-flow::before,
  .teaching-flow::after {
    left: 1.6rem;
  }

  .teaching-step {
    grid-template-columns: 3.2rem minmax(0, 1fr);
    min-height: 0;
    margin-bottom: 4rem;
  }

  .teaching-step-number {
    grid-column: 1;
    width: 3.2rem;
    height: 3.2rem;
    border-width: 0.3rem;
  }

  .teaching-step:nth-child(odd) article,
  .teaching-step:nth-child(even) article {
    grid-column: 2;
    text-align: left;
  }

  .teaching-step:not(:last-child)::after {
    bottom: -2.8rem;
    left: 1.6rem;
  }

  .teaching-evidence-grid {
    grid-template-columns: 1fr;
  }

  .teaching-evidence-grid article:first-child {
    grid-row: auto;
    min-height: 18rem;
  }

  .teaching-cta {
    width: calc(100% - 1rem);
    margin-bottom: 1.5rem;
    padding: 2.1rem 1.4rem 2.4rem;
  }

  .teaching-whatsapp {
    display: flex;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .method-preview-line span,
  .teaching-step:not(:last-child)::after {
    animation: none;
  }

  .teaching-flow::after {
    transform: scaleY(1);
    transition: none;
  }
}

/* Resources library */
.resources-page {
  background: var(--paper);
}

.resources-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(31rem, 1.05fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  width: min(100%, var(--content-max));
  min-height: 100dvh;
  margin-inline: auto;
  padding: 9rem var(--page-pad) 5.5rem;
  overflow: hidden;
}

.resources-hero-copy {
  position: relative;
  z-index: 2;
}

.resources-hero-copy h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4rem, 7.2vw, 7.4rem);
  font-weight: 800;
  letter-spacing: -0.078em;
  line-height: 0.86;
  text-wrap: balance;
}

.resources-hero-copy h1 span {
  position: relative;
  display: inline;
}

.resources-hero-copy h1 span::after {
  position: absolute;
  z-index: -1;
  right: -0.08em;
  bottom: 0.05em;
  left: -0.03em;
  height: 0.11em;
  background: var(--coral);
  border-radius: 999px;
  content: "";
  transform: rotate(-1deg);
}

.resources-hero-copy > p:not(.hero-kicker) {
  max-width: 39rem;
  margin: 2rem 0 0;
  color: var(--slate);
  font-size: clamp(1.04rem, 1.3vw, 1.2rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.resources-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.35rem;
}

.resources-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 36rem;
  margin-top: 3.1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(56, 73, 89, 0.18);
}

.resources-hero-proof div {
  display: grid;
  gap: 0.22rem;
  padding-right: 1rem;
}

.resources-hero-proof div + div {
  padding-left: 1.1rem;
  border-left: 1px solid rgba(56, 73, 89, 0.16);
}

.resources-hero-proof strong {
  color: var(--slate-ink);
  font-size: clamp(1.55rem, 2vw, 2.05rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.resources-hero-proof span {
  color: var(--slate);
  font-size: 0.82rem;
  font-weight: 600;
}

.resource-paper-stage {
  position: relative;
  min-height: 43rem;
  isolation: isolate;
}

.resource-paper-stage::before {
  position: absolute;
  z-index: -2;
  inset: 6% -18% 0 2%;
  background: rgba(189, 221, 252, 0.58);
  border: 1px solid rgba(106, 137, 167, 0.19);
  border-radius: 48% 52% 44% 56% / 53% 45% 55% 47%;
  box-shadow: 0 3rem 8rem rgba(56, 73, 89, 0.13);
  content: "";
}

.resource-paper-stage::after {
  position: absolute;
  z-index: -1;
  top: 3%;
  right: 3%;
  width: 9rem;
  height: 9rem;
  border: 1px solid rgba(136, 189, 242, 0.62);
  border-radius: 50%;
  content: "";
}

.resource-paper {
  position: absolute;
  width: clamp(16.5rem, 22vw, 22rem);
  aspect-ratio: 0.707;
  margin: 0;
  padding: 0.55rem;
  background: var(--white);
  border: 1px solid rgba(56, 73, 89, 0.11);
  border-radius: 0.55rem;
  box-shadow: 0 2rem 4.5rem rgba(56, 73, 89, 0.2);
  overflow: hidden;
  transform-origin: 50% 100%;
}

.resource-paper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 0.25rem;
}

.resource-paper-back {
  top: 14%;
  left: 3%;
  transform: rotate(-9deg);
  animation: resourcePaperBack 7s ease-in-out infinite;
}

.resource-paper-middle {
  top: 7%;
  right: 3%;
  transform: rotate(8deg);
  animation: resourcePaperMiddle 7s 0.6s ease-in-out infinite;
}

.resource-paper-front {
  z-index: 2;
  bottom: 1%;
  left: 50%;
  transform: translateX(-50%) rotate(-1deg);
  animation: resourcePaperFront 6.5s ease-in-out infinite;
}

.resource-stage-label {
  position: absolute;
  z-index: 4;
  right: 1%;
  bottom: 8%;
  display: grid;
  gap: 0.4rem;
  padding: 1.05rem 1.2rem;
  color: var(--white);
  background: var(--slate-ink);
  border-radius: 0.75rem;
  box-shadow: 0 1.25rem 2.5rem rgba(56, 73, 89, 0.2);
  transform: rotate(2deg);
}

.resource-stage-label span {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.resource-stage-label strong {
  font-size: 1rem;
  line-height: 1.15;
}

@keyframes resourcePaperBack {
  0%, 100% { transform: translateY(0) rotate(-9deg); }
  50% { transform: translateY(-0.75rem) rotate(-7.5deg); }
}

@keyframes resourcePaperMiddle {
  0%, 100% { transform: translateY(0) rotate(8deg); }
  50% { transform: translateY(-0.9rem) rotate(6.5deg); }
}

@keyframes resourcePaperFront {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(-1deg); }
  50% { transform: translateX(-50%) translateY(-0.65rem) rotate(0.4deg); }
}

.resource-library {
  padding-top: clamp(6rem, 10vw, 9rem);
  padding-bottom: clamp(7rem, 12vw, 11rem);
}

.resource-library-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 3rem;
}

.resource-library-heading h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3rem, 5.3vw, 5.6rem);
  letter-spacing: -0.065em;
  line-height: 0.93;
  text-wrap: balance;
}

.resource-library-heading > div:first-child > p:last-child {
  max-width: 44rem;
  margin: 1.5rem 0 0;
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.65;
}

.resource-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  max-width: 31rem;
}

.resource-filter button {
  min-height: 2.85rem;
  padding: 0.65rem 0.95rem;
  color: var(--slate);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(56, 73, 89, 0.14);
  border-radius: 0.55rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.resource-filter button:hover,
.resource-filter button:focus-visible {
  color: var(--slate-ink);
  border-color: rgba(56, 73, 89, 0.32);
  transform: translateY(-2px);
}

.resource-filter button.is-active {
  color: var(--white);
  background: var(--slate-ink);
  border-color: var(--slate-ink);
}

.resource-filter button:active {
  transform: translateY(0) scale(0.98);
}

.resource-count {
  margin: 2.2rem 0 1rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.resource-card {
  position: relative;
  display: grid;
  background: var(--white);
  border: 1px solid rgba(56, 73, 89, 0.11);
  border-radius: 1.35rem;
  box-shadow: 0 1.5rem 4rem rgba(56, 73, 89, 0.08);
  overflow: hidden;
  transition: border-color 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

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

.resource-card:hover {
  border-color: rgba(106, 137, 167, 0.34);
  box-shadow: 0 2rem 5rem rgba(56, 73, 89, 0.14);
  transform: translateY(-0.35rem);
}

.resource-card-wide {
  grid-column: span 7;
  grid-template-columns: minmax(13rem, 0.82fr) minmax(0, 1.18fr);
  min-height: 37rem;
}

.resource-card-tall {
  grid-column: span 5;
  grid-template-rows: 25rem 1fr;
}

.resource-card-full {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  min-height: 29rem;
  color: var(--white);
  background: var(--slate-ink);
  border-color: rgba(255, 255, 255, 0.08);
}

.resource-cover {
  position: relative;
  display: grid;
  min-height: 0;
  padding: clamp(1rem, 2vw, 1.65rem);
  background: rgba(189, 221, 252, 0.48);
  overflow: hidden;
  place-items: center;
}

.resource-cover::before {
  position: absolute;
  inset: auto -25% -25% auto;
  width: 12rem;
  height: 12rem;
  background: rgba(255, 107, 91, 0.15);
  border-radius: 50%;
  content: "";
}

.resource-cover img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 32rem;
  background: var(--white);
  border: 1px solid rgba(56, 73, 89, 0.12);
  border-radius: 0.35rem;
  box-shadow: 0 1.3rem 2.7rem rgba(56, 73, 89, 0.18);
  object-fit: contain;
  object-position: top;
  transition: transform 320ms ease;
}

.resource-cover:hover img,
.resource-cover:focus-visible img {
  transform: scale(1.025) rotate(-0.5deg);
}

.resource-cover > span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.62rem 0.78rem;
  color: var(--white);
  background: var(--slate-ink);
  border-radius: 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.resource-card-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: clamp(1.65rem, 3.2vw, 3rem);
}

.resource-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.resource-eyebrow span,
.resource-eyebrow small {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.34rem 0.55rem;
  border-radius: 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resource-eyebrow span {
  color: var(--slate-ink);
  background: var(--pale);
}

.resource-eyebrow small {
  color: var(--coral);
  background: rgba(255, 107, 91, 0.1);
}

.resource-card h3 {
  max-width: 15ch;
  margin: 1.35rem 0 0;
  font-size: clamp(1.8rem, 2.7vw, 3rem);
  letter-spacing: -0.045em;
  line-height: 1;
  text-wrap: balance;
}

.resource-card-copy > p {
  max-width: 39rem;
  margin: 1.2rem 0 0;
  color: var(--slate);
  line-height: 1.62;
  text-wrap: pretty;
}

.resource-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.resource-facts li {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
}

.resource-facts li + li::before {
  margin: 0 0.55rem;
  color: var(--coral);
  content: "/";
}

.resource-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  margin-top: auto;
  padding-top: 2rem;
}

.resource-preview-link {
  color: var(--slate-ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.resource-preview-link span {
  display: inline-block;
  transition: transform 180ms ease;
}

.resource-preview-link:hover span {
  transform: translate(0.2rem, -0.2rem);
}

.resource-download {
  min-height: 3.15rem;
  margin-left: auto;
  padding: 0.8rem 1rem;
  font-size: 0.76rem;
}

.resource-card-paper .resource-card-copy {
  align-self: stretch;
  justify-content: center;
}

.resource-card-paper h3 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
}

.resource-card-paper .resource-card-copy > p,
.resource-card-paper .resource-facts li {
  color: rgba(255, 255, 255, 0.72);
}

.resource-card-paper .resource-eyebrow span {
  color: var(--slate-ink);
  background: var(--sky);
}

.resource-card-paper .resource-eyebrow small {
  color: var(--white);
  background: rgba(255, 107, 91, 0.22);
}

.resource-card-paper .resource-preview-link {
  color: var(--white);
}

.resource-card-paper .resource-cover {
  margin: 1rem;
  border-radius: 0.85rem;
}

.resource-card-quotient {
  color: var(--slate-ink);
  background: var(--white);
  border-color: rgba(56, 73, 89, 0.11);
}

.resource-card-quotient .resource-cover {
  margin: 1rem;
  border-radius: 0.85rem;
}

.resource-card-quotient .resource-card-copy {
  align-self: stretch;
  justify-content: center;
}

.resource-card-quotient h3 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
}

.reveal-resource {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-resource.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.resource-promise {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding-top: clamp(6rem, 10vw, 9rem);
  padding-bottom: clamp(7rem, 11vw, 10rem);
  border-top: 1px solid rgba(56, 73, 89, 0.14);
}

.resource-promise h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.8rem, 4.7vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 0.94;
  text-wrap: balance;
}

.resource-promise ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.resource-promise li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(56, 73, 89, 0.16);
}

.resource-promise li:last-child {
  border-bottom: 1px solid rgba(56, 73, 89, 0.16);
}

.resource-promise li > span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.resource-promise strong {
  font-size: 1.22rem;
}

.resource-promise li p {
  margin: 0.45rem 0 0;
  color: var(--slate);
}

.resources-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
  margin-bottom: clamp(5rem, 9vw, 8rem);
  padding: clamp(2.2rem, 5vw, 4.5rem);
  color: var(--white);
  background: var(--slate-ink);
  border-radius: 1.6rem;
  box-shadow: 0 2.5rem 6rem rgba(56, 73, 89, 0.2);
}

.resources-cta .hero-kicker {
  color: var(--sky);
}

.resources-cta h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  letter-spacing: -0.06em;
  line-height: 0.92;
  text-wrap: balance;
}

.resources-cta > div:last-child {
  display: grid;
  justify-items: start;
  gap: 1.5rem;
}

.resources-cta > div:last-child p {
  max-width: 36rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.65;
}

@media (max-width: 1080px) and (min-width: 821px) {
  .nav-cta {
    display: none;
  }
}

@media (max-width: 980px) {
  .resources-hero {
    grid-template-columns: 1fr;
    padding-top: 9rem;
  }

  .resources-hero-copy h1 {
    max-width: 12ch;
  }

  .resource-paper-stage {
    width: min(100%, 43rem);
    min-height: 40rem;
    margin-inline: auto;
  }

  .resource-library-heading,
  .resource-promise,
  .resources-cta {
    grid-template-columns: 1fr;
  }

  .resource-filter {
    justify-content: flex-start;
    max-width: none;
  }

  .resource-card-wide,
  .resource-card-tall {
    grid-column: span 6;
    grid-template-columns: 1fr;
    grid-template-rows: 24rem 1fr;
  }

  .resource-card-copy {
    min-height: 24rem;
  }
}

@media (max-width: 720px) {
  .resources-hero {
    gap: 2.5rem;
    min-height: auto;
    padding-top: 8.5rem;
  }

  .resources-hero-copy h1 {
    font-size: clamp(3.4rem, 15.5vw, 5rem);
  }

  .resources-hero-proof {
    max-width: none;
  }

  .resource-paper-stage {
    min-height: 32rem;
  }

  .resource-paper {
    width: clamp(12.5rem, 47vw, 17rem);
  }

  .resource-stage-label {
    right: 0;
    bottom: 2%;
    padding: 0.8rem 0.9rem;
  }

  .resource-library-heading h2 {
    font-size: clamp(2.8rem, 13vw, 4.5rem);
  }

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

  .resource-card-wide,
  .resource-card-tall,
  .resource-card-full {
    grid-column: 1;
    grid-template-columns: 1fr;
    grid-template-rows: 22rem 1fr;
    min-height: 0;
  }

  .resource-card-full .resource-card-copy {
    order: 2;
  }

  .resource-card-full .resource-cover {
    order: 1;
    margin: 0;
    border-radius: 0;
  }

  .resource-card-copy {
    min-height: 0;
  }

  .resource-card h3 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .resource-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .resource-download {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .resources-hero-proof {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .resources-hero-proof div,
  .resources-hero-proof div + div {
    grid-template-columns: 2.7rem 1fr;
    align-items: center;
    padding: 0;
    border: 0;
  }

  .resources-hero-proof strong {
    font-size: 1.45rem;
  }

  .resource-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-filter button {
    width: 100%;
  }

  .resource-card-wide,
  .resource-card-tall,
  .resource-card-full {
    grid-template-rows: 19rem 1fr;
  }

  .resource-promise li {
    grid-template-columns: 2.5rem 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .resource-paper,
  .resource-paper-front,
  .resource-paper-middle,
  .resource-paper-back {
    animation: none;
  }

  .reveal-resource {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-ring, .mini-circle, .mini-tangent, .mini-point, .mini-curve, .mini-max-line, .field-wave, .chem-electron { animation: none; }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--slate-ink);
  background: var(--paper);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  z-index: 90;
  inset: 0;
  background-image: radial-gradient(rgba(32, 49, 63, 0.22) 0.45px, transparent 0.45px);
  background-size: 4px 4px;
  content: "";
  opacity: 0.12;
  pointer-events: none;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--slate-deep);
  border-radius: 0.5rem;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-shell {
  width: min(100%, var(--content-max));
  margin-inline: auto;
  padding: var(--section-space) var(--page-pad);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.85rem 1.45rem;
  color: var(--slate-ink);
  background: var(--coral);
  border: 1px solid var(--coral);
  border-radius: 0.35rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(255, 107, 91, 0.22);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.button:hover {
  background: #ff8073;
  box-shadow: 0 16px 38px rgba(255, 107, 91, 0.3);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(1px) scale(0.98);
}

.button-small {
  min-height: 2.8rem;
  padding: 0.65rem 1.15rem;
  font-size: 0.92rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(0.3rem);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 50%;
  width: 100%;
  background: rgba(248, 248, 243, 0.91);
  border-bottom: 1px solid rgba(32, 49, 63, 0.16);
  box-shadow: 0 0.45rem 1.6rem rgba(56, 73, 89, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(100%, var(--content-max));
  min-height: 5.35rem;
  margin-inline: auto;
  padding: 0.65rem var(--page-pad);
  background: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.04rem;
  font-weight: 500;
  white-space: nowrap;
}

.brand strong {
  font-weight: 800;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  width: auto;
  line-height: 0;
}

.brand-lockup {
  display: block;
  width: clamp(6.9rem, 8.4vw, 7.6rem);
  height: auto;
  object-fit: contain;
}

.brand-type {
  display: grid;
  color: var(--slate-ink);
  line-height: 1;
}

.brand-type strong {
  font-size: clamp(1.2rem, 1.55vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.055em;
}

.brand-type > span {
  margin-top: 0.28rem;
  font-size: clamp(0.58rem, 0.72vw, 0.7rem);
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.brand-type em {
  margin-top: 0.45rem;
  color: var(--sky);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--slate-ink);
  background: var(--lime);
  border-radius: 0.35rem;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(1.25rem, 2.3vw, 2.5rem);
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  font-weight: 650;
  letter-spacing: -0.018em;
}

.nav-links a {
  position: relative;
  z-index: 0;
  padding: 0.72rem 0.18rem;
  color: var(--slate-ink);
  transition: color 220ms ease, transform 220ms ease;
}

.nav-links a::before {
  position: absolute;
  z-index: -1;
  inset: 0.38rem -0.58rem;
  background: var(--nav-violet-soft);
  border-radius: 0.5rem;
  content: "";
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 220ms ease, transform 220ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 2px;
  background: var(--nav-violet);
  border-radius: 999px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current] {
  color: var(--nav-violet);
  transform: translateY(-1px);
}

.nav-links a:hover::before,
.nav-links a:focus-visible::before,
.nav-links a[aria-current]::before {
  opacity: 1;
  transform: scale(1);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a:active {
  transform: translateY(0) scale(0.97);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0.3rem auto;
  background: var(--slate-deep);
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(29rem, 0.92fr);
  align-items: center;
  min-height: 100dvh;
  padding: clamp(7rem, 12vh, 9rem) var(--page-pad) 4rem;
  background: var(--paper);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(72rem, 100%);
  padding-left: max(0rem, calc((100vw - var(--content-max)) / 2));
}

.hero-kicker {
  margin: 0 0 1.5rem;
  color: var(--slate-ink);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 72rem;
  margin: 0;
  font-size: clamp(3.4rem, 6.1vw, 6.7rem);
  font-weight: 800;
  letter-spacing: -0.072em;
  line-height: 0.84;
  text-transform: uppercase;
}

.hero h1 span {
  position: relative;
  display: inline-block;
  color: var(--slate-ink);
}

.hero h1 span::after {
  position: absolute;
  z-index: -1;
  right: -0.12em;
  bottom: -0.03em;
  left: -0.04em;
  height: 0.14em;
  background: var(--coral);
  border-radius: 0.1em;
  content: "";
  opacity: 0.82;
  transform: rotate(-1.5deg);
}

.hero-intro {
  max-width: 34rem;
  margin: 2rem 0 0;
  color: var(--slate);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2.3rem;
}

.hero-visual {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(100%, 52rem);
  min-height: 38rem;
  margin: 1rem 0 0 -2vw;
}

.learning-scene {
  isolation: isolate;
}

.illustration-stage {
  position: relative;
}

.learning-scene::before {
  position: absolute;
  z-index: -1;
  inset: 7% 1% 5% 6%;
  background: rgba(189, 221, 252, 0.58);
  border: 1px solid rgba(106, 137, 167, 0.18);
  border-radius: 42% 58% 55% 45% / 44% 45% 55% 56%;
  box-shadow: 0 2rem 6rem rgba(56, 73, 89, 0.16);
  content: "";
  transform: rotate(-2deg);
}

.learning-illustration {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 1.1rem 1.8rem rgba(56, 73, 89, 0.12));
}

.scene-loop,
.desk-line,
.student-nose,
.student-mouth,
.student-arm,
.student-hand,
.student-collar,
.monitor-stand,
.graph-grid path,
.graph-axis path,
.quadratic-curve,
.point-maximum path {
  fill: none;
  stroke: var(--slate);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scene-loop {
  stroke: var(--blue);
  stroke-width: 3;
}

.scene-bubble-blue {
  fill: var(--sky);
}

.scene-bubble-pale {
  fill: var(--coral);
}

.desk-top {
  fill: var(--slate);
}

.desk-line {
  stroke-width: 11;
}

.chair {
  fill: var(--blue);
  stroke: var(--slate);
  stroke-width: 5;
}

.student-body {
  fill: var(--slate);
}

.student-neck,
.student-head,
.student-ear,
.student-hand {
  fill: #c98262;
  stroke: var(--slate);
  stroke-width: 5;
}

.student-hair {
  fill: var(--slate-ink);
}

.student-nose,
.student-mouth,
.student-arm,
.student-collar {
  stroke-width: 5;
}

.student-eye {
  fill: none;
  stroke: var(--slate-ink);
  stroke-linecap: round;
  stroke-width: 9;
}

.monitor-shadow {
  fill: rgba(56, 73, 89, 0.16);
}

.monitor-frame {
  fill: var(--slate);
  stroke: var(--slate-ink);
  stroke-width: 5;
}

.monitor-screen {
  fill: #f9fcff;
  stroke: var(--slate-ink);
  stroke-width: 4;
}

.monitor-dot-coral {
  fill: var(--coral);
}

.monitor-dot-blue {
  fill: var(--sky);
}

.monitor-dot-pale {
  fill: var(--pale);
}

.monitor-stand {
  stroke: var(--slate-ink);
  stroke-width: 12;
}

.graph-grid path {
  stroke: var(--pale);
  stroke-width: 1.5;
}

.graph-axis path {
  stroke: var(--slate);
  stroke-width: 3;
}

.graph-axis text,
.lesson-label text,
.graph-point text,
.focus-card text {
  fill: var(--slate-ink);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 700;
}

.graph-axis text {
  font-size: 15px;
}

.axis-line,
.quadratic-curve {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
}

.quadratic-curve {
  stroke: var(--sky);
  stroke-width: 8;
}

.graph-point {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.graph-point circle {
  fill: var(--coral);
  stroke: #ffffff;
  stroke-width: 4;
}

.graph-point text {
  font-size: 13px;
}

.point-maximum path {
  stroke: var(--coral);
  stroke-width: 2;
}

.point-maximum rect {
  fill: var(--coral);
}

.point-maximum text {
  fill: #ffffff;
  font-size: 12px;
}

.lesson-label rect {
  fill: var(--pale);
}

.lesson-label text {
  font-size: 12px;
}

.focus-card {
  filter: drop-shadow(0 0.8rem 1.4rem rgba(56, 73, 89, 0.14));
}

.focus-card rect {
  fill: #ffffff;
  stroke: var(--blue);
  stroke-width: 2;
}

.focus-card text {
  font-size: 14px;
}

.focus-card .focus-card-sub {
  fill: var(--blue);
  font-size: 11px;
  font-weight: 600;
}

.focus-card-one {
  transform: translate(27px, 177px) rotate(-3deg);
}

.focus-card-two {
  transform: translate(548px, 397px) rotate(2deg);
}

.lesson-status {
  position: absolute;
  right: -0.5rem;
  bottom: 4.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 10rem;
  padding: 0.8rem 1rem;
  color: var(--white);
  background: var(--slate-ink);
  border-radius: 0.8rem;
  box-shadow: 0 1.2rem 3rem rgba(32, 49, 63, 0.24);
}

.lesson-status-light {
  width: 0.7rem;
  height: 0.7rem;
  background: var(--coral);
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 107, 91, 0.5);
  animation: live-pulse 2s ease-out infinite;
}

.lesson-status div {
  display: grid;
}

.lesson-status strong {
  font-size: 0.82rem;
}

.lesson-status small {
  color: var(--pale);
  font-size: 0.67rem;
}

.learner-levels {
  position: relative;
  z-index: 4;
  width: min(100%, 44rem);
  margin: -1.35rem auto 0;
}

.learner-levels > p {
  margin: 0 0 0.7rem;
  color: var(--slate);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.learner-levels-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(56, 73, 89, 0.12);
  border-radius: 1rem;
  box-shadow: 0 1rem 2.6rem rgba(56, 73, 89, 0.12);
  backdrop-filter: blur(12px);
}

.learner-level {
  position: relative;
  display: grid;
  align-content: start;
  min-width: 0;
  min-height: 7.35rem;
  padding: 1.05rem 1rem 1.2rem;
  transition: background-color 180ms ease, transform 180ms ease;
}

.learner-level + .learner-level {
  border-left: 1px solid rgba(56, 73, 89, 0.1);
}

.learner-level:hover {
  z-index: 1;
  background: rgba(189, 221, 252, 0.38);
  transform: translateY(-0.18rem);
}

.learner-level > span {
  margin-bottom: 0.28rem;
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.learner-level strong {
  color: var(--slate-ink);
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.learner-level small {
  display: block;
  margin-top: 0.3rem;
  color: var(--slate);
  font-size: 0.77rem;
  line-height: 1.45;
  text-wrap: pretty;
}

@keyframes live-pulse {
  70% {
    box-shadow: 0 0 0 0.6rem rgba(255, 107, 91, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 91, 0);
  }
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(106, 137, 167, 0.25);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-one {
  right: -15vw;
  bottom: -32vw;
  width: 65vw;
  height: 65vw;
}

.hero-orbit-two {
  top: 14%;
  right: 34%;
  width: 12rem;
  height: 12rem;
  border-color: rgba(136, 189, 242, 0.5);
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  bottom: 1.5rem;
  left: var(--page-pad);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-line {
  width: 4.5rem;
  height: 1px;
  background: var(--slate);
}

.marquee {
  color: var(--white);
  background: var(--slate-deep);
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 5.8rem;
  will-change: transform;
}

.marquee span {
  padding-inline: 2.4rem;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  font-weight: 600;
  white-space: nowrap;
}

.marquee i {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--coral);
  border-radius: 50%;
}

.section-heading {
  max-width: 58rem;
  margin-bottom: clamp(3.5rem, 8vw, 6.5rem);
}

.section-heading h2,
.faq-heading h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5.2vw, 5.7rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-heading p {
  max-width: 45rem;
  margin: 1.7rem 0 0;
  color: var(--slate);
  font-size: 1.16rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, minmax(15rem, auto));
  grid-auto-flow: dense;
  gap: 1rem;
}

.bento-card {
  position: relative;
  min-width: 0;
  padding: clamp(1.7rem, 4vw, 3.25rem);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 500ms ease;
}

.bento-card:hover {
  z-index: 2;
  box-shadow: var(--shadow);
  transform: translateY(-0.4rem);
}

.bento-card h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3.15rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.bento-card p {
  max-width: 31rem;
  margin: 1rem 0 0;
  font-size: 1.05rem;
}

.bento-number {
  margin-bottom: 2rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.bento-main {
  display: grid;
  grid-column: span 7;
  grid-row: span 2;
  grid-template-rows: auto auto 1fr;
  min-height: 34rem;
  color: var(--white);
  background: var(--slate-ink);
}

.bento-main p {
  color: var(--pale-soft);
}

.concept-visual {
  position: relative;
  display: flex;
  align-items: center;
  align-self: end;
  gap: 1rem;
  margin-top: 3rem;
}

.concept-visual span,
.concept-visual strong {
  display: grid;
  min-width: 5.5rem;
  height: 5.5rem;
  padding: 0.7rem;
  border-radius: 50%;
  place-items: center;
}

.concept-visual span {
  color: var(--slate-deep);
  background: var(--pale);
  font-size: 2.5rem;
}

.concept-visual strong {
  color: var(--slate-ink);
  background: var(--coral);
  font-size: 1rem;
}

.concept-path {
  position: relative;
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.28);
}

.concept-path::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 40%;
  height: 0.35rem;
  background: var(--sky);
  border-radius: 99px;
  content: "";
  transform: translateY(-50%);
}

.bento-blue {
  grid-column: span 5;
  color: var(--slate-ink);
  background: var(--lime);
}

.bento-light {
  grid-column: span 5;
  color: var(--slate-ink);
  background: var(--sky);
}

.subjects {
  padding-block: 1px;
  color: var(--white);
  background: var(--slate-ink);
}

.section-heading-light p {
  color: rgba(255, 255, 255, 0.72);
}

.subject-accordion {
  display: flex;
  min-height: 39rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
}

.subject-panel {
  position: relative;
  display: grid;
  flex: 0.58;
  min-width: 6.5rem;
  background: var(--slate);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  transition: flex 650ms cubic-bezier(0.16, 1, 0.3, 1), background 350ms ease;
}

.subject-panel:last-child {
  border-right: 0;
}

.subject-panel.is-active {
  flex: 2.3;
  color: var(--slate-ink);
  background: var(--lime);
}

.subject-panel button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 6.5rem;
  height: 100%;
  padding: 1.5rem;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.subject-index {
  font-size: 0.75rem;
  font-weight: 800;
}

.subject-title {
  margin-block: auto;
  font-size: 1.15rem;
  font-weight: 700;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.subject-plus {
  position: relative;
  width: 1.2rem;
  height: 1.2rem;
}

.subject-plus::before,
.subject-plus::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  content: "";
}

.subject-plus::after {
  transform: rotate(90deg);
  transition: transform 200ms ease;
}

.subject-panel.is-active .subject-plus::after {
  transform: rotate(0deg);
}

.subject-content {
  position: absolute;
  inset: 0 0 0 6.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 25rem;
  padding: clamp(2rem, 4vw, 4rem);
  opacity: 0;
  transform: translateX(1.5rem);
  transition: opacity 300ms ease 80ms, transform 500ms ease 80ms;
  pointer-events: none;
}

.subject-panel.is-active .subject-content {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.subject-content h3 {
  max-width: 32rem;
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.subject-content p {
  max-width: 34rem;
  margin: 1.5rem 0;
  font-size: 1.08rem;
}

.subject-content a {
  width: fit-content;
  border-bottom: 2px solid var(--slate-ink);
  font-weight: 700;
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 9vw, 10rem);
}

.approach-title {
  align-self: start;
}

.approach-kicker {
  margin: 0 0 1.5rem;
  color: var(--blue);
  font-weight: 700;
}

.approach-title h2 {
  margin: 0;
  font-size: clamp(3rem, 5.3vw, 5.8rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.approach-title > p:last-child {
  max-width: 32rem;
  margin: 1.8rem 0 0;
  color: var(--slate);
  font-size: 1.08rem;
}

.approach-steps {
  display: grid;
  gap: 1.25rem;
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  min-height: 18rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--white);
  border: 1px solid rgba(56, 73, 89, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 20px 55px rgba(56, 73, 89, 0.08);
}

.step-card > span {
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.step-card h3 {
  max-width: 30rem;
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.step-card p {
  max-width: 35rem;
  margin: 1.2rem 0 0;
  color: var(--slate);
  font-size: 1.05rem;
}

.family-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  min-height: 52rem;
  color: var(--white);
  background: var(--slate-ink);
}

.family-map {
  position: relative;
  min-height: 38rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 25%, rgba(136, 189, 242, 0.16), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    #273b4b;
  background-size: auto, 4rem 4rem, 4rem 4rem, auto;
}

.family-map::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 54%, rgba(23, 38, 48, 0.78));
  content: "";
}

.family-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.family-orb-one {
  top: 10%;
  left: 7%;
  width: 14rem;
  height: 14rem;
  background: rgba(201, 255, 86, 0.88);
  box-shadow: inset -1.5rem -1.5rem 3rem rgba(56, 73, 89, 0.16);
}

.family-orb-two {
  right: 8%;
  bottom: 4%;
  width: 20rem;
  height: 20rem;
  background: rgba(136, 189, 242, 0.7);
}

.family-orb-three {
  bottom: 9%;
  left: 14%;
  width: 8rem;
  height: 8rem;
  background: rgba(255, 107, 91, 0.78);
}

.progress-map {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(calc(100% - 4rem), 34rem);
  padding: 1.5rem;
  color: var(--slate-ink);
  background: rgba(248, 248, 243, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 0.65rem;
  box-shadow: 0 2.5rem 5rem rgba(15, 24, 31, 0.3);
  transform: translate(-50%, -50%) rotate(-2deg);
  backdrop-filter: blur(16px);
}

.progress-map-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(32, 49, 63, 0.17);
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.progress-map-head strong {
  color: #4f7118;
}

.progress-map ol {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.progress-map li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem;
  background: rgba(189, 221, 252, 0.25);
  border-radius: 0.35rem;
}

.progress-map li span {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.progress-map li strong {
  font-size: 0.88rem;
}

.progress-map li i {
  width: 0.75rem;
  height: 0.75rem;
  background: var(--lime);
  border: 2px solid var(--slate-ink);
  border-radius: 50%;
}

.family-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-space) var(--page-pad);
}

.family-content h2 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.7rem);
  font-weight: 600;
  letter-spacing: -0.058em;
  line-height: 0.96;
}

.family-content > p {
  max-width: 40rem;
  margin: 1.8rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.priority-carousel {
  max-width: 42rem;
  margin-top: 4rem;
  overflow: hidden;
}

.priority-track {
  display: flex;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.priority-slide {
  flex: 0 0 100%;
  margin: 0;
}

.priority-slide p {
  margin: 0;
  color: var(--pale);
  font-size: clamp(1.55rem, 2.5vw, 2.45rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.priority-slide span {
  display: block;
  margin-top: 1.3rem;
  color: var(--sky);
  font-size: 0.9rem;
  font-weight: 700;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.2rem;
}

.carousel-controls button {
  display: grid;
  width: 3rem;
  height: 3rem;
  padding: 0;
  color: var(--slate-ink);
  background: var(--pale);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
  transition: background 180ms ease, transform 180ms ease;
}

.carousel-controls button:hover {
  background: var(--coral);
  transform: scale(1.06);
}

.carousel-controls p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
  font-weight: 700;
}

.faqs {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 9vw, 10rem);
}

.faq-heading h2 {
  font-size: clamp(2.8rem, 4.5vw, 5rem);
}

.faq-heading .text-link {
  margin-top: 2rem;
}

.faq-list {
  border-top: 1px solid rgba(56, 73, 89, 0.24);
}

.faq-list details {
  border-bottom: 1px solid rgba(56, 73, 89, 0.24);
}

.faq-list summary {
  position: relative;
  padding: 1.8rem 3.5rem 1.8rem 0;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 0.4rem;
  width: 1rem;
  height: 2px;
  background: var(--slate);
  content: "";
}

.faq-list summary::after {
  transform: rotate(90deg);
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 42rem;
  margin: -0.4rem 0 1.8rem;
  padding-right: 3rem;
  color: var(--slate);
}

.enquiry {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(30rem, 1.05fr);
  align-items: center;
  gap: clamp(3rem, 5vw, 5rem);
  width: min(calc(100% - 2rem), var(--content-max));
  margin: 0 auto var(--page-pad);
  padding: clamp(3rem, 5.5vw, 5.5rem);
  color: var(--white);
  background:
    radial-gradient(circle at 8% 12%, rgba(136, 189, 242, 0.24), transparent 28%),
    var(--slate-deep);
  border-radius: calc(var(--radius) * 1.35);
  overflow: hidden;
  scroll-margin-top: 6.5rem;
}

.enquiry-copy h2 {
  margin: 0;
  font-size: clamp(3.2rem, 5.2vw, 5.7rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.93;
}

.enquiry-copy .hero-kicker {
  margin-bottom: 1rem;
  color: var(--sky);
}

.enquiry-copy > p {
  max-width: 33rem;
  margin: 1.8rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.1rem;
}

.enquiry-contact-list {
  display: grid;
  margin-top: 2.4rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.85rem;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07);
}

.enquiry-contact-item {
  position: relative;
  display: grid;
  grid-template-columns: 2.65rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.enquiry-contact-item:last-child {
  border-bottom: 0;
}

a.enquiry-contact-item {
  transition: background-color 180ms ease;
}

a.enquiry-contact-item:hover {
  background: rgba(136, 189, 242, 0.11);
}

.contact-detail-mark {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  color: var(--slate-ink);
  background: var(--sky);
  border-radius: 0.48rem;
  place-items: center;
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-detail-format {
  font-size: 0.7rem;
}

.contact-detail-copy {
  display: grid;
  min-width: 0;
}

.contact-detail-copy small {
  margin-bottom: 0.12rem;
  color: var(--sky);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-detail-copy strong {
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.contact-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 0.7rem;
}

.contact-detail-actions a {
  color: var(--white);
  border-bottom: 1px solid var(--coral);
  font-size: 0.84rem;
  font-weight: 700;
}

.contact-detail-arrow {
  color: var(--coral);
  font-size: 1.25rem;
  transition: transform 180ms ease;
}

a.enquiry-contact-item:hover .contact-detail-arrow {
  transform: translateX(0.25rem);
}

.enquiry-promise {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  max-width: 31rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.enquiry-promise span {
  flex: 0 0 0.7rem;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.4rem;
  background: var(--coral);
  border-radius: 50%;
}

.enquiry-promise p {
  margin: 0;
  color: var(--pale);
}

.enquiry-form {
  display: grid;
  align-self: center;
  justify-self: end;
  gap: 1rem;
  width: min(100%, 42rem);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--slate-ink);
  background: var(--white);
  border: 1px solid rgba(136, 189, 242, 0.28);
  border-radius: 0.9rem;
  box-shadow: 0 2.2rem 5.5rem rgba(10, 24, 34, 0.27);
}

.enquiry-form-intro {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(56, 73, 89, 0.13);
}

.enquiry-form-intro p {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.enquiry-form-intro span {
  max-width: 33rem;
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.enquiry-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  color: var(--slate-ink);
  background: #f5f9fc;
  border: 1px solid rgba(106, 137, 167, 0.58);
  border-radius: 0.55rem;
  outline: 0;
  transition: border 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.enquiry-form input,
.enquiry-form select {
  height: 3.35rem;
  padding: 0 0.95rem;
  font-size: 1rem;
  font-weight: 600;
}

.enquiry-form textarea {
  min-height: 7rem;
  padding: 0.9rem 0.95rem;
  resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(136, 189, 242, 0.28);
}

.enquiry-form [aria-invalid="true"] {
  border-color: #b83025;
}

.field-error {
  min-height: 0;
  color: #9d2118;
  font-size: 0.78rem;
  font-weight: 600;
}

.field-error:not(:empty) {
  min-height: 1.1rem;
}

.form-submit {
  display: inline-flex;
  gap: 0.8rem;
  width: fit-content;
  min-height: 3.15rem;
  margin-top: 0.35rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
}

.form-submit span {
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.form-submit:hover span {
  transform: translateX(0.25rem);
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--slate);
  font-size: 0.86rem;
}

.form-status.is-success {
  color: var(--navy);
  font-weight: 700;
}

.form-status.is-error {
  color: #9d2118;
  font-weight: 700;
}

.site-footer {
  padding: clamp(4rem, 8vw, 7rem) var(--page-pad) 2rem;
  color: var(--white);
  background: var(--slate-ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(10rem, 0.55fr) minmax(16rem, 0.8fr);
  gap: clamp(3rem, 7vw, 8rem);
  width: min(100%, 82rem);
  margin-inline: auto;
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.footer-brand-block {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.footer-brand-block > p {
  max-width: 31rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-brand-block > span {
  margin-top: 1.5rem;
  color: var(--pale);
  font-weight: 700;
}

.footer-links,
.footer-contact {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.footer-links h2,
.footer-contact h2 {
  margin: 0 0 1.4rem;
  color: var(--sky);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links a,
.footer-contact > a:not(.button) {
  padding: 0.32rem 0;
  color: rgba(255, 255, 255, 0.78);
  transition: color 180ms ease, transform 180ms ease;
}

.footer-links a:hover,
.footer-contact > a:not(.button):hover {
  color: var(--white);
  transform: translateX(0.2rem);
}

.footer-enquiry-button {
  min-height: 2.9rem;
  margin-top: 1.4rem;
}

.footer-top,
.footer-bottom {
  width: min(100%, 82rem);
  margin-inline: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  align-items: center;
  gap: 2rem;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.brand-footer .brand-mark {
  color: var(--slate-ink);
  background: var(--pale);
}

.footer-top > p {
  max-width: 29rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.button-light {
  color: var(--slate-ink);
  background: var(--pale);
  border-color: var(--pale);
  box-shadow: none;
}

.button-light:hover {
  background: var(--sky);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  color: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.86rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom a:hover {
  color: var(--white);
}

.lesson-experience {
  padding-bottom: calc(var(--section-space) * 0.8);
}

.lesson-demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(30rem, 1.18fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
}

.lesson-demo-copy {
  margin: 0;
}

.lesson-demo-copy h2 {
  font-size: clamp(3rem, 5vw, 5.4rem);
}

.lesson-demo-copy > p:last-child {
  max-width: 31rem;
}

.lesson-demo-media {
  min-width: 0;
}

.lesson-tabs {
  display: flex;
  gap: 0.65rem;
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.4rem;
  background: rgba(189, 221, 252, 0.42);
  border-radius: 0.8rem;
}

.lesson-tab {
  min-height: 2.85rem;
  padding: 0.65rem 1.1rem;
  color: var(--slate);
  background: transparent;
  border: 0;
  border-radius: 0.55rem;
  cursor: pointer;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.lesson-tab:hover {
  background: rgba(255, 255, 255, 0.6);
}

.lesson-tab:active {
  transform: scale(0.98);
}

.lesson-tab.is-active {
  color: var(--white);
  background: var(--slate);
}

.lesson-stage {
  width: 100%;
  min-height: 31rem;
  padding: 0.75rem;
  background: var(--slate);
  border-radius: var(--radius);
  box-shadow: 0 2.4rem 6rem rgba(56, 73, 89, 0.22);
}

.lesson-panel {
  position: relative;
  min-height: 29.5rem;
  overflow: hidden;
  background: #edf5fb;
  border-radius: calc(var(--radius) - 0.35rem);
}

.lesson-panel[hidden] {
  display: none;
}

.lesson-panel > img {
  width: 100%;
  height: 29.5rem;
  object-fit: contain;
  background: #ffffff;
}

.lesson-panel-caption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  max-width: 25rem;
  padding: 1rem 1.15rem;
  color: var(--white);
  background: rgba(32, 49, 63, 0.94);
  border-radius: 0.7rem;
  box-shadow: 0 1rem 2.4rem rgba(32, 49, 63, 0.22);
}

.lesson-panel-caption span {
  margin-top: 0.2rem;
  color: var(--pale);
  font-size: 0.82rem;
}

.progress-chat-demo {
  display: grid;
  gap: 1rem;
  width: min(calc(100% - 3rem), 46rem);
  margin: 2.5rem auto 7rem;
}

.chat-heading {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(56, 73, 89, 0.16);
}

.chat-heading > span {
  display: grid;
  width: 3rem;
  height: 3rem;
  color: var(--white);
  background: var(--blue);
  border-radius: 0.55rem;
  place-items: center;
  font-weight: 800;
}

.chat-heading div {
  display: grid;
}

.chat-heading small {
  color: var(--blue);
}

.chat-message {
  width: min(80%, 34rem);
  padding: 1rem 1.2rem;
  background: var(--white);
  border-radius: 0.8rem 0.8rem 0.8rem 0.2rem;
  box-shadow: 0 0.7rem 2rem rgba(56, 73, 89, 0.11);
}

.chat-message-reply {
  justify-self: end;
  background: var(--pale);
  border-radius: 0.8rem 0.8rem 0.2rem 0.8rem;
}

.teaching-notes-heading {
  max-width: 52rem;
  margin-top: clamp(7rem, 11vw, 11rem);
}

.teaching-notes-heading h3 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.teaching-notes-heading > p:last-child {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: var(--slate);
  font-size: 1.08rem;
}

.notes-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.note-sample {
  position: relative;
  min-height: 36rem;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(56, 73, 89, 0.14);
  border-radius: var(--radius);
  cursor: zoom-in;
  grid-column: span 6;
  box-shadow: 0 1.4rem 4rem rgba(56, 73, 89, 0.12);
  text-align: left;
}

.note-sample-wide {
  grid-column: span 7;
  min-height: 38rem;
}

.note-sample-level {
  grid-column: span 5;
  min-height: 38rem;
}

.note-sample img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: contain;
  background: #ffffff;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.note-sample:hover img {
  transform: scale(1.025);
}

.note-sample > span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  min-width: 15rem;
  padding: 0.9rem 1rem;
  color: var(--white);
  background: rgba(32, 49, 63, 0.94);
  border-radius: 0.65rem;
}

.note-sample small {
  color: var(--pale);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notes-lightbox {
  width: min(calc(100% - 2rem), 78rem);
  max-height: calc(100dvh - 2rem);
  padding: 3.2rem 1rem 1rem;
  background: var(--paper);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 3rem 8rem rgba(23, 38, 48, 0.35);
}

.notes-lightbox::backdrop {
  background: rgba(23, 38, 48, 0.72);
  backdrop-filter: blur(8px);
}

.notes-lightbox > button {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--white);
  background: var(--slate);
  border: 0;
  border-radius: 0.4rem;
  cursor: pointer;
  font-size: 1.5rem;
}

.notes-lightbox img {
  max-height: calc(100dvh - 6.5rem);
  object-fit: contain;
}

.brand-footer.brand-logo-link {
  width: auto;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.brand-footer .brand-lockup {
  width: clamp(10.5rem, 14vw, 13rem);
}

.brand-footer .brand-type {
  color: var(--white);
}

.brand-footer .brand-type strong {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.brand-footer .brand-type > span {
  font-size: clamp(0.62rem, 0.8vw, 0.75rem);
}

.tutors-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(28rem, 0.85fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  width: min(100%, var(--content-max));
  min-height: 100dvh;
  margin-inline: auto;
  padding: 8rem var(--page-pad) 5rem;
}

.tutors-hero-copy h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.4rem, 6.4vw, 6.8rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.tutors-hero-copy > p:not(.hero-kicker) {
  max-width: 40rem;
  margin: 1.8rem 0 2.2rem;
  color: var(--slate);
  font-size: 1.08rem;
}

.tutor-credential-visual {
  position: relative;
  min-height: 36rem;
  background: var(--pale);
  border-radius: 46% 54% 42% 58% / 48% 42% 58% 52%;
}

.credential-orbit {
  position: absolute;
  top: 8%;
  right: 8%;
  display: grid;
  width: 8rem;
  height: 8rem;
  color: var(--white);
  background: var(--coral);
  border-radius: 50%;
  place-content: center;
  text-align: center;
}

.credential-orbit span {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.credential-card {
  position: absolute;
  display: grid;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(56, 73, 89, 0.14);
  border-radius: 0.8rem;
  box-shadow: 0 1.8rem 4.5rem rgba(56, 73, 89, 0.18);
}

.credential-card small {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.credential-card strong {
  margin-top: 0.45rem;
  font-size: 1.35rem;
}

.credential-card p {
  margin: 1.1rem 0 0;
  color: var(--slate);
}

.credential-card-main {
  top: 28%;
  left: -7%;
  width: min(82%, 25rem);
  transform: rotate(-2deg);
}

.credential-card-side {
  right: -3%;
  bottom: 7%;
  width: min(70%, 22rem);
  transform: rotate(2deg);
}

.principle-grid {
  margin-top: 4rem;
  border-top: 1px solid rgba(56, 73, 89, 0.18);
}

.principle-item {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(56, 73, 89, 0.18);
}

.principle-item > span {
  color: var(--coral);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.principle-item h3 {
  margin: 0;
  font-size: 1.65rem;
}

.principle-item p {
  max-width: 48rem;
  margin: 0.4rem 0 0;
  color: var(--slate);
}

.specialist-teams {
  color: var(--white);
  background: var(--slate-ink);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 4rem;
}

.team-profile {
  display: flex;
  min-height: 44rem;
  padding: clamp(2rem, 4vw, 4rem);
  color: var(--slate-ink);
  background: var(--pale);
  border-radius: var(--radius);
  flex-direction: column;
}

.team-profile-alt {
  background: var(--sky);
}

.team-profile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.team-monogram {
  display: grid;
  width: 4rem;
  height: 4rem;
  color: var(--white);
  background: var(--slate);
  border-radius: 0.55rem;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 800;
}

.team-profile-top small {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-profile h3 {
  margin: 3rem 0 0;
  font-size: clamp(2.4rem, 4vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.team-profile > p {
  max-width: 36rem;
  margin: 1.2rem 0 0;
}

.team-profile dl {
  display: grid;
  gap: 0;
  margin: 2.5rem 0 2rem;
}

.team-profile dl div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(56, 73, 89, 0.22);
}

.team-profile dt {
  font-weight: 800;
}

.team-profile dd {
  margin: 0;
}

.team-profile .text-link {
  margin-top: auto;
}

.tutor-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.7fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 9rem);
}

.tutor-cta h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 5.5vw, 5.8rem);
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.tutor-cta > div:last-child p {
  margin: 0 0 2rem;
  color: var(--slate);
  font-size: 1.08rem;
}

.subject-animation {
  width: min(100%, 19rem);
  height: 11.5rem;
  margin: 0 0 1.3rem;
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(56, 73, 89, 0.14);
  border-radius: 0.7rem;
  overflow: hidden;
}

.subject-animation svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.subject-animation-physics {
  background: #ffffff;
  height: auto;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
}

.fleming-skin {
  fill: var(--pale);
  stroke: var(--slate);
  stroke-width: 2.5;
  stroke-linejoin: round;
}

.fleming-fold,
.fleming-right-angle {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.fleming-cuff {
  fill: var(--slate);
}

.fleming-direction {
  --direction-color: var(--coral);
  --direction-delay: 0s;
}

.fleming-field {
  --direction-color: var(--blue);
  --direction-delay: 0.9s;
}

.fleming-current {
  --direction-color: var(--slate);
  --direction-delay: 1.8s;
}

.fleming-line,
.fleming-tip {
  fill: none;
  stroke: var(--direction-color);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fleming-line {
  stroke-dasharray: 1;
  animation: fleming-direction-draw 6s ease-in-out var(--direction-delay) infinite;
}

.fleming-tip {
  animation: fleming-tip-reveal 6s ease-in-out var(--direction-delay) infinite;
}

.subject-animation .fleming-heading {
  font-size: 17px;
}

.subject-animation .fleming-caption {
  font-size: 11px;
  font-weight: 500;
}

@keyframes fleming-direction-draw {
  0%, 8% { stroke-dashoffset: 1; }
  28%, 90% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 1; }
}

@keyframes fleming-tip-reveal {
  0%, 18%, 100% { opacity: 0; }
  28%, 90% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .fleming-line,
  .fleming-tip {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

.subject-animation text {
  fill: var(--slate-ink);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.maths-circle,
.maths-radius,
.maths-tangent,
.subject-axis,
.further-curve,
.further-tangent,
.physics-arrow,
.atom-orbit {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.maths-circle,
.maths-radius,
.subject-axis,
.further-curve,
.atom-orbit {
  stroke: var(--slate);
}

.maths-circle {
  stroke-width: 5;
  stroke-dasharray: 340;
  animation: subject-draw 4.8s ease-in-out infinite;
}

.maths-radius {
  stroke-width: 3;
  stroke-dasharray: 70;
  animation: subject-draw 4.8s ease-in-out 0.45s infinite;
}

.maths-tangent,
.further-tangent {
  stroke: var(--coral);
  stroke-width: 6;
  stroke-dasharray: 180;
  animation: subject-draw 4.8s ease-in-out 1s infinite;
}

.maths-touch,
.further-maximum {
  fill: var(--coral);
  stroke: #ffffff;
  stroke-width: 3;
  animation: subject-pop 4.8s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.subject-axis {
  stroke-width: 2;
}

.further-curve {
  stroke: var(--sky);
  stroke-width: 6;
  stroke-dasharray: 360;
  animation: subject-draw 4.8s ease-in-out infinite;
}

.hand-palm {
  fill: rgba(189, 221, 252, 0.72);
  stroke: var(--slate);
  stroke-width: 4;
}

.physics-arrow {
  stroke: var(--coral);
  stroke-width: 5;
  stroke-dasharray: 160;
  animation: subject-draw 4.2s ease-in-out infinite;
}

.field-arrow {
  stroke: var(--sky);
  animation-delay: 0.35s;
}

.current-arrow {
  stroke: var(--blue);
  animation-delay: 0.7s;
}

.atom-orbit {
  stroke: var(--blue);
  stroke-width: 2.4;
}

.atom-nucleus circle {
  fill: var(--coral);
  stroke: #ffffff;
  stroke-width: 2;
}

.electron {
  animation: electron-orbit 4s linear infinite;
  transform-box: view-box;
  transform-origin: 140px 84px;
}

.electron-two {
  animation-duration: 5.2s;
  animation-direction: reverse;
}

.electron-three {
  animation-duration: 6.1s;
}

.electron circle {
  fill: var(--sky);
  stroke: var(--slate-ink);
  stroke-width: 2;
}

@keyframes subject-draw {
  0%, 12% { stroke-dashoffset: 360; opacity: 0.2; }
  42%, 82% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -40; opacity: 0.25; }
}

@keyframes subject-pop {
  0%, 34% { opacity: 0; transform: scale(0.2); }
  48%, 86% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.2); }
}

@keyframes electron-orbit {
  to { transform: rotate(360deg); }
}

.ways-to-learn {
  max-width: 54rem;
  margin-top: clamp(8rem, 13vw, 13rem);
}

.ways-to-learn h3 {
  margin: 0;
  font-size: clamp(3rem, 5.2vw, 5.8rem);
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.ways-to-learn > p:last-child {
  max-width: 40rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.learning-format-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3.5rem;
}

.learning-format {
  position: relative;
  display: flex;
  min-height: 32rem;
  padding: clamp(1.8rem, 3vw, 3rem);
  color: var(--slate-ink);
  background: var(--pale);
  border-radius: var(--radius);
  flex-direction: column;
  overflow: hidden;
}

.learning-format-personal {
  grid-column: span 5;
}

.learning-format-group {
  grid-column: span 7;
  background: var(--sky);
}

.learning-format-paper {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.15fr);
  grid-template-areas:
    "previews title"
    "previews copy"
    "previews tags"
    "previews progress"
    "previews download";
  align-items: start;
  gap: 0 4rem;
  min-height: 38rem;
  background: #f4f8fb;
}

.format-number {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  color: rgba(56, 73, 89, 0.46);
  font-size: 0.8rem;
  font-weight: 800;
}

.format-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 11rem;
  margin-bottom: 2.2rem;
}

.format-visual-one span,
.format-visual-group span {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  color: var(--white);
  background: var(--slate);
  border-radius: 50%;
  place-items: center;
  font-weight: 800;
}

.format-visual-one i {
  width: 6rem;
  height: 2px;
  background: var(--coral);
}

.format-visual-group {
  position: relative;
  gap: 1.4rem;
}

.format-visual-group .group-tutor {
  position: relative;
  z-index: 2;
  color: var(--slate-ink);
  background: var(--coral);
}

.group-network {
  position: relative;
  display: flex;
  gap: 0.7rem;
  padding-left: 2.5rem;
}

.group-network::before,
.group-network::after {
  position: absolute;
  left: -1.4rem;
  content: "";
}

.group-network::before {
  top: 50%;
  width: 3.9rem;
  height: 2px;
  background: var(--coral);
}

.group-network::after {
  top: calc(50% - 3.1rem);
  width: 2px;
  height: 6.2rem;
  background: var(--coral);
}

.group-network span {
  width: 3.8rem;
  height: 3.8rem;
}

.learning-format h4 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.learning-format > p {
  max-width: 38rem;
  margin: 1.2rem 0 2rem;
}

.format-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.format-tags span {
  padding: 0.82rem 1.08rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(56, 73, 89, 0.16);
  border-radius: 0.35rem;
  font-size: 1rem;
  font-weight: 700;
}

.paper-previews {
  position: relative;
  grid-area: previews;
  min-height: 32rem;
}

.paper-previews img {
  position: absolute;
  width: min(78%, 18rem);
  height: 28rem;
  object-fit: cover;
  object-position: top;
  border: 1px solid rgba(56, 73, 89, 0.16);
  border-radius: 0.45rem;
  box-shadow: 0 1.5rem 3rem rgba(56, 73, 89, 0.2);
}

.paper-previews img:first-child {
  top: 1.4rem;
  left: 0;
  transform: rotate(-4deg);
}

.paper-previews img:last-child {
  top: 0;
  right: 0;
  transform: rotate(3deg);
}

.learning-format-paper h4 {
  grid-area: title;
  align-self: end;
  margin-top: 4rem;
}

.learning-format-paper > p {
  grid-area: copy;
}

.learning-format-paper .format-tags {
  grid-area: tags;
  margin-top: 0;
}

.paper-progress {
  grid-area: progress;
  width: min(100%, 31rem);
  margin-top: 1.6rem;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid rgba(56, 73, 89, 0.13);
  border-radius: 0.7rem;
  box-shadow: 0 1rem 2.4rem rgba(56, 73, 89, 0.09);
}

.paper-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  font-size: 0.82rem;
}

.paper-progress-head span {
  color: var(--coral);
  font-weight: 800;
}

.paper-progress-chart {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 0.75rem;
  height: 8.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(56, 73, 89, 0.12);
}

.paper-progress-chart > div {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: 0.3rem;
  height: 100%;
}

.paper-progress-chart i {
  grid-row: 1 / -1;
  align-self: end;
  display: block;
  width: 100%;
  height: var(--score);
  min-height: 1rem;
  background: var(--sky);
  border-radius: 0.3rem 0.3rem 0 0;
  transform: scaleY(0);
  transform-origin: bottom;
  animation: chart-grow 3.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.paper-progress-chart > div:nth-child(2) i {
  background: var(--blue);
  animation-delay: 0.18s;
}

.paper-progress-chart > div:nth-child(3) i {
  background: var(--coral);
  animation-delay: 0.36s;
}

.paper-progress-chart .score-75 { --score: 75%; }
.paper-progress-chart .score-80 { --score: 80%; }
.paper-progress-chart .score-83 { --score: 83%; }

.paper-progress-chart strong {
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.paper-progress-chart span {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 700;
}

@keyframes chart-grow {
  0%, 15% { transform: scaleY(0); }
  40%, 88% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

.paper-download {
  grid-area: download;
  align-self: end;
  width: fit-content;
  margin-top: 2rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--coral);
  font-weight: 800;
}

.learning-format-notes {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  min-height: 38rem;
  margin-top: 0;
  background: var(--pale);
}

.topic-notes-preview {
  position: relative;
  height: 31rem;
}

.topic-notes-preview::before {
  position: absolute;
  inset: 2rem 5% 0 14%;
  background: var(--sky);
  border-radius: 0.7rem;
  content: "";
  transform: rotate(4deg);
}

.topic-notes-preview img {
  position: absolute;
  z-index: 1;
  height: 27rem;
  object-fit: contain;
  object-position: top;
  border-radius: 0.45rem;
  box-shadow: 0 1.6rem 3.5rem rgba(56, 73, 89, 0.2);
}

.topic-note-sheet-gcse {
  top: 0.75rem;
  left: 0;
  width: min(68%, 20rem);
  transform: rotate(-3deg);
}

.topic-note-sheet-alevel {
  right: 0;
  bottom: 0.5rem;
  width: min(64%, 19rem);
  transform: rotate(3deg);
}

.topic-notes-copy {
  position: relative;
}

.topic-notes-copy h4 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
}

.topic-notes-copy > p:not(.hero-kicker) {
  max-width: 40rem;
}

.topic-notes-copy .paper-download {
  display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
  .paper-progress-chart i {
    transform: scaleY(1);
  }
}

.testimonials {
  padding-top: calc(var(--section-space) * 0.85);
}

.testimonials-heading {
  max-width: 62rem;
}

.testimonials-heading h2 {
  margin: 0;
  font-size: clamp(3.4rem, 6vw, 6.8rem);
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 4rem;
}

.testimonial {
  display: flex;
  grid-column: span 5;
  min-height: 25rem;
  padding: clamp(1.8rem, 3.5vw, 3.5rem);
  background: var(--white);
  border: 1px solid rgba(56, 73, 89, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 1.5rem 4rem rgba(56, 73, 89, 0.09);
  flex-direction: column;
}

.testimonial-featured {
  grid-column: span 7;
  background: var(--pale);
}

.testimonial-blue {
  grid-column: 5 / span 8;
  color: var(--white);
  background: var(--slate);
}

.star-rating {
  color: var(--coral);
  font-size: 1.2rem;
  letter-spacing: 0.12em;
}

.testimonial blockquote {
  margin: 2rem 0;
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1.28;
}

.testimonial footer {
  display: grid;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(56, 73, 89, 0.17);
}

.testimonial-blue footer {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.testimonial footer span {
  margin-top: 0.25rem;
  color: var(--blue);
}

.testimonial-blue footer span {
  color: var(--pale);
}

.consultation-cta {
  position: relative;
  width: min(calc(100% - 2rem), 86rem);
  margin: 0 auto var(--section-space);
  padding: clamp(4rem, 9vw, 8rem) var(--page-pad);
  color: var(--white);
  background: var(--slate-ink);
  border-radius: calc(var(--radius) * 1.2);
  overflow: hidden;
}

.consultation-content {
  position: relative;
  z-index: 2;
  max-width: 58rem;
  margin-inline: auto;
  text-align: center;
}

.consultation-content .hero-kicker {
  color: var(--pale);
}

.consultation-content h2 {
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 6.6rem);
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.consultation-content > p:not(.hero-kicker) {
  max-width: 42rem;
  margin: 1.6rem auto 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

.consultation-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.button-outline {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

.button-outline:hover {
  color: var(--slate-ink);
  background: var(--pale);
  border-color: var(--pale);
  box-shadow: none;
}

.consultation-orb {
  position: absolute;
  border-radius: 50%;
}

.consultation-orb-one {
  top: -7rem;
  left: -4rem;
  width: 18rem;
  height: 18rem;
  background: rgba(136, 189, 242, 0.22);
}

.consultation-orb-two {
  right: -3rem;
  bottom: -5rem;
  width: 14rem;
  height: 14rem;
  background: rgba(255, 107, 91, 0.2);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1.12fr 0.88fr;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 7vw, 6rem);
  }

  .hero-visual {
    margin-left: -2vw;
  }

  .nav-links {
    gap: 1.1rem;
  }

  .approach-grid,
  .faqs {
    gap: 4rem;
  }
}

@media (max-width: 820px) {
  :root {
    --section-space: 7rem;
  }

  .site-header {
    top: 0;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
    border-radius: 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 0.8rem;
    background: rgba(247, 251, 255, 0.98);
    border: 1px solid rgba(56, 73, 89, 0.13);
    border-radius: 1.4rem;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-0.75rem);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links a {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(56, 73, 89, 0.1);
    font-size: 1.08rem;
  }

  .nav-links a::before {
    inset: 0.35rem 0.4rem;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .menu-open .menu-toggle span:nth-child(2) {
    transform: translateY(0.2rem) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-0.2rem) rotate(-45deg);
  }

  .hero {
    grid-template-columns: 1fr;
    align-content: start;
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 6rem;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(3.5rem, 12vw, 6rem);
  }

  .hero-intro {
    max-width: 32rem;
  }

  .hero-visual {
    width: min(88%, 34rem);
    min-height: 36rem;
    margin: 4rem 0 0 auto;
  }

  .learning-scene::before {
    inset: 8% 0 6% 3%;
  }

  .lesson-status {
    right: 0;
    bottom: 7.5rem;
  }

  .learner-levels {
    margin-top: -0.85rem;
  }

  .hero-bloom {
    right: 0;
    width: 100%;
  }

  .momentum-panel {
    right: 0;
    width: 96%;
  }

  .scroll-cue {
    display: none;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .bento-main,
  .bento-blue,
  .bento-light {
    grid-column: auto;
    grid-row: auto;
  }

  .bento-main {
    min-height: 32rem;
  }

  .subject-accordion {
    display: grid;
    min-height: 0;
  }

  .subject-panel,
  .subject-panel.is-active {
    display: block;
    min-width: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .subject-panel:last-child {
    border-bottom: 0;
  }

  .subject-panel button {
    flex-direction: row;
    width: 100%;
    height: auto;
    padding: 1.4rem;
    text-align: left;
  }

  .subject-title {
    margin: 0;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .subject-plus {
    margin-left: auto;
  }

  .subject-content {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 1.4rem 2.2rem;
    opacity: 1;
    transform: none;
  }

  .subject-panel.is-active .subject-content {
    display: block;
  }

  .approach-grid,
  .faqs,
  .family-proof,
  .enquiry {
    grid-template-columns: 1fr;
  }

  .approach-title {
    position: static !important;
  }

  .family-content {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .family-map {
    min-height: 34rem;
  }

  .family-map::after {
    background: linear-gradient(180deg, transparent 62%, rgba(23, 38, 48, 0.58));
  }

  .enquiry {
    width: min(calc(100% - 1.25rem), var(--content-max));
  }

  .footer-top {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: 0.92rem;
  }

  .hero {
    padding-inline: 1.1rem;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(3.2rem, 15vw, 4.8rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    width: 100%;
    min-height: 28rem;
    margin-top: 3rem;
  }

  .learning-scene::before {
    inset: 10% -4% 8% 1%;
  }

  .lesson-status {
    right: -0.25rem;
    bottom: 7rem;
    min-width: 8.5rem;
    padding: 0.65rem 0.8rem;
  }

  .learner-levels {
    width: calc(100% - 0.5rem);
    margin-top: -0.4rem;
  }

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

  .learner-level {
    min-height: 7.2rem;
    padding: 1rem 0.9rem 1.15rem;
  }

  .learner-level + .learner-level {
    border-left: 0;
  }

  .learner-level:nth-child(even) {
    border-left: 1px solid rgba(56, 73, 89, 0.1);
  }

  .learner-level:nth-child(n + 3) {
    border-top: 1px solid rgba(56, 73, 89, 0.1);
  }

  .bloom-core {
    width: 5.8rem;
  }

  .momentum-panel {
    left: -4%;
    width: 108%;
  }

  .progress-map {
    width: calc(100% - 2rem);
  }

  .concept-visual span,
  .concept-visual strong {
    min-width: 4.5rem;
    height: 4.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .step-card {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    min-height: 0;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .axis-line,
  .quadratic-curve {
    stroke-dashoffset: 0;
  }

  .graph-point {
    opacity: 1;
    transform: scale(1);
  }

  .maths-circle,
  .maths-radius,
  .maths-tangent,
  .further-curve,
  .further-tangent,
  .physics-arrow {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  .maths-touch,
  .further-maximum {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 820px) {
  .brand-logo-link {
    flex-shrink: 0;
  }

  .brand-lockup {
    width: 6.4rem;
  }

  .brand-type strong {
    font-size: 1.15rem;
  }

  .brand-type > span {
    font-size: 0.56rem;
  }

  .lesson-stage {
    min-height: 30rem;
  }

  .lesson-demo-layout,
  .learning-format-paper {
    grid-template-columns: 1fr;
  }

  .learning-format-paper {
    grid-template-areas: "previews" "title" "copy" "tags" "download";
    gap: 1rem;
  }

  .lesson-demo-media {
    width: min(100%, 42rem);
  }

  .lesson-panel {
    min-height: 28rem;
  }

  .lesson-panel > img {
    height: 28rem;
  }

  .notes-gallery,
  .team-grid,
  .tutors-hero,
  .tutor-cta,
  .learning-format-notes,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .learning-format-notes {
    grid-column: 1 / -1;
  }

  .learning-format-personal,
  .learning-format-group,
  .learning-format-paper {
    grid-column: 1 / -1;
  }

  .testimonial,
  .testimonial-featured,
  .testimonial-blue {
    grid-column: 1 / -1;
  }

  .note-sample,
  .note-sample-wide {
    grid-column: auto;
    min-height: 30rem;
  }

  .tutors-hero {
    min-height: auto;
    padding-top: 9rem;
    padding-bottom: 7rem;
  }

  .tutor-credential-visual {
    width: min(94%, 36rem);
    min-height: 32rem;
    margin: 1rem auto 0;
  }

  .tutor-cta {
    align-items: start;
  }
}

@media (max-width: 560px) {
  .brand-logo-link {
    max-width: 6rem;
  }

  .brand-lockup {
    width: 5.7rem;
  }

  .brand-type strong {
    font-size: 1.02rem;
  }

  .brand-type > span {
    font-size: 0.5rem;
    letter-spacing: 0.28em;
  }

  .brand-footer .brand-lockup {
    width: 10.5rem;
  }

  .brand-footer .brand-type strong {
    font-size: 1.35rem;
  }

  .lesson-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .lesson-tab {
    flex: 0 0 auto;
  }

  .lesson-stage {
    min-height: 23rem;
    padding: 0.55rem;
  }

  .lesson-panel {
    min-height: 22rem;
  }

  .lesson-panel > img {
    height: 22rem;
  }

  .lesson-panel-caption {
    right: 0.6rem;
    bottom: 0.6rem;
    left: 0.6rem;
  }

  .learning-format-paper {
    display: flex;
  }

  .learning-format-notes {
    display: flex;
  }

  .paper-previews {
    width: 100%;
    min-height: 24rem;
    margin-top: 1.5rem;
    order: -1;
  }

  .topic-notes-preview {
    width: 100%;
    height: 25rem;
    order: -1;
  }

  .topic-notes-preview img {
    height: 22rem;
  }

  .topic-note-sheet-gcse {
    left: 2%;
    width: 68%;
  }

  .topic-note-sheet-alevel {
    right: 2%;
    width: 64%;
  }

  .paper-previews img {
    width: 66%;
    height: 21rem;
  }

  .learning-format-paper h4 {
    margin-top: 1.5rem;
  }

  .consultation-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .consultation-actions .button {
    width: 100%;
  }

  .progress-chat-demo {
    width: calc(100% - 1.5rem);
    margin-block: 2rem 8rem;
  }

  .chat-message {
    width: 92%;
    font-size: 0.86rem;
  }

  .note-sample,
  .note-sample-wide {
    min-height: 23rem;
  }

  .note-sample > span {
    right: 0.6rem;
    bottom: 0.6rem;
    left: 0.6rem;
    min-width: 0;
  }

  .tutors-hero-copy h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .tutor-credential-visual {
    min-height: 28rem;
  }

  .credential-orbit {
    width: 6.5rem;
    height: 6.5rem;
  }

  .credential-card-main {
    left: 3%;
    width: 88%;
  }

  .credential-card-side {
    right: 2%;
    width: 82%;
  }

  .principle-item {
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem;
  }

  .team-profile {
    min-height: 0;
    padding: 1.5rem;
  }

  .team-profile dl div {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .team-profile .text-link {
    margin-top: 1rem;
  }
}
