/* ==========================================================================
   Prodi Teknologi Informasi UMY — Design System
   Palet: hitam #111111, merah #BB1F1F, burgundy #7A1B22, putih #FFFFFF,
   Aksen tambahan hanya tint merah; emas hanya ada di dalam berkas logo resmi.
   ========================================================================== */

:root {
  /* Brand */
  --brand: #7A1B22;          /* burgundy — warna aksi utama */
  --brand-700: #651419;
  --brand-800: #4E0F14;
  --brand-900: #17100F;      /* hitam hangat untuk band gelap */
  --brand-100: #E9D6D5;
  --brand-50: #F8EFEE;

  --red: #BB1F1F;
  --red-700: #9A1818;
  --red-50: #FBEBEB;

  --orange: #A33B2E;        /* terakota, masih keluarga merah */
  --orange-50: #F7ECE8;

  --accent-on-dark: #E4635F; /* merah terang untuk teks di atas hitam */

  --navy: #141414;
  --navy-800: #0C0C0C;

  --ink: #111111;
  --ink-70: #4A4A4A;
  --ink-50: #6E6E6E;
  --ink-30: #9A9A9A;

  --paper: #FCFBFA;
  --paper-2: #F5F2F0;
  --line: #E7E2DF;
  --line-strong: #D2CCC7;
  --white: #FFFFFF;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-xs: 0 1px 2px rgba(20, 14, 12, .06);
  --shadow-sm: 0 4px 14px -6px rgba(20, 14, 12, .14);
  --shadow: 0 18px 40px -24px rgba(20, 14, 12, .26), 0 2px 8px rgba(20, 14, 12, .04);
  --shadow-lg: 0 40px 80px -40px rgba(20, 14, 12, .32), 0 8px 24px -12px rgba(20, 14, 12, .12);

  --container: 1200px;
  --container-wide: 1360px;
  --header-h: 78px;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.container-wide { width: min(100% - 48px, var(--container-wide)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 10px;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ------------------------------------------------------------- Buttons */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  box-shadow: 0 10px 22px -14px rgba(122, 27, 34, .9);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -16px rgba(122, 27, 34, .85); }
.btn:active { transform: translateY(0); }
.btn--red { --btn-bg: var(--red); box-shadow: 0 10px 22px -14px rgba(187, 31, 31, .9); }
.btn--red:hover { --btn-bg: var(--red-700); box-shadow: 0 16px 28px -16px rgba(187, 31, 31, .85); }
.btn--light { --btn-bg: #FFFFFF; --btn-fg: #111111; box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .45); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, .42); box-shadow: none; }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .7); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--brand); border-color: var(--line-strong); box-shadow: none; }
.btn--outline:hover { --btn-bg: var(--brand); --btn-fg: #fff; border-color: var(--brand); }
.btn--sm { padding: 10px 18px; font-size: 13.5px; }
.btn--lg { padding: 17px 32px; font-size: 15.5px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand);
  font-size: 14.5px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------- Topbar */
.topbar {
  background: var(--brand-900);
  color: rgba(255, 255, 255, .8);
  font-size: 12.5px;
  letter-spacing: .02em;
}
.topbar__in {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 38px; padding-block: 6px;
}
.topbar__meta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__meta span { display: inline-flex; align-items: center; gap: 7px; }
.topbar__meta svg { width: 13px; height: 13px; opacity: .75; }
.topbar__right { display: flex; align-items: center; gap: 14px; }
.topbar__right a { opacity: .8; transition: opacity .2s, color .2s; }
.topbar__right a:hover { opacity: 1; color: #fff; }
.topbar__right svg { width: 15px; height: 15px; }
.topbar__dot { width: 1px; height: 14px; background: rgba(255, 255, 255, .22); }

/* --------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s;
}
.site-header.is-stuck { box-shadow: 0 10px 30px -22px rgba(17, 33, 36, .5); border-bottom-color: var(--line); }
.header__in {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__logo {
  width: 38px; height: 38px; flex: none; display: block;
  object-fit: contain;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; font-size: 16px; letter-spacing: -.02em; color: var(--ink); }
.brand__sub { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-50); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > li { position: relative; }
.nav > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink-70);
  transition: color .2s, background .2s;
}
.nav > li > a:hover { color: var(--brand); background: var(--brand-50); }
.nav > li.is-active > a { color: var(--brand); background: var(--brand-50); }
.nav .caret { width: 10px; height: 10px; opacity: .6; }
.nav__sub {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 8px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav > li:hover .nav__sub, .nav > li:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a {
  display: block; padding: 9px 12px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--ink-70);
}
.nav__sub a:hover { background: var(--brand-50); color: var(--brand); }
.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; display: grid; place-items: center; cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }
.burger { display: none; }

/* Search overlay */
.search-pop {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: start center;
  padding-top: 18vh; background: rgba(18, 12, 11, .55); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.search-pop.is-open { opacity: 1; visibility: visible; }
.search-pop__box { width: min(100% - 40px, 640px); background: #fff; border-radius: 18px; padding: 22px; box-shadow: var(--shadow-lg); }
.search-pop form { display: flex; gap: 10px; }
.search-pop input {
  flex: 1; border: 1px solid var(--line-strong); border-radius: 12px; padding: 14px 16px; font: inherit; font-size: 15px;
}
.search-pop input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.search-pop__hint { font-size: 12.5px; color: var(--ink-50); margin-top: 12px; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); z-index: 210;
  background: #fff; box-shadow: -20px 0 60px rgba(18, 12, 11, .25);
  transform: translateX(102%); transition: transform .35s var(--ease);
  display: flex; flex-direction: column; padding: 22px; overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer nav a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink-70); }
.drawer nav a:hover { color: var(--brand); }
.drawer .btn { margin-top: 20px; width: 100%; }
.overlay {
  position: fixed; inset: 0; background: rgba(18, 12, 11, .45); z-index: 205;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.overlay.is-open { opacity: 1; visibility: visible; }

/* ----------------------------------------------------------------- Hero */
.hero {
  position: relative; isolation: isolate;
  min-height: min(88vh, 760px);
  display: flex; align-items: center;
  background: var(--brand-900);
  overflow: hidden;
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease);
  background-size: cover; background-position: center;
  transform: scale(1.06);
  transition: opacity 1.1s var(--ease), transform 8s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(14, 9, 8, .97) 0%, rgba(18, 12, 11, .92) 38%, rgba(18, 12, 11, .62) 68%, rgba(18, 12, 11, .78) 100%),
    radial-gradient(110% 80% at 88% 8%, rgba(187, 31, 31, .16), transparent 58%);
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px;
  align-items: center; padding-block: 84px 96px;
}
.hero__copies { display: grid; }
.hero__copy {
  grid-area: 1 / 1; max-width: 660px; color: #fff;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .7s var(--ease), visibility .7s;
}
.hero__copy.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  padding: 7px 14px 7px 8px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.hero__eyebrow b {
  background: #FFFFFF; color: #111111; border-radius: 999px; padding: 3px 10px;
  font-size: 11px; letter-spacing: .06em;
}
.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.4rem, 5.2vw, 4.15rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.02;
}
.hero h1 .accent { color: var(--accent-on-dark); }
.hero__lead { font-size: clamp(15px, 1.3vw, 17px); color: rgba(255, 255, 255, .82); max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 13px; color: rgba(255, 255, 255, .72);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 15px; height: 15px; color: rgba(255, 255, 255, .8); }

/* Kartu akreditasi melayang */
.hero__card {
  justify-self: end; width: 100%; max-width: 380px;
  background: rgba(14, 9, 8, .84);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  color: #fff;
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .7);
}
.hero__card h2 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); font-weight: 700; }
.hero__card .big {
  font-size: 54px; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 14px 0 6px;
  display: flex; align-items: baseline; gap: 10px;
}
.hero__card .big small { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.hero__card ul { margin-top: 18px; display: grid; gap: 12px; }
.hero__card li { display: flex; gap: 11px; font-size: 13.5px; color: rgba(255, 255, 255, .85); }
.hero__card li svg { width: 17px; height: 17px; flex: none; color: #fff; margin-top: 2px; }

/* Slider controls */
.hero__controls {
  position: absolute; left: 0; right: 0; bottom: 92px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.hero__dots { display: flex; align-items: center; gap: 9px; }
.hero__dot {
  position: relative; overflow: hidden;
  width: 34px; height: 3px; border-radius: 99px; border: 0; padding: 0;
  background: rgba(255, 255, 255, .28); cursor: pointer; transition: width .3s var(--ease);
}
.hero__dot.is-active { width: 64px; }
.hero__dot::after {
  content: ""; position: absolute; inset: 0; background: #fff;
  transform: scaleX(0); transform-origin: left center;
}
.hero__dot.is-active::after { animation: dotFill 7s linear forwards; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__arrows { display: flex; align-items: center; gap: 10px; }
.hero__arrows button {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); color: #fff;
  display: grid; place-items: center; transition: background .25s, border-color .25s, transform .25s;
}
.hero__arrows button:hover { background: #fff; color: #111; border-color: #fff; transform: translateY(-2px); }
.hero__arrows svg { width: 18px; height: 18px; }
.hero__count { font-size: 12.5px; letter-spacing: .18em; color: rgba(255, 255, 255, .72); font-weight: 700; }

/* ------------------------------------------------------------- Quickbar */
.quickbar { position: relative; z-index: 5; margin-top: -52px; }
.quickbar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 14px; box-shadow: var(--shadow);
}
.quick {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  border-radius: var(--radius); transition: background .25s, transform .25s var(--ease);
}
.quick:hover { background: var(--brand-50); transform: translateY(-2px); }
.quick__ico {
  width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand);
}
.quick:nth-child(2) .quick__ico { background: var(--red-50); color: var(--red); }
.quick:nth-child(3) .quick__ico { background: var(--orange-50); color: var(--orange); }
.quick:nth-child(4) .quick__ico { background: var(--red-50); color: var(--red); }
.quick__ico svg { width: 22px; height: 22px; }
.quick b { display: block; font-size: 14px; letter-spacing: -.01em; }
.quick span { font-size: 12px; color: var(--ink-50); }

/* -------------------------------------------------------------- Section */
.section { padding-block: clamp(64px, 8vw, 110px); }
.section--tight { padding-block: clamp(48px, 5vw, 72px); }
.section--paper { background: var(--paper-2); }
.section--white { background: #fff; }
.section--ink { background: var(--navy); color: #fff; }
.section--brand { background: var(--brand-900); color: #fff; }

.section-head { max-width: 760px; margin-bottom: clamp(34px, 4vw, 54px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }
.section--ink .eyebrow, .section--brand .eyebrow { color: rgba(255, 255, 255, .82); }
.section-head h2 {
  font-size: clamp(1.75rem, 3.3vw, 2.65rem); letter-spacing: -.03em; line-height: 1.08;
}
.section-head p { margin-top: 16px; color: var(--ink-70); font-size: 16px; max-width: 62ch; }
.section--ink .section-head p, .section--brand .section-head p { color: rgba(255, 255, 255, .72); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: none; }
.section-head--row > div { max-width: 680px; }

/* --------------------------------------------------------- Keunggulan */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 28px 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.adv::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--red));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.adv:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.adv:hover::before { transform: scaleX(1); }
.adv__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.adv__ico {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand);
}
.adv__ico svg { width: 26px; height: 26px; }
.adv:nth-child(2) .adv__ico { background: #F6E9E7; color: var(--brand-800); }
.adv:nth-child(3) .adv__ico { background: var(--orange-50); color: var(--orange); }
.adv:nth-child(4) .adv__ico { background: var(--red-50); color: var(--red); }
.adv:nth-child(5) .adv__ico { background: #F2E5E2; color: var(--brand-800); }
.adv:nth-child(6) .adv__ico { background: var(--brand-50); color: var(--brand-700); }
.adv__num { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: #CFC2BC; }
.adv h3 { font-size: 18.5px; letter-spacing: -.02em; margin-bottom: 10px; }
.adv p { font-size: 14.5px; color: var(--ink-70); line-height: 1.65; }

/* ------------------------------------------------------------- Ranking */
.rank-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.rank-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(122, 27, 34, .55), transparent 62%),
    radial-gradient(50% 100% at 0% 100%, rgba(187, 31, 31, .14), transparent 60%);
}
.rank-band__grid {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.rank-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.rank-num {
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius);
  padding: 20px 18px; background: rgba(255, 255, 255, .04);
}
.rank-num b { display: block; font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--accent-on-dark); }
.rank-num span { display: block; margin-top: 10px; font-size: 12.5px; color: rgba(255, 255, 255, .72); line-height: 1.45; }
.rank-note { margin-top: 22px; font-size: 12.5px; color: rgba(255, 255, 255, .5); max-width: 60ch; }
.rank-media { position: relative; }
.rank-media img {
  width: 100%; border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9);
}

/* -------------------------------------------------------------- Bidang */
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.field {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--navy); color: #fff; min-height: 380px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 34px; isolation: isolate;
}
.field img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.field::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18, 12, 11, .1) 0%, rgba(18, 12, 11, .78) 58%, rgba(18, 12, 11, .95) 100%);
}
.field:hover img { transform: scale(1.06); }
.field__tag {
  position: absolute; top: 24px; left: 24px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(14, 9, 8, .7); border: 1px solid rgba(255, 255, 255, .3);
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}
.field h3 { font-size: 26px; letter-spacing: -.025em; margin-bottom: 10px; }
.field p { font-size: 14.5px; color: rgba(255, 255, 255, .78); max-width: 46ch; }
.field__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.field__tags span {
  font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .88);
}

