.hero {
  padding: 28px 0 20px;
  background: #e9e6dc;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(300px, 0.72fr);
  gap: 18px;
  min-height: min(740px, calc(100svh - 170px));
}

.hero-photo,
.hero-side,
.learning-visual,
.outcome-photo {
  position: relative;
  overflow: hidden;
}

.hero-photo {
  min-height: 650px;
  border-radius: 10px;
  color: white;
  background: var(--ink);
}

.hero-photo::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #111611bf 0%, #1116116b 42%, transparent 86%),
    linear-gradient(0deg, #11161166, transparent 55%);
  content: '';
}

.hero-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  animation: hero-photo-enter 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-photo-label,
.hero-copy {
  position: absolute;
  z-index: 1;
}

.hero-photo-label {
  top: 34px;
  left: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d5ef92;
  box-shadow: 0 0 0 7px #d5ef9233;
  animation: pulse 2.5s ease-in-out infinite;
}

.hero-copy {
  right: 9%;
  bottom: 9%;
  left: 6%;
  max-width: 720px;
  animation: hero-copy-enter 0.9s 0.25s both;
}

.hero-copy .eyebrow {
  color: #d5ef92;
}

.hero-copy h1 {
  max-width: 690px;
  margin: 22px 0 18px;
  font-size: clamp(42px, 4.4vw, 76px);
  font-weight: 720;
  letter-spacing: -0.07em;
  line-height: 1.15;
}

.hero-copy p {
  max-width: 470px;
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.65;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 58px;
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 4px;
  color: var(--ink);
  background: #d5ef92;
  font-size: 14px;
  font-weight: 800;
  transition:
    background 0.25s,
    transform 0.25s;
}

.hero-cta:hover {
  background: white;
  transform: translateY(-3px);
}

.hero-side {
  display: flex;
  flex-direction: column;
  padding: clamp(25px, 3vw, 52px);
  border-radius: 10px;
  color: var(--paper);
  background: #292c30;
}

.hero-side-intro {
  margin-bottom: auto;
}

.hero-side-intro > span,
.hero-side-bottom > span,
.hero-side > a > span,
.learning-card > span,
.learning-card > small,
.course-table-head,
.course-table > a > span,
.outcome-photo > span,
.note-story > span,
.note-news > span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.hero-side-intro > span {
  color: #d5ef92;
}

.hero-side-intro p {
  margin-top: 26px;
  font-size: clamp(19px, 1.55vw, 28px);
  font-weight: 670;
  line-height: 1.4;
}

.hero-side > a {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  column-gap: 8px;
  align-items: baseline;
  padding: 21px 0;
  border-top: 1px solid #ffffff40;
  transition:
    padding-left 0.25s,
    color 0.25s;
}

.hero-side > a:hover {
  padding-left: 8px;
  color: #d5ef92;
}

.hero-side > a {
  animation: hero-copy-enter 0.8s both;
}

.hero-side > a:nth-of-type(1) {
  animation-delay: 0.3s;
}

.hero-side > a:nth-of-type(2) {
  animation-delay: 0.43s;
}

.hero-side > a:nth-of-type(3) {
  animation-delay: 0.56s;
}

.hero-side > a > span {
  color: #d5ef92;
}

.hero-side > a > strong {
  font-size: clamp(18px, 1.45vw, 25px);
}

.hero-side > a > small {
  grid-column: 2;
  margin-top: 7px;
  color: #b9bbb7;
  font-size: 12px;
}

.hero-side > a > b {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  font-size: 21px;
  font-weight: 400;
}

.hero-side-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 32px;
  color: #d5ef92;
}

.hero-side-bottom a {
  font-size: 12px;
  font-weight: 800;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.learning {
  padding: clamp(90px, 10vw, 160px) 0;
  color: white;
  background: #202523;
}

.learning-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 62px;
}

.learning-intro .eyebrow {
  color: #d5ef92;
}

