@charset "UTF-8";
html {
  box-sizing: border-box;
}

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

/* Set core body defaults */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
}

a,
area,
button,
[role=button],
input,
label,
select,
summary,
textarea {
  touch-action: manipulation;
}

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Make images easier to work with */
img {
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@font-face {
  font-family: "Inter";
  font-weight: 1 900;
  font-style: normal;
  src: url("../fonts/Inter-Roman.woff2") format("woff2-variations");
  font-display: auto;
}
@font-face {
  font-family: "Inter";
  font-weight: 1 900;
  font-style: italic;
  src: url("../fonts/Inter-italic.woff2") format("woff2-variations");
  font-display: auto;
}
@font-face {
  font-family: "SourceSerif4-V";
  font-weight: 1 900;
  font-style: normal;
  src: url("../fonts/SourceSerif4Variable-Roman.woff2") format("woff2-variations");
  font-display: auto;
}
@font-face {
  font-family: "SourceSerif4-V";
  font-weight: 1 900;
  font-style: italic;
  src: url("../fonts/SourceSerif4Variable-Italic.woff2") format("woff2-variations");
  font-display: auto;
}
@font-face {
  font-family: "SourceSans";
  font-weight: 700;
  font-style: normal;
  src: url("../fonts/SourceSansPro-Bold.woff2") format("woff2");
  font-display: auto;
}
@font-face {
  font-family: "SourceSans";
  font-weight: 400;
  font-style: normal;
  src: url("../fonts/SourceSansPro-Regular.woff2") format("woff2");
  font-display: auto;
}
.cards-container {
  --card-max-width: var(--page-max-width);
  --card-title-margin: 0 0 .25rem 0;
  --card-text-font-size: .772rem;
  --card-text-margin: 0 0 0 0;
  --card-title-font-size: 1rem;
  --card-title-font-weight: 500;
}

/*
<div class="cards">
	<ul>
		<li class="card">
			<div class="text">
				<h2><a href="tbe-cn.html">The Bluest Eye</a></h2>
				<p>Character Network</p>
			</div>
			<div class="img">
				<img src="images/viz/tbe-cn.svg"/>
			</div>
		</li>
	</ul>
</div>
*/
/*z-index*/
/*some typographical notes*/
/* 
Scale:
“6	7	8	9	10	11	12	14	16	18	21	24	36	48	60	72”
*/
/*test note*/
/*
body text: 1.06rem / 17px
vertical rhythm: 1.59rem / 26px 

Typographic 

*/
/*css custom properties */
:root {
  /* Define all possible background images */
  --internal-bg-1: url("../images/bg1.webp");
  --internal-bg-2: url("../images/bg2.webp");
  --internal-bg-3: url("../images/bg3.webp");
  --internal-bg-4: url("../images/bg4.webp");
  --internal-bg-5: url("../images/bg5.webp");
  /* Default/fallback image */
  --bg-internal: var(--internal-bg-1);
  scroll-behavior: smooth;
  --primary-sans: "SourceSans", Verdana, Geneva, Tahoma, sans-serif;
  --primary-serif: "SourceSerif4-V", Georgia, Times New Roman, serif;
  --splash-header: "Skia", Arial, sans-serif;
  --text-width: 40rem;
  --standard-margin: 1.5rem;
  --body-internal-bg: #fdfdfd;
  --nav-bg: #f8f8f8;
  --page-bg: #fafafa;
  --site-highlight: #027084;
  --highlight: 145, 88, 67;
  --text-color: #222222;
  --panel-color: #eeeeee;
  --medium-grey: #666666;
  --nav-internal: #666666;
  --underline: #222;
  --underline-active: rgba(185, 185, 185, 1);
  --link-active: #915843;
  --mobile-toggler-color: #fff;
  --moible-toggler-internal-color: #222222;
  --footer-internal-bg-color: transparent;
  --figcaption-color: #5c5c5c;
  --image-border-color: 1px solid #d0d0d0;
  --card-container-color: #f2f2f2;
  --splashnav-bg-color-desktop: rgba(2, 112, 132, 0.90);
  --internalnav-bg-color-desktop: #fff;
  --mobile-bg-color: #d2d2d2;
  --dropdown-bg-hover-color: #222222;
  --dropdown-bg-color: #fafafa;
  --dropdown-bg-internal-color: #ffffff;
  --topnav-svg-active-color: #222222;
  --topnav-bg-internal-color: #fefefe;
  --header-mobile-bg-color: #222222;
  --topnav-internal-border: 3px solid var(--highlight);
  --topnav-internal-bs: 0 1px 2px hsla(0, 0%, 0%, 0.05), 0 1px 4px hsla(0, 0%, 0%, 0.05), 0 2px 8px hsla(0, 0%, 0%, 0.05);
  --footer-bg: rgba(0, 140, 255, 0.67);
  --dropdown-font-color: #222222;
  --page-max-width: 1200px;
  --nav-height-desktop: 34px;
  --top-offset: 60px;
  --scroll-top-bg-color: #ffffff;
  --scroll-top-bg-active: #ffffff;
  --scroll-top-shadow: 0 10px 24px 0px rgba(0, 0, 0, 0.02), 0 8px 20px 0px rgba(0, 0, 0, 0.06), 0 6px 10px 0px rgba(0, 0, 0, 0.1);
  --scroll-top-color: #222222;
  --scroll-top-color-active: #222222;
  --scroll-top-svg-stroke: #222222;
  --scroll-top-svg-stroke-active: #222222;
}

@view-transition {
  navigation: auto;
}
html {
  height: 100%;
  background-repeat: repeat;
}

body:not(.splash) {
  background-image: var(--bg-internal);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

:root {
  --fade: 1400ms;
  --hold: 4000ms;
  --count: 4;
  --cycle: calc((var(--fade)*2 + var(--hold)) * var(--count));
  --first-fade: 1400ms;
}

.splash-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background-color: #027084;
  /* visible during first fade-in */
}

/* Fill viewport */
.splash-bg picture,
.splash-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.splash-bg img {
  object-fit: cover;
  opacity: 0;
  will-change: opacity;
}

/* Regular loop for slides 2..N */
.splash-bg picture:not(:first-child) img {
  animation: crossfade var(--cycle) linear infinite;
}

.splash-bg picture:nth-child(2) img {
  animation-delay: calc(var(--cycle) / var(--count) * 1);
}

.splash-bg picture:nth-child(3) img {
  animation-delay: calc(var(--cycle) / var(--count) * 2);
}

.splash-bg picture:nth-child(4) img {
  animation-delay: calc(var(--cycle) / var(--count) * 3);
}

/* First slide: quick intro, then a loop that STARTS AT 1 (no snap) */
.splash-bg picture:first-child img {
  animation: crossfade-first var(--first-fade) ease-in 1 forwards, crossfade-loop-first var(--cycle) linear infinite var(--first-fade);
}

/* Regular crossfade for others */
@keyframes crossfade {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  /* fade in */
  35% {
    opacity: 1;
  }
  /* hold */
  45% {
    opacity: 0;
  }
  /* fade out */
  100% {
    opacity: 0;
  }
}
/* One-shot quick fade to 1 for the first image */
@keyframes crossfade-first {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* First image’s loop: starts already visible so it doesn’t drop to 0 */
@keyframes crossfade-loop-first {
  0% {
    opacity: 1;
  }
  /* stay visible at loop start */
  35% {
    opacity: 1;
  }
  /* hold */
  45% {
    opacity: 0;
  }
  /* fade out */
  100% {
    opacity: 0;
  }
}
/**
 * Initial state, hidden off screen
 */
.clicky-menu ul {
  position: absolute;
  top: 100%;
  left: 0;
  visibility: hidden;
  /*[1]*/
}

/**
 * No JS fallback
 *
 * Triggers menus on hover rather than click. Supports keyboard navigation in modern browsers.
 */
.clicky-menu.no-js li:hover > ul {
  visibility: visible;
}

.clicky-menu.no-js li:focus-within > ul {
  /*[2]*/
  visibility: visible;
}

/**
 * Open/Close Menu Behavior with JS
 */
.clicky-menu ul[aria-hidden=false] {
  visibility: visible;
}

/* Prevent offscreen-submenus */
.clicky-menu .sub-menu--right {
  left: auto !important;
  right: 0 !important;
}

/**
 * Footnotes
 *
 * [1] Using `visibility` instead of `display` allows for easier transitions and animation of submenus
 * [2] Must be a separate ruleset so that hover works in non-modern browsers
 */
/* Hidden SVG used for down arrows */
svg[hidden] {
  display: none;
  position: absolute;
}

header.splash {
  background-color: var(--splashnav-bg-color-desktop);
  width: 100%;
  height: var(--top-offset);
  display: flex;
  align-items: center;
  margin-block-end: 1rem;
}
@media only screen and (min-width: 768px) {
  header.splash {
    display: none;
  }
}

header.internal {
  width: 100%;
  background-color: var(--internalnav-bg-color-desktop);
  box-shadow: var(--topnav-internal-bs);
  border-top: var(--topnav-internal-border);
  height: 68px;
  position: sticky;
  z-index: 5;
  top: 0;
  transition: all 0.3s ease-in-out;
}
@media only screen and (min-width: 768px) {
  header.internal {
    display: none;
  }
}

header[data-state=open].internal {
  background-color: #222;
  border-top: 2px solid #222;
}

nav[data-state=closed] img.horse-icon {
  opacity: 0;
  transition: opacity 0.3s ease-out;
  width: 60px;
  height: auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  bottom: 15vh;
}
@media only screen and (min-width: 768px) {
  nav[data-state=closed] img.horse-icon {
    display: none;
  }
}

nav[data-state=open] img.horse-icon {
  display: none;
  opacity: 1;
  transition: opacity 0.3s ease-out;
  width: 60px;
  height: auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 15vh;
  z-index: 10;
}
@media only screen and (min-width: 768px) {
  nav[data-state=open] img.horse-icon {
    display: none;
  }
}

header.splash button.topNavMobile {
  appearance: none;
  border: 0;
  background-color: transparent;
  transition: color 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  padding: 1.25rem;
  color: var(--mobile-toggler-color);
  display: block;
  cursor: pointer;
  position: static;
  margin-inline-start: auto;
  z-index: 10;
}
@media only screen and (min-width: 768px) {
  header.splash button.topNavMobile {
    display: none;
  }
}

header.internal button.topNavMobile {
  appearance: none;
  border: 0;
  background-color: transparent;
  transition: color 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  padding: 1.25rem;
  color: var(--mobile-toggler-internal-color);
  display: block;
  cursor: pointer;
  position: static;
  margin-inline-start: auto;
  z-index: 10;
}
@media only screen and (min-width: 768px) {
  header.internal button.topNavMobile {
    display: none;
  }
}

header[data-state=closed].internal button.topNavMobile {
  color: #222;
  transition: color 0.3s ease-in-out;
}

header[data-state=open].internal button.topNavMobile {
  color: #fff;
  transition: color 0.3s ease-in-out;
}

span.lineContainer {
  display: block;
  width: 1.9rem;
  height: 1.5rem;
  position: relative;
}

.topNavTopBar,
.topNavBottomBar {
  display: block;
  width: 1.9rem;
  height: 0.125rem;
  border-radius: 9999px;
  background-color: currentColor;
  position: absolute;
  margin-inline: auto;
  inset-inline-start: 0.125rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.topNavTopBar {
  top: 0.4375rem;
}

.topNavBottomBar {
  bottom: 0.4375rem;
}

header[data-state=open] span.topNavTopBar {
  top: 0.6875rem;
  transform: rotate(45deg);
}

header[data-state=open] span.topNavBottomBar {
  bottom: 0.6875rem;
  transform: rotate(-45deg);
}

div.splash-logo {
  display: none;
  /* display: flex; */
  justify-content: center;
}

div.splash-logo > img {
  width: 300px;
  height: auto;
}
@media only screen and (min-width: 768px) {
  div.splash-logo > img {
    width: 400px;
  }
}
@media only screen and (max-height: 768px) and (orientation: landscape) {
  div.splash-logo > img {
    width: 300px;
  }
}

h1.splash-title {
  font-weight: 700;
  font-size: 8.5rem;
  display: flex;
  justify-content: center;
  z-index: 5;
}

h1.splash-title img {
  width: 330px;
  height: auto;
  margin-block-start: 5rem;
}
@media only screen and (min-width: 768px) {
  h1.splash-title img {
    width: 631px;
    margin-block-start: 7rem;
  }
}
h1.splash-title img {
  /* @include ipad-landscape() {
  	width: 300px;
  } */
}

h1.splash-title span {
  position: absolute;
  left: -100000px;
}

body.splash {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--highlight);
  /* background-image: url(../images/splash-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat; */
  z-index: 0;
}

/* Gradient overlay */
body.splash::before {
  z-index: 0;
  content: "";
  position: absolute;
  top: 2rem;
  /* start 30% down */
  left: 0;
  width: 100%;
  height: 360px;
  /* cover 40% of height */
  background: radial-gradient(50% 50% at 50% 50%, rgba(2, 112, 132, 0.8) 0%, rgba(2, 112, 132, 0.85) 49.14%, rgba(2, 112, 132, 0.6) 61.97%, rgba(2, 112, 132, 0) 100%);
  pointer-events: none;
  /* keep it non-interactive */
}

body.internal {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--body-internal-bg);
}

div.splash-content {
  flex: 1 0 auto;
  background-color: transparent;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  /* subtle lift-up effect */
  animation: splashContentFade 1000ms ease-out forwards;
  animation-delay: var(--first-fade);
  /* wait until first bg image is visible */
}
@media only screen and (min-width: 768px) {
  div.splash-content {
    gap: 2.25rem;
  }
}

@keyframes splashContentFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
footer.splash {
  background-color: rgba(2, 112, 132, 0.6);
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}
@media only screen and (min-width: 768px) {
  footer.splash {
    flex-flow: row nowrap;
    justify-content: center;
    padding: 2rem 0;
    gap: 5rem;
    align-items: center;
    border: 1px solid rgba(0, 63, 107, 0);
    background: rgba(2, 112, 132, 0.6);
    /* Shadows/shadow-md */
    box-shadow: 0 4px 6px -1px rgba(10, 13, 18, 0.1), 0 2px 4px -2px rgba(10, 13, 18, 0.06);
  }
}
@media only screen and (max-height: 768px) and (orientation: landscape) {
  footer.splash {
    padding: 1rem 0;
  }
}

footer.internal {
  background-color: var(--footer-internal-bg-color);
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  position: relative;
  border-top: 1px solid #e4e4e4;
}
@media only screen and (min-width: 768px) {
  footer.internal {
    flex-flow: row nowrap;
    justify-content: center;
    padding: 2rem 0;
    gap: 5rem;
    align-items: center;
    width: 100%;
    max-width: var(--page-max-width);
    margin-left: auto;
    margin-right: auto;
  }
}
@media only screen and (max-height: 768px) and (orientation: landscape) {
  footer.internal {
    padding: 1rem 0;
  }
}

footer.internal::before {
  content: "";
  width: 49px;
  height: 35px;
  background-image: url(../images/logo-header-notext.png);
  background-size: 49px auto;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translate(-50%, -150%);
}

.uvic-splash-logo {
  width: 200px;
  height: auto;
}
@media only screen and (min-width: 768px) {
  .uvic-splash-logo {
    width: 200px;
  }
}

.ibeam-splash-logo {
  width: 175px;
  height: auto;
}
.uvic-internal-logo {
  width: 175px;
  height: auto;
}
@media only screen and (min-width: 768px) {
  .uvic-internal-logo {
    width: 200px;
  }
}

.sshrc-splash-logo {
  width: 150px;
  height: auto;
}
@media only screen and (min-width: 768px) {
  .sshrc-splash-logo {
    width: 200px;
  }
}

.sshrc-internal-logo {
  width: 175px;
  height: auto;
}
@media only screen and (min-width: 768px) {
  .sshrc-internal-logo {
    width: 200px;
  }
}

nav[data-state=closed].splash.site-navigation {
  transform: translate3d(-100%, 0, 0);
  position: fixed;
  top: var(--top-offset);
  left: 0;
  background-color: var(--splashnav-bg-color-desktop);
  border-radius: 0;
  display: flex;
  justify-content: center;
  padding: 0.5rem 2rem;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  opacity: 1;
  width: 100%;
  height: 100%;
}
@media only screen and (min-width: 768px) {
  nav[data-state=closed].splash.site-navigation {
    position: static;
    transform: translate3d(0, 0, 0);
    width: 90%;
    max-width: 62.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(2, 112, 132, 0.7);
    /* Shadows/shadow-md */
    box-shadow: 0 4px 6px -1px rgba(10, 13, 18, 0.1), 0 2px 4px -2px rgba(10, 13, 18, 0.06);
  }
}

nav[data-state=open].splash.site-navigation {
  position: fixed;
  transform: translate3d(0, 0, 0);
  top: var(--top-offset);
  left: 0;
  background-color: var(--splashnav-bg-color-desktop);
  border-radius: 0;
  display: flex;
  justify-content: center;
  padding: 0.5rem 2rem;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  opacity: 1;
  width: 100%;
  height: 100%;
  z-index: 5;
}
@media only screen and (min-width: 768px) {
  nav[data-state=open].splash.site-navigation {
    position: static;
    transform: translate3d(0, 0, 0);
    width: 100%;
    max-width: 62.5rem;
    padding: 0.5rem;
    border-radius: 5px;
    background-color: var(--splashnav-bg-color-desktop);
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.25);
  }
}

