:root {
  --blue: #0d4096;
  --blue-deep: #072e74;
  --gold: #f2b700;
  --gold-soft: #ffd85a;
  --text: #16304f;
  --muted: #5f6f84;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --shadow: 0 22px 50px rgba(5, 18, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-anchor: none;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(242, 183, 0, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 22%, #f4f7fc 100%);
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon,
.brand-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: none;
}

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-icon {
  fill: currentColor;
  stroke: none;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--surface);
  box-shadow: var(--shadow);
}

main {
  animation: content-enter 0.28s ease;
  transition: opacity 0.16s ease;
}

body.is-content-leaving main {
  opacity: 0;
  pointer-events: none;
}

.content-reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-index, 0) * 0.055s);
  will-change: opacity, transform;
}

.content-reveal:not(.is-visible) {
  animation: none !important;
}

.content-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@keyframes content-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .content-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

robinhill-header {
  display: block;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header {
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.header-topbar {
  display: block;
  width: 100%;
  height: 44px;
  background: linear-gradient(110deg, var(--gold) 0 24%, #ffffff 24% 29%, var(--blue) 29% 100%);
}

.header-row {
  display: grid;
  grid-template-columns: minmax(300px, 34%) minmax(0, 1fr);
  align-items: stretch;
  min-height: 122px;
  background: var(--blue);
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  min-width: 0;
  padding: 0.7rem 0.9rem 0.7rem 0.55rem;
  background: #ffffff;
  color: var(--blue-deep);
  clip-path: polygon(0 0, 86% 0, 100% 100%, 0 100%, 0 0);
}

.brand::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: 0;
  width: 86px;
  height: 72px;
  background: linear-gradient(135deg, transparent 49%, #ffffff 50%);
  transform: translateY(1px);
}

.brand-logo {
  width: 126px;
  height: auto;
  flex: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  padding-top: 0.15rem;
  min-width: 0;
}

.brand-name,
.brand-subtitle {
  font-family: "Montserrat", sans-serif;
  line-height: 1;
}

.brand-name {
  font-size: 1.82rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-subtitle {
  font-size: 1.07rem;
  font-weight: 600;
  letter-spacing: 0;
}

.primary-nav {
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 0;
  overflow: hidden;
}

.primary-nav .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  justify-content: center;
  min-width: 0;
  padding: 0 clamp(0.55rem, 0.95vw, 1.1rem);
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: center;
  overflow-wrap: anywhere;
  border: 0;
  background: transparent;
  appearance: none;
  cursor: pointer;
}

.primary-nav .nav-trigger.is-active {
  background: var(--gold);
  color: #ffffff;
  min-width: 108px;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.nav-caret {
  width: 0.92em;
  height: 0.92em;
  stroke-width: 2.5;
}

.primary-nav .nav-trigger:hover,
.primary-nav .nav-trigger:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
}

.primary-nav .nav-trigger.is-active:hover,
.primary-nav .nav-trigger.is-active:focus-visible {
  background: #f0bf00;
}

.hero {
  position: relative;
  min-height: clamp(420px, 68svh, 700px);
  height: auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--blue);
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  overflow: hidden;
  transition:
    opacity 1.75s ease-in-out,
    transform 1.75s ease-in-out;
  transform: scale(1);
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
  transform: scale(1);
}

.hero-slide.is-leaving {
  opacity: 0;
  z-index: 1;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06) translate3d(-1.2%, 0, 0);
  transform-origin: center;
  will-change: transform;
}

.hero-slide.is-active img {
  animation: hero-photo-drift 5.6s ease-in-out infinite alternate;
}

.hero-slide.is-leaving img {
  animation: hero-photo-drift 5.6s ease-in-out infinite alternate;
}

@keyframes hero-photo-drift {
  from {
    transform: scale(1.06) translate3d(-1.2%, 0, 0);
  }

  to {
    transform: scale(1.13) translate3d(1.2%, -0.8%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide img,
  .hero-slide.is-active img,
  .hero-slide.is-leaving img {
    animation: none;
    transition: none;
    transform: none;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 20%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(1, 54, 134, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 1.5rem));
  text-align: center;
  color: #ffffff;
  padding: 3.5rem 1rem 2rem;
}

.hero-kicker {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  text-wrap: balance;
}

.hero h1 {
  margin: 0.15rem 0 0;
  font-family: "Montserrat", sans-serif;
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  text-wrap: balance;
}

.hero-lead {
  margin: 0.8rem auto 0;
  max-width: 28rem;
  font-size: 1.22rem;
  line-height: 1.4;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.42);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 132px;
  padding: 0.8rem 1.3rem;
  border-radius: 5px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button-icon,
.link-icon {
  width: 1rem;
  height: 1rem;
  stroke-width: 2.4;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: var(--gold);
  color: var(--blue-deep);
  box-shadow: 0 14px 30px rgba(242, 183, 0, 0.28);
}

.button-secondary {
  border: 2px solid rgba(255, 255, 255, 0.95);
  color: #ffffff;
  background: rgba(8, 29, 80, 0.2);
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.dot.active {
  background: var(--gold);
}

.section {
  padding: 1.7rem clamp(1rem, 3vw, 2rem) 2.2rem;
}

.section > * {
  width: min(100%, 1180px);
  margin-inline: auto;
}

.welcome {
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1rem, 4vw, 4rem);
  background:
    linear-gradient(90deg, rgba(242, 183, 0, 0.08) 0 27%, transparent 27% 100%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.welcome > .welcome-card {
  width: min(100%, 1360px);
}

.welcome-card {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  column-gap: clamp(2.2rem, 5vw, 5.4rem);
  row-gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start;
  min-width: 0;
  padding: 0;
}

.welcome-portrait {
  position: relative;
  width: min(100%, 410px);
  justify-self: end;
  padding: 1rem;
  background: linear-gradient(165deg, var(--gold) 0 82%, transparent 82% 100%);
  border-radius: 8px;
  box-shadow: 0 30px 60px rgba(19, 51, 107, 0.16);
}

.welcome-portrait::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 4px solid rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  pointer-events: none;
}

.welcome-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 5px;
}

.welcome-copy h2,
.support-title span,
.footer-name {
  font-family: "Montserrat", sans-serif;
}

.welcome-copy {
  min-width: 0;
  max-width: 820px;
}

.welcome-copy h2 {
  margin: 0 0 0.85rem;
  color: var(--blue-deep);
  font-size: clamp(3rem, 5.1vw, 4.8rem);
  font-weight: 900;
  line-height: 0.92;
  text-wrap: balance;
}

.welcome-copy h3 {
  margin: 0 0 1.2rem;
  color: var(--blue);
  font-size: clamp(1.16rem, 1.7vw, 1.38rem);
  font-weight: 800;
}

.welcome-copy p {
  min-width: 0;
  margin: 0 0 1rem;
  max-width: none;
  font-size: clamp(1.02rem, 1.2vw, 1.16rem);
  line-height: 1.62;
  color: #2b3d57;
  overflow-wrap: break-word;
}

.principal-signature {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(13, 64, 150, 0.16);
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: 0.98rem;
  line-height: 1.25;
}

.principal-signature p {
  margin: 0 0 0.25rem;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.principal-signature strong {
  font-weight: 900;
}

.principal-stories-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-bottom: 0.24rem;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.1;
  border-bottom: 3px solid var(--gold);
}

.principal-stories-link .link-icon {
  width: 1.08rem;
  height: 1.08rem;
  stroke-width: 2.7;
  transition: transform 0.2s ease;
}

.principal-stories-link:hover,
.principal-stories-link:focus-visible {
  outline: none;
  color: var(--blue);
}

.principal-stories-link:hover .link-icon,
.principal-stories-link:focus-visible .link-icon {
  transform: translateX(4px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--blue);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 0.2rem;
}

.text-link:hover .link-icon,
.text-link:focus-visible .link-icon {
  transform: translateX(2px);
}

.support-items h4 {
  min-width: 0;
  margin: 0 0 0.4rem;
  color: var(--blue);
  font-family: "Montserrat", sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.15;
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  overflow: visible;
  background: transparent;
  position: relative;
}

.support-title {
  padding: 0;
  background: transparent;
  clip-path: none;
  display: flex;
  align-items: center;
  min-height: 0;
}

.support-title span {
  display: block;
  max-width: 13rem;
  color: var(--blue-deep);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.05;
  text-wrap: balance;
}

.support-items {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.8vw, 1.25rem);
  align-items: start;
  padding: 0;
}

.support-items article {
  text-align: center;
  min-width: 0;
  padding: 0;
}

.support-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 0.45rem;
  color: var(--gold);
  stroke-width: 2.2;
}

.support-items h4 {
  margin: 0;
  color: var(--blue-deep);
  font-size: 0.88rem;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.site-footer {
  position: relative;
  background: var(--blue);
  color: #ffffff;
  overflow: hidden;
  border-top: 6px solid var(--gold);
}

.footer-accent {
  position: absolute;
  inset: 0 auto 0 0;
  width: clamp(52px, 8vw, 98px);
  background: linear-gradient(112deg, var(--gold) 0 57%, #ffffff 57% 65%, transparent 65% 100%);
  clip-path: polygon(0 0, 100% 0, 46% 100%, 0 100%);
}

.footer-accent::after {
  display: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(360px, 1.35fr) minmax(112px, auto);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  width: min(100%, 1180px);
  min-height: 128px;
  margin: 0 auto;
  padding: 1rem clamp(1rem, 4vw, 2rem) 1rem clamp(4rem, 8vw, 6.4rem);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.footer-mark {
  width: clamp(78px, 8.2vw, 106px);
  height: auto;
  flex: none;
}

.footer-brand-copy {
  min-width: 0;
}

.footer-name {
  font-size: clamp(1.45rem, 2.1vw, 1.95rem);
  font-weight: 900;
  line-height: 0.95;
  white-space: nowrap;
}

.footer-subtitle {
  margin-top: 0.22rem;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.84rem, 1.2vw, 1.06rem);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.footer-contact {
  display: grid;
  grid-template-columns: max-content minmax(280px, 1fr);
  gap: 0.62rem 1.1rem;
  min-width: 0;
}

.footer-contact p,
.footer-social-label {
  margin: 0;
  font-size: clamp(0.78rem, 0.95vw, 0.9rem);
  line-height: 1.25;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

.footer-contact p:last-child {
  grid-column: 1 / -1;
}

.footer-contact p:nth-child(2) span {
  white-space: nowrap;
}

.footer-contact span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-icon {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--gold-soft);
  stroke-width: 2.35;
}

.footer-social {
  justify-self: end;
  text-align: center;
  min-width: 0;
}

.social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.72rem;
}

.social-row a {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.social-row .social-link-whatsapp {
  color: #26d366;
}

.social-row .social-link-facebook {
  background: #2479ef;
  color: #ffffff;
}

.social-row a:hover,
.social-row a:focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.social-row .brand-icon {
  width: 23px;
  height: 23px;
}

.social-link-facebook .brand-icon {
  width: 17px;
  height: 17px;
}

.footer-credit {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-height: 32px;
  padding: 0.42rem 1rem;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.72rem, 0.9vw, 0.84rem);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  background: rgba(5, 28, 73, 0.32);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-credit a {
  color: var(--gold-soft);
  font-weight: 800;
  text-decoration: none;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: #ffffff;
  outline: none;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.footer-credit-separator {
  color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 1180px) {
  .welcome-card {
    grid-template-columns: minmax(280px, 350px) minmax(0, 1fr);
    column-gap: clamp(1.5rem, 4vw, 3rem);
  }

  .support-panel {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .support-title span {
    max-width: 100%;
    text-align: center;
  }

  .support-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr) auto;
    width: min(100%, 980px);
    min-height: 118px;
    padding: 0.95rem clamp(1rem, 3vw, 1.5rem);
    padding-left: clamp(3.8rem, 8vw, 5.6rem);
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-contact {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .footer-contact p:last-child {
    grid-column: auto;
  }

  .footer-contact p:nth-child(2) span {
    white-space: normal;
  }

  .footer-social {
    justify-self: end;
  }
}

@media (max-width: 860px) {
  .welcome {
    overflow: hidden;
    padding: 2.5rem 1.25rem 2.8rem;
    background:
      linear-gradient(180deg, rgba(242, 183, 0, 0.08) 0 7.5rem, transparent 7.5rem),
      linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  }

  .welcome > .welcome-card {
    width: min(100%, calc(100vw - 2.5rem));
    max-width: calc(100vw - 2.5rem);
  }

  .welcome-card,
  .welcome-copy,
  .welcome-card > *,
  .welcome-copy > * {
    min-width: 0;
    max-width: 100%;
  }

  .welcome-copy {
    width: 100%;
    max-width: 100%;
  }

  .header-topbar {
    height: 18px;
  }

  .header-row {
    flex-direction: column;
    min-height: 0;
  }

  .brand {
    width: 100%;
    clip-path: none;
    gap: 0.75rem;
    padding: 0.65rem 0.8rem;
  }

  .brand::after {
    display: none;
  }

  .brand-logo {
    width: clamp(92px, 28vw, 126px);
  }

  .brand-name {
    font-size: 1.42rem;
  }

  .brand-subtitle {
    font-size: 0.9rem;
  }

  .hero {
    min-height: 460px;
    height: auto;
    padding: 2.75rem 0;
  }

  .hero-content {
    width: min(100% - 1.25rem, 760px);
    padding: 2.4rem 0.75rem 1.4rem;
  }

  .hero-kicker {
    font-size: 1.05rem;
  }

  .hero h1 {
    font-size: 2.55rem;
    max-width: 16ch;
    margin-inline: auto;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .hero-actions {
    gap: 0.75rem;
    margin-top: 1.35rem;
  }

  .button {
    min-width: 0;
    font-size: 0.82rem;
    padding: 0.82rem 1rem;
  }

  .hero-dots {
    margin-top: 1.4rem;
  }

  .welcome-card {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .welcome-portrait {
    order: 2;
    width: min(76vw, 270px);
    justify-self: center;
    padding: 0.72rem;
  }

  .welcome-portrait::after {
    inset: 0.72rem;
    border-width: 3px;
  }

  .welcome-copy {
    display: contents;
  }

  .welcome-copy h2 {
    order: 1;
    margin: 0 auto 0.35rem;
    max-width: 11ch;
    text-align: center;
    font-size: clamp(2rem, 8vw, 2.75rem);
    line-height: 0.94;
    overflow-wrap: break-word;
  }

  .welcome-copy h3 {
    order: 3;
    margin: 0.4rem 0 0.9rem;
    text-align: center;
    font-size: 1.02rem;
  }

  .welcome-copy p {
    order: 4;
    width: min(100%, 34rem);
    margin-inline: auto;
    font-size: 0.96rem;
    line-height: 1.55;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .principal-signature {
    order: 5;
    width: min(100%, 34rem);
    margin-inline: auto;
    margin-top: 0.85rem;
  }

  .principal-stories-link {
    order: 6;
    justify-self: start;
  }

  .support-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 0.8rem;
    padding: 0;
  }

  .support-title {
    justify-content: center;
  }

  .support-title span {
    max-width: min(100%, 16.5rem);
    font-size: clamp(1.06rem, 4.6vw, 1.22rem);
  }

  .support-items article {
    padding: 0;
  }

  .support-icon {
    width: 34px;
    height: 34px;
  }

  .support-items h4 {
    font-size: 0.9rem;
  }

  .footer-accent {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    width: min(100%, 520px);
    padding: 1.15rem 1rem 1.25rem;
    gap: 0.95rem;
    text-align: center;
    align-items: center;
  }

  .footer-brand {
    grid-column: auto;
    gap: 0.72rem;
    justify-content: center;
    flex-direction: row;
  }

  .footer-mark {
    width: 78px;
  }

  .footer-name {
    font-size: 1.42rem;
  }

  .footer-subtitle {
    font-size: 0.86rem;
  }

  .footer-contact p,
  .footer-social-label {
    font-size: 0.82rem;
  }

  .footer-contact p {
    justify-content: center;
    text-align: center;
    gap: 0.58rem;
  }

  .footer-contact {
    width: min(100%, 330px);
    grid-template-columns: 1fr;
    gap: 0.48rem;
    padding-top: 0;
  }

  .footer-social {
    justify-self: center;
    text-align: center;
    padding-top: 0;
  }

  .social-row {
    justify-content: center;
    gap: 0.85rem;
    margin-top: 0.72rem;
  }

  .social-row a {
    width: 30px;
    height: 30px;
  }

  .social-row .brand-icon {
    width: 24px;
    height: 24px;
  }

  .social-link-facebook .brand-icon {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 560px) {
  .footer-accent {
    display: none;
  }

  .welcome {
    padding: 2.2rem 1.2rem 2.45rem;
  }

  .welcome > .welcome-card {
    width: min(100%, calc(100vw - 2.4rem));
    max-width: calc(100vw - 2.4rem);
  }

  .welcome-portrait {
    width: min(78vw, 248px);
    padding: 0.68rem;
  }

  .welcome-portrait::after {
    inset: 0.68rem;
    border-width: 3px;
  }

  .welcome-copy h2 {
    font-size: clamp(1.8rem, 8vw, 2.22rem);
  }

  .welcome-copy p,
  .principal-signature {
    width: min(100%, 18rem);
  }

  .header-topbar {
    height: 18px;
  }

  .header-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .brand {
    gap: 0.55rem;
    padding: 0.6rem 0.55rem;
  }

  .brand-logo {
    width: 82px;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .brand-subtitle {
    font-size: 0.72rem;
  }

  .hero-content {
    padding-top: 2rem;
  }

  .hero h1 {
    font-size: 2.05rem;
    max-width: 10ch;
  }

  .hero-lead {
    max-width: 18rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .support-items {
    grid-template-columns: 1fr;
  }

  .support-items article {
    padding: 0;
  }

  .support-icon {
    width: 35px;
    height: 35px;
  }

  .support-items h4 {
    font-size: 0.84rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 1rem 0.9rem 1.12rem;
    gap: 0.82rem;
  }

  .footer-brand {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
  }

  .footer-mark {
    width: 74px;
  }

  .footer-name {
    font-size: 1.28rem;
  }

  .footer-subtitle {
    font-size: 0.76rem;
  }

  .footer-contact p,
  .footer-social-label {
    font-size: 0.78rem;
  }

  .footer-contact {
    width: min(100%, 18rem);
    transform: none;
  }

  .footer-contact p {
    justify-content: center;
    margin-bottom: 0;
  }

  .footer-social {
    justify-self: center;
    text-align: center;
  }

  .social-row {
    justify-content: center;
    margin-top: 0.55rem;
    gap: 0.72rem;
  }

  .social-row a {
    width: 27px;
    height: 27px;
  }

  .social-row .brand-icon {
    width: 22px;
    height: 22px;
  }

  .social-link-facebook .brand-icon {
    width: 16px;
    height: 16px;
  }

  .footer-credit {
    gap: 0.22rem 0.38rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.7rem;
  }

  .footer-credit-separator {
    display: none;
  }
}

@media (max-width: 1180px) {
  .site-header {
    overflow: visible;
  }

  .header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 0;
    background: #ffffff;
  }

  .brand {
    flex: 0 0 100%;
    width: auto;
    justify-content: center;
    clip-path: none;
    gap: 0.75rem;
    padding: 0.65rem 0.8rem;
  }

  .brand::after {
    display: none;
  }

  .brand-logo {
    width: 104px;
  }

  .primary-nav {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    width: 100%;
    overflow: visible;
    background: var(--blue);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .primary-nav .nav-trigger,
  .primary-nav .nav-trigger.is-active {
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 0.75rem 0.85rem;
    font-size: 0.86rem;
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .brand {
    flex-direction: column;
    gap: 0.55rem;
    text-align: center;
  }

  .brand-logo {
    width: 82px;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .brand-subtitle {
    font-size: 0.72rem;
  }

  .hero {
    min-height: 430px;
  }

  .hero h1 {
    font-size: 1.9rem;
    max-width: 10ch;
  }

  .hero-kicker {
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-kicker {
    font-size: 0.86rem;
  }

  .hero-lead {
    font-size: 0.96rem;
  }

  .primary-nav .nav-trigger,
  .primary-nav .nav-trigger.is-active {
    font-size: 0.8rem;
  }
}

@media (max-width: 560px) {
  .primary-nav {
    grid-template-columns: 1fr;
  }

  .primary-nav .nav-trigger,
  .primary-nav .nav-trigger.is-active {
    min-height: 42px;
    padding: 0.68rem 0.8rem;
  }
}

/* Reference header */
.site-header {
  position: relative;
  z-index: 10;
  overflow: visible;
  background: transparent;
}

.header-topbar {
  position: relative;
  height: 44px;
  background: var(--blue);
  overflow: hidden;
}

.header-topbar::before,
.header-topbar::after {
  content: "";
  position: absolute;
  top: 0;
  height: 44px;
}

.header-topbar::before {
  left: 0;
  width: 320px;
  background: var(--gold);
  clip-path: polygon(0 0, 96% 0, 82% 100%, 0 100%);
}

.header-topbar::after {
  left: 262px;
  width: 58px;
  background: #ffffff;
  clip-path: polygon(54% 0, 100% 0, 48% 100%, 0 100%);
}

.header-row {
  display: grid;
  grid-template-columns: 363px minmax(0, 1fr);
  align-items: stretch;
  height: 122px;
  min-height: 122px;
  max-height: 122px;
  overflow: visible;
  background: var(--blue);
}

.brand {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  width: 414px;
  height: 172px;
  min-width: 0;
  padding: 1.8rem 2.2rem 3.05rem 0.75rem;
  background: #ffffff;
  color: var(--blue-deep);
  clip-path: polygon(0 0, 87.7% 0, 87.7% 70.9%, 100% 70.9%, 90.1% 100%, 0 100%);
}

.brand::after {
  display: none;
}

.brand-logo {
  width: 150px;
  height: auto;
  flex: 0 0 auto;
  transform: translateY(5px);
}

.brand-copy {
  gap: 0.35rem;
  padding-top: 0.1rem;
  transform: translateY(5px);
}

.brand-name {
  font-size: 1.82rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
}

.brand-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.primary-nav {
  display: flex;
  align-items: stretch;
  min-width: 0;
  height: 122px;
  max-height: 122px;
  align-self: start;
  overflow: visible;
  background: var(--blue);
}

.primary-nav .nav-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  min-width: 0;
  padding: 0 1rem;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
  height: 122px;
  border: 0;
  background: transparent;
  appearance: none;
  cursor: pointer;
}

.primary-nav .nav-trigger.is-active {
  flex: 0 0 auto;
  min-width: max-content;
  background: var(--gold);
  color: #ffffff;
}

.primary-nav .nav-trigger.is-active:hover,
.primary-nav .nav-trigger.is-active:focus-visible {
  background: var(--gold);
}

.nav-caret {
  width: 0.9em;
  height: 0.9em;
  stroke-width: 3;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: max-content;
  min-width: 204px;
  padding: 1.25rem 1rem;
  background: #ffffff;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 18px 34px rgba(5, 18, 45, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  visibility: hidden;
}

.nav-dropdown-right {
  right: 0;
  left: auto;
}

.nav-item.has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 31px;
  padding: 0.42rem 0.45rem;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
  border: 0;
  border-radius: 4px;
  background: transparent;
  appearance: none;
  cursor: pointer;
}

.dropdown-link:hover,
.dropdown-link:focus-visible {
  outline: none;
  background: rgba(13, 64, 150, 0.08);
}

.dropdown-link.is-current,
.dropdown-link.is-current:hover,
.dropdown-link.is-current:focus-visible {
  background: var(--gold);
  color: var(--blue-deep);
}

@media (max-width: 1320px) {
  .header-row {
    grid-template-columns: 330px minmax(0, 1fr);
  }

  .brand {
    width: 381px;
  }

  .brand-logo {
    width: 134px;
  }

  .brand-name {
    font-size: 1.72rem;
  }

  .brand-subtitle {
    font-size: 1.12rem;
  }

  .primary-nav .nav-trigger {
    padding: 0 0.68rem;
    font-size: 0.84rem;
  }

  .primary-nav .nav-trigger.is-active {
    flex-basis: auto;
    min-width: max-content;
  }
}

@media (max-width: 1180px) {
  .header-topbar::before {
    width: 270px;
  }

  .header-topbar::after {
    left: 214px;
  }

  .header-row {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    min-height: 0;
    max-height: none;
    background: #ffffff;
  }

  .brand {
    flex: 0 0 100%;
    justify-content: center;
    width: 100%;
    height: auto;
    padding: 1rem 0.9rem;
    clip-path: none;
  }

  .primary-nav {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
    width: 100%;
    height: auto;
    max-height: none;
  }

  .nav-item {
    flex-direction: column;
    width: 100%;
  }

  .primary-nav .nav-trigger,
  .primary-nav .nav-trigger.is-active {
    width: 100%;
    height: auto;
    min-width: 0;
    min-height: 46px;
    padding: 0.78rem 0.85rem;
    font-size: 0.86rem;
    white-space: normal;
  }

  .primary-nav .nav-trigger.is-active {
    flex-basis: auto;
  }

  .nav-dropdown,
  .nav-dropdown-right {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    padding: 0.7rem;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }

  .nav-item.has-dropdown.is-open .nav-dropdown {
    display: flex;
    transform: none;
  }

  .dropdown-link {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .header-topbar,
  .header-topbar::before,
  .header-topbar::after {
    height: 32px;
  }

  .header-topbar::before {
    width: 190px;
  }

  .header-topbar::after {
    left: 150px;
    width: 48px;
  }

  .brand {
    gap: 0.55rem;
    padding: 0.75rem 0.7rem;
  }

  .brand-logo {
    width: 104px;
  }

  .brand-name {
    font-size: 1.42rem;
  }

  .brand-subtitle {
    font-size: 0.92rem;
  }

  .primary-nav {
    grid-template-columns: 1fr;
  }

  .primary-nav .nav-trigger,
  .primary-nav .nav-trigger.is-active {
    min-height: 42px;
    padding: 0.68rem 0.8rem;
    font-size: 0.86rem;
  }
}

@media (max-width: 360px) {
  .brand {
    flex-direction: column;
    text-align: center;
  }
}

/* One header resizes continuously while its reserved space stays fixed. */
@media (min-width: 1181px) {
  robinhill-header {
    position: relative;
    top: auto;
    height: 166px;
  }

  .site-header {
    --desktop-collapse-progress: 0;
    --desktop-brand-column: 363px;
    --desktop-expanded-logo-width: 150px;
    --desktop-logo-shrink: 84px;
    --desktop-expanded-name-size: 1.82rem;
    --desktop-name-shrink: 0.34rem;
    --desktop-expanded-subtitle-size: 1.2rem;
    --desktop-subtitle-shrink: 0.24rem;
    --desktop-brand-padding-right: 2.2rem;
    --desktop-row-height: calc(122px - 50px * var(--desktop-collapse-progress));
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    overflow: visible;
    box-shadow: 0 10px 24px rgba(5, 18, 45, calc(0.16 * var(--desktop-collapse-progress)));
  }

  .site-header .header-topbar {
    height: calc(44px * (1 - var(--desktop-collapse-progress)));
    opacity: calc(1 - var(--desktop-collapse-progress));
  }

  .site-header .header-topbar::before,
  .site-header .header-topbar::after {
    height: 100%;
  }

  .site-header .header-row {
    grid-template-columns: var(--desktop-brand-column) minmax(0, 1fr);
    height: var(--desktop-row-height);
    min-height: var(--desktop-row-height);
    max-height: var(--desktop-row-height);
  }

  .site-header .brand {
    width: calc(var(--desktop-brand-column) + 51px * (1 - var(--desktop-collapse-progress)));
    height: calc(172px - 100px * var(--desktop-collapse-progress));
    padding:
      calc(1.8rem - 1.4rem * var(--desktop-collapse-progress))
      var(--desktop-brand-padding-right)
      calc(3.05rem - 2.65rem * var(--desktop-collapse-progress))
      0.75rem;
    clip-path: polygon(
      0 0,
      calc(87.7% + 12.3% * var(--desktop-collapse-progress)) 0,
      calc(87.7% + 12.3% * var(--desktop-collapse-progress)) calc(70.9% + 29.1% * var(--desktop-collapse-progress)),
      100% calc(70.9% + 29.1% * var(--desktop-collapse-progress)),
      calc(90.1% + 9.9% * var(--desktop-collapse-progress)) 100%,
      0 100%
    );
  }

  .site-header .brand-logo {
    width: calc(var(--desktop-expanded-logo-width) - var(--desktop-logo-shrink) * var(--desktop-collapse-progress));
    transform: translateY(calc(5px * (1 - var(--desktop-collapse-progress))));
  }

  .site-header .brand-copy {
    gap: calc(0.35rem - 0.19rem * var(--desktop-collapse-progress));
    transform: translateY(calc(5px * (1 - var(--desktop-collapse-progress))));
  }

  .site-header .brand-name {
    font-size: calc(var(--desktop-expanded-name-size) - var(--desktop-name-shrink) * var(--desktop-collapse-progress));
  }

  .site-header .brand-subtitle {
    font-size: calc(var(--desktop-expanded-subtitle-size) - var(--desktop-subtitle-shrink) * var(--desktop-collapse-progress));
  }

  .site-header .primary-nav {
    height: var(--desktop-row-height);
    max-height: var(--desktop-row-height);
  }

  .site-header .primary-nav .nav-trigger {
    height: var(--desktop-row-height);
    padding: 0 var(--desktop-nav-padding-x, 1rem);
    font-size: var(--desktop-nav-font-size, 0.96rem);
  }
}

@media (min-width: 1181px) and (max-width: 1320px) {
  .site-header {
    --desktop-brand-column: 330px;
    --desktop-expanded-logo-width: 134px;
    --desktop-logo-shrink: 72px;
    --desktop-expanded-name-size: 1.72rem;
    --desktop-name-shrink: 0.36rem;
    --desktop-expanded-subtitle-size: 1.12rem;
    --desktop-subtitle-shrink: 0.24rem;
    --desktop-brand-padding-right: 1.6rem;
  }

  .site-header .primary-nav .nav-trigger {
    padding: 0 var(--desktop-nav-padding-x, 0.68rem);
    font-size: var(--desktop-nav-font-size, 0.84rem);
  }
}

.nav-toggle {
  display: none;
}

@media (max-width: 1180px) {
  robinhill-header {
    position: relative;
    top: auto;
    z-index: 1000;
    height: var(--mobile-reserved-header-height, 224px);
  }

  .site-header .nav-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 100%;
    width: 100%;
    min-height: 48px;
    padding: 0;
    color: #ffffff;
    background: var(--blue);
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    appearance: none;
    cursor: pointer;
    transform: translateZ(0);
    transition:
      background-color 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.28s ease;
  }

  .site-header .nav-toggle:hover,
  .site-header .nav-toggle:focus-visible {
    outline: none;
    background: var(--blue-deep);
  }

  .nav-toggle-bars {
    display: grid;
    gap: 4px;
    width: 22px;
  }

  .nav-toggle-bars span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
  }

  .site-header .primary-nav {
    display: grid;
    flex: 0 0 100%;
    width: 100%;
    grid-template-columns: 1fr;
    height: auto;
    max-height: 0;
    overflow: hidden;
    background: var(--blue);
    border-top: 0 solid rgba(255, 255, 255, 0);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    visibility: hidden;
    transition:
      max-height 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.22s ease,
      transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.2s ease,
      visibility 0s linear 0.34s;
    will-change: max-height, opacity, transform;
  }

  .site-header.is-menu-open .primary-nav {
    display: grid;
    max-height: 560px;
    border-top-width: 1px;
    border-top-color: rgba(255, 255, 255, 0.16);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
    transition:
      max-height 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.22s ease,
      transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.2s ease,
      visibility 0s linear 0s;
  }

  .site-header .primary-nav .nav-trigger,
  .site-header .primary-nav .nav-trigger.is-active {
    width: 100%;
    min-height: 41px;
    height: auto;
    padding: 0.72rem 0.85rem;
    font-size: 0.9rem;
    white-space: normal;
  }

  .site-header {
    --mobile-expanded-topbar-height: 44px;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    transition: box-shadow 0.28s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .site-header .header-topbar,
  .site-header .brand {
    overflow: hidden;
    transition:
      height 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      max-height 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.2s ease,
      padding 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: height, max-height, opacity, padding, transform;
  }

  .site-header .header-topbar {
    height: var(--mobile-topbar-height, var(--mobile-expanded-topbar-height));
    max-height: var(--mobile-topbar-height, var(--mobile-expanded-topbar-height));
  }

  .site-header .header-topbar::before,
  .site-header .header-topbar::after {
    height: 100%;
  }

  .site-header .brand {
    max-height: var(--mobile-brand-max-height, 160px);
    padding-top: var(--mobile-brand-padding-top, 1rem);
    padding-bottom: var(--mobile-brand-padding-bottom, 1rem);
    opacity: var(--mobile-brand-opacity, 1);
    transform: translateY(var(--mobile-brand-y, 0));
  }

  .site-header.is-mobile-collapsed {
    box-shadow: 0 8px 22px rgba(5, 18, 45, 0.22);
  }

  .site-header.is-mobile-collapsed .header-topbar {
    --mobile-topbar-height: 0px;
    opacity: 0;
  }

  .site-header.is-mobile-collapsed .brand {
    --mobile-brand-max-height: 0px;
    --mobile-brand-padding-top: 0px;
    --mobile-brand-padding-bottom: 0px;
    --mobile-brand-opacity: 0;
    --mobile-brand-y: -12px;
    pointer-events: none;
  }

  .site-header.is-mobile-collapsed .nav-toggle {
    border-top: 0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  }
}

@media (max-width: 560px) {
  .site-header {
    --mobile-expanded-topbar-height: 32px;
  }

  robinhill-header {
    height: var(--mobile-reserved-header-height, 204px);
  }

  .site-header .nav-toggle {
    min-height: 44px;
  }

  .site-header .primary-nav .nav-trigger,
  .site-header .primary-nav .nav-trigger.is-active {
    min-height: 40px;
    font-size: 0.86rem;
  }
}

@media (max-width: 360px) {
  robinhill-header {
    height: var(--mobile-reserved-header-height, 260px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header .header-topbar,
  .site-header .brand,
  .site-header .nav-toggle,
  .site-header .primary-nav,
  .site-header.is-menu-open .primary-nav,
  .site-header .nav-dropdown {
    transition: none;
  }
}

/* Our Identity page */
.identity-main {
  background: #ffffff;
  padding-top: clamp(0.8rem, 2vw, 1.35rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  overflow-x: hidden;
}

.identity-overview {
  background: #ffffff;
  color: var(--text);
}

.identity-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(calc(100% - clamp(2rem, 6vw, 4rem)), 1040px);
  min-height: 88px;
  margin: 0 auto;
}

.identity-overview-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.8rem;
  min-width: 0;
  padding: 0.8rem clamp(1rem, 2.3vw, 1.7rem);
  border-right: 1px solid rgba(5, 18, 45, 0.14);
}

.identity-overview-item:last-child {
  border-right: 0;
}

.identity-overview-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: none;
  color: var(--blue);
  border: 3px solid var(--gold);
  border-radius: 999px;
}

.identity-overview-icon .icon {
  width: 28px;
  height: 28px;
  stroke-width: 2.8;
}

.identity-overview-copy {
  min-width: 0;
}

.identity-overview h2,
.identity-card h2 {
  margin: 0;
  color: var(--blue);
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

.identity-overview h2 {
  font-size: clamp(0.78rem, 0.92vw, 0.92rem);
}

.identity-overview p {
  margin: 0.18rem 0 0;
  color: #2c3444;
  font-size: clamp(0.78rem, 0.9vw, 0.94rem);
  font-weight: 500;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.identity-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.8vw, 1.25rem);
  width: min(calc(100% - clamp(1.5rem, 5vw, 3rem)), 1180px);
  margin: clamp(1.4rem, 3vw, 2.4rem) auto 0;
}

.identity-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: clamp(260px, 27vw, 350px);
  padding: clamp(1.1rem, 2vw, 1.55rem);
  border-radius: 8px;
  box-shadow: none;
  overflow: hidden;
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    background-color 0.24s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.identity-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.52), transparent 32%),
    linear-gradient(180deg, rgba(242, 183, 0, 0.14), transparent 55%);
  transition: opacity 0.24s ease;
}

.identity-card > * {
  position: relative;
  z-index: 1;
}

.identity-card-gold {
  background: #fff8df;
  border: 2px solid var(--gold);
  color: #050505;
}

.identity-card-blue {
  background: #e9eff8;
  border: 2px solid var(--blue);
  color: #15243a;
}

.identity-card-icon {
  width: clamp(34px, 3.2vw, 44px);
  height: clamp(34px, 3.2vw, 44px);
  margin-bottom: 0.65rem;
  stroke-width: 2.6;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.identity-card-gold .identity-card-icon,
.identity-card-gold h2,
.identity-card-blue .identity-card-icon,
.identity-card-blue h2 {
  color: var(--blue-deep);
}

.identity-card h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  text-transform: uppercase;
  text-wrap: balance;
}

.identity-card ul {
  display: grid;
  gap: 0.42rem;
  margin: 0;
  padding-left: 0.95rem;
  list-style: disc;
}

.identity-card li {
  min-width: 0;
  padding-left: 0.15rem;
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  font-weight: 500;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.identity-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.identity-card.identity-reveal {
  transition:
    opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.58s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    background-color 0.24s ease;
}

.identity-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.identity-overview-item.identity-reveal:nth-child(2),
.identity-card.identity-reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.identity-overview-item.identity-reveal:nth-child(3),
.identity-card.identity-reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.identity-card:hover,
.identity-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(5, 18, 45, 0.14);
  transition-delay: 0s;
}

.identity-card.identity-reveal.is-visible:hover,
.identity-card.identity-reveal.is-visible:focus-within {
  transition-delay: 0s;
}

.identity-card:hover::before,
.identity-card:focus-within::before {
  opacity: 1;
}

.identity-card:hover .identity-card-icon,
.identity-card:focus-within .identity-card-icon {
  transform: scale(1.08) rotate(-3deg);
}

.identity-card-gold:hover,
.identity-card-gold:focus-within {
  background: #fff4cc;
  border-color: #efb300;
}

.identity-card-blue:hover,
.identity-card-blue:focus-within {
  background: #dfe8f5;
  border-color: var(--blue-deep);
}

@media (max-width: 1180px) {
  .identity-overview-grid {
    width: min(calc(100% - 2rem), 920px);
  }

  .identity-overview-item {
    padding-inline: 0.9rem;
  }
}

@media (max-width: 760px) {
  .identity-overview-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    width: min(calc(100% - 2rem), 28rem);
    padding: 0.45rem 0;
  }

  .identity-overview-item {
    justify-content: flex-start;
    width: 100%;
    padding: 0.8rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(5, 18, 45, 0.14);
  }

  .identity-overview-item:last-child {
    border-bottom: 0;
  }

  .identity-card-grid {
    grid-template-columns: 1fr;
    width: min(calc(100% - 2rem), 34rem);
    max-width: calc(100vw - 2rem);
    margin-top: 1.35rem;
  }

  .identity-card,
  .identity-card:last-child {
    grid-column: auto;
    min-height: 0;
  }
}

@media (max-width: 420px) {
  .identity-overview-icon {
    width: 52px;
    height: 52px;
  }

  .identity-overview-icon .icon {
    width: 25px;
    height: 25px;
  }

  .identity-overview h2 {
    font-size: 0.78rem;
  }

  .identity-overview p {
    font-size: 0.76rem;
  }

  .identity-card {
    padding: 1.15rem 1.25rem 1.15rem 1.05rem;
  }

  .identity-card h2 {
    font-size: 1.05rem;
  }

  .identity-card li {
    font-size: 0.9rem;
    line-height: 1.22;
  }
}

@media (prefers-reduced-motion: reduce) {
  main {
    animation: none;
    transition: none;
  }

  body.is-content-leaving main {
    opacity: 1;
    pointer-events: auto;
  }

  .identity-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .identity-card,
  .identity-card-icon,
  .identity-card::before {
    transition: none;
  }

  .identity-card:hover,
  .identity-card:focus-within,
  .identity-card:hover .identity-card-icon,
  .identity-card:focus-within .identity-card-icon {
    transform: none;
  }
}

/* Academics page */
.section-kicker {
  margin: 0 0 0.55rem;
  color: var(--gold);
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.academics-main {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 48%, #ffffff 100%);
  padding: clamp(2.4rem, 5vw, 4.6rem) clamp(1rem, 4vw, 3rem);
  overflow-x: hidden;
}

.academic-phase-section {
  width: min(100%, 1180px);
  margin: 0 auto;
  text-align: center;
}

.academic-phase-section h2 {
  margin: 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 900;
  line-height: 1;
}

.academic-phase-lead {
  max-width: 48rem;
  margin: clamp(1.35rem, 2.7vw, 2rem) auto 0;
  color: #1e2d43;
  font-size: clamp(0.96rem, 1.1vw, 1.08rem);
  font-weight: 700;
  line-height: 1.22;
}

.academic-phase-lead strong {
  color: var(--blue);
}

.academic-phase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.5vw, 2.25rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.academic-phase-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: clamp(240px, 21vw, 285px);
  flex-direction: column;
  padding: clamp(1rem, 1.8vw, 1.25rem);
  text-align: left;
  background: #f9fcff;
  border: 2px solid var(--blue);
  border-radius: 6px;
  box-shadow: 0 18px 34px rgba(5, 18, 45, 0.06);
  overflow: hidden;
  animation: academic-card-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.academic-phase-card:nth-child(2) {
  animation-delay: 0.06s;
}

.academic-phase-card:nth-child(3) {
  animation-delay: 0.12s;
}

.academic-phase-card:nth-child(4) {
  animation-delay: 0.18s;
}

.academic-phase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(180deg, rgba(242, 183, 0, 0.16), transparent 64%);
  transition: opacity 0.24s ease;
}

.academic-phase-card > * {
  position: relative;
  z-index: 1;
}

.academic-phase-icon {
  width: clamp(36px, 4vw, 48px);
  height: clamp(36px, 4vw, 48px);
  margin-bottom: 0.8rem;
  color: var(--blue-deep);
  stroke-width: 2.7;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.academic-phase-card h3 {
  min-height: 2.05rem;
  margin: 0 0 0.7rem;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.9rem, 1.05vw, 1.05rem);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.academic-phase-card p {
  margin: 0;
  color: #2d3542;
  font-size: clamp(0.88rem, 0.95vw, 0.98rem);
  font-weight: 500;
  line-height: 1.18;
}

.academic-phase-divider {
  display: block;
  width: 100%;
  height: 2px;
  margin: auto 0 0.75rem;
  background: var(--gold);
}

.phase-read-more {
  align-self: flex-start;
  padding: 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  appearance: none;
  cursor: pointer;
}

.phase-read-more:hover,
.phase-read-more:focus-visible {
  color: var(--blue);
  outline: none;
}

.academic-phase-card:hover,
.academic-phase-card:focus-within {
  transform: translateY(-7px);
  background: #fff8df;
  border-color: var(--gold);
  box-shadow: 0 24px 44px rgba(5, 18, 45, 0.14);
}

.academic-phase-card:hover::before,
.academic-phase-card:focus-within::before {
  opacity: 1;
}

.academic-phase-card:hover .academic-phase-icon,
.academic-phase-card:focus-within .academic-phase-icon {
  transform: scale(1.08) rotate(-3deg);
}

.sid-stream-section {
  width: min(100%, 1040px);
  margin: clamp(2.2rem, 4.4vw, 3.4rem) auto 0;
  padding-top: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  border-top: 2px solid rgba(13, 64, 150, 0.12);
  animation: academic-card-enter 0.5s 0.18s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sid-stream-intro {
  max-width: 38rem;
  margin: 0 auto clamp(1.35rem, 3vw, 2.1rem);
  color: #2f3744;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 600;
  line-height: 1.22;
}

.sid-stream-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  width: min(100%, 820px);
  margin: 0 auto;
}

.sid-stream-item {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 0.85rem;
  padding: 0.8rem 0.65rem;
  color: var(--blue-deep);
  text-align: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  transition:
    background-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.sid-stream-icon {
  width: clamp(34px, 4vw, 46px);
  height: clamp(34px, 4vw, 46px);
  stroke-width: 2.65;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.sid-stream-item h3 {
  margin: 0;
  color: #171717;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.9rem, 1.08vw, 1rem);
  font-weight: 800;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.sid-stream-item:hover,
.sid-stream-item:focus-within {
  background: rgba(242, 183, 0, 0.12);
  box-shadow: 0 16px 30px rgba(5, 18, 45, 0.1);
  transform: translateY(-5px);
}

.sid-stream-item:hover .sid-stream-icon,
.sid-stream-item:focus-within .sid-stream-icon {
  transform: scale(1.08) rotate(-3deg);
}

.curriculum-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 290px);
  margin-top: clamp(1.65rem, 3.5vw, 2.4rem);
  padding: 1rem clamp(1.45rem, 4vw, 2.6rem);
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  background: var(--gold);
  border: 0;
  border-radius: 6px;
  box-shadow: 0 18px 36px rgba(242, 183, 0, 0.3);
  appearance: none;
  cursor: pointer;
  transition:
    background-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.curriculum-cta:hover,
.curriculum-cta:focus-visible {
  background: #f6c400;
  box-shadow: 0 22px 42px rgba(242, 183, 0, 0.38);
  outline: none;
  transform: translateY(-3px);
}

.academic-overlay[hidden] {
  display: none;
}

.academic-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.academic-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 18, 50, 0.62);
  border: 0;
  appearance: none;
  cursor: pointer;
}

.academic-overlay-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  padding: clamp(1.35rem, 3vw, 2rem);
  color: #1e2d43;
  background: #ffffff;
  border: 2px solid var(--blue);
  border-top: 8px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  animation: academic-overlay-enter 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.academic-overlay-panel:focus {
  outline: none;
}

.academic-overlay-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  background: var(--blue-deep);
  border: 0;
  border-radius: 999px;
  appearance: none;
  cursor: pointer;
}

.academic-overlay-close:hover,
.academic-overlay-close:focus-visible {
  background: var(--blue);
  outline: none;
}

.academic-overlay-panel h3 {
  margin: 0 2.4rem 0.8rem 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.academic-overlay-panel p:not(.section-kicker) {
  margin: 0;
  color: #26354b;
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  font-weight: 500;
  line-height: 1.52;
}

@keyframes academic-overlay-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.academics-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(1.5rem, 4vw, 3.6rem);
  align-items: stretch;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.academics-intro-copy {
  min-width: 0;
}

.academics-intro h2 {
  margin: 0;
  max-width: 12ch;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.45rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 0.94;
  text-wrap: balance;
}

.academics-intro-copy p:not(.section-kicker) {
  max-width: 54rem;
  margin: 1rem 0 0;
  color: #2b3d57;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  font-weight: 500;
  line-height: 1.58;
}

.academics-statement {
  display: grid;
  align-content: center;
  gap: 1rem;
  min-width: 0;
  padding: clamp(1.2rem, 2.8vw, 1.65rem);
  background: #fff8df;
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(5, 18, 45, 0.09);
}

.academics-statement .icon {
  width: 42px;
  height: 42px;
  color: var(--blue-deep);
  stroke-width: 2.5;
}

.academics-statement p {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  font-weight: 700;
  line-height: 1.3;
}

.academic-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.8vw, 1.25rem);
  width: min(100%, 1180px);
  margin: clamp(1.8rem, 4vw, 3rem) auto 0;
}

.academic-card {
  position: relative;
  min-width: 0;
  padding: clamp(1.05rem, 2vw, 1.4rem);
  border-radius: 8px;
  overflow: hidden;
  animation: academic-card-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    border-color 0.24s ease,
    background-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.academic-card:nth-child(2) {
  animation-delay: 0.06s;
}

.academic-card:nth-child(3) {
  animation-delay: 0.12s;
}

.academic-card:nth-child(4) {
  animation-delay: 0.18s;
}

.academic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), transparent 34%),
    linear-gradient(180deg, rgba(242, 183, 0, 0.14), transparent 62%);
  transition: opacity 0.24s ease;
}

.academic-card > * {
  position: relative;
  z-index: 1;
}

.academic-card-gold {
  background: #fff8df;
  border: 2px solid var(--gold);
}

.academic-card-blue {
  background: #e9eff8;
  border: 2px solid var(--blue);
}

.academic-card-icon {
  width: clamp(34px, 3.3vw, 44px);
  height: clamp(34px, 3.3vw, 44px);
  margin-bottom: 0.7rem;
  color: var(--blue-deep);
  stroke-width: 2.6;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.academic-card h3 {
  margin: 0 0 0.55rem;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.04rem, 1.35vw, 1.22rem);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.academic-card p {
  margin: 0;
  color: #1f2d42;
  font-size: clamp(0.92rem, 1vw, 1rem);
  font-weight: 500;
  line-height: 1.28;
}

.academic-card:hover,
.academic-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(5, 18, 45, 0.14);
}

.academic-card:hover::before,
.academic-card:focus-within::before {
  opacity: 1;
}

.academic-card:hover .academic-card-icon,
.academic-card:focus-within .academic-card-icon {
  transform: scale(1.08) rotate(-3deg);
}

.academic-card-gold:hover,
.academic-card-gold:focus-within {
  background: #fff4cc;
  border-color: #efb300;
}

.academic-card-blue:hover,
.academic-card-blue:focus-within {
  background: #dfe8f5;
  border-color: var(--blue-deep);
}

.academics-focus {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: clamp(1.3rem, 3vw, 2.5rem);
  align-items: center;
  width: min(100%, 1180px);
  margin: clamp(2rem, 4vw, 3.2rem) auto 0;
  padding-top: clamp(1.25rem, 2.5vw, 1.8rem);
  border-top: 2px solid rgba(13, 64, 150, 0.13);
}

.academics-focus-title span {
  display: block;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.05;
}

.academics-focus-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1.3rem);
}

.academics-focus-items article {
  min-width: 0;
  text-align: center;
}

.academics-focus-items .icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.5rem;
  color: var(--gold);
  stroke-width: 2.4;
}

.academics-focus-items h4 {
  margin: 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

@keyframes academic-card-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .academic-phase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .academic-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .academics-focus {
    grid-template-columns: 1fr;
  }

  .academics-focus-title span {
    text-align: center;
  }
}

@media (max-width: 760px) {
  .academics-main {
    padding: 2.2rem 1rem 2.8rem;
  }

  .academic-phase-section h2 {
    font-size: 1.55rem;
  }

  .academic-phase-lead {
    max-width: 24rem;
  }

  .academic-phase-grid {
    grid-template-columns: 1fr;
    width: min(100%, 28rem);
    margin-inline: auto;
  }

  .academic-phase-card {
    min-height: 0;
  }

  .sid-stream-section {
    width: min(100%, 28rem);
    margin-top: 2.15rem;
    padding-top: 1.65rem;
  }

  .sid-stream-intro {
    max-width: 25rem;
  }

  .sid-stream-grid {
    gap: 0.75rem;
  }

  .sid-stream-item {
    padding: 0.75rem 0.35rem;
  }

  .curriculum-cta {
    width: min(100%, 22rem);
  }

  .academics-intro {
    grid-template-columns: 1fr;
  }

  .academics-intro h2 {
    max-width: 11ch;
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .academic-card-grid {
    grid-template-columns: 1fr;
    width: min(100%, 34rem);
  }

  .academics-focus-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .academic-phase-card {
    padding: 1rem;
  }

  .sid-stream-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .sid-stream-item {
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    text-align: left;
    padding: 0.8rem 1rem;
  }

  .sid-stream-icon {
    width: 40px;
    height: 40px;
  }

  .curriculum-cta {
    min-width: 0;
    padding-inline: 1rem;
  }

  .academic-overlay {
    padding: 0.9rem;
  }

  .academic-overlay-panel {
    padding: 1.25rem;
  }

  .academics-statement {
    border-left-width: 4px;
  }

  .academic-card {
    padding: 1.1rem;
  }

  .academics-focus-items {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .academic-phase-card,
  .academic-phase-icon,
  .academic-phase-card::before,
  .sid-stream-section,
  .sid-stream-item,
  .sid-stream-icon,
  .curriculum-cta,
  .academic-overlay-panel {
    animation: none;
    transition: none;
  }

  .academic-phase-card:hover,
  .academic-phase-card:focus-within,
  .academic-phase-card:hover .academic-phase-icon,
  .academic-phase-card:focus-within .academic-phase-icon,
  .sid-stream-item:hover,
  .sid-stream-item:focus-within,
  .sid-stream-item:hover .sid-stream-icon,
  .sid-stream-item:focus-within .sid-stream-icon,
  .curriculum-cta:hover,
  .curriculum-cta:focus-visible {
    transform: none;
  }

  .academic-card {
    animation: none;
    transition: none;
  }

  .academic-card::before,
  .academic-card-icon {
    transition: none;
  }

  .academic-card:hover,
  .academic-card:focus-within,
  .academic-card:hover .academic-card-icon,
  .academic-card:focus-within .academic-card-icon {
    transform: none;
  }
}

/* Sports page */
.sports-main {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 48%, #ffffff 100%);
  padding: clamp(2.6rem, 5vw, 4.8rem) clamp(1rem, 4vw, 3rem);
  overflow-x: hidden;
}

.sports-offered-section {
  width: min(100%, 1120px);
  margin: 0 auto;
  text-align: center;
  animation: academic-card-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sports-offered-section h2 {
  margin: 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 0.95;
}

.sports-offered-lead {
  max-width: 46rem;
  margin: 0.75rem auto 0;
  color: #121826;
  font-size: clamp(0.98rem, 1.2vw, 1.14rem);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

.sports-offered-lead strong,
.sports-offered-lead span {
  color: var(--blue);
}

.sports-offered-lead span {
  display: block;
  margin-top: 0.2rem;
}

.sports-offered-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(1.2rem, 4vw, 4.5rem);
  row-gap: clamp(1.25rem, 3vw, 2rem);
  width: min(100%, 940px);
  margin: clamp(1.8rem, 3.8vw, 2.8rem) auto 0;
}

.sports-offered-item {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 0.7rem;
  padding: 0.35rem 0.45rem;
  color: var(--blue-deep);
  border-radius: 8px;
  transition:
    color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.sports-offered-icon {
  width: clamp(54px, 5.5vw, 64px);
  height: clamp(54px, 5.5vw, 64px);
  padding: 0.62rem;
  color: var(--gold);
  background: var(--blue);
  border-radius: 999px;
  stroke-width: 2.45;
  box-shadow: 0 10px 24px rgba(5, 18, 45, 0.08);
  transition:
    background-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.sports-offered-item h3 {
  margin: 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.sports-offered-item:hover,
.sports-offered-item:focus-within {
  color: var(--blue);
  transform: translateY(-5px);
}

.sports-offered-item:hover .sports-offered-icon,
.sports-offered-item:focus-within .sports-offered-icon {
  background: var(--blue-deep);
  box-shadow: 0 16px 30px rgba(5, 18, 45, 0.14);
  transform: scale(1.08) rotate(-3deg);
}

.sports-season-section {
  display: grid;
  gap: clamp(2.4rem, 4.6vw, 3.8rem);
  width: min(100%, 1180px);
  margin: clamp(3rem, 5.4vw, 4.5rem) auto 0;
}

.sports-season {
  min-width: 0;
}

.sports-season-heading {
  display: grid;
  grid-template-columns: minmax(40px, 1fr) auto auto minmax(40px, 1fr);
  gap: clamp(0.8rem, 2vw, 1.25rem);
  align-items: center;
  width: 100%;
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
}

.sports-season-heading h2 {
  margin: 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.35rem, 2.7vw, 2.15rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.season-line {
  display: block;
  height: 8px;
  background: var(--gold);
}

.season-title-icon {
  width: clamp(34px, 4vw, 46px);
  height: clamp(34px, 4vw, 46px);
  color: var(--blue-deep);
  stroke-width: 2.2;
}

.season-title-icon-sun {
  stroke-width: 2.5;
}

.season-sport-list {
  display: grid;
  gap: clamp(1rem, 3vw, 2.6rem);
  align-items: start;
  width: min(100%, 900px);
  margin: 0 auto clamp(1.15rem, 2.4vw, 1.8rem);
}

.season-sport-list-winter {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.season-sport-list-summer {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.culture-performance-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 980px);
}

.season-sport-label {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  min-width: 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.78rem, 0.95vw, 0.92rem);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.season-sport-icon {
  width: clamp(28px, 3vw, 38px);
  height: clamp(28px, 3vw, 38px);
  color: var(--gold);
  stroke-width: 2.35;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.season-sport-label:hover,
.season-sport-label:focus-within {
  transform: translateY(-3px);
}

.season-sport-label:hover .season-sport-icon,
.season-sport-label:focus-within .season-sport-icon {
  transform: scale(1.1) rotate(-3deg);
}

.season-collage {
  display: grid;
  gap: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 18px 36px rgba(5, 18, 45, 0.1);
}

.season-collage-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.season-collage-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.season-collage figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #dce6f4;
}

.season-collage img {
  width: 100%;
  height: clamp(120px, 12vw, 170px);
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.season-collage figure:nth-child(2n) img {
  object-position: center 35%;
}

.season-collage figure:nth-child(3n) img {
  object-position: center 65%;
}

.season-collage figure:hover img,
.season-collage figure:focus-within img {
  transform: scale(1.04);
}

.sports-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(1.4rem, 4vw, 3.4rem);
  align-items: stretch;
  width: min(100%, 1180px);
  margin: clamp(3rem, 6vw, 5rem) auto 0;
}

.sports-intro-copy {
  min-width: 0;
}

.sports-intro h2 {
  margin: 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.45rem, 5vw, 4.35rem);
  font-weight: 900;
  line-height: 0.94;
  text-wrap: balance;
}

.sports-intro-copy p:not(.section-kicker) {
  max-width: 56rem;
  margin: 1rem 0 0;
  color: #2b3d57;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  font-weight: 500;
  line-height: 1.58;
}

.sports-highlight {
  position: relative;
  display: grid;
  align-content: center;
  gap: 1rem;
  min-width: 0;
  padding: clamp(1.2rem, 2.8vw, 1.7rem);
  color: var(--blue-deep);
  background: #fff8df;
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(5, 18, 45, 0.1);
  overflow: hidden;
  animation: academic-card-enter 0.5s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sports-highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.58), transparent 44%);
}

.sports-highlight > * {
  position: relative;
  z-index: 1;
}

.sports-highlight-icon {
  width: clamp(38px, 4vw, 50px);
  height: clamp(38px, 4vw, 50px);
  color: var(--blue-deep);
  stroke-width: 2.5;
}

.sports-highlight p {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  font-weight: 700;
  line-height: 1.32;
}

.sports-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.35rem);
  width: min(100%, 1180px);
  margin: clamp(2rem, 4.2vw, 3.2rem) auto 0;
}

.sports-card {
  position: relative;
  min-width: 0;
  min-height: clamp(230px, 20vw, 280px);
  padding: clamp(1.05rem, 2vw, 1.35rem);
  color: #1f2d42;
  background: #f9fcff;
  border: 2px solid var(--blue);
  border-radius: 6px;
  box-shadow: 0 18px 34px rgba(5, 18, 45, 0.06);
  overflow: hidden;
  animation: academic-card-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.sports-card:nth-child(2) {
  animation-delay: 0.06s;
}

.sports-card:nth-child(3) {
  animation-delay: 0.12s;
}

.sports-card:nth-child(4) {
  animation-delay: 0.18s;
}

.sports-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(180deg, rgba(242, 183, 0, 0.16), transparent 64%);
  transition: opacity 0.24s ease;
}

.sports-card > * {
  position: relative;
  z-index: 1;
}

.sports-card-icon {
  width: clamp(36px, 4vw, 48px);
  height: clamp(36px, 4vw, 48px);
  margin-bottom: 0.85rem;
  color: var(--blue-deep);
  stroke-width: 2.65;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.sports-card h3 {
  margin: 0 0 0.75rem;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.sports-card p {
  margin: 0;
  color: #2d3542;
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 500;
  line-height: 1.25;
}

.sports-card:hover,
.sports-card:focus-within {
  transform: translateY(-7px);
  background: #fff8df;
  border-color: var(--gold);
  box-shadow: 0 24px 44px rgba(5, 18, 45, 0.14);
}

.sports-card:hover::before,
.sports-card:focus-within::before {
  opacity: 1;
}

.sports-card:hover .sports-card-icon,
.sports-card:focus-within .sports-card-icon {
  transform: scale(1.08) rotate(-3deg);
}

.sports-activity-band {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
  gap: clamp(1.1rem, 3vw, 2.2rem);
  align-items: center;
  width: min(100%, 1180px);
  margin: clamp(2.2rem, 4.4vw, 3.4rem) auto 0;
  padding-top: clamp(1.4rem, 2.7vw, 2rem);
  border-top: 2px solid rgba(13, 64, 150, 0.13);
}

.sports-activity-title span {
  display: block;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.05;
}

.sports-activity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  min-width: 0;
}

.sports-activity-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.58rem 0.9rem;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  background: rgba(242, 183, 0, 0.13);
  border: 1px solid rgba(242, 183, 0, 0.52);
  border-radius: 999px;
  transition:
    background-color 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.sports-activity-list span:hover {
  background: rgba(242, 183, 0, 0.24);
  transform: translateY(-2px);
}

@media (max-width: 1180px) {
  .sports-offered-grid {
    width: min(100%, 780px);
    column-gap: clamp(1rem, 3vw, 2.5rem);
  }

  .season-sport-list-summer {
    grid-template-columns: repeat(5, minmax(86px, 1fr));
    width: min(100%, 980px);
  }

  .season-collage-five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .sports-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sports-activity-band {
    grid-template-columns: 1fr;
  }

  .sports-activity-title span {
    text-align: center;
  }

  .sports-activity-list {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .sports-main {
    padding: 2.25rem 1rem 2.9rem;
  }

  .sports-intro {
    grid-template-columns: 1fr;
    width: min(100%, 34rem);
    margin-top: 3rem;
  }

  .sports-intro h2 {
    max-width: 11ch;
    margin-inline: auto;
    text-align: center;
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .sports-intro-copy {
    text-align: center;
  }

  .sports-intro-copy p:not(.section-kicker) {
    margin-inline: auto;
  }

  .sports-highlight {
    border-left-width: 4px;
  }

  .sports-offered-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 30rem);
    row-gap: 1.45rem;
  }

  .sports-offered-lead {
    max-width: 30rem;
  }

  .sports-season-section {
    width: min(100%, 34rem);
    margin-top: 3.1rem;
  }

  .sports-season-heading {
    grid-template-columns: minmax(24px, 1fr) auto auto minmax(24px, 1fr);
    gap: 0.7rem;
  }

  .season-line {
    height: 6px;
  }

  .season-sport-list-winter,
  .season-sport-list-summer,
  .culture-performance-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 28rem);
    gap: 1.15rem 1.4rem;
  }

  .season-sport-list-winter .season-sport-label:last-child,
  .season-sport-list-summer .season-sport-label:last-child {
    grid-column: 1 / -1;
  }

  .season-collage-three,
  .season-collage-five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .season-collage-three figure:first-child,
  .season-collage-five figure:first-child {
    grid-column: 1 / -1;
  }

  .season-collage img {
    height: clamp(118px, 31vw, 165px);
  }

  .season-collage-three figure:first-child img,
  .season-collage-five figure:first-child img {
    height: clamp(145px, 42vw, 205px);
  }

  .sports-card-grid {
    grid-template-columns: 1fr;
    width: min(100%, 28rem);
  }

  .sports-card {
    min-height: 0;
  }

  .sports-activity-band {
    width: min(100%, 34rem);
    margin-top: 2.2rem;
  }
}

@media (max-width: 420px) {
  .sports-offered-grid {
    column-gap: 0.65rem;
    row-gap: 1.25rem;
  }

  .sports-offered-item {
    padding-inline: 0.2rem;
  }

  .sports-offered-icon {
    width: 50px;
    height: 50px;
    padding: 0.56rem;
  }

  .sports-season-heading {
    grid-template-columns: 1fr auto auto 1fr;
    gap: 0.5rem;
  }

  .sports-season-heading h2 {
    font-size: clamp(1.05rem, 6vw, 1.45rem);
  }

  .season-title-icon {
    width: 32px;
    height: 32px;
  }

  .season-sport-list-winter,
  .season-sport-list-summer,
  .culture-performance-list {
    gap: 1.05rem 1rem;
  }

  .sports-highlight,
  .sports-card {
    padding: 1.1rem;
  }

  .sports-activity-list {
    gap: 0.55rem;
  }

  .sports-activity-list span {
    min-height: 34px;
    padding: 0.52rem 0.72rem;
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sports-highlight,
  .sports-offered-section,
  .sports-offered-item,
  .sports-offered-icon,
  .sports-season-section,
  .season-sport-label,
  .season-sport-icon,
  .season-collage img,
  .sports-card,
  .sports-card::before,
  .sports-card-icon,
  .sports-activity-list span {
    animation: none;
    transition: none;
  }

  .sports-card:hover,
  .sports-card:focus-within,
  .sports-card:hover .sports-card-icon,
  .sports-card:focus-within .sports-card-icon,
  .sports-offered-item:hover,
  .sports-offered-item:focus-within,
  .sports-offered-item:hover .sports-offered-icon,
  .sports-offered-item:focus-within .sports-offered-icon,
  .season-sport-label:hover,
  .season-sport-label:focus-within,
  .season-sport-label:hover .season-sport-icon,
  .season-sport-label:focus-within .season-sport-icon,
  .season-collage figure:hover img,
  .season-collage figure:focus-within img,
  .sports-activity-list span:hover {
    transform: none;
  }
}

/* Culture page */
.culture-main {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 48%, #ffffff 100%);
  padding: clamp(2.6rem, 5vw, 4.8rem) clamp(1rem, 4vw, 3rem);
  overflow-x: hidden;
}

.culture-offered-section {
  width: min(100%, 1120px);
  margin: 0 auto;
  text-align: center;
  animation: academic-card-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.culture-offered-section h2 {
  margin: 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 0.95;
}

.culture-offered-lead {
  max-width: 46rem;
  margin: 0.75rem auto 0;
  color: #121826;
  font-size: clamp(0.98rem, 1.2vw, 1.14rem);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

.culture-offered-lead strong {
  color: var(--blue);
}

.culture-offered-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(1.2rem, 4vw, 4.5rem);
  row-gap: clamp(1.25rem, 3vw, 2rem);
  width: min(100%, 980px);
  margin: clamp(1.8rem, 3.8vw, 2.8rem) auto 0;
}

.culture-offered-item {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 0.7rem;
  padding: 0.35rem 0.45rem;
  color: var(--blue-deep);
  border-radius: 8px;
  transition:
    color 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.culture-offered-icon {
  width: clamp(54px, 5.5vw, 64px);
  height: clamp(54px, 5.5vw, 64px);
  padding: 0.62rem;
  color: var(--gold);
  background: var(--blue);
  border-radius: 999px;
  stroke-width: 2.45;
  box-shadow: 0 10px 24px rgba(5, 18, 45, 0.08);
  transition:
    background-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.culture-offered-item h3 {
  margin: 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.culture-offered-item:hover,
.culture-offered-item:focus-within {
  color: var(--blue);
  transform: translateY(-5px);
}

.culture-offered-item:hover .culture-offered-icon,
.culture-offered-item:focus-within .culture-offered-icon {
  background: var(--blue-deep);
  box-shadow: 0 16px 30px rgba(5, 18, 45, 0.14);
  transform: scale(1.08) rotate(-3deg);
}

.culture-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(1.4rem, 4vw, 3.4rem);
  align-items: stretch;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.culture-intro-copy {
  min-width: 0;
}

.culture-intro h2 {
  margin: 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.45rem, 5vw, 4.35rem);
  font-weight: 900;
  line-height: 0.94;
  text-wrap: balance;
}

.culture-intro-copy p:not(.section-kicker) {
  max-width: 56rem;
  margin: 1rem 0 0;
  color: #2b3d57;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  font-weight: 500;
  line-height: 1.58;
}

.culture-highlight {
  position: relative;
  display: grid;
  align-content: center;
  gap: 1rem;
  min-width: 0;
  padding: clamp(1.2rem, 2.8vw, 1.7rem);
  color: var(--blue-deep);
  background: #fff8df;
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(5, 18, 45, 0.1);
  overflow: hidden;
  animation: academic-card-enter 0.5s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.culture-highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.58), transparent 44%);
}

.culture-highlight > * {
  position: relative;
  z-index: 1;
}

.culture-highlight-icon {
  width: clamp(38px, 4vw, 50px);
  height: clamp(38px, 4vw, 50px);
  color: var(--blue-deep);
  stroke-width: 2.45;
}

.culture-highlight p {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  font-weight: 700;
  line-height: 1.32;
}

.culture-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.35rem);
  width: min(100%, 1180px);
  margin: clamp(2rem, 4.2vw, 3.2rem) auto 0;
}

.culture-card {
  position: relative;
  min-width: 0;
  min-height: clamp(230px, 20vw, 280px);
  padding: clamp(1.05rem, 2vw, 1.35rem);
  color: #1f2d42;
  background: #f9fcff;
  border: 2px solid var(--blue);
  border-radius: 6px;
  box-shadow: 0 18px 34px rgba(5, 18, 45, 0.06);
  overflow: hidden;
  animation: academic-card-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.culture-card:nth-child(2) {
  animation-delay: 0.06s;
}

.culture-card:nth-child(3) {
  animation-delay: 0.12s;
}

.culture-card:nth-child(4) {
  animation-delay: 0.18s;
}

.culture-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(180deg, rgba(242, 183, 0, 0.16), transparent 64%);
  transition: opacity 0.24s ease;
}

.culture-card > * {
  position: relative;
  z-index: 1;
}

.culture-card-icon {
  width: clamp(36px, 4vw, 48px);
  height: clamp(36px, 4vw, 48px);
  margin-bottom: 0.85rem;
  color: var(--blue-deep);
  stroke-width: 2.6;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.culture-card h3 {
  margin: 0 0 0.75rem;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.culture-card p {
  margin: 0;
  color: #2d3542;
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 500;
  line-height: 1.25;
}

.culture-card:hover,
.culture-card:focus-within {
  transform: translateY(-7px);
  background: #fff8df;
  border-color: var(--gold);
  box-shadow: 0 24px 44px rgba(5, 18, 45, 0.14);
}

.culture-card:hover::before,
.culture-card:focus-within::before {
  opacity: 1;
}

.culture-card:hover .culture-card-icon,
.culture-card:focus-within .culture-card-icon {
  transform: scale(1.08) rotate(-3deg);
}

.culture-showcase {
  width: min(100%, 1180px);
  margin: clamp(2.4rem, 5vw, 3.8rem) auto 0;
  padding-top: clamp(1.45rem, 2.8vw, 2rem);
  border-top: 2px solid rgba(13, 64, 150, 0.13);
}

.culture-showcase-title span {
  display: block;
  margin-bottom: clamp(1.1rem, 2.4vw, 1.7rem);
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.culture-showcase-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
}

.culture-showcase-image {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 22px 42px rgba(5, 18, 45, 0.12);
}

.culture-showcase-image img {
  width: 100%;
  height: 100%;
  min-height: clamp(240px, 28vw, 390px);
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.culture-showcase-image:hover img,
.culture-showcase-image:focus-within img {
  transform: scale(1.035);
}

.culture-showcase-copy {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  color: var(--blue-deep);
  background: #fff8df;
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(5, 18, 45, 0.09);
}

.culture-showcase-icon {
  width: clamp(38px, 4vw, 50px);
  height: clamp(38px, 4vw, 50px);
  margin-bottom: 0.85rem;
  color: var(--blue-deep);
  stroke-width: 2.45;
}

.culture-showcase-copy h3 {
  margin: 0 0 0.75rem;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.culture-showcase-copy p {
  margin: 0;
  color: #223958;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  font-weight: 600;
  line-height: 1.44;
}

@media (max-width: 1180px) {
  .culture-offered-grid {
    width: min(100%, 780px);
    column-gap: clamp(1rem, 3vw, 2.5rem);
  }

  .culture-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .culture-main {
    padding: 2.25rem 1rem 2.9rem;
  }

  .culture-intro {
    grid-template-columns: 1fr;
    width: min(100%, 34rem);
  }

  .culture-intro h2 {
    max-width: 11ch;
    margin-inline: auto;
    text-align: center;
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .culture-intro-copy {
    text-align: center;
  }

  .culture-intro-copy p:not(.section-kicker) {
    margin-inline: auto;
  }

  .culture-highlight,
  .culture-showcase-copy {
    border-left-width: 4px;
  }

  .culture-offered-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 30rem);
    row-gap: 1.45rem;
  }

  .culture-offered-lead {
    max-width: 30rem;
  }

  .culture-card-grid {
    grid-template-columns: 1fr;
    width: min(100%, 28rem);
  }

  .culture-card {
    min-height: 0;
  }

  .culture-showcase {
    width: min(100%, 34rem);
  }

  .culture-showcase-content {
    grid-template-columns: 1fr;
  }

  .culture-showcase-image img {
    min-height: clamp(210px, 56vw, 300px);
  }
}

@media (max-width: 420px) {
  .culture-offered-grid {
    column-gap: 0.65rem;
    row-gap: 1.25rem;
  }

  .culture-offered-item {
    padding-inline: 0.2rem;
  }

  .culture-offered-icon {
    width: 50px;
    height: 50px;
    padding: 0.56rem;
  }

  .culture-highlight,
  .culture-card,
  .culture-showcase-copy {
    padding: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .culture-highlight,
  .culture-offered-section,
  .culture-offered-item,
  .culture-offered-icon,
  .culture-card,
  .culture-card::before,
  .culture-card-icon,
  .culture-showcase-image img {
    animation: none;
    transition: none;
  }

  .culture-card:hover,
  .culture-card:focus-within,
  .culture-card:hover .culture-card-icon,
  .culture-card:focus-within .culture-card-icon,
  .culture-offered-item:hover,
  .culture-offered-item:focus-within,
  .culture-offered-item:hover .culture-offered-icon,
  .culture-offered-item:focus-within .culture-offered-icon,
  .culture-showcase-image:hover img,
  .culture-showcase-image:focus-within img {
    transform: none;
  }
}

/* Awareness and advocacy page */
.awareness-overview-section {
  background: #ffffff;
  padding: 0 0 clamp(2.4rem, 4.8vw, 4rem);
}

.awareness-overview-banner {
  position: relative;
  min-height: clamp(86px, 9vw, 128px);
  display: flex;
  align-items: end;
  width: 100%;
  overflow: visible;
  background: var(--blue);
  padding: clamp(1.25rem, 2vw, 1.7rem) clamp(0.8rem, 3vw, 1.6rem);
}

.awareness-overview-banner::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -11px;
  width: min(36vw, 320px);
  height: 11px;
  background: var(--gold);
  clip-path: polygon(0 0, 100% 0, calc(100% - 34px) 100%, 0 100%);
}

.awareness-overview-banner h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

.awareness-calendar-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.6rem, 3.4vw, 2.6rem);
  padding-inline: 1rem;
}

.awareness-calendar-button {
  min-width: min(100%, 230px);
  box-shadow: 0 16px 34px rgba(242, 183, 0, 0.24);
}

.awareness-calendar-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.3rem, 3vw, 2.3rem) clamp(1.8rem, 6vw, 5.2rem);
  width: min(100% - 2rem, 1040px);
  margin: clamp(2.3rem, 4.4vw, 3.5rem) auto 0;
}

.awareness-event-card {
  position: relative;
  min-width: 0;
  min-height: clamp(206px, 19vw, 250px);
  padding: clamp(1rem, 2.1vw, 1.4rem);
  color: var(--blue-deep);
  background: #c9d9ec;
  border: 3px solid var(--gold);
  border-radius: 7px;
  box-shadow: 0 18px 38px rgba(5, 18, 45, 0.12);
  overflow: hidden;
  animation: academic-card-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    background-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.awareness-event-card:nth-child(2) {
  animation-delay: 0.06s;
}

.awareness-event-card:nth-child(3) {
  animation-delay: 0.12s;
}

.awareness-event-card:nth-child(4) {
  animation-delay: 0.18s;
}

.awareness-event-card:nth-child(5) {
  animation-delay: 0.24s;
}

.awareness-event-card:nth-child(6) {
  animation-delay: 0.3s;
}

.awareness-event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.44), transparent 42%);
}

