/* A photo-led HUST identity: real campus imagery carries the first impression. */
body[data-page="enterprise"] [data-page-view]:not([data-page-view="enterprise"]),
body[data-page="consult"] [data-page-view]:not([data-page-view="consult"]) {
  display: none !important;
}

.hero.container {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  background: var(--blue-deep);
}

.shortcut-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-grid {
  position: relative;
  display: block;
  min-height: clamp(560px, 57vw, 700px);
}

.hero-gallery {
  position: absolute;
  inset: 0;
  min-height: 100%;
  z-index: 1;
  background: var(--blue-deep);
}

.hero-slide img {
  object-position: center 43%;
}

.hero-gallery:after {
  inset: 0;
  background:
    linear-gradient(90deg, rgb(10 31 49 / 88%) 0%, rgb(10 31 49 / 70%) 38%, rgb(10 31 49 / 24%) 72%, rgb(10 31 49 / 9%) 100%),
    linear-gradient(0deg, rgb(10 31 49 / 60%) 0%, transparent 32%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(1200px, calc(100% - 48px));
  min-height: inherit;
  margin: 0 auto;
  padding: 82px 0 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  pointer-events: none;
}

.hero-copy > * {
  pointer-events: auto;
}

.hero .eyebrow {
  color: #e2c986;
  font-size: 12px;
  letter-spacing: .2em;
}

.hero .hero-copy h1 {
  max-width: 850px;
  margin: 22px 0 18px;
  color: #fff;
  font-size: clamp(52px, 6.6vw, 88px);
  line-height: 1.22;
  letter-spacing: .035em;
  text-shadow: 0 4px 30px rgb(0 0 0 / 20%);
}

.hero .hero-copy h1 em {
  color: #efe3c7;
}

.hero .hero-copy p {
  max-width: 570px;
  margin: 4px 0 0;
  color: rgb(255 255 255 / 88%);
  font-size: 17px;
  line-height: 1.9;
}

.hero .hero-actions {
  margin: 30px 0 14px;
}

.hero .light-button {
  min-height: 50px;
  padding-inline: 23px;
  border-color: #ead9ad;
  background: #ead9ad;
  color: #173b5b;
}

.hero .light-button:hover {
  background: #f4e9d0;
}

.hero .hero-note {
  color: rgb(255 255 255 / 73%);
  font-size: 12px;
}

.hero-gallery-controls {
  right: max(24px, calc((100vw - 1200px) / 2));
  bottom: 32px;
  z-index: 4;
}

.hero-gallery-buttons button {
  width: 44px;
  height: 44px;
  border-color: rgb(255 255 255 / 75%);
  background: rgb(16 46 72 / 45%);
  backdrop-filter: blur(8px);
}

.hero-dots {
  top: auto;
  right: max(24px, calc((100vw - 1200px) / 2));
  bottom: 91px;
  z-index: 4;
}

.opc-preview {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  min-height: 350px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  box-shadow: 0 18px 42px rgb(23 59 91 / 8%);
}

.opc-preview-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(26px, 4vw, 54px);
}

.opc-preview-meta {
  color: var(--red);
  font: 700 12px/1.5 Arial, var(--sans);
  letter-spacing: .09em;
}

.opc-preview h3 {
  margin: 15px 0 12px;
  color: var(--blue);
  font: 700 clamp(30px, 3.5vw, 45px)/1.28 var(--serif);
}

.opc-preview p {
  max-width: 470px;
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.9;
}

.opc-preview-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 27px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.opc-preview-status span {
  color: var(--muted);
  font-weight: 400;
}

.opc-instructor {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 23px;
}

.opc-instructor-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-deep);
  color: #fff;
  font: 700 18px/1 var(--serif);
}

.opc-instructor strong,
.opc-instructor small {
  display: block;
}

.opc-instructor strong {
  color: var(--blue-deep);
  font-size: 14px;
}

.opc-instructor small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.case-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.enterprise-practice {
  padding-top: 38px;
  padding-bottom: 52px;
}

.enterprise-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  min-height: 410px;
  margin-bottom: 52px;
  overflow: hidden;
  background: var(--blue-deep);
  color: #fff;
}

.enterprise-page-hero > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(30px, 5vw, 66px);
}

.enterprise-page-hero .section-kicker {
  color: #e4cf96;
}

.enterprise-page-hero h1 {
  margin: 14px 0 12px;
  color: #fff;
  font: 700 clamp(34px, 3.5vw, 46px)/1.3 var(--serif);
}

