.campus-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: max(740px, 100svh);
  box-sizing: border-box;
  padding: 132px 24px 96px;
  overflow: hidden;
  color: #fff;
  background: #03182b;
  font-family: "Onest", "COMPEC Plex Sans", Arial, sans-serif;
}
.campus-hero > picture { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.campus-backdrop { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.campus-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(2,16,31,.12), rgba(2,16,31,.52) 38%, rgba(2,16,31,.52) 62%, rgba(2,16,31,.12));
}
.campus-identity { width: min(100%, 800px); text-align: center; }
.campus-identity h1 {
  margin: 0 0 22px;
  color: #fff;
  font: 650 clamp(48px, 5vw, 72px)/1 "Bricolage Grotesque", Arial, sans-serif;
  font-variation-settings: "opsz" 72, "wght" 650, "wdth" 100;
  letter-spacing: -.015em;
}
.campus-mark { display: block; width: clamp(180px, 16vw, 220px); height: auto; margin: 0 auto 28px; object-fit: contain; }
.campus-university { margin: 0 0 8px; color: #c7e6f4; font-size: clamp(18px, 1.7vw, 24px); font-weight: 450; line-height: 1.3; letter-spacing: -.02em; }
html body .campus-name { margin: 0; color: #fff; font-family: "Bricolage Grotesque", Arial, sans-serif !important; font-size: clamp(32px, 3.4vw, 48px); font-weight: 550; font-variation-settings: "opsz" 44, "wght" 550, "wdth" 100; line-height: 1.1; letter-spacing: -.025em; }
.campus-tagline { margin: 28px 0 0; color: #c3e4f5; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; }
.campus-actions { display: flex; justify-content: center; gap: 20px; margin: 36px auto 0; width: min(100%, 600px); }
.campus-action { position: relative; display: flex; flex: 1; gap: 14px; align-items: center; justify-content: space-between; min-width: 0; min-height: 64px; padding: 10px 14px 10px 26px; border: 1px solid #bed6eb; border-radius: 0; box-shadow: 5px 5px 0 #061427; text-decoration: none; text-align: left; font-size: 18px; font-weight: 650; line-height: 1.3; transition: background .18s, transform .18s; }
.campus-archive { background: #f1f3ef; color: #08233b; }
.campus-archive::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 6px; background: #2854ff; }
.campus-events { background: #2854ff; color: #fff; }
.campus-action-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid currentColor; }
.campus-action-icon svg { width: 25px; height: 25px; }
.campus-archive:hover { background: #fff; }
.campus-events:hover { background: #1941db; }
.campus-action:hover { transform: translateY(-2px); }
.campus-action:focus-visible { outline: 3px solid white; outline-offset: 5px; }
@media (max-width: 600px) {
  .campus-hero { min-height: max(680px, 100svh); padding: 126px 20px 90px; background-position: 62% center; }
  .campus-hero::before { background: rgba(2,16,31,.44); }
  .campus-identity h1 { font-size: 48px; margin-bottom: 18px; }
  .campus-mark { width: 156px; margin-bottom: 22px; }
  .campus-university { font-size: 18px; margin-bottom: 7px; }
  html body .campus-name { font-size: 34px; }
  .campus-tagline { font-size: 16px; margin-top: 22px; }
  .campus-actions { gap: 12px; margin-top: 30px; }
  .campus-action { padding: 12px 14px; font-size: 16px; min-height: 64px; }
  .campus-action-icon { display:flex; width:20px; height:20px; flex:0 0 20px; }
  .campus-action { gap:8px; }
  .campus-identity::after { display:none; }
}
@media (max-width: 340px) { .campus-actions { flex-direction: column; } .campus-action { min-height: 54px; } }
@media (prefers-reduced-motion: reduce) { .campus-action { transition: none; } }

/* Reference-led hero: keep the existing shell and background isolated. */
.campus-hero { min-height: max(760px, 100svh); padding: 130px 24px 90px; }
.campus-identity { position: relative; width: min(100%, 920px); }
.campus-identity::before, .campus-identity::after { content: ""; position: absolute; width: 28px; height: 28px; border-color: #8ab2ee; border-style: solid; pointer-events: none; }
.campus-identity::before { left: 6%; top: -8px; border-width: 1px 0 0 1px; }
.campus-identity::after { right: 6%; bottom: 42px; border-width: 0 1px 1px 0; }
.campus-identity h1 { font-size: clamp(66px, 8.3vw, 120px); letter-spacing: -.045em; transform: skewX(-7deg); margin-bottom: 32px; }
.campus-emblem { position: relative; display: grid; place-items: center; width: min(100%, 800px); height: clamp(190px, 18vw, 260px); margin: 0 auto 18px; }
.campus-emblem::before { content: ""; position: absolute; width: 58%; aspect-ratio: 1; border: 1px solid #7da7db; border-radius: 50%; opacity: .65; clip-path: inset(12% 0); }
.campus-emblem::after { content: ""; position: absolute; width: 53%; aspect-ratio: 1; border: 1px dashed #5b8cbb; border-radius: 50%; opacity: .35; clip-path: inset(10% 0); }
.campus-mark { position: relative; z-index: 1; width: clamp(230px, 24vw, 350px); margin: 0; }
.campus-instrument { position: absolute; inset: 0; color: #b2d4ed; pointer-events: none; }
.campus-instrument svg { position: absolute; inset: 0; width: 100%; height: 100%; stroke: #90b8e2; stroke-width: 1; fill: none; opacity: .8; }
.campus-instrument::before, .campus-instrument::after { content: ""; position: absolute; width: 80px; height: 80px; background: linear-gradient(#6a9cc433 1px, transparent 1px), linear-gradient(90deg, #6a9cc433 1px, transparent 1px); background-size: 20px 20px; pointer-events: none; }
.campus-instrument::before { left: -3%; top: -20%; }
.campus-instrument::after { right: -8%; bottom: -60%; }
.campus-coordinates, .campus-established { position: absolute; font-size: 12px; letter-spacing: .15em; line-height: 1.5; }
.campus-coordinates { left: 0; top: 71%; text-align: left; }
.campus-established { right: 0; top: 22%; }
.campus-university { font-size: clamp(30px, 4.4vw, 64px); line-height: 1.05; color: #f6f8fa; margin-bottom: 3px; letter-spacing: -.025em; }
html body .campus-name { font-size: clamp(34px, 4.5vw, 66px); font-weight: 400; font-style: italic; line-height: 1.06; letter-spacing: -.02em; }
.campus-tagline { display: flex; gap: 26px; justify-content: center; align-items: center; font-size: clamp(17px, 1.8vw, 25px); margin-top: 24px; letter-spacing: .03em; color: #f0f5fb; }
.campus-tagline::before, .campus-tagline::after { content: ""; width: 44px; height: 1px; background: #c1d3e5; }
.campus-actions { width: min(100%, 560px); gap: 26px; margin-top: 32px; }
.campus-action { justify-content: center; flex: 1 1 auto; padding: 14px 20px; border-radius: 15px; min-height: 60px; font-size: 18px; gap: 14px; box-shadow: none; transform: skewX(-5deg); }
.campus-action > * { transform: skewX(5deg); }
.campus-action-icon { order: -1; border: 0; width: 25px; height: 25px; flex-basis: 25px; }
.campus-archive { background: rgba(9, 29, 47, .6); color: #fff; border-color: #e1edf7; }
.campus-archive::before { display: none; }
.campus-events { background: #2854ff; border-color: #8ab4ff; box-shadow: 0 5px 22px #1845c52b, inset 0 0 0 1px #83a4ff40; }
.campus-archive:hover { background: #16374f; }
.campus-action:hover { transform: skewX(-5deg) translateY(-2px); }
@layer compec-typography {
  html body .campus-university, html body .campus-name, html body .campus-tagline { font-family: "Newsreader", Georgia, serif !important; }
  html body .campus-name, html body .campus-tagline { font-style: italic; font-variation-settings: normal; }
  html body .campus-instrument span { font-family: "IBM Plex Mono", monospace !important; }
}
@media (max-width: 600px) {
  .campus-hero { min-height: max(700px, 100svh); padding: 118px 22px 72px; }
  .campus-identity h1 { font-size: clamp(54px, 14vw, 80px); margin-bottom: 24px; }
  .campus-emblem { height: 160px; margin-bottom: 24px; }
  .campus-mark { width: 230px; max-width: 76%; }
  .campus-emblem::before { width: 85%; }
  .campus-emblem::after { width: 78%; }
  .campus-instrument { display: none; }
  .campus-university { font-size: clamp(27px, 7.5vw, 40px); }
  html body .campus-name { font-size: clamp(32px, 8.8vw, 44px); }
  .campus-tagline { font-size: 18px; gap: 0; margin-top: 20px; letter-spacing: 0; }
  .campus-tagline::before, .campus-tagline::after { display: none; }
  .campus-actions { gap: 12px; margin-top: 28px; }
  .campus-action { min-height: 58px; padding: 10px 12px; font-size: 16px; border-radius: 10px; }
  .campus-action-icon { display:grid;place-items:center;width:20px;height:20px;flex:0 0 20px;visibility:visible;opacity:1; }
  .campus-action-icon svg { display:block;width:20px;height:20px;stroke:currentColor; }
  .campus-action { gap:8px; }
}

/* Separate the lettering from the detailed artwork without altering the image. */
.campus-identity h1,
.campus-university,
html body .campus-name,
.campus-tagline {
  text-shadow:0 2px 2px #000,0 4px 6px #000,0 0 10px #000,0 0 20px #000,0 8px 32px rgba(0,0,0,.95),0 0 52px rgba(0,0,0,.9)!important;
}

/* One opening screen on desktop and mobile; scale the composition with height. */
.campus-hero {
  height: 100vh;
  height: 100svh;
  min-height: 0;
  padding: clamp(84px, 11svh, 116px) 24px 4svh;
}
.campus-identity h1 { font-size: clamp(36px, 11svh, 120px); margin-bottom: 2.5svh; }
.campus-emblem { height: min(24svh, 260px); margin-bottom: 2svh; }
.campus-mark { width: min(24vw, 36svh, 350px); }
.campus-university { font-size: clamp(24px, 6.4svh, 64px); }
html body .campus-name { font-size: clamp(27px, 6.7svh, 66px); }
.campus-tagline { font-size: clamp(16px, 2.8svh, 25px); margin-top: 2.5svh; }
.campus-actions { margin-top: 3svh; }
.campus-action { min-height: 0; height: clamp(46px, 7svh, 64px); padding-block: 8px; }
@media (max-width: 600px) {
  .campus-hero { height: 100svh; min-height: 0; padding: clamp(84px, 12svh, 108px) 22px 4svh; }
  .campus-identity h1 { font-size: clamp(36px, min(14vw, 9svh), 76px); margin-bottom: 2svh; }
  .campus-emblem { height: min(21svh, 174px); margin-bottom: 2.5svh; }
  .campus-mark { width: min(66vw, 31svh, 230px); }
  .campus-university { font-size: clamp(22px, min(7.5vw, 4.8svh), 40px); }
  html body .campus-name { font-size: clamp(26px, min(8.8vw, 5.5svh), 44px); }
  .campus-tagline { font-size: 16px; margin-top: 2.5svh; line-height: 1.3; }
  .campus-actions { margin-top: 3svh; }
  .campus-action { min-height: 44px; height: 7svh; }
}
@media (max-width: 340px) { .campus-actions { flex-direction: row; gap: 8px; } .campus-action { padding-inline: 8px; } }