.learning-intro h2,
.course-aside h2,
.outcome-copy h2,
.lab-notes h2 {
  margin: 20px 0 0;
  font-size: clamp(32px, 3.4vw, 58px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1.2;
}

.learning-intro p {
  max-width: 400px;
  margin: 0 0 7px auto;
  color: #c2cbc3;
  font-size: 16px;
  line-height: 1.8;
}

.learning-board {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(30px, 5vw, 90px);
  align-items: start;
}

.learning-steps {
  position: relative;
}

.learning-step {
  min-height: 260px;
  padding: 34px 28px 36px;
  border-top: 1px solid #ffffff55;
  opacity: 0.4;
  transition:
    opacity 0.4s,
    background 0.4s;
}

.learning-step.is-active {
  opacity: 1;
  background: #ffffff0d;
}

.learning-step > span {
  color: #d5ef92;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.learning-step h3 {
  margin: 18px 0 8px;
  font-size: clamp(24px, 2vw, 34px);
  letter-spacing: -0.05em;
}

.learning-step p {
  max-width: 430px;
  color: #d3dbd4;
  line-height: 1.75;
}

.learning-visual {
  position: sticky;
  top: 110px;
  height: min(650px, calc(100svh - 145px));
  min-height: 470px;
  border-radius: 8px;
  background: #697772;
}

.learning-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--learning-scale, 1.08));
  transition: transform 0.2s linear;
}

.learning-card {
  position: absolute;
  right: 20px;
  bottom: 32px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 350px;
  padding: 24px;
  color: var(--ink);
  background: #f7f4e9ee;
  box-shadow: 0 15px 45px #1118;
}

.learning-card strong {
  font-size: clamp(20px, 1.7vw, 27px);
  letter-spacing: -0.04em;
  line-height: 1.3;
  white-space: pre-line;
}

.learning-card.is-changing {
  animation: card-change 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.learning-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: #ffffff88;
}

.learning-progress i {
  display: block;
  width: var(--progress, 33%);
  height: 100%;
  background: #d5ef92;
}

.course-home {
  padding: clamp(90px, 10vw, 160px) 0 0;
}

.course-layout {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: clamp(40px, 7vw, 130px);
}

.course-aside h2 {
  max-width: 450px;
  font-size: clamp(31px, 2.8vw, 49px);
}

.course-aside p {
  max-width: 440px;
  margin: 30px 0;
  color: #525952;
  line-height: 1.8;
}

.course-table-head,
.course-table > a {
  display: grid;
  grid-template-columns: 0.65fr 1.5fr 50px;
  gap: 15px;
  align-items: center;
}

.course-table-head {
  padding-bottom: 18px;
}

.course-table > a {
  min-height: 160px;
  padding: 23px 10px;
  border-top: 1px solid var(--line);
  transition:
    background 0.3s,
    padding 0.3s,
    opacity 0.65s ease,
    transform 0.7s ease;
}

.course-table > a.will-reveal {
  opacity: 0;
  transform: translateY(26px);
}

.course-table > a.will-reveal.is-revealed {
  opacity: 1;
  transform: none;
}

.course-table > a:last-child {
  border-bottom: 1px solid var(--line);
}

.course-table > a:hover {
  padding-left: 25px;
  background: #dce7b3;
}

.course-table > a.will-reveal:nth-of-type(2) {
  transition-delay: 90ms;
}

.course-table > a.will-reveal:nth-of-type(3) {
  transition-delay: 180ms;
}

.course-table strong {
  font-size: clamp(23px, 1.8vw, 32px);
  letter-spacing: -0.05em;
}

.course-table p {
  margin: 10px 0 0;
  color: #5b5c52;
  font-size: 14px;
}

.course-table b {
  font-size: 25px;
  font-weight: 400;
}

.wide-reveal {
  position: relative;
  height: 175vh;
  margin-top: clamp(90px, 10vw, 160px);
  background: #202523;
}

