:root {
  --void: #080A0C;
  --obsidian: #0D1012;
  --paper: #FFFDF8;
  --ivory: #F7F4EF;
  --clay: #C9612E;
  --brass: #E8B23A;
  --terracotta: #D57A52;
  --ink: #0D1012;
  --muted: #6F655C;
  --line-dark: rgba(13, 16, 18, .14);
  --line-light: rgba(255, 253, 248, .14);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--clay);
  color: var(--ivory);
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

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

.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;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(232, 178, 58, .7);
  outline-offset: 3px;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 300;
  padding: .75rem 1rem;
  border-radius: 10px;
  background: var(--paper);
  color: var(--void);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.reading-progress {
  position: fixed;
  z-index: 250;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--clay), var(--brass), var(--terracotta));
  transform: scaleX(0);
  transform-origin: left;
}

.student-nav {
  position: sticky;
  z-index: 200;
  top: 0;
  background: rgba(8, 10, 12, .96);
  color: var(--paper);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(18px);
}

.student-nav__top {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.student-brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  flex: 0 0 auto;
  color: var(--paper);
  font-weight: 600;
  letter-spacing: -.03em;
  text-decoration: none;
}

.student-brand img {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  object-fit: contain;
}

.course-search {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.course-search::before {
  content: "⌕";
  position: absolute;
  left: 1rem;
  top: 50%;
  color: #A89C91;
  font-size: 1rem;
  transform: translateY(-50%);
}

.course-search input {
  width: 100%;
  min-height: 43px;
  padding: .65rem 1rem .65rem 2.6rem;
  border: 1px solid rgba(255, 253, 248, .16);
  border-radius: 999px;
  background: rgba(255, 253, 248, .045);
  color: var(--paper);
}

.course-search input::placeholder {
  color: #998D82;
}

.student-nav__links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-left: auto;
}

.student-nav__links > a {
  color: #CFC5BB;
  font-size: .76rem;
  text-decoration: none;
}

.student-nav__links > a:hover {
  color: var(--paper);
}

.audience-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid rgba(255, 253, 248, .16);
  border-radius: 999px;
  background: rgba(255, 253, 248, .04);
}

.audience-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .4rem .8rem;
  border-radius: 999px;
  color: #BCAF9F;
  font-size: .7rem;
  text-decoration: none;
}

.audience-link.is-active {
  background: var(--clay);
  color: var(--paper);
}

.student-nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.student-nav__toggle::before,
.student-nav__toggle::after,
.student-nav__toggle span {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .25s, opacity .25s;
}

.student-nav__toggle[aria-expanded="true"] span {
  opacity: 0;
}

.student-nav__toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.student-nav__toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.student-nav__topics {
  border-top: 1px solid rgba(255, 253, 248, .08);
}

.topic-list {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 1.55rem;
  margin: 0 auto;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.topic-list::-webkit-scrollbar {
  display: none;
}

.topic-list a,
.topic-list__label {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #D4CBC2;
  font-size: .75rem;
  text-decoration: none;
  white-space: nowrap;
}

.topic-list a:hover,
.topic-list a[aria-current="page"] {
  color: var(--brass);
}

.topic-list__label {
  gap: .35rem;
  cursor: default;
}

.topic-list__label::after {
  content: "⌄";
  color: #746A61;
  font-size: .7rem;
  transform: translateY(-1px);
}

.topic-list__format {
  color: var(--paper) !important;
  font-weight: 600;
}

.topic-list__separator {
  width: 1px;
  height: 20px;
  flex: 0 0 1px;
  background: rgba(255, 253, 248, .22);
}

.student-hero {
  position: relative;
  min-height: 330px;
  display: grid;
  grid-auto-rows: max-content;
  align-content: end;
  align-items: end;
  padding: clamp(2.25rem, 4vw, 3.5rem) 0 0;
  overflow: hidden;
  background: var(--void);
  color: var(--paper);
}

.student-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 25%, rgba(201, 97, 46, .24), transparent 26%),
    radial-gradient(circle at 67% 75%, rgba(232, 178, 58, .11), transparent 24%),
    linear-gradient(rgba(255, 253, 248, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 248, .045) 1px, transparent 1px);
  background-size: auto, auto, 68px 68px, 68px 68px;
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000);
}