nav[data-state=closed].internal.site-navigation {
  transform: translate3d(-100%, 0, 0);
  position: fixed;
  top: var(--top-offset);
  left: 0;
  background-color: var(--splashnav-bg-color-desktop);
  border-radius: 0;
  display: flex;
  justify-content: center;
  padding: 0.5rem 2rem;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  opacity: 1;
  width: 100%;
  height: 100%;
  z-index: 10;
}
@media only screen and (min-width: 768px) {
  nav[data-state=closed].internal.site-navigation {
    position: initial;
    top: 0;
    transform: translate3d(0, 0, 0);
    width: 100%;
    padding: 0.5rem;
    background-color: var(--internalnav-bg-color-desktop);
    box-shadow: var(--topnav-internal-bs);
    border-top: var(--topnav-internal-border);
  }
}

nav[data-state=open].internal.site-navigation {
  position: fixed;
  transform: translate3d(0, 0, 0);
  top: var(--top-offset);
  left: 0;
  background-color: #222222;
  border-radius: 0;
  display: flex;
  justify-content: center;
  padding: 0.5rem 2rem;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  opacity: 1;
  width: 100%;
  height: 100%;
  z-index: 10;
}
@media only screen and (min-width: 768px) {
  nav[data-state=open].internal.site-navigation {
    position: static;
    transform: translate3d(0, 0, 0);
    width: 100%;
    max-width: 62.5rem;
    padding: 0.5rem;
    background-color: var(--splashnav-bg-color-desktop);
    border-bottom: 1px solid #222222;
  }
}