/* ----------------------------------------------------------- Visi misi */
.visi-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.visi-sticky { position: static; }
.visi-card {
  border-radius: var(--radius-lg); padding: 30px; color: #fff;
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-900) 100%);
  position: relative; overflow: hidden;
}
.visi-card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px;
  border: 24px solid rgba(255, 255, 255, .12); border-radius: 50%;
}
.visi-card h3 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .72); margin-bottom: 12px; }
.visi-card p { font-size: 17px; line-height: 1.55; font-weight: 500; position: relative; }
.misi-list { display: grid; gap: 14px; margin-top: 22px; }
.misi {
  display: flex; gap: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
  transition: border-color .25s, transform .25s var(--ease);
}
.misi:hover { border-color: var(--brand-100); transform: translateX(4px); }
.misi b {
  flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand); font-size: 13px; font-weight: 800;
}
.misi p { font-size: 14.5px; color: var(--ink-70); }

/* -------------------------------------------------------------- Dosen */
.lecturer-tools {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between;
  margin-bottom: 26px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips__count { font-size: 12.5px; font-weight: 600; color: var(--ink-50); margin-left: 6px; }
.lect-grid:not(.show-all) .lect[data-more] { display: none; }
.chip {
  border: 1px solid var(--line-strong); background: #fff; border-radius: 999px;
  padding: 8px 15px; font-size: 13px; font-weight: 600; color: var(--ink-70); cursor: pointer;
  transition: all .22s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.search-mini { position: relative; }
.search-mini svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-30); }
.search-mini input {
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 10px 16px 10px 40px;
  font: inherit; font-size: 13.5px; width: 260px; background: #fff;
}
.search-mini input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }

.lect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lect {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.lect:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.lect__media { position: relative; aspect-ratio: 4 / 3.7; overflow: hidden; background: var(--brand-50); }
.lect__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .8s var(--ease); }
.lect:hover .lect__media img { transform: scale(1.05); }
.lect__role {
  position: absolute; left: 14px; top: 14px;
  background: rgba(18, 12, 11, .82); color: #fff; backdrop-filter: blur(8px);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px; max-width: calc(100% - 28px);
}
.lect__role.is-lead { background: var(--brand); color: #fff; }
.lect__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lect h3 { font-size: 15.5px; letter-spacing: -.015em; line-height: 1.3; }
.lect__jab { font-size: 12.5px; color: var(--ink-50); }
.lect__bidang { display: flex; flex-wrap: wrap; gap: 6px; }
.lect__bidang span {
  font-size: 11px; font-weight: 600; color: var(--brand); background: var(--brand-50);
  border-radius: 6px; padding: 4px 8px;
}
.lect__edu { font-size: 12.5px; color: var(--ink-70); border-top: 1px dashed var(--line); padding-top: 12px; margin-top: auto; }
.lect__edu ul { display: grid; gap: 3px; }
.lect__edu li { display: flex; gap: 7px; }
.lect__edu b { color: var(--brand); font-weight: 700; flex: none; }
.lect__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 11.5px; color: var(--ink-50); }
.lect__links { display: flex; gap: 8px; }
.lect__links a {
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-50); transition: all .2s;
}
.lect__links a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.lect__links svg { width: 13px; height: 13px; }
.lect__mail { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--brand); font-weight: 600; word-break: break-all; }
.lect__mail svg { width: 12px; height: 12px; flex: none; }
.lect--compact .lect__media { aspect-ratio: 1 / 1; }

