:root {
  --wine: #751435;
  --wine-dark: #4d0d24;
  --wine-light: #a4395d;
  --cream: #f5f1e9;
  --paper: #fbfaf7;
  --white: #ffffff;
  --ink: #1c1b1a;
  --muted: #6c6863;
  --line: #ddd8d0;
  --gold: #d8b267;
  --shadow: 0 24px 70px rgba(36, 11, 20, 0.18);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

body.is-locked {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

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

.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;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--wine-dark);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.utility-bar {
  color: rgba(255, 255, 255, 0.78);
  background: var(--wine-dark);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.utility-bar__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.utility-bar p {
  margin: 0;
}

.utility-bar nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.utility-bar nav > span {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.24);
}

.language-button {
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  cursor: pointer;
}

.site-header {
  position: relative;
  z-index: 30;
  background: var(--white);
  border-bottom: 1px solid rgba(28, 27, 26, 0.08);
}

.site-header__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  width: 184px;
  height: 58px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.brand > .brand__text {
  padding-left: 13px;
  border-left: 1px solid #ded8d4;
}

.brand__mark {
  position: relative;
  width: 43px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--wine);
  border-radius: 22px 22px 8px 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.brand__mark::before,
.brand__mark::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 4px;
  height: 20px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
}

.brand__mark::before {
  left: 8px;
}

.brand__mark::after {
  right: 8px;
}

.brand__mark span {
  position: relative;
  z-index: 1;
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 700;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__text strong {
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  letter-spacing: 0.04em;
}

.brand__text small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}

.main-navigation > a {
  position: relative;
  padding: 32px 0 28px;
  color: #4e4a46;
}

.main-navigation > a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-navigation > a:hover::after,
.main-navigation > a.is-active::after {
  transform: scaleX(1);
}

.main-navigation > a.is-active {
  color: var(--wine);
}

.search-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.search-toggle span {
  position: relative;
  width: 16px;
  height: 16px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.search-toggle span::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  background: var(--ink);
  transform: rotate(48deg);
}

.header-access-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 0 18px;
  border: 1px solid var(--wine);
  color: var(--wine);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.header-access-button:hover {
  color: var(--white);
  background: var(--wine);
}

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  place-content: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button > span:not(.sr-only) {
  width: 25px;
  height: 2px;
  background: var(--wine);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(61, 7, 26, 0.98) 0%, rgba(86, 10, 37, 0.9) 46%, rgba(84, 10, 37, 0.6) 100%),
    url("assets/hero-rectorado.webp") center / cover no-repeat;
}

.hero__texture {
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background-image:
    linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.13) 50%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(255, 255, 255, 0.08) 50%, transparent 52%);
  background-size: 100px 100px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.hero::before {
  content: "UVUS";
  position: absolute;
  top: 50%;
  left: -65px;
  color: rgba(255, 255, 255, 0.025);
  font-family: Georgia, serif;
  font-size: clamp(180px, 25vw, 360px);
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
}

.hero__layout {
  position: relative;
  z-index: 2;
  min-height: 565px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
  padding-block: 74px 92px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 19px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5.2vw, 77px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero h1 em {
  color: #e6c684;
  font-weight: 400;
}

.hero__lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 39px;
}

.hero__facts {
  display: flex;
  gap: 28px;
  margin-top: 43px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 11px;
}

.hero__facts span {
  display: grid;
  gap: 2px;
  padding-right: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.19);
}

.hero__facts span:last-child {
  padding-right: 0;
  border-right: 0;
}

.hero__facts b {
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 400;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
  padding: 0 23px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--light {
  color: var(--wine);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(31, 4, 13, 0.18);
}

.button--light:hover {
  box-shadow: 0 16px 38px rgba(31, 4, 13, 0.27);
}

.button--primary {
  color: var(--white);
  background: var(--wine);
}

.button--primary:hover {
  background: var(--wine-dark);
}

.button--wide {
  width: 100%;
  justify-content: space-between;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--wine);
  font-size: 13px;
  font-weight: 700;
}

.text-link--light {
  color: rgba(255, 255, 255, 0.9);
}

.access-card {
  position: relative;
  padding: 38px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.access-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 4px;
  background: var(--gold);
}