.enterprise-page-hero p {
  max-width: 570px;
  margin: 0 0 25px;
  color: rgb(255 255 255 / 82%);
  font-size: 15px;
  line-height: 1.9;
}

.enterprise-page-hero > img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
}

.enterprise-cases-heading {
  margin-bottom: 22px;
}

.case-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: #123450;
  color: #fff;
}

.case-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.case-card:hover img {
  transform: scale(1.04);
}

.case-card:after {
  position: absolute;
  inset: 20% 0 0;
  background: linear-gradient(0deg, rgb(7 26 42 / 91%), rgb(7 26 42 / 5%));
  content: "";
}

.case-card > div {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 19px;
  left: 22px;
}

.case-card span {
  color: #e7d5a5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
}

.case-card h3 {
  max-width: 620px;
  margin: 9px 0 7px;
  font: 700 clamp(17px, 2vw, 24px)/1.45 var(--serif);
}

.case-card small {
  color: rgb(255 255 255 / 75%);
  font-size: 10px;
}

.case-card--cohort {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .8fr);
  min-height: 320px;
  background: #102d43;
}

.case-card--cohort img {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: contain;
  background: #0b2234;
}

.case-card--cohort:hover img {
  transform: none;
}

.case-card--cohort:after {
  display: none;
}

.case-card--cohort > div {
  position: relative;
  inset: auto;
  align-self: center;
  padding: clamp(22px, 3vw, 38px);
}

.case-card--finance {
  min-height: 320px;
}

.case-card--finance img {
  object-position: center top;
}

.case-card--event {
  min-height: 300px;
}

.case-card--event img {
  object-position: center 30%;
}

.enterprise-course-list {
  margin-top: 32px;
}

.case-current-heading {
  grid-column: 1 / -1;
  padding-top: 16px;
}

.case-current-heading span,
.course-path-note span {
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.case-current-heading h3 {
  margin: 8px 0 0;
  color: var(--blue-deep);
  font: 700 24px/1.4 var(--serif);
}

.course-path-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 44px 0 28px;
  padding: 27px 30px;
  border-left: 4px solid var(--red);
  background: #f4f2ec;
}

.course-path-note h3 {
  margin: 5px 0;
  color: var(--blue-deep);
  font: 700 21px/1.4 var(--serif);
}

.course-path-note p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.site-nav .nav-consult {
  padding: 9px 14px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
}

.site-nav .nav-consult:hover {
  background: var(--red-dark);
  color: #fff;
}

.consult-section {
  padding-top: 48px;
  padding-bottom: 14px;
  min-height: 66vh;
}

.consult-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.consult-grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 240px;
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
}

.consult-grid article:nth-child(2) {
  border-top-color: var(--blue);
}

.consult-grid article > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
}

.consult-grid h3 {
  margin: 13px 0 7px;
  color: var(--blue-deep);
  font: 700 25px/1.4 var(--serif);
}

.consult-grid h2 {
  margin: 13px 0 7px;
  color: var(--blue-deep);
  font: 700 25px/1.4 var(--serif);
}

.consult-grid p {
  min-height: 48px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.consult-grid .contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 228px;
  min-height: 46px;
  margin-top: auto;
  padding: 10px 14px;
  white-space: nowrap;
  text-align: center;
}

.consult-source {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.faculty-grid.faculty-preview-mode {
  display: block;
}

.faculty-source-preview {
  display: grid;
  width: 100%;
  min-height: 490px;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
}

.faculty-source-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px);
}

.faculty-kicker {
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}

.faculty-source-copy h3 {
  margin: 14px 0 12px;
  color: var(--blue-deep);
  font: 700 clamp(28px, 3.2vw, 40px)/1.3 var(--serif);
}

.faculty-source-copy > p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.faculty-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 27px 0;
}

.faculty-fields span {
  padding: 14px 16px;
  background: #f3f2ed;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 600;
}

.faculty-directory-link {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.faculty-source-visual {
  position: relative;
  min-height: 490px;
  margin: 0;
  overflow: hidden;
  background: var(--blue-deep);
}

.faculty-source-visual img {
  width: 100%;
  height: 100%;
  min-height: 490px;
  object-fit: cover;
  object-position: center;
}

.faculty-source-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 7px 11px;
  background: rgb(10 31 49 / 78%);
  color: #fff;
  font-size: 11px;
}

