:root {
  --bg: #0a0a0a;
  --bg-soft: #111116;
  --surface: rgba(255, 255, 255, 0.1);
  --surface-strong: rgba(20, 20, 26, 0.78);
  --text: #f6f2e9;
  --muted: #c9c0ad;
  --accent: #d4af37;
  --accent-strong: #f2cf63;
  --border: rgba(255, 255, 255, 0.18);
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
  --radius: 1.05rem;
  --section-space: clamp(4rem, 8vw, 7rem);
  --max-content: 1160px;
  --nav-height: 4.75rem;
  --reveal-ease: cubic-bezier(0.25, 0.9, 0.35, 1);
}

body.light-mode {
  --bg: #f2efe7;
  --bg-soft: #ffffff;
  --surface: rgba(255, 255, 255, 0.66);
  --surface-strong: rgba(255, 255, 255, 0.85);
  --text: #171717;
  --muted: #4f4a40;
  --accent: #a5841e;
  --accent-strong: #c8a43b;
  --border: rgba(70, 57, 20, 0.24);
  --shadow: 0 12px 24px rgba(39, 31, 12, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 20%, rgba(212, 175, 55, 0.09), transparent 33%),
    radial-gradient(circle at 84% 0%, rgba(212, 175, 55, 0.12), transparent 28%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg-soft) 48%, var(--bg) 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.07), transparent 32%),
    radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.08), transparent 30%);
  filter: blur(14px);
  animation: ambientFlow 12s ease-in-out infinite alternate;
}

body::after {
  opacity: 0.08;
  background-image: radial-gradient(rgba(255, 255, 255, 0.65) 0.6px, transparent 0.8px);
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
}

@keyframes ambientFlow {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.03) translate3d(-0.8%, 0.8%, 0);
  }
}

h1,
h2,
h3,
.brand {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  object-fit: cover;
}

main,
.header-inner,
.footer-inner {
  width: min(100% - 2rem, var(--max-content));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.section::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(100%, 980px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.45), transparent);
}

.section:last-of-type::after {
  display: none;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
}

.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.preloader {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(212, 175, 55, 0.12), transparent 42%),
    radial-gradient(circle at 82% 84%, rgba(212, 175, 55, 0.08), transparent 40%),
    linear-gradient(160deg, #030303 0%, #09090d 52%, #111118 100%);
  display: grid;
  place-items: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader > * {
  position: relative;
  z-index: 1;
}

.preloader::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.05), transparent 35%),
    linear-gradient(300deg, rgba(212, 175, 55, 0.08), transparent 45%);
}

.preloader-mark {
  width: 4.4rem;
  aspect-ratio: 1;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  color: var(--accent);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.24);
}

.preloader-bar {
  width: 14rem;
  height: 0.24rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.13);
  overflow: hidden;
}

.preloader-mark,
.preloader-bar {
  display: none;
}

.preloader-bar span {
  display: block;
  width: 36%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: loading 1.1s ease-in-out infinite;
}

.preloader-title {
  position: relative;
  margin: 0;
  padding-inline: 1rem;
  max-width: min(92vw, 42rem);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.05rem, 2.4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: #f4e7c4;
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.26);
  animation: preloaderTitleReveal 2.4s cubic-bezier(0.22, 0.7, 0.22, 1) 1 both;
}

.preloader-title::after {
  content: "";
  position: absolute;
  inset: -25% -35%;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 38%, rgba(255, 241, 196, 0.4) 50%, transparent 62%);
  transform: translateX(-130%);
  animation: preloaderTitleShine 2.3s ease-in-out 1 both;
}

@keyframes preloaderTitleReveal {
  0% {
    opacity: 0.3;
    transform: translateY(10px) scale(0.985);
    filter: blur(1.1px);
    letter-spacing: 0.07em;
  }
  35% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    letter-spacing: 0.12em;
  }
  100% {
    opacity: 0.82;
    transform: translateY(-4px) scale(1);
    filter: blur(0);
    letter-spacing: 0.11em;
  }
}

@keyframes preloaderTitleShine {
  0%,
  24% {
    transform: translateX(-130%);
    opacity: 0;
  }
  45% {
    opacity: 1;
  }
  70%,
  100% {
    transform: translateX(130%);
    opacity: 0;
  }
}

