/* 01. Design settings */
:root {
  --black: #000;
  --white: #fff;
  --grey: #5b5b5b;
  --line: #d8d8d8;
  --light: #f3f3f3;
  --font: 'Aptos', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 5.5vw, 88px);
  --section: clamp(64px, 8vw, 120px);
  --header: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 02. Base and accessibility */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 20px);
}
body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  border-radius: 0;
}
button:disabled {
  cursor: default;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
h1,
h2 {
  line-height: 1.08;
  letter-spacing: -0.055em;
}
h2 {
  font-size: clamp(32px, 4.15vw, 62px);
}
h3 {
  line-height: 1.35;
  letter-spacing: -0.025em;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
::selection {
  background: #999;
  color: #000;
}
.container {
  width: min(100%, 1600px);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  background: white;
  color: black;
  padding: 12px 20px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
}
.muted {
  color: var(--grey);
}
.section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-bottom: 60px;
}
.section-label > span {
  color: var(--grey);
  font-size: 13px;
}
.editorial-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 10%;
}
.editorial-grid > *,
.newsletter-grid > * {
  min-width: 0;
}
.lead {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  letter-spacing: -0.035em;
}

/* 03. Shared controls */
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 54px;
  padding: 15px 23px;
  border: 1px solid black;
  background: black;
  color: white;
  font-size: 14px;
  line-height: 1.4;
  transition:
    background 0.25s,
    transform 0.25s;
}
.button:hover {
  background: #303030;
  transform: translateY(-2px);
}
.button-white {
  background: white;
  color: black;
  border-color: white;
}
.button-white:hover {
  background: #dedede;
}
.button-small {
  min-height: 44px;
  padding: 12px 16px;
  font-size: 13px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 7px;
  transition: text-decoration-color 0.25s;
}
.text-link:hover {
  text-decoration-color: currentColor;
}
.button > span,
.text-link > span[aria-hidden] {
  font-size: 20px;
}
.quiet-button {
  min-height: 44px;
  padding: 10px 0;
  background: none;
  border: none;
  color: inherit;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.quiet-button:disabled {
  opacity: 0.65;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #555;
  background: transparent;
  color: white;
  font-size: 26px;
}
.icon-button:hover {
  background: white;
  color: black;
}

/* Vector icons render consistently on desktop, Android and iOS. */
.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.icon-button .icon { width: 24px; height: 24px; }
.footer-bottom > a:last-child { gap: 10px; }
.media-frame img { opacity: 0; }
.media-frame.is-loaded img { opacity: 1; }

/* 04. Header and mobile menu */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-inline: var(--gutter);
  background: black;
  color: white;
  border-bottom: 1px solid #292929;
}
.brand {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 14px;
}
.site-header nav > a:not(.button) {
  padding-block: 12px;
  text-underline-offset: 6px;
}
.site-header nav > a:not(.button):hover {
  text-decoration: underline;
}
.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px;
  border: 0;
  background: none;
  color: white;
  font-size: 13px;
}
.menu-icon {
  position: relative;
  width: 22px;
  height: 12px;
  border-block: 1px solid currentColor;
}
.menu-toggle[aria-expanded='true'] .menu-icon {
  border: 0;
}
.menu-toggle[aria-expanded='true'] .menu-icon::before,
.menu-toggle[aria-expanded='true'] .menu-icon::after {
  content: '';
  position: absolute;
  top: 5px;
  width: 22px;
  height: 1px;
  background: currentColor;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded='true'] .menu-icon::after {
  transform: rotate(-45deg);
}

/* 05. Static logo and white hero. The crop removes transparent margins only. */
.logo-window {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 798 / 1240;
  overflow: hidden;
}
.logo-window img {
  position: absolute;
  max-width: none;
  width: 250.6266%;
  height: 161.2903%;
  left: -75.3133%;
  top: -30.4839%;
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0 7%;
  padding-top: clamp(48px, 6vw, 95px);
  padding-bottom: 28px;
  background: white;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #555;
}
.short-rule {
  width: 26px;
  height: 1px;
  background: currentColor;
}
.hero h1 {
  font-size: clamp(50px, 6.3vw, 96px);
  line-height: 1.05;
  margin: 30px 0;
  letter-spacing: -0.065em;
}
.hero-description {
  max-width: 460px;
  color: var(--grey);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  margin-top: 30px;
}
.hero-logo {
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 30px 0;
}
.hero-logo .logo-window {
  width: clamp(200px, 21vw, 315px);
}
.hero-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 65px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: #555;
}
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 44px;
  font-size: 12px;
}
.scroll-cue > span {
  font-size: 20px;
}

