/* ============================================
   TUAN N. LE — BETWEEN STARS AND PAGES
   Theme: astronomer's study (parchment / dark study, light / dark)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Playfair+Display:ital,wght@1,500;1,600&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

/* --- VARIABLES --- */
:root {
  --bg: #f6f1e4;
  --bg-2: #efe6d0;
  --bg-card: #fffdf7;
  --bg-card-hover: #f9f2e2;
  --border: #ded1ab;
  --border-accent: #9c6b34;
  --gold: #9c6b34;
  --gold-light: #b9813f;
  --gold-rgb: 156, 107, 52;
  --teal: #5a6fa8;
  --teal-dark: #47578c;
  --teal-rgb: 90, 111, 168;
  --info: #5a6fa8;
  --info-rgb: 90, 111, 168;
  --warn: #8c4a45;
  --warn-rgb: 140, 74, 69;
  --on-accent: #fbf6ea;
  --text: #2e2a20;
  --text-muted: #6b6250;
  --text-bright: #1c1810;
  --heading: #211d14;
  --nav-bg: rgba(246, 241, 228, 0.92);
  --dropdown-bg: rgba(255, 253, 247, 0.97);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'EB Garamond', Georgia, serif;
  --font-mono: 'Space Mono', 'IBM Plex Mono', monospace;
  --font-quote: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --nav-h: 68px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #15120c;
  --bg-2: #1c170f;
  --bg-card: #1e1912;
  --bg-card-hover: #251f16;
  --border: #3a3324;
  --border-accent: #d9a54a;
  --gold: #d9a54a;
  --gold-light: #e8be72;
  --gold-rgb: 217, 165, 74;
  --teal: #93a3d6;
  --teal-dark: #b7c2e8;
  --teal-rgb: 147, 163, 214;
  --info: #93a3d6;
  --info-rgb: 147, 163, 214;
  --warn: #c98077;
  --warn-rgb: 201, 128, 119;
  --on-accent: #15120c;
  --text: #e4dcc8;
  --text-muted: #a69c86;
  --text-bright: #f7f0de;
  --heading: #f2e9d6;
  --nav-bg: rgba(21, 18, 12, 0.88);
  --dropdown-bg: rgba(30, 26, 18, 0.97);
  color-scheme: dark;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* --- STARFIELD CANVAS — hand-drawn star-chart in light mode, night sky in dark --- */
#starfield {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
  opacity: 0.55;
}
:root[data-theme="dark"] #starfield { opacity: 0.85; }

/* --- NEBULA BLOBS — soft candlelight/ink glows in the corners --- */
.nebula {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  display: block;
  opacity: 0.16;
}
:root[data-theme="dark"] .nebula { opacity: 0.28; }
.nebula-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #B9813F 0%, transparent 70%);
  top: -200px; right: -200px;
}
.nebula-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #5A6FA8 0%, transparent 70%);
  bottom: 10%; left: -150px;
}
.nebula-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #8C4A45 0%, transparent 70%);
  top: 50%; right: 20%;
  opacity: 0.06;
}

/* --- CONTENT WRAPPER --- */
.page-content {
  position: relative;
  z-index: 1;
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--heading);
  text-decoration: none;
}
.nav-logo span {
  color: var(--gold);
  font-style: italic;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  display: block;
  padding: 6px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 0;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: transparent;
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  border-radius: 0;
  cursor: pointer;
  font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s;
}
.theme-toggle:hover {
  border-color: var(--border-accent);
  color: var(--gold);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.nav-dropdown::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  height: 8px;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--dropdown-bg);
  border: 1px solid var(--border);
  border-radius: 0;
  min-width: 220px;
  padding: 6px 0;
  backdrop-filter: blur(20px);
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-links a.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-dropdown-caret {
  font-size: 0.6rem;
  transition: transform 0.25s;
}
.nav-dropdown.open .nav-dropdown-caret { transform: rotate(180deg); }
.nav-dropdown-menu a {
  display: block;
  padding: 8px 18px;
  font-size: 0.88rem;
  border-radius: 0;
  color: var(--text);
}
.nav-dropdown-menu a:hover { color: var(--gold); background: rgba(var(--gold-rgb),0.07); }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: border-color 0.2s, color 0.2s;
}
.nav-toggle:hover { border-color: var(--border-accent); color: var(--gold); }

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 60px 80px;
  position: relative;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--heading);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.hero-name strong {
  font-weight: 600;
  color: var(--text-bright);
}
.hero-name .surname {
  color: var(--gold);
  font-style: italic;
}

