/* ==================================
   COLORS
================================== */

:root {

  --cream: #f3eee5;
  --cream-dark: #e8e0d4;

  --ink: #211a19;
  --muted: #756b67;

  --burgundy: #762d3c;
  --burgundy-dark: #4d1d27;

  --pink: #dfbcc2;
  --pink-light: #eed9dc;

  --line: #cec4b9;

  --sidebar-width: 220px;

}


/* ==================================
   RESET
================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {

  margin: 0;

  background: var(--cream);

  color: var(--ink);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  line-height: 1.6;

}

a {
  color: inherit;
}


/* ==================================
   SIDEBAR
================================== */

.sidebar {

  position: fixed;

  top: 0;
  left: 0;

  width: var(--sidebar-width);
  height: 100vh;

  padding: 35px 28px;

  background: var(--cream);

  border-right:
    1px solid var(--line);

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  z-index: 100;

}


.logo {

  display: inline-block;

  font-family: Georgia, serif;

  font-size: 32px;

  font-weight: bold;

  text-decoration: none;

  letter-spacing: -.05em;

}


.logo span {
  color: var(--burgundy);
}


.sidebar-status {

  margin-top: 17px;

  display: flex;

  align-items: center;

  gap: 8px;

  color: var(--muted);

  font-size: 9px;

  text-transform: uppercase;

  letter-spacing: .09em;

}


.status-dot {

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--burgundy);

  animation:
    pulse 2.2s ease-in-out infinite;

}


@keyframes pulse {

  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .25;
  }

}


.sidebar nav {

  display: flex;

  flex-direction: column;

  gap: 18px;

}


.sidebar nav a {

  display: grid;

  grid-template-columns: 30px 1fr;

  text-decoration: none;

  color: var(--muted);

  font-family: Georgia, serif;

  font-size: 15px;

  transition:
    color .2s ease,
    transform .2s ease;

}


.sidebar nav a span {

  font-family: Arial, sans-serif;

  font-size: 8px;

  padding-top: 5px;

}


.sidebar nav a:hover,
.sidebar nav a.active {

  color: var(--burgundy);

  transform:
    translateX(5px);

}


.social-links {

  display: flex;

  flex-direction: column;

  gap: 6px;

}


.social-links a {

  text-decoration: none;

  color: var(--muted);

  font-size: 10px;

}


.social-links a:hover {
  color: var(--burgundy);
}


.sidebar-bottom > p {

  margin:
    25px
    0
    0;

  color: #9b928d;

  font-size: 8px;

}


/* ==================================
   MAIN
================================== */

main {
  margin-left: var(--sidebar-width);
}


/* ==================================
   HERO
================================== */

.hero {

  min-height: 100vh;

  padding:
    35px
    clamp(35px, 6vw, 100px)
    55px;

  display: flex;

  flex-direction: column;

}


.hero-meta {

  display: flex;

  justify-content: space-between;

  padding-bottom: 13px;

  border-bottom:
    1px solid var(--line);

  color: var(--muted);

  font-size: 8px;

  letter-spacing: .13em;

  text-transform: uppercase;

}


.hero-main {

  flex: 1;

  display: flex;

  flex-direction: column;

  justify-content: center;

  padding: 40px 0;

}


/* KIRSTEN + PHOTO */

.hero-name-row {
  display: grid;

  /* Text gets remaining space; portrait scales with screen */
  grid-template-columns:
    minmax(0, 1fr)
    clamp(210px, 22vw, 300px);

  /* Gap also adjusts with screen size */
  gap: clamp(25px, 4vw, 70px);

  align-items: end;
}


.portrait-area {
  position: relative;

  width: 100%;

  /* Image smoothly scales between 210px and 300px */
  max-width: clamp(210px, 22vw, 300px);

  justify-self: end;
  align-self: end;
}


.hero-first-name {

  align-self: end;

}


.hello {

  margin:
    0
    0
    8px
    4px;

  color: var(--burgundy);

  font-family: Georgia, serif;

  font-style: italic;

  font-size: 22px;

}


