:root {
  --tutor-blue: #3b6ed8;
  --tutor-navy: #132a5e;
  --tutor-ink: #10224d;
  --tutor-yellow: #ffdd34;
  --tutor-green: #0aa15d;
  --tutor-paper: #eff5ff;
  --tutor-white: #fff;
  --tutor-radius: 1.35rem;
  --tutor-shadow: 0 24px 60px rgba(14, 38, 91, .18);
}

.tutor-content {
  margin: 3rem auto 5rem;
  max-width: 1180px;
  overflow: visible;
  padding: 2rem 1rem 4rem;
}

.tutor-content section {
  margin: 0 auto clamp(4.5rem, 9vw, 7.5rem);
  max-width: 980px;
}

.tutor-content h2 {
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  letter-spacing: -.025em;
  line-height: 1.12;
  margin: .45rem 0 1rem;
  max-width: none;
}

.tutor-content h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  margin: 0 0 .45rem;
}

.tutor-content p {
  max-width: none;
}

.tutor-eyebrow {
  color: var(--tutor-yellow);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  padding: 0;
  text-transform: uppercase;
}

/* Hero */
.tutor-hero {
  isolation: isolate;
  max-width: 1080px !important;
  padding: clamp(4.5rem, 10vw, 7.5rem) 1rem clamp(3.5rem, 7vw, 5rem);
  position: relative;
  text-align: center;
}

.tutor-hero::before,
.tutor-hero::after {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.tutor-hero::before {
  height: 24rem;
  left: -10rem;
  top: 1rem;
  width: 24rem;
}

.tutor-hero::after {
  border-color: rgba(255, 221, 52, .25);
  bottom: 0;
  height: 15rem;
  right: -5rem;
  width: 15rem;
}

.tutor-hero-inner {
  margin: 0 auto;
  max-width: 850px;
}

.tutor-hero h1 {
  font-size: clamp(2rem, 5vw, 2.6rem);
  line-height: .96;
  margin: .8rem 0 1.35rem;
}

.tutor-hero h1 em {
  color: var(--tutor-yellow);
  font-style: normal;
}

.tutor-lead {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  max-width: 650px !important;
  padding: 0 0 1.8rem !important;
}

.tutor-primary-cta span,
.tutor-closing .cta span {
  font-size: 1.15em;
  transition: transform .2s ease;
}

.tutor-primary-cta:hover span,
.tutor-closing .cta:hover span {
  transform: translateX(.25rem);
}

.tutor-hero-points {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.6rem;
  justify-content: center;
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
}

.tutor-hero-points li {
  font-size: .78rem;
  font-weight: 650;
  opacity: .86;
}

.tutor-hero-points li::before {
  color: var(--tutor-yellow);
  content: "•";
  margin-right: .5rem;
}

/* Why OPUS */
.tutor-intro {
  align-items: start;
  display: grid;
  gap: 1rem 4rem;
}

.tutor-intro>p {
  font-size: clamp(1rem, 2vw, 1.18rem);
  padding-top: .25rem;
}

.tutor-benefits {
  display: grid;
  gap: 1rem;
}

.tutor-benefits article {
  align-items: start;
  background: var(--tutor-paper);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: var(--tutor-radius);
  color: var(--tutor-ink);
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr;
  padding: 1.5rem;
  transition: box-shadow .28s ease, transform .28s ease;
}

.tutor-benefits article:hover {
  box-shadow: var(--tutor-shadow);
  transform: translateY(-5px);
}

.tutor-benefits article>span {
  align-items: center;
  background: var(--tutor-blue);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: .68rem;
  font-weight: 800;
  height: 2.35rem;
  justify-content: center;
  letter-spacing: .05em;
  width: 2.35rem;
}

.tutor-benefits p {
  font-size: .9rem;
  padding: 0;
}

/* Community */
.tutor-experiences {
  background: var(--tutor-paper);
  border-radius: calc(var(--tutor-radius) + .2rem);
  box-shadow: var(--tutor-shadow);
  color: var(--tutor-ink);
  overflow: hidden;
}

.experiences-heading {
  background: var(--tutor-navy);
  color: #fff;
  padding: clamp(2.4rem, 6vw, 4.5rem) 1.5rem;
  text-align: center;
}

.experiences-heading>p:last-child {
  font-size: .96rem;
  margin-top: .1rem;
  max-width: 600px;
  padding: 0;
}

.experience-list {
  display: grid;
}

.experience-list article {
  align-items: start;
  border-bottom: 1px solid rgba(16, 34, 77, .12);
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr;
  padding: 1.4rem 1.5rem;
}

.experience-list article:last-child {
  border-bottom: 0;
}

.experience-list span {
  color: var(--tutor-blue);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .1em;
  padding-top: .22rem;
}

.experience-list p {
  font-size: .9rem;
  padding: 0;
}

/* Tutor qualities */
.tutor-fit {
  background: var(--tutor-yellow);
  border-radius: calc(var(--tutor-radius) + .2rem);
  color: var(--tutor-ink);
  padding: clamp(2.4rem, 6vw, 4.5rem) 1.5rem;
  position: relative;
  text-align: center;
}

.tutor-fit::after {
  border: 1px solid rgba(16, 34, 77, .18);
  border-radius: 50%;
  content: "";
  height: 7rem;
  position: absolute;
  right: -2.5rem;
  top: -2.5rem;
  width: 7rem;
}

.tutor-fit .tutor-eyebrow {
  color: var(--tutor-blue);
}

.tutor-fit>h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

.tutor-fit-lead {
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 750;
  padding: .1rem 0 0;
}

.tutor-fit>p:not(.tutor-eyebrow):not(.tutor-fit-lead) {
  font-size: .96rem;
  max-width: 690px;
}

.tutor-traits {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: center;
  list-style: none;
  margin: 1.15rem auto 0;
  max-width: 680px;
  padding: 0;
}

.tutor-traits li {
  background: rgba(255, 255, 255, .36);
  border: 1px solid rgba(16, 34, 77, .2);
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 750;
  padding: .52rem .85rem;
}

/* Growth timeline */
.tutor-journey {
  background: rgba(19, 42, 94, .55);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: calc(var(--tutor-radius) + .2rem);
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem;
}

.journey-heading {
  margin: 0 auto;
  max-width: 650px;
  text-align: center;
}

.journey-heading>p:last-child {
  font-size: .93rem;
  opacity: .85;
  padding: 0;
}

.journey-steps {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 2.5rem auto 0;
  max-width: 820px;
  padding: 0;
  position: relative;
}

.journey-steps::before {
  background: rgba(255, 255, 255, .25);
  bottom: 1.6rem;
  content: "";
  left: 1.5rem;
  position: absolute;
  top: 1.6rem;
  width: 2px;
}

.journey-steps li {
  align-items: center;
  display: grid;
  font-size: .9rem;
  font-weight: 750;
  gap: 1rem;
  grid-template-columns: 3.1rem 1fr;
  margin: 0;
  min-height: 4.6rem;
  padding: .3rem 0;
  position: relative;
  text-align: left;
  z-index: 1;
}

.journey-steps span {
  align-items: center;
  background: var(--tutor-blue);
  border: 3px solid var(--tutor-yellow);
  border-radius: 50%;
  box-sizing: border-box;
  box-shadow: 0 0 0 5px rgba(255, 221, 52, .1);
  color: #fff;
  display: flex;
  font-size: .66rem;
  height: 3rem;
  justify-content: center;
  letter-spacing: .06em;
  width: 3rem;
}

/* Value cards */
.tutor-receive {
  text-align: center;
}

.tutor-receive>h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 730px;
}