.awareness-event-card > * {
  position: relative;
  z-index: 1;
}

.awareness-event-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.72rem;
  align-items: start;
}

.awareness-event-icon {
  width: clamp(34px, 4vw, 46px);
  height: clamp(34px, 4vw, 46px);
  padding: 0.45rem;
  color: #ffffff;
  background: var(--blue-deep);
  border-radius: 999px;
  stroke-width: 2.6;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.awareness-event-card h3 {
  margin: 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.awareness-event-type {
  margin: 0.3rem 0 0;
  color: #b48700;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.68rem, 0.85vw, 0.8rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.awareness-event-date {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin: 1rem 0 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.72rem, 0.88vw, 0.82rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.awareness-event-date-icon {
  width: 1rem;
  height: 1rem;
  color: var(--gold);
  stroke-width: 2.5;
}

.awareness-event-card > p:not(.awareness-event-type):not(.awareness-event-date) {
  max-width: 31rem;
  margin: 1rem 0 0;
  color: #1d2d44;
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  font-weight: 600;
  line-height: 1.22;
}

.awareness-event-card:hover,
.awareness-event-card:focus-within {
  transform: translateY(-7px);
  background: #d4e2f1;
  box-shadow: 0 24px 46px rgba(5, 18, 45, 0.18);
}

.awareness-event-card:hover .awareness-event-icon,
.awareness-event-card:focus-within .awareness-event-icon {
  transform: scale(1.08) rotate(-3deg);
}

.calendar-overlay[hidden] {
  display: none;
}

body.is-calendar-overlay-open {
  overflow: hidden;
}

.calendar-overlay {
  position: fixed;
  inset: 0;
  z-index: 3200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 2.4vw, 1.4rem);
  overflow: hidden;
}

.calendar-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 18, 50, 0.66);
  border: 0;
  appearance: none;
  cursor: pointer;
}

