/* JCMLRI homepage redesign. No frameworks or JavaScript required. */
:root {
  --navy: #102f49;
  --navy-deep: #09263d;
  --teal: #06377a;
  /* --teal: #087d83; */
  --teal-light: #dcefee;
  --ink: #19364a;
  --muted: #5c6d78;
  --line: #dce6eb;
  --pale: #f2f7f9;
  --white: #fff;
  --container: 1240px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: #fff;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
summary {
  font: inherit;
}

a,
summary,
label {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
summary:focus-visible,
input:focus-visible+label {
  outline: 3px solid #db9d29;
  outline-offset: 5px;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
}

h2 {
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 600;
  letter-spacing: -1.3px;
}

h3 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

p {
  color: var(--muted);
}

.container {
  width: min(var(--container), calc(100% - 80px));
  max-width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 84px 0;
}

.eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 15px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 12px 24px;
  background: var(--teal);
  color: white;
  border: 1px solid var(--teal);
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  transition:
    background 0.2s,
    transform 0.2s;
}

.button:hover {
  background: #07646b;
  transform: translateY(-2px);
  color: white;
}

.button-outline {
  background: transparent;
  color: var(--navy);
  border-color: #a4b8c2;
}

.button-outline:hover {
  background: #e4f0f1;
  color: #07646b;
}
.button.light {
background: white;
color: var(--teal);
border-color: white;
}
.button.light span {
    margin-left:6px;
}

.button-small {
  min-height: 44px;
  padding: 10px 20px;
}

.text-link {
  display: inline-block;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid #9bc4c4;
  padding-bottom: 4px;
}

.text-link:hover {
  color: var(--navy);
  border-color: var(--navy);
}

.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  padding: 12px;
  background: white;
  z-index: 100;
}

.skip:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.utility {
  background: var(--navy-deep);
  color: #e1eaf0;
  font-size: 12px;
}

.utility-inner {
  min-height: 37px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.utility-inner>div {
  display: flex;
  gap: 28px;
}

.utility a:hover {
  text-decoration: underline;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 105px;
}

.brand {
  width: 400px;
  max-width: 48%;
}

.header-location {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: auto;
  margin-right: 20px;
}

.location-mark {
  font-size: 33px;
  line-height: 1;
  color: var(--teal);
}

.header-location strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.header-location div>span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.navigation {
  border-top: 1px solid #e7edf0;
  border-bottom: 1px solid #e1e9ed;
  background: white;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 57px;
}

.desktop-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav>a {
  padding: 16px 0;
  white-space: nowrap;
}

.desktop-nav>a:hover,
.desktop-nav>.active {
  color: var(--teal);
}

.desktop-nav>.active {
  border-bottom: 3px solid var(--teal);
}

summary {
  cursor: pointer;
}

.dropdown {
  position: relative;
}

.dropdown summary {
  list-style: none;
}

.dropdown summary:after {
  content: "⌄";
  padding-left: 8px;
}

.dropdown-menu {
  position: absolute;
  top: 34px;
  left: -15px;
  width: 270px;
  padding: 10px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 15px 40px #09263d20;
  z-index: 20;
  border-radius: 4px;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
}

.dropdown-menu a:hover {
  background: var(--pale);
  color: var(--teal);
}

.nav-academic {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  border-left: 1px solid var(--line);
  padding-left: 25px;
  white-space: nowrap;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  background: #eff6f9;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 76%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #eff6f9 1%, #eff6f9 29%, #eff6f9ea 38%, #eff6f965 58%, transparent 77%);
}

.hero-inner {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: 55%;
  padding: 44px 0 74px;
}

.hero h1 {
  font-size: clamp(40px, 4.2vw, 60px);
  letter-spacing: -2.3px;
  font-weight: 500;
  line-height: 1.14;
  margin-bottom: 25px;
}

.hero h1 em {
  color: var(--teal);
  font-style: normal;
}

.hero p {
  max-width: 410px;
  font-size: 17px;
  line-height: 1.75;
  color: #4c6270;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.hero-caption {
  position: absolute;
  right: 0;
  bottom: 95px;
  background: #fffef7e8;
  padding: 13px 20px;
  border-left: 3px solid var(--teal);
  font-size: 12px;
  color: var(--navy);
}

.hero-caption>span {
  display: block;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.8px;
  color: var(--teal);
}

.hero-foot {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #102f49ed;
  color: #fff;
}

.hero-foot .container {
  display: flex;
  align-items: center;
  min-height: 58px;
  gap: 0;
}

.hero-foot span {
  font-size: 13px;
  letter-spacing: 0.3px;
  flex: 1;
  border-right: 1px solid #ffffff35;
  text-align: center;
}

.hero-foot span:first-child {
  text-align: left;
}

.hero-foot span:last-child {
  text-align: right;
  border: 0;
  color: #bde1de;
}

.news {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.news-inner {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 70px;
  gap: 22px;
}

.news h2 {
  font-size: 16px;
  letter-spacing: 0;
  flex-shrink: 0;
  color: var(--teal);
  padding-right: 23px;
  border-right: 1px solid var(--line);
}

.news h2 span {
  margin-right: 8px;
}

.ticker {
  order: 2;
  overflow: hidden;
  flex: 1;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: news-scroll 20s linear infinite;
}

.ticker-group {
  display: flex;
  gap: 48px;
  padding: 0 25px;
  align-items: center;
  border-right: 1px solid #0e2d4861;
}

.ticker-group:last-child {
  border-right: 0;
}

.ticker-group a {
  font-size: 14px;
  white-space: nowrap;
}

.ticker-group b {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--teal);
  background: #e8f4f3;
  padding: 5px 8px;
  margin-right: 10px;
}

.news-check {
  position: absolute;
  right: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.news-pause {
  order: 3;
  cursor: pointer;
  border: 1px solid var(--line);
  font-size: 12px;
  padding: 3px 11px;
  border-radius: 3px;
}

.play-label {
  display: none;
}

.news-check:checked+.news-pause .pause-label {
  display: none;
}

.news-check:checked+.news-pause .play-label {
  display: inline;
}

.news-check:checked~.ticker .ticker-track,
.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track {
  animation-play-state: paused;
}

@keyframes news-scroll {
  to {
    transform: translateX(-50%);
  }
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 38px;
}

.section-heading .eyebrow {
  text-align: left;
}

.section-heading>p {
  font-size: 15px;
  max-width: 375px;
  line-height: 1.7;
}

.section-heading.compact {
  margin-bottom: 27px;
}

.compact h2 {
  font-size: 32px;
}

.compact .eyebrow {
  margin-bottom: 8px;
}

.quick-section {
  padding-top: 48px;
  padding-bottom: 58px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.quick-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 227px;
  border-radius: 5px;
  background: var(--navy);
}

.quick-card>img {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.quick-card:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #0a2b46 0%, #0a2b46cf 34%, #0a2b4630 100%);
}

.quick-card>div {
  position: absolute;
  left: 20px;
  right: 14px;
  bottom: 19px;
  color: white;
}

.quick-card span {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #cee8e7;
}

.quick-card h3 {
  font-size: 19px;
  line-height: 1.3;
  margin: 8px 0 9px;
  letter-spacing: -0.3px;
}

.quick-card small {
  font-size: 12px;
  color: #e2ecee;
  border-bottom: 1px solid #ffffff65;
  padding-bottom: 3px;
}

.quick-card:hover>img {
  transform: scale(1.06);
}

.legacy {
  background: var(--pale);
  padding: 64px 0;
}

.legacy-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 50px;
  align-items: center;
}

.portrait-panel {
  position: relative;
  min-height: 435px;
  background: #e0eeef;
  overflow: hidden;
  border-radius: 5px;
}

.portrait-label {
  position: absolute;
  top: 26px;
  left: 28px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.4px;
}

.portrait-circle {
  position: absolute;
  width: 325px;
  height: 325px;
  border-radius: 50%;
  background: #c1dddd;
  left: 50%;
  top: 62px;
  transform: translateX(-50%);
  border: 22px solid #d1e6e6;
}

.portrait-panel>img {
  position: absolute;
  width: 116%;
  max-width: none;
  bottom: 30px;
  left: -8%;
  height: 355px;
  object-fit: contain;
}

.portrait-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #163b4be8;
  padding: 18px 28px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portrait-caption strong {
  font-size: 17px;
  font-weight: 500;
}

.portrait-caption span {
  font-size: 13px;
  color: #cedfe6;
}

.legacy-copy .dates {
  font-size: 13px;
  margin: 10px 0 24px;
  color: #647782;
}

.legacy-copy h3 {
  font-size: 25px;
  line-height: 1.4;
  margin-bottom: 17px;
  font-weight: 500;
}

.legacy-copy p:not(.dates) {
  font-size: 15px;
  margin-bottom: 15px;
}

.legacy-copy .text-link {
  margin-top: 9px;
}

.research {
  background: white;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.research-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 3px solid #c6dadf;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: start;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.research-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px #11334a0a;
}

.research-card.featured {
  background: #f0f7f7;
  border-top-color: var(--teal);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 24px;
}

.card-top img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.card-top>span {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -1px;
  color: #9aaeb8;
}

.card-kicker {
  color: var(--teal);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.4px;
}

.research-card h3 {
  font-size: 25px;
  margin-top: 11px;
  min-height: 61px;
}

.research-card h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
  margin: 10px 0 19px;
}