.first-name {

  margin: 0;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  font-size:
    clamp(85px, 11vw, 160px);

  line-height: .74;

  letter-spacing: -.075em;

}


/* CHAPMAN */

.hero-last-name {

  position: relative;

  z-index: 4;

  margin-top: 20px;
  margin-left: 5vw;

  width: fit-content;

  font-family: Georgia, serif;

  font-size:
    clamp(85px, 11vw, 160px);

  font-style: italic;

  line-height: .78;

  letter-spacing: -.065em;

}


.hero-last-name .period {

  color: var(--burgundy);

}


/* PHOTO */

.portrait-area {

  position: relative;

  width: 100%;
  max-width: 320px;

  justify-self: end;

  /* bottom of photo aligns with bottom of Kirsten */
  align-self: end;

}


.portrait-shape {

  position: absolute;

  width: 100%;
  height: 100%;

  left: 17px;
  top: 17px;

  background: var(--pink);

  transform: rotate(3deg);

}


.portrait {

  position: relative;

  display: block;

  width: 100%;

  aspect-ratio: 4 / 5;

  object-fit: cover;

  z-index: 2;

  transition:
    transform .6s ease;

}


.portrait-area:hover .portrait {

  transform:
    translate(-3px, -3px);

}


/* HERO STATEMENT */

.hero-statement {

  max-width: 640px;

  margin:
    55px
    0
    0;

  font-family: Georgia, serif;

  font-size:
    clamp(25px, 3vw, 42px);

  line-height: 1.18;

  letter-spacing: -.025em;

}


.hero-statement em {

  color: var(--burgundy);

  font-weight: normal;

}


.hello {

  margin:
    0
    0
    8px
    4px;

  color: var(--burgundy);

  font-family: Georgia, serif;

  font-style: italic;

  font-size: 22px;

}


.hero h1 {

  margin: 0;

  font-size:
    clamp(85px, 11vw, 160px);

  line-height: .74;

  letter-spacing: -.075em;

}


.hero h1 > span {

  display: block;

  margin-left: 6vw;

  font-family: Georgia, serif;

  font-weight: normal;

  font-style: italic;

}


.period {
  color: var(--burgundy);
}


.hero-statement {

  max-width: 640px;

  margin:
    60px
    0
    0;

  font-family: Georgia, serif;

  font-size:
    clamp(25px, 3vw, 42px);

  line-height: 1.18;

  letter-spacing: -.025em;

}


.hero-statement em {

  color: var(--burgundy);

  font-weight: normal;

}


.portrait-area {

  position: relative;

  max-width: 360px;

  justify-self: center;

}


.portrait-shape {

  position: absolute;

  width: 100%;
  height: 100%;

  left: 17px;
  top: 17px;

  background: var(--pink);

  transform: rotate(3deg);

}


.portrait {

  position: relative;

  display: block;

  width: 100%;

  aspect-ratio: 4 / 5;

  object-fit: cover;

  z-index: 2;

  transition:
    transform .6s ease;

}


.portrait-area:hover
.portrait {

  transform:
    translate(-3px, -3px);

}


.portrait-note {

  position: absolute;

  right: -42px;
  bottom: -30px;

  width: 120px;
  height: 120px;

  border-radius: 50%;

  background: var(--burgundy);

  color: var(--cream);

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

  transform: rotate(7deg);

  z-index: 3;

}


.portrait-note span {

  font-size: 7px;

  letter-spacing: .1em;

}


.portrait-note p {

  margin:
    8px
    0
    0;

  font-family: Georgia, serif;

  font-style: italic;

  font-size: 12px;

  line-height: 1.35;

}


.scroll {

  display: flex;

  align-items: center;

  gap: 10px;

  width: fit-content;

  color: var(--muted);

  text-decoration: none;

  font-size: 9px;

  letter-spacing: .08em;

}


.scroll span {

  color: var(--burgundy);

  font-size: 20px;

  transition:
    transform .25s ease;

}