.calendar-overlay-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(90vw, 960px);
  height: min(80svh, 690px);
  max-height: calc(100svh - 2rem);
  min-height: 0;
  color: #1e2d43;
  background: #ffffff;
  border: 2px solid var(--blue);
  border-top: 8px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 30px 78px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: academic-overlay-enter 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.calendar-overlay-panel:focus {
  outline: none;
}

.calendar-overlay-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(0.85rem, 2vw, 1.2rem);
  border-bottom: 1px solid rgba(13, 64, 150, 0.14);
}

.calendar-overlay-header h2 {
  margin: 0.2rem 0 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.45rem, 2.55vw, 2.12rem);
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
}

.calendar-overlay-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  background: var(--blue-deep);
  border: 0;
  border-radius: 999px;
  appearance: none;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(5, 18, 45, 0.18);
}

.calendar-overlay-close:hover,
.calendar-overlay-close:focus-visible {
  background: var(--blue);
  outline: none;
}

.calendar-overlay-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 310px);
  gap: clamp(0.7rem, 1.6vw, 1rem);
  min-height: 0;
  padding: clamp(0.75rem, 1.8vw, 1rem);
  background: #f6f9fd;
  overflow: hidden;
}

.calendar-months {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  align-content: start;
  gap: 0.65rem;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.25rem;
  scrollbar-color: var(--gold) rgba(13, 64, 150, 0.1);
}

