/* --------------------------------------------------------------------------
   Alive layer: the living mascot, smooth page transitions, calm motion.
   Loaded after styles.css on every page, paired with scripts/alive.js.
   To revert, remove the alive.css <link> and the alive.js <script> tags.
   -------------------------------------------------------------------------- */

:root {
  --ease-pen: cubic-bezier(0.33, 0, 0.2, 1);
  --heart: #eb434a;
  --sun: #f1bc42;
  --sky: #8fb0e0;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-pop: cubic-bezier(0.34, 1.4, 0.5, 1);
  --ease-saccade: cubic-bezier(0.25, 0.9, 0.3, 1);
}

/* ---------- Smooth page-to-page transitions (supported browsers) ---------- */

@view-transition {
  navigation: auto;
}

.site-header {
  view-transition-name: site-header;
}

::view-transition-old(root) {
  animation: alive-page-out 200ms ease both;
}

::view-transition-new(root) {
  animation: alive-page-in 420ms var(--ease-out) both;
}

@keyframes alive-page-out {
  to { opacity: 0; transform: translateY(-6px); }
}

@keyframes alive-page-in {
  from { opacity: 0; transform: translateY(10px); }
}

/* ---------- The seal (home hero): static artwork, only the eyes move ---------- */

.seal-eyes {
  position: relative;
  aspect-ratio: 1;
  cursor: pointer;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  container-type: inline-size;
  transition: scale 380ms var(--ease-pop);
  animation: seal-arrive 700ms var(--ease-pop) both;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.seal-eyes:hover {
  scale: 1.03;
}

.seal-burst {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: var(--size, 14px);
  height: var(--size, 14px);
  pointer-events: none;
}

.seal-img {
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.45));
}

@keyframes seal-arrive {
  from { opacity: 0; translate: 0 22px; }
  to { opacity: 1; translate: 0 0; }
}

.seal-img {
  display: block;
  width: 100%;
  height: 100%;
}

.seal-eyes .mascot-face .pupil {
  transition: none;
}

/* Shared eye rig used by every heart on the site. */
.mascot-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.mascot-face .eyeball {
  transform-box: fill-box;
  transform-origin: center;
}

.mascot-face .pupil {
  transition: transform 150ms var(--ease-saccade);
}

@keyframes mascot-breath {
  0% { transform: scale(1); animation-timing-function: cubic-bezier(0.37, 0, 0.63, 1); }
  40% { transform: scale(0.992, 1.016); animation-timing-function: cubic-bezier(0.37, 0, 0.63, 1); }
  95%, 100% { transform: scale(1); }
}

/* ---------- Scattered paper stars that float slowly around the hero ---------- */

.hero {
  position: relative;
}

.alive-confetti {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.alive-confetti span {
  position: absolute;
  display: block;
  width: var(--s, 12px);
  height: var(--s, 12px);
  color: var(--c, var(--sun));
  opacity: 0;
  animation: alive-confetti-in 700ms var(--in, 0.8s) var(--ease-pop) forwards;
}

.alive-confetti i {
  display: block;
  width: 100%;
  height: 100%;
  animation: alive-twinkle-star var(--tw, 2.6s) ease-in-out infinite;
}

.alive-confetti svg {
  display: block;
  width: 100%;
  height: 100%;
}

.alive-confetti .dot i {
  border-radius: 50%;
  background: currentColor;
}

/* Each star breathes and catches the light on its own rhythm. */
@keyframes alive-twinkle-star {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  40% { transform: scale(0.55) rotate(-25deg); opacity: 0.45; }
  60% { transform: scale(1.18) rotate(12deg); opacity: 1; }
}

@keyframes alive-confetti-in {
  from { opacity: 0; scale: 0.4; }
  to { opacity: var(--o, 0.8); scale: 1; }
}

@keyframes alive-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(var(--fx, 14px), var(--fy, -22px)) rotate(var(--fr, 18deg)); }
}

.hero > :not(.alive-confetti) {
  position: relative;
  z-index: 1;
}

/* ---------- Twinkles around interior page titles ---------- */

main h1.has-twinkles {
  position: relative;
  width: fit-content;
  max-width: 100%;
}

main h1.has-twinkles.is-centered {
  margin-left: auto;
  margin-right: auto;
}

.alive-twinkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.alive-twinkles span {
  position: absolute;
  top: var(--y, 0);
  display: block;
  width: var(--s, 8px);
  height: var(--s, 8px);
  color: var(--c, var(--sun));
  opacity: 0.4;
  animation: alive-sky-twinkle var(--tw, 4s) var(--delay, 0s) ease-in-out infinite;
}

.alive-twinkles span[data-side="left"] {
  left: var(--x, 0);
}