@media (max-width: 620px) {
  .preloader-title {
    max-width: 86vw;
    font-size: clamp(0.7rem, 3.2vw, 0.86rem);
    letter-spacing: 0.07em;
    line-height: 1.5;
  }
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes loading {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(330%);
  }
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  inset: 0 auto auto 0;
  pointer-events: none;
  z-index: 12000;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cursor-dot {
  width: 0.42rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.cursor-ring {
  width: 2.1rem;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.58);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.cursor-ring.is-active {
  transform: translate(-50%, -50%) scale(1.12);
}

body.has-custom-cursor {
  cursor: none;
}

body.has-custom-cursor input,
body.has-custom-cursor textarea {
  cursor: text;
}

body.has-custom-cursor .cursor-dot,
body.has-custom-cursor .cursor-ring {
  opacity: 1;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 3000;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.scrolled {
  background: rgba(15, 15, 18, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

body.light-mode .site-header.scrolled {
  background: rgba(255, 255, 255, 0.72);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.brand {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  color: var(--accent);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  position: relative;
  padding: 0.62rem 1rem;
  border-radius: 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 0.32rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.is-active {
  color: var(--accent-strong);
  background: rgba(212, 175, 55, 0.12);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-dropdown-trigger i {
  font-size: 0.72rem;
  transition: transform 0.25s ease;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 260px;
  padding: 0.45rem;
  border-radius: 0.7rem;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
  z-index: 20;
}

.nav-dropdown.is-open .nav-dropdown-trigger i {
  transform: rotate(180deg);
}

.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-menu .nav-sublink {
  display: block;
  padding: 0.55rem 0.75rem;
  font-size: 0.83rem;
}

.nav-dropdown-menu .nav-link::after {
  display: none;
}

.menu-toggle,
.theme-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 0.7rem;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.theme-toggle:hover,
.menu-toggle:hover,
.theme-toggle:focus-visible,
.menu-toggle:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-5px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(5px);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg);
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding-top: calc(var(--nav-height) + 1.5rem);
  overflow: hidden;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  animation: auroraShift 14s ease-in-out infinite alternate;
  z-index: -2;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 226, 136, 0.9), rgba(212, 175, 55, 0.2));
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.24);
  opacity: 0.55;
  animation: floatParticle linear infinite;
}

@keyframes auroraShift {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.03) translate3d(0.9%, -0.9%, 0);
  }
}

@keyframes floatParticle {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  20% {
    opacity: 0.55;
  }
  100% {
    transform: translateY(-120px) scale(1.16);
    opacity: 0;
  }
}

.hero-content {
  width: min(760px, 100%);
  padding: clamp(1.4rem, 4vw, 2.5rem);
  margin-top: clamp(1.5rem, 4vh, 3rem);
  display: grid;
  gap: 1rem;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero h1 {
  font-size: clamp(2.2rem, 7vw, 4.4rem);
}

.typing-wrap {
  min-height: 2.05rem;
  font-size: clamp(1rem, 2.3vw, 1.35rem);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.typed-caret {
  width: 2px;
  height: 1.4rem;
  background: var(--accent-strong);
  animation: blink 0.8s steps(2, start) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-intro {
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #111;
  box-shadow: 0 8px 16px rgba(212, 175, 55, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-ghost {
  border-color: rgba(212, 175, 55, 0.45);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.social-links a {
  width: 2.2rem;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(212, 175, 55, 0.16);
}

.scroll-indicator {
  position: absolute;
  bottom: 1.3rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  animation: gentleBounce 1.8s ease-in-out infinite;
}

@keyframes gentleBounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}

.section-heading {
  margin-bottom: 1.6rem;
  display: grid;
  gap: 0.32rem;
}

.section-heading h2 {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
}

.biography-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 1rem;
}

.biography-card,
.biography-highlights {
  padding: 1.05rem;
}

.biography-card {
  background:
    linear-gradient(160deg, rgba(212, 175, 55, 0.09), transparent 35%),
    var(--surface-strong);
}

.biography-card p + p {
  margin-top: 0.7rem;
}

.biography-highlights {
  display: grid;
  gap: 0.7rem;
}

.biography-highlights h3 {
  font-size: 1.45rem;
}

.biography-points {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.biography-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 0.55rem;
  color: var(--muted);
}

.biography-points span {
  color: var(--accent-strong);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem;
  margin-bottom: 1.2rem;
}

.filter-btn {
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.28s ease;
}

.filter-btn:hover,
.filter-btn:focus-visible,
.filter-btn.is-active {
  color: #151515;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-color: transparent;
}

.publication-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 1rem;
}

.publication-card {
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.publication-card img {
  height: 170px;
}

.publication-card:hover,
.publication-card:focus-within {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 10px 18px rgba(212, 175, 55, 0.14), var(--shadow);
}

.publication-body {
  padding: 0.95rem;
  display: grid;
  gap: 0.45rem;
}

.tag {
  width: fit-content;
  padding: 0.2rem 0.58rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-strong);
}

.publication-card.is-hidden {
  display: none;
}

.publication-grid-featured .publication-card img {
  height: 188px;
}

.pub-meta {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.publication-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.stat-card {
  padding: 1rem;
  display: grid;
  gap: 0.38rem;
  border-top: 2px solid rgba(212, 175, 55, 0.45);
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.04) 45%),
    var(--surface-strong);
}

.stat-label {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-value {
  font-family: "Cormorant Garamond", serif;
  color: var(--accent-strong);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  line-height: 1;
}

.publication-timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.95rem;
}

.timeline-entry {
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.timeline-entry::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), rgba(212, 175, 55, 0.2));
}

.timeline-year {
  color: var(--accent-strong);
  letter-spacing: 0.06em;
  font-weight: 700;
}

.journal-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.journal-card {
  padding: 1.05rem;
  display: grid;
  gap: 0.52rem;
  border-top: 2px solid rgba(212, 175, 55, 0.45);
}

.spotlight-band {
  margin-top: 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.spotlight-track {
  display: inline-flex;
  min-width: 200%;
  gap: 1.45rem;
  white-space: nowrap;
  padding: 0.72rem 1rem;
  animation: spotlightMarquee 20s linear infinite;
}

.spotlight-track span {
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
}

@keyframes spotlightMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.publication-cta {
  width: min(760px, 100%);
  margin-inline: auto;
  padding: clamp(1.2rem, 2.8vw, 1.9rem);
  display: grid;
  gap: 1rem;
}

.journal-timeline {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.journal-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
}

.journal-year {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  color: var(--accent-strong);
  min-height: 2.4rem;
  font-weight: 700;
}

.dailies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.daily-column {
  padding: 1.1rem;
  display: grid;
  gap: 0.55rem;
  border-top: 2px solid rgba(212, 175, 55, 0.45);
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.09), transparent 16%),
    var(--surface-strong);
}