.hero-title {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 500px;
}
.hero-title em {
  color: var(--teal);
  font-style: normal;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 28px;
}

.hero-quote {
  font-family: var(--font-quote);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.hero-socials {
  display: flex;
  gap: 14px;
}
.hero-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 0;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s;
}
.hero-socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

/* Hero image */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-photo-wrap {
  position: relative;
  width: 300px;
  height: 380px;
}
.hero-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border: 1px solid var(--border-accent);
  z-index: 0;
}
.hero-photo-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(12%) sepia(6%);
}
.hero-photo-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 12px 18px;
  z-index: 2;
}
.hero-photo-badge .badge-role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}
.hero-photo-badge .badge-inst {
  font-size: 0.85rem;
  color: var(--text);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-hint::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
}
@keyframes scrollBounce {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.8; transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTION COMMONS ===== */
section {
  padding: 100px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--heading);
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.85;
}

/* ===== RESEARCH SECTION (home strip) ===== */
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.research-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.research-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
}

.research-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: grayscale(18%) brightness(0.96) sepia(8%);
  transition: filter 0.3s;
}
.research-card:hover .research-card-img {
  filter: grayscale(0%) brightness(1) sepia(0%);
}

.research-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.research-card-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.research-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 12px;
  line-height: 1.3;
}
.research-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  flex: 1;
}
.research-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: gap 0.2s;
}
.research-card-link:hover { gap: 10px; }

/* ===== FACILITIES / INSTRUMENTS SECTION ===== */
.facilities-wrap {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 60px;
}
.facilities-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.facilities-desc {
  max-width: 640px;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-top: 20px;
  margin-bottom: 48px;
}
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.facility-item {
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.facility-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(18%) brightness(0.94) sepia(8%);
  transition: all 0.4s;
}
.facility-item:hover img {
  filter: grayscale(0%) brightness(1) sepia(0%);
  transform: scale(1.03);
}
.facility-item .facility-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(20,17,12,0.78), transparent);
  padding: 16px 12px 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}
.facility-item:hover .facility-label { opacity: 1; }
.facility-item.facility-item-stat {
   display: flex;
   align-items: center;
   justify-content: center;
   background: var(--bg);
}
.facility-stat-inner { text-align: center; padding: 12px; }
.facility-stat-num {
   font-family: var(--font-display);
   font-size: 2rem;
   font-weight: 500;
   color: var(--gold);
   line-height: 1;
   margin-bottom: 6px;
}
.facility-stat-label {
   font-family: var(--font-mono);
   font-size: 0.62rem;
   letter-spacing: 0.1em;
   text-transform: uppercase;
   color: var(--gold-light);
}

