/* ==========================================================================
   Program Studi Arsitektur — Universitas Ubudiyah Indonesia
   Design system (elegant / editorial / architectural)
   Pure CSS. No frameworks, no trackers.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour */
  --ink:        #15171c;
  --ink-soft:   #4b5059;
  --ink-faint:  #838a94;
  --line:       #e7e2d8;
  --line-soft:  #efeae1;
  --paper:      #fbfaf7;
  --paper-2:    #f4f0e8;
  --white:      #ffffff;

  --navy:       #16243d;
  --navy-deep:  #0f1a2e;
  --navy-soft:  #22314f;

  --gold:       #b0894e;
  --gold-soft:  #d9c49b;
  --gold-tint:  #f4ecdd;

  /* Type */
  --serif: "Playfair Display", "Times New Roman", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* Metrics */
  --wrap: 1180px;
  --wrap-wide: 1320px;
  --header-h: 70px;

  /* Radius — crisp, architectural */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-pill: 100px;

  /* Elevation */
  --shadow-1: 0 1px 2px rgba(21, 23, 28, .05), 0 8px 24px -18px rgba(21, 23, 28, .25);
  --shadow-2: 0 18px 48px -22px rgba(21, 23, 28, .38);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* Fluid spacing scale */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: clamp(64px, 8vw, 112px);
  --s-10: clamp(80px, 11vw, 148px);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: .002em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--navy); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.008em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); }
h2 { font-size: clamp(2rem, 3.9vw, 3rem); }
h3 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
h4 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); }
h5 { font-size: 1.5rem; }
h6 {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ink);
  margin-bottom: .9em;
}
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

strong { color: var(--ink); font-weight: 600; }
small { font-size: .82em; }

.a-underline {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .35s var(--ease);
}
.a-underline:hover { background-size: 100% 1px; }

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.container--wide { max-width: var(--wrap-wide); }

.section { padding-block: var(--s-9); }
.section--lg { padding-block: var(--s-10); }
.section--sm { padding-block: var(--s-8); }
.section--paper { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy-deep); color: rgba(255,255,255,.78); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--line { border-top: 1px solid var(--line); }

.center { text-align: center; }
.lead { font-size: 1.16rem; line-height: 1.72; color: var(--ink-soft); }
.muted { color: var(--ink-faint); }

.overline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.overline::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold-soft);
}
.overline--center { justify-content: center; }
.overline--plain::before { display: none; }

/* Section heading block */
.section-head { max-width: 720px; margin-bottom: var(--s-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 6px; }
.section-head--split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: end;
  max-width: none;
}
.section-head--split .section-head__aside { padding-bottom: 6px; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Grids */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--gap-sm { gap: 16px; }

/* Split */
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media img { width: 100%; border-radius: var(--r-md); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  --btn-bd: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--navy-soft); border-color: var(--navy-soft); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold { --btn-bg: var(--gold); --btn-bd: var(--gold); --btn-fg: #fff; }
.btn--gold:hover { background: #9c7740; border-color: #9c7740; }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--outline:hover { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--navy); }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5); }
.btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: #fff; }

.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--gold-tint); --btn-fg: var(--navy); }

.btn--sm { padding: 10px 20px; font-size: .74rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
}
.text-link::after { content: "\2192"; transition: transform .3s var(--ease); }
.text-link:hover::after { transform: translateX(5px); }
.text-link--gold { color: var(--gold); }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.utility-bar {
  background: var(--navy-deep);
  color: rgba(255,255,255,.72);
  font-size: .78rem;
  letter-spacing: .04em;
}
.utility-bar__inner {
  max-width: var(--wrap-wide);
  margin-inline: auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.utility-bar a:hover { color: #fff; }
.utility-bar__meta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.utility-bar__social { display: flex; gap: 14px; }
.utility-bar__social svg { width: 15px; height: 15px; fill: currentColor; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(251, 250, 247, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--wrap-wide);
  margin-inline: auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}
.brand { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav > ul > li { position: relative; }
.main-nav a {
  display: block;
  padding: 10px 14px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--navy); }
.main-nav > ul > li > a { position: relative; }
.main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav > ul > li:hover > a::after,
.main-nav > ul > li > a.is-active::after { transform: scaleX(1); }
.main-nav .has-children > a::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin-right: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .55;
}

.main-nav .dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: max-content;
  min-width: 262px;
  max-width: min(92vw, 360px);
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.main-nav .dropdown li { min-width: 0; }
.main-nav .dropdown a { white-space: normal; overflow-wrap: anywhere; }
.main-nav .has-children:hover .dropdown,
.main-nav .has-children:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.main-nav .dropdown a {
  padding: 11px 14px;
  text-transform: none;
  letter-spacing: .01em;
  font-size: .9rem;
  border-radius: var(--r-sm);
}
.main-nav .dropdown a:hover { background: var(--paper-2); color: var(--navy); }

@media (min-width: 1001px) {
  .main-nav > ul > li:nth-child(4) .dropdown,
  .main-nav > ul > li:nth-child(5) .dropdown {
    left: auto;
    right: 0;
  }
}

.header-cta { flex: 0 0 auto; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 42px;
  padding: 11px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 4px 0; transition: transform .3s var(--ease), opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(560px, 84vh, 820px);
  padding: clamp(120px, 18vw, 220px) 0 clamp(56px, 7vw, 96px);
  color: #fff;
  background-color: var(--navy-deep);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(15, 26, 46, .58) 0%, rgba(15, 26, 46, .34) 40%, rgba(15, 26, 46, .82) 100%);
}
.hero__inner { max-width: 940px; }
.hero .overline { color: var(--gold-soft); }
.hero .overline::before { background: var(--gold); }
.hero h1 { color: #fff; margin-bottom: 22px; max-width: 18ch; }
.hero__text { font-size: 1.2rem; line-height: 1.68; color: rgba(255,255,255,.86); max-width: 62ch; }
.hero__actions { margin-top: 34px; }

.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--r-pill);
  font-size: .82rem;
  letter-spacing: .06em;
  color: rgba(255,255,255,.9);
  background: rgba(15, 26, 46, .3);
  backdrop-filter: blur(6px);
}
.stars { color: var(--gold-soft); letter-spacing: .18em; font-size: .95rem; }