a.home-link img {
  margin-block-start: 1rem;
  width: 296px;
  height: auto;
}

.clicky-menu.internal a.home-link {
  display: none;
}
@media only screen and (min-width: 768px) {
  .clicky-menu.internal a.home-link {
    display: flex;
  }
}

header[data-state=closed].internal a.home-link img {
  width: 160px;
  height: auto;
  position: absolute;
  left: 50%;
  top: 25%;
  transform: translate(-50%, -30%);
  transition: all 0.5s ease-in-out;
  opacity: 1;
}

header[data-state=open].internal a.home-link img {
  transform: translate(-50%, -200%);
  width: 160px;
  height: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transition: all 0.5s ease-in-out;
  opacity: 0;
}

.splash.clicky-menu {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}
@media only screen and (min-width: 768px) {
  .splash.clicky-menu {
    flex-direction: row;
    justify-content: center;
    height: var(--nav-height-desktop);
    margin-left: 0;
  }
}

.internal.clicky-menu {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}
@media only screen and (min-width: 768px) {
  .internal.clicky-menu {
    flex-direction: row;
    justify-content: center;
    margin-left: 0;
    flex-wrap: wrap;
    row-gap: 1rem;
  }
}

/* General Link & Button Styles */
.splash.clicky-menu a,
.splash.clicky-menu button {
  background-color: transparent;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  border-radius: 0;
}
@media only screen and (min-width: 768px) {
  .splash.clicky-menu a,
  .splash.clicky-menu button {
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  }
}