.student-hero::after {
  content: "";
  position: absolute;
  top: -35%;
  right: 7%;
  width: 440px;
  height: 620px;
  border: 1px solid rgba(232, 178, 58, .15);
  border-radius: 50%;
  transform: rotate(22deg);
  box-shadow: 0 0 0 44px rgba(201, 97, 46, .025), 0 0 0 88px rgba(232, 178, 58, .018);
}

.student-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  column-gap: clamp(2rem, 5vw, 5rem);
  row-gap: 0;
  align-items: end;
  margin-bottom: 3.5rem;
}

.hero-format-selector {
  position: relative;
  z-index: 2;
}

.student-hero__eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 1rem;
  color: var(--terracotta);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.student-hero h1 {
  max-width: 920px;
  margin: 0;
  font: 400 clamp(3.5rem, 6.8vw, 6.6rem)/.9 var(--serif);
  letter-spacing: -.045em;
  text-wrap: balance;
}

.student-hero h1 em {
  display: block;
  color: var(--clay);
  font-style: italic;
}

.hero-title__line {
  display: block;
  white-space: nowrap;
}

.hero-title__rotator {
  position: relative;
  display: block;
  width: 100%;
  height: .94em;
  overflow: hidden;
  vertical-align: baseline;
}

.hero-title__rotator > span {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity .3s ease, transform .3s cubic-bezier(.4, 0, .2, 1);
}

.hero-title__rotator > span.is-active {
  opacity: 1;
  transform: translateY(0);
}

.hero-title__rotator > span.is-leaving {
  opacity: 0;
  transform: translateY(-110%);
}

.student-hero__lead {
  max-width: 390px;
  margin: 0 0 .45rem;
  color: #CEC3B8;
  font: 400 clamp(1.15rem, 1.8vw, 1.6rem)/1.25 var(--serif);
}

.learning-market {
  position: relative;
  background: var(--ivory);
}

.format-tabs {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, .16);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: var(--obsidian);
  box-shadow: 0 -12px 38px rgba(8, 10, 12, .12);
}

.format-tab {
  position: relative;
  min-height: 112px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.3rem;
  border: 0;
  border-right: 1px solid rgba(255, 253, 248, .13);
  border-radius: 0;
  background: var(--obsidian);
  color: var(--paper);
  text-align: left;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}

.format-tab:last-child {
  border-right: 0;
}

.format-tab:hover:not([aria-selected="true"]) {
  background: #080A0C;
  box-shadow: inset 0 3px 0 rgba(213, 122, 82, .72);
}

.format-tab[aria-selected="true"] {
  background: var(--ivory);
  color: var(--ink);
  box-shadow: inset 0 3px 0 var(--clay);
}

.format-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--ivory);
}

.format-tab__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(201, 97, 46, .2);
  color: var(--terracotta);
  font: 400 1.3rem var(--serif);
}

.format-tab:nth-child(2) .format-tab__icon {
  background: rgba(213, 122, 82, .18);
}

.format-tab:nth-child(3) .format-tab__icon {
  background: rgba(232, 178, 58, .18);
  color: var(--brass);
}

.format-tab strong {
  display: block;
  font: 400 clamp(1.25rem, 2vw, 1.65rem)/1 var(--serif);
}

.format-tab small {
  display: block;
  margin-top: .4rem;
  color: #AFA399;
  font-size: .68rem;
  line-height: 1.35;
}

.format-tab[aria-selected="true"] small {
  color: var(--muted);
}

.program-panel {
  margin-top: 0;
  padding: 0 0 clamp(5rem, 9vw, 8rem);
}

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

.program-panel__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin: -1rem 0 1.8rem;
}

.program-panel__head h2 {
  margin: 0;
  font: 400 clamp(2.4rem, 4.4vw, 4.4rem)/.95 var(--serif);
  letter-spacing: -.035em;
}

.program-panel__head p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
}

.course-status {
  min-height: 0;
  margin: 0;
  color: var(--clay);
  font-size: .72rem;
}

