/* Requested refinements. Existing animations remain in style.css unchanged. */
:root {
  --nav-offset: 110px;
  --polish-ease: cubic-bezier(0.22, 0.68, 0.2, 1);
  scroll-padding-top: calc(var(--nav-offset) + 16px);
}
:root.nav-scrolled {
  --nav-offset: 84px;
}
.header,
.inner-page .header {
  color: var(--deep);
  background: #fff;
  border-bottom-color: #d8e0db;
  box-shadow: 0 3px 14px rgba(16, 55, 45, 0.04);
}
.nav-ready .header,
.nav-ready .inner-page .header {
  position: fixed;
  top: 0;
  transition:
    height 0.42s var(--polish-ease),
    padding 0.42s var(--polish-ease),
    background-color 0.42s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.42s ease;
}
/* Keep the space previously occupied by the inner-page header. */
.nav-ready .inner-page {
  padding-top: 110px;
}
.header.is-scrolled {
  height: 84px;
  padding-top: 12px;
  padding-bottom: 12px;
  color: var(--deep);
  background: #fff;
  border-bottom-color: #cbd7ce;
  box-shadow: 0 6px 22px rgba(16, 55, 45, 0.08);
}
/* Homepage saat scroll: hijau Al-Izhar. Subpage saat scroll tetap putih. */
body:not(.inner-page) .header.is-scrolled {
  color: #fff;
  background: var(--deep);
  border-bottom-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 22px rgba(16, 55, 45, 0.2);
}
.header .brand img {
  transition: filter 0.35s ease;
}
.header .brand img,
.header.is-scrolled .brand img,
.inner-page .header.is-scrolled .brand img {
  filter: brightness(0) saturate(100%) invert(19%) sepia(26%) saturate(994%)
    hue-rotate(108deg);
}
body:not(.inner-page) .header.is-scrolled .brand img {
  filter: none;
}
.header .portal,
.inner-page .header .portal {
  border-color: #b3c3b9;
}
.header .portal {
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}
.header .portal:hover,
.header .portal:focus-visible {
  background-color: #edf3ee;
  border-color: var(--deep);
}
.header.is-scrolled .portal {
  border-color: #b3c3b9;
}
.header.is-scrolled .portal:hover,
.header.is-scrolled .portal:focus-visible {
  background-color: #edf3ee;
  border-color: var(--deep);
}
body:not(.inner-page) .header.is-scrolled .portal {
  border-color: rgba(255, 255, 255, 0.44);
}
body:not(.inner-page) .header.is-scrolled .portal:hover,
body:not(.inner-page) .header.is-scrolled .portal:focus-visible {
  background-color: rgba(255, 255, 255, 0.07);
  border-color: #fff;
}
.header a:focus-visible,
.header button:focus-visible {
  outline-color: #315d41;
}
body:not(.inner-page) .header.is-scrolled a:focus-visible,
body:not(.inner-page) .header.is-scrolled button:focus-visible {
  outline-color: var(--lime);
}
/* The homepage hero retains its original transparent navigation. */
body:not(.inner-page) .header:not(.is-scrolled) {
  color: #fff;
  background-color: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}
body:not(.inner-page) .header:not(.is-scrolled) .brand img {
  filter: none;
}
body:not(.inner-page) .header:not(.is-scrolled) .portal {
  border-color: rgba(255, 255, 255, 0.44);
}
body:not(.inner-page) .header:not(.is-scrolled) .portal:hover,
body:not(.inner-page) .header:not(.is-scrolled) .portal:focus-visible {
  background-color: rgba(255, 255, 255, 0.07);
  border-color: #fff;
}
body:not(.inner-page) .header:not(.is-scrolled) a:focus-visible,
body:not(.inner-page) .header:not(.is-scrolled) button:focus-visible {
  outline-color: var(--lime);
}
.text-link span {
  transition: transform 0.3s var(--polish-ease);
}
.admission-links a {
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}
.admission-links span {
  display: inline-block;
  transition: transform 0.3s var(--polish-ease);
}
.admission-links a:hover span,
.admission-links a:focus-visible span {
  transform: translate(3px, -3px);
}

