.hero {
  position: relative;
  margin-top: -80px;
  padding-top: 120px;
  padding-bottom: 60px;
  min-height: 560px;
  background-color: var(--colour-4);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}

.hero::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 90%
  );
  pointer-events: none;
  z-index: 0;
}

.hero1 {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 min(5vw, 50px);
  display: flex;
  align-items: center;
  min-height: 420px;
}

.hero1 .text {
  text-align: left;
  max-width: 260px;
  padding: 2rem 0;
}

.hero1 .text h1 {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--colour-5);
}

.hero1 .text h1 span {
  color: var(--color-light-blue);
}

.hero1 .text .standfirst {
  font-size: 1.05rem;
  color: var(--colour-5);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.hero1 .text h1,
.hero1 .text .hero-subtitle,
.hero1 .text .standfirst {
  text-shadow: 0 0 16px var(--overlay-white-muted), 0 0 32px rgba(255, 255, 255, 0.6);
}

.hero.hero--team .hero1 .text h1 {
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.hero.hero--team .hero1 .text .hero-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-light-blue);
  margin: 0 0 1rem;
}

/* Methodology — stage cards */
.methodology__second_fold {
  background-color: var(--colour-4);
  padding: 80px min(5vw, 50px);
}

.methodology__second_fold > .content {
  max-width: 1100px;
  margin: 0 auto;
}

.methodology__second_fold .intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.methodology__second_fold .intro h2 {
  margin: 0;
}

.methodology__second_fold .icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background-color: var(--color-yellow);
  border-radius: 16px;
  margin-bottom: 1.5rem;
}

.methodology__second_fold .icon-badge img {
  width: 36px;
  height: 36px;
}

.methodology__second_fold .solution-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.methodology__second_fold .card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  padding: 2rem 1.75rem 1.5rem;
  text-align: left;
  box-shadow: 0 4px 24px var(--shadow-navy-lg);
}

.methodology__second_fold .card:nth-child(1) { background-color: var(--colour-6); }
.methodology__second_fold .card:nth-child(2) { background-color: var(--tint-blue); }
.methodology__second_fold .card:nth-child(3) { background-color: var(--tint-red); }
.methodology__second_fold .card:nth-child(4) { background-color: var(--tint-yellow); }

.methodology__second_fold .card .number {
  position: absolute;
  top: calc(2rem + 28px);
  right: 1.75rem;
  transform: translateY(-50%);
  font-weight: 600;
  font-size: 2.7rem;
  line-height: 1;
  color: var(--shadow-navy);
  margin: 0;
  pointer-events: none;
  user-select: none;
}

.methodology__second_fold .card .eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.methodology__second_fold .card:nth-child(1) .eyebrow,
.methodology__second_fold .card:nth-child(1) h3,
.methodology__second_fold .card:nth-child(1) .textbox .label { color: var(--colour-5); }

.methodology__second_fold .card:nth-child(2) .eyebrow,
.methodology__second_fold .card:nth-child(2) h3,
.methodology__second_fold .card:nth-child(2) .textbox .label { color: var(--color-light-blue); }

.methodology__second_fold .card:nth-child(3) .eyebrow,
.methodology__second_fold .card:nth-child(3) h3,
.methodology__second_fold .card:nth-child(3) .textbox .label { color: var(--color-red); }

.methodology__second_fold .card:nth-child(4) .eyebrow,
.methodology__second_fold .card:nth-child(4) h3,
.methodology__second_fold .card:nth-child(4) .textbox .label { color: var(--color-yellow); }

.methodology__second_fold .card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.methodology__second_fold .card .icon img {
  width: 32px;
  height: 32px;
}

.methodology__second_fold .card .icon--blue { background-color: var(--color-dark-blue); }
.methodology__second_fold .card .icon--light-blue { background-color: var(--color-light-blue); }
.methodology__second_fold .card .icon--red { background-color: var(--color-red); }
.methodology__second_fold .card .icon--yellow { background-color: var(--color-yellow); }

.methodology__second_fold .card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.methodology__second_fold .card > p:not(.number):not(.eyebrow):not(.textbox) {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--colour-5);
  flex: 1;
}

.methodology__second_fold .card .textbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  margin: auto 0 0;
  background-color: var(--colour-4);
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--colour-5);
  line-height: 1.5;
}

.methodology__second_fold .card .textbox img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.methodology__second_fold .card .textbox .label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

