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

/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 18px; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── Layout ────────────────────────────────────────────── */
.site-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  border-left: 0.5px solid #e0e0e0;
  border-right: 0.5px solid #e0e0e0;
  min-height: 100vh;
}

/* ─── Navigation ────────────────────────────────────────── */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 36px;
  border-bottom: 0.5px solid #e0e0e0;
  position: relative;
}
.site-nav__name {
  font-family: 'DM Mono', monospace;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1a1a;
  font-weight: 500;
}
.site-nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.site-nav__links li { position: relative; }
.site-nav__links a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  font-weight: 400;
  transition: color 0.15s;
}
.site-nav__links a:hover { color: #1a1a1a; }

/* Chevron toggle */
.nav-chevron {
  display: inline-block;
  font-size: 9px;
  margin-left: 3px;
  cursor: pointer;
  padding: 4px 5px;
  color: #aaa;
  vertical-align: middle;
  transition: transform 0.15s;
  user-select: none;
}
li.dropdown-open > .nav-chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 12px;
  background: transparent;
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  z-index: 100;
}
.nav-dropdown::before {
  content: '';
  display: block;
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  border: 0.5px solid #e0e0e0;
  z-index: -1;
}
.site-nav__links li:hover .nav-dropdown,
.nav-dropdown.open {
  opacity: 1;
  pointer-events: all;
}
.nav-dropdown a {
  display: block;
  padding: 12px 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  border-bottom: 0.5px solid #f0f0f0;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { color: #1a1a1a; background: #fafafa; }

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 0.5px solid #e0e0e0;
}

.hero__left {
  padding: 28px 44px 28px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 0.5px solid #e0e0e0;
  gap: 20px;
}

.hero__left-top { display: flex; flex-direction: column; }

.hero__tag {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 18px;
  display: block;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
}

.hero__tagline {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  white-space: nowrap;
}

/* ─── Pills ─────────────────────────────────────────────── */
.pill-band {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
  padding: 6px 14px;
  border: 0.5px solid #ccc;
  border-radius: 100px;
}

/* ─── Hero Right ────────────────────────────────────────── */
.hero__right {
  background: #f9f9f7;
  padding: 28px 36px 28px 44px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero__research-label {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #aaa;
}

.hero__research-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 400;
  font-style: italic;
  color: #1a1a1a;
}

.hero__research-desc {
  font-size: 16px;
  line-height: 1.75;
  color: #555;
  font-weight: 300;
  flex: 1;
}

/* ─── Research Articles (in hero right) ─────────────────── */
.hero__articles {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 0.5px solid #e0e0e0;
  padding-top: 18px;
}