.course-status:not(:empty) {
  min-height: 24px;
  margin: 0 0 .7rem;
}

.cohort-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
}

.cohort-card {
  position: relative;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  padding: .9rem 1rem .8rem;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: var(--paper);
  transition: background .25s, transform .25s;
}

.cohort-card:nth-child(3n) {
  border-right: 0;
}

.cohort-card:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.cohort-card:hover {
  z-index: 1;
  background: #F5F7FA;
  box-shadow: 0 18px 45px rgba(8, 10, 12, .08);
}

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

.cohort-card__number {
  position: absolute;
  right: .75rem;
  bottom: .65rem;
  color: rgba(13, 16, 18, .12);
  font: 400 2rem/.8 var(--serif);
}

.cohort-card h3 {
  max-width: 310px;
  margin: 0 0 .4rem;
  padding-right: .75rem;
  font: 400 clamp(1.2rem, 1.65vw, 1.5rem)/1.06 var(--serif);
  letter-spacing: -.018em;
}

.cohort-card__course-link {
  color: inherit;
  text-decoration: none;
}

.cohort-card__course-link:hover {
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

.cohort-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem .5rem;
  margin: 0 0 .65rem;
  padding-top: 0;
  color: #7C7168;
  font-size: .68rem;
  line-height: 1.35;
}

#panel-cohorts .cohort-card__meta,
#panel-workshops .cohort-card__meta,
#panel-lessons .cohort-card__meta,
#school-panel-cohorts .cohort-card__meta,
#school-panel-workshops .cohort-card__meta,
#school-panel-lessons .cohort-card__meta {
  color: var(--ink);
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.45;
}

.cohort-card__meta span + span::before {
  content: "·";
  margin-right: .65rem;
  color: var(--clay);
}

.cohort-card__live-row {
  display: flex;
  margin: -.28rem 0 .65rem;
}

.cohort-card__live {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .2rem .62rem;
  border-radius: 999px;
  background: #DDF7A6;
  color: #173D1F;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .08em;
}

.cohort-card__live::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #245C2F;
}

.cohort-card__teachers {
  margin-top: auto;
}

.cohort-card__teachers--dual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}

.cohort-card__teachers--portrait-names {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.cohort-card__portrait-stack {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.cohort-card__portrait-stack .cohort-card__avatar {
  width: 34px;
  height: 34px;
  border: 2px solid var(--paper);
}

.cohort-card__portrait-stack .cohort-card__avatar + .cohort-card__avatar {
  margin-left: -.55rem;
}

.cohort-card__teacher-names {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .2rem .32rem;
  font-size: .78rem;
  line-height: 1.35;
}

.cohort-card__teacher-names strong {
  font-size: inherit;
}

.cohort-card__teacher-names > span {
  color: var(--muted);
}

.cohort-card__teacher {
  max-width: calc(100% - 2.4rem);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.cohort-card__teachers--dual .cohort-card__teacher {
  max-width: none;
  min-width: 0;
}

.cohort-card__avatar {
  width: 28px;
  height: 28px;
  display: block;
  flex: 0 0 auto;
  border: 1px solid rgba(13, 16, 18, .12);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 28%;
}

.cohort-card__teacher strong {
  display: block;
  font-size: .72rem;
}

.cohort-card__teacher-name {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: .38rem;
}

.cohort-card__teachers--dual .cohort-card__teacher > span {
  min-width: 0;
}

.cohort-card__teachers--dual .cohort-card__teacher strong,
.cohort-card__teachers--dual .cohort-card__teacher small {
  overflow-wrap: anywhere;
}

.cohort-card__linkedin {
  width: 17px;
  height: 17px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 4px;
  background: #0A66C2;
  color: #FFFFFF;
  transition: background .2s, color .2s, transform .2s;
}

.cohort-card__linkedin:hover {
  background: #0A66C2;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.cohort-card__linkedin svg {
  width: 10px;
  height: 10px;
}

.cohort-card__linkedin-mark {
  font-size: .55rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
}

.cohort-card__teacher small {
  display: block;
  margin-top: .12rem;
  color: var(--muted);
  font-size: .58rem;
}

.empty-state {
  padding: clamp(3rem, 7vw, 6rem);
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  background: var(--paper);
  text-align: center;
}

.empty-state span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 1.3rem;
  border: 1px solid rgba(201, 97, 46, .3);
  border-radius: 50%;
  color: var(--clay);
  font: 400 1.8rem var(--serif);
}

.empty-state h2 {
  margin: 0 0 .7rem;
  font: 400 clamp(2.2rem, 4vw, 3.8rem)/.95 var(--serif);
}

.empty-state p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-size: .82rem;
}

.student-signature {
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 253, 248, .1);
  background: var(--obsidian);
  color: #BCAF9F;
  text-align: center;
  font-size: .68rem;
  letter-spacing: .08em;
}