.access-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border: 1px solid #e6d8dd;
  border-radius: 50%;
  color: var(--wine);
  background: #fcf5f7;
}

.access-card__icon span {
  position: relative;
  width: 15px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.access-card__icon span::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 2px;
  width: 7px;
  height: 9px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
}

.access-card__label {
  margin: 0 0 7px;
  color: var(--wine);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.access-card h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.15;
}

.access-card > p:not(.access-card__label) {
  margin: 15px 0 25px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.access-card__help {
  display: block;
  margin-top: 18px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.access-card__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px -38px -38px;
  padding: 14px;
  color: var(--muted);
  background: #f3f1ed;
  font-size: 11px;
}

.access-card__secure span {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  color: var(--wine);
  border: 1px solid #cab9bf;
  border-radius: 50%;
  font-size: 10px;
}

.hero__bottom {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 26px;
  background: var(--paper);
  clip-path: polygon(0 100%, 100% 20%, 100% 100%);
}

.quick-links {
  position: relative;
  z-index: 3;
  margin-top: -39px;
}

.quick-links__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  box-shadow: 0 14px 45px rgba(33, 24, 18, 0.09);
}

.quick-links__grid > a {
  min-height: 116px;
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 17px;
  padding: 24px 25px;
  border-right: 1px solid var(--line);
  transition: color 180ms ease, background 180ms ease;
}

.quick-links__grid > a:last-child {
  border-right: 0;
}

.quick-links__grid > a:hover {
  color: var(--white);
  background: var(--wine);
}

.quick-links__number {
  position: absolute;
  top: 12px;
  left: 14px;
  color: #b6b0aa;
  font-family: Georgia, serif;
  font-size: 10px;
}

.quick-links__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--wine);
  border: 1px solid #e2d7da;
  border-radius: 50%;
  font-size: 18px;
  transition: color 180ms ease, border 180ms ease;
}

.quick-links__grid > a:hover .quick-links__icon {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
}

.quick-links__grid strong,
.quick-links__grid small {
  display: block;
}

.quick-links__grid strong {
  margin-bottom: 4px;
  font-family: Georgia, serif;
  font-size: 18px;
}

.quick-links__grid small {
  color: var(--muted);
  font-size: 11px;
  transition: color 180ms ease;
}

.quick-links__grid > a:hover small {
  color: rgba(255, 255, 255, 0.68);
}

.quick-links__grid b {
  color: var(--wine);
  font-size: 18px;
  transition: color 180ms ease, transform 180ms ease;
}

.quick-links__grid > a:hover b {
  color: var(--white);
  transform: translate(2px, -2px);
}

.section {
  padding: 105px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 410px);
  align-items: end;
  gap: 60px;
  margin-bottom: 49px;
}

.section-heading--compact {
  align-items: center;
}

.eyebrow--dark {
  color: var(--wine);
}

.section-heading h2,
.help h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.section-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.university {
  padding-top: 125px;
}

.university__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: clamp(55px, 8vw, 105px);
}

.university__visual {
  min-height: 555px;
  position: relative;
  padding: 0 45px 54px 0;
}

.university__visual::before {
  content: "";
  position: absolute;
  top: 54px;
  right: 0;
  bottom: 0;
  left: 45px;
  background: var(--cream);
}

.university__visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 480px;
  display: block;
  object-fit: cover;
}

