/* Editorial × Quiet Glass — V11. Source Serif 4 and Safari-compatible layout. */

/* Static web fonts, with system-serif fallbacks if CDN is unavailable. */
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/npm/@fontsource/source-serif-4@5.3.0/files/source-serif-4-latin-400-normal.woff2") format("woff2"),
       url("https://cdn.jsdelivr.net/npm/@fontsource/source-serif-4@5.3.0/files/source-serif-4-latin-400-normal.woff") format("woff");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/npm/@fontsource/source-serif-4@5.3.0/files/source-serif-4-latin-500-normal.woff2") format("woff2"),
       url("https://cdn.jsdelivr.net/npm/@fontsource/source-serif-4@5.3.0/files/source-serif-4-latin-500-normal.woff") format("woff");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/npm/@fontsource/source-serif-4@5.3.0/files/source-serif-4-latin-600-normal.woff2") format("woff2"),
       url("https://cdn.jsdelivr.net/npm/@fontsource/source-serif-4@5.3.0/files/source-serif-4-latin-600-normal.woff") format("woff");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/npm/@fontsource/source-serif-4@5.3.0/files/source-serif-4-latin-700-normal.woff2") format("woff2"),
       url("https://cdn.jsdelivr.net/npm/@fontsource/source-serif-4@5.3.0/files/source-serif-4-latin-700-normal.woff") format("woff");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/npm/@fontsource/source-serif-4@5.3.0/files/source-serif-4-latin-400-italic.woff2") format("woff2"),
       url("https://cdn.jsdelivr.net/npm/@fontsource/source-serif-4@5.3.0/files/source-serif-4-latin-400-italic.woff") format("woff");
}
:root {
  --paper: #fdfcfa;
  --ink: #272825;
  --heading: #272825;
  --muted: #666762;
  --green: #35674e;
  --green-hover: #234b36;
  --line: #e5e3df;
  --glass-solid: #fefdfb;
  --glass: rgba(253,252,250,.78);
  --max: 1080px;
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "Noto Serif", "Times New Roman", "Songti SC", SimSun, serif;
  --small: .9375rem; /* 15px */
  --body: 1.0625rem; /* 17px */
  --section: 1.375rem; /* 22px: section headings */
  --index-title: 1.25rem; /* 20px: years and archive headings */
  --title: 2.25rem; /* 36px */
  --hero-title: 2.75rem; /* 44px */
  --header-height: 66px;
  --gutter: 48px;
  --left: minmax(166px,.28fr);
}
@supports (width: clamp(28px, 5vw, 64px)) {
  :root { --gutter: clamp(28px, 5vw, 64px); }
}
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:calc(var(--header-height) + 26px); }
body { margin:0; min-height:100vh; display:flex; flex-direction:column; background:var(--paper); color:var(--ink); font-family:var(--serif); font-size:var(--body); font-weight:400; line-height:1.7; -webkit-font-smoothing:antialiased; }
main { flex:1 0 auto; min-width:0; }
.site-header, .site-footer { flex-shrink:0; }
a { color:var(--green); text-underline-offset:.2em; text-decoration-thickness:1px; overflow-wrap:break-word; overflow-wrap:anywhere; }
a:hover { color:var(--green-hover); }
a:focus { outline:2px solid var(--green); outline-offset:4px; }
@supports selector(:focus-visible) {
  a:focus:not(:focus-visible) { outline:none; }
}
h1,h2,h3,p { margin:0; }
/* Medium headings are true 500-weight faces, not synthesized Georgia Bold. */
h1,h2,h3 { color:var(--heading); line-height:1.38; }
h1 { font-size:var(--title); font-weight:500; line-height:1.2; letter-spacing:-.01em; }
.hero h1 { font-size:var(--hero-title); font-weight:500; letter-spacing:-.025em; }
h2 { font-size:var(--section); font-weight:500; }
h3 { font-size:var(--body); font-weight:400; }
p+p { margin-top:.85em; }
.wrap { width:calc(100% - 96px); max-width:var(--max); margin-left:auto; margin-right:auto; }
.split { display:grid; grid-template-columns:var(--left) minmax(0,1fr); gap:var(--gutter); }
/* The header is flush with the viewport, never a floating island. */
.site-header { position:-webkit-sticky; position:sticky; top:0; z-index:10; width:100%; background:var(--glass-solid); border-bottom:1px solid var(--line); }
.header-inner { min-height:66px; display:flex; align-items:center; justify-content:space-between; gap:28px; }
.brand { color:var(--heading); font-size:var(--body); font-weight:500; text-decoration:none; white-space:nowrap; }
.site-nav { display:flex; align-items:center; flex-wrap:wrap; gap:22px; gap:clamp(14px,2.2vw,28px); }
.site-nav a { position:relative; display:inline-block; font-size:var(--body); color:var(--muted); white-space:nowrap; padding:8px 0; text-decoration:none; transition:color .16s ease; }
.site-nav a:hover,.site-nav a[aria-current="page"] { color:var(--green); }
.site-nav a[aria-current="page"]::after { content:""; position:absolute; left:0; right:0; bottom:1px; height:1px; background:var(--green); }
@supports (-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px)) {
  .site-header { background:var(--glass); -webkit-backdrop-filter:blur(18px) saturate(110%); backdrop-filter:blur(18px) saturate(110%); }
}
/* Home: an editorial identity block and one subtle contact surface. */
.hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(238px,.37fr); align-items:center; gap:var(--gutter); padding:60px 0 46px; }
.hero-copy { min-width:0; }
.eyebrow { font-size:var(--small); font-weight:500; text-transform:uppercase; letter-spacing:.14em; color:var(--green); margin-bottom:13px; }
.affiliation { margin-top:11px; color:var(--muted); line-height:1.55; }
.intro { margin-top:24px; max-width:700px; }
.intro::before { content:""; display:block; width:32px; height:2px; background:var(--green); margin:0 0 23px; }
.info { position:relative; isolation:isolate; min-width:0; margin-top:0; padding:23px 24px; background:var(--glass-solid); border:1px solid #e1dfda; border-radius:10px; box-shadow:0 6px 28px rgba(40,38,33,.035),inset 0 1px 0 rgba(255,255,255,.9); }
@supports (-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px)) {
  .info { background:rgba(255,255,255,.60); -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px); }
}
/* A neutral glow only behind the small glass surface, not a green wash. */
.hero { position:relative; isolation:isolate; }
.hero::before { content:""; position:absolute; z-index:-1; pointer-events:none; right:0; top:5%; width:45%; height:88%; background:radial-gradient(ellipse at 55% 45%,rgba(217,214,207,.27),transparent 72%); }
.info h2 { margin-bottom:12px; }
.info p,.info .links { color:var(--muted); font-size:var(--small); }
.info .links { list-style:none; padding:13px 0 0; margin:13px 0 0; border-top:1px solid var(--line); display:grid; gap:8px; }
.info .links a { text-decoration:none; }
.info .links a:hover { text-decoration:underline; }
.section { border-top:1px solid var(--line); padding:28px 0 34px; }
.news { list-style:none; margin:0; padding:0; }
.news li { display:grid; grid-template-columns:90px minmax(0,1fr); gap:18px; padding:9px 0; line-height:1.6; }
.news li:first-child { padding-top:0; }
.news time { color:var(--muted); font-size:var(--small); font-variant-numeric:tabular-nums; padding-top:2px; }
.news a { color:var(--green); text-decoration:none; }
.news a:hover { text-decoration:underline; }
/* Page headings share the same restrained typography. */
.page-heading { padding:43px 0 25px; align-items:end; grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr); border-bottom:1px solid var(--line); }
.heading-note { font-size:var(--small); color:var(--muted); max-width:480px; }
/* Modern academic research rows, no invented graphics. */
.research-page .section-row { padding:30px 0; align-items:start; border-bottom:1px solid var(--line); }
.research-page .row-label { font-size:var(--index-title); font-weight:500; }
.row-content { min-width:0; }
.research-page .end-note { font-size:var(--small); border-bottom:0; }
/* Academic archive: a single persistent index, separate from the entries. */
.archive-layout { display:grid; grid-template-columns:190px minmax(0,1fr); gap:48px; gap:clamp(32px,5.2vw,62px); padding:28px 0 12px; align-items:start; }
.archive-sidebar { position:-webkit-sticky; position:sticky; top:calc(var(--header-height) + 26px); align-self:start; max-height:calc(100vh - var(--header-height) - 48px); overflow-y:auto; border-right:1px solid var(--line); padding:4px 17px 6px 0; }
.index-caption { color:var(--muted); font-size:var(--small); letter-spacing:.06em; margin:0 0 11px 12px; }
.archive-nav ul { list-style:none; padding:0; margin:0; display:grid; gap:4px; }
.archive-nav a { display:block; padding:6px 10px; border-left:2px solid transparent; color:var(--muted); text-decoration:none; line-height:1.4; transition:color .16s ease,border-color .16s ease; font-size:var(--small); }
.archive-nav a:hover { color:var(--green); }
.archive-nav a[aria-current="location"] { color:var(--green); border-color:var(--green); font-weight:400; }
.archive-content { min-width:0; }
.archive-section { padding:0 0 29px; }
.archive-section+.archive-section { border-top:1px solid var(--line); padding-top:25px; }
.archive-section-title { font-size:var(--index-title); margin-bottom:19px; font-weight:500; font-variant-numeric:lining-nums tabular-nums; }
.publication-group+.publication-group { margin-top:27px; }
.pub-group { font-size:var(--small); color:var(--muted); font-weight:400; margin-bottom:13px; letter-spacing:.025em; }
.pub-list { list-style:none; margin:0; padding:0; }
.pub { padding:0; }
.pub+.pub { margin-top:21px; }
.pub-title { font-size:var(--body); line-height:1.48; font-weight:500; color:var(--heading); text-decoration:none; display:inline-block; }
a.pub-title:hover { color:var(--green); text-decoration:underline; }
.authors,.venue { color:var(--muted); font-size:var(--small); line-height:1.55; margin-top:4px; }
.authors strong { font-weight:600; color:var(--ink); }
.authors sup { font-size:.72em; line-height:0; }
.pub-links,.entry-links { display:flex; align-items:center; flex-wrap:wrap; gap:16px; font-size:var(--small); margin-top:5px; }
.pub-links a,.entry-links a { text-decoration:none; }
.pub-links a:hover,.entry-links a:hover { text-decoration:underline; }
.author-note { font-size:var(--small); line-height:1.5; color:var(--muted); margin-bottom:16px; }
.heading-note .author-note { margin:0; }
/* CV and event lists use spacing rather than rules between every item. */
.cv-entry+.cv-entry { margin-top:18px; }
.cv-entry p { margin-top:5px; }
.entry-meta { color:var(--muted); font-size:var(--small); }
.event-list { list-style:none; padding:0; margin:0; }
.event-entry { display:grid; grid-template-columns:82px minmax(0,1fr); gap:20px; }
.event-entry+.event-entry { margin-top:19px; }
.event-entry time,.event-kind { color:var(--muted); font-size:var(--small); font-variant-numeric:tabular-nums; }
.event-entry time { padding-top:2px; }
.event-entry .entry-meta { margin-top:5px; line-height:1.55; }
.event-kind { margin-bottom:5px; }
.dated-entry { display:grid; grid-template-columns:minmax(128px,.25fr) minmax(0,1fr); gap:20px; }
.dated-entry .date-label { margin:0; padding-top:2px; font-size:var(--small); }
.dated-entry p { line-height:1.55; }
.cv-year-group+.cv-year-group { margin-top:26px; }
.cv-year { color:var(--heading); font-size:var(--index-title); font-weight:500; }
.profile-list { display:grid; grid-template-columns:minmax(106px,.24fr) minmax(0,1fr); gap:9px 18px; margin:0; }
.profile-list dt { color:var(--muted); }
.profile-list dd { margin:0; min-width:0; overflow-wrap:break-word; overflow-wrap:anywhere; }
.skills-list { grid-template-columns:minmax(145px,.3fr) minmax(0,1fr); }
.footer { border-top:1px solid var(--line); padding:19px 0 28px; margin-top:22px; display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; color:var(--muted); font-size:var(--small); }
.skip { position:absolute; left:-1000px; }
.skip:focus { left:12px; top:12px; padding:10px; background:var(--paper); z-index:20; }
@media(max-width:960px) {
  .wrap { width:calc(100% - 48px); }
  .header-inner { min-height:0; align-items:flex-start; flex-direction:column; gap:4px; padding:12px 0; }
  .site-nav { gap:4px 20px; }
  .site-nav a { font-size:var(--small); padding:4px 0; }
  .hero { gap:28px; padding:42px 0 34px; }
  .archive-layout { grid-template-columns:160px minmax(0,1fr); gap:30px; }
  .archive-sidebar { padding-right:12px; }
  .page-heading { padding:35px 0 23px; }
}
@media(max-width:680px) {
  .wrap { width:calc(100% - 36px); }
  .site-nav { gap:3px 15px; }
  .hero { grid-template-columns:1fr; gap:23px; padding:34px 0 27px; }
  :root { --title: 2rem; --hero-title: 2.375rem; }
  .eyebrow { letter-spacing:.095em; }
  .hero::before { top:auto; bottom:0; width:95%; height:42%; }
  .info { padding:19px 21px; }
  .split { grid-template-columns:1fr; gap:14px; }
  .page-heading { padding:30px 0 20px; }
  .section { padding:23px 0; }
  .archive-layout { display:block; padding-top:18px; }
  .archive-sidebar { position:static; border-right:0; border-bottom:1px solid var(--line); padding:0 0 15px; margin-bottom:23px; max-height:none; overflow:visible; }
  .index-caption { margin-left:0; margin-bottom:8px; }
  .archive-nav ul { display:flex; flex-wrap:wrap; gap:4px 14px; }
  .archive-nav a { border-left:0; border-bottom:1px solid transparent; padding:3px 0; }
  .archive-section { padding-bottom:24px; }
  .archive-section+.archive-section { padding-top:23px; }
  .news li { grid-template-columns:76px minmax(0,1fr); gap:12px; }
  .event-entry,.dated-entry { grid-template-columns:1fr; gap:4px; }
  .skills-list { grid-template-columns:1fr; gap:4px; }
  .skills-list dd+dt { margin-top:8px; }
  .end-note > span { display:none; }
  .footer { flex-direction:column; gap:4px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } * { transition:none !important; } }
@media(prefers-reduced-transparency:reduce) { .site-header,.info { background:var(--glass-solid); backdrop-filter:none; -webkit-backdrop-filter:none; } }
@media print {
  @page { margin:17mm; }
  body { display:block; color:#111; background:white; font-size:11pt; line-height:1.45; }
  .wrap { width:100%; max-width:none; }
  .site-header,.archive-sidebar,.skip,.footer,.hero::before { display:none; }
  .page-heading { padding:0 0 12pt; }
  .archive-layout { display:block; padding-top:12pt; }
  .archive-section-title { break-after:avoid; }
  .pub,.event-entry,.cv-entry { break-inside:avoid; }
  .info { background:white; box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
  a { color:#111; }
}
