:root {
  --bg: #f3f4f6;
  --surface: #ffffff;
  --surface-soft: #f6f8fb;
  --ink: #1d2d3e;
  --muted: #5e6d7d;
  --line: #d8e0e8;
  --blue: #255d8f;
  --blue-dark: #173954;
  --red: #a12f2f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f5 100%);
  font-family: "Segoe UI", "Noto Sans", sans-serif;
}

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

.wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.utility-bar {
  background: #e9eef3;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}

.utility-inner,
.utility-links,
.utility-meta,
.main-nav,
.header-top,
.footer-grid,
.hero-layout,
.two-column,
.three-column,
.quick-grid,
.cards {
  display: flex;
}

.utility-inner {
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
}

.utility-links,
.utility-meta,
.main-nav {
  gap: 18px;
  flex-wrap: wrap;
}

.utility-links a,
.utility-meta span,
.main-nav a {
  color: var(--muted);
}

.institution-header,
.subpage-header,
.site-footer {
  background: var(--surface);
}

.header-top {
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 24px 0 18px;
}

.identity {
  display: flex;
  gap: 18px;
  align-items: center;
}

.seal {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #4678a8, var(--blue-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Georgia", serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.24);
}

.institution-header h1,
.subpage-header h1,
.hero-copy h2,
.feed-item h2,
.feed-item h3,
.card h2,
.card h3 {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
}

.institution-header h1 {
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  line-height: 1.1;
}

.subtitle,
.quote,
.quote-author,
.feed-item p,
.card p,
.hero-copy p,
.side-block p,
.prose p {
  color: var(--muted);
}

.menu-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.main-nav {
  padding: 14px 0;
}

.main-nav.compact {
  padding-top: 18px;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-banner {
  padding: 28px 0 22px;
}

.hero-layout,
.two-column {
  gap: 28px;
}

.hero-layout > *:first-child,
.two-column > *:first-child {
  flex: 1.7;
}

.hero-layout > *:last-child,
.two-column > *:last-child {
  flex: 1;
}

.hero-copy,
.hero-aside,
.quick-card,
.feed-item,
.side-block,
.card,
.timeline article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(31, 49, 69, 0.05);
}

.hero-copy {
  padding: 30px;
  border-top: 4px solid var(--blue);
}

.hero-copy h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  margin-bottom: 16px;
  max-width: 12ch;
}

.hero-aside {
  padding: 20px;
}

.notice-card + .notice-card {
  margin-top: 14px;
}

.notice-card.muted {
  background: var(--surface-soft);
  border: 1px dashed var(--line);
  padding: 14px;
}

.card-kicker,
.section-label,
.eyebrow {
  margin: 0 0 8px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.73rem;
}

.shortcut-section,
.section {
  padding: 20px 0 30px;
}

.quick-grid,
.cards,
.three-column {
  gap: 18px;
  flex-wrap: wrap;
}

.quick-grid > *,
.cards > *,
.three-column > * {
  flex: 1 1 240px;
}

.quick-card,
.side-block,
.card {
  padding: 20px;
}

.quick-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Georgia", serif;
  font-size: 1.1rem;
}

.quick-card span,
.feed-item p,
.card p,
.meta-row,
.simple-list,
.bullet-list {
  line-height: 1.6;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}

.feed-list {
  display: grid;
  gap: 14px;
}

.feed-item {
  padding: 18px 20px;
}

.feed-item.featured {
  border-left: 4px solid var(--blue);
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.bullet-list,
.simple-list,
.metrics {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bullet-list li,
.metrics li {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.bullet-list li:last-child,
.metrics li:last-child {
  border-bottom: 0;
}

.metrics strong {
  font-size: 1.75rem;
  color: var(--blue-dark);
}

.simple-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.simple-list li:last-child {
  border-bottom: 0;
}

.docs-grid {
  margin-top: 18px;
}

.doc-card {
  border-top: 3px solid var(--blue);
}

.portrait {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  background: #dfe6ec;
}

.alt {
  background: #edf2f7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cards.institutional .card {
  min-height: 190px;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline article {
  padding: 20px;
}

.timeline span {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.prose {
  max-width: 900px;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 18px;
}

.footer-grid {
  gap: 24px;
  padding: 24px 0 36px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-grid > * {
  flex: 1 1 260px;
}

@media (max-width: 900px) {
  .utility-inner,
  .header-top,
  .hero-layout,
  .two-column,
  .footer-grid {
    flex-direction: column;
  }
}
