/* ==================================
   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;
}


/* ==================================
   ARROWS
================================== */

.arrow,
.pub-arrow,
.contact-card-arrow,
.cv-bottom-arrow,
.scholar-cta > a span {
  font-family: Georgia, "Times New Roman", serif;
  font-style: normal;
}


/* ==================================
   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 {
  padding-top: 5px;

  font-family: Arial, sans-serif;

  font-size: 8px;
}


.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;

  grid-template-columns:
    minmax(0, 1fr)
    clamp(210px, 22vw, 300px);

  gap:
    clamp(25px, 4vw, 70px);

  align-items: end;
}


.hero-first-name {
  align-self: end;
}


.hello {
  margin:
    0
    0
    14px
    4px;

  color: var(--burgundy);

  font-family: Georgia, serif;
  font-style: italic;

  font-size: 22px;
}


/* Prevent large Kirsten wordmark from covering HELLO, I'M */

.hero-first-name .hello {
  position: relative;
  z-index: 5;
}


.first-name {
  margin: 0;

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

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

  line-height: .82;

  letter-spacing: -.075em;
}


/* CHAPMAN */

.hero-last-name {
  position: relative;

  z-index: 4;

  width: fit-content;

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

  font-family: Georgia, serif;

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

  font-style: italic;

  line-height: .78;

  letter-spacing: -.065em;
}


.hero-last-name .period,
.period {
  color: var(--burgundy);
}


/* PHOTO */

.portrait-area {
  position: relative;

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

  justify-self: end;
  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);
}


.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;
}


/* 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;
}


.scroll {
  width: fit-content;

  display: flex;
  align-items: center;

  gap: 10px;

  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;

  padding:
    13px
    0;

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

  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 QUESTIONS
================================== */

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

  background: var(--burgundy-dark);
  color: var(--cream);
}


.research-title {
  margin:
    70px
    0
    90px
    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);

  font-weight: normal;
}


.research-title > p {
  max-width: 180px;

  margin-bottom: 5px;

  color: #b9a7aa;

  font-size: 11px;
}


/* EDITORIAL QUESTION GRID */

.research-grid {
  display: grid;

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

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

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


/* INDIVIDUAL QUESTION */

.research-card {
  min-width: 0;

  min-height: 470px;

  padding:
    34px
    clamp(24px, 3vw, 42px)
    30px;

  display: flex;
  flex-direction: column;

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


.research-card:first-child {
  padding-left: 0;
}


.research-card:last-child {
  padding-right: 0;

  border-right: none;
}


/* QUESTION NUMBER + SYMBOL */

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  min-height: 85px;
}


.question-number {
  color: rgba(255,255,255,.42);

  font-size: 8px;
  font-weight: bold;

  letter-spacing: .14em;
}


.symbol {
  color: var(--pink);

  font-family: Georgia, serif;

  font-size: 38px;

  line-height: .8;
}


/* QUESTION CONTENT */

.card-content {
  margin:
    25px
    0
    auto;
}


.card-label {
  margin:
    0
    0
    17px;

  color: var(--pink);

  font-size: 8px !important;
  font-weight: bold;

  letter-spacing: .16em;

  text-transform: uppercase;
}


.card-content h3 {
  max-width: 320px;

  margin:
    0
    0
    28px;

  font-family: Georgia, serif;

  font-size:
    clamp(29px, 3vw, 43px);

  font-weight: normal;

  line-height: 1.04;

  letter-spacing: -.025em;
}


.card-content > p {
  max-width: 315px;

  margin: 0;

  color: #cbbdc0;

  font-size: 12px;

  line-height: 1.75;
}


/* QUESTION KEYWORDS */

.card-bottom {
  margin-top: 55px;

  padding-top: 17px;

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

  color: #b9a7aa;

  font-size: 7px;
  font-weight: bold;

  letter-spacing: .12em;
}


/* ==================================
   PUBLICATIONS — HOMEPAGE
================================== */

.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 {
  padding:
    90px
    clamp(35px, 7vw, 120px)
    35px;

  background: var(--burgundy);
  color: var(--cream);
}


.contact-heading {
  max-width: 900px;
}


.contact-small {
  margin:
    0
    0
    30px;

  color: var(--pink);

  font-size: 8px;
  font-weight: bold;

  letter-spacing: .15em;

  text-transform: uppercase;
}


.contact-heading h2 {
  margin: 0;

  font-family:
    Georgia,
    serif;

  font-size:
    clamp(70px, 9vw, 135px);

  font-weight: normal;

  line-height: .82;

  letter-spacing: -.055em;
}


.contact-heading h2 em {
  color: var(--pink);

  font-weight: normal;
}


.contact-intro {
  max-width: 430px;

  margin:
    35px
    0
    0;

  color: #d4b9bd;

  font-size: 12px;

  line-height: 1.7;
}


/* CONTACT CARDS */

.contact-links-grid {
  width: 100%;

  margin-top: 65px;

  display: grid;

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

  gap: 12px;
}


.contact-card {
  position: relative;

  min-height: 145px;

  padding:
    24px
    55px
    24px
    25px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background: transparent;

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

  color: var(--cream);

  text-decoration: none;

  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease,
    color .2s ease;
}


.contact-card:hover {
  background: var(--cream);

  border-color: var(--cream);

  color: var(--burgundy);

  transform:
    translateY(-3px);
}


.contact-card-primary {
  background: var(--pink);

  border-color: var(--pink);

  color: var(--ink);
}


.contact-card-primary:hover {
  background: var(--cream);

  border-color: var(--cream);

  color: var(--burgundy);
}


.contact-card-label {
  font-size: 7px;
  font-weight: bold;

  letter-spacing: .15em;

  text-transform: uppercase;

  opacity: .7;
}


.contact-card-title {
  font-family:
    Georgia,
    serif;

  font-size:
    clamp(20px, 2vw, 28px);

  line-height: 1.1;
}


.contact-card-arrow {
  position: absolute;

  top: 22px;
  right: 24px;

  font-size: 18px;

  transition:
    transform .2s ease;
}


.contact-card:hover
.contact-card-arrow {
  transform:
    translate(3px, -3px);
}


.contact-bottom {
  margin-top: 80px;

  padding-top: 20px;

  border-top:
    1px solid rgba(23, 56, 43, .25);

  display: flex;
  justify-content: space-between;

  color: var(--oxblood);

  font-size: 8px;

  letter-spacing: .06em;
}


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

.reveal {
  opacity: 0;

  transform:
    translateY(30px);

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


.reveal.visible {
  opacity: 1;

  transform:
    translateY(0);
}


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

.subpage-hero {
  padding:
    45px
    clamp(35px, 7vw, 120px)
    42px;

  display: flex;
  flex-direction: column;
}


.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:
    72px
    0
    58px;
}


.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: block;
}


.subpage-intro > p {
  max-width: 750px;

  margin: 0;

  font-family: Georgia, serif;

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

  line-height: 1.2;
}


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


/* ==================================
   PUBLICATION HERO STATS
================================== */

.publication-stats {
  width: 100%;
  max-width: 900px;

  margin-top: 32px;
  margin-bottom: 0;

  padding-top: 18px;
  padding-bottom: 0;

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

  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 30px;
}


.publication-stats div {
  display: flex;
  align-items: baseline;

  gap: 9px;

  min-width: 0;
}


.publication-stats strong {
  flex: 0 0 auto;

  font-family: Georgia, serif;

  color: var(--burgundy);

  font-size: 30px;
  font-weight: normal;

  line-height: 1;
}


.publication-stats span {
  color: var(--muted);

  font-size: 7px;

  line-height: 1.35;

  letter-spacing: .1em;
  text-transform: uppercase;
}


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

.pub-controls {
  padding:
    24px
    clamp(35px, 7vw, 120px)
    28px;

  background: var(--cream-dark);

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

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


.pub-legend {
  margin: 0;

  display: flex;
  flex-wrap: wrap;

  gap: 9px;

  color: var(--muted);
}


.pub-filter {
  padding:
    10px
    14px;

  background: transparent;

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

  color: var(--muted);

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

  font-size: 8px;
  font-weight: bold;

  line-height: 1;

  letter-spacing: .09em;

  text-transform: uppercase;

  cursor: pointer;

  transition:
    background .2s ease,
    border-color .2s ease,
    color .2s ease,
    transform .2s ease;
}


.pub-filter:hover {
  border-color: var(--burgundy);

  color: var(--burgundy);

  transform:
    translateY(-1px);
}


.pub-filter.active {
  background: var(--burgundy);

  border-color: var(--burgundy);

  color: var(--cream);
}


.pub-filter.active::after {
  content: "";
}


/* PUBLICATION YEAR SECTIONS */

.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;
  flex-wrap: wrap;

  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 CTA
================================== */

.cv-bottom {
  padding:
    70px
    clamp(35px, 7vw, 120px)
    80px;

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


.cv-bottom > p {
  margin:
    0
    0
    24px;

  color: var(--muted);

  font-size: 9px;
  font-weight: bold;

  letter-spacing: .14em;

  text-transform: uppercase;
}


.cv-bottom-links {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 14px;

  max-width: 900px;
}


.cv-bottom-link {
  position: relative;

  min-height: 145px;

  padding:
    24px
    55px
    24px
    25px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  text-decoration: none;

  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease;
}


.cv-bottom-link.primary {
  background: var(--burgundy);

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

  color: var(--cream);
}


.cv-bottom-link.primary:hover {
  background: var(--burgundy-dark);

  border-color: var(--burgundy-dark);

  transform:
    translateY(-3px);
}


.cv-bottom-link.secondary {
  background: transparent;

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

  color: var(--burgundy);
}


.cv-bottom-link.secondary:hover {
  background: var(--pink-light);

  transform:
    translateY(-3px);
}


.cv-bottom-label {
  font-size: 7px;
  font-weight: bold;

  letter-spacing: .15em;

  text-transform: uppercase;

  opacity: .75;
}


.cv-bottom-title {
  font-family:
    Georgia,
    serif;

  font-size:
    clamp(20px, 2vw, 28px);

  line-height: 1.1;
}


.cv-bottom-arrow {
  position: absolute;

  top: 22px;
  right: 24px;

  font-size: 18px;

  transition:
    transform .2s ease;
}


.cv-bottom-link:hover
.cv-bottom-arrow {
  transform:
    translate(3px, -3px);
}


/* ==================================
   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);
}


/* ==================================
   ABOUT → RESEARCH LINK
================================== */

.about-research-link {
  display: inline-block;

  margin-top: 55px;

  padding-bottom: 4px;

  color: var(--burgundy);

  font-size: 10px;

  letter-spacing: .08em;
  text-transform: uppercase;

  text-decoration: none;

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

  transition:
    opacity .2s ease;
}


.about-research-link:hover {
  opacity: .6;
}


/* ==================================
   NEWS / RECENTLY
================================== */

.news {
  padding:
    120px
    clamp(35px, 7vw, 120px)
    140px;

  background:
    var(--cream-dark);
}


.news-heading {
  margin:
    65px
    0
    75px
    8vw;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    240px;

  gap: 60px;

  align-items: end;
}


.news-heading h2 {
  margin: 0;

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

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

  line-height: .9;

  letter-spacing: -.055em;
}


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

  font-family: Georgia, serif;

  font-weight: normal;
}


.news-heading p {
  margin: 0;

  color: var(--muted);

  font-family: Georgia, serif;

  font-size: 14px;

  line-height: 1.6;
}


.news-list {
  max-width: 1100px;

  margin:
    0
    0
    0
    8vw;

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


.news-item {
  display: grid;

  grid-template-columns:
    80px
    minmax(0, 1fr);

  gap: 40px;

  padding:
    45px
    0;

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


.news-date {
  padding-top: 4px;

  display: flex;
  flex-direction: column;

  gap: 3px;
}


.news-month {
  color: var(--burgundy);

  font-size: 10px;
  font-weight: bold;

  letter-spacing: .15em;
}


.news-year {
  color: var(--muted);

  font-family: Georgia, serif;

  font-size: 12px;
}


.news-content {
  max-width: 720px;
}


.news-category {
  display: block;

  margin-bottom: 14px;

  color: var(--burgundy);

  font-size: 8px;
  font-weight: bold;

  letter-spacing: .16em;
}


.news-content h3 {
  max-width: 700px;

  margin:
    0
    0
    15px;

  font-family: Georgia, serif;

  font-size:
    clamp(23px, 2.5vw, 34px);

  font-weight: normal;

  line-height: 1.15;

  letter-spacing: -.02em;
}


.news-content p {
  max-width: 650px;

  margin:
    0
    0
    18px;

  color: var(--muted);

  font-size: 13px;

  line-height: 1.65;
}


.news-content a {
  color: var(--burgundy);

  font-size: 9px;

  letter-spacing: .08em;

  text-decoration: none;
  text-transform: uppercase;
}


.news-content a:hover {
  text-decoration: underline;
}


/* FEATURED NEWS WITH IMAGE */

.news-item.news-featured {
  grid-template-columns:
    80px
    minmax(180px, 300px)
    minmax(0, 1fr);

  align-items: center;

  padding:
    55px
    0;
}


.news-image {
  position: relative;

  overflow: hidden;
}


.news-image::after {
  content: "";

  position: absolute;

  inset:
    8px
    -8px
    -8px
    8px;

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

  z-index: 0;
}


.news-image img {
  position: relative;

  display: block;

  width: 100%;

  aspect-ratio: 4 / 3;

  object-fit: cover;

  z-index: 1;

  transition:
    transform .5s ease;
}


.news-item:hover
.news-image img {
  transform:
    scale(1.02);
}


/* ==================================
   NEWS ARCHIVE
================================== */

.news-archive {
  max-width: 1100px;

  margin:
    0
    0
    0
    8vw;
}


.news-archive-toggle {
  width: 100%;

  padding:
    25px
    0;

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

  background: none;

  border: 0;

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

  color: var(--burgundy);

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

  font-size: 9px;
  font-weight: bold;

  letter-spacing: .12em;
  text-transform: uppercase;

  cursor: pointer;
}


.news-archive-toggle:hover {
  opacity: .6;
}


.news-archive-arrow {
  font-family: Georgia, serif;

  font-size: 16px;

  transition:
    transform .25s ease;
}


.news-archive-toggle[aria-expanded="true"]
.news-archive-arrow {
  transform:
    rotate(180deg);
}


.news-list-older {
  margin-left: 0;

  border-top: 0;
}


/* ==================================
   HERO — NARROW SCREENS
================================== */

@media (max-width: 1050px) {

  .hero-name-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 45px;
  }


  .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);
  }

}