.faculty-source-copy > small {
  color: var(--muted);
  font-size: 11px;
}

.opc-preview-visual {
  position: relative;
  min-height: 350px;
  margin: 0;
  overflow: hidden;
  background: #e8e4db;
}

.opc-preview-visual img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  object-position: center 42%;
}

.opc-preview-visual figcaption {
  position: absolute;
  right: 14px;
  bottom: 13px;
  padding: 6px 9px;
  background: rgb(16 46 72 / 76%);
  color: #fff;
  font-size: 10px;
  letter-spacing: .04em;
}

@media (max-width: 850px) {
  .hero-grid,
  .hero-copy {
    min-height: 590px;
  }

  .hero-copy {
    width: min(100% - 40px, 700px);
    padding-block: 70px 115px;
  }

  .hero .hero-copy h1 {
    font-size: clamp(48px, 8vw, 66px);
  }

  .opc-preview {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .hero.container {
    margin-top: 0;
  }

  .hero-grid,
  .hero-copy {
    min-height: 590px;
  }

  .hero-copy {
    width: calc(100% - 36px);
    padding: 58px 0 128px;
  }

  .hero .hero-copy h1 {
    margin-block: 17px 14px;
    font-size: clamp(43px, 12vw, 60px);
  }

  .hero .hero-copy p {
    max-width: 34em;
    font-size: 14px;
  }

  .hero-gallery:after {
    background:
      linear-gradient(90deg, rgb(10 31 49 / 80%), rgb(10 31 49 / 30%)),
      linear-gradient(0deg, rgb(10 31 49 / 74%), transparent 60%);
  }

  .hero-gallery-controls {
    right: 18px;
    bottom: 22px;
    left: 18px;
  }

  .hero-dots {
    right: 18px;
    bottom: 79px;
  }

  .hero-caption {
    max-width: 210px;
    font-size: 13px;
  }

  .opc-preview {
    grid-template-columns: 1fr;
  }

  .opc-preview-copy {
    order: 2;
    padding: 24px;
  }

  .opc-preview-visual {
    order: 1;
    min-height: 220px;
  }

  .opc-preview-visual img {
    min-height: 220px;
    max-height: 260px;
  }

  .opc-preview-status {
    flex-wrap: wrap;
  }

  .case-wall {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .enterprise-page-hero {
    grid-template-columns: 1fr;
    margin-bottom: 34px;
  }

  .enterprise-page-hero > img {
    min-height: 230px;
    max-height: 300px;
  }

  .case-card {
    min-height: 250px;
  }

  .case-card--finance {
    min-height: 320px;
  }

  .case-card--event {
    min-height: 260px;
  }

  .case-card--cohort {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .case-card--cohort img {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 1;
  }

  .case-card--cohort > div {
    padding: 20px 22px 24px;
  }

  .course-path-note {
    align-items: flex-start;
    flex-direction: column;
    padding: 23px;
  }

  .consult-grid,
  .faculty-fields,
  .faculty-source-preview {
    grid-template-columns: 1fr;
  }

  .consult-section {
    padding-top: 32px;
  }

  .consult-grid article {
    min-height: auto;
  }

  .consult-grid .contact-action {
    width: 100%;
  }

  .faculty-source-visual,
  .faculty-source-visual img {
    min-height: 240px;
    max-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-dots button {
    transition: none;
  }
}

/* Home: present the two enrollment paths as deliberate, balanced panels. */
.audience-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-block: 46px 30px;
}

.audience-card {
  display: grid;
  grid-template-rows: 200px 1fr;
  min-width: 0;
  min-height: 450px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  background: #fff;
  box-shadow: 0 12px 30px rgb(16 46 72 / 8%);
}

.audience-enterprise {
  border-top-color: var(--blue);
}

.audience-card > img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.audience-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px 28px 28px;
}

.audience-copy > span {
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.audience-enterprise .audience-copy > span {
  color: var(--blue);
}

.audience-copy h2 {
  margin: 8px 0 9px;
  color: var(--blue-deep);
  font: 700 clamp(25px, 2.7vw, 32px)/1.35 var(--serif);
}

.audience-copy p {
  max-width: 54ch;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.audience-copy > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: auto;
  padding-top: 20px;
}

.audience-secondary {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--gold);
  color: var(--blue-deep);
  font-size: 12px;
}

.mission-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
  padding: 23px 30px;
  border-left: 4px solid var(--gold);
  background: var(--blue-deep);
  color: #fff;
}

.mission-strip > span {
  color: #f1e4c4;
  font: 700 20px/1.5 var(--serif);
}

.mission-strip p {
  margin: 0;
  color: rgb(255 255 255 / 82%);
  font-size: 12px;
  line-height: 1.8;
  text-align: right;
}

/* Case studies use one consistent image card size and crop. */
.case-card,
.case-card--finance,
.case-card--event,
.case-card--cohort {
  display: block;
  grid-column: auto;
  min-height: 0;
  height: auto;
  aspect-ratio: 1.58 / 1;
  background: #102d43;
}

.case-card--cohort img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  background: #102d43;
}