/* ===== PUBLICATIONS PREVIEW (home) ===== */
.pubs-preview { margin-top: 56px; }
.pub-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: transform 0.2s;
}
.pub-item:hover { transform: translateX(6px); }
.pub-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold);
  padding-top: 3px;
  text-align: right;
}
.pub-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 6px;
  line-height: 1.4;
}
.pub-authors { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 6px; }
.pub-authors strong { color: var(--teal); font-weight: 500; }
.pub-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.pub-journal { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); font-style: italic; }
.pub-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 0;
  background: rgba(var(--gold-rgb),0.1);
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb),0.25);
}
.pub-badge.prep { background: rgba(var(--teal-rgb),0.08); color: var(--teal); border-color: rgba(var(--teal-rgb),0.2); }
.pub-doi { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.pub-doi:hover { color: var(--gold); }

/* ===== CV PAGE ===== */
.cv-layout { display: grid; grid-template-columns: 300px 1fr; gap: 60px; margin-top: 60px; }
.cv-sidebar { position: sticky; top: calc(var(--nav-h) + 30px); height: fit-content; }
.cv-photo {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0;
  filter: grayscale(12%) sepia(6%); margin-bottom: 28px; border: 1px solid var(--border);
}
.cv-contact { padding: 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 0; margin-bottom: 20px; }
.cv-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 0.9rem; }
.cv-contact-item:last-child { margin-bottom: 0; }
.cv-contact-icon { color: var(--gold); min-width: 16px; margin-top: 2px; }
.cv-contact-text { color: var(--text-muted); word-break: break-word; }
.cv-contact-note { font-size: 0.8rem; color: var(--text-muted); font-style: italic; padding-top: 6px; border-top: 1px dashed var(--border); margin-top: 4px; }

.cv-skills { padding: 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 0; }
.cv-skill-list { list-style: none; margin-top: 12px; }
.cv-skill-list li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-muted); padding: 5px 0; }
.cv-skill-list li::before { content: '◆'; color: var(--gold); font-size: 0.7rem; }

.cv-section { margin-bottom: 56px; }
.cv-section-title {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 500; color: var(--heading);
  margin-bottom: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--border); position: relative;
}
.cv-section-title::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 50px; height: 1px; background: var(--gold); }

.cv-entry { margin-bottom: 32px; padding-left: 20px; border-left: 1px solid var(--border); position: relative; }
.cv-entry::before { content: ''; position: absolute; left: -4px; top: 6px; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.cv-entry-year { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 4px; }
.cv-entry-title { font-size: 1.05rem; font-weight: 500; color: var(--heading); margin-bottom: 2px; }
.cv-entry-sub { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 8px; }
.cv-entry-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; }
.cv-entry-instrument {
  display: inline-block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--teal);
  background: rgba(var(--teal-rgb),0.08); border: 1px solid rgba(var(--teal-rgb),0.2); border-radius: 0; padding: 2px 8px; margin-bottom: 8px;
}
.cv-download-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px;
  background: linear-gradient(135deg, rgba(var(--gold-rgb),0.15), rgba(var(--gold-rgb),0.05));
  border: 1px solid var(--border-accent); border-radius: 0; color: var(--gold);
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; margin-top: 20px; transition: all 0.2s; cursor: pointer;
}
.cv-download-btn:hover { background: rgba(var(--gold-rgb),0.15); transform: translateY(-2px); }

.cv-interest-details { margin-top: 14px; }
.cv-interest-details summary {
  cursor: pointer; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px;
  border: 1px solid rgba(var(--gold-rgb),0.35); border-radius: 0; transition: background 0.25s, color 0.25s;
}
.cv-interest-details summary::-webkit-details-marker { display: none; }
.cv-interest-details summary:hover { background: rgba(var(--gold-rgb),0.1); }
.cv-interest-details summary::after { content: '+'; margin-left: 4px; font-size: 0.9rem; }
.cv-interest-details[open] summary::after { content: '−'; }
.cv-interest-detail-body { margin-top: 16px; padding: 18px 22px; background: var(--bg-2); border-left: 2px solid rgba(var(--teal-rgb),0.35); border-radius: 0; }
.cv-detail-label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; margin-top: 0; }
.cv-interest-detail-body p:not(.cv-detail-label) { font-size: 0.88rem; color: var(--text-muted); line-height: 1.85; margin-bottom: 18px; }
.cv-interest-detail-body p:last-child { margin-bottom: 0; }
.cv-interest-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); text-decoration: none; margin-top: 12px; }
.cv-interest-link:hover { text-decoration: underline; }