.research-card p {
  font-size: 15px;
  margin-bottom: 24px;
}

.research-card .text-link {
  margin-top: auto;
}

.blog {
  margin: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 45px;
}

.blog-feature {
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 44% 56%;
}

.blog-feature>img {
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
}

.blog-feature>div {
  padding: 34px 28px;
}

.blog-feature h3 {
  font-size: 25px;
  margin: 16px 0 14px;
  line-height: 1.3;
}

.blog-feature p {
  font-size: 14px;
  margin-bottom: 25px;
}

.update-list article {
  padding: 0 0 24px;
}

.update-list article+article {
  border-top: 1px solid #d3e0e7;
  padding-top: 24px;
  padding-bottom: 0;
}

.update-list h3 {
  font-size: 23px;
  margin: 9px 0;
}

.update-list p {
  font-size: 14px;
  margin: 0 0 13px;
}

.about {
  background: var(--pale);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 82px;
  align-items: center;
}

.about-images {
  position: relative;
  min-height: 470px;
}

.about-main {
  width: 88%;
  height: 350px;
  object-fit: cover;
  border-radius: 5px;
  object-position: 56% center;
}

.about-detail {
  position: absolute;
  width: 53%;
  height: 210px;
  object-fit: cover;
  bottom: 0;
  right: 0;
  border: 8px solid white;
  border-radius: 4px;
}

.established {
  position: absolute;
  bottom: 20px;
  left: 0;
  color: var(--teal);
  border-left: 3px solid var(--teal);
  padding-left: 20px;
  max-width: 190px;
}

.established strong {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.1;
  display: block;
}

.established span {
  font-size: 12px;
  color: var(--muted);
}

.about-copy .lead {
  font-size: 19px;
  color: var(--ink);
  line-height: 1.5;
  margin: 22px 0 17px;
}

.about-copy p {
  font-size: 15px;
  margin-bottom: 14px;
}

.about-principles {
  display: flex;
  margin: 24px 0 30px;
  border-block: 1px solid var(--line);
  padding: 16px 0;
  gap: 24px;
}

.about-principles a {
  font-size: 13px;
  font-weight: 600;
}

.about-principles span {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--teal);
  margin-bottom: 3px;
}

.about-principles a:hover {
  color: var(--teal);
}

footer {
  background: var(--navy-deep);
  color: #ccdae3;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.55fr 0.8fr 1fr 1.15fr;
  gap: 50px;
  padding-top: 58px;
  padding-bottom: 52px;
}

.footer-brand img {
  background: white;
  padding: 12px;
  border-radius: 3px;
  width: 335px;
  box-sizing: content-box;
  max-width: calc(100% - 24px);
}

