
/* =========================================================
   UKAES GLOBAL STYLESHEET
   Modern Academic Institutional Design
   ========================================================= */


/* 01. DESIGN SYSTEM */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --burgundy: #B20D2E;
  --burgundy-dark: #85001D;
  --burgundy-deep: #720018;
  --burgundy-light: #F8ECEF;

  --ink: #242424;
  --ink-soft: #505050;
  --muted: #747474;

  --white: #FFFFFF;
  --paper: #FAFAF8;
  --soft: #F5F4F1;
  --border: #E8E6E2;

  --font-main: "DM Sans", Arial, sans-serif;

  --container-width: 1240px;
  --container-gutter: 48px;

  --header-height: 84px;
  --section-spacing: 76px;

  --transition: .25s ease;
}


/* 02. RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: var(--burgundy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--burgundy-dark);
}

::selection {
  background: var(--burgundy);
  color: white;
}


/* 03. GLOBAL CONTAINER */

.ukaes-container,
.container {
  width: min(
    var(--container-width),
    calc(100% - var(--container-gutter))
  );
  margin-left: auto;
  margin-right: auto;
}


/* 04. TYPOGRAPHY */

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--ink);
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  letter-spacing: -.045em;
}

h2 {
  font-size: clamp(29px, 3.5vw, 44px);
  letter-spacing: -.035em;
}

h3 {
  font-size: 21px;
}

p {
  margin-top: 0;
  overflow-wrap: break-word;
}

.ukaes-eyebrow {
  display: inline-block;
  color: var(--burgundy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1.6;
  text-transform: uppercase;
}

.ukaes-text-center,
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--muted);
}


/* 05. HEADER */

.ukaes-header {
  position: relative;
  z-index: 100;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid #EEEEEC;
}

.ukaes-header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.ukaes-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 450px;
  text-decoration: none;
}

.ukaes-brand img {
  display: block;
  width: auto;
  height: 64px;
  max-width: 420px;
  object-fit: contain;
  object-position: left center;
}


/* 06. NAVIGATION */

.ukaes-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(15px, 1.6vw, 25px);
  flex-wrap: nowrap;
}

.ukaes-navigation a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 12px 0;
  color: #262626;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--transition);
}

.ukaes-navigation a:hover,
.ukaes-navigation a.active,
.ukaes-navigation a.is-active,
.ukaes-navigation a[aria-current="page"] {
  color: var(--burgundy);
}

.ukaes-navigation a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--burgundy);
  transition: width var(--transition);
}

.ukaes-navigation a:hover::after,
.ukaes-navigation a.active::after,
.ukaes-navigation a.is-active::after,
.ukaes-navigation a[aria-current="page"]::after {
  width: 100%;
}

.ukaes-mobile-toggle {
  display: none;
  padding: 10px 17px;
  color: var(--burgundy);
  background: white;
  border: 1px solid var(--burgundy);
  font-size: 14px;
  font-weight: 700;
}

.ukaes-header.is-scrolled {
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
}


/* 07. HERO BANNER */

.ukaes-hero {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 480px;
  padding: 0;
  overflow: hidden;
  background: var(--burgundy-dark);
  color: white;
}

.ukaes-hero::before,
.ukaes-hero::after {
  content: none;
}

.ukaes-hero-content {
  position: relative;
  z-index: 2;

  width: min(
    var(--container-width),
    calc(100% - var(--container-gutter))
  );

  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;

  padding: 90px 0;
  color: white;
}

.ukaes-hero .ukaes-eyebrow {
  margin-bottom: 17px;
  color: #F5C9D2;
}