.internal.clicky-menu a,
.internal.clicky-menu button {
  background-color: transparent;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border-radius: 0;
}
@media only screen and (min-width: 768px) {
  .internal.clicky-menu a,
  .internal.clicky-menu button {
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    color: #222;
  }
}

@media only screen and (min-width: 768px) {
  .splash.clicky-menu li > a:hover,
  .splash.clicky-menu button:hover {
    background-color: #fff;
    color: #222;
  }
}

@media only screen and (min-width: 768px) {
  .internal.clicky-menu li > a:hover,
  .internal.clicky-menu button:hover {
    background-color: #fff;
    color: #222;
    cursor: pointer;
  }
}

@media only screen and (min-width: 768px) {
  .splash.clicky-menu a:focus,
  .splash.clicky-menu button:focus {
    background-color: #fff;
    color: #222;
  }
}

@media only screen and (min-width: 768px) {
  .splash.clicky-menu button[aria-expanded=true]:focus {
    background-color: #fff;
    color: #222;
  }
}

@media only screen and (min-width: 768px) {
  .splash.clicky-menu button[aria-expanded=true]:focus svg {
    fill: #222;
  }
}

@media only screen and (min-width: 768px) {
  .splash.clicky-menu button[aria-expanded=true]:focus:hover {
    background-color: #fff;
    color: #222;
  }
}

@media only screen and (min-width: 768px) {
  .splash.clicky-menu button[aria-expanded=true]:focus:hover svg {
    fill: #222;
  }
}

@media only screen and (min-width: 768px) {
  .splash.clicky-menu button[aria-expanded=false]:focus {
    background-color: transparent;
    color: #fff;
  }
}

@media only screen and (min-width: 768px) {
  .splash.clicky-menu button[aria-expanded=false]:focus svg {
    fill: #fff;
  }
}

@media only screen and (min-width: 768px) {
  .splash.clicky-menu button[aria-expanded=false]:focus:hover {
    background-color: #fff;
    color: #222;
  }
}

@media only screen and (min-width: 768px) {
  .splash.clicky-menu button[aria-expanded=false]:focus:hover svg {
    fill: #222;
  }
}

@media only screen and (min-width: 768px) {
  .internal.clicky-menu a:focus,
  .internal.clicky-menu button:focus {
    background-color: #fff;
    color: #222;
  }
}