.wide-reveal-sticky {
  position: sticky;
  top: 86px;
  height: calc(100vh - 86px);
  min-height: 520px;
  overflow: hidden;
}

.wide-reveal-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(var(--frame-inset, 11%) round var(--frame-radius, 18px));
}

.wide-reveal-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #101714c9, #10171416 72%);
  content: '';
}

.wide-reveal-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(var(--frame-scale, 1.12));
}

.wide-reveal-copy {
  position: absolute;
  z-index: 1;
  right: 40px;
  bottom: clamp(50px, 8vw, 120px);
  left: var(--copy-left, max(12vw, 52px));
  width: auto;
  margin: 0;
  color: white;
  opacity: var(--copy-opacity, 1);
  transform: translateY(var(--copy-translate, 0px));
}

.wide-reveal-copy .eyebrow {
  color: #d5ef92;
}

.wide-reveal-copy h3 {
  margin: 15px 0 10px;
  font-size: clamp(36px, 4.5vw, 72px);
  font-weight: 730;
  letter-spacing: -0.065em;
  line-height: 1.15;
}

.wide-reveal-copy p {
  max-width: 510px;
  line-height: 1.7;
}

.wide-reveal-copy a {
  display: inline-flex;
  gap: 45px;
  margin-top: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid #fff;
  font-size: 14px;
  font-weight: 750;
}

.outcome {
  padding: clamp(80px, 9vw, 140px) 0;
  background: #d9dfd1;
}

.outcome-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 7vw, 130px);
  align-items: center;
}

.outcome-photo {
  height: min(620px, 60vw);
  min-height: 420px;
  border-radius: 5px;
  background: #adb6b0;
  clip-path: inset(var(--outcome-inset, 5%) round 5px);
}

.outcome-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1) translateY(var(--parallax-y, 0px));
}

.outcome-photo > span {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 12px;
  background: #f3f0e7;
}

.outcome-copy h2 {
  max-width: 570px;
}

.outcome-copy > p {
  max-width: 520px;
  margin: 26px 0;
  font-size: 16px;
  line-height: 1.8;
}

.outcome-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 42px 0;
  border-top: 1px solid var(--ink);
}

.outcome-facts span {
  display: grid;
  gap: 14px;
  padding-top: 16px;
  font-size: 13px;
  font-weight: 700;
}

.outcome-facts b {
  color: #a64a31;
  font-size: 12px;
}

.lab-notes {
  padding-block: clamp(90px, 10vw, 150px);
}

.lab-notes-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 48px;
}

.lab-notes h2 {
  font-size: clamp(28px, 2.6vw, 44px);
}

.lab-notes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 22px;
}

.note-story {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #faf8f1;
  transition:
    box-shadow 0.35s,
    transform 0.35s;
}

.note-story:hover {
  box-shadow: 0 18px 45px #1718131c;
  transform: translateY(-5px);
}

.note-story img {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
  transition:
    transform 0.7s,
    clip-path 0.9s;
}

.note-story.will-reveal img {
  clip-path: inset(0 0 50%);
}

.note-story.will-reveal.is-revealed img {
  clip-path: inset(0);
}

.note-story:hover img {
  transform: scale(1.04);
}

.note-story > span {
  display: block;
  margin: 24px 24px 0;
}

.note-story h3 {
  margin: 10px 24px 0;
  font-size: clamp(22px, 1.8vw, 30px);
  letter-spacing: -0.05em;
}

.note-story p {
  margin: 12px 24px 28px;
  color: #5b6058;
  line-height: 1.7;
}

.note-news {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(22px, 2.2vw, 36px);
  background: #e7dfca;
}

.note-news > a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.note-news > span {
  margin-bottom: 36px;
}

.note-news .note-news-all {
  margin-top: auto;
}

.text-link {
  display: inline-flex;
  gap: 30px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 800;
}