.ukaes-hero h1 {
  max-width: 850px;
  margin: 0 0 22px;
  color: white;
  font-size: clamp(42px, 5.5vw, 70px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.ukaes-hero p {
  max-width: 680px;
  margin: 0 0 28px;
  color: rgba(255,255,255,.93);
  font-size: 17px;
  line-height: 1.8;
}

.ukaes-hero .ukaes-button {
  margin-top: 5px;
}


/* 08. PAGE INTRODUCTION */

.ukaes-page-intro {
  width: 100%;
  padding: 85px 0;
  background: var(--burgundy-dark);
  color: white;
}

.ukaes-page-intro .ukaes-eyebrow {
  color: #F5C9D2;
}

.ukaes-page-intro h1 {
  max-width: 850px;
  margin: 15px 0 20px;
  color: white;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.1;
}

.ukaes-page-intro p {
  max-width: 700px;
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 16px;
  line-height: 1.85;
}


/* 09. BUTTONS */

.ukaes-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 23px;
  background: var(--burgundy);
  color: white;
  border: 1px solid var(--burgundy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
}

.ukaes-button:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  color: white;
}

.ukaes-button-white {
  background: white;
  color: var(--burgundy);
  border-color: white;
}

.ukaes-button-white:hover {
  background: #F7EDEF;
  color: var(--burgundy-dark);
  border-color: #F7EDEF;
}

.ukaes-text-link {
  display: inline-block;
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 700;
}

.ukaes-text-link:hover {
  color: var(--burgundy-dark);
}


/* 10. SECTIONS */

.ukaes-section {
  padding: var(--section-spacing) 0;
  background: white;
}

.ukaes-section-soft {
  background: var(--paper);
}

.ukaes-section-heading {
  max-width: 800px;
  margin-bottom: 38px;
}

.ukaes-section-heading .ukaes-eyebrow {
  margin-bottom: 12px;
}

.ukaes-section-heading h2 {
  margin-bottom: 15px;
}

.ukaes-section-heading p {
  max-width: 720px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}


/* 11. EDITORIAL LAYOUT */

.ukaes-editorial {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  gap: 55px;
}

.ukaes-editorial-content {
  min-width: 0;
}

.ukaes-editorial-content h2 {
  margin: 12px 0 20px;
}

.ukaes-editorial-content p {
  color: #626262;
  font-size: 14px;
  line-height: 1.9;
}

.ukaes-editorial-image {
  min-width: 0;
  overflow: hidden;
  background: var(--soft);
}

.ukaes-editorial-image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}


/* 12. FEATURE GRID */

.ukaes-feature-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 25px;
}

.ukaes-feature {
  min-width: 0;
  background: white;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.ukaes-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

.ukaes-feature-image {
  overflow: hidden;
  background: var(--soft);
}

.ukaes-feature-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ukaes-feature-content {
  padding: 25px;
}

.ukaes-feature-content h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.ukaes-feature-content p {
  color: #686868;
  font-size: 13px;
  line-height: 1.8;
}


/* 13. HIGHLIGHT */

.ukaes-highlight {
  padding: 60px 0;
  background: var(--burgundy-dark);
  color: white;
}

.ukaes-highlight-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.ukaes-highlight h2 {
  margin: 12px 0 15px;
  color: white;
}

.ukaes-highlight p {
  color: rgba(255,255,255,.85);
}

.ukaes-highlight .ukaes-eyebrow {
  color: #F5C9D2;
}


/* 14. RESEARCH */

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

.ukaes-research-item {
  padding: 25px;
  background: white;
  border: 1px solid var(--border);
  border-top: 3px solid var(--burgundy);
}

.ukaes-research-item h3 {
  margin-bottom: 12px;
  font-size: 19px;
}

.ukaes-research-item p {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.8;
}


/* 15. EDUCATION */

.ukaes-education-grid,
.edu-programme-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 28px;
}

.edu-programme {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: white;
  border: 1px solid var(--border);
  transition: transform var(--transition);
}

.edu-programme:hover {
  transform: translateY(-3px);
}

.edu-programme-image {
  overflow: hidden;
  background: var(--soft);
}

.edu-programme-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.edu-programme-body {
  flex: 1;
  padding: 27px;
  border-top: 4px solid var(--burgundy);
}

.edu-programme-code {
  color: var(--burgundy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}

.edu-programme-body h3 {
  margin: 13px 0;
  font-size: 21px;
  line-height: 1.4;
}

.edu-programme-description {
  color: #666;
  font-size: 13px;
  line-height: 1.85;
}

.edu-module-heading {
  padding-top: 15px;
  margin-bottom: 10px;
  border-top: 1px solid var(--border);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.edu-module-list {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: module;
}

.edu-module-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px solid #F0EFEC;
  color: #555;
  font-size: 13px;
  line-height: 1.65;
  counter-increment: module;
}

.edu-module-list li::before {
  content: counter(module, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--burgundy);
  font-size: 11px;
  font-weight: 800;
}


/* 16. PEOPLE */

.people-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
}

.person-card {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  gap: 17px;
  padding: 19px;
  background: white;
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}

.person-card:hover {
  border-color: #CDA4AD;
}

.person-photo {
  flex: 0 0 94px;
  width: 94px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--soft);
  border-radius: 3px;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-info {
  flex: 1;
  min-width: 0;
}

.person-info h3 {
  margin: 2px 0 7px;
  font-size: 16px;
}

.person-role {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--burgundy);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.person-detail {
  margin-bottom: 7px;
  color: #666;
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.person-email {
  color: var(--burgundy);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.person-affiliation {
  display: inline-block;
  padding: 4px 7px;
  margin-bottom: 8px;
  background: var(--soft);
  color: #756B60;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
}


/* 17. CONTACT */

.contact-email-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}

.contact-email-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 27px;
  background: white;
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}

.contact-email-card:hover {
  border-color: #C58B98;
}

.contact-email-icon {
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--burgundy-light);
  color: var(--burgundy);
  border-radius: 50%;
}

