/*
 * `backdrop-filter` (or `filter`/`transform`) on an ancestor makes that
 * ancestor the containing block for any `position: fixed` descendant, which
 * silently breaks the full-viewport off-canvas mobile menu nested inside
 * `.topnav`. Keep the frosted-glass effect on a decorative ::before layer
 * instead, so `.topnav` itself stays filter-free.
 */
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  box-shadow: 0 1px 0 var(--sand-line);
}

.topnav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(10px);
}

.topnav__bar {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.topnav__mark {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--charcoal);
  background-image: none;
  flex: 0 0 auto;
}

.topnav__mark:hover {
  color: var(--rust);
}

.topnav__list {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.topnav__list::-webkit-scrollbar {
  display: none;
}

.topnav__list a {
  display: block;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.86rem;
  color: var(--ink-soft);
  background-image: none;
  white-space: nowrap;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.topnav__list a:hover {
  color: var(--olive-deep);
  background: var(--sand);
}

.topnav__list a.is-active {
  color: var(--olive-deep);
  background: var(--sand);
  font-weight: 500;
}

.topnav__progress {
  height: 2px;
  background: transparent;
}

.topnav__progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--olive), var(--rust));
  transition: width 0.15s linear;
}

.topnav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 80;
}

.topnav__toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.topnav__toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.topnav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.topnav__toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.topnav__scrim {
  display: none;
}

@media (max-width: 760px) {
  .topnav__bar {
    gap: 1rem;
  }

  .topnav__mark {
    font-size: 1.02rem;
  }

  .topnav__toggle {
    display: flex;
  }

  .topnav__bar > nav {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    bottom: 0;
    width: min(78vw, 320px);
    background: var(--paper);
    box-shadow: -6px 0 24px rgba(15, 16, 12, 0.12);
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    z-index: 70;
    overflow-y: auto;
    padding: 1.25rem 0.5rem;
  }

  .topnav__bar > nav.is-open {
    transform: translateX(0);
  }

  .topnav__list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    overflow-x: visible;
  }

  .topnav__list a {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
  }

  .topnav__scrim {
    display: block;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    border: none;
    padding: 0;
    background: rgba(15, 16, 12, 0.35);
    z-index: 65;
    animation: topnav-scrim-fade 0.25s var(--ease);
  }
}

@keyframes topnav-scrim-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vh, 5rem) 0 6rem;
  overflow: hidden;
}

/* A soft, warm wash of colour behind the portrait — depth without imagery */
.hero__glow {
  position: absolute;
  inset: -15% -12% auto auto;
  width: 56vw;
  height: 56vw;
  max-width: 760px;
  max-height: 760px;
  background: radial-gradient(circle, rgba(232, 223, 200, 0.75) 0%, rgba(232, 223, 200, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 1.5rem;
}

.hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 4px rgba(94, 107, 88, 0.16);
  flex: 0 0 auto;
}

.hero__name {
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.hero__cred {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0.7rem 0 0;
}

.hero__tagline {
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  font-style: italic;
  color: var(--ink-soft);
  max-width: 42ch;
  margin: 1.7rem 0 2rem;
  line-height: 1.65;
}

.hero__specs {
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ---------- portrait ---------- */

.hero__portrait {
  margin: 0;
  justify-self: end;
  width: min(100%, 380px);
}

.hero__orcid {
  display: inline-flex;
  align-items: baseline;
  margin: 0.85rem 0 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  background-image: none;
}

.hero__orcid-value {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--ink-soft);
}

.hero__orcid-icon {
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
}

.hero__orcid:hover {
  color: var(--rust);
}

.hero__frame {
  position: relative;
  padding: 12px;
  background: var(--paper-raised);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.hero__frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 9;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: calc(var(--radius) - 6px);
}

/* ---------- scroll cue ---------- */

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  background-image: none;
}

.hero__scroll svg {
  width: 12px;
  height: 26px;
  animation: sink 2.6s var(--ease) infinite;
}

.hero__scroll:hover {
  color: var(--olive-deep);
}

@keyframes sink {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 2.5rem 0 5rem;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__portrait {
    order: -1;
    justify-self: center;
    width: min(100%, 300px);
  }

  .hero__scroll {
    display: none;
  }
}
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.about__para {
  color: var(--ink-soft);
  max-width: 66ch;
  margin-bottom: 1.15em;
}

.about__para:first-of-type {
  margin-top: 1.6rem;
}

/* Thesis called out as a quiet, elevated card */
.about__thesis {
  margin-top: 2.5rem;
  padding: 1.75rem 1.9rem;
  border-left: 3px solid var(--olive);
}

.about__thesis .eyebrow {
  margin-bottom: 0.6rem;
  display: block;
}

.about__thesis-title {
  font-size: clamp(1.05rem, 1.9vw, 1.32rem);
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.45;
  margin-bottom: 0.9rem;
  font-weight: 400;
}

.about__thesis-meta {
  font-size: 0.87rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.7;
}

.about__thesis-meta span {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-right: 0.35rem;
}

/* ---------- side panels ---------- */

.about__side {
  display: grid;
  gap: 1.25rem;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}

.panel {
  padding: 1.6rem 1.6rem 1.7rem;
}

.panel .eyebrow {
  display: block;
  margin-bottom: 1.1rem;
}

.methods {
  display: grid;
  gap: 1.1rem;
}

.method {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.method__abbr {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--olive-deep);
  background: var(--sand);
  padding: 0.4rem 0.5rem;
  min-width: 48px;
  text-align: center;
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
}

.method__body {
  display: grid;
  gap: 0.15rem;
}

.method__body b {
  font-weight: 400;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--charcoal);
}