.newspaper-meta {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.critiques-list {
  display: grid;
  gap: 0.85rem;
}

.critique-item {
  padding: 0.95rem 1rem;
}

.critique-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.critique-item summary::-webkit-details-marker {
  display: none;
}

.critique-item summary::after {
  content: "+";
  font-size: 1.15rem;
  color: var(--accent);
}

.critique-item[open] summary::after {
  content: "-";
}

.critique-item p {
  margin-top: 0.7rem;
  color: var(--muted);
}

.archive-grid {
  column-count: 3;
  column-gap: 1rem;
}

.archive-item {
  position: relative;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  break-inside: avoid;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.archive-item img {
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: saturate(0.8) contrast(1.05);
}

.archive-item::after {
  content: attr(data-caption);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.72rem 0.8rem;
  font-size: 0.82rem;
  background: linear-gradient(180deg, transparent, rgba(8, 8, 8, 0.8));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.archive-item:hover img,
.archive-item:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1);
}

.archive-item:hover::after,
.archive-item:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  gap: 0.7rem;
  padding: 1.6rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9000;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(92vw, 960px);
  max-height: 76vh;
  border-radius: 0.7rem;
  border: 1px solid rgba(212, 175, 55, 0.38);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.38);
}

.lightbox p {
  color: #efebe2;
  text-align: center;
  font-size: 0.95rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.45rem;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.passions-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.passion-card {
  grid-column: span 4;
  min-height: 9.8rem;
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
  align-content: start;
  transition: transform 0.33s ease, box-shadow 0.33s ease;
}

.passion-card i {
  color: var(--accent);
  font-size: 1.35rem;
}

.passion-card:hover,
.passion-card:focus-within {
  transform: translateY(-4px) rotate(-0.45deg);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.12), var(--shadow);
}

.passion-card-wide {
  grid-column: span 6;
}

.passion-card-tall {
  grid-row: span 2;
}