/* Top Level Items */
.clicky-menu > li {
  position: relative;
  flex: 0 1 auto;
  display: flex;
  justify-content: stretch;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
@media only screen and (min-width: 1024px) {
  .clicky-menu > li {
    margin: 0 0.75rem;
  }
}
@media only screen and (min-width: 768px) {
  .clicky-menu > li {
    flex: initial;
    margin-bottom: 0;
    justify-content: center;
    margin: 0 0.5rem;
  }
}

@media only screen and (min-width: 768px) {
  .clicky-menu:not(.splash) > li:first-of-type {
    flex-basis: 100%;
    display: flex;
  }
}

.clicky-menu > li:first-of-type > a.home-link {
  display: none;
}
@media only screen and (min-width: 768px) {
  .clicky-menu > li:first-of-type > a.home-link {
    display: initial;
    align-self: flex-start;
    flex: 0;
  }
}

.splash.clicky-menu > li > a,
.splash.clicky-menu > li > button {
  flex: 1 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border: 0;
  font-size: 1rem;
  line-height: 1.5;
  cursor: pointer;
  font-family: var(--primary-sans);
  padding: 0;
  margin: 0;
}
@media only screen and (min-width: 768px) {
  .splash.clicky-menu > li > a,
  .splash.clicky-menu > li > button {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
}
@media only screen and (min-width: 1024px) {
  .splash.clicky-menu > li > a,
  .splash.clicky-menu > li > button {
    font-size: 1.25rem;
    padding: 0 0.75rem;
  }
}

.internal.clicky-menu > li > a,
.internal.clicky-menu > li > button {
  flex: 1 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border: 0;
  font-size: 1.25rem;
  line-height: 1.5;
  font-family: var(--primary-sans);
  font-weight: 800;
  padding: 0;
  margin: 0;
}
@media only screen and (min-width: 768px) {
  .internal.clicky-menu > li > a,
  .internal.clicky-menu > li > button {
    font-size: 1rem;
    font-weight: 800;
  }
}

/* Icon */
.splash.clicky-menu svg {
  margin-left: 0.5em;
  fill: #fff;
  transform: rotate(0deg) translateX(0px) scale(1);
  transition: all 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
@media only screen and (min-width: 768px) {
  .splash.clicky-menu svg {
    transform: rotate(0deg) translateX(0px) scale(1);
  }
}

.internal.clicky-menu svg {
  margin-left: 0.5em;
  fill: #fff;
  transform: rotate(0deg) translateX(0px) scale(1);
  transition: all 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
@media only screen and (min-width: 768px) {
  .internal.clicky-menu svg {
    transform: rotate(0deg) translateX(0px) scale(1);
    fill: #222222;
  }
}

.splash.clicky-menu button:hover > svg {
  fill: #fff;
}
@media only screen and (min-width: 768px) {
  .splash.clicky-menu button:hover > svg {
    fill: var(--topnav-svg-active-color);
  }
}

.internal.clicky-menu button:hover > svg {
  fill: #fff;
}
@media only screen and (min-width: 768px) {
  .internal.clicky-menu button:hover > svg {
    fill: #222222;
  }
}

.splash.clicky-menu [aria-expanded=true] svg {
  transform: rotate(-180deg) translateX(0px) scale(1);
  margin-left: 0.5em;
}
@media only screen and (min-width: 768px) {
  .splash.clicky-menu [aria-expanded=true] svg {
    transform: rotate(-180deg) translateX(0px) scale(1);
  }
}

.internal.clicky-menu [aria-expanded=true] svg {
  transform: rotate(-180deg) translateX(0px) scale(1);
}
@media only screen and (min-width: 768px) {
  .internal.clicky-menu [aria-expanded=true] svg {
    transform: rotate(-180deg) translateX(0px) scale(1);
  }
}

/* Submenu Styles */
.splash.clicky-menu > ul {
  min-width: 100%;
  width: 12em;
  margin-top: 0.25em;
  padding: 0;
  list-style: none;
  background-color: transparent;
  border-radius: 3px;
}

.internal.clicky-menu ul {
  min-width: 100%;
  width: 12em;
  margin-top: 0.25em;
  padding: 0;
  list-style: none;
  background-color: transparent;
  border-radius: 3px;
}

/* Responsive Submenu Behavior */
.splash.clicky-menu ul[aria-hidden=false] {
  position: static;
  width: 100%;
  flex: 0 0 auto;
  list-style-type: none;
  padding-inline-start: 0.5rem;
}
@media only screen and (min-width: 768px) {
  .splash.clicky-menu ul[aria-hidden=false] {
    position: absolute;
    left: -1rem;
    width: auto;
    background-color: var(--dropdown-bg-color);
    min-width: 16em;
    padding-inline-start: 0;
    padding-inline-end: 0.25rem;
    margin-top: 0.75rem;
    border-radius: 5px;
    box-shadow: 0 1px 3px 0 rgba(10, 13, 18, 0.1), 0 1px 2px -1px rgba(10, 13, 18, 0.1);
  }
}

.internal.clicky-menu ul[aria-hidden=false] {
  position: static;
  width: 100%;
  flex: 0 0 auto;
  list-style-type: none;
  padding-inline-start: 0.5rem;
}
@media only screen and (min-width: 768px) {
  .internal.clicky-menu ul[aria-hidden=false] {
    position: absolute;
    left: -1rem;
    width: auto;
    background-color: var(--dropdown-bg-internal-color);
    min-width: 16rem;
    padding-inline-start: 0;
    padding-inline-end: 0.25rem;
    margin-top: 0.75rem;
    border-radius: 5px;
    box-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.05), 0 1px 4px hsla(0, 0%, 0%, 0.05), 0 2px 8px hsla(0, 0%, 0%, 0.05);
  }
}

/* Submenu Links */
.splash.clicky-menu ul a {
  display: block;
  border-radius: 0;
  font-family: var(--primary-sans);
  font-size: 1.25rem;
  font-weight: 400;
}
@media only screen and (min-width: 768px) {
  .splash.clicky-menu ul a {
    font-size: inherit;
    font-weight: inherit;
    color: var(--dropdown-font-color);
    margin: 0.25rem;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    padding-block: 0.25rem;
    padding-inline-start: 0.5rem;
    padding-inline-end: 0.25rem;
    border-radius: 3px;
    font-size: 1rem;
  }
}

.internal.clicky-menu ul a {
  display: block;
  border-radius: 0;
  font-family: var(--primary-sans);
  font-size: 1.25rem;
  font-weight: 400;
}
@media only screen and (min-width: 768px) {
  .internal.clicky-menu ul a {
    font-size: inherit;
    font-weight: 800;
    color: var(--dropdown-font-color);
    margin: 0.25rem;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    padding-block: 0.25rem;
    padding-inline-start: 0.5rem;
    padding-inline-end: 0.25rem;
    border-radius: 3px;
    font-size: 0.9rem;
  }
}

.splash.clicky-menu ul a:hover {
  background-color: var(--mobile-bg-color);
  color: var(--dropdown-bg-hover-color);
}

.internal.clicky-menu ul a:hover {
  background-color: var(--mobile-bg-color);
  color: var(--dropdown-bg-hover-color);
}

.internal.clicky-menu ul a {
  display: block;
}

@media (min-width: 540px) {
  .clicky-menu ul a {
    padding-block: 0.375em;
    padding-inline: 1em;
    white-space: nowrap;
    font-size: 1.25rem;
  }
}
@media only screen and (min-width: 540px) and (min-width: 768px) {
  .clicky-menu ul a {
    font-size: 1rem;
  }
}
div.internal-content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

div.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block-start: 1.5rem;
  margin-block-end: 8rem;
}

.main-content .custom {
  width: 100%;
  max-width: var(--text-width);
  margin-block-end: var(--standard-margin);
}

.main-content figure {
  margin-block-end: var(--standard-margin);
  width: 100%;
  max-width: 40rem;
}

.google-maps {
  width: 100%;
  max-width: 40rem;
  height: 28rem;
  overflow: hidden;
}

.google-maps iframe {
  width: 100% !important;
  height: 95% !important;
}

.main-content figcaption {
  font-family: var(--primary-serif);
  font-size: 0.88rem;
  color: var(--figcaption-color);
  font-weight: 300;
}

.main-content figure img {
  width: 100%;
  max-width: 40rem;
  height: auto;
  border: var(--image-border-color);
}

.main-content figure img.portrait {
  width: 100%;
  border: var(--image-border-color);
}

.main-content figure.news {
  margin-inline: auto;
  width: 100%;
  max-width: var(--text-width);
}

.main-content h1,
h2,
h3,
h4 {
  font-family: var(--primary-sans);
  font-weight: 700;
  width: 100%;
  max-width: var(--text-width);
}

.main-content h1 {
  font-size: 1.5rem;
  margin-block-end: 1rem;
  padding-inline: 1rem;
}
@media only screen and (min-width: 768px) {
  .main-content h1 {
    font-size: 2.25rem;
    padding: 0;
  }
}

.main-content h1.center,
.main-content h2.center {
  text-align: center;
}

.main-content h2 {
  font-size: 1.5rem;
  margin-block-end: 0.5rem;
  margin-block-start: 1.5rem;
  padding-inline: 1rem;
}
@media only screen and (min-width: 768px) {
  .main-content h2 {
    padding: 0;
  }
}

.main-content h3 {
  font-size: 1.5rem;
  margin-block-end: 0.5rem;
  margin-block-start: 1.5rem;
  padding-inline: 1rem;
}
@media only screen and (min-width: 768px) {
  .main-content h3 {
    font-size: 1.5rem;
    padding: 0;
  }
}

.main-content h4 {
  font-size: 1.13rem;
  margin-block-end: 0.5rem;
  padding-inline: 1rem;
}
@media only screen and (min-width: 768px) {
  .main-content h4 {
    padding: 0;
  }
}

.main-content p {
  width: 100%;
  max-width: var(--text-width);
  font-family: var(--primary-serif);
  font-weight: 400;
  font-size: 1rem;
  color: var(--text-color);
  margin-block-end: var(--standard-margin);
  padding-inline: 1rem;
}
@media only screen and (min-width: 768px) {
  .main-content p {
    padding: 0;
    font-size: 1.13rem;
  }
}

.video-flex-wrapper {
  display: flex;
  width: 100%;
  max-width: 560px;
  margin-block-end: 1.5rem;
  flex-direction: column;
}

.video-flex-wrapper-small {
  max-width: 300px;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: rgba(34, 34, 34, 0.1) 0px 1px 1px 0px, rgba(34, 34, 34, 0.1) 0px 7px 18px 0px;
}
@media only screen and (min-width: 768px) {
  .video-flex-wrapper-small {
    max-width: 450px;
  }
}

.video-flex-wrapper-text {
  max-width: var(--text-width);
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-block-end: 1.5rem;
}

.video-caption {
  font-family: var(--primary-sans);
  font-size: 1rem;
  color: var(--text-color);
  font-weight: 400;
  background-color: #ffffff;
  padding: 0.5rem;
}

.responsive-video {
  position: relative;
  padding-block-end: 56.25%;
  /* 16:9 -> 9/16x100 */
  height: 0;
  max-width: 100%;
  overflow: hidden;
  flex: 1;
}

.webgl-content {
  inline-size: 100%;
  max-inline-size: 1200px;
  padding-inline: 1rem;
  /* tweak or remove */
  aspect-ratio: 960/643;
  /* keeps the exact content ratio */
  position: relative;
}

.webgl-content > #unityContainer > canvas {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  aspect-ratio: 960/600;
}

.responsive-video iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

div.sketchfab-embed-wrapper {
  display: flex;
  flex-flow: row wrap;
  width: 100%;
  max-width: 1600px;
  gap: 2.5rem;
  justify-content: center;
  margin-block-end: 1.5rem;
  padding-block: 1.5rem;
  background-color: #f1f1f1;
}

.sketchfab-embed-wrapper h2 {
  text-align: center;
  flex: 0 0 100%;
  max-width: none;
}

figcaption.video-caption {
  font-size: 0.88rem;
}

div.team-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  width: 100%;
  max-width: var(--page-max-width);
  margin-block-end: 2rem;
  background-color: var(--card-container-color);
  padding: 1rem;
}