/* Homepage profile: original copy and photograph, with a balanced reading flow. */
.intro.profile-refined {
  display: block;
}
.intro.profile-refined > .eyebrow {
  margin-bottom: 32px;
}
.intro.profile-refined > .profile-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  column-gap: clamp(32px, 5vw, 80px);
  row-gap: 24px;
  align-items: start;
  max-width: none;
}
.profile-layout > h2 {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-size: clamp(34px, 3.3vw, 54px);
}
.intro .profile-layout > p {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  max-width: none;
  font-size: 17px;
  line-height: 1.85;
}
.profile-layout > .text-link {
  grid-column: 1;
  grid-row: 3;
  justify-self: start;
}
.profile-layout > .intro-art {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  margin: 0;
  max-width: none;
  border-radius: 3px;
}
.profile-layout > .intro-art img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Six alumni, with matching image, identity and biography positions. */
.alumni-track.alumni-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 32px 28px;
  overflow: visible;
  padding: 0;
  scroll-snap-type: none;
}
.alumni-grid > .alumni-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(22, 62, 50, 0.14);
  border-radius: 3px;
  background: rgba(246, 247, 240, 0.2);
}
.alumni-grid .testimoni__item {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.alumni-grid .testimoni__item-image {
  order: 0;
  overflow: hidden;
  margin-bottom: 22px;
}
.alumni-grid .testimoni__item-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 20%;
  margin: 0;
  transition: transform 0.75s var(--polish-ease);
}
.alumni-grid .testimoni__item-title {
  order: 1;
  margin: 0;
  font-size: clamp(21px, 1.8vw, 27px);
  line-height: 1.35;
}
.alumni-grid .testimoni__item-personal {
  order: 2;
  min-height: 2.8em;
  margin-top: 6px;
  font-size: 13px;
  color: #52665d;
  line-height: 1.4;
}
.alumni-grid .testimoni__item-content {
  order: 3;
  border-top: 1px solid rgba(22, 62, 50, 0.14);
  padding-top: 18px;
  margin-top: 14px;
  color: #405a4e;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: break-word;
}
@media (hover: hover) and (pointer: fine) {
  .alumni-grid .alumni-card:hover img {
    transform: scale(1.035);
  }
}