.alive-twinkles span[data-side="right"] {
  right: var(--x, 0);
}

.alive-twinkles svg {
  display: block;
  width: 100%;
  height: 100%;
}

.alive-twinkles .dot {
  border-radius: 50%;
  background: currentColor;
}

@keyframes alive-sky-twinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.75) rotate(0deg); }
  50% { opacity: 0.95; transform: scale(1.08) rotate(20deg); }
}

/* ---------- Hand-drawn squiggle under page titles ---------- */

.alive-squiggle {
  display: block;
  width: 132px;
  height: 14px;
  margin: 10px auto 0;
  overflow: visible;
}

.alive-squiggle path {
  fill: none;
  stroke: var(--sun);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: alive-draw 1s 300ms cubic-bezier(0.42, 0, 0.58, 1) forwards;
}

/* When the line sits under a single word in the title. */
.alive-underline-word {
  position: relative;
  display: inline-block;
}

.alive-underline-word .alive-squiggle {
  position: absolute;
  left: -2%;
  width: 104% !important;
  top: calc(100% - 2px);
  height: 12px;
  margin: 0;
}

@keyframes alive-draw {
  to { stroke-dashoffset: 0; }
}

/* Underlines in running text (hero highlight, PhD "apply" line, "More updates") use the same
   loose, hand-drawn pen stroke as the page titles and cards, drifting slowly. */
.wave-underline {
  padding-bottom: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='9' viewBox='0 0 64 9'%3E%3Cpath d='M0 4.6 C 7 1.6, 13 7.8, 23 4.4 S 39 1.6, 47 4.8 S 58 6.9, 64 4.6' fill='none' stroke='%23f1bc42' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: 0 bottom;
  background-size: 64px 9px;
  animation: none;
}

/* The pen stroke slowly drifts along, one 64px stroke every few seconds. */
@keyframes alive-ink-drift {
  from { background-position: 0 bottom; }
  to { background-position: 64px bottom; }
}


@keyframes alive-wave-flow {
  to { background-position: 20px bottom; }
}

/* ---------- Content rises in as it scrolls into view ---------- */

.alive-rise {
  opacity: 0;
  translate: 0 22px;
  transition:
    opacity 700ms ease,
    translate 800ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}

.alive-rise.is-in {
  opacity: 1;
  translate: none;
}

/* ---------- Cards: a still, quiet hover ----------
   Research themes, publications and Join Us cards don't move or change color on hover;
   the sheet only brightens very slightly. (alive.js adds .alive-card.) */

.alive-card {
  transition:
    transform 520ms var(--ease-out),
    border-color 320ms ease,
    box-shadow 520ms var(--ease-out);
}

.alive-card.alive-card,
.alive-card.alive-card:hover,
.alive-card.alive-card:has(:focus-visible) {
  transform: none;
  box-shadow: none;
  border-color: var(--alive-card-line, rgba(150, 150, 150, 0.34));
}

/* The bordered cards (not news rows) lift 2px with a soft shadow, and brighten a touch:
   a slightly lighter neutral edge and a faint lift in tone across the paper. No color, no glow. */