/* Methodology — navy CTA */
.methodology__third_fold {
  background-color: var(--color-dark-blue);
  padding: 80px min(5vw, 50px);
  text-align: center;
}

.methodology__third_fold > .content {
  max-width: 720px;
  margin: 0 auto;
}

.methodology__third_fold p {
  color: var(--overlay-white-muted);
  margin: 0 0 1rem;
  font-size: 1.35rem;
  line-height: 1.7;
}

.methodology__third_fold h2 {
  color: var(--colour-4);
  margin: 0 0 1.5rem;
  font-size: 1.75rem;
}

.methodology__third_fold .cta-button {
  display: inline-block;
  text-decoration: none;
}

/* Our team — feature cards (our-team.html) */
.our_team__second_fold {
  background-color: var(--colour-4);
  padding: 80px min(5vw, 50px);
}

.our_team__second_fold > .content {
  max-width: 1100px;
  margin: 0 auto;
}

.our_team__second_fold .intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.our_team__second_fold .intro h2 {
  margin: 0;
}

.our_team__second_fold .solution-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.our_team__second_fold .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.our_team__second_fold .icon img {
  width: 28px;
  height: 28px;
}

.our_team__second_fold .icon--blue { background-color: var(--color-dark-blue); }
.our_team__second_fold .icon--light-blue { background-color: var(--color-light-blue); }
.our_team__second_fold .icon--red { background-color: var(--color-red); }
.our_team__second_fold .icon--yellow { background-color: var(--color-yellow); }

.our_team__second_fold .icon--yellow img {
  filter: brightness(0) invert(1);
}

.our_team__second_fold .solution-cards > .card {
  background-color: var(--colour-4);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  text-align: left;
  box-shadow: 0 4px 24px var(--shadow-navy-lg);
}

.our_team__second_fold .solution-cards > .card:nth-child(1) h3 { color: var(--colour-5); }
.our_team__second_fold .solution-cards > .card:nth-child(2) h3 { color: var(--color-light-blue); }
.our_team__second_fold .solution-cards > .card:nth-child(3) h3 { color: var(--color-red); }
.our_team__second_fold .solution-cards > .card:nth-child(4) h3 { color: var(--color-yellow); }

.our_team__second_fold .solution-cards > .card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.our_team__second_fold .solution-cards > .card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--colour-5);
}

/* Our team — section intro (our-team.html) */
.our_team__third_fold {
  background-color: var(--colour-4);
  padding: 80px min(5vw, 50px);
  text-align: center;
}

.our_team__third_fold > h2 {
  max-width: 720px;
  margin: 0 auto 1rem;
}

.our_team__third_fold > p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--colour-5);
}

/* Our team — alternating tutor bios (our-team.html) */
.our_team__fourth_fold_type1,
.our_team__fourth_fold_type2 {
  background-color: var(--colour-4);
  padding: 80px min(5vw, 50px);
}

.our_team__fourth_fold_type1 > .content,
.our_team__fourth_fold_type2 > .content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.our_team__fourth_fold_type1 .profile-header > h2,
.our_team__fourth_fold_type2 .profile-header > h2 {
  margin: 0;
  text-transform: uppercase;
}

.our_team__fourth_fold_type1 .profile-media,
.our_team__fourth_fold_type2 .profile-media {
  width: 100%;
  max-width: 500px;
  justify-self: center;
  overflow: hidden;
  border-radius: 20px;
}

.our_team__fourth_fold_type1 .profile-media img,
.our_team__fourth_fold_type2 .profile-media img {
  width: 100%;
  display: block;
}

.our_team__fourth_fold_type1 .profile-copy > .designation,
.our_team__fourth_fold_type2 .profile-copy > .designation {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
  text-transform: uppercase;
  line-height: 1.45;
}

.our_team__fourth_fold_type1 .profile-copy > .designation {
  color: var(--color-red);
}

.our_team__fourth_fold_type2 .profile-copy > .designation {
  color: var(--color-light-blue);
}

.our_team__fourth_fold_type1 .profile-copy > p:not(.designation),
.our_team__fourth_fold_type2 .profile-copy > p:not(.designation) {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: var(--colour-5);
}

.our_team__fourth_fold_type1 .profile-copy > .text-box,
.our_team__fourth_fold_type2 .profile-copy > .text-box {
  background-color: var(--color-dark-blue);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0 0;
}