.method__body small {
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.areas {
  display: grid;
  gap: 1.1rem;
}

.area {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.area__pin {
  width: 8px;
  height: 8px;
  margin-top: 0.5rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 3px rgba(94, 107, 88, 0.16);
}

.area b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1rem;
  color: var(--charcoal);
}

.area small {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.area em {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.15rem;
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
  }

  .about__side {
    position: static;
  }
}
.research__lede {
  margin-bottom: 2.75rem;
}

.research {
  display: grid;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.unit {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 2.2rem);
  padding: clamp(1.6rem, 3vw, 2.25rem) clamp(1.6rem, 3vw, 2.4rem);
  border-left: 4px solid var(--olive);
  box-shadow: var(--shadow-sm), 4px 0 16px -6px rgba(94, 107, 88, 0.35);
}

.unit:hover {
  border-left-color: var(--rust);
  box-shadow: var(--shadow-md), 4px 0 20px -6px rgba(168, 112, 63, 0.4);
}

.unit__photo {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}

.unit__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.unit:hover .unit__photo img {
  transform: scale(1.04);
}

.unit__body {
  min-width: 0;
}

@media (max-width: 700px) {
  .unit {
    grid-template-columns: 1fr;
  }

  .unit__photo {
    aspect-ratio: 16 / 9;
  }
}

.unit__period {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.55rem;
}

.unit__title {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}

.unit__place {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--rust);
  margin-bottom: 1.1rem;
}

.unit__pin {
  width: 11px;
  height: 15px;
  flex: 0 0 auto;
}

.unit__summary {
  color: var(--ink-soft);
  max-width: 78ch;
  margin-bottom: 1.3rem;
}
.gallery__lede {
  margin-bottom: 2.5rem;
}

/* ---------- showcase ---------- */

.showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.showcase__tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--sand-line);
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--paper-alt);
  box-shadow: var(--shadow-md);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.showcase__tile:hover,
.showcase__tile:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.showcase__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.showcase__tile:hover img,
.showcase__tile:focus-visible img {
  transform: scale(1.06);
}

.showcase__tile-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 16, 12, 0.82) 0%, rgba(15, 16, 12, 0.15) 45%, rgba(15, 16, 12, 0) 65%);
}

.showcase__count {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  color: #fff;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(15, 16, 12, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  backdrop-filter: blur(2px);
}

.showcase__tile-text {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.3rem;
}

.showcase__tag {
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 400;
  line-height: 1.25;
}

