:root {
  --ink: #08111f;
  --blue: #0e2d5c;
  --cyan: #50bdd3;
  --red: #ef334e;
  --paper: #f8fafc;
  --white: #ffffff;
  --muted: #677383;
  --line: rgba(8, 17, 31, .15);
  --max: 1280px;
  --portrait-size: 112px;
  --team-image-scale: 80%;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.site-header,
main,
footer {
  position: relative;
  z-index: 1;
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 250, 252, .75);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  box-shadow: 0 6px 22px rgba(8, 17, 31, .055);
}

.header-inner {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 132px;
  margin-inline: auto;
  padding-block: .7rem;
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1.5rem;
}

.laas-logo {
  display: block;
  width: 144px;
  height: 94px;
  object-fit: contain;
  align-self: center;
}

.identity {
  min-width: 0;
  display: grid;
  grid-template-columns: var(--portrait-size) minmax(0, 1fr);
  grid-template-areas:
    "photo text"
    "profiles profiles";
  align-items: center;
  column-gap: 1rem;
  row-gap: .5rem;
}

.identity-photo-frame {
  grid-area: photo;
  display: block;
  width: var(--portrait-size);
  height: var(--portrait-size);
  border-radius: 50%;
  background: transparent;
}

.identity-photo-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  background: transparent;
  filter:
    grayscale(100%)
    sepia(18%)
    hue-rotate(175deg)
    saturate(240%)
    brightness(1.06)
    contrast(1.08);
}

.identity > div:not(.profiles) {
  grid-area: text;
  display: grid;
  min-width: 0;
  align-self: center;
}

.identity strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1;
}