.our_team__fourth_fold_type1 .profile-copy > .text-box > p:first-child,
.our_team__fourth_fold_type2 .profile-copy > .text-box > p:first-child {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-yellow);
  font-style: normal;
}

.our_team__fourth_fold_type1 .profile-copy > .text-box > p:last-child,
.our_team__fourth_fold_type2 .profile-copy > .text-box > p:last-child {
  margin: 0;
  color: var(--colour-4);
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
}

/* Our team — CTA fold (our-team.html) */
.our_team__fifth_fold {
  background-color: var(--color-red);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 80px min(5vw, 50px);
  text-align: center;
}

.our_team__fifth_fold > .content {
  max-width: 720px;
  margin: 0 auto;
}

.our_team__fifth_fold h2 {
  color: var(--colour-4);
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
}

.our_team__fifth_fold p {
  color: var(--overlay-white-muted);
  margin: 0 0 1.5rem;
  line-height: 1.7;
}

.our_team__fifth_fold .cta-button {
  display: inline-block;
  text-decoration: none;
}

/* Schedule (schedule.html) */
.schedule__first_fold {
  background-color: var(--background-colour);
  padding: 100px min(5vw, 50px) 48px;
}

.schedule__first_fold > .content,
.schedule__second_fold > .content,
.schedule__first_fold .panel > .content {
  max-width: 1200px;
  margin: 0 auto;
}

.schedule__first_fold .intro-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.schedule__first_fold .text h1 {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  font-weight: 800;
  color: var(--colour-5);
}

.schedule__first_fold .text p {
  margin: 0;
  max-width: 560px;
  color: var(--colour-5);
  line-height: 1.6;
}

.schedule__first_fold .view-toggle {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px;
  background-color: var(--colour-6);
  border-radius: 12px;
  gap: 4px;
}

.schedule__first_fold .view-toggle > button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--colour-5);
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.schedule__first_fold .view-toggle > button.is-active {
  background-color: var(--color-dark-blue);
  color: var(--colour-4);
}

.schedule__first_fold .ui-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

.schedule__first_fold .view-toggle > button:not(.is-active) .ui-icon--calendar {
  filter: brightness(0) saturate(100%) invert(32%) sepia(12%) saturate(557%) hue-rotate(182deg) brightness(94%) contrast(88%);
}

.schedule__first_fold .view-toggle > button.is-active .ui-icon--list {
  filter: brightness(0) invert(1);
}

.schedule__first_fold .filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 0;
}

.schedule__first_fold .filter-group label,
.schedule__first_fold .filter-group .filter-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--colour-5);
}

.schedule__first_fold .filter-group select,
.schedule__first_fold .filter-group input[type="search"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background-color: #F3F4F6;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: var(--colour-5);
}

.schedule__first_fold .filter-group select:has(option[value=""]:checked) {
  color: #9CA3AF;
}

.schedule__first_fold .filter-group input[type="search"]::placeholder {
  color: #9CA3AF;
  opacity: 1;
}

.schedule__first_fold .subject-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.schedule__first_fold .pill {
  padding: 10px 18px;
  border: 1px solid #F3F4F6;
  border-radius: 10px;
  background-color: #F3F4F6;
  color: var(--colour-5);
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.schedule__first_fold .pill.is-active {
  background-color: var(--color-dark-blue);
  border-color: var(--color-dark-blue);
  color: var(--colour-4);
}

.schedule-main.is-list-view .schedule__first_fold .pill.is-active {
  background-color: var(--color-dark-blue);
  border-color: var(--color-dark-blue);
  color: var(--colour-4);
}

.schedule__first_fold .search-wrap {
  position: relative;
}

.schedule__first_fold .search-wrap .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.55;
  pointer-events: none;
}

.schedule__first_fold .search-wrap input[type="search"] {
  padding-left: 40px;
}

.schedule__first_fold .panel {
  display: none;
  padding: 0;
}

.schedule__first_fold .panel.is-active {
  display: block;
}

.schedule__first_fold .calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(140px, 1fr));
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--colour-6);
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--colour-4);
}

.schedule__first_fold .day-col {
  min-width: 0;
  border-right: 1px solid var(--colour-6);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.schedule__first_fold .day-col.weekend {
  background-color: #F3F4F6;
}

.schedule__first_fold .day-col:last-child {
  border-right: none;
}

.schedule__first_fold .day-header {
  padding: 14px 12px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--colour-5);
  background-color: var(--colour-6);
  border-bottom: 1px solid var(--colour-6);
}