.showcase__location {
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .showcase {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .showcase {
    grid-template-columns: 1fr;
  }

  .showcase__tile {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(20, 18, 14, 0.92);
  animation: lightbox-fade 0.18s var(--ease);
}

@keyframes lightbox-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox__figure {
  grid-column: 2;
  margin: 0;
  max-width: min(100%, 1100px);
  max-height: 88vh;
  justify-self: center;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.lightbox__figure figcaption {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--paper-alt);
  opacity: 0.85;
}

.lightbox__close {
  position: absolute;
  top: clamp(0.75rem, 3vw, 1.5rem);
  right: clamp(0.75rem, 3vw, 1.5rem);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.lightbox__arrow:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox__arrow--prev {
  grid-column: 1;
}

.lightbox__arrow--next {
  grid-column: 3;
}

@media (max-width: 600px) {
  .lightbox {
    grid-template-columns: 1fr;
  }

  .lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .lightbox__arrow--prev {
    left: 0.5rem;
  }

  .lightbox__arrow--next {
    right: 0.5rem;
  }

  .lightbox__figure {
    grid-column: 1;
  }
}
.log__lede {
  margin-bottom: 2.75rem;
}

.log {
  --log-years: 130px;
}

.log__row {
  display: grid;
  grid-template-columns: var(--log-years) 24px minmax(0, 1fr);
  gap: 0 clamp(1rem, 2.5vw, 2rem);
  padding: 1.5rem clamp(0.5rem, 2vw, 1.25rem);
  margin: 0 clamp(-0.5rem, -2vw, -1.25rem);
  border-radius: var(--radius);
  transition: background 0.3s var(--ease);
}

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

.log__years {
  display: grid;
  gap: 0.25rem;
  align-content: start;
  padding-top: 0.15rem;
}

.log__period {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--olive-deep);
  font-variant-numeric: tabular-nums;
}

.log__kind {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Quiet vertical timeline */
.log__line {
  position: relative;
  display: flex;
  justify-content: center;
}

.log__line::before {
  content: '';
  position: absolute;
  top: 0.4rem;
  bottom: -1.5rem;
  width: 2px;
  background: var(--sand-line);
}

.log__row:last-child .log__line::before {
  display: none;
}

.log__dot {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  margin-top: 0.28rem;
  border-radius: 50%;
  background: var(--paper-raised);
  border: 2px solid var(--olive);
  box-shadow: 0 0 0 4px var(--paper);
}

.log__role {
  font-size: clamp(1.1rem, 1.9vw, 1.32rem);
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.log__org {
  font-size: 0.9rem;
  color: var(--olive-deep);
  margin-bottom: 0.6rem;
}

.log__project {
  color: var(--ink-soft);
  font-size: 0.93rem;
  max-width: 74ch;
  margin-bottom: 0.4rem;
}

.log__funder {
  font-size: 0.82rem;
  color: var(--ink-faint);
  max-width: 74ch;
  margin-bottom: 0.35rem;
}

.log__funder span {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  margin-right: 0.3rem;
}

.log__duration {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin: 0;
}

@media (max-width: 760px) {
  .log {
    --log-years: 84px;
  }
}
.pubs__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin-bottom: 2.5rem;
}

.pubs__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0.35rem 0;
}

.pubs__stats > div {
  padding: 0.75rem 0.7rem;
  text-align: center;
  border-left: 1px solid var(--sand-line);
}

.pubs__stats > div:first-child {
  border-left: 0;
}

.pubs__stats dt {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.35rem;
}

.pubs__stats dd {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: var(--olive-deep);
  font-variant-numeric: tabular-nums;
}

/* ---------- publication cards ---------- */

.pubs {
  display: grid;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pub {
  padding: clamp(1.3rem, 2.6vw, 1.85rem) clamp(1.4rem, 2.8vw, 2.1rem);
  list-style: none;
}

.pub__meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.6rem;
}

.pub__year {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--olive);
  font-variant-numeric: tabular-nums;
}

.pub__tag {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
}

.pub__title {
  font-size: clamp(1.04rem, 1.8vw, 1.24rem);
  line-height: 1.4;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
  max-width: 82ch;
}

.pub__authors {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.pub__authors b {
  font-weight: 500;
  color: var(--olive-deep);
}

.pub__journal {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: baseline;
}

.pub__journal em {
  font-family: var(--serif);
  font-size: 0.96rem;
  font-style: italic;
  color: var(--ink-soft);
}

.pub__detail {
  font-family: var(--mono);
  font-size: 0.68rem;
}

.pub__doi {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
}

.pub__doi svg {
  width: 11px;
  height: 11px;
  transition: transform 0.28s var(--ease);
}

.pub__doi:hover svg {
  transform: translate(2px, -2px);
}

@media (max-width: 860px) {
  .pubs__top {
    grid-template-columns: 1fr;
  }

  .pubs__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pubs__stats > div:nth-child(2n + 1) {
    border-left: 0;
  }
}
.rec {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.horizons {
  margin-top: 1.5rem;
  position: relative;
}

.horizon {
  display: grid;
  grid-template-columns: 62px 34px minmax(0, 1fr);
  align-items: start;
  gap: 0 0.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px dashed var(--sand-line);
}

.horizon:first-child {
  border-top: 1px solid var(--sand-line);
}

.horizon__year {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--olive);
  padding-top: 0.2rem;
  font-variant-numeric: tabular-nums;
}

.horizon__marker {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.horizon__marker::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--sand-line);
}

.horizon__bead {
  position: relative;
  width: 11px;
  height: 11px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--paper-raised);
  border: 2px solid var(--rust);
  box-shadow: 0 0 0 4px var(--paper);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.horizon:hover .horizon__bead {
  background: var(--rust);
  transform: scale(1.2);
}

.horizon__text b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.04rem, 1.8vw, 1.2rem);
  color: var(--charcoal);
  line-height: 1.35;
  margin-bottom: 0.28rem;
}

