.page-home {
  background: var(--c-bg);
}

.page-home h1,
.page-home h2,
.page-home h3,
.page-home p,
.page-home figure {
  margin: 0;
}

.page-home img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero */
.page-home .home-hero {
  display: grid;
  min-height: 720px;
  grid-template-columns: 1fr 1fr;
  background: var(--c-heading);
}

.page-home .home-hero__copy {
  position: relative;
  display: flex;
  width: min(560px, calc(100% - var(--site-rail-start) - var(--site-gutter)));
  margin: auto var(--site-gutter) auto var(--site-rail-start);
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-7);
  color: var(--c-white);
}

.page-home .home-hero__copy::after {
  position: absolute;
  top: -24px;
  right: -64px;
  width: 4px;
  height: 560px;
  background: var(--c-brand);
  content: "";
}

.page-home .home-hero h1 {
  color: var(--c-white);
  font-size: 72px;
  line-height: 79px;
  letter-spacing: -2.88px;
  text-align: left;
}

.page-home .home-hero__copy > p:not(.eyebrow) {
  color: var(--c-white);
  font-size: 20px;
  line-height: 32px;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.page-home .home-hero__media {
  min-height: 720px;
}

/* Course areas */
.page-home .home-areas,
.page-home .home-pathways,
.page-home .home-support,
.page-home .home-faq {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-9);
  padding: var(--space-12) var(--site-gutter);
}

.page-home .home-areas {
  min-height: 1547px;
}

.page-home .home-areas > *,
.page-home .home-pathways > *,
.page-home .home-support > *,
.page-home .home-faq > * {
  width: min(1280px, 100%);
  margin-inline: auto;
}

.page-home .home-areas > .section-heading,
.page-home .home-pathways > .section-heading,
.page-home .home-support > .section-heading,
.page-home .home-faq > .section-heading {
  margin-inline: max(0px, calc((100% - 1280px) / 2));
}

.page-home .home-areas__priority {
  display: grid;
  height: 520px;
  grid-template: repeat(2, 252px) / minmax(0, 720px) minmax(0, 544px);
  gap: var(--space-4);
}

.page-home .home-area-card {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-3);
  background: var(--c-heading);
  color: var(--c-white);
}

.page-home .home-area-card--1 {
  grid-row: 1 / 3;
  grid-template-rows: 350px 170px;
}

.page-home .home-area-card--primary .home-area-card__copy {
  background: var(--c-brand);
  color: var(--c-white);
}

.page-home .home-area-card--2,
.page-home .home-area-card--3 {
  grid-column: 2;
  grid-template-columns: 216px 1fr;
}

.page-home .home-area-card--2 {
  background: var(--c-bg-soft);
  color: var(--c-heading);
}

.page-home .home-area-card__media {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.page-home .home-area-card__media img {
  transition: transform 420ms var(--ease);
}

.page-home .home-area-card:hover .home-area-card__media img {
  transform: scale(1.025);
}

.page-home .home-area-card__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-6);
}

.page-home .home-area-card__copy strong {
  color: currentColor;
  font-size: 28px;
  line-height: 34px;
  letter-spacing: -.28px;
}

.page-home .home-area-card--1 .home-area-card__copy strong {
  font-size: 45px;
  line-height: 52px;
  letter-spacing: -.45px;
}

.page-home .home-area-card__copy > span:last-child {
  font-size: 16px;
  font-weight: var(--fw-semibold);
  line-height: 20px;
}

.page-home .home-areas__directory {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}

.page-home .home-areas__directory h3 {
  font-size: 45px;
  line-height: 52px;
  letter-spacing: -.45px;
}

.page-home .home-areas__directory > div > p {
  margin-top: var(--space-2);
  color: var(--c-body);
  font-size: 18px;
  line-height: 27px;
}

.page-home .home-areas__directory nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--space-10);
}

/* RTO clarity */
.page-home .home-partners {
  display: flex;
  min-height: 817px;
  align-items: center;
  padding: var(--space-12) var(--site-gutter);
  background: var(--c-heading);
  color: var(--c-white);
}