/* ===== RESEARCH PAGE — CHAPTERS ===== */
.research-project {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 60px;
  border: 1px solid var(--border); border-radius: 0; overflow: hidden; transition: border-color 0.3s;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.research-project:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.research-project.reverse { direction: rtl; }
.research-project.reverse > * { direction: ltr; }
.research-project-img {
  width: 100%; height: 100%; min-height: 320px; object-fit: cover;
  filter: grayscale(18%) brightness(0.9) sepia(10%); transition: filter 0.4s;
}
.research-project:hover .research-project-img { filter: grayscale(0%) brightness(1) sepia(0%); }
.research-project-content { padding: 48px; background: var(--bg-card); display: flex; flex-direction: column; justify-content: center; }
.research-project-content h2 { font-family: var(--font-display); font-size: 1.65rem; font-weight: 500; color: var(--heading); line-height: 1.25; margin-bottom: 20px; }
.research-project-content p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.9; margin-bottom: 24px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.project-tag { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em; padding: 3px 10px; border-radius: 0; border: 1px solid var(--border); color: var(--text-muted); }
.project-tag.highlight { border-color: rgba(var(--teal-rgb),0.3); color: var(--teal); background: rgba(var(--teal-rgb),0.06); }
.placeholder-note { padding: 20px 24px; background: var(--bg-2); border: 1px dashed var(--border-accent); border-radius: 0; }
.placeholder-note p { margin-bottom: 0 !important; font-size: 0.86rem !important; font-style: italic; color: var(--text-muted); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 0;
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: none; transition: all 0.22s;
}
.btn-primary { background: var(--gold); color: var(--on-accent); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(var(--gold-rgb),0.25); }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--border-accent); }
.btn-outline:hover { background: rgba(var(--gold-rgb),0.08); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text-bright); border-color: var(--text-muted); }

/* ===== FOOTER ===== */
footer { position: relative; z-index: 1; border-top: 1px solid var(--border); padding: 50px 60px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-copy { font-size: 0.86rem; color: var(--text-muted); }
.footer-copy a { color: var(--gold); text-decoration: none; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.86rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

/* ===== FULL-WIDTH STRIP ===== */
.full-strip { position: relative; z-index: 1; background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 100px 60px; }
.full-strip-inner { max-width: 1200px; margin: 0 auto; }

/* ===== STATS BAR ===== */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 0; overflow: hidden; margin-top: 80px; }
.stat-item { background: var(--bg); padding: 32px 24px; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.stat-num em { font-style: normal; font-size: 1.4rem; }
.stat-label { font-size: 0.72rem; color: var(--text-muted); font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }

/* ===== REFLECTIONS PAGE (philosophy & literature) ===== */
.refl-hero { padding: calc(var(--nav-h) + 80px) 60px 40px; max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.refl-wrap { position: relative; z-index: 1; padding: 20px 60px 100px; max-width: 900px; margin: 0 auto; }

.marginalia { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--warn); text-transform: uppercase; margin: 0 0 8px; }

blockquote.pull-quote {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--heading);
  border-left: 3px solid var(--warn);
  padding: 6px 0 6px 32px;
  margin: 44px 0;
}
blockquote.pull-quote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.quote-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--warn);
  padding: 30px 34px;
  margin-bottom: 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.quote-card:hover { transform: translateX(4px); border-left-color: var(--gold); }
.quote-card p.quote-text {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--heading);
  margin-bottom: 14px;
}
.quote-card .quote-source {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.essay-entry { margin-bottom: 68px; }
.essay-entry-meta { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.essay-entry h2 {
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; color: var(--heading);
  line-height: 1.25; margin-bottom: 22px;
}
.essay-entry p { font-size: 1rem; color: var(--text); line-height: 2; margin-bottom: 22px; }
.essay-entry p.lede { font-size: 1.08rem; color: var(--text-muted); }

.influence-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; margin-top: 44px; }
.influence-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 0; padding: 26px 28px; transition: border-color 0.3s, transform 0.3s; }
.influence-card:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.influence-card .influence-domain { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.influence-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--heading); margin-bottom: 10px; }
.influence-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.8; }