/* Page hero (inner pages) */
.page-head {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px);
  background:
    radial-gradient(1200px 420px at 88% -20%, rgba(176,137,78,.22), transparent 62%),
    linear-gradient(180deg, var(--navy-deep), #14203a);
  color: #fff;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 78%);
  pointer-events: none;
}
.page-head__inner { position: relative; z-index: 1; max-width: 820px; }
.page-head h1 { color: #fff; margin-bottom: 14px; }
.page-head p { color: rgba(255,255,255,.82); font-size: 1.14rem; max-width: 66ch; }

/* Breadcrumb */
.breadcrumb { font-size: .78rem; letter-spacing: .06em; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb--light { color: var(--ink-faint); margin-bottom: 14px; }
.breadcrumb--light a:hover { color: var(--navy); }

/* --------------------------------------------------------------------------
   8. Cards & media
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--line); }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__media--portrait { aspect-ratio: 3 / 4; }
.card__media--portrait img { object-position: top center; }
.card__media--doc { aspect-ratio: 3 / 4; background: var(--paper-2); }
.card__media--doc img { object-fit: contain; padding: 18px; }
.card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.28rem; margin-bottom: 8px; }
.card__role { font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.card__text { color: var(--ink-soft); font-size: .97rem; }
.card__body .btn, .card__body .text-link { margin-top: auto; align-self: flex-start; }
.card--flat { box-shadow: none; background: transparent; border-color: var(--line); }
.card--flat:hover { transform: none; box-shadow: none; }
.card--index { overflow: hidden; }
.card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 6px 12px; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255,255,255,.94); color: var(--navy); border-radius: var(--r-pill);
}

/* Feature card with number */
.feature { display: flex; gap: 22px; padding: 30px 0; border-top: 1px solid var(--line); }
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature__num { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); line-height: 1; min-width: 54px; }
.feature__body h5 { font-size: 1.2rem; margin-bottom: 6px; }
.feature__body p { margin: 0; font-size: .97rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.stat { background: var(--white); padding: 28px 24px; text-align: center; }
.stat__num { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.6rem); color: var(--navy); line-height: 1; }
.stat__label { display: block; margin-top: 8px; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }

/* --------------------------------------------------------------------------
   9. Lists
   -------------------------------------------------------------------------- */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--ink-soft); }
.checklist li:last-child { margin-bottom: 0; }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: .52em;
  width: 16px; height: 9px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg) scale(.8);
  transform-origin: left center;
}
.checklist--tight li { margin-bottom: 9px; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li {
  position: relative;
  counter-increment: step;
  padding: 22px 26px 22px 76px;
  margin-bottom: 14px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  color: var(--ink-soft);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 26px; top: 22px;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--gold);
}