div.teamCard,
div.mediaCard {
  width: 225px;
  height: 275px;
  background-color: #fff;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.08), 0 6px 4px -4px rgba(0, 0, 0, 0.08);
  margin: 0.5rem;
  transition: all 0.2s ease-in-out;
}

div.teamCard:hover,
div.mediaCard:hover {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.08), 0 14px 24px -4px rgba(0, 0, 0, 0.08);
}

div#bioContainer > div.teamCard {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.08), 0 14px 24px -4px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  margin-left: auto;
  margin-right: auto;
}
@media only screen and (min-width: 768px) {
  div#bioContainer > div.teamCard {
    margin-left: 0;
    margin-right: 0;
  }
}

div.teamCard a:link,
div.teamCard a:visited,
div.mediaCard a:link,
div.mediaCard a:visited {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  height: 100%;
  padding: 1rem;
}

img.teamPhoto,
img.mediaPhoto {
  width: 100px;
  height: auto;
  margin-bottom: 0.5rem;
}

span.teamName,
span.mediaTitle {
  font-family: var(--primary-sans);
  font-weight: 400;
  color: var(--text-color);
  font-size: 1.1rem;
  display: block;
  text-align: center;
}

span.teamRole {
  font-family: var(--primary-sans);
  font-weight: 400;
  color: var(--text-color);
  font-size: 1.1rem;
  display: block;
  text-align: center;
  font-size: 1rem;
}

span.teamSpec {
  font-family: var(--primary-sans);
  font-weight: 400;
  color: var(--text-color);
  display: block;
  text-align: center;
  font-style: italic;
  color: #6d6d6d;
  font-size: 0.9rem;
}

span.teamAffil {
  font-family: var(--primary-sans);
  font-weight: 400;
  color: var(--text-color);
  font-size: 1.1rem;
  display: block;
  text-align: center;
  font-style: italic;
  color: #6d6d6d;
  font-size: 0.8rem;
}

.main-content a.jump-link {
  color: var(--highlight);
  text-decoration: underline;
  text-decoration-color: var(--underline);
  transition: all 0.3s ease-in-out;
  width: 100%;
  max-width: var(--text-width);
  font-family: var(--primary-serif);
  margin-block-end: 1rem;
}

.main-content a.jump-link:hover {
  color: var(--link-active);
  text-decoration-color: var(--underline-active);
}

div.publications-container,
div.educational-container {
  display: flex;
  width: 100%;
  max-width: var(--page-max-width);
  flex-flow: row wrap;
  justify-content: center;
  margin-block-end: var(--standard-margin);
  background-color: var(--card-container-color);
  padding: 1rem;
}

div.educational-container {
  display: flex;
  width: 100%;
  max-width: var(--page-max-width);
  flex-flow: row wrap;
  justify-content: center;
  margin-block-end: var(--standard-margin);
  background-color: rgba(255, 255, 255, 0.4);
  padding: 1rem;
}

div.bookContainer,
div.educationalContainer {
  width: 300px;
  height: 375px;
  background-color: #fff;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.08), 0 6px 4px -4px rgba(0, 0, 0, 0.08);
  margin: 0.5rem;
  transition: all 0.2s ease-in-out;
  padding: 1rem;
  border: 1px solid #ebebeb;
}