/* ==================================
   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 */

  .hero {
    min-height: auto;

    padding-top: 30px;
  }


  .hero-main {
    padding:
      70px
      0;
  }


  .portrait-area {
    max-width: 270px;

    margin-top: 40px;
  }


  .portrait-note {
    right: -20px;
  }


  /* INTRO */

  .intro-content {
    margin-left: 0;
  }


  .intro-columns {
    grid-template-columns: 1fr;

    gap: 40px;
  }


  /* RESEARCH QUESTIONS */

  .research {
    padding:
      85px
      clamp(25px, 7vw, 60px)
      95px;
  }


  .research-title {
    margin:
      55px
      0
      65px;

    display: block;
  }


  .research-title > p {
    max-width: 300px;

    margin:
      30px
      0
      0;
  }


  .research-grid {
    grid-template-columns: 1fr;

    border-bottom: none;
  }


  .research-card,
  .research-card:first-child,
  .research-card:last-child {
    min-height: auto;

    padding:
      35px
      0
      40px;

    border-right: none;

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


  .card-top {
    min-height: 55px;
  }


  .card-content {
    margin:
      20px
      0
      0;
  }


  .card-content h3 {
    max-width: 500px;

    font-size:
      clamp(32px, 9vw, 46px);
  }


  .card-content > p {
    max-width: 500px;
  }


  .card-bottom {
    margin-top: 40px;
  }


  /* HOMEPAGE PUBLICATIONS */

  .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 */

  .personal-grid {
    grid-template-columns: 1fr;

    gap: 50px;
  }


  /* CONTACT */

  .contact {
    padding:
      70px
      clamp(25px, 7vw, 60px)
      30px;
  }


  .contact-heading h2 {
    font-size:
      clamp(65px, 19vw, 95px);
  }


  .contact-links-grid {
    margin-top: 50px;

    grid-template-columns: 1fr;

    gap: 10px;
  }


  .contact-card {
    min-height: 115px;
  }


  .contact-bottom {
    margin-top: 60px;

    gap: 20px;

    flex-direction: column;
  }


  /* SUBPAGES */

  .subpage-hero {
    padding:
      40px
      clamp(25px, 7vw, 60px)
      32px;
  }


  .cv-hero {
    min-height: auto;

    padding-top: 60px;
  }


  .subpage-title {
    margin:
      55px
      0
      45px;
  }


  .subpage-title h1 {
    font-size:
      clamp(58px, 17vw, 78px);

    letter-spacing: -.07em;
  }


  .subpage-intro {
    display: block;
  }


  /* PUBLICATION STATS */

  .publication-stats {
    width: 100%;
    max-width: 100%;

    margin-top: 28px;
    margin-bottom: 0;

    padding-top: 18px;
    padding-bottom: 0;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap:
      18px
      30px;
  }


  /* PUBLICATION FILTERS */

  .pub-controls {
    padding:
      22px
      clamp(25px, 7vw, 60px)
      25px;
  }


  .pub-legend {
    gap: 8px;
  }


  .pub-filter {
    padding:
      9px
      11px;

    font-size: 7px;
  }


  /* PUBLICATIONS PAGE */

  .publication-year-section {
    grid-template-columns: 1fr;
  }


  .year-column {
    padding:
      35px
      0
      15px;

    border-right: none;
  }


  .workshops-text {
    transform: none;
  }


  .full-publication-list {
    padding-left: 0;
  }


  .full-publication.featured-publication::before {
    position: static;

    display: inline-block;

    margin-bottom: 20px;
  }


  /* CV */

  .cv-category {
    grid-template-columns: 1fr;

    gap: 40px;
  }


  .cv-entry {
    grid-template-columns: 1fr;

    gap: 10px;
  }


  .cv-method-grid {
    grid-template-columns: 1fr;
  }


  .cv-bottom {
    padding:
      55px
      clamp(25px, 7vw, 60px)
      65px;
  }


  .cv-bottom-links {
    grid-template-columns: 1fr;

    gap: 12px;
  }


  .cv-bottom-link {
    min-height: 125px;
  }

}


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

@media (max-width: 800px) {

  .news {
    padding:
      85px
      30px
      100px;
  }


  .news-heading {
    margin:
      50px
      0
      55px;

    grid-template-columns: 1fr;

    gap: 25px;
  }


  .news-heading p {
    max-width: 400px;
  }


  .news-list {
    margin: 0;
  }


  .news-item,
  .news-item.news-featured {
    grid-template-columns:
      60px
      1fr;

    gap: 20px;
  }


  .news-item.news-featured
  .news-image {
    grid-column: 2;
  }


  .news-item.news-featured
  .news-content {
    grid-column: 2;
  }


  .news-archive {
    margin: 0;
  }

}


/* ==================================
   COOL-GIRL EDITORIAL UPDATE
   Original architecture retained
================================== */

:root {
  --cream: #eee9de;
  --cream-dark: #d8d0c2;
  --ink: #171915;
  --muted: #6e6b63;
  --burgundy: #6f3038;
  --burgundy-dark: #17382b;
  --pink: #aeb9aa;
  --pink-light: #d9ddd3;
  --line: #b9b1a5;
  --forest: #17382b;
  --oxblood: #6f3038;
  --paper: #f7f3ea;
}


body {
  background: var(--cream);
  color: var(--ink);

  font-family:
    "Inter",
    Arial,
    sans-serif;

  letter-spacing: -.008em;
}


.logo,
.sidebar nav a,
.first-name,
.hero-last-name,
.hero-statement,
.big-statement,
.research-title h2,
.card-content h3,
.publications-heading h2,
.pub-info h3,
.personal h2,
.contact-heading,
.page-title,
.research-question h2,
.full-publication h2,
.cv-category-heading h2,
.cv-entry-content h3 {
  font-family:
    "Newsreader",
    Georgia,
    serif;
}


.hero-meta,
.sidebar-status,
.sidebar nav a span,
.section-marker,
.mini-heading,
.card-label,
.question-number,
.pub-number,
.pub-meta,
.portrait-note span,
.scroll,
.full-pub-top,
.full-pub-links,
.bibtex-label,
.bibtex-copy,
.cv-entry-date,
.cv-category-heading span {
  font-family:
    "DM Mono",
    monospace;
}


.sidebar {
  background: var(--forest);
  color: #f1ede3;

  border-right: 0;

  box-shadow:
    1px 0 0 #0002;
}


.logo {
  color: #f6f1e7;

  font-weight: 500;

  letter-spacing: -.055em;
}


.logo span {
  color: #b67a79;
}


.sidebar-status,
.sidebar nav a,
.social-links a,
.sidebar-bottom > p {
  color: #aebcaf;
}


.status-dot {
  background: #b67a79;
}


.sidebar nav a:hover,
.sidebar nav a.active,
.social-links a:hover {
  color: #fffaf0;
}


.sidebar nav a.active {
  font-style: italic;
}


.sidebar nav a span {
  color: #83988a;
}


.hero {
  background: var(--cream);
}


.hero-meta {
  color: var(--muted);

  letter-spacing: .12em;
}


.hello {
  color: var(--oxblood);

  font-family:
    "DM Mono",
    monospace;

  text-transform: uppercase;

  letter-spacing: .08em;

  font-size: 9px;
}


/* FINAL HERO OVERLAP FIX */

.hero-first-name .hello {
  position: relative;

  z-index: 5;

  margin-bottom: 14px;
}


.first-name,
.hero-last-name {
  font-weight: 500;

  letter-spacing: -.065em;
}


.hero-first-name .first-name {
  line-height: .82;
}


.hero-last-name .period,
.period {
  color: var(--oxblood);
}


.portrait-shape {
  background: var(--forest);

  border-radius:
    48% 52% 44% 56% /
    57% 42% 58% 43%;

  transform:
    rotate(-5deg);
}


.portrait {
  filter: none;
}


.portrait-area:hover
.portrait {
  filter: none;
}


.portrait-note {
  background: var(--oxblood);
  color: #fffaf0;

  box-shadow:
    7px 8px 0 #17382b29;

  transform:
    rotate(-2deg);
}


.portrait-note span {
  color: #dcbfc0;
}


.hero-statement {
  color: #34352f;
}


.hero-statement em {
  color: var(--forest);

  font-weight: 400;
}


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


.marquee {
  background: var(--forest);
  color: #f4efe5;

  border-color: var(--forest);
}


.marquee-track b {
  color: #b67a79;
}


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


.section-marker div {
  background: var(--oxblood);
}


.section-marker.light {
  color: #d9e0da;
}


.section-marker.light div {
  background: #d9e0da;
}


.intro {
  background: var(--paper);
}


.big-statement {
  font-weight: 500;

  letter-spacing: -.04em;
}


.big-statement em {
  color: var(--forest);

  font-weight: 400;
}


.mini-heading {
  color: var(--oxblood);
}


.research {
  background: var(--forest);
  color: #f4f0e7;
}


.research-title h2 {
  font-weight: 500;

  letter-spacing: -.04em;
}


.research-title h2 em {
  color: #bdc9c1;

  font-weight: 400;
}


.research-title > p {
  color: #bcc8bf;
}


.research-grid,
.research-card {
  border-color: #647a6d;
}


.research-card {
  background: transparent;
}


.research-card:hover {
  background: #ffffff0b;
}


.question-number,
.card-label,
.card-bottom {
  color: #b9c6bd;
}


.symbol {
  color: #b67a79;
}


.card-content h3 {
  font-weight: 500;
}


.card-content > p {
  color: #c6cec8;
}


.publications {
  background: var(--cream);
}


.publications-heading h2 {
  font-weight: 500;

  letter-spacing: -.04em;
}


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

  font-weight: 400;
}


.publications-heading > a {
  color: var(--forest);
}


.publication {
  border-color: var(--line);
}


.publication:hover {
  background: var(--paper);
}


.pub-number,
.pub-meta {
  color: var(--oxblood);

  font-family:
    "DM Mono",
    monospace;
}


.pub-info h3 {
  font-weight: 500;
}


.publication:hover
.pub-info h3,
.pub-arrow {
  color: var(--forest);
}


.personal {
  background: #c8bdab;
  color: var(--ink);
}


.personal-number {
  color: var(--oxblood);
}


.personal h2 {
  font-weight: 500;

  letter-spacing: -.04em;
}


.personal h2 em {
  color: var(--oxblood);

  font-weight: 400;
}


.personal-copy a {
  color: var(--forest);

  border-color: var(--forest);
}


.contact {
  background: #aeb9aa;
  color: #17382b;

  border-top:
    1px solid #8f9d90;
}


.contact-heading {
  color: #17382b;
}


.contact-heading em {
  color: #6f3038;
}


.contact-card {
  border-color: #7e8d80;

  color: #17382b;
}


.contact-card:hover {
  background: #17382b;

  border-color: #17382b;

  color: #f7f3ea;
}


.contact-card:hover * {
  color: #f7f3ea;
}


.page-hero,
.research-page-hero,
.publications-page-hero,
.cv-page-hero {
  background: var(--cream);
}


.page-title,
.research-page-hero h1,
.publications-page-hero h1,
.cv-page-hero h1 {
  font-family:
    "Newsreader",
    Georgia,
    serif;

  font-weight: 500;

  letter-spacing: -.055em;
}


.page-title em,
.research-page-hero h1 em,
.publications-page-hero h1 em,
.cv-page-hero h1 em {
  color: var(--forest);
}


.research-question {
  border-color: var(--line);
}


.research-question:hover {
  background: var(--paper);
}


.research-question h2 {
  font-weight: 500;
}


.research-question h2 em {
  color: var(--forest);
}


.publication-filters,
.filters,
.filter-bar {
  border-color: var(--line);
}


.publication-filter,
.filter-btn,
.filters button,
.filter-bar button {
  font-family:
    "DM Mono",
    monospace !important;

  background:
    transparent !important;

  color:
    var(--muted) !important;

  border-color:
    var(--line) !important;
}


.publication-filter:hover,
.publication-filter.active,
.filter-btn:hover,
.filter-btn.active,
.filters button:hover,
.filters button.active,
.filter-bar button:hover,
.filter-bar button.active {
  background:
    var(--forest) !important;

  color:
    #f7f3ea !important;

  border-color:
    var(--forest) !important;
}


.full-publication {
  border-color:
    var(--line) !important;
}


.full-publication:hover {
  background:
    var(--paper) !important;
}


.full-pub-top {
  color: var(--oxblood);
}


.full-publication h2 {
  font-weight: 500;
}


.full-pub-links a,
.bibtex-link {
  color:
    var(--forest) !important;
}


.news,
.news-section {
  background: var(--paper);
}


.news-item,
.news-card {
  border-color: var(--line);
}


.news-date {
  color: var(--oxblood);

  font-family:
    "DM Mono",
    monospace;
}