/* Prose */
.prose { max-width: 780px; margin-inline: auto; }
.prose--wide { max-width: 880px; }
.prose p, .prose li { font-size: 1.05rem; line-height: 1.85; }
.prose img { border-radius: var(--r-md); margin: 30px 0; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose a { color: var(--navy); border-bottom: 1px solid var(--gold-soft); }
.prose a:hover { border-color: var(--gold); }

.quote {
  position: relative;
  padding: 34px 38px 34px 44px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-sm);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink);
  box-shadow: var(--shadow-1);
}

/* --------------------------------------------------------------------------
   10. Gallery & lightbox
   -------------------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery button {
  padding: 0; border: 0; background: none; cursor: pointer;
  overflow: hidden; border-radius: var(--r-sm); aspect-ratio: 1 / 1;
  position: relative;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery button::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15,26,46,.55));
  opacity: 0; transition: opacity .4s var(--ease);
}
.gallery button:hover img { transform: scale(1.07); }
.gallery button:hover::after { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: none; place-items: center; padding: 32px;
  background: rgba(9, 15, 26, .94);
  backdrop-filter: blur(4px);
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--r-sm); box-shadow: var(--shadow-2); }
.lightbox__close {
  position: absolute; top: 22px; right: 26px;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent; color: #fff;
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  transition: background .25s;
}
.lightbox__close:hover { background: rgba(255,255,255,.14); }

/* --------------------------------------------------------------------------
   11. News
   -------------------------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.news-card__media { overflow: hidden; aspect-ratio: 16 / 10; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.06); }
.news-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.news-card__meta { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.news-card__meta span.dot { color: var(--gold); }
.news-card__title { font-size: 1.24rem; margin-bottom: 10px; }
.news-card__title a:hover { color: var(--navy); }
.news-card__excerpt { font-size: .95rem; flex: 1; margin-bottom: 16px; }

.news-feature { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--shadow-1); }
.news-feature__media { position: relative; min-height: 340px; }
.news-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-feature__body { padding: clamp(30px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.news-feature__body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 44px; }
.pagination button, .pagination a {
  min-width: 44px; height: 44px; padding: 0 14px;
  display: grid; place-items: center;
  font-size: .85rem; font-family: var(--sans);
  color: var(--ink-soft); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  cursor: pointer; transition: all .25s var(--ease);
}
.pagination button:hover, .pagination a:hover { border-color: var(--navy); color: var(--navy); }
.pagination .is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* --------------------------------------------------------------------------
   12. Article
   -------------------------------------------------------------------------- */
.article-head { max-width: 880px; margin-inline: auto; text-align: center; }
.article-head h1 { margin-bottom: 18px; }
.article-head .lead { margin-bottom: 20px; }
.article-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint);
}
.article-meta .author { color: var(--gold); font-weight: 600; }
.article-hero { max-width: 1040px; margin: 44px auto 0; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-2); }
.article-hero img { width: 100%; max-height: 560px; object-fit: cover; }

/* --------------------------------------------------------------------------
   13. Contact / forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form-field label { display: block; font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 14px 16px;
  font-family: var(--sans); font-size: .98rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--ink-faint); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(22,36,61,.1);
}
.form-note { font-size: .82rem; color: var(--ink-faint); }
.form-success { display: none; margin-top: 6px; padding: 12px 16px; border-radius: var(--r-sm); background: var(--gold-tint); color: #6b5122; font-size: .9rem; font-weight: 500; }

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-list li:first-child { border-top: 1px solid var(--line); }
.info-list .ico { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-2); color: var(--gold); font-size: 1rem; }
.info-list h6 { margin: 0 0 4px; }
.info-list p { margin: 0; font-size: .96rem; }

.map-embed { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); filter: grayscale(.25); }
.map-embed iframe { width: 100%; height: 400px; border: 0; display: block; }

/* --------------------------------------------------------------------------
   14. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  padding-block: var(--s-9);
  background:
    radial-gradient(900px 320px at 12% 0%, rgba(176,137,78,.2), transparent 60%),
    var(--navy-deep);
  color: rgba(255,255,255,.82);
}
.cta-band h2 { color: #fff; }
.cta-band .overline { color: var(--gold-soft); }
.cta-band .overline::before { background: var(--gold); }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.68); font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.82); transition: color .25s var(--ease); }
.site-footer a:hover { color: #fff; }
.site-footer__top {
  max-width: var(--wrap); margin-inline: auto;
  padding: clamp(56px, 7vw, 88px) 24px 52px;
  display: grid; grid-template-columns: 1.5fr .8fr 1.1fr; gap: clamp(34px, 5vw, 64px);
}
.site-footer__brand img { height: 46px; width: auto; margin-bottom: 22px; filter: brightness(0) invert(1); opacity: .95; }
.site-footer h6 { color: rgba(255,255,255,.55); }
.site-footer__tagline { max-width: 40ch; }
.site-footer__contact p { margin-bottom: 4px; }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); transition: background .25s, border-color .25s; }
.social a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.site-footer__form { display: grid; gap: 12px; margin-top: 16px; }
.site-footer__form input {
  width: 100%; padding: 13px 16px; font-family: var(--sans); font-size: .95rem;
  color: #fff; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-sm);
}
.site-footer__form input::placeholder { color: rgba(255,255,255,.5); }
.site-footer__form input:focus { outline: none; border-color: var(--gold-soft); background: rgba(255,255,255,.1); }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  max-width: var(--wrap); margin-inline: auto;
  padding: 24px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  font-size: .82rem; color: rgba(255,255,255,.5);
}
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* --------------------------------------------------------------------------
   16. Floating WhatsApp
   -------------------------------------------------------------------------- */