.tutor-card-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.7rem;
  text-align: left;
}

.tutor-card-grid article {
  background: var(--tutor-paper);
  border-radius: var(--tutor-radius);
  color: var(--tutor-ink);
  min-height: 8rem;
  padding: 1.45rem;
  position: relative;
  transition: transform .25s ease;
}

.tutor-card-grid article::before {
  background: var(--tutor-blue);
  border-radius: 99px;
  content: "";
  display: block;
  height: .28rem;
  margin-bottom: 1.2rem;
  width: 2.2rem;
}

.tutor-card-grid article:nth-child(2n)::before {
  background: var(--tutor-yellow);
}

.tutor-card-grid article:nth-child(3n)::before {
  background: var(--tutor-green);
}

.tutor-card-grid article:hover {
  transform: translateY(-4px);
}

.tutor-card-grid p {
  font-size: .86rem;
  padding: 0;
}

/* Tutor testimonial layout */
.tutor-testimonials .testimonial-carousel {
  overflow-x: scroll;
  overflow-y: visible;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 2rem;
  position: relative;
  scrollbar-width: none;
  width: 100vw;
}

/* Eligibility */
.tutor-eligibility {
  background: var(--tutor-green);
  border-radius: calc(var(--tutor-radius) + .2rem);
  padding: clamp(2.2rem, 6vw, 4rem) 1.5rem;
}

.tutor-eligibility .tutor-eyebrow {
  color: #eaff7c;
}

.tutor-eligibility>h2,
.tutor-eligibility>p {
  max-width: 760px;
}

.tutor-eligibility>h2,
.tutor-eligibility>p {
  margin-left: 0;
  margin-right: 0;
}

.eligibility-grid {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 0;
}

.eligibility-grid article {
  background: rgba(255, 255, 255, .95);
  border-radius: 1rem;
  color: var(--tutor-ink);
  padding: 1.35rem;
}

.eligibility-grid p {
  font-size: .88rem;
  padding: 0;
}

.subjects {
  border-top: 1px solid rgba(255, 255, 255, .4);
  margin-top: 1.8rem;
  padding-top: 1.6rem;
}

.subject-groups {
  display: grid;
  gap: .8rem;
  margin-top: .9rem;
}

.subject-groups>div {
  background: rgba(8, 91, 51, .32);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: .85rem;
  padding: 1rem;
}