.news-archive-toggle,
.older-news-toggle,
.show-older-news,
.news-toggle {
  background:
    transparent !important;

  color:
    var(--forest) !important;

  border-color:
    var(--forest) !important;

  font-family:
    "DM Mono",
    monospace !important;
}


.news-archive-toggle:hover,
.older-news-toggle:hover,
.show-older-news:hover,
.news-toggle:hover {
  background:
    var(--forest) !important;

  color:
    #f7f3ea !important;
}


.cv-category {
  border-color:
    var(--line) !important;
}


.cv-category-heading span,
.cv-entry-date {
  color:
    var(--oxblood) !important;
}


.cv-category-heading h2,
.cv-entry-content h3 {
  font-weight:
    500 !important;
}


.cv-method-grid span {
  background:
    transparent !important;

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

  color:
    var(--forest) !important;

  font-family:
    "DM Mono",
    monospace !important;
}


.bibtex-modal {
  background: #101612d6;
}


.bibtex-box {
  background: var(--paper);

  border-color: var(--forest);

  box-shadow:
    10px 12px 0 #17382b38;
}


.bibtex-copy {
  background: var(--forest);

  color: #fff;
}


::selection {
  background: var(--oxblood);

  color: #fff;
}


a:focus-visible,
button:focus-visible {
  outline:
    2px solid var(--oxblood);

  outline-offset: 3px;
}


@media (max-width: 800px) {

  .sidebar {
    background: var(--forest);
  }


  .portrait-note {
    transform: none;

    box-shadow:
      5px 6px 0 #17382b24;
  }

}


/* ==================================
   SAGE CONTACT READABILITY FIX
================================== */

.contact {
  background:
    #aeb9aa !important;

  color:
    #17382b !important;
}


.contact .contact-heading,
.contact .contact-heading *,
.contact > p,
.contact .contact-copy,
.contact .contact-copy p {
  color:
    #17382b !important;
}


.contact .contact-heading em {
  color:
    #6f3038 !important;
}


.contact .contact-card,
.contact .contact-card *,
.contact .contact-card p,
.contact .contact-card span,
.contact .contact-card h3 {
  color:
    #17382b !important;
}


.contact .contact-card {
  border-color:
    #66786a !important;
}


.contact .contact-card:hover {
  background:
    #17382b !important;

  border-color:
    #17382b !important;
}


.contact .contact-card:hover,
.contact .contact-card:hover *,
.contact .contact-card:hover p,
.contact .contact-card:hover span,
.contact .contact-card:hover h3 {
  color:
    #f7f3ea !important;
}


/* FINAL CONTACT FOOTER COLOR */

.contact .contact-bottom,
.contact .contact-bottom * {
  color:
    var(--oxblood) !important;
}

/* ==================================
   RESEARCH PAGE HERO
================================== */

.research-page-hero .subpage-meta {
  color: var(--burgundy);
}

.research-page-hero .subpage-title .hello {
  color: var(--burgundy);
}

.research-page-hero .subpage-title h1 em {
  color: var(--burgundy);
}

.research-page-hero .mini-heading {
  color: var(--burgundy);
}

/* ==================================
   ACCESSIBILITY + NAVIGATION UPDATES
================================== */

/* Keep the current page visibly selected at every scroll position. */
.sidebar nav a.active,
.sidebar nav a.active:hover {
  color: #fffaf0;
  font-style: italic;
  transform: translateX(5px);
}

/* Portrait uses the original image colors. */
.portrait,
.portrait-area:hover .portrait {
  filter: none !important;
}

.theme-toggle {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 2px 10px #0000000c;
}
.theme-toggle:hover { border-color: var(--oxblood); color: var(--oxblood); }
.theme-toggle-icon { font-size: 13px; line-height: 1; }

.back-to-top-wrap {
  display: flex;
  justify-content: flex-end;
  padding: 34px 7vw 42px;
  border-top: 1px solid var(--line);
}
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--forest);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
}
.back-to-top span { font-family: Georgia, serif; font-size: 18px; transition: transform .2s ease; }
.back-to-top:hover span { transform: translateY(-4px); }

.publication-search-wrap {
  width: min(620px, 100%);
  margin: 0 0 26px;
}
.publication-search-wrap > label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .1em;
}
.publication-search-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.publication-search-box > span { color: var(--oxblood); font-size: 18px; }
.publication-search-box input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 14px "Inter", Arial, sans-serif;
}
.publication-search-box input::placeholder { color: var(--muted); opacity: .75; }
.publication-search-box:focus-within { border-color: var(--oxblood); box-shadow: 0 0 0 2px color-mix(in srgb, var(--oxblood) 12%, transparent); }
#publication-search-clear { border: 0; background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; }
.publication-search-status { min-height: 16px; margin: 6px 0 0; color: var(--muted); font: 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .06em; }

.cv-jump-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 13px 7vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  backdrop-filter: blur(10px);
}
.cv-jump-nav > span { flex: 0 0 auto; color: var(--muted); font: 9px "DM Mono", monospace; letter-spacing: .1em; }
.cv-jump-nav > div { display: flex; flex-wrap: wrap; gap: 7px; }
.cv-jump-nav a {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest);
  font: 9px "DM Mono", monospace;
  letter-spacing: .03em;
  text-decoration: none;
  transition: .2s ease;
}
.cv-jump-nav a:hover { border-color: var(--oxblood); color: var(--oxblood); transform: translateY(-1px); }
.cv-category { scroll-margin-top: 70px; }

/* Dark mode: light remains the default and this palette is only applied after toggling. */
html[data-theme="dark"] {
  --cream: #171b18;
  --cream-dark: #222822;
  --ink: #eee9de;
  --muted: #aaa99f;
  --burgundy: #c18489;
  --burgundy-dark: #9db8a5;
  --pink: #66766b;
  --pink-light: #29342d;
  --line: #3b433d;
  --forest: #a9c5b0;
  --oxblood: #d2959b;
  --paper: #202521;
}
html[data-theme="dark"] body,
html[data-theme="dark"] .hero { background: var(--cream); color: var(--ink); }
html[data-theme="dark"] .sidebar { background: #10251c; }
html[data-theme="dark"] .hero-statement { color: var(--ink); }
html[data-theme="dark"] .cv-jump-nav { background: color-mix(in srgb, var(--cream) 94%, transparent); }
html[data-theme="dark"] .theme-toggle { box-shadow: 0 2px 10px #0004; }
html[data-theme="dark"] .publication-search-box input { color-scheme: dark; }

@media (max-width: 760px) {
  .theme-toggle { top: 14px; right: 14px; }
  .theme-toggle-label { display: none; }
  .cv-jump-nav { align-items: flex-start; padding: 12px 20px; overflow-x: auto; }
  .cv-jump-nav > div { flex-wrap: nowrap; }
  .cv-jump-nav a { white-space: nowrap; }
  .back-to-top-wrap { padding-left: 20px; padding-right: 20px; }
}

/* ==================================
   POLISH: FLOATING TOP, THEME SWITCH,
   PUBLICATION CONTROLS + READABILITY
================================== */
.back-to-top-wrap {
  position: fixed;
  right: 22px;
  bottom: 20px;
  z-index: 150;
  display: block;
  padding: 0;
  border: 0;
  pointer-events: none;
}

.back-to-top {
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, var(--forest) 35%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--forest);
  font-size: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);

  transition:
    opacity .2s ease,
    transform .2s ease,
    visibility .2s ease,
    border-color .2s ease;
}

.back-to-top.visible {
  pointer-events: auto;
  opacity: .78;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top.visible:hover {
  opacity: 1;
  transform: translateY(-2px);
  border-color: var(--forest);
}

.back-to-top span {
  font-size: 15px;
}

/* Theme control now lives quietly in the sidebar. */
.theme-toggle {
  position: static;
  width: max-content;
  z-index: auto;
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 6px;
  margin: 16px 0 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255,250,240,.62);
  box-shadow: none;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
}

.theme-toggle:hover { color: #fffaf0; }
.theme-toggle-label,
.theme-toggle-alt { transition: opacity .2s ease; }
.theme-toggle-alt { opacity: .52; }

.theme-switch {
  position: relative;
  width: 28px;
  height: 14px;
  border: 1px solid rgba(255,250,240,.35);
  border-radius: 999px;
}

.theme-switch > span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,250,240,.82);
  transition: transform .2s ease, background .2s ease;
}

html[data-theme="dark"] .theme-switch > span { transform: translateX(14px); }
html[data-theme="dark"] .theme-toggle-label { opacity: .52; }
html[data-theme="dark"] .theme-toggle-alt { opacity: 1; }
html[data-theme="dark"] .theme-toggle { box-shadow: none; }

/* Publication controls read in a clear sequence: Find → Search → Filter. */
.publication-search-wrap { margin-bottom: 20px; }
.publication-search-wrap > label,
.publication-filter-label {
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.publication-filter-label { margin: 0 0 9px; }
.publication-search-wrap > label { margin-bottom: 9px; }

/* Readability pass: preserve the editorial hierarchy while avoiding tiny UI copy. */
.sidebar-status { font-size: 10px; }
.sidebar nav a span { font-size: 9px; }
.sidebar-bottom > p { font-size: 9px; }
.section-marker,
.mini-heading,
.card-label,
.question-number,
.pub-number,
.pub-meta,
.portrait-note span,
.full-pub-top,
.bibtex-label,
.bibtex-copy,
.cv-entry-date,
.cv-category-heading span { font-size: max(9px, 0.56rem); }

.social-links a,
.publication-search-status,
.cv-jump-nav > span,
.cv-jump-nav a { font-size: 10px; }

.contact-card-label,
.full-pub-links,
.cv-entry-meta { font-size: 9px; }

@media (max-width: 760px) {
  .theme-toggle {
    position: static;
    margin-bottom: 14px;
  }
  .theme-toggle-label { display: inline; }
  .back-to-top-wrap { right: 14px; bottom: 14px; padding: 0; }
  .back-to-top { padding: 6px 9px; }
}

/* ==================================
   DARK MODE CONTRAST PASS
   Keep editorial accent sections dark enough for light text.
================================== */
html[data-theme="dark"] .research {
  background: #20362c;
  color: #f3efe6;
}
html[data-theme="dark"] .research .section-marker.light,
html[data-theme="dark"] .research .research-title h2,
html[data-theme="dark"] .research .card-content h3 {
  color: #f3efe6;
}
html[data-theme="dark"] .research .section-marker.light div {
  background: rgba(243,239,230,.42);
}
html[data-theme="dark"] .research .research-title h2 em {
  color: #c8d8cd;
}
html[data-theme="dark"] .research .research-title > p,
html[data-theme="dark"] .research .card-content > p {
  color: #d4ddd7;
}
html[data-theme="dark"] .research .question-number,
html[data-theme="dark"] .research .card-label,
html[data-theme="dark"] .research .card-bottom {
  color: #c5d3c9;
}
html[data-theme="dark"] .research .symbol {
  color: #e0a5a8;
}
html[data-theme="dark"] .research-grid,
html[data-theme="dark"] .research-card {
  border-color: rgba(243,239,230,.24);
}
html[data-theme="dark"] .research .card-bottom {
  border-top-color: rgba(243,239,230,.18);
}

/* Make muted copy comfortably readable throughout dark mode. */
html[data-theme="dark"] .intro-columns p,
html[data-theme="dark"] .publications p,
html[data-theme="dark"] .cv-page p,
html[data-theme="dark"] .research-page p,
html[data-theme="dark"] .subpage-meta,
html[data-theme="dark"] .pub-meta,
html[data-theme="dark"] .cv-entry-date {
  color: #bfc2bb;
}

/* Form controls should remain clearly legible against dark surfaces. */
html[data-theme="dark"] .publication-search-box input {
  background: #202521;
  color: #eee9de;
  border-color: #505a52;
}
html[data-theme="dark"] .publication-search-box input::placeholder {
  color: #9fa59f;
}

/* ==================================
   DARK MODE SURFACE CONSISTENCY
   Light accent panels that intentionally do not darken keep
   their light-mode text palette too, avoiding low contrast.
================================== */
html[data-theme="dark"] .personal {
  background: #c8bdab;
  color: #171915;
}
html[data-theme="dark"] .personal-number,
html[data-theme="dark"] .personal h2 em {
  color: #6f3038;
}
html[data-theme="dark"] .personal-copy,
html[data-theme="dark"] .personal-copy p {
  color: #171915;
}
html[data-theme="dark"] .personal-copy a {
  color: #17382b;
  border-color: #17382b;
}

/* The sage contact panel also stays a light accent surface in dark mode,
   so keep its complete light-mode palette rather than swapping in pale text. */
html[data-theme="dark"] .contact .contact-bottom,
html[data-theme="dark"] .contact .contact-bottom * {
  color: #6f3038 !important;
}

/* ==================================
   MOBILE THEME CONTROL
   Reuse the sidebar switch in the compact mobile header without
   exposing the desktop social/footer content.
================================== */
@media (max-width: 850px) {
  .sidebar-bottom {
    display: block;
    margin-left: auto;
  }

  .sidebar-bottom .social-links,
  .sidebar-bottom > p {
    display: none;
  }

  .sidebar-bottom .theme-toggle {
    display: grid;
    margin: 0;
    font-size: 8px;
    gap: 5px;
    color: rgba(255,250,240,.72);
  }

  .sidebar-bottom .theme-switch {
    width: 26px;
    height: 14px;
  }

  html[data-theme="dark"] .sidebar-bottom .theme-switch > span {
    transform: translateX(12px);
  }
}

@media (max-width: 430px) {
  .sidebar-bottom .theme-toggle-label,
  .sidebar-bottom .theme-toggle-alt {
    display: none;
  }

  .sidebar-bottom .theme-toggle {
    gap: 0;
  }
}

/* Keep the primary "Get in touch" card identical to its light-mode color. */
html[data-theme="dark"] .contact .contact-card-primary {
  background: #dfbcc2 !important;
  border-color: #dfbcc2 !important;
  color: #211a19 !important;
}

html[data-theme="dark"] .contact .contact-card-primary * {
  color: #211a19 !important;
}

html[data-theme="dark"] .contact .contact-card-primary:hover {
  background: #f3eee5 !important;
  border-color: #f3eee5 !important;
  color: #762d3c !important;
}

html[data-theme="dark"] .contact .contact-card-primary:hover * {
  color: #762d3c !important;
}

/* Final dark-mode contact-card parity: match the light-mode contact treatment exactly. */
html[data-theme="dark"] .contact .contact-card-primary {
  background: #aeb9aa !important;
  border-color: #66786a !important;
  color: #17382b !important;
}

html[data-theme="dark"] .contact .contact-card-primary * {
  color: #17382b !important;
}

html[data-theme="dark"] .contact .contact-card-primary:hover {
  background: #17382b !important;
  border-color: #17382b !important;
  color: #f7f3ea !important;
}

html[data-theme="dark"] .contact .contact-card-primary:hover * {
  color: #f7f3ea !important;
}


/* ==================================
   FINAL MOBILE HEADER + THEME BUTTON
================================== */

@media (max-width: 850px) {

  /* Give the header a clean three-part layout:
     KC | navigation | theme button */
  .sidebar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;

    padding: 14px 18px;
  }


  /* Remove desktop-only status */
  .sidebar-status {
    display: none;
  }


  /* Navigation gets its own centered area */
  .sidebar nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    gap: clamp(10px, 3vw, 22px);

    min-width: 0;
    margin: 0;
  }


  .sidebar nav a {
    display: block;

    padding: 0;

    font-size: 10px;
    white-space: nowrap;

    /* Mobile only: keep nav labels visually stable. */
    font-style: normal;
    transform: none;
  }


  /* On touch screens, the active/hover state should change color only.
     Do not italicize or shift the current page label. */
  .sidebar nav a:hover,
  .sidebar nav a.active,
  .sidebar nav a.active:hover {
    font-style: normal;
    transform: none;
  }


  .sidebar nav a span {
    display: none;
  }


  /* Reuse sidebar-bottom only to hold theme button */
  .sidebar-bottom {
    display: block;

    margin: 0;
    padding: 0;
  }


  .sidebar-bottom .social-links,
  .sidebar-bottom > p {
    display: none;
  }


  /* Compact icon-only theme button */
  .sidebar-bottom .theme-toggle {
    width: 36px;
    height: 36px;

    min-width: 36px;

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

    margin: 0;
    padding: 0;

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

    background: transparent;
    color: var(--ink);

    cursor: pointer;
  }


  /* Hide desktop Light / switch / Dark UI */
  .sidebar-bottom .theme-toggle-label,
  .sidebar-bottom .theme-toggle-alt,
  .sidebar-bottom .theme-switch {
    display: none;
  }


  /* Moon while site is in light mode */
  .sidebar-bottom .theme-toggle::after {
    content: "☾";

    font-size: 19px;
    line-height: 1;
  }


  /* Sun while site is in dark mode */
  html[data-theme="dark"]
  .sidebar-bottom .theme-toggle::after {
    content: "☀";
  }

}