/* --------------------------------------------------------------- Berita */
.news-feature {
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.news-feature__media { position: relative; min-height: 420px; overflow: hidden; }
.news-feature__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 1s var(--ease); }
.news-feature:hover .news-feature__media img { transform: scale(1.04); }
.news-feature__badge {
  position: absolute; left: 22px; top: 22px; z-index: 2;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 7px 13px; border-radius: 999px;
}
.news-feature__body { padding: clamp(28px, 3.4vw, 46px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.news-meta { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--ink-50); }
.news-meta .cat { color: var(--brand); font-weight: 700; }
.news-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }
.news-feature h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); letter-spacing: -.025em; line-height: 1.2; }
.news-feature p { font-size: 14.5px; color: var(--ink-70); }

.news-side { display: grid; gap: 14px; margin-top: 22px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; }
.news-tile {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.news-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--brand-100); }
.news-tile__media { aspect-ratio: 16 / 10; overflow: hidden; }
.news-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-tile:hover .news-tile__media img { transform: scale(1.05); }
.news-tile__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.news-tile h4 { font-size: 15px; line-height: 1.35; letter-spacing: -.01em; }
.news-tile .news-meta { font-size: 11.5px; }
.news-card {
  display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--brand-100); }
.news-card__media { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card h4 { font-size: 14.5px; letter-spacing: -.01em; line-height: 1.35; margin-bottom: 6px; }
.news-card .news-meta { font-size: 11.5px; }
.news-list { display: grid; gap: 0; margin-top: 26px; border-top: 1px solid var(--line); }
.news-row {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 22px; align-items: center;
  padding: 18px 6px; border-bottom: 1px solid var(--line);
  transition: background .2s, padding-left .25s;
}
.news-row:hover { background: #fff; padding-left: 14px; }
.news-row time { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-50); }
.news-row h4 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.news-row svg { width: 18px; height: 18px; color: var(--ink-30); transition: color .2s, transform .25s; }
.news-row:hover svg { color: var(--brand); transform: translateX(3px); }

/* ------------------------------------------------------------ Testimoni */
.testi-wrap { position: relative; }
.testi-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(340px, 1fr);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi {
  scroll-snap-align: start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px;
}
.testi__stars { display: flex; gap: 3px; color: var(--brand); }
.testi__stars svg { width: 15px; height: 15px; fill: currentColor; stroke-width: 1; }
.testi p { font-size: 14.5px; color: var(--ink-70); line-height: 1.7; }
.testi__who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.testi__av {
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand); font-weight: 800; font-size: 14px;
}
.testi__who b { display: block; font-size: 13.5px; }
.testi__who span { font-size: 12px; color: var(--ink-50); }
.testi-nav { display: flex; gap: 8px; }
.testi-nav button {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff;
  display: grid; place-items: center; cursor: pointer; transition: all .2s;
}
.testi-nav button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.testi-nav svg { width: 17px; height: 17px; }

/* ------------------------------------------------------------- CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--brand-900); color: #fff; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 120% at 90% 10%, rgba(187, 31, 31, .2), transparent 55%),
    radial-gradient(50% 100% at 0% 90%, rgba(163, 59, 46, .22), transparent 60%);
}
.cta-band__in {
  position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center;
  padding-block: clamp(52px, 6vw, 82px);
}
.cta-band h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.03em; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, .75); max-width: 52ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* --------------------------------------------------------------- Footer */
.site-footer { background: var(--navy-800); color: rgba(255, 255, 255, .7); font-size: 14px; }
.footer__top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
  padding-block: 64px 48px;
}
.footer__logo {
  display: inline-block; background: #fff; border-radius: 18px; padding: 12px;
  line-height: 0; box-shadow: 0 18px 36px -24px rgba(0, 0, 0, .8);
}
.footer__logo img { width: 118px; height: 118px; display: block; }
.footer__brand p { margin-top: 18px; font-size: 13.5px; color: rgba(255, 255, 255, .6); max-width: 34ch; }
.footer h4 {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff;
  margin-bottom: 16px; font-weight: 700;
}
.footer__links { display: grid; gap: 10px; }
.footer__links a { font-size: 13.5px; color: rgba(255, 255, 255, .65); transition: color .2s, transform .2s; display: inline-block; }
.footer__links a:hover { color: #fff; transform: translateX(3px); }
.footer__contact { display: grid; gap: 12px; }
.footer__contact li { display: flex; gap: 10px; font-size: 13px; line-height: 1.5; }
.footer__contact svg { width: 16px; height: 16px; flex: none; color: rgba(255, 255, 255, .6); margin-top: 2px; }
.footer__social { display: flex; gap: 8px; margin-top: 18px; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14);
  display: grid; place-items: center; color: rgba(255, 255, 255, .7); transition: all .2s;
}
.footer__social a:hover { background: #fff; border-color: #fff; color: #111; transform: translateY(-2px); }
.footer__social svg { width: 16px; height: 16px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255, 255, 255, .58);
}
section[id], div[id] { scroll-margin-top: 100px; }