div.bookContainer.presentation {
  width: 300px;
  height: 350px;
}

.media div.bookContainer {
  height: 250px;
}

div.bookContainer.featured {
  background-color: #fffeec;
}

.flex-break {
  flex-basis: 100%;
  height: 0;
}

div.educationalContainer {
  padding: 0;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.2), 0 6px 4px -4px rgba(0, 0, 0, 0.2);
}

div.educationalContainer:hover {
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.08), 0 12px 20px -4px rgba(0, 0, 0, 0.1);
}

div.bookContainer:hover {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2), 0 14px 24px -4px rgba(0, 0, 0, 0.2);
}

a.citation-link {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
}

a.educational-link {
  display: flex;
  flex-flow: column nowrap;
  width: 300px;
  height: 375px;
  background-image: url("../images/education-bg.webp");
  background-repeat: no-repeat;
  background-size: 300px 375px;
  position: relative;
  overflow: hidden;
  border: 5px solid #ffffff;
}

a.educational-link:hover {
  border: 5px solid #027084;
}

span.course-ribbon {
  position: absolute;
  top: 25px;
  right: -40px;
  font-family: var(--primary-sans);
  font-weight: 700;
  color: #fff;
  background-color: rgba(255, 0, 0, 0.75);
  width: 150px;
  height: 30px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(45deg);
}

span.edu-title {
  position: absolute;
  top: 200px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--primary-sans);
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 1.2rem;
  width: 275px;
  display: flex;
  align-items: center;
  flex-flow: column nowrap;
  background-color: rgba(2, 112, 132, 0.5);
  border-radius: 5px;
  padding: 1rem;
}

span.edu-author {
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
}

.main-content div.bookContainer a.citation-link {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.88rem;
}

.main-content div.bookContainer a.citation-link:hover {
  color: var(--text-color);
}

div.bookContainer img {
  margin-block-end: 1rem;
  width: 100px;
  height: auto;
  border: 1px solid #acacac;
}

div.bookContainer.presentation img {
  width: 200px;
  height: auto;
}

.main-content ul.regular {
  margin: 0;
  margin-block-end: 1.5rem;
  padding-inline: 1rem;
  width: 100%;
  max-width: var(--text-width);
  font-size: 1rem;
}
@media only screen and (min-width: 768px) {
  .main-content ul.regular {
    padding: 0;
    font-size: 1.13rem;
  }
}

.main-content ul.regular li {
  font-family: var(--primary-serif);
  margin-inline-start: 1rem;
}

ul.bibliography {
  list-style-type: none;
  width: 100%;
  max-width: var(--text-width);
}

.main-content ol {
  width: 100%;
  max-width: var(--text-width);
}

.main-content ol li {
  font-family: var(--primary-serif);
  margin-block-end: 1rem;
  font-size: 1.13rem;
}

ul.bibliography li {
  font-family: var(--primary-serif);
  margin-block-end: 1rem;
  margin-inline-start: 1.5em;
  text-indent: -1.5em;
}

img.left-float {
  width: 150px;
  height: auto;
  margin-block: 0;
  margin-inline-end: 1rem;
  float: left;
}

div.contents-container {
  background-color: #f1f1f1;
  border-radius: 3px;
  width: 100%;
  max-width: var(--text-width);
  padding: 1rem;
}

div.contents-container h3 {
  margin-top: 0;
}

ul.contents {
  margin-block-end: 1.5rem;
  margin-inline-start: 1rem;
  padding: 0;
}

ul.contents:last-child {
  margin-inline-start: 1rem;
}

div.text-container {
  width: 100%;
  max-width: var(--text-width);
  padding-inline: 1rem;
}
@media only screen and (min-width: 768px) {
  div.text-container {
    padding: 0;
  }
}

h2.center + div.text-container {
  text-align: center;
}

a.back-button:link,
a.back-button:visited {
  padding-block: 0.25rem;
  padding-inline: 0.5rem;
  color: #fff;
  background-color: rgba(var(--highlight), 0.7);
  font-family: var(--primary-sans);
  text-align: center;
  display: inline-block;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 400;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s ease-in-out;
}

a.back-button:hover {
  background-color: rgba(var(--highlight), 1);
}

.publication-container-book {
  width: 100%;
  max-width: 35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background-color: #fff;
  margin-bottom: 0;
}
@media only screen and (min-width: 768px) {
  .publication-container-book {
    padding: 2rem;
    margin-bottom: 1.5rem;
  }
}

.book-wrapper {
  gap: 1rem;
}
@media only screen and (min-width: 768px) {
  .book-wrapper {
    gap: 2rem;
  }
}

.publication-cover-book {
  height: 300px;
  width: auto;
  margin-block-end: 1.5rem;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.08), 0 6px 4px -4px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease-in-out;
}
@media only screen and (min-width: 768px) {
  .publication-cover-book {
    height: 300px;
    width: auto;
  }
}

.publication-cover-book:hover {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2), 0 14px 24px -4px rgba(0, 0, 0, 0.2);
}

.publication-container-book p {
  font-size: 1rem;
}

.publication-container-book h3 {
  font-size: 1.3rem;
  margin-top: 0;
}

.scroll-to-top[aria-hidden=false] {
  position: fixed;
  bottom: 30px;
  right: 25px;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  padding: 0.5rem;
  transition: all 0.3s ease-in-out;
  color: var(--scroll-top-color);
  font-family: var(--primary-sans);
  font-weight: 400;
  font-size: 0.75rem;
  border-radius: 5px;
  background-color: var(--scroll-top-bg-color);
  width: 4rem;
  height: 4rem;
  text-decoration: none;
  line-height: 1.5;
  text-align: center;
  opacity: 1;
  z-index: 10;
  box-shadow: var(--scroll-top-shadow);
}

.scroll-to-top[aria-hidden=true] {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  position: fixed;
  bottom: 30px;
  right: 25px;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  padding: 0.5rem;
  color: var(--scroll-top-color);
  font-family: var(--primary-sans);
  font-weight: 400;
  font-size: 0.75rem;
  border-radius: 5px;
  background-color: var(--scroll-top-bg-color);
  width: 4rem;
  height: 4rem;
  text-decoration: none;
  line-height: 1.5;
  text-align: center;
  box-shadow: var(--scroll-top-shadow);
  z-index: 10;
}

svg.up-caret {
  stroke: var(--scroll-top-svg-stroke);
  width: 16px;
  height: auto;
  margin-block-end: 0.25rem;
  transform: translate3d(0, 0, 0);
  transition: all 0.3s ease-in-out;
}