/* Extra breathing room on small phones */
@media (max-width: 500px) {

  .sidebar {
    gap: 10px;
    padding-left: 14px;
    padding-right: 14px;
  }


  .sidebar nav {
    gap: clamp(7px, 2.2vw, 12px);
  }


  .sidebar nav a {
    font-size: 9px;
  }


  .sidebar-bottom .theme-toggle {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

}

/* ==================================
   ELSEWHERE / AFTER HOURS
   Warm, scruffy, after-midnight edition
================================== */


/* ----------------------------------
   PALETTE
---------------------------------- */

body.elsewhere-page {
  --ah-paper: #eee5d5;
  --ah-paper-dark: #ddd0ba;
  --ah-ink: #211b17;
  --ah-soft-ink: #62584f;
  --ah-red: #8b302d;
  --ah-red-dark: #63211f;
  --ah-tobacco: #8b6849;
  --ah-black: #171411;
  --ah-line: #3c342d;

  margin: 0;

  width: 100%;
  max-width: 100%;

  overflow-x: hidden;

  background: var(--ah-paper);
  color: var(--ah-ink);

  font-family:
    "Space Mono",
    "Courier New",
    monospace;
}


body.elsewhere-page * {
  box-sizing: border-box;
  min-width: 0;
}


.afterhours {
  /* Override the global main { margin-left: var(--sidebar-width); } rule.
     Elsewhere has no sidebar, so that desktop margin was making this
     100%-wide page 220px wider than the viewport and clipping the right side. */
  margin-left: 0;

  width: 100%;
  max-width: 100%;

  overflow: hidden;

  background:
    var(--ah-paper);
}


/* ----------------------------------
   HEADER
---------------------------------- */

.afterhours-header {
  width: 100%;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto
    minmax(0, 1fr);

  align-items: center;

  gap: 20px;

  padding:
    16px
    clamp(18px, 3vw, 48px);

  border-bottom:
    2px solid var(--ah-ink);

  background:
    #e5d8c4;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: .08em;

  text-transform: uppercase;
}


.afterhours-exit {
  justify-self: start;

  color: var(--ah-ink);

  text-decoration: none;
}


.afterhours-exit:hover {
  color: var(--ah-red);

  text-decoration:
    line-through;
}


.afterhours-logo {
  font-family:
    "Archivo Black",
    Arial,
    sans-serif;

  font-size: 12px;

  letter-spacing: -.03em;
}


.afterhours-closed {
  justify-self: end;

  display: flex;
  align-items: center;

  gap: 7px;

  color: #75695f;

  white-space: nowrap;
}


.afterhours-closed span {
  width: 7px;
  height: 7px;

  flex:
    0
    0
    7px;

  border-radius: 50%;

  background: #8c8178;

  box-shadow:
    0 0 0 3px
    rgba(140,129,120,.12);
}


/* ==================================
   COVER
================================== */

.afterhours-cover {
  position: relative;

  width: 100%;
  min-height: min(780px, 90vh);

  padding:
    clamp(50px, 7vw, 95px)
    clamp(18px, 4vw, 55px)
    55px;

  border-bottom:
    3px solid #0a0a0a;

  overflow: hidden;
}


.cover-index {
  position: absolute;

  top: 22px;
  left:
    clamp(18px, 4vw, 55px);

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.1em;
}


.cover-warning {
  position: absolute;

  top: 25px;
  right:
    clamp(18px, 4vw, 55px);

  font-size: 8px;

  line-height: 1.4;

  text-align: right;
}


/* ==================================
   MAIN TITLE COMPOSITION
================================== */

.cover-title {
  width: min(100%, 1180px);

  margin:
    50px
    auto
    0;

  font-family:
    "Archivo Black",
    Arial,
    sans-serif;

  font-size:
    clamp(78px, 11vw, 185px);

  line-height: 0.72;

  letter-spacing: -0.075em;

  text-transform: uppercase;
}


.cover-title span {
  display: block;
}


.cover-title-top {
  width: 100%;
  padding-left: 5%;
  text-align: left;
}


.cover-title-middle {
  width: 100%;
  padding-left: 15%;
  color: #96342f;
  text-align: left;
}


.cover-title-bottom {
  width: 100%;
  padding-right: 2%;
  text-align: right;
}


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

.cover-caption {
  width: min(440px, 70%);

  margin:
    65px
    auto
    0;

  transform:
    translateX(-24%);

  color: #55473c;

  font-family:
    "Newsreader",
    Georgia,
    serif;

  font-size:
    clamp(15px, 1.3vw, 19px);

  font-style: italic;

  line-height: 1.55;
}


/* ==================================
   STICKER
================================== */

.cover-sticker {
  position: absolute;

  right:
    max(
      clamp(25px, 8vw, 120px),
      calc((100vw - 1280px) / 2)
    );

  bottom: 95px;

  width: 105px;
  height: 105px;

  display: flex;

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

  background: #96342f;
  color: #fff8ec;

  font-family:
    "Archivo Black",
    sans-serif;

  font-size: 13px;

  line-height: 1.05;

  text-align: center;

  box-shadow:
    7px 8px 0 rgba(73, 42, 30, .13);

  transform:
    rotate(7deg);
}


/* ==================================
   FOOTNOTE
================================== */

.cover-footnote {
  position: absolute;

  left:
    clamp(18px, 4vw, 55px);

  bottom: 20px;

  max-width:
    calc(100% - 36px);

  margin: 0;

  color: #7d6e61;

  font-size: 7px;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}


/* ----------------------------------
   TICKER
---------------------------------- */

.afterhours-ticker {
  width: 100%;

  overflow: hidden;

  padding:
    11px
    0;

  background:
    var(--ah-red-dark);

  color:
    #f4eadb;
}


.afterhours-ticker-track {
  width: max-content;

  white-space: nowrap;

  font-family:
    "Space Mono",
    monospace;

  font-size: 10px;

  letter-spacing: .05em;

  animation:
    afterhoursTicker
    38s
    linear
    infinite;
}


@keyframes afterhoursTicker {

  from {
    transform:
      translateX(0);
  }

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

}


/* ----------------------------------
   CURRENTLY
---------------------------------- */

.afterhours-current {
  position: relative;

  width: 100%;
  max-width: 100%;

  padding:
    clamp(80px, 9vw, 140px)
    clamp(20px, 6vw, 90px)
    clamp(90px, 10vw, 150px);

  overflow: hidden;

  border-bottom:
    2px solid var(--ah-ink);

  background:
    #d7c7ad;
}


.current-label {
  margin-bottom:
    clamp(30px, 4vw, 55px);

  color:
    var(--ah-red-dark);

  font-size: 8px;
  font-weight: 700;

  letter-spacing: .12em;

  text-transform: uppercase;
}


.afterhours-current h2 {
  width: 100%;
  max-width: 1200px;

  margin: 0;

  font-family:
    "Archivo Black",
    sans-serif;

  font-size:
    clamp(58px, 10vw, 145px);

  line-height: .8;

  letter-spacing: -.06em;

  overflow-wrap: anywhere;
}


.afterhours-current h2 span {
  color:
    var(--ah-red);
}


.current-list {
  width:
    min(540px, 60%);

  margin:
    70px
    0
    0
    auto;

  border-top:
    2px solid var(--ah-ink);
}


.current-list p {
  margin: 0;

  padding:
    14px
    0;

  border-bottom:
    1px solid
    rgba(33,27,23,.55);

  font-size: 10px;

  line-height: 1.6;
}


.current-note {
  position: absolute;

  left:
    clamp(20px, 6vw, 90px);

  bottom: 65px;

  max-width: 200px;

  padding:
    9px
    12px;

  background:
    var(--ah-red);

  color:
    #f7eee0;

  font-family:
    Georgia,
    serif;

  font-size: 11px;

  font-style: italic;

  line-height: 1.35;

  transform:
    rotate(-2deg);

  box-shadow:
    4px
    5px
    0
    rgba(71,45,32,.15);
}


/* ----------------------------------
   ENTRIES
---------------------------------- */

.afterhours-entry {
  width: 100%;
  max-width: 100%;

  padding:
    24px
    clamp(20px, 6vw, 90px)
    clamp(85px, 10vw, 145px);

  overflow: hidden;

  border-bottom:
    2px solid var(--ah-ink);

  background:
    #f1e8d8;
}


.entry-header {
  width: 100%;

  display: flex;

  justify-content:
    space-between;

  gap: 20px;

  padding-bottom: 14px;

  border-bottom:
    1px solid
    var(--ah-ink);

  color:
    var(--ah-soft-ink);

  font-size: 8px;
  font-weight: 700;

  letter-spacing: .1em;

  text-transform: uppercase;
}


.entry-layout {
  width: 100%;
  max-width: 1300px;

  display: grid;

  grid-template-columns:
    clamp(60px, 8vw, 120px)
    minmax(0, 1fr);

  gap:
    clamp(25px, 5vw, 75px);

  padding-top:
    clamp(55px, 7vw, 100px);
}


.entry-number {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

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

  font-style: italic;

  line-height: .8;

  color:
    var(--ah-red);
}


.entry-main {
  width: 100%;
  max-width: 100%;

  min-width: 0;
}


.entry-main h2 {
  width: 100%;
  max-width: 950px;

  margin: 0;

  font-family:
    "Archivo Black",
    sans-serif;

  font-size:
    clamp(52px, 8vw, 115px);

  line-height: .82;

  letter-spacing: -.055em;

  overflow-wrap: anywhere;
}


.entry-main h2 span {
  display: block;

  color:
    var(--ah-red);
}


.entry-deck {
  width:
    min(590px, 90%);

  margin:
    45px
    0
    0;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(16px, 1.7vw, 21px);

  font-style: italic;

  line-height: 1.55;
}


.entry-copy {
  width:
    min(510px, 78%);

  margin:
    60px
    0
    0
    auto;

  color:
    #51483f;

  font-size: 11px;

  line-height: 1.85;
}


.entry-copy p {
  margin:
    0
    0
    1.4em;
}


.entry-scrawl {
  width: fit-content;
  max-width: 90%;

  margin:
    55px
    0
    0
    8%;

  padding:
    9px
    12px;

  background:
    var(--ah-tobacco);

  color:
    #fff7e9;

  font-family:
    Georgia,
    serif;

  font-size: 12px;

  font-style: italic;

  transform:
    rotate(-2deg);
}


.entry-bottom {
  width: 100%;

  display: flex;

  justify-content:
    space-between;

  gap: 20px;

  margin-top:
    clamp(60px, 8vw, 110px);

  padding-top: 12px;

  border-top:
    1px solid
    var(--ah-ink);

  color:
    var(--ah-soft-ink);

  font-size: 7px;

  letter-spacing: .08em;

  text-transform: uppercase;
}


/* ----------------------------------
   DARK ENTRY
---------------------------------- */

.inverse-entry {
  background:
    #251d18;

  color:
    #eee2d1;

  border-bottom-color:
    #b7a58f;
}


.inverse-entry .entry-header,
.inverse-entry .entry-bottom {
  color:
    #c6b7a5;

  border-color:
    #827262;
}


.inverse-entry .entry-copy {
  color:
    #cfc0af;
}


.inverse-entry .entry-number,
.inverse-entry .entry-main h2 span {
  color:
    #c36a62;
}


.inverse-entry .entry-scrawl {
  background:
    #eee2d1;

  color:
    #251d18;
}


/* ----------------------------------
   INTERMISSION
---------------------------------- */

.afterhours-break {
  width: 100%;
  max-width: 100%;

  padding:
    clamp(100px, 12vw, 185px)
    clamp(18px, 4vw, 55px);

  overflow: hidden;

  text-align: center;

  border-bottom:
    2px solid
    var(--ah-ink);

  background:
    #b69a79;
}


.afterhours-break > div,
.afterhours-break > span {
  font-size: 8px;

  letter-spacing: .13em;

  text-transform: uppercase;
}


.afterhours-break p {
  width: 100%;
  max-width: 1300px;

  margin:
    28px
    auto
    16px;

  font-family:
    "Archivo Black",
    sans-serif;

  font-size:
    clamp(62px, 12vw, 170px);

  line-height: .82;

  letter-spacing: -.065em;

  color:
    #702724;

  overflow-wrap: anywhere;
}


/* ----------------------------------
   FOOTER
---------------------------------- */

.afterhours-footer {
  width: 100%;
  max-width: 100%;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(200px, 290px);

  align-items: end;

  gap:
    clamp(35px, 6vw, 80px);

  padding:
    clamp(75px, 9vw, 125px)
    clamp(20px, 6vw, 90px)
    50px;

  overflow: hidden;

  background:
    var(--ah-red-dark);

  color:
    #f5ead9;
}


.footer-big {
  width: 100%;
  max-width: 100%;

  margin: 0;

  font-family:
    "Archivo Black",
    sans-serif;

  font-size:
    clamp(62px, 9vw, 125px);

  line-height: .75;

  letter-spacing: -.06em;

  overflow-wrap: anywhere;
}


.footer-right {
  width: 100%;
  max-width: 290px;

  font-size: 8px;

  line-height: 1.8;

  letter-spacing: .06em;
}


.footer-right p {
  margin:
    0
    0
    25px;
}


.footer-right a {
  color:
    #f5ead9;

  text-decoration:
    underline;

  text-underline-offset:
    4px;
}


/* ==================================
   TABLET / NARROW DESKTOP

   Prevent the editorial title layout
   from becoming too wide at intermediate
   browser sizes.
================================== */

@media (min-width: 701px) and (max-width: 1100px) {

  .cover-title {
    width: min(100%, 1000px);

    font-size:
      clamp(78px, 13vw, 135px);
  }


  .afterhours-current {
    padding-left: 35px;
    padding-right: 35px;
  }


  .afterhours-current h2 {
    font-size:
      clamp(62px, 9vw, 100px);
  }


  .afterhours-entry {
    padding-left: 35px;
    padding-right: 35px;
  }


  .entry-layout {
    grid-template-columns:
      70px
      minmax(0, 1fr);

    gap: 35px;
  }


  .entry-main h2 {
    font-size:
      clamp(54px, 7.5vw, 82px);
  }


  .entry-copy {
    width:
      min(500px, 90%);
  }


  .afterhours-break p {
    font-size:
      clamp(65px, 11vw, 120px);
  }


  .footer-big {
    font-size:
      clamp(60px, 8vw, 90px);
  }

}


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

@media (max-width: 700px) {

  .afterhours-header {
    grid-template-columns:
      auto
      1fr;

    gap: 10px;

    padding:
      14px
      15px;
  }


  .afterhours-logo {
    display: none;
  }


  .afterhours-closed {
    justify-self: end;

    font-size: 7px;
  }


  .afterhours-cover {
    min-height: 620px;

    padding:
      65px
      15px
      45px;
  }


  .cover-index {
    left: 15px;

    font-size: 6px;
  }


  .cover-warning {
    right: 15px;

    max-width: 145px;

    font-size: 6px;
  }


  .cover-title {
    margin-top: 55px;

    font-size:
      clamp(67px, 22vw, 100px);

    line-height: .75;

    letter-spacing: -.07em;
  }


.cover-title-top {
  padding-left: 0;
}


.cover-title-middle {
  margin-left: 0;
  padding-left: 10%;
}


.cover-title-bottom {
  padding-right: 0;
}

  .cover-caption {
    width: 65%;

    margin:
      50px
      0
      0
      5%;

    font-size: 12px;

    line-height: 1.5;
  }


  .cover-sticker {
    right: 17px;
    bottom: 72px;

    width: 70px;
    height: 70px;

    padding: 8px;

    font-size: 8px;
  }


  .cover-footnote {
    left: 15px;
    bottom: 14px;

    max-width:
      calc(100% - 30px);

    font-size: 5px;
  }


  .afterhours-current {
    padding:
      75px
      15px
      85px;
  }


  .afterhours-current h2 {
    /* On narrow viewports, wrap only BETWEEN words. Never split words
       such as “CURRENTLY”, “SEPTEMBER”, or “PERMANENT”. */
    display: block;
    max-width: 100%;

    font-size:
      clamp(38px, 12vw, 72px);

    line-height: .82;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  /* Remove the desktop-forced line breaks on narrow screens so the
     browser can choose the safest wrap points between whole words. */
  .afterhours-current h2 br {
    display: none;
  }


  .current-list {
    width: 100%;

    margin-top: 55px;
  }


  .current-list p {
    font-size: 8px;
  }


  .current-note {
    position: static;

    width: fit-content;

    margin-top: 35px;
  }


  .afterhours-entry {
    padding:
      18px
      15px
      75px;
  }


  .entry-layout {
    grid-template-columns:
      1fr;

    gap: 28px;

    padding-top: 50px;
  }


  .entry-number {
    font-size: 48px;
  }


  .entry-main h2 {
    font-size:
      clamp(46px, 14vw, 65px);

    line-height: .83;
  }


  .entry-deck {
    width: 100%;

    margin-top: 35px;

    font-size: 15px;
  }


  .entry-copy {
    width:
      calc(100% - 20px);

    margin:
      42px
      0
      0
      20px;

    font-size: 10px;
  }


  .entry-scrawl {
    max-width:
      calc(100% - 10px);

    margin:
      40px
      0
      0
      5px;

    font-size: 10px;
  }


  .entry-bottom {
    display: block;

    font-size: 6px;

    line-height: 1.7;
  }


  .entry-bottom span {
    display: block;

    margin-top: 5px;
  }


  .afterhours-break {
    padding:
      95px
      15px;
  }


  .afterhours-break p {
    font-size:
      clamp(58px, 18vw, 82px);
  }


  .afterhours-footer {
    display: block;

    padding:
      70px
      15px
      45px;
  }


  .footer-big {
    font-size:
      clamp(58px, 18vw, 82px);
  }


  .footer-right {
    margin-top: 65px;
  }

}


/* ==================================
   VERY SMALL PHONES
================================== */

@media (max-width: 380px) {

  .cover-title {
    font-size: 63px;
  }


  .entry-main h2 {
    font-size: 44px;
  }


  .afterhours-current h2 {
    font-size: clamp(27px, 9.2vw, 35px);
  }


  .afterhours-break p {
    font-size: 55px;
  }


  .footer-big {
    font-size: 55px;
  }

}


/* ==================================
   REDUCED MOTION
================================== */

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

  .afterhours-ticker-track {
    animation: none;
  }

}


/* ==================================
   ELSEWHERE — WARMER PALETTE
================================== */

body.elsewhere-page {
  background: #f1e6d2;
  color: #201915;
}


.afterhours-header {
  background: #e8d7bb;

  border-color: #35261f;
}


.afterhours-cover {
  background: #f3e9d8;

  border-color: #35261f;
}


.cover-title {
  color: #211915;
}


.cover-title-middle {
  color: #96372f;
}


.cover-caption {
  color: #57473c;
}


.cover-sticker {
  background: #96372f;
  color: #fff7e9;
}


.afterhours-ticker {
  background: #762a28;
  color: #fff4e4;
}


.afterhours-current {
  background: #dcc9aa;

  border-color: #35261f;
}


.afterhours-current h2 span,
.entry-number,
.entry-main h2 span,
.afterhours-break p {
  color: #96372f;
}


.current-list,
.current-list p {
  border-color: #665346;
}


.current-note {
  background: #96372f;
  color: #fff7e9;
}


.afterhours-entry {
  background: #f3e9d8;

  border-color: #35261f;
}


.inverse-entry {
  background: #34251f;
  color: #fff3df;

  border-color: #34251f;
}


.afterhours-break {
  background: #e4d3b8;

  border-color: #35261f;
}


.afterhours-footer {
  background: #8f332f;
  color: #fff3df;
}

/* ==================================
   ELSEWHERE — VOLUME ARCHIVE
================================== */

.volume-archive {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;

  padding:
    24px
    clamp(18px, 4vw, 55px);

  border-bottom: 2px solid #35261f;

  background: #e8d7bb;
  color: #211915;

  font-family:
    "Space Mono",
    monospace;

  text-transform: uppercase;
}


.volume-archive-label {
  justify-self: start;

  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
}


.volume-archive-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}