.whatsapp-bubble {
  position: fixed; right: 22px; bottom: 24px; z-index: 110;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px 12px 15px;
  background: #1f9d55; color: #fff;
  border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  box-shadow: 0 12px 30px -10px rgba(21,23,28,.5);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.whatsapp-bubble:hover { transform: translateY(-3px); background: #178a48; }
.whatsapp-bubble svg { width: 24px; height: 24px; fill: #fff; flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   17. Reveal on scroll
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   17. Reveal on scroll (progressive enhancement — only when JS is available)
   -------------------------------------------------------------------------- */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* Utility */
.hidden { display: none !important; }
.stack > * + * { margin-top: var(--s-5); }
.mt-0 { margin-top: 0; }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.mt-8 { margin-top: var(--s-8); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 400;
  padding: 12px 20px; background: var(--navy); color: #fff; border-radius: var(--r-sm);
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1000px) {
  .utility-bar { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    padding: 18px 24px 60px;
    background: var(--paper);
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    box-shadow: var(--shadow-2);
  }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav a { padding: 16px 4px; font-size: .92rem; }
  .main-nav > ul > li > a::after { display: none; }
  .main-nav .dropdown {
    position: static; display: flex; flex-direction: column; align-items: stretch;
    width: auto; max-width: none; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0;
    padding: 0 0 10px 16px; min-width: 0;
    border-left: 2px solid var(--line);
    margin: 0 0 10px;
  }
  .main-nav .dropdown a { white-space: normal; overflow-wrap: anywhere; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .section-head--split { grid-template-columns: 1fr; gap: 18px; }
  .news-feature { grid-template-columns: 1fr; }
  .news-feature__media { min-height: 260px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; }
  .btn { padding: 13px 24px; }
  .whatsapp-bubble { padding: 13px; }
  .whatsapp-bubble span { display: none; }
  .hero h1 { max-width: none; }
}

/* --------------------------------------------------------------------------
   19. Live news (async feed from uui.ac.id WordPress REST API)
   -------------------------------------------------------------------------- */
.live-news__list { display: flex; flex-direction: column; gap: 18px; }

.live-item {
  display: grid;
  grid-template-columns: 320px 1fr;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.live-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line); }
.live-item__media { position: relative; min-height: 210px; background: var(--paper-2); overflow: hidden; }
.live-item__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.live-item:hover .live-item__media img { transform: scale(1.05); }
.live-item__body { padding: 26px 30px; display: flex; flex-direction: column; justify-content: center; }
.live-item__meta {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 10px;
}
.live-item__meta .dot { color: var(--gold); }
.live-item__title { font-size: 1.3rem; margin: 0 0 10px; }
.live-item__title a:hover { color: var(--navy); }
.live-item__excerpt {
  color: var(--ink-soft); font-size: .96rem; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.live-item__more { margin-top: 14px; }

.live-news__toolbar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.live-news__status { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.live-news__status.is-live { color: var(--gold); }

.live-news__pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.pager-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.pager-btn:hover:not(:disabled) { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager-btn:disabled { opacity: .45; cursor: not-allowed; }
.pager-btn svg { width: 18px; height: 18px; }
.pager-info { font-size: .82rem; letter-spacing: .06em; color: var(--ink-faint); min-width: 120px; text-align: center; }

.live-news__message {
  padding: 46px 24px; text-align: center;
  border: 1px dashed var(--line); border-radius: var(--r-md);
  color: var(--ink-faint); background: var(--white);
}

.skeleton-item { pointer-events: none; }
.skeleton-line, .skeleton-block {
  background: linear-gradient(90deg, var(--paper-2) 25%, #ece7dd 37%, var(--paper-2) 63%);
  background-size: 400% 100%;
  animation: skeleton 1.4s ease infinite;
  border-radius: var(--r-sm);
}
.skeleton-block { width: 100%; height: 100%; min-height: 210px; border-radius: 0; }
.skeleton-line { height: 12px; margin-bottom: 12px; }
.skeleton-line--sm { width: 40%; height: 10px; }
.skeleton-line--title { width: 85%; height: 20px; }
.skeleton-line--wide { width: 95%; }
@keyframes skeleton { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* --------------------------------------------------------------------------
   20. Campus safety / Satgas PPKPT
   -------------------------------------------------------------------------- */
.satgas-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(110deg, var(--white), var(--gold-tint));
  box-shadow: var(--shadow-1);
}
.satgas-banner__icon, .satgas-report__icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--navy);
  border-radius: var(--r-md);
}
.satgas-banner__icon svg, .satgas-report__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.satgas-banner__copy .overline { margin-bottom: 8px; }
.satgas-banner__copy h2 { margin-bottom: 6px; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.satgas-banner__copy p { max-width: 760px; margin: 0; font-size: .94rem; }
.satgas-banner__link { white-space: nowrap; }

.satgas-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .72fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}
.satgas-section-title { margin: 36px 0 18px; font-size: 1.5rem; }
.satgas-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.satgas-kind { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line-soft); border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-1); }
.satgas-kind__number { display: inline-flex; width: 34px; height: 34px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; background: var(--gold-tint); color: var(--navy); font-family: var(--serif); font-size: 1.05rem; }
.satgas-kind h3 { margin: 2px 0 7px; font-family: var(--sans); font-size: .96rem; font-weight: 650; line-height: 1.4; }
.satgas-kind p { margin: 0; color: var(--ink-soft); font-size: .85rem; line-height: 1.65; }
.satgas-report { margin-top: 28px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-md); background: var(--navy-deep); color: rgba(255,255,255,.75); }
.satgas-report__heading { display: flex; align-items: flex-start; gap: 16px; }
.satgas-report__icon { color: var(--gold-soft); background: rgba(255,255,255,.1); }
.satgas-report h2 { margin: 0 0 8px; color: #fff; font-size: 1.45rem; }
.satgas-report__heading p { margin: 0; color: rgba(255,255,255,.72); font-size: .9rem; }
.satgas-contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.satgas-contact { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 12px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-sm); background: rgba(255,255,255,.05); color: #fff; transition: background .2s ease; }
.satgas-contact:hover { background: rgba(255,255,255,.12); }
.satgas-contact__icon { display: inline-flex; width: 34px; height: 34px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: var(--r-sm); background: rgba(255,255,255,.1); color: var(--gold-soft); font-size: 1.05rem; }
.satgas-contact small, .satgas-contact strong { display: block; }
.satgas-contact small { color: rgba(255,255,255,.55); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.satgas-contact strong { overflow: hidden; color: #fff; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.satgas-poster { position: sticky; top: 100px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-1); }
.satgas-poster img { width: 100%; max-height: 900px; border-radius: var(--r-sm); object-fit: contain; }
.satgas-poster a > span { display: flex; justify-content: center; gap: 8px; padding: 16px 8px 8px; color: var(--gold); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 1000px) {
  .satgas-layout { grid-template-columns: 1fr; }
  .satgas-poster { position: static; max-width: 680px; margin-inline: auto; }
}
@media (max-width: 720px) {
  .satgas-banner { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 20px; }
  .satgas-banner__icon { width: 48px; height: 48px; }
  .satgas-banner__link { grid-column: 2; justify-self: start; }
  .satgas-types, .satgas-contacts { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   20. Responsive for live news
   -------------------------------------------------------------------------- */
@media (max-width: 720px) {
  .live-item { grid-template-columns: 1fr; }
  .live-item__media { min-height: 200px; }
  .live-item__body { padding: 22px 22px 26px; }
  .live-news__pagination { gap: 12px; }
  .pager-btn { padding: 11px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .skeleton-line, .skeleton-block { animation: none; }
}

@media print {
  .site-header, .utility-bar, .site-footer, .whatsapp-bubble, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}