:is(.research-theme-card, .publication-card, .join-card).alive-card.alive-card:hover,
:is(.research-theme-card, .publication-card, .join-card).alive-card.alive-card:has(:focus-visible) {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 0 0 100vmax rgba(255, 255, 255, 0.022),
    0 10px 22px -12px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

/* One interaction language for every card on the site (research themes, publications,
   Join Us, news): the card stays still and unchanged; only the pen stroke under its title
   draws in. Card-specific hover colors from styles.css are neutralized here. */
.publication-card.alive-card.alive-card:hover,
.publication-card.alive-card.alive-card:has(:focus-visible) {
  background: var(--alive-card-bg, rgba(255, 255, 255, 0.012));
}

.publication-grid .publication-card.alive-card {
  --alive-card-bg: linear-gradient(180deg, #171717 0%, #0b0b0b 100%);
}

.publication-card-featured.alive-card {
  --alive-card-bg: transparent;
}

.alive-card .publication-title-link:hover,
.alive-card .publication-title-link:focus-visible {
  color: inherit;
}

/* Join Us cards: no yellow border, text tint or tilt on hover (the pen stroke is the hover). */
body:not(.phd-dialog-open) .join-card.alive-card:hover {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 0 0 100vmax rgba(255, 255, 255, 0.022),
    0 10px 22px -12px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

body:not(.phd-dialog-open) .join-card.alive-card:hover :is(.join-card-kicker, h2) {
  color: #ffffff;
}

body:not(.phd-dialog-open) .join-card.alive-card:hover p {
  color: inherit;
}

/* Publication titles sit close to the authors line, so their stroke is a little finer. */
.card-squiggle.is-centered {
  left: 50%;
  translate: -50% 0;
}

.publication-card .card-squiggle {
  top: calc(100% - 1px);
  width: 64px;
  height: 7px;
}

/* Hand-drawn hover: an ochre pen stroke draws itself under the title, then un-draws. */
.alive-card :is(h2, h3, h4):has(.card-squiggle) {
  position: relative;
}

.card-squiggle {
  position: absolute;
  left: 0;
  top: calc(100% + 1px);
  width: 76px;
  height: 9px;
  overflow: visible;
  pointer-events: none;
}

.card-squiggle path {
  fill: none;
  stroke: var(--sun);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 110;
  stroke-dashoffset: 110;
  transition: stroke-dashoffset 380ms cubic-bezier(0.55, 0, 0.45, 1);
}

.alive-card:hover .card-squiggle path,
.alive-card:focus-within .card-squiggle path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.research-theme-card.alive-card,
.join-card.alive-card {
  --alive-card-line: rgba(150, 150, 150, 0.34);
}

.publication-card.alive-card {
  --alive-card-line: var(--publication-card-line);
}

.news-media:hover {
  transform: translateY(-2px);
}

.news-media:hover img {
  transform: none;
}

.button,
.news-media {
  transition-duration: 240ms;
  transition-timing-function: var(--ease-out);
}

/* Slow ambient breathing on the research theme circles (no hover swell). */
.research-theme-card::after {
  animation: none;
}

.research-theme-card:nth-child(2)::after { animation-delay: -2.6s; }
.research-theme-card:nth-child(3)::after { animation-delay: -5.2s; }

@keyframes alive-breathe {
  0%, 100% { scale: 1; }
  50% { scale: 1.06; }
}

/* Portrait outlines slowly morph like hand-cut paper. */
.person-portrait::before {
  animation: alive-blob 12s ease-in-out infinite alternate;
}

.person-tile:nth-child(2n) .person-portrait::before { animation-duration: 14s; animation-delay: -3s; }
.person-tile:nth-child(3n) .person-portrait::before { animation-duration: 10s; animation-delay: -6s; }

@keyframes alive-blob {
  0% { border-radius: 56% 44% 47% 53% / 49% 57% 43% 51%; }
  33% { border-radius: 44% 56% 58% 42% / 55% 45% 55% 45%; }
  66% { border-radius: 51% 49% 41% 59% / 43% 58% 42% 57%; }
  100% { border-radius: 60% 40% 52% 48% / 52% 48% 56% 44%; }
}

/* The Join Us character hops gently (its hover flip stays as is). */
.join-hero-figure img {
  animation: alive-hop 4.2s ease-in-out infinite;
}

@keyframes alive-hop {
  0%, 64%, 100% { translate: 0 0; }
  72% { translate: 0 -9px; }
  80% { translate: 0 0; }
  85% { translate: 0 -3px; }
  90% { translate: 0 0; }
}

/* ---------- Peeking heart: says hello at the bottom of every page ---------- */

main {
  padding-bottom: 24px;
}

.alive-peek {
  position: fixed;
  right: clamp(16px, 4vw, 44px);
  bottom: 0;
  z-index: 30;
  width: 78px;
  height: 79px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform: translateY(110%);
  transition: transform 700ms var(--ease-pop);
  view-transition-name: alive-peek;
  -webkit-tap-highlight-color: transparent;
}

.alive-peek.is-peeking {
  transform: translateY(26%);
}

.alive-peek.is-peeking:hover,
.alive-peek.is-peeking:focus-visible {
  transform: translateY(14%);
}

.alive-peek:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 12px;
}

.alive-peek-body {
  position: absolute;
  inset: 0;
  display: block;
  rotate: -8deg;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
}

.alive-peek-body img {
  display: block;
  width: 100%;
  height: 100%;
}

.alive-peek.is-peeking .alive-peek-body {
  animation: alive-peek-wiggle 1.1s 550ms ease-in-out 1;
}

@keyframes alive-peek-wiggle {
  0%, 100% { rotate: -8deg; }
  30% { rotate: -14deg; }
  60% { rotate: -3deg; }
}

/* ---------- Header companion: the same heart beside the wordmark on every page ---------- */

/* Heart and wordmark read as one lockup: the heart is sized to the three lines of text,
   tucked close, and tilted like the red "Data". */
.brand-lockup,
.brand-lockup:has(.header-heart) {
  --wordmark-size: clamp(1.05rem, 1.6vw, 1.45rem);
  flex-direction: row;
  align-items: center;
  gap: calc(var(--wordmark-size) * 0.32);
}

/* Keep "Lived" from sliding into the heart on hover; the pair moves together instead. */
.brand-lockup:has(.header-heart) .wordmark:hover span:nth-child(1),
.brand-lockup:has(.header-heart) .wordmark:focus-visible span:nth-child(1) {
  transform: rotate(-4deg);
}

.brand-lockup:has(.wordmark:hover) .header-heart,
.brand-lockup:has(.wordmark:focus-visible) .header-heart {
  rotate: -2deg;
  translate: 0 -2px;
}

/* Only the heart itself shows here (legs are cropped away at this size). */
.header-heart {
  --w: calc(var(--wordmark-size, 1.45rem) * 2.05);
  position: relative;
  display: block;
  width: var(--w);
  height: calc(var(--w) * 0.806);
  flex: none;
  overflow: visible;
  clip-path: inset(-40% -20% 0 -20%);
  rotate: -6deg;
  translate: 0 2px;
  transition: rotate 420ms var(--ease-pop), translate 420ms var(--ease-pop);
  -webkit-tap-highlight-color: transparent;
}

.header-heart-hop,
.header-heart-breath {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: var(--w);
  height: calc(var(--w) * 1.012);
  transform-origin: 38% 79%;
}

.header-heart-breath {
  animation: none;
}

.header-heart img {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 720px) {

}

.alive-peek-label {
  position: absolute;
  right: 92%;
  top: 2px;
  padding: 5px 10px;
  border-radius: 12px 12px 2px 12px;
  background: #f4efe6;
  color: #161312;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.alive-peek:hover .alive-peek-label,
.alive-peek:focus-visible .alive-peek-label {
  opacity: 1;
}

@media (max-width: 720px) {
  .alive-peek {
    width: 60px;
    height: 61px;
  }
}

/* ---------- Finishing touches: softer dividers, rounder controls, a quiet ending ---------- */

/* A section divider that fades in from both edges and parts around a small star. */
.news-shell {
  padding-top: 64px;
}

.news-shell::before {
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.14) 22%,
    rgba(255, 255, 255, 0.14) 46.5%,
    rgba(255, 255, 255, 0) 48.6%,
    rgba(255, 255, 255, 0) 51.4%,
    rgba(255, 255, 255, 0.14) 53.5%,
    rgba(255, 255, 255, 0.14) 78%,
    rgba(255, 255, 255, 0) 100%
  );
}

.news-shell::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 13px;
  height: 13px;
  margin-left: -6.5px;
  background: var(--sun);
  opacity: 0.85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0 C13 7 17 11 24 12 C17 13 13 17 12 24 C11 17 7 13 0 12 C7 11 11 7 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0 C13 7 17 11 24 12 C17 13 13 17 12 24 C11 17 7 13 0 12 C7 11 11 7 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* The archive title matches every other page title. */
.news-heading h1 {
  margin: 0;
  font-family: "IM Fell English", Georgia, serif;
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.news-heading .alive-squiggle {
  margin-top: 6px;
}

/* Rounder, friendlier controls to match the soft cards and hand-cut portraits. */
.button,
.button-outline,
.join-apply-button,
.join-phd-trigger {
  border-radius: 999px;
}

.button-outline {
  padding: 0 30px;
}

.publication-filter-trigger,
.publication-filter-reset {
  border-radius: 8px;
}

.publication-filter-menu {
  border-radius: 10px;
}

/* Links ease their color instead of snapping. */
a {
  transition: color 200ms ease, text-decoration-color 200ms ease, opacity 200ms ease;
}

/* A quiet ending on every page: one small line that settles in close under the content. */
.alive-footer {
  position: relative;
  z-index: 1;
  max-width: 1380px;
  margin: 0 auto;
  padding: 8px clamp(20px, 4vw, 48px) 44px;
  display: flex;
  justify-content: center;
}

.alive-footer p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-family: "Didact Gothic", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  opacity: 0;
  translate: 0 6px;
  transition: opacity 900ms ease, translate 900ms var(--ease-out);
}

.alive-footer p::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: none;
  background: var(--sun);
  opacity: 0.75;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0 C13 7 17 11 24 12 C17 13 13 17 12 24 C11 17 7 13 0 12 C7 11 11 7 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0 C13 7 17 11 24 12 C17 13 13 17 12 24 C11 17 7 13 0 12 C7 11 11 7 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.alive-footer.is-in p {
  opacity: 1;
  translate: none;
}

/* "More updates": hand-drawn, in the same language as the title squiggles and the hero
   underline: an ochre wave under the words and a loosely drawn arrow. On hover the wave
   drifts and the arrow steps forward. */
.news-archive-link {
  gap: 10px;
  padding: 4px 2px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--ink);
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.news-archive-link::after {
  content: none;
  animation: none;
}

.news-archive-label {
  position: relative;
  padding-bottom: 8px;
}

.news-archive-label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='9' viewBox='0 0 64 9'%3E%3Cpath d='M0 4.6 C 7 1.6, 13 7.8, 23 4.4 S 39 1.6, 47 4.8 S 58 6.9, 64 4.6' fill='none' stroke='%23f1bc42' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 center / 64px 9px;
}