.volume-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;

  padding: 7px 13px;

  color: #211915;

  text-decoration: none;

  border: 1px solid transparent;

  transition:
    color .2s ease,
    border-color .2s ease,
    background .2s ease;
}


.volume-link:hover {
  color: #96372f;
  border-color: #96372f;
}


.volume-link.active {
  background: #96372f;
  color: #fff7e9;
  border-color: #96372f;
}


.volume-number {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
}


.volume-date {
  font-size: 7px;
  letter-spacing: .1em;
  opacity: .8;
}


.volume-arrow {
  font-size: 15px;
}


.volume-arrow-disabled {
  opacity: .25;
}


.volume-archive-current {
  justify-self: end;

  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;

  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
}


.volume-archive-current span {
  color: #7d6e61;

  font-size: 6px;
  letter-spacing: .12em;
}


/* ==================================
   ELSEWHERE — VOLUME INTRO
================================== */

.volume-intro {
  width: 100%;

  padding:
    clamp(65px, 8vw, 110px)
    clamp(20px, 6vw, 90px)
    clamp(70px, 8vw, 115px);

  background: #f3e9d8;
  color: #211915;

  border-bottom: 2px solid #35261f;
}


.volume-intro-kicker {
  margin-bottom:
    clamp(35px, 5vw, 65px);

  color: #96372f;

  font-family:
    "Space Mono",
    monospace;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: .13em;

  text-transform: uppercase;
}


.volume-intro-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1.5fr)
    minmax(220px, .5fr);

  align-items: end;

  gap:
    clamp(35px, 7vw, 110px);
}


.volume-intro h2 {
  margin: 0;

  font-family:
    "Archivo Black",
    Arial,
    sans-serif;

  font-size:
    clamp(65px, 11vw, 165px);

  line-height: .76;

  letter-spacing: -.065em;

  text-transform: uppercase;
}


.volume-intro h2 span {
  display: block;

  color: #96372f;
}


.volume-intro p {
  max-width: 320px;

  margin: 0 0 5px;

  color: #57473c;

  font-family:
    "Newsreader",
    Georgia,
    serif;

  font-size:
    clamp(15px, 1.4vw, 19px);

  font-style: italic;

  line-height: 1.55;
}


/* ==================================
   ELSEWHERE — VOLUME MOBILE
================================== */

@media (max-width: 700px) {

  .volume-archive {
    grid-template-columns: 1fr auto;

    gap: 15px;

    padding:
      18px
      15px;
  }


  .volume-archive-label {
    font-size: 7px;
  }


  .volume-archive-links {
    justify-self: end;

    gap: 9px;
  }


  .volume-link {
    padding: 6px 9px;
  }


  .volume-number {
    font-size: 8px;
  }


  .volume-date {
    font-size: 6px;
  }


  .volume-arrow {
    font-size: 12px;
  }


  .volume-archive-current {
    display: none;
  }


  .volume-intro {
    padding:
      65px
      15px
      75px;
  }


  .volume-intro-kicker {
    margin-bottom: 35px;

    font-size: 7px;
  }


  .volume-intro-layout {
    grid-template-columns: 1fr;

    gap: 35px;
  }


  .volume-intro h2 {
    font-size:
      clamp(62px, 19vw, 88px);
  }


  .volume-intro p {
    width: 75%;

    margin-left: auto;

    font-size: 13px;
  }

}

/* ==================================
   SECRET ELSEWHERE ENTRANCE
   Small circle beside the homepage footer signoff.
================================== */

.contact-signoff {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-secret-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: .45;
  text-decoration: none;
}

.footer-secret-dot:hover,
.footer-secret-dot:focus-visible {
  opacity: .8;
}

/* ==================================
   ELSEWHERE MOBILE OVERFLOW FIX
================================== */