.footer-brand p {
  color: #b5c8d5;
  font-size: 14px;
  margin: 22px 0;
  max-width: 325px;
}

.footer-main h2 {
  font-size: 16px;
  color: white;
  letter-spacing: 0;
  margin: 8px 0 20px;
}

.footer-main>div:not(.footer-brand)>a {
  display: block;
  font-size: 13px;
  margin: 9px 0;
}

.footer-main a:hover {
  color: white;
  text-decoration: underline;
}

.footer-contact address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 18px;
}
.footer-contact .socials {
    margin-top:15px;
}
.socials {
  display: flex;
  gap: 17px;
  font-size: 12px;
}
.socials a {
    padding:8px;
    background: white;
    border-radius: 3px;
}
.socials a img {
    width:16px;
    height:16px;
    object-fit:contain;
    padding:0;
    max-width:100%;
}

.footer-bottom {
  border-top: 1px solid #ffffff18;
  font-size: 11px;
  color: #a5bccb;
  padding: 19px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 22px;
}

.footer-bottom a {
  color: white;
}

@media (min-width: 1600px) {
  .hero-inner {
    min-height: 610px;
  }

  .hero-photo {
    object-position: center 50%;
  }
}

@media (max-width: 1190px) {
  .container {
    width: calc(100% - 48px);
  }

  .desktop-nav {
    gap: 17px;
    font-size: 13px;
  }

  .nav-academic {
    display: none;
  }

  .header-location {
    display: none;
  }

  .hero h1 {
    font-size: 48px;
  }

  .legacy-grid {
    gap: 48px;
  }

  .quick-card>div {
    left: 15px;
  }

  .quick-card h3 {
    font-size: 17px;
  }

  .about-grid {
    gap: 45px;
  }

  .footer-main {
    gap: 27px;
  }

  .blog-grid {
    gap: 26px;
  }

  .blog-feature {
    grid-template-columns: 1fr;
  }

  .blog-feature>img {
    height: 190px;
    width: 100%;
    object-position: center 58%;
  }

  .blog-feature>div {
    padding: 25px;
  }

  .blog-feature h3 br {
    display: none;
  }
}