.news-archive-link:hover .news-archive-label::after,
.news-archive-link:focus-visible .news-archive-label::after {
  animation: alive-pen-redraw 620ms var(--ease-pen);
}

@keyframes alive-pen-redraw {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

.news-archive-arrow {
  width: 28px;
  height: 14px;
  margin-bottom: 6px;
  flex: none;
  overflow: visible;
  fill: none;
  stroke: var(--sun);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: translate 620ms var(--ease-pen);
}

.news-archive-link:hover,
.news-archive-link:focus-visible {
  color: var(--ink);
  background: none;
  outline: none;
}

.news-archive-link:hover .news-archive-arrow,
.news-archive-link:focus-visible .news-archive-arrow {
  translate: 4px 0;
}

.news-archive-link:focus-visible .news-archive-label {
  outline: 2px solid var(--sun);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Award badge: ochre, with a small hand-drawn trophy. */
.news-badge.news-badge-award {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-color: rgba(241, 188, 66, 0.55);
  color: var(--sun);
}

.news-badge-award svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Award badge inside a publication's meta line. */
.publication-card-meta .publication-award {
  margin-left: 0;
  padding: 1px 8px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.publication-card-meta .publication-award svg {
  width: 12px;
  height: 12px;
}

/* ---------- Landing intro: left-aligned and justified, with even word spacing ----------
   Hyphenation lets long words break across lines, so justification no longer has to
   stretch the gaps between words. */
.hero-copy-reference .hero-text-wide {
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 6 3 3;
  text-wrap: pretty;
}

.hero-copy-reference .hero-intro-line {
  margin-bottom: 10px;
}
/* ---------- People: lab members and collaborators as two gentle groups ----------
   Each group opens with a tiny ochre star and a quiet label; a soft hairline separates them. */
.people-group-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 40px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Didact Gothic", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-transform: none;
}

.people-group-heading::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  background: var(--sun);
  opacity: 0.85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0 C13 7 17 11 24 12 C17 13 13 17 12 24 C11 17 7 13 0 12 C7 11 11 7 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0 C13 7 17 11 24 12 C17 13 13 17 12 24 C11 17 7 13 0 12 C7 11 11 7 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Space alone separates the two groups. */
.people-group-collaborators {
  margin-top: 120px;
}

/* ---------- Header menu: a hand-drawn squiggle instead of a straight line ----------
   One mark, one color: the text always stays white. Hover wipes an ochre squiggle in
   from the left; the current page keeps its squiggle drawn. */
.site-nav a::after {
  bottom: -9px;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='6' viewBox='0 0 14 6'%3E%3Cpath d='M0 3 Q3.5 -0.6 7 3 T14 3' fill='none' stroke='%23f1bc42' stroke-width='1.4'/%3E%3C/svg%3E") repeat-x 0 center / 14px 6px;
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 620ms var(--ease-pen);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
  outline: none;
}

.site-nav a[aria-current="page"],
.site-nav a[aria-current="page"]:hover {
  color: #ffffff;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: none;
  clip-path: inset(0 0 0 0);
}

.site-nav a:focus-visible {
  text-decoration: none;
  box-shadow: 0 0 0 2px var(--sun);
  border-radius: 3px;
}

/* Header heart: every few seconds it gives a small, happy sway (a tilt one way, a little
   bounce, a tilt back) and then rests. Lively, but quiet most of the time. */
.header-heart-hop {
  transform-origin: 40% 85%;
  animation: header-heart-sway 5.5s 1.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes header-heart-sway {
  0%, 70%, 100% { transform: rotate(0deg) translateY(0); }
  76% { transform: rotate(-9deg) translateY(-2px); }
  83% { transform: rotate(7deg) translateY(-3px); }
  90% { transform: rotate(-3deg) translateY(0); }
  95% { transform: rotate(1deg); }
}

/* Quiet header: the red "Data" in the wordmark keeps its tilt but no longer pulses. */
.wordmark span:nth-child(2) {
  animation: none;
}

/* ---------- One section-label style across the site ----------
   "Our Perspective", "Featured Work" and "All Work" use the same quiet label as
   "Lab Members" / "Collaborators": a tiny ochre star and soft white text, no box or bar. */
.publication-section-heading,
.research-perspective-trigger {
  gap: 12px;
  padding: 4px 0;
  border: 0;
  background: none;
  transform: none;
}

.publication-section-heading,
.research-perspective h2 {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: none;
}

.publication-section-heading::before,
.research-perspective-trigger::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  background: var(--sun);
  opacity: 0.85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0 C13 7 17 11 24 12 C17 13 13 17 12 24 C11 17 7 13 0 12 C7 11 11 7 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0 C13 7 17 11 24 12 C17 13 13 17 12 24 C11 17 7 13 0 12 C7 11 11 7 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.publication-section-heading:hover,
.research-perspective-trigger:hover,
.research-perspective-trigger:focus-visible {
  border: 0;
  background: none;
  color: #ffffff;
  transform: none;
}

.research-perspective-trigger:hover h2,
.research-perspective-trigger:focus-visible h2 {
  color: #ffffff;
}

/* The News archive opens with its title; the star divider belongs above Home's news only. */
.news-archive-page .news-shell::before,
.news-archive-page .news-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: calc(44px + 34px - 14px);
  left: 42%;
  right: calc(clamp(20px, 4vw, 48px) + 24px);
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, rgba(244, 239, 230, 0.09), rgba(244, 239, 230, 0.03));
  rotate: -0.6deg;
  pointer-events: none;
}

.news-archive-page .news-shell {
  padding-top: 0;
}

/* Join Us: the Students card reads like the other two cards (no bold paragraph). */
.join-card p strong {
  font-weight: inherit;
}

/* People: less empty space below the last row. */
.people-main {
  padding-bottom: 120px;
}

/* ---------- Prospective PhD popup: a sheet of the same paper, gently arriving ----------
   Same dark paper and quiet borders as the cards; IM Fell title with the pen underline;
   star bullets; a white outline "Apply now" pill like Join Us; soft open and close. */
.join-phd-dialog {
  width: min(620px, calc(100% - 32px));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: var(--paper) url("assets/paper-dark.jpg") repeat;
  background-size: 512px 512px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
}

.join-phd-dialog[open] {
  animation: phd-sheet-in 520ms var(--ease-pen) both;
}

.join-phd-dialog.is-closing {
  animation: phd-sheet-out 260ms ease-in both;
}

.join-phd-dialog::backdrop {
  background: rgba(8, 7, 6, 0.72);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: phd-backdrop-in 420ms ease both;
}

.join-phd-dialog.is-closing::backdrop {
  animation: phd-backdrop-out 260ms ease both;
}

@keyframes phd-sheet-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

@keyframes phd-sheet-out {
  to { opacity: 0; transform: translateY(8px) scale(0.99); }
}

@keyframes phd-backdrop-in {
  from { opacity: 0; }
}

@keyframes phd-backdrop-out {
  to { opacity: 0; }
}

.join-phd-content {
  padding: clamp(28px, 5vw, 44px);
}

.join-phd-close {
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.4rem;
  line-height: 1;
  transition: border-color 240ms ease, color 240ms ease, rotate 420ms var(--ease-pen);
}

.join-phd-close:hover,
.join-phd-close:focus-visible {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  rotate: 90deg;
}

/* Eyebrow: the same quiet star label used for sections across the site. */
.join-phd-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 48px 14px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: none;
}