@media (max-width: 700px) {
  .cover-caption {
    width: min(78%, 290px);
    max-width: calc(100vw - 30px);
    margin-left: 0;
    overflow-wrap: break-word;
  }

  .volume-intro-layout,
  .volume-intro h2,
  .volume-intro p {
    min-width: 0;
    max-width: 100%;
  }

  .volume-intro h2 {
    font-size: clamp(48px, 16vw, 72px);
    line-height: .82;
    letter-spacing: -.055em;
    overflow-wrap: normal;
  }

  .volume-intro p {
    width: 82%;
  }
}

@media (max-width: 380px) {
  .volume-intro h2 {
    font-size: clamp(44px, 15vw, 58px);
  }
}

/* ==================================
   ELSEWHERE NARROW-VIEWPORT CAPTION FIX
   Keep the intro copy inside the cover when a desktop browser is narrowed.
================================== */

@media (max-width: 900px) {
  .cover-caption {
    width: min(440px, calc(100% - 30px));
    max-width: calc(100% - 30px);
    margin: 50px auto 0;
    transform: none;
    overflow-wrap: anywhere;
  }
}


/* ==================================
   SECRET ELSEWHERE DOT — RESPONSIVE
================================== */

/* Sidebar/desktop version: don't show the bottom dot */
.footer-secret-dot {
  display: none;
}

/* When the sidebar disappears, show the bottom dot */
@media (max-width: 850px) {
  .footer-secret-dot {
    display: inline-block;
  }
}
/* ==================================
   ELSEWHERE — SEPTEMBER PHONE FIX
   Let the month stay as a whole word, but size it to the available width.
================================== */
@media (max-width: 700px) {
  .volume-intro h2 {
    width: 100%;
    max-width: calc(100vw - 30px);
    font-size: clamp(40px, 14vw, 68px);
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
  }
}

@media (max-width: 360px) {
  .volume-intro h2 {
    font-size: 13.5vw;
  }
}

/* ==================================
   FINAL POLISH — ELSEWHERE COVER + MOBILE THEME ICON
================================== */

/* On wide screens, keep the oversized cover composition visually tight.
   Mobile/tablet spacing is intentionally left unchanged. */
@media (min-width: 1101px) {
  .cover-title-bottom {
    transform: translateY(-0.10em);
  }
}

/* The compact theme control sits on the dark mobile header, so the
   moon/sun needs to stay light rather than inheriting the page ink color. */
@media (max-width: 850px) {
  .sidebar-bottom .theme-toggle,
  .sidebar-bottom .theme-toggle:hover,
  .sidebar-bottom .theme-toggle:focus-visible {
    color: #fffaf0;
  }

  .sidebar-bottom .theme-toggle::after {
    color: #fffaf0;
  }
}

/* ==================================
   ELSEWHERE — WIDE COVER TITLE TUNE
   Keep the editorial mobile stack, but
   make the desktop title read as a tighter
   two-line lockup: “NOT AT” / “WORK”.
================================== */
@media (min-width: 1101px) {
  .cover-title {
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: center;
    align-items: end;
    column-gap: 0.13em;
    row-gap: 0;
    line-height: 0.78;
  }

  .cover-title-top,
  .cover-title-middle,
  .cover-title-bottom {
    width: auto;
    margin: 0;
    padding: 0;
  }

  .cover-title-top,
  .cover-title-middle {
    text-align: left;
  }

  .cover-title-bottom {
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 0.03em;
    text-align: center;
  }
}


/* ==================================
   ELSEWHERE — MID-WIDTH COVER TITLE
   At tablet / half-window widths, return to the original
   three-line editorial stack instead of squeezing the
   wide-screen two-line lockup.
================================== */
@media (min-width: 701px) and (max-width: 1100px) {
  .cover-title {
    display: block;
    line-height: 0.74;
  }

  .cover-title-top,
  .cover-title-middle,
  .cover-title-bottom {
    display: block;
    width: 100%;
    margin: 0;
  }

  .cover-title-top {
    padding-left: 5%;
    text-align: left;
  }

  .cover-title-middle {
    padding-left: 15%;
    text-align: left;
  }

  .cover-title-bottom {
    padding-right: 2%;
    text-align: right;
    transform: none;
  }
}

/* ==================================
   ELSEWHERE — COHESIVE COVER TITLE
   Keep NOT / AT / WORK as one composition at every width.
   The words may stay on separate lines, but their horizontal
   offsets remain close enough that no large mid-width gap appears.
================================== */
@media (min-width: 701px) {
  .cover-title {
    display: block;
    width: min(100%, 1180px);
    line-height: 0.72;
  }

  .cover-title-top,
  .cover-title-middle,
  .cover-title-bottom {
    display: block;
    width: max-content;
    max-width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    transform: none;
  }

  .cover-title-top {
    margin-left: 5%;
  }

  .cover-title-middle {
    margin-left: 14%;
  }

  .cover-title-bottom {
    margin-left: clamp(18%, 20vw, 27%);
    margin-top: 0.015em;
  }
}

@media (min-width: 1101px) {
  .cover-title-bottom {
    margin-left: clamp(19%, 21vw, 28%);
  }
}

/* ==================================
   ELSEWHERE — FINAL COVER LOCKUP
   Medium + desktop: keep the title as one compact unit:
   NOT / AT WORK. Small-screen styling remains unchanged.
================================== */
@media (min-width: 701px) {
  .cover-title {
    display: grid;
    grid-template-columns: max-content max-content;
    grid-template-rows: auto auto;
    width: max-content;
    max-width: calc(100% - 40px);
    margin-left: auto;
    margin-right: auto;
    column-gap: 0.13em;
    row-gap: 0;
    line-height: 0.72;
  }

  .cover-title-top,
  .cover-title-middle,
  .cover-title-bottom {
    display: block;
    width: max-content;
    max-width: none;
    margin: 0;
    padding: 0;
    text-align: left;
    transform: none;
  }

  .cover-title-top {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: start;
  }

  .cover-title-middle {
    grid-column: 1;
    grid-row: 2;
  }

  .cover-title-bottom {
    grid-column: 2;
    grid-row: 2;
  }
}

/* Give the lockup a little more breathing room from the viewport at
   intermediate browser widths without separating the words. */
@media (min-width: 701px) and (max-width: 1100px) {
  .cover-title {
    font-size: clamp(70px, 10.5vw, 116px);
  }
}

/* ==================================
   ELSEWHERE — FINAL STACKED TITLE
   Keep NOT / AT / WORK as one stable three-line lockup at every width.
================================== */
.cover-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  max-width: calc(100% - 40px);
  margin-left: auto;
  margin-right: auto;
  line-height: 0.72;
}

.cover-title-top,
.cover-title-middle,
.cover-title-bottom {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
  transform: none;
}

.cover-title-middle,
.cover-title-bottom {
  margin-top: 0.015em;
}

@media (max-width: 700px) {
  .cover-title {
    width: max-content;
    max-width: calc(100% - 30px);
  }
}

/* ==================================
   ELSEWHERE — TOPIC-BASED RAMBLES
   Replaces the old month / volume system.
================================== */

.topic-index {
  width: 100%;
  display: grid;
  grid-template-columns: .65fr 1.6fr auto;
  align-items: center;
  gap: clamp(18px, 4vw, 55px);
  padding: 24px clamp(18px, 4vw, 55px);
  border-bottom: 2px solid #35261f;
  background: #e8d7bb;
  color: #211915;
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
}

.topic-index-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
}

.topic-index-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 8px;
  letter-spacing: .06em;
}

.topic-index-copy span {
  color: #756355;
  font-size: 7px;
}

.topic-index-jump {
  justify-self: end;
  padding: 8px 11px;
  border: 1px solid #35261f;
  color: #211915;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.topic-index-jump:hover {
  background: #96372f;
  color: #fff7e9;
}

.topic-intro {
  width: 100%;
  padding: clamp(65px, 8vw, 110px) clamp(20px, 6vw, 90px) clamp(70px, 8vw, 115px);
  background: #f3e9d8;
  color: #211915;
  border-bottom: 2px solid #35261f;
}

.topic-intro-kicker {
  margin-bottom: clamp(35px, 5vw, 65px);
  color: #96372f;
  font-family: "Space Mono", monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.topic-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, .5fr);
  align-items: end;
  gap: clamp(35px, 7vw, 110px);
}