.student-signature strong {
  color: var(--paper);
  font-weight: 500;
}

.persona-modal {
  max-width: min(760px, calc(100% - 2rem));
  padding: 0;
  border: 1px solid rgba(255, 253, 248, .14);
  border-radius: 24px;
  background: var(--obsidian);
  color: var(--paper);
  box-shadow: 0 35px 100px rgba(8, 10, 12, .5);
}

.persona-modal::backdrop {
  background: rgba(8, 10, 12, .78);
  backdrop-filter: blur(8px);
}

.persona-panel {
  padding: clamp(1.5rem, 5vw, 3rem);
}

.persona-panel__kicker {
  margin: 0 0 .7rem;
  color: var(--terracotta);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.persona-panel h2 {
  margin: 0;
  font: 400 clamp(2.4rem, 5vw, 4rem)/.95 var(--serif);
}

.persona-panel > p:not(.persona-panel__kicker):not(.persona-panel__signature) {
  max-width: 580px;
  color: #BCAF9F;
  font-size: .8rem;
}

.persona-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin: 1.5rem 0;
}

.persona-choice {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
  border: 1px solid rgba(255, 253, 248, .12);
  border-radius: 18px;
  background: rgba(255, 253, 248, .035);
  text-decoration: none;
}

.persona-choice:hover {
  border-color: rgba(201, 97, 46, .58);
  background: rgba(201, 97, 46, .08);
}