.university__visual > p {
  position: absolute;
  z-index: 2;
  right: 11px;
  bottom: 9px;
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.university__seal {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 34px;
  width: 138px;
  height: 138px;
  display: grid;
  place-content: center;
  padding: 16px;
  color: var(--white);
  background: var(--wine);
  text-align: center;
  box-shadow: 0 16px 38px rgba(61, 7, 26, 0.24);
}

.university__seal strong,
.university__seal span {
  display: block;
}

.university__seal strong {
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.university__seal span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.69);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.university__content h2 {
  max-width: 580px;
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.university__lead {
  margin: 25px 0 31px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.university__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 34px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.university__stats article {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.university__stats strong {
  color: var(--wine);
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
}

.university__stats span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.university__actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.profiles {
  padding: 76px 0;
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(75, 10, 33, 0.96), rgba(105, 16, 48, 0.96)),
    url("assets/hero-rectorado-alt.webp") center / cover no-repeat;
}

.profiles__layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 70px;
}

.profiles h2 {
  max-width: 380px;
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.08;
}

.profiles__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.profiles__links a {
  min-height: 96px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: color 180ms ease, background 180ms ease;
}

.profiles__links a:hover {
  color: var(--wine);
  background: var(--white);
}

.profiles__links span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 12px;
}

.profiles__links strong {
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 400;
}

.profiles__links b {
  font-size: 16px;
  font-weight: 400;
}

.filter-row {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.filter-row button {
  padding: 8px 14px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.filter-row button.is-active {
  color: var(--white);
  background: var(--wine);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-card[hidden] {
  display: none;
}

.service-card.is-highlighted {
  animation: highlight-card 1.2s ease;
}

@keyframes highlight-card {
  0%,
  100% {
    box-shadow: none;
  }
  35% {
    box-shadow: inset 0 0 0 4px var(--gold);
  }
}

.service-card:hover {
  position: relative;
  z-index: 2;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(37, 22, 26, 0.1);
}

.service-card--featured {
  color: var(--white);
  background: var(--wine);
}

.service-card__top {
  min-height: 50px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.service-card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--wine);
  border: 1px solid #e1d5d9;
  border-radius: 50%;
  font-size: 20px;
}

.service-card--featured .service-card__icon {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
}

.service-card__tag {
  padding: 5px 8px;
  color: var(--wine);
  background: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 29px 0 11px;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 400;
}

.service-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.service-card--featured p {
  color: rgba(255, 255, 255, 0.68);
}

.service-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--wine);
  font-size: 12px;
  font-weight: 700;
}

.service-card--featured a {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}

.campus {
  color: var(--white);
  background: #1f1b1c;
}

.campus .eyebrow {
  color: var(--gold);
}

.campus .section-heading > p {
  color: #aaa09f;
}

.campus-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  grid-template-rows: repeat(2, 280px);
  gap: 18px;
}

.campus-card {
  position: relative;
  overflow: hidden;
}

.campus-card--wide {
  grid-row: 1 / 3;
}

.campus-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 550ms ease;
}

.campus-card:hover img {
  transform: scale(1.035);
}

.campus-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(20, 8, 12, 0.88) 100%);
}

.campus-card__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 32px;
}

.campus-card__content span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.campus-card__content h3 {
  max-width: 500px;
  margin: 8px 0 0;
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 400;
  line-height: 1.13;
}

.campus-card--wide .campus-card__content h3 {
  font-size: clamp(32px, 4vw, 47px);
}

.campus-card__content p {
  max-width: 460px;
  margin: 11px 60px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 12px;
}

.campus-card__content a {
  position: absolute;
  right: 27px;
  bottom: 27px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  transition: color 180ms ease, background 180ms ease;
}

.campus-card__content a:hover {
  color: var(--wine);
  background: var(--white);
}

.campus-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 55px;
  border-top: 1px solid #474142;
  border-left: 1px solid #474142;
}

.campus-facts p {
  min-height: 105px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 20px 24px;
  border-right: 1px solid #474142;
  border-bottom: 1px solid #474142;
}

.campus-facts strong {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 400;
}

.campus-facts span {
  margin-top: 5px;
  color: #8f8585;
  font-size: 10px;
}

.news {
  background: var(--cream);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.notice {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--white);
  border-top: 3px solid #b6afa8;
}

.notice--important {
  border-top-color: var(--wine);
}

.notice__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #827b75;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notice__meta span {
  color: var(--wine);
}

.notice h3 {
  margin: 31px 0 15px;
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.28;
}

.notice p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.notice > a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-top: auto;
  color: var(--wine);
  border: 1px solid #d9cfd2;
  border-radius: 50%;
  transition: color 180ms ease, background 180ms ease;
}

.notice > a:hover {
  color: var(--white);
  background: var(--wine);
}

.help {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--wine-dark);
}

.help::after {
  content: "?";
  position: absolute;
  right: -15px;
  bottom: -170px;
  color: rgba(255, 255, 255, 0.025);
  font-family: Georgia, serif;
  font-size: 500px;
  line-height: 1;
}