.language-article-shell {
  width: min(100%, 920px);
  margin-inline: auto;
  padding: clamp(1.1rem, 3vw, 2rem);
  color: #111;
  background: #fff;
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
}

.language-article-status {
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  color: #111;
}

.language-article-status.is-error {
  color: #eaa08d;
}

.language-article-content {
  display: grid;
  gap: 1rem;
  color: #111;
  line-height: 1.82;
  font-size: clamp(1rem, 1.85vw, 1.08rem);
}

.language-article-content p {
  color: #111;
}

.language-article-content h3,
.language-article-content h4 {
  margin-top: 0.45rem;
  color: #111;
  font-size: clamp(1.25rem, 2.7vw, 1.55rem);
}

.language-article-content ul,
.language-article-content ol {
  margin-left: 1.1rem;
  display: grid;
  gap: 0.5rem;
  color: #111;
}

.language-article-content a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 0.16rem;
}

.language-article-content .article-inline-media {
  margin-block: clamp(0.35rem, 1.8vw, 0.95rem);
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: calc(var(--radius) - 0.1rem);
  overflow: hidden;
  background: #f5f5f5;
}

.language-article-content .article-inline-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.awards-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 1rem;
}

.award-badge {
  padding: 1.1rem;
  display: grid;
  gap: 0.45rem;
  position: relative;
  overflow: hidden;
}

.award-badge::before {
  content: "";
  position: absolute;
  inset: -70% auto auto -20%;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent 65%);
  pointer-events: none;
}

.award-year {
  color: var(--accent-strong);
  font-weight: 700;
  letter-spacing: 0.07em;
}

.career-timeline {
  position: relative;
  padding-left: 1.9rem;
  display: grid;
  gap: 0.95rem;
}

.career-line,
.career-progress {
  position: absolute;
  top: 0;
  left: 0.64rem;
  width: 2px;
  border-radius: 99px;
}

.career-line {
  height: 100%;
  background: rgba(255, 255, 255, 0.16);
}

.career-progress {
  height: var(--career-progress, 0%);
  background: linear-gradient(180deg, var(--accent), rgba(212, 175, 55, 0.18));
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.28);
}

.career-item {
  position: relative;
  padding: 0.95rem;
}

.career-item::before {
  content: "";
  position: absolute;
  left: -1.62rem;
  top: 1.25rem;
  width: 0.62rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 9px rgba(212, 175, 55, 0.34);
}

.career-year {
  color: var(--accent-strong);
  font-weight: 700;
}

.contact-form {
  width: min(760px, 100%);
  margin-inline: auto;
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  display: grid;
  gap: 0.55rem;
}

.contact-form label {
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 0.62rem;
  padding: 0.75rem 0.85rem;
  font: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16);
}

.contact-form .invalid {
  border-color: #eaa08d;
  box-shadow: 0 0 0 3px rgba(234, 160, 141, 0.18);
}

.form-status {
  min-height: 1.25rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.form-status.success {
  color: #93d38a;
}

.form-status.error {
  color: #eaa08d;
}

.site-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.footer-inner {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--reveal-ease), transform 0.75s var(--reveal-ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal.delay-1 {
  transition-delay: 0.08s;
}

.js .reveal.delay-2 {
  transition-delay: 0.16s;
}

.js .reveal.delay-3 {
  transition-delay: 0.24s;
}

.js .reveal.delay-4 {
  transition-delay: 0.32s;
}

@media (min-width: 981px) {
  .site-header {
    background:
      linear-gradient(90deg, rgba(8, 8, 10, 0.92) 0%, rgba(34, 27, 11, 0.62) 24%, rgba(10, 10, 12, 0.9) 52%, rgba(34, 27, 11, 0.62) 78%, rgba(8, 8, 10, 0.92) 100%);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  }

  .site-header.scrolled {
    background:
      linear-gradient(90deg, rgba(8, 8, 10, 0.96) 0%, rgba(28, 24, 14, 0.72) 24%, rgba(10, 10, 12, 0.94) 52%, rgba(28, 24, 14, 0.72) 78%, rgba(8, 8, 10, 0.96) 100%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  }

  body.light-mode .site-header,
  body.light-mode .site-header.scrolled {
    background: rgba(255, 255, 255, 0.76);
    border-bottom: 1px solid rgba(70, 57, 20, 0.18);
    box-shadow: 0 8px 18px rgba(39, 31, 12, 0.12);
  }

  .header-inner {
    gap: 1.1rem;
  }

  .site-nav {
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.2rem;
  }

  .nav-link {
    padding: 0.6rem 0.78rem;
    border-radius: 0.78rem;
    font-size: 0.88rem;
  }

  .nav-link:hover,
  .nav-link:focus-visible {
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-link.is-active {
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.28), 0 8px 14px rgba(0, 0, 0, 0.2);
  }

  #profile-overview .eyebrow {
    color: #ffd08a;
  }

  #profile-overview h1 {
    color: #fff4cb;
  }

  #profile-overview .typing-wrap {
    color: #ffd777;
  }

  #profile-overview .typed-caret {
    background: #ffd777;
  }

  #profile-overview .hero-intro {
    color: #f4f0e6;
  }

  .site-nav .connect-nav {
    display: none;
  }

  .hero {
    place-items: end start;
    padding-bottom: clamp(2.25rem, 7vh, 4.25rem);
  }

  .hero-content {
    margin-top: 0;
    margin-left: clamp(1.5rem, 6vw, 6.25rem);
  }

  .publications-landing .hero-content {
    max-width: 840px;
  }
}

