/* =========================================================
   Sonavane Academic — design system
   Navy / White / Gold · Cormorant Garamond + Inter
   ========================================================= */
:root {
	--navy: #0b1f3a;
	--navy-2: #102a4c;
	--navy-deep: #071528;
	--gold: #b8954a;
	--gold-2: #d4b475;
	--gold-ink: #8a6a28; /* AA on white for small text */
	--ivory: #f7f5f0;
	--paper: #ffffff;
	--ink: #1c2430;
	--ink-2: #4a5566;
	--line: #e4e0d6;
	--line-2: #eceae4;
	--ok: #1f7a4d;
	--err: #b42318;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(11,31,58,.06), 0 8px 24px rgba(11,31,58,.08);
	--shadow-lg: 0 2px 4px rgba(11,31,58,.06), 0 20px 48px rgba(11,31,58,.14);
	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wrap: 1200px;
	--prose: 760px;
	--gutter: clamp(16px, 4vw, 32px);
	--ease: cubic-bezier(.2,.7,.2,1);
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--paper); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-color: rgba(184,149,74,.6); text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: 1.15; letter-spacing: -.005em; margin: 0 0 .5em; }
h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 600; line-height: 1.35; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 1000; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 8px; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.container-prose { max-width: calc(var(--prose) + 2 * var(--gutter)); }
.container-wide { max-width: var(--wrap); }
.center { text-align: center; }
.muted { color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn, .wp-block-button__link { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font: 600 .95rem/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold, .wp-block-button__link { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover, .wp-block-button__link:hover { background: var(--gold-2); color: var(--navy-deep); box-shadow: 0 8px 22px rgba(184,149,74,.35); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn-outline { color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--navy); }
.text-link:hover { color: var(--gold-ink); }
.text-link .ico { transition: transform .2s var(--ease); }
.text-link:hover .ico { transform: translateX(3px); }

.chip { display: inline-block; font: 600 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; background: #eef1f6; color: var(--navy); text-decoration: none; }
.chip:hover { background: var(--navy); color: #fff; }
.chip-gold { background: rgba(184,149,74,.16); color: var(--gold-ink); }
.chip-sm { font-size: .66rem; padding: 5px 9px; }
.kicker { font: 600 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.kicker-gold { color: var(--gold-2); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(11,31,58,.06); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); min-width: 0; }
.brand .custom-logo { max-height: 52px; width: auto; }
.brand-mark { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold-2); font: 700 1.05rem/1 var(--serif); letter-spacing: .04em; box-shadow: inset 0 0 0 2px rgba(212,180,117,.55); }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font: 700 1.22rem/1.15 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-role { font: 500 .72rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }

.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.primary-nav li { position: relative; }
.primary-nav a { display: block; padding: 10px 14px; font: 500 .93rem/1.2 var(--sans); color: var(--ink); text-decoration: none; border-radius: 8px; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { color: var(--navy); background: #f2f0ea; }
.primary-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); opacity: .6; }
.primary-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { padding: 10px 12px; }
.primary-nav .menu > li:last-child > a { background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 999px; margin-left: 6px; }
.primary-nav .menu > li:last-child > a:hover { background: var(--gold); color: var(--navy-deep); }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); padding: 8px; cursor: pointer; border-radius: 8px; }
.nav-toggle .nt-close { display: none; }

@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; }
	.primary-nav { position: fixed; inset: 76px 0 0 0; background: #fff; padding: 12px var(--gutter) 40px; overflow-y: auto; opacity: 0; transform: translateY(-10px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; visibility: hidden; }
	.nav-open .primary-nav { opacity: 1; }
	.admin-bar .primary-nav { top: 122px; }
	.nav-open .primary-nav { transform: none; visibility: visible; }
	.nav-open .nt-open { display: none; }
	.nav-open .nt-close { display: inline; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav a { padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--line-2); border-radius: 0; }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
	.primary-nav .sub-menu a { font-size: .97rem; color: var(--ink-2); }
	.primary-nav .menu > li:last-child > a { margin: 18px 0 0; text-align: center; }
	.primary-nav .menu-item-has-children > a::after { display: none; }
	body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand-name { font-size: 1.08rem; } .brand-role { font-size: .64rem; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy-deep); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background:
	radial-gradient(900px 500px at 85% 20%, rgba(184,149,74,.20), transparent 60%),
	radial-gradient(700px 600px at 0% 100%, rgba(32,72,130,.45), transparent 60%),
	linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #0e2747 100%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 80%); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 80%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 104px); }
.eyebrow { display: inline-block; font: 600 .78rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); padding: 8px 14px; border: 1px solid rgba(212,180,117,.4); border-radius: 999px; margin-bottom: 26px; }
.hero-name { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; line-height: 1.02; margin-bottom: 22px; }
.hero-headline { font: 500 clamp(1.25rem, 2.2vw, 1.6rem)/1.4 var(--serif); font-style: italic; color: var(--gold-2); max-width: 34ch; margin-bottom: 20px; }
.hero-bio { color: rgba(255,255,255,.82); max-width: 58ch; font-size: 1.02rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-portrait { position: relative; justify-self: center; width: min(100%, 440px); }
.portrait-frame { position: relative; border-radius: 220px 220px 24px 24px; overflow: hidden; aspect-ratio: 4/5; background: #c9a98a; box-shadow: 0 30px 80px rgba(0,0,0,.45); outline: 1px solid rgba(212,180,117,.5); outline-offset: 10px; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.portrait-badge { position: absolute; left: -18px; bottom: 34px; background: #fff; color: var(--navy); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.pb-k { font: 700 1.4rem/1 var(--serif); }
.pb-v { font: 500 .78rem/1.4 var(--sans); color: var(--ink-2); margin-top: 4px; }
@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-portrait { order: -1; width: min(78%, 340px); }
	.portrait-badge { left: auto; right: -10px; bottom: 18px; }
	.hero-copy { text-align: left; }
}
@media (max-width: 520px) { .hero-ctas .btn { flex: 1 1 calc(50% - 6px); justify-content: center; padding: 12px 14px; font-size: .88rem; } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-page { padding-top: clamp(40px, 6vw, 72px); }
.section-ivory { background: var(--ivory); }
.section-navy { background: var(--navy); color: rgba(255,255,255,.85); }
.section-navy .section-title { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Stats */
.section-stats { padding: 0; margin-top: -1px; background: linear-gradient(var(--navy) 0 50%, var(--paper) 50% 100%); }
.stats { display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line-2); overflow: hidden; }
.stat { padding: 30px 18px; text-align: center; border-right: 1px solid var(--line-2); }
.stat:last-child { border-right: 0; }
.stat-num { font: 700 clamp(2rem, 3.4vw, 2.8rem)/1 var(--serif); color: var(--navy); }
.stat-num::after { content: ""; display: block; width: 28px; height: 2px; background: var(--gold); margin: 14px auto 12px; }
.stat-label { font-size: .84rem; line-height: 1.4; color: var(--ink-2); }
.stats-note { font-size: .8rem; color: var(--ink-2); text-align: center; margin: 14px 0 0; }
.section-page .stats, .entry-content .stats { margin: 28px 0; }
@media (max-width: 1000px) { .stats { grid-template-columns: repeat(3, 1fr); } .stat:nth-child(3n) { border-right: 0; } .stat:nth-child(-n+3) { border-bottom: 1px solid var(--line-2); } }
@media (max-width: 520px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat { padding: 22px 10px; border-right: 1px solid var(--line-2) !important; border-bottom: 1px solid var(--line-2); } .stat:nth-child(2n) { border-right: 0 !important; } }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.feature { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 28px; transition: transform .25s var(--ease), box-shadow .25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--gold-2); margin-bottom: 18px; }
.feature p { color: var(--ink-2); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* Awards */
.awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-bottom: 36px; }
.award { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; }
.award::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--gold), var(--gold-2)); }
.award-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.award-icon { color: var(--gold-ink); }
.award-year { font: 700 1.3rem/1 var(--serif); color: var(--gold-ink); }
.award h3 { font-family: var(--serif); font-size: 1.32rem; margin-bottom: 8px; }
.award-by { font-size: .88rem; color: var(--ink-2); margin: 0; }
.award-desc { font-size: .92rem; color: var(--ink-2); margin-top: 10px; }
.award-desc p:last-child { margin: 0; }
.section-navy .award { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.section-navy .award h3 { color: #fff; }
.section-navy .award-by { color: rgba(255,255,255,.7); }
.section-navy .award-year, .section-navy .award-icon { color: var(--gold-2); }

/* Research */
.tags-cloud { list-style: none; padding: 0; margin: 0 0 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.tags-cloud li { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: .95rem; background: #fff; }
.research-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-card { display: flex; align-items: center; gap: 14px; padding: 22px; border-radius: var(--radius); background: var(--ivory); text-decoration: none; color: var(--ink); border: 1px solid transparent; transition: .2s; }
.mini-card:hover { border-color: var(--gold); background: #fff; color: var(--ink); }
.mini-card .ico { color: var(--gold-ink); flex: none; }
.mini-card strong { font: 700 1.4rem/1 var(--serif); color: var(--navy); margin-right: 4px; }
@media (max-width: 760px) { .research-links { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }

/* ---------- Cards (blog) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); display: block; }
.card:hover .card-media img { transform: scale(1.04); }
.card-ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--gold-2); opacity: .7; }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body .chip { align-self: flex-start; }
.card-title { font: 600 1.5rem/1.2 var(--serif); margin: 4px 0 0; }
.card-title a { text-decoration: none; color: var(--navy); }
.card-title a:hover { color: var(--gold-ink); }
.card-excerpt { font-size: .93rem; color: var(--ink-2); margin: 0; flex: 1; }
.card-meta { font-size: .8rem; color: var(--ink-2); letter-spacing: .02em; }

.lead-story { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; background: var(--navy); border-radius: 20px; overflow: hidden; margin-bottom: 40px; color: rgba(255,255,255,.85); box-shadow: var(--shadow-lg); }
.lead-media { display: block; min-height: 360px; background: var(--navy-2); }
.lead-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lead-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.lead-body .chip { align-self: flex-start; background: rgba(212,180,117,.18); color: var(--gold-2); }
.lead-title { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0; }
.lead-title a { color: #fff; text-decoration: none; }
.lead-title a:hover { color: var(--gold-2); }
.lead-sub { font: italic 500 1.15rem/1.4 var(--serif); color: var(--gold-2); margin: 0; }
.lead-excerpt { margin: 0; }
.lead-body .card-meta { color: rgba(255,255,255,.65); }
.lead-body .btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 860px) { .lead-story { grid-template-columns: 1fr; } .lead-media { min-height: 0; aspect-ratio: 16/10; } }

.cat-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.cat-nav a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--ink); background: #fff; }
.cat-nav a:hover, .cat-nav a.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination { margin-top: 48px; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.pagination .current { background: var(--navy); border-color: var(--navy); color: #fff; }
.empty-state { text-align: center; padding: 56px 20px; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); }
.empty-state .ico { color: var(--gold-ink); }
.empty-state p { margin: 10px 0 0; }

/* ---------- Page hero ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy-deep), var(--navy) 70%); color: #fff; padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(212,180,117,.25); box-shadow: 0 0 0 60px rgba(212,180,117,.04), 0 0 0 120px rgba(212,180,117,.03); }
.page-title { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); margin: 0; max-width: 20ch; position: relative; }
.page-subtitle { font: italic 500 clamp(1.1rem, 2vw, 1.4rem)/1.4 var(--serif); color: var(--gold-2); margin: 14px 0 0; max-width: 60ch; position: relative; }
.crumbs { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 18px; position: relative; }
.crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }
.page-feature { margin: 0 0 40px; border-radius: var(--radius); overflow: hidden; }

/* ---------- Prose ---------- */
.prose { font-size: 1.06rem; }
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin: 1.8em 0 .55em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 .5em; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .55em; }
.prose ul:not(.timeline):not(.pub-list):not(.blocks-gallery-grid) > li::marker { color: var(--gold); }
.prose .lead, .prose p.lead { font: 500 clamp(1.25rem, 2.2vw, 1.5rem)/1.5 var(--serif); color: var(--navy); }
.prose blockquote, .wp-block-quote { margin: 2em 0; padding: 8px 0 8px 28px; border-left: 3px solid var(--gold); font: italic 500 1.45rem/1.45 var(--serif); color: var(--navy); }
.wp-block-quote cite { display: block; margin-top: 10px; font: 600 .85rem/1.4 var(--sans); font-style: normal; color: var(--ink-2); letter-spacing: .04em; }
.wp-block-pullquote { border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); padding: 2em 0; }
.prose figure { margin: 2em 0; }
.prose img { border-radius: 10px; }
.prose figcaption, .wp-element-caption { font-size: .85rem; color: var(--ink-2); text-align: center; margin-top: 10px; }
.prose .alignwide { margin-left: calc(-1 * min(120px, 8vw)); margin-right: calc(-1 * min(120px, 8vw)); max-width: none; }
.prose .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.prose .alignfull img { border-radius: 0; }
@media (max-width: 900px) { .prose .alignwide { margin-left: 0; margin-right: 0; } }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.prose code { background: var(--ivory); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.wp-block-embed { margin: 2em 0; }
.wp-block-gallery { gap: 10px !important; }
.wp-block-gallery figure img { border-radius: 8px; cursor: zoom-in; }
.wp-block-separator { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.wp-block-buttons { margin: 2em 0; }

/* ---------- Single article ---------- */
.article-head { padding: clamp(40px, 6vw, 72px) 0 32px; background: var(--ivory); }
.article-head .crumbs { color: var(--ink-2); }
.article-head .crumbs a { color: var(--ink-2); }
.article-head .crumbs a:hover { color: var(--gold-ink); }
.article-title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 18px 0 14px; }
.article-sub { font: italic 500 clamp(1.2rem, 2.2vw, 1.5rem)/1.45 var(--serif); color: var(--ink-2); margin-bottom: 26px; }
.article-byline { display: flex; align-items: center; gap: 12px; }
.byline-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; border: 2px solid var(--gold); }
.byline-name { display: block; font-weight: 600; font-size: .95rem; color: var(--navy); }
.byline-meta { display: block; font-size: .83rem; color: var(--ink-2); }
.article-feature { margin: 0 auto; padding-top: 0; position: relative; }
.article-feature img { width: 100%; border-radius: 18px; display: block; max-height: 640px; object-fit: cover; box-shadow: var(--shadow-lg); }
.article-feature figcaption { font-size: .85rem; color: var(--ink-2); text-align: center; margin-top: 10px; }
.article-layout { padding-top: 48px; padding-bottom: 32px; }
.event-box { background: var(--ivory); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 12px; padding: 22px 24px; margin-bottom: 36px; }
.event-box-title { font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 16px; }
.event-box dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 24px; }
.event-box dt { display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin-bottom: 4px; }
.event-box dd { margin: 0; font-weight: 500; color: var(--navy); font-size: .97rem; }
.event-box ul { margin: 0; padding-left: 1em; }
.article-content > p:first-of-type::first-letter { float: left; font: 700 4.2rem/.82 var(--serif); color: var(--navy); margin: 8px 12px 0 0; }
.article-foot { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; gap: 28px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: var(--ivory); text-decoration: none; }
.tag-list a::before { content: "#"; color: var(--gold-ink); }
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.share-label { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-right: 6px; }
.share a, .share button { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: .2s; }
.share a:hover, .share button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.share button.copied { background: var(--ok); color: #fff; border-color: var(--ok); }
.author-box { display: flex; gap: 18px; align-items: center; padding: 22px; background: var(--ivory); border-radius: var(--radius); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; flex: none; border: 2px solid var(--gold); }
.author-name { font: 700 1.25rem/1.2 var(--serif); color: var(--navy); margin: 0; }
.author-role { font-size: .88rem; color: var(--ink-2); margin: 2px 0 6px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav a { display: block; text-decoration: none; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; color: var(--navy); height: 100%; }
.post-nav a:hover { border-color: var(--gold); }
.post-nav a span { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 4px; }
.post-nav div:last-child { text-align: right; }
@media (max-width: 560px) { .post-nav { grid-template-columns: 1fr; } .post-nav div:last-child { text-align: left; } }
.related .section-title { margin-bottom: 32px; }

/* Record (publication single) */
.record { display: grid; grid-template-columns: 180px 1fr; gap: 12px 24px; margin: 0 0 32px; padding: 24px; background: var(--ivory); border-radius: var(--radius); }
.record dt { font-weight: 600; color: var(--ink-2); font-size: .88rem; }
.record dd { margin: 0; }
@media (max-width: 560px) { .record { grid-template-columns: 1fr; } .record dd { margin-bottom: 8px; } }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0 !important; margin: 32px 0 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--line) 85%); }
.tl-item { position: relative; padding: 0 0 26px 48px; margin: 0 !important; }
.tl-dot { position: absolute; left: 3px; top: 24px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--line); }
.tl-item.is-lead .tl-dot { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 5px rgba(184,149,74,.18); }
.tl-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 20px 24px; transition: box-shadow .2s, border-color .2s; }
.tl-card:hover { box-shadow: var(--shadow); border-color: var(--line); }
.tl-period { font: 600 .8rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tl-badge { font-size: .64rem; padding: 4px 8px; background: var(--navy); color: var(--gold-2); border-radius: 999px; letter-spacing: .1em; }
.tl-role { font: 600 1.55rem/1.2 var(--serif); margin: 8px 0 4px; color: var(--navy); }
.tl-inst { color: var(--ink-2); font-size: .97rem; }
.tl-more { margin-top: 12px; }
.tl-more summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--navy); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.tl-more summary::-webkit-details-marker { display: none; }
.tl-more summary::after { content: "+"; font-size: 1.1rem; color: var(--gold-ink); }
.tl-more[open] summary::after { content: "–"; }
.tl-body { margin-top: 10px; font-size: .95rem; }
.tl-body ul { margin: 0; }