.join-phd-eyebrow::before,
.join-phd-directions li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  background: var(--sun);
  opacity: 0.85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0 C13 7 17 11 24 12 C17 13 13 17 12 24 C11 17 7 13 0 12 C7 11 11 7 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0 C13 7 17 11 24 12 C17 13 13 17 12 24 C11 17 7 13 0 12 C7 11 11 7 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.join-phd-dialog h2 {
  margin: 0 40px 26px 0;
  font: 400 clamp(1.9rem, 4.6vw, 2.5rem)/1.1 "IM Fell English", Georgia, serif;
}

.join-phd-dialog p.join-phd-lead strong {
  font-weight: 400;
  color: #ffffff;
}

.join-phd-directions {
  gap: 16px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.join-phd-directions li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
}

.join-phd-directions li::before {
  margin-top: 0.45em;
  grid-row: span 2;
}

.join-phd-directions strong {
  margin-bottom: 2px;
  font: 400 1.25rem/1.25 "IM Fell English", Georgia, serif;
}

.join-phd-dialog p.join-phd-apply {
  justify-content: space-between;
  gap: 16px 20px;
  margin-top: 30px;
}

.join-phd-dialog p.join-phd-apply strong {
  font-weight: 400;
}

.join-phd-program,
.join-phd-program:hover,
.join-phd-program:focus-visible {
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  font-weight: 400;
  box-shadow: none;
}