.calendar-month {
  min-width: 0;
  padding: 0.65rem;
  background: #ffffff;
  border: 1px solid rgba(13, 64, 150, 0.22);
  border-radius: 7px;
  box-shadow: 0 12px 24px rgba(5, 18, 45, 0.06);
}

.calendar-month h3 {
  margin: 0 0 0.5rem;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.18rem;
}

.calendar-weekdays {
  margin-bottom: 0.25rem;
}

.calendar-weekdays span {
  color: #6d7a8d;
  font-family: "Montserrat", sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 29px;
  padding: 0.18rem;
  color: #384a63;
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  background: #eef3f9;
  border: 1px solid transparent;
  border-radius: 5px;
}

.calendar-day-empty {
  visibility: hidden;
}

.calendar-event-day {
  color: var(--blue-deep);
  background: rgba(242, 183, 0, 0.22);
  border-color: var(--gold);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.calendar-event-day small {
  margin-top: 0.12rem;
  color: inherit;
  font-size: 0.4rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.calendar-event-day:hover,
.calendar-event-day:focus-visible,
.calendar-event-day.is-selected {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(5, 18, 45, 0.18);
  outline: none;
  transform: translateY(-1px);
}

.calendar-event-detail {
  align-self: start;
  position: sticky;
  top: 0;
  min-width: 0;
  max-height: 100%;
  overflow-y: auto;
  padding: clamp(0.9rem, 1.7vw, 1.08rem);
  color: #1f2d42;
  background: #c9d9ec;
  border: 3px solid var(--gold);
  border-radius: 7px;
  box-shadow: 0 18px 34px rgba(5, 18, 45, 0.1);
}

.calendar-detail-date,
.calendar-detail-type {
  margin: 0;
  color: #b48700;
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.calendar-event-detail h3 {
  margin: 0.6rem 0 0.4rem;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.25rem, 2.1vw, 1.68rem);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.calendar-event-detail p:last-child {
  margin: 1rem 0 0;
  color: #1d2d44;
  font-size: clamp(0.86rem, 1vw, 0.95rem);
  font-weight: 600;
  line-height: 1.38;
}

.awareness-main {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 48%, #ffffff 100%);
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(2.8rem, 5.5vw, 5rem);
  overflow-x: hidden;
}

.awareness-intro-section {
  width: min(100%, 1180px);
  margin: 0 auto;
  text-align: center;
  animation: academic-card-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.awareness-intro-section h2 {
  max-width: 820px;
  margin: 0.25rem auto 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.15rem, 4.5vw, 4.15rem);
  font-weight: 900;
  line-height: 0.96;
  text-wrap: balance;
}

.awareness-lead {
  max-width: 58rem;
  margin: 1rem auto 0;
  color: #2b3d57;
  font-size: clamp(1rem, 1.22vw, 1.18rem);
  font-weight: 600;
  line-height: 1.5;
  text-wrap: balance;
}

.awareness-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.95rem, 2vw, 1.35rem);
  margin-top: clamp(2rem, 4vw, 3.2rem);
}

.awareness-focus-card {
  position: relative;
  min-width: 0;
  min-height: clamp(245px, 21vw, 300px);
  padding: clamp(1.1rem, 2vw, 1.45rem);
  color: #1f2d42;
  background: #f9fcff;
  border: 2px solid var(--blue);
  border-radius: 6px;
  box-shadow: 0 18px 34px rgba(5, 18, 45, 0.06);
  overflow: hidden;
  text-align: left;
  animation: academic-card-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.awareness-focus-card:nth-child(2) {
  animation-delay: 0.06s;
}

.awareness-focus-card:nth-child(3) {
  animation-delay: 0.12s;
}

.awareness-focus-card:nth-child(4) {
  animation-delay: 0.18s;
}

.awareness-focus-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(180deg, rgba(242, 183, 0, 0.16), transparent 64%);
  transition: opacity 0.24s ease;
}

.awareness-focus-card > * {
  position: relative;
  z-index: 1;
}

.awareness-focus-icon {
  width: clamp(44px, 4.6vw, 58px);
  height: clamp(44px, 4.6vw, 58px);
  padding: 0.58rem;
  color: var(--gold);
  background: var(--blue);
  border-radius: 999px;
  stroke-width: 2.35;
  transition:
    background-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.awareness-focus-card h3 {
  margin: 1rem 0 0.65rem;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1rem, 1.22vw, 1.18rem);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.awareness-focus-card p {
  margin: 0;
  color: #2d3542;
  font-size: clamp(0.93rem, 1vw, 1rem);
  font-weight: 500;
  line-height: 1.34;
}

.awareness-focus-card:hover,
.awareness-focus-card:focus-within {
  transform: translateY(-7px);
  background: #fff8df;
  border-color: var(--gold);
  box-shadow: 0 24px 44px rgba(5, 18, 45, 0.14);
}

.awareness-focus-card:hover::before,
.awareness-focus-card:focus-within::before {
  opacity: 1;
}

.awareness-focus-card:hover .awareness-focus-icon,
.awareness-focus-card:focus-within .awareness-focus-icon {
  background: var(--blue-deep);
  box-shadow: 0 16px 30px rgba(5, 18, 45, 0.14);
  transform: scale(1.08) rotate(-3deg);
}

.awareness-action-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.4rem, 4vw, 3.2rem);
  align-items: center;
  width: min(100%, 1180px);
  margin: clamp(2.8rem, 5.2vw, 4.4rem) auto 0;
  padding-top: clamp(1.45rem, 2.8vw, 2rem);
  border-top: 2px solid rgba(13, 64, 150, 0.13);
}