/* ---------- Publications ---------- */
.pub-tools { position: sticky; top: 84px; z-index: 5; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); padding: 16px 0; margin-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.admin-bar .pub-tools { top: 116px; }
.pub-search { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 18px; background: #fff; margin-bottom: 14px; }
.pub-search:focus-within { border-color: var(--gold); }
.pub-search .ico { color: var(--ink-2); flex: none; }
.pub-search input { border: 0; outline: 0; padding: 14px 0; font: inherit; font-size: 1rem; width: 100%; background: transparent; }
.pub-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.pub-filters button { font: 500 .88rem/1 var(--sans); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
.pub-filters button span { color: var(--ink-2); font-size: .78rem; margin-left: 2px; }
.pub-filters button.is-active, .pub-filters button:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.pub-filters button.is-active span, .pub-filters button:hover span { color: var(--gold-2); }
.pub-count { font-size: .82rem; color: var(--ink-2); margin: 12px 0 0; }
.pub-list { list-style: none; padding: 0 !important; margin: 0; }
.pub { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line-2); margin: 0 !important; }
.pub[hidden] { display: none; }
.pub-year { font: 700 1.45rem/1 var(--serif); color: var(--gold-ink); padding-top: 4px; }
.pub-title { font: 600 1.32rem/1.3 var(--serif); margin: 10px 0 6px; color: var(--navy); }
.pub-authors { font-size: .92rem; margin: 0 0 2px; color: var(--ink); }
.pub-venue { font-size: .9rem; color: var(--ink-2); font-style: italic; margin: 0; }
.pub-desc { font-size: .92rem; margin: 6px 0 0; }
.pub-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.pub-links a { display: inline-flex; align-items: center; gap: 5px; font-size: .85rem; font-weight: 600; text-decoration: none; }
.pub-empty { text-align: center; padding: 40px; color: var(--ink-2); }
@media (max-width: 560px) { .pub { grid-template-columns: 1fr; gap: 4px; } .pub-tools { top: 76px; } }

/* ---------- Patents ---------- */
.patents { display: grid; gap: 16px; }
.patent { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 24px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; }
.patent-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--gold-2); }
.patent h3 { font: 600 1.4rem/1.25 var(--serif); margin: 8px 0 0; }
.patent-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: var(--ink-2); align-items: center; }
.status { font-weight: 700; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: #eef1f6; color: var(--navy); }
.status-granted { background: rgba(31,122,77,.12); color: var(--ok); }
.status-published { background: rgba(184,149,74,.16); color: var(--gold-ink); }
@media (max-width: 520px) { .patent { grid-template-columns: 1fr; } }

/* ---------- Gallery & lightbox ---------- */
.photo-grid { columns: 3 260px; column-gap: 14px; }
.photo-grid figure { break-inside: avoid; margin: 0 0 14px; border-radius: 12px; overflow: hidden; position: relative; background: var(--ivory); }
.photo-grid img { width: 100%; display: block; border-radius: 0 !important; transition: transform .5s var(--ease); cursor: zoom-in; }
.photo-grid figure:hover img { transform: scale(1.03); }
.photo-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(7,21,40,.85)); font-size: .82rem; text-align: left; margin: 0; opacity: 0; transition: opacity .25s; }
.photo-grid figure:hover figcaption, .photo-grid figure:focus-within figcaption { opacity: 1; }
.photo-grid figcaption a { color: #fff; text-decoration: none; }
@media (hover: none) { .photo-grid figcaption { opacity: 1; } }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(7,21,40,.95); display: flex; align-items: center; justify-content: center; padding: 20px 64px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-height: 82vh; max-width: 100%; width: auto; border-radius: 8px; }
.lightbox figcaption { color: rgba(255,255,255,.85); margin-top: 12px; font-size: .92rem; }
.lb-close, .lb-prev, .lb-next { position: absolute; background: rgba(255,255,255,.08); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold); color: var(--navy-deep); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 64px 8px; } .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } }

/* ---------- Contact form ---------- */
.contact-form { display: grid; gap: 18px; background: var(--ivory); padding: clamp(22px, 4vw, 36px); border-radius: 18px; border: 1px solid var(--line); margin-top: 24px; scroll-margin-top: 100px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--navy); }
.contact-form label span { color: var(--gold-ink); margin-left: 2px; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; font-size: 1rem; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184,149,74,.18); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-foot { align-items: end; }
.form-foot .btn { justify-self: end; }
.captcha input { max-width: 160px; }
.form-note { font-size: .82rem; color: var(--ink-2); margin: 0; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } .form-foot .btn { justify-self: stretch; justify-content: center; } }
.notice-box { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 10px; font-weight: 500; margin-top: 20px; }
.notice-box.ok { background: rgba(31,122,77,.1); color: var(--ok); }
.notice-box.err { background: rgba(180,35,24,.08); color: var(--err); }

/* Search form */
.search-form { display: flex; gap: 8px; margin: 0 auto 24px; max-width: 480px; }
.search-form label { flex: 1; }
.search-field { width: 100%; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 72px 0 0; font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 48px; padding-bottom: 48px; }
.brand-footer .brand-name { color: #fff; white-space: normal; }
.brand-footer .brand-role { color: var(--gold-2); text-transform: none; letter-spacing: 0; font-size: .82rem; }
.footer-about p { margin: 18px 0; max-width: 42ch; }
.footer-h { font: 600 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 18px; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-office { display: flex; gap: 10px; align-items: flex-start; }
.footer-office .ico { flex: none; margin-top: 4px; color: var(--gold-2); }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Widgets & comments */
.widget { margin-bottom: 32px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; }
.comment-form .submit { background: var(--navy); color: #fff; border: 0; padding: 12px 22px; border-radius: 999px; font-weight: 600; cursor: pointer; }

/* ---------- Reveal motion (subtle) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* Print */
@media print { .site-header, .site-footer, .share, .pub-tools, .post-nav, .related, .lightbox { display: none !important; } .page-hero, .hero { background: none; color: #000; } }