/* ------------------------------------------------------------ Page hero */
.page-hero {
  position: relative; overflow: hidden; background: var(--brand-900); color: #fff;
  padding-block: clamp(56px, 7vw, 96px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 100% at 85% 0%, rgba(187, 31, 31, .18), transparent 60%),
    radial-gradient(50% 90% at 0% 100%, rgba(122, 27, 34, .5), transparent 60%);
}
.page-hero__in { position: relative; max-width: 780px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(255, 255, 255, .55); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 12px; height: 12px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.035em; line-height: 1.06; }
.page-hero p { margin-top: 16px; color: rgba(255, 255, 255, .75); max-width: 62ch; font-size: 16px; }
.page-hero__pattern {
  position: absolute; right: -80px; top: -60px; width: 460px; height: 460px; opacity: .16;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 40px rgba(255, 255, 255, .04);
}

/* ------------------------------------------------------------- Content */
.prose { max-width: 760px; }
.prose p { margin-bottom: 18px; color: var(--ink-70); font-size: 16px; line-height: 1.8; }
.prose h2 { font-size: 1.55rem; margin: 36px 0 14px; }
.prose h3 { font-size: 1.2rem; margin: 26px 0 10px; }
.prose ul { display: grid; gap: 10px; margin: 0 0 20px; }
.prose ul li { position: relative; padding-left: 22px; color: var(--ink-70); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.prose blockquote {
  border-left: 3px solid var(--brand); background: var(--brand-50); border-radius: 0 12px 12px 0;
  padding: 18px 22px; margin: 24px 0; font-size: 15.5px; color: var(--brand-800);
}

/* Timeline (sejarah) */
.timeline { position: relative; display: grid; gap: 0; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--brand), var(--brand-100)); }
.tl-item { position: relative; padding: 0 0 30px 0; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
}
.tl-item b { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; color: var(--brand); margin-bottom: 6px; }
.tl-item h4 { font-size: 16px; margin-bottom: 6px; }
.tl-item p { font-size: 14.5px; color: var(--ink-70); }

/* Stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: #fff; padding: 26px 24px; }
.stat b { display: block; font-size: clamp(1.7rem, 2.6vw, 2.2rem); letter-spacing: -.04em; font-weight: 800; color: var(--brand); line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: 12.5px; color: var(--ink-50); }

/* Cards grid generic */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--brand-100); }
.card__ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand); margin-bottom: 18px;
}
.card__ico svg { width: 23px; height: 23px; }
.card h3 { font-size: 16.5px; margin-bottom: 8px; letter-spacing: -.015em; }
.card p { font-size: 14px; color: var(--ink-70); }
.card .link-arrow { margin-top: 16px; font-size: 13px; }

/* Pimpinan */
.lead-card { display: flex; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; }
.lead-card img { width: 88px; height: 88px; border-radius: 16px; object-fit: cover; object-position: center 20%; flex: none; }
.lead-card h4 { font-size: 15px; margin-bottom: 3px; }
.lead-card span { font-size: 12.5px; color: var(--brand); font-weight: 600; }

/* Kurikulum */
.kur-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.kur-legend .kur-leg-item {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600;
  color: var(--ink-70); background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 13px; cursor: pointer; transition: all .2s;
}
.kur-legend .kur-leg-item:hover { border-color: var(--brand); color: var(--brand); }
.kur-legend .kur-leg-item.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.kur-legend .kur-leg-item i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none; }

/* Daftar mobile diagram: accordion per semester (seperti situs asli) */
.kur-mobile-list { display: none; }
@media (max-width: 1024px) {
  /* tablet: grid 9 kolom terlalu sempit — pakai daftar per semester */
  .kur-wrap, .kur-legend { display: none; }
  .kur-mobile-list { display: grid; gap: 10px; }
}
@media (max-width: 767px) {
  .kur-wrap, .kur-legend { display: none; }
  .kur-mobile-list { display: grid; gap: 10px; }
}
.m-sem {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.m-sem-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 14px 16px; cursor: pointer; min-height: 48px;
}
.m-sem-title { font-weight: 800; font-size: .95rem; color: var(--ink); }
.m-sem-sks {
  font-size: .72rem; font-weight: 700; color: var(--ink-70);
  background: var(--brand-50); padding: 4px 10px; border-radius: 999px;
}
.m-sem-head .chev { color: var(--brand); transition: transform .3s var(--ease); flex: none; }
/* <details> memakai atribut [open] native — bukan class .open */
.m-sem > summary { list-style: none; }
.m-sem > summary::-webkit-details-marker { display: none; }
.m-sem > summary::marker { content: ''; }
.m-sem[open] .chev { transform: rotate(180deg); }
.m-sem-body { display: none; padding: 0 14px 14px; }
.m-sem[open] .m-sem-body { display: grid; gap: 8px; }
.m-sem[open] { border-color: var(--brand); }
.m-course {
  border-radius: 10px; border: 1.5px solid;
  padding: 10px 12px; font-size: .83rem; font-weight: 600; line-height: 1.4;
}