[data-reveal] {
  transition:
    opacity 0.75s ease,
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal].will-reveal {
  opacity: 0;
  transform: translateY(36px);
}

[data-reveal].will-reveal.is-revealed {
  opacity: 1;
  transform: none;
}

[data-reveal].will-reveal.is-revealed.note-story:hover {
  transform: translateY(-5px);
}

@keyframes hero-photo-enter {
  from {
    transform: scale(1.12);
    filter: saturate(0.55);
  }
  to {
    transform: scale(1);
    filter: saturate(1);
  }
}

@keyframes hero-copy-enter {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 12px #d5ef9200;
  }
}

@keyframes card-change {
  from {
    opacity: 0.35;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    min-height: 580px;
  }

  .hero-side {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 25px;
  }

  .hero-side-intro,
  .hero-side-bottom {
    grid-column: 1 / -1;
  }

  .hero-side > a {
    grid-template-columns: 1fr auto;
  }

  .hero-side > a > span,
  .hero-side > a > small {
    grid-column: 1;
  }

  .hero-side > a > b {
    grid-column: 2;
    grid-row: 2;
  }

  .learning-board,
  .course-layout,
  .outcome-layout {
    gap: 40px;
  }
}

@media (max-width: 780px) {
  .hero {
    padding-top: 12px;
  }

  .hero-photo {
    min-height: 600px;
  }

  .hero-side {
    grid-template-columns: 1fr;
  }

  .hero-side-intro,
  .hero-side-bottom {
    grid-column: 1;
  }

  .learning-intro,
  .learning-board,
  .course-layout,
  .outcome-layout {
    grid-template-columns: 1fr;
  }

  .learning-intro p {
    margin-left: 0;
  }

  .learning-visual {
    position: relative;
    top: auto;
    grid-row: 1;
    height: 480px;
  }

  .learning-step {
    min-height: 200px;
  }

  .outcome-photo {
    height: 550px;
  }

  .wide-reveal-sticky {
    top: 70px;
    height: calc(100vh - 70px);
  }

  .lab-notes-grid {
    grid-template-columns: 1fr 1fr;
  }

  .note-news {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .wide-reveal-copy {
    right: 18px;
  }

  .hero-grid {
    width: min(100% - 24px, 1600px);
    gap: 12px;
  }

  .hero-photo {
    min-height: 590px;
  }

  .hero-photo > img {
    object-position: 62% center;
  }

  .hero-photo-label {
    top: 20px;
    left: 20px;
  }

  .hero-copy {
    right: 20px;
    bottom: 30px;
    left: 20px;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 10vw, 55px);
  }

  .hero-side > a {
    padding: 14px 0;
  }

  .hero-bottom span:first-child {
    display: none;
  }

  .learning-visual {
    min-height: 410px;
    height: 68vh;
  }

  .learning-card {
    right: 12px;
    left: 12px;
    padding: 16px;
  }

  .course-table-head {
    display: none;
  }

  .course-table > a {
    grid-template-columns: 1fr auto;
  }

  .course-table > a > span {
    grid-column: 1 / -1;
  }

  .outcome-photo {
    min-height: 380px;
    height: 90vw;
  }

  .lab-notes-head {
    align-items: start;
    flex-direction: column;
  }

  .lab-notes-grid {
    grid-template-columns: 1fr;
  }

  .note-news {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo > img,
  .hero-copy,
  .pulse-dot,
  .hero-side > a {
    animation: none;
  }

  .wide-reveal {
    height: auto;
  }

  .wide-reveal-sticky {
    position: relative;
    top: auto;
    height: 78vh;
  }

  .wide-reveal-frame {
    clip-path: none;
  }

  .wide-reveal-frame > img {
    transform: none;
  }

  .wide-reveal-copy {
    opacity: 1;
    transform: none;
  }

  .outcome-photo {
    clip-path: none;
  }

  [data-reveal].will-reveal {
    opacity: 1;
    transform: none;
  }
}