.help__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(60px, 10vw, 140px);
}

.help__intro > p:not(.eyebrow) {
  max-width: 380px;
  margin: 21px 0 32px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
}

.help__contacts {
  display: grid;
  gap: 2px;
  margin-top: 36px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.help__contacts span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.help__contacts strong {
  margin-top: 3px;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 400;
}

.help__contacts small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
}

.faq {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.faq__item > button {
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0;
  border: 0;
  color: var(--white);
  background: transparent;
  font-family: Georgia, serif;
  font-size: 19px;
  text-align: left;
  cursor: pointer;
}

.faq__item > button b {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  font-family: "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.faq__answer {
  padding: 0 50px 24px 0;
}

.faq__answer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.75;
}

.site-footer {
  color: #c8c1bc;
  background: #181616;
}

.site-footer__top {
  min-height: 190px;
  display: grid;
  grid-template-columns: 0.75fr 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.brand--footer .brand__text strong {
  color: var(--white);
}

.brand--footer .brand__text small {
  color: #9b938d;
}

.brand__footer-logo {
  width: 230px;
  height: auto;
  display: block;
}

.site-footer__top > p {
  margin: 0;
  max-width: 330px;
  color: #908985;
  font-size: 13px;
  line-height: 1.8;
}

.site-footer__top nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
  justify-self: end;
  font-size: 12px;
  font-weight: 600;
}

.site-footer__top nav a:hover {
  color: var(--white);
}

.site-footer__bottom {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #343030;
  color: #766f6b;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.site-footer__bottom p {
  margin: 0;
}

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 10, 12, 0.72);
  backdrop-filter: blur(7px);
}

.modal__dialog {
  position: relative;
  width: min(100%, 470px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 40px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(18px);
  transition: transform 220ms ease;
}

.modal.is-open .modal__dialog {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 15px;
  right: 17px;
  width: 35px;
  height: 35px;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.modal__brand {
  margin-bottom: 24px;
}

.modal__brand img {
  width: 210px;
  max-width: 70%;
  height: auto;
  display: block;
}

.modal__eyebrow {
  margin: 0 0 6px;
  color: var(--wine);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.modal__dialog h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 400;
}

.modal__dialog > p:not(.modal__eyebrow) {
  margin: 12px 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.modal form {
  display: grid;
  gap: 18px;
}

.modal form > label {
  display: grid;
  gap: 7px;
  color: #4b4744;
  font-size: 12px;
  font-weight: 700;
}

.modal input {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  outline: 0;
}

.modal input:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(117, 20, 53, 0.1);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 55px;
}

.password-field button {
  position: absolute;
  top: 50%;
  right: 10px;
  padding: 4px;
  border: 0;
  color: var(--wine);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transform: translateY(-50%);
}

.modal__options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 7px;
}

.checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--wine);
}

.modal__options a {
  color: var(--wine);
  font-weight: 700;
}

.modal__note {
  display: block;
  margin-top: 18px;
  color: #8a837e;
  font-size: 10px;
  text-align: center;
}

.search-panel {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  left: 0;
  padding: 40px 0;
  color: var(--white);
  background: var(--wine-dark);
  box-shadow: 0 20px 50px rgba(21, 5, 10, 0.28);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-100%);
  transition: transform 220ms ease, opacity 220ms ease, visibility 220ms ease;
}

.search-panel.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.search-panel__inner {
  position: relative;
}

.search-panel form {
  max-width: 800px;
}

.search-panel label {
  display: block;
  margin-bottom: 11px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 24px;
}

.search-panel form > div {
  display: flex;
}

.search-panel input {
  width: 100%;
  height: 54px;
  padding: 0 17px;
  border: 0;
  outline: 0;
}

.search-panel form button {
  min-width: 110px;
  border: 0;
  color: var(--white);
  background: var(--wine);
  font-weight: 700;
  cursor: pointer;
}

.search-panel__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  font-size: 25px;
  cursor: pointer;
}