.case-card--cohort:after {
  display: block;
  inset: 54% 0 0;
}

.case-card--cohort > div {
  position: absolute;
  right: 22px;
  bottom: 19px;
  left: 22px;
  align-self: auto;
  padding: 0;
}

.case-card--event img {
  object-position: center 30%;
}

@media (max-width: 850px) {
  .audience-paths {
    gap: 14px;
    padding-top: 34px;
  }

  .audience-card {
    grid-template-rows: 170px 1fr;
    min-height: 430px;
  }

  .audience-card > img {
    height: 170px;
  }

  .audience-copy {
    padding: 21px 20px 23px;
  }
}

@media (max-width: 620px) {
  .audience-paths {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 28px 22px;
  }

  .audience-card {
    grid-template-rows: 185px 1fr;
    min-height: 0;
  }

  .audience-card > img {
    height: 185px;
  }

  .audience-copy {
    padding: 22px;
  }

  .audience-copy > div {
    margin-top: 16px;
    padding-top: 0;
  }

  .mission-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
    padding: 19px 21px;
  }

  .mission-strip p {
    text-align: left;
  }

  .case-card,
  .case-card--finance,
  .case-card--event,
  .case-card--cohort {
    height: auto;
    aspect-ratio: 1.35 / 1;
    min-height: 0;
  }

  .case-card--cohort:after {
    inset: 45% 0 0;
  }
}

/* Keep the home hero, shortcuts, and content sections on one shared grid. */
body[data-page="home"] .hero.container {
  width: min(1200px, calc(100% - 48px));
  max-width: 1200px;
  margin: 26px auto 0;
}

body[data-page="home"] .hero-grid {
  min-height: clamp(480px, 43vw, 560px);
}

body[data-page="home"] .hero-copy {
  width: 100%;
  padding: 58px clamp(30px, 5vw, 68px) 78px;
}

body[data-page="home"] .hero-gallery-controls {
  right: 24px;
  bottom: 22px;
  left: 24px;
}

body[data-page="home"] .hero-dots {
  right: 24px;
  top: auto;
  bottom: 84px;
}

body[data-page="home"] .shortcut-row {
  margin-top: 0;
}

@media (max-width: 850px) {
  body[data-page="home"] .hero-grid {
    min-height: 500px;
  }

  body[data-page="home"] .hero-copy {
    min-height: 500px;
    padding: 54px 34px 88px;
  }
}

@media (max-width: 620px) {
  body[data-page="home"] .hero.container {
    width: 100%;
    margin-top: 0;
  }

  body[data-page="home"] .hero-grid,
  body[data-page="home"] .hero-copy {
    min-height: 540px;
  }

  body[data-page="home"] .hero-copy {
    width: calc(100% - 36px);
    margin-inline: auto;
    padding: 48px 0 125px;
  }

  body[data-page="home"] .hero-gallery-controls {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  body[data-page="home"] .hero-dots {
    right: 18px;
    bottom: 78px;
  }
}

/* The home page is a concise introduction, not a second content feed. */
body[data-page="home"] .shortcut-row,
body[data-page="home"] .audience-paths,
body[data-page="home"] .mission-strip,
body[data-page="home"] .home-featured {
  display: none !important;
}

body[data-page="home"] .home-value {
  padding-top: 42px;
  padding-bottom: 12px;
}

body[data-page="home"] .home-value .section-heading {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

body[data-page="home"] .home-value-card {
  min-height: 156px;
}

body[data-page="home"] .join-section {
  margin-block: 30px 42px;
}

@media (max-width: 620px) {
  body[data-page="home"] .home-value {
    padding-top: 28px;
    padding-bottom: 8px;
  }

  body[data-page="home"] .home-value-card {
    min-height: 140px;
  }

  body[data-page="home"] .join-section {
    margin-block: 22px 32px;
  }
}