.scroll:hover span {

  transform:
    translateY(5px);

}


/* ==================================
   MARQUEE
================================== */

.marquee {

  overflow: hidden;

  background: var(--burgundy);

  color: var(--cream);

  padding:
    13px
    0;

  white-space: nowrap;

}


.marquee-track {

  width: max-content;

  display: flex;

  align-items: center;

  gap: 25px;

  font-size: 9px;

  letter-spacing: .15em;

  animation:
    marquee 28s linear infinite;

}


.marquee-track b {

  color: var(--pink);

  font-size: 12px;

}


@keyframes marquee {

  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-33.3333%);
  }

}


/* ==================================
   SECTION MARKER
================================== */

.section-marker {

  display: grid;

  grid-template-columns:
    25px
    1fr
    auto;

  gap: 12px;

  align-items: center;

  color: var(--burgundy);

  font-size: 8px;

  letter-spacing: .15em;

}


.section-marker div {

  height: 1px;

  background: var(--line);

}


.section-marker.light {
  color: var(--pink);
}


.section-marker.light div {

  background:
    rgba(255,255,255,.2);

}


/* ==================================
   INTRO
================================== */

.intro {

  padding:
    120px
    clamp(35px, 7vw, 120px)
    150px;

}


.intro-content {

  margin:
    75px
    0
    0
    8vw;

}


.big-statement {

  max-width: 1000px;

  margin: 0;

  font-family: Georgia, serif;

  font-size:
    clamp(43px, 5.5vw, 78px);

  line-height: 1.1;

  letter-spacing: -.035em;

}


.big-statement em {

  color: var(--burgundy);

  font-weight: normal;

}


.intro-columns {

  max-width: 950px;

  margin-top: 100px;

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 55px;

}


.mini-heading {

  display: block;

  margin-bottom: 15px;

  color: var(--burgundy);

  font-size: 8px;

  letter-spacing: .15em;

  text-transform: uppercase;

}


.intro-columns p {

  margin: 0;

  color: var(--muted);

  font-size: 13px;

  line-height: 1.75;

}


/* ==================================
   RESEARCH
================================== */

.research {

  padding:
    110px
    clamp(35px, 6vw, 100px)
    130px;

  background: var(--burgundy-dark);

  color: var(--cream);

}


.research-title {

  margin:
    70px
    0
    80px
    8vw;

  display: flex;

  justify-content: space-between;

  align-items: end;

}


.research-title h2 {

  margin: 0;

  font-family: Georgia, serif;

  font-size:
    clamp(50px, 6vw, 85px);

  line-height: .95;

  font-weight: normal;

  letter-spacing: -.04em;

}


.research-title h2 em {
  color: var(--pink);
}


.research-title > p {

  max-width: 180px;

  margin-bottom: 5px;

  color: #b9a7aa;

  font-size: 11px;

}


.research-grid {

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

}


.research-card {

  min-height: 460px;

  margin-right: -1px;

  padding: 27px;

  border:
    1px solid rgba(255,255,255,.22);

  display: flex;

  flex-direction: column;

  transition:
    transform .35s ease,
    background .35s ease,
    color .35s ease;

}


.research-card:hover {

  background: var(--cream);

  color: var(--ink);

  transform:
    translateY(-10px);

  z-index: 2;

}


.research-card.featured {

  background: var(--pink);

  color: var(--ink);

}


.research-card.featured:hover {

  background: var(--pink-light);

}


.card-top {

  display: flex;

  justify-content: space-between;

  font-size: 8px;

  opacity: .7;

}


.symbol {

  font-family: Georgia, serif;

  font-size: 44px;

  line-height: 1;

  transition:
    transform .5s ease;

}


.research-card:hover
.symbol {

  transform:
    rotate(90deg);

}


.card-content {

  margin:
    auto
    0
    50px;

}


.card-label {

  font-size: 8px !important;

  letter-spacing: .15em;

  opacity: .6;

}