.subject-groups h4 {
  font-size: .78rem;
  letter-spacing: .06em;
  margin: 0 0 .4rem;
  text-transform: uppercase;
}

.subject-groups p {
  font-size: .83rem;
  padding: 0;
}

/* Application */
.tutor-application {
  text-align: center;
}

.tutor-application>h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
}

.application-steps {
  display: grid;
  margin-top: 2rem;
  position: relative;
  text-align: left;
}

.application-steps article {
  border-left: 2px solid rgba(255, 255, 255, .25);
  padding: 0 0 2rem 1.5rem;
  position: relative;
}

.application-steps article:last-child {
  padding-bottom: 0;
}

.application-steps article::before {
  background: var(--tutor-yellow);
  border: 4px solid var(--tutor-blue);
  border-radius: 50%;
  content: "";
  height: .65rem;
  left: -.4rem;
  position: absolute;
  top: .12rem;
  width: .65rem;
}

.application-steps span {
  color: var(--tutor-yellow);
  display: block;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .1em;
  margin-bottom: .35rem;
}

.application-steps p {
  font-size: .88rem;
  opacity: .88;
  padding: 0;
}

/* Closing */
.tutor-closing {
  background: var(--tutor-paper);
  border-radius: calc(var(--tutor-radius) + .2rem);
  box-shadow: var(--tutor-shadow);
  color: var(--tutor-ink);
  padding: clamp(3rem, 8vw, 5.5rem) 1.5rem;
  text-align: center;
}

.tutor-closing .tutor-eyebrow {
  color: var(--tutor-blue);
}

.tutor-closing>h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 780px;
}

.tutor-closing p {
  max-width: 650px;
}

.tutor-closing .cta {
  background: var(--tutor-blue);
  color: #fff;
  margin-top: .7rem;
}

.tutor-closing .cta:visited {
  color: #fff;
}

.tutor-closing .cta:hover {
  background: var(--tutor-ink);
}

/* Scroll and entrance motion */
.js .tutor-content section:not(.tutor-hero) {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}

.js .tutor-content section.intersecting {
  opacity: 1;
  transform: none;
}

.js .tutor-hero-inner {
  animation: tutor-hero-in .85s cubic-bezier(.2, .7, .2, 1) both;
}

.js .tutor-content section.intersecting article {
  animation: tutor-card-in .55s both;
}

.js .tutor-content section.intersecting article:nth-child(2) {
  animation-delay: .08s;
}

.js .tutor-content section.intersecting article:nth-child(3) {
  animation-delay: .16s;
}

.js .tutor-content section.intersecting article:nth-child(4) {
  animation-delay: .24s;
}

.js .tutor-content section.intersecting article:nth-child(5) {
  animation-delay: .32s;
}

.js .tutor-content section.intersecting article:nth-child(6) {
  animation-delay: .4s;
}

.js .tutor-journey.intersecting .journey-steps li {
  animation: tutor-step-in .45s both;
}

.js .tutor-journey.intersecting .journey-steps li:nth-child(2) {
  animation-delay: .07s;
}

.js .tutor-journey.intersecting .journey-steps li:nth-child(3) {
  animation-delay: .14s;
}

.js .tutor-journey.intersecting .journey-steps li:nth-child(4) {
  animation-delay: .21s;
}

.js .tutor-journey.intersecting .journey-steps li:nth-child(5) {
  animation-delay: .28s;
}

.js .tutor-journey.intersecting .journey-steps li:nth-child(6) {
  animation-delay: .35s;
}

.js .tutor-journey.intersecting .journey-steps li:nth-child(7) {
  animation-delay: .42s;
}

@keyframes tutor-hero-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tutor-card-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tutor-step-in {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 700px) {
  .tutor-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .tutor-intro {
    grid-template-columns: .92fr 1.08fr;
  }

  .tutor-benefits,
  .experience-list,
  .eligibility-grid,
  .application-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-list article:nth-child(odd) {
    border-right: 1px solid rgba(16, 34, 77, .12);
  }

  .experience-list article:nth-last-child(2) {
    border-bottom: 0;
  }

  .tutor-card-grid,
  .subject-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .application-steps {
    gap: 0 2.5rem;
  }

  .application-steps article:nth-child(3) {
    padding-bottom: 0;
  }
}

@media (min-width: 900px) {
  .journey-steps {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    margin-top: 3rem;
  }

  .journey-steps::before {
    bottom: auto;
    height: 2px;
    left: 7%;
    right: 7%;
    top: 1.5rem;
    width: auto;
  }

  .journey-steps li {
    display: flex;
    flex-direction: column;
    font-size: .78rem;
    gap: .85rem;
    min-height: auto;
    padding: 0 .2rem;
    text-align: center;
  }

  .journey-steps span {
    flex: 0 0 3rem;
  }

  @keyframes tutor-step-in {
    from {
      opacity: 0;
      transform: translateY(12px);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (prefers-reduced-motion: reduce) {

  .js .tutor-content section,
  .js .tutor-hero-inner,
  .js .tutor-content section article,
  .js .tutor-journey .journey-steps li {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