.awareness-action-image {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 22px 42px rgba(5, 18, 45, 0.12);
}

.awareness-action-image img {
  width: 100%;
  height: clamp(260px, 30vw, 420px);
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.awareness-action-image:hover img,
.awareness-action-image:focus-within img {
  transform: scale(1.035);
}

.awareness-action-copy {
  min-width: 0;
}

.awareness-action-icon {
  width: clamp(40px, 4.5vw, 54px);
  height: clamp(40px, 4.5vw, 54px);
  color: var(--gold);
  stroke-width: 2.45;
}

.awareness-action-copy h2 {
  max-width: 13ch;
  margin: 0.65rem 0 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.7rem);
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
}

.awareness-action-copy p {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: #2b3d57;
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  font-weight: 600;
  line-height: 1.52;
}

.awareness-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.awareness-pill-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.55rem 0.86rem;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(242, 183, 0, 0.16);
  border: 1px solid rgba(242, 183, 0, 0.58);
  border-radius: 999px;
  transition:
    background-color 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.awareness-pill-list span:hover {
  background: rgba(242, 183, 0, 0.28);
  transform: translateY(-2px);
}

@media (max-width: 1180px) {
  .calendar-overlay-panel {
    width: min(92vw, 680px);
    height: min(84svh, 760px);
  }

  .calendar-overlay-content {
    grid-template-columns: 1fr;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .calendar-months {
    grid-template-columns: 1fr;
    overflow: visible;
    padding-right: 0;
  }

  .calendar-event-detail {
    order: -1;
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .awareness-calendar-section {
    width: min(100% - 2rem, 780px);
    gap: 1.35rem;
  }

  .awareness-focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 760px);
    margin-inline: auto;
  }

  .awareness-action-section {
    grid-template-columns: 1fr;
    width: min(100%, 760px);
  }

  .awareness-action-copy {
    text-align: center;
  }

  .awareness-action-copy h2,
  .awareness-action-copy p {
    margin-inline: auto;
  }

  .awareness-pill-list {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .calendar-overlay {
    padding: 0.8rem;
    place-items: center;
  }

  .calendar-overlay-panel {
    width: min(100%, 460px);
    height: min(86svh, 740px);
    max-height: calc(100svh - 1.6rem);
    border-right: 2px solid var(--blue);
    border-left: 2px solid var(--blue);
    border-bottom: 2px solid var(--blue);
    border-radius: 8px;
  }

  .calendar-overlay-header {
    position: sticky;
    top: 0;
    z-index: 4;
    padding: 0.82rem 0.9rem;
    background: #ffffff;
  }

  .calendar-overlay-content {
    padding: 0.7rem;
    gap: 0.7rem;
  }

  .calendar-month {
    padding: 0.68rem;
  }

  .calendar-day {
    min-height: 32px;
  }

  .calendar-event-detail {
    padding: 0.82rem;
  }

  .calendar-event-detail h3 {
    margin-top: 0.45rem;
  }

  .calendar-event-detail p:last-child {
    margin-top: 0.7rem;
  }

  .awareness-overview-section {
    padding-bottom: 2.35rem;
  }

  .awareness-overview-banner {
    min-height: 82px;
    padding: 1.15rem 1rem;
  }

  .awareness-overview-banner::after {
    width: min(64vw, 260px);
    height: 9px;
    bottom: -9px;
  }

  .awareness-overview-banner h2 {
    max-width: 11ch;
    font-size: clamp(1.75rem, 8vw, 2.45rem);
  }

  .awareness-calendar-section {
    grid-template-columns: 1fr;
    width: min(100% - 2rem, 30rem);
    margin-top: 2rem;
  }

  .awareness-event-card {
    min-height: 0;
    padding: 1.1rem;
  }

  .awareness-event-card h3 {
    font-size: clamp(1.2rem, 5.8vw, 1.55rem);
  }

  .awareness-main {
    padding: 0 1rem 2.9rem;
  }

  .awareness-intro-section h2 {
    max-width: 12ch;
    font-size: clamp(2rem, 8.8vw, 2.85rem);
  }

  .awareness-lead {
    max-width: 32rem;
  }

  .awareness-focus-grid {
    grid-template-columns: 1fr;
    width: min(100%, 28rem);
  }

  .awareness-focus-card {
    min-height: 0;
    text-align: center;
  }

  .awareness-action-section {
    width: min(100%, 34rem);
    margin-top: 2.6rem;
  }

  .awareness-action-image img {
    height: clamp(215px, 56vw, 300px);
  }
}

@media (max-width: 420px) {
  .calendar-overlay {
    padding: 0.65rem;
  }

  .calendar-overlay-panel {
    height: min(84svh, 700px);
    max-height: calc(100svh - 1.3rem);
  }

  .calendar-overlay-header h2 {
    font-size: 1.28rem;
  }

  .calendar-overlay-close {
    width: 32px;
    height: 32px;
  }

  .calendar-weekdays span {
    font-size: 0.52rem;
  }

  .calendar-day {
    min-height: 28px;
    font-size: 0.64rem;
  }

  .calendar-event-day small {
    display: none;
  }

  .calendar-detail-date,
  .calendar-detail-type {
    font-size: 0.72rem;
  }

  .calendar-event-detail h3 {
    font-size: 1.16rem;
  }

  .calendar-event-detail p:last-child {
    font-size: 0.84rem;
  }

  .awareness-focus-card {
    padding: 1.1rem;
  }

  .awareness-calendar-section {
    width: min(100% - 1.5rem, 28rem);
  }

  .awareness-event-heading {
    gap: 0.58rem;
  }

  .awareness-event-icon {
    width: 34px;
    height: 34px;
    padding: 0.42rem;
  }

  .awareness-action-copy h2 {
    font-size: clamp(1.65rem, 8vw, 2.15rem);
  }

  .awareness-pill-list {
    gap: 0.55rem;
  }

  .awareness-pill-list span {
    min-height: 34px;
    padding: 0.52rem 0.72rem;
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .awareness-intro-section,
  .awareness-event-card,
  .awareness-event-icon,
  .calendar-overlay-panel,
  .calendar-event-day,
  .awareness-focus-card,
  .awareness-focus-card::before,
  .awareness-focus-icon,
  .awareness-action-image img,
  .awareness-pill-list span {
    animation: none;
    transition: none;
  }

  .awareness-focus-card:hover,
  .awareness-focus-card:focus-within,
  .awareness-focus-card:hover .awareness-focus-icon,
  .awareness-focus-card:focus-within .awareness-focus-icon,
  .awareness-event-card:hover,
  .awareness-event-card:focus-within,
  .awareness-event-card:hover .awareness-event-icon,
  .awareness-event-card:focus-within .awareness-event-icon,
  .calendar-event-day:hover,
  .calendar-event-day:focus-visible,
  .calendar-event-day.is-selected,
  .awareness-action-image:hover img,
  .awareness-action-image:focus-within img,
  .awareness-pill-list span:hover {
    transform: none;
  }
}

/* Support and services page */
.support-services-overview {
  display: grid;
  gap: clamp(0.9rem, 2vw, 1.25rem);
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) 0 0;
}

.support-overview-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(160px, 22vw, 260px);
  gap: clamp(1.1rem, 3vw, 2.4rem);
  align-items: center;
  min-width: 0;
  width: 100%;
  min-height: clamp(150px, 16vw, 190px);
  padding: clamp(1rem, 2.2vw, 1.45rem) clamp(1rem, 2.8vw, 1.8rem);
  border: 3px solid var(--blue);
  border-radius: 6px;
  box-shadow: 0 18px 36px rgba(5, 18, 45, 0.08);
  overflow: hidden;
  animation: academic-card-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.support-overview-card:nth-child(2) {
  animation-delay: 0.08s;
}

.support-overview-card:nth-child(3) {
  animation-delay: 0.16s;
}

.support-overview-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.56), transparent 38%);
  transition: opacity 0.24s ease;
}

