body.career-core-pathway-page {
  --ccp-ivory: #f7f2e7;
  --ccp-paper: #fffaf0;
  --ccp-navy: #061a40;
  --ccp-night: #020812;
  --ccp-gold-line: rgba(183, 138, 45, 0.38);
  background: var(--ccp-ivory);
}

body.career-core-pathway-page section[id] {
  scroll-margin-top: 18px;
}

.ccp-section {
  position: relative;
  padding: 86px 0;
}

.ccp-section-head {
  max-width: 800px;
  margin-bottom: 36px;
}

.ccp-section-head h2,
.ccp-builds h2,
.ccp-modules h2,
.ccp-capstone h2,
.ccp-completion h2,
.ccp-cta h2 {
  font-size: clamp(2.6rem, 4.4vw, 4.3rem);
  line-height: 1.02;
}

.ccp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero */
.ccp-hero {
  position: relative;
  min-height: min(760px, 100svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ccp-night);
}

.ccp-hero-media,
.ccp-hero-overlay {
  position: absolute;
  inset: 0;
}

.ccp-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ccp-hero-overlay {
  background:
    linear-gradient(90deg, rgba(2, 8, 18, 0.98) 0%, rgba(2, 8, 18, 0.91) 48%, rgba(2, 8, 18, 0.44) 78%, rgba(2, 8, 18, 0.6) 100%),
    linear-gradient(180deg, rgba(2, 8, 18, 0.08), rgba(2, 8, 18, 0.78));
}

.ccp-hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0 34%, rgba(229, 199, 119, 0.13) 34.05% 34.13%, transparent 34.2%),
    radial-gradient(circle at 78% 20%, rgba(229, 199, 119, 0.16), transparent 19rem);
}

.ccp-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.58fr);
  align-items: end;
  gap: 70px;
  padding-top: calc(var(--header-height) + 72px);
  padding-bottom: 74px;
}

.ccp-hero-copy {
  max-width: 800px;
}

.ccp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 750;
}

.ccp-breadcrumb a {
  color: var(--gold-light);
}

.ccp-hero .eyebrow {
  margin-bottom: 16px;
}

.ccp-hero h1 {
  max-width: 13ch;
  color: var(--white);
  font-size: clamp(3.2rem, 4.7vw, 4.8rem);
  line-height: 0.98;
}

.ccp-hero-copy > p {
  max-width: 61ch;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.ccp-hero .ccp-actions {
  margin-top: 29px;
}

.ccp-hero-facts {
  border: 1px solid rgba(229, 199, 119, 0.38);
  border-top: 3px solid var(--gold);
  background: rgba(2, 8, 18, 0.78);
  box-shadow: 0 28px 70px rgba(2, 8, 18, 0.38);
  backdrop-filter: blur(14px);
}

.ccp-hero-facts > span {
  display: block;
  padding: 18px 20px;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ccp-hero-facts dl div {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.ccp-hero-facts dl div:last-child {
  border-bottom: 0;
}

.ccp-hero-facts dt {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ccp-hero-facts dd {
  margin-top: 6px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.35;
}

/* Overview */
.ccp-overview {
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 8%, rgba(183, 138, 45, 0.1), transparent 19rem),
    linear-gradient(90deg, rgba(6, 26, 64, 0.022) 1px, transparent 1px),
    var(--ccp-paper);
  background-size: auto, 96px 96px, auto;
}

.ccp-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--gold);
  border-left: 1px solid var(--line);
}

.ccp-overview-grid article {
  min-height: 245px;
  padding: 27px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.62);
}

.ccp-overview-grid article > span {
  color: var(--red);
  font-size: 0.66rem;
  font-weight: 900;
}

.ccp-overview-grid h3 {
  max-width: 20ch;
  margin-top: 48px;
  font-size: 1.32rem;
}

.ccp-overview-grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

/* Project evidence */
.ccp-builds {
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(183, 138, 45, 0.17), transparent 20rem),
    linear-gradient(145deg, var(--ccp-night), var(--ccp-navy));
}

.ccp-builds::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background:
    linear-gradient(120deg, transparent 0 44%, rgba(229, 199, 119, 0.13) 44.05% 44.12%, transparent 44.2%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: auto, 78px 78px;
}

.ccp-builds-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 74px;
}

.ccp-builds-visual {
  min-width: 0;
}

.ccp-project-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(229, 199, 119, 0.58);
  border-top: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 28px 66px rgba(2, 8, 18, 0.38);
}

