/* The original site's colours, typography, proportions and grey content panels.
   Shared by the public website and the editor's generated previews. */
@font-face {
  font-family: "Source Sans Pro";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/source-sans-pro-300.ttf") format("truetype");
}
@font-face {
  font-family: "Source Sans Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/source-sans-pro-400.ttf") format("truetype");
}
@font-face {
  font-family: "Source Sans Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/source-sans-pro-700.ttf") format("truetype");
}
/* The original pink and charcoal palette, with more space and clearer hierarchy. */
:root {
  --paper: #fff;
  --white: #fff;
  --ink: #30343b;
  --muted: #656a73;
  --accent: #c23d7e;
  --accent-bright: #ff69b4;
  --accent-hover: #91275b;
  --accent-soft: #fbf0f5;
  --panel: #f4f5f7;
  --line: #e5e7eb;
  --content-width: 1080px;
  --body-font: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--body-font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 4px; }
h1, h2, h3, h4, h5 { margin: 0 0 .8rem; color: inherit; font-family: inherit; font-weight: 400; line-height: 1.2; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 300; letter-spacing: -.025em; }
h2 { font-size: 1.8rem; }
h3 { margin-top: 1.5rem; font-size: 1.4rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.1rem; }
p { margin: 0 0 1.1rem; }
ul, ol { margin: 0 0 1.1rem; padding-left: 1.5rem; }
li { margin-bottom: .4rem; }
img { max-width: 100%; height: auto; }
hr { margin: 1.8rem 0; border: 0; border-top: 1px solid var(--line); }
.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; }
.skip-link { position: absolute; top: -100px; left: 15px; z-index: 2000; padding: 10px 16px; background: #fff; }
.skip-link:focus { top: 10px; }

/* All section pages are available from the top banner. */
.site-header { position: relative; z-index: 1100; background: #30343b; border-bottom: 3px solid var(--accent-bright); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--content-width); margin: auto; padding: 14px 24px; }
.brand { display: flex; flex-shrink: 0; align-items: center; gap: 10px; color: #fff; font-size: 1.3rem; white-space: nowrap; }
.brand:hover { color: #fff; text-decoration: none; }
.monogram { display: inline-block; width: 32px; height: 32px; flex-shrink: 0; border-radius: 7px; background: url("/favicon.ico") center / contain no-repeat; color: transparent; font-size: 0; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.site-header .nav-link { display: flex; align-items: center; gap: 7px; padding: 9px 11px; border-radius: 6px; color: #d0d3d9; font-size: .95rem; cursor: pointer; }
.site-header .nav-link:hover, .site-header .nav-link[aria-current="page"], .nav-group.is-current > summary, .nav-group[open] > summary { background: #42464f; color: #fff; text-decoration: none; }
.nav-group { position: relative; margin: 0; }
.nav-group > summary { list-style: none; width: auto; }
.nav-group > summary::-webkit-details-marker { display: none; }
.chevron { flex-shrink: 0; transition: transform .15s ease; }
.nav-group[open] .chevron { transform: rotate(180deg); }
.nav-dropdown { position: absolute; top: calc(100% + 10px); left: 0; width: max-content; min-width: 220px; max-width: calc(100vw - 40px); padding: 8px; border: 1px solid #50545c; border-radius: 10px; background: #30343b; box-shadow: 0 14px 32px rgba(0, 0, 0, .18); }
.nav-dropdown a { display: block; padding: 9px 12px; border-radius: 5px; color: #eceef2; font-size: .95rem; }
.nav-dropdown a:first-child { margin-bottom: 4px; border-bottom: 1px solid #50545c; border-radius: 0; font-weight: 700; }
.nav-dropdown a:hover, .nav-dropdown a[aria-current="page"] { background: #45434d; color: #ffabd4; text-decoration: none; }
.menu-toggle { display: none; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid #696d76; border-radius: 6px; background: transparent; color: #fff; font: inherit; cursor: pointer; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; width: 100%; max-width: var(--content-width); margin: 25px auto -9px; padding: 0 24px; color: var(--muted); font-size: .9rem; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--ink); }

/* Academic content gets a comfortable reading column and a compact sidebar. */
.page-layout { width: 100%; max-width: var(--content-width); margin: 38px auto 56px; padding: 0 24px; }
.page-layout main { min-width: 0; }
.page-layout main > :first-child { margin-top: 0; }
.page-layout.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 38px; align-items: start; }
.with-sidebar main > h1:first-child { margin-bottom: .5rem; }
.with-sidebar main > h1 + p { margin-bottom: 1.5rem; color: var(--muted); font-size: 1.05rem; }
.content-section { margin: 26px 0; padding: 23px 24px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.content-section > h2:first-child { margin-top: 0; margin-bottom: 1rem; padding-bottom: .65rem; border-bottom: 1px solid #dcdee4; font-size: 1.65rem; }
.entries { margin: 1rem 0; padding: 0; list-style: none; }
.entries > li { margin: 0 0 1.15rem; padding-bottom: 1.1rem; border-bottom: 1px solid #e0e2e7; }
.entries > li:last-child { padding-bottom: 0; border-bottom: 0; }
.entry-meta { display: block; margin-top: .3rem; color: var(--muted); font-size: .9em; }
.paper-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: .65rem; }
.paper-links a { padding: 2px 10px; border: 1px solid #e4c6d5; border-radius: 5px; background: #fff; font-size: .85rem; }
details { margin-top: .6rem; }
summary { width: fit-content; max-width: 100%; cursor: pointer; color: var(--accent); }
details > p { margin-top: .8rem; }
.news-list article { margin-bottom: 1.1rem; padding-bottom: 1rem; border-bottom: 1px solid #dcdee4; }
.news-list article:last-child { padding-bottom: 0; border-bottom: 0; }
.eyebrow { margin-bottom: .3rem; color: #555a64; font-size: .85rem; font-weight: 700; }
.link-grid { display: flex; flex-wrap: wrap; gap: .6rem 1rem; padding-bottom: .8rem; }
.link-grid a { padding: 6px 11px; border: 1px solid #e3c5d4; border-radius: 6px; background: #fff; }

/* Original service icons, with accessible names and consistent touch targets. */
aside { min-width: 0; }
aside > .profile { position: relative; margin: 0 0 26px; padding: 25px 22px 19px; border: 1px solid #e4dae0; border-top: 3px solid #ef9dc4; border-radius: 12px; background: linear-gradient(160deg, #fbf2f7, #f3f4f7 70%); text-align: center; box-shadow: 0 5px 18px rgba(48, 52, 59, .055); }
.profile-photo { display: block; width: 175px; height: auto; margin-bottom: .7rem; border-radius: 10px; }
aside .profile-photo { width: 168px; max-width: 74%; margin: 0 auto 15px; border: 4px solid #fff; box-shadow: 0 3px 11px rgba(48, 52, 59, .1); }
.profile h2 { margin: .5rem 0; font-size: 1.55rem; }
aside .profile h2 { font-size: 1.45rem; }
.profile-role { margin-bottom: 1rem; color: var(--muted); line-height: 1.45; }
.profile-links { display: grid; grid-template-columns: repeat(auto-fit, 44px); justify-content: start; gap: 8px; margin: 1rem 0 .6rem; }
aside .profile-links { justify-content: center; }
.profile-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #e5d6df; border-radius: 8px; background: #fff; color: var(--accent); transition: border-color .15s, box-shadow .15s, transform .15s; }
.profile-link:hover { transform: translateY(-2px); border-color: #d378a4; box-shadow: 0 3px 8px rgba(154, 47, 100, .12); color: var(--accent-hover); text-decoration: none; }
.profile-icon { display: block; width: 32px; height: 32px; flex-shrink: 0; }
.service-logo { width: 27px; height: 27px; border-radius: 3px; object-fit: contain; }
.career { margin-top: 1.3rem; padding-left: 1.5rem; }
.career li { margin-bottom: .6rem; }
.student-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; margin: 26px 0; }
.student { padding: 23px 23px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.student .profile-photo { width: 145px; max-width: 70%; }
.student p { margin-bottom: .75rem; }
aside .content-section { padding: 20px 20px 10px; }
aside .content-section > h2 { font-size: 1.3rem; }
aside .entries, aside .news-list { font-size: .92rem; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin: 12px 0; }
.metrics > div { padding: 12px 4px; border: 1px solid #e5e5eb; border-radius: 8px; background: #fff; text-align: center; }
.metrics strong { display: block; font-size: 1.8rem; font-weight: 700; line-height: 1.15; }
.metrics span { display: block; margin-top: 4px; color: var(--muted); font-size: .8rem; }
.location-map { width: 100%; height: 380px; margin: 25px 0; border: 1px solid var(--line); border-radius: 12px; }

.site-footer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; width: 100%; max-width: var(--content-width); margin: 0 auto; padding: 28px 24px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.site-footer h2 { margin-bottom: .65rem; color: var(--ink); font-size: 1.15rem; }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 12px; font-size: .85rem; text-align: center; }
.preview-banner { margin: 0; padding: .7rem 1rem; border-bottom: 1px solid #e3c5d4; background: var(--accent-soft); text-align: center; }

@media (max-width: 950px) {
  .page-layout.with-sidebar { grid-template-columns: minmax(0, 1fr) 280px; gap: 25px; }
  .header-inner { gap: 15px; padding-right: 18px; padding-left: 18px; }
  .site-header .nav-link { padding-right: 8px; padding-left: 8px; }
  aside > .profile { padding-right: 16px; padding-left: 16px; }
}
@media (max-width: 800px) {
  .header-inner { flex-wrap: wrap; }
  .site-header nav { flex: 1 1 100%; align-items: stretch; padding-top: 10px; }
  .has-js .menu-toggle { display: inline-flex; }
  .has-js .site-header nav { display: none; }
  .has-js .site-header.menu-open nav { display: flex; flex-direction: column; }
  .site-header .nav-link { justify-content: space-between; padding: 10px 12px; }
  .nav-group > summary { width: 100%; }
  .nav-dropdown { position: static; width: 100%; min-width: 0; max-width: none; margin: 5px 0 8px; border: 0; border-left: 2px solid #b85d8c; border-radius: 0; background: #383c44; box-shadow: none; }
}
@media (max-width: 720px) {
  .page-layout.with-sidebar, .student-grid { grid-template-columns: minmax(0, 1fr); }
  .page-layout.with-sidebar { gap: 8px; }
  .page-layout, .breadcrumbs { padding-right: 20px; padding-left: 20px; }
  .page-layout { margin-top: 28px; }
  .page-layout main { margin-bottom: 12px; }
  aside .profile-photo { width: 175px; max-width: 65%; }
  .site-footer { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-right: 20px; padding-left: 20px; }
  .location-map { height: 300px; }
  .content-section { padding: 20px 18px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-link, .chevron { transition: none; }
  .profile-link:hover { transform: none; }
}
@media print {
  .site-header, .breadcrumbs, .skip-link { display: none; }
  .page-layout, .site-footer { max-width: none; }
  a { color: inherit; }
  .content-section, aside > .profile, .student { break-inside: avoid; }
}