@media (hover: hover) and (pointer: fine) {
  .scroll-to-top:hover {
    cursor: pointer;
    background-color: var(--scroll-top-bg-active);
    color: var(--scroll-top-color-active);
  }
  .scroll-to-top:hover svg.up-caret {
    stroke: var(--scroll-top-svg-stroke-active);
    transform: translate3d(0, -3px, 0);
  }
}
p.reference {
  padding: 1rem;
  border-radius: 5px;
  background-color: #efefef;
  font-size: 1rem;
}

.news-item {
  background-color: #f2f2f2;
  padding-inline: 2rem;
  border-radius: 5px;
  margin-block-end: 1.5rem;
  width: 100%;
  max-width: var(--text-width);
}

.cards-container {
  margin: 0 0 1.5rem 0;
}

.cards-container ul {
  width: 100%;
  max-width: var(--page-max-width);
  margin: 0 auto;
  list-style: none; /*if list*/
  padding: 0;
  display: grid;
  grid-template-columns: minmax(200px, min-content);
  grid-auto-rows: minmax(100px, min-content);
  gap: 1rem;
}
@media only screen and (min-width: 768px) {
  .cards-container ul {
    grid-template-columns: repeat(3, minmax(200px, min-content));
  }
}
@media only screen and (min-width: 1024px) {
  .cards-container ul {
    grid-template-columns: repeat(4, minmax(200px, min-content));
  }
}

.cards-container .card {
  border: 1px solid;
  border-radius: 0.25rem;
  position: relative;
  background-color: #fff;
  margin: 0;
  padding: 0.5rem;
  display: grid;
  grid-column: span 1;
  grid-template-columns: subgrid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  grid-template-areas: "image image image" "text text text";
  align-items: start;
  gap: 0.25rem;
}

.cards-container .card h2 {
  text-align: center;
  font-size: var(--card-title-font-size);
  font-weight: var(--card-title-font-weight);
  margin: var(--card-title-margin);
}

.card:has(a):focus,
.card:has(a):focus-within,
.card:has(a):hover {
  outline: 2px solid var(--site-highlight);
  border-color: var(--site-highlight);
}

.card a {
  text-decoration: none;
  font-family: var(--primary-sans);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

.card a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.card .text {
  grid-area: text;
}

.card p {
  margin: var(--card-text-margin);
  text-align: center;
  font-weight: 400;
  font-size: var(--card-text-font-size);
  line-height: 1.3;
}

.card .img {
  grid-area: image;
  justify-self: center;
}

.card .img img {
  width: 100px;
  height: auto;
}

.card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-inline: 1rem;
  width: 100%;
  max-width: var(--page-max-width);
  position: relative;
}

.card {
  width: 250px;
  background-color: #fff;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.08), 0 6px 4px -4px rgba(0, 0, 0, 0.08);
  margin: 0.5rem;
  transition: all 0.2s ease-in-out;
  position: relative;
}

.card:hover {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.08), 0 14px 24px -4px rgba(0, 0, 0, 0.08);
}

.card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  height: 100%;
  padding: 1rem;
}

.card-img {
  width: 150px;
  height: auto;
  margin-block-end: 0.5rem;
}

.card-title {
  font-family: var(--primary-sans);
  font-weight: 400;
  color: var(--text-color);
  font-size: 0.823rem;
  display: block;
}

.tile-container {
  container-type: inline-size;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  height: 100%;
  width: 100%;
  max-width: 100rem;
}
.tile-container article {
  display: contents;
}
.tile-container .tile-link:link,
.tile-container .tile-container:visited {
  text-decoration: none;
  opacity: 0;
  transform: translateY(60px);
  animation: fade-up 0.8s ease-out forwards;
}
.tile-container .tile-link:link:nth-child(1),
.tile-container .tile-container:visited:nth-child(1) {
  animation-delay: 0s;
}
.tile-container .tile-link:link:nth-child(2),
.tile-container .tile-container:visited:nth-child(2) {
  animation-delay: 0.1s;
}
.tile-container .tile-link:link:nth-child(3),
.tile-container .tile-container:visited:nth-child(3) {
  animation-delay: 0.2s;
}
.tile-container .tile-header {
  margin-block-start: auto;
  padding-block: 1.5rem;
  margin-bottom: 0;
  background-color: rgba(2, 112, 132, 0.75);
  font-size: 1.25rem;
  text-align: center;
  font-family: var(--primary-sans);
  color: white;
}

.tile {
  width: clamp(300px, 30cqw, 520px);
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(10, 13, 18, 0.1), 0 2px 4px -2px rgba(10, 13, 18, 0.06);
  background-repeat: no-repeat;
  background-size: 100%;
  transition: background-size 0.5s ease-in-out;
}
.tile:is(:hover, :focus-visible) {
  background-size: 110%;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.cargo {
  background-image: url(../images/tile-cargo.webp);
}

.construction {
  background-image: url(../images/tile-construction.webp);
}

.preservation {
  background-image: url(../images/tile-preservation.webp);
}

.team-grid {
  display: grid;
  grid-template-columns: 300px;
  align-items: start;
  justify-content: center;
  inline-size: 100%;
  column-gap: 1.5rem;
  padding-inline: 1rem;
  width: 100%;
  max-width: 1440px;
  z-index: 1;
}
@media (width >= 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 350px);
  }
}
@media (width >= 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Each card inherits those rows via subgrid */
.team-card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  margin-block-end: 1.5rem;
  /* spans both rows of the parent grid */
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(60px);
  animation: fade-up 1.5s ease-out forwards;
}

/* --- Photo section --- */
.team-photo-container {
  aspect-ratio: 1/1;
  background: #eee;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transfrom: scale(1);
  transition: transform 0.3s ease-in-out;
}

.team-card:hover .team-photo {
  transform: scale(1.2);
}

/* --- Description section --- */
.team-desc {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  background: var(--site-highlight);
}

.team-name,
.team-role,
.team-affil,
.team-sites {
  font-family: var(--primary-sans);
  color: #fff;
  text-align: center;
}

.main-content h2.team-name {
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0;
  padding: 0;
}

.team-role {
  font-style: italic;
}

.team-sites a {
  text-decoration: underline;
  font-family: var(--primary-sans);
  color: #fff;
}

.team-sites a:hover {
  text-decoration: underline;
}

/*# sourceMappingURL=site.css.map */