.support-overview-card > * {
  position: relative;
  z-index: 1;
}

.support-overview-card-blue {
  background: #c9d9ec;
}

.support-overview-card-gold {
  background: #fff4c8;
  border-color: var(--gold);
}

.support-overview-copy {
  min-width: 0;
}

.support-overview-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.45rem 0.8rem;
  color: var(--blue-deep);
  background: var(--gold);
  border-radius: 3px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.8rem, 1.05vw, 0.92rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.support-overview-icon {
  width: 1.15em;
  height: 1.15em;
  stroke-width: 2.6;
}

.support-overview-card p {
  max-width: 49rem;
  margin: 0;
  color: #1d2d44;
  font-size: clamp(0.92rem, 1.08vw, 1.02rem);
  font-weight: 600;
  line-height: 1.34;
}

.support-overview-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
  border: 2px solid rgba(242, 183, 0, 0.9);
  border-radius: 4px;
  box-shadow: 0 12px 24px rgba(5, 18, 45, 0.12);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.support-overview-card:hover,
.support-overview-card:focus-within {
  border-color: var(--gold);
  box-shadow: 0 24px 46px rgba(5, 18, 45, 0.15);
  transform: translateY(-5px);
}

.support-overview-card-gold:hover,
.support-overview-card-gold:focus-within {
  border-color: var(--blue);
}