.page-home .home-partners__inner {
  display: flex;
  width: min(1280px, 100%);
  margin-inline: auto;
  flex-direction: column;
  gap: var(--space-7);
}

.page-home .home-partners .section-heading h2,
.page-home .home-partners .section-heading__content > p {
  color: var(--c-white);
}

.page-home .home-partners .section-heading__content > p {
  opacity: .72;
}

.page-home .home-partners__roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  padding-block: var(--space-7);
  border-top: 1px solid rgba(255,255,255,.24);
  border-bottom: 1px solid rgba(255,255,255,.24);
}

.page-home .home-partners__roles article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-4);
}

.page-home .home-partners__roles article > span {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--c-brand);
  color: var(--c-white);
  font-size: 14px;
  font-weight: var(--fw-semibold);
}

.page-home .home-partners__roles h3 {
  color: var(--c-white);
  font-size: 20px;
  line-height: 28px;
}

.page-home .home-partners__roles p,
.page-home .home-partners__action p {
  margin-top: var(--space-2);
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 24px;
}

.page-home .home-partners__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-7);
}

.page-home .home-partners__action p {
  max-width: 760px;
  margin: 0;
}

/* Pathways */
.page-home .home-pathways {
  min-height: 828px;
}

.page-home .home-pathways__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.page-home .home-pathway-card {
  position: relative;
  display: flex;
  min-height: 280px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-6);
  border-top: 1px solid var(--c-border-strong);
  color: var(--c-heading);
}

.page-home .home-pathway-card::before {
  position: absolute;
  top: -4px;
  left: 0;
  width: 96px;
  height: 4px;
  background: var(--c-brand);
  content: "";
}

.page-home .home-pathway-card > div {
  display: flex;
  max-width: 310px;
  flex-direction: column;
  gap: var(--space-3);
}

.page-home .home-pathway-card h3,
.page-home .home-support h3 {
  font-size: 28px;
  line-height: 34px;
  letter-spacing: -.28px;
}

.page-home .home-pathway-card p,
.page-home .home-support__steps p {
  color: var(--c-body);
  font-size: 16px;
  line-height: 24px;
}

.page-home .home-pathway-card__action {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  color: var(--c-brand);
  font-size: 16px;
  font-weight: var(--fw-semibold);
}

.page-home .home-pathway-card:hover {
  background: var(--c-bg-soft);
}

.page-home .home-pathways__note {
  padding-left: var(--space-4);
  border-left: 4px solid var(--c-brand);
  color: var(--c-body);
  font-size: 16px;
  line-height: 24px;
}

/* Facilities */
.page-home .home-facilities {
  position: relative;
  display: flex;
  min-height: 936px;
  flex-direction: column;
  gap: var(--space-9);
  padding: var(--space-12) var(--site-gutter);
  background: var(--c-heading);
  color: var(--c-white);
}

.page-home .home-facilities > * {
  width: min(1280px, 100%);
  margin-inline: auto;
}

.page-home .home-facilities__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-10);
}

.page-home .home-facilities__intro > .section-heading {
  width: min(820px, 100%);
}

.page-home .home-facilities h2 {
  color: var(--c-white);
  font-size: 48px;
  line-height: 57px;
  letter-spacing: -.72px;
}

.page-home .home-facilities__intro .section-heading__content > p {
  color: var(--c-white);
  font-size: 18px;
  line-height: 27px;
}

.page-home .home-facilities__media {
  display: grid;
  height: 480px;
  grid-template-columns: minmax(0, 816px) minmax(0, 440px);
  gap: var(--space-6);
}

.page-home .home-facilities figure {
  position: relative;
  display: flex;
  min-height: 0;
  align-items: flex-end;
  overflow: hidden;
  padding: var(--space-4);
  border-radius: var(--radius-3);
}

.page-home .home-facilities figure img {
  position: absolute;
  inset: 0;
}

.page-home .home-facilities__supporting {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-6);
  min-height: 0;
}

/* Support steps */
.page-home .home-support {
  min-height: 584px;
}

.page-home .home-support__steps {
  display: grid;
  margin: 0 auto;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  list-style: none;
}