.schedule__first_fold .day-header.weekend {
  background-color: var(--color-dark-blue);
  color: var(--colour-4);
}

.schedule__first_fold .day-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 12px;
  flex: 1;
  background-color: var(--background-colour);
}

.schedule__first_fold .day-col.weekend .day-body {
  background-color: #F3F4F6;
}

.schedule__first_fold .day-body.empty {
  min-height: 175px;
}

.schedule__first_fold .calendar .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--colour-6);
  border-left-width: 4px;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.schedule__first_fold .calendar .card:not(.featured) {
  height: 100px;
  overflow: hidden;
}

.schedule__first_fold .calendar .card:not(.featured) .book-btn {
  margin-top: auto;
  flex-shrink: 0;
}

.schedule__first_fold .calendar .card.featured {
  height: auto;
  min-height: 200px;
}

.schedule__first_fold .calendar .card h3 {
  line-height: 1.25;
}

.schedule__first_fold .calendar .card > p:not(.p1):not(.class-time) {
  margin: 0;
  flex: 0 0 auto;
}

.schedule__first_fold .calendar .card.card--math {
  background-color: var(--tint-blue);
  border-left-color: var(--color-light-blue);
}

.schedule__first_fold .calendar .card.card--science {
  background-color: var(--tint-red);
  border-left-color: var(--color-red);
}

.schedule__first_fold .calendar .card.card--english {
  background-color: var(--tint-yellow);
  border-left-color: var(--color-yellow);
}

.schedule__first_fold .calendar .card .p1 {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--colour-5);
}

.schedule__first_fold .calendar .card .class-time {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.schedule__first_fold .calendar .card.card--math .class-time { color: var(--color-light-blue); }
.schedule__first_fold .calendar .card.card--science .class-time { color: var(--color-red); }
.schedule__first_fold .calendar .card.card--english .class-time { color: var(--color-yellow); }

.schedule__first_fold .calendar .card h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--colour-5);
}

.schedule__first_fold .calendar .card > p:not(.p1):not(.class-time) {
  font-size: 0.8rem;
  color: var(--colour-5);
}

.schedule__first_fold .calendar .card .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  margin-bottom: 0;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-red);
}

.schedule__first_fold .calendar .card .badge.almost-full {
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}

.schedule__first_fold .calendar .card .badge .almost-full-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}

.schedule__first_fold .book-btn {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.schedule__first_fold .calendar .card.featured .book-btn {
  margin-top: 0.25rem;
}

.schedule__first_fold .book-btn.outline {
  border: 1px solid var(--colour-6);
  color: var(--colour-5);
  background-color: var(--colour-4);
}

.schedule__first_fold .book-btn.outline:hover {
  background-color: var(--color-dark-blue);
  border-color: var(--color-dark-blue);
  color: var(--colour-4);
}

.schedule__first_fold .book-btn.solid {
  border: none;
  background-color: var(--color-red);
  color: var(--colour-4);
}

.schedule__first_fold .book-btn.solid:hover {
  background-color: var(--color-dark-blue);
  color: var(--colour-4);
}

.schedule__first_fold .book-btn.navy {
  border: none;
  background-color: var(--color-dark-blue);
  color: var(--colour-4);
}

.schedule__first_fold .book-btn.navy:hover {
  background-color: var(--color-light-blue);
  color: var(--colour-4);
}

.schedule__first_fold .book-btn.compact {
  padding: 10px 16px;
  font-size: 0.8rem;
  white-space: nowrap;
}

.schedule__first_fold .list-table {
  border: 1px solid var(--colour-6);
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--colour-4);
  box-shadow: 0 4px 24px var(--shadow-navy-lg);
}

.schedule__first_fold .list-head,
.schedule__first_fold .list-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.2fr 1.4fr auto;
  gap: 1rem;
  align-items: center;
  padding: 16px 20px;
}

.schedule__first_fold .list-head {
  background-color: var(--background-colour);
  border-bottom: 1px solid var(--colour-6);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--colour-5);
}

.schedule__first_fold .list-row {
  border-bottom: 1px solid var(--colour-6);
  font-size: 0.9rem;
  color: var(--colour-5);
}

.schedule__first_fold .list-row:last-child {
  border-bottom: none;
}