/* 06. Editorial sections */
.editorial-copy > p:not(.lead) {
  color: var(--grey);
  margin-block: 20px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 64px;
}
.principles article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.item-number {
  color: #777;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.principles h3 {
  margin: 26px 0 12px;
  font-size: 21px;
}
.principles p {
  color: var(--grey);
  font-size: 15px;
}
.dark-section {
  background: black;
  color: white;
}
.dark-section .section-label {
  border-color: #444;
}
.dark-section .section-label > span {
  color: #aaa;
}
.university-description {
  max-width: 46ch;
  color: #bbb;
  margin: 28px 0 18px;
}
.university-grid {
  align-items: center;
}
.university-type {
  padding-left: 12%;
  border-left: 1px solid #555;
  font-size: clamp(35px, 5vw, 78px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.2;
}
.university-type span {
  display: block;
}
.university-type span:nth-child(2) {
  color: #b5b5b5;
}
.university-type span:nth-child(3) {
  color: #858585;
}

/* 07. Image strip and landscape gallery */
.image-strip {
  padding: 48px 0 25px;
  overflow: hidden;
}
.strip-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 35px;
}
.strip-heading h2 {
  font-size: clamp(30px, 3.4vw, 46px);
}
.strip-viewport {
  overflow: hidden;
}
.strip-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: image-flow 48s linear infinite;
  animation-play-state: paused;
}
.strip-group {
  display: flex;
  flex-shrink: 0;
  gap: 16px;
}
.strip-viewport.is-visible .strip-track.is-ready {
  animation-play-state: running;
}
.strip-track.is-paused,
.strip-viewport:hover .strip-track,
.motion-off .strip-track,
.page-hidden .strip-track,
.viewer-open .strip-track {
  animation-play-state: paused !important;
}
.strip-item {
  width: clamp(220px, 26vw, 380px);
  flex-shrink: 0;
  margin: 0;
}
.strip-bottom {
  display: flex;
  justify-content: flex-end;
}
@keyframes image-flow {
  to {
    transform: translateX(calc(-50% - 8px));
  }
}
.gallery-section {
  background: var(--light);
}
.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}
.gallery-heading > p {
  max-width: 32ch;
  color: var(--grey);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.gallery-item {
  padding: 0;
  border: 0;
  text-align: left;
  background: transparent;
  color: black;
}
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #e7e7e7;
  overflow: hidden;
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.2s ease, transform 0.55s var(--ease);
}
.media-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 20px;
  color: #656565;
  text-align: center;
  font-size: 12px;
}
.media-placeholder strong {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.06em;
}
.media-frame.is-loaded .media-placeholder {
  display: none;
}
.media-frame:not(.is-loaded) img {
  opacity: 0;
}
.gallery-item:not(:disabled):hover img {
  transform: scale(1.045);
}
.gallery-item:not(:disabled) {
  cursor: zoom-in;
}
.gallery-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  font-size: 12px;
}
.gallery-caption > span:last-child {
  font-size: 17px;
}

/* 08. Events */
.next-event {
  align-items: end;
}
.event-category {
  margin-bottom: 20px;
  color: #666;
}
.event-details > p {
  color: var(--grey);
  margin-bottom: 28px;
}
.event-details .button {
  max-width: 100%;
}
.event-meta {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  font-size: 14px;
}
.event-meta div {
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 12px;
}
.event-meta dt {
  color: #666;
}
.event-meta dd {
  margin: 0;
}
.upcoming-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 70px;
  margin-bottom: 22px;
}
.upcoming-heading h3 {
  font-size: 24px;
}
.upcoming-heading .eyebrow {
  color: #666;
}
.empty-events {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border-block: 1px solid var(--line);
  padding-block: 24px;
}
.empty-events p {
  color: var(--grey);
  font-size: 15px;
}
.event-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.event-row time,
.event-row p {
  font-size: 14px;
  color: #666;
}
.event-row h4 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}
.event-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.event-filters button {
  min-height: 44px;
  padding: 10px 16px;
  background: white;
  color: black;
  border: 1px solid #ccc;
  font-size: 14px;
}
.event-filters button[aria-pressed='true'] {
  background: black;
  color: white;
}

/* 09. Committee: five portraits */
.committee-heading {
  margin-bottom: 42px;
}
.committee-heading > p {
  color: var(--grey);
  margin-top: 20px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}