.contact-email-content {
  flex: 1;
  min-width: 0;
}

.contact-email-content h3 {
  margin-bottom: 7px;
  font-size: 18px;
}

.contact-email-content p {
  color: #777;
  font-size: 13px;
  line-height: 1.7;
}

.contact-email-link {
  color: var(--burgundy);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-general {
  padding: 38px;
  margin-top: 35px;
  background: var(--soft);
  text-align: center;
}


/* 18. APPOINTMENTS */

.selection-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}

.selection-card {
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  border-top: 3px solid var(--burgundy);
}

.selection-card .grade {
  color: var(--burgundy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.selection-card h3 {
  margin: 12px 0;
  font-size: 19px;
}

.selection-card p {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.8;
}

.selection-label {
  display: inline-block;
  padding: 7px 12px;
  margin-bottom: 12px;
  background: var(--burgundy-light);
  color: var(--burgundy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}

.criteria-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 25px 0 35px;
  background: white;
  border: 1px solid var(--border);
}

.criteria-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 13px;
}

.criteria-table th {
  padding: 16px;
  background: var(--burgundy-dark);
  color: white;
  text-align: left;
}

.criteria-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
  color: #555;
  line-height: 1.7;
  vertical-align: top;
}

.criteria-table td:first-child {
  color: #303030;
  font-weight: 700;
}

.criteria-table .score {
  color: var(--burgundy);
  font-weight: 800;
}

.criteria-note {
  padding: 23px 26px;
  background: var(--soft);
  border-left: 4px solid var(--burgundy);
}

.criteria-note h3 {
  margin-bottom: 10px;
  font-size: 17px;
}

.criteria-note p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.85;
}

.weight-list {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 15px;
}

.weight-item {
  padding: 18px 20px;
  background: white;
  border: 1px solid var(--border);
}

.weight-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--burgundy);
  font-size: 22px;
}

.weight-item span {
  color: #555;
  font-size: 12px;
  line-height: 1.6;
}


/* 19. MEMBER DIRECTORY */

.member-directory {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 42px;
  background: var(--soft);
}

.member-directory-content {
  max-width: 650px;
}

.member-directory h2 {
  margin: 12px 0;
}

.member-directory p {
  color: #666;
  font-size: 14px;
  line-height: 1.85;
}


/* 20. CLOSING BANNERS */

.edu-closing,
.people-closing,
.contact-closing,
.appointment-closing {
  padding: 60px 0;
  background: linear-gradient(
    120deg,
    var(--burgundy-dark),
    var(--burgundy)
  );
  color: white;
}

.edu-closing-inner,
.people-closing-inner,
.contact-closing-inner,
.appointment-closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.edu-closing h2,
.people-closing h2,
.contact-closing h2,
.appointment-closing h2 {
  margin: 12px 0;
  color: white;
}

.edu-closing p,
.people-closing p,
.contact-closing p,
.appointment-closing p {
  color: rgba(255,255,255,.85);
  margin-bottom: 0;
}

.edu-closing .ukaes-eyebrow,
.people-closing .ukaes-eyebrow,
.contact-closing .ukaes-eyebrow,
.appointment-closing .ukaes-eyebrow {
  color: #F5C9D2;
}


/* =========================================================
   21. FOOTER
   UPDATED: WHITE LOGO SILHOUETTE
   ========================================================= */

.ukaes-footer {
  padding-top: 55px;
  padding-bottom: 20px;
  background: #222222;
  color: #D5D5D5;
}

.ukaes-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 45px;
  padding-bottom: 35px;
}

/* WHITE LOGO ONLY */

.ukaes-footer-brand {
  display: block;

  width: 300px;
  height: 105px;

  margin: 0;
  padding: 0;

  background-image: url("../assets/ukaes-logo-white.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;

  font-size: 0;
  line-height: 0;

  overflow: hidden;
}

/* Hide the two additional brand descriptions */

.ukaes-footer-grid > div:first-child > p {
  display: none !important;
}

/* Footer navigation */

.ukaes-footer h3 {
  margin-bottom: 17px;
  color: white;
  font-size: 15px;
}

.ukaes-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.ukaes-footer li {
  margin-bottom: 9px;
}

.ukaes-footer li a {
  color: #C8C8C8;
  font-size: 13px;
  text-decoration: none;
}

.ukaes-footer li a:hover {
  color: white;
}

/* Copyright */

.ukaes-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding-top: 20px;

  border-top: 1px solid #444444;

  color: #AFAFAF;
  font-size: 11px;
}

/* Mobile */

@media (max-width: 600px) {

  .ukaes-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ukaes-footer-brand {
    width: 240px;
    height: 85px;
  }

  .ukaes-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

}


/* 22. BACK TO TOP */