.identity span:not(.identity-photo-frame) {
  margin-top: .35rem;
  color: var(--red);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.identity small {
  color: var(--muted);
}

.profiles {
  grid-area: profiles;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: .62rem;
  margin: 0;
  padding: 0;
}

.profiles a:not(.cv-download) {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}

.profiles a:not(.cv-download):hover {
  transform: translateY(-2px) scale(1.05);
  opacity: .86;
}

.profiles a img {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.cv-download {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  min-height: 32px;
  padding-inline: .15rem;
  color: var(--ink);
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}

.cv-download:hover {
  transform: translateY(-2px);
  opacity: .86;
}

.cv-icon {
  display: block;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  overflow: visible;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cv-download > span:last-child {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

nav a {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

nav a:hover {
  color: var(--red);
}

@media (max-width: 1000px) {
  .header-inner {
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 126px;
  }

  .laas-logo {
    width: 110px;
    height: 82px;
  }

  nav {
    display: none;
  }
}

@media (max-width: 700px) {
  :root {
    --portrait-size: 80px;
  }

  html {
    scroll-padding-top: 154px;
  }

  .header-inner {
    width: min(calc(100% - 1rem), var(--max));
    min-height: auto;
    padding-block: .65rem;
    grid-template-columns: 76px minmax(0, 1fr);
    column-gap: .7rem;
  }

  .laas-logo {
    width: 72px;
    height: 62px;
  }

  .identity {
    grid-template-columns: var(--portrait-size) minmax(0, 1fr);
    column-gap: .7rem;
    row-gap: .35rem;
  }

  .identity strong {
    font-size: 1.2rem;
  }

  .identity span:not(.identity-photo-frame) {
    margin-top: .2rem;
    font-size: .66rem;
    letter-spacing: .075em;
  }

  .identity small {
    font-size: .76rem;
    line-height: 1.25;
  }

  .profiles {
    gap: .42rem;
  }

  .profiles a:not(.cv-download) {
    width: 29px;
    height: 29px;
  }

  .profiles a img {
    width: 22px;
    height: 22px;
  }

  .cv-download {
    min-height: 29px;
    gap: .3rem;
  }

  .cv-icon {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }

  .cv-download > span:last-child {
    font-size: .7rem;
  }
}

@media (max-width: 430px) {
  :root {
    --portrait-size: 72px;
  }

  .header-inner {
    grid-template-columns: 66px minmax(0, 1fr);
    column-gap: .55rem;
  }

  .laas-logo {
    width: 62px;
    height: 56px;
  }
}
/* ---------------- Main layout ---------------- */

main,
footer {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
}

.hero {
  min-height: 68vh;
  display: grid;
  align-content: center;
  padding: 7rem 0 5rem;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.chapter-label {
  color: var(--red);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  width: 100%;
  max-width: none;
  margin: .8rem 0 1.7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.2vw, 6.3rem);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .96;
}

.hero-copy {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-right: clamp(0rem, 12vw, 9rem);
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

/* ---------------- Research carousel ---------------- */

.carousel-section {
  padding: 3rem 0 6rem;
}

.carousel-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.carousel-heading h2 {
  margin: 0;
  color: var(--red);
  font-size: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.carousel-heading p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}

.carousel {
  overflow: hidden;
  cursor: grab;
}

.carousel.dragging {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  will-change: transform;
}

.slide {
  flex: 0 0 clamp(360px, 48vw, 680px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.slide img {
  display: block;
  width: 100%;
  height: clamp(300px, 38vw, 500px);
  padding: 1rem;
  object-fit: contain;
  background: #fff;
  transition: transform .45s ease, filter .45s ease;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.01);
}

.slide:hover img {
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.035);
  filter: contrast(1.04) saturate(1.04);
}

.slide div {
  padding: 1.1rem 1.25rem 1.35rem;
}

.slide strong {
  color: var(--red);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.slide p {
  margin: .5rem 0 0;
  color: var(--muted);
}

/* ---------------- Sections ---------------- */

.chapter {
  padding: 7.5rem 0;
  border-top: 1px solid var(--line);
}

.chapter-label {
  margin-bottom: 3.5rem;
}

.chapter-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 7vw, 7rem);
}

.chapter h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4.2vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.chapter-grid p,
.team-intro {
  color: var(--muted);
  font-size: 1.08rem;
}

.axes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.axes article {
  min-height: 250px;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
}

.axes article:last-child {
  border-right: 0;
}

.axes span {
  color: var(--cyan);
  font-weight: 800;
}

.axes h3 {
  margin: 4rem 0 .6rem;
}

.axes p {
  margin: 0;
  color: var(--muted);
}

/* ---------------- Publications ---------------- */

.dark {
  position: relative;
  z-index: 1;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-inline: max(1.5rem, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: var(--ink);
}

.dark .chapter-label {
  color: var(--cyan);
}

.dark h2 {
  color: #fff;
}

.dark .chapter-grid p {
  color: rgba(255, 255, 255, .65);
}

.publications {
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.publications article {
  display: grid;
  grid-template-columns: 78px 1fr 24px;
  gap: 1rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  transition: transform .25s ease;
}

.publications article:hover {
  transform: translateX(5px);
}

.publications time {
  color: var(--cyan);
}

.publications h3 {
  margin: 0 0 .35rem;
  font-size: 1.15rem;
}

.publications p {
  margin: 0;
  color: rgba(255, 255, 255, .62);
}

.publications a {
  color: var(--red);
  text-decoration: none;
}

/* ---------------- Team ---------------- */

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

.team-grid > article {
  min-height: 310px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}

.team-grid > article:hover {
  transform: translateY(-4px);
  border-color: rgba(80, 189, 211, .42);
  background: rgba(255, 255, 255, .9);
}

.team-photo {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--portrait-size);
  height: var(--portrait-size);
  margin-bottom: 2.2rem;
  overflow: hidden;
  border-radius: 50%;
  background: transparent;
}

.team-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.team-photo::after {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: 1;
  border-radius: inherit;
  background: rgba(248, 250, 252, .96);
}

.team-photo.laas-photo::before {
  background: conic-gradient(
    from 215deg,
    #0e2d5c 0deg 150deg,
    #50bdd3 150deg 275deg,
    #ef334e 275deg 360deg
  );
}

.team-photo.crct-photo::before {
  background: conic-gradient(
    from 205deg,
    #f39a1f 0deg 55deg,
    #f5e61c 55deg 105deg,
    #7dbb43 105deg 185deg,
    #58bde0 185deg 255deg,
    #7dbb43 255deg 315deg,
    #f39a1f 315deg 360deg
  );
}

.team-photo img {
  position: relative;
  z-index: 2;
  display: block;
  width: var(--team-image-scale);
  height: var(--team-image-scale);
  object-fit: contain;
  object-position: center center;
  border-radius: 50%;
  filter: grayscale(100%) sepia(18%) hue-rotate(175deg) saturate(240%) brightness(1.06) contrast(1.08);
  transition: transform .3s ease;
}

.team-grid > article:hover .team-photo img {
  filter: none;
  transform: scale(1.03);
}

.team-grid h3 {
  margin: 0 0 .35rem;
}

.team-grid p {
  margin: 0 0 .45rem;
  color: var(--muted);
}

.team-grid > article > span {
  color: var(--red);
  font-size: .84rem;
}

.team-grid > article > span a {
  text-underline-offset: .2rem;
}

.team-profiles {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 29px;
  margin-top: 1rem;
}

.team-profiles a {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 0;
  background: transparent;
  text-decoration: none;
  opacity: .9;
  transition: transform .2s ease, opacity .2s ease;
}

.team-profiles a:hover {
  transform: translateY(-2px) scale(1.06);
  opacity: 1;
}

.team-profiles img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.affiliations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

.affiliations > div {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: #fff;
}

.affiliations img {
  width: 150px;
  height: 72px;
  object-fit: contain;
  background: transparent;
}

/* ---------------- Contact ---------------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: stretch;
}

.contact-copy {
  display: grid;
  align-content: start;
  gap: 2.2rem;
}

.contact-details {
  display: grid;
  gap: 1rem;
}

.contact-details address {
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
}

.directions-link {
  width: fit-content;
  color: var(--red);
  font-size: .95rem;
  text-underline-offset: .2rem;
}

.map-frame {
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #eef2f5;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
  filter: grayscale(.18) saturate(.85) contrast(1.02);
}

/* ---------------- Footer ---------------- */

footer {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}

/* ---------------- Responsive ---------------- */

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

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
main,
  footer {
    width: min(calc(100% - 2rem), var(--max));
  }

  .hero {
    min-height: auto;
    padding: 5rem 0 4rem;
  }

  .hero-copy {
    padding-right: 0;
  }

  .carousel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .slide {
    flex-basis: 86vw;
  }

  .slide img {
    height: 62vw;
    min-height: 270px;
  }

  .chapter {
    padding: 5rem 0;
  }

  .chapter-grid,
  .axes,
  .team-grid,
  .affiliations {
    grid-template-columns: 1fr;
  }

  .axes article {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .axes article:last-child {
    border-bottom: 0;
  }

  .axes h3 {
    margin-top: 2.5rem;
  }

  .publications article {
    grid-template-columns: 54px 1fr 20px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 340px;
  }

  footer {
    flex-direction: column;
    gap: .25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide img,
  .team-photo img,
  .team-grid > article,
  .publications article {
    transition: none;
    transform: none !important;
  }
}


/* Publication profile icons */
.publication-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 0;
  color: rgba(255, 255, 255, .70);
  font-size: 1rem;
}

.publication-links span {
  margin-right: .15rem;
}

.publication-links a {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}

.publication-links a:hover {
  transform: translateY(-2px) scale(1.08);
  opacity: .85;
}

.publication-links img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Thomas: same 80% scale as every other team portrait, centred vertically. */
.team-photo img[alt="Thomas Quénan"] {
  width: var(--team-image-scale);
  height: var(--team-image-scale);
  object-fit: contain;
  object-position: 50% 50%;
  transform: none;
}

.team-grid > article:hover .team-photo img[alt="Thomas Quénan"] {
  transform: scale(1.03);
}


/* Latest preprint block */
.preprints {
  margin-top: 3rem;
  margin-bottom: 3rem;
  border-top: 1px solid rgba(255,255,255,.2);
}

.preprints-heading,
.peer-reviewed-label {
  padding: 1rem 0;
  color: var(--cyan);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.preprints article {
  display: grid;
  grid-template-columns: 78px 1fr 24px;
  gap: 1rem;
  padding: 1.7rem 0;
  border-top: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
  transition: transform .25s ease;
}

.preprints article:hover {
  transform: translateX(5px);
}

.preprints time {
  color: var(--cyan);
}

.preprints h3 {
  margin: 0 0 .35rem;
  font-size: 1.15rem;
}

.preprints p {
  margin: 0;
  color: rgba(255,255,255,.62);
}

.preprints a {
  color: var(--red);
  text-decoration: none;
}

.peer-reviewed-label {
  margin-top: .5rem;
}

@media (max-width: 700px) {
  .preprints article {
    grid-template-columns: 54px 1fr 20px;
  }
}


/* ===== Outside research easter egg ===== */
.cat-trigger {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  opacity: .78;
  transition: opacity .2s ease, transform .2s ease, color .2s ease;
}

.cat-trigger:hover,
.cat-trigger:focus-visible {
  color: var(--red);
  opacity: 1;
  transform: translateY(-1px);
}

.cat-trigger span:first-child {
  font-size: 1rem;
}

.outside-modal[hidden] {
  display: none;
}

.outside-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.outside-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 17, 31, .62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.outside-modal__panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 680px);
  max-height: 88vh;
  overflow: auto;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  background: rgba(248, 250, 252, .96);
  box-shadow: 0 24px 70px rgba(8, 17, 31, .28);
}

.outside-modal__close {
  position: absolute;
  top: .75rem;
  right: .9rem;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(8, 17, 31, .07);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.outside-modal__eyebrow {
  margin: 0 3rem .55rem 0;
  color: var(--red);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.outside-modal h2 {
  margin: 0 3rem 1.4rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.outside-modal img {
  display: block;
  width: 100%;
  max-height: 58vh;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  footer {
    align-items: flex-start;
  }

  .cat-trigger {
    margin-top: .5rem;
  }

  .outside-modal__panel {
    border-radius: 14px;
  }
}

/* Open-access links in research highlights */
.highlight-paper-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: .85rem;
  color: var(--red);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.35;
  text-decoration: none;
  text-underline-offset: .2rem;
  transition: transform .2s ease, opacity .2s ease;
}

.highlight-paper-link:hover,
.highlight-paper-link:focus-visible {
  transform: translateX(3px);
  opacity: .78;
  text-decoration: underline;
}

/* ===== Outside-research paw trail ===== */
.paw-trail {
  position: fixed;
  inset: 0;
  z-index: 3500;
  pointer-events: none;
  overflow: hidden;
}

.paw-mark {
  position: absolute;
  display: block;
  width: clamp(28px, 2.5vw, 34px);
  height: clamp(28px, 2.5vw, 34px);
  color: rgba(14, 45, 92, .42);
  opacity: 0;
  transform: rotate(var(--paw-rotation));
  animation: paw-natural-step 1s ease-in-out forwards;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, .18));
}

.paw-mark--dark-bg {
  color: rgba(80, 189, 211, .52);
  filter: drop-shadow(0 1px 2px rgba(8, 17, 31, .22));
}

.paw-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

@keyframes paw-natural-step {
  0% {
    opacity: 0;
    transform: rotate(var(--paw-rotation)) scale(.72);
  }
  20% {
    opacity: 1;
    transform: rotate(var(--paw-rotation)) scale(1);
  }
  76% {
    opacity: .82;
    transform: rotate(var(--paw-rotation)) scale(1);
  }
  100% {
    opacity: 0;
    transform: rotate(var(--paw-rotation)) scale(.88);
  }
}


/* Supervisor profile links */
.supervisor-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(239, 51, 78, .42);
  text-underline-offset: .2rem;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.supervisor-link span {
  display: inline-block;
  margin-left: .12rem;
  color: var(--red);
  font-size: .82em;
  transition: transform .2s ease;
}

.supervisor-link:hover,
.supervisor-link:focus-visible {
  color: var(--red);
  text-decoration-color: var(--red);
}

.supervisor-link:hover span,
.supervisor-link:focus-visible span {
  transform: translate(2px, -2px);
}

/* Clean white-and-tabby European cat icon */
.cat-trigger {
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.cat-icon {
  display: block;
  width: 42px;
  height: 28px;
  overflow: visible;
  transition: transform .2s ease, opacity .2s ease;
}

.cat-trigger:hover .cat-icon,
.cat-trigger:focus-visible .cat-icon {
  transform: translateY(-2px) scale(1.05);
}

.cat-body,
.cat-head,
.cat-leg {
  fill: #fff;
  stroke: #18222d;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.cat-patch {
  fill: #7b8794;
  stroke: #18222d;
  stroke-width: 1.1;
  stroke-linejoin: round;
}

.cat-stripe {
  fill: none;
  stroke: #18222d;
  stroke-width: 2;
  stroke-linecap: round;
}

.cat-tail-line {
  fill: none;
  stroke: #18222d;
  stroke-width: 5;
  stroke-linecap: round;
}

.cat-eye {
  fill: #18222d;
}

.cat-face {
  fill: none;
  stroke: #18222d;
  stroke-width: 1.25;
  stroke-linecap: round;
}

/* Mobile paw animation */
@media (max-width: 700px) {
  html {
    scroll-behavior: auto;
  }

  .paw-mark {
    animation-timing-function: linear;
  }
}