.team-card {
  min-width: 0;
}
.team-card .media-frame {
  aspect-ratio: 3 / 4;
}
.team-card h3 {
  font-size: 18px;
  margin-top: 18px;
  overflow-wrap: anywhere;
}
.team-position {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}
.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  border: 1px solid #ccc;
  padding: 8px 13px;
  margin-top: 16px;
  font-size: 12px;
  background: white;
  color: black;
}
.linkedin-link:hover:not(:disabled) {
  background: black;
  color: white;
  border-color: black;
}
.linkedin-link:disabled {
  color: #777;
  border-color: #ddd;
}

/* 10. Newsletter */
.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
}
.newsletter-grid h2 {
  margin-top: 32px;
  font-size: clamp(36px, 4.3vw, 66px);
}
.newsletter-description {
  max-width: 37ch;
  color: #bbb;
  margin-top: 28px;
}
.form-wrap {
  align-self: center;
}
.availability {
  color: #bbb;
  border-bottom: 1px solid #444;
  padding-bottom: 22px;
  margin: 18px 0 25px;
  font-size: 14px;
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 14px;
  margin-bottom: 9px;
}
.field label span {
  color: #aaa;
  font-size: 12px;
  margin-left: 5px;
}
.field input {
  width: 100%;
  min-width: 0;
  height: 54px;
  border: 1px solid #666;
  border-radius: 0;
  padding: 12px 14px;
  color: white;
  background: #151515;
  font-size: 16px;
}
.field input::placeholder {
  color: #999;
}
.field input[aria-invalid='true'] {
  border-color: white;
  box-shadow: 0 0 0 1px white;
}
.consent-field {
  display: flex;
  align-items: start;
  gap: 12px;
  margin-top: 25px;
}
.consent-field input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 4px 0 0;
  accent-color: white;
}
.consent-field label {
  color: #ddd;
  font-size: 14px;
}
.field-error {
  font-size: 13px;
  margin-top: 8px;
}
.field-error:empty {
  display: none;
}
.submit-button {
  width: 100%;
  margin-top: 26px;
}
.submit-button:disabled {
  opacity: 0.6;
  transform: none;
}
.reassurance {
  color: #aaa;
  font-size: 12px;
  margin-top: 15px;
}
.reassurance a {
  text-decoration: underline;
  margin-left: 10px;
}
#form-status {
  margin-top: 18px;
  font-size: 14px;
}

/* 11. Footer */
.site-footer {
  padding-block: 55px 25px;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  line-height: 1.6;
}
.footer-brand .logo-window {
  width: 56px;
  flex-shrink: 0;
}
.footer-brand small {
  display: block;
  color: #666;
  margin-top: 6px;
  font-size: 13px;
}
.footer-main nav {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 12px 30px;
  font-size: 13px;
}
.footer-main nav a {
  min-height: 32px;
}
#contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 12px;
  color: #666;
}
.footer-bottom > a:last-child {
  margin-left: auto;
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* 12. Simple image viewer */
html.viewer-open {
  overflow: hidden;
  scrollbar-gutter: stable;
}
.image-viewer {
  width: min(1100px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  padding: 20px;
  border: 1px solid #444;
  background: #090909;
  color: white;
}
.image-viewer:not([open]) {
  display: none;
}
.image-viewer::backdrop {
  background: #000e;
}
.image-viewer.is-fallback[open] {
  position: fixed;
  inset: 20px;
  z-index: 100;
  margin: auto;
}
.viewer-header,
.viewer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}
.viewer-header {
  margin-bottom: 15px;
}
.viewer-footer {
  margin-top: 15px;
}
.viewer-stage {
  display: grid;
  place-items: center;
  height: min(65dvh, 680px);
  background: #151515;
}
.viewer-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  min-height: 0;
}
#viewer-error {
  padding: 25px;
  text-align: center;
  color: #bbb;
}