.refl-divider {
  display: flex; align-items: center; gap: 20px; margin: 70px 0 50px;
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-muted);
}
.refl-divider::before, .refl-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ===== FADE IN ANIMATION ===== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: none; }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 48px; }
  .research-grid { grid-template-columns: 1fr 1fr; }
  .facilities-grid { grid-template-columns: repeat(3, 1fr); }
  .cv-layout { grid-template-columns: 1fr; }
  .cv-sidebar { position: static; }
  .cv-photo { width: 200px; }
  .research-project { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto; background: var(--dropdown-bg);
    backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 12px 20px 20px; gap: 2px;
    animation: navSlideDown 0.25s ease;
  }
  @keyframes navSlideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
  .nav-links.open a { padding: 13px 14px; font-size: 0.95rem; }
  .nav-dropdown { width: 100%; display: block; align-self: auto; }
  .nav-dropdown-menu { position: static; display: none; background: transparent; border: none; backdrop-filter: none; padding: 0 0 6px 14px; min-width: 0; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { padding: 11px 14px; font-size: 0.86rem; color: var(--text-muted); }
  .nav-toggle { display: flex; }
  section, .facilities-wrap, .full-strip, footer, .refl-hero, .refl-wrap { padding-left: 20px; padding-right: 20px; }
  .hero { padding-left: 20px; padding-right: 20px; padding-top: calc(var(--nav-h) + 40px); min-height: auto; }
  .hero-visual { margin-top: 40px; }
  .hero-photo-wrap { width: 230px; height: 290px; margin: 0 auto; }
  .hero-photo-badge { left: 0; }
  .hero-socials { flex-wrap: wrap; }
  .research-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; text-align: center; }
  section, .facilities-wrap, .full-strip { padding-top: 64px; padding-bottom: 64px; }
  .influence-grid { grid-template-columns: 1fr; }
  blockquote.pull-quote { font-size: 1.25rem; padding-left: 20px; }
}

@media (max-width: 480px) {
  .hero-socials a, .nav-toggle { width: 44px; height: 44px; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 22px 14px; }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .research-project-content { padding: 32px 24px; }
  .cv-photo { width: 160px; }
  .pub-item { grid-template-columns: 1fr; gap: 6px; }
  .pub-num { text-align: left; }
}

/* ============================================================
   ATMOSPHERE — paper grain, scrollbar, scroll progress
   ============================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] body::before { opacity: 0.09; mix-blend-mode: soft-light; }

::selection { background: rgba(var(--gold-rgb), 0.28); color: var(--text-bright); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-accent); border: 2px solid var(--bg); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
html { scrollbar-color: var(--border-accent) var(--bg); scrollbar-width: thin; }

#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--warn), var(--gold), var(--teal));
  z-index: 200;
  transition: width 0.08s linear;
}

/* ============================================================
   ORNAMENT DIVIDER — fleuron between sections
   ============================================================ */
.ornament-divider {
  display: flex; align-items: center; gap: 20px;
  margin: 70px auto; max-width: 1200px; padding: 0 60px;
  font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: var(--gold);
}
.ornament-divider::before, .ornament-divider::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent); }
.ornament-divider span { flex-shrink: 0; opacity: 0.8; }
@media (max-width: 768px) { .ornament-divider { padding: 0 24px; } }

/* ============================================================
   NAV SEAL — monogram medallion replacing plain wordmark
   ============================================================ */
.nav-logo { display: inline-flex; align-items: center; gap: 10px; }
.nav-seal {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 0.85rem;
  color: var(--gold);
  background: radial-gradient(circle at 35% 30%, rgba(var(--gold-rgb),0.16), transparent 70%);
  flex-shrink: 0;
}

/* ============================================================
   HERO MEDALLION — circular brass-ringed portrait
   ============================================================ */