.ccp-project-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 9px rgba(2, 8, 18, 0.16);
}

.ccp-project-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.ccp-builds h2 {
  max-width: 12ch;
  color: var(--white);
}

.ccp-builds-copy > p {
  max-width: 65ch;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.ccp-builds-copy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 29px;
  border-top: 1px solid rgba(229, 199, 119, 0.7);
  list-style: none;
}

.ccp-builds-copy li {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 12px 12px 12px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  font-weight: 800;
}

.ccp-builds-copy li::before,
.ccp-capstone-body li::before,
.ccp-evidence-list li::before {
  content: "";
  position: absolute;
  left: 5px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.ccp-capstone-preview {
  position: relative;
  width: calc(100% - 34px);
  margin: -48px 0 0 34px;
  padding: 34px;
  border: 1px solid rgba(229, 199, 119, 0.42);
  border-top: 3px solid var(--gold);
  background: rgba(2, 8, 18, 0.9);
  box-shadow: 0 24px 58px rgba(2, 8, 18, 0.26);
  backdrop-filter: blur(12px);
}

.ccp-capstone-preview > span,
.ccp-capstone-preview > strong {
  display: block;
}

.ccp-capstone-preview > span {
  color: var(--gold-light);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ccp-capstone-preview > strong {
  margin-top: 21px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.08;
}

.ccp-capstone-preview p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  line-height: 1.65;
}

/* Five-phase structure */
.ccp-structure {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 26, 64, 0.022) 1px, transparent 1px),
    var(--ccp-ivory);
  background-size: 88px 88px;
}

.ccp-phases {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 2px solid var(--gold);
  border-left: 1px solid var(--line);
  list-style: none;
}

.ccp-phases li {
  min-height: 225px;
  padding: 24px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.75);
}

.ccp-phases li > span {
  color: var(--red);
  font-size: 0.66rem;
  font-weight: 900;
}

.ccp-phases strong {
  display: block;
  margin-top: 52px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.ccp-phases p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

/* Modules */
.ccp-modules {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(183, 138, 45, 0.09), transparent 18rem),
    var(--ccp-paper);
}

.ccp-modules-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.52fr) minmax(0, 1.48fr);
  align-items: start;
  gap: 64px;
}

.ccp-modules-intro {
  position: sticky;
  top: calc(var(--header-height) + 36px);
}

.ccp-modules-intro h2 {
  max-width: 10ch;
}

.ccp-modules-intro p {
  max-width: 50ch;
  margin-top: 17px;
  color: var(--muted);
}

.ccp-module-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ccp-module-list details {
  min-width: 0;
  border: 1px solid rgba(6, 26, 64, 0.14);
  border-top: 2px solid rgba(183, 138, 45, 0.7);
  background: rgba(247, 242, 231, 0.72);
  box-shadow: 0 12px 28px rgba(6, 26, 64, 0.06);
}

.ccp-module-list summary {
  position: relative;
  min-height: 78px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 15px 40px 15px 17px;
  cursor: pointer;
  list-style: none;
}

.ccp-module-list summary::-webkit-details-marker {
  display: none;
}

.ccp-module-list summary::after {
  content: "+";
  position: absolute;
  right: 17px;
  color: var(--red);
  font-size: 1.12rem;
}

.ccp-module-list details[open] summary::after {
  content: "\2212";
}

.ccp-module-list summary > span {
  color: var(--red);
  font-size: 0.64rem;
  font-weight: 900;
}

.ccp-module-list summary strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.25;
}

.ccp-module-list details > p {
  padding: 0 18px 18px 59px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

/* Capstone and completion */
.ccp-capstone {
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(2, 8, 18, 0.96), rgba(6, 26, 64, 0.82)),
    url("../assets/images/career-core-capstone-review.png") center 45% / cover no-repeat;
}

.ccp-capstone-layout,
.ccp-completion-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  align-items: center;
  gap: 72px;
}

.ccp-capstone h2 {
  max-width: 11ch;
  color: var(--white);
}

.ccp-capstone-body {
  padding: 30px;
  border-left: 3px solid var(--gold);
  background: rgba(2, 8, 18, 0.63);
  backdrop-filter: blur(10px);
}

.ccp-capstone-body > p {
  color: rgba(255, 255, 255, 0.76);
}

.ccp-capstone-body ul {
  margin-top: 20px;
  list-style: none;
}