.hero__article {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.hero__article-title {
  font-size: 15px;
  color: #666;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  line-height: 1.4;
}

.hero__article-venue {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: #aaa;
  white-space: nowrap;
  letter-spacing: 0.06em;
}

/* ─── Hero Read More ────────────────────────────────────── */
.hero__read-more {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  border-bottom: 0.5px solid #ccc;
  padding-bottom: 2px;
  display: inline-block;
  margin-top: auto;
  transition: color 0.15s, border-color 0.15s;
}
.hero__read-more:hover { color: #1a1a1a; border-color: #1a1a1a; }

/* ─── Section: Recent Writing ───────────────────────────── */
.section { padding: 44px 36px; }

.section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 14px;
  border-bottom: 0.5px solid #e0e0e0;
}

.section__title {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #aaa;
}

.section__all {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
  font-family: 'DM Mono', monospace;
  transition: color 0.15s;
}
.section__all:hover { color: #1a1a1a; }

/* ─── Articles Grid ─────────────────────────────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.article-card {
  padding: 24px 0;
  border-bottom: 0.5px solid #e0e0e0;
}

.article-card:nth-child(odd) {
  padding-right: 36px;
  border-right: 0.5px solid #e0e0e0;
}

.article-card:nth-child(even) { padding-left: 36px; }
.article-card:nth-last-child(-n+2) { border-bottom: none; }

.article-card__venue {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 10px;
}

.article-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.article-card__desc {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  font-weight: 300;
}

.article-card__year {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: #aaa;
  margin-top: 12px;
}

a.article-card__title {
  display: block;
  transition: opacity 0.15s;
}
a.article-card__title:hover { opacity: 0.6; }

a.pill {
  transition: background 0.15s, color 0.15s;
}
a.pill:hover {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

/* ─── Book Banner ───────────────────────────────────────── */
.book-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 0.5px solid #e0e0e0;
  background: #f9f9f7;
}

.book-banner__left {
  padding: 40px 44px 40px 36px;
  border-right: 0.5px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.book-banner__label {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #aaa;
}

.book-banner__title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.25;
}

.book-banner__meta {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: #aaa;
  letter-spacing: 0.06em;
}

.book-banner__link {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1a1a;
  border-bottom: 0.5px solid #1a1a1a;
  padding-bottom: 2px;
  display: inline-block;
  margin-top: 8px;
  transition: opacity 0.15s;
}
.book-banner__link:hover { opacity: 0.5; }

.book-banner__right {
  padding: 40px 36px 40px 44px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.book-banner__cover {
  width: 100px;
  height: 134px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  background: #1a1a1a;
  box-shadow: 4px 4px 20px rgba(0,0,0,0.15);
}

.book-banner__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-banner__blurbs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.book-banner__blurb {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-style: italic;
  color: #666;
  line-height: 1.6;
}

.book-banner__blurb-attr {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: #aaa;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ─── Footer ────────────────────────────────────────────── */
.site-footer {
  padding: 26px 36px;
  border-top: 0.5px solid #e0e0e0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: #f9f9f7;
}

.site-footer__name {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
}

.site-footer__links { display: flex; gap: 24px; }

.site-footer__links a {
  font-size: 13px;
  color: #aaa;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.08em;
  transition: color 0.15s;
}
.site-footer__links a:hover { color: #1a1a1a; }

/* ─── Inner Pages ───────────────────────────────────────── */
.page-header {
  padding: 52px 36px 36px;
  border-bottom: 0.5px solid #e0e0e0;
}

.page-header__label {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 14px;
  display: block;
}

.page-header__title {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}

.page-content {
  padding: 44px 36px;
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  max-width: 700px;
}

.page-content p { margin-bottom: 1.2em; }

.page-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 2em 0 0.75em;
}

.page-content h3 {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  margin: 1.5em 0 0.5em;
}

.page-content a {
  border-bottom: 0.5px solid #ccc;
  transition: border-color 0.15s;
}
.page-content a:hover { border-color: #1a1a1a; }

/* ─── Responsive / Mobile ───────────────────────────────── */
@media (max-width: 900px) {

  /* Nav: single row */
  .site-nav {
    flex-direction: row;
    align-items: baseline;
    flex-wrap: nowrap;
    padding: 14px 16px;
    gap: 0;
    justify-content: space-between;
  }

  .site-nav__name {
    font-size: 12px;
    flex-shrink: 0;
  }

  .site-nav__links {
    flex-wrap: nowrap;
    gap: 4px 12px;
    align-items: center;
  }

  .site-nav__links li {
    position: static;
  }

  .site-nav__links a {
    font-size: 10px;
  }

  .nav-chevron {
    font-size: 8px;
    padding: 2px 3px;
    margin-left: 1px;
  }

  /* Mobile dropdowns: hidden by default, shown when .open */
  .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 140px;
    opacity: 0;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.15s, max-height 0.2s;
    padding-top: 0;
    background: #fff;
    border: 0.5px solid #e0e0e0;
    z-index: 200;
  }
  .nav-dropdown::before { display: none; }
  .nav-dropdown.open {
    opacity: 1;
    pointer-events: all;
    max-height: 200px;
  }
  .nav-dropdown a {
    padding: 10px 16px;
    font-size: 10px;
    color: #888;
    background: transparent;
  }
  .nav-dropdown a:hover { background: #f9f9f7; }
  .site-nav__links li {
    position: relative;
  }

  /* Site wrapper: remove side borders on mobile */
  .site-wrapper {
    border-left: none;
    border-right: none;
    max-width: 100%;
  }

  /* Hero: stack vertically */
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__left {
    padding: 28px 20px 24px;
    border-right: none;
    border-bottom: 0.5px solid #e0e0e0;
    gap: 20px;
  }

  .hero__title {
    font-size: 34px;
    margin-bottom: 12px;
  }

  .hero__tagline {
    font-size: 11px;
    white-space: normal;
  }

  .hero__right {
    padding: 24px 20px 28px;
    gap: 14px;
  }

  .hero__research-title {
    font-size: 20px;
  }

  .hero__research-desc {
    font-size: 15px;
  }

  /* Hide the article links in hero on mobile — too cramped */
  .hero__articles {
    display: none;
  }

  /* Articles grid: single column */
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .article-card {
    border-right: none !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    border-bottom: 0.5px solid #e0e0e0 !important;
  }

  .article-card:last-child {
    border-bottom: none !important;
  }

  .section {
    padding: 28px 20px;
  }

  /* Book banner: stack vertically */
  .book-banner {
    grid-template-columns: 1fr;
  }

  .book-banner__left {
    padding: 28px 20px 20px;
    border-right: none;
    border-bottom: 0.5px solid #e0e0e0;
  }

  .book-banner__title {
    font-size: 22px;
  }

  .book-banner__right {
    padding: 20px 20px 28px;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
  }

  .book-banner__cover {
    width: 64px;
    height: 86px;
    flex-shrink: 0;
  }

  .book-banner__blurbs {
    gap: 12px;
  }

  .book-banner__blurb {
    font-size: 13px;
  }

  /* Footer: stack */
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
  }

  /* Inner pages */
  .page-header { padding: 28px 20px 20px; }
  .page-header__title { font-size: 28px; }
  .page-content { padding: 24px 20px; font-size: 16px; }
}

/* ─── Writing Page ──────────────────────────────────────── */
.writing-page {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 80vh;
}

.writing-sidebar {
  padding: 40px 24px 40px 32px;
  border-right: 0.5px solid #e0e0e0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.writing-sidebar__label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 20px;
}

.tag-filter {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  padding: 7px 0;
  cursor: pointer;
  border-bottom: 0.5px solid transparent;
  transition: color 0.15s;
}

.tag-filter:hover { color: #1a1a1a; }

.tag-filter.active {
  color: #1a1a1a;
  border-bottom-color: #1a1a1a;
}

.writing-list {
  padding: 40px 36px;
}

.writing-section {
  margin-bottom: 48px;
}

.writing-section__label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #aaa;
  padding-bottom: 12px;
  border-bottom: 0.5px solid #e0e0e0;
  margin-bottom: 0;
}

.pub-entry {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 0.5px solid #f0f0f0;
  align-items: baseline;
}

.pub-entry:last-child { border-bottom: none; }

.pub-year {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: #aaa;
  letter-spacing: 0.06em;
  padding-top: 2px;
}

.pub-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pub-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  color: #1a1a1a;
}

a.pub-title {
  transition: opacity 0.15s;
}
a.pub-title:hover { opacity: 0.6; }

.pub-venue {
  font-size: 13px;
  color: #888;
  font-weight: 300;
  line-height: 1.5;
}

.pub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.pub-tag {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  padding: 2px 8px;
  border: 0.5px solid #ddd;
  border-radius: 100px;
}


/* Writing page mobile */
@media (max-width: 900px) {
  .writing-page {
    grid-template-columns: 1fr;
  }

  .writing-sidebar {
    position: static;
    height: auto;
    padding: 24px 20px 16px;
    border-right: none;
    border-bottom: 0.5px solid #e0e0e0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }

  .writing-sidebar__label {
    width: 100%;
    margin-bottom: 8px;
  }

  .tag-filter {
    display: inline-block;
    width: auto;
    padding: 4px 12px;
    border: 0.5px solid #ddd;
    border-radius: 100px;
    border-bottom-color: #ddd;
  }

  .tag-filter.active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
  }

  .writing-list {
    padding: 28px 20px;
  }

  .pub-entry {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }
}

/* ─── Simple Pages (CV, Contact) ────────────────────────── */
.simple-page {
  padding: 72px 36px;
  border-bottom: 0.5px solid #e0e0e0;
}

.simple-page__inner {
  max-width: 560px;
}

.simple-page__label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 28px;
}

.simple-page__body {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  font-weight: 300;
  margin-bottom: 36px;
}

.simple-page__download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  border: 0.5px solid #1a1a1a;
  padding: 12px 24px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  margin-bottom: 20px;
}