.support-overview-card:hover::before,
.support-overview-card:focus-within::before {
  opacity: 0.52;
}

.support-overview-card:hover img,
.support-overview-card:focus-within img {
  transform: scale(1.035);
}

.support-therapeutic-section {
  width: 100%;
  margin: clamp(2.4rem, 4.6vw, 3.8rem) 0 0;
  padding-bottom: clamp(2rem, 4vw, 3.2rem);
}

.support-section-banner {
  position: relative;
  width: min(100%, 680px);
  min-height: clamp(70px, 8vw, 92px);
  display: flex;
  align-items: center;
  padding: 1rem clamp(1rem, 2.6vw, 1.6rem);
  color: #ffffff;
  background: var(--blue);
  overflow: visible;
}

.support-section-banner::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: min(45vw, 250px);
  height: 9px;
  background: var(--gold);
  clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
}

.support-section-banner h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.55rem, 3.1vw, 2.45rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.support-therapy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  width: min(100% - 2rem, 1180px);
  margin: clamp(1.8rem, 3vw, 2.3rem) auto 0;
}

.support-therapy-card {
  position: relative;
  display: grid;
  align-content: start;
  min-width: 0;
  min-height: clamp(265px, 24vw, 330px);
  padding: clamp(1.25rem, 2.4vw, 1.8rem);
  color: var(--blue-deep);
  background: #ffffff;
  border: 4px solid currentColor;
  border-radius: 6px;
  box-shadow: 0 18px 38px rgba(5, 18, 45, 0.08);
  animation: academic-card-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.support-therapy-card:nth-child(2) {
  animation-delay: 0.08s;
}

.support-therapy-card:nth-child(3) {
  animation-delay: 0.16s;
}

.support-therapy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(135deg, rgba(242, 183, 0, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(13, 64, 150, 0.07), transparent 76%);
  transition: opacity 0.24s ease;
}

.support-therapy-card > * {
  position: relative;
  z-index: 1;
}

.support-therapy-card-gold {
  color: var(--gold);
}

.support-therapy-card-blue {
  color: var(--blue);
}

.support-therapy-icon {
  width: clamp(72px, 8vw, 108px);
  height: clamp(72px, 8vw, 108px);
  margin: 0 auto clamp(1.2rem, 2vw, 1.65rem);
  color: currentColor;
  stroke-width: 1.85;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.support-therapy-card h3 {
  margin: 0 0 1.15rem;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  font-weight: 900;
  line-height: 1.04;
  text-align: center;
  text-transform: uppercase;
}

.support-therapy-card p {
  margin: 0;
  color: #1d2d44;
  font-size: clamp(0.94rem, 1.08vw, 1.04rem);
  font-weight: 600;
  line-height: 1.34;
}

.support-therapy-card p::before {
  content: "";
  display: inline-block;
  width: 0.25rem;
  height: 0.25rem;
  margin-right: 0.45rem;
  margin-bottom: 0.18rem;
  background: currentColor;
  border-radius: 999px;
}

.support-therapy-card:hover,
.support-therapy-card:focus-within {
  border-color: var(--blue-deep);
  box-shadow: 0 24px 46px rgba(5, 18, 45, 0.15);
  transform: translateY(-7px);
}

.support-therapy-card:hover::before,
.support-therapy-card:focus-within::before {
  opacity: 1;
}

.support-therapy-card:hover .support-therapy-icon,
.support-therapy-card:focus-within .support-therapy-icon {
  transform: scale(1.06);
}

.support-services-main {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 48%, #ffffff 100%);
  padding: clamp(2.8rem, 5.5vw, 5rem) clamp(1rem, 4vw, 3rem);
  overflow-x: hidden;
}

.support-services-intro {
  width: min(100%, 1180px);
  margin: 0 auto;
  text-align: center;
  animation: academic-card-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.support-services-intro h2 {
  max-width: 820px;
  margin: 0.25rem auto 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.15rem, 4.5vw, 4.15rem);
  font-weight: 900;
  line-height: 0.96;
  text-wrap: balance;
}

.support-services-lead {
  max-width: 58rem;
  margin: 1rem auto 0;
  color: #2b3d57;
  font-size: clamp(1rem, 1.22vw, 1.18rem);
  font-weight: 600;
  line-height: 1.5;
  text-wrap: balance;
}

.support-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
  width: min(100%, 1120px);
  margin: clamp(2rem, 4.2vw, 3.2rem) auto 0;
}

.support-service-card {
  position: relative;
  min-width: 0;
  min-height: clamp(190px, 16vw, 230px);
  padding: clamp(1rem, 2vw, 1.35rem);
  color: var(--blue-deep);
  background: #c9d9ec;
  border: 2px solid var(--blue);
  border-radius: 6px;
  box-shadow: 0 18px 38px rgba(5, 18, 45, 0.08);
  overflow: hidden;
  animation: academic-card-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.support-service-card:nth-child(2) {
  animation-delay: 0.06s;
}

.support-service-card:nth-child(3) {
  animation-delay: 0.12s;
}

.support-service-card:nth-child(4) {
  animation-delay: 0.18s;
}

.support-service-card:nth-child(5) {
  animation-delay: 0.24s;
}

.support-service-card:nth-child(6) {
  animation-delay: 0.3s;
}

.support-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.36;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.46), transparent 42%);
  transition: opacity 0.24s ease;
}

.support-service-card > * {
  position: relative;
  z-index: 1;
}

.support-service-title {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.support-service-icon {
  width: clamp(38px, 4vw, 48px);
  height: clamp(38px, 4vw, 48px);
  padding: 0.52rem;
  color: var(--gold);
  background: var(--blue-deep);
  border-radius: 999px;
  stroke-width: 2.45;
  transition:
    background-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.support-service-card h3 {
  margin: 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.2rem, 1.9vw, 1.65rem);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
}

.support-service-title p {
  margin: 0.28rem 0 0;
  color: #b48700;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.72rem, 0.9vw, 0.82rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.support-service-card > p {
  max-width: 44rem;
  margin: 1rem 0 0;
  color: #1d2d44;
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  font-weight: 600;
  line-height: 1.34;
}

.support-service-card:hover,
.support-service-card:focus-within {
  transform: translateY(-7px);
  background: #d4e2f1;
  border-color: var(--gold);
  box-shadow: 0 24px 46px rgba(5, 18, 45, 0.15);
}

.support-service-card:hover::before,
.support-service-card:focus-within::before {
  opacity: 0.55;
}

.support-service-card:hover .support-service-icon,
.support-service-card:focus-within .support-service-icon {
  background: var(--blue);
  box-shadow: 0 16px 30px rgba(5, 18, 45, 0.14);
  transform: scale(1.08) rotate(-3deg);
}

.support-team-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(1.4rem, 4vw, 3.4rem);
  align-items: stretch;
  width: min(100%, 1120px);
  margin: clamp(2.8rem, 5.2vw, 4.4rem) auto 0;
  padding-top: clamp(1.45rem, 2.8vw, 2rem);
  border-top: 2px solid rgba(13, 64, 150, 0.13);
}

.support-team-copy {
  display: grid;
  align-content: center;
  min-width: 0;
}

.support-team-icon {
  width: clamp(40px, 4.5vw, 54px);
  height: clamp(40px, 4.5vw, 54px);
  color: var(--gold);
  stroke-width: 2.45;
}

.support-team-copy h2 {
  max-width: 12ch;
  margin: 0.65rem 0 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.7rem);
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
}

.support-team-copy p {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: #2b3d57;
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  font-weight: 600;
  line-height: 1.52;
}

.support-team-image {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 22px 42px rgba(5, 18, 45, 0.12);
}

.support-team-image img {
  width: 100%;
  height: 100%;
  min-height: clamp(260px, 28vw, 410px);
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.support-team-image:hover img,
.support-team-image:focus-within img {
  transform: scale(1.035);
}

@media (max-width: 1180px) {
  .support-services-overview {
    width: min(100% - 2rem, 820px);
  }

  .support-therapeutic-section {
    width: 100%;
  }

  .support-therapy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100% - 2rem, 820px);
  }

  .support-therapy-card {
    min-height: 300px;
    padding: 1.15rem;
  }

  .support-overview-card {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 220px);
  }

  .support-service-grid {
    width: min(100%, 820px);
  }

  .support-team-section {
    grid-template-columns: 1fr;
    width: min(100%, 820px);
  }

  .support-team-copy {
    text-align: center;
  }

  .support-team-copy h2,
  .support-team-copy p {
    margin-inline: auto;
  }

  .support-team-icon {
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .support-services-overview {
    width: min(100% - 2rem, 30rem);
    padding-top: 2rem;
  }

  .support-therapeutic-section {
    width: 100%;
    margin-top: 2.4rem;
  }

  .support-section-banner {
    min-height: 70px;
    width: min(100%, 430px);
  }

  .support-section-banner h2 {
    max-width: 12ch;
  }

  .support-therapy-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    width: min(100% - 2rem, 30rem);
    margin-top: 1.6rem;
  }

  .support-therapy-card {
    min-height: 0;
    padding: 1.2rem;
    text-align: center;
  }

  .support-therapy-card p {
    max-width: 28rem;
    margin-inline: auto;
    text-align: left;
  }

  .support-overview-card {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    min-height: 0;
    padding: 1rem;
  }

  .support-overview-card img {
    order: -1;
    max-height: 220px;
  }

  .support-overview-heading {
    margin-bottom: 0.68rem;
  }

  .support-services-main {
    padding: 2.25rem 1rem 2.9rem;
  }

  .support-services-intro h2 {
    max-width: 12ch;
    font-size: clamp(2rem, 8.8vw, 2.85rem);
  }

  .support-services-lead {
    max-width: 32rem;
  }

  .support-service-grid {
    grid-template-columns: 1fr;
    width: min(100%, 30rem);
  }

  .support-service-card {
    min-height: 0;
    padding: 1.1rem;
  }

  .support-team-section {
    width: min(100%, 34rem);
    margin-top: 2.6rem;
  }

  .support-team-image img {
    min-height: clamp(215px, 56vw, 300px);
  }
}

@media (max-width: 420px) {
  .support-services-overview {
    width: min(100% - 1.5rem, 28rem);
  }

  .support-therapeutic-section {
    width: 100%;
  }

  .support-therapy-grid {
    width: min(100% - 1.5rem, 28rem);
  }

  .support-section-banner {
    min-height: 64px;
    padding: 0.9rem;
  }

  .support-section-banner h2 {
    font-size: clamp(1.35rem, 7.3vw, 1.75rem);
  }

  .support-therapy-card {
    padding: 1rem;
  }

  .support-therapy-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 1rem;
  }

  .support-therapy-card h3 {
    font-size: 1rem;
  }

  .support-therapy-card p {
    font-size: 0.88rem;
  }

  .support-overview-card {
    padding: 0.85rem;
  }

  .support-overview-heading {
    display: flex;
    width: fit-content;
    max-width: 100%;
    font-size: 0.72rem;
    overflow-wrap: anywhere;
  }

  .support-overview-card p {
    font-size: 0.88rem;
  }

  .support-service-title {
    gap: 0.58rem;
  }

  .support-service-icon {
    width: 36px;
    height: 36px;
    padding: 0.46rem;
  }

  .support-service-card h3 {
    font-size: clamp(1.05rem, 5.7vw, 1.4rem);
  }

  .support-team-copy h2 {
    font-size: clamp(1.65rem, 8vw, 2.15rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-overview-card,
  .support-overview-card::before,
  .support-overview-card img,
  .support-section-banner,
  .support-therapy-card,
  .support-therapy-card::before,
  .support-therapy-icon,
  .support-services-intro,
  .support-service-card,
  .support-service-card::before,
  .support-service-icon,
  .support-team-image img {
    animation: none;
    transition: none;
  }

  .support-overview-card:hover,
  .support-overview-card:focus-within,
  .support-overview-card:hover img,
  .support-overview-card:focus-within img,
  .support-therapy-card:hover,
  .support-therapy-card:focus-within,
  .support-therapy-card:hover .support-therapy-icon,
  .support-therapy-card:focus-within .support-therapy-icon,
  .support-service-card:hover,
  .support-service-card:focus-within,
  .support-service-card:hover .support-service-icon,
  .support-service-card:focus-within .support-service-icon,
  .support-team-image:hover img,
  .support-team-image:focus-within img {
    transform: none;
  }
}

/* News page */
.news-main {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 48%, #ffffff 100%);
  padding: clamp(2.4rem, 4.8vw, 4rem) 0 clamp(2.8rem, 5.5vw, 5rem);
  overflow-x: hidden;
}

.news-section-banner {
  position: relative;
  display: flex;
  align-items: center;
  width: min(100%, 680px);
  min-height: clamp(70px, 8vw, 92px);
  padding: 1rem clamp(1rem, 2.6vw, 1.6rem);
  color: #ffffff;
  background: var(--blue);
}

.news-section-banner::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: min(45vw, 250px);
  height: 9px;
  background: var(--gold);
  clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
}

.news-section-banner h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.65rem, 3.2vw, 2.65rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.news-feature-card {
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: start;
  width: min(100% - 2rem, 1180px);
  margin: clamp(2.4rem, 4.5vw, 3.8rem) auto 0;
  padding: clamp(1rem, 2.6vw, 1.8rem);
  background: #ffffff;
  border: 3px solid var(--blue);
  border-radius: 7px;
  box-shadow: 0 24px 48px rgba(5, 18, 45, 0.1);
  animation: academic-card-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.news-feature-image {
  position: sticky;
  top: 92px;
  min-width: 0;
  padding: 0.72rem;
  background: linear-gradient(160deg, var(--gold) 0 86%, transparent 86% 100%);
  border-radius: 7px;
  box-shadow: 0 18px 36px rgba(5, 18, 45, 0.12);
}

.news-feature-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center top;
  border: 3px solid #ffffff;
  border-radius: 5px;
}

.news-feature-copy {
  min-width: 0;
}

.news-feature-copy h2 {
  max-width: 12ch;
  margin: 0.25rem 0 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
}

.news-feature-lead {
  margin: 1rem 0 0.95rem;
  color: var(--blue);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  font-weight: 900;
}

.news-feature-copy p {
  margin: 0 0 1rem;
  color: #2b3d57;
  font-size: clamp(0.98rem, 1.12vw, 1.08rem);
  font-weight: 600;
  line-height: 1.55;
}

.news-signature {
  margin-top: 1.15rem;
  padding-top: 1rem;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  border-top: 2px solid rgba(13, 64, 150, 0.16);
}

.news-signature p {
  margin: 0 0 0.24rem;
  color: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.25;
}

.news-signature strong {
  font-weight: 900;
}

.news-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  width: min(100% - 2rem, 1180px);
  margin: clamp(2rem, 4vw, 3.2rem) auto 0;
}

.news-story-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  color: var(--blue-deep);
  background: #ffffff;
  border: 3px solid var(--blue);
  border-radius: 7px;
  box-shadow: 0 18px 38px rgba(5, 18, 45, 0.08);
  animation: academic-card-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-story-card:nth-child(2) {
  animation-delay: 0.08s;
}