.join-phd-program:hover,
.join-phd-program:focus-visible {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

/* ---------- Publications list: an airy, ruled index instead of stacked boxes ----------
   Each paper is a row separated by a soft hairline; thumbnails share one rounded frame;
   the year heading carries the year, so rows show type and venue only. */
.publication-year-heading {
  margin: 0 0 6px;
  font-family: "IM Fell English", Georgia, serif;
  font-size: 1.7rem;
}

.publication-year-group + .publication-year-group {
  margin-top: 40px;
}

.publication-grid {
  gap: 0;
  margin-top: 12px;
}

.publication-grid .publication-card,
.publication-grid .publication-card.alive-card.alive-card:hover,
.publication-grid .publication-card.alive-card.alive-card:has(:focus-visible) {
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px;
  position: relative;
  padding: 26px 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transform: none;
  overflow: visible;
}

/* Hairlines between papers: very faint, fading out at both ends. */
.publication-grid .publication-card + .publication-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.07) 18%, rgba(255, 255, 255, 0.07) 82%, rgba(255, 255, 255, 0));
  pointer-events: none;
}

.publication-grid .publication-thumbnail {
  width: 100%;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

/* Hover treats the whole paper as one piece: the row lifts slightly and a soft
   sheet of light appears behind it, thumbnail and text together. */
.publication-grid .publication-card {
  isolation: isolate;
  transition: transform 420ms var(--ease-pen);
}

.publication-grid .publication-card::after {
  content: "";
  position: absolute;
  inset: 8px -18px;
  z-index: -1;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}

.publication-grid .publication-card.alive-card.alive-card:hover,
.publication-grid .publication-card.alive-card.alive-card:has(:focus-visible) {
  transform: translateY(-2px);
}

.publication-grid .publication-card:hover::after,
.publication-grid .publication-card:has(:focus-visible)::after {
  opacity: 1;
}

.publication-grid .publication-card-copy {
  gap: 24px;
  padding: 0;
  background: none;
}

.publication-grid .publication-card-meta {
  gap: 6px 12px;
  font-size: 0.8rem;
}

.publication-grid .publication-card :is(h3, h4) {
  margin: 8px 0 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
  line-height: 1.4;
  transition: color 240ms ease;
}

.publication-grid .publication-card:hover :is(h3, h4) {
  color: #ffffff;
}

.publication-grid .publication-card-authors {
  font-size: 0.86rem;
}

/* Resource icons: quiet until you reach for them. */
.publication-grid .publication-resource-link:not(.is-pending) {
  border-color: rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.7);
}