.simple-page__download:hover {
  background: #1a1a1a;
  color: #fff;
}

.simple-page__download-ext {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #aaa;
  border: 0.5px solid #ccc;
  padding: 2px 6px;
  transition: color 0.15s, border-color 0.15s;
}

.simple-page__download:hover .simple-page__download-ext {
  color: #999;
  border-color: #666;
}

.simple-page__note {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #bbb;
  margin-top: 16px;
}

.contact-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 24px;
  margin-bottom: 32px;
  align-items: start;
}

.contact-block__key {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
  padding-top: 2px;
}

.contact-block__value {
  font-size: 15px;
  line-height: 1.8;
  color: #1a1a1a;
  font-weight: 300;
  text-decoration: none;
}

a.contact-block__value:hover {
  border-bottom: 0.5px solid #1a1a1a;
}

@media (max-width: 900px) {
  .simple-page { padding: 48px 20px; }
  .contact-block { grid-template-columns: 1fr; gap: 4px 0; margin-bottom: 28px; }
}

/* ─── About Page ────────────────────────────────────────── */
.about-layout {
  display: flex;
  flex-direction: row;
  border-bottom: 0.5px solid #e0e0e0;
  min-height: 560px;
}

.about-bio {
  flex: 1;
  padding: 64px 56px 64px 36px;
  border-right: 0.5px solid #e0e0e0;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
}

.about-bio__label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 32px;
  display: block;
  flex-shrink: 0;
}

.about-lang-toggle {
  position: absolute;
  top: 64px;
  right: 56px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.about-lang-toggle button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ccc;
  transition: color 0.15s;
}