.toast {
  position: fixed;
  z-index: 120;
  right: 24px;
  bottom: 24px;
  max-width: min(380px, calc(100% - 48px));
  padding: 14px 18px;
  color: var(--white);
  background: #211d1e;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  font-size: 13px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.toast.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 980px) {
  .menu-button {
    display: grid;
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 25px;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 20px 35px rgba(35, 25, 27, 0.12);
  }

  .main-navigation.is-open {
    display: grid;
  }

  .main-navigation > a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .main-navigation > a::after {
    display: none;
  }

  .search-toggle {
    position: absolute;
    right: 150px;
    bottom: 30px;
  }

  .header-access-button {
    width: calc(100% - 50px);
    margin-top: 17px;
    justify-content: space-between;
  }

  .hero__layout {
    grid-template-columns: 1fr minmax(300px, 0.7fr);
    gap: 40px;
  }

  .university__layout {
    gap: 45px;
  }

  .university__visual {
    min-height: 500px;
  }

  .university__visual img {
    height: 430px;
  }

  .profiles__layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .profiles h2 {
    max-width: 650px;
  }

  .quick-links__grid > a {
    grid-template-columns: auto 1fr auto;
  }

  .quick-links__number {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .notice {
    min-height: 250px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .utility-bar p {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-header__inner {
    min-height: 76px;
  }

  .brand__mark {
    width: 37px;
    height: 45px;
  }

  .brand__logo {
    width: 145px;
    height: 48px;
  }

  .brand > .brand__text {
    display: none;
  }

  .brand__text strong {
    font-size: 23px;
  }

  .brand__text small {
    font-size: 8px;
  }

  .hero {
    min-height: 0;
  }

  .hero__layout {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 52px;
    padding-block: 68px 96px;
  }

  .hero h1 {
    font-size: clamp(43px, 12vw, 63px);
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .hero__facts {
    flex-wrap: wrap;
    gap: 18px;
  }

  .hero__facts span {
    padding-right: 18px;
  }

  .access-card {
    width: min(100%, 430px);
  }

  .quick-links {
    margin-top: -28px;
  }

  .quick-links__grid {
    grid-template-columns: 1fr;
  }

  .quick-links__grid > a {
    min-height: 100px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 23px;
    margin-bottom: 36px;
  }

  .section-heading--compact .text-link {
    justify-self: start;
  }

  .university {
    padding-top: 88px;
  }

  .university__layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .university__visual {
    min-height: 390px;
    padding: 0 27px 36px 0;
  }

  .university__visual::before {
    top: 35px;
    left: 27px;
  }

  .university__visual img {
    height: 345px;
  }

  .university__seal {
    width: 112px;
    height: 112px;
    bottom: 20px;
  }

  .university__seal strong {
    font-size: 30px;
  }

  .university__visual > p {
    display: none;
  }

  .university__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .profiles {
    padding: 67px 0;
  }

  .profiles__links {
    grid-template-columns: 1fr;
  }

  .filter-row {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .filter-row button {
    white-space: nowrap;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 285px;
  }

  .campus-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 430px 300px 300px;
  }

  .campus-card--wide {
    grid-row: auto;
  }

  .campus-card__content {
    padding: 25px;
  }

  .campus-card__content h3,
  .campus-card--wide .campus-card__content h3 {
    padding-right: 45px;
    font-size: 29px;
  }

  .campus-card__content a {
    right: 20px;
    bottom: 20px;
  }

  .campus-facts {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 35px;
  }

  .help__layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 48px;
  }

  .site-footer__top nav {
    width: 100%;
    justify-self: start;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding-block: 18px;
  }

  .modal__dialog {
    padding: 34px 24px;
  }

  .search-panel {
    padding: 30px 0;
  }

  .search-panel form {
    padding-right: 48px;
  }

  .search-panel label {
    font-size: 20px;
  }

  .search-panel form > div {
    flex-direction: column;
    gap: 8px;
  }

  .search-panel form button {
    min-height: 46px;
  }
}

@media (max-width: 430px) {
  .university__stats,
  .campus-facts {
    grid-template-columns: 1fr;
  }

  .hero__facts span {
    width: calc(50% - 10px);
    padding-right: 0;
    border-right: 0;
  }

  .access-card {
    padding: 30px 24px;
  }

  .access-card__secure {
    margin: 25px -24px -30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