.horizon__text small {
  display: block;
  font-size: 0.84rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ---------- societies ---------- */

.rec__societies {
  display: grid;
  gap: 1.25rem;
}

.roles {
  display: grid;
  gap: 1.1rem;
}

.role {
  padding-left: 0.95rem;
  border-left: 2px solid var(--olive);
}

.role b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.06rem;
  color: var(--charcoal);
}

.role small {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.societies {
  display: grid;
  gap: 0.75rem;
}

.societies li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.societies__tick {
  width: 6px;
  height: 6px;
  margin-top: 0.55rem;
  flex: 0 0 auto;
  background: var(--olive);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .rec {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .horizon {
    grid-template-columns: 54px 24px minmax(0, 1fr);
  }
}
.basement__inner {
  position: relative;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.basement__lead {
  max-width: 62ch;
}

.basement__title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.18;
  max-width: 20ch;
  color: var(--charcoal);
  margin: 1rem 0 1.2rem;
}

.basement__title em {
  font-style: italic;
  color: var(--rust);
}

.basement__note {
  color: var(--ink-soft);
  max-width: 58ch;
  margin-bottom: 2.75rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.contact-card {
  padding: 1.4rem 1.5rem;
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.card__label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.card__value {
  font-family: var(--serif);
  font-size: 1.04rem;
  color: var(--olive-deep);
  word-break: break-word;
}

.card__value--static {
  color: var(--charcoal);
  display: grid;
  gap: 0.2rem;
}

.card__value--orcid {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.card__orcid-icon {
  width: 1.8rem;
  height: 1.8rem;
  flex-shrink: 0;
}

.card__value--static small {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.basement__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ---------- footer ---------- */

.foot {
  position: relative;
  border-top: 1px solid var(--sand-line);
  padding: 1.8rem 0;
}

.foot__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: baseline;
}

.foot__name {
  margin: 0;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.foot__tags {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
:root {
  /* Nordic Academic palette — warm, quiet, elegant */
  --paper: #faf8f5;
  --paper-alt: #f3ecdf;
  --paper-raised: #ffffff;

  --sand: #e8dfc8;
  --sand-line: rgba(45, 45, 45, 0.1);
  --sand-deep: #cbb98e;

  --olive: #5e6b58;
  --olive-deep: #47523f;

  --charcoal: #2d2d2d;
  --ink-soft: #63594a;
  --ink-faint: #948a78;

  --rust: #a8703f;

  /* Typography */
  --serif: 'Spectral', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;

  /* Layout */
  --nav-h: 80px;
  --page: 1160px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --radius-sm: 8px;

  --shadow-sm: 0 2px 10px rgba(45, 38, 25, 0.05);
  --shadow-md: 0 18px 40px -18px rgba(45, 38, 25, 0.18);
  --shadow-lg: 0 32px 64px -24px rgba(45, 38, 25, 0.24);

  --ease: cubic-bezier(0.4, 0.14, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--olive-deep);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: color 0.25s var(--ease), background-size 0.25s var(--ease);
}

a:hover {
  color: var(--rust);
  background-size: 100% 1px;
}

:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
  border-radius: 2px;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- shared layout helpers ---------- */

.app {
  padding-top: var(--nav-h);
}

.wrap {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--olive-deep);
  color: var(--paper);
  padding: 0.6rem 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* ---------- section chrome ---------- */

.bed {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.bed--alt {
  background: var(--paper-alt);
}

.bed__head {
  margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
  max-width: 62ch;
}

.bed__kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.bed__kicker::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--olive);
  flex: 0 0 auto;
}

.bed__title {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 400;
}

.bed__title em {
  font-style: italic;
  color: var(--rust);
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 62ch;
}

/* ---------- small shared atoms ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0;
}

/* Soft pill tags — a little color and texture, kept quiet */
.chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.01em;
  color: var(--olive-deep);
  background: var(--sand);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

.chiplist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Card surface used for research/publication/experience/contact entries */
.card {
  background: var(--paper-raised);
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--sand-deep);
}

/* Plain label/value list used across About, Recognition, Contact */
.deflist {
  display: grid;
  gap: 1.1rem;
}

.deflist li {
  display: grid;
  gap: 0.2rem;
}

.deflist b {
  font-weight: 400;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--charcoal);
}

.deflist small {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--olive);
  color: var(--olive-deep);
  background: transparent;
  background-image: none;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--olive-deep);
  color: var(--olive-deep);
  background: var(--sand);
  box-shadow: var(--shadow-sm);
}

.btn--solid {
  background: var(--olive-deep);
  border-color: var(--olive-deep);
  color: var(--paper);
  box-shadow: var(--shadow-md);
}

.btn--solid:hover {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--paper);
}

.btn--ghost {
  border-color: var(--sand-deep);
  color: var(--ink-soft);
}

.btn--ghost:hover {
  border-color: var(--olive);
  color: var(--olive-deep);
  background: var(--sand);
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