.about-lang-toggle button.active { color: #1a1a1a; }
.about-lang-toggle button:hover { color: #1a1a1a; }

.about-lang-toggle__sep {
  color: #ddd;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
}

.about-photo-col {
  width: 400px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.about-photo {
  overflow: hidden;
  height: 560px;
  flex-shrink: 0;
}

.about-photo__credit {
  padding: 10px 16px;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #bbb;
  text-transform: uppercase;
  border-top: 0.5px solid #e0e0e0;
  background: #fff;
  flex-shrink: 0;
}

.about-bio p {
  font-size: 16px;
  line-height: 1.9;
  color: #444;
  font-weight: 300;
  max-width: 600px;
  margin: 0 0 1.4em 0;
}

.about-bio p:last-child { margin-bottom: 0; }

.about-bio a {
  border-bottom: 0.5px solid currentColor;
  text-decoration: none;
  color: inherit;
}

.about-bio__pronunciation {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #999;
  margin-top: 32px;
  display: block;
}

.about-bio__fr { display: none; }

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% top;
  display: block;
}

@media (max-width: 900px) {
  .about-layout {
    flex-direction: column;
    min-height: auto;
  }
  .about-photo-col {
    width: 100%;
    order: -1;
  }
  .about-photo {
    height: 360px;
    flex-shrink: 0;
  }
  .about-bio {
    border-right: none;
    padding: 36px 20px;
  }
  .about-bio p { font-size: 15px; }
  .about-lang-toggle { top: 36px; right: 20px; }
}

/* ─── Research Page ─────────────────────────────────────── */
.research-statement {
  padding: 40px 36px;
  background: #f4f4f2;
  border-bottom: 0.5px solid #e0e0e0;
}

.research-statement p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  font-weight: 300;
  max-width: 680px;
}

.research-tabs-nav {
  display: flex;
  border-bottom: 0.5px solid #e0e0e0;
  background: #f4f4f2;
  min-height: 52px;
}

.research-tab-btn {
  flex: 1;
  padding: 18px 24px;
  background: none;
  border: none;
  border-right: 0.5px solid #e0e0e0;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

.research-tab-btn:last-child { border-right: none; }
.research-tab-btn.active { background: #fff; }
.research-tab-btn:hover:not(.active) { background: #eeeeec; }

.research-tab-title {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: #aaa;
  line-height: 1.4;
  display: block;
}

.research-tab-btn.active .research-tab-title { color: #1a1a1a; }

.research-tab-subtitle {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  color: #bbb;
  display: block;
  margin-top: 4px;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

.research-tab-btn.active .research-tab-subtitle { color: #777; }

.research-tab-panel {
  display: none;
  background: #fff;
}

.research-tab-panel.active { display: block; }

.research-tab-image-layout {
  display: grid;
  grid-template-columns: 35% 1fr;
}

.research-tab-image-layout .research-tab-image {
  height: 300px;
  align-self: start;
  border-right: 0.5px solid #e0e0e0;
  border-bottom: none;
}

.research-tab-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-bottom: 0.5px solid #e0e0e0;
}

.research-book-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
}

.research-book-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 28px;
  background: #1a1a1a;
}

.research-book-panel img {
  height: 200px;
  width: auto;
  display: block;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.research-pullquote {
  display: block;
  margin: 0 0 28px 0;
  padding-left: 20px;
  border-left: 2px solid #1a1a1a;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: #1a1a1a;
}

.research-pullquote cite {
  display: block;
  font-size: 13px;
  font-style: normal;
  font-family: 'DM Mono', monospace;
  color: #aaa;
  margin-top: 10px;
  letter-spacing: 0.02em;
}

.research-tab-body {
  padding: 32px 36px;
}

.research-tab-body p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  font-weight: 300;
  max-width: 680px;
}

.research-tab-link {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  border-bottom: 0.5px solid #ccc;
  padding-bottom: 2px;
  display: inline-block;
  margin-top: 20px;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}

.research-tab-link:hover {
  color: #1a1a1a;
  border-color: #1a1a1a;
}

/* Research mobile */
@media (max-width: 900px) {
  .research-statement { padding: 28px 20px; }
  .research-tabs-nav { flex-direction: column; }
  .research-tab-btn { border-right: none; border-bottom: 0.5px solid #e0e0e0; }
  .research-tab-btn:last-child { border-bottom: none; }
  .research-tab-body { padding: 24px 20px; }
  .research-pullquote { font-size: 17px; }
  .research-tab-image-layout { grid-template-columns: 1fr; }
  .research-tab-image-layout .research-tab-image { height: 220px; min-height: 0; border-right: none; border-bottom: 0.5px solid #e0e0e0; }
}