.page-home .home-support__steps li {
  display: flex;
  min-height: 216px;
  flex-direction: column;
  gap: var(--space-4);
}

.page-home .home-support__steps li > span {
  display: flex;
  height: 48px;
  align-items: center;
  gap: var(--space-4);
  color: var(--c-brand);
  font-size: 42px;
  font-weight: var(--fw-semibold);
  line-height: 48px;
}

.page-home .home-support__steps li > span::after {
  width: 100%;
  height: 1px;
  background: var(--c-focus);
  content: "";
}

.page-home .home-support__steps li:last-child > span::after {
  display: none;
}

.page-home .home-support__steps li > div {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* People */
.page-home .home-people {
  display: grid;
  min-height: 704px;
  grid-template-columns: 1fr 1fr;
  background: var(--c-bg-soft);
}

.page-home .home-people__media {
  min-height: 704px;
}

.page-home .home-people__copy {
  display: flex;
  width: min(512px, calc(100% - 128px - var(--site-rail-start)));
  margin: auto var(--site-rail-start) auto 128px;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-7);
}

.page-home .home-people h2 {
  font-size: 48px;
  line-height: 57px;
  letter-spacing: -.72px;
}

.page-home .home-people .section-heading__content > p {
  color: var(--c-body);
  font-size: 18px;
  line-height: 27px;
}

/* FAQ */
.page-home .home-faq {
  min-height: 697px;
  display: grid;
  grid-template-columns: 416px minmax(0, 800px);
  align-items: start;
  justify-content: center;
  gap: var(--space-10);
}

.page-home .home-faq > .section-heading {
  width: 326px;
  margin: 0;
}

.page-home .home-faq__list {
  width: 100%;
  margin: 0;
  border-left: 4px solid transparent;
}

.page-home .home-faq__list details {
  border-bottom: 1px solid var(--c-border);
}

.page-home .home-faq__list details[open] {
  border-left: 4px solid var(--c-brand);
  margin-left: -4px;
}

.page-home .home-faq__list summary {
  display: grid;
  min-height: 80px;
  grid-template-columns: 1fr 24px;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-6);
  color: var(--c-heading);
  font-size: 20px;
  line-height: 32px;
  list-style: none;
  cursor: pointer;
}

.page-home .home-faq__list summary::-webkit-details-marker {
  display: none;
}

.page-home .home-faq__list summary span {
  position: relative;
  width: 20px;
  height: 20px;
}

.page-home .home-faq__list summary span::before,
.page-home .home-faq__list summary span::after {
  position: absolute;
  top: 9px;
  left: 3px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-brand);
  content: "";
}

.page-home .home-faq__list summary span::after {
  transform: rotate(90deg);
}

.page-home .home-faq__list details[open] summary span::after {
  transform: rotate(0);
}

.page-home .home-faq__list details > p {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--c-body);
  font-size: 18px;
  line-height: 27px;
}

@media (max-width: 1100px) {
  .page-home .home-hero__copy { width: calc(100% - 48px); margin-inline: var(--site-gutter); }
  .page-home .home-hero h1 { font-size: 58px; line-height: 64px; }
  .page-home .home-hero__copy::after { right: -34px; }
  .page-home .home-area-card--2, .page-home .home-area-card--3 { grid-template-columns: 42% 1fr; }
  .page-home .home-faq { grid-template-columns: 340px minmax(0, 1fr); gap: var(--space-7); }
  .page-home .home-people__copy {
    width: calc(100% - 80px - var(--site-gutter));
    margin-inline: 80px var(--site-gutter);
  }
}