.ccp-capstone-body li,
.ccp-evidence-list li {
  position: relative;
  padding: 11px 8px 11px 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 800;
}

.ccp-completion {
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 15%, rgba(183, 138, 45, 0.12), transparent 19rem),
    linear-gradient(90deg, rgba(6, 26, 64, 0.02) 1px, transparent 1px),
    var(--ccp-paper);
  background-size: auto, 88px 88px, auto;
}

.ccp-completion-copy h2 {
  max-width: 12ch;
}

.ccp-completion-copy p {
  max-width: 62ch;
  margin-top: 18px;
  color: var(--muted);
}

.ccp-completion-visual {
  min-width: 0;
}

.ccp-certificate-frame {
  position: relative;
  width: calc(100% - 34px);
  aspect-ratio: 5 / 4;
  margin: 0 0 -42px;
  overflow: hidden;
  border: 1px solid rgba(183, 138, 45, 0.42);
  border-top: 3px solid var(--gold);
  background: var(--ccp-night);
  box-shadow: 0 22px 48px rgba(6, 26, 64, 0.16);
}

.ccp-certificate-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.ccp-evidence-list {
  position: relative;
  width: calc(100% - 34px);
  margin-left: 34px;
  padding: 30px;
  color: var(--white);
  border-top: 3px solid var(--gold);
  background: linear-gradient(145deg, var(--navy), var(--ccp-night));
  box-shadow: var(--shadow);
}

.ccp-evidence-list > span {
  color: var(--gold-light);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ccp-evidence-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  margin-top: 15px;
  list-style: none;
}

.ccp-evidence-list li::before {
  top: 1.1em;
}

/* External alignment */
.ccp-alignment {
  padding: 46px 0;
  color: var(--white);
  background: var(--ccp-navy);
}

.ccp-alignment-inner {
  display: grid;
  grid-template-columns: minmax(270px, 0.7fr) minmax(300px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 34px;
}

.ccp-alignment h2 {
  color: var(--white);
  font-size: 1.8rem;
}

.ccp-alignment p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

/* Final CTA */
.ccp-cta {
  position: relative;
  overflow: hidden;
  padding: 84px 0;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(183, 138, 45, 0.18), transparent 24rem),
    linear-gradient(135deg, rgba(2, 8, 18, 0.96), rgba(6, 26, 64, 0.86)),
    url("../assets/images/career-core-cta-bg.png") center / cover no-repeat;
}

.ccp-cta::before {
  content: "CORE";
  position: absolute;
  right: -30px;
  bottom: -45px;
  color: rgba(255, 255, 255, 0.025);
  font-family: var(--serif);
  font-size: clamp(8rem, 24vw, 20rem);
  font-weight: 700;
  line-height: 0.72;
  pointer-events: none;
}

.ccp-cta-inner {
  position: relative;
  max-width: 920px;
}

.ccp-cta h2 {
  color: var(--white);
}

.ccp-cta p {
  max-width: 65ch;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.72);
}

.ccp-cta .ccp-actions {
  justify-content: center;
  margin-top: 28px;
}

@media (max-width: 1119px) {
  .ccp-section {
    padding: 72px 0;
  }

  .ccp-hero-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 42px;
  }

  .ccp-hero h1 {
    font-size: clamp(3rem, 5vw, 4rem);
  }

  .ccp-builds-layout,
  .ccp-capstone-layout,
  .ccp-completion-layout {
    gap: 44px;
  }

  .ccp-modules-layout {
    gap: 40px;
  }

  .ccp-phases {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .ccp-phases li {
    padding: 21px 16px;
  }
}