.schedule__first_fold .cell.subject {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.schedule__first_fold .subject-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.schedule__first_fold .subject-dot--math { background-color: var(--color-light-blue); }
.schedule__first_fold .subject-dot--science { background-color: var(--color-red); }
.schedule__first_fold .subject-dot--english { background-color: var(--color-yellow); }

.schedule__first_fold .level-pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.schedule__first_fold .level-pill--math {
  background-color: var(--tint-blue);
  color: var(--color-light-blue);
}

.schedule__first_fold .level-pill--science {
  background-color: var(--tint-red);
  color: var(--color-red);
}

.schedule__first_fold .level-pill--english {
  background-color: var(--tint-yellow);
  color: var(--color-yellow);
}

.schedule__first_fold .cell.teacher {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.schedule__first_fold .cell.teacher img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--colour-6);
}

.schedule__first_fold .cell.action {
  text-align: right;
}

.schedule__second_fold {
  background-color: var(--color-dark-blue);
  padding: 64px min(5vw, 50px);
}

.schedule__second_fold > .content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.schedule__second_fold .text {
  width: 100%;
  text-align: left;
}

.schedule__second_fold .text h2 {
  margin: 0 0 1rem;
  color: var(--colour-4);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.schedule__second_fold .text p {
  margin: 0 0 1.5rem;
  color: var(--overlay-white-muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 28em;
}

.schedule__second_fold .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
}

.schedule__second_fold .cta-actions .cta-button {
  text-decoration: none;
}

.schedule__second_fold .cta-actions .cta-button > button {
  white-space: nowrap;
}

.schedule__second_fold .cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid var(--colour-4);
  border-radius: 12px;
  color: var(--colour-4);
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.schedule__second_fold .cta-outline:hover {
  background-color: var(--overlay-white-soft);
  color: var(--colour-4);
}

.schedule__second_fold > .content > .card {
  background-color: var(--colour-4);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px var(--shadow-navy-xl);
}

.schedule__second_fold > .content > .card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.schedule__second_fold > .content > .card > p {
  margin: 0 0 1.25rem;
  color: var(--colour-5);
  line-height: 1.6;
}

.schedule__second_fold > .content > .card ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.schedule__second_fold > .content > .card li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.85rem 1rem;
  background-color: #F3F4F6;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--colour-5);
}

.schedule__second_fold > .content > .card li strong {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--colour-5);
}

.schedule__second_fold > .content > .card li:last-child {
  margin-bottom: 0;
}

.schedule__second_fold > .content > .card li small {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--colour-5);
  line-height: 1.4;
}

.schedule__second_fold > .content > .card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background-color: var(--color-yellow);
  flex-shrink: 0;
}

.schedule__second_fold > .content > .card .icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.schedule__second_fold > .content > .card .cta-button {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
}

.schedule__second_fold > .content > .card .cta-button > button {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-bottom: 48px;
  }

  .hero1 {
    min-height: auto;
    align-items: flex-start;
  }

  .hero1 .text {
    max-width: none;
    width: 100%;
  }

  .hero1 .text h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
  }

  .hero1 .text h1,
  .hero1 .text .standfirst,
  .hero.hero--team .hero1 .text .hero-subtitle {
    text-shadow: none;
  }

  .hero::before {
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(255, 255, 255, 0.72) 50%,
      rgba(255, 255, 255, 0.55) 100%
    );
  }

  .schedule__first_fold .calendar {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .schedule__first_fold .day-col {
    flex: 0 0 min(78vw, 220px);
    scroll-snap-align: start;
  }

  .schedule__first_fold .list-head {
    display: none;
  }

  .schedule__first_fold .list-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.25rem;
  }

  .schedule__first_fold .cell.action {
    text-align: left;
    margin-top: 0.5rem;
  }

  .schedule__first_fold .cell.action .book-btn {
    width: 100%;
  }
}

/* Responsive */
@media screen and (min-width: 501px) {
  .hero.hero--team .hero1 .text .hero-subtitle {
    font-size: 1.2rem;
  }
}

@media screen and (min-width: 600px) {
  .our_team__second_fold .solution-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .schedule__first_fold .filters {
    grid-template-columns: repeat(2, 1fr);
  }
  .schedule__first_fold .filter-group.search-filter {
    grid-column: span 2;
  }
}