.card-content h3 {

  margin:
    14px
    0
    22px;

  font-family: Georgia, serif;

  font-size:
    clamp(28px, 3vw, 42px);

  font-weight: normal;

  line-height: 1.05;

}


.card-content > p {

  max-width: 320px;

  font-size: 12px;

  line-height: 1.7;

  opacity: .72;

}


.card-bottom {

  padding-top: 14px;

  border-top:
    1px solid currentColor;

  display: flex;

  justify-content: space-between;

  font-size: 7px;

  letter-spacing: .1em;

  opacity: .75;

}


.arrow {

  font-size: 18px;

  transition:
    transform .25s ease;

}


.research-card:hover
.arrow {

  transform:
    translate(5px, -5px);

}


/* ==================================
   PUBLICATIONS
================================== */

.publications {

  padding:
    120px
    clamp(35px, 7vw, 120px)
    150px;

}


.publications-heading {

  margin:
    65px
    0
    60px;

  display: flex;

  justify-content: space-between;

  align-items: end;

}


.publications-heading h2 {

  margin: 0;

  font-family: Georgia, serif;

  font-size:
    clamp(55px, 7vw, 100px);

  font-weight: normal;

  letter-spacing: -.045em;

}


.publications-heading h2 em {
  color: var(--burgundy);
}


.publications-heading > a {

  margin-bottom: 15px;

  color: var(--burgundy);

  font-size: 10px;

}


.publication-list {

  border-top:
    1px solid var(--line);

}


.publication {

  display: grid;

  grid-template-columns:
    50px
    1fr
    90px
    25px;

  gap: 25px;

  align-items: center;

  padding:
    30px
    10px;

  border-bottom:
    1px solid var(--line);

  text-decoration: none;

  transition:
    background .3s ease,
    padding .3s ease;

}


.publication:hover {

  background: var(--pink);

  padding-left: 25px;

  padding-right: 25px;

}


.pub-number {

  color: var(--muted);

  font-size: 8px;

}


.pub-info h3 {

  margin:
    0
    0
    7px;

  font-family: Georgia, serif;

  font-size:
    clamp(19px, 2.2vw, 29px);

  font-weight: normal;

  transition:
    transform .25s ease;

}


.publication:hover
.pub-info h3 {

  transform:
    translateX(5px);

}


.pub-info p {

  margin: 0;

  color: var(--muted);

  font-size: 9px;

}


.pub-meta {

  display: flex;

  flex-direction: column;

  text-align: right;

  color: var(--muted);

  font-size: 8px;

}


.pub-arrow {

  font-size: 18px;

  transition:
    transform .25s ease;

}


.publication:hover
.pub-arrow {

  transform:
    translate(5px, -5px);

}


/* ==================================
   PERSONAL
================================== */

.personal {

  padding:
    100px
    clamp(35px, 7vw, 120px)
    120px;

  background: var(--pink);

}


.personal-number {

  color: var(--burgundy);

  font-size: 8px;

  letter-spacing: .15em;

}


.personal-grid {

  margin-top: 60px;

  display: grid;

  grid-template-columns:
    1.2fr
    .8fr;

  gap: 80px;

  align-items: end;

}


.personal h2 {

  margin: 0;

  font-family: Georgia, serif;

  font-size:
    clamp(55px, 7vw, 105px);

  line-height: .85;

  font-weight: normal;

  letter-spacing: -.05em;

}


.personal h2 em {

  color: var(--burgundy);

}


.personal-copy {

  max-width: 420px;

}


.personal-copy p {

  font-size: 12px;

  line-height: 1.8;

}


.personal-copy a {

  display: inline-block;

  margin-top: 15px;

  color: var(--burgundy);

  font-size: 10px;

}


/* ==================================
   CONTACT
================================== */

.contact {

  min-height: 600px;

  padding:
    90px
    clamp(35px, 7vw, 120px)
    35px;

  background: var(--burgundy);

  color: var(--cream);

  display: flex;

  flex-direction: column;

}