.news-story-card:nth-child(3) {
  animation-delay: 0.16s;
}

.news-story-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-bottom: 5px solid var(--gold);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-story-copy {
  padding: 1.05rem;
}

.news-story-icon {
  width: 42px;
  height: 42px;
  padding: 0.48rem;
  color: var(--gold);
  background: var(--blue);
  border-radius: 999px;
  stroke-width: 2.35;
}

.news-story-label {
  margin: 0.85rem 0 0.35rem;
  color: #b48700;
  font-family: "Montserrat", sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.news-story-card h3 {
  margin: 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.15rem, 1.55vw, 1.45rem);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.news-story-card p:last-child {
  margin: 0.8rem 0 0;
  color: #2b3d57;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.36;
}

.news-story-card:hover,
.news-story-card:focus-within {
  border-color: var(--gold);
  box-shadow: 0 24px 46px rgba(5, 18, 45, 0.15);
  transform: translateY(-7px);
}

.news-story-card:hover img,
.news-story-card:focus-within img {
  transform: scale(1.035);
}

@media (max-width: 1180px) {
  .news-feature-card {
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    width: min(100% - 2rem, 900px);
  }

  .news-story-grid {
    width: min(100% - 2rem, 900px);
  }
}

@media (max-width: 860px) {
  .news-feature-card {
    grid-template-columns: 1fr;
    width: min(100% - 2rem, 34rem);
  }

  .news-feature-image {
    position: relative;
    top: auto;
    width: min(100%, 300px);
    margin-inline: auto;
  }

  .news-feature-copy {
    text-align: center;
  }

  .news-feature-copy h2 {
    margin-inline: auto;
  }

  .news-feature-copy p {
    text-align: left;
  }

  .news-feature-lead,
  .news-signature p {
    text-align: center;
  }

  .news-story-grid {
    grid-template-columns: 1fr;
    width: min(100% - 2rem, 34rem);
  }
}

@media (max-width: 420px) {
  .news-main {
    padding-top: 2rem;
  }

  .news-section-banner {
    min-height: 64px;
    width: min(100%, 430px);
    padding: 0.9rem;
  }

  .news-section-banner h2 {
    font-size: clamp(1.35rem, 7.3vw, 1.75rem);
  }

  .news-feature-card,
  .news-story-grid {
    width: min(100% - 1.5rem, 28rem);
  }

  .news-feature-card {
    padding: 0.9rem;
  }

  .news-feature-copy h2 {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-feature-card,
  .news-story-card,
  .news-story-card img {
    animation: none;
    transition: none;
  }

  .news-story-card:hover,
  .news-story-card:focus-within,
  .news-story-card:hover img,
  .news-story-card:focus-within img {
    transform: none;
  }
}

/* News page refinement */
.news-main {
  background: #ffffff;
  padding: clamp(2.5rem, 5vw, 4.3rem) 0 clamp(2.8rem, 5.5vw, 5rem);
}

.news-priority-section {
  width: min(100% - 2rem, 1120px);
  margin: 0 auto;
}

.news-priority-title {
  margin: 0 0 clamp(1.8rem, 3.4vw, 2.7rem);
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.news-priority-story {
  display: grid;
  grid-template-columns: clamp(132px, 15vw, 190px) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: start;
  animation: academic-card-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.news-priority-story.is-story-swapping {
  animation: news-story-swap 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.news-priority-image {
  position: relative;
  width: 100%;
  padding: 0.45rem;
  background: linear-gradient(165deg, var(--gold) 0 84%, transparent 84% 100%);
  border-radius: 7px;
  box-shadow: 0 18px 34px rgba(5, 18, 45, 0.1);
}

.news-priority-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center top;
  border: 3px solid #ffffff;
  border-radius: 5px;
}

.news-priority-copy {
  min-width: 0;
  width: 100%;
  max-width: 820px;
}

.news-priority-heading-row {
  display: grid;
  justify-items: center;
  margin-bottom: 1.15rem;
}

.news-priority-story:focus {
  outline: none;
}

.news-priority-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 0.75rem;
  padding: 0.45rem 0.82rem;
  color: var(--blue-deep);
  background: var(--gold);
  border-radius: 3px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.72rem, 0.9vw, 0.84rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.news-priority-copy .news-priority-badge {
  margin: 0 0 0.75rem;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.72rem, 0.9vw, 0.84rem);
  font-weight: 900;
  line-height: 1;
}

.news-priority-heading-row h3 {
  margin: 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.35rem, 2.35vw, 2.1rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.news-priority-lead {
  margin: 0 0 1.3rem;
  color: var(--blue);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  font-weight: 900;
  text-align: center;
}

.news-priority-copy p {
  margin: 0 0 1rem;
  color: #1f2d42;
  font-size: clamp(0.95rem, 1.06vw, 1.02rem);
  font-weight: 500;
  line-height: 1.42;
  overflow-wrap: break-word;
}

.news-priority-copy .news-signature {
  margin-top: 1.1rem;
  padding-top: 0;
  color: #1f2d42;
  font-family: "Source Sans 3", sans-serif;
  border-top: 0;
}

.news-priority-copy .news-signature p {
  margin: 0;
  color: inherit;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.18;
}

.news-priority-copy .news-signature strong {
  color: var(--blue-deep);
  font-weight: 900;
}

.news-other-section {
  width: min(100% - 2rem, 1180px);
  margin: clamp(3rem, 5.6vw, 4.8rem) auto 0;
  padding-top: clamp(1.3rem, 2.4vw, 1.9rem);
  border-top: 2px solid rgba(13, 64, 150, 0.14);
}

.news-other-heading {
  max-width: 680px;
  margin-bottom: clamp(1.3rem, 2.5vw, 2rem);
}

.news-other-heading h2 {
  margin: 0.25rem 0 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
}

.news-other-heading > p:not(.section-kicker) {
  margin: 0.8rem 0 0;
  color: #2b3d57;
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  font-weight: 600;
  line-height: 1.38;
}

.news-story-grid {
  width: 100%;
  margin: 0;
}

.news-story-card {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  min-width: 0;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.news-story-card.is-latest-story {
  border-color: var(--gold);
}

.news-story-copy {
  display: grid;
  align-content: start;
  min-width: 0;
  overflow: hidden;
  padding: 1rem;
}

.news-story-label,
.news-story-title,
.news-story-summary {
  display: block;
}

.news-story-latest {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.34rem 0.58rem;
  color: var(--blue-deep);
  background: var(--gold);
  border-radius: 3px;
  line-height: 1;
}

.news-story-title {
  margin: 0.35rem 0 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.08rem, 1.45vw, 1.35rem);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.news-story-summary {
  margin-top: 0.72rem;
  color: #2b3d57;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.34;
  overflow-wrap: break-word;
}

@media (max-width: 860px) {
  .news-priority-section {
    width: min(100% - 2rem, 34rem);
  }

  .news-priority-story {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .news-priority-image {
    width: min(58vw, 190px);
    margin-inline: auto;
  }

  .news-priority-heading-row {
    gap: 0.7rem;
    justify-items: center;
  }

  .news-priority-heading-row h3 {
    max-width: 16ch;
  }

  .news-priority-copy p {
    font-size: 0.95rem;
  }

  .news-other-section {
    width: min(100% - 2rem, 34rem);
    margin-top: 2.8rem;
  }

  .news-other-heading {
    text-align: center;
  }

  .news-other-heading h2 {
    max-width: 11ch;
    margin-inline: auto;
  }

}

@media (max-width: 560px) {
  .news-priority-section,
  .news-other-section {
    width: min(calc(100vw - 2rem), 28rem);
  }

  .news-priority-title {
    margin-bottom: 1.5rem;
  }

  .news-priority-story,
  .news-priority-copy {
    width: 100%;
    max-width: 100%;
  }

  .news-priority-image {
    width: min(52vw, 160px);
  }

  .news-priority-copy p {
    font-size: 0.9rem;
    line-height: 1.38;
  }

  .news-story-grid {
    gap: 0.85rem;
    width: min(calc(100vw - 2rem), 28rem);
  }

  .news-story-card {
    grid-template-columns: minmax(92px, 28%) minmax(0, 1fr);
    grid-template-rows: 1fr;
  }

  .news-story-card img {
    height: 100%;
    min-height: 136px;
    aspect-ratio: auto;
    border-right: 5px solid var(--gold);
    border-bottom: 0;
  }

  .news-story-copy {
    padding: 0.85rem;
  }

  .news-story-icon {
    width: 32px;
    height: 32px;
    padding: 0.38rem;
  }

  .news-story-label {
    margin-top: 0.62rem;
    font-size: 0.68rem;
  }

  .news-story-title {
    font-size: 1rem;
  }

  .news-story-summary {
    margin-top: 0.5rem;
    font-size: 0.84rem;
    line-height: 1.25;
  }

}

@media (prefers-reduced-motion: reduce) {
  .news-priority-story {
    animation: none;
  }
}

@keyframes news-story-swap {
  from {
    opacity: 0.78;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gallery page */
.gallery-main {
  background: #ffffff;
  padding: clamp(2.7rem, 5vw, 4.8rem) 0 clamp(3rem, 5.8vw, 5.4rem);
  overflow-x: hidden;
}

.gallery-intro,
.gallery-album-view {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
}

.gallery-intro {
  text-align: center;
}

.gallery-intro h2,
.gallery-album-header h2 {
  margin: 0.24rem 0 0;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.15rem, 4.4vw, 4rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.gallery-intro p:not(.section-kicker),
.gallery-album-header p:not(.section-kicker) {
  max-width: 680px;
  margin: 0.85rem auto 0;
  color: #2b3d57;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  font-weight: 600;
  line-height: 1.42;
}

.gallery-album-grid,
.gallery-photo-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
  width: min(100% - 2rem, 1180px);
  margin: clamp(2rem, 4vw, 3rem) auto 0;
}

.gallery-album-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-photo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-album-card,
.gallery-photo-card {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--blue-deep);
  font: inherit;
  text-align: left;
  background: #ffffff;
  border: 0;
  border-radius: 7px;
  box-shadow: 0 16px 34px rgba(5, 18, 45, 0.1);
  overflow: hidden;
  cursor: pointer;
  animation: gallery-item-enter 0.46s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--gallery-item-index, 0) * 0.055s);
  transition:
    box-shadow 0.24s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-album-card:hover,
.gallery-album-card:focus-visible,
.gallery-photo-card:hover,
.gallery-photo-card:focus-visible {
  box-shadow: 0 22px 42px rgba(5, 18, 45, 0.14);
  outline: none;
  transform: translateY(-7px);
}

.gallery-album-cover,
.gallery-photo-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
}

.gallery-album-cover img,
.gallery-photo-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-album-card:hover img,
.gallery-album-card:focus-visible img,
.gallery-photo-card:hover > img,
.gallery-photo-card:focus-visible > img {
  transform: scale(1.035);
}

.gallery-photo-card > img {
  height: auto;
}

.gallery-album-copy {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 1rem;
}

.gallery-album-title {
  display: block;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.08rem, 1.45vw, 1.35rem);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.gallery-album-description {
  display: block;
  margin-top: 0.72rem;
  color: #2b3d57;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.34;
  overflow-wrap: break-word;
}

.gallery-back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 clamp(1.4rem, 3vw, 2rem);
  padding: 0.78rem 1rem;
  color: var(--blue-deep);
  font-family: "Montserrat", sans-serif;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  background: var(--gold);
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(242, 183, 0, 0.24);
  transition:
    box-shadow 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-back-button:hover,
.gallery-back-button:focus-visible {
  outline: none;
  box-shadow: 0 18px 34px rgba(242, 183, 0, 0.34);
  transform: translateY(-3px);
}

.gallery-back-button .icon {
  width: 1rem;
  height: 1rem;
  stroke-width: 2.7;
}

.gallery-album-header {
  max-width: 780px;
}

.gallery-album-header p:not(.section-kicker) {
  margin-inline: 0;
}

.gallery-empty-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.4rem;
  color: #2b3d57;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  border: 2px dashed rgba(13, 64, 150, 0.24);
  border-radius: 7px;
}

.gallery-lightbox[hidden] {
  display: none;
}

body.is-gallery-lightbox-open {
  overflow: hidden;
  touch-action: none;
}

body.is-gallery-lightbox-open robinhill-header {
  visibility: hidden;
  pointer-events: none;
}

body.is-gallery-lightbox-open main {
  position: relative;
  z-index: 2001;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  width: 100vw;
  max-width: 100vw;
  padding: clamp(0.85rem, 2vw, 1.4rem);
  background: #061f55;
  overflow: hidden;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: #061f55;
  border: 0;
  appearance: none;
  cursor: pointer;
}

.gallery-lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(calc(100vw - 2rem), 960px);
  height: min(calc(100svh - 2rem), 720px);
  min-height: 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  animation: gallery-lightbox-enter 0.18s ease both;
}

.gallery-lightbox-panel:focus {
  outline: none;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  display: grid;
  place-items: center;
  color: var(--blue-deep);
  background: var(--gold);
  border: 0;
  border-radius: 999px;
  appearance: none;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.24);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.gallery-lightbox-close {
  position: fixed;
  top: 0.75rem;
  right: 1rem;
  left: auto;
  z-index: 3;
  width: 40px;
  height: 40px;
}

.gallery-lightbox-close .icon,
.gallery-lightbox-nav .icon {
  width: 1.05rem;
  height: 1.05rem;
  stroke-width: 2.7;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus-visible {
  background: #ffffff;
  outline: none;
  transform: translateY(-2px);
}

.gallery-lightbox-body {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0;
  background: #061f55;
  touch-action: none;
}

.gallery-lightbox-body img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  background: #061f55;
  user-select: none;
}

.gallery-lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
}

.gallery-lightbox-prev {
  left: 1rem;
  right: auto;
}

.gallery-lightbox-next {
  right: 1rem;
  left: auto;
}

@keyframes gallery-item-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gallery-lightbox-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 1040px) {
  .gallery-album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .gallery-lightbox-panel {
    width: min(calc(100vw - 1.5rem), 720px);
    height: min(calc(100svh - 1.5rem), 680px);
  }

  .gallery-lightbox-nav {
    top: auto;
    bottom: clamp(1rem, 3vw, 1.3rem);
    transform: none;
  }
}

@media (max-width: 560px) {
  .gallery-intro,
  .gallery-album-view,
  .gallery-album-grid,
  .gallery-photo-grid {
    width: min(88vw, 24rem);
    max-width: 24rem;
  }

  .gallery-album-grid,
  .gallery-photo-grid {
    grid-template-columns: 1fr;
  }

  .gallery-intro h2,
  .gallery-album-header h2 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .gallery-intro p:not(.section-kicker),
  .gallery-album-header p:not(.section-kicker) {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .gallery-album-copy {
    padding: 0.9rem;
  }

  .gallery-lightbox {
    padding: 0.45rem;
  }

  .gallery-lightbox-panel {
    width: calc(100vw - 0.9rem);
    height: calc(100svh - 0.9rem);
    border-radius: 6px;
  }

  .gallery-lightbox-body {
    padding: 0;
  }

  .gallery-lightbox-nav {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-album-card,
  .gallery-photo-card,
  .gallery-album-cover img,
  .gallery-photo-card > img,
  .gallery-lightbox-panel {
    animation: none;
    transition: none;
  }

  .gallery-album-card:hover,
  .gallery-album-card:focus-visible,
  .gallery-photo-card:hover,
  .gallery-photo-card:focus-visible,
  .gallery-album-card:hover img,
  .gallery-album-card:focus-visible img,
  .gallery-photo-card:hover > img,
  .gallery-photo-card:focus-visible > img {
    transform: none;
  }
}
