.home-cohort {
  position: relative;
  padding: clamp(5.5rem, 9vw, 9rem) 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(244, 239, 230, .14);
  background:
    radial-gradient(circle at 88% 14%, rgba(194, 90, 44, .18), transparent 23%),
    linear-gradient(rgba(244, 239, 230, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 230, .035) 1px, transparent 1px),
    var(--void);
  background-size: auto, 72px 72px, 72px 72px, auto;
  color: var(--paper);
}

.home-cohort::before {
  position: absolute;
  top: 0;
  right: max(1.5rem, calc((100vw - 1180px) / 2 + 4rem));
  width: 2px;
  height: clamp(4rem, 7vw, 7rem);
  background: linear-gradient(var(--clay), rgba(194, 90, 44, .05));
  content: "";
}

.home-cohort__inner {
  position: relative;
  z-index: 1;
}

.home-cohort__header {
  max-width: 950px;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.home-cohort__eyebrow,
.home-cohort__section-label,
.cohort-enrolment-card__kicker {
  margin: 0;
  color: var(--clay);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.home-cohort__eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.home-cohort__eyebrow::before {
  width: 30px;
  height: 2px;
  background: currentColor;
  content: "";
}

.home-cohort__header h2 {
  max-width: 900px;
  margin: 1.2rem 0 0;
  font: 500 clamp(3.35rem, 6.1vw, 6.3rem)/.9 var(--sans);
  letter-spacing: -.058em;
  text-wrap: balance;
}

.home-cohort__header h2 em {
  display: block;
  margin-top: .12em;
  color: var(--clay);
  font: italic 400 .74em/1.04 var(--serif);
  letter-spacing: -.03em;
}

.home-cohort__intro {
  max-width: 780px;
  margin: 1.8rem 0 0;
  padding-left: 1.1rem;
  border-left: 2px solid var(--brass);
  color: #d9d0c7;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.58;
  text-wrap: pretty;
}

.home-cohort__official-name {
  max-width: 740px;
  margin: 1rem 0 0 1.2rem;
  color: #a99e93;
  font: italic 400 1rem/1.4 var(--serif);
}

.home-cohort__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .62fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.home-cohort__programme {
  min-width: 0;
}

.home-cohort__section-label {
  color: var(--brass);
}

.home-cohort__outcomes ol {
  margin: 1.25rem 0 0;
  padding: 0;
  border-top: 1px solid rgba(244, 239, 230, .18);
  list-style: none;
}

.home-cohort__outcomes li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 1rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(244, 239, 230, .18);
}

.home-cohort__outcomes li > span {
  color: var(--clay);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.home-cohort__outcomes h4 {
  margin: 0;
  color: var(--paper);
  font: italic 500 clamp(1.4rem, 2.1vw, 1.9rem)/1.08 var(--serif);
}

.home-cohort__outcomes li p {
  max-width: 640px;
  margin: .4rem 0 0;
  color: #bcb1a7;
  font-size: .9rem;
  line-height: 1.5;
}

.home-cohort__progression {
  margin-top: 3rem;
}

.home-cohort__progression ol {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 1.1rem 0 0;
  padding: 0;
  border: 1px solid rgba(244, 239, 230, .18);
  list-style: none;
}

.home-cohort__progression li {
  position: relative;
  display: flex;
  min-height: 88px;
  align-items: center;
  padding: 1rem .75rem;
  border-right: 1px solid rgba(244, 239, 230, .14);
  color: #ded6ce;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.home-cohort__progression li:last-child {
  border-right: 0;
}

.home-cohort__progression li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -.45rem;
  padding: .08rem;
  background: var(--void);
  color: var(--clay);
  font-size: .9rem;
  content: "→";
  transform: translateY(-50%);
}

.home-cohort__commitment {
  margin: 1.25rem 0 0;
  color: #d8cfc6;
  font: italic 400 1.08rem/1.45 var(--font-accent);
}

.home-cohort__trace {
  margin-top: 3rem;
}

.home-cohort__trace ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 1.1rem 0 0;
  padding: 0;
  border: 1px solid rgba(244, 239, 230, .18);
  background: rgba(244, 239, 230, .14);
  list-style: none;
}

.home-cohort__trace li {
  display: grid;
  gap: .4rem;
  padding: 1.1rem 1rem 1.2rem;
  background: var(--void);
}

.home-cohort__trace strong {
  color: var(--paper);
  font: italic 500 1.2rem/1.1 var(--serif);
}

.home-cohort__trace span {
  color: #bcb1a7;
  font-size: .84rem;
  line-height: 1.48;
}

.cohort-enrolment-card {
  position: relative;
  padding: clamp(2rem, 3.2vw, 3rem) clamp(1.8rem, 3vw, 2.7rem);
  overflow: hidden;
  border: 1px solid rgba(244, 239, 230, .22);
  background:
    repeating-linear-gradient(0deg, transparent 0 37px, rgba(20, 17, 14, .065) 37px 38px),
    var(--paper);
  color: var(--void);
  box-shadow: 22px 26px 0 rgba(0, 0, 0, .18), 0 32px 68px rgba(0, 0, 0, .24);
  transform: rotate(.6deg);
}

.cohort-enrolment-card::before {
  position: absolute;
  inset: 0 auto 0 .7rem;
  width: 10px;
  background: radial-gradient(circle, rgba(20, 17, 14, .34) 0 2px, transparent 2.5px) center 8px / 10px 28px repeat-y;
  content: "";
}