.ukaes-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 25px;
  z-index: 200;

  width: 43px;
  height: 43px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: white;
  color: var(--burgundy);

  border: 1px solid var(--burgundy);
  border-radius: 50%;

  font-size: 20px;
  box-shadow: 0 3px 12px rgba(0,0,0,.1);
}

.ukaes-back-to-top:hover {
  background: var(--burgundy);
  color: white;
}

.ukaes-back-to-top[hidden] {
  display: none;
}


/* 23. FORMS */

.ukaes-form {
  width: 100%;
  max-width: 760px;
}

.ukaes-form-group {
  margin-bottom: 20px;
}

.ukaes-form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.ukaes-form-group input,
.ukaes-form-group textarea,
.ukaes-form-group select {
  width: 100%;
  padding: 13px 15px;
  background: white;
  color: var(--ink);
  border: 1px solid #DADADA;
  border-radius: 0;
}

.ukaes-form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.ukaes-form-group input:focus,
.ukaes-form-group textarea:focus,
.ukaes-form-group select:focus {
  border-color: var(--burgundy);
  outline: none;
}


/* 24. IMAGE RESPONSIVENESS */

.ukaes-editorial-image img,
.ukaes-feature-image img,
.edu-programme-image img {
  display: block;
  max-width: 100%;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* 25. TABLET */

@media (max-width: 1100px) {

  :root {
    --container-gutter: 40px;
  }

  .ukaes-header-inner {
    gap: 20px;
  }

  .ukaes-brand img {
    height: 58px;
    max-width: 320px;
  }

  .ukaes-navigation {
    gap: 14px;
  }

  .ukaes-navigation a {
    font-size: 12px;
  }

  .people-grid,
  .ukaes-feature-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

}


/* 26. MOBILE NAVIGATION */

@media (max-width: 850px) {

  :root {
    --header-height: 74px;
    --container-gutter: 36px;
    --section-spacing: 55px;
  }

  .ukaes-header-inner {
    position: relative;
    flex-wrap: wrap;
    min-height: var(--header-height);
  }

  .ukaes-brand img {
    height: 52px;
    max-width: 290px;
  }

  .ukaes-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ukaes-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    background: white;
    border: 1px solid var(--border);
    box-shadow: 0 10px 20px rgba(0,0,0,.08);
  }

  .ukaes-navigation.is-open {
    display: flex;
  }

  .ukaes-navigation a {
    padding: 13px 20px;
    border-bottom: 1px solid #F0EFEC;
    font-size: 14px;
  }

  .ukaes-navigation a::after {
    display: none;
  }

  .ukaes-hero {
    min-height: 420px;
  }

  .ukaes-hero-content {
    padding: 70px 0;
  }

  .ukaes-editorial {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ukaes-research-grid,
  .selection-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .ukaes-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

}


/* 27. SMALL MOBILE */

@media (max-width: 600px) {

  :root {
    --container-gutter: 32px;
    --section-spacing: 45px;
  }

  body {
    font-size: 15px;
  }

  .ukaes-container,
  .container {
    width: calc(100% - 32px);
  }

  .ukaes-header-inner {
    gap: 10px;
  }

  .ukaes-brand {
    max-width: 75%;
  }

  .ukaes-brand img {
    height: 46px;
    max-width: 100%;
  }

  .ukaes-mobile-toggle {
    padding: 8px 12px;
    font-size: 12px;
  }

  .ukaes-hero {
    min-height: 400px;
  }

  .ukaes-hero-content {
    width: calc(100% - 32px);
    padding: 60px 0;
  }

  .ukaes-hero h1 {
    font-size: clamp(37px,9vw,48px);
  }

  .ukaes-hero p {
    font-size: 14px;
  }

  .ukaes-page-intro {
    padding: 60px 0;
  }

  .ukaes-page-intro h1 {
    font-size: 40px;
  }

  .ukaes-section-heading h2 {
    font-size: 29px;
  }

  .ukaes-feature-grid,
  .ukaes-research-grid,
  .edu-programme-grid,
  .people-grid,
  .contact-email-grid,
  .selection-grid,
  .weight-list {
    grid-template-columns: 1fr;
  }

  .edu-programme-body {
    padding: 22px;
  }

  .person-card {
    padding: 15px;
    gap: 14px;
  }

  .person-photo {
    flex-basis: 82px;
    width: 82px;
  }

  .contact-email-card {
    padding: 21px;
  }

  .member-directory {
    align-items: flex-start;
    flex-direction: column;
    padding: 25px;
  }

  .ukaes-highlight-inner,
  .edu-closing-inner,
  .people-closing-inner,
  .contact-closing-inner,
  .appointment-closing-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .ukaes-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ukaes-footer-brand {
    width: 195px;
    height: 68px;
  }

  .ukaes-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .ukaes-back-to-top {
    right: 15px;
    bottom: 15px;
  }

}


/* 28. ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

}