@media (max-width: 900px) {
  .page-home .home-hero { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  .page-home .home-hero__copy,
  .page-home .home-hero__media { min-width: 0; }
  .page-home .home-hero__copy { width: auto; margin: 0; padding: var(--space-10) var(--space-4) var(--space-9); }
  .page-home .home-hero__copy::after { display: none; }
  .page-home .home-hero h1 { font-size: 44px; line-height: 49px; letter-spacing: -1.76px; }
  .page-home .home-hero__copy > p:not(.eyebrow) { font-size: 16px; line-height: 24px; }
  .page-home .home-hero__actions { display: grid; width: 100%; }
  .page-home .home-hero__media { min-height: 390px; }

  .page-home .home-areas,
  .page-home .home-pathways,
  .page-home .home-support,
  .page-home .home-faq { min-height: 0; gap: var(--space-7); padding: var(--space-9) var(--space-4); }
  .page-home .home-areas > .section-heading,
  .page-home .home-pathways > .section-heading,
  .page-home .home-support > .section-heading,
  .page-home .home-faq > .section-heading { margin: 0; }

  .page-home .home-areas__priority { height: auto; grid-template: auto / 1fr; }
  .page-home .home-area-card--1 { grid-row: auto; grid-template-rows: 320px auto; }
  .page-home .home-area-card--2,
  .page-home .home-area-card--3 { grid-column: auto; min-height: 252px; grid-template-columns: 42% 1fr; }
  .page-home .home-area-card--1 .home-area-card__copy strong { font-size: 34px; line-height: 40px; letter-spacing: -.51px; }
  .page-home .home-area-card__copy strong { font-size: 26px; line-height: 32px; }
  .page-home .home-areas__directory h3 { font-size: 34px; line-height: 40px; letter-spacing: -.51px; }
  .page-home .home-areas__directory > div > p { font-size: 16px; line-height: 24px; }
  .page-home .home-areas__directory nav { grid-template-columns: 1fr; }

  .page-home .home-partners { min-height: 0; padding: var(--space-9) var(--space-4); }
  .page-home .home-partners__roles { grid-template-columns: 1fr; }
  .page-home .home-partners__action { flex-direction: column; align-items: stretch; }

  .page-home .home-pathways__grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .page-home .home-pathway-card { min-height: 270px; }

  .page-home .home-facilities { min-height: 0; gap: var(--space-7); padding: var(--space-9) var(--space-4); }
  .page-home .home-facilities__intro { flex-direction: column; align-items: stretch; gap: var(--space-6); }
  .page-home .home-facilities h2 { font-size: 34px; line-height: 40px; letter-spacing: -.51px; }
  .page-home .home-facilities__intro .section-heading__content > p { font-size: 16px; line-height: 24px; }
  .page-home .home-facilities__media { height: auto; grid-template-columns: 1fr; }
  .page-home .home-facilities__main { min-height: 330px !important; }
  .page-home .home-facilities__supporting { grid-template-columns: 1fr 1fr; grid-template-rows: 220px; }

  .page-home .home-support__steps { grid-template-columns: 1fr; gap: var(--space-7); }
  .page-home .home-support__steps li { min-height: 0; }

  .page-home .home-people { min-height: 0; grid-template-columns: 1fr; }
  .page-home .home-people__media { min-height: 450px; order: 2; }
  .page-home .home-people__copy { width: auto; margin: 0; padding: var(--space-10) var(--site-gutter); order: 1; }
  .page-home .home-people h2 { font-size: 34px; line-height: 40px; letter-spacing: -.51px; }
  .page-home .home-people .section-heading__content > p { font-size: 16px; line-height: 24px; }

  .page-home .home-faq { display: flex; }
  .page-home .home-faq > .section-heading { width: 100%; }
  .page-home .home-faq__list summary { min-height: 72px; padding: var(--space-4) 0; font-size: 17px; line-height: 25px; }
  .page-home .home-faq__list details[open] summary { padding-inline: var(--space-4); }
  .page-home .home-faq__list details > p { padding: 0 var(--space-4) var(--space-5); font-size: 16px; line-height: 24px; }
}

@media (max-width: 520px) {
  .page-home .home-hero__media { min-height: 360px; }
  .page-home .home-area-card--1 { grid-template-rows: 250px auto; }
  .page-home .home-area-card--2,
  .page-home .home-area-card--3 { min-height: 260px; grid-template-columns: 44% 1fr; }
  .page-home .home-area-card__copy { padding: var(--space-4); }
  .page-home .home-area-card__copy strong { font-size: 22px; line-height: 28px; }
  .page-home .home-facilities__supporting { grid-template-columns: 1fr; grid-template-rows: repeat(2, 220px); }
  .page-home .home-people__media { min-height: 390px; }
}
