/* Liana Khazaliya — refined editorial theme.
   Visual layer only: the page text, publication metadata and links are unchanged.
   Hand-written CSS, no frameworks or externally hosted fonts. */
:root {
  --page: #f6f5f0;
  --white: #fffefb;
  --ink: #1b2d27;
  --forest: #1d3930;
  --forest-2: #2e5042;
  --muted: #68746b;
  --subtle: #839085;
  --line: #d9ddd5;
  --green-wash: #e9efe9;
  --citrine: #d5cb9e;
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--page); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid #b6a16a; outline-offset: 5px; }
button { font: inherit; }
::selection { background: var(--citrine); color: var(--forest); }
.container { width: min(1312px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 90; top: -100px; left: 20px; background: var(--white); padding: 13px 20px; border: 1px solid var(--line); }
.skip-link:focus { top: 15px; }

/* Calm, almost invisible header with a compact monogram. */
.site-header { height: 92px; background: var(--page); position: relative; z-index: 50; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 26px; }
.wordmark { display: flex; align-items: center; gap: 16px; flex: none; }
.wordmark-glyph { width: 45px; height: 45px; border: 1px solid var(--forest); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); letter-spacing: -.1em; font-size: 24px; padding-right: 5px; line-height: 1; }
.wordmark-dot { color: #aa9561; }
.wordmark-text { font-size: 10px; font-weight: 750; letter-spacing: .18em; }
.main-nav { display: flex; gap: clamp(18px, 2.6vw, 40px); align-items: center; margin-left: auto; }
.main-nav a { font-size: 12px; font-weight: 520; color: #5c6a60; white-space: nowrap; padding: 14px 0; position: relative; transition: color .2s; }
.main-nav a::after { content: ""; background: currentColor; bottom: 8px; height: 1px; left: 0; position: absolute; right: 100%; transition: right .2s; }
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { right: 0; }
.header-cv { border: 1px solid #bfcac0; border-radius: 100px; padding: 11px 18px; margin-left: 8px; font-size: 11px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.header-cv span { margin-left: 10px; }
.header-cv:hover { color: white; background: var(--forest); border-color: var(--forest); }
.menu-button { display: none; }

/* The hero is a single editorial object, not several floating panels. */
.hero { margin-top: 17px; min-height: 620px; display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(390px, .84fr); background: var(--forest); color: #f5f4ea; overflow: hidden; }
.hero-content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 65px 42px 59px clamp(43px, 6.5vw, 93px); min-width: 0; }
.eyebrow { margin: 0; height: 17px; display: flex; align-items: center; }
.eyebrow-line { display: block; background: var(--citrine); width: 56px; height: 1px; }
.hero h1 { font-family: var(--serif); font-size: clamp(77px, 7.5vw, 121px); font-weight: 400; line-height: .97; letter-spacing: -.075em; margin: 35px 0 34px; }
.hero h1 em { font-weight: 400; font-style: italic; color: #dae4d2; }
.period { color: var(--citrine); }
.hero-role { margin: 0; font-size: clamp(12px, 1.18vw, 14px); font-weight: 500; line-height: 1.7; color: #d6e0d6; letter-spacing: .01em; }
.hero-role > span { margin-inline: 8px; color: #b0baa8; }
.hero-actions { display: flex; align-items: center; gap: 17px; margin-top: 49px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 25px; font-size: 12px; font-weight: 650; white-space: nowrap; min-height: 47px; transition: transform .22s, background .22s, color .22s, border-color .22s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #e5e9db; color: #183229; padding: 0 23px; border: 1px solid #e5e9db; }
.btn-primary:hover { background: white; border-color: white; }
.btn-text { padding: 0 16px; color: #e7ebe2; border-bottom: 1px solid rgba(229,239,229,.45); }
.btn-text:hover { color: white; border-bottom-color: white; }
.hero-location { margin: auto 0 0; padding-top: 52px; color: #adbfaf; font-size: 11px; line-height: 1.5; letter-spacing: .005em; }
.location-dot { display: inline-block; background: var(--citrine); width: 6px; height: 6px; border-radius: 50%; vertical-align: middle; margin: -2px 9px 0 0; }
.hero-visual { margin: 0; display: flex; flex-direction: column; min-width: 0; min-height: 0; height: 620px; position: relative; padding: 23px 23px 0 0; }
.portrait-frame { flex: 1; min-height: 0; width: 100%; overflow: hidden; background: #e3e9df; }
.portrait-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 24%; mix-blend-mode: multiply; filter: saturate(.9) contrast(1.025); }
.hero-visual figcaption { min-height: 39px; display: flex; justify-content: flex-end; align-items: center; gap: 12px; font-size: 10px; color: #a7b9a9; letter-spacing: .03em; }
.hero-visual figcaption > span:first-child { display: none; }
.portrait-decoration { position: absolute; display: none; }

/* Indexed editorial sections */
.section { padding-block: 117px 121px; }
.section-grid { display: grid; grid-template-columns: minmax(210px, .31fr) minmax(0, 1fr); column-gap: clamp(45px, 7vw, 112px); }
.section-label { display: block; font: 400 clamp(31px, 3.1vw, 43px)/1.16 var(--serif); letter-spacing: -.048em; padding-top: 3px; max-width: 260px; }
.section-number { display: block; color: #7b8a7d; font: 650 11px/1.5 var(--sans); letter-spacing: .16em; margin-bottom: 29px; }
.section-body { min-width: 0; }
.about-copy { max-width: 775px; }
.about-copy p { font-size: clamp(16px, 1.52vw, 19px); line-height: 1.85; margin: 0; letter-spacing: -.018em; color: #42534b; }
.about-copy p + p { margin-top: 30px; }
.about-copy a { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #9daea1; color: var(--forest); transition: text-decoration-color .2s; }
.about-copy a:hover { text-decoration-color: var(--forest); }
.about-copy em { font-family: var(--serif); font-size: 1.09em; }
.section-kicker:empty { display: none; }

/* Publications: typographic rows with understated editorial rules. */
.publication-section { background: var(--green-wash); }
.publication-section .section-number { color: #778d7d; }
.section-heading-row { display: flex; justify-content: flex-end; align-items: center; min-height: 44px; margin-top: -5px; margin-bottom: 29px; }
.section-heading-row > div:empty { display: none; }
.side-link { display: inline-flex; align-items: center; gap: 12px; border-bottom: 1px solid #819589; padding-bottom: 8px; font-size: 12px; font-weight: 600; color: #2c4d3c; white-space: nowrap; }
.side-link:hover { color: #678773; }
.paper-list { border-top: 1px solid #becdc1; }
.paper { display: grid; grid-template-columns: 108px minmax(0,1fr); gap: 25px; padding: 27px 12px 30px 0; border-bottom: 1px solid #c4d0c5; transition: padding-left .22s, background .22s; }
.paper:hover { padding-left: 12px; background: rgba(255,255,255,.43); }
.paper-meta { padding-top: 6px; }
.paper-meta time { color: #58725e; font-size: 11px; line-height: 1.3; letter-spacing: .09em; font-weight: 720; white-space: nowrap; }
.paper-main { min-width: 0; }
.paper-main h3 { max-width: 740px; margin: 0 0 11px; font: 400 clamp(19px, 1.85vw, 24px)/1.3 var(--serif); letter-spacing: -.019em; }
.paper-main h3 a { display: inline; transition: color .2s; }
.paper-main h3 a:hover { color: #587b63; }
.arrow { color: #608b6e; white-space: nowrap; font: normal 13px/1 var(--sans); margin-left: 11px; display: inline-block; transform: translate(0,0); transition: transform .2s; }
.paper-main h3 a:hover .arrow { transform: translate(4px,-4px); }
.paper-authors, .paper-note { max-width: 690px; color: #607167; font-size: 12px; line-height: 1.7; margin: 0; }
.paper-note { color: #7b887c; font-size: 11px; margin-top: 6px; }
.after-pubs { display: inline-flex; gap: 15px; align-items: center; color: #284939; margin-top: 35px; border-bottom: 1px solid #8fa998; padding-bottom: 9px; font-size: 12px; font-weight: 650; transition: color .2s; }
.after-pubs:hover { color: #6c8975; }

/* Research / education uses quiet temporal alignment. */
.timeline { border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 24px; padding: 25px 8px 28px 0; border-bottom: 1px solid var(--line); }
.timeline-date { padding-top: 5px; font-size: 11px; color: #6a8571; font-weight: 700; letter-spacing: .02em; }
.timeline-item h3 { margin: 0 0 8px; font: 400 clamp(21px,2vw,27px)/1.24 var(--serif); letter-spacing: -.027em; }
.timeline-item p { font-size: 13px; color: #536259; margin: 0 0 6px; line-height: 1.55; }
.timeline-item span { font-size: 12px; color: #879189; line-height: 1.5; }

/* Teaching / reviewing is a single anchored paper panel. */
.service-section { background: #f0f0ea; }
.teaching-note { display: flex; gap: 24px; border: 1px solid #dce2d8; padding: clamp(27px,4vw,51px); background: var(--white); }
.teaching-mark { flex: none; width: 4px; background: #6b8974; align-self: stretch; min-height: 45px; }
.teaching-note > div { min-width: 0; width: 100%; }
.teaching-note h3 { font: 400 27px/1.2 var(--serif); letter-spacing: -.035em; margin: 0 0 17px; color: var(--ink); }
.teaching-note p { font-size: 13px; color: #536158; line-height: 1.75; margin: 0 0 10px; max-width: 740px; }
.teaching-note h3 ~ h3 { border-top: 1px solid var(--line); margin-top: 31px; padding-top: 31px; }
.teaching-note em { color: var(--forest); font-style: normal; font-weight: 650; }
.miscellaneous-section { padding-block: 92px 104px; }
.miscellaneous-section .about-copy p { font-family: var(--serif); font-size: clamp(22px,2.3vw,30px); line-height: 1.5; letter-spacing: -.018em; }

/* Contact anchors in the footer, with the exact original information. */
.site-footer { background: var(--forest); color: #f1f2e8; padding-block: 47px; }
.footer-inner { display: grid; grid-template-columns: 66px minmax(100px,1fr) auto; align-items: center; gap: 25px; }
.footer-mark { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid #91ad9c; border-radius: 50%; font: 400 29px/1 var(--serif); letter-spacing: -.095em; padding-right: 3px; }
.footer-mark span { color: var(--citrine); }
.footer-inner p { font-size: 11px; line-height: 1.5; color: #a7bdb0; margin: 0; white-space: nowrap; }
.footer-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 11px 26px; }
.footer-links a { color: #e3eae1; font-size: 11px; line-height: 1.6; transition: color .2s; }
.footer-links a:hover { color: var(--citrine); }
.footer-links a:not([href]) { cursor: text; }

@media (max-width: 1100px) {
  .container { width: min(100% - 64px, 1312px); }
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr); min-height: 560px; }
  .hero-visual { height: 560px; }
  .hero-content { padding-left: 47px; padding-right: 25px; }
  .hero h1 { font-size: clamp(66px, 8vw, 94px); }
  .section-grid { grid-template-columns: 235px minmax(0, 1fr); gap: 45px; }
  .footer-inner { grid-template-columns: 54px 1fr; }
  .footer-links { grid-column: 1 / -1; justify-content: flex-start; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.19); }
}
@media (max-width: 820px) {
  .site-header { height: 76px; }
  .wordmark { gap: 12px; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 11px; }
  .wordmark-text { font-size: 9px; }
  .hero { min-height: 520px; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); }
  .hero-visual { height: 520px; }
  .hero h1 { font-size: clamp(60px, 8.3vw, 78px); }
  .hero-content { padding-left: 34px; }
  .hero-actions { gap: 8px; margin-top: 31px; }
  .hero-role { font-size: 11px; }
  .section-grid { grid-template-columns: 190px minmax(0,1fr); gap: 34px; }
  .section { padding-block: 88px; }
  .section-label { font-size: 32px; }
  .timeline-item { grid-template-columns: 110px 1fr; gap: 12px; }
}
@media (max-width: 690px) {
  html { scroll-padding-top: 76px; }
  .container { width: calc(100% - 36px); }
  .site-header { height: 72px; }
  .wordmark-glyph { width: 39px; height: 39px; font-size: 21px; }
  .wordmark-text { font-size: 9px; }
  .header-cv { margin-left: auto; font-size: 11px; padding: 9px 13px; }
  .header-cv span { margin-left: 4px; }
  .menu-button { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 39px; height: 39px; cursor: pointer; background: none; border: 1px solid #bfcac0; border-radius: 50%; flex: none; }
  .menu-button span { width: 15px; height: 1px; background: var(--forest); transition: transform .2s; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; padding: 16px 23px 22px; background: var(--page); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 16px 27px rgba(15,33,22,.09); margin: 0; flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.is-open { display: flex; }
  .main-nav a { font-size: 14px; padding: 13px 4px; }
  .main-nav a::after { display: none; }
  .hero { margin-top: 3px; display: flex; flex-direction: column; min-height: auto; }
  .hero-content { padding: 49px 27px 43px; }
  .hero h1 { margin: 22px 0 22px; font-size: clamp(65px, 13.7vw, 95px); }
  .eyebrow-line { width: 38px; }
  .hero-role { font-size: 12px; }
  .hero-actions { margin-top: 30px; gap: 10px; }
  .hero-location { padding-top: 30px; }
  .hero-visual { padding: 0 18px 0; height: auto; }
  .portrait-frame { height: 390px; flex: auto; }
  .portrait-frame img { object-position: center 22%; }
  .hero-visual figcaption { height: 35px; min-height: 35px; font-size: 9px; }
  .section { padding-block: 77px 81px; }
  .section-grid { display: block; }
  .section-label { max-width: none; margin-bottom: 36px; font-size: clamp(35px,9vw,43px); }
  .section-number { margin-bottom: 13px; }
  .about-copy p { font-size: 16px; line-height: 1.8; }
  .about-copy p + p { margin-top: 22px; }
  .section-heading-row { justify-content: flex-start; margin: -14px 0 23px; }
  .paper { grid-template-columns: 1fr; gap: 11px; padding: 22px 5px 24px 0; }
  .paper:hover { padding-left: 7px; }
  .paper-meta { padding-top: 0; }
  .paper-main h3 { font-size: 22px; line-height: 1.32; }
  .timeline-item { grid-template-columns: 104px 1fr; gap: 15px; }
  .timeline-item h3 { font-size: 23px; }
  .service-section .teaching-note { padding: 29px 23px; gap: 15px; }
  .teaching-note h3 { font-size: 24px; }
  .miscellaneous-section .about-copy p { font-size: 24px; }
  .site-footer { padding-block: 38px; }
  .footer-inner { gap: 20px; }
  .footer-links { gap: 10px 21px; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 28px); }
  .wordmark-text { display: none; }
  .hero-content { padding: 40px 19px 34px; }
  .hero h1 { font-size: clamp(53px,14.2vw,67px); }
  .hero-role > span { margin-inline: 3px; }
  .btn { gap: 13px; font-size: 11px; }
  .btn-primary { padding-inline: 16px; }
  .portrait-frame { height: 330px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .timeline-date { padding: 0; }
  .footer-inner { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.misc-section .about-copy p {
    font-size: 1.15rem;
    line-height: 1.6;
}