.contact-small {

  margin: 0;

  color: var(--pink);

  font-size: 8px;

  letter-spacing: .15em;

}


.contact-link {

  margin: auto 0;

  display: flex;

  justify-content: space-between;

  align-items: center;

  font-family: Georgia, serif;

  font-size:
    clamp(70px, 10vw, 150px);

  line-height: .85;

  text-decoration: none;

  letter-spacing: -.055em;

}


.contact-link span {

  color: var(--pink);

  transition:
    transform .3s ease;

}


.contact-link:hover span {

  transform:
    translate(10px, -10px);

}


.contact-bottom {

  padding-top: 20px;

  border-top:
    1px solid rgba(255,255,255,.25);

  display: flex;

  justify-content: space-between;

  color: #d4b9bd;

  font-size: 8px;

}


.contact-bottom div {

  display: flex;

  gap: 20px;

}


.contact-bottom a {

  text-decoration: none;

}


/* ==================================
   REVEAL ANIMATIONS
================================== */

.reveal {

  opacity: 0;

  transform:
    translateY(30px);

  transition:
    opacity .75s ease,
    transform .75s ease;

}


.reveal.visible {

  opacity: 1;

  transform:
    translateY(0);

}


/* ==================================
   MOBILE
================================== */

@media (max-width: 850px) {

  :root {
    --sidebar-width: 0px;
  }


  .sidebar {

    position: relative;

    width: 100%;
    height: auto;

    padding:
      18px
      20px;

    flex-direction: row;

    align-items: center;

    border-right: none;

    border-bottom:
      1px solid var(--line);

  }


  .sidebar-status,
  .sidebar-bottom {

    display: none;

  }


  .sidebar nav {

    flex-direction: row;

    gap: 13px;

  }


  .sidebar nav a {

    display: block;

    font-size: 11px;

  }


  .sidebar nav a span {

    display: none;

  }


  main {
    margin-left: 0;
  }


  .hero {

    min-height: auto;

    padding-top: 30px;

  }


  .hero-main {

    grid-template-columns: 1fr;

    padding:
      70px
      0;

  }


  .hero h1 {

    font-size:
      24vw;

  }


  .portrait-area {

    max-width: 270px;

    margin-top: 40px;

  }


  .portrait-note {

    right: -20px;

  }


  .intro-content {

    margin-left: 0;

  }


  .intro-columns {

    grid-template-columns: 1fr;

    gap: 40px;

  }


  .research-title {

    margin-left: 0;

  }


  .research-grid {

    grid-template-columns: 1fr;

  }


  .research-card {

    min-height: 380px;

  }


  .publications-heading {

    display: block;

  }


  .publications-heading > a {

    display: inline-block;

    margin-top: 20px;

  }


  .publication {

    grid-template-columns:
      35px
      1fr
      25px;

  }


  .pub-meta {

    display: none;

  }


  .personal-grid {

    grid-template-columns: 1fr;

    gap: 50px;

  }

}


/* ==================================
   SUBPAGE SHARED
================================== */

.subpage-hero,
.cv-hero {

  min-height: 75vh;

  padding:
    45px
    clamp(35px, 7vw, 120px)
    90px;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

}


.subpage-meta {

  display: flex;

  justify-content: space-between;

  padding-bottom: 15px;

  border-bottom:
    1px solid var(--line);

  color: var(--muted);

  font-size: 8px;

  letter-spacing: .15em;

}


.subpage-title {

  margin:
    80px
    0;

}


.subpage-title .hello {

  margin-left: 5px;

}


.subpage-title h1,
.cv-title-row h1 {

  margin: 0;

  font-family: Georgia, serif;

  font-size:
    clamp(80px, 11vw, 160px);

  line-height: .8;

  font-weight: normal;

  letter-spacing: -.06em;

}


.subpage-title h1 em,
.cv-title-row h1 em {

  color: var(--burgundy);

  font-weight: normal;

}


.subpage-intro {

  display: grid;

  grid-template-columns:
    1fr
    auto;

  gap: 70px;

  align-items: end;

}