.cohort-enrolment-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 66px;
  height: 66px;
  background: linear-gradient(225deg, var(--aqluma-ivory-deep) 0 49%, rgba(20, 17, 14, .18) 50% 51%, transparent 52%);
  content: "";
}

.cohort-enrolment-card__kicker {
  color: var(--clay);
}

.cohort-enrolment-card h3 {
  max-width: 320px;
  margin: .8rem 0 1.5rem;
  font: italic 500 clamp(2rem, 3vw, 2.75rem)/1 var(--serif);
  letter-spacing: -.03em;
}

.cohort-enrolment-card dl {
  margin: 0;
  border-top: 1px solid rgba(20, 17, 14, .2);
}

.cohort-enrolment-card dl > div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 1rem;
  padding: .72rem 0;
  border-bottom: 1px solid rgba(20, 17, 14, .16);
}

.cohort-enrolment-card dt {
  color: #756c63;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cohort-enrolment-card dd {
  margin: 0;
  color: var(--void);
  font-size: .83rem;
  font-weight: 600;
  line-height: 1.42;
}

.cohort-enrolment-card__price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
  padding: 1rem 0 1.1rem;
  border-top: 2px solid var(--clay);
  border-bottom: 1px solid rgba(20, 17, 14, .18);
}

.cohort-enrolment-card__price strong {
  color: var(--clay);
  font: 600 clamp(2.8rem, 4.6vw, 4rem)/.86 var(--sans);
  letter-spacing: -.06em;
}

.cohort-enrolment-card__price span {
  max-width: 145px;
  color: #6d645c;
  font-size: .66rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
  text-transform: uppercase;
}

.cohort-enrolment-card__whatsapp {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin-top: 1.35rem;
  padding: .9rem 1rem;
  border: 1px solid var(--clay);
  background: var(--clay);
  color: var(--paper);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.cohort-enrolment-card__whatsapp:hover,
.cohort-enrolment-card__whatsapp:focus-visible {
  background: transparent;
  color: var(--void);
  transform: translateY(-2px);
}

.cohort-enrolment-card__whatsapp:focus-visible,
.cohort-enrolment-card__details:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 4px;
}

.cohort-enrolment-card__reassurance {
  margin: .75rem 0 0;
  color: #6f675f;
  font-size: .72rem;
  line-height: 1.45;
  text-align: center;
}

.cohort-enrolment-card__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.4rem;
  margin-top: 1rem;
}

.cohort-enrolment-card__details {
  display: block;
  width: fit-content;
  margin: 0;
  color: var(--void);
  font-size: .75rem;
  font-weight: 700;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}

.cohort-enrolment-card__details:hover {
  color: var(--clay);
}

@media (max-width: 980px) {
  .home-cohort__layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .cohort-enrolment-card {
    order: -1;
    width: min(100%, 620px);
    transform: none;
  }

  .home-cohort__progression ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-cohort__trace ul {
    grid-template-columns: 1fr;
  }

  .home-cohort__progression li:nth-child(3) {
    border-right: 0;
  }

  .home-cohort__progression li:nth-child(-n + 3) {
    border-bottom: 1px solid rgba(244, 239, 230, .14);
  }

  .home-cohort__progression li:nth-child(3)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .home-cohort {
    padding: 4.5rem 0;
    background-size: auto, 48px 48px, 48px 48px, auto;
  }

  .home-cohort::before {
    right: 2rem;
    height: 3.5rem;
  }

  .home-cohort__header {
    margin-bottom: 2.5rem;
  }

  .home-cohort__header h2 {
    margin-top: 1rem;
    font-size: clamp(3rem, 14vw, 4.2rem);
    line-height: .92;
  }

  .home-cohort__header h2 em {
    font-size: .76em;
    line-height: 1.06;
  }

  .home-cohort__intro {
    margin-top: 1.35rem;
    font-size: 1rem;
  }

  .home-cohort__official-name {
    margin-left: 0;
  }

  .home-cohort__layout {
    gap: 3rem;
  }

  .cohort-enrolment-card {
    width: calc(100% - 8px);
    padding: 2rem 1.25rem 2rem 2rem;
  }

  .cohort-enrolment-card dl > div {
    grid-template-columns: 1fr;
    gap: .25rem;
  }

  .cohort-enrolment-card__price {
    align-items: flex-start;
    flex-direction: column;
  }

  .cohort-enrolment-card__price span {
    max-width: none;
    text-align: left;
  }

  .home-cohort__outcomes li {
    grid-template-columns: 34px 1fr;
    gap: .65rem;
  }

  .home-cohort__progression ol {
    grid-template-columns: 1fr;
  }

  .home-cohort__progression li {
    min-height: 54px;
    justify-content: flex-start;
    padding: .8rem 1rem;
    border-right: 0;
    border-bottom: 1px solid rgba(244, 239, 230, .14);
    text-align: left;
  }

  .home-cohort__progression li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -.58rem;
    left: 1rem;
    transform: rotate(90deg);
  }

  .home-cohort__progression li:nth-child(3)::after {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cohort-enrolment-card__whatsapp {
    transition: none;
  }

  .cohort-enrolment-card__whatsapp:hover,
  .cohort-enrolment-card__whatsapp:focus-visible {
    transform: none;
  }
}
