@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("assets/literata-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #202923;
  --text: #3f4a43;
  --muted: #546059;
  --paper: #fcfbf7;
  --wash: #f0eee6;
  --line: #d9d6cb;
  --accent: #294d3f;
  --action: #294d3f;
  --portal-navy: #13233b;
  --portal-gold: #eac66a;
  --portal-ice: #e8eff8;
  --font-reading: "DM Sans", system-ui, sans-serif;
  --font-editorial: "Literata", Georgia, serif;
  font-family: var(--font-reading);
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
::selection { background: #d7e6db; color: var(--ink); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
p { line-height: 1.65; }
h1, h2, h3 { font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.14; }
strong { font-weight: 600; }
[id] { scroll-margin-top: 1rem; }
:focus-visible { outline: 3px solid #386e58; outline-offset: 3px; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: -5rem; left: 1rem; padding: .75rem; z-index: 2; background: var(--wash); }
.skip:focus { top: .5rem; }

@media (prefers-reduced-motion: no-preference) {
  .home-page::before {
    content: ""; position: fixed; inset: 0; z-index: 3; pointer-events: none;
    background: #081222; opacity: 0;
    animation: home-opening 700ms ease-in-out 200ms backwards;
  }
}
@keyframes home-opening { from { opacity: 1; } to { opacity: 0; } }

.site-header { position: relative; z-index: 1; border-bottom: 1px solid var(--line); }
.masthead { display: flex; align-items: center; justify-content: flex-start; min-height: 80px; gap: 16px; }
.home-page .masthead { min-height: 56px; }
.menu-toggle {
  display: grid; align-content: center; justify-items: center; gap: 5px; width: 44px; height: 44px;
  padding: 8px; border: 1px solid var(--line); border-radius: 2px; background: transparent;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); }
.menu-toggle:hover { background: var(--wash); }
.brand {
  display: grid; gap: 4px; padding-left: 12px; border-left: 2px solid var(--portal-gold);
  color: var(--portal-navy); text-decoration: none;
}
.brand strong { font-size: 1.4rem; letter-spacing: -.035em; line-height: 1; }
.brand span { color: var(--muted); font-size: .78rem; }
.brand-strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.brand-strip-inner {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(12px, 3vw, 28px); padding-block: 12px;
}
.brand-strip img {
  display: block; flex: none; width: clamp(42px, 6vw, 60px); height: clamp(42px, 6vw, 60px); object-fit: contain;
}
.brand-strip .brand { padding: 0; border: 0; text-align: center; }
.brand-strip .brand strong { font-size: clamp(1.12rem, 3vw, 1.5rem); }

.hero {
  padding-block: clamp(36px, 6vw, 76px); background: var(--portal-navy);
  color: var(--paper); border-bottom: 3px solid var(--portal-gold);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(32px, 6vw, 80px); }
.hero-copy { padding-block: 12px; }
.hero-label, .section-kicker { margin-bottom: 12px; color: var(--accent); font-size: .85rem; font-weight: 600; }
.hero-label { color: var(--portal-gold); }
.hero h1 { max-width: 10ch; font-size: clamp(3rem, 6.4vw, 6rem); line-height: .98; letter-spacing: -.065em; }
.hero-copy > p:not(.hero-label) { max-width: 34ch; margin-top: 20px; color: var(--portal-ice); font-size: clamp(1rem, 1.6vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-secondary { border-color: var(--accent); color: var(--accent); background: transparent; }
.hero-secondary:hover { background: #294d3f12; }
.hero .primary { background: var(--portal-gold); color: var(--portal-navy); }
.hero .primary:hover { background: #f5d887; }
.hero .hero-secondary { border-color: var(--portal-ice); color: var(--paper); }
.hero .hero-secondary:hover { background: #e8eff81a; }
.hero :focus-visible, .drawer-heading :focus-visible, .portal-footer :focus-visible {
  outline-color: var(--portal-gold);
}
.featured-news {
  position: relative; display: flex; min-height: 330px; aspect-ratio: 1.6;
  overflow: hidden; align-items: end; color: white; background: #1c3454;
}
.featured-news > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-news::after { position: absolute; inset: 20% 0 0; content: ''; background: linear-gradient(transparent, #13233be0 55%, var(--portal-navy)); }
.featured-copy { position: relative; z-index: 1; display: grid; gap: 9px; width: 100%; padding: clamp(18px, 3vw, 32px); }
.featured-copy { background: linear-gradient(180deg, #13233bd9, #13233bf5); }
.featured-date { color: var(--portal-ice); font-size: .82rem; }
.featured-copy h2 { max-width: 24ch; font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.12; }
.featured-copy h2 a { text-decoration: none; }
.featured-copy h2 a:hover { text-decoration: underline; text-underline-offset: .15em; }
.featured-copy p { max-width: 55ch; color: #f2f5f1; font-size: .9rem; }
.featured-news > .content-loading { position: relative; z-index: 1; padding: 24px; }
.photo-gallery:not([hidden]) {
  display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr);
  background: var(--accent); color: white;
}
.activity-gallery { margin-bottom: 48px; }
.gallery-viewport { overflow: hidden; min-width: 0; background: #203c31; }
#fakultas .gallery-viewport { touch-action: pan-y; }
.gallery-track { display: flex; transition: transform 550ms cubic-bezier(.16, 1, .3, 1); }
.gallery-track.is-wrapping { transition: none; }
.gallery-track img { flex: 0 0 100%; min-width: 0; aspect-ratio: 850 / 460; object-fit: cover; }
.gallery-details { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: clamp(16px, 3vw, 36px); }
.gallery-details h2 { font-size: .9rem; }
.gallery-caption h3 { margin-top: 8px; font-size: clamp(1.25rem, 2.5vw, 2.25rem); line-height: 1.15; }
.gallery-story { text-decoration-color: #b6cbbf; text-underline-offset: .16em; }
.gallery-story:hover { text-decoration-thickness: 2px; }
.gallery-date, .gallery-count { font-size: .85rem; color: #dce8df; }
.gallery-source { display: inline-block; margin-top: 12px; font-size: .8rem; color: #dce8df; text-underline-offset: .2em; }
.gallery-source[hidden] { display: none; }
.gallery-controls:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.gallery-controls button {
  min-width: 44px; min-height: 44px; padding-inline: 8px; background: transparent;
  color: white; border: 1px solid #dce8df70; border-radius: 2px;
}
.gallery-controls button:hover { background: #ffffff1f; }
.photo-gallery :focus-visible { outline-color: #e3ece4; }
.gallery-toggle { margin-inline-end: 4px; }
.gallery-count { min-width: 37px; text-align: center; font-variant-numeric: tabular-nums; }
#fakultas:not([hidden]) { display: block; position: relative; }
#fakultas .gallery-track img {
  height: clamp(260px, 38vw, 440px);
  position: absolute; inset: 0; width: 100%;
  aspect-ratio: auto;
  object-position: center 35%;
  opacity: 0;
  transform: translateX(calc(var(--slide-offset, 0%) + var(--drag-offset, 0px)));
}
#fakultas .gallery-track img:not([aria-hidden="true"]) { opacity: 1; }
#fakultas .gallery-track img.gallery-entering,
#fakultas .gallery-track img.gallery-sliding { opacity: 1; }
#fakultas .gallery-track { position: relative; height: clamp(260px, 38vw, 440px); }
#fakultas .gallery-track img.gallery-sliding {
  transition: transform 550ms cubic-bezier(.16, 1, .3, 1);
}
#fakultas .gallery-track img.gallery-dragging { transition: none; }
#fakultas .gallery-details { position: absolute; inset: 0; padding: 0; pointer-events: none; }
#fakultas .gallery-controls:not([hidden]) {
  position: absolute; inset: 0; justify-content: center; align-items: end;
  padding: 12px; background: linear-gradient(transparent 78%, #10261b88);
}
#fakultas .gallery-controls button { border: 0; border-radius: 0; }
#fakultas .gallery-toggle,
#fakultas .gallery-source:not([hidden]) {
  position: absolute; top: 12px; background: #172b23df; pointer-events: auto;
}
#fakultas .gallery-toggle { left: 12px; margin: 0; }
#fakultas .gallery-dots { display: flex; align-items: center; justify-content: center; pointer-events: auto; }
#fakultas .gallery-dot {
  display: grid; place-items: center; min-width: 24px; width: 24px;
  min-height: 36px; padding: 0; background: transparent;
}
#fakultas .gallery-dot::after {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #ffffffa8; transition: background 180ms, transform 180ms;
}
#fakultas .gallery-dot[aria-current="true"]::after { background: white; transform: scale(1.5); }
#fakultas .gallery-dot:hover::after { background: white; }
#fakultas .gallery-source:not([hidden]) {
  display: grid; place-items: center; min-width: 44px; height: 44px;
  right: 12px; margin: 0; padding-inline: 12px; color: white; font-size: .8rem; text-decoration: none;
}
#fakultas .gallery-source:hover { background: #ffffff1f; }
@media (prefers-reduced-motion: reduce) {
  .gallery-track { transition: none; }
  #fakultas .gallery-track img.gallery-sliding { transition: none; }
}
.search-controls { display: flex; }
.search-controls input {
  flex: 1; min-width: 0; min-height: 48px; padding: 8px 12px; color: var(--ink);
  background: var(--paper); border: 1px solid #898e83; border-inline-end: 0;
}
.search-controls button { min-width: 88px; border-radius: 0; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 8px 16px; border: 1px solid transparent; border-radius: 2px;
  font-size: .875rem; font-weight: 600; text-decoration: none;
}
.primary { color: white; background: var(--action); }
.primary:hover { background: #203c31; }
.light { color: var(--accent); background: var(--paper); }
.light:hover { background: var(--wash); }
.text-link { color: var(--accent); font-size: .875rem; font-weight: 600; text-underline-offset: .22em; }
.text-link:hover { text-decoration-thickness: 2px; }

.quick { padding-top: 28px; }
.service-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.service-links a {
  position: relative; display: grid; align-content: start; gap: 6px; min-height: 112px;
  padding: 18px 48px 16px 16px; border: 1px solid var(--line); border-inline-start: 3px solid var(--portal-gold);
  border-radius: 4px; background: white; color: var(--ink); text-decoration: none;
}
.service-links a::after {
  position: absolute; top: 16px; right: 14px; display: grid; place-items: center;
  width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%;
  color: var(--portal-navy); content: "→"; font-size: 1.1rem;
}
.service-links a:hover { border-color: var(--portal-navy); background: var(--portal-ice); }
.service-links a:hover::after { border-color: var(--portal-gold); background: var(--portal-gold); }
.service-links strong { color: var(--portal-navy); }
.service-links a:hover strong { text-decoration: underline; text-underline-offset: .15em; }
.service-links span { color: var(--text); font-size: .85rem; line-height: 1.5; }

.updates { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(36px, 6vw, 80px); padding-block: 56px 64px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-heading > span { color: var(--muted); font-size: .8rem; }
.section-kicker { margin-bottom: 6px; }
.news { border-top: 1px solid var(--line); padding-top: 16px; }
.news { max-width: 60ch; }
.news + .news { margin-top: 0; border-top: 1px solid var(--line); padding-block: 18px; }
.news h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.2; margin-block: 8px; }
.news h3 a { text-decoration: none; }
.news h3 a:hover { text-decoration: underline; text-underline-offset: .13em; }
.news h3 + p, .documents > p, .profile p { color: var(--text); }
.news .text-link, .profile .text-link { display: inline-block; margin-top: 16px; }
.meta, .sample { color: var(--muted); font-size: .8rem; }
.meta span { padding-inline: 4px; }
.agenda-list { border-top: 1px solid var(--line); }
.agenda-item { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.agenda-date { display: grid; align-content: start; justify-items: start; color: var(--accent); }
.agenda-day { font-size: 1.8rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.agenda-month { margin-top: 5px; color: var(--muted); font-size: .74rem; }
.agenda-copy h3 { font-size: 1rem; line-height: 1.25; }
.agenda-copy p, .agenda-empty { margin-top: 6px; color: var(--text); font-size: .88rem; }
details { border-block-end: 1px solid var(--line); }
summary {
  display: flex; align-items: center; gap: 12px; min-height: 48px;
  padding-block: 8px; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+" / ""; margin-left: auto; color: var(--muted); font-size: 1.15rem; }
details[open] > summary::after { content: "−" / ""; }
details p { color: var(--text); font-size: .9rem; padding-bottom: 12px; }
.date { flex: 0 0 60px; color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.date b { display: inline-block; min-width: 2ch; font-size: 1rem; color: var(--ink); font-weight: 600; }

.profile-band { background: var(--portal-ice); }
.profile { display: block; padding-block: 48px; }
.profile h2, .aspiration h2 { margin-bottom: 12px; }
.profile > div { max-width: 72ch; }
.profile-duties-title { margin-top: 30px; font-size: 1rem; }
.profile dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 12px 0 0; }
.profile dl div { border-top: 1px solid var(--line); padding-top: 14px; }
.profile dl div + div { margin: 0; }
.profile dt { font-weight: 600; }
.profile dd { margin: 4px 0 0; color: var(--text); font-size: .9rem; line-height: 1.5; }
.structure-page-nav { padding-top: 20px; }
.structure { padding-block: 48px; }
.structure .section-heading h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.14; }
.structure .section-heading { flex-wrap: wrap; gap: 8px 16px; }
.structure-viewport { overflow-x: auto; padding-bottom: 12px; }
.structure-scroll-hint { display: none; margin-bottom: 12px; color: var(--muted); font-size: .875rem; }
@media (max-width: 783px) {
  .structure-scroll-hint { display: block; }
}
.structure-tree, .structure-tree ul { margin: 0; padding: 0; list-style: none; }
.structure-tree {
  min-width: 720px; max-width: 1000px; margin-inline: auto;
  --structure-gold: #8c7653;
}
.structure-tree :is(.structure-main-branches, .structure-units) {
  position: relative; display: grid;
  grid-template-columns: repeat(var(--structure-columns), minmax(0, 1fr));
  padding-top: calc(2 * var(--structure-stem));
}
.structure-main-branches {
  --structure-columns: 2; --structure-stem: 22px; --structure-line: var(--structure-gold);
}
.structure-units { --structure-columns: 3; --structure-stem: 15px; --structure-line: var(--accent); }
.structure-tree .structure-commissions { width: 210%; margin-inline-start: -55%; }
.structure-tree :is(.structure-main-branches, .structure-units)::before,
.structure-tree :is(.structure-main-branches, .structure-units)::after,
.structure-tree :is(.structure-main-branches, .structure-units) > li::before {
  position: absolute; background: var(--structure-line); content: "";
}
.structure-tree :is(.structure-main-branches, .structure-units)::before,
.structure-tree :is(.structure-main-branches, .structure-units) > li::before {
  left: 50%; width: 1px; height: var(--structure-stem); transform: translateX(-50%);
}
.structure-tree :is(.structure-main-branches, .structure-units)::before { top: 0; }
.structure-tree :is(.structure-main-branches, .structure-units)::after {
  top: var(--structure-stem); inset-inline: calc(50% / var(--structure-columns)); height: 1px;
}
.structure-tree :is(.structure-main-branches, .structure-units) > li { position: relative; min-width: 0; }
.structure-tree :is(.structure-main-branches, .structure-units) > li::before { bottom: 100%; }
.structure-main-branches > li {
  padding-inline: clamp(8px, 1.5vw, 18px);
}
.structure-units > li { padding-inline: clamp(3px, .5vw, 6px); }
.structure-card {
  display: grid; align-content: center; min-height: 58px;
  padding: 7px 5px; border: 1px solid var(--line); background: var(--paper);
  font-size: .875rem; font-weight: 600; line-height: 1.35; text-align: center; overflow-wrap: anywhere;
}
.structure-card h2, .structure-card h3 { margin: 0; font-size: inherit; line-height: inherit; }
.structure-card-root {
  width: min(240px, 80%); min-height: 60px; margin-inline: auto; border-color: var(--accent);
  border-bottom: 3px solid var(--structure-gold); border-radius: 30px;
  background: var(--accent); color: white;
  font-size: 1.05rem; text-align: center;
}
.structure-card-lead {
  width: min(230px, 100%); min-height: 54px; margin-inline: auto;
  border-color: #bd9437; border-radius: 14px; background: #edcc78; font-size: 1rem;
}
.structure-card-unit {
  border-color: #a6c3ae; border-radius: 6px; background: #dceade; font-weight: 500;
}
.structure-commissions .structure-card-unit {
  min-height: 42px; padding-inline: 3px;
  border-color: #a6b9d4; border-radius: 21px; background: #dfe9f7; font-size: .8125rem;
}
.campus-gallery-section { padding-block: 48px; }
.campus-gallery-section > .section-heading { margin-bottom: 16px; }
.documents { padding-block: 48px; }
.documents > p { margin-block: 8px 16px; color: var(--text); }
.documents details:first-of-type { border-top: 1px solid var(--line); }
.documents details { padding-inline: 4px; }

.aspiration {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  border-left: 3px solid var(--portal-gold); background: var(--accent); color: white;
  padding: clamp(20px, 4vw, 36px); margin-bottom: 48px;
}
.aspiration p { color: #e2ece5; }
.aspiration :focus-visible { outline-color: var(--portal-gold); }
.portal-footer {
  border-top: 3px solid var(--portal-gold); background: var(--portal-navy);
  color: var(--paper); padding-block: 28px;
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.portal-footer p { font-size: .8rem; color: var(--portal-ice); }
.portal-footer a { color: var(--portal-gold); text-underline-offset: .2em; }

dialog {
  width: min(500px, calc(100% - 32px)); max-height: 85vh; border: 1px solid var(--line);
  border-radius: 4px; color: var(--ink); background: var(--paper); padding: 24px;
}
dialog::backdrop { background: #202923a8; }
dialog h2 { padding-right: 36px; margin-bottom: 12px; font-size: 1.65rem; }
dialog p { color: var(--text); font-size: .9rem; }
.dialog-close { position: absolute; top: 8px; right: 8px; }
.dialog-close button { width: 40px; height: 40px; background: var(--wash); color: var(--ink); border: 1px solid var(--line); border-radius: 2px; font-size: 1.35rem; }
dialog label { display: block; margin-top: 12px; font-weight: 600; }
dialog input, dialog select, dialog textarea {
  display: block; width: 100%; margin-block: 4px 12px; border: 1px solid #8391a0;
  border-radius: 2px; padding: 8px; background: var(--paper); color: var(--ink);
}
input::placeholder { color: var(--muted); opacity: 1; }
dialog textarea { resize: vertical; }
dialog ul { padding-left: 20px; }
dialog li { margin-bottom: 8px; }
#status-aspirasi:not(:empty) { margin-top: 12px; font-weight: 600; color: var(--accent); }
.menu-drawer {
  position: fixed; inset: 0 auto 0 0; display: none; flex-direction: column;
  width: min(360px, calc(100vw - 16px)); height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; margin: 0;
  padding: 0; border: 0; border-inline-end: 1px solid var(--line); border-radius: 0;
  overflow: hidden; box-shadow: 8px 0 28px #20292320;
}
.menu-drawer[open] { display: flex; animation: drawer-in 180ms ease-out; }
.menu-drawer::backdrop { background: #202923a8; }
.drawer-heading {
  display: flex; align-items: center; justify-content: space-between; min-height: 64px;
  padding: 10px 16px; border-bottom: 2px solid var(--portal-gold);
  background: var(--portal-navy); color: var(--paper);
}
.drawer-heading h2 { padding: 0; margin: 0; font-size: 1.2rem; }
.drawer-close { position: static; }
.drawer-close button {
  width: 40px; height: 40px; border: 1px solid var(--portal-gold); border-radius: 2px;
  background: transparent; color: var(--portal-gold); font-size: 1.35rem;
}
.drawer-close button:hover { background: #e8eff81a; }
.drawer-nav { display: grid; align-content: start; flex: 1; gap: 2px; padding: 16px; overflow-y: auto; }
.drawer-nav a, .drawer-aspiration {
  display: flex; align-items: center; width: 100%; min-height: 48px; padding: 12px;
  border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink);
  font-size: .95rem; font-weight: 600; text-align: left; text-decoration: none;
}
.drawer-nav a:hover { background: var(--portal-ice); }
.drawer-aspiration { margin-block: 4px; border: 1px solid var(--accent); background: var(--accent); color: white; }
.drawer-aspiration:hover { background: #203c31; }
.drawer-footer { flex: 0 0 auto; padding: 14px 16px 12px; border-top: 1px solid var(--line); background: var(--portal-ice); }
.drawer-search label { display: block; margin: 0; font-weight: 600; }
.drawer-search .search-controls { margin-top: 8px; }
.drawer-search .search-controls input { width: 100%; min-height: 44px; margin: 0; padding: 8px 10px; }
.drawer-search .search-controls button { min-width: 64px; min-height: 44px; }
.admin-link {
  display: flex; align-items: center; justify-content: center; width: max-content; min-height: 40px;
  margin: 8px 0 0 auto; padding: 8px 14px; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink); font-size: .85rem; font-weight: 600; text-decoration: none;
}
.admin-link:hover { background: white; text-decoration: underline; }
.admin-link[hidden] { display: none; }
@keyframes drawer-in { from { transform: translateX(-100%); } to { transform: translateX(0); } }

@media (max-width: 900px) {
  .hero-grid { gap: 32px; }
  .updates, .profile { gap: 32px; }
  .service-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (681px <= width <= 1000px) {
  .activity-gallery .gallery-details { min-height: 368px; }
  .activity-gallery .gallery-viewport { position: relative; }
  .activity-gallery .gallery-track { position: absolute; inset: 0; }
  .activity-gallery .gallery-track img { height: 100%; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .masthead { min-height: 72px; gap: 12px; }
  .brand { padding-left: 8px; }
  .brand strong { font-size: 1.5rem; }
  .brand span { font-size: .68rem; }
  .hero { padding-block: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { max-width: none; font-size: clamp(3rem, 14vw, 4.8rem); }
  .hero-copy > p:not(.hero-label) { margin-top: 12px; }
  .hero-actions { margin-top: 20px; }
  .featured-news { min-height: 270px; aspect-ratio: 1.12; }
  .featured-copy { padding: 18px; }
  .photo-gallery:not([hidden]) { grid-template-columns: 1fr; }
  #fakultas .gallery-track img { height: clamp(180px, 57vw, 330px); }
  .activity-gallery { margin-bottom: 32px; }
  .gallery-caption h3 { min-height: 3lh; }
  .quick { padding-top: 28px; }
  .service-links a { min-height: 108px; padding: 12px 42px 12px 12px; }
  .updates, .profile { grid-template-columns: 1fr; gap: 32px; }
  .updates, .profile, .documents, .campus-gallery-section { padding-block: 32px; }
  .structure { padding-block: 32px; }
  .updates { gap: 36px; }
  .profile dl { grid-template-columns: 1fr; gap: 16px; }
  .profile-duties-title { margin-top: 24px; }
  .section-heading { align-items: start; }
  .aspiration { margin-bottom: 32px; }
}
.directory-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.directory-main { min-height: 70vh; padding-block: 42px 72px; }
.directory-main h1 { max-width: 18ch; margin-block: 12px; color: var(--portal-navy); font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.04; }
.directory-intro { max-width: 62ch; margin-bottom: 32px; color: var(--muted); font-size: 1.1rem; }
.directory-empty { max-width: 75ch; margin-top: 20px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--muted); }
.directory-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.directory-item { display: grid; gap: 10px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.directory-item h2 { color: var(--portal-navy); font-size: clamp(1.45rem, 3vw, 2rem); }
.directory-item > p:not(.meta) { max-width: 70ch; color: var(--muted); }
.directory-item > a { width: fit-content; color: var(--accent); font-weight: 600; text-underline-offset: .2em; }
.directory-filters { grid-template-columns: minmax(200px, 1fr) minmax(120px, .4fr) minmax(160px, .5fr); margin-bottom: 24px; }
.directory-filters input, .directory-filters select { width: 100%; }
@media (max-width: 900px) { .directory-header .desktop-nav, .directory-header .nav-aspiration { display: none; } }
@media (max-width: 680px) {
  .directory-header { min-height: 68px; }
  .directory-main { padding-block: 28px 52px; }
  .directory-filters { grid-template-columns: 1fr; }
}

/* Editorial type for a student parliament, with one clear reading face. */
h1, h2, .hero-parliament {
  font-family: var(--font-editorial);
  font-weight: 500;
  letter-spacing: -.018em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
h3 { font-family: var(--font-reading); font-weight: 600; letter-spacing: -.012em; text-wrap: balance; }
p { text-wrap: pretty; }
.hero h1 { letter-spacing: -.035em; }
.featured-copy h2 { font-size: clamp(1.45rem, 2.5vw, 2.15rem); line-height: 1.12; }
.directory-main h1 { line-height: 1.08; }
.stat-item strong { font-family: var(--font-editorial); font-variant-numeric: lining-nums; }
@media (prefers-reduced-motion: reduce) {
  .menu-drawer[open] { animation: none; }
}

/* Renascentia editorial system */
:root { --portal-gold: #c6a75e; --accent: #294d3f; }
.brand-strip-inner { justify-content: flex-start; }
.brand-strip .brand { text-align: left; }
.brand-strip img:last-child { margin-left: auto; }
.masthead { min-height: 68px; justify-content: space-between; }
.desktop-nav { display: flex; align-items: center; gap: clamp(10px, 1.5vw, 22px); }
.desktop-nav a, .portal-footer nav a { color: #25372e; font-size: .84rem; font-weight: 600; text-decoration: none; }
.desktop-nav a:hover, .portal-footer nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.nav-aspiration { flex: none; color: white; background: var(--accent); }
.menu-toggle { display: none; }
.hero { padding-block: clamp(48px, 7vw, 88px); }
.hero h1 { max-width: none; font-size: clamp(3.2rem, 6vw, 6rem); }
.hero-parliament { margin-top: 10px; color: var(--portal-gold); font-size: clamp(1.55rem, 2.8vw, 2.45rem); }
.hero-copy > p:not(.hero-label):not(.hero-parliament) { max-width: 42ch; }
.featured-news { min-height: 360px; }
.quick { padding-top: 0; transform: translateY(-1px); }
.service-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: #fffefa; }
.service-links a { min-height: 116px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px; }
.service-links a:nth-child(3n) { border-right: 0; }
.service-links a::after { right: 18px; }
.stats-section { padding-block: 54px 30px; }
.stats-grid { min-height: 78px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 20px; }
.stats-grid:not(:empty) { display: flex; align-items: center; flex-wrap: wrap; gap: 0; }
.stat-item { display: grid; gap: 4px; min-width: 170px; padding-inline: 22px; border-right: 1px solid var(--line); }
.stat-item:first-child { padding-left: 0; }
.stat-item strong { color: var(--portal-navy); font-family: var(--font-editorial); font-size: 2rem; font-weight: 500; line-height: 1; }
.stat-item span, .stat-note { color: var(--muted); font-size: .85rem; }
.stat-note { margin-left: auto; }
.content-empty { color: var(--muted); }
.oversight-band { padding-block: 56px; color: white; background: var(--accent); }
.oversight-inner { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.oversight-inner > div { max-width: 680px; }
.oversight-inner h2 { margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3rem); }
.oversight-inner .section-kicker { color: #e2cc91; }
.oversight-inner p:not(.section-kicker) { color: #e5eee8; }
.representation { padding-block: 54px; }
.representation > p { max-width: 66ch; color: var(--muted); }
.representation-empty { margin-top: 20px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--muted); }
.document-filters { display: grid; grid-template-columns: auto minmax(180px, 1fr) auto minmax(130px, .55fr) auto minmax(150px, .7fr); align-items: center; gap: 10px; margin-block: 24px 16px; }
.document-filters label { font-size: .84rem; font-weight: 600; }
.document-filters input, .document-filters select { min-height: 44px; min-width: 0; padding: 8px 10px; border: 1px solid #898e83; border-radius: 0; background: white; }
.portal-footer { background: #13233b; }
.footer-inner { grid-template-columns: minmax(240px, 1.4fr) minmax(240px, 1fr) auto; align-items: start; gap: 36px; }
.portal-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.portal-footer nav a { color: #f3f2e9; }
.portal-footer p { color: #e4e8e2; }
.portal-footer :focus-visible { outline-color: var(--portal-gold); }
.structure-card { border-radius: 0; }
@media (max-width: 1100px) {
  .desktop-nav { gap: 10px; }
  .desktop-nav a { font-size: .77rem; }
  .nav-aspiration { padding-inline: 10px; font-size: .78rem; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .featured-news { width: 100%; min-width: 0; aspect-ratio: 16 / 9; min-height: 0; }
  .masthead { justify-content: flex-end; }
  .desktop-nav, .nav-aspiration { display: none; }
  .menu-toggle { display: grid; }
  .document-filters { grid-template-columns: auto minmax(0, 1fr); }
  .document-filters label:not(:first-child) { margin-top: 4px; }
}
@media (max-width: 680px) {
  .masthead { min-height: 60px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .featured-news { width: 100%; min-width: 0; aspect-ratio: auto; }
  .service-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-links a { min-height: 112px; padding: 14px 38px 14px 14px; }
  .service-links a:nth-child(3n) { border-right: 1px solid var(--line); }
  .service-links a:nth-child(2n) { border-right: 0; }
  .oversight-inner { align-items: start; flex-direction: column; }
  .document-filters { align-items: start; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; padding-block: 28px; }
}

/* Quiet, shared interaction states. Transforms keep hover feedback out of layout flow. */
button, .button, .gallery-controls button, .dialog-close button, .drawer-close button {
  transition: color 210ms ease, background-color 210ms ease, border-color 210ms ease,
    box-shadow 210ms ease, transform 210ms ease, opacity 210ms ease;
}
button:active, .button:active, .gallery-controls button:active,
.dialog-close button:active, .drawer-close button:active { transform: scale(.98); }
button:disabled, button[aria-busy="true"], .button[aria-busy="true"] {
  cursor: wait; opacity: .72;
}
.button:focus-visible, button:focus-visible { transition: outline-color 210ms ease, outline-offset 210ms ease; }

@media (hover: hover) and (pointer: fine) {
  .featured-news, .news, .agenda-item, .directory-item, .structure-card, .service-links a,
  .profile dl div, .photo-gallery {
    transition: transform 210ms ease, box-shadow 210ms ease, border-color 210ms ease;
  }
  .featured-news:hover, .news:hover, .agenda-item:hover, .directory-item:hover, .structure-card:hover,
  .service-links a:hover, .profile dl div:hover, .photo-gallery:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px #13233b12;
    border-color: #9caa9f;
  }
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.content-loading { color: var(--muted); }
.featured-news > .content-loading.skeleton-featured { position: absolute; inset: 0; padding: 0; overflow: hidden; }
.skeleton-featured-image {
  position: absolute; inset: 0; display: block;
  background: linear-gradient(110deg, #1b3450 8%, #294562 18%, #1b3450 33%);
  background-size: 220% 100%; animation: skeleton-shimmer 1.5s linear infinite;
}
.skeleton-featured-copy {
  position: absolute; inset-inline: clamp(18px, 3vw, 32px); bottom: clamp(18px, 3vw, 32px);
  display: grid; gap: 10px; width: min(65%, 420px);
}
.skeleton-featured-copy i, .skeleton-news-card i, .skeleton-agenda-row i,
.skeleton-document-row i, .skeleton-directory-row i {
  display: block; height: 12px; border-radius: 2px;
  background: linear-gradient(110deg, #d9ded8 8%, #f0f1eb 18%, #d9ded8 33%);
  background-size: 220% 100%; animation: skeleton-shimmer 1.5s linear infinite;
}
.skeleton-featured-copy i { background-image: linear-gradient(110deg, #ffffff35 8%, #ffffff70 18%, #ffffff35 33%); }
.skeleton-featured-copy i:first-child { width: 28%; height: 9px; }
.skeleton-featured-copy i:nth-child(2) { width: 82%; height: 24px; }
.skeleton-featured-copy i:last-child { width: 64%; }
.skeleton-news { display: grid; }
.skeleton-news-card { display: grid; gap: 12px; max-width: 60ch; padding: 16px 0 18px; border-top: 1px solid var(--line); }
.skeleton-news-card + .skeleton-news-card { padding-top: 18px; }
.skeleton-news-card i:first-child { width: 24%; height: 9px; }
.skeleton-news-card i:nth-child(2) { width: 72%; height: 22px; }
.skeleton-news-card i:last-child { width: 92%; }
.skeleton-agenda { border-top: 1px solid var(--line); }
.skeleton-agenda-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.skeleton-agenda-row i:first-child { grid-row: span 2; width: 42px; height: 30px; }
.skeleton-agenda-row i:nth-child(2) { width: 55%; }
.skeleton-agenda-row i:last-child { width: 82%; height: 10px; }
.skeleton-documents, .skeleton-directory { display: grid; }
.skeleton-document-row { display: flex; align-items: center; min-height: 48px; padding-inline: 4px; border-bottom: 1px solid var(--line); }
.skeleton-document-row:first-of-type { border-top: 1px solid var(--line); }
.skeleton-document-row i { width: min(56%, 380px); }
.skeleton-directory-row { display: grid; gap: 12px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.skeleton-directory-row i:first-child { width: 22%; height: 9px; }
.skeleton-directory-row i:nth-child(2) { width: 60%; height: 24px; }
.skeleton-directory-row i:nth-child(3) { width: 82%; }
.skeleton-directory-row i:last-child { width: 18%; height: 10px; }
@keyframes skeleton-shimmer { to { background-position-x: -220%; } }
@media (prefers-reduced-motion: reduce) {
  button, .button, .gallery-controls button, .dialog-close button, .drawer-close button,
  .featured-news, .news, .agenda-item, .directory-item, .structure-card, .service-links a,
  .profile dl div, .photo-gallery { transition: none; }
  button:active, .button:active, .gallery-controls button:active,
  .dialog-close button:active, .drawer-close button:active { transform: none; }
  .skeleton-featured-image, .skeleton-featured-copy i, .skeleton-news-card i,
  .skeleton-agenda-row i, .skeleton-document-row i, .skeleton-directory-row i {
    animation: none; background-position: 0 0;
  }
}

/* Public editorial system. Admin keeps the shared base styles above. */
body.public-site {
  --ink: #202923;
  --text: #3f4a43;
  --muted: #546059;
  --paper: #fcfbf7;
  --wash: #f0eee6;
  --line: #d9d6cb;
  --accent: #294d3f;
  --action: #13233b;
  --portal-navy: #13233b;
  --portal-gold: #c6a75e;
  --portal-ice: #e8eff8;
  --panel-radius: 14px;
  --soft-shadow: 0 14px 36px #13233b0b;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-reading);
}

body.public-site .wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
body.public-site.home-page::before { content: none; animation: none; }
body.public-site p { color: var(--text); line-height: 1.7; }
body.public-site h1, body.public-site h2 {
  color: var(--portal-navy);
  font-family: var(--font-editorial);
  font-weight: 500;
  letter-spacing: -.028em;
  text-wrap: balance;
}
body.public-site h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.08; }
body.public-site h3 { color: var(--portal-navy); font-family: var(--font-reading); font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
body.public-site [id] { scroll-margin-top: 100px; }
body.public-site :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
body.public-site .skip { z-index: 120; border-radius: 6px; color: var(--portal-navy); background: #fff; }
body.public-site .text-link { color: var(--accent); text-underline-offset: .22em; }

body.public-site .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 4px 18px #13233b08;
}
body.public-site .masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 78px;
}
body.public-site .brand-lockup {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
  color: var(--portal-navy);
  text-decoration: none;
}
body.public-site .brand-lockup img { width: 40px; height: 40px; object-fit: contain; }
body.public-site .brand-lockup .brand {
  display: grid;
  gap: 4px;
  padding: 0;
  border: 0;
  color: var(--portal-navy);
}
body.public-site .brand-lockup .brand strong { font-size: 1.08rem; letter-spacing: -.035em; line-height: 1; }
body.public-site .brand-lockup .brand span { color: var(--muted); font-size: .72rem; }
body.public-site .desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.2vw, 18px); }
body.public-site .desktop-nav a {
  padding-block: 8px;
  border-bottom: 1px solid transparent;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
body.public-site .desktop-nav a:hover,
body.public-site .desktop-nav a[aria-current="page"] { border-color: var(--portal-gold); color: var(--portal-navy); }
body.public-site .button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 210ms ease, background-color 210ms ease, border-color 210ms ease, box-shadow 210ms ease, transform 210ms ease;
}
body.public-site .primary { color: #fff; background: var(--portal-navy); }
body.public-site .primary:hover { background: #1b3152; }
body.public-site .nav-aspiration { flex: none; color: var(--portal-navy); background: var(--portal-gold); }
body.public-site .nav-aspiration:hover { background: #d5b96f; }
body.public-site .menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-content: center;
  justify-items: center;
  gap: 5px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
}
body.public-site .menu-toggle:hover { background: var(--portal-ice); }
body.public-site .menu-toggle span { width: 19px; height: 2px; background: var(--portal-navy); }

body.public-site .hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(58px, 6vw, 88px);
  border: 0;
  color: var(--paper);
  background:
    radial-gradient(ellipse at 86% 15%, #45607a35 0, transparent 34%),
    var(--portal-navy);
}
body.public-site .hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(240px, .55fr); align-items: end; gap: clamp(38px, 7vw, 96px); }
body.public-site .hero-copy { max-width: 780px; padding: 0; }
body.public-site .hero-label {
  margin-bottom: 24px;
  color: #e3c879;
  font-size: .88rem;
  font-weight: 600;
}
body.public-site .hero h1 {
  max-width: 20ch;
  color: var(--paper);
  font-family: var(--font-reading);
  font-size: clamp(3.25rem, 6.4vw, 5.7rem);
  font-weight: 600;
  letter-spacing: -.068em;
  line-height: .98;
  text-wrap: balance;
}
body.public-site .hero h1 em {
  color: var(--portal-ice);
  font-family: var(--font-editorial);
  font-size: .94em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.05em;
}
body.public-site .hero-copy > p:not(.hero-label) { max-width: 58ch; margin-top: 24px; color: #e8eff8; font-size: clamp(1rem, 1.5vw, 1.18rem); }
body.public-site .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
body.public-site .hero .primary { color: var(--portal-navy); background: var(--portal-gold); }
body.public-site .hero .primary:hover { background: #d9bf78; }
body.public-site .hero .hero-secondary { border-color: #e8eff880; color: var(--paper); background: transparent; }
body.public-site .hero .hero-secondary:hover { border-color: var(--paper); background: #ffffff0c; }
body.public-site .hero :focus-visible,
body.public-site .aspiration :focus-visible,
body.public-site .portal-footer :focus-visible { outline-color: #e3c879; }
body.public-site .hero-note {
  max-width: 320px;
  justify-self: end;
  padding: 24px 0 8px 24px;
  border-left: 1px solid var(--portal-gold);
}
body.public-site .hero-note-label { margin-bottom: 10px; color: #e3c879; font-size: .8rem; font-weight: 600; }
body.public-site .hero-note > p:not(.hero-note-label) { color: var(--paper); font-family: var(--font-editorial); font-size: 1.22rem; line-height: 1.4; }
body.public-site .hero-note ul { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 20px 0 0; padding: 14px 0 0; border-top: 1px solid #e8eff82b; color: var(--portal-ice); font-size: .8rem; list-style: none; }

body.public-site .identity-band { padding-block: clamp(48px, 7vw, 82px); background: var(--portal-ice); }
body.public-site .identity-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; gap: clamp(36px, 7vw, 92px); }
body.public-site .identity-copy { max-width: 60ch; }
body.public-site .section-kicker { margin-bottom: 9px; color: var(--accent); font-size: .82rem; font-weight: 600; }
body.public-site .identity-copy h2 { margin-bottom: 16px; }
body.public-site .identity-copy > p:not(.section-kicker) { margin-bottom: 18px; }
body.public-site .identity-copy .text-link { display: inline-block; }
body.public-site .role-list { display: grid; gap: 0; margin: 0; }
body.public-site .role-list > div { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid #13233b24; }
body.public-site .role-list dt { color: var(--portal-navy); font-weight: 600; }
body.public-site .role-list dd { margin: 0; color: var(--text); font-size: .94rem; }

body.public-site .bento-section { padding-block: clamp(54px, 8vw, 96px); }
body.public-site .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
body.public-site .section-heading h2 { margin-top: 4px; }
body.public-site .section-heading > p { max-width: 35ch; margin: 0; color: var(--muted); font-size: .9rem; }
body.public-site .section-heading-actions { display: flex; align-items: center; gap: 20px; }
body.public-site .section-heading-actions > span { color: var(--muted); font-size: .82rem; }
body.public-site .bento-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(132px, auto); gap: 16px; }
body.public-site .bento-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  color: var(--ink);
  background: #fff;
  box-shadow: var(--soft-shadow);
  text-decoration: none;
}
body.public-site a.bento-card { transition: transform 210ms ease, box-shadow 210ms ease, border-color 210ms ease, background-color 210ms ease; }
body.public-site .bento-card h3 { margin: 0; font-size: clamp(1.1rem, 1.4vw, 1.35rem); line-height: 1.22; }
body.public-site .bento-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }
body.public-site .bento-label { color: var(--accent); font-size: .76rem; font-weight: 600; }
body.public-site .bento-action { margin-top: auto; color: var(--accent); font-size: .84rem; font-weight: 600; text-decoration: underline; text-decoration-color: #294d3f50; text-underline-offset: .2em; }
body.public-site .bento-aspiration { grid-column: span 4; grid-row: span 2; justify-content: space-between; border-color: var(--portal-navy); color: var(--paper); background: var(--portal-navy); }
body.public-site .bento-aspiration .bento-label,
body.public-site .bento-aspiration .bento-action { color: #e3c879; }
body.public-site .bento-aspiration h3 { color: var(--paper); font-family: var(--font-editorial); font-size: clamp(1.7rem, 2.5vw, 2.4rem); font-weight: 400; }
body.public-site .bento-aspiration p { color: #e8eff8; }
body.public-site .bento-agenda { grid-column: span 4; grid-row: span 2; background: var(--portal-ice); }
body.public-site .bento-agenda time { color: var(--muted); font-size: .78rem; }
body.public-site .bento-agenda h3 { font-family: var(--font-editorial); font-size: clamp(1.5rem, 2.1vw, 2rem); font-weight: 500; }
body.public-site .bento-statistics { grid-column: span 4; grid-row: span 2; background: #f4f1e8; }
body.public-site .bento-laws,
body.public-site .bento-publication,
body.public-site .bento-committee { grid-column: span 4; }
body.public-site .bento-laws > strong { color: var(--accent); font-family: var(--font-editorial); font-size: 1.7rem; font-weight: 500; }
body.public-site .bento-publication h3 { font-family: var(--font-editorial); font-size: 1.28rem; font-weight: 500; }
body.public-site .bento-publication p { font-size: .8rem; }
body.public-site .stats-grid { display: grid; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
body.public-site .stat-item { display: grid; gap: 4px; align-content: start; min-width: 0; padding-top: 10px; border-top: 1px solid #13233b25; }
body.public-site .stat-item strong { color: var(--portal-navy); font-family: var(--font-editorial); font-size: 1.8rem; font-weight: 500; line-height: 1; }
body.public-site .stat-item span { color: var(--muted); font-size: .7rem; line-height: 1.3; }
body.public-site .stat-note { grid-column: 1 / -1; margin-top: 4px !important; font-size: .72rem !important; }
body.public-site .content-empty { color: var(--muted); }
body.public-site .bento-card:focus-visible { outline-offset: 4px; }

body.public-site .aspiration {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 0;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid #13233b;
  border-radius: var(--panel-radius);
  color: var(--paper);
  background: var(--portal-navy);
  box-shadow: 0 18px 46px #13233b14;
}
body.public-site .aspiration .section-kicker { color: #e3c879; }
body.public-site .aspiration h2 { max-width: 17ch; margin-bottom: 14px; color: var(--paper); font-size: clamp(2rem, 4vw, 3.5rem); }
body.public-site .aspiration-copy > p:not(.section-kicker) { max-width: 62ch; color: #e8eff8; }
body.public-site .aspiration .button.light { flex: none; color: var(--portal-navy); background: var(--portal-gold); }
body.public-site .aspiration .button.light:hover { background: #d9bf78; }
body.public-site .agenda-section,
body.public-site .publication-section,
body.public-site .documents { padding-block: clamp(56px, 8vw, 92px); }
body.public-site .agenda-list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--panel-radius); background: #fff; box-shadow: var(--soft-shadow); }
body.public-site .agenda-item { grid-template-columns: 94px 1fr; gap: 22px; padding: 22px; border-bottom: 1px solid var(--line); }
body.public-site .agenda-item:last-child { border-bottom: 0; }
body.public-site .agenda-date { color: var(--accent); }
body.public-site .agenda-day { font-family: var(--font-editorial); font-size: 2.2rem; font-weight: 500; }
body.public-site .agenda-month { color: var(--muted); font-size: .78rem; }
body.public-site .agenda-copy h3 { font-size: 1.1rem; }
body.public-site .agenda-copy p,
body.public-site .agenda-empty { margin-top: 7px; color: var(--muted); font-size: .92rem; }
body.public-site .agenda-empty { padding: 22px; }

body.public-site .featured-news {
  position: relative;
  display: grid;
  min-height: 380px;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  color: var(--ink);
  background: #fff;
  box-shadow: var(--soft-shadow);
}
body.public-site .featured-news > img { width: 100%; height: 100%; min-height: 380px; aspect-ratio: 1.5; object-fit: cover; }
body.public-site .featured-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: clamp(26px, 4vw, 52px); background: #fff; }
body.public-site .featured-date { color: var(--accent); font-size: .8rem; }
body.public-site .featured-copy h2 { max-width: 20ch; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.06; }
body.public-site .featured-copy h2 a { color: var(--portal-navy); text-decoration-color: #13233b28; text-underline-offset: .16em; }
body.public-site .featured-copy p { max-width: 55ch; color: var(--muted); }
body.public-site .featured-news:not(.has-image) .featured-copy { grid-column: 1 / -1; }
body.public-site .featured-news > .content-loading.skeleton-featured { position: absolute; inset: 0; min-height: 0; }
body.public-site .skeleton-featured-image { background: linear-gradient(110deg, #dce4ec 8%, #eef1f2 18%, #dce4ec 33%); background-size: 220% 100%; }
body.public-site .skeleton-featured-copy i,
body.public-site .skeleton-news-card i,
body.public-site .skeleton-agenda-row i,
body.public-site .skeleton-document-row i { background: linear-gradient(110deg, #d9ded8 8%, #f0f1eb 18%, #d9ded8 33%); background-size: 220% 100%; }
body.public-site .news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
body.public-site .news {
  max-width: none;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}
body.public-site .news h3 { margin-block: 8px; font-size: 1.12rem; line-height: 1.2; }
body.public-site .news h3 a { color: var(--portal-navy); text-decoration: none; }
body.public-site .news > p:not(.meta) { margin-bottom: 14px; color: var(--muted); font-size: .9rem; }
body.public-site .news > a { color: var(--accent); font-size: .84rem; font-weight: 600; text-underline-offset: .2em; }
body.public-site .meta { color: var(--muted); font-size: .76rem; }
body.public-site .news-list > .content-empty { grid-column: 1 / -1; padding: 12px 0; }

body.public-site .documents > p { max-width: 70ch; margin: 10px 0 22px; color: var(--muted); }
body.public-site .document-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
body.public-site .filter-field { display: grid; gap: 6px; }
body.public-site .filter-field label { color: var(--ink); font-size: .82rem; font-weight: 600; }
body.public-site .document-filters input,
body.public-site .document-filters select,
body.public-site .directory-filters input,
body.public-site .directory-filters select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #89949b;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}
body.public-site .document-filters input:disabled,
body.public-site .document-filters select:disabled { color: var(--muted); background: #f0eee6; cursor: not-allowed; }
body.public-site .documents details { padding-inline: 16px; border: 1px solid var(--line); border-bottom: 0; background: #fff; }
body.public-site .documents details:first-of-type { border-radius: 10px 10px 0 0; }
body.public-site .documents details:last-child { border-bottom: 1px solid var(--line); border-radius: 0 0 10px 10px; }
body.public-site .documents summary { min-height: 58px; gap: 14px; }
body.public-site .documents summary strong { color: var(--portal-navy); }
body.public-site .documents details > p { max-width: 72ch; padding-bottom: 14px; color: var(--muted); }
body.public-site .documents details > a { display: inline-block; margin-bottom: 16px; color: var(--accent); font-size: .86rem; font-weight: 600; text-underline-offset: .2em; }
body.public-site .documents .content-empty { padding-block: 18px; }

body.public-site .committee-section { padding-block: clamp(52px, 8vw, 88px); background: var(--portal-ice); }
body.public-site .committee-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 16px; }
body.public-site .committee-card,
body.public-site .committee-note { padding: clamp(22px, 3vw, 32px); border: 1px solid #13233b1d; border-radius: var(--panel-radius); background: var(--paper); }
body.public-site .committee-card h3,
body.public-site .committee-note h3 { margin-bottom: 10px; font-family: var(--font-editorial); font-size: 1.42rem; font-weight: 500; }
body.public-site .committee-card p,
body.public-site .committee-note p { color: var(--muted); font-size: .9rem; }
body.public-site .committee-status { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
body.public-site .committee-card .text-link,
body.public-site .committee-note .text-link { display: inline-block; margin-top: 16px; }
body.public-site .committee-notes { display: grid; gap: 16px; }

body.public-site .photo-gallery:not([hidden]) { border-radius: var(--panel-radius); background: var(--portal-navy); }
body.public-site .portal-footer { padding-block: 36px; border-top: 2px solid var(--portal-gold); background: var(--portal-navy); color: var(--paper); }
body.public-site .footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
body.public-site .portal-footer strong { color: var(--paper); }
body.public-site .portal-footer p { max-width: 52ch; margin-top: 8px; color: #e8eff8; font-size: .82rem; }
body.public-site .portal-footer nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 24px; }
body.public-site .portal-footer a { color: #e3c879; font-size: .86rem; text-underline-offset: .2em; }

body.public-site dialog {
  width: min(520px, calc(100% - 28px));
  max-height: min(88vh, 760px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 24px 80px #0e1a2c32;
}
body.public-site dialog::backdrop { background: #0c1b2fb8; }
body.public-site dialog h2 { margin-bottom: 14px; font-size: 1.8rem; }
body.public-site dialog p { color: var(--muted); font-size: .9rem; }
body.public-site dialog label { display: block; margin-top: 14px; color: var(--ink); font-size: .85rem; font-weight: 600; }
body.public-site dialog input,
body.public-site dialog select,
body.public-site dialog textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-block: 6px 12px;
  padding: 10px 12px;
  border: 1px solid #89949b;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}
body.public-site dialog textarea { min-height: 120px; resize: vertical; }
body.public-site .dialog-close button,
body.public-site .drawer-close button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; color: var(--portal-navy); background: #fff; }
body.public-site .dialog-close button:hover,
body.public-site .drawer-close button:hover { background: var(--portal-ice); }
body.public-site #status-aspirasi:not(:empty) { margin-top: 14px; color: var(--accent); font-weight: 600; }
body.public-site .menu-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  display: none;
  width: min(400px, calc(100vw - 18px));
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  flex-direction: column;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  box-shadow: -8px 0 36px #13233b1c;
}
body.public-site .menu-drawer[open] { display: flex; animation: drawer-in 210ms ease-out; }
body.public-site .menu-drawer::backdrop { background: #0c1b2f88; }
body.public-site .drawer-heading { min-height: 68px; padding: 12px 18px; border-bottom: 1px solid #e3c879; background: var(--portal-navy); color: var(--paper); }
body.public-site .drawer-heading h2 { margin: 0; padding: 0; color: var(--paper); font-size: 1.3rem; }
body.public-site .drawer-close { position: static; }
body.public-site .drawer-close button { border-color: #e3c879; color: #e3c879; background: transparent; }
body.public-site .drawer-nav { display: grid; align-content: start; flex: 1; gap: 0; padding: 14px 18px; overflow-y: auto; }
body.public-site .drawer-nav a {
  display: flex;
  min-height: 50px;
  align-items: center;
  padding: 12px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  font-size: .96rem;
  font-weight: 600;
  text-decoration: none;
}
body.public-site .drawer-nav a:hover,
body.public-site .drawer-nav a[aria-current="page"] { color: var(--accent); }
body.public-site .drawer-aspiration { min-height: 48px; margin-top: 14px; padding: 10px 14px; border: 1px solid var(--portal-navy); border-radius: 8px; color: #fff; background: var(--portal-navy); text-align: left; }
body.public-site .drawer-footer { flex: none; padding: 16px 18px; border-top: 1px solid var(--line); background: var(--portal-ice); }
body.public-site .drawer-footer label { display: block; color: var(--ink); font-size: .84rem; font-weight: 600; }
body.public-site .drawer-footer .search-controls { margin-top: 8px; }
body.public-site .drawer-footer .search-controls input { min-width: 0; min-height: 46px; padding: 8px 10px; border: 1px solid #89949b; border-radius: 8px 0 0 8px; background: #fff; }
body.public-site .drawer-footer .search-controls button { min-width: 70px; min-height: 46px; border-radius: 0 8px 8px 0; }
body.public-site .admin-link { min-height: 42px; margin: 12px 0 0 auto; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--portal-navy); background: #fff; }
body.public-site .admin-link[hidden] { display: none; }
@keyframes drawer-in { from { transform: translateX(20px); opacity: .75; } to { transform: translateX(0); opacity: 1; } }

body.public-site .directory-main { min-height: 70vh; padding-block: clamp(36px, 6vw, 72px) clamp(58px, 8vw, 100px); }
body.public-site .directory-back { display: inline-block; margin-bottom: 38px; }
body.public-site .directory-main h1 { max-width: 16ch; margin-block: 12px 14px; color: var(--portal-navy); font-size: clamp(3rem, 7vw, 5.4rem); line-height: .98; }
body.public-site .directory-intro { max-width: 64ch; margin-bottom: 36px; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.18rem); }
body.public-site .directory-empty { max-width: 75ch; margin-top: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: #fff; }
body.public-site .directory-list { display: grid; gap: 14px; border: 0; }
body.public-site .directory-item { display: grid; gap: 10px; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--soft-shadow); }
body.public-site .directory-item h2 { color: var(--portal-navy); font-size: clamp(1.45rem, 2.5vw, 2rem); }
body.public-site .directory-item > p:not(.meta) { max-width: 72ch; color: var(--muted); }
body.public-site .directory-item > a { width: fit-content; color: var(--accent); font-weight: 600; text-underline-offset: .2em; }
body.public-site .directory-filters { grid-template-columns: minmax(0, 1fr) minmax(130px, .4fr) minmax(160px, .5fr); gap: 12px; margin-bottom: 22px; }
body.public-site .directory-filters input,
body.public-site .directory-filters select { width: 100%; }
body.public-site .directory-filters input { grid-column: span 1; }

@media (prefers-reduced-motion: no-preference) {
  body.public-site [data-reveal].reveal-pending:not(.is-revealed):not(:focus-within) { opacity: 0; transform: translateY(14px); }
  body.public-site [data-reveal] { transition: opacity 220ms ease, transform 220ms ease; }
}
@media (hover: hover) and (pointer: fine) {
  body.public-site a.bento-card:hover,
  body.public-site .news:hover,
  body.public-site .directory-item:hover {
    transform: translateY(-3px);
    border-color: #aab4b8;
    box-shadow: 0 18px 38px #13233b12;
  }
}
@media (max-width: 1060px) {
  body.public-site .masthead { min-height: 72px; }
  body.public-site .desktop-nav,
  body.public-site .nav-aspiration { display: none; }
  body.public-site .menu-toggle { display: grid; }
  body.public-site .bento-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  body.public-site .bento-aspiration,
  body.public-site .bento-agenda { grid-column: span 3; }
  body.public-site .bento-statistics { grid-column: span 6; grid-row: auto; }
  body.public-site .bento-laws,
  body.public-site .bento-publication,
  body.public-site .bento-committee { grid-column: span 2; }
}
@media (max-width: 820px) {
  body.public-site .wrap { width: min(100% - 40px, 720px); }
  body.public-site .hero { padding-block: 52px; }
  body.public-site .hero-grid,
  body.public-site .identity-layout,
  body.public-site .committee-grid { grid-template-columns: 1fr; }
  body.public-site .hero-grid { align-items: start; gap: 34px; }
  body.public-site .hero-note { justify-self: start; max-width: 540px; }
  body.public-site .role-list { margin-top: 8px; }
  body.public-site .bento-grid { grid-auto-rows: minmax(150px, auto); }
  body.public-site .bento-aspiration,
  body.public-site .bento-agenda { grid-row: auto; }
  body.public-site .featured-news { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 340px; }
  body.public-site .featured-news > img { min-height: 340px; }
  body.public-site .directory-filters { grid-template-columns: 1fr 1fr; }
  body.public-site .directory-filters input { grid-column: 1 / -1; }
  body.public-site .footer-inner { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body.public-site .wrap { width: calc(100% - 32px); }
  body.public-site .masthead { min-height: 66px; gap: 12px; }
  body.public-site .brand-lockup { gap: 7px; }
  body.public-site .brand-lockup img { width: 32px; height: 32px; }
  body.public-site .brand-lockup .brand strong { font-size: .98rem; }
  body.public-site .brand-lockup .brand span { font-size: .64rem; }
  body.public-site .menu-toggle { flex: none; width: 44px; height: 44px; }
  body.public-site .hero { padding-block: 42px 46px; }
  body.public-site .hero-label { margin-bottom: 20px; }
  body.public-site .hero h1 { max-width: 100%; font-size: clamp(2.3rem, 10vw, 3.1rem); line-height: 1.04; }
  body.public-site .hero-copy > p:not(.hero-label) { margin-top: 18px; font-size: 1rem; }
  body.public-site .hero-actions { display: grid; grid-template-columns: 1fr; margin-top: 24px; }
  body.public-site .hero-actions .button { width: 100%; }
  body.public-site .hero-note { padding-left: 18px; }
  body.public-site .identity-band { padding-block: 42px; }
  body.public-site .identity-layout { gap: 26px; }
  body.public-site .role-list > div { grid-template-columns: 1fr; gap: 4px; padding-block: 14px; }
  body.public-site .bento-section,
  body.public-site .agenda-section,
  body.public-site .publication-section,
  body.public-site .documents { padding-block: 46px; }
  body.public-site .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 18px; }
  body.public-site .section-heading-actions { width: 100%; justify-content: space-between; }
  body.public-site .bento-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 12px; }
  body.public-site .bento-aspiration,
  body.public-site .bento-agenda,
  body.public-site .bento-statistics,
  body.public-site .bento-laws,
  body.public-site .bento-publication,
  body.public-site .bento-committee { grid-column: auto; grid-row: auto; min-height: 185px; }
  body.public-site .bento-statistics { min-height: 220px; }
  body.public-site .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.public-site .stat-item strong { font-size: 1.55rem; }
  body.public-site .stat-item span { font-size: .66rem; }
  body.public-site .aspiration { align-items: flex-start; flex-direction: column; gap: 20px; padding: 24px; }
  body.public-site .aspiration .button { width: 100%; }
  body.public-site .agenda-item { grid-template-columns: 68px minmax(0, 1fr); gap: 14px; padding: 18px 16px; }
  body.public-site .agenda-day { font-size: 1.8rem; }
  body.public-site .featured-news,
  body.public-site .featured-news.has-image { min-height: 0; grid-template-columns: 1fr; }
  body.public-site .featured-news > img { min-height: 0; aspect-ratio: 1.35; }
  body.public-site .featured-copy { padding: 22px; }
  body.public-site .featured-copy h2 { font-size: 1.85rem; }
  body.public-site .news-list { grid-template-columns: 1fr; gap: 12px; }
  body.public-site .document-filters { grid-template-columns: 1fr; gap: 12px; }
  body.public-site .committee-section { padding-block: 46px; }
  body.public-site .committee-grid,
  body.public-site .committee-notes { gap: 12px; }
  body.public-site .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  body.public-site .portal-footer nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.public-site .directory-main { padding-block: 24px 60px; }
  body.public-site .directory-back { margin-bottom: 28px; }
  body.public-site .directory-main h1 { font-size: clamp(2.5rem, 11vw, 3.5rem); }
  body.public-site .directory-intro { margin-bottom: 28px; }
  body.public-site .directory-filters { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  body.public-site [data-reveal],
  body.public-site [data-reveal].reveal-pending:not(.is-revealed),
  body.public-site .menu-drawer[open],
  body.public-site .button,
  body.public-site button,
  body.public-site a.bento-card,
  body.public-site .news,
  body.public-site .directory-item { opacity: 1; transform: none; animation: none; transition: none; }
}