@media (max-width: 850px) {
  .section {
    padding: 58px 0;
  }

  .brand-row {
    min-height: 95px;
  }

  .brand {
    max-width: 65%;
    width: 360px;
  }

  .brand-row>.button {
    padding: 10px 12px;
    font-size: 12px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
    width: 100%;
  }

  .mobile-menu summary {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    list-style: none;
    padding: 14px 0;
  }

  .mobile-menu>div {
    display: grid;
    padding: 0 0 14px;
  }

  .mobile-menu a {
    padding: 9px 0;
    border-top: 1px solid var(--line);
    font-size: 14px;
  }

  .nav-inner {
    min-height: 52px;
  }

  .hero-inner {
    min-height: 525px;
  }

  .hero-copy {
    width: 68%;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-shade {
    background: linear-gradient(90deg, #eff6f9 0%, #eff6f9f0 35%, #eff6f9a1 61%, #eff6f91c);
  }

  .hero-photo {
    width: 100%;
    object-position: 62% center;
  }

  .hero-caption {
    display: none;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-foot span {
    font-size: 11px;
  }

  .hero-foot span:last-child {
    display: none;
  }

  .hero-foot span:nth-child(3) {
    border: 0;
    text-align: right;
  }

  .news-inner {
    gap: 15px;
  }

  .news h2 {
    font-size: 14px;
    padding-right: 13px;
  }

  .section-heading {
    align-items: start;
    gap: 20px;
  }

  .section-heading>p {
    max-width: 285px;
    font-size: 14px;
  }

  .quick-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
  }

  .quick-card {
    grid-column: span 2;
    min-height: 215px;
  }

  .quick-card:nth-last-child(-n + 2) {
    grid-column: span 3;
    min-height: 185px;
  }

  .legacy-grid {
    gap: 32px;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .portrait-panel {
    min-height: 390px;
  }

  .portrait-circle {
    width: 270px;
    height: 270px;
    top: 75px;
  }

  .portrait-panel>img {
    height: 310px;
    width: 145%;
    left: -22.5%;
  }

  .portrait-caption {
    padding: 15px;
    font-size: 12px;
  }

  .portrait-caption strong {
    font-size: 15px;
  }

  .legacy-copy h3 {
    font-size: 21px;
  }

  .research-grid {
    gap: 15px;
  }

  .research-card {
    padding: 22px 18px;
  }

  .research-card h3 {
    font-size: 21px;
  }

  .research-card h4 {
    min-height: 36px;
  }

  .research-card p {
    font-size: 14px;
  }

  .research-card .text-link {
    font-size: 12px;
  }

  .about-grid {
    gap: 35px;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .about-images {
    min-height: 480px;
  }

  .about-main {
    height: 340px;
    width: 100%;
  }

  .about-detail {
    height: 150px;
    width: 65%;
    bottom: 30px;
  }

  .established {
    bottom: 0;
    max-width: 110px;
    padding-left: 10px;
  }

  .established strong {
    font-size: 38px;
  }

  .established span {
    font-size: 11px;
  }

  .about-principles {
    gap: 14px;
  }

  .about-principles a {
    font-size: 11px;
  }

  .footer-main {
    grid-template-columns: 1.3fr 1fr;
    gap: 35px 50px;
  }

  .footer-bottom .container>span:nth-child(2) {
    display: none;
  }
}

@media (max-width: 580px) {
  .container {
    width: calc(100% - 36px);
  }

  .utility-inner {
    justify-content: center;
    min-height: 31px;
  }

  .utility-inner>span {
    display: none;
  }

  .utility-inner>div {
    gap: 24px;
    font-size: 11px;
  }

  /*.utility-inner a:last-child {*/
  /*  display: none;*/
  /*}*/
  .brand-row {
    min-height: 86px;
  }

  .brand {
    width: 100%;
    max-width: 350px;
  }

  .brand-row>.button {
    display: none;
  }

  .hero-inner {
    min-height: 610px;
    align-items: flex-start;
  }

  .hero-copy {
    width: 100%;
    padding: 37px 0 230px;
  }

  .hero h1 {
    font-size: 39px;
    letter-spacing: -1.4px;
    max-width: 390px;
  }

  .hero p {
    max-width: 345px;
    font-size: 15px;
  }

  .hero .eyebrow {
    font-size: 10px;
  }

  .hero-photo {
    height: 310px;
    top: auto;
    bottom: 44px;
    object-position: center 58%;
    width: 100%;
  }

  .hero-shade {
    background: linear-gradient(180deg, #eff6f9 0%, #eff6f9 45%, #eff6f9e8 53%, #eff6f900 68%);
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .hero-actions .button {
    font-size: 12px;
    padding: 10px 15px;
    min-height: 44px;
  }

  .hero-foot .container {
    min-height: 44px;
  }

  .hero-foot span {
    font-size: 9px;
    letter-spacing: 0;
  }

  .news-inner {
    min-height: 69px;
    gap: 10px;
  }

  .news h2 {
    font-size: 12px;
    padding-right: 9px;
  }

  .news h2 span {
    display: none;
  }

  .news-pause {
    padding: 3px 6px;
    font-size: 10px;
  }

  .ticker-group a {
    font-size: 12px;
  }

  .ticker-group b {
    font-size: 9px;
  }

  .section {
    padding: 44px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 26px;
  }

  .section-heading>p {
    margin-top: 16px;
    max-width: none;
  }

  .section-heading>.button {
    margin-top: 20px;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.6px;
    margin-bottom: 12px;
  }

  h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .quick-section {
    padding-top: 32px;
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .quick-card,
  .quick-card:nth-last-child(-n + 2) {
    grid-column: auto;
    min-height: 200px;
  }

  .quick-card:last-child {
    grid-column: 1/-1;
    min-height: 160px;
  }

  .quick-card>div {
    left: 16px;
    bottom: 17px;
  }

  .quick-card h3 {
    font-size: 18px;
  }

  .quick-card span {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .legacy-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .portrait-panel {
    min-height: 380px;
  }

  .portrait-panel>img {
    height: 330px;
    width: 110%;
    left: -5%;
  }

  .portrait-circle {
    width: 300px;
    height: 300px;
    top: 50px;
  }

  .portrait-caption {
    padding: 16px 23px;
  }

  .legacy-copy h3 {
    font-size: 24px;
  }

  .research-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .research-card {
    padding: 27px;
  }

  .research-card h3 {
    font-size: 25px;
    min-height: 0;
  }

  .research-card h3 br {
    display: none;
  }

  .research-card h4 {
    min-height: 0;
    margin-top: 12px;
  }

  .research-card p {
    font-size: 15px;
  }

  .research-card .text-link {
    font-size: 14px;
  }

  .card-top {
    margin-bottom: 20px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .blog-feature>img {
    height: 215px;
  }

  .blog-feature h3 {
    font-size: 25px;
  }

  .update-list h3 {
    font-size: 23px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-images {
    min-height: 375px;
  }

  .about-main {
    height: 280px;
    width: 88%;
  }

  .about-detail {
    height: 165px;
    width: 54%;
    bottom: 0;
  }

  .established {
    bottom: 15px;
    max-width: 145px;
  }

  .established strong {
    font-size: 40px;
  }

  .about-copy h2 br {
    display: none;
  }

  .about-principles {
    gap: 23px;
    justify-content: space-between;
  }

  .about-principles a {
    font-size: 12px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
    padding-block: 40px;
  }

  .footer-brand {
    grid-column: 1/-1;
  }

  .footer-brand img {
    width: 315px;
  }

  .footer-contact {
    grid-column: 1/-1;
    border-top: 1px solid #ffffff20;
    padding-top: 12px;
  }

  .footer-main>div:not(.footer-brand)>a {
    font-size: 12px;
  }

  .footer-main h2 {
    font-size: 15px;
  }

  .footer-bottom {
    font-size: 10px;
  }

  .footer-bottom .container {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }

  .ticker {
    overflow: auto;
  }
}

@media print {

  .utility,
  .navigation,
  .news-pause,
  .skip {
    display: none;
  }

  .section {
    padding: 30px 0;
  }

  .container {
    width: 94%;
  }

  .hero-inner {
    min-height: 400px;
  }

  .hero-copy {
    padding: 30px 0 60px;
  }

  .hero {
    print-color-adjust: exact;
  }

  .research-card,
  .quick-card,
  .blog-feature {
    break-inside: avoid;
  }

  footer {
    print-color-adjust: exact;
  }

  .ticker-track {
    animation: none;
    max-width: 100%;
    flex-wrap: wrap;
  }

  .ticker-group {
    white-space: normal;
    flex-wrap: wrap;
  }

  .ticker-group[aria-hidden] {
    display: none;
  }
}

/* A single navigation tree is shared across desktop, tablet and mobile. */
.navigation {
  position: relative;
  z-index: 30;
  background: #fff;
  border-block: 1px solid var(--line);
}

.unified-nav {
  min-height: 58px;
}

.menu-toggle {
  display: none;
}

.menu-list,
.submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
}

.menu-list>li {
  position: relative;
  display: flex;
  align-items: stretch;
}

.menu-list>li>a,
.nav-dropdown>summary {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 17px 0;
  min-height: 58px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.menu-list>li>a {
  border-bottom: 3px solid transparent;
  padding-bottom: 14px;
}

.menu-list>li>a.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.menu-list>li>a:hover,
.nav-dropdown>summary:hover,
.nav-dropdown[open]>summary {
  color: var(--teal);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown>summary {
  cursor: pointer;
  list-style: none;
}

.nav-dropdown>summary::-webkit-details-marker {
  display: none;
}

.dropdown-chevron {
  display: block;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}

.nav-dropdown[open] .dropdown-chevron {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  left: -16px;
  top: 100%;
  width: 280px;
  background: white;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: 0 0 5px 5px;
  box-shadow: 0 15px 35px #09263d20;
  padding: 8px;
  z-index: 40;
}

.submenu a {
  display: block;
  padding: 11px 13px;
  font-size: 14px;
  line-height: 1.5;
  transition:
    background 0.18s,
    color 0.18s,
    padding 0.18s;
  border-radius: 3px;
}

.submenu a:hover,
.submenu a:focus-visible {
  background: #eaf5f4;
  color: var(--teal);
  padding-left: 17px;
}

.nav-dropdown[open] .submenu {
  animation: submenu-open 0.2s ease-out;
}

.menu-list .academic-item {
  align-items: center;
}

.menu-list .academic-item>a {
  min-height: 0;
  padding: 4px 0 4px 15px;
  border-bottom: 0;
  border-left: 1px solid var(--line);
  font-size: 12px;
  color: var(--teal);
}

@keyframes submenu-open {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Image-only, full-width sliding carousel. */
.banner-carousel {
  position: relative;
  overflow: hidden;
  background: #e6edf0;
  touch-action: pan-y;
  isolation: isolate;
}

.banner-track {
  display: flex;
  width: 100%;
  transform: translateX(0);
  transition: transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.banner-track.no-transition {
  transition: none;
}

.banner-slide {
  flex: 0 0 100%;
  min-width: 0;
  aspect-ratio: 16/7.2;
  max-height: 760px;
  overflow: hidden;
}

.banner-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
}

.banner-controls[hidden] {
  display: none;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid #ffffff90;
  background: #102f496b;
  backdrop-filter: blur(5px);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}

.banner-arrow:hover {
  background: var(--teal);
  box-shadow: 0 5px 16px #08273e26;
}

.banner-arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.banner-prev {
  left: 28px;
}

.banner-next {
  right: 28px;
}

.banner-pagination {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  background: #09263d80;
  backdrop-filter: blur(5px);
  border: 1px solid #ffffff50;
  border-radius: 30px;
}

.banner-dots {
  display: flex;
  align-items: center;
}

.banner-dots button {
  position: relative;
  width: 34px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.banner-dots button:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  background: #ffffff90;
  border-radius: 10px;
  transition:
    width 0.2s,
    background 0.2s;
}

.banner-dots button[aria-current="true"]:before {
  width: 24px;
  background: white;
}

.banner-rotation {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: transparent;
  color: white;
  border: 0;
  border-left: 1px solid #ffffff40;
  cursor: pointer;
}

.banner-rotation svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.banner-rotation .play-icon {
  display: none;
  fill: currentColor;
  stroke: none;
}

.banner-rotation[data-paused="true"] .pause-icon {
  display: none;
}

.banner-rotation[data-paused="true"] .play-icon {
  display: block;
}

.banner-carousel button:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid #db9d29;
  outline-offset: 3px;
}

@media (max-width: 1250px) and (min-width: 1101px) {
  .menu-list {
    gap: 10px;
  }

  .menu-list>li>a,
  .nav-dropdown>summary {
    font-size: 12px;
  }

  .menu-list .academic-item>a {
    font-size: 11px;
    padding-left: 10px;
  }
}

@media (max-width: 1100px) {
  .unified-nav {
    min-height: 54px;
  }

  .navigation[data-enhanced] .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 54px;
    border: 0;
    background: white;
    padding: 12px 0;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
  }

  .hamburger {
    position: relative;
    width: 22px;
    height: 18px;
    display: block;
  }

  .hamburger i {
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition:
      transform 0.25s,
      opacity 0.25s;
    top: 8px;
  }

  .hamburger i:first-child {
    top: 1px;
  }

  .hamburger i:last-child {
    top: 15px;
  }

  .menu-toggle[aria-expanded="true"] .hamburger i:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .hamburger i:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .hamburger i:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .navigation[data-enhanced] .menu-panel {
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition:
      grid-template-rows 0.28s ease,
      visibility 0.28s;
  }

  .navigation[data-enhanced][data-menu-open="true"] .menu-panel {
    grid-template-rows: 1fr;
    visibility: visible;
  }

  .menu-panel-inner {
    min-height: 0;
    overflow: hidden;
  }

  .menu-list {
    display: block;
    padding-bottom: 12px;
  }

  .menu-list>li {
    display: block;
  }

  .menu-list>li>a,
  .nav-dropdown>summary {
    width: 100%;
    font-size: 14px;
    min-height: 49px;
    padding: 13px 3px;
    border: 0;
    border-top: 1px solid var(--line);
    white-space: normal;
  }

  .nav-dropdown>summary {
    justify-content: space-between;
  }

  .menu-list>li>a.active {
    border-bottom: 0;
  }

  .submenu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--teal);
    border-radius: 0;
    background: var(--pale);
    margin: 0 0 12px;
    padding: 5px 7px;
  }

  .submenu a {
    font-size: 14px;
    padding: 11px 14px;
  }

  .menu-list .academic-item>a {
    min-height: 49px;
    font-size: 14px;
    border: 0;
    border-top: 1px solid var(--line);
    padding: 13px 3px;
  }

  .banner-arrow {
    width: 46px;
    height: 46px;
  }

  .banner-prev {
    left: 18px;
  }

  .banner-next {
    right: 18px;
  }
}

@media (max-width: 580px) {
  .banner-slide {
    aspect-ratio: 16/10;
    max-height: none;
  }

  .banner-slide img {
    object-position: center;
  }

  .banner-arrow {
    width: 40px;
    height: 40px;
  }

  .banner-arrow svg {
    width: 21px;
    height: 21px;
  }

  .banner-prev {
    left: 10px;
  }

  .banner-next {
    right: 10px;
  }

  .banner-pagination {
    bottom: 12px;
  }

  .banner-dots button {
    width: 29px;
    height: 34px;
  }

  .banner-rotation {
    width: 33px;
    height: 32px;
  }

  .banner-dots button[aria-current="true"]:before {
    width: 19px;
  }

  .quick-section .compact h2 {
    font-size: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner-track {
    transition: none;
  }

  .nav-dropdown[open] .submenu {
    animation: none;
  }
}

@media print {
  .banner-controls {
    display: none;
  }

  .banner-track {
    transform: none !important;
  }

  .banner-slide {
    display: none;
  }

  .banner-slide:not([data-clone]):first-of-type {
    display: block;
  }
}

/* Community photography sourced from each organisation's website. */
.community-card {
  min-height: 260px;
}

.community-card>img {
  object-position: center 40%;
}

.community-card-2>img {
  object-position: 78% center;
}

.community-card-3>img {
  object-position: 56% center;
}

.community-card-4>img {
  object-position: 59% center;
}

.community-card-5 h3 {
  font-size: 18px;
  line-height: 1.35;
}

@media (max-width: 850px) {

  .community-card,
  .community-card:nth-last-child(-n + 2) {
    min-height: 245px;
  }
}

@media (max-width: 580px) {

  .community-card,
  .community-card:nth-last-child(-n + 2) {
    min-height: 185px;
  }

  .community-card:last-child {
    min-height: 225px;
  }
}



.hero {
  background: var(--deep);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
}

.hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  width: 64%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #09263d 17%, #09263df2 42%, #09263d55 100%);
  z-index: -1;
}

.breadcrumb {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #d0dce5;
  padding-top: 26px;
  background-color: transparent;
  padding-left: 0;
  padding-bottom: 0;
}
}

.breadcrumb a:hover {
  color: white;
  text-decoration: underline;
}

.hero-copy {
  padding: 44px 0 65px;
  max-width: 640px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: bold;
  color: var(--teal);
  display: block;
  margin-bottom: 13px;
}

.hero .eyebrow {
  color: #b4d3f1;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: -2px;
  margin-bottom: 19px;
}

.hero p {
  color: #dce7ef;
  font-size: 17px;
  max-width: 490px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.hero-caption {
  position: absolute;
  right: 32px;
  bottom: 25px;
  font-size: 11px;
  color: #e2eaf2;
}

.section {
  padding: 66px 0;
}

.intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 28px;
}

.intro p {
  max-width: 440px;
  font-size: 14px;
}

/* Core Facility catalogue. Insert verified instrument photographs in .instrument-visual. */
.core-hero .hero-copy {
  padding: 38px 0 54px;
  max-width: 650px;
}

.core-hero h1 {
  font-size: clamp(42px, 5vw, 58px);
}

.hero-contact {
  color: white;
  align-self: center;
  font-size: 14px;
  border-bottom: 1px solid #a5bbcb;
  padding: 5px 0;
}

.hero-contact:hover {
  color: #c3e0ff;
}

.capability-strip {
  background: #eff4f8;
  border-bottom: 1px solid var(--line);
}

.capability-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 19px;
  gap: 20px;
  font-size: 12px;
  font-weight: bold;
  color: var(--teal);
}

.capability-strip span+span {
  border-left: 1px solid #cbd9e4;
  padding-left: 25px;
}

.facility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.facility-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--teal);
}

.facility-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 23px;
}

.facility-index {
  font: 500 32px/1 Arial;
  color: #9bb1c6;
}

.facility-title .eyebrow {
  font-size: 9px;
  margin-bottom: 9px;
}

.facility-title h3 {
  font-size: 25px;
  letter-spacing: -0.5px;
}

.facility-panel p {
  font-size: 14px;
  line-height: 1.85;
}

.facility-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 24px;
}

.facility-tags span {
  font-size: 10px;
  background: #eef3f8;
  padding: 6px 9px;
  border-radius: 3px;
  color: var(--blue);
}

.catalogue {
  background: #f4f7fa;
  border-block: 1px solid var(--line);
}

.catalogue-tools {
  margin-bottom: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 22px;
}

.search-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.search-row label {
  font-weight: bold;
  font-size: 13px;
  white-space: nowrap;
}

.search-row input {
  font: 14px Arial;
  padding: 13px 15px;
  width: 100%;
  max-width: 590px;
  border: 1px solid #c6d4df;
  border-radius: 4px;
  min-width: 0;
  color: var(--ink);
  background: #fbfcfe;
}

.search-row input:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.search-row>span {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.category-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.category-button {
  font: 600 11px Arial;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  color: var(--ink);
  cursor: pointer;
}

.category-button.active {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

.category-button:hover {
  border-color: var(--teal);
}

button:focus-visible {
  outline: 3px solid #db9d29;
  outline-offset: 3px;
}

.instrument-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.instrument {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.instrument-visual {
  height: 145px;
  background: linear-gradient(135deg, #e8eff6, #f6f9fc);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #7c93a9;
  border-bottom: 1px solid var(--line);
  gap: 9px;
}

.instrument-visual svg {
  width: 47px;
  height: 47px;
}

.instrument-visual>span:not(.equipment-number) {
  font-size: 10px;
  letter-spacing: 0.3px;
}

.equipment-number {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 11px;
  color: #71889d;
}

.instrument-content {
  padding: 24px;
}

.equipment-category {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  color: var(--blue);
  display: block;
  margin-bottom: 12px;
}

.instrument h3 {
  font-size: 21px;
  letter-spacing: -0.4px;
  line-height: 1.35;
  min-height: 57px;
}

.equipment-subtitle {
  font-size: 12px;
  color: #6a7c8c;
  margin-top: 10px;
  min-height: 40px;
}

.equipment-intro {
  font-size: 13px;
  line-height: 1.8;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 10px;
  min-height: 140px;
}

.instrument details {
  border-block: 1px solid var(--line);
  margin-top: 17px;
}

.instrument summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: bold;
  font-size: 12px;
  list-style: none;
  padding: 14px 0;
  cursor: pointer;
  color: var(--blue);
}

.instrument summary::-webkit-details-marker {
  display: none;
}

.instrument summary:after {
  content: "+";
  font-size: 18px;
  line-height: 1;
}

.instrument details[open] summary:after {
  content: "−";
}

.instrument details p {
  font-size: 13px;
  line-height: 1.8;
  padding-bottom: 17px;
}

.enquiry {
  font-size: 11px;
  color: var(--blue);
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 19px;
}

.enquiry:hover {
  text-decoration: underline;
}

.facility-enquiry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.facility-enquiry h2 {
  font-size: 29px;
}

.facility-enquiry p {
  font-size: 14px;
  max-width: 720px;
  margin-top: 16px;
}

.facility-enquiry .button {
  flex-shrink: 0;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
}

.no-results p {
  margin: 15px 0 25px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1050px) {
  .instrument-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facility-panel {
    padding: 24px;
  }

  .facility-enquiry {
    align-items: start;
    flex-direction: column;
    gap: 25px;
  }
}

@media (max-width: 800px) {
  .facility-grid {
    grid-template-columns: 1fr;
  }

  .search-row {
    flex-wrap: wrap;
    gap: 12px;
  }

  .search-row label {
    width: 100%;
  }

  .search-row input {
    flex: 1;
  }

  .capability-strip .container {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .capability-strip span+span {
    border: 0;
    padding: 0;
  }

  .catalogue .intro {
    display: block;
  }

  .catalogue .intro p {
    margin-top: 15px;
    max-width: 100%;
  }

  .instrument-content {
    padding: 20px;
  }
}

@media (max-width: 540px) {
  .instrument-grid {
    grid-template-columns: 1fr;
  }

  .instrument h3,
  .equipment-subtitle,
  .equipment-intro {
    min-height: 0;
  }

  .instrument-visual {
    height: 155px;
  }

  .catalogue-tools {
    padding: 16px;
  }

  .search-row input {
    flex-basis: 100%;
  }

  .search-row>span {
    margin-left: 0;
  }

  .category-button {
    font-size: 10px;
    padding: 10px;
  }

  .core-hero .hero-copy {
    padding: 30px 0 42px;
  }

  .hero-actions {
    gap: 20px;
  }

  .facility-panel {
    padding: 23px;
  }

  .facility-title h3 {
    font-size: 23px;
  }

  .facility-enquiry h2 {
    font-size: 26px;
  }

  .capability-strip .container {
    font-size: 10px;
  }
}

/* Seven source-folder categories and embedded instrument photographs. */
.category-catalogue {
  padding: 52px 0 70px;
  background: #f5f8fa;
}

.catalogue-intro {
  margin-bottom: 28px;
}

.catalogue-intro p {
  margin-top: 14px;
  font-size: 14px;
}

.category-section {
  padding-top: 32px;
  margin-top: 25px;
  border-top: 1px solid #d2dee8;
}

.category-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.category-number {
  font-size: 38px;
  line-height: 1;
  color: #a9bdcd;
  font-weight: 300;
}

.category-heading h2 {
  font-size: 29px;
  letter-spacing: -0.6px;
}

.category-total {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
}

.category-description {
  font-size: 14px;
  line-height: 1.85;
  max-width: 1050px;
  margin-bottom: 25px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.photo-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.photo-link {
  display: block;
  position: relative;
  background: #e9eef3;
  border-bottom: 1px solid var(--line);
}

.photo-link img {
  width: 100%;
  height: 245px;
  object-fit: contain;
  display: block;
}

.zoom-cue {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  background: #ffffffed;
  color: var(--navy);
  display: grid;
  place-items: center;
  border-radius: 4px;
  font-size: 22px;
}

.photo-link:hover .zoom-cue {
  background: var(--teal);
  color: white;
}

.photo-copy {
  padding: 23px;
}

.photo-copy h3 {
      font-size: 16px;
    line-height: 1.45;
    letter-spacing: -0.3px;
    overflow-wrap: anywhere;
    height: 47px;
    overflow: hidden;
}

.photo-copy details {
  margin-top: 19px;
  border-top: 1px solid var(--line);
}

.photo-copy summary {
  font-size: 12px;
  font-weight: bold;
  color: var(--teal);
  padding-top: 15px;
  cursor: pointer;
}

.photo-copy details p {
  font-size: 13px;
  line-height: 1.85;
  margin-top: 14px;
}

.category-section[data-category="0"] .photo-grid,
.category-section[data-category="3"] .photo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-section[data-category="0"] .photo-link img,
.category-section[data-category="3"] .photo-link img {
  height: 320px;
}

dialog {
  width: min(1050px, 94vw);
  max-height: 92vh;
  border: 0;
  border-radius: 8px;
  padding: 45px 20px 18px;
  background: white;
  color: var(--navy);
}

dialog::backdrop {
  background: #061929dd;
}

#large-photo {
  max-height: 72vh;
  width: 100%;
  object-fit: contain;
}

#photo-caption {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

#close-photo {
  position: absolute;
  right: 12px;
  top: 8px;
  border: 0;
  background: #edf2f7;
  color: var(--navy);
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 4px;
  font-size: 26px;
  cursor: pointer;
}
#close-photo:hover {
  background: var(--teal);
  color: var(--white);
}

.category-button {
  line-height: 1.5;
}

@media (max-width: 1050px) {
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-link img {
    height: 260px;
  }
}

@media (max-width: 600px) {

  .photo-grid,
  .category-section[data-category="0"] .photo-grid,
  .category-section[data-category="3"] .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-link img,
  .category-section[data-category="0"] .photo-link img,
  .category-section[data-category="3"] .photo-link img {
    height: 260px;
  }

  .category-heading h2 {
    font-size: 25px;
  }

  .category-catalogue {
    padding-top: 35px;
  }

  .photo-copy {
    padding: 20px;
  }

  .category-heading {
    gap: 14px;
  }

  .category-number {
    font-size: 32px;
  }
}

/* Student directory — profile data and portraits supplied in DOCX files. */

      .support {
        padding: 33px 38px;
        background: var(--navy);
        color: white;
        border-radius: var(--radius);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
        margin-top: 55px;
      }
      .support h2 {
        font-size: 26px;
        letter-spacing: -0.6px;
        color:var(--white);
      }
      .support p {
        color: #d0dce7;
        font-size: 14px;
        margin-top: 8px;
      }
      .directory-hero .hero-copy {
        padding: 35px 0 48px;
        max-width: 700px;
      }
      .directory-hero .hero-copy p {
        max-width: 565px;
      }
      .directory-hero h1 {
        font-size: clamp(38px, 4.3vw, 54px);
      }
      .directory {
        background: #f7f9fb;
        padding-top: 52px;
      }
      .directory .intro h2 {
        font-size: 32px;
      }
      .directory-tools {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        border-block: 1px solid var(--line);
        padding: 18px 0;
        margin-bottom: 30px;
      }
      .filters {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
      }
      .filter {
        font:
          600 12px/1.5 Arial,
          sans-serif;
        border: 1px solid var(--line);
        color: var(--ink);
        background: white;
        padding: 10px 14px;
        border-radius: 5px;
        cursor: pointer;
      }
      .filter span {
        font-size: 10px;
        margin-left: 7px;
        padding: 2px 5px;
        background: #ffffff26;
        border-radius: 3px;
      }
      .filter.active {
        background: var(--teal);
        color: white;
        border-color: var(--teal);
      }
      .filter:hover {
        border-color: var(--teal);
      }
      .filter:focus-visible {
        outline: 3px solid #db9d29;
        outline-offset: 3px;
      }
      .result-count {
        font-size: 12px;
        color: var(--muted);
        white-space: nowrap;
      }
      .student-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 25px;
        align-items: stretch;
      }
      .student-card {
        background: white;
        border: 1px solid var(--line);
        border-radius: 8px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        box-shadow: 0 3px 14px #102f4904;
        transition:
          box-shadow 0.2s,
          border-color 0.2s;
      }
      .student-card:hover {
        border-color: #9cb4cc;
        box-shadow: 0 8px 24px #102f4910;
      }
      .student-card[hidden] {
        display: none;
      }
      .profile-top {
        display: flex;
        justify-content: space-between;
        align-items: start;
        padding: 25px 25px 0;
        background: linear-gradient(#eef3f8 0 70%, white 70% 100%);
      }
      .portrait {
        width: 112px;
        height: 138px;
        object-fit: cover;
        object-position: center 25%;
        border: 4px solid white;
        border-radius: 5px;
        background: white;
        box-shadow: 0 2px 7px #102f4912;
      }
      .profile-number {
        font-size: 12px;
        letter-spacing: 1px;
        color: #8297aa;
        padding-top: 4px;
      }
      .profile-body {
        padding: 21px 25px 23px;
        flex: 1;
      }
      .department {
        font-size: 10px;
        line-height: 1.4;
        display: inline-block;
        padding: 5px 8px;
        border-radius: 3px;
        background: #edf3fa;
        color: var(--blue);
        font-weight: bold;
        letter-spacing: 0.2px;
        margin-bottom: 12px;
      }
      .department.pending {
        background: #f7f1e5;
        color: #756037;
      }
      .student-card h3 {
        font-size: 23px;
        letter-spacing: -0.5px;
        margin-bottom: 7px;
      }
      .position {
        font-size: 13px;
        line-height: 1.6;
        color: var(--muted);
        min-height: 42px;
      }
      .work {
        border-top: 1px solid #edf0f4;
        padding-top: 17px;
        margin-top: 18px;
      }
      .work h4 {
        margin: 0 0 9px;
        font-size: 9px;
        letter-spacing: 1.3px;
        color: #6b7d8c;
      }
      .work p {
        font-size: 13px;
        line-height: 1.75;
        color: #526675;
      }
      .profile-contact {
        border-top: 1px solid var(--line);
        padding: 16px 25px;
        font-size: 11px;
        color: var(--teal);
        background: #fbfcfe;
      }
      .profile-contact a {
        display: flex;
        align-items: center;
        font-size:13px;
        color: var(--teal);
        gap: 7px;
        overflow-wrap: anywhere;
      }
      .profile-contact a:hover {
        text-decoration: underline;
      }
      .profile-contact a span {
        font-size:15px;
      }
      .email-arrow {
        margin-left: auto;
      }
      .pending-contact {
        color: #7b6a4c;
        font-size: 11px;
      }
      .directory-support {
        padding: 0 0 54px;
        background: #f7f9fb;
      }
      .directory-support .support {
        margin-top: 0;
      }
      .directory-support .support p {
        max-width: 710px;
      }
      .directory-support .button {
        flex-shrink: 0;
      }
      @media (max-width: 1050px) {
        .student-grid {
          gap: 18px;
        }
        .profile-body {
          padding: 20px;
        }
        .profile-top {
          padding: 20px 20px 0;
        }
        .profile-contact {
          padding: 15px 20px;
        }
        .student-card h3 {
          font-size: 21px;
        }
        .directory-tools {
          align-items: start;
          flex-direction: column;
          gap: 12px;
        }
      }
      @media (max-width: 800px) {
        .student-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        .directory .intro {
          display: block;
        }
        .directory .intro p {
          margin-top: 16px;
          max-width: 100%;
        }
        .directory-support .support {
          display: block;
        }
        .directory-support .button {
          margin-top: 22px;
        }
      }
      @media (max-width: 540px) {
        .student-grid {
          grid-template-columns: 1fr;
          gap: 20px;
        }
        .directory .intro h2 {
          font-size: 28px;
        }
        .directory-hero .hero-copy {
          padding: 30px 0 40px;
        }
        .filter {
          font-size: 11px;
          padding: 9px 10px;
        }
        .profile-body {
          padding: 20px 24px;
        }
        .profile-top {
          padding: 24px 24px 0;
        }
        .position {
          min-height: 0;
        }
        .profile-contact {
          padding: 17px 24px;
          font-size: 12px;
        }
        .directory {
          padding-top: 36px;
        }
        .student-card h3 {
          font-size: 24px;
        }
        .work p {
          font-size: 14px;
        }
      }