.subpage-intro > p {

  max-width: 650px;

  margin: 0;

  font-family: Georgia, serif;

  font-size:
    clamp(25px, 3vw, 40px);

  line-height: 1.2;

}


.subpage-intro em {
  color: var(--burgundy);
}


.publication-stats {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.publication-stats div {
  display: grid;
  grid-template-columns: 55px 1fr;
  align-items: center;
  gap: 12px;
}

.publication-stats strong {
  font-family: Georgia, serif;
  color: var(--burgundy);
  font-size: 30px;
  font-weight: normal;
}

.publication-stats span {
  color: var(--muted);
  font-size: 7px;
  letter-spacing: .1em;
  text-transform: uppercase;
}


.publication-stats div {

  display: flex;

  flex-direction: column;

  min-width: 75px;

}


.publication-stats strong {

  font-family: Georgia, serif;

  color: var(--burgundy);

  font-size: 30px;

  font-weight: normal;

}


.publication-stats span {

  color: var(--muted);

  font-size: 7px;

  letter-spacing: .1em;

  text-transform: uppercase;

}


/* ==================================
   PUBLICATIONS PAGE
================================== */

.pub-controls {

  padding:
    30px
    clamp(35px, 7vw, 120px);

  border-top:
    1px solid var(--line);

  border-bottom:
    1px solid var(--line);

}


.pub-legend {

  margin-top: 30px;

  display: flex;

  gap: 25px;

  color: var(--muted);

  font-size: 7px;

  letter-spacing: .1em;

}


.publication-year-section {

  display: grid;

  grid-template-columns:
    150px
    1fr;

  padding:
    0
    clamp(35px, 7vw, 120px);

  border-bottom:
    1px solid var(--line);

}


.year-column {

  padding-top: 55px;

  border-right:
    1px solid var(--line);

  font-family: Georgia, serif;

  color: var(--burgundy);

  font-size: 26px;

}


.workshops-text {
  display: inline-block;
  transform: translateX(-50px);
}


.full-publication-list {

  padding-left: 55px;

}


.full-publication {

  padding:
    55px
    10px;

  border-bottom:
    1px solid var(--line);

  transition:
    padding .3s ease;

}


.full-publication:last-child {
  border-bottom: none;
}


.full-publication:hover {

  padding-left: 25px;

}


.full-publication.featured-publication {

  position: relative;

}


.full-publication.featured-publication::before {

  content: "FEATURED";

  position: absolute;

  top: 55px;
  right: 10px;

  padding:
    5px
    8px;

  background: var(--burgundy);

  color: var(--cream);

  font-size: 6px;

  letter-spacing: .15em;

}


.full-pub-top {

  display: flex;

  gap: 25px;

  margin-bottom: 25px;

  color: var(--burgundy);

  font-size: 7px;

  letter-spacing: .13em;

}


.full-publication h2 {

  max-width: 850px;

  margin:
    0
    0
    15px;

  font-family: Georgia, serif;

  font-size:
    clamp(27px, 3vw, 42px);

  line-height: 1.15;

  font-weight: normal;

}


.full-authors {

  color: var(--muted);

  font-size: 11px;

}


.full-description {

  max-width: 650px;

  margin-top: 25px;

  color: var(--muted);

  font-size: 12px;

  line-height: 1.7;

}


.full-pub-links {

  display: flex;

  gap: 20px;

  margin-top: 25px;

}


.full-pub-links a {

  color: var(--burgundy);

  font-size: 9px;

}


.scholar-cta {

  padding:
    100px
    clamp(35px, 7vw, 120px);

  background: var(--pink);

}


.scholar-cta > p {

  margin:
    0
    0
    10px;

  color: var(--burgundy);

  font-size: 9px;

  letter-spacing: .1em;

}


.scholar-cta > a {

  display: flex;

  justify-content: space-between;

  font-family: Georgia, serif;

  font-size:
    clamp(50px, 7vw, 95px);

  text-decoration: none;

  line-height: 1;

}


.scholar-cta > a span {

  color: var(--burgundy);

  transition:
    transform .3s ease;

}


.scholar-cta > a:hover span {

  transform:
    translate(8px, -8px);

}


/* ==================================
   CV
================================== */

.cv-title-row {

  display: flex;

  justify-content: space-between;

  align-items: end;

  margin:
    80px
    0;

}


.download-cv {

  width: 115px;
  height: 115px;

  border-radius: 50%;

  background: var(--burgundy);

  color: var(--cream);

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  text-decoration: none;

  font-family: Georgia, serif;

  font-size: 12px;

  line-height: 1.3;

  transition:
    transform .3s ease,
    background .3s ease;

}


.download-cv > span {

  font-size: 22px;

}


.download-cv:hover {

  transform:
    rotate(5deg)
    scale(1.05);

  background: var(--burgundy-dark);

}


.cv-name-block {

  display: flex;

  justify-content: space-between;

  align-items: end;

  padding-top: 25px;

  border-top:
    1px solid var(--line);

}


.cv-name-block h2 {

  margin: 0;

  font-family: Georgia, serif;

  font-size: 28px;

  font-weight: normal;

}


.cv-name-block p {

  margin: 0;

  text-align: right;

  color: var(--muted);

  font-size: 10px;

}


/* CV SECTIONS */

.cv-category {

  display: grid;

  grid-template-columns:
    minmax(180px, .4fr)
    minmax(0, 1fr);

  gap: 60px;

  padding:
    80px
    clamp(35px, 7vw, 120px);

  border-top:
    1px solid var(--line);

}


.cv-category-heading span {

  color: var(--burgundy);

  font-size: 8px;

}


.cv-category-heading h2 {

  margin:
    12px
    0
    0;

  font-family: Georgia, serif;

  font-size:
    clamp(27px, 3vw, 40px);

  font-weight: normal;

}


.cv-entry {

  display: grid;

  grid-template-columns:
    130px
    1fr;

  gap: 30px;

  padding:
    0
    0
    45px;

  margin-bottom: 45px;

  border-bottom:
    1px solid var(--line);

}


.cv-entry:last-of-type {

  margin-bottom: 0;

}


.cv-entry-date {

  color: var(--burgundy);

  font-size: 8px;

  letter-spacing: .08em;

}


.cv-entry-content h3 {

  margin:
    0
    0
    7px;

  font-family: Georgia, serif;

  font-size: 22px;

  font-weight: normal;

}


.cv-entry-content p {

  max-width: 650px;

  color: var(--muted);

  font-size: 11px;

  line-height: 1.7;

}


.cv-entry-content .cv-place {

  color: var(--ink);

  font-style: italic;

}


.cv-entry-content a {

  display: inline-block;

  margin-top: 7px;

  color: var(--burgundy);

  font-size: 9px;

}


.cv-more-link {

  display: inline-block;

  color: var(--burgundy);

  font-size: 10px;

}


.cv-method-grid {

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 45px;

}


.cv-method-grid span {

  color: var(--burgundy);

  font-size: 7px;

  letter-spacing: .13em;

}


.cv-method-grid p {

  font-family: Georgia, serif;

  font-size: 17px;

  line-height: 1.7;

}


.cv-bottom {

  padding:
    100px
    clamp(35px, 7vw, 120px);

  background: var(--burgundy);

  color: var(--cream);

}


.cv-bottom > p {

  color: var(--pink);

  font-size: 9px;

  letter-spacing: .1em;

}


.cv-bottom > a {

  display: flex;

  justify-content: space-between;

  align-items: center;

  font-family: Georgia, serif;

  font-size:
    clamp(50px, 7vw, 100px);

  text-decoration: none;

}


.cv-bottom > a span {

  color: var(--pink);

  transition:
    transform .3s ease;

}


.cv-bottom > a:hover span {

  transform:
    translateY(8px);

}


/* ==================================
   SUBPAGE MOBILE
================================== */

@media (max-width: 850px) {
  .subpage-title h1 {
    font-size: clamp(58px, 17vw, 78px);
    letter-spacing: -.07em;
  }

  .workshops-text {
    transform: none;
  }

  .subpage-hero,
  .cv-hero {

    min-height: auto;

    padding-top: 60px;

  }


  .subpage-intro {

    grid-template-columns: 1fr;

  }


  .publication-year-section {

    grid-template-columns: 1fr;

  }


  .year-column {

    padding:
      35px
      0
      15px;

    border-right: none;

  }


  .full-publication-list {

    padding-left: 0;

  }


  .cv-category {

    grid-template-columns: 1fr;

    gap: 40px;

  }


  .cv-entry {

    grid-template-columns: 1fr;

    gap: 10px;

  }


  .cv-method-grid {

    grid-template-columns: 1fr;

  }


  .publication-stats {

    flex-wrap: wrap;

  }

}


/* ==================================
   HERO — NARROW SCREENS
   Move portrait above name
================================== */

@media (max-width: 1050px) {

  .hero-name-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 45px;
  }

  /* Put the image ABOVE Kirsten */
  .portrait-area {
    order: -1;

    width: clamp(200px, 32vw, 280px);
    max-width: 280px;

    align-self: flex-end;
    justify-self: auto;

    margin-right: 25px;
  }

  .hero-first-name {
    width: 100%;
  }

  .first-name {
    font-size: clamp(75px, 12vw, 120px);
  }

  .hero-last-name {
    margin-top: 5px;
    margin-left: clamp(10px, 4vw, 50px);

    font-size: clamp(75px, 12vw, 120px);
  }

}