@media screen and (min-width: 769px) {
  .hero {
    background-position: center top;
    min-height: 580px;
  }

  .hero1 {
    min-height: 480px;
  }

  .hero1 .text {
    max-width: 540px;
  }

  .hero.hero--team .hero1 {
    align-items: flex-start;
    padding-top: 1.5rem;
  }

  .hero.hero--team .hero1 .text {
    max-width: 42%;
    padding: 0 1rem 0 0;
  }

  .hero.hero--team .hero1 .text h1,
  .hero.hero--team .hero1 .text .hero-subtitle,
  .hero.hero--team .hero1 .text .standfirst {
    text-shadow: none;
  }

  .hero1 .text h1 {
    font-size: 2.75rem;
  }

  .hero.hero--team .hero1 .text h1 {
    font-size: 3rem;
  }

  .hero.hero--team .hero1 .text .hero-subtitle {
    font-size: 1.35rem;
  }

  .methodology__second_fold .solution-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .our_team__fifth_fold h2 {
    font-size: 2.5rem;
  }

  .our_team__second_fold .intro {
    max-width: none;
  }

  .schedule__first_fold .intro-row {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .schedule__first_fold .text {
    flex: 1;
    min-width: 0;
    padding-right: 1.5rem;
  }

  .schedule__first_fold .text p {
    max-width: none;
  }

  .schedule__first_fold .view-toggle {
    align-self: auto;
    flex-shrink: 0;
  }

  .schedule__first_fold .filters {
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
  }

  .schedule__first_fold .filter-group.subject-filter {
    grid-column: span 1;
  }
  .schedule__first_fold .filter-group.search-filter {
    grid-column: span 1;
  }
}

/* Tutor bios — stacked + centered image below desktop */
@media screen and (max-width: 1023px) {
  .our_team__fourth_fold_type1 .profile-header,
  .our_team__fourth_fold_type2 .profile-header {
    text-align: center;
  }

  .our_team__fourth_fold_type1 .profile-media,
  .our_team__fourth_fold_type2 .profile-media {
    max-width: 420px;
  }

  .our_team__fourth_fold_type1 .profile-media img,
  .our_team__fourth_fold_type2 .profile-media img {
    height: auto;
    width: 100%;
  }

  .schedule__first_fold .calendar {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .schedule__first_fold .day-col {
    flex: 0 0 min(78vw, 220px);
    scroll-snap-align: start;
  }
}

@media screen and (min-width: 1024px) {
  .hero1 .text h1 {
    font-size: 3rem;
  }

  .hero.hero--team .hero1 .text h1 {
    font-size: 3.5rem;
  }

  .hero.hero--team .hero1 .text .hero-subtitle {
    font-size: 1.5rem;
  }

  .our_team__second_fold .solution-cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .our_team__fourth_fold_type1 > .content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      ". profile-header"
      "profile-media profile-copy";
    column-gap: 3rem;
    row-gap: 0.75rem;
    align-items: stretch;
  }

  .our_team__fourth_fold_type2 > .content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "profile-header ."
      "profile-copy profile-media";
    column-gap: 3rem;
    row-gap: 0.75rem;
    align-items: stretch;
  }

  .our_team__fourth_fold_type1 .profile-header,
  .our_team__fourth_fold_type2 .profile-header {
    grid-area: profile-header;
    text-align: left;
  }

  .our_team__fourth_fold_type1 .profile-media,
  .our_team__fourth_fold_type2 .profile-media {
    grid-area: profile-media;
    width: 100%;
    max-width: 500px;
    justify-self: center;
    display: flex;
  }

  .our_team__fourth_fold_type1 .profile-copy,
  .our_team__fourth_fold_type2 .profile-copy {
    grid-area: profile-copy;
  }

  .our_team__fourth_fold_type1 .profile-media img,
  .our_team__fourth_fold_type2 .profile-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
  }

  .our_team__fourth_fold_type1 .profile-copy > .designation,
  .our_team__fourth_fold_type2 .profile-copy > .designation {
    font-size: 1rem;
  }

  .our_team__fifth_fold h2 {
    font-size: 2.75rem;
  }

  .schedule__first_fold .text h1 {
    font-size: 2.5rem;
  }

  .schedule__second_fold > .content {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    justify-content: center;
  }

  .schedule__second_fold .text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .schedule__second_fold > .content > .card {
    margin-top: 0;
  }

  .schedule__second_fold .text h2 {
    font-size: 2.35rem;
  }

  .schedule__second_fold .text p {
    font-size: 1.05rem;
  }
}