@media (max-width: 1120px) {
  .site-nav {
    gap: 0.12rem;
  }

  .nav-link {
    font-size: 0.81rem;
    padding-inline: 0.64rem;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: grid;
  }

  .nav-dropdown {
    width: 100%;
    display: block;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 0.2rem;
    padding: 0.35rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(212, 175, 55, 0.28);
    background: rgba(9, 9, 12, 0.5);
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-4px);
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    max-height: 16rem;
  }

  .site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    width: min(92vw, 420px);
    padding: 0.8rem;
    border-radius: 0.9rem;
    border: 1px solid var(--border);
    background: var(--surface-strong);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav .nav-link {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    border-radius: 0.5rem;
    border: 1px solid rgba(212, 175, 55, 0.42);
    font-weight: 700;
    padding: 0.72rem;
    font-size: 0.92rem;
  }

  .site-nav .nav-sublink {
    border-color: rgba(212, 175, 55, 0.28);
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.62rem;
  }

  .archive-grid {
    column-count: 2;
  }

  .biography-layout {
    grid-template-columns: 1fr;
  }

  .spotlight-track {
    animation-duration: 25s;
  }

  .passion-card,
  .passion-card-wide,
  .passion-card-tall {
    grid-column: span 6;
    grid-row: auto;
  }

  .language-article-shell {
    padding: 1rem;
  }
}

@media (max-width: 760px) {
  main,
  .header-inner,
  .footer-inner {
    width: min(100% - 1.25rem, var(--max-content));
  }

  .hero-bg-gradient {
    background: url("../images/Awards/background_mobile.jpeg");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .hero-content {
    padding: 1.1rem;
    margin-top: clamp(1.25rem, 3vh, 2rem);
  }

  #profile-overview {
    place-items: end center;
    padding-bottom: 3.75rem;
  }

  #profile-overview .hero-content {
    margin-top: 0;
    margin-bottom: 0;
  }

  #publications-portfolio .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #publications-portfolio .filter-bar::-webkit-scrollbar {
    display: none;
  }

  #publications-portfolio .filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.75rem;
    padding: 0.44rem 0.72rem;
  }

  .biography-card,
  .biography-highlights {
    padding: 0.9rem;
  }

  .section {
    padding-block: clamp(3.25rem, 10vw, 4.4rem);
  }

  .archive-grid {
    column-count: 1;
  }

  .journal-item {
    grid-template-columns: 1fr;
  }

  .publication-grid-featured .publication-card img {
    height: 176px;
  }

  .publication-stats {
    grid-template-columns: 1fr;
  }

  .spotlight-track {
    gap: 1rem;
    min-width: 250%;
    animation-duration: 32s;
  }

  .journal-year {
    width: fit-content;
    padding-inline: 0.9rem;
  }

  .passion-card,
  .passion-card-wide,
  .passion-card-tall {
    grid-column: span 12;
  }

  .language-article-content {
    gap: 0.85rem;
    line-height: 1.74;
    font-size: 0.98rem;
  }

  .language-article-content .article-inline-media {
    border-radius: 0.72rem;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }
}

@media (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