.publication-grid .publication-resource-link:not(.is-pending):hover,
.publication-grid .publication-resource-link:not(.is-pending):focus-visible {
  border-color: var(--sun);
  color: var(--sun);
}

@media (max-width: 720px) {
  .publication-grid .publication-card,
  .publication-grid .publication-card.alive-card.alive-card:hover {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .publication-grid .publication-card-copy {
    flex-wrap: wrap;
  }
}

/* ---------- News items hover as one piece, like publications ----------
   The whole row (date, thumbnail, text) lifts slightly together; no highlight. */
.news-item {
  position: relative;
  isolation: isolate;
  transition: transform 420ms var(--ease-pen);
}

.news-item.alive-card.alive-card:hover,
.news-item.alive-card.alive-card:has(:focus-visible) {
  transform: none;
}

.news-item .news-media,
.news-item .news-media:hover,
.news-item:hover .news-media {
  transform: none;
}

/* Landing phrase: the background underline is replaced by drawn pen lines (alive.js). */
.hero-copy {
  position: relative;
}

.hero-text .wave-underline.is-pen {
  background: none;
}

.pen-line {
  position: absolute;
  height: 9px;
  pointer-events: none;
}

.pen-line path {
  fill: none;
  stroke: var(--sun);
  stroke-width: 1.7;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

/* ---------- News archive: reads as an opened section with a close button ---------- */
.news-archive-page .news-heading {
  position: relative;
  padding-right: 56px;
  margin-bottom: 36px;
}

.news-archive-close {
  position: absolute;
  top: 2px;
  right: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.45rem;
  line-height: 1;
  text-decoration: none;
  transition: border-color 240ms ease, color 240ms ease, rotate 420ms var(--ease-pen);
}

.news-archive-close:hover,
.news-archive-close:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  rotate: 90deg;
  outline: none;
}

.news-archive-close:focus-visible {
  box-shadow: 0 0 0 2px var(--sun);
}

#news {
  scroll-margin-top: 110px;
}