.topic-intro h2 {
  margin: 0;
  font-family: "Archivo Black", Arial, sans-serif;
  font-size: clamp(65px, 11vw, 165px);
  line-height: .76;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.topic-intro h2 span {
  display: block;
  color: #96372f;
}

.topic-intro p {
  max-width: 320px;
  margin: 0 0 5px;
  color: #57473c;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(15px, 1.4vw, 19px);
  font-style: italic;
  line-height: 1.55;
}

.topic-archive {
  padding: clamp(65px, 8vw, 110px) clamp(20px, 6vw, 90px);
  background: #d7c3a5;
  color: #211915;
  border-bottom: 2px solid #35261f;
}

.topic-archive-heading > div {
  margin-bottom: 12px;
  color: #96372f;
  font-family: "Space Mono", monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .13em;
}

.topic-archive-heading h2 {
  margin: 0;
  font-family: "Archivo Black", Arial, sans-serif;
  font-size: clamp(48px, 8vw, 110px);
  line-height: .9;
  letter-spacing: -.055em;
}

.topic-archive-heading p {
  max-width: 480px;
  margin: 16px 0 40px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(15px, 1.4vw, 19px);
  font-style: italic;
}

.topic-archive-list {
  border-top: 2px solid #35261f;
}

.archive-topic {
  border-bottom: 2px solid #35261f;
}

.archive-topic summary {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 120px auto;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
}

.archive-topic summary::-webkit-details-marker { display: none; }

.archive-topic-date,
.archive-topic-type,
.archive-topic-action {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
}

.archive-topic-title {
  font-family: "Archivo Black", Arial, sans-serif;
  font-size: clamp(18px, 2.3vw, 31px);
  letter-spacing: -.035em;
}

.archive-topic-type { color: #6f5b4d; }
.archive-topic-action { justify-self: end; }
.archive-topic[open] .archive-topic-action { font-size: 0; }
.archive-topic[open] .archive-topic-action::after { content: "CLOSE −"; font-size: 8px; }

.archive-topic-body {
  max-width: 760px;
  margin-left: 110px;
  padding: 5px 0 45px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.7;
}

.archive-topic-body .entry-deck {
  margin-top: 0;
  font-style: italic;
}

.topic-archive-note {
  max-width: 650px;
  margin: 30px 0 0 auto;
  font-family: "Space Mono", monospace;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.7;
  text-align: right;
}

@media (max-width: 700px) {
  .topic-index {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 18px 15px;
  }
  .topic-index-copy { display: none; }
  .topic-index-jump { font-size: 6px; }
  .topic-intro { padding: 65px 15px 75px; }
  .topic-intro-kicker { margin-bottom: 35px; font-size: 7px; }
  .topic-intro-layout { grid-template-columns: 1fr; gap: 35px; }
  .topic-intro h2 { font-size: clamp(62px, 19vw, 88px); }
  .topic-intro p { width: 78%; margin-left: auto; font-size: 13px; }
  .topic-archive { padding: 65px 15px; }
  .archive-topic summary {
    grid-template-columns: 60px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 18px 0;
  }
  .archive-topic-type { display: none; }
  .archive-topic-date, .archive-topic-action { font-size: 6px; }
  .archive-topic-title { font-size: 17px; }
  .archive-topic-body { margin-left: 0; padding: 4px 0 35px; font-size: 15px; }
  .topic-archive-note { text-align: left; }
}

/* ==================================
   ELSEWHERE — RECENT RAMBLES
   Featured story stays open; the next four collapse.
================================== */
.recent-rambles {
  padding: clamp(65px, 8vw, 110px) clamp(20px, 6vw, 90px);
  background: #eee4d4;
  color: #211915;
  border-bottom: 2px solid #35261f;
}

.recent-rambles-heading > div {
  margin-bottom: 12px;
  color: #96372f;
  font-family: "Space Mono", monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .13em;
}

.recent-rambles-heading h2 {
  margin: 0;
  font-family: "Archivo Black", Arial, sans-serif;
  font-size: clamp(48px, 8vw, 110px);
  line-height: .9;
  letter-spacing: -.055em;
}

.recent-rambles-heading p {
  max-width: 480px;
  margin: 16px 0 40px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.4vw, 19px);
  font-style: italic;
}

.recent-ramble {
  border-top: 2px solid #35261f;
}
.recent-ramble:last-child { border-bottom: 2px solid #35261f; }

.recent-ramble summary {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 120px auto;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
}
.recent-ramble summary::-webkit-details-marker { display: none; }

.recent-ramble-date,
.recent-ramble-type,
.recent-ramble-action {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
}
.recent-ramble-type { color: #6f5b4d; }
.recent-ramble-action { justify-self: end; white-space: nowrap; }
.recent-ramble-title {
  font-family: "Archivo Black", Arial, sans-serif;
  font-size: clamp(20px, 2.5vw, 34px);
  letter-spacing: -.035em;
}
.recent-ramble-preview {
  grid-column: 2 / 4;
  margin: -8px 0 0;
  max-width: 620px;
  color: #625247;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(13px, 1.15vw, 16px);
  font-style: italic;
  line-height: 1.5;
  text-transform: none;
}
.recent-ramble[open] .recent-ramble-action { font-size: 0; }
.recent-ramble[open] .recent-ramble-action::after { content: "CLOSE ↑"; font-size: 8px; }
.recent-ramble[open] .recent-ramble-preview { display: none; }

.recent-ramble-body {
  max-width: 760px;
  margin-left: 110px;
  padding: 8px 0 48px;
  color: #51483f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.75;
}
.recent-ramble-body p { margin: 0 0 1.35em; }
.recent-ramble-body .entry-scrawl { margin-top: 35px; }

@media (max-width: 700px) {
  .recent-rambles { padding: 65px 15px; }
  .recent-rambles-heading p { font-size: 13px; }
  .recent-ramble summary {
    grid-template-columns: 60px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 20px 0;
  }
  .recent-ramble-type { display: none; }
  .recent-ramble-date, .recent-ramble-action { font-size: 6px; }
  .recent-ramble-title { font-size: 18px; }
  .recent-ramble-preview { grid-column: 2 / 4; font-size: 12px; }
  .recent-ramble-body { margin-left: 0; padding: 5px 0 38px; font-size: 15px; }
}

/* ==================================
   ELSEWHERE — RECENTLY VIEW CONTROLS
================================== */
.ramble-view-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .12em;
}
.ramble-view-controls > span { margin-right: 4px; opacity: .65; }
.ramble-count {
  appearance: none;
  border: 1px solid #8f7d70;
  background: transparent;
  color: inherit;
  padding: 7px 10px;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}
.ramble-count:hover,
.ramble-count.active {
  background: #35261f;
  color: #f3eee5;
  border-color: #35261f;
}
.ramble-item[hidden] { display: none !important; }
.all-rambles .recent-rambles-heading { margin-bottom: 26px; }
@media (max-width: 700px) {
  .ramble-view-controls { margin-top: 18px; }
  .ramble-count { padding: 6px 9px; }
}

/* ==================================
   ELSEWHERE — RECENTLY, MORE PLAYFUL
   Editorial filing-cabinet energy without adding clutter.
================================== */
.ramble-list {
  counter-reset: elsewhere-ramble;
  border: 2px solid #35261f;
  box-shadow: 8px 8px 0 #35261f;
  background: #f4ecdf;
}

.recent-ramble {
  counter-increment: elsewhere-ramble;
  position: relative;
  border-top: 0;
  border-bottom: 2px solid #35261f;
  overflow: hidden;
  transition: background .18s ease, transform .18s ease;
}
.recent-ramble:last-child { border-bottom: 0; }
.recent-ramble:nth-child(even) { background: #eadfce; }
.recent-ramble:nth-child(odd) { background: #f4ecdf; }
.recent-ramble:hover { background: #f0d9d2; }
.recent-ramble[open] { background: #f8f1e7; }

.recent-ramble summary {
  position: relative;
  padding: 27px 28px 25px 78px;
}

.recent-ramble summary::before {
  content: counter(elsewhere-ramble, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 22px;
  font-family: "Archivo Black", Arial, sans-serif;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -.05em;
  color: #96372f;
  transform: rotate(-4deg);
}

.recent-ramble-title {
  transition: transform .18s ease;
}
.recent-ramble summary:hover .recent-ramble-title {
  transform: translateX(5px);
}

.recent-ramble-type {
  justify-self: start;
  padding: 5px 7px 4px;
  border: 1px solid #35261f;
  background: #d9d0a5;
  color: #35261f;
  line-height: 1.15;
  transform: rotate(1.5deg);
  box-shadow: 2px 2px 0 #35261f;
}
.recent-ramble:nth-child(3n+2) .recent-ramble-type {
  background: #d7c5bd;
  transform: rotate(-1.5deg);
}
.recent-ramble:nth-child(3n) .recent-ramble-type {
  background: #cdd6c3;
  transform: rotate(.8deg);
}

.recent-ramble-action {
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
}

.recent-ramble-body {
  position: relative;
  margin-left: 78px;
  padding: 12px 55px 52px 32px;
  border-left: 1px dashed #9d8d7f;
}
.recent-ramble-body::before {
  content: "✳";
  position: absolute;
  left: -12px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  background: #f8f1e7;
  color: #96372f;
  font-family: Georgia, serif;
  font-size: 14px;
}

.recently-heading {
  position: relative;
  max-width: 980px;
}
.recently-heading::after {
  content: "PICK A THOUGHT ↓";
  position: absolute;
  right: 1%;
  top: 28px;
  padding: 9px 11px 8px;
  border: 2px solid #35261f;
  background: #d9d0a5;
  color: #35261f;
  font-family: "Space Mono", monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  transform: rotate(4deg);
  box-shadow: 3px 3px 0 #35261f;
}

.ramble-view-controls {
  width: fit-content;
  padding: 10px 12px;
  border: 1px solid #8f7d70;
  background: #e5dac9;
  font-size: 10px;
}
.ramble-view-controls .ramble-total-label {
  font-size: 1.18em !important;
}
.ramble-count {
  border-color: transparent;
  padding: 8px 13px;
}
.ramble-count:hover,
.ramble-count.active {
  transform: rotate(-1deg);
}

@media (max-width: 700px) {
  .ramble-list { box-shadow: 5px 5px 0 #35261f; }
  .recently-heading::after {
    position: static;
    display: inline-block;
    margin: 4px 0 20px;
    transform: rotate(2deg);
  }
  .recent-ramble summary {
    padding: 21px 14px 20px 48px;
  }
  .recent-ramble summary::before {
    left: 13px;
    top: 20px;
    font-size: 17px;
  }
  .recent-ramble-body {
    margin-left: 47px;
    padding: 8px 18px 38px 18px;
  }
  .recent-ramble-preview { grid-column: 1 / 4; margin-top: 1px; }
  .ramble-view-controls { max-width: 100%; }
}


/* Cute instruction for the collapsible rambles */
.ramble-click-hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 10px 0 0;
  padding: 5px 10px 5px 8px;
  border: 1px dashed #8f7d70;
  background: rgba(255,255,255,.28);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: .055em;
  text-transform: lowercase;
  transform: rotate(-.6deg);
  box-shadow: 2px 2px 0 rgba(53,38,31,.16);
}
.ramble-click-hint span {
  font-size: 15px;
  line-height: 1;
}
@media (max-width: 700px) {
  .ramble-click-hint {
    margin-top: 9px;
    font-size: 9px;
    transform: rotate(-.35deg);
  }
}
\n\n/* ==================================
   ELSEWHERE — EDITORIAL PHOTO
   Small, integrated cover artifact
================================== */

.afterhours-cover {
  position: relative;
  overflow: hidden;
}

.elsewhere-hero-photo {
  position: absolute;
  z-index: 3;
  right: clamp(22px, 5vw, 78px);
  bottom: clamp(34px, 6vh, 72px);
  width: clamp(180px, 23vw, 320px);
  margin: 0;
  transform: rotate(1.2deg);
}

.elsewhere-photo-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 2px solid #111;
  box-shadow: 7px 7px 0 #111;
  background: #111;
}

.elsewhere-photo-frame img {
  display: block;
  width: 100%;
  height: clamp(230px, 38vh, 390px);
  max-height: 42vh;
  object-fit: cover;
  object-position: center 56%;
  filter: saturate(.86) contrast(1.04);
}

.elsewhere-photo-stamp {
  position: absolute;
  top: 11px;
  left: 11px;
  padding: 5px 8px 4px;
  background: #f2ef59;
  color: #111;
  border: 1.5px solid #111;
  font-family: "Space Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  transform: rotate(-3deg);
}

.elsewhere-hero-photo figcaption {
  margin-top: 10px;
  padding-left: 2px;
  font-family: "Space Mono", monospace;
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: .05em;
  text-transform: lowercase;
}

.elsewhere-hero-photo figcaption span {
  font-weight: 700;
  text-transform: uppercase;
}

/* Give the cover copy room for the photo without making the cover taller. */
@media (min-width: 901px) {
  .afterhours-cover .cover-caption,
  .afterhours-cover .cover-footnote {
    max-width: min(48vw, 620px);
  }
}

@media (max-width: 900px) {
  .elsewhere-hero-photo {
    right: 24px;
    bottom: 34px;
    width: clamp(155px, 27vw, 230px);
  }

  .elsewhere-photo-frame img {
    height: clamp(205px, 32vh, 300px);
  }
}

@media (max-width: 700px) {
  .afterhours-cover {
    padding-bottom: 24px;
  }

  .elsewhere-hero-photo {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(64vw, 245px);
    margin: 24px 18px 8px auto;
    transform: rotate(.8deg);
  }

  .elsewhere-photo-frame {
    box-shadow: 5px 5px 0 #111;
  }

  .elsewhere-photo-frame img {
    height: min(42vh, 310px);
    min-height: 210px;
  }

  .elsewhere-photo-stamp {
    top: 9px;
    left: 9px;
    font-size: 8px;
  }

  .elsewhere-hero-photo figcaption {
    font-size: 8px;
    margin-top: 8px;
  }
}

@media (max-width: 420px) {
  .elsewhere-hero-photo {
    width: min(68vw, 220px);
    margin-top: 18px;
    margin-right: 12px;
  }

  .elsewhere-photo-frame img {
    height: min(38vh, 270px);
    min-height: 190px;
  }
}


/* ==================================
   ELSEWHERE COVER — INTEGRATED PHOTO COLLAGE
   ================================== */
.afterhours-cover {
  min-height: min(720px, 86vh);
}

.cover-collage {
  width: min(900px, calc(100% - 70px));
  margin: clamp(48px, 7vh, 78px) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, .75fr);
  align-items: center;
  gap: clamp(18px, 4vw, 58px);
}

.cover-copy-cluster {
  min-width: 0;
}

.cover-collage .cover-title {
  width: 100%;
  margin: 0;
  font-size: clamp(72px, 8vw, 132px);
  line-height: .73;
}

.cover-collage .cover-title-top,
.cover-collage .cover-title-middle,
.cover-collage .cover-title-bottom {
  width: 100%;
  text-align: left;
  padding: 0;
}

.cover-collage .cover-title-middle {
  padding-left: 14%;
}

.cover-collage .cover-title-bottom {
  padding-left: 3%;
}

.cover-collage .cover-caption {
  width: min(360px, 90%);
  margin: 34px 0 0 5%;
  transform: none;
}

.cover-visual-cluster {
  position: relative;
  width: min(100%, 270px);
  justify-self: start;
  padding: 16px 8px 38px 0;
}

.cover-collage .elsewhere-hero-photo {
  position: relative;
  inset: auto;
  width: 100%;
  margin: 0;
  transform: rotate(1.5deg);
  z-index: 2;
}

.cover-collage .elsewhere-photo-frame img {
  height: clamp(220px, 31vh, 330px);
  max-height: 36vh;
  object-position: center 58%;
}

.cover-collage .cover-sticker {
  position: absolute;
  right: -24px;
  bottom: 0;
  width: 72px;
  height: 72px;
  font-size: 9px;
  box-shadow: 5px 6px 0 rgba(73,42,30,.13);
  transform: rotate(7deg);
  z-index: 3;
}

@media (max-width: 900px) {
  .cover-collage {
    width: min(760px, calc(100% - 48px));
    grid-template-columns: minmax(0, 1.2fr) minmax(150px, .8fr);
    gap: 24px;
  }
  .cover-collage .cover-title { font-size: clamp(64px, 10vw, 105px); }
  .cover-visual-cluster { width: min(100%, 225px); }
  .cover-collage .elsewhere-photo-frame img { height: clamp(200px, 28vh, 275px); }
}

@media (max-width: 650px) {
  .afterhours-cover { min-height: auto; padding-bottom: 72px; }
  .cover-collage {
    width: min(100% - 36px, 470px);
    margin-top: 52px;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cover-collage .cover-title {
    font-size: clamp(68px, 22vw, 108px);
    line-height: .72;
  }
  .cover-collage .cover-caption {
    margin-top: 26px;
    margin-left: 2%;
    width: min(330px, 92%);
  }
  .cover-visual-cluster {
    width: min(58vw, 230px);
    justify-self: end;
    margin-right: 8%;
    padding-bottom: 30px;
  }
  .cover-collage .elsewhere-hero-photo { width: 100%; margin: 0; }
  .cover-collage .elsewhere-photo-frame img {
    height: min(34vh, 285px);
    min-height: 190px;
  }
  .cover-collage .cover-sticker {
    right: -18px;
    width: 62px;
    height: 62px;
    font-size: 8px;
  }
}

@media (max-width: 390px) {
  .cover-collage { width: calc(100% - 28px); }
  .cover-visual-cluster { width: min(62vw, 205px); margin-right: 6%; }
  .cover-collage .elsewhere-photo-frame img { height: 235px; min-height: 0; }
}

/* ==================================
   ELSEWHERE — PHOTO WITHOUT LAYOUT SHIFT
   The photograph is decorative: it never participates in cover sizing.
================================== */
.afterhours-cover {
  min-height: min(780px, 90vh);
}

.cover-collage {
  display: block;
  width: 100%;
  margin: 0;
}

.cover-copy-cluster {
  display: block;
  width: 100%;
}

.cover-collage .cover-title {
  width: min(100%, 1180px);
  max-width: calc(100% - 40px);
  margin: 50px auto 0;
  font-size: clamp(78px, 11vw, 185px);
  line-height: .72;
}

.cover-collage .cover-title-top,
.cover-collage .cover-title-middle,
.cover-collage .cover-title-bottom {
  width: max-content;
  padding: 0;
}

.cover-collage .cover-title-middle,
.cover-collage .cover-title-bottom {
  margin-top: .015em;
}

.cover-collage .cover-caption {
  width: min(440px, 70%);
  margin: 65px auto 0;
  transform: translateX(-24%);
}

.cover-visual-cluster {
  position: absolute;
  z-index: 4;
  top: clamp(150px, 22vh, 215px);
  left: calc(50% + clamp(150px, 17vw, 280px));
  width: clamp(105px, 9vw, 145px);
  padding: 0;
  pointer-events: none;
}

.cover-collage .elsewhere-hero-photo {
  position: relative;
  inset: auto;
  width: 100%;
  margin: 0;
  transform: rotate(1.8deg);
}

.cover-collage .elsewhere-photo-frame {
  border-width: 1.5px;
  box-shadow: 4px 4px 0 #111;
}

.cover-collage .elsewhere-photo-frame img {
  width: 100%;
  height: auto;
  max-height: none;
  min-height: 0;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 58%;
}

.cover-collage .elsewhere-photo-stamp {
  top: 5px;
  left: 5px;
  padding: 3px 4px 2px;
  font-size: 5px;
}

.cover-collage .elsewhere-hero-photo figcaption {
  margin-top: 6px;
  font-size: 5.5px;
  line-height: 1.25;
}

.cover-collage .cover-sticker {
  right: -16px;
  bottom: -14px;
  width: 38px;
  height: 38px;
  font-size: 5px;
  box-shadow: 3px 3px 0 rgba(73,42,30,.13);
}

@media (max-width: 900px) {
  .cover-visual-cluster {
    top: clamp(145px, 21vh, 190px);
    left: auto;
    right: clamp(28px, 8vw, 70px);
    width: clamp(92px, 12vw, 120px);
  }
}

@media (max-width: 700px) {
  .afterhours-cover {
    min-height: min(680px, 88vh);
    padding-bottom: 55px;
  }

  .cover-collage {
    width: 100%;
    margin: 0;
  }

  .cover-collage .cover-title {
    width: max-content;
    max-width: calc(100% - 30px);
    margin: 50px auto 0;
    font-size: clamp(68px, 22vw, 108px);
  }

  .cover-collage .cover-caption {
    width: min(300px, 70%);
    margin: 48px auto 0;
    transform: translateX(-10%);
  }

  .cover-visual-cluster {
    top: clamp(245px, 42vh, 330px);
    right: 8vw;
    left: auto;
    width: clamp(82px, 24vw, 112px);
    margin: 0;
    padding: 0;
  }

  .cover-collage .elsewhere-photo-frame img {
    height: auto;
    min-height: 0;
  }

  .cover-collage .cover-sticker {
    right: -12px;
    width: 34px;
    height: 34px;
    font-size: 4.5px;
  }
}

@media (max-width: 390px) {
  .cover-visual-cluster {
    top: 265px;
    right: 6vw;
    width: 82px;
  }
}

/* ==================================
   ELSEWHERE — PHOTO SCALE TUNE
   Decorative overlay only: does not participate in page layout.
================================== */
@media (min-width: 901px) {
  .cover-visual-cluster {
    left: calc(50% + clamp(105px, 12vw, 205px));
    width: clamp(175px, 15vw, 235px);
  }

  .cover-collage .cover-sticker {
    right: -18px;
    bottom: -15px;
    width: 44px;
    height: 44px;
    font-size: 5.5px;
  }

  .cover-collage .elsewhere-photo-stamp {
    font-size: 6px;
  }

  .cover-collage .elsewhere-hero-photo figcaption {
    font-size: 6.5px;
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .cover-visual-cluster {
    right: clamp(35px, 7vw, 62px);
    width: clamp(140px, 18vw, 175px);
  }
}

@media (max-width: 700px) {
  .cover-visual-cluster {
    width: clamp(112px, 31vw, 145px);
    right: 6vw;
  }
}

@media (max-width: 390px) {
  .cover-visual-cluster {
    width: 108px;
    right: 5vw;
  }
}

/* ==================================
   ELSEWHERE — SPLIT COVER
   Copy fills the left; Tokyo image fills the right.
================================== */
.afterhours-cover {
  min-height: min(780px, 90vh);
}

.cover-collage {
  width: min(1180px, calc(100% - 80px));
  min-height: 560px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: clamp(42px, 7vw, 110px);
}

.cover-copy-cluster {
  width: 100%;
  align-self: center;
}

.cover-collage .cover-title {
  width: 100%;
  max-width: none;
  margin: 0;
  font-size: clamp(92px, 9.4vw, 164px);
  line-height: .72;
}

.cover-collage .cover-caption {
  width: min(440px, 88%);
  margin: 58px 0 0 clamp(40px, 9vw, 145px);
  transform: none;
}

.cover-visual-cluster {
  position: relative;
  inset: auto;
  width: min(100%, 465px);
  justify-self: end;
  padding: 0 18px 18px 0;
  pointer-events: auto;
}

.cover-collage .elsewhere-hero-photo {
  width: 100%;
  margin: 0;
  transform: rotate(1.2deg);
}

.cover-collage .elsewhere-photo-frame img {
  width: 100%;
  height: clamp(390px, 50vh, 520px);
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 58%;
}

.cover-collage .elsewhere-photo-stamp {
  top: 9px;
  left: 9px;
  padding: 5px 7px 4px;
  font-size: 7px;
}

.cover-collage .elsewhere-hero-photo figcaption {
  margin-top: 8px;
  font-size: 7px;
}

.cover-collage .cover-sticker {
  right: -4px;
  bottom: 0;
  width: 56px;
  height: 56px;
  font-size: 7px;
}

@media (max-width: 1050px) {
  .cover-collage {
    width: min(940px, calc(100% - 56px));
    grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr);
    gap: 38px;
  }

  .cover-collage .cover-title {
    font-size: clamp(80px, 10vw, 122px);
  }

  .cover-collage .cover-caption {
    margin-left: clamp(24px, 6vw, 70px);
  }

  .cover-visual-cluster {
    position: relative;
    inset: auto;
    width: min(100%, 370px);
  }

  .cover-collage .elsewhere-photo-frame img {
    height: clamp(330px, 46vh, 430px);
  }
}

@media (max-width: 760px) {
  .afterhours-cover {
    min-height: auto;
    padding-bottom: 58px;
  }

  .cover-collage {
    width: min(100% - 34px, 560px);
    min-height: 0;
    margin-top: 46px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 42px;
  }

  .cover-copy-cluster {
    width: 100%;
  }

  .cover-collage .cover-title {
    width: max-content;
    max-width: 100%;
    margin: 0;
    font-size: clamp(72px, 23vw, 112px);
  }

  .cover-collage .cover-caption {
    width: min(330px, 82%);
    margin: 40px 0 0 auto;
    transform: none;
  }

  .cover-visual-cluster {
    position: relative;
    inset: auto;
    width: min(88vw, 430px);
    margin: 0 auto;
    padding: 0 16px 16px 0;
  }

  .cover-collage .elsewhere-photo-frame img {
    width: 100%;
    height: min(56vh, 480px);
    min-height: 300px;
    object-position: center 58%;
  }

  .cover-collage .cover-sticker {
    right: -2px;
    bottom: 0;
    width: 50px;
    height: 50px;
    font-size: 6px;
  }
}

@media (max-width: 420px) {
  .cover-collage {
    width: calc(100% - 26px);
    gap: 34px;
  }

  .cover-collage .cover-title {
    font-size: clamp(64px, 22vw, 92px);
  }

  .cover-collage .cover-caption {
    width: 78%;
    margin-top: 32px;
  }

  .cover-visual-cluster {
    width: min(90vw, 355px);
    margin: 0 auto;
  }

  .cover-collage .elsewhere-photo-frame img {
    height: min(50vh, 390px);
    min-height: 270px;
  }
}

/* Final cover alignment: subtitle shares the title's left edge. */
.cover-collage .cover-caption {
  margin-left: 0;
}

@media (max-width: 1050px) {
  .cover-collage .cover-caption {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .cover-collage .cover-caption {
    margin-left: 0;
    margin-right: 0;
  }
}

/* ==================================
   ELSEWHERE — FINAL RESPONSIVE COVER FIX
   Preserve the split cover at browser widths; only stack on phones.
================================== */
@media (min-width: 761px) and (max-width: 1050px) {
  .cover-collage {
    width: calc(100% - 64px);
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
    gap: clamp(34px, 5vw, 64px);
  }

  .cover-collage .cover-title {
    font-size: clamp(92px, 11vw, 132px);
  }

  .cover-collage .cover-caption {
    width: min(420px, 92%);
    margin: 48px 0 0 0;
  }

  .cover-visual-cluster {
    width: min(100%, 430px);
  }

  .cover-collage .elsewhere-photo-frame img {
    height: clamp(360px, 48vh, 480px);
  }
}

@media (max-width: 600px) {
  .afterhours-cover {
    min-height: auto;
    padding-bottom: 42px;
  }

  .cover-collage {
    width: calc(100% - 36px);
    margin-top: 34px;
    gap: 30px;
  }

  .cover-collage .cover-title {
    font-size: clamp(62px, 21vw, 88px);
  }

  .cover-collage .cover-caption {
    width: min(100%, 330px);
    margin: 28px 0 0 0;
  }

  .cover-visual-cluster {
    width: min(72vw, 280px);
    margin: 0 auto;
    padding: 0 12px 12px 0;
  }

  .cover-collage .elsewhere-photo-frame img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
  }

  .cover-collage .cover-sticker {
    width: 42px;
    height: 42px;
    font-size: 5.5px;
  }

  .cover-collage .elsewhere-photo-stamp,
  .cover-collage .elsewhere-hero-photo figcaption {
    font-size: 6px;
  }
}

/* FINAL PHONE PHOTO SCALE — desktop/tablet intentionally untouched */
@media (max-width: 600px) {
  .cover-collage .cover-visual-cluster {
    width: min(84vw, 330px) !important;
    max-width: calc(100vw - 44px) !important;
    margin: 0 auto !important;
    padding: 0 10px 12px 0 !important;
  }

  .cover-collage .elsewhere-hero-photo,
  .cover-collage .elsewhere-photo-frame {
    width: 100% !important;
    max-width: 100% !important;
  }

  .cover-collage .elsewhere-photo-frame img {
    display: block !important;
    width: 100% !important;
    height: min(62vw, 245px) !important;
    min-height: 0 !important;
    max-height: 245px !important;
    object-fit: cover !important;
    object-position: center 44% !important;
  }
}


/* ==================================
   ELSEWHERE / CLOCK-OUT ENTRY
   Desktop: a quiet link beneath the theme switch.
   Mobile: the same cue moves into the status row.
================================== */
.clock-out-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  margin: -7px 0 5px;
  color: rgba(255,250,240,.58);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.clock-out-link:hover {
  color: #fffaf0;
  transform: translateX(2px);
}

.clock-out-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #b67a79;
  animation: pulse 2.2s ease-in-out infinite;
}

.mobile-clock-out { display: none; }

@media (max-width: 850px) {
  .clock-out-link { display: none; }

  .sidebar-status {
    flex: 1 1 auto;
    min-width: 0;
  }

  .desktop-status-dot { display: none; }

  .status-text { white-space: nowrap; }

  .mobile-clock-out {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    color: #aebcaf;
    font-family: "DM Mono", monospace;
    font-size: 9px;
    letter-spacing: .03em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
  }

  .mobile-clock-out:hover { color: #fffaf0; }
  .mobile-clock-out .status-dot { flex: 0 0 7px; }
}

@media (max-width: 430px) {
  .mobile-clock-out { font-size: 8px; gap: 5px; }
}


/* ==================================
   MOBILE FOOTER CLOCK-OUT ENTRY
   Replaces the old secret dot when the sidebar is hidden.
================================== */
.footer-clock-out {
  display: none;
}

@media (max-width: 850px) {
  .contact-signoff {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
  }

  .footer-clock-out {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    color: inherit;
    font-family: "DM Mono", monospace;
    font-size: 8px;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
  }

  .footer-clock-out-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: currentColor;
    opacity: .55;
  }

  .footer-clock-out:hover .footer-clock-out-dot,
  .footer-clock-out:focus-visible .footer-clock-out-dot {
    opacity: .9;
  }
}


/* ==================================
   ELSEWHERE — TITLE WORDMARK
   Keep the OFF THE CLOCK header; use ELSEWHERE as the cover title.
================================== */
.cover-collage .cover-title-elsewhere {
  width: max-content;
  max-width: 100%;
  font-size: clamp(64px, 7.2vw, 118px);
  line-height: .82;
  letter-spacing: -0.085em;
  white-space: nowrap;
}

@media (min-width: 761px) and (max-width: 1050px) {
  .cover-collage .cover-title-elsewhere {
    font-size: clamp(60px, 7.4vw, 82px);
  }
}

@media (max-width: 760px) {
  .cover-collage .cover-title-elsewhere {
    width: 100%;
    font-size: clamp(54px, 17vw, 88px);
  }
}

@media (max-width: 420px) {
  .cover-collage .cover-title-elsewhere {
    font-size: clamp(48px, 16.5vw, 70px);
  }
}


/* ==================================
   ELSEWHERE — SPLIT WORDMARK
================================== */
.afterhours-logo {
  min-width: 1px;
}

.cover-collage .cover-title-elsewhere {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  max-width: 100%;
  font-size: clamp(82px, 10.5vw, 168px);
  line-height: .70;
  letter-spacing: -0.085em;
  white-space: normal;
}

.cover-title-elsewhere .elsewhere-line {
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
}

.cover-title-elsewhere .elsewhere-line-else {
  color: #211915;
}

.cover-title-elsewhere .elsewhere-line-where {
  color: var(--burgundy) !important;
  margin-left: .34em;
}

@media (min-width: 761px) and (max-width: 1100px) {
  .cover-collage .cover-title-elsewhere {
    font-size: clamp(72px, 10vw, 116px);
  }
}

@media (max-width: 760px) {
  .cover-collage .cover-title-elsewhere {
    width: max-content;
    font-size: clamp(62px, 20vw, 92px);
  }

  .cover-title-elsewhere .elsewhere-line-where {
    margin-left: .22em;
  }
}

@media (max-width: 420px) {
  .cover-collage .cover-title-elsewhere {
    font-size: clamp(56px, 19vw, 78px);
  }
}