/* Footer uses the same content alignment and palette as the existing site. */
.footer {
  padding: 64px 8.2% 26px;
  overflow: hidden;
}
.footer-word {
  display: flex;
  align-items: flex-start;
  width: fit-content;
  max-width: 100%;
  font-size: clamp(80px, 19vw, 310px);
  line-height: 1.18;
  margin: 35px 0 38px;
}
.footer-word .footer-word-text,
.footer-word .footer-letter {
  display: inline-block;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin: 0;
  vertical-align: baseline;
}
.footer-word .footer-word-text {
  white-space: nowrap;
}
.footer-word .footer-registered {
  font-size: 0.13em;
  line-height: 2.7;
  margin-left: 0.2em;
}
.polish-ready .footer-word:not(.word-visible) .footer-letter {
  opacity: 0;
  transform: translateY(-0.2em);
}
.footer-word.word-visible .footer-letter {
  animation:
    footer-letter-in 1.05s var(--polish-ease) calc(var(--letter-index) * 65ms)
      both,
    footer-letter-breathe 8s ease-in-out
      calc(1.2s + var(--letter-index) * 150ms) infinite;
  animation-play-state: paused;
}
.footer-word.word-visible.word-in-view .footer-letter {
  animation-play-state: running;
}
.footer-word.word-visible.word-paused .footer-letter {
  animation-play-state: paused;
}
.footer-grid {
  grid-template-columns: 1.3fr 1fr 0.85fr;
  gap: clamp(28px, 4vw, 64px);
  padding-top: 30px;
}
.footer-grid > div {
  min-width: 0;
}
.footer-label {
  margin: 0 0 14px;
  color: var(--lime);
  font: 600 11px/1.5 var(--sans);
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.footer-grid a {
  width: fit-content;
  max-width: 100%;
  padding: 7px 0;
  min-height: 40px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.footer-grid a:first-of-type {
  padding-top: 0;
}
.footer a {
  transition: color 0.3s ease;
}
.footer-bottom {
  margin-top: 32px;
  gap: 18px 30px;
  flex-wrap: wrap;
}
.footer-bottom > span {
  margin-right: auto;
}
.footer-bottom > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-bottom button {
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}
.footer-bottom button:hover {
  border-color: var(--lime);
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--lime);
}

/* Only previously static elements opt into this additional reveal. */
.gentle-reveal {
  opacity: 1;
  transform: none;
}
.polish-ready .gentle-reveal {
  transition:
    opacity 0.85s var(--polish-ease),
    transform 0.85s var(--polish-ease);
  transition-delay: var(--polish-delay, 0ms);
}
.polish-ready .gentle-reveal:not(.gentle-visible) {
  opacity: 0;
  transform: translateY(-18px);
}
@keyframes footer-letter-in {
  from {
    opacity: 0;
    transform: translateY(-0.2em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes footer-letter-breathe {
  0%,
  35%,
  100% {
    translate: 0 0;
  }
  65% {
    translate: 0 -0.018em;
  }
}
@media (min-width: 1600px) {
  .footer {
    padding-left: max(8.2%, calc((100vw - 1360px) / 2));
    padding-right: max(8.2%, calc((100vw - 1360px) / 2));
  }
}
@media (max-width: 1000px) {
  .intro.profile-refined > .profile-layout {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
  }
  .profile-layout > h2,
  .intro .profile-layout > p,
  .profile-layout > .text-link,
  .profile-layout > .intro-art {
    grid-column: 1;
    grid-row: auto;
  }
  .profile-layout > h2 {
    font-size: clamp(34px, 4.6vw, 48px);
  }
  .profile-layout > .intro-art {
    margin-top: 12px;
    width: 100%;
  }
  .alumni-track.alumni-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
  .alumni-grid .testimoni__item-title {
    font-size: 24px;
  }
  .footer-grid {
    gap: 26px;
  }
}
@media (max-width: 760px) {
  .intro.profile-refined > .eyebrow {
    margin-bottom: 24px;
  }
  .intro.profile-refined > .profile-layout {
    row-gap: 22px;
  }
  .intro .profile-layout > p {
    font-size: 16px;
    line-height: 1.8;
  }
  :root {
    --nav-offset: 90px;
  }
  :root.nav-scrolled {
    --nav-offset: 76px;
  }
  .nav-ready .inner-page {
    padding-top: 90px;
  }
  .header.is-scrolled {
    height: 76px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .alumni-grid > .alumni-card {
    padding: 15px;
  }
  .alumni-grid .testimoni__item-title {
    font-size: 21px;
  }
  .footer {
    padding: 46px 6% 24px;
  }
  .footer-word {
    font-size: 20vw;
    margin: 26px 0 30px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 22px;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
  .footer-grid > div:last-child {
    display: block;
  }
  .footer-grid a {
    min-height: 44px;
  }
  .footer-bottom {
    align-items: center;
    gap: 12px 20px;
  }
  .footer-bottom > span {
    flex-basis: 100%;
  }
}
@media (max-width: 600px) {
  .alumni-track.alumni-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 28px;
  }
  .alumni-grid > .alumni-card {
    padding: 18px;
  }
  .alumni-grid .testimoni__item-title {
    font-size: 24px;
  }
  .alumni-grid .testimoni__item-personal {
    min-height: 0;
  }
  .alumni-grid .testimoni__item-image img {
    aspect-ratio: 4 / 3;
  }
  .alumni-grid .testimoni__item-content {
    font-size: 15px;
  }
}
@media (max-width: 360px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: auto;
  }
  .footer-bottom {
    gap: 10px;
  }
}
.motion-off .gentle-reveal,
.motion-off .footer-word .footer-letter {
  opacity: 1 !important;
  transform: none !important;
  translate: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .gentle-reveal,
  .polish-ready .gentle-reveal:not(.gentle-visible),
  .footer-word .footer-letter {
    opacity: 1 !important;
    transform: none !important;
    translate: none !important;
  }
}
@media print {
  .nav-ready .inner-page {
    padding-top: 0;
  }
  .gentle-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .alumni-track.alumni-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .alumni-grid > .alumni-card {
    break-inside: avoid;
  }
}

/* Compact navigation exits before the footer becomes the reading surface. */
:root {
  --nav-offset: 88px;
}
:root.nav-scrolled {
  --nav-offset: 64px;
}
.nav-ready .inner-page {
  padding-top: 88px;
}
.nav-ready .header,
.nav-ready .inner-page .header {
  height: 88px;
  padding-top: 16px;
  padding-bottom: 16px;
  translate: 0 var(--footer-limit, 0px);
  transform: translate3d(0, 0, 0);
  opacity: 1;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.28s ease,
    height 0.4s var(--polish-ease),
    padding 0.4s var(--polish-ease),
    background-color 0.35s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.35s ease;
}
.nav-ready .header.is-scrolled {
  height: 64px;
  padding-top: 9px;
  padding-bottom: 9px;
}
.nav-ready .header.footer-away {
  transform: translate3d(0, calc(-100% - 12px), 0);
  opacity: 0;
  pointer-events: none;
}
.header .brand {
  gap: 10px;
}
.header .brand img {
  width: 34px;
  height: 45px;
  transition:
    width 0.4s var(--polish-ease),
    height 0.4s var(--polish-ease),
    filter 0.3s ease;
}
.header .brand > span {
  font-size: 25px;
  transition: font-size 0.4s var(--polish-ease);
}
.header .brand small {
  font-size: 9px;
  margin-top: 7px;
  letter-spacing: 2.5px;
}
.header.is-scrolled .brand img {
  width: 27px;
  height: 36px;
}
.header.is-scrolled .brand > span {
  font-size: 21px;
}
.header .desktop-nav,
.header .header-actions {
  font-size: 13px;
}
.header #menu-open {
  min-height: 44px;
}
.header .portal {
  padding: 7px 18px;
}

/* Homepage cards remain concise; the complete biographies live on the alumni page. */
.alumni-profile {
  display: block;
  height: 100%;
  border-radius: 2px;
}
.alumni-profile .testimoni__item {
  height: 100%;
}
.alumni-grid .testimoni__item-personal {
  min-height: 2.8em;
  margin-bottom: 12px;
}
.alumni-action {
  order: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding-top: 12px;
  margin-top: auto;
  border-top: 1px solid rgba(22, 62, 50, 0.14);
  font-size: 13px;
}
.alumni-action svg {
  flex: 0 0 auto;
  transition: transform 0.3s var(--polish-ease);
}
.alumni-profile:hover .alumni-action svg,
.alumni-profile:focus-visible .alumni-action svg {
  transform: translate(3px, -3px);
}
.alumni-profile:focus-visible img {
  transform: scale(1.035);
}
.alumni-directory {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.alumni-detail {
  min-width: 0;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 18px;
}
.alumni-detail:first-child {
  padding-top: 8px;
}
.alumni-detail:last-child {
  border-bottom: 0;
}
.alumni-detail .testimoni__item {
  display: flex;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.alumni-detail .testimoni__item-image {
  flex: 0 0 44%;
  margin: 0;
  order: 0;
  border-radius: 3px;
  overflow: hidden;
}
.alumni-detail .testimoni__item-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.alumni-detail .testimoni__item-body {
  flex: 1;
  min-width: 0;
}
.alumni-detail .testimoni__item-title {
  font-size: clamp(25px, 2.4vw, 34px);
  margin: 0;
  line-height: 1.35;
}
.alumni-detail .testimoni__item-personal {
  margin-top: 8px;
  color: #52665d;
  font-size: 14px;
}
.alumni-detail .testimoni__item-content {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.85;
}
.alumni-detail:nth-child(odd) .testimoni__item {
  flex-direction: row-reverse;
}
.alumni-detail:nth-child(even) .testimoni__item {
  flex-direction: row;
}
.page-heading .heading-rule.gentle-reveal {
  transform-origin: left;
}
.polish-ready .page-heading .heading-rule.gentle-reveal:not(.gentle-visible) {
  transform: scaleX(0.6);
}
@media (max-width: 760px) {
  :root {
    --nav-offset: 74px;
  }
  :root.nav-scrolled {
    --nav-offset: 60px;
  }
  .nav-ready .inner-page {
    padding-top: 74px;
  }
  .nav-ready .header,
  .nav-ready .inner-page .header {
    height: 74px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .nav-ready .header.is-scrolled {
    height: 60px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .header .brand > span {
    font-size: 23px;
  }
  .header .brand img {
    width: 30px;
    height: 40px;
  }
  .header.is-scrolled .brand > span {
    font-size: 20px;
  }
  .header.is-scrolled .brand img {
    width: 25px;
    height: 33px;
  }
  .header .brand small {
    font-size: 8px;
    letter-spacing: 2px;
    margin-top: 5px;
  }
  .alumni-directory {
    gap: 0;
  }
  .alumni-detail {
    padding: 36px 0;
  }
  .alumni-detail .testimoni__item,
  .alumni-detail:nth-child(odd) .testimoni__item,
  .alumni-detail:nth-child(even) .testimoni__item {
    flex-direction: column;
    align-items: stretch;
  }
  .alumni-detail .testimoni__item-image {
    flex: 0 0 auto;
    width: 100%;
  }
}
@media print {
  .nav-ready .inner-page {
    padding-top: 0;
  }
  .alumni-detail {
    break-inside: avoid;
  }
}

/* Quiet, compact footer and an evenly aligned alumni gallery. */
.education-row {
  grid-template-columns: minmax(90px, 1fr) minmax(0, 1.5fr) 55px;
}
.alumni.section {
  padding-top: 76px;
  padding-bottom: 80px;
}
.alumni .section-head {
  margin-bottom: 34px;
  gap: 24px;
  align-items: end;
}
.alumni h2 {
  font-size: clamp(34px, 4.1vw, 58px);
  letter-spacing: -0.04em;
  line-height: 1.12;
}
.alumni .section-head .eyebrow {
  margin-bottom: 16px;
}
.alumni .section-head p:not(.eyebrow) {
  margin: 14px 0 0;
}
.alumni-track.alumni-grid {
  gap: 28px 24px;
}
.alumni-grid > .alumni-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.alumni-grid .testimoni__item-image {
  margin-bottom: 18px;
  border-radius: 3px;
}
.alumni-grid .testimoni__item-image img {
  aspect-ratio: 5 / 4;
}
.alumni-grid .testimoni__item-title {
  font-size: clamp(20px, 1.7vw, 25px);
  min-height: 1.35em;
}
.alumni-grid .testimoni__item-personal {
  margin-top: 6px;
  margin-bottom: 14px;
  min-height: 2.8em;
  line-height: 1.4;
}
.alumni-action {
  min-height: 44px;
  padding: 10px 0 0;
}
.alumni-profile {
  transition: color 0.3s ease;
}
.alumni-profile:hover,
.alumni-profile:focus-visible {
  color: #315d41;
}
.footer {
  padding-top: 34px;
  padding-bottom: 18px;
}
.footer-top {
  gap: 22px;
}
.footer-top .eyebrow {
  font-size: 11px;
  letter-spacing: 1.3px;
  line-height: 1.7;
}
.footer-top .round-link {
  font-size: 13px;
  gap: 18px;
}
.footer-top .round-link b {
  width: 40px;
  height: 40px;
  font-size: 21px;
}
.footer-word {
  font-size: clamp(58px, 8vw, 112px);
  margin: 18px 0 24px;
  line-height: 1.1;
}
.footer-grid {
  padding-top: 22px;
  gap: 28px;
  font-size: 13px;
}
.footer-label {
  margin-bottom: 10px;
  font-size: 10px;
  letter-spacing: 1.5px;
}
.footer-grid a {
  min-height: 32px;
  padding: 3px 0;
  line-height: 1.65;
}
.footer-bottom {
  margin-top: 18px;
  padding-top: 12px;
  gap: 12px 24px;
  font-size: 11px;
}
.footer-bottom > a {
  min-height: 36px;
}
@media (max-width: 1000px) {
  .alumni-track.alumni-grid {
    gap: 30px 24px;
  }
}
@media (max-width: 760px) {
  .education-row {
    grid-template-columns: 66px minmax(0, 1fr) 32px;
  }
  .alumni.section {
    padding-top: 54px;
    padding-bottom: 58px;
  }
  .alumni .section-head {
    gap: 22px;
    margin-bottom: 28px;
  }
  .alumni .section-head h2 {
    font-size: clamp(31px, 7vw, 42px);
  }
  .alumni-grid .testimoni__item-title {
    font-size: 22px;
  }
  .footer {
    padding-top: 28px;
    padding-bottom: 16px;
  }
  .footer-top {
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }
  .footer-top .eyebrow {
    max-width: 175px;
    font-size: 10px;
    letter-spacing: 1px;
  }
  .footer-top .round-link {
    flex-shrink: 0;
    font-size: 12px;
    gap: 10px;
  }
  .footer-top .round-link b {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
  .footer-word {
    font-size: clamp(52px, 10.5vw, 78px);
    margin: 16px 0 20px;
  }
  .footer-grid {
    padding-top: 20px;
    gap: 18px 20px;
  }
  .footer-grid a {
    min-height: 40px;
    padding: 6px 0;
  }
  .footer-bottom {
    font-size: 11px;
    margin-top: 14px;
    gap: 4px 16px;
  }
  .footer-bottom > span {
    flex-basis: auto;
  }
}
@media (max-width: 600px) {
  .alumni .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .alumni .section-head > .text-link {
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .alumni-track.alumni-grid {
    gap: 30px;
  }
  .alumni-grid .testimoni__item-image img {
    aspect-ratio: 5 / 4;
  }
  .alumni-grid .testimoni__item-personal {
    min-height: 0;
    margin-bottom: 16px;
  }
}
@media (max-width: 360px) {
  .footer-top {
    gap: 12px;
  }
  .footer-top .eyebrow {
    font-size: 9px;
  }
  .footer-top .round-link {
    gap: 8px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

.menu-dialog .site-search {
  display: none !important;
}
.menu-dialog {
  background: rgba(16, 55, 45, 0.78);
  color: var(--paper);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  overflow: hidden !important;
  overscroll-behavior: none;
}
.menu-dialog::backdrop {
  background: rgba(10, 35, 28, 0.43);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.menu-top {
  position: relative;
  top: auto;
  z-index: 2;
  margin: -35px -6% 4vh;
  padding: 18px 6%;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.menu-grid {
  overflow: hidden;
  overscroll-behavior: none;
}
@media (max-width: 760px) {
  .menu-top {
    margin: -25px -6% 20px;
    padding: 14px 6%;
  }
  .menu-grid {
    gap: 24px;
    margin-top: 20px;
  }
}

.menu-dialog[open] {
  animation: menu-enter 0.55s cubic-bezier(0.2, 0.7, 0.1, 1) both;
}
.menu-dialog.is-closing {
  animation: menu-exit 0.42s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.menu-dialog[open]::backdrop {
  animation: menu-backdrop-in 0.45s ease both;
}
.menu-dialog.is-closing::backdrop {
  animation: menu-backdrop-out 0.38s ease both;
}
.menu-dialog[open] .menu-top {
  animation: menu-fade 0.5s ease 0.08s both;
}
.menu-dialog[open] .menu-grid section {
  animation: menu-item-in 0.6s var(--polish-ease) both;
}
.menu-dialog[open] .menu-grid section:nth-child(1) {
  animation-delay: 0.14s;
}
.menu-dialog[open] .menu-grid section:nth-child(2) {
  animation-delay: 0.22s;
}
.menu-dialog[open] .menu-grid section:nth-child(3) {
  animation-delay: 0.3s;
}
.menu-dialog[open] > .text-link {
  animation: menu-fade 0.5s ease 0.38s both;
}
.menu-grid .eyebrow {
  letter-spacing: 1.4px;
  font-size: 11px;
  opacity: 0.85;
}
.menu-grid a {
  will-change: transform, color;
}
@keyframes menu-exit {
  from {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  to {
    clip-path: inset(0 0 100% 0);
    opacity: 1;
  }
}
@keyframes menu-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes menu-backdrop-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes menu-fade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes menu-item-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.motion-off .menu-dialog[open],
.motion-off .menu-dialog.is-closing,
.motion-off .menu-dialog::backdrop {
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .menu-dialog[open],
  .menu-dialog.is-closing,
  .menu-dialog::backdrop {
    animation: none !important;
  }
}

/* === Subpage simetri: foto dan teks tidak terpisah, semua subpage 1 rumus === */
.source-content .col-9 .post-content > * + * {
  margin-top: 0;
}
.source-content .col-9 .post-content > h2,
.source-content .col-9 .post-content > h3 {
  margin-top: 42px;
  margin-bottom: 18px;
}
.source-content .col-9 .post-content > p {
  margin-bottom: 20px;
  line-height: 1.8;
}
.source-content .col-9 .wp-block-image,
.source-content .col-9 figure.wp-block-image {
  margin: 26px auto 30px;
  max-width: 760px;
  width: 100%;
}
.source-content .col-9 .wp-block-image img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  display: block;
}
.source-content .col-9 figure figcaption {
  text-align: center;
  font-size: 13px;
  color: #52665d;
  margin-top: 10px;
}
.source-content .col-9 .wp-block-columns:has(figure) {
  align-items: center !important;
  gap: clamp(24px, 4vw, 44px) !important;
}
.source-content .col-9 .wp-block-columns:has(figure) figure {
  margin: 0;
  max-width: 520px;
}
.source-content .col-9 .wp-block-columns:has(figure) img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.source-content .post-content > .wp-block-group.card {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  margin: 28px 0;
}
.source-content .post-content > .wp-block-group.card .wp-block-group.card {
  border: 0;
  padding: 0;
  margin: 0;
}
.source-content .card-profile .wp-block-columns {
  align-items: center !important;
}
.source-content .card-profile figure {
  margin: 0 auto;
  max-width: 340px;
}
.source-content .card-profile blockquote {
  border-left-width: 3px;
  padding: 8px 0 8px 22px;
}

.grid__wrap {
  display: grid;
  gap: 28px 24px;
}
.grid__wrap.grid__column--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid__wrap.grid__column--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid__item {
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.grid__item-image {
  overflow: hidden;
  background: #eef2ea;
}
.grid__item-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--polish-ease);
  display: block;
}
.grid__item:hover img {
  transform: scale(1.03);
}
.grid__item-content {
  padding: 14px 18px 18px;
}
.grid__item-title {
  margin: 6px 0 0;
  font: 500 18px/1.4 var(--display);
}

.source-content .block-prestasi .wp-block-column {
  text-align: center;
}
.source-content .block-prestasi svg {
  margin: 0 auto 14px;
  display: block;
}

/* — Fallback bila JS mati: buat 2 slider jadi grid yang sejajar (auto-fit, jadi 3 dan 7 kolom sama rapi) — */
.source-content .webin-slide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 24px 0 0;
}
.source-content .webin-slide .webin-slide__item {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}
.source-content .webin-slide .webin-slide__item-image {
  background: #eef2ea;
  line-height: 0;
}
.source-content .webin-slide .webin-slide__item-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin: 0;
  display: block;
}
.source-content .webin-thumbnail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 0 0 36px;
}
.source-content .webin-thumbnail .webin-slide__item {
  padding: 18px 20px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 3px 3px;
  margin-top: -1px;
}
.source-content .webin-thumbnail .webin-slide__item-title {
  font: 600 17px/1.35 var(--display);
  margin: 0 0 10px;
  color: var(--ink);
}
.source-content .webin-thumbnail .webin-slide__item-text {
  font-size: 14px;
  line-height: 1.75;
  color: #405a4e;
}
.source-content .webin-thumbnail .webin-slide__item-text p {
  margin: 0;
}
.source-content .webin-thumbnail .slick-dots,
.source-content .webin-slide .slick-dots {
  display: none;
}
.source-content .webin-thumbnail .webin-slide__item-icon img {
  width: 46px;
  height: auto;
}
/* Slider asli disembunyikan setelah digabung JS jadi kartu — anti duplikat. */
.source-content .webin-slide.mengapa-hide,
.source-content .webin-thumbnail.mengapa-hide {
  display: none !important;
}

/* — Versi JS: kartu gabungan foto+teks jadi satu (auto-fit: 3 item jadi 3 kol, 7 karakter jadi 3-4 kol) — */
.mengapa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin: 24px 0 40px;
}
.mengapa-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mengapa-img {
  background: #eef2ea;
  overflow: hidden;
  line-height: 0;
}
.mengapa-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--polish-ease);
}
.mengapa-card:hover .mengapa-img img {
  transform: scale(1.03);
}
.mengapa-body {
  padding: 20px 20px 24px;
  display: block;
  overflow: visible;
}
.mengapa-icon {
  line-height: 0;
  margin-bottom: 14px;
}
.mengapa-icon img {
  width: 46px;
  height: auto;
  display: block;
}
.mengapa-title {
  display: block;
  font: 600 17px/1.5 var(--display);
  margin: 0 0 16px;
  padding: 0 0 4px;
  color: var(--ink) !important;
  overflow-wrap: anywhere;
  opacity: 1 !important;
  visibility: visible !important;
  line-height: 1.5;
  border-bottom: 1px solid transparent;
}
.mengapa-text {
  display: block;
  font-size: 14px;
  line-height: 1.8;
  color: #405a4e !important;
  margin: 0;
  padding: 4px 0 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.mengapa-title + .mengapa-text {
  margin-top: 0;
}
.mengapa-text p {
  margin: 0;
  overflow-wrap: anywhere;
  color: inherit !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.mengapa-grid,
.mengapa-card,
.mengapa-body {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

@media (max-width: 900px) {
  .grid__wrap.grid__column--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .source-content .col-9 .wp-block-columns:has(figure) {
    align-items: start !important;
  }
  .source-content .webin-slide,
  .source-content .webin-thumbnail,
  .mengapa-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 600px) {
  .grid__wrap.grid__column--2,
  .grid__wrap.grid__column--3 {
    grid-template-columns: 1fr;
  }
  .source-content .col-9 .wp-block-columns:has(figure) figure {
    max-width: 100%;
  }
  .source-content .webin-slide,
  .source-content .webin-thumbnail,
  .mengapa-grid {
    grid-template-columns: 1fr !important;
  }
  .source-content .webin-thumbnail .webin-slide__item {
    border-top: 1px solid var(--line);
    border-radius: 3px;
    margin-top: 0;
  }
  .source-content .webin-slide .webin-slide__item-image img,
  .mengapa-img img {
    height: 200px !important;
  }
}