/* ==================================
   BIBTEX POPUP
================================== */

.bibtex-modal {

  position: fixed;

  inset: 0;

  background:
    rgba(33, 26, 25, .72);

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 30px;

  opacity: 0;

  visibility: hidden;

  transition:
    opacity .25s ease,
    visibility .25s ease;

  z-index: 1000;

}


.bibtex-modal.open {

  opacity: 1;

  visibility: visible;

}


.bibtex-box {

  position: relative;

  width: min(700px, 100%);

  max-height: 80vh;

  overflow-y: auto;

  padding:
    45px
    45px
    40px;

  background: var(--cream);

  border:
    1px solid var(--line);

  box-shadow:
    0 20px 60px rgba(33, 26, 25, .25);

  transform:
    translateY(15px);

  transition:
    transform .25s ease;

}


.bibtex-modal.open
.bibtex-box {

  transform:
    translateY(0);

}


.bibtex-label {

  display: block;

  margin-bottom: 25px;

  color: var(--burgundy);

  font-size: 8px;

  letter-spacing: .15em;

}


.bibtex-close {

  position: absolute;

  top: 18px;
  right: 22px;

  padding: 0;

  border: none;

  background: transparent;

  color: var(--burgundy);

  font-family: Georgia, serif;

  font-size: 30px;

  line-height: 1;

  cursor: pointer;

  transition:
    transform .2s ease,
    color .2s ease;

}


.bibtex-close:hover {

  color: var(--burgundy-dark);

  transform:
    rotate(8deg);

}


#bibtex-content {

  margin:
    0
    0
    30px;

  padding: 25px;

  background: var(--cream-dark);

  border-left:
    3px solid var(--burgundy);

  color: var(--ink);

  font-family:
    "Courier New",
    Courier,
    monospace;

  font-size: 11px;

  line-height: 1.7;

  white-space: pre-wrap;

  overflow-wrap: anywhere;

}


.bibtex-copy {

  padding:
    11px
    18px;

  border:
    1px solid var(--burgundy);

  background: var(--burgundy);

  color: var(--cream);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  font-size: 8px;

  letter-spacing: .12em;

  text-transform: uppercase;

  cursor: pointer;

  transition:
    background .2s ease,
    color .2s ease;

}


.bibtex-copy:hover {

  background: transparent;

  color: var(--burgundy);

}