.hero-medallion { position: relative; width: 300px; height: 300px; margin: 0 auto; }
.hero-medallion-ring {
  position: absolute; inset: -22px; border-radius: 50%;
  border: 1px dashed var(--border-accent);
  opacity: 0.55;
  animation: medallionSpin 90s linear infinite;
}
.hero-medallion-ring::before, .hero-medallion-ring::after {
  content: '\2726'; position: absolute; color: var(--gold); font-size: 0.7rem;
}
.hero-medallion-ring::before { top: -6px; left: calc(50% - 5px); }
.hero-medallion-ring::after { bottom: -6px; left: calc(50% - 5px); }
@keyframes medallionSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.hero-medallion-frame {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--border-accent), 0 20px 46px rgba(0,0,0,0.22);
}
.hero-medallion-frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(10%) sepia(8%); }
.hero-medallion-caption {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%);
  background: var(--bg-card); border: 1px solid var(--border); padding: 8px 20px;
  white-space: nowrap; text-align: center;
}
.hero-medallion-caption .badge-role { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.hero-medallion-caption .badge-inst { font-size: 0.82rem; color: var(--text); }
.hero-flourish { color: var(--gold); opacity: 0.7; font-size: 1.3rem; line-height: 1; margin-bottom: 10px; }

/* ============================================================
   TABLE OF CONTENTS — chapter index list (home page)
   ============================================================ */
.toc-list { margin-top: 52px; border-top: 1px solid var(--border); }
.toc-item {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: baseline; gap: 24px;
  padding: 28px 8px; border-bottom: 1px solid var(--border);
  text-decoration: none; color: inherit;
  transition: background 0.3s, padding-left 0.3s;
  position: relative;
}
.toc-item:hover { background: rgba(var(--gold-rgb), 0.05); padding-left: 20px; }
.toc-num {
  font-family: var(--font-display); font-style: italic; font-size: 1.8rem; font-weight: 500;
  color: var(--gold); opacity: 0.75; line-height: 1;
}
.toc-body h3 {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--heading);
  margin-bottom: 8px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.toc-body .toc-tag {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); border: 1px solid rgba(var(--teal-rgb),0.3); padding: 2px 8px;
}
.toc-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; max-width: 620px; }
.toc-arrow { font-family: var(--font-mono); font-size: 0.85rem; color: var(--gold); transition: transform 0.3s; align-self: center; }
.toc-item:hover .toc-arrow { transform: translateX(6px); }
@media (max-width: 640px) {
  .toc-item { grid-template-columns: 40px 1fr; }
  .toc-arrow { display: none; }
}

/* ============================================================
   PUBLICATIONS — card-catalogue tilt
   ============================================================ */
.pub-full { position: relative; transform-origin: left center; transition: transform 0.35s, background 0.35s; }
.pub-full:hover { transform: translateX(10px) rotate(-0.3deg); background: rgba(var(--gold-rgb),0.04); }
.pub-full::before {
  content: ''; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%; opacity: 0; transition: opacity 0.3s;
  transform: translateY(-50%);
}
.pub-full:hover::before { opacity: 0.8; }

/* ============================================================
   CV MEDALLION variant
   ============================================================ */
.cv-photo.medallion {
  border-radius: 50%; aspect-ratio: 1; border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--border-accent), 0 16px 34px rgba(0,0,0,0.18);
}

/* ============================================================
   CHAPTER NUMERAL — large italic numeral for research page
   ============================================================ */
.chapter-numeral {
  font-family: var(--font-display); font-style: italic; font-size: 3.2rem; font-weight: 500;
  color: var(--gold); opacity: 0.55; line-height: 1; margin-bottom: 6px; display: block;
}

/* ============================================================
   OUTREACH — listing grid, featured strip, article template
   ============================================================ */
.outreach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; margin-top: 44px; }

