nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 3rem;
  min-height: 60px;
  background: transparent;
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.4s;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  white-space: nowrap;
}

.nav-cta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
  padding: 0.5rem 1.4rem;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
  white-space: nowrap;
}

.page-hero-img {
  position: absolute;
  inset: 0;
  background: url("../images/APU-campus-sketch.jpg") center/cover;
  opacity: 0.72;
  filter: saturate(0.95);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 42, 60, 0.4), rgba(10, 42, 60, 0.78));
}

.container {
  max-width: 1080px;
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
  margin: 0 auto;
}

.about-org {
  background: var(--cream);
  padding: 7rem 3rem;
}

.about-org .prose strong {
  font-weight: 600;
  color: var(--ink);
}

.about-org .hrd-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.25rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  border: 1px solid var(--border);
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
}

.partnership {
  background: var(--white);
  padding: 7rem 3rem;
}

.partnership-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.apu-stats {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.apu-stat {
  background: var(--cream);
  border: 0.5px solid var(--border-soft);
  border-left: 3px solid var(--gold);
  padding: 1.75rem 1.75rem;
}

.apu-stat .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.apu-stat .lbl {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

.principal-title {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 0.45rem;
  line-height: 1.7;
}

.principal-text .prose p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.08rem;
}

.milestone {
  background: var(--gold-pale);
  padding: 6rem 3rem;
}

.milestone-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3.5rem;
  align-items: center;
}

.milestone-num {
  text-align: center;
}

.milestone-num .big {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 0.9;
}

.milestone-num .cap {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.milestone-body .section-tag {
  color: var(--gold);
}

.milestone-body h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.milestone-body p {
  font-size: 1rem;
  color: var(--ink-mid);
  font-weight: 300;
  line-height: 1.8;
}

.milestone-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold);
  margin-top: 1.25rem;
}

.prog-intro {
  background: var(--white);
  padding: 7rem 3rem 3rem;
  text-align: center;
}

.series {
  padding: 4rem 3rem;
}

.series.alt {
  background: var(--cream);
}

.series.white {
  background: var(--white);
}

.series-head {
  max-width: 820px;
  margin: 0 auto 3rem;
}

.series-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.series-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.series {
  scroll-margin-top: 80px;
}

.series-name {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.series-head .prose p {
  font-size: 1rem;
}

.cert {
  max-width: 820px;
  margin: 0 auto 2rem;
  background: var(--white);
  border: 0.5px solid var(--border-soft);
  border-top: 3px solid var(--gold);
  padding: 2.75rem 2.75rem 2.5rem;
}

.series.white .cert {
  background: var(--cream);
}

.cert-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cert-pill {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  background: var(--gold-pale);
  color: #8A6D33;
  font-weight: 500;
}

.cert-pill.status {
  background: var(--ink);
  color: var(--gold-light);
}

.cert-pill.soon {
  background: transparent;
  border: 0.5px solid var(--border);
  color: var(--ink-soft);
}

.cert-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cert-intro {
  font-size: 0.98rem;
  color: var(--ink-mid);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.modules {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 1.75rem;
}

.module {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1.25rem;
  align-items: center;
  grid-template-areas: "photo photo" "badge content";
}

.module-badge {
  grid-area: badge;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.module-content {
  grid-area: content;
}

.module-photo {
  grid-area: photo;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--gold-pale);
  margin-bottom: 0.75rem;
  border: 0.5px solid var(--border-soft);
}

.module-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.module-content h4 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.module-content h4 span {
  color: var(--gold);
  font-weight: 500;
}

.module-content p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.65;
  font-weight: 300;
}

.cert-note {
  font-size: 0.92rem;
  color: var(--ink-mid);
  font-weight: 300;
  line-height: 1.75;
  padding: 1.25rem 1.5rem;
  background: rgba(193, 154, 69, 0.06);
  border-left: 2px solid var(--gold);
  margin-bottom: 1.75rem;
}

.cert-note.italic {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
}

.cert-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
  padding: 0.8rem 2rem;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s var(--ease);
}

.cert-cta:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.cert-cta.ghost {
  background: transparent;
  color: var(--gold);
}

.cert-cta.ghost:hover {
  background: var(--gold);
  color: var(--white);
}

.cert.soon-card {
  border-top-color: var(--border);
  opacity: 0.95;
}

.cert.soon-card {
  display: none;
}

.cert.diploma, .series.white .cert.diploma {
  border-top: 3px solid var(--gold);
  background: var(--ink);
}

.cert.diploma .cert-name {
  color: var(--white);
}

.cert.diploma .cert-sub {
  font-style: italic;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.cert.diploma .cert-intro {
  color: rgba(255, 255, 255, 0.85);
}

.cert.diploma .diploma-line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold-light);
  margin-bottom: 1.75rem;
}

.cert.diploma .cert-cta {
  background: var(--gold);
  border-color: var(--gold);
}

.cert.diploma .cert-pill.status {
  background: rgba(193, 154, 69, 0.18);
  color: var(--gold-light);
  border: 0.5px solid rgba(193, 154, 69, 0.4);
}

.cert-sub {
  font-style: italic;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin-bottom: 1rem;
}

.cert-accordion .cert-name {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  user-select: none;
  transition: color 0.2s;
}

.cert-accordion .cert-name:hover {
  color: var(--gold);
}

.cert-chevron {
  flex-shrink: 0;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 4px 14px rgba(193, 154, 69, 0.35);
  transition: background 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.cert-chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: translate(-50%, -70%) rotate(45deg);
  transition: transform 0.3s var(--ease);
}

.cert-accordion .cert-name:hover .cert-chevron {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(193, 154, 69, 0.45);
}

.cert.open .cert-chevron {
  background: var(--ink);
}

.cert.open .cert-chevron::after {
  transform: translate(-50%, -30%) rotate(-135deg);
}

.cert.diploma .cert-chevron {
  background: var(--gold-light);
}

.cert.diploma.open .cert-chevron {
  background: rgba(255, 255, 255, 0.15);
}

.cert.diploma .cert-chevron::after {
  border-color: var(--ink);
}

.cert.diploma.open .cert-chevron::after {
  border-color: var(--white);
}

.cert-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.cert.open .cert-body {
  max-height: 2600px;
}

.cert-body-inner {
  min-height: 0;
}

.nav-logo {
  position: relative;
  z-index: 101;
}

@media (max-width: 900px) {
  .partnership, .principal, .prog-intro {
    padding: 5rem 1.5rem;
  }
  .series {
    padding: 3rem 1.5rem;
  }
  .milestone {
    padding: 4rem 1.5rem;
  }
  .partnership-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .milestone-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .milestone-num .big {
    font-size: 4.5rem;
  }
  .cert {
    padding: 2rem 1.5rem;
  }
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