/* ---------- News archive as an opened sheet with a timeline ----------
   The archive sits on its own raised sheet of paper (rounded, faint edge, soft shadow)
   that slides up when opened, and its months hang off a thin vertical timeline. */
.news-archive-page .news-section {
  max-width: 1060px;
}

.news-archive-page .news-shell {
  padding: clamp(28px, 4.5vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    var(--paper) url("assets/paper-dark.jpg") repeat;
  background-size: auto, 512px 512px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.85);
  animation: archive-sheet-in 640ms var(--ease-pen) both;
}

@keyframes archive-sheet-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.news-archive-page .news-heading {
  padding-bottom: 0;
  border-bottom: 0;
}

.news-archive-close {
  top: -4px;
}

/* Timeline: a thin rail with a small ochre dot at each month. */
.news-archive-page .news-archive-period {
  position: relative;
  padding-left: 30px;
}

.news-archive-page .news-archive-period::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  bottom: -30px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
}

.news-archive-page .news-archive-period:last-of-type::before {
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
}

.news-archive-page .news-archive-date {
  position: relative;
  margin-bottom: 10px;
}

.news-archive-page .news-archive-date::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(19, 17, 16, 0.9);
}

/* Archive feel: a file folder with a labeled tab, typewriter catalogue details,
   and index-card rules between entries. Photos stay in full color. */
.news-archive-page .news-shell {
  position: relative;
  margin-top: 34px;
  border-top-left-radius: 0;
}

.news-archive-page .news-shell::before {
  content: "File · Sep 2025 – Aug 2026";
  position: absolute;
  top: -33px;
  left: -1px;
  right: auto;
  width: auto;
  height: 34px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  padding-right: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 0;
  border-radius: 10px 18px 0 0;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 100%, 0 100%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.035)),
    var(--paper) url("assets/paper-dark.jpg") repeat;
  background-size: auto, 512px 512px;
  color: rgba(255, 255, 255, 0.62);
  font-family: "Courier Prime", "Courier New", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


.news-entry-no {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

/* Index-card rules between entries within a month. */
.news-archive-page .news-archive-period .news-item + .news-item {
  margin-top: 6px;
  padding-top: 16px;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.12) 50%, transparent 50%);
  background-size: 8px 1px;
  background-repeat: repeat-x;
  background-position: 0 0;
}

/* Folder: a document peeks out behind the front cover, so it reads as a filled folder. */
.news-archive-page .news-section {
  position: relative;
}

.news-archive-page .news-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -14px;
  left: 38%;
  right: 22px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, rgba(244, 239, 230, 0.09), rgba(244, 239, 230, 0.03));
  rotate: -0.6deg;
}

.news-archive-page .news-shell {
  z-index: 1;
}

/* Time filter: a simple row of quiet pills under the title. */
.archive-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -12px 0 32px;
}

.archive-filter button {
  min-height: 32px;
  padding: 4px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 220ms ease, color 220ms ease, background-color 220ms ease;
}

.archive-filter button:hover,
.archive-filter button:focus-visible {
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  outline: none;
}

.archive-filter button:focus-visible {
  box-shadow: 0 0 0 2px var(--sun);
}

.archive-filter button[aria-pressed="true"] {
  border-color: var(--sun);
  color: var(--sun);
}

.news-archive-period[hidden] {
  display: none;
}

@media (max-width: 720px) {
  .news-archive-page .news-shell {
    border-radius: 16px;
  }
}

/* ---------- Respect people who prefer less motion ---------- */

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }

  .seal-eyes,
  .wave-underline,
  .research-theme-card::after,
  .person-portrait::before,
  .join-hero-figure img,
  .header-heart-breath,
  .header-heart-hop,
  .alive-peek-body {
    animation: none !important;
  }

  .alive-confetti span {
    animation: none;
    opacity: var(--o, 0.8);
  }

  .alive-squiggle path {
    animation: none;
    stroke-dashoffset: 0;
  }

  .alive-card,
  .card-squiggle path {
    transition: none !important;
  }

  .alive-card.alive-card:hover,
  .alive-card.alive-card:has(:focus-visible),
  body:not(.phd-dialog-open) .join-card.alive-card:hover {
    transform: none;
  }

  .alive-confetti i,
  .alive-twinkles span {
    animation: none;
  }

  .alive-twinkles span {
    opacity: 0.4;
  }

  .site-nav a::after {
    transition: none;
  }

  .news-archive-arrow {
    transition: none;
  }

  .news-archive-label::after {
    animation: none !important;
  }

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

  .alive-rise,
  .alive-footer p {
    opacity: 1;
    translate: none;
    transition: none;
  }

  .alive-peek {
    transition: none;
  }
}