.kur-full { padding-inline: 0; }
.kur-full .container {
  /* override aturan global: diagram saja yang mepet — hanya 10px */
  width: min(100% - 20px, var(--container-wide));
  margin-inline: 10px;
  margin-right: 10px !important;
}
@media (min-width: 1200px) {
  /* di layar lebar: biarkan diagram melar sampai tepi (melewati
     container-wide 1360px) tapi tetap 10px dari tepi viewport */
  .kur-full .container { width: calc(100% - 20px); max-width: none; }
}
.kur-scroll { border-radius: var(--radius-lg); }
.kur-footnote {
  margin-top: 18px; font-size: .72rem; color: var(--ink-50);
  padding-left: 2px;
}
/* stat-strip diagram: 3 kartu seperti situs asli */
.kur-full .stat-strip { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .kur-full .stat-strip { grid-template-columns: 1fr; } }

.kur-wrap { position: relative; width: 100%; }
.kur-arrows { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: visible; }
.kur-arrows path {
  fill: none; stroke-width: 2; marker-end: url(#kur-arrow);
  opacity: .55; transition: opacity .3s, stroke .3s, stroke-width .3s;
}
.kur-wrap.has-highlight .kur-arrows path { opacity: .08; }
.kur-wrap.has-highlight .kur-arrows path.is-path { opacity: 1; stroke: #7A1626; stroke-width: 3; }

.kur-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 60px repeat(9, minmax(0, 1fr)) 60px;
  gap: 24px 8px;
  padding: 4px 0 16px;
}
.kur-sem, .kur-sks {
  background: var(--ink); border: 1.5px solid #3E3E48; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-weight: 700; font-size: .8rem; color: #F7F7F8;
}
.kur-sks { flex-direction: column; line-height: 1.15; }
.kur-sks small { display: block; font-size: .62rem; font-weight: 600; color: rgba(247,247,248,.62); margin-top: 2px; letter-spacing: .06em; }

.kur-cell {
  border-radius: 12px; border: 1.5px solid;
  padding: 14px 12px; min-height: 97px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: .79rem; line-height: 1.32; font-weight: 600; color: #F7F7F8;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
  transition: transform .35s var(--ease), box-shadow .35s, opacity .25s, filter .25s;
}
.kur-cell:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.2); z-index: 5; }
.kur-cell.is-dim { opacity: .22; filter: grayscale(25%); }
.kur-wrap.has-highlight .kur-cell:not(.is-path):not(.is-dim) { opacity: .22; filter: grayscale(25%); }
.kur-cell.is-path { outline: 3px solid #A01D30; outline-offset: 2px; }

/* kategori — palet situs ini (hitam/merah/burgundy/putih) */
.cat-dasar    { background: #F2E5E2; color: #4E0F14; border-color: rgba(122,27,34,.22); }
.cat-aik      { background: #17100F; color: #F7F7F8; border-color: #3E3E48; }
.cat-sw       { background: #7A1B22; color: #F7F7F8; border-color: #A01D30; }
.cat-net      { background: #FFFFFF; color: #111111; border-color: var(--line-strong); }
.cat-pilihan  { background: #F8EFEE; color: #651419; border-color: rgba(122,27,34,.3); }
.cat-ge       { background: #EDEDED; color: #333333; border-color: #D5D5D5; }
.cat-capstone { background: #BB1F1F; color: #F7F7F8; border-color: #9A1818; }
.cat-tugas    { background: #111111; color: #F7F7F8; border-color: #333333; font-weight: 700; }

/* Profil lulusan & CPL */
.pl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pl-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; display: grid; gap: 14px; align-content: start;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.pl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--brand-100); }
.pl-card__code {
  display: inline-grid; place-items: center; min-width: 58px; height: 30px; padding: 0 12px;
  background: var(--brand); color: #fff; border-radius: 8px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .04em; justify-self: start;
}
.pl-card p { font-size: 14px; line-height: 1.65; color: var(--ink-70); }
.cpl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cpl-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; display: grid; gap: 14px; align-content: start;
}
.cpl-card header { display: flex; align-items: center; gap: 12px; }
.cpl-card__aspek { font-size: 12px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
.cpl-card > p { font-size: 13.5px; line-height: 1.6; color: var(--ink-70); }
.cpl-card__cpmk {
  border-top: 1px solid var(--line); padding-top: 14px;
  display: grid; gap: 10px;
}
.cpl-card__cpmk > b { font-size: 12px; font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: .06em; }
.cpl-card__cpmk ul { display: grid; gap: 8px; }
.cpl-card__cpmk li { display: flex; gap: 10px; font-size: 12.5px; line-height: 1.5; color: var(--ink-70); }
.cpmk-code {
  flex: none; font-size: 10px; font-weight: 800; color: var(--brand);
  background: var(--brand-50); border-radius: 5px; padding: 2px 6px; height: fit-content; margin-top: 2px;
}
.sem-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.sem-tab {
  border: 1px solid var(--line-strong); background: #fff; border-radius: 10px; padding: 9px 16px;
  font-size: 13px; font-weight: 700; color: var(--ink-70); cursor: pointer; transition: all .2s;
}
.sem-tab:hover { border-color: var(--brand); color: var(--brand); }
.sem-tab.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.sem-panel { display: none; }
.sem-panel.is-active { display: block; animation: fadeUp .45s var(--ease); }
.sem-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.sem-head h3 { font-size: 1.35rem; }
.sem-head span { font-size: 13px; color: var(--ink-50); }
.sem-head .badge-sks { background: var(--brand-50); color: var(--brand); font-weight: 700; font-size: 12px; padding: 5px 11px; border-radius: 999px; }
.mk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mk {
  display: flex; align-items: flex-start; gap: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 15px; border-left: 3px solid var(--brand-100);
}
.mk code { font-family: var(--font); font-size: 11px; font-weight: 700; color: var(--brand); background: var(--brand-50); padding: 2px 6px; border-radius: 5px; flex: none; margin-top: 2px; }
.mk span { font-size: 13px; line-height: 1.45; color: var(--ink-70); }
.mk b { font-size: 11px; color: var(--ink-30); font-weight: 700; margin-left: auto; flex: none; }

/* Download */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dl {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px; transition: all .25s var(--ease);
}
.dl:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.dl__ico {
  width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center;
  font-size: 10px; font-weight: 800; letter-spacing: .04em; background: var(--brand-50); color: var(--brand);
}
.dl__ico.pdf { background: var(--red-50); color: var(--red); }
.dl__ico.docx, .dl__ico.doc { background: #EFEFED; color: #333333; }
.dl__ico.pptx { background: var(--orange-50); color: var(--orange); }
.dl b { display: block; font-size: 13.5px; line-height: 1.35; font-weight: 600; }
.dl span { font-size: 11.5px; color: var(--ink-50); }
.dl svg { width: 16px; height: 16px; color: var(--ink-30); margin-left: auto; flex: none; }

/* --------------------------------------------------- Formulir bento grid */
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  /* default stretch: kartu di baris yang sama tingginya sama rata */
}
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 0 26px 8px; overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.form-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.form-card > summary,
.form-card__head {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 0; list-style: none;
}
.form-card > summary { cursor: pointer; }
.form-card > summary::-webkit-details-marker { display: none; }
.form-card__ico {
  flex: none; width: 48px; height: 48px; border-radius: 12px;
  background: var(--brand-50); color: var(--brand);
  display: grid; place-items: center;
}
.form-card__ico svg { width: 22px; height: 22px; }
.form-card__body { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.form-card__body b { font-size: 16px; font-weight: 700; }
.form-card__body span { font-size: 12.5px; color: var(--ink-50); }
.form-card .count {
  flex: none; min-width: 30px; height: 26px; display: inline-grid; place-items: center;
  font-size: 12.5px; font-weight: 800; line-height: 1; color: var(--brand);
  background: var(--brand-50); border-radius: 999px; padding: 0 10px;
}
.form-card__chev {
  flex: none; width: 18px; height: 18px; color: var(--ink-30);
  transition: transform .3s var(--ease);
}
.form-card[open] .form-card__chev { transform: rotate(180deg); }
.form-card__rows { border-top: 1px solid var(--line); }
.form-item { display: flex; align-items: center; gap: 18px; padding: 15px 0; }
.form-item + .form-item { border-top: 1px solid var(--line); }
.form-item .txt { flex: 1 1 auto; min-width: 0; }
.form-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.form-item p { font-size: 12.5px; color: var(--ink-50); }
.form-item .btn { flex: none; width: 198px; justify-content: center; }

/* Article */
.article-hero { position: relative; height: min(56vh, 460px); overflow: hidden; background: var(--navy); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.article-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,42,46,.15), rgba(5,42,46,.75)); }
.article-wrap { max-width: 780px; margin-inline: auto; }
.article-head { margin-top: -70px; position: relative; z-index: 2; background: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.article-head h1 { font-size: clamp(1.5rem, 3vw, 2.3rem); letter-spacing: -.03em; line-height: 1.15; margin: 12px 0 18px; }
.article-body { padding-block: 40px 20px; }
.article-body p { font-size: 16.5px; line-height: 1.85; color: var(--ink-70); margin-bottom: 20px; }
.article-body p:first-of-type::first-letter { font-size: 3.4rem; font-weight: 800; float: left; line-height: .82; margin: 8px 10px 0 0; color: var(--brand); }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.article-tags span { font-size: 12px; font-weight: 600; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--ink-70); }

/* Reveal animation base */
/* Keadaan awal animasi hanya aktif bila JS berhasil menyiapkan (lihat main.js).
   Tanpa .js-anim, konten tampil normal — tidak ada halaman kosong. */
.js-anim [data-reveal] { opacity: 0; transform: translateY(22px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ----------------------------------------------------------- Responsive */
@media (max-width: 1180px) {
  .nav > li > a { padding: 10px 10px; font-size: 13.5px; }
  .hero__grid { gap: 36px; }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__contact-col { grid-column: span 3; }
}
@media (max-width: 1024px) {
  .nav, .header__actions .icon-btn--desk { display: none; }
  .burger { display: grid; }
  .hero__grid { grid-template-columns: 1fr; padding-block: 64px 90px; }
  .hero__card { justify-self: start; max-width: 460px; }
  .adv-grid, .lect-grid, .dl-grid, .mk-grid { grid-template-columns: repeat(2, 1fr); }
  .rank-band__grid, .visi-grid, .cta-band__in { grid-template-columns: 1fr; gap: 40px; }
  .visi-sticky { position: static; }
  .news-feature { grid-template-columns: 1fr; }
  .news-feature__media { min-height: 300px; }
  .cta-band__actions { justify-content: flex-start; }
  .quickbar__grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__contact-col { grid-column: span 2; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { padding-block: 64px 110px; }
  .hero__controls { bottom: 34px; }
}
@media (max-width: 720px) {
  .container, .container-wide { width: min(100% - 40px, var(--container)); }
  .header__actions .btn { display: none; }
  .brand__logo { width: 34px; height: 34px; }
  .brand__name { font-size: 15px; }
  .adv { padding: 24px 22px; }
  .section { padding-block: 56px; }
  .section-head { margin-bottom: 30px; }
  .topbar__meta span:nth-child(2) { display: none; }
  .topbar__right .topbar__dot, .topbar__right a:not(:last-child) { display: none; }
  /* Di mobile, .hero__controls menjadi elemen statis — jadikan hero kolom
     agar grid konten tidak ikut menyusut sebagai flex item. */
  .hero { min-height: 0; flex-direction: column; align-items: stretch; justify-content: center; }
  .hero__card { display: none; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.7rem); }
  .hero__controls { position: static; padding-top: 24px; }
  .hero__grid { padding-block: 52px 28px; }
  .quickbar { margin-top: 10px; }
  /* panah disembunyikan di ponsel: geser/tap titik sudah cukup, dan FAB WhatsApp menutupi area panah */
  .hero__arrows { display: none; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .quickbar__grid { grid-template-columns: 1fr; }
  .adv-grid, .lect-grid, .dl-grid, .mk-grid, .field-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .rank-nums { grid-template-columns: 1fr; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .news-card { grid-template-columns: 104px 1fr; }
  .news-row { grid-template-columns: 1fr auto; gap: 6px 14px; }
  .news-row time { grid-column: 1 / -1; }
  .testi-track { grid-auto-columns: 86%; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__contact-col { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .form-item { flex-direction: column; align-items: flex-start; gap: 10px; }
  .form-item .btn { width: 100%; }
  .pl-grid, .cpl-grid { grid-template-columns: 1fr; }
  /* diagram kurikulum: sel-sel kolom jadi baris membungkus */
  .kur-row { grid-template-columns: 52px 1fr; }
  .kur-cells { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .kur-cell { min-height: 44px; font-size: 10.5px; }
  .kur-arrows { display: none; }
  .lecturer-tools { flex-direction: column; align-items: stretch; }
  .search-mini input { width: 100%; }
  .article-head { margin-top: -40px; }
  .hero__meta { gap: 10px 18px; font-size: 12px; }
}

/* ---------------------------------------------------- Search results */
.search-results { margin-top: 14px; display: grid; gap: 4px; max-height: 46vh; overflow-y: auto; }
.search-results a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 11px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-70);
}
.search-results a:hover, .search-results a:focus { background: var(--brand-50); color: var(--brand); }
.search-results a svg { width: 15px; height: 15px; opacity: .5; flex: none; }
.search-results .empty { padding: 14px; font-size: 13.5px; color: var(--ink-50); }
.search-results mark { background: var(--red-50); color: inherit; border-radius: 3px; padding: 0 1px; }

.testi-nav button:disabled { opacity: .35; cursor: default; }
.testi-nav button:disabled:hover { background: #fff; border-color: var(--line-strong); color: inherit; }

/* -------------------------------------------------------- Split layout */
.split { display: grid; gap: 56px; align-items: start; }
.split--wide { grid-template-columns: 1.15fr .85fr; }
.split--media { grid-template-columns: 1fr .9fr; align-items: center; }
.split--even { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.split--narrow { grid-template-columns: .9fr 1.1fr; gap: 48px; }
.rank-nums--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .split, .split--wide, .split--media, .split--even, .split--narrow { grid-template-columns: 1fr; gap: 32px; }
}

/* ------------------------------------------------------ Tap targets (≥44px) */
.icon-btn, .burger { min-width: 44px; min-height: 44px; }
.burger { font-size: 0; }
.burger svg { width: 20px; height: 20px; }
/* ikon unduh pada kartu dokumen: area sentuh yang cukup */
.dl svg { width: 20px; height: 20px; padding: 6px; }
.topbar__right a { padding: 6px 8px; }
/* breadcrumb & tautan topbar: area sentuh ≥44px di mobile */
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
@media (max-width: 720px) {
  .breadcrumb { display: flex; align-items: center; gap: 4px; padding: 10px 0; }
  .breadcrumb a { min-height: 44px; }
  .topbar__right a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 720px) {
  .header__actions .icon-btn { width: 44px; height: 44px; }
  .quick, .dl, .card, .adv { -webkit-tap-highlight-color: transparent; }
}

/* Tombol WhatsApp mengambang — hitam, mengikuti palet */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: #111111; color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .9);
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
/* ruang aman agar FAB tidak menutupi konten terakhir saat scroll */
body { padding-bottom: env(safe-area-inset-bottom); }
.site-footer { padding-bottom: 72px; scroll-margin-bottom: 88px; }
.wa-float:hover { background: var(--brand); transform: translateY(-3px); box-shadow: 0 20px 36px -18px rgba(122, 27, 34, .9); }
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 720px) {
  .wa-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 48px; height: 48px; }
  .site-footer { padding-bottom: 84px; }
}

/* Eyebrow di atas latar gelap: putih agar kontras */
.rank-band .eyebrow,
.cta-band .eyebrow,
.page-hero .eyebrow { color: rgba(255, 255, 255, .88); }
.rank-band .eyebrow::before,
.cta-band .eyebrow::before,
.page-hero .eyebrow::before { background: var(--accent-on-dark); }