@media (max-width: 899px) {
  .ccp-hero {
    min-height: 760px;
  }

  .ccp-hero-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 26px;
  }

  .ccp-hero h1 {
    font-size: 3rem;
  }

  .ccp-overview-grid {
    grid-template-columns: 1fr;
  }

  .ccp-overview-grid article {
    min-height: auto;
  }

  .ccp-overview-grid h3 {
    margin-top: 20px;
  }

  .ccp-builds-layout,
  .ccp-capstone-layout,
  .ccp-completion-layout,
  .ccp-modules-layout {
    grid-template-columns: 1fr;
  }

  .ccp-modules-intro {
    position: static;
  }

  .ccp-modules-intro h2 {
    max-width: 13ch;
  }

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

  .ccp-alignment-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 767px) {
  .ccp-section {
    padding: 54px 0;
  }

  .ccp-section-head {
    margin-bottom: 27px;
  }

  .ccp-section-head h2,
  .ccp-builds h2,
  .ccp-modules h2,
  .ccp-capstone h2,
  .ccp-completion h2,
  .ccp-cta h2 {
    font-size: clamp(2.15rem, 10vw, 2.75rem);
  }

  .ccp-hero {
    min-height: min(860px, 100svh);
    align-items: end;
  }

  .ccp-hero-media img {
    object-position: center 42%;
  }

  .ccp-hero-overlay {
    background:
      linear-gradient(180deg, rgba(2, 8, 18, 0.12) 0%, rgba(2, 8, 18, 0.35) 31%, rgba(2, 8, 18, 0.91) 61%, rgba(2, 8, 18, 0.99) 100%);
  }

  .ccp-hero-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: calc(var(--header-height) + 76px);
    padding-bottom: 25px;
  }

  .ccp-breadcrumb {
    margin-bottom: 17px;
  }

  .ccp-hero .eyebrow {
    margin-bottom: 12px;
  }

  .ccp-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 10.5vw, 3rem);
    line-height: 0.99;
  }

  .ccp-hero-copy > p {
    max-width: 40ch;
    margin-top: 14px;
    font-size: 0.88rem;
  }

  .ccp-hero .ccp-actions {
    flex-direction: column;
    gap: 8px;
    margin-top: 19px;
  }

  .ccp-hero .btn {
    width: 100%;
  }

  .ccp-hero-facts {
    border-top-width: 2px;
    background: rgba(2, 8, 18, 0.76);
  }

  .ccp-hero-facts > span {
    display: none;
  }

  .ccp-hero-facts dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ccp-hero-facts dl div {
    padding: 11px 12px;
  }

  .ccp-hero-facts dl div:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }

  .ccp-hero-facts dl div:nth-child(2) {
    border-left: 1px solid rgba(255, 255, 255, 0.13);
  }

  .ccp-hero-facts dt {
    font-size: 0.54rem;
  }

  .ccp-hero-facts dd {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 750;
  }

  .ccp-overview-grid article {
    padding: 22px 20px;
  }

  .ccp-builds-layout {
    gap: 31px;
  }

  .ccp-builds-visual {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .ccp-builds-copy ul {
    grid-template-columns: 1fr;
  }

  .ccp-builds-copy li {
    min-height: 52px;
    border-right: 0;
  }

  .ccp-capstone-preview {
    width: calc(100% - 24px);
    margin: -30px 0 0 24px;
    padding: 26px 22px;
  }

  .ccp-capstone-preview > strong {
    font-size: 1.65rem;
  }

  .ccp-phases {
    grid-template-columns: 1fr;
  }

  .ccp-phases li {
    min-height: auto;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 4px 12px;
    padding: 18px;
  }

  .ccp-phases li > span {
    grid-row: span 2;
    padding-top: 3px;
  }

  .ccp-phases strong {
    margin-top: 0;
  }

  .ccp-phases p {
    margin-top: 4px;
  }

  .ccp-module-list {
    grid-template-columns: 1fr;
  }

  .ccp-module-list summary {
    min-height: 72px;
  }

  .ccp-capstone-body {
    padding: 24px 20px;
  }

  .ccp-evidence-list {
    width: calc(100% - 22px);
    margin-left: 22px;
    padding: 25px 20px;
  }

  .ccp-completion-visual {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .ccp-certificate-frame {
    width: calc(100% - 22px);
    margin-inline: auto;
    margin-bottom: -28px;
  }

  .ccp-evidence-list ul {
    grid-template-columns: 1fr;
  }

  .ccp-alignment {
    padding: 40px 0;
  }

  .ccp-cta {
    padding: 62px 0;
  }

  .ccp-cta .ccp-actions {
    flex-direction: column;
  }

  .ccp-cta .btn {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .ccp-hero {
    min-height: min(820px, 100svh);
  }

  .ccp-hero-layout {
    padding-top: calc(var(--header-height) + 62px);
    padding-bottom: 19px;
  }

  .ccp-hero h1 {
    font-size: 2.25rem;
  }

  .ccp-hero-copy > p {
    font-size: 0.82rem;
  }

  .ccp-breadcrumb {
    font-size: 0.66rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ccp-module-list details,
  .ccp-module-list summary {
    scroll-behavior: auto;
  }
}