/* 13. Entrance and scroll depth: the hero logo never moves. */
.intro {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: black;
  color: white;
  pointer-events: none;
}
.show-intro .intro {
  display: flex;
  animation: intro-failsafe 0s 5s forwards;
}
.show-intro.intro-leaving .intro {
  animation: curtain 0.4s var(--ease) forwards;
}
@keyframes intro-failsafe {
  to { visibility: hidden; opacity: 0; }
}
.intro-logo {
  width: 100px;
  filter: invert(1);
  animation: logo-enter 0.5s var(--ease) both;
}
.intro-line {
  width: 160px;
  height: 1px;
  margin: 26px 0 17px;
  background: #aaa;
  transform-origin: left;
  animation: line-enter 0.9s var(--ease) both;
}
.intro-address {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
}
@keyframes curtain {
  to {
    transform: translateY(-101%);
    visibility: hidden;
  }
}
@keyframes logo-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes line-enter {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.depth-heading {
  perspective: 1000px;
}
.depth-line {
  display: block;
  transform-origin: 50% 85%;
  transform: translate3d(0, var(--depth-y, 0px), 0) rotateX(var(--depth-angle, 0deg));
}
.reveal.is-visible {
  animation: reveal-depth 0.85s var(--ease) both;
}
@keyframes reveal-depth {
  from {
    opacity: 0.6;
    transform: perspective(1000px) translateY(22px) rotateX(8deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.motion-off .depth-line {
  transform: none !important;
}
.motion-off .reveal {
  animation: none !important;
}

/* 14. Tablet and mobile */
@media (max-width: 1100px) {
  .site-header nav {
    gap: 16px;
    font-size: 13px;
  }
  .brand {
    font-size: 14px;
  }
  .hero {
    column-gap: 4%;
  }
  .team-grid {
    gap: 16px;
  }
  .team-card h3 {
    font-size: 16px;
  }
  .newsletter-grid {
    gap: 7%;
  }
}
@media (max-width: 900px) {
  :root {
    --header: 74px;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-ready #main-nav {
    display: none;
    position: absolute;
    top: 73px;
    left: 0;
    right: 0;
    padding: 22px var(--gutter) 30px;
    background: black;
    border-bottom: 1px solid #444;
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
  }
  .nav-ready #main-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .nav-ready #main-nav > a {
    min-height: 44px;
  }
  html:not(.nav-ready) .site-header {
    height: auto;
    position: relative;
    flex-wrap: wrap;
    padding-block: 18px;
  }
  html:not(.nav-ready) #main-nav {
    flex-wrap: wrap;
  }
  .hero {
    grid-template-columns: 1.2fr 1fr;
  }
  .hero h1 {
    font-size: clamp(44px, 6.6vw, 64px);
  }
  .hero-logo .logo-window {
    width: clamp(170px, 24vw, 220px);
  }
  .hero-actions {
    gap: 12px;
  }
  .editorial-grid {
    gap: 6%;
  }
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 22px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-main {
    flex-wrap: wrap;
  }
}
@media (max-width: 650px) {
  .section-label {
    margin-bottom: 36px;
  }
  .section-label > span {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }
  .hero h1 {
    font-size: clamp(45px, 10.6vw, 67px);
    margin-block: 27px;
  }
  .hero-logo {
    padding-top: 45px;
    padding-bottom: 5px;
  }
  .hero-logo .logo-window {
    width: 205px;
  }
  .hero-bottom {
    margin-top: 35px;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-actions .text-link {
    justify-content: center;
    width: 100%;
  }
  .editorial-grid,
  .newsletter-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 42px;
  }
  .principles h3 {
    margin-top: 15px;
  }
  .university-type {
    margin-top: 10px;
    padding-left: 24px;
    font-size: 47px;
  }
  .strip-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .empty-events,
  .gallery-heading {
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }
  .gallery-heading > p {
    max-width: 42ch;
  }
  .gallery-grid {
    gap: 20px 12px;
  }
  .upcoming-heading {
    margin-top: 45px;
  }
  .upcoming-heading .eyebrow {
    font-size: 10px;
  }
  .event-row {
    grid-template-columns: 65px 1fr;
    gap: 16px;
  }
  .event-row > a {
    grid-column: 2;
  }
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px;
  }
  .newsletter-grid {
    gap: 42px;
  }
  .newsletter-grid h2 {
    font-size: clamp(33px, 8vw, 50px);
  }
  .footer-main nav {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 10px;
  }
  .footer-bottom > span {
    max-width: 230px;
  }
  .image-viewer {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    padding: 12px;
  }
  .viewer-stage {
    height: 58dvh;
  }
}
@media (max-width: 380px) {
  .brand {
    font-size: 12px;
  }
  .menu-label {
    display: none;
  }
  .menu-toggle {
    min-width: 44px;
    justify-content: center;
  }
  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
  .hero h1 {
    font-size: 42px;
  }
  h2 {
    font-size: 30px;
  }
  .team-grid,
  .gallery-grid {
    gap: 24px 10px;
  }
  .media-placeholder {
    font-size: 10px;
    padding: 12px;
  }
  .gallery-caption {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .intro,
  .show-intro .intro {
    display: none !important;
  }
  .depth-line {
    transform: none !important;
  }
  .strip-viewport {
    overflow-x: auto;
  }
  .strip-group[aria-hidden='true'] {
    display: none;
  }
  .button:hover,
  .gallery-item:hover img {
    transform: none;
  }
}