.outreach-card {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 0; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.outreach-card:hover { transform: translateY(-3px); border-color: var(--border-accent); box-shadow: 0 16px 34px rgba(0,0,0,0.14); }
.outreach-card-thumb {
  position: relative; aspect-ratio: 4 / 3; padding: 22px; display: flex; flex-direction: column;
  justify-content: flex-end; background: linear-gradient(150deg, #2E2716, #1C170F); overflow: hidden;
}
.outreach-card-thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.outreach-card:hover .outreach-card-thumb-img { transform: scale(1.05); }
.outreach-card-thumb-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,18,12,0.05) 0%, rgba(21,18,12,0.55) 55%, rgba(21,18,12,0.9) 100%); }
.outreach-card-icon { position: relative; align-self: center; margin: auto; font-size: 2.2rem; color: rgba(217,165,74,0.35); }
.outreach-card-badge {
  position: relative; align-self: flex-start; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--on-accent); background: var(--gold); padding: 4px 10px; margin-bottom: auto;
}
.outreach-card-thumb-title { position: relative; font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1.2; color: #fbf6ea; margin-bottom: 6px; }
.outreach-card-thumb-sub { position: relative; font-size: 0.78rem; color: rgba(251,246,234,0.85); line-height: 1.4; max-width: 90%; }
.outreach-card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.outreach-card-tag { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.outreach-card-body h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--heading); line-height: 1.3; margin-bottom: 10px; }
.outreach-card-body p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; flex: 1; }
.outreach-card-meta { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.04em; color: var(--text-muted); }
.outreach-card-meta i { color: var(--gold); }

.outreach-featured { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center; margin-top: 40px; }
.outreach-featured-text p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.9; margin-bottom: 24px; }

@media (max-width: 768px) {
  .outreach-featured { grid-template-columns: 1fr; }
  .outreach-card-thumb { aspect-ratio: 16 / 10; }
}

/* Outreach detail article — reused across every talk/event page */
.talk-hero {
  position: relative; z-index: 1; padding: calc(var(--nav-h) + 70px) 60px 50px; max-width: 860px; margin: 0 auto;
}
.talk-back {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); text-decoration: none;
  margin-bottom: 26px; transition: color 0.2s, gap 0.2s;
}
.talk-back:hover { color: var(--gold); gap: 12px; }
.talk-meta { display: flex; flex-wrap: wrap; gap: 22px; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--border); }
.talk-meta-item { display: flex; align-items: center; gap: 10px; font-size: 0.87rem; color: var(--text-muted); }
.talk-meta-item i { color: var(--gold); width: 16px; text-align: center; }
.talk-meta-item strong { color: var(--heading); font-weight: 500; }
.talk-cover { max-width: 860px; margin: 0 auto; padding: 0 60px 10px; position: relative; z-index: 1; }
.talk-cover-frame {
  width: 100%; aspect-ratio: 16/9; background: linear-gradient(150deg, #2E2716, #1C170F);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
}
.talk-cover-frame i { font-size: 2.4rem; color: rgba(217,165,74,0.35); }
.talk-wrap { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; padding: 50px 60px 20px; }
.talk-wrap p { font-size: 0.97rem; color: var(--text-muted); line-height: 1.95; margin-bottom: 26px; }
.talk-wrap h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--heading); margin: 44px 0 18px; line-height: 1.3; }
.talk-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 12px; }
.talk-gallery-frame {
  aspect-ratio: 4/3; border: 1px solid var(--border); background: linear-gradient(150deg, #241f16, #1c170f);
  display: flex; align-items: center; justify-content: center;
}
.talk-gallery-frame i { font-size: 1.4rem; color: rgba(217,165,74,0.3); }
.talk-gallery-caption { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 32px; }
.talk-nav-more { max-width: 780px; margin: 0 auto; padding: 10px 60px 100px; position: relative; z-index: 1; }
@media (max-width: 768px) {
  .talk-hero, .talk-cover, .talk-wrap, .talk-nav-more { padding-left: 24px; padding-right: 24px; }
  .talk-gallery { grid-template-columns: 1fr; }
}