.persona-choice small {
  color: var(--terracotta);
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.persona-choice strong {
  margin: auto 0 .5rem;
  font: 400 1.8rem/1 var(--serif);
}

.persona-choice span {
  color: #BCAF9F;
  font-size: .72rem;
}

.persona-continue {
  min-height: 44px;
  padding: .65rem 1rem;
  border: 1px solid rgba(255, 253, 248, .15);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.persona-panel__signature {
  margin: 1.4rem 0 0;
  color: var(--brass);
  font: 400 1rem var(--serif);
}

@media (max-width: 940px) {
  .student-hero__content {
    display: block;
  }

  .student-hero__lead {
    max-width: 620px;
    margin: 1.25rem 0 0;
  }

  .student-nav__top {
    flex-wrap: wrap;
    gap: .8rem;
    padding: .8rem 0;
  }

  .course-search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }

  .format-tabs {
    gap: 0;
  }

  .format-tab {
    grid-template-columns: 36px 1fr;
    min-height: 124px;
    padding: 1rem;
  }

  .format-tab__icon {
    width: 36px;
    height: 36px;
  }

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

  .cohort-card,
  .cohort-card:nth-child(3n),
  .cohort-card:nth-last-child(-n + 3) {
    border-right: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
  }

  .cohort-card:nth-child(2n) {
    border-right: 0;
  }

  .cohort-card:last-child,
  .cohort-card:nth-last-child(2):nth-child(odd) {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 60px);
  }

  .student-nav__top {
    min-height: 68px;
    flex-wrap: nowrap;
    padding: 0;
  }

  .student-nav__toggle {
    display: block;
  }

  .student-nav__links {
    position: absolute;
    top: 68px;
    left: 30px;
    right: 30px;
    display: none;
    max-height: calc(100svh - 84px);
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    padding: 1rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(255, 253, 248, .12);
    border-radius: 18px;
    background: rgba(8, 10, 12, .98);
  }

  .student-nav__links.is-open {
    display: flex;
  }

  .student-nav__links > a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .audience-switch {
    align-self: stretch;
  }

  .audience-link {
    min-height: 44px;
    flex: 1;
  }

  .course-search {
    position: relative;
    inset: auto;
    order: initial;
    display: block;
    min-width: 0;
    max-width: none;
    flex: 1 1 auto;
  }

  .course-search input {
    min-height: 48px;
  }

  .student-nav__topics {
    margin-top: 0;
  }

  .verify-page .student-nav,
  .course-detail-page .student-nav {
    position: sticky;
    top: 0;
  }

  .topic-list {
    width: 100%;
    gap: 1.25rem;
    margin-inline: 0;
    padding-inline: 30px;
    scroll-padding-inline: 30px;
  }

  .student-hero {
    min-height: 360px;
    padding: 3rem 0 0;
  }

  .student-hero__content {
    display: block;
    margin-bottom: 2.3rem;
  }

  .student-hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .hero-title__line,
  .hero-title__rotator > span {
    white-space: nowrap;
  }

  .student-hero__lead {
    max-width: 620px;
    margin: 1.25rem 0 0;
    font-size: 1.2rem;
  }

  .format-tabs {
    display: flex;
    gap: 0;
    margin-top: 0;
    overflow-x: auto;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .format-tabs::-webkit-scrollbar {
    display: none;
  }

  .format-tab {
    min-width: min(74vw, 300px);
    min-height: 100px;
    grid-template-columns: 42px minmax(0, 1fr);
    flex: 0 0 min(74vw, 300px);
    scroll-snap-align: start;
  }

  .format-tab__icon {
    width: 42px;
    height: 42px;
  }

  .program-panel {
    margin-top: 0;
    padding-top: 0;
  }

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

  .cohort-card,
  .cohort-card:nth-child(2n),
  .cohort-card:nth-child(3n),
  .cohort-card:nth-last-child(-n + 2),
  .cohort-card:nth-last-child(-n + 3) {
    min-height: 170px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .cohort-card:last-child {
    border-bottom: 0;
  }

  .persona-choices {
    grid-template-columns: 1fr;
  }

  .persona-choice {
    min-height: 145px;
  }
}

@media (max-width: 430px) {
  .student-brand span {
    display: none;
  }

  .student-hero h1 {
    font-size: clamp(2.8rem, 14vw, 3.8rem);
  }

  .format-tab strong {
    font-size: 1.28rem;
  }
}

@media (max-width: 720px) {
  .catalogue-home .container {
    width: calc(100% - 32px);
  }

  .catalogue-home .student-nav__top {
    min-height: 64px;
  }

  .catalogue-home .student-brand {
    position: absolute;
    left: 50%;
    gap: .5rem;
    transform: translateX(-50%);
  }

  .catalogue-home .student-brand img {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .catalogue-home .student-brand span {
    display: inline;
    font-size: .9rem;
  }

  .catalogue-home .student-nav__toggle {
    order: -1;
    margin: 0 auto 0 0;
  }

  .catalogue-home .course-search {
    position: relative;
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    flex: 0 0 44px;
    margin-left: auto;
    transition: max-width .25s ease, width .25s ease;
  }

  .catalogue-home .course-search::before {
    left: 50%;
    color: var(--paper);
    font-size: 1.35rem;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  .catalogue-home .course-search input {
    min-height: 44px;
    padding: 0;
    border-color: transparent;
    background: transparent;
    color: transparent;
    caret-color: transparent;
    cursor: pointer;
  }

  .catalogue-home .course-search input::placeholder {
    color: transparent;
  }

  .catalogue-home .course-search:focus-within {
    position: absolute;
    z-index: 4;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: none;
    margin: 0;
  }

  .catalogue-home .course-search:focus-within::before {
    left: 1rem;
    color: #A89C91;
    font-size: 1rem;
    transform: translateY(-50%);
  }

  .catalogue-home .course-search:focus-within input {
    padding: .65rem 1rem .65rem 2.6rem;
    border-color: rgba(255, 253, 248, .22);
    background: var(--obsidian);
    color: var(--paper);
    caret-color: auto;
    cursor: text;
  }

  .catalogue-home .course-search:focus-within input::placeholder {
    color: #998D82;
  }

  .catalogue-home .student-nav__links {
    top: 64px;
    left: 0;
    right: 0;
    height: calc(100svh - 64px);
    max-height: none;
    gap: .35rem;
    padding: 1.5rem 1rem;
    border: 0;
    border-top: 1px solid rgba(255, 253, 248, .12);
    border-radius: 0;
    background: var(--void);
  }

  .catalogue-home .student-nav__links > a {
    min-height: 56px;
    padding: .25rem .5rem;
    border-bottom: 1px solid rgba(255, 253, 248, .1);
    font: 400 1.5rem/1.1 var(--serif);
  }

  .catalogue-home .audience-switch {
    margin-top: .75rem;
  }

  .catalogue-home .student-nav__topics {
    background: var(--void);
  }

  .catalogue-home .topic-list {
    min-height: 44px;
    gap: 1.15rem;
    padding-inline: 16px;
    scroll-padding-inline: 16px;
  }

  .catalogue-home .topic-list a,
  .catalogue-home .topic-list__label {
    min-height: 42px;
    font-size: .7rem;
  }

  .catalogue-home .student-hero {
    min-height: auto;
    padding: 3.25rem 0 0;
  }

  .catalogue-home .student-hero__content {
    margin-bottom: 2rem;
  }

  .catalogue-home .student-hero__eyebrow {
    max-width: 310px;
    margin-bottom: 1.15rem;
    font-size: .62rem;
    line-height: 1.45;
  }

  .catalogue-home .student-hero h1 {
    font-size: clamp(3.1rem, 14.5vw, 3.8rem);
    line-height: .92;
  }

  .catalogue-home .student-hero__lead {
    max-width: 330px;
    margin-top: 1.45rem;
    font-size: 1.1rem;
    line-height: 1.35;
  }

  .catalogue-home .hero-format-selector {
    padding-bottom: 3rem;
  }

  .catalogue-home .format-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: .85rem;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .catalogue-home .format-tab {
    width: 100%;
    min-width: 0;
    min-height: 94px;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    flex: none;
    padding: 1rem;
    border: 1px solid rgba(255, 253, 248, .16);
    border-radius: 14px;
    background: var(--obsidian);
    color: var(--paper);
    box-shadow: none;
    scroll-snap-align: none;
  }

  .catalogue-home .format-tab + .format-tab {
    border-left: 1px solid rgba(255, 253, 248, .16);
  }

  .catalogue-home .format-tab[aria-selected="true"] {
    background: var(--ivory);
    color: var(--ink);
    box-shadow: inset 3px 0 0 var(--clay);
  }

  .catalogue-home .format-tab[aria-selected="true"]::after {
    display: none;
  }

  .catalogue-home .format-tab__icon {
    width: 48px;
    height: 48px;
  }

  .catalogue-home .format-tab strong {
    font-size: 1.35rem;
  }

  .catalogue-home .format-tab small {
    color: #BCAF9F;
    font-size: .7rem;
  }

  .catalogue-home .format-tab[aria-selected="true"] small {
    color: var(--muted);
  }

  .catalogue-home .learning-market {
    padding-top: 1.25rem;
  }

  .catalogue-home .cohort-grid {
    gap: 1rem;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .catalogue-home .cohort-card,
  .catalogue-home .cohort-card:nth-child(2n),
  .catalogue-home .cohort-card:nth-child(3n),
  .catalogue-home .cohort-card:nth-last-child(-n + 2),
  .catalogue-home .cohort-card:nth-last-child(-n + 3),
  .catalogue-home .cohort-card:last-child {
    min-height: 190px;
    padding: 1.15rem;
    border: 1px solid var(--line-dark);
    border-radius: 14px;
  }
}

@media (max-width: 430px) {
  .catalogue-home .student-hero h1 {
    font-size: clamp(2.75rem, 13.2vw, 3.25rem);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .hero-title__rotator > span:not(.is-active) {
    display: none;
  }
